~ubuntu-branches/ubuntu/oneiric/gnome-panel/oneiric

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-06-23 10:26:28 UTC
  • mto: (1.3.3 upstream) (2.1.8 sid)
  • mto: This revision was merged to the branch mainline in revision 185.
  • Revision ID: james.westby@ubuntu.com-20100623102628-dtio4nsa9u1ha3hq
Tags: upstream-2.30.2
ImportĀ upstreamĀ versionĀ 2.30.2

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.63 for gnome-panel 2.30.0.
 
3
# Generated by GNU Autoconf 2.65 for gnome-panel 2.30.2.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-panel>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
10
# Inc.
 
11
#
 
12
#
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
27
34
esac
28
 
 
29
35
fi
30
36
 
31
37
 
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
 
 
42
38
as_nl='
43
39
'
44
40
export as_nl
46
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
52
  as_echo='printf %s\n'
51
53
  as_echo_n='printf %s'
52
54
else
57
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
60
    as_echo_n_body='eval
59
61
      arg=$1;
60
 
      case $arg in
 
62
      case $arg in #(
61
63
      *"$as_nl"*)
62
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
82
  }
81
83
fi
82
84
 
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
 
 
90
85
 
91
86
# IFS
92
87
# We need space, tab and new line, in precisely that order.  Quoting is
96
91
IFS=" ""        $as_nl"
97
92
 
98
93
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
94
case $0 in #((
100
95
  *[\\/]* ) as_myself=$0 ;;
101
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
97
for as_dir in $PATH
103
98
do
104
99
  IFS=$as_save_IFS
105
100
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
108
103
IFS=$as_save_IFS
109
104
 
110
105
     ;;
116
111
fi
117
112
if test ! -f "$as_myself"; then
118
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
114
  exit 1
120
115
fi
121
116
 
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
 
117
# Unset variables that we do not need and which cause bugs (e.g. in
 
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
119
# suppresses any "Segmentation fault" message there.  '((' could
 
120
# trigger a bug in pdksh 5.2.14.
 
121
for as_var in BASH_ENV ENV MAIL MAILPATH
 
122
do eval test x\${$as_var+set} = xset \
 
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
124
done
126
125
PS1='$ '
127
126
PS2='> '
133
132
LANGUAGE=C
134
133
export LANGUAGE
135
134
 
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
 
 
171
135
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
137
 
175
138
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
140
  emulate sh
 
141
  NULLCMD=:
 
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
143
  # is contrary to our usage.  Disable this feature.
 
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
145
  setopt NO_GLOB_SUBST
 
146
else
 
147
  case \`(set -o) 2>/dev/null\` in #(
 
148
  *posix*) :
 
149
    set -o posix ;; #(
 
150
  *) :
 
151
     ;;
 
152
esac
 
153
fi
 
154
"
 
155
  as_required="as_fn_return () { (exit \$1); }
 
156
as_fn_success () { as_fn_return 0; }
 
157
as_fn_failure () { as_fn_return 1; }
 
158
as_fn_ret_success () { return 0; }
 
159
as_fn_ret_failure () { return 1; }
 
160
 
 
161
exitcode=0
 
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
167
 
 
168
else
 
169
  exitcode=1; echo positional parameters were not saved.
 
170
fi
 
171
test x\$exitcode = x0 || exit 1"
 
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
176
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
  if (eval "$as_required") 2>/dev/null; then :
177
178
  as_have_required=yes
178
179
else
179
180
  as_have_required=no
180
181
fi
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
 
182
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
183
 
 
184
else
 
185
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
186
as_found=false
243
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
188
do
245
189
  IFS=$as_save_IFS
246
190
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
191
  as_found=:
 
192
  case $as_dir in #(
248
193
         /*)
249
194
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
195
             # Try only shells that exist, to save several forks.
 
196
             as_shell=$as_dir/$as_base
 
197
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
198
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  CONFIG_SHELL=$as_shell as_have_required=yes
 
200
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
201
  break 2
 
202
fi
 
203
fi
251
204
           done;;
252
205
       esac
 
206
  as_found=false
253
207
done
 
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
209
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
210
  CONFIG_SHELL=$SHELL as_have_required=yes
 
211
fi; }
254
212
IFS=$as_save_IFS
255
213
 
256
214
 
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
 
215
      if test "x$CONFIG_SHELL" != x; then :
 
216
  # We cannot yet assume a decent shell, so we have to provide a
 
217
        # neutralization value for shells without unset; and this also
 
218
        # works around shells that cannot unset nonexistent variables.
 
219
        BASH_ENV=/dev/null
 
220
        ENV=/dev/null
 
221
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
222
        export CONFIG_SHELL
368
223
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
224
fi
370
225
 
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.  :-)
 
226
    if test x$as_have_required = xno; then :
 
227
  $as_echo "$0: This script requires a shell more modern than all"
 
228
  $as_echo "$0: the shells that I found on your system."
 
229
  if test x${ZSH_VERSION+set} = xset ; then
 
230
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
231
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
232
  else
 
233
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
234
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-panel
 
235
$0: about your system, including any error possibly output
 
236
$0: before this message. Then install a modern shell, or
 
237
$0: manually run the script under such a shell if you do
 
238
$0: have one."
 
239
  fi
 
240
  exit 1
 
241
fi
 
242
fi
 
243
fi
 
244
SHELL=${CONFIG_SHELL-/bin/sh}
 
245
export SHELL
 
246
# Unset more variables known to interfere with behavior of common tools.
 
247
CLICOLOR_FORCE= GREP_OPTIONS=
 
248
unset CLICOLOR_FORCE GREP_OPTIONS
 
249
 
 
250
## --------------------- ##
 
251
## M4sh Shell Functions. ##
 
252
## --------------------- ##
 
253
# as_fn_unset VAR
 
254
# ---------------
 
255
# Portably unset VAR.
 
256
as_fn_unset ()
 
257
{
 
258
  { eval $1=; unset $1;}
 
259
}
 
260
as_unset=as_fn_unset
 
261
 
 
262
# as_fn_set_status STATUS
 
263
# -----------------------
 
264
# Set $? to STATUS, without forking.
 
265
as_fn_set_status ()
 
266
{
 
267
  return $1
 
268
} # as_fn_set_status
 
269
 
 
270
# as_fn_exit STATUS
 
271
# -----------------
 
272
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
273
as_fn_exit ()
 
274
{
 
275
  set +e
 
276
  as_fn_set_status $1
 
277
  exit $1
 
278
} # as_fn_exit
 
279
 
 
280
# as_fn_mkdir_p
 
281
# -------------
 
282
# Create "$as_dir" as a directory, including parents if necessary.
 
283
as_fn_mkdir_p ()
 
284
{
 
285
 
 
286
  case $as_dir in #(
 
287
  -*) as_dir=./$as_dir;;
 
288
  esac
 
289
  test -d "$as_dir" || eval $as_mkdir_p || {
 
290
    as_dirs=
 
291
    while :; do
 
292
      case $as_dir in #(
 
293
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
294
      *) as_qdir=$as_dir;;
 
295
      esac
 
296
      as_dirs="'$as_qdir' $as_dirs"
 
297
      as_dir=`$as_dirname -- "$as_dir" ||
 
298
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
299
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
300
         X"$as_dir" : 'X\(//\)$' \| \
 
301
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
302
$as_echo X"$as_dir" |
 
303
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
304
            s//\1/
 
305
            q
 
306
          }
 
307
          /^X\(\/\/\)[^/].*/{
 
308
            s//\1/
 
309
            q
 
310
          }
 
311
          /^X\(\/\/\)$/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          /^X\(\/\).*/{
 
316
            s//\1/
 
317
            q
 
318
          }
 
319
          s/.*/./; q'`
 
320
      test -d "$as_dir" && break
 
321
    done
 
322
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
323
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
324
 
 
325
 
 
326
} # as_fn_mkdir_p
 
327
# as_fn_append VAR VALUE
 
328
# ----------------------
 
329
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
330
# advantage of any shell optimizations that allow amortized linear growth over
 
331
# repeated appends, instead of the typical quadratic growth present in naive
 
332
# implementations.
 
333
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
334
  eval 'as_fn_append ()
 
335
  {
 
336
    eval $1+=\$2
 
337
  }'
 
338
else
 
339
  as_fn_append ()
 
340
  {
 
341
    eval $1=\$$1\$2
 
342
  }
 
343
fi # as_fn_append
 
344
 
 
345
# as_fn_arith ARG...
 
346
# ------------------
 
347
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
348
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
349
# must be portable across $(()) and expr.
 
350
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
351
  eval 'as_fn_arith ()
 
352
  {
 
353
    as_val=$(( $* ))
 
354
  }'
 
355
else
 
356
  as_fn_arith ()
 
357
  {
 
358
    as_val=`expr "$@" || test $? -eq 1`
 
359
  }
 
360
fi # as_fn_arith
 
361
 
 
362
 
 
363
# as_fn_error ERROR [LINENO LOG_FD]
 
364
# ---------------------------------
 
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
367
# script with status $?, using 1 if that was 0.
 
368
as_fn_error ()
 
369
{
 
370
  as_status=$?; test $as_status -eq 0 && as_status=1
 
371
  if test "$3"; then
 
372
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
373
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
374
  fi
 
375
  $as_echo "$as_me: error: $1" >&2
 
376
  as_fn_exit $as_status
 
377
} # as_fn_error
 
378
 
 
379
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
380
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
381
  as_expr=expr
 
382
else
 
383
  as_expr=false
 
384
fi
 
385
 
 
386
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
387
  as_basename=basename
 
388
else
 
389
  as_basename=false
 
390
fi
 
391
 
 
392
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
393
  as_dirname=dirname
 
394
else
 
395
  as_dirname=false
 
396
fi
 
397
 
 
398
as_me=`$as_basename -- "$0" ||
 
399
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
400
         X"$0" : 'X\(//\)$' \| \
 
401
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
402
$as_echo X/"$0" |
 
403
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
404
            s//\1/
 
405
            q
 
406
          }
 
407
          /^X\/\(\/\/\)$/{
 
408
            s//\1/
 
409
            q
 
410
          }
 
411
          /^X\/\(\/\).*/{
 
412
            s//\1/
 
413
            q
 
414
          }
 
415
          s/.*/./; q'`
 
416
 
 
417
# Avoid depending upon Character Ranges.
 
418
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
419
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
420
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
421
as_cr_digits='0123456789'
 
422
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
423
 
 
424
 
 
425
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
426
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
427
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
428
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
429
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
430
  sed -n '
461
431
    p
462
432
    /[$]LINENO/=
473
443
      s/-\n.*//
474
444
    ' >$as_me.lineno &&
475
445
  chmod +x "$as_me.lineno" ||
476
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
 
   { (exit 1); exit 1; }; }
 
446
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
447
 
479
448
  # Don't try to exec as it changes $[0], causing all sort of problems
480
449
  # (the dirname of $[0] is not the place where we might find the
484
453
  exit
485
454
}
486
455
 
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
 
 
494
456
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
457
case `echo -n x` in #(((((
496
458
-n*)
497
 
  case `echo 'x\c'` in
 
459
  case `echo 'xy\c'` in
498
460
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
461
  xy)  ECHO_C='\c';;
 
462
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
463
       ECHO_T=' ';;
500
464
  esac;;
501
465
*)
502
466
  ECHO_N='-n';;
503
467
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
510
468
 
511
469
rm -f conf$$ conf$$.exe conf$$.file
512
470
if test -d conf$$.dir; then
536
494
rmdir conf$$.dir 2>/dev/null
537
495
 
538
496
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
497
  as_mkdir_p='mkdir -p "$as_dir"'
540
498
else
541
499
  test -d ./-p && rmdir ./-p
542
500
  as_mkdir_p=false
555
513
      if test -d "$1"; then
556
514
        test -d "$1/.";
557
515
      else
558
 
        case $1 in
 
516
        case $1 in #(
559
517
        -*)set "./$1";;
560
518
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
519
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
520
        ???[sx]*):;;*)false;;esac;fi
563
521
    '\'' sh
564
522
  '
573
531
 
574
532
 
575
533
 
576
 
 
577
534
# Check that we are running under the correct shell.
578
535
SHELL=${CONFIG_SHELL-/bin/sh}
579
536
 
722
679
 
723
680
 
724
681
 
725
 
exec 7<&0 </dev/null 6>&1
 
682
test -n "$DJDIR" || exec 7<&0 </dev/null
 
683
exec 6>&1
726
684
 
727
685
# Name of the host.
728
686
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
740
698
subdirs=
741
699
MFLAGS=
742
700
MAKEFLAGS=
743
 
SHELL=${CONFIG_SHELL-/bin/sh}
744
701
 
745
702
# Identity of this package.
746
703
PACKAGE_NAME='gnome-panel'
747
704
PACKAGE_TARNAME='gnome-panel'
748
 
PACKAGE_VERSION='2.30.0'
749
 
PACKAGE_STRING='gnome-panel 2.30.0'
 
705
PACKAGE_VERSION='2.30.2'
 
706
PACKAGE_STRING='gnome-panel 2.30.2'
750
707
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-panel'
 
708
PACKAGE_URL=''
751
709
 
752
710
# Factoring default headers for most tests.
753
711
ac_includes_default="\
1021
979
program_transform_name
1022
980
prefix
1023
981
exec_prefix
 
982
PACKAGE_URL
1024
983
PACKAGE_BUGREPORT
1025
984
PACKAGE_STRING
1026
985
PACKAGE_VERSION
1203
1162
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1204
1163
    # Reject names that are not valid shell variable names.
1205
1164
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1206
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1207
 
   { (exit 1); exit 1; }; }
 
1165
      as_fn_error "invalid feature name: $ac_useropt"
1208
1166
    ac_useropt_orig=$ac_useropt
1209
1167
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1210
1168
    case $ac_user_opts in
1230
1188
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1231
1189
    # Reject names that are not valid shell variable names.
1232
1190
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1234
 
   { (exit 1); exit 1; }; }
 
1191
      as_fn_error "invalid feature name: $ac_useropt"
1235
1192
    ac_useropt_orig=$ac_useropt
1236
1193
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1237
1194
    case $ac_user_opts in
1435
1392
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1436
1393
    # Reject names that are not valid shell variable names.
1437
1394
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1438
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1439
 
   { (exit 1); exit 1; }; }
 
1395
      as_fn_error "invalid package name: $ac_useropt"
1440
1396
    ac_useropt_orig=$ac_useropt
1441
1397
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1442
1398
    case $ac_user_opts in
1452
1408
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1453
1409
    # Reject names that are not valid shell variable names.
1454
1410
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1455
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1456
 
   { (exit 1); exit 1; }; }
 
1411
      as_fn_error "invalid package name: $ac_useropt"
1457
1412
    ac_useropt_orig=$ac_useropt
1458
1413
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1459
1414
    case $ac_user_opts in
1483
1438
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1484
1439
    x_libraries=$ac_optarg ;;
1485
1440
 
1486
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1487
 
Try \`$0 --help' for more information." >&2
1488
 
   { (exit 1); exit 1; }; }
 
1441
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1442
Try \`$0 --help' for more information."
1489
1443
    ;;
1490
1444
 
1491
1445
  *=*)
1492
1446
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1493
1447
    # Reject names that are not valid shell variable names.
1494
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1495
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1496
 
   { (exit 1); exit 1; }; }
 
1448
    case $ac_envvar in #(
 
1449
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1450
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1451
    esac
1497
1452
    eval $ac_envvar=\$ac_optarg
1498
1453
    export $ac_envvar ;;
1499
1454
 
1510
1465
 
1511
1466
if test -n "$ac_prev"; then
1512
1467
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1513
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1514
 
   { (exit 1); exit 1; }; }
 
1468
  as_fn_error "missing argument to $ac_option"
1515
1469
fi
1516
1470
 
1517
1471
if test -n "$ac_unrecognized_opts"; then
1518
1472
  case $enable_option_checking in
1519
1473
    no) ;;
1520
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1521
 
   { (exit 1); exit 1; }; } ;;
 
1474
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1522
1475
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1523
1476
  esac
1524
1477
fi
1541
1494
    [\\/$]* | ?:[\\/]* )  continue;;
1542
1495
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1543
1496
  esac
1544
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1545
 
   { (exit 1); exit 1; }; }
 
1497
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1546
1498
done
1547
1499
 
1548
1500
# There might be people who depend on the old broken behavior: `$host'
1572
1524
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1573
1525
ac_ls_di=`ls -di .` &&
1574
1526
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1575
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1576
 
   { (exit 1); exit 1; }; }
 
1527
  as_fn_error "working directory cannot be determined"
1577
1528
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1578
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1579
 
   { (exit 1); exit 1; }; }
 
1529
  as_fn_error "pwd does not report name of working directory"
1580
1530
 
1581
1531
 
1582
1532
# Find the source files, if location was not specified.
1615
1565
fi
1616
1566
if test ! -r "$srcdir/$ac_unique_file"; then
1617
1567
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1618
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1619
 
   { (exit 1); exit 1; }; }
 
1568
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1620
1569
fi
1621
1570
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1622
1571
ac_abs_confdir=`(
1623
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1624
 
   { (exit 1); exit 1; }; }
 
1572
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1625
1573
        pwd)`
1626
1574
# When building in place, set srcdir=.
1627
1575
if test "$ac_abs_confdir" = "$ac_pwd"; then
1647
1595
  # Omit some internal or obsolete options to make the list less imposing.
1648
1596
  # This message is too long to be a string in the A/UX 3.1 sh.
1649
1597
  cat <<_ACEOF
1650
 
\`configure' configures gnome-panel 2.30.0 to adapt to many kinds of systems.
 
1598
\`configure' configures gnome-panel 2.30.2 to adapt to many kinds of systems.
1651
1599
 
1652
1600
Usage: $0 [OPTION]... [VAR=VALUE]...
1653
1601
 
1721
1669
 
1722
1670
if test -n "$ac_init_help"; then
1723
1671
  case $ac_init_help in
1724
 
     short | recursive ) echo "Configuration of gnome-panel 2.30.0:";;
 
1672
     short | recursive ) echo "Configuration of gnome-panel 2.30.2:";;
1725
1673
   esac
1726
1674
  cat <<\_ACEOF
1727
1675
 
1750
1698
  --enable-polkit         Enable PolicyKit support (auto)
1751
1699
  --enable-network-manager
1752
1700
                          Enable NetworkManager support (auto)
1753
 
  --enable-gtk-doc        use gtk-doc to build documentation [default=no]
1754
 
  --enable-gtk-doc-html   build documentation in html format [default=yes]
1755
 
  --enable-gtk-doc-pdf    build documentation in pdf format [default=no]
 
1701
  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
 
1702
  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
 
1703
  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1756
1704
  --disable-scrollkeeper  do not make updates to the scrollkeeper database
1757
 
  --disable-schemas-install     Disable the schemas installation
 
1705
  --disable-schemas-install
 
1706
                          Disable the schemas installation
1758
1707
  --disable-rebuilds      disable all source autogeneration rules
1759
1708
 
1760
1709
Optional Packages:
1784
1733
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1785
1734
              nonstandard directory <lib dir>
1786
1735
  LIBS        libraries to pass to the linker, e.g. -l<library>
1787
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1736
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1788
1737
              you have headers in a nonstandard directory <include dir>
1789
1738
  CPP         C preprocessor
1790
1739
  PKG_CONFIG  path to pkg-config utility
1893
1842
test -n "$ac_init_help" && exit $ac_status
1894
1843
if $ac_init_version; then
1895
1844
  cat <<\_ACEOF
1896
 
gnome-panel configure 2.30.0
1897
 
generated by GNU Autoconf 2.63
 
1845
gnome-panel configure 2.30.2
 
1846
generated by GNU Autoconf 2.65
1898
1847
 
1899
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1900
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1848
Copyright (C) 2009 Free Software Foundation, Inc.
1901
1849
This configure script is free software; the Free Software Foundation
1902
1850
gives unlimited permission to copy, distribute and modify it.
1903
1851
_ACEOF
1904
1852
  exit
1905
1853
fi
 
1854
 
 
1855
## ------------------------ ##
 
1856
## Autoconf initialization. ##
 
1857
## ------------------------ ##
 
1858
 
 
1859
# ac_fn_c_try_compile LINENO
 
1860
# --------------------------
 
1861
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1862
ac_fn_c_try_compile ()
 
1863
{
 
1864
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1865
  rm -f conftest.$ac_objext
 
1866
  if { { ac_try="$ac_compile"
 
1867
case "(($ac_try" in
 
1868
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1869
  *) ac_try_echo=$ac_try;;
 
1870
esac
 
1871
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1872
$as_echo "$ac_try_echo"; } >&5
 
1873
  (eval "$ac_compile") 2>conftest.err
 
1874
  ac_status=$?
 
1875
  if test -s conftest.err; then
 
1876
    grep -v '^ *+' conftest.err >conftest.er1
 
1877
    cat conftest.er1 >&5
 
1878
    mv -f conftest.er1 conftest.err
 
1879
  fi
 
1880
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1881
  test $ac_status = 0; } && {
 
1882
         test -z "$ac_c_werror_flag" ||
 
1883
         test ! -s conftest.err
 
1884
       } && test -s conftest.$ac_objext; then :
 
1885
  ac_retval=0
 
1886
else
 
1887
  $as_echo "$as_me: failed program was:" >&5
 
1888
sed 's/^/| /' conftest.$ac_ext >&5
 
1889
 
 
1890
        ac_retval=1
 
1891
fi
 
1892
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1893
  as_fn_set_status $ac_retval
 
1894
 
 
1895
} # ac_fn_c_try_compile
 
1896
 
 
1897
# ac_fn_c_try_link LINENO
 
1898
# -----------------------
 
1899
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1900
ac_fn_c_try_link ()
 
1901
{
 
1902
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1903
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1904
  if { { ac_try="$ac_link"
 
1905
case "(($ac_try" in
 
1906
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1907
  *) ac_try_echo=$ac_try;;
 
1908
esac
 
1909
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1910
$as_echo "$ac_try_echo"; } >&5
 
1911
  (eval "$ac_link") 2>conftest.err
 
1912
  ac_status=$?
 
1913
  if test -s conftest.err; then
 
1914
    grep -v '^ *+' conftest.err >conftest.er1
 
1915
    cat conftest.er1 >&5
 
1916
    mv -f conftest.er1 conftest.err
 
1917
  fi
 
1918
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1919
  test $ac_status = 0; } && {
 
1920
         test -z "$ac_c_werror_flag" ||
 
1921
         test ! -s conftest.err
 
1922
       } && test -s conftest$ac_exeext && {
 
1923
         test "$cross_compiling" = yes ||
 
1924
         $as_test_x conftest$ac_exeext
 
1925
       }; then :
 
1926
  ac_retval=0
 
1927
else
 
1928
  $as_echo "$as_me: failed program was:" >&5
 
1929
sed 's/^/| /' conftest.$ac_ext >&5
 
1930
 
 
1931
        ac_retval=1
 
1932
fi
 
1933
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1934
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1935
  # interfere with the next link command; also delete a directory that is
 
1936
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1937
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1938
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1939
  as_fn_set_status $ac_retval
 
1940
 
 
1941
} # ac_fn_c_try_link
 
1942
 
 
1943
# ac_fn_c_check_func LINENO FUNC VAR
 
1944
# ----------------------------------
 
1945
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1946
ac_fn_c_check_func ()
 
1947
{
 
1948
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1949
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1950
$as_echo_n "checking for $2... " >&6; }
 
1951
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1952
  $as_echo_n "(cached) " >&6
 
1953
else
 
1954
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1955
/* end confdefs.h.  */
 
1956
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1957
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1958
#define $2 innocuous_$2
 
1959
 
 
1960
/* System header to define __stub macros and hopefully few prototypes,
 
1961
    which can conflict with char $2 (); below.
 
1962
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1963
    <limits.h> exists even on freestanding compilers.  */
 
1964
 
 
1965
#ifdef __STDC__
 
1966
# include <limits.h>
 
1967
#else
 
1968
# include <assert.h>
 
1969
#endif
 
1970
 
 
1971
#undef $2
 
1972
 
 
1973
/* Override any GCC internal prototype to avoid an error.
 
1974
   Use char because int might match the return type of a GCC
 
1975
   builtin and then its argument prototype would still apply.  */
 
1976
#ifdef __cplusplus
 
1977
extern "C"
 
1978
#endif
 
1979
char $2 ();
 
1980
/* The GNU C library defines this for functions which it implements
 
1981
    to always fail with ENOSYS.  Some functions are actually named
 
1982
    something starting with __ and the normal name is an alias.  */
 
1983
#if defined __stub_$2 || defined __stub___$2
 
1984
choke me
 
1985
#endif
 
1986
 
 
1987
int
 
1988
main ()
 
1989
{
 
1990
return $2 ();
 
1991
  ;
 
1992
  return 0;
 
1993
}
 
1994
_ACEOF
 
1995
if ac_fn_c_try_link "$LINENO"; then :
 
1996
  eval "$3=yes"
 
1997
else
 
1998
  eval "$3=no"
 
1999
fi
 
2000
rm -f core conftest.err conftest.$ac_objext \
 
2001
    conftest$ac_exeext conftest.$ac_ext
 
2002
fi
 
2003
eval ac_res=\$$3
 
2004
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2005
$as_echo "$ac_res" >&6; }
 
2006
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2007
 
 
2008
} # ac_fn_c_check_func
 
2009
 
 
2010
# ac_fn_c_try_cpp LINENO
 
2011
# ----------------------
 
2012
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
2013
ac_fn_c_try_cpp ()
 
2014
{
 
2015
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2016
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
2017
case "(($ac_try" in
 
2018
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2019
  *) ac_try_echo=$ac_try;;
 
2020
esac
 
2021
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2022
$as_echo "$ac_try_echo"; } >&5
 
2023
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
2024
  ac_status=$?
 
2025
  if test -s conftest.err; then
 
2026
    grep -v '^ *+' conftest.err >conftest.er1
 
2027
    cat conftest.er1 >&5
 
2028
    mv -f conftest.er1 conftest.err
 
2029
  fi
 
2030
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2031
  test $ac_status = 0; } >/dev/null && {
 
2032
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
2033
         test ! -s conftest.err
 
2034
       }; then :
 
2035
  ac_retval=0
 
2036
else
 
2037
  $as_echo "$as_me: failed program was:" >&5
 
2038
sed 's/^/| /' conftest.$ac_ext >&5
 
2039
 
 
2040
    ac_retval=1
 
2041
fi
 
2042
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2043
  as_fn_set_status $ac_retval
 
2044
 
 
2045
} # ac_fn_c_try_cpp
 
2046
 
 
2047
# ac_fn_c_try_run LINENO
 
2048
# ----------------------
 
2049
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
2050
# that executables *can* be run.
 
2051
ac_fn_c_try_run ()
 
2052
{
 
2053
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2054
  if { { ac_try="$ac_link"
 
2055
case "(($ac_try" in
 
2056
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2057
  *) ac_try_echo=$ac_try;;
 
2058
esac
 
2059
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2060
$as_echo "$ac_try_echo"; } >&5
 
2061
  (eval "$ac_link") 2>&5
 
2062
  ac_status=$?
 
2063
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2064
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
2065
  { { case "(($ac_try" in
 
2066
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2067
  *) ac_try_echo=$ac_try;;
 
2068
esac
 
2069
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2070
$as_echo "$ac_try_echo"; } >&5
 
2071
  (eval "$ac_try") 2>&5
 
2072
  ac_status=$?
 
2073
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2074
  test $ac_status = 0; }; }; then :
 
2075
  ac_retval=0
 
2076
else
 
2077
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
2078
       $as_echo "$as_me: failed program was:" >&5
 
2079
sed 's/^/| /' conftest.$ac_ext >&5
 
2080
 
 
2081
       ac_retval=$ac_status
 
2082
fi
 
2083
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2084
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2085
  as_fn_set_status $ac_retval
 
2086
 
 
2087
} # ac_fn_c_try_run
 
2088
 
 
2089
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
2090
# -------------------------------------------------------
 
2091
# Tests whether HEADER exists and can be compiled using the include files in
 
2092
# INCLUDES, setting the cache variable VAR accordingly.
 
2093
ac_fn_c_check_header_compile ()
 
2094
{
 
2095
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2096
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2097
$as_echo_n "checking for $2... " >&6; }
 
2098
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2099
  $as_echo_n "(cached) " >&6
 
2100
else
 
2101
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2102
/* end confdefs.h.  */
 
2103
$4
 
2104
#include <$2>
 
2105
_ACEOF
 
2106
if ac_fn_c_try_compile "$LINENO"; then :
 
2107
  eval "$3=yes"
 
2108
else
 
2109
  eval "$3=no"
 
2110
fi
 
2111
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2112
fi
 
2113
eval ac_res=\$$3
 
2114
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2115
$as_echo "$ac_res" >&6; }
 
2116
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2117
 
 
2118
} # ac_fn_c_check_header_compile
 
2119
 
 
2120
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2121
# -------------------------------------------------------
 
2122
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2123
# the include files in INCLUDES and setting the cache variable VAR
 
2124
# accordingly.
 
2125
ac_fn_c_check_header_mongrel ()
 
2126
{
 
2127
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2128
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2129
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2130
$as_echo_n "checking for $2... " >&6; }
 
2131
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2132
  $as_echo_n "(cached) " >&6
 
2133
fi
 
2134
eval ac_res=\$$3
 
2135
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2136
$as_echo "$ac_res" >&6; }
 
2137
else
 
2138
  # Is the header compilable?
 
2139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2140
$as_echo_n "checking $2 usability... " >&6; }
 
2141
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2142
/* end confdefs.h.  */
 
2143
$4
 
2144
#include <$2>
 
2145
_ACEOF
 
2146
if ac_fn_c_try_compile "$LINENO"; then :
 
2147
  ac_header_compiler=yes
 
2148
else
 
2149
  ac_header_compiler=no
 
2150
fi
 
2151
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2153
$as_echo "$ac_header_compiler" >&6; }
 
2154
 
 
2155
# Is the header present?
 
2156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2157
$as_echo_n "checking $2 presence... " >&6; }
 
2158
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2159
/* end confdefs.h.  */
 
2160
#include <$2>
 
2161
_ACEOF
 
2162
if ac_fn_c_try_cpp "$LINENO"; then :
 
2163
  ac_header_preproc=yes
 
2164
else
 
2165
  ac_header_preproc=no
 
2166
fi
 
2167
rm -f conftest.err conftest.$ac_ext
 
2168
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2169
$as_echo "$ac_header_preproc" >&6; }
 
2170
 
 
2171
# So?  What about this header?
 
2172
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2173
  yes:no: )
 
2174
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2175
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2176
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2177
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2178
    ;;
 
2179
  no:yes:* )
 
2180
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2181
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2182
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2183
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2184
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2185
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2186
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2187
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2188
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2189
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2190
( cat <<\_ASBOX
 
2191
## -------------------------------------------------------------------------- ##
 
2192
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-panel ##
 
2193
## -------------------------------------------------------------------------- ##
 
2194
_ASBOX
 
2195
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2196
    ;;
 
2197
esac
 
2198
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2199
$as_echo_n "checking for $2... " >&6; }
 
2200
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2201
  $as_echo_n "(cached) " >&6
 
2202
else
 
2203
  eval "$3=\$ac_header_compiler"
 
2204
fi
 
2205
eval ac_res=\$$3
 
2206
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2207
$as_echo "$ac_res" >&6; }
 
2208
fi
 
2209
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2210
 
 
2211
} # ac_fn_c_check_header_mongrel
1906
2212
cat >config.log <<_ACEOF
1907
2213
This file contains any messages produced by compilers while
1908
2214
running configure, to aid debugging if configure makes a mistake.
1909
2215
 
1910
 
It was created by gnome-panel $as_me 2.30.0, which was
1911
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2216
It was created by gnome-panel $as_me 2.30.2, which was
 
2217
generated by GNU Autoconf 2.65.  Invocation command line was
1912
2218
 
1913
2219
  $ $0 $@
1914
2220
 
1944
2250
do
1945
2251
  IFS=$as_save_IFS
1946
2252
  test -z "$as_dir" && as_dir=.
1947
 
  $as_echo "PATH: $as_dir"
1948
 
done
 
2253
    $as_echo "PATH: $as_dir"
 
2254
  done
1949
2255
IFS=$as_save_IFS
1950
2256
 
1951
2257
} >&5
1982
2288
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1983
2289
    esac
1984
2290
    case $ac_pass in
1985
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2291
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1986
2292
    2)
1987
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2293
      as_fn_append ac_configure_args1 " '$ac_arg'"
1988
2294
      if test $ac_must_keep_next = true; then
1989
2295
        ac_must_keep_next=false # Got value, back to normal.
1990
2296
      else
2000
2306
          -* ) ac_must_keep_next=true ;;
2001
2307
        esac
2002
2308
      fi
2003
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2309
      as_fn_append ac_configure_args " '$ac_arg'"
2004
2310
      ;;
2005
2311
    esac
2006
2312
  done
2007
2313
done
2008
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2009
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2314
{ ac_configure_args0=; unset ac_configure_args0;}
 
2315
{ ac_configure_args1=; unset ac_configure_args1;}
2010
2316
 
2011
2317
# When interrupted or exit'd, cleanup temporary files, and complete
2012
2318
# config.log.  We remove comments because anyway the quotes in there
2031
2337
    case $ac_val in #(
2032
2338
    *${as_nl}*)
2033
2339
      case $ac_var in #(
2034
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2340
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2035
2341
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2036
2342
      esac
2037
2343
      case $ac_var in #(
2038
2344
      _ | IFS | as_nl) ;; #(
2039
2345
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2040
 
      *) $as_unset $ac_var ;;
 
2346
      *) { eval $ac_var=; unset $ac_var;} ;;
2041
2347
      esac ;;
2042
2348
    esac
2043
2349
  done
2109
2415
    exit $exit_status
2110
2416
' 0
2111
2417
for ac_signal in 1 2 13 15; do
2112
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2418
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2113
2419
done
2114
2420
ac_signal=0
2115
2421
 
2116
2422
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2117
2423
rm -f -r conftest* confdefs.h
2118
2424
 
 
2425
$as_echo "/* confdefs.h */" > confdefs.h
 
2426
 
2119
2427
# Predefined preprocessor variables.
2120
2428
 
2121
2429
cat >>confdefs.h <<_ACEOF
2122
2430
#define PACKAGE_NAME "$PACKAGE_NAME"
2123
2431
_ACEOF
2124
2432
 
2125
 
 
2126
2433
cat >>confdefs.h <<_ACEOF
2127
2434
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2128
2435
_ACEOF
2129
2436
 
2130
 
 
2131
2437
cat >>confdefs.h <<_ACEOF
2132
2438
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2133
2439
_ACEOF
2134
2440
 
2135
 
 
2136
2441
cat >>confdefs.h <<_ACEOF
2137
2442
#define PACKAGE_STRING "$PACKAGE_STRING"
2138
2443
_ACEOF
2139
2444
 
2140
 
 
2141
2445
cat >>confdefs.h <<_ACEOF
2142
2446
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2143
2447
_ACEOF
2144
2448
 
 
2449
cat >>confdefs.h <<_ACEOF
 
2450
#define PACKAGE_URL "$PACKAGE_URL"
 
2451
_ACEOF
 
2452
 
2145
2453
 
2146
2454
# Let the site file select an alternate cache file if it wants to.
2147
2455
# Prefer an explicitly selected file to automatically selected ones.
2159
2467
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2160
2468
do
2161
2469
  test "x$ac_site_file" = xNONE && continue
2162
 
  if test -r "$ac_site_file"; then
2163
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2470
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2471
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2164
2472
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2165
2473
    sed 's/^/| /' "$ac_site_file" >&5
2166
2474
    . "$ac_site_file"
2168
2476
done
2169
2477
 
2170
2478
if test -r "$cache_file"; then
2171
 
  # Some versions of bash will fail to source /dev/null (special
2172
 
  # files actually), so we avoid doing that.
2173
 
  if test -f "$cache_file"; then
2174
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2479
  # Some versions of bash will fail to source /dev/null (special files
 
2480
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2481
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2482
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2175
2483
$as_echo "$as_me: loading cache $cache_file" >&6;}
2176
2484
    case $cache_file in
2177
2485
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2179
2487
    esac
2180
2488
  fi
2181
2489
else
2182
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2490
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2183
2491
$as_echo "$as_me: creating cache $cache_file" >&6;}
2184
2492
  >$cache_file
2185
2493
fi
2194
2502
  eval ac_new_val=\$ac_env_${ac_var}_value
2195
2503
  case $ac_old_set,$ac_new_set in
2196
2504
    set,)
2197
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2505
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2198
2506
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2199
2507
      ac_cache_corrupted=: ;;
2200
2508
    ,set)
2201
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2509
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2202
2510
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2203
2511
      ac_cache_corrupted=: ;;
2204
2512
    ,);;
2208
2516
        ac_old_val_w=`echo x $ac_old_val`
2209
2517
        ac_new_val_w=`echo x $ac_new_val`
2210
2518
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2211
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2519
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2212
2520
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2213
2521
          ac_cache_corrupted=:
2214
2522
        else
2215
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2523
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2216
2524
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2217
2525
          eval $ac_var=\$ac_old_val
2218
2526
        fi
2219
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2527
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2220
2528
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2221
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2529
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2222
2530
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2223
2531
      fi;;
2224
2532
  esac
2230
2538
    esac
2231
2539
    case " $ac_configure_args " in
2232
2540
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2233
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2541
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2234
2542
    esac
2235
2543
  fi
2236
2544
done
2237
2545
if $ac_cache_corrupted; then
2238
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2546
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2239
2547
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2240
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2548
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2241
2549
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2242
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2243
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2244
 
   { (exit 1); exit 1; }; }
 
2550
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2245
2551
fi
2246
 
 
2247
 
 
2248
 
 
2249
 
 
2250
 
 
2251
 
 
2252
 
 
2253
 
 
2254
 
 
2255
 
 
2256
 
 
2257
 
 
2258
 
 
2259
 
 
2260
 
 
2261
 
 
2262
 
 
2263
 
 
2264
 
 
2265
 
 
2266
 
 
2267
 
 
2268
 
 
2269
 
 
 
2552
## -------------------- ##
 
2553
## Main body of script. ##
 
2554
## -------------------- ##
2270
2555
 
2271
2556
ac_ext=c
2272
2557
ac_cpp='$CPP $CPPFLAGS'
2281
2566
 
2282
2567
ac_aux_dir=
2283
2568
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2284
 
  if test -f "$ac_dir/install-sh"; then
2285
 
    ac_aux_dir=$ac_dir
2286
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2287
 
    break
2288
 
  elif test -f "$ac_dir/install.sh"; then
2289
 
    ac_aux_dir=$ac_dir
2290
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2291
 
    break
2292
 
  elif test -f "$ac_dir/shtool"; then
2293
 
    ac_aux_dir=$ac_dir
2294
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2295
 
    break
2296
 
  fi
 
2569
  for ac_t in install-sh install.sh shtool; do
 
2570
    if test -f "$ac_dir/$ac_t"; then
 
2571
      ac_aux_dir=$ac_dir
 
2572
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2573
      break 2
 
2574
    fi
 
2575
  done
2297
2576
done
2298
2577
if test -z "$ac_aux_dir"; then
2299
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2300
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2301
 
   { (exit 1); exit 1; }; }
 
2578
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2302
2579
fi
2303
2580
 
2304
2581
# These three variables are undocumented and unsupported,
2324
2601
# OS/2's system install, which has a completely different semantic
2325
2602
# ./install, which can be erroneously created by make from ./install.sh.
2326
2603
# Reject install programs that cannot install multiple files.
2327
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2328
2605
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2329
2606
if test -z "$INSTALL"; then
2330
 
if test "${ac_cv_path_install+set}" = set; then
 
2607
if test "${ac_cv_path_install+set}" = set; then :
2331
2608
  $as_echo_n "(cached) " >&6
2332
2609
else
2333
2610
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2335
2612
do
2336
2613
  IFS=$as_save_IFS
2337
2614
  test -z "$as_dir" && as_dir=.
2338
 
  # Account for people who put trailing slashes in PATH elements.
2339
 
case $as_dir/ in
2340
 
  ./ | .// | /cC/* | \
 
2615
    # Account for people who put trailing slashes in PATH elements.
 
2616
case $as_dir/ in #((
 
2617
  ./ | .// | /[cC]/* | \
2341
2618
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2342
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2619
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2343
2620
  /usr/ucb/* ) ;;
2344
2621
  *)
2345
2622
    # OSF1 and SCO ODT 3.0 have their own names for install.
2376
2653
    ;;
2377
2654
esac
2378
2655
 
2379
 
done
 
2656
  done
2380
2657
IFS=$as_save_IFS
2381
2658
 
2382
2659
rm -rf conftest.one conftest.two conftest.dir
2392
2669
    INSTALL=$ac_install_sh
2393
2670
  fi
2394
2671
fi
2395
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2396
2673
$as_echo "$INSTALL" >&6; }
2397
2674
 
2398
2675
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2403
2680
 
2404
2681
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2405
2682
 
2406
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2407
2684
$as_echo_n "checking whether build environment is sane... " >&6; }
2408
2685
# Just in case
2409
2686
sleep 1
2414
2691
'
2415
2692
case `pwd` in
2416
2693
  *[\\\"\#\$\&\'\`$am_lf]*)
2417
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2418
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2419
 
   { (exit 1); exit 1; }; };;
 
2694
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2420
2695
esac
2421
2696
case $srcdir in
2422
2697
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2423
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2424
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2425
 
   { (exit 1); exit 1; }; };;
 
2698
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2426
2699
esac
2427
2700
 
2428
2701
# Do `set' in a subshell so we don't clobber the current shell's
2444
2717
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2445
2718
      # broken ls alias from the environment.  This has actually
2446
2719
      # happened.  Such a system could not be considered "sane".
2447
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2448
 
alias in your environment" >&5
2449
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2450
 
alias in your environment" >&2;}
2451
 
   { (exit 1); exit 1; }; }
 
2720
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2721
alias in your environment" "$LINENO" 5
2452
2722
   fi
2453
2723
 
2454
2724
   test "$2" = conftest.file
2457
2727
   # Ok.
2458
2728
   :
2459
2729
else
2460
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2461
 
Check your system clock" >&5
2462
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2463
 
Check your system clock" >&2;}
2464
 
   { (exit 1); exit 1; }; }
 
2730
   as_fn_error "newly created file is older than distributed files!
 
2731
Check your system clock" "$LINENO" 5
2465
2732
fi
2466
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2733
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2467
2734
$as_echo "yes" >&6; }
2468
2735
test "$program_prefix" != NONE &&
2469
2736
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2491
2758
  am_missing_run="$MISSING --run "
2492
2759
else
2493
2760
  am_missing_run=
2494
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2761
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2495
2762
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2496
2763
fi
2497
2764
 
2512
2779
  if test -n "$ac_tool_prefix"; then
2513
2780
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2514
2781
set dummy ${ac_tool_prefix}strip; ac_word=$2
2515
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2782
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2516
2783
$as_echo_n "checking for $ac_word... " >&6; }
2517
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2784
if test "${ac_cv_prog_STRIP+set}" = set; then :
2518
2785
  $as_echo_n "(cached) " >&6
2519
2786
else
2520
2787
  if test -n "$STRIP"; then
2525
2792
do
2526
2793
  IFS=$as_save_IFS
2527
2794
  test -z "$as_dir" && as_dir=.
2528
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2795
    for ac_exec_ext in '' $ac_executable_extensions; do
2529
2796
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2530
2797
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2531
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2798
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2532
2799
    break 2
2533
2800
  fi
2534
2801
done
2535
 
done
 
2802
  done
2536
2803
IFS=$as_save_IFS
2537
2804
 
2538
2805
fi
2539
2806
fi
2540
2807
STRIP=$ac_cv_prog_STRIP
2541
2808
if test -n "$STRIP"; then
2542
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2809
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2543
2810
$as_echo "$STRIP" >&6; }
2544
2811
else
2545
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2812
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2546
2813
$as_echo "no" >&6; }
2547
2814
fi
2548
2815
 
2552
2819
  ac_ct_STRIP=$STRIP
2553
2820
  # Extract the first word of "strip", so it can be a program name with args.
2554
2821
set dummy strip; ac_word=$2
2555
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2556
2823
$as_echo_n "checking for $ac_word... " >&6; }
2557
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2824
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2558
2825
  $as_echo_n "(cached) " >&6
2559
2826
else
2560
2827
  if test -n "$ac_ct_STRIP"; then
2565
2832
do
2566
2833
  IFS=$as_save_IFS
2567
2834
  test -z "$as_dir" && as_dir=.
2568
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2835
    for ac_exec_ext in '' $ac_executable_extensions; do
2569
2836
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2570
2837
    ac_cv_prog_ac_ct_STRIP="strip"
2571
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2838
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2572
2839
    break 2
2573
2840
  fi
2574
2841
done
2575
 
done
 
2842
  done
2576
2843
IFS=$as_save_IFS
2577
2844
 
2578
2845
fi
2579
2846
fi
2580
2847
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2581
2848
if test -n "$ac_ct_STRIP"; then
2582
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2849
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2583
2850
$as_echo "$ac_ct_STRIP" >&6; }
2584
2851
else
2585
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2852
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2586
2853
$as_echo "no" >&6; }
2587
2854
fi
2588
2855
 
2591
2858
  else
2592
2859
    case $cross_compiling:$ac_tool_warned in
2593
2860
yes:)
2594
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2861
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2595
2862
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2596
2863
ac_tool_warned=yes ;;
2597
2864
esac
2604
2871
fi
2605
2872
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2606
2873
 
2607
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2608
2875
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2609
2876
if test -z "$MKDIR_P"; then
2610
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2877
  if test "${ac_cv_path_mkdir+set}" = set; then :
2611
2878
  $as_echo_n "(cached) " >&6
2612
2879
else
2613
2880
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2615
2882
do
2616
2883
  IFS=$as_save_IFS
2617
2884
  test -z "$as_dir" && as_dir=.
2618
 
  for ac_prog in mkdir gmkdir; do
 
2885
    for ac_prog in mkdir gmkdir; do
2619
2886
         for ac_exec_ext in '' $ac_executable_extensions; do
2620
2887
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2621
2888
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2627
2894
           esac
2628
2895
         done
2629
2896
       done
2630
 
done
 
2897
  done
2631
2898
IFS=$as_save_IFS
2632
2899
 
2633
2900
fi
2634
2901
 
 
2902
  test -d ./--version && rmdir ./--version
2635
2903
  if test "${ac_cv_path_mkdir+set}" = set; then
2636
2904
    MKDIR_P="$ac_cv_path_mkdir -p"
2637
2905
  else
2639
2907
    # value for MKDIR_P within a source directory, because that will
2640
2908
    # break other packages using the cache if that directory is
2641
2909
    # removed, or if the value is a relative name.
2642
 
    test -d ./--version && rmdir ./--version
2643
2910
    MKDIR_P="$ac_install_sh -d"
2644
2911
  fi
2645
2912
fi
2646
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2647
2914
$as_echo "$MKDIR_P" >&6; }
2648
2915
 
2649
2916
mkdir_p="$MKDIR_P"
2656
2923
do
2657
2924
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2658
2925
set dummy $ac_prog; ac_word=$2
2659
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2660
2927
$as_echo_n "checking for $ac_word... " >&6; }
2661
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2928
if test "${ac_cv_prog_AWK+set}" = set; then :
2662
2929
  $as_echo_n "(cached) " >&6
2663
2930
else
2664
2931
  if test -n "$AWK"; then
2669
2936
do
2670
2937
  IFS=$as_save_IFS
2671
2938
  test -z "$as_dir" && as_dir=.
2672
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2939
    for ac_exec_ext in '' $ac_executable_extensions; do
2673
2940
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2674
2941
    ac_cv_prog_AWK="$ac_prog"
2675
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2942
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2676
2943
    break 2
2677
2944
  fi
2678
2945
done
2679
 
done
 
2946
  done
2680
2947
IFS=$as_save_IFS
2681
2948
 
2682
2949
fi
2683
2950
fi
2684
2951
AWK=$ac_cv_prog_AWK
2685
2952
if test -n "$AWK"; then
2686
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2953
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2687
2954
$as_echo "$AWK" >&6; }
2688
2955
else
2689
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2956
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2690
2957
$as_echo "no" >&6; }
2691
2958
fi
2692
2959
 
2694
2961
  test -n "$AWK" && break
2695
2962
done
2696
2963
 
2697
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2698
2965
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2699
2966
set x ${MAKE-make}
2700
2967
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2701
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2968
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2702
2969
  $as_echo_n "(cached) " >&6
2703
2970
else
2704
2971
  cat >conftest.make <<\_ACEOF
2716
2983
rm -f conftest.make
2717
2984
fi
2718
2985
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2719
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2986
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2720
2987
$as_echo "yes" >&6; }
2721
2988
  SET_MAKE=
2722
2989
else
2723
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2990
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2724
2991
$as_echo "no" >&6; }
2725
2992
  SET_MAKE="MAKE=${MAKE-make}"
2726
2993
fi
2740
3007
  am__isrc=' -I$(srcdir)'
2741
3008
  # test to see if srcdir already configured
2742
3009
  if test -f $srcdir/config.status; then
2743
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2744
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2745
 
   { (exit 1); exit 1; }; }
 
3010
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2746
3011
  fi
2747
3012
fi
2748
3013
 
2758
3023
 
2759
3024
# Define the identity of the package.
2760
3025
 PACKAGE='gnome-panel'
2761
 
 VERSION='2.30.0'
 
3026
 VERSION='2.30.2'
2762
3027
 
2763
3028
 
2764
3029
cat >>confdefs.h <<_ACEOF
2799
3064
 
2800
3065
 
2801
3066
# Check whether --enable-silent-rules was given.
2802
 
if test "${enable_silent_rules+set}" = set; then
 
3067
if test "${enable_silent_rules+set}" = set; then :
2803
3068
  enableval=$enable_silent_rules;
2804
3069
fi
2805
3070
 
2831
3096
#   change to C+1:0:0
2832
3097
# - If the interface is the same as the previous version, change to C:R+1:A
2833
3098
 
2834
 
LIB_PANEL_APPLET_LT_VERSION=2:67:2
2835
 
 
2836
 
 
2837
 
 
2838
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
3099
LIB_PANEL_APPLET_LT_VERSION=2:68:2
 
3100
 
 
3101
 
 
3102
 
 
3103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2839
3104
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2840
3105
    # Check whether --enable-maintainer-mode was given.
2841
 
if test "${enable_maintainer_mode+set}" = set; then
 
3106
if test "${enable_maintainer_mode+set}" = set; then :
2842
3107
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2843
3108
else
2844
3109
  USE_MAINTAINER_MODE=no
2845
3110
fi
2846
3111
 
2847
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
3112
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2848
3113
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2849
3114
   if test $USE_MAINTAINER_MODE = yes; then
2850
3115
  MAINTAINER_MODE_TRUE=
2872
3137
 
2873
3138
 
2874
3139
 
2875
 
  { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
3140
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2876
3141
$as_echo_n "checking whether NLS is requested... " >&6; }
2877
3142
    # Check whether --enable-nls was given.
2878
 
if test "${enable_nls+set}" = set; then
 
3143
if test "${enable_nls+set}" = set; then :
2879
3144
  enableval=$enable_nls; USE_NLS=$enableval
2880
3145
else
2881
3146
  USE_NLS=yes
2882
3147
fi
2883
3148
 
2884
 
  { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
3149
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2885
3150
$as_echo "$USE_NLS" >&6; }
2886
3151
 
2887
3152
 
2897
3162
.PHONY: am__doit
2898
3163
END
2899
3164
# If we don't find an include directive, just comment out the code.
2900
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3165
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2901
3166
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2902
3167
am__include="#"
2903
3168
am__quote=
2925
3190
fi
2926
3191
 
2927
3192
 
2928
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2929
3194
$as_echo "$_am_result" >&6; }
2930
3195
rm -f confinc confmf
2931
3196
 
2932
3197
# Check whether --enable-dependency-tracking was given.
2933
 
if test "${enable_dependency_tracking+set}" = set; then
 
3198
if test "${enable_dependency_tracking+set}" = set; then :
2934
3199
  enableval=$enable_dependency_tracking;
2935
3200
fi
2936
3201
 
2955
3220
if test -n "$ac_tool_prefix"; then
2956
3221
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2957
3222
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2958
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2959
3224
$as_echo_n "checking for $ac_word... " >&6; }
2960
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3225
if test "${ac_cv_prog_CC+set}" = set; then :
2961
3226
  $as_echo_n "(cached) " >&6
2962
3227
else
2963
3228
  if test -n "$CC"; then
2968
3233
do
2969
3234
  IFS=$as_save_IFS
2970
3235
  test -z "$as_dir" && as_dir=.
2971
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3236
    for ac_exec_ext in '' $ac_executable_extensions; do
2972
3237
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2973
3238
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2974
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3239
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2975
3240
    break 2
2976
3241
  fi
2977
3242
done
2978
 
done
 
3243
  done
2979
3244
IFS=$as_save_IFS
2980
3245
 
2981
3246
fi
2982
3247
fi
2983
3248
CC=$ac_cv_prog_CC
2984
3249
if test -n "$CC"; then
2985
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3250
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2986
3251
$as_echo "$CC" >&6; }
2987
3252
else
2988
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3253
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2989
3254
$as_echo "no" >&6; }
2990
3255
fi
2991
3256
 
2995
3260
  ac_ct_CC=$CC
2996
3261
  # Extract the first word of "gcc", so it can be a program name with args.
2997
3262
set dummy gcc; ac_word=$2
2998
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2999
3264
$as_echo_n "checking for $ac_word... " >&6; }
3000
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3265
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3001
3266
  $as_echo_n "(cached) " >&6
3002
3267
else
3003
3268
  if test -n "$ac_ct_CC"; then
3008
3273
do
3009
3274
  IFS=$as_save_IFS
3010
3275
  test -z "$as_dir" && as_dir=.
3011
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3276
    for ac_exec_ext in '' $ac_executable_extensions; do
3012
3277
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3013
3278
    ac_cv_prog_ac_ct_CC="gcc"
3014
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3279
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3015
3280
    break 2
3016
3281
  fi
3017
3282
done
3018
 
done
 
3283
  done
3019
3284
IFS=$as_save_IFS
3020
3285
 
3021
3286
fi
3022
3287
fi
3023
3288
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3024
3289
if test -n "$ac_ct_CC"; then
3025
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3290
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3026
3291
$as_echo "$ac_ct_CC" >&6; }
3027
3292
else
3028
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3293
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029
3294
$as_echo "no" >&6; }
3030
3295
fi
3031
3296
 
3034
3299
  else
3035
3300
    case $cross_compiling:$ac_tool_warned in
3036
3301
yes:)
3037
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3302
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3038
3303
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3039
3304
ac_tool_warned=yes ;;
3040
3305
esac
3048
3313
          if test -n "$ac_tool_prefix"; then
3049
3314
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3050
3315
set dummy ${ac_tool_prefix}cc; ac_word=$2
3051
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3052
3317
$as_echo_n "checking for $ac_word... " >&6; }
3053
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3318
if test "${ac_cv_prog_CC+set}" = set; then :
3054
3319
  $as_echo_n "(cached) " >&6
3055
3320
else
3056
3321
  if test -n "$CC"; then
3061
3326
do
3062
3327
  IFS=$as_save_IFS
3063
3328
  test -z "$as_dir" && as_dir=.
3064
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3329
    for ac_exec_ext in '' $ac_executable_extensions; do
3065
3330
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3066
3331
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3067
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3332
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3068
3333
    break 2
3069
3334
  fi
3070
3335
done
3071
 
done
 
3336
  done
3072
3337
IFS=$as_save_IFS
3073
3338
 
3074
3339
fi
3075
3340
fi
3076
3341
CC=$ac_cv_prog_CC
3077
3342
if test -n "$CC"; then
3078
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3343
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3079
3344
$as_echo "$CC" >&6; }
3080
3345
else
3081
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3346
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3082
3347
$as_echo "no" >&6; }
3083
3348
fi
3084
3349
 
3088
3353
if test -z "$CC"; then
3089
3354
  # Extract the first word of "cc", so it can be a program name with args.
3090
3355
set dummy cc; ac_word=$2
3091
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3092
3357
$as_echo_n "checking for $ac_word... " >&6; }
3093
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3358
if test "${ac_cv_prog_CC+set}" = set; then :
3094
3359
  $as_echo_n "(cached) " >&6
3095
3360
else
3096
3361
  if test -n "$CC"; then
3102
3367
do
3103
3368
  IFS=$as_save_IFS
3104
3369
  test -z "$as_dir" && as_dir=.
3105
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3370
    for ac_exec_ext in '' $ac_executable_extensions; do
3106
3371
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3107
3372
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3108
3373
       ac_prog_rejected=yes
3109
3374
       continue
3110
3375
     fi
3111
3376
    ac_cv_prog_CC="cc"
3112
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3377
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113
3378
    break 2
3114
3379
  fi
3115
3380
done
3116
 
done
 
3381
  done
3117
3382
IFS=$as_save_IFS
3118
3383
 
3119
3384
if test $ac_prog_rejected = yes; then
3132
3397
fi
3133
3398
CC=$ac_cv_prog_CC
3134
3399
if test -n "$CC"; then
3135
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3400
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3136
3401
$as_echo "$CC" >&6; }
3137
3402
else
3138
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3403
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3139
3404
$as_echo "no" >&6; }
3140
3405
fi
3141
3406
 
3147
3412
  do
3148
3413
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3149
3414
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3150
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3415
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151
3416
$as_echo_n "checking for $ac_word... " >&6; }
3152
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3417
if test "${ac_cv_prog_CC+set}" = set; then :
3153
3418
  $as_echo_n "(cached) " >&6
3154
3419
else
3155
3420
  if test -n "$CC"; then
3160
3425
do
3161
3426
  IFS=$as_save_IFS
3162
3427
  test -z "$as_dir" && as_dir=.
3163
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3428
    for ac_exec_ext in '' $ac_executable_extensions; do
3164
3429
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3165
3430
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3166
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3431
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3167
3432
    break 2
3168
3433
  fi
3169
3434
done
3170
 
done
 
3435
  done
3171
3436
IFS=$as_save_IFS
3172
3437
 
3173
3438
fi
3174
3439
fi
3175
3440
CC=$ac_cv_prog_CC
3176
3441
if test -n "$CC"; then
3177
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3442
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3178
3443
$as_echo "$CC" >&6; }
3179
3444
else
3180
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3445
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3181
3446
$as_echo "no" >&6; }
3182
3447
fi
3183
3448
 
3191
3456
do
3192
3457
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3193
3458
set dummy $ac_prog; ac_word=$2
3194
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195
3460
$as_echo_n "checking for $ac_word... " >&6; }
3196
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3461
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3197
3462
  $as_echo_n "(cached) " >&6
3198
3463
else
3199
3464
  if test -n "$ac_ct_CC"; then
3204
3469
do
3205
3470
  IFS=$as_save_IFS
3206
3471
  test -z "$as_dir" && as_dir=.
3207
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3472
    for ac_exec_ext in '' $ac_executable_extensions; do
3208
3473
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209
3474
    ac_cv_prog_ac_ct_CC="$ac_prog"
3210
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3475
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3211
3476
    break 2
3212
3477
  fi
3213
3478
done
3214
 
done
 
3479
  done
3215
3480
IFS=$as_save_IFS
3216
3481
 
3217
3482
fi
3218
3483
fi
3219
3484
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3220
3485
if test -n "$ac_ct_CC"; then
3221
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3486
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3222
3487
$as_echo "$ac_ct_CC" >&6; }
3223
3488
else
3224
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3489
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225
3490
$as_echo "no" >&6; }
3226
3491
fi
3227
3492
 
3234
3499
  else
3235
3500
    case $cross_compiling:$ac_tool_warned in
3236
3501
yes:)
3237
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3502
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3238
3503
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3239
3504
ac_tool_warned=yes ;;
3240
3505
esac
3245
3510
fi
3246
3511
 
3247
3512
 
3248
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3513
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3249
3514
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3250
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3251
 
See \`config.log' for more details." >&5
3252
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3253
 
See \`config.log' for more details." >&2;}
3254
 
   { (exit 1); exit 1; }; }; }
 
3515
as_fn_error "no acceptable C compiler found in \$PATH
 
3516
See \`config.log' for more details." "$LINENO" 5; }
3255
3517
 
3256
3518
# Provide some information about the compiler.
3257
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3519
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3258
3520
set X $ac_compile
3259
3521
ac_compiler=$2
3260
 
{ (ac_try="$ac_compiler --version >&5"
3261
 
case "(($ac_try" in
3262
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3263
 
  *) ac_try_echo=$ac_try;;
3264
 
esac
3265
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3266
 
$as_echo "$ac_try_echo") >&5
3267
 
  (eval "$ac_compiler --version >&5") 2>&5
3268
 
  ac_status=$?
3269
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270
 
  (exit $ac_status); }
3271
 
{ (ac_try="$ac_compiler -v >&5"
3272
 
case "(($ac_try" in
3273
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274
 
  *) ac_try_echo=$ac_try;;
3275
 
esac
3276
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3277
 
$as_echo "$ac_try_echo") >&5
3278
 
  (eval "$ac_compiler -v >&5") 2>&5
3279
 
  ac_status=$?
3280
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281
 
  (exit $ac_status); }
3282
 
{ (ac_try="$ac_compiler -V >&5"
3283
 
case "(($ac_try" in
3284
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3285
 
  *) ac_try_echo=$ac_try;;
3286
 
esac
3287
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3288
 
$as_echo "$ac_try_echo") >&5
3289
 
  (eval "$ac_compiler -V >&5") 2>&5
3290
 
  ac_status=$?
3291
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292
 
  (exit $ac_status); }
 
3522
for ac_option in --version -v -V -qversion; do
 
3523
  { { ac_try="$ac_compiler $ac_option >&5"
 
3524
case "(($ac_try" in
 
3525
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3526
  *) ac_try_echo=$ac_try;;
 
3527
esac
 
3528
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3529
$as_echo "$ac_try_echo"; } >&5
 
3530
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3531
  ac_status=$?
 
3532
  if test -s conftest.err; then
 
3533
    sed '10a\
 
3534
... rest of stderr output deleted ...
 
3535
         10q' conftest.err >conftest.er1
 
3536
    cat conftest.er1 >&5
 
3537
  fi
 
3538
  rm -f conftest.er1 conftest.err
 
3539
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3540
  test $ac_status = 0; }
 
3541
done
3293
3542
 
3294
 
cat >conftest.$ac_ext <<_ACEOF
3295
 
/* confdefs.h.  */
3296
 
_ACEOF
3297
 
cat confdefs.h >>conftest.$ac_ext
3298
 
cat >>conftest.$ac_ext <<_ACEOF
 
3543
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299
3544
/* end confdefs.h.  */
3300
3545
 
3301
3546
int
3311
3556
# Try to create an executable without -o first, disregard a.out.
3312
3557
# It will help us diagnose broken compilers, and finding out an intuition
3313
3558
# of exeext.
3314
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3315
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3560
$as_echo_n "checking whether the C compiler works... " >&6; }
3316
3561
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3317
3562
 
3318
3563
# The possible output files:
3328
3573
done
3329
3574
rm -f $ac_rmfiles
3330
3575
 
3331
 
if { (ac_try="$ac_link_default"
 
3576
if { { ac_try="$ac_link_default"
3332
3577
case "(($ac_try" in
3333
3578
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334
3579
  *) ac_try_echo=$ac_try;;
3335
3580
esac
3336
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3337
 
$as_echo "$ac_try_echo") >&5
 
3581
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3582
$as_echo "$ac_try_echo"; } >&5
3338
3583
  (eval "$ac_link_default") 2>&5
3339
3584
  ac_status=$?
3340
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341
 
  (exit $ac_status); }; then
 
3585
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3586
  test $ac_status = 0; }; then :
3342
3587
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3343
3588
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3344
3589
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3355
3600
        # certainly right.
3356
3601
        break;;
3357
3602
    *.* )
3358
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3603
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3359
3604
        then :; else
3360
3605
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3361
3606
        fi
3374
3619
else
3375
3620
  ac_file=''
3376
3621
fi
 
3622
if test -z "$ac_file"; then :
 
3623
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3624
$as_echo "no" >&6; }
 
3625
$as_echo "$as_me: failed program was:" >&5
 
3626
sed 's/^/| /' conftest.$ac_ext >&5
3377
3627
 
3378
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3628
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3629
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3630
{ as_fn_set_status 77
 
3631
as_fn_error "C compiler cannot create executables
 
3632
See \`config.log' for more details." "$LINENO" 5; }; }
 
3633
else
 
3634
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3635
$as_echo "yes" >&6; }
 
3636
fi
 
3637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3638
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3379
3640
$as_echo "$ac_file" >&6; }
3380
 
if test -z "$ac_file"; then
3381
 
  $as_echo "$as_me: failed program was:" >&5
3382
 
sed 's/^/| /' conftest.$ac_ext >&5
3383
 
 
3384
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3385
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3386
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3387
 
See \`config.log' for more details." >&5
3388
 
$as_echo "$as_me: error: C compiler cannot create executables
3389
 
See \`config.log' for more details." >&2;}
3390
 
   { (exit 77); exit 77; }; }; }
3391
 
fi
3392
 
 
3393
3641
ac_exeext=$ac_cv_exeext
3394
3642
 
3395
 
# Check that the compiler produces executables we can run.  If not, either
3396
 
# the compiler is broken, or we cross compile.
3397
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3398
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3399
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3400
 
# If not cross compiling, check that we can run a simple program.
3401
 
if test "$cross_compiling" != yes; then
3402
 
  if { ac_try='./$ac_file'
3403
 
  { (case "(($ac_try" in
3404
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3405
 
  *) ac_try_echo=$ac_try;;
3406
 
esac
3407
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3408
 
$as_echo "$ac_try_echo") >&5
3409
 
  (eval "$ac_try") 2>&5
3410
 
  ac_status=$?
3411
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412
 
  (exit $ac_status); }; }; then
3413
 
    cross_compiling=no
3414
 
  else
3415
 
    if test "$cross_compiling" = maybe; then
3416
 
        cross_compiling=yes
3417
 
    else
3418
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3419
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3420
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3421
 
If you meant to cross compile, use \`--host'.
3422
 
See \`config.log' for more details." >&5
3423
 
$as_echo "$as_me: error: cannot run C compiled programs.
3424
 
If you meant to cross compile, use \`--host'.
3425
 
See \`config.log' for more details." >&2;}
3426
 
   { (exit 1); exit 1; }; }; }
3427
 
    fi
3428
 
  fi
3429
 
fi
3430
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3431
 
$as_echo "yes" >&6; }
3432
 
 
3433
3643
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3434
3644
ac_clean_files=$ac_clean_files_save
3435
 
# Check that the compiler produces executables we can run.  If not, either
3436
 
# the compiler is broken, or we cross compile.
3437
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3438
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3439
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3440
 
$as_echo "$cross_compiling" >&6; }
3441
 
 
3442
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3443
3646
$as_echo_n "checking for suffix of executables... " >&6; }
3444
 
if { (ac_try="$ac_link"
 
3647
if { { ac_try="$ac_link"
3445
3648
case "(($ac_try" in
3446
3649
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3447
3650
  *) ac_try_echo=$ac_try;;
3448
3651
esac
3449
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3450
 
$as_echo "$ac_try_echo") >&5
 
3652
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3653
$as_echo "$ac_try_echo"; } >&5
3451
3654
  (eval "$ac_link") 2>&5
3452
3655
  ac_status=$?
3453
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454
 
  (exit $ac_status); }; then
 
3656
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3657
  test $ac_status = 0; }; then :
3455
3658
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3456
3659
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3457
3660
# work properly (i.e., refer to `conftest.exe'), while it won't with
3466
3669
  esac
3467
3670
done
3468
3671
else
3469
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3672
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3470
3673
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3471
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3472
 
See \`config.log' for more details." >&5
3473
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3474
 
See \`config.log' for more details." >&2;}
3475
 
   { (exit 1); exit 1; }; }; }
 
3674
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3675
See \`config.log' for more details." "$LINENO" 5; }
3476
3676
fi
3477
 
 
3478
 
rm -f conftest$ac_cv_exeext
3479
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3677
rm -f conftest conftest$ac_cv_exeext
 
3678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3480
3679
$as_echo "$ac_cv_exeext" >&6; }
3481
3680
 
3482
3681
rm -f conftest.$ac_ext
3483
3682
EXEEXT=$ac_cv_exeext
3484
3683
ac_exeext=$EXEEXT
3485
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3684
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3685
/* end confdefs.h.  */
 
3686
#include <stdio.h>
 
3687
int
 
3688
main ()
 
3689
{
 
3690
FILE *f = fopen ("conftest.out", "w");
 
3691
 return ferror (f) || fclose (f) != 0;
 
3692
 
 
3693
  ;
 
3694
  return 0;
 
3695
}
 
3696
_ACEOF
 
3697
ac_clean_files="$ac_clean_files conftest.out"
 
3698
# Check that the compiler produces executables we can run.  If not, either
 
3699
# the compiler is broken, or we cross compile.
 
3700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3701
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3702
if test "$cross_compiling" != yes; then
 
3703
  { { ac_try="$ac_link"
 
3704
case "(($ac_try" in
 
3705
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3706
  *) ac_try_echo=$ac_try;;
 
3707
esac
 
3708
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3709
$as_echo "$ac_try_echo"; } >&5
 
3710
  (eval "$ac_link") 2>&5
 
3711
  ac_status=$?
 
3712
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3713
  test $ac_status = 0; }
 
3714
  if { ac_try='./conftest$ac_cv_exeext'
 
3715
  { { case "(($ac_try" in
 
3716
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3717
  *) ac_try_echo=$ac_try;;
 
3718
esac
 
3719
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3720
$as_echo "$ac_try_echo"; } >&5
 
3721
  (eval "$ac_try") 2>&5
 
3722
  ac_status=$?
 
3723
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3724
  test $ac_status = 0; }; }; then
 
3725
    cross_compiling=no
 
3726
  else
 
3727
    if test "$cross_compiling" = maybe; then
 
3728
        cross_compiling=yes
 
3729
    else
 
3730
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3731
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3732
as_fn_error "cannot run C compiled programs.
 
3733
If you meant to cross compile, use \`--host'.
 
3734
See \`config.log' for more details." "$LINENO" 5; }
 
3735
    fi
 
3736
  fi
 
3737
fi
 
3738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3739
$as_echo "$cross_compiling" >&6; }
 
3740
 
 
3741
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3742
ac_clean_files=$ac_clean_files_save
 
3743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3486
3744
$as_echo_n "checking for suffix of object files... " >&6; }
3487
 
if test "${ac_cv_objext+set}" = set; then
 
3745
if test "${ac_cv_objext+set}" = set; then :
3488
3746
  $as_echo_n "(cached) " >&6
3489
3747
else
3490
 
  cat >conftest.$ac_ext <<_ACEOF
3491
 
/* confdefs.h.  */
3492
 
_ACEOF
3493
 
cat confdefs.h >>conftest.$ac_ext
3494
 
cat >>conftest.$ac_ext <<_ACEOF
 
3748
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495
3749
/* end confdefs.h.  */
3496
3750
 
3497
3751
int
3503
3757
}
3504
3758
_ACEOF
3505
3759
rm -f conftest.o conftest.obj
3506
 
if { (ac_try="$ac_compile"
 
3760
if { { ac_try="$ac_compile"
3507
3761
case "(($ac_try" in
3508
3762
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3509
3763
  *) ac_try_echo=$ac_try;;
3510
3764
esac
3511
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3512
 
$as_echo "$ac_try_echo") >&5
 
3765
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3766
$as_echo "$ac_try_echo"; } >&5
3513
3767
  (eval "$ac_compile") 2>&5
3514
3768
  ac_status=$?
3515
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516
 
  (exit $ac_status); }; then
 
3769
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3770
  test $ac_status = 0; }; then :
3517
3771
  for ac_file in conftest.o conftest.obj conftest.*; do
3518
3772
  test -f "$ac_file" || continue;
3519
3773
  case $ac_file in
3526
3780
  $as_echo "$as_me: failed program was:" >&5
3527
3781
sed 's/^/| /' conftest.$ac_ext >&5
3528
3782
 
3529
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3783
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3530
3784
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3531
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3532
 
See \`config.log' for more details." >&5
3533
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3534
 
See \`config.log' for more details." >&2;}
3535
 
   { (exit 1); exit 1; }; }; }
 
3785
as_fn_error "cannot compute suffix of object files: cannot compile
 
3786
See \`config.log' for more details." "$LINENO" 5; }
3536
3787
fi
3537
 
 
3538
3788
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3539
3789
fi
3540
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3541
3791
$as_echo "$ac_cv_objext" >&6; }
3542
3792
OBJEXT=$ac_cv_objext
3543
3793
ac_objext=$OBJEXT
3544
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3794
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3545
3795
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3546
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3796
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3547
3797
  $as_echo_n "(cached) " >&6
3548
3798
else
3549
 
  cat >conftest.$ac_ext <<_ACEOF
3550
 
/* confdefs.h.  */
3551
 
_ACEOF
3552
 
cat confdefs.h >>conftest.$ac_ext
3553
 
cat >>conftest.$ac_ext <<_ACEOF
 
3799
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554
3800
/* end confdefs.h.  */
3555
3801
 
3556
3802
int
3564
3810
  return 0;
3565
3811
}
3566
3812
_ACEOF
3567
 
rm -f conftest.$ac_objext
3568
 
if { (ac_try="$ac_compile"
3569
 
case "(($ac_try" in
3570
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571
 
  *) ac_try_echo=$ac_try;;
3572
 
esac
3573
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3574
 
$as_echo "$ac_try_echo") >&5
3575
 
  (eval "$ac_compile") 2>conftest.er1
3576
 
  ac_status=$?
3577
 
  grep -v '^ *+' conftest.er1 >conftest.err
3578
 
  rm -f conftest.er1
3579
 
  cat conftest.err >&5
3580
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581
 
  (exit $ac_status); } && {
3582
 
         test -z "$ac_c_werror_flag" ||
3583
 
         test ! -s conftest.err
3584
 
       } && test -s conftest.$ac_objext; then
 
3813
if ac_fn_c_try_compile "$LINENO"; then :
3585
3814
  ac_compiler_gnu=yes
3586
3815
else
3587
 
  $as_echo "$as_me: failed program was:" >&5
3588
 
sed 's/^/| /' conftest.$ac_ext >&5
3589
 
 
3590
 
        ac_compiler_gnu=no
 
3816
  ac_compiler_gnu=no
3591
3817
fi
3592
 
 
3593
3818
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3594
3819
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3595
3820
 
3596
3821
fi
3597
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3598
3823
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3599
3824
if test $ac_compiler_gnu = yes; then
3600
3825
  GCC=yes
3603
3828
fi
3604
3829
ac_test_CFLAGS=${CFLAGS+set}
3605
3830
ac_save_CFLAGS=$CFLAGS
3606
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3607
3832
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3608
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3833
if test "${ac_cv_prog_cc_g+set}" = set; then :
3609
3834
  $as_echo_n "(cached) " >&6
3610
3835
else
3611
3836
  ac_save_c_werror_flag=$ac_c_werror_flag
3612
3837
   ac_c_werror_flag=yes
3613
3838
   ac_cv_prog_cc_g=no
3614
3839
   CFLAGS="-g"
3615
 
   cat >conftest.$ac_ext <<_ACEOF
3616
 
/* confdefs.h.  */
3617
 
_ACEOF
3618
 
cat confdefs.h >>conftest.$ac_ext
3619
 
cat >>conftest.$ac_ext <<_ACEOF
 
3840
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620
3841
/* end confdefs.h.  */
3621
3842
 
3622
3843
int
3627
3848
  return 0;
3628
3849
}
3629
3850
_ACEOF
3630
 
rm -f conftest.$ac_objext
3631
 
if { (ac_try="$ac_compile"
3632
 
case "(($ac_try" in
3633
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634
 
  *) ac_try_echo=$ac_try;;
3635
 
esac
3636
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3637
 
$as_echo "$ac_try_echo") >&5
3638
 
  (eval "$ac_compile") 2>conftest.er1
3639
 
  ac_status=$?
3640
 
  grep -v '^ *+' conftest.er1 >conftest.err
3641
 
  rm -f conftest.er1
3642
 
  cat conftest.err >&5
3643
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644
 
  (exit $ac_status); } && {
3645
 
         test -z "$ac_c_werror_flag" ||
3646
 
         test ! -s conftest.err
3647
 
       } && test -s conftest.$ac_objext; then
 
3851
if ac_fn_c_try_compile "$LINENO"; then :
3648
3852
  ac_cv_prog_cc_g=yes
3649
3853
else
3650
 
  $as_echo "$as_me: failed program was:" >&5
3651
 
sed 's/^/| /' conftest.$ac_ext >&5
3652
 
 
3653
 
        CFLAGS=""
3654
 
      cat >conftest.$ac_ext <<_ACEOF
3655
 
/* confdefs.h.  */
3656
 
_ACEOF
3657
 
cat confdefs.h >>conftest.$ac_ext
3658
 
cat >>conftest.$ac_ext <<_ACEOF
 
3854
  CFLAGS=""
 
3855
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659
3856
/* end confdefs.h.  */
3660
3857
 
3661
3858
int
3666
3863
  return 0;
3667
3864
}
3668
3865
_ACEOF
3669
 
rm -f conftest.$ac_objext
3670
 
if { (ac_try="$ac_compile"
3671
 
case "(($ac_try" in
3672
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3673
 
  *) ac_try_echo=$ac_try;;
3674
 
esac
3675
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3676
 
$as_echo "$ac_try_echo") >&5
3677
 
  (eval "$ac_compile") 2>conftest.er1
3678
 
  ac_status=$?
3679
 
  grep -v '^ *+' conftest.er1 >conftest.err
3680
 
  rm -f conftest.er1
3681
 
  cat conftest.err >&5
3682
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683
 
  (exit $ac_status); } && {
3684
 
         test -z "$ac_c_werror_flag" ||
3685
 
         test ! -s conftest.err
3686
 
       } && test -s conftest.$ac_objext; then
3687
 
  :
 
3866
if ac_fn_c_try_compile "$LINENO"; then :
 
3867
 
3688
3868
else
3689
 
  $as_echo "$as_me: failed program was:" >&5
3690
 
sed 's/^/| /' conftest.$ac_ext >&5
3691
 
 
3692
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3869
  ac_c_werror_flag=$ac_save_c_werror_flag
3693
3870
         CFLAGS="-g"
3694
 
         cat >conftest.$ac_ext <<_ACEOF
3695
 
/* confdefs.h.  */
3696
 
_ACEOF
3697
 
cat confdefs.h >>conftest.$ac_ext
3698
 
cat >>conftest.$ac_ext <<_ACEOF
 
3871
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3699
3872
/* end confdefs.h.  */
3700
3873
 
3701
3874
int
3706
3879
  return 0;
3707
3880
}
3708
3881
_ACEOF
3709
 
rm -f conftest.$ac_objext
3710
 
if { (ac_try="$ac_compile"
3711
 
case "(($ac_try" in
3712
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3713
 
  *) ac_try_echo=$ac_try;;
3714
 
esac
3715
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3716
 
$as_echo "$ac_try_echo") >&5
3717
 
  (eval "$ac_compile") 2>conftest.er1
3718
 
  ac_status=$?
3719
 
  grep -v '^ *+' conftest.er1 >conftest.err
3720
 
  rm -f conftest.er1
3721
 
  cat conftest.err >&5
3722
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723
 
  (exit $ac_status); } && {
3724
 
         test -z "$ac_c_werror_flag" ||
3725
 
         test ! -s conftest.err
3726
 
       } && test -s conftest.$ac_objext; then
 
3882
if ac_fn_c_try_compile "$LINENO"; then :
3727
3883
  ac_cv_prog_cc_g=yes
3728
 
else
3729
 
  $as_echo "$as_me: failed program was:" >&5
3730
 
sed 's/^/| /' conftest.$ac_ext >&5
3731
 
 
3732
 
 
3733
 
fi
3734
 
 
3735
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3736
 
fi
3737
 
 
3738
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3739
 
fi
3740
 
 
 
3884
fi
 
3885
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3886
fi
 
3887
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3888
fi
3741
3889
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3742
3890
   ac_c_werror_flag=$ac_save_c_werror_flag
3743
3891
fi
3744
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3745
3893
$as_echo "$ac_cv_prog_cc_g" >&6; }
3746
3894
if test "$ac_test_CFLAGS" = set; then
3747
3895
  CFLAGS=$ac_save_CFLAGS
3758
3906
    CFLAGS=
3759
3907
  fi
3760
3908
fi
3761
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3762
3910
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3763
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3911
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3764
3912
  $as_echo_n "(cached) " >&6
3765
3913
else
3766
3914
  ac_cv_prog_cc_c89=no
3767
3915
ac_save_CC=$CC
3768
 
cat >conftest.$ac_ext <<_ACEOF
3769
 
/* confdefs.h.  */
3770
 
_ACEOF
3771
 
cat confdefs.h >>conftest.$ac_ext
3772
 
cat >>conftest.$ac_ext <<_ACEOF
 
3916
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3773
3917
/* end confdefs.h.  */
3774
3918
#include <stdarg.h>
3775
3919
#include <stdio.h>
3826
3970
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3827
3971
do
3828
3972
  CC="$ac_save_CC $ac_arg"
3829
 
  rm -f conftest.$ac_objext
3830
 
if { (ac_try="$ac_compile"
3831
 
case "(($ac_try" in
3832
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3833
 
  *) ac_try_echo=$ac_try;;
3834
 
esac
3835
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3836
 
$as_echo "$ac_try_echo") >&5
3837
 
  (eval "$ac_compile") 2>conftest.er1
3838
 
  ac_status=$?
3839
 
  grep -v '^ *+' conftest.er1 >conftest.err
3840
 
  rm -f conftest.er1
3841
 
  cat conftest.err >&5
3842
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843
 
  (exit $ac_status); } && {
3844
 
         test -z "$ac_c_werror_flag" ||
3845
 
         test ! -s conftest.err
3846
 
       } && test -s conftest.$ac_objext; then
 
3973
  if ac_fn_c_try_compile "$LINENO"; then :
3847
3974
  ac_cv_prog_cc_c89=$ac_arg
3848
 
else
3849
 
  $as_echo "$as_me: failed program was:" >&5
3850
 
sed 's/^/| /' conftest.$ac_ext >&5
3851
 
 
3852
 
 
3853
3975
fi
3854
 
 
3855
3976
rm -f core conftest.err conftest.$ac_objext
3856
3977
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3857
3978
done
3862
3983
# AC_CACHE_VAL
3863
3984
case "x$ac_cv_prog_cc_c89" in
3864
3985
  x)
3865
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3986
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3866
3987
$as_echo "none needed" >&6; } ;;
3867
3988
  xno)
3868
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3989
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3869
3990
$as_echo "unsupported" >&6; } ;;
3870
3991
  *)
3871
3992
    CC="$CC $ac_cv_prog_cc_c89"
3872
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3993
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3873
3994
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3874
3995
esac
 
3996
if test "x$ac_cv_prog_cc_c89" != xno; then :
3875
3997
 
 
3998
fi
3876
3999
 
3877
4000
ac_ext=c
3878
4001
ac_cpp='$CPP $CPPFLAGS'
3882
4005
 
3883
4006
depcc="$CC"   am_compiler_list=
3884
4007
 
3885
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3886
4009
$as_echo_n "checking dependency style of $depcc... " >&6; }
3887
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
4010
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3888
4011
  $as_echo_n "(cached) " >&6
3889
4012
else
3890
4013
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3992
4115
fi
3993
4116
 
3994
4117
fi
3995
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3996
4119
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3997
4120
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3998
4121
 
4012
4135
 
4013
4136
case "$am__api_version" in
4014
4137
    1.01234)
4015
 
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
4016
 
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
4017
 
   { (exit 1); exit 1; }; }
 
4138
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4018
4139
    ;;
4019
4140
    *)
4020
4141
    ;;
4021
4142
esac
4022
4143
 
4023
4144
if test -n "0.40.0"; then
4024
 
    { $as_echo "$as_me:$LINENO: checking for intltool >= 0.40.0" >&5
 
4145
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
4025
4146
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
4026
4147
 
4027
4148
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4028
4149
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4029
4150
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4030
4151
 
4031
 
    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
4152
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4032
4153
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4033
4154
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4034
 
        { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.40.0 or later." >&5
4035
 
$as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.40.0 or later." >&2;}
4036
 
   { (exit 1); exit 1; }; }
 
4155
        as_fn_error "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
4037
4156
fi
4038
4157
 
4039
4158
# Extract the first word of "intltool-update", so it can be a program name with args.
4040
4159
set dummy intltool-update; ac_word=$2
4041
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4042
4161
$as_echo_n "checking for $ac_word... " >&6; }
4043
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
 
4162
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
4044
4163
  $as_echo_n "(cached) " >&6
4045
4164
else
4046
4165
  case $INTLTOOL_UPDATE in
4053
4172
do
4054
4173
  IFS=$as_save_IFS
4055
4174
  test -z "$as_dir" && as_dir=.
4056
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4175
    for ac_exec_ext in '' $ac_executable_extensions; do
4057
4176
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4058
4177
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4059
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4178
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4060
4179
    break 2
4061
4180
  fi
4062
4181
done
4063
 
done
 
4182
  done
4064
4183
IFS=$as_save_IFS
4065
4184
 
4066
4185
  ;;
4068
4187
fi
4069
4188
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4070
4189
if test -n "$INTLTOOL_UPDATE"; then
4071
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
 
4190
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4072
4191
$as_echo "$INTLTOOL_UPDATE" >&6; }
4073
4192
else
4074
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4193
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4075
4194
$as_echo "no" >&6; }
4076
4195
fi
4077
4196
 
4078
4197
 
4079
4198
# Extract the first word of "intltool-merge", so it can be a program name with args.
4080
4199
set dummy intltool-merge; ac_word=$2
4081
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4200
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4082
4201
$as_echo_n "checking for $ac_word... " >&6; }
4083
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
 
4202
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
4084
4203
  $as_echo_n "(cached) " >&6
4085
4204
else
4086
4205
  case $INTLTOOL_MERGE in
4093
4212
do
4094
4213
  IFS=$as_save_IFS
4095
4214
  test -z "$as_dir" && as_dir=.
4096
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4215
    for ac_exec_ext in '' $ac_executable_extensions; do
4097
4216
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4098
4217
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4099
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4218
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4100
4219
    break 2
4101
4220
  fi
4102
4221
done
4103
 
done
 
4222
  done
4104
4223
IFS=$as_save_IFS
4105
4224
 
4106
4225
  ;;
4108
4227
fi
4109
4228
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4110
4229
if test -n "$INTLTOOL_MERGE"; then
4111
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
 
4230
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4112
4231
$as_echo "$INTLTOOL_MERGE" >&6; }
4113
4232
else
4114
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4233
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4115
4234
$as_echo "no" >&6; }
4116
4235
fi
4117
4236
 
4118
4237
 
4119
4238
# Extract the first word of "intltool-extract", so it can be a program name with args.
4120
4239
set dummy intltool-extract; ac_word=$2
4121
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4122
4241
$as_echo_n "checking for $ac_word... " >&6; }
4123
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
 
4242
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
4124
4243
  $as_echo_n "(cached) " >&6
4125
4244
else
4126
4245
  case $INTLTOOL_EXTRACT in
4133
4252
do
4134
4253
  IFS=$as_save_IFS
4135
4254
  test -z "$as_dir" && as_dir=.
4136
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4255
    for ac_exec_ext in '' $ac_executable_extensions; do
4137
4256
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4138
4257
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4139
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4258
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4140
4259
    break 2
4141
4260
  fi
4142
4261
done
4143
 
done
 
4262
  done
4144
4263
IFS=$as_save_IFS
4145
4264
 
4146
4265
  ;;
4148
4267
fi
4149
4268
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4150
4269
if test -n "$INTLTOOL_EXTRACT"; then
4151
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
 
4270
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4152
4271
$as_echo "$INTLTOOL_EXTRACT" >&6; }
4153
4272
else
4154
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4273
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4155
4274
$as_echo "no" >&6; }
4156
4275
fi
4157
4276
 
4158
4277
 
4159
4278
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4160
 
    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
4161
 
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
4162
 
   { (exit 1); exit 1; }; }
 
4279
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4163
4280
fi
4164
4281
 
4165
4282
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4281
4398
# Check the gettext tools to make sure they are GNU
4282
4399
# Extract the first word of "xgettext", so it can be a program name with args.
4283
4400
set dummy xgettext; ac_word=$2
4284
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4285
4402
$as_echo_n "checking for $ac_word... " >&6; }
4286
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
4403
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4287
4404
  $as_echo_n "(cached) " >&6
4288
4405
else
4289
4406
  case $XGETTEXT in
4296
4413
do
4297
4414
  IFS=$as_save_IFS
4298
4415
  test -z "$as_dir" && as_dir=.
4299
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4416
    for ac_exec_ext in '' $ac_executable_extensions; do
4300
4417
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4301
4418
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4302
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4419
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4303
4420
    break 2
4304
4421
  fi
4305
4422
done
4306
 
done
 
4423
  done
4307
4424
IFS=$as_save_IFS
4308
4425
 
4309
4426
  ;;
4311
4428
fi
4312
4429
XGETTEXT=$ac_cv_path_XGETTEXT
4313
4430
if test -n "$XGETTEXT"; then
4314
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
4431
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4315
4432
$as_echo "$XGETTEXT" >&6; }
4316
4433
else
4317
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4434
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4318
4435
$as_echo "no" >&6; }
4319
4436
fi
4320
4437
 
4321
4438
 
4322
4439
# Extract the first word of "msgmerge", so it can be a program name with args.
4323
4440
set dummy msgmerge; ac_word=$2
4324
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4325
4442
$as_echo_n "checking for $ac_word... " >&6; }
4326
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
4443
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4327
4444
  $as_echo_n "(cached) " >&6
4328
4445
else
4329
4446
  case $MSGMERGE in
4336
4453
do
4337
4454
  IFS=$as_save_IFS
4338
4455
  test -z "$as_dir" && as_dir=.
4339
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4456
    for ac_exec_ext in '' $ac_executable_extensions; do
4340
4457
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4341
4458
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4342
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4459
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4343
4460
    break 2
4344
4461
  fi
4345
4462
done
4346
 
done
 
4463
  done
4347
4464
IFS=$as_save_IFS
4348
4465
 
4349
4466
  ;;
4351
4468
fi
4352
4469
MSGMERGE=$ac_cv_path_MSGMERGE
4353
4470
if test -n "$MSGMERGE"; then
4354
 
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
4471
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4355
4472
$as_echo "$MSGMERGE" >&6; }
4356
4473
else
4357
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4474
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4358
4475
$as_echo "no" >&6; }
4359
4476
fi
4360
4477
 
4361
4478
 
4362
4479
# Extract the first word of "msgfmt", so it can be a program name with args.
4363
4480
set dummy msgfmt; ac_word=$2
4364
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4365
4482
$as_echo_n "checking for $ac_word... " >&6; }
4366
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
4483
if test "${ac_cv_path_MSGFMT+set}" = set; then :
4367
4484
  $as_echo_n "(cached) " >&6
4368
4485
else
4369
4486
  case $MSGFMT in
4376
4493
do
4377
4494
  IFS=$as_save_IFS
4378
4495
  test -z "$as_dir" && as_dir=.
4379
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4496
    for ac_exec_ext in '' $ac_executable_extensions; do
4380
4497
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4381
4498
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4382
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4499
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383
4500
    break 2
4384
4501
  fi
4385
4502
done
4386
 
done
 
4503
  done
4387
4504
IFS=$as_save_IFS
4388
4505
 
4389
4506
  ;;
4391
4508
fi
4392
4509
MSGFMT=$ac_cv_path_MSGFMT
4393
4510
if test -n "$MSGFMT"; then
4394
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
4511
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4395
4512
$as_echo "$MSGFMT" >&6; }
4396
4513
else
4397
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4514
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4398
4515
$as_echo "no" >&6; }
4399
4516
fi
4400
4517
 
4401
4518
 
4402
4519
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4403
4520
set dummy gmsgfmt; ac_word=$2
4404
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4521
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4405
4522
$as_echo_n "checking for $ac_word... " >&6; }
4406
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
4523
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4407
4524
  $as_echo_n "(cached) " >&6
4408
4525
else
4409
4526
  case $GMSGFMT in
4416
4533
do
4417
4534
  IFS=$as_save_IFS
4418
4535
  test -z "$as_dir" && as_dir=.
4419
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4536
    for ac_exec_ext in '' $ac_executable_extensions; do
4420
4537
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4421
4538
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4422
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4539
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4423
4540
    break 2
4424
4541
  fi
4425
4542
done
4426
 
done
 
4543
  done
4427
4544
IFS=$as_save_IFS
4428
4545
 
4429
4546
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4432
4549
fi
4433
4550
GMSGFMT=$ac_cv_path_GMSGFMT
4434
4551
if test -n "$GMSGFMT"; then
4435
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
4552
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4436
4553
$as_echo "$GMSGFMT" >&6; }
4437
4554
else
4438
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4555
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439
4556
$as_echo "no" >&6; }
4440
4557
fi
4441
4558
 
4442
4559
 
4443
4560
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4444
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
4445
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
4446
 
   { (exit 1); exit 1; }; }
 
4561
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
4447
4562
fi
4448
4563
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4449
4564
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4450
4565
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4451
4566
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4452
 
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
4453
 
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
4454
 
   { (exit 1); exit 1; }; }
 
4567
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
4455
4568
fi
4456
4569
 
4457
4570
# Extract the first word of "perl", so it can be a program name with args.
4458
4571
set dummy perl; ac_word=$2
4459
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4460
4573
$as_echo_n "checking for $ac_word... " >&6; }
4461
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
 
4574
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
4462
4575
  $as_echo_n "(cached) " >&6
4463
4576
else
4464
4577
  case $INTLTOOL_PERL in
4471
4584
do
4472
4585
  IFS=$as_save_IFS
4473
4586
  test -z "$as_dir" && as_dir=.
4474
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4587
    for ac_exec_ext in '' $ac_executable_extensions; do
4475
4588
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4476
4589
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4477
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4590
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4478
4591
    break 2
4479
4592
  fi
4480
4593
done
4481
 
done
 
4594
  done
4482
4595
IFS=$as_save_IFS
4483
4596
 
4484
4597
  ;;
4486
4599
fi
4487
4600
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4488
4601
if test -n "$INTLTOOL_PERL"; then
4489
 
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
4602
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4490
4603
$as_echo "$INTLTOOL_PERL" >&6; }
4491
4604
else
4492
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4605
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4493
4606
$as_echo "no" >&6; }
4494
4607
fi
4495
4608
 
4496
4609
 
4497
4610
if test -z "$INTLTOOL_PERL"; then
4498
 
   { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
4499
 
$as_echo "$as_me: error: perl not found" >&2;}
4500
 
   { (exit 1); exit 1; }; }
 
4611
   as_fn_error "perl not found" "$LINENO" 5
4501
4612
fi
4502
 
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
 
4613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4503
4614
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4504
4615
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4505
4616
if test $? -ne 0; then
4506
 
   { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
4507
 
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
4508
 
   { (exit 1); exit 1; }; }
 
4617
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
4509
4618
else
4510
4619
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4511
 
   { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
 
4620
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4512
4621
$as_echo "$IT_PERL_VERSION" >&6; }
4513
4622
fi
4514
4623
if test "x" != "xno-xml"; then
4515
 
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
4624
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4516
4625
$as_echo_n "checking for XML::Parser... " >&6; }
4517
4626
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4518
 
       { $as_echo "$as_me:$LINENO: result: ok" >&5
 
4627
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4519
4628
$as_echo "ok" >&6; }
4520
4629
   else
4521
 
       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
4522
 
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
4523
 
   { (exit 1); exit 1; }; }
 
4630
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
4524
4631
   fi
4525
4632
fi
4526
4633
 
4530
4637
# Set DATADIRNAME correctly if it is not set yet
4531
4638
# (copied from glib-gettext.m4)
4532
4639
if test -z "$DATADIRNAME"; then
4533
 
  cat >conftest.$ac_ext <<_ACEOF
4534
 
/* confdefs.h.  */
4535
 
_ACEOF
4536
 
cat confdefs.h >>conftest.$ac_ext
4537
 
cat >>conftest.$ac_ext <<_ACEOF
 
4640
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4538
4641
/* end confdefs.h.  */
4539
4642
 
4540
4643
int
4546
4649
  return 0;
4547
4650
}
4548
4651
_ACEOF
4549
 
rm -f conftest.$ac_objext conftest$ac_exeext
4550
 
if { (ac_try="$ac_link"
4551
 
case "(($ac_try" in
4552
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4553
 
  *) ac_try_echo=$ac_try;;
4554
 
esac
4555
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4556
 
$as_echo "$ac_try_echo") >&5
4557
 
  (eval "$ac_link") 2>conftest.er1
4558
 
  ac_status=$?
4559
 
  grep -v '^ *+' conftest.er1 >conftest.err
4560
 
  rm -f conftest.er1
4561
 
  cat conftest.err >&5
4562
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563
 
  (exit $ac_status); } && {
4564
 
         test -z "$ac_c_werror_flag" ||
4565
 
         test ! -s conftest.err
4566
 
       } && test -s conftest$ac_exeext && {
4567
 
         test "$cross_compiling" = yes ||
4568
 
         $as_test_x conftest$ac_exeext
4569
 
       }; then
 
4652
if ac_fn_c_try_link "$LINENO"; then :
4570
4653
  DATADIRNAME=share
4571
4654
else
4572
 
  $as_echo "$as_me: failed program was:" >&5
4573
 
sed 's/^/| /' conftest.$ac_ext >&5
4574
 
 
4575
 
        case $host in
 
4655
  case $host in
4576
4656
    *-*-solaris*)
4577
 
                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
4578
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
4579
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
4580
 
  $as_echo_n "(cached) " >&6
4581
 
else
4582
 
  cat >conftest.$ac_ext <<_ACEOF
4583
 
/* confdefs.h.  */
4584
 
_ACEOF
4585
 
cat confdefs.h >>conftest.$ac_ext
4586
 
cat >>conftest.$ac_ext <<_ACEOF
4587
 
/* end confdefs.h.  */
4588
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
4589
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4590
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
4591
 
 
4592
 
/* System header to define __stub macros and hopefully few prototypes,
4593
 
    which can conflict with char bind_textdomain_codeset (); below.
4594
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4595
 
    <limits.h> exists even on freestanding compilers.  */
4596
 
 
4597
 
#ifdef __STDC__
4598
 
# include <limits.h>
4599
 
#else
4600
 
# include <assert.h>
4601
 
#endif
4602
 
 
4603
 
#undef bind_textdomain_codeset
4604
 
 
4605
 
/* Override any GCC internal prototype to avoid an error.
4606
 
   Use char because int might match the return type of a GCC
4607
 
   builtin and then its argument prototype would still apply.  */
4608
 
#ifdef __cplusplus
4609
 
extern "C"
4610
 
#endif
4611
 
char bind_textdomain_codeset ();
4612
 
/* The GNU C library defines this for functions which it implements
4613
 
    to always fail with ENOSYS.  Some functions are actually named
4614
 
    something starting with __ and the normal name is an alias.  */
4615
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
4616
 
choke me
4617
 
#endif
4618
 
 
4619
 
int
4620
 
main ()
4621
 
{
4622
 
return bind_textdomain_codeset ();
4623
 
  ;
4624
 
  return 0;
4625
 
}
4626
 
_ACEOF
4627
 
rm -f conftest.$ac_objext conftest$ac_exeext
4628
 
if { (ac_try="$ac_link"
4629
 
case "(($ac_try" in
4630
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4631
 
  *) ac_try_echo=$ac_try;;
4632
 
esac
4633
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4634
 
$as_echo "$ac_try_echo") >&5
4635
 
  (eval "$ac_link") 2>conftest.er1
4636
 
  ac_status=$?
4637
 
  grep -v '^ *+' conftest.er1 >conftest.err
4638
 
  rm -f conftest.er1
4639
 
  cat conftest.err >&5
4640
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641
 
  (exit $ac_status); } && {
4642
 
         test -z "$ac_c_werror_flag" ||
4643
 
         test ! -s conftest.err
4644
 
       } && test -s conftest$ac_exeext && {
4645
 
         test "$cross_compiling" = yes ||
4646
 
         $as_test_x conftest$ac_exeext
4647
 
       }; then
4648
 
  ac_cv_func_bind_textdomain_codeset=yes
4649
 
else
4650
 
  $as_echo "$as_me: failed program was:" >&5
4651
 
sed 's/^/| /' conftest.$ac_ext >&5
4652
 
 
4653
 
        ac_cv_func_bind_textdomain_codeset=no
4654
 
fi
4655
 
 
4656
 
rm -rf conftest.dSYM
4657
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4658
 
      conftest$ac_exeext conftest.$ac_ext
4659
 
fi
4660
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4661
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
4662
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
4657
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
4658
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4663
4659
  DATADIRNAME=share
4664
4660
else
4665
4661
  DATADIRNAME=lib
4671
4667
    ;;
4672
4668
    esac
4673
4669
fi
4674
 
 
4675
 
rm -rf conftest.dSYM
4676
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4677
 
      conftest$ac_exeext conftest.$ac_ext
 
4670
rm -f core conftest.err conftest.$ac_objext \
 
4671
    conftest$ac_exeext conftest.$ac_ext
4678
4672
fi
4679
4673
 
4680
4674
 
4682
4676
 
4683
4677
 
4684
4678
 
4685
 
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
4679
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4686
4680
$as_echo_n "checking for library containing strerror... " >&6; }
4687
 
if test "${ac_cv_search_strerror+set}" = set; then
 
4681
if test "${ac_cv_search_strerror+set}" = set; then :
4688
4682
  $as_echo_n "(cached) " >&6
4689
4683
else
4690
4684
  ac_func_search_save_LIBS=$LIBS
4691
 
cat >conftest.$ac_ext <<_ACEOF
4692
 
/* confdefs.h.  */
4693
 
_ACEOF
4694
 
cat confdefs.h >>conftest.$ac_ext
4695
 
cat >>conftest.$ac_ext <<_ACEOF
 
4685
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4696
4686
/* end confdefs.h.  */
4697
4687
 
4698
4688
/* Override any GCC internal prototype to avoid an error.
4717
4707
    ac_res=-l$ac_lib
4718
4708
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4719
4709
  fi
4720
 
  rm -f conftest.$ac_objext conftest$ac_exeext
4721
 
if { (ac_try="$ac_link"
4722
 
case "(($ac_try" in
4723
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4724
 
  *) ac_try_echo=$ac_try;;
4725
 
esac
4726
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4727
 
$as_echo "$ac_try_echo") >&5
4728
 
  (eval "$ac_link") 2>conftest.er1
4729
 
  ac_status=$?
4730
 
  grep -v '^ *+' conftest.er1 >conftest.err
4731
 
  rm -f conftest.er1
4732
 
  cat conftest.err >&5
4733
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734
 
  (exit $ac_status); } && {
4735
 
         test -z "$ac_c_werror_flag" ||
4736
 
         test ! -s conftest.err
4737
 
       } && test -s conftest$ac_exeext && {
4738
 
         test "$cross_compiling" = yes ||
4739
 
         $as_test_x conftest$ac_exeext
4740
 
       }; then
 
4710
  if ac_fn_c_try_link "$LINENO"; then :
4741
4711
  ac_cv_search_strerror=$ac_res
4742
 
else
4743
 
  $as_echo "$as_me: failed program was:" >&5
4744
 
sed 's/^/| /' conftest.$ac_ext >&5
4745
 
 
4746
 
 
4747
4712
fi
4748
 
 
4749
 
rm -rf conftest.dSYM
4750
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4751
 
      conftest$ac_exeext
4752
 
  if test "${ac_cv_search_strerror+set}" = set; then
 
4713
rm -f core conftest.err conftest.$ac_objext \
 
4714
    conftest$ac_exeext
 
4715
  if test "${ac_cv_search_strerror+set}" = set; then :
4753
4716
  break
4754
4717
fi
4755
4718
done
4756
 
if test "${ac_cv_search_strerror+set}" = set; then
4757
 
  :
 
4719
if test "${ac_cv_search_strerror+set}" = set; then :
 
4720
 
4758
4721
else
4759
4722
  ac_cv_search_strerror=no
4760
4723
fi
4761
4724
rm conftest.$ac_ext
4762
4725
LIBS=$ac_func_search_save_LIBS
4763
4726
fi
4764
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
4727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4765
4728
$as_echo "$ac_cv_search_strerror" >&6; }
4766
4729
ac_res=$ac_cv_search_strerror
4767
 
if test "$ac_res" != no; then
 
4730
if test "$ac_res" != no; then :
4768
4731
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4769
4732
 
4770
4733
fi
4777
4740
if test -n "$ac_tool_prefix"; then
4778
4741
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4779
4742
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4780
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781
4744
$as_echo_n "checking for $ac_word... " >&6; }
4782
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4745
if test "${ac_cv_prog_CC+set}" = set; then :
4783
4746
  $as_echo_n "(cached) " >&6
4784
4747
else
4785
4748
  if test -n "$CC"; then
4790
4753
do
4791
4754
  IFS=$as_save_IFS
4792
4755
  test -z "$as_dir" && as_dir=.
4793
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4756
    for ac_exec_ext in '' $ac_executable_extensions; do
4794
4757
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4795
4758
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4796
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4759
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4797
4760
    break 2
4798
4761
  fi
4799
4762
done
4800
 
done
 
4763
  done
4801
4764
IFS=$as_save_IFS
4802
4765
 
4803
4766
fi
4804
4767
fi
4805
4768
CC=$ac_cv_prog_CC
4806
4769
if test -n "$CC"; then
4807
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4770
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4808
4771
$as_echo "$CC" >&6; }
4809
4772
else
4810
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4773
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811
4774
$as_echo "no" >&6; }
4812
4775
fi
4813
4776
 
4817
4780
  ac_ct_CC=$CC
4818
4781
  # Extract the first word of "gcc", so it can be a program name with args.
4819
4782
set dummy gcc; ac_word=$2
4820
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821
4784
$as_echo_n "checking for $ac_word... " >&6; }
4822
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4785
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4823
4786
  $as_echo_n "(cached) " >&6
4824
4787
else
4825
4788
  if test -n "$ac_ct_CC"; then
4830
4793
do
4831
4794
  IFS=$as_save_IFS
4832
4795
  test -z "$as_dir" && as_dir=.
4833
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4796
    for ac_exec_ext in '' $ac_executable_extensions; do
4834
4797
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4835
4798
    ac_cv_prog_ac_ct_CC="gcc"
4836
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4799
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4837
4800
    break 2
4838
4801
  fi
4839
4802
done
4840
 
done
 
4803
  done
4841
4804
IFS=$as_save_IFS
4842
4805
 
4843
4806
fi
4844
4807
fi
4845
4808
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4846
4809
if test -n "$ac_ct_CC"; then
4847
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4810
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4848
4811
$as_echo "$ac_ct_CC" >&6; }
4849
4812
else
4850
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4813
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851
4814
$as_echo "no" >&6; }
4852
4815
fi
4853
4816
 
4856
4819
  else
4857
4820
    case $cross_compiling:$ac_tool_warned in
4858
4821
yes:)
4859
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4822
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4860
4823
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4861
4824
ac_tool_warned=yes ;;
4862
4825
esac
4870
4833
          if test -n "$ac_tool_prefix"; then
4871
4834
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4872
4835
set dummy ${ac_tool_prefix}cc; ac_word=$2
4873
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4874
4837
$as_echo_n "checking for $ac_word... " >&6; }
4875
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4838
if test "${ac_cv_prog_CC+set}" = set; then :
4876
4839
  $as_echo_n "(cached) " >&6
4877
4840
else
4878
4841
  if test -n "$CC"; then
4883
4846
do
4884
4847
  IFS=$as_save_IFS
4885
4848
  test -z "$as_dir" && as_dir=.
4886
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4849
    for ac_exec_ext in '' $ac_executable_extensions; do
4887
4850
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4888
4851
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4889
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4852
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4890
4853
    break 2
4891
4854
  fi
4892
4855
done
4893
 
done
 
4856
  done
4894
4857
IFS=$as_save_IFS
4895
4858
 
4896
4859
fi
4897
4860
fi
4898
4861
CC=$ac_cv_prog_CC
4899
4862
if test -n "$CC"; then
4900
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4863
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4901
4864
$as_echo "$CC" >&6; }
4902
4865
else
4903
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4866
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904
4867
$as_echo "no" >&6; }
4905
4868
fi
4906
4869
 
4910
4873
if test -z "$CC"; then
4911
4874
  # Extract the first word of "cc", so it can be a program name with args.
4912
4875
set dummy cc; ac_word=$2
4913
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4914
4877
$as_echo_n "checking for $ac_word... " >&6; }
4915
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4878
if test "${ac_cv_prog_CC+set}" = set; then :
4916
4879
  $as_echo_n "(cached) " >&6
4917
4880
else
4918
4881
  if test -n "$CC"; then
4924
4887
do
4925
4888
  IFS=$as_save_IFS
4926
4889
  test -z "$as_dir" && as_dir=.
4927
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4890
    for ac_exec_ext in '' $ac_executable_extensions; do
4928
4891
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4929
4892
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4930
4893
       ac_prog_rejected=yes
4931
4894
       continue
4932
4895
     fi
4933
4896
    ac_cv_prog_CC="cc"
4934
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4897
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4935
4898
    break 2
4936
4899
  fi
4937
4900
done
4938
 
done
 
4901
  done
4939
4902
IFS=$as_save_IFS
4940
4903
 
4941
4904
if test $ac_prog_rejected = yes; then
4954
4917
fi
4955
4918
CC=$ac_cv_prog_CC
4956
4919
if test -n "$CC"; then
4957
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4920
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4958
4921
$as_echo "$CC" >&6; }
4959
4922
else
4960
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4923
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961
4924
$as_echo "no" >&6; }
4962
4925
fi
4963
4926
 
4969
4932
  do
4970
4933
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4971
4934
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4972
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4973
4936
$as_echo_n "checking for $ac_word... " >&6; }
4974
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4937
if test "${ac_cv_prog_CC+set}" = set; then :
4975
4938
  $as_echo_n "(cached) " >&6
4976
4939
else
4977
4940
  if test -n "$CC"; then
4982
4945
do
4983
4946
  IFS=$as_save_IFS
4984
4947
  test -z "$as_dir" && as_dir=.
4985
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4948
    for ac_exec_ext in '' $ac_executable_extensions; do
4986
4949
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4987
4950
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4988
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4951
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4989
4952
    break 2
4990
4953
  fi
4991
4954
done
4992
 
done
 
4955
  done
4993
4956
IFS=$as_save_IFS
4994
4957
 
4995
4958
fi
4996
4959
fi
4997
4960
CC=$ac_cv_prog_CC
4998
4961
if test -n "$CC"; then
4999
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4962
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5000
4963
$as_echo "$CC" >&6; }
5001
4964
else
5002
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4965
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5003
4966
$as_echo "no" >&6; }
5004
4967
fi
5005
4968
 
5013
4976
do
5014
4977
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5015
4978
set dummy $ac_prog; ac_word=$2
5016
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5017
4980
$as_echo_n "checking for $ac_word... " >&6; }
5018
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4981
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5019
4982
  $as_echo_n "(cached) " >&6
5020
4983
else
5021
4984
  if test -n "$ac_ct_CC"; then
5026
4989
do
5027
4990
  IFS=$as_save_IFS
5028
4991
  test -z "$as_dir" && as_dir=.
5029
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4992
    for ac_exec_ext in '' $ac_executable_extensions; do
5030
4993
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5031
4994
    ac_cv_prog_ac_ct_CC="$ac_prog"
5032
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4995
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5033
4996
    break 2
5034
4997
  fi
5035
4998
done
5036
 
done
 
4999
  done
5037
5000
IFS=$as_save_IFS
5038
5001
 
5039
5002
fi
5040
5003
fi
5041
5004
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5042
5005
if test -n "$ac_ct_CC"; then
5043
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
5006
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5044
5007
$as_echo "$ac_ct_CC" >&6; }
5045
5008
else
5046
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5009
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047
5010
$as_echo "no" >&6; }
5048
5011
fi
5049
5012
 
5056
5019
  else
5057
5020
    case $cross_compiling:$ac_tool_warned in
5058
5021
yes:)
5059
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5022
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5060
5023
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5061
5024
ac_tool_warned=yes ;;
5062
5025
esac
5067
5030
fi
5068
5031
 
5069
5032
 
5070
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5033
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5071
5034
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5072
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5073
 
See \`config.log' for more details." >&5
5074
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
5075
 
See \`config.log' for more details." >&2;}
5076
 
   { (exit 1); exit 1; }; }; }
 
5035
as_fn_error "no acceptable C compiler found in \$PATH
 
5036
See \`config.log' for more details." "$LINENO" 5; }
5077
5037
 
5078
5038
# Provide some information about the compiler.
5079
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
5039
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5080
5040
set X $ac_compile
5081
5041
ac_compiler=$2
5082
 
{ (ac_try="$ac_compiler --version >&5"
5083
 
case "(($ac_try" in
5084
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5085
 
  *) ac_try_echo=$ac_try;;
5086
 
esac
5087
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5088
 
$as_echo "$ac_try_echo") >&5
5089
 
  (eval "$ac_compiler --version >&5") 2>&5
5090
 
  ac_status=$?
5091
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092
 
  (exit $ac_status); }
5093
 
{ (ac_try="$ac_compiler -v >&5"
5094
 
case "(($ac_try" in
5095
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5096
 
  *) ac_try_echo=$ac_try;;
5097
 
esac
5098
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5099
 
$as_echo "$ac_try_echo") >&5
5100
 
  (eval "$ac_compiler -v >&5") 2>&5
5101
 
  ac_status=$?
5102
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103
 
  (exit $ac_status); }
5104
 
{ (ac_try="$ac_compiler -V >&5"
5105
 
case "(($ac_try" in
5106
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5107
 
  *) ac_try_echo=$ac_try;;
5108
 
esac
5109
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5110
 
$as_echo "$ac_try_echo") >&5
5111
 
  (eval "$ac_compiler -V >&5") 2>&5
5112
 
  ac_status=$?
5113
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114
 
  (exit $ac_status); }
 
5042
for ac_option in --version -v -V -qversion; do
 
5043
  { { ac_try="$ac_compiler $ac_option >&5"
 
5044
case "(($ac_try" in
 
5045
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5046
  *) ac_try_echo=$ac_try;;
 
5047
esac
 
5048
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5049
$as_echo "$ac_try_echo"; } >&5
 
5050
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
5051
  ac_status=$?
 
5052
  if test -s conftest.err; then
 
5053
    sed '10a\
 
5054
... rest of stderr output deleted ...
 
5055
         10q' conftest.err >conftest.er1
 
5056
    cat conftest.er1 >&5
 
5057
  fi
 
5058
  rm -f conftest.er1 conftest.err
 
5059
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5060
  test $ac_status = 0; }
 
5061
done
5115
5062
 
5116
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
5063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5117
5064
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5118
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
5065
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5119
5066
  $as_echo_n "(cached) " >&6
5120
5067
else
5121
 
  cat >conftest.$ac_ext <<_ACEOF
5122
 
/* confdefs.h.  */
5123
 
_ACEOF
5124
 
cat confdefs.h >>conftest.$ac_ext
5125
 
cat >>conftest.$ac_ext <<_ACEOF
 
5068
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5126
5069
/* end confdefs.h.  */
5127
5070
 
5128
5071
int
5136
5079
  return 0;
5137
5080
}
5138
5081
_ACEOF
5139
 
rm -f conftest.$ac_objext
5140
 
if { (ac_try="$ac_compile"
5141
 
case "(($ac_try" in
5142
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5143
 
  *) ac_try_echo=$ac_try;;
5144
 
esac
5145
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5146
 
$as_echo "$ac_try_echo") >&5
5147
 
  (eval "$ac_compile") 2>conftest.er1
5148
 
  ac_status=$?
5149
 
  grep -v '^ *+' conftest.er1 >conftest.err
5150
 
  rm -f conftest.er1
5151
 
  cat conftest.err >&5
5152
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153
 
  (exit $ac_status); } && {
5154
 
         test -z "$ac_c_werror_flag" ||
5155
 
         test ! -s conftest.err
5156
 
       } && test -s conftest.$ac_objext; then
 
5082
if ac_fn_c_try_compile "$LINENO"; then :
5157
5083
  ac_compiler_gnu=yes
5158
5084
else
5159
 
  $as_echo "$as_me: failed program was:" >&5
5160
 
sed 's/^/| /' conftest.$ac_ext >&5
5161
 
 
5162
 
        ac_compiler_gnu=no
 
5085
  ac_compiler_gnu=no
5163
5086
fi
5164
 
 
5165
5087
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5166
5088
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5167
5089
 
5168
5090
fi
5169
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
5091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5170
5092
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5171
5093
if test $ac_compiler_gnu = yes; then
5172
5094
  GCC=yes
5175
5097
fi
5176
5098
ac_test_CFLAGS=${CFLAGS+set}
5177
5099
ac_save_CFLAGS=$CFLAGS
5178
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
5100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5179
5101
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5180
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
5102
if test "${ac_cv_prog_cc_g+set}" = set; then :
5181
5103
  $as_echo_n "(cached) " >&6
5182
5104
else
5183
5105
  ac_save_c_werror_flag=$ac_c_werror_flag
5184
5106
   ac_c_werror_flag=yes
5185
5107
   ac_cv_prog_cc_g=no
5186
5108
   CFLAGS="-g"
5187
 
   cat >conftest.$ac_ext <<_ACEOF
5188
 
/* confdefs.h.  */
5189
 
_ACEOF
5190
 
cat confdefs.h >>conftest.$ac_ext
5191
 
cat >>conftest.$ac_ext <<_ACEOF
 
5109
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5192
5110
/* end confdefs.h.  */
5193
5111
 
5194
5112
int
5199
5117
  return 0;
5200
5118
}
5201
5119
_ACEOF
5202
 
rm -f conftest.$ac_objext
5203
 
if { (ac_try="$ac_compile"
5204
 
case "(($ac_try" in
5205
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5206
 
  *) ac_try_echo=$ac_try;;
5207
 
esac
5208
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5209
 
$as_echo "$ac_try_echo") >&5
5210
 
  (eval "$ac_compile") 2>conftest.er1
5211
 
  ac_status=$?
5212
 
  grep -v '^ *+' conftest.er1 >conftest.err
5213
 
  rm -f conftest.er1
5214
 
  cat conftest.err >&5
5215
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216
 
  (exit $ac_status); } && {
5217
 
         test -z "$ac_c_werror_flag" ||
5218
 
         test ! -s conftest.err
5219
 
       } && test -s conftest.$ac_objext; then
 
5120
if ac_fn_c_try_compile "$LINENO"; then :
5220
5121
  ac_cv_prog_cc_g=yes
5221
5122
else
5222
 
  $as_echo "$as_me: failed program was:" >&5
5223
 
sed 's/^/| /' conftest.$ac_ext >&5
5224
 
 
5225
 
        CFLAGS=""
5226
 
      cat >conftest.$ac_ext <<_ACEOF
5227
 
/* confdefs.h.  */
5228
 
_ACEOF
5229
 
cat confdefs.h >>conftest.$ac_ext
5230
 
cat >>conftest.$ac_ext <<_ACEOF
 
5123
  CFLAGS=""
 
5124
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5231
5125
/* end confdefs.h.  */
5232
5126
 
5233
5127
int
5238
5132
  return 0;
5239
5133
}
5240
5134
_ACEOF
5241
 
rm -f conftest.$ac_objext
5242
 
if { (ac_try="$ac_compile"
5243
 
case "(($ac_try" in
5244
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5245
 
  *) ac_try_echo=$ac_try;;
5246
 
esac
5247
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5248
 
$as_echo "$ac_try_echo") >&5
5249
 
  (eval "$ac_compile") 2>conftest.er1
5250
 
  ac_status=$?
5251
 
  grep -v '^ *+' conftest.er1 >conftest.err
5252
 
  rm -f conftest.er1
5253
 
  cat conftest.err >&5
5254
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255
 
  (exit $ac_status); } && {
5256
 
         test -z "$ac_c_werror_flag" ||
5257
 
         test ! -s conftest.err
5258
 
       } && test -s conftest.$ac_objext; then
5259
 
  :
 
5135
if ac_fn_c_try_compile "$LINENO"; then :
 
5136
 
5260
5137
else
5261
 
  $as_echo "$as_me: failed program was:" >&5
5262
 
sed 's/^/| /' conftest.$ac_ext >&5
5263
 
 
5264
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
5138
  ac_c_werror_flag=$ac_save_c_werror_flag
5265
5139
         CFLAGS="-g"
5266
 
         cat >conftest.$ac_ext <<_ACEOF
5267
 
/* confdefs.h.  */
5268
 
_ACEOF
5269
 
cat confdefs.h >>conftest.$ac_ext
5270
 
cat >>conftest.$ac_ext <<_ACEOF
 
5140
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5271
5141
/* end confdefs.h.  */
5272
5142
 
5273
5143
int
5278
5148
  return 0;
5279
5149
}
5280
5150
_ACEOF
5281
 
rm -f conftest.$ac_objext
5282
 
if { (ac_try="$ac_compile"
5283
 
case "(($ac_try" in
5284
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5285
 
  *) ac_try_echo=$ac_try;;
5286
 
esac
5287
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5288
 
$as_echo "$ac_try_echo") >&5
5289
 
  (eval "$ac_compile") 2>conftest.er1
5290
 
  ac_status=$?
5291
 
  grep -v '^ *+' conftest.er1 >conftest.err
5292
 
  rm -f conftest.er1
5293
 
  cat conftest.err >&5
5294
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295
 
  (exit $ac_status); } && {
5296
 
         test -z "$ac_c_werror_flag" ||
5297
 
         test ! -s conftest.err
5298
 
       } && test -s conftest.$ac_objext; then
 
5151
if ac_fn_c_try_compile "$LINENO"; then :
5299
5152
  ac_cv_prog_cc_g=yes
5300
 
else
5301
 
  $as_echo "$as_me: failed program was:" >&5
5302
 
sed 's/^/| /' conftest.$ac_ext >&5
5303
 
 
5304
 
 
5305
 
fi
5306
 
 
5307
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5308
 
fi
5309
 
 
5310
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5311
 
fi
5312
 
 
 
5153
fi
 
5154
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5155
fi
 
5156
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5157
fi
5313
5158
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5314
5159
   ac_c_werror_flag=$ac_save_c_werror_flag
5315
5160
fi
5316
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
5161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5317
5162
$as_echo "$ac_cv_prog_cc_g" >&6; }
5318
5163
if test "$ac_test_CFLAGS" = set; then
5319
5164
  CFLAGS=$ac_save_CFLAGS
5330
5175
    CFLAGS=
5331
5176
  fi
5332
5177
fi
5333
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
5178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5334
5179
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5335
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
5180
if test "${ac_cv_prog_cc_c89+set}" = set; then :
5336
5181
  $as_echo_n "(cached) " >&6
5337
5182
else
5338
5183
  ac_cv_prog_cc_c89=no
5339
5184
ac_save_CC=$CC
5340
 
cat >conftest.$ac_ext <<_ACEOF
5341
 
/* confdefs.h.  */
5342
 
_ACEOF
5343
 
cat confdefs.h >>conftest.$ac_ext
5344
 
cat >>conftest.$ac_ext <<_ACEOF
 
5185
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5345
5186
/* end confdefs.h.  */
5346
5187
#include <stdarg.h>
5347
5188
#include <stdio.h>
5398
5239
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5399
5240
do
5400
5241
  CC="$ac_save_CC $ac_arg"
5401
 
  rm -f conftest.$ac_objext
5402
 
if { (ac_try="$ac_compile"
5403
 
case "(($ac_try" in
5404
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5405
 
  *) ac_try_echo=$ac_try;;
5406
 
esac
5407
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5408
 
$as_echo "$ac_try_echo") >&5
5409
 
  (eval "$ac_compile") 2>conftest.er1
5410
 
  ac_status=$?
5411
 
  grep -v '^ *+' conftest.er1 >conftest.err
5412
 
  rm -f conftest.er1
5413
 
  cat conftest.err >&5
5414
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5415
 
  (exit $ac_status); } && {
5416
 
         test -z "$ac_c_werror_flag" ||
5417
 
         test ! -s conftest.err
5418
 
       } && test -s conftest.$ac_objext; then
 
5242
  if ac_fn_c_try_compile "$LINENO"; then :
5419
5243
  ac_cv_prog_cc_c89=$ac_arg
5420
 
else
5421
 
  $as_echo "$as_me: failed program was:" >&5
5422
 
sed 's/^/| /' conftest.$ac_ext >&5
5423
 
 
5424
 
 
5425
5244
fi
5426
 
 
5427
5245
rm -f core conftest.err conftest.$ac_objext
5428
5246
  test "x$ac_cv_prog_cc_c89" != "xno" && break
5429
5247
done
5434
5252
# AC_CACHE_VAL
5435
5253
case "x$ac_cv_prog_cc_c89" in
5436
5254
  x)
5437
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
5255
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5438
5256
$as_echo "none needed" >&6; } ;;
5439
5257
  xno)
5440
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
5258
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5441
5259
$as_echo "unsupported" >&6; } ;;
5442
5260
  *)
5443
5261
    CC="$CC $ac_cv_prog_cc_c89"
5444
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
5262
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5445
5263
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5446
5264
esac
 
5265
if test "x$ac_cv_prog_cc_c89" != xno; then :
5447
5266
 
 
5267
fi
5448
5268
 
5449
5269
ac_ext=c
5450
5270
ac_cpp='$CPP $CPPFLAGS'
5454
5274
 
5455
5275
depcc="$CC"   am_compiler_list=
5456
5276
 
5457
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5277
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5458
5278
$as_echo_n "checking dependency style of $depcc... " >&6; }
5459
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
5279
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5460
5280
  $as_echo_n "(cached) " >&6
5461
5281
else
5462
5282
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5564
5384
fi
5565
5385
 
5566
5386
fi
5567
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5568
5388
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5569
5389
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5570
5390
 
5584
5404
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5585
5405
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5586
5406
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5587
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5588
5408
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5589
5409
# On Suns, sometimes $CPP names a directory.
5590
5410
if test -n "$CPP" && test -d "$CPP"; then
5591
5411
  CPP=
5592
5412
fi
5593
5413
if test -z "$CPP"; then
5594
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
5414
  if test "${ac_cv_prog_CPP+set}" = set; then :
5595
5415
  $as_echo_n "(cached) " >&6
5596
5416
else
5597
5417
      # Double quotes because CPP needs to be expanded
5606
5426
  # <limits.h> exists even on freestanding compilers.
5607
5427
  # On the NeXT, cc -E runs the code through the compiler's parser,
5608
5428
  # not just through cpp. "Syntax error" is here to catch this case.
5609
 
  cat >conftest.$ac_ext <<_ACEOF
5610
 
/* confdefs.h.  */
5611
 
_ACEOF
5612
 
cat confdefs.h >>conftest.$ac_ext
5613
 
cat >>conftest.$ac_ext <<_ACEOF
 
5429
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5614
5430
/* end confdefs.h.  */
5615
5431
#ifdef __STDC__
5616
5432
# include <limits.h>
5619
5435
#endif
5620
5436
                     Syntax error
5621
5437
_ACEOF
5622
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5623
 
case "(($ac_try" in
5624
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5625
 
  *) ac_try_echo=$ac_try;;
5626
 
esac
5627
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5628
 
$as_echo "$ac_try_echo") >&5
5629
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5630
 
  ac_status=$?
5631
 
  grep -v '^ *+' conftest.er1 >conftest.err
5632
 
  rm -f conftest.er1
5633
 
  cat conftest.err >&5
5634
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635
 
  (exit $ac_status); } >/dev/null && {
5636
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5637
 
         test ! -s conftest.err
5638
 
       }; then
5639
 
  :
 
5438
if ac_fn_c_try_cpp "$LINENO"; then :
 
5439
 
5640
5440
else
5641
 
  $as_echo "$as_me: failed program was:" >&5
5642
 
sed 's/^/| /' conftest.$ac_ext >&5
5643
 
 
5644
5441
  # Broken: fails on valid input.
5645
5442
continue
5646
5443
fi
5647
 
 
5648
5444
rm -f conftest.err conftest.$ac_ext
5649
5445
 
5650
5446
  # OK, works on sane cases.  Now check whether nonexistent headers
5651
5447
  # can be detected and how.
5652
 
  cat >conftest.$ac_ext <<_ACEOF
5653
 
/* confdefs.h.  */
5654
 
_ACEOF
5655
 
cat confdefs.h >>conftest.$ac_ext
5656
 
cat >>conftest.$ac_ext <<_ACEOF
 
5448
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5657
5449
/* end confdefs.h.  */
5658
5450
#include <ac_nonexistent.h>
5659
5451
_ACEOF
5660
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5661
 
case "(($ac_try" in
5662
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5663
 
  *) ac_try_echo=$ac_try;;
5664
 
esac
5665
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5666
 
$as_echo "$ac_try_echo") >&5
5667
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5668
 
  ac_status=$?
5669
 
  grep -v '^ *+' conftest.er1 >conftest.err
5670
 
  rm -f conftest.er1
5671
 
  cat conftest.err >&5
5672
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673
 
  (exit $ac_status); } >/dev/null && {
5674
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5675
 
         test ! -s conftest.err
5676
 
       }; then
 
5452
if ac_fn_c_try_cpp "$LINENO"; then :
5677
5453
  # Broken: success on invalid input.
5678
5454
continue
5679
5455
else
5680
 
  $as_echo "$as_me: failed program was:" >&5
5681
 
sed 's/^/| /' conftest.$ac_ext >&5
5682
 
 
5683
5456
  # Passes both tests.
5684
5457
ac_preproc_ok=:
5685
5458
break
5686
5459
fi
5687
 
 
5688
5460
rm -f conftest.err conftest.$ac_ext
5689
5461
 
5690
5462
done
5691
5463
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5692
5464
rm -f conftest.err conftest.$ac_ext
5693
 
if $ac_preproc_ok; then
 
5465
if $ac_preproc_ok; then :
5694
5466
  break
5695
5467
fi
5696
5468
 
5702
5474
else
5703
5475
  ac_cv_prog_CPP=$CPP
5704
5476
fi
5705
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
5477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5706
5478
$as_echo "$CPP" >&6; }
5707
5479
ac_preproc_ok=false
5708
5480
for ac_c_preproc_warn_flag in '' yes
5713
5485
  # <limits.h> exists even on freestanding compilers.
5714
5486
  # On the NeXT, cc -E runs the code through the compiler's parser,
5715
5487
  # not just through cpp. "Syntax error" is here to catch this case.
5716
 
  cat >conftest.$ac_ext <<_ACEOF
5717
 
/* confdefs.h.  */
5718
 
_ACEOF
5719
 
cat confdefs.h >>conftest.$ac_ext
5720
 
cat >>conftest.$ac_ext <<_ACEOF
 
5488
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5721
5489
/* end confdefs.h.  */
5722
5490
#ifdef __STDC__
5723
5491
# include <limits.h>
5726
5494
#endif
5727
5495
                     Syntax error
5728
5496
_ACEOF
5729
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5730
 
case "(($ac_try" in
5731
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5732
 
  *) ac_try_echo=$ac_try;;
5733
 
esac
5734
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5735
 
$as_echo "$ac_try_echo") >&5
5736
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5737
 
  ac_status=$?
5738
 
  grep -v '^ *+' conftest.er1 >conftest.err
5739
 
  rm -f conftest.er1
5740
 
  cat conftest.err >&5
5741
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742
 
  (exit $ac_status); } >/dev/null && {
5743
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5744
 
         test ! -s conftest.err
5745
 
       }; then
5746
 
  :
 
5497
if ac_fn_c_try_cpp "$LINENO"; then :
 
5498
 
5747
5499
else
5748
 
  $as_echo "$as_me: failed program was:" >&5
5749
 
sed 's/^/| /' conftest.$ac_ext >&5
5750
 
 
5751
5500
  # Broken: fails on valid input.
5752
5501
continue
5753
5502
fi
5754
 
 
5755
5503
rm -f conftest.err conftest.$ac_ext
5756
5504
 
5757
5505
  # OK, works on sane cases.  Now check whether nonexistent headers
5758
5506
  # can be detected and how.
5759
 
  cat >conftest.$ac_ext <<_ACEOF
5760
 
/* confdefs.h.  */
5761
 
_ACEOF
5762
 
cat confdefs.h >>conftest.$ac_ext
5763
 
cat >>conftest.$ac_ext <<_ACEOF
 
5507
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5764
5508
/* end confdefs.h.  */
5765
5509
#include <ac_nonexistent.h>
5766
5510
_ACEOF
5767
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5768
 
case "(($ac_try" in
5769
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5770
 
  *) ac_try_echo=$ac_try;;
5771
 
esac
5772
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5773
 
$as_echo "$ac_try_echo") >&5
5774
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5775
 
  ac_status=$?
5776
 
  grep -v '^ *+' conftest.er1 >conftest.err
5777
 
  rm -f conftest.er1
5778
 
  cat conftest.err >&5
5779
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780
 
  (exit $ac_status); } >/dev/null && {
5781
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5782
 
         test ! -s conftest.err
5783
 
       }; then
 
5511
if ac_fn_c_try_cpp "$LINENO"; then :
5784
5512
  # Broken: success on invalid input.
5785
5513
continue
5786
5514
else
5787
 
  $as_echo "$as_me: failed program was:" >&5
5788
 
sed 's/^/| /' conftest.$ac_ext >&5
5789
 
 
5790
5515
  # Passes both tests.
5791
5516
ac_preproc_ok=:
5792
5517
break
5793
5518
fi
5794
 
 
5795
5519
rm -f conftest.err conftest.$ac_ext
5796
5520
 
5797
5521
done
5798
5522
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5799
5523
rm -f conftest.err conftest.$ac_ext
5800
 
if $ac_preproc_ok; then
5801
 
  :
 
5524
if $ac_preproc_ok; then :
 
5525
 
5802
5526
else
5803
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5527
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5804
5528
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5805
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5806
 
See \`config.log' for more details." >&5
5807
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5808
 
See \`config.log' for more details." >&2;}
5809
 
   { (exit 1); exit 1; }; }; }
 
5529
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
5530
See \`config.log' for more details." "$LINENO" 5; }
5810
5531
fi
5811
5532
 
5812
5533
ac_ext=c
5816
5537
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5817
5538
 
5818
5539
 
5819
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
5540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5820
5541
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5821
 
if test "${ac_cv_path_GREP+set}" = set; then
 
5542
if test "${ac_cv_path_GREP+set}" = set; then :
5822
5543
  $as_echo_n "(cached) " >&6
5823
5544
else
5824
5545
  if test -z "$GREP"; then
5829
5550
do
5830
5551
  IFS=$as_save_IFS
5831
5552
  test -z "$as_dir" && as_dir=.
5832
 
  for ac_prog in grep ggrep; do
 
5553
    for ac_prog in grep ggrep; do
5833
5554
    for ac_exec_ext in '' $ac_executable_extensions; do
5834
5555
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5835
5556
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5849
5570
    $as_echo 'GREP' >> "conftest.nl"
5850
5571
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5851
5572
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5852
 
    ac_count=`expr $ac_count + 1`
 
5573
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5853
5574
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5854
5575
      # Best one so far, save it but keep looking for a better one
5855
5576
      ac_cv_path_GREP="$ac_path_GREP"
5864
5585
      $ac_path_GREP_found && break 3
5865
5586
    done
5866
5587
  done
5867
 
done
 
5588
  done
5868
5589
IFS=$as_save_IFS
5869
5590
  if test -z "$ac_cv_path_GREP"; then
5870
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5871
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5872
 
   { (exit 1); exit 1; }; }
 
5591
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5873
5592
  fi
5874
5593
else
5875
5594
  ac_cv_path_GREP=$GREP
5876
5595
fi
5877
5596
 
5878
5597
fi
5879
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
5598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5880
5599
$as_echo "$ac_cv_path_GREP" >&6; }
5881
5600
 GREP="$ac_cv_path_GREP"
5882
5601
 
5883
5602
 
5884
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
5603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5885
5604
$as_echo_n "checking for egrep... " >&6; }
5886
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
5605
if test "${ac_cv_path_EGREP+set}" = set; then :
5887
5606
  $as_echo_n "(cached) " >&6
5888
5607
else
5889
5608
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5897
5616
do
5898
5617
  IFS=$as_save_IFS
5899
5618
  test -z "$as_dir" && as_dir=.
5900
 
  for ac_prog in egrep; do
 
5619
    for ac_prog in egrep; do
5901
5620
    for ac_exec_ext in '' $ac_executable_extensions; do
5902
5621
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5903
5622
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5917
5636
    $as_echo 'EGREP' >> "conftest.nl"
5918
5637
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5919
5638
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5920
 
    ac_count=`expr $ac_count + 1`
 
5639
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5921
5640
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5922
5641
      # Best one so far, save it but keep looking for a better one
5923
5642
      ac_cv_path_EGREP="$ac_path_EGREP"
5932
5651
      $ac_path_EGREP_found && break 3
5933
5652
    done
5934
5653
  done
5935
 
done
 
5654
  done
5936
5655
IFS=$as_save_IFS
5937
5656
  if test -z "$ac_cv_path_EGREP"; then
5938
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5939
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5940
 
   { (exit 1); exit 1; }; }
 
5657
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5941
5658
  fi
5942
5659
else
5943
5660
  ac_cv_path_EGREP=$EGREP
5945
5662
 
5946
5663
   fi
5947
5664
fi
5948
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
5665
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5949
5666
$as_echo "$ac_cv_path_EGREP" >&6; }
5950
5667
 EGREP="$ac_cv_path_EGREP"
5951
5668
 
5952
5669
 
5953
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5954
5671
$as_echo_n "checking for ANSI C header files... " >&6; }
5955
 
if test "${ac_cv_header_stdc+set}" = set; then
 
5672
if test "${ac_cv_header_stdc+set}" = set; then :
5956
5673
  $as_echo_n "(cached) " >&6
5957
5674
else
5958
 
  cat >conftest.$ac_ext <<_ACEOF
5959
 
/* confdefs.h.  */
5960
 
_ACEOF
5961
 
cat confdefs.h >>conftest.$ac_ext
5962
 
cat >>conftest.$ac_ext <<_ACEOF
 
5675
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5963
5676
/* end confdefs.h.  */
5964
5677
#include <stdlib.h>
5965
5678
#include <stdarg.h>
5974
5687
  return 0;
5975
5688
}
5976
5689
_ACEOF
5977
 
rm -f conftest.$ac_objext
5978
 
if { (ac_try="$ac_compile"
5979
 
case "(($ac_try" in
5980
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5981
 
  *) ac_try_echo=$ac_try;;
5982
 
esac
5983
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5984
 
$as_echo "$ac_try_echo") >&5
5985
 
  (eval "$ac_compile") 2>conftest.er1
5986
 
  ac_status=$?
5987
 
  grep -v '^ *+' conftest.er1 >conftest.err
5988
 
  rm -f conftest.er1
5989
 
  cat conftest.err >&5
5990
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5991
 
  (exit $ac_status); } && {
5992
 
         test -z "$ac_c_werror_flag" ||
5993
 
         test ! -s conftest.err
5994
 
       } && test -s conftest.$ac_objext; then
 
5690
if ac_fn_c_try_compile "$LINENO"; then :
5995
5691
  ac_cv_header_stdc=yes
5996
5692
else
5997
 
  $as_echo "$as_me: failed program was:" >&5
5998
 
sed 's/^/| /' conftest.$ac_ext >&5
5999
 
 
6000
 
        ac_cv_header_stdc=no
 
5693
  ac_cv_header_stdc=no
6001
5694
fi
6002
 
 
6003
5695
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6004
5696
 
6005
5697
if test $ac_cv_header_stdc = yes; then
6006
5698
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6007
 
  cat >conftest.$ac_ext <<_ACEOF
6008
 
/* confdefs.h.  */
6009
 
_ACEOF
6010
 
cat confdefs.h >>conftest.$ac_ext
6011
 
cat >>conftest.$ac_ext <<_ACEOF
 
5699
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6012
5700
/* end confdefs.h.  */
6013
5701
#include <string.h>
6014
5702
 
6015
5703
_ACEOF
6016
5704
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6017
 
  $EGREP "memchr" >/dev/null 2>&1; then
6018
 
  :
 
5705
  $EGREP "memchr" >/dev/null 2>&1; then :
 
5706
 
6019
5707
else
6020
5708
  ac_cv_header_stdc=no
6021
5709
fi
6025
5713
 
6026
5714
if test $ac_cv_header_stdc = yes; then
6027
5715
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6028
 
  cat >conftest.$ac_ext <<_ACEOF
6029
 
/* confdefs.h.  */
6030
 
_ACEOF
6031
 
cat confdefs.h >>conftest.$ac_ext
6032
 
cat >>conftest.$ac_ext <<_ACEOF
 
5716
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6033
5717
/* end confdefs.h.  */
6034
5718
#include <stdlib.h>
6035
5719
 
6036
5720
_ACEOF
6037
5721
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6038
 
  $EGREP "free" >/dev/null 2>&1; then
6039
 
  :
 
5722
  $EGREP "free" >/dev/null 2>&1; then :
 
5723
 
6040
5724
else
6041
5725
  ac_cv_header_stdc=no
6042
5726
fi
6046
5730
 
6047
5731
if test $ac_cv_header_stdc = yes; then
6048
5732
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6049
 
  if test "$cross_compiling" = yes; then
 
5733
  if test "$cross_compiling" = yes; then :
6050
5734
  :
6051
5735
else
6052
 
  cat >conftest.$ac_ext <<_ACEOF
6053
 
/* confdefs.h.  */
6054
 
_ACEOF
6055
 
cat confdefs.h >>conftest.$ac_ext
6056
 
cat >>conftest.$ac_ext <<_ACEOF
 
5736
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6057
5737
/* end confdefs.h.  */
6058
5738
#include <ctype.h>
6059
5739
#include <stdlib.h>
6080
5760
  return 0;
6081
5761
}
6082
5762
_ACEOF
6083
 
rm -f conftest$ac_exeext
6084
 
if { (ac_try="$ac_link"
6085
 
case "(($ac_try" in
6086
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6087
 
  *) ac_try_echo=$ac_try;;
6088
 
esac
6089
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6090
 
$as_echo "$ac_try_echo") >&5
6091
 
  (eval "$ac_link") 2>&5
6092
 
  ac_status=$?
6093
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6095
 
  { (case "(($ac_try" in
6096
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6097
 
  *) ac_try_echo=$ac_try;;
6098
 
esac
6099
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6100
 
$as_echo "$ac_try_echo") >&5
6101
 
  (eval "$ac_try") 2>&5
6102
 
  ac_status=$?
6103
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104
 
  (exit $ac_status); }; }; then
6105
 
  :
 
5763
if ac_fn_c_try_run "$LINENO"; then :
 
5764
 
6106
5765
else
6107
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
6108
 
$as_echo "$as_me: failed program was:" >&5
6109
 
sed 's/^/| /' conftest.$ac_ext >&5
6110
 
 
6111
 
( exit $ac_status )
6112
 
ac_cv_header_stdc=no
6113
 
fi
6114
 
rm -rf conftest.dSYM
6115
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6116
 
fi
6117
 
 
6118
 
 
6119
 
fi
6120
 
fi
6121
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5766
  ac_cv_header_stdc=no
 
5767
fi
 
5768
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5769
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5770
fi
 
5771
 
 
5772
fi
 
5773
fi
 
5774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6122
5775
$as_echo "$ac_cv_header_stdc" >&6; }
6123
5776
if test $ac_cv_header_stdc = yes; then
6124
5777
 
6125
 
cat >>confdefs.h <<\_ACEOF
6126
 
#define STDC_HEADERS 1
6127
 
_ACEOF
 
5778
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6128
5779
 
6129
5780
fi
6130
5781
 
6131
5782
# Make sure we can run config.sub.
6132
5783
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6133
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
6134
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
6135
 
   { (exit 1); exit 1; }; }
 
5784
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6136
5785
 
6137
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
5786
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6138
5787
$as_echo_n "checking build system type... " >&6; }
6139
 
if test "${ac_cv_build+set}" = set; then
 
5788
if test "${ac_cv_build+set}" = set; then :
6140
5789
  $as_echo_n "(cached) " >&6
6141
5790
else
6142
5791
  ac_build_alias=$build_alias
6143
5792
test "x$ac_build_alias" = x &&
6144
5793
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6145
5794
test "x$ac_build_alias" = x &&
6146
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6147
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6148
 
   { (exit 1); exit 1; }; }
 
5795
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
6149
5796
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6150
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
6151
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
6152
 
   { (exit 1); exit 1; }; }
 
5797
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6153
5798
 
6154
5799
fi
6155
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
5800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6156
5801
$as_echo "$ac_cv_build" >&6; }
6157
5802
case $ac_cv_build in
6158
5803
*-*-*) ;;
6159
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
6160
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
6161
 
   { (exit 1); exit 1; }; };;
 
5804
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
6162
5805
esac
6163
5806
build=$ac_cv_build
6164
5807
ac_save_IFS=$IFS; IFS='-'
6174
5817
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6175
5818
 
6176
5819
 
6177
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
5820
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6178
5821
$as_echo_n "checking host system type... " >&6; }
6179
 
if test "${ac_cv_host+set}" = set; then
 
5822
if test "${ac_cv_host+set}" = set; then :
6180
5823
  $as_echo_n "(cached) " >&6
6181
5824
else
6182
5825
  if test "x$host_alias" = x; then
6183
5826
  ac_cv_host=$ac_cv_build
6184
5827
else
6185
5828
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6186
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
6187
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
6188
 
   { (exit 1); exit 1; }; }
 
5829
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6189
5830
fi
6190
5831
 
6191
5832
fi
6192
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
5833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6193
5834
$as_echo "$ac_cv_host" >&6; }
6194
5835
case $ac_cv_host in
6195
5836
*-*-*) ;;
6196
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
6197
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
6198
 
   { (exit 1); exit 1; }; };;
 
5837
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
6199
5838
esac
6200
5839
host=$ac_cv_host
6201
5840
ac_save_IFS=$IFS; IFS='-'
6218
5857
  if test -n "$ac_tool_prefix"; then
6219
5858
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6220
5859
set dummy ${ac_tool_prefix}as; ac_word=$2
6221
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6222
5861
$as_echo_n "checking for $ac_word... " >&6; }
6223
 
if test "${ac_cv_prog_AS+set}" = set; then
 
5862
if test "${ac_cv_prog_AS+set}" = set; then :
6224
5863
  $as_echo_n "(cached) " >&6
6225
5864
else
6226
5865
  if test -n "$AS"; then
6231
5870
do
6232
5871
  IFS=$as_save_IFS
6233
5872
  test -z "$as_dir" && as_dir=.
6234
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5873
    for ac_exec_ext in '' $ac_executable_extensions; do
6235
5874
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6236
5875
    ac_cv_prog_AS="${ac_tool_prefix}as"
6237
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5876
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6238
5877
    break 2
6239
5878
  fi
6240
5879
done
6241
 
done
 
5880
  done
6242
5881
IFS=$as_save_IFS
6243
5882
 
6244
5883
fi
6245
5884
fi
6246
5885
AS=$ac_cv_prog_AS
6247
5886
if test -n "$AS"; then
6248
 
  { $as_echo "$as_me:$LINENO: result: $AS" >&5
 
5887
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6249
5888
$as_echo "$AS" >&6; }
6250
5889
else
6251
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5890
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6252
5891
$as_echo "no" >&6; }
6253
5892
fi
6254
5893
 
6258
5897
  ac_ct_AS=$AS
6259
5898
  # Extract the first word of "as", so it can be a program name with args.
6260
5899
set dummy as; ac_word=$2
6261
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6262
5901
$as_echo_n "checking for $ac_word... " >&6; }
6263
 
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
 
5902
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
6264
5903
  $as_echo_n "(cached) " >&6
6265
5904
else
6266
5905
  if test -n "$ac_ct_AS"; then
6271
5910
do
6272
5911
  IFS=$as_save_IFS
6273
5912
  test -z "$as_dir" && as_dir=.
6274
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5913
    for ac_exec_ext in '' $ac_executable_extensions; do
6275
5914
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6276
5915
    ac_cv_prog_ac_ct_AS="as"
6277
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5916
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6278
5917
    break 2
6279
5918
  fi
6280
5919
done
6281
 
done
 
5920
  done
6282
5921
IFS=$as_save_IFS
6283
5922
 
6284
5923
fi
6285
5924
fi
6286
5925
ac_ct_AS=$ac_cv_prog_ac_ct_AS
6287
5926
if test -n "$ac_ct_AS"; then
6288
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
 
5927
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6289
5928
$as_echo "$ac_ct_AS" >&6; }
6290
5929
else
6291
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5930
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6292
5931
$as_echo "no" >&6; }
6293
5932
fi
6294
5933
 
6297
5936
  else
6298
5937
    case $cross_compiling:$ac_tool_warned in
6299
5938
yes:)
6300
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5939
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6301
5940
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6302
5941
ac_tool_warned=yes ;;
6303
5942
esac
6310
5949
  if test -n "$ac_tool_prefix"; then
6311
5950
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6312
5951
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6313
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6314
5953
$as_echo_n "checking for $ac_word... " >&6; }
6315
 
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
 
5954
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6316
5955
  $as_echo_n "(cached) " >&6
6317
5956
else
6318
5957
  if test -n "$DLLTOOL"; then
6323
5962
do
6324
5963
  IFS=$as_save_IFS
6325
5964
  test -z "$as_dir" && as_dir=.
6326
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5965
    for ac_exec_ext in '' $ac_executable_extensions; do
6327
5966
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6328
5967
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6329
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5968
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6330
5969
    break 2
6331
5970
  fi
6332
5971
done
6333
 
done
 
5972
  done
6334
5973
IFS=$as_save_IFS
6335
5974
 
6336
5975
fi
6337
5976
fi
6338
5977
DLLTOOL=$ac_cv_prog_DLLTOOL
6339
5978
if test -n "$DLLTOOL"; then
6340
 
  { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 
5979
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6341
5980
$as_echo "$DLLTOOL" >&6; }
6342
5981
else
6343
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5982
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6344
5983
$as_echo "no" >&6; }
6345
5984
fi
6346
5985
 
6350
5989
  ac_ct_DLLTOOL=$DLLTOOL
6351
5990
  # Extract the first word of "dlltool", so it can be a program name with args.
6352
5991
set dummy dlltool; ac_word=$2
6353
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6354
5993
$as_echo_n "checking for $ac_word... " >&6; }
6355
 
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
 
5994
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
6356
5995
  $as_echo_n "(cached) " >&6
6357
5996
else
6358
5997
  if test -n "$ac_ct_DLLTOOL"; then
6363
6002
do
6364
6003
  IFS=$as_save_IFS
6365
6004
  test -z "$as_dir" && as_dir=.
6366
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6005
    for ac_exec_ext in '' $ac_executable_extensions; do
6367
6006
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6368
6007
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6369
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6008
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6370
6009
    break 2
6371
6010
  fi
6372
6011
done
6373
 
done
 
6012
  done
6374
6013
IFS=$as_save_IFS
6375
6014
 
6376
6015
fi
6377
6016
fi
6378
6017
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6379
6018
if test -n "$ac_ct_DLLTOOL"; then
6380
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
 
6019
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6381
6020
$as_echo "$ac_ct_DLLTOOL" >&6; }
6382
6021
else
6383
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6022
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6384
6023
$as_echo "no" >&6; }
6385
6024
fi
6386
6025
 
6389
6028
  else
6390
6029
    case $cross_compiling:$ac_tool_warned in
6391
6030
yes:)
6392
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6031
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6393
6032
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6394
6033
ac_tool_warned=yes ;;
6395
6034
esac
6402
6041
  if test -n "$ac_tool_prefix"; then
6403
6042
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6404
6043
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6405
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6406
6045
$as_echo_n "checking for $ac_word... " >&6; }
6407
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
6046
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6408
6047
  $as_echo_n "(cached) " >&6
6409
6048
else
6410
6049
  if test -n "$OBJDUMP"; then
6415
6054
do
6416
6055
  IFS=$as_save_IFS
6417
6056
  test -z "$as_dir" && as_dir=.
6418
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6057
    for ac_exec_ext in '' $ac_executable_extensions; do
6419
6058
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6420
6059
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6421
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6060
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6422
6061
    break 2
6423
6062
  fi
6424
6063
done
6425
 
done
 
6064
  done
6426
6065
IFS=$as_save_IFS
6427
6066
 
6428
6067
fi
6429
6068
fi
6430
6069
OBJDUMP=$ac_cv_prog_OBJDUMP
6431
6070
if test -n "$OBJDUMP"; then
6432
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
6071
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6433
6072
$as_echo "$OBJDUMP" >&6; }
6434
6073
else
6435
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6074
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6436
6075
$as_echo "no" >&6; }
6437
6076
fi
6438
6077
 
6442
6081
  ac_ct_OBJDUMP=$OBJDUMP
6443
6082
  # Extract the first word of "objdump", so it can be a program name with args.
6444
6083
set dummy objdump; ac_word=$2
6445
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6446
6085
$as_echo_n "checking for $ac_word... " >&6; }
6447
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
6086
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6448
6087
  $as_echo_n "(cached) " >&6
6449
6088
else
6450
6089
  if test -n "$ac_ct_OBJDUMP"; then
6455
6094
do
6456
6095
  IFS=$as_save_IFS
6457
6096
  test -z "$as_dir" && as_dir=.
6458
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6097
    for ac_exec_ext in '' $ac_executable_extensions; do
6459
6098
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6460
6099
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6461
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6100
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6462
6101
    break 2
6463
6102
  fi
6464
6103
done
6465
 
done
 
6104
  done
6466
6105
IFS=$as_save_IFS
6467
6106
 
6468
6107
fi
6469
6108
fi
6470
6109
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6471
6110
if test -n "$ac_ct_OBJDUMP"; then
6472
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
6111
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6473
6112
$as_echo "$ac_ct_OBJDUMP" >&6; }
6474
6113
else
6475
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6114
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6476
6115
$as_echo "no" >&6; }
6477
6116
fi
6478
6117
 
6481
6120
  else
6482
6121
    case $cross_compiling:$ac_tool_warned in
6483
6122
yes:)
6484
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6123
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6485
6124
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6486
6125
ac_tool_warned=yes ;;
6487
6126
esac
6516
6155
 
6517
6156
case `pwd` in
6518
6157
  *\ * | *\     *)
6519
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
6158
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6520
6159
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6521
6160
esac
6522
6161
 
6539
6178
 
6540
6179
ltmain="$ac_aux_dir/ltmain.sh"
6541
6180
 
6542
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
6181
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6543
6182
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6544
 
if test "${ac_cv_path_SED+set}" = set; then
 
6183
if test "${ac_cv_path_SED+set}" = set; then :
6545
6184
  $as_echo_n "(cached) " >&6
6546
6185
else
6547
6186
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6549
6188
       ac_script="$ac_script$as_nl$ac_script"
6550
6189
     done
6551
6190
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6552
 
     $as_unset ac_script || ac_script=
 
6191
     { ac_script=; unset ac_script;}
6553
6192
     if test -z "$SED"; then
6554
6193
  ac_path_SED_found=false
6555
6194
  # Loop through the user's path and test for each of PROGNAME-LIST
6558
6197
do
6559
6198
  IFS=$as_save_IFS
6560
6199
  test -z "$as_dir" && as_dir=.
6561
 
  for ac_prog in sed gsed; do
 
6200
    for ac_prog in sed gsed; do
6562
6201
    for ac_exec_ext in '' $ac_executable_extensions; do
6563
6202
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6564
6203
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6578
6217
    $as_echo '' >> "conftest.nl"
6579
6218
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6580
6219
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6581
 
    ac_count=`expr $ac_count + 1`
 
6220
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6582
6221
    if test $ac_count -gt ${ac_path_SED_max-0}; then
6583
6222
      # Best one so far, save it but keep looking for a better one
6584
6223
      ac_cv_path_SED="$ac_path_SED"
6593
6232
      $ac_path_SED_found && break 3
6594
6233
    done
6595
6234
  done
6596
 
done
 
6235
  done
6597
6236
IFS=$as_save_IFS
6598
6237
  if test -z "$ac_cv_path_SED"; then
6599
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
6600
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
6601
 
   { (exit 1); exit 1; }; }
 
6238
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6602
6239
  fi
6603
6240
else
6604
6241
  ac_cv_path_SED=$SED
6605
6242
fi
6606
6243
 
6607
6244
fi
6608
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
6245
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6609
6246
$as_echo "$ac_cv_path_SED" >&6; }
6610
6247
 SED="$ac_cv_path_SED"
6611
6248
  rm -f conftest.sed
6623
6260
 
6624
6261
 
6625
6262
 
6626
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
6263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6627
6264
$as_echo_n "checking for fgrep... " >&6; }
6628
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
6265
if test "${ac_cv_path_FGREP+set}" = set; then :
6629
6266
  $as_echo_n "(cached) " >&6
6630
6267
else
6631
6268
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6639
6276
do
6640
6277
  IFS=$as_save_IFS
6641
6278
  test -z "$as_dir" && as_dir=.
6642
 
  for ac_prog in fgrep; do
 
6279
    for ac_prog in fgrep; do
6643
6280
    for ac_exec_ext in '' $ac_executable_extensions; do
6644
6281
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6645
6282
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6659
6296
    $as_echo 'FGREP' >> "conftest.nl"
6660
6297
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6661
6298
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6662
 
    ac_count=`expr $ac_count + 1`
 
6299
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6663
6300
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6664
6301
      # Best one so far, save it but keep looking for a better one
6665
6302
      ac_cv_path_FGREP="$ac_path_FGREP"
6674
6311
      $ac_path_FGREP_found && break 3
6675
6312
    done
6676
6313
  done
6677
 
done
 
6314
  done
6678
6315
IFS=$as_save_IFS
6679
6316
  if test -z "$ac_cv_path_FGREP"; then
6680
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6681
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6682
 
   { (exit 1); exit 1; }; }
 
6317
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6683
6318
  fi
6684
6319
else
6685
6320
  ac_cv_path_FGREP=$FGREP
6687
6322
 
6688
6323
   fi
6689
6324
fi
6690
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
6325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6691
6326
$as_echo "$ac_cv_path_FGREP" >&6; }
6692
6327
 FGREP="$ac_cv_path_FGREP"
6693
6328
 
6713
6348
 
6714
6349
 
6715
6350
# Check whether --with-gnu-ld was given.
6716
 
if test "${with_gnu_ld+set}" = set; then
 
6351
if test "${with_gnu_ld+set}" = set; then :
6717
6352
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6718
6353
else
6719
6354
  with_gnu_ld=no
6722
6357
ac_prog=ld
6723
6358
if test "$GCC" = yes; then
6724
6359
  # Check if gcc -print-prog-name=ld gives a path.
6725
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
6360
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6726
6361
$as_echo_n "checking for ld used by $CC... " >&6; }
6727
6362
  case $host in
6728
6363
  *-*-mingw*)
6752
6387
    ;;
6753
6388
  esac
6754
6389
elif test "$with_gnu_ld" = yes; then
6755
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
6390
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6756
6391
$as_echo_n "checking for GNU ld... " >&6; }
6757
6392
else
6758
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
6393
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6759
6394
$as_echo_n "checking for non-GNU ld... " >&6; }
6760
6395
fi
6761
 
if test "${lt_cv_path_LD+set}" = set; then
 
6396
if test "${lt_cv_path_LD+set}" = set; then :
6762
6397
  $as_echo_n "(cached) " >&6
6763
6398
else
6764
6399
  if test -z "$LD"; then
6789
6424
 
6790
6425
LD="$lt_cv_path_LD"
6791
6426
if test -n "$LD"; then
6792
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
6427
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6793
6428
$as_echo "$LD" >&6; }
6794
6429
else
6795
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6430
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6796
6431
$as_echo "no" >&6; }
6797
6432
fi
6798
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6799
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6800
 
   { (exit 1); exit 1; }; }
6801
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
6433
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
6434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6802
6435
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6803
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
6436
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6804
6437
  $as_echo_n "(cached) " >&6
6805
6438
else
6806
6439
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6813
6446
  ;;
6814
6447
esac
6815
6448
fi
6816
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
6449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6817
6450
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6818
6451
with_gnu_ld=$lt_cv_prog_gnu_ld
6819
6452
 
6825
6458
 
6826
6459
 
6827
6460
 
6828
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
6461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6829
6462
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6830
 
if test "${lt_cv_path_NM+set}" = set; then
 
6463
if test "${lt_cv_path_NM+set}" = set; then :
6831
6464
  $as_echo_n "(cached) " >&6
6832
6465
else
6833
6466
  if test -n "$NM"; then
6874
6507
  : ${lt_cv_path_NM=no}
6875
6508
fi
6876
6509
fi
6877
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
6510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6878
6511
$as_echo "$lt_cv_path_NM" >&6; }
6879
6512
if test "$lt_cv_path_NM" != "no"; then
6880
6513
  NM="$lt_cv_path_NM"
6885
6518
  do
6886
6519
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6887
6520
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6888
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6521
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6889
6522
$as_echo_n "checking for $ac_word... " >&6; }
6890
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
6523
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6891
6524
  $as_echo_n "(cached) " >&6
6892
6525
else
6893
6526
  if test -n "$DUMPBIN"; then
6898
6531
do
6899
6532
  IFS=$as_save_IFS
6900
6533
  test -z "$as_dir" && as_dir=.
6901
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6534
    for ac_exec_ext in '' $ac_executable_extensions; do
6902
6535
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6903
6536
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6904
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6537
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6905
6538
    break 2
6906
6539
  fi
6907
6540
done
6908
 
done
 
6541
  done
6909
6542
IFS=$as_save_IFS
6910
6543
 
6911
6544
fi
6912
6545
fi
6913
6546
DUMPBIN=$ac_cv_prog_DUMPBIN
6914
6547
if test -n "$DUMPBIN"; then
6915
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
6548
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6916
6549
$as_echo "$DUMPBIN" >&6; }
6917
6550
else
6918
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6551
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6919
6552
$as_echo "no" >&6; }
6920
6553
fi
6921
6554
 
6929
6562
do
6930
6563
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6931
6564
set dummy $ac_prog; ac_word=$2
6932
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6933
6566
$as_echo_n "checking for $ac_word... " >&6; }
6934
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
6567
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6935
6568
  $as_echo_n "(cached) " >&6
6936
6569
else
6937
6570
  if test -n "$ac_ct_DUMPBIN"; then
6942
6575
do
6943
6576
  IFS=$as_save_IFS
6944
6577
  test -z "$as_dir" && as_dir=.
6945
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6578
    for ac_exec_ext in '' $ac_executable_extensions; do
6946
6579
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6947
6580
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6948
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6581
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6949
6582
    break 2
6950
6583
  fi
6951
6584
done
6952
 
done
 
6585
  done
6953
6586
IFS=$as_save_IFS
6954
6587
 
6955
6588
fi
6956
6589
fi
6957
6590
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6958
6591
if test -n "$ac_ct_DUMPBIN"; then
6959
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
6592
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6960
6593
$as_echo "$ac_ct_DUMPBIN" >&6; }
6961
6594
else
6962
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6595
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6963
6596
$as_echo "no" >&6; }
6964
6597
fi
6965
6598
 
6972
6605
  else
6973
6606
    case $cross_compiling:$ac_tool_warned in
6974
6607
yes:)
6975
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6608
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6976
6609
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6977
6610
ac_tool_warned=yes ;;
6978
6611
esac
6992
6625
 
6993
6626
 
6994
6627
 
6995
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
6628
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6996
6629
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6997
 
if test "${lt_cv_nm_interface+set}" = set; then
 
6630
if test "${lt_cv_nm_interface+set}" = set; then :
6998
6631
  $as_echo_n "(cached) " >&6
6999
6632
else
7000
6633
  lt_cv_nm_interface="BSD nm"
7001
6634
  echo "int some_variable = 0;" > conftest.$ac_ext
7002
 
  (eval echo "\"\$as_me:7002: $ac_compile\"" >&5)
 
6635
  (eval echo "\"\$as_me:6635: $ac_compile\"" >&5)
7003
6636
  (eval "$ac_compile" 2>conftest.err)
7004
6637
  cat conftest.err >&5
7005
 
  (eval echo "\"\$as_me:7005: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6638
  (eval echo "\"\$as_me:6638: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7006
6639
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7007
6640
  cat conftest.err >&5
7008
 
  (eval echo "\"\$as_me:7008: output\"" >&5)
 
6641
  (eval echo "\"\$as_me:6641: output\"" >&5)
7009
6642
  cat conftest.out >&5
7010
6643
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7011
6644
    lt_cv_nm_interface="MS dumpbin"
7012
6645
  fi
7013
6646
  rm -f conftest*
7014
6647
fi
7015
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
6648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7016
6649
$as_echo "$lt_cv_nm_interface" >&6; }
7017
6650
 
7018
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
6651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7019
6652
$as_echo_n "checking whether ln -s works... " >&6; }
7020
6653
LN_S=$as_ln_s
7021
6654
if test "$LN_S" = "ln -s"; then
7022
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
6655
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7023
6656
$as_echo "yes" >&6; }
7024
6657
else
7025
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
6658
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7026
6659
$as_echo "no, using $LN_S" >&6; }
7027
6660
fi
7028
6661
 
7029
6662
# find the maximum length of command line arguments
7030
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6663
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7031
6664
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7032
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
6665
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7033
6666
  $as_echo_n "(cached) " >&6
7034
6667
else
7035
6668
    i=0
7147
6780
fi
7148
6781
 
7149
6782
if test -n $lt_cv_sys_max_cmd_len ; then
7150
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6783
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7151
6784
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7152
6785
else
7153
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
6786
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7154
6787
$as_echo "none" >&6; }
7155
6788
fi
7156
6789
max_cmd_len=$lt_cv_sys_max_cmd_len
7164
6797
: ${MV="mv -f"}
7165
6798
: ${RM="rm -f"}
7166
6799
 
7167
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
6800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7168
6801
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7169
6802
# Try some XSI features
7170
6803
xsi_shell=no
7174
6807
    && eval 'test $(( 1 + 1 )) -eq 2 \
7175
6808
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7176
6809
  && xsi_shell=yes
7177
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
6810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7178
6811
$as_echo "$xsi_shell" >&6; }
7179
6812
 
7180
6813
 
7181
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
6814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7182
6815
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7183
6816
lt_shell_append=no
7184
6817
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7185
6818
    >/dev/null 2>&1 \
7186
6819
  && lt_shell_append=yes
7187
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
6820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7188
6821
$as_echo "$lt_shell_append" >&6; }
7189
6822
 
7190
6823
 
7219
6852
 
7220
6853
 
7221
6854
 
7222
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
6855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7223
6856
$as_echo_n "checking for $LD option to reload object files... " >&6; }
7224
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
6857
if test "${lt_cv_ld_reload_flag+set}" = set; then :
7225
6858
  $as_echo_n "(cached) " >&6
7226
6859
else
7227
6860
  lt_cv_ld_reload_flag='-r'
7228
6861
fi
7229
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
6862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7230
6863
$as_echo "$lt_cv_ld_reload_flag" >&6; }
7231
6864
reload_flag=$lt_cv_ld_reload_flag
7232
6865
case $reload_flag in
7255
6888
if test -n "$ac_tool_prefix"; then
7256
6889
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7257
6890
set dummy ${ac_tool_prefix}objdump; ac_word=$2
7258
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7259
6892
$as_echo_n "checking for $ac_word... " >&6; }
7260
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
6893
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7261
6894
  $as_echo_n "(cached) " >&6
7262
6895
else
7263
6896
  if test -n "$OBJDUMP"; then
7268
6901
do
7269
6902
  IFS=$as_save_IFS
7270
6903
  test -z "$as_dir" && as_dir=.
7271
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6904
    for ac_exec_ext in '' $ac_executable_extensions; do
7272
6905
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7273
6906
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7274
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6907
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7275
6908
    break 2
7276
6909
  fi
7277
6910
done
7278
 
done
 
6911
  done
7279
6912
IFS=$as_save_IFS
7280
6913
 
7281
6914
fi
7282
6915
fi
7283
6916
OBJDUMP=$ac_cv_prog_OBJDUMP
7284
6917
if test -n "$OBJDUMP"; then
7285
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
6918
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7286
6919
$as_echo "$OBJDUMP" >&6; }
7287
6920
else
7288
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6921
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7289
6922
$as_echo "no" >&6; }
7290
6923
fi
7291
6924
 
7295
6928
  ac_ct_OBJDUMP=$OBJDUMP
7296
6929
  # Extract the first word of "objdump", so it can be a program name with args.
7297
6930
set dummy objdump; ac_word=$2
7298
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6931
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7299
6932
$as_echo_n "checking for $ac_word... " >&6; }
7300
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
6933
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7301
6934
  $as_echo_n "(cached) " >&6
7302
6935
else
7303
6936
  if test -n "$ac_ct_OBJDUMP"; then
7308
6941
do
7309
6942
  IFS=$as_save_IFS
7310
6943
  test -z "$as_dir" && as_dir=.
7311
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6944
    for ac_exec_ext in '' $ac_executable_extensions; do
7312
6945
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7313
6946
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7314
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6947
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7315
6948
    break 2
7316
6949
  fi
7317
6950
done
7318
 
done
 
6951
  done
7319
6952
IFS=$as_save_IFS
7320
6953
 
7321
6954
fi
7322
6955
fi
7323
6956
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7324
6957
if test -n "$ac_ct_OBJDUMP"; then
7325
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
6958
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7326
6959
$as_echo "$ac_ct_OBJDUMP" >&6; }
7327
6960
else
7328
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6961
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329
6962
$as_echo "no" >&6; }
7330
6963
fi
7331
6964
 
7334
6967
  else
7335
6968
    case $cross_compiling:$ac_tool_warned in
7336
6969
yes:)
7337
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6970
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7338
6971
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7339
6972
ac_tool_warned=yes ;;
7340
6973
esac
7351
6984
 
7352
6985
 
7353
6986
 
7354
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
6987
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7355
6988
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7356
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
6989
if test "${lt_cv_deplibs_check_method+set}" = set; then :
7357
6990
  $as_echo_n "(cached) " >&6
7358
6991
else
7359
6992
  lt_cv_file_magic_cmd='$MAGIC_CMD'
7547
7180
esac
7548
7181
 
7549
7182
fi
7550
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
7183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7551
7184
$as_echo "$lt_cv_deplibs_check_method" >&6; }
7552
7185
file_magic_cmd=$lt_cv_file_magic_cmd
7553
7186
deplibs_check_method=$lt_cv_deplibs_check_method
7567
7200
if test -n "$ac_tool_prefix"; then
7568
7201
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7569
7202
set dummy ${ac_tool_prefix}ar; ac_word=$2
7570
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7571
7204
$as_echo_n "checking for $ac_word... " >&6; }
7572
 
if test "${ac_cv_prog_AR+set}" = set; then
 
7205
if test "${ac_cv_prog_AR+set}" = set; then :
7573
7206
  $as_echo_n "(cached) " >&6
7574
7207
else
7575
7208
  if test -n "$AR"; then
7580
7213
do
7581
7214
  IFS=$as_save_IFS
7582
7215
  test -z "$as_dir" && as_dir=.
7583
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7216
    for ac_exec_ext in '' $ac_executable_extensions; do
7584
7217
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7585
7218
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7586
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7219
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7587
7220
    break 2
7588
7221
  fi
7589
7222
done
7590
 
done
 
7223
  done
7591
7224
IFS=$as_save_IFS
7592
7225
 
7593
7226
fi
7594
7227
fi
7595
7228
AR=$ac_cv_prog_AR
7596
7229
if test -n "$AR"; then
7597
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
7230
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7598
7231
$as_echo "$AR" >&6; }
7599
7232
else
7600
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7233
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7601
7234
$as_echo "no" >&6; }
7602
7235
fi
7603
7236
 
7607
7240
  ac_ct_AR=$AR
7608
7241
  # Extract the first word of "ar", so it can be a program name with args.
7609
7242
set dummy ar; ac_word=$2
7610
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7611
7244
$as_echo_n "checking for $ac_word... " >&6; }
7612
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
7245
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7613
7246
  $as_echo_n "(cached) " >&6
7614
7247
else
7615
7248
  if test -n "$ac_ct_AR"; then
7620
7253
do
7621
7254
  IFS=$as_save_IFS
7622
7255
  test -z "$as_dir" && as_dir=.
7623
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7256
    for ac_exec_ext in '' $ac_executable_extensions; do
7624
7257
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7625
7258
    ac_cv_prog_ac_ct_AR="ar"
7626
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7259
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7627
7260
    break 2
7628
7261
  fi
7629
7262
done
7630
 
done
 
7263
  done
7631
7264
IFS=$as_save_IFS
7632
7265
 
7633
7266
fi
7634
7267
fi
7635
7268
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7636
7269
if test -n "$ac_ct_AR"; then
7637
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
7270
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7638
7271
$as_echo "$ac_ct_AR" >&6; }
7639
7272
else
7640
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7273
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7641
7274
$as_echo "no" >&6; }
7642
7275
fi
7643
7276
 
7646
7279
  else
7647
7280
    case $cross_compiling:$ac_tool_warned in
7648
7281
yes:)
7649
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7282
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7650
7283
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7651
7284
ac_tool_warned=yes ;;
7652
7285
esac
7672
7305
if test -n "$ac_tool_prefix"; then
7673
7306
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7674
7307
set dummy ${ac_tool_prefix}strip; ac_word=$2
7675
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7676
7309
$as_echo_n "checking for $ac_word... " >&6; }
7677
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
7310
if test "${ac_cv_prog_STRIP+set}" = set; then :
7678
7311
  $as_echo_n "(cached) " >&6
7679
7312
else
7680
7313
  if test -n "$STRIP"; then
7685
7318
do
7686
7319
  IFS=$as_save_IFS
7687
7320
  test -z "$as_dir" && as_dir=.
7688
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7321
    for ac_exec_ext in '' $ac_executable_extensions; do
7689
7322
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7690
7323
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7691
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7324
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7692
7325
    break 2
7693
7326
  fi
7694
7327
done
7695
 
done
 
7328
  done
7696
7329
IFS=$as_save_IFS
7697
7330
 
7698
7331
fi
7699
7332
fi
7700
7333
STRIP=$ac_cv_prog_STRIP
7701
7334
if test -n "$STRIP"; then
7702
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
7335
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7703
7336
$as_echo "$STRIP" >&6; }
7704
7337
else
7705
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7338
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7706
7339
$as_echo "no" >&6; }
7707
7340
fi
7708
7341
 
7712
7345
  ac_ct_STRIP=$STRIP
7713
7346
  # Extract the first word of "strip", so it can be a program name with args.
7714
7347
set dummy strip; ac_word=$2
7715
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7348
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7716
7349
$as_echo_n "checking for $ac_word... " >&6; }
7717
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
7350
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7718
7351
  $as_echo_n "(cached) " >&6
7719
7352
else
7720
7353
  if test -n "$ac_ct_STRIP"; then
7725
7358
do
7726
7359
  IFS=$as_save_IFS
7727
7360
  test -z "$as_dir" && as_dir=.
7728
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7361
    for ac_exec_ext in '' $ac_executable_extensions; do
7729
7362
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7730
7363
    ac_cv_prog_ac_ct_STRIP="strip"
7731
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7364
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7732
7365
    break 2
7733
7366
  fi
7734
7367
done
7735
 
done
 
7368
  done
7736
7369
IFS=$as_save_IFS
7737
7370
 
7738
7371
fi
7739
7372
fi
7740
7373
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7741
7374
if test -n "$ac_ct_STRIP"; then
7742
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7375
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7743
7376
$as_echo "$ac_ct_STRIP" >&6; }
7744
7377
else
7745
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7378
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7746
7379
$as_echo "no" >&6; }
7747
7380
fi
7748
7381
 
7751
7384
  else
7752
7385
    case $cross_compiling:$ac_tool_warned in
7753
7386
yes:)
7754
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7387
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7755
7388
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7756
7389
ac_tool_warned=yes ;;
7757
7390
esac
7771
7404
if test -n "$ac_tool_prefix"; then
7772
7405
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7773
7406
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7774
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7775
7408
$as_echo_n "checking for $ac_word... " >&6; }
7776
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
7409
if test "${ac_cv_prog_RANLIB+set}" = set; then :
7777
7410
  $as_echo_n "(cached) " >&6
7778
7411
else
7779
7412
  if test -n "$RANLIB"; then
7784
7417
do
7785
7418
  IFS=$as_save_IFS
7786
7419
  test -z "$as_dir" && as_dir=.
7787
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7420
    for ac_exec_ext in '' $ac_executable_extensions; do
7788
7421
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7789
7422
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7790
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7423
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7791
7424
    break 2
7792
7425
  fi
7793
7426
done
7794
 
done
 
7427
  done
7795
7428
IFS=$as_save_IFS
7796
7429
 
7797
7430
fi
7798
7431
fi
7799
7432
RANLIB=$ac_cv_prog_RANLIB
7800
7433
if test -n "$RANLIB"; then
7801
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7434
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7802
7435
$as_echo "$RANLIB" >&6; }
7803
7436
else
7804
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7437
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7805
7438
$as_echo "no" >&6; }
7806
7439
fi
7807
7440
 
7811
7444
  ac_ct_RANLIB=$RANLIB
7812
7445
  # Extract the first word of "ranlib", so it can be a program name with args.
7813
7446
set dummy ranlib; ac_word=$2
7814
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7815
7448
$as_echo_n "checking for $ac_word... " >&6; }
7816
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
7449
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7817
7450
  $as_echo_n "(cached) " >&6
7818
7451
else
7819
7452
  if test -n "$ac_ct_RANLIB"; then
7824
7457
do
7825
7458
  IFS=$as_save_IFS
7826
7459
  test -z "$as_dir" && as_dir=.
7827
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7460
    for ac_exec_ext in '' $ac_executable_extensions; do
7828
7461
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7829
7462
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7830
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7463
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7831
7464
    break 2
7832
7465
  fi
7833
7466
done
7834
 
done
 
7467
  done
7835
7468
IFS=$as_save_IFS
7836
7469
 
7837
7470
fi
7838
7471
fi
7839
7472
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7840
7473
if test -n "$ac_ct_RANLIB"; then
7841
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7474
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7842
7475
$as_echo "$ac_ct_RANLIB" >&6; }
7843
7476
else
7844
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7477
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7845
7478
$as_echo "no" >&6; }
7846
7479
fi
7847
7480
 
7850
7483
  else
7851
7484
    case $cross_compiling:$ac_tool_warned in
7852
7485
yes:)
7853
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7486
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7854
7487
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7855
7488
ac_tool_warned=yes ;;
7856
7489
esac
7928
7561
 
7929
7562
 
7930
7563
# Check for command to grab the raw symbol name followed by C symbol from nm.
7931
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
7564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7932
7565
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7933
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
7566
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7934
7567
  $as_echo_n "(cached) " >&6
7935
7568
else
7936
7569
 
8046
7679
int main(){nm_test_var='a';nm_test_func();return(0);}
8047
7680
_LT_EOF
8048
7681
 
8049
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7682
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8050
7683
  (eval $ac_compile) 2>&5
8051
7684
  ac_status=$?
8052
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8053
 
  (exit $ac_status); }; then
 
7685
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7686
  test $ac_status = 0; }; then
8054
7687
    # Now try to grab the symbols.
8055
7688
    nlist=conftest.nm
8056
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
7689
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
8057
7690
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8058
7691
  ac_status=$?
8059
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060
 
  (exit $ac_status); } && test -s "$nlist"; then
 
7692
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7693
  test $ac_status = 0; } && test -s "$nlist"; then
8061
7694
      # Try sorting and uniquifying the output.
8062
7695
      if sort "$nlist" | uniq > "$nlist"T; then
8063
7696
        mv -f "$nlist"T "$nlist"
8110
7743
          lt_save_CFLAGS="$CFLAGS"
8111
7744
          LIBS="conftstm.$ac_objext"
8112
7745
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8113
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7746
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8114
7747
  (eval $ac_link) 2>&5
8115
7748
  ac_status=$?
8116
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8117
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
7749
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7750
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8118
7751
            pipe_works=yes
8119
7752
          fi
8120
7753
          LIBS="$lt_save_LIBS"
8148
7781
  lt_cv_sys_global_symbol_to_cdecl=
8149
7782
fi
8150
7783
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8151
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
7784
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8152
7785
$as_echo "failed" >&6; }
8153
7786
else
8154
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
7787
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8155
7788
$as_echo "ok" >&6; }
8156
7789
fi
8157
7790
 
8177
7810
 
8178
7811
 
8179
7812
# Check whether --enable-libtool-lock was given.
8180
 
if test "${enable_libtool_lock+set}" = set; then
 
7813
if test "${enable_libtool_lock+set}" = set; then :
8181
7814
  enableval=$enable_libtool_lock;
8182
7815
fi
8183
7816
 
8189
7822
ia64-*-hpux*)
8190
7823
  # Find out which ABI we are using.
8191
7824
  echo 'int i;' > conftest.$ac_ext
8192
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7825
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8193
7826
  (eval $ac_compile) 2>&5
8194
7827
  ac_status=$?
8195
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196
 
  (exit $ac_status); }; then
 
7828
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7829
  test $ac_status = 0; }; then
8197
7830
    case `/usr/bin/file conftest.$ac_objext` in
8198
7831
      *ELF-32*)
8199
7832
        HPUX_IA64_MODE="32"
8207
7840
  ;;
8208
7841
*-*-irix6*)
8209
7842
  # Find out which ABI we are using.
8210
 
  echo '#line 8210 "configure"' > conftest.$ac_ext
8211
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7843
  echo '#line 7843 "configure"' > conftest.$ac_ext
 
7844
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8212
7845
  (eval $ac_compile) 2>&5
8213
7846
  ac_status=$?
8214
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215
 
  (exit $ac_status); }; then
 
7847
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7848
  test $ac_status = 0; }; then
8216
7849
    if test "$lt_cv_prog_gnu_ld" = yes; then
8217
7850
      case `/usr/bin/file conftest.$ac_objext` in
8218
7851
        *32-bit*)
8246
7879
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8247
7880
  # Find out which ABI we are using.
8248
7881
  echo 'int i;' > conftest.$ac_ext
8249
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7882
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8250
7883
  (eval $ac_compile) 2>&5
8251
7884
  ac_status=$?
8252
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253
 
  (exit $ac_status); }; then
 
7885
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7886
  test $ac_status = 0; }; then
8254
7887
    case `/usr/bin/file conftest.o` in
8255
7888
      *32-bit*)
8256
7889
        case $host in
8299
7932
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8300
7933
  SAVE_CFLAGS="$CFLAGS"
8301
7934
  CFLAGS="$CFLAGS -belf"
8302
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
7935
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8303
7936
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8304
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
7937
if test "${lt_cv_cc_needs_belf+set}" = set; then :
8305
7938
  $as_echo_n "(cached) " >&6
8306
7939
else
8307
7940
  ac_ext=c
8310
7943
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8311
7944
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8312
7945
 
8313
 
     cat >conftest.$ac_ext <<_ACEOF
8314
 
/* confdefs.h.  */
8315
 
_ACEOF
8316
 
cat confdefs.h >>conftest.$ac_ext
8317
 
cat >>conftest.$ac_ext <<_ACEOF
 
7946
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8318
7947
/* end confdefs.h.  */
8319
7948
 
8320
7949
int
8325
7954
  return 0;
8326
7955
}
8327
7956
_ACEOF
8328
 
rm -f conftest.$ac_objext conftest$ac_exeext
8329
 
if { (ac_try="$ac_link"
8330
 
case "(($ac_try" in
8331
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8332
 
  *) ac_try_echo=$ac_try;;
8333
 
esac
8334
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8335
 
$as_echo "$ac_try_echo") >&5
8336
 
  (eval "$ac_link") 2>conftest.er1
8337
 
  ac_status=$?
8338
 
  grep -v '^ *+' conftest.er1 >conftest.err
8339
 
  rm -f conftest.er1
8340
 
  cat conftest.err >&5
8341
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342
 
  (exit $ac_status); } && {
8343
 
         test -z "$ac_c_werror_flag" ||
8344
 
         test ! -s conftest.err
8345
 
       } && test -s conftest$ac_exeext && {
8346
 
         test "$cross_compiling" = yes ||
8347
 
         $as_test_x conftest$ac_exeext
8348
 
       }; then
 
7957
if ac_fn_c_try_link "$LINENO"; then :
8349
7958
  lt_cv_cc_needs_belf=yes
8350
7959
else
8351
 
  $as_echo "$as_me: failed program was:" >&5
8352
 
sed 's/^/| /' conftest.$ac_ext >&5
8353
 
 
8354
 
        lt_cv_cc_needs_belf=no
 
7960
  lt_cv_cc_needs_belf=no
8355
7961
fi
8356
 
 
8357
 
rm -rf conftest.dSYM
8358
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8359
 
      conftest$ac_exeext conftest.$ac_ext
 
7962
rm -f core conftest.err conftest.$ac_objext \
 
7963
    conftest$ac_exeext conftest.$ac_ext
8360
7964
     ac_ext=c
8361
7965
ac_cpp='$CPP $CPPFLAGS'
8362
7966
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8364
7968
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8365
7969
 
8366
7970
fi
8367
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
7971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8368
7972
$as_echo "$lt_cv_cc_needs_belf" >&6; }
8369
7973
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8370
7974
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8374
7978
sparc*-*solaris*)
8375
7979
  # Find out which ABI we are using.
8376
7980
  echo 'int i;' > conftest.$ac_ext
8377
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7981
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8378
7982
  (eval $ac_compile) 2>&5
8379
7983
  ac_status=$?
8380
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381
 
  (exit $ac_status); }; then
 
7984
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7985
  test $ac_status = 0; }; then
8382
7986
    case `/usr/bin/file conftest.o` in
8383
7987
    *64-bit*)
8384
7988
      case $lt_cv_prog_gnu_ld in
8404
8008
    if test -n "$ac_tool_prefix"; then
8405
8009
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8406
8010
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8407
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8408
8012
$as_echo_n "checking for $ac_word... " >&6; }
8409
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
8013
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8410
8014
  $as_echo_n "(cached) " >&6
8411
8015
else
8412
8016
  if test -n "$DSYMUTIL"; then
8417
8021
do
8418
8022
  IFS=$as_save_IFS
8419
8023
  test -z "$as_dir" && as_dir=.
8420
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8024
    for ac_exec_ext in '' $ac_executable_extensions; do
8421
8025
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8422
8026
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8423
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8027
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8424
8028
    break 2
8425
8029
  fi
8426
8030
done
8427
 
done
 
8031
  done
8428
8032
IFS=$as_save_IFS
8429
8033
 
8430
8034
fi
8431
8035
fi
8432
8036
DSYMUTIL=$ac_cv_prog_DSYMUTIL
8433
8037
if test -n "$DSYMUTIL"; then
8434
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
8038
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8435
8039
$as_echo "$DSYMUTIL" >&6; }
8436
8040
else
8437
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8041
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8438
8042
$as_echo "no" >&6; }
8439
8043
fi
8440
8044
 
8444
8048
  ac_ct_DSYMUTIL=$DSYMUTIL
8445
8049
  # Extract the first word of "dsymutil", so it can be a program name with args.
8446
8050
set dummy dsymutil; ac_word=$2
8447
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8448
8052
$as_echo_n "checking for $ac_word... " >&6; }
8449
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
8053
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8450
8054
  $as_echo_n "(cached) " >&6
8451
8055
else
8452
8056
  if test -n "$ac_ct_DSYMUTIL"; then
8457
8061
do
8458
8062
  IFS=$as_save_IFS
8459
8063
  test -z "$as_dir" && as_dir=.
8460
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8064
    for ac_exec_ext in '' $ac_executable_extensions; do
8461
8065
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8462
8066
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8463
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8067
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8464
8068
    break 2
8465
8069
  fi
8466
8070
done
8467
 
done
 
8071
  done
8468
8072
IFS=$as_save_IFS
8469
8073
 
8470
8074
fi
8471
8075
fi
8472
8076
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8473
8077
if test -n "$ac_ct_DSYMUTIL"; then
8474
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
8078
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8475
8079
$as_echo "$ac_ct_DSYMUTIL" >&6; }
8476
8080
else
8477
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8081
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8478
8082
$as_echo "no" >&6; }
8479
8083
fi
8480
8084
 
8483
8087
  else
8484
8088
    case $cross_compiling:$ac_tool_warned in
8485
8089
yes:)
8486
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8090
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8487
8091
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8488
8092
ac_tool_warned=yes ;;
8489
8093
esac
8496
8100
    if test -n "$ac_tool_prefix"; then
8497
8101
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8498
8102
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8499
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8500
8104
$as_echo_n "checking for $ac_word... " >&6; }
8501
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
8105
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8502
8106
  $as_echo_n "(cached) " >&6
8503
8107
else
8504
8108
  if test -n "$NMEDIT"; then
8509
8113
do
8510
8114
  IFS=$as_save_IFS
8511
8115
  test -z "$as_dir" && as_dir=.
8512
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8116
    for ac_exec_ext in '' $ac_executable_extensions; do
8513
8117
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8514
8118
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8515
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8119
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8516
8120
    break 2
8517
8121
  fi
8518
8122
done
8519
 
done
 
8123
  done
8520
8124
IFS=$as_save_IFS
8521
8125
 
8522
8126
fi
8523
8127
fi
8524
8128
NMEDIT=$ac_cv_prog_NMEDIT
8525
8129
if test -n "$NMEDIT"; then
8526
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
8130
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8527
8131
$as_echo "$NMEDIT" >&6; }
8528
8132
else
8529
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8133
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8530
8134
$as_echo "no" >&6; }
8531
8135
fi
8532
8136
 
8536
8140
  ac_ct_NMEDIT=$NMEDIT
8537
8141
  # Extract the first word of "nmedit", so it can be a program name with args.
8538
8142
set dummy nmedit; ac_word=$2
8539
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8540
8144
$as_echo_n "checking for $ac_word... " >&6; }
8541
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
8145
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8542
8146
  $as_echo_n "(cached) " >&6
8543
8147
else
8544
8148
  if test -n "$ac_ct_NMEDIT"; then
8549
8153
do
8550
8154
  IFS=$as_save_IFS
8551
8155
  test -z "$as_dir" && as_dir=.
8552
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8156
    for ac_exec_ext in '' $ac_executable_extensions; do
8553
8157
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8554
8158
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8555
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8159
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8556
8160
    break 2
8557
8161
  fi
8558
8162
done
8559
 
done
 
8163
  done
8560
8164
IFS=$as_save_IFS
8561
8165
 
8562
8166
fi
8563
8167
fi
8564
8168
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8565
8169
if test -n "$ac_ct_NMEDIT"; then
8566
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
8170
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8567
8171
$as_echo "$ac_ct_NMEDIT" >&6; }
8568
8172
else
8569
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8173
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8570
8174
$as_echo "no" >&6; }
8571
8175
fi
8572
8176
 
8575
8179
  else
8576
8180
    case $cross_compiling:$ac_tool_warned in
8577
8181
yes:)
8578
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8182
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8579
8183
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8580
8184
ac_tool_warned=yes ;;
8581
8185
esac
8588
8192
    if test -n "$ac_tool_prefix"; then
8589
8193
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8590
8194
set dummy ${ac_tool_prefix}lipo; ac_word=$2
8591
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8592
8196
$as_echo_n "checking for $ac_word... " >&6; }
8593
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
8197
if test "${ac_cv_prog_LIPO+set}" = set; then :
8594
8198
  $as_echo_n "(cached) " >&6
8595
8199
else
8596
8200
  if test -n "$LIPO"; then
8601
8205
do
8602
8206
  IFS=$as_save_IFS
8603
8207
  test -z "$as_dir" && as_dir=.
8604
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8208
    for ac_exec_ext in '' $ac_executable_extensions; do
8605
8209
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8606
8210
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8607
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8211
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8608
8212
    break 2
8609
8213
  fi
8610
8214
done
8611
 
done
 
8215
  done
8612
8216
IFS=$as_save_IFS
8613
8217
 
8614
8218
fi
8615
8219
fi
8616
8220
LIPO=$ac_cv_prog_LIPO
8617
8221
if test -n "$LIPO"; then
8618
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
8222
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8619
8223
$as_echo "$LIPO" >&6; }
8620
8224
else
8621
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8225
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8622
8226
$as_echo "no" >&6; }
8623
8227
fi
8624
8228
 
8628
8232
  ac_ct_LIPO=$LIPO
8629
8233
  # Extract the first word of "lipo", so it can be a program name with args.
8630
8234
set dummy lipo; ac_word=$2
8631
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8632
8236
$as_echo_n "checking for $ac_word... " >&6; }
8633
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
8237
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8634
8238
  $as_echo_n "(cached) " >&6
8635
8239
else
8636
8240
  if test -n "$ac_ct_LIPO"; then
8641
8245
do
8642
8246
  IFS=$as_save_IFS
8643
8247
  test -z "$as_dir" && as_dir=.
8644
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8248
    for ac_exec_ext in '' $ac_executable_extensions; do
8645
8249
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8646
8250
    ac_cv_prog_ac_ct_LIPO="lipo"
8647
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8251
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8648
8252
    break 2
8649
8253
  fi
8650
8254
done
8651
 
done
 
8255
  done
8652
8256
IFS=$as_save_IFS
8653
8257
 
8654
8258
fi
8655
8259
fi
8656
8260
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8657
8261
if test -n "$ac_ct_LIPO"; then
8658
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
8262
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8659
8263
$as_echo "$ac_ct_LIPO" >&6; }
8660
8264
else
8661
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8265
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8662
8266
$as_echo "no" >&6; }
8663
8267
fi
8664
8268
 
8667
8271
  else
8668
8272
    case $cross_compiling:$ac_tool_warned in
8669
8273
yes:)
8670
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8274
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8671
8275
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8672
8276
ac_tool_warned=yes ;;
8673
8277
esac
8680
8284
    if test -n "$ac_tool_prefix"; then
8681
8285
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8682
8286
set dummy ${ac_tool_prefix}otool; ac_word=$2
8683
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8684
8288
$as_echo_n "checking for $ac_word... " >&6; }
8685
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
8289
if test "${ac_cv_prog_OTOOL+set}" = set; then :
8686
8290
  $as_echo_n "(cached) " >&6
8687
8291
else
8688
8292
  if test -n "$OTOOL"; then
8693
8297
do
8694
8298
  IFS=$as_save_IFS
8695
8299
  test -z "$as_dir" && as_dir=.
8696
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8300
    for ac_exec_ext in '' $ac_executable_extensions; do
8697
8301
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8698
8302
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8699
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8303
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8700
8304
    break 2
8701
8305
  fi
8702
8306
done
8703
 
done
 
8307
  done
8704
8308
IFS=$as_save_IFS
8705
8309
 
8706
8310
fi
8707
8311
fi
8708
8312
OTOOL=$ac_cv_prog_OTOOL
8709
8313
if test -n "$OTOOL"; then
8710
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
8314
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8711
8315
$as_echo "$OTOOL" >&6; }
8712
8316
else
8713
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8317
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8714
8318
$as_echo "no" >&6; }
8715
8319
fi
8716
8320
 
8720
8324
  ac_ct_OTOOL=$OTOOL
8721
8325
  # Extract the first word of "otool", so it can be a program name with args.
8722
8326
set dummy otool; ac_word=$2
8723
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8724
8328
$as_echo_n "checking for $ac_word... " >&6; }
8725
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
8329
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8726
8330
  $as_echo_n "(cached) " >&6
8727
8331
else
8728
8332
  if test -n "$ac_ct_OTOOL"; then
8733
8337
do
8734
8338
  IFS=$as_save_IFS
8735
8339
  test -z "$as_dir" && as_dir=.
8736
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8340
    for ac_exec_ext in '' $ac_executable_extensions; do
8737
8341
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8738
8342
    ac_cv_prog_ac_ct_OTOOL="otool"
8739
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8343
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8740
8344
    break 2
8741
8345
  fi
8742
8346
done
8743
 
done
 
8347
  done
8744
8348
IFS=$as_save_IFS
8745
8349
 
8746
8350
fi
8747
8351
fi
8748
8352
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8749
8353
if test -n "$ac_ct_OTOOL"; then
8750
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
8354
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8751
8355
$as_echo "$ac_ct_OTOOL" >&6; }
8752
8356
else
8753
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8357
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8754
8358
$as_echo "no" >&6; }
8755
8359
fi
8756
8360
 
8759
8363
  else
8760
8364
    case $cross_compiling:$ac_tool_warned in
8761
8365
yes:)
8762
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8366
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8763
8367
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8764
8368
ac_tool_warned=yes ;;
8765
8369
esac
8772
8376
    if test -n "$ac_tool_prefix"; then
8773
8377
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8774
8378
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8775
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8776
8380
$as_echo_n "checking for $ac_word... " >&6; }
8777
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
8381
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8778
8382
  $as_echo_n "(cached) " >&6
8779
8383
else
8780
8384
  if test -n "$OTOOL64"; then
8785
8389
do
8786
8390
  IFS=$as_save_IFS
8787
8391
  test -z "$as_dir" && as_dir=.
8788
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8392
    for ac_exec_ext in '' $ac_executable_extensions; do
8789
8393
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8790
8394
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8791
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8395
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8792
8396
    break 2
8793
8397
  fi
8794
8398
done
8795
 
done
 
8399
  done
8796
8400
IFS=$as_save_IFS
8797
8401
 
8798
8402
fi
8799
8403
fi
8800
8404
OTOOL64=$ac_cv_prog_OTOOL64
8801
8405
if test -n "$OTOOL64"; then
8802
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
8406
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8803
8407
$as_echo "$OTOOL64" >&6; }
8804
8408
else
8805
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8409
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8806
8410
$as_echo "no" >&6; }
8807
8411
fi
8808
8412
 
8812
8416
  ac_ct_OTOOL64=$OTOOL64
8813
8417
  # Extract the first word of "otool64", so it can be a program name with args.
8814
8418
set dummy otool64; ac_word=$2
8815
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8419
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8816
8420
$as_echo_n "checking for $ac_word... " >&6; }
8817
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
8421
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8818
8422
  $as_echo_n "(cached) " >&6
8819
8423
else
8820
8424
  if test -n "$ac_ct_OTOOL64"; then
8825
8429
do
8826
8430
  IFS=$as_save_IFS
8827
8431
  test -z "$as_dir" && as_dir=.
8828
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8432
    for ac_exec_ext in '' $ac_executable_extensions; do
8829
8433
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8830
8434
    ac_cv_prog_ac_ct_OTOOL64="otool64"
8831
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8435
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8832
8436
    break 2
8833
8437
  fi
8834
8438
done
8835
 
done
 
8439
  done
8836
8440
IFS=$as_save_IFS
8837
8441
 
8838
8442
fi
8839
8443
fi
8840
8444
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8841
8445
if test -n "$ac_ct_OTOOL64"; then
8842
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
8446
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8843
8447
$as_echo "$ac_ct_OTOOL64" >&6; }
8844
8448
else
8845
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8449
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8846
8450
$as_echo "no" >&6; }
8847
8451
fi
8848
8452
 
8851
8455
  else
8852
8456
    case $cross_compiling:$ac_tool_warned in
8853
8457
yes:)
8854
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8458
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8855
8459
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8856
8460
ac_tool_warned=yes ;;
8857
8461
esac
8887
8491
 
8888
8492
 
8889
8493
 
8890
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
8494
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8891
8495
$as_echo_n "checking for -single_module linker flag... " >&6; }
8892
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
8496
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8893
8497
  $as_echo_n "(cached) " >&6
8894
8498
else
8895
8499
  lt_cv_apple_cc_single_mod=no
8914
8518
        rm -f conftest.*
8915
8519
      fi
8916
8520
fi
8917
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
8521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8918
8522
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8919
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
8523
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8920
8524
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8921
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
8525
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8922
8526
  $as_echo_n "(cached) " >&6
8923
8527
else
8924
8528
  lt_cv_ld_exported_symbols_list=no
8925
8529
      save_LDFLAGS=$LDFLAGS
8926
8530
      echo "_main" > conftest.sym
8927
8531
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8928
 
      cat >conftest.$ac_ext <<_ACEOF
8929
 
/* confdefs.h.  */
8930
 
_ACEOF
8931
 
cat confdefs.h >>conftest.$ac_ext
8932
 
cat >>conftest.$ac_ext <<_ACEOF
 
8532
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8933
8533
/* end confdefs.h.  */
8934
8534
 
8935
8535
int
8940
8540
  return 0;
8941
8541
}
8942
8542
_ACEOF
8943
 
rm -f conftest.$ac_objext conftest$ac_exeext
8944
 
if { (ac_try="$ac_link"
8945
 
case "(($ac_try" in
8946
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8947
 
  *) ac_try_echo=$ac_try;;
8948
 
esac
8949
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8950
 
$as_echo "$ac_try_echo") >&5
8951
 
  (eval "$ac_link") 2>conftest.er1
8952
 
  ac_status=$?
8953
 
  grep -v '^ *+' conftest.er1 >conftest.err
8954
 
  rm -f conftest.er1
8955
 
  cat conftest.err >&5
8956
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8957
 
  (exit $ac_status); } && {
8958
 
         test -z "$ac_c_werror_flag" ||
8959
 
         test ! -s conftest.err
8960
 
       } && test -s conftest$ac_exeext && {
8961
 
         test "$cross_compiling" = yes ||
8962
 
         $as_test_x conftest$ac_exeext
8963
 
       }; then
 
8543
if ac_fn_c_try_link "$LINENO"; then :
8964
8544
  lt_cv_ld_exported_symbols_list=yes
8965
8545
else
8966
 
  $as_echo "$as_me: failed program was:" >&5
8967
 
sed 's/^/| /' conftest.$ac_ext >&5
8968
 
 
8969
 
        lt_cv_ld_exported_symbols_list=no
 
8546
  lt_cv_ld_exported_symbols_list=no
8970
8547
fi
8971
 
 
8972
 
rm -rf conftest.dSYM
8973
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8974
 
      conftest$ac_exeext conftest.$ac_ext
 
8548
rm -f core conftest.err conftest.$ac_objext \
 
8549
    conftest$ac_exeext conftest.$ac_ext
8975
8550
        LDFLAGS="$save_LDFLAGS"
8976
8551
 
8977
8552
fi
8978
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
8553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8979
8554
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8980
8555
    case $host_os in
8981
8556
    rhapsody* | darwin1.[012])
9013
8588
  esac
9014
8589
 
9015
8590
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
9016
 
 
9017
 
 
9018
 
 
9019
 
 
9020
 
 
9021
 
 
9022
 
 
9023
 
 
9024
 
 
9025
8591
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9026
8592
                  inttypes.h stdint.h unistd.h
9027
 
do
9028
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9029
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9030
 
$as_echo_n "checking for $ac_header... " >&6; }
9031
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9032
 
  $as_echo_n "(cached) " >&6
9033
 
else
9034
 
  cat >conftest.$ac_ext <<_ACEOF
9035
 
/* confdefs.h.  */
9036
 
_ACEOF
9037
 
cat confdefs.h >>conftest.$ac_ext
9038
 
cat >>conftest.$ac_ext <<_ACEOF
9039
 
/* end confdefs.h.  */
9040
 
$ac_includes_default
9041
 
 
9042
 
#include <$ac_header>
9043
 
_ACEOF
9044
 
rm -f conftest.$ac_objext
9045
 
if { (ac_try="$ac_compile"
9046
 
case "(($ac_try" in
9047
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9048
 
  *) ac_try_echo=$ac_try;;
9049
 
esac
9050
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9051
 
$as_echo "$ac_try_echo") >&5
9052
 
  (eval "$ac_compile") 2>conftest.er1
9053
 
  ac_status=$?
9054
 
  grep -v '^ *+' conftest.er1 >conftest.err
9055
 
  rm -f conftest.er1
9056
 
  cat conftest.err >&5
9057
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9058
 
  (exit $ac_status); } && {
9059
 
         test -z "$ac_c_werror_flag" ||
9060
 
         test ! -s conftest.err
9061
 
       } && test -s conftest.$ac_objext; then
9062
 
  eval "$as_ac_Header=yes"
9063
 
else
9064
 
  $as_echo "$as_me: failed program was:" >&5
9065
 
sed 's/^/| /' conftest.$ac_ext >&5
9066
 
 
9067
 
        eval "$as_ac_Header=no"
9068
 
fi
9069
 
 
9070
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9071
 
fi
9072
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
9073
 
                 $as_echo "$as_val"'`
9074
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9075
 
$as_echo "$ac_res" >&6; }
9076
 
as_val=`eval 'as_val=${'$as_ac_Header'}
9077
 
                 $as_echo "$as_val"'`
9078
 
   if test "x$as_val" = x""yes; then
 
8593
do :
 
8594
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
8595
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
8596
"
 
8597
eval as_val=\$$as_ac_Header
 
8598
   if test "x$as_val" = x""yes; then :
9079
8599
  cat >>confdefs.h <<_ACEOF
9080
8600
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9081
8601
_ACEOF
9085
8605
done
9086
8606
 
9087
8607
 
9088
 
 
9089
8608
for ac_header in dlfcn.h
9090
 
do
9091
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9092
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9093
 
$as_echo_n "checking for $ac_header... " >&6; }
9094
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9095
 
  $as_echo_n "(cached) " >&6
9096
 
else
9097
 
  cat >conftest.$ac_ext <<_ACEOF
9098
 
/* confdefs.h.  */
9099
 
_ACEOF
9100
 
cat confdefs.h >>conftest.$ac_ext
9101
 
cat >>conftest.$ac_ext <<_ACEOF
9102
 
/* end confdefs.h.  */
9103
 
$ac_includes_default
9104
 
 
9105
 
#include <$ac_header>
9106
 
_ACEOF
9107
 
rm -f conftest.$ac_objext
9108
 
if { (ac_try="$ac_compile"
9109
 
case "(($ac_try" in
9110
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9111
 
  *) ac_try_echo=$ac_try;;
9112
 
esac
9113
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9114
 
$as_echo "$ac_try_echo") >&5
9115
 
  (eval "$ac_compile") 2>conftest.er1
9116
 
  ac_status=$?
9117
 
  grep -v '^ *+' conftest.er1 >conftest.err
9118
 
  rm -f conftest.er1
9119
 
  cat conftest.err >&5
9120
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121
 
  (exit $ac_status); } && {
9122
 
         test -z "$ac_c_werror_flag" ||
9123
 
         test ! -s conftest.err
9124
 
       } && test -s conftest.$ac_objext; then
9125
 
  eval "$as_ac_Header=yes"
9126
 
else
9127
 
  $as_echo "$as_me: failed program was:" >&5
9128
 
sed 's/^/| /' conftest.$ac_ext >&5
9129
 
 
9130
 
        eval "$as_ac_Header=no"
9131
 
fi
9132
 
 
9133
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9134
 
fi
9135
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
9136
 
                 $as_echo "$as_val"'`
9137
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9138
 
$as_echo "$ac_res" >&6; }
9139
 
as_val=`eval 'as_val=${'$as_ac_Header'}
9140
 
                 $as_echo "$as_val"'`
9141
 
   if test "x$as_val" = x""yes; then
 
8609
do :
 
8610
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
8611
"
 
8612
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
9142
8613
  cat >>confdefs.h <<_ACEOF
9143
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8614
#define HAVE_DLFCN_H 1
9144
8615
_ACEOF
9145
8616
 
9146
8617
fi
9158
8629
 
9159
8630
 
9160
8631
            # Check whether --enable-shared was given.
9161
 
if test "${enable_shared+set}" = set; then
 
8632
if test "${enable_shared+set}" = set; then :
9162
8633
  enableval=$enable_shared; p=${PACKAGE-default}
9163
8634
    case $enableval in
9164
8635
    yes) enable_shared=yes ;;
9189
8660
 
9190
8661
 
9191
8662
  # Check whether --enable-static was given.
9192
 
if test "${enable_static+set}" = set; then
 
8663
if test "${enable_static+set}" = set; then :
9193
8664
  enableval=$enable_static; p=${PACKAGE-default}
9194
8665
    case $enableval in
9195
8666
    yes) enable_static=yes ;;
9221
8692
 
9222
8693
 
9223
8694
# Check whether --with-pic was given.
9224
 
if test "${with_pic+set}" = set; then
 
8695
if test "${with_pic+set}" = set; then :
9225
8696
  withval=$with_pic; pic_mode="$withval"
9226
8697
else
9227
8698
  pic_mode=default
9237
8708
 
9238
8709
 
9239
8710
  # Check whether --enable-fast-install was given.
9240
 
if test "${enable_fast_install+set}" = set; then
 
8711
if test "${enable_fast_install+set}" = set; then :
9241
8712
  enableval=$enable_fast_install; p=${PACKAGE-default}
9242
8713
    case $enableval in
9243
8714
    yes) enable_fast_install=yes ;;
9318
8789
   setopt NO_GLOB_SUBST
9319
8790
fi
9320
8791
 
9321
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9322
8793
$as_echo_n "checking for objdir... " >&6; }
9323
 
if test "${lt_cv_objdir+set}" = set; then
 
8794
if test "${lt_cv_objdir+set}" = set; then :
9324
8795
  $as_echo_n "(cached) " >&6
9325
8796
else
9326
8797
  rm -f .libs 2>/dev/null
9333
8804
fi
9334
8805
rmdir .libs 2>/dev/null
9335
8806
fi
9336
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9337
8808
$as_echo "$lt_cv_objdir" >&6; }
9338
8809
objdir=$lt_cv_objdir
9339
8810
 
9426
8897
case $deplibs_check_method in
9427
8898
file_magic*)
9428
8899
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9429
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8900
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9430
8901
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9431
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8902
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9432
8903
  $as_echo_n "(cached) " >&6
9433
8904
else
9434
8905
  case $MAGIC_CMD in
9479
8950
 
9480
8951
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9481
8952
if test -n "$MAGIC_CMD"; then
9482
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8953
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9483
8954
$as_echo "$MAGIC_CMD" >&6; }
9484
8955
else
9485
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8956
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9486
8957
$as_echo "no" >&6; }
9487
8958
fi
9488
8959
 
9492
8963
 
9493
8964
if test -z "$lt_cv_path_MAGIC_CMD"; then
9494
8965
  if test -n "$ac_tool_prefix"; then
9495
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8966
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9496
8967
$as_echo_n "checking for file... " >&6; }
9497
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8968
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9498
8969
  $as_echo_n "(cached) " >&6
9499
8970
else
9500
8971
  case $MAGIC_CMD in
9545
9016
 
9546
9017
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9547
9018
if test -n "$MAGIC_CMD"; then
9548
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
9019
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9549
9020
$as_echo "$MAGIC_CMD" >&6; }
9550
9021
else
9551
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9022
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9552
9023
$as_echo "no" >&6; }
9553
9024
fi
9554
9025
 
9629
9100
if test "$GCC" = yes; then
9630
9101
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9631
9102
 
9632
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
9103
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9633
9104
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9634
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
9105
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9635
9106
  $as_echo_n "(cached) " >&6
9636
9107
else
9637
9108
  lt_cv_prog_compiler_rtti_exceptions=no
9647
9118
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9648
9119
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9649
9120
   -e 's:$: $lt_compiler_flag:'`
9650
 
   (eval echo "\"\$as_me:9650: $lt_compile\"" >&5)
 
9121
   (eval echo "\"\$as_me:9121: $lt_compile\"" >&5)
9651
9122
   (eval "$lt_compile" 2>conftest.err)
9652
9123
   ac_status=$?
9653
9124
   cat conftest.err >&5
9654
 
   echo "$as_me:9654: \$? = $ac_status" >&5
 
9125
   echo "$as_me:9125: \$? = $ac_status" >&5
9655
9126
   if (exit $ac_status) && test -s "$ac_outfile"; then
9656
9127
     # The compiler can only warn and ignore the option if not recognized
9657
9128
     # So say no if there are warnings other than the usual output.
9664
9135
   $RM conftest*
9665
9136
 
9666
9137
fi
9667
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
9138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9668
9139
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9669
9140
 
9670
9141
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9684
9155
lt_prog_compiler_pic=
9685
9156
lt_prog_compiler_static=
9686
9157
 
9687
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
9158
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9688
9159
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9689
9160
 
9690
9161
  if test "$GCC" = yes; then
9956
9427
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9957
9428
    ;;
9958
9429
esac
9959
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
9430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9960
9431
$as_echo "$lt_prog_compiler_pic" >&6; }
9961
9432
 
9962
9433
 
9968
9439
# Check to make sure the PIC flag actually works.
9969
9440
#
9970
9441
if test -n "$lt_prog_compiler_pic"; then
9971
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9442
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9972
9443
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9973
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
9444
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9974
9445
  $as_echo_n "(cached) " >&6
9975
9446
else
9976
9447
  lt_cv_prog_compiler_pic_works=no
9986
9457
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9987
9458
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9988
9459
   -e 's:$: $lt_compiler_flag:'`
9989
 
   (eval echo "\"\$as_me:9989: $lt_compile\"" >&5)
 
9460
   (eval echo "\"\$as_me:9460: $lt_compile\"" >&5)
9990
9461
   (eval "$lt_compile" 2>conftest.err)
9991
9462
   ac_status=$?
9992
9463
   cat conftest.err >&5
9993
 
   echo "$as_me:9993: \$? = $ac_status" >&5
 
9464
   echo "$as_me:9464: \$? = $ac_status" >&5
9994
9465
   if (exit $ac_status) && test -s "$ac_outfile"; then
9995
9466
     # The compiler can only warn and ignore the option if not recognized
9996
9467
     # So say no if there are warnings other than the usual output.
10003
9474
   $RM conftest*
10004
9475
 
10005
9476
fi
10006
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
9477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10007
9478
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10008
9479
 
10009
9480
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10027
9498
# Check to make sure the static flag actually works.
10028
9499
#
10029
9500
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10030
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10031
9502
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10032
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
9503
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
10033
9504
  $as_echo_n "(cached) " >&6
10034
9505
else
10035
9506
  lt_cv_prog_compiler_static_works=no
10055
9526
   LDFLAGS="$save_LDFLAGS"
10056
9527
 
10057
9528
fi
10058
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
9529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10059
9530
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10060
9531
 
10061
9532
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10070
9541
 
10071
9542
 
10072
9543
 
10073
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9544
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10074
9545
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10075
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9546
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10076
9547
  $as_echo_n "(cached) " >&6
10077
9548
else
10078
9549
  lt_cv_prog_compiler_c_o=no
10091
9562
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10092
9563
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10093
9564
   -e 's:$: $lt_compiler_flag:'`
10094
 
   (eval echo "\"\$as_me:10094: $lt_compile\"" >&5)
 
9565
   (eval echo "\"\$as_me:9565: $lt_compile\"" >&5)
10095
9566
   (eval "$lt_compile" 2>out/conftest.err)
10096
9567
   ac_status=$?
10097
9568
   cat out/conftest.err >&5
10098
 
   echo "$as_me:10098: \$? = $ac_status" >&5
 
9569
   echo "$as_me:9569: \$? = $ac_status" >&5
10099
9570
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10100
9571
   then
10101
9572
     # The compiler can only warn and ignore the option if not recognized
10117
9588
   $RM conftest*
10118
9589
 
10119
9590
fi
10120
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10121
9592
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10122
9593
 
10123
9594
 
10125
9596
 
10126
9597
 
10127
9598
 
10128
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9599
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10129
9600
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10130
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9601
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10131
9602
  $as_echo_n "(cached) " >&6
10132
9603
else
10133
9604
  lt_cv_prog_compiler_c_o=no
10146
9617
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10147
9618
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10148
9619
   -e 's:$: $lt_compiler_flag:'`
10149
 
   (eval echo "\"\$as_me:10149: $lt_compile\"" >&5)
 
9620
   (eval echo "\"\$as_me:9620: $lt_compile\"" >&5)
10150
9621
   (eval "$lt_compile" 2>out/conftest.err)
10151
9622
   ac_status=$?
10152
9623
   cat out/conftest.err >&5
10153
 
   echo "$as_me:10153: \$? = $ac_status" >&5
 
9624
   echo "$as_me:9624: \$? = $ac_status" >&5
10154
9625
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10155
9626
   then
10156
9627
     # The compiler can only warn and ignore the option if not recognized
10172
9643
   $RM conftest*
10173
9644
 
10174
9645
fi
10175
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10176
9647
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10177
9648
 
10178
9649
 
10181
9652
hard_links="nottested"
10182
9653
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10183
9654
  # do not overwrite the value of need_locks provided by the user
10184
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
9655
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10185
9656
$as_echo_n "checking if we can lock with hard links... " >&6; }
10186
9657
  hard_links=yes
10187
9658
  $RM conftest*
10189
9660
  touch conftest.a
10190
9661
  ln conftest.a conftest.b 2>&5 || hard_links=no
10191
9662
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10192
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
9663
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10193
9664
$as_echo "$hard_links" >&6; }
10194
9665
  if test "$hard_links" = no; then
10195
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9666
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10196
9667
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10197
9668
    need_locks=warn
10198
9669
  fi
10205
9676
 
10206
9677
 
10207
9678
 
10208
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9679
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10209
9680
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10210
9681
 
10211
9682
  runpath_var=
10647
10118
        allow_undefined_flag='-berok'
10648
10119
        # Determine the default libpath from the value encoded in an
10649
10120
        # empty executable.
10650
 
        cat >conftest.$ac_ext <<_ACEOF
10651
 
/* confdefs.h.  */
10652
 
_ACEOF
10653
 
cat confdefs.h >>conftest.$ac_ext
10654
 
cat >>conftest.$ac_ext <<_ACEOF
 
10121
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10655
10122
/* end confdefs.h.  */
10656
10123
 
10657
10124
int
10662
10129
  return 0;
10663
10130
}
10664
10131
_ACEOF
10665
 
rm -f conftest.$ac_objext conftest$ac_exeext
10666
 
if { (ac_try="$ac_link"
10667
 
case "(($ac_try" in
10668
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10669
 
  *) ac_try_echo=$ac_try;;
10670
 
esac
10671
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10672
 
$as_echo "$ac_try_echo") >&5
10673
 
  (eval "$ac_link") 2>conftest.er1
10674
 
  ac_status=$?
10675
 
  grep -v '^ *+' conftest.er1 >conftest.err
10676
 
  rm -f conftest.er1
10677
 
  cat conftest.err >&5
10678
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679
 
  (exit $ac_status); } && {
10680
 
         test -z "$ac_c_werror_flag" ||
10681
 
         test ! -s conftest.err
10682
 
       } && test -s conftest$ac_exeext && {
10683
 
         test "$cross_compiling" = yes ||
10684
 
         $as_test_x conftest$ac_exeext
10685
 
       }; then
 
10132
if ac_fn_c_try_link "$LINENO"; then :
10686
10133
 
10687
10134
lt_aix_libpath_sed='
10688
10135
    /Import File Strings/,/^$/ {
10696
10143
if test -z "$aix_libpath"; then
10697
10144
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10698
10145
fi
10699
 
else
10700
 
  $as_echo "$as_me: failed program was:" >&5
10701
 
sed 's/^/| /' conftest.$ac_ext >&5
10702
 
 
10703
 
 
10704
10146
fi
10705
 
 
10706
 
rm -rf conftest.dSYM
10707
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10708
 
      conftest$ac_exeext conftest.$ac_ext
 
10147
rm -f core conftest.err conftest.$ac_objext \
 
10148
    conftest$ac_exeext conftest.$ac_ext
10709
10149
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10710
10150
 
10711
10151
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10718
10158
        else
10719
10159
         # Determine the default libpath from the value encoded in an
10720
10160
         # empty executable.
10721
 
         cat >conftest.$ac_ext <<_ACEOF
10722
 
/* confdefs.h.  */
10723
 
_ACEOF
10724
 
cat confdefs.h >>conftest.$ac_ext
10725
 
cat >>conftest.$ac_ext <<_ACEOF
 
10161
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10726
10162
/* end confdefs.h.  */
10727
10163
 
10728
10164
int
10733
10169
  return 0;
10734
10170
}
10735
10171
_ACEOF
10736
 
rm -f conftest.$ac_objext conftest$ac_exeext
10737
 
if { (ac_try="$ac_link"
10738
 
case "(($ac_try" in
10739
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10740
 
  *) ac_try_echo=$ac_try;;
10741
 
esac
10742
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10743
 
$as_echo "$ac_try_echo") >&5
10744
 
  (eval "$ac_link") 2>conftest.er1
10745
 
  ac_status=$?
10746
 
  grep -v '^ *+' conftest.er1 >conftest.err
10747
 
  rm -f conftest.er1
10748
 
  cat conftest.err >&5
10749
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750
 
  (exit $ac_status); } && {
10751
 
         test -z "$ac_c_werror_flag" ||
10752
 
         test ! -s conftest.err
10753
 
       } && test -s conftest$ac_exeext && {
10754
 
         test "$cross_compiling" = yes ||
10755
 
         $as_test_x conftest$ac_exeext
10756
 
       }; then
 
10172
if ac_fn_c_try_link "$LINENO"; then :
10757
10173
 
10758
10174
lt_aix_libpath_sed='
10759
10175
    /Import File Strings/,/^$/ {
10767
10183
if test -z "$aix_libpath"; then
10768
10184
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10769
10185
fi
10770
 
else
10771
 
  $as_echo "$as_me: failed program was:" >&5
10772
 
sed 's/^/| /' conftest.$ac_ext >&5
10773
 
 
10774
 
 
10775
10186
fi
10776
 
 
10777
 
rm -rf conftest.dSYM
10778
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10779
 
      conftest$ac_exeext conftest.$ac_ext
 
10187
rm -f core conftest.err conftest.$ac_objext \
 
10188
    conftest$ac_exeext conftest.$ac_ext
10780
10189
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10781
10190
 
10782
10191
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10988
10397
        # implicitly export all symbols.
10989
10398
        save_LDFLAGS="$LDFLAGS"
10990
10399
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10991
 
        cat >conftest.$ac_ext <<_ACEOF
 
10400
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10401
/* end confdefs.h.  */
10992
10402
int foo(void) {}
10993
10403
_ACEOF
10994
 
rm -f conftest.$ac_objext conftest$ac_exeext
10995
 
if { (ac_try="$ac_link"
10996
 
case "(($ac_try" in
10997
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10998
 
  *) ac_try_echo=$ac_try;;
10999
 
esac
11000
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11001
 
$as_echo "$ac_try_echo") >&5
11002
 
  (eval "$ac_link") 2>conftest.er1
11003
 
  ac_status=$?
11004
 
  grep -v '^ *+' conftest.er1 >conftest.err
11005
 
  rm -f conftest.er1
11006
 
  cat conftest.err >&5
11007
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11008
 
  (exit $ac_status); } && {
11009
 
         test -z "$ac_c_werror_flag" ||
11010
 
         test ! -s conftest.err
11011
 
       } && test -s conftest$ac_exeext && {
11012
 
         test "$cross_compiling" = yes ||
11013
 
         $as_test_x conftest$ac_exeext
11014
 
       }; then
 
10404
if ac_fn_c_try_link "$LINENO"; then :
11015
10405
  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'
11016
10406
 
11017
 
else
11018
 
  $as_echo "$as_me: failed program was:" >&5
11019
 
sed 's/^/| /' conftest.$ac_ext >&5
11020
 
 
11021
 
 
11022
10407
fi
11023
 
 
11024
 
rm -rf conftest.dSYM
11025
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11026
 
      conftest$ac_exeext conftest.$ac_ext
 
10408
rm -f core conftest.err conftest.$ac_objext \
 
10409
    conftest$ac_exeext conftest.$ac_ext
11027
10410
        LDFLAGS="$save_LDFLAGS"
11028
10411
      else
11029
10412
        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'
11279
10662
    fi
11280
10663
  fi
11281
10664
 
11282
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10665
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11283
10666
$as_echo "$ld_shlibs" >&6; }
11284
10667
test "$ld_shlibs" = no && can_build_shared=no
11285
10668
 
11316
10699
      # Test whether the compiler implicitly links with -lc since on some
11317
10700
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11318
10701
      # to ld, don't add -lc before -lgcc.
11319
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10702
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11320
10703
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11321
10704
      $RM conftest*
11322
10705
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11323
10706
 
11324
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10707
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11325
10708
  (eval $ac_compile) 2>&5
11326
10709
  ac_status=$?
11327
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328
 
  (exit $ac_status); } 2>conftest.err; then
 
10710
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10711
  test $ac_status = 0; } 2>conftest.err; then
11329
10712
        soname=conftest
11330
10713
        lib=conftest
11331
10714
        libobjs=conftest.$ac_objext
11339
10722
        libname=conftest
11340
10723
        lt_save_allow_undefined_flag=$allow_undefined_flag
11341
10724
        allow_undefined_flag=
11342
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10725
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11343
10726
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11344
10727
  ac_status=$?
11345
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11346
 
  (exit $ac_status); }
 
10728
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10729
  test $ac_status = 0; }
11347
10730
        then
11348
10731
          archive_cmds_need_lc=no
11349
10732
        else
11354
10737
        cat conftest.err 1>&5
11355
10738
      fi
11356
10739
      $RM conftest*
11357
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
10740
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
11358
10741
$as_echo "$archive_cmds_need_lc" >&6; }
11359
10742
      ;;
11360
10743
    esac
11518
10901
 
11519
10902
 
11520
10903
 
11521
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10904
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11522
10905
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11523
10906
 
11524
10907
if test "$GCC" = yes; then
11940
11323
  save_libdir=$libdir
11941
11324
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11942
11325
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11943
 
  cat >conftest.$ac_ext <<_ACEOF
11944
 
/* confdefs.h.  */
11945
 
_ACEOF
11946
 
cat confdefs.h >>conftest.$ac_ext
11947
 
cat >>conftest.$ac_ext <<_ACEOF
 
11326
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11948
11327
/* end confdefs.h.  */
11949
11328
 
11950
11329
int
11955
11334
  return 0;
11956
11335
}
11957
11336
_ACEOF
11958
 
rm -f conftest.$ac_objext conftest$ac_exeext
11959
 
if { (ac_try="$ac_link"
11960
 
case "(($ac_try" in
11961
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11962
 
  *) ac_try_echo=$ac_try;;
11963
 
esac
11964
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11965
 
$as_echo "$ac_try_echo") >&5
11966
 
  (eval "$ac_link") 2>conftest.er1
11967
 
  ac_status=$?
11968
 
  grep -v '^ *+' conftest.er1 >conftest.err
11969
 
  rm -f conftest.er1
11970
 
  cat conftest.err >&5
11971
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972
 
  (exit $ac_status); } && {
11973
 
         test -z "$ac_c_werror_flag" ||
11974
 
         test ! -s conftest.err
11975
 
       } && test -s conftest$ac_exeext && {
11976
 
         test "$cross_compiling" = yes ||
11977
 
         $as_test_x conftest$ac_exeext
11978
 
       }; then
11979
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
11337
if ac_fn_c_try_link "$LINENO"; then :
 
11338
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11980
11339
  shlibpath_overrides_runpath=yes
11981
11340
fi
11982
 
 
11983
 
else
11984
 
  $as_echo "$as_me: failed program was:" >&5
11985
 
sed 's/^/| /' conftest.$ac_ext >&5
11986
 
 
11987
 
 
11988
11341
fi
11989
 
 
11990
 
rm -rf conftest.dSYM
11991
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11992
 
      conftest$ac_exeext conftest.$ac_ext
 
11342
rm -f core conftest.err conftest.$ac_objext \
 
11343
    conftest$ac_exeext conftest.$ac_ext
11993
11344
  LDFLAGS=$save_LDFLAGS
11994
11345
  libdir=$save_libdir
11995
11346
 
12201
11552
  dynamic_linker=no
12202
11553
  ;;
12203
11554
esac
12204
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
11555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12205
11556
$as_echo "$dynamic_linker" >&6; }
12206
11557
test "$dynamic_linker" = no && can_build_shared=no
12207
11558
 
12303
11654
 
12304
11655
 
12305
11656
 
12306
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11657
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12307
11658
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12308
11659
hardcode_action=
12309
11660
if test -n "$hardcode_libdir_flag_spec" ||
12328
11679
  # directories.
12329
11680
  hardcode_action=unsupported
12330
11681
fi
12331
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11682
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12332
11683
$as_echo "$hardcode_action" >&6; }
12333
11684
 
12334
11685
if test "$hardcode_action" = relink ||
12373
11724
 
12374
11725
  darwin*)
12375
11726
  # if libdl is installed we need to link against it
12376
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11727
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12377
11728
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12378
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11729
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12379
11730
  $as_echo_n "(cached) " >&6
12380
11731
else
12381
11732
  ac_check_lib_save_LIBS=$LIBS
12382
11733
LIBS="-ldl  $LIBS"
12383
 
cat >conftest.$ac_ext <<_ACEOF
12384
 
/* confdefs.h.  */
12385
 
_ACEOF
12386
 
cat confdefs.h >>conftest.$ac_ext
12387
 
cat >>conftest.$ac_ext <<_ACEOF
 
11734
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388
11735
/* end confdefs.h.  */
12389
11736
 
12390
11737
/* Override any GCC internal prototype to avoid an error.
12402
11749
  return 0;
12403
11750
}
12404
11751
_ACEOF
12405
 
rm -f conftest.$ac_objext conftest$ac_exeext
12406
 
if { (ac_try="$ac_link"
12407
 
case "(($ac_try" in
12408
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12409
 
  *) ac_try_echo=$ac_try;;
12410
 
esac
12411
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12412
 
$as_echo "$ac_try_echo") >&5
12413
 
  (eval "$ac_link") 2>conftest.er1
12414
 
  ac_status=$?
12415
 
  grep -v '^ *+' conftest.er1 >conftest.err
12416
 
  rm -f conftest.er1
12417
 
  cat conftest.err >&5
12418
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419
 
  (exit $ac_status); } && {
12420
 
         test -z "$ac_c_werror_flag" ||
12421
 
         test ! -s conftest.err
12422
 
       } && test -s conftest$ac_exeext && {
12423
 
         test "$cross_compiling" = yes ||
12424
 
         $as_test_x conftest$ac_exeext
12425
 
       }; then
 
11752
if ac_fn_c_try_link "$LINENO"; then :
12426
11753
  ac_cv_lib_dl_dlopen=yes
12427
11754
else
12428
 
  $as_echo "$as_me: failed program was:" >&5
12429
 
sed 's/^/| /' conftest.$ac_ext >&5
12430
 
 
12431
 
        ac_cv_lib_dl_dlopen=no
 
11755
  ac_cv_lib_dl_dlopen=no
12432
11756
fi
12433
 
 
12434
 
rm -rf conftest.dSYM
12435
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12436
 
      conftest$ac_exeext conftest.$ac_ext
 
11757
rm -f core conftest.err conftest.$ac_objext \
 
11758
    conftest$ac_exeext conftest.$ac_ext
12437
11759
LIBS=$ac_check_lib_save_LIBS
12438
11760
fi
12439
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11761
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12440
11762
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12441
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11763
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12442
11764
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12443
11765
else
12444
11766
 
12451
11773
    ;;
12452
11774
 
12453
11775
  *)
12454
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
12455
 
$as_echo_n "checking for shl_load... " >&6; }
12456
 
if test "${ac_cv_func_shl_load+set}" = set; then
12457
 
  $as_echo_n "(cached) " >&6
12458
 
else
12459
 
  cat >conftest.$ac_ext <<_ACEOF
12460
 
/* confdefs.h.  */
12461
 
_ACEOF
12462
 
cat confdefs.h >>conftest.$ac_ext
12463
 
cat >>conftest.$ac_ext <<_ACEOF
12464
 
/* end confdefs.h.  */
12465
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12466
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12467
 
#define shl_load innocuous_shl_load
12468
 
 
12469
 
/* System header to define __stub macros and hopefully few prototypes,
12470
 
    which can conflict with char shl_load (); below.
12471
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12472
 
    <limits.h> exists even on freestanding compilers.  */
12473
 
 
12474
 
#ifdef __STDC__
12475
 
# include <limits.h>
12476
 
#else
12477
 
# include <assert.h>
12478
 
#endif
12479
 
 
12480
 
#undef shl_load
12481
 
 
12482
 
/* Override any GCC internal prototype to avoid an error.
12483
 
   Use char because int might match the return type of a GCC
12484
 
   builtin and then its argument prototype would still apply.  */
12485
 
#ifdef __cplusplus
12486
 
extern "C"
12487
 
#endif
12488
 
char shl_load ();
12489
 
/* The GNU C library defines this for functions which it implements
12490
 
    to always fail with ENOSYS.  Some functions are actually named
12491
 
    something starting with __ and the normal name is an alias.  */
12492
 
#if defined __stub_shl_load || defined __stub___shl_load
12493
 
choke me
12494
 
#endif
12495
 
 
12496
 
int
12497
 
main ()
12498
 
{
12499
 
return shl_load ();
12500
 
  ;
12501
 
  return 0;
12502
 
}
12503
 
_ACEOF
12504
 
rm -f conftest.$ac_objext conftest$ac_exeext
12505
 
if { (ac_try="$ac_link"
12506
 
case "(($ac_try" in
12507
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12508
 
  *) ac_try_echo=$ac_try;;
12509
 
esac
12510
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12511
 
$as_echo "$ac_try_echo") >&5
12512
 
  (eval "$ac_link") 2>conftest.er1
12513
 
  ac_status=$?
12514
 
  grep -v '^ *+' conftest.er1 >conftest.err
12515
 
  rm -f conftest.er1
12516
 
  cat conftest.err >&5
12517
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518
 
  (exit $ac_status); } && {
12519
 
         test -z "$ac_c_werror_flag" ||
12520
 
         test ! -s conftest.err
12521
 
       } && test -s conftest$ac_exeext && {
12522
 
         test "$cross_compiling" = yes ||
12523
 
         $as_test_x conftest$ac_exeext
12524
 
       }; then
12525
 
  ac_cv_func_shl_load=yes
12526
 
else
12527
 
  $as_echo "$as_me: failed program was:" >&5
12528
 
sed 's/^/| /' conftest.$ac_ext >&5
12529
 
 
12530
 
        ac_cv_func_shl_load=no
12531
 
fi
12532
 
 
12533
 
rm -rf conftest.dSYM
12534
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12535
 
      conftest$ac_exeext conftest.$ac_ext
12536
 
fi
12537
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12538
 
$as_echo "$ac_cv_func_shl_load" >&6; }
12539
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
11776
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11777
if test "x$ac_cv_func_shl_load" = x""yes; then :
12540
11778
  lt_cv_dlopen="shl_load"
12541
11779
else
12542
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11780
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12543
11781
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12544
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
11782
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12545
11783
  $as_echo_n "(cached) " >&6
12546
11784
else
12547
11785
  ac_check_lib_save_LIBS=$LIBS
12548
11786
LIBS="-ldld  $LIBS"
12549
 
cat >conftest.$ac_ext <<_ACEOF
12550
 
/* confdefs.h.  */
12551
 
_ACEOF
12552
 
cat confdefs.h >>conftest.$ac_ext
12553
 
cat >>conftest.$ac_ext <<_ACEOF
 
11787
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12554
11788
/* end confdefs.h.  */
12555
11789
 
12556
11790
/* Override any GCC internal prototype to avoid an error.
12568
11802
  return 0;
12569
11803
}
12570
11804
_ACEOF
12571
 
rm -f conftest.$ac_objext conftest$ac_exeext
12572
 
if { (ac_try="$ac_link"
12573
 
case "(($ac_try" in
12574
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12575
 
  *) ac_try_echo=$ac_try;;
12576
 
esac
12577
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12578
 
$as_echo "$ac_try_echo") >&5
12579
 
  (eval "$ac_link") 2>conftest.er1
12580
 
  ac_status=$?
12581
 
  grep -v '^ *+' conftest.er1 >conftest.err
12582
 
  rm -f conftest.er1
12583
 
  cat conftest.err >&5
12584
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585
 
  (exit $ac_status); } && {
12586
 
         test -z "$ac_c_werror_flag" ||
12587
 
         test ! -s conftest.err
12588
 
       } && test -s conftest$ac_exeext && {
12589
 
         test "$cross_compiling" = yes ||
12590
 
         $as_test_x conftest$ac_exeext
12591
 
       }; then
 
11805
if ac_fn_c_try_link "$LINENO"; then :
12592
11806
  ac_cv_lib_dld_shl_load=yes
12593
11807
else
12594
 
  $as_echo "$as_me: failed program was:" >&5
12595
 
sed 's/^/| /' conftest.$ac_ext >&5
12596
 
 
12597
 
        ac_cv_lib_dld_shl_load=no
 
11808
  ac_cv_lib_dld_shl_load=no
12598
11809
fi
12599
 
 
12600
 
rm -rf conftest.dSYM
12601
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12602
 
      conftest$ac_exeext conftest.$ac_ext
 
11810
rm -f core conftest.err conftest.$ac_objext \
 
11811
    conftest$ac_exeext conftest.$ac_ext
12603
11812
LIBS=$ac_check_lib_save_LIBS
12604
11813
fi
12605
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12606
11815
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12607
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
11816
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12608
11817
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12609
11818
else
12610
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
12611
 
$as_echo_n "checking for dlopen... " >&6; }
12612
 
if test "${ac_cv_func_dlopen+set}" = set; then
12613
 
  $as_echo_n "(cached) " >&6
12614
 
else
12615
 
  cat >conftest.$ac_ext <<_ACEOF
12616
 
/* confdefs.h.  */
12617
 
_ACEOF
12618
 
cat confdefs.h >>conftest.$ac_ext
12619
 
cat >>conftest.$ac_ext <<_ACEOF
12620
 
/* end confdefs.h.  */
12621
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12622
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12623
 
#define dlopen innocuous_dlopen
12624
 
 
12625
 
/* System header to define __stub macros and hopefully few prototypes,
12626
 
    which can conflict with char dlopen (); below.
12627
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12628
 
    <limits.h> exists even on freestanding compilers.  */
12629
 
 
12630
 
#ifdef __STDC__
12631
 
# include <limits.h>
12632
 
#else
12633
 
# include <assert.h>
12634
 
#endif
12635
 
 
12636
 
#undef dlopen
12637
 
 
12638
 
/* Override any GCC internal prototype to avoid an error.
12639
 
   Use char because int might match the return type of a GCC
12640
 
   builtin and then its argument prototype would still apply.  */
12641
 
#ifdef __cplusplus
12642
 
extern "C"
12643
 
#endif
12644
 
char dlopen ();
12645
 
/* The GNU C library defines this for functions which it implements
12646
 
    to always fail with ENOSYS.  Some functions are actually named
12647
 
    something starting with __ and the normal name is an alias.  */
12648
 
#if defined __stub_dlopen || defined __stub___dlopen
12649
 
choke me
12650
 
#endif
12651
 
 
12652
 
int
12653
 
main ()
12654
 
{
12655
 
return dlopen ();
12656
 
  ;
12657
 
  return 0;
12658
 
}
12659
 
_ACEOF
12660
 
rm -f conftest.$ac_objext conftest$ac_exeext
12661
 
if { (ac_try="$ac_link"
12662
 
case "(($ac_try" in
12663
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12664
 
  *) ac_try_echo=$ac_try;;
12665
 
esac
12666
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12667
 
$as_echo "$ac_try_echo") >&5
12668
 
  (eval "$ac_link") 2>conftest.er1
12669
 
  ac_status=$?
12670
 
  grep -v '^ *+' conftest.er1 >conftest.err
12671
 
  rm -f conftest.er1
12672
 
  cat conftest.err >&5
12673
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674
 
  (exit $ac_status); } && {
12675
 
         test -z "$ac_c_werror_flag" ||
12676
 
         test ! -s conftest.err
12677
 
       } && test -s conftest$ac_exeext && {
12678
 
         test "$cross_compiling" = yes ||
12679
 
         $as_test_x conftest$ac_exeext
12680
 
       }; then
12681
 
  ac_cv_func_dlopen=yes
12682
 
else
12683
 
  $as_echo "$as_me: failed program was:" >&5
12684
 
sed 's/^/| /' conftest.$ac_ext >&5
12685
 
 
12686
 
        ac_cv_func_dlopen=no
12687
 
fi
12688
 
 
12689
 
rm -rf conftest.dSYM
12690
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12691
 
      conftest$ac_exeext conftest.$ac_ext
12692
 
fi
12693
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12694
 
$as_echo "$ac_cv_func_dlopen" >&6; }
12695
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
11819
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11820
if test "x$ac_cv_func_dlopen" = x""yes; then :
12696
11821
  lt_cv_dlopen="dlopen"
12697
11822
else
12698
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11823
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12699
11824
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12700
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11825
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12701
11826
  $as_echo_n "(cached) " >&6
12702
11827
else
12703
11828
  ac_check_lib_save_LIBS=$LIBS
12704
11829
LIBS="-ldl  $LIBS"
12705
 
cat >conftest.$ac_ext <<_ACEOF
12706
 
/* confdefs.h.  */
12707
 
_ACEOF
12708
 
cat confdefs.h >>conftest.$ac_ext
12709
 
cat >>conftest.$ac_ext <<_ACEOF
 
11830
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12710
11831
/* end confdefs.h.  */
12711
11832
 
12712
11833
/* Override any GCC internal prototype to avoid an error.
12724
11845
  return 0;
12725
11846
}
12726
11847
_ACEOF
12727
 
rm -f conftest.$ac_objext conftest$ac_exeext
12728
 
if { (ac_try="$ac_link"
12729
 
case "(($ac_try" in
12730
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12731
 
  *) ac_try_echo=$ac_try;;
12732
 
esac
12733
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12734
 
$as_echo "$ac_try_echo") >&5
12735
 
  (eval "$ac_link") 2>conftest.er1
12736
 
  ac_status=$?
12737
 
  grep -v '^ *+' conftest.er1 >conftest.err
12738
 
  rm -f conftest.er1
12739
 
  cat conftest.err >&5
12740
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741
 
  (exit $ac_status); } && {
12742
 
         test -z "$ac_c_werror_flag" ||
12743
 
         test ! -s conftest.err
12744
 
       } && test -s conftest$ac_exeext && {
12745
 
         test "$cross_compiling" = yes ||
12746
 
         $as_test_x conftest$ac_exeext
12747
 
       }; then
 
11848
if ac_fn_c_try_link "$LINENO"; then :
12748
11849
  ac_cv_lib_dl_dlopen=yes
12749
11850
else
12750
 
  $as_echo "$as_me: failed program was:" >&5
12751
 
sed 's/^/| /' conftest.$ac_ext >&5
12752
 
 
12753
 
        ac_cv_lib_dl_dlopen=no
 
11851
  ac_cv_lib_dl_dlopen=no
12754
11852
fi
12755
 
 
12756
 
rm -rf conftest.dSYM
12757
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12758
 
      conftest$ac_exeext conftest.$ac_ext
 
11853
rm -f core conftest.err conftest.$ac_objext \
 
11854
    conftest$ac_exeext conftest.$ac_ext
12759
11855
LIBS=$ac_check_lib_save_LIBS
12760
11856
fi
12761
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12762
11858
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12763
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11859
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12764
11860
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12765
11861
else
12766
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11862
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12767
11863
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12768
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
11864
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12769
11865
  $as_echo_n "(cached) " >&6
12770
11866
else
12771
11867
  ac_check_lib_save_LIBS=$LIBS
12772
11868
LIBS="-lsvld  $LIBS"
12773
 
cat >conftest.$ac_ext <<_ACEOF
12774
 
/* confdefs.h.  */
12775
 
_ACEOF
12776
 
cat confdefs.h >>conftest.$ac_ext
12777
 
cat >>conftest.$ac_ext <<_ACEOF
 
11869
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12778
11870
/* end confdefs.h.  */
12779
11871
 
12780
11872
/* Override any GCC internal prototype to avoid an error.
12792
11884
  return 0;
12793
11885
}
12794
11886
_ACEOF
12795
 
rm -f conftest.$ac_objext conftest$ac_exeext
12796
 
if { (ac_try="$ac_link"
12797
 
case "(($ac_try" in
12798
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12799
 
  *) ac_try_echo=$ac_try;;
12800
 
esac
12801
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12802
 
$as_echo "$ac_try_echo") >&5
12803
 
  (eval "$ac_link") 2>conftest.er1
12804
 
  ac_status=$?
12805
 
  grep -v '^ *+' conftest.er1 >conftest.err
12806
 
  rm -f conftest.er1
12807
 
  cat conftest.err >&5
12808
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12809
 
  (exit $ac_status); } && {
12810
 
         test -z "$ac_c_werror_flag" ||
12811
 
         test ! -s conftest.err
12812
 
       } && test -s conftest$ac_exeext && {
12813
 
         test "$cross_compiling" = yes ||
12814
 
         $as_test_x conftest$ac_exeext
12815
 
       }; then
 
11887
if ac_fn_c_try_link "$LINENO"; then :
12816
11888
  ac_cv_lib_svld_dlopen=yes
12817
11889
else
12818
 
  $as_echo "$as_me: failed program was:" >&5
12819
 
sed 's/^/| /' conftest.$ac_ext >&5
12820
 
 
12821
 
        ac_cv_lib_svld_dlopen=no
 
11890
  ac_cv_lib_svld_dlopen=no
12822
11891
fi
12823
 
 
12824
 
rm -rf conftest.dSYM
12825
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12826
 
      conftest$ac_exeext conftest.$ac_ext
 
11892
rm -f core conftest.err conftest.$ac_objext \
 
11893
    conftest$ac_exeext conftest.$ac_ext
12827
11894
LIBS=$ac_check_lib_save_LIBS
12828
11895
fi
12829
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12830
11897
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12831
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
11898
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12832
11899
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12833
11900
else
12834
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11901
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12835
11902
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12836
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
11903
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12837
11904
  $as_echo_n "(cached) " >&6
12838
11905
else
12839
11906
  ac_check_lib_save_LIBS=$LIBS
12840
11907
LIBS="-ldld  $LIBS"
12841
 
cat >conftest.$ac_ext <<_ACEOF
12842
 
/* confdefs.h.  */
12843
 
_ACEOF
12844
 
cat confdefs.h >>conftest.$ac_ext
12845
 
cat >>conftest.$ac_ext <<_ACEOF
 
11908
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12846
11909
/* end confdefs.h.  */
12847
11910
 
12848
11911
/* Override any GCC internal prototype to avoid an error.
12860
11923
  return 0;
12861
11924
}
12862
11925
_ACEOF
12863
 
rm -f conftest.$ac_objext conftest$ac_exeext
12864
 
if { (ac_try="$ac_link"
12865
 
case "(($ac_try" in
12866
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12867
 
  *) ac_try_echo=$ac_try;;
12868
 
esac
12869
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12870
 
$as_echo "$ac_try_echo") >&5
12871
 
  (eval "$ac_link") 2>conftest.er1
12872
 
  ac_status=$?
12873
 
  grep -v '^ *+' conftest.er1 >conftest.err
12874
 
  rm -f conftest.er1
12875
 
  cat conftest.err >&5
12876
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12877
 
  (exit $ac_status); } && {
12878
 
         test -z "$ac_c_werror_flag" ||
12879
 
         test ! -s conftest.err
12880
 
       } && test -s conftest$ac_exeext && {
12881
 
         test "$cross_compiling" = yes ||
12882
 
         $as_test_x conftest$ac_exeext
12883
 
       }; then
 
11926
if ac_fn_c_try_link "$LINENO"; then :
12884
11927
  ac_cv_lib_dld_dld_link=yes
12885
11928
else
12886
 
  $as_echo "$as_me: failed program was:" >&5
12887
 
sed 's/^/| /' conftest.$ac_ext >&5
12888
 
 
12889
 
        ac_cv_lib_dld_dld_link=no
 
11929
  ac_cv_lib_dld_dld_link=no
12890
11930
fi
12891
 
 
12892
 
rm -rf conftest.dSYM
12893
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12894
 
      conftest$ac_exeext conftest.$ac_ext
 
11931
rm -f core conftest.err conftest.$ac_objext \
 
11932
    conftest$ac_exeext conftest.$ac_ext
12895
11933
LIBS=$ac_check_lib_save_LIBS
12896
11934
fi
12897
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12898
11936
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12899
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
11937
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12900
11938
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12901
11939
fi
12902
11940
 
12935
11973
    save_LIBS="$LIBS"
12936
11974
    LIBS="$lt_cv_dlopen_libs $LIBS"
12937
11975
 
12938
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11976
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12939
11977
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12940
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
11978
if test "${lt_cv_dlopen_self+set}" = set; then :
12941
11979
  $as_echo_n "(cached) " >&6
12942
11980
else
12943
11981
          if test "$cross_compiling" = yes; then :
12946
11984
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12947
11985
  lt_status=$lt_dlunknown
12948
11986
  cat > conftest.$ac_ext <<_LT_EOF
12949
 
#line 12949 "configure"
 
11987
#line 11987 "configure"
12950
11988
#include "confdefs.h"
12951
11989
 
12952
11990
#if HAVE_DLFCN_H
13005
12043
  return status;
13006
12044
}
13007
12045
_LT_EOF
13008
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
12046
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13009
12047
  (eval $ac_link) 2>&5
13010
12048
  ac_status=$?
13011
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12049
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12050
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13013
12051
    (./conftest; exit; ) >&5 2>/dev/null
13014
12052
    lt_status=$?
13015
12053
    case x$lt_status in
13026
12064
 
13027
12065
 
13028
12066
fi
13029
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
12067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13030
12068
$as_echo "$lt_cv_dlopen_self" >&6; }
13031
12069
 
13032
12070
    if test "x$lt_cv_dlopen_self" = xyes; then
13033
12071
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13034
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
12072
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13035
12073
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13036
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
12074
if test "${lt_cv_dlopen_self_static+set}" = set; then :
13037
12075
  $as_echo_n "(cached) " >&6
13038
12076
else
13039
12077
          if test "$cross_compiling" = yes; then :
13042
12080
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13043
12081
  lt_status=$lt_dlunknown
13044
12082
  cat > conftest.$ac_ext <<_LT_EOF
13045
 
#line 13045 "configure"
 
12083
#line 12083 "configure"
13046
12084
#include "confdefs.h"
13047
12085
 
13048
12086
#if HAVE_DLFCN_H
13101
12139
  return status;
13102
12140
}
13103
12141
_LT_EOF
13104
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
12142
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13105
12143
  (eval $ac_link) 2>&5
13106
12144
  ac_status=$?
13107
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12145
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12146
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13109
12147
    (./conftest; exit; ) >&5 2>/dev/null
13110
12148
    lt_status=$?
13111
12149
    case x$lt_status in
13122
12160
 
13123
12161
 
13124
12162
fi
13125
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
12163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13126
12164
$as_echo "$lt_cv_dlopen_self_static" >&6; }
13127
12165
    fi
13128
12166
 
13161
12199
 
13162
12200
striplib=
13163
12201
old_striplib=
13164
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
12202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13165
12203
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13166
12204
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13167
12205
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13168
12206
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13169
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12207
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13170
12208
$as_echo "yes" >&6; }
13171
12209
else
13172
12210
# FIXME - insert some real tests, host_os isn't really good enough
13175
12213
    if test -n "$STRIP" ; then
13176
12214
      striplib="$STRIP -x"
13177
12215
      old_striplib="$STRIP -S"
13178
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12216
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13179
12217
$as_echo "yes" >&6; }
13180
12218
    else
13181
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
12219
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13182
12220
$as_echo "no" >&6; }
13183
12221
    fi
13184
12222
    ;;
13185
12223
  *)
13186
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
12224
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13187
12225
$as_echo "no" >&6; }
13188
12226
    ;;
13189
12227
  esac
13201
12239
 
13202
12240
 
13203
12241
  # Report which library types will actually be built
13204
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
12242
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13205
12243
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13206
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
12244
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13207
12245
$as_echo "$can_build_shared" >&6; }
13208
12246
 
13209
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
12247
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13210
12248
$as_echo_n "checking whether to build shared libraries... " >&6; }
13211
12249
  test "$can_build_shared" = "no" && enable_shared=no
13212
12250
 
13227
12265
    fi
13228
12266
    ;;
13229
12267
  esac
13230
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
12268
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13231
12269
$as_echo "$enable_shared" >&6; }
13232
12270
 
13233
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
12271
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13234
12272
$as_echo_n "checking whether to build static libraries... " >&6; }
13235
12273
  # Make sure either enable_shared or enable_static is yes.
13236
12274
  test "$enable_shared" = yes || enable_static=yes
13237
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
12275
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13238
12276
$as_echo "$enable_static" >&6; }
13239
12277
 
13240
12278
 
13271
12309
 
13272
12310
#AC_PROG_SED available in 2.59b
13273
12311
if test "x$CC" != xcc; then
13274
 
  { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
 
12312
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
13275
12313
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
13276
12314
else
13277
 
  { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
 
12315
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
13278
12316
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
13279
12317
fi
13280
12318
set dummy $CC; ac_cc=`$as_echo "$2" |
13281
12319
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13282
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
 
12320
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
13283
12321
  $as_echo_n "(cached) " >&6
13284
12322
else
13285
 
  cat >conftest.$ac_ext <<_ACEOF
13286
 
/* confdefs.h.  */
13287
 
_ACEOF
13288
 
cat confdefs.h >>conftest.$ac_ext
13289
 
cat >>conftest.$ac_ext <<_ACEOF
 
12323
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13290
12324
/* end confdefs.h.  */
13291
12325
 
13292
12326
int
13302
12336
# existing .o file with -o, though they will create one.
13303
12337
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13304
12338
rm -f conftest2.*
13305
 
if { (case "(($ac_try" in
13306
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13307
 
  *) ac_try_echo=$ac_try;;
13308
 
esac
13309
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13310
 
$as_echo "$ac_try_echo") >&5
13311
 
  (eval "$ac_try") 2>&5
13312
 
  ac_status=$?
13313
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314
 
  (exit $ac_status); } &&
13315
 
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
13316
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13317
 
  *) ac_try_echo=$ac_try;;
13318
 
esac
13319
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13320
 
$as_echo "$ac_try_echo") >&5
13321
 
  (eval "$ac_try") 2>&5
13322
 
  ac_status=$?
13323
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324
 
  (exit $ac_status); };
 
12339
if { { case "(($ac_try" in
 
12340
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12341
  *) ac_try_echo=$ac_try;;
 
12342
esac
 
12343
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
12344
$as_echo "$ac_try_echo"; } >&5
 
12345
  (eval "$ac_try") 2>&5
 
12346
  ac_status=$?
 
12347
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12348
  test $ac_status = 0; } &&
 
12349
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
12350
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12351
  *) ac_try_echo=$ac_try;;
 
12352
esac
 
12353
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
12354
$as_echo "$ac_try_echo"; } >&5
 
12355
  (eval "$ac_try") 2>&5
 
12356
  ac_status=$?
 
12357
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12358
  test $ac_status = 0; };
13325
12359
then
13326
12360
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
13327
12361
  if test "x$CC" != xcc; then
13328
12362
    # Test first that cc exists at all.
13329
12363
    if { ac_try='cc -c conftest.$ac_ext >&5'
13330
 
  { (case "(($ac_try" in
 
12364
  { { case "(($ac_try" in
13331
12365
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13332
12366
  *) ac_try_echo=$ac_try;;
13333
12367
esac
13334
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13335
 
$as_echo "$ac_try_echo") >&5
 
12368
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
12369
$as_echo "$ac_try_echo"; } >&5
13336
12370
  (eval "$ac_try") 2>&5
13337
12371
  ac_status=$?
13338
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13339
 
  (exit $ac_status); }; }; then
 
12372
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12373
  test $ac_status = 0; }; }; then
13340
12374
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13341
12375
      rm -f conftest2.*
13342
 
      if { (case "(($ac_try" in
13343
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13344
 
  *) ac_try_echo=$ac_try;;
13345
 
esac
13346
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13347
 
$as_echo "$ac_try_echo") >&5
13348
 
  (eval "$ac_try") 2>&5
13349
 
  ac_status=$?
13350
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351
 
  (exit $ac_status); } &&
13352
 
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
13353
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13354
 
  *) ac_try_echo=$ac_try;;
13355
 
esac
13356
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13357
 
$as_echo "$ac_try_echo") >&5
13358
 
  (eval "$ac_try") 2>&5
13359
 
  ac_status=$?
13360
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361
 
  (exit $ac_status); };
 
12376
      if { { case "(($ac_try" in
 
12377
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12378
  *) ac_try_echo=$ac_try;;
 
12379
esac
 
12380
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
12381
$as_echo "$ac_try_echo"; } >&5
 
12382
  (eval "$ac_try") 2>&5
 
12383
  ac_status=$?
 
12384
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12385
  test $ac_status = 0; } &&
 
12386
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
12387
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12388
  *) ac_try_echo=$ac_try;;
 
12389
esac
 
12390
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
12391
$as_echo "$ac_try_echo"; } >&5
 
12392
  (eval "$ac_try") 2>&5
 
12393
  ac_status=$?
 
12394
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12395
  test $ac_status = 0; };
13362
12396
      then
13363
12397
        # cc works too.
13364
12398
        :
13375
12409
 
13376
12410
fi
13377
12411
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
13378
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12412
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13379
12413
$as_echo "yes" >&6; }
13380
12414
else
13381
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12415
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13382
12416
$as_echo "no" >&6; }
13383
12417
 
13384
 
cat >>confdefs.h <<\_ACEOF
13385
 
#define NO_MINUS_C_MINUS_O 1
13386
 
_ACEOF
 
12418
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
13387
12419
 
13388
12420
fi
13389
12421
 
13413
12445
do
13414
12446
  # Extract the first word of "$ac_prog", so it can be a program name with args.
13415
12447
set dummy $ac_prog; ac_word=$2
13416
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13417
12449
$as_echo_n "checking for $ac_word... " >&6; }
13418
 
if test "${ac_cv_path_PYTHON+set}" = set; then
 
12450
if test "${ac_cv_path_PYTHON+set}" = set; then :
13419
12451
  $as_echo_n "(cached) " >&6
13420
12452
else
13421
12453
  case $PYTHON in
13428
12460
do
13429
12461
  IFS=$as_save_IFS
13430
12462
  test -z "$as_dir" && as_dir=.
13431
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12463
    for ac_exec_ext in '' $ac_executable_extensions; do
13432
12464
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13433
12465
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
13434
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12466
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13435
12467
    break 2
13436
12468
  fi
13437
12469
done
13438
 
done
 
12470
  done
13439
12471
IFS=$as_save_IFS
13440
12472
 
13441
12473
  ;;
13443
12475
fi
13444
12476
PYTHON=$ac_cv_path_PYTHON
13445
12477
if test -n "$PYTHON"; then
13446
 
  { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
 
12478
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13447
12479
$as_echo "$PYTHON" >&6; }
13448
12480
else
13449
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12481
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13450
12482
$as_echo "no" >&6; }
13451
12483
fi
13452
12484
 
13460
12492
 
13461
12493
 
13462
12494
  if test "$PYTHON" = :; then
13463
 
      { { $as_echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
13464
 
$as_echo "$as_me: error: no suitable Python interpreter found" >&2;}
13465
 
   { (exit 1); exit 1; }; }
 
12495
      as_fn_error "no suitable Python interpreter found" "$LINENO" 5
13466
12496
  else
13467
12497
 
13468
12498
 
13469
 
  { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
 
12499
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13470
12500
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13471
 
if test "${am_cv_python_version+set}" = set; then
 
12501
if test "${am_cv_python_version+set}" = set; then :
13472
12502
  $as_echo_n "(cached) " >&6
13473
12503
else
13474
12504
  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13475
12505
fi
13476
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
 
12506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13477
12507
$as_echo "$am_cv_python_version" >&6; }
13478
12508
  PYTHON_VERSION=$am_cv_python_version
13479
12509
 
13485
12515
 
13486
12516
 
13487
12517
 
13488
 
  { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
 
12518
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13489
12519
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13490
 
if test "${am_cv_python_platform+set}" = set; then
 
12520
if test "${am_cv_python_platform+set}" = set; then :
13491
12521
  $as_echo_n "(cached) " >&6
13492
12522
else
13493
12523
  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13494
12524
fi
13495
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
 
12525
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13496
12526
$as_echo "$am_cv_python_platform" >&6; }
13497
12527
  PYTHON_PLATFORM=$am_cv_python_platform
13498
12528
 
13499
12529
 
13500
12530
 
13501
12531
 
13502
 
                { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
 
12532
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13503
12533
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13504
 
if test "${am_cv_python_pythondir+set}" = set; then
 
12534
if test "${am_cv_python_pythondir+set}" = set; then :
13505
12535
  $as_echo_n "(cached) " >&6
13506
12536
else
13507
12537
  if test "x$prefix" = xNONE
13517
12547
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
13518
12548
       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
13519
12549
       ;;
 
12550
     *)
 
12551
       case $am_py_prefix in
 
12552
         /usr|/System*) ;;
 
12553
         *)
 
12554
          am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
 
12555
          ;;
 
12556
       esac
 
12557
       ;;
13520
12558
     esac
13521
12559
 
13522
12560
fi
13523
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
 
12561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13524
12562
$as_echo "$am_cv_python_pythondir" >&6; }
13525
12563
  pythondir=$am_cv_python_pythondir
13526
12564
 
13529
12567
  pkgpythondir=\${pythondir}/$PACKAGE
13530
12568
 
13531
12569
 
13532
 
            { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
 
12570
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13533
12571
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13534
 
if test "${am_cv_python_pyexecdir+set}" = set; then
 
12572
if test "${am_cv_python_pyexecdir+set}" = set; then :
13535
12573
  $as_echo_n "(cached) " >&6
13536
12574
else
13537
12575
  if test "x$exec_prefix" = xNONE
13547
12585
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13548
12586
       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13549
12587
       ;;
 
12588
     *)
 
12589
       case $am_py_exec_prefix in
 
12590
         /usr|/System*) ;;
 
12591
         *)
 
12592
           am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
 
12593
           ;;
 
12594
       esac
 
12595
       ;;
13550
12596
     esac
13551
12597
 
13552
12598
fi
13553
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
 
12599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13554
12600
$as_echo "$am_cv_python_pyexecdir" >&6; }
13555
12601
  pyexecdir=$am_cv_python_pyexecdir
13556
12602
 
13565
12611
 
13566
12612
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
13567
12613
set dummy glib-genmarshal; ac_word=$2
13568
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13569
12615
$as_echo_n "checking for $ac_word... " >&6; }
13570
 
if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then
 
12616
if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then :
13571
12617
  $as_echo_n "(cached) " >&6
13572
12618
else
13573
12619
  case $GLIB_GENMARSHAL in
13580
12626
do
13581
12627
  IFS=$as_save_IFS
13582
12628
  test -z "$as_dir" && as_dir=.
13583
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12629
    for ac_exec_ext in '' $ac_executable_extensions; do
13584
12630
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13585
12631
    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
13586
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12632
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13587
12633
    break 2
13588
12634
  fi
13589
12635
done
13590
 
done
 
12636
  done
13591
12637
IFS=$as_save_IFS
13592
12638
 
13593
12639
  ;;
13595
12641
fi
13596
12642
GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
13597
12643
if test -n "$GLIB_GENMARSHAL"; then
13598
 
  { $as_echo "$as_me:$LINENO: result: $GLIB_GENMARSHAL" >&5
 
12644
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
13599
12645
$as_echo "$GLIB_GENMARSHAL" >&6; }
13600
12646
else
13601
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12647
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13602
12648
$as_echo "no" >&6; }
13603
12649
fi
13604
12650
 
13605
12651
 
13606
12652
# Extract the first word of "gconftool-2", so it can be a program name with args.
13607
12653
set dummy gconftool-2; ac_word=$2
13608
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13609
12655
$as_echo_n "checking for $ac_word... " >&6; }
13610
 
if test "${ac_cv_path_GCONFTOOL+set}" = set; then
 
12656
if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
13611
12657
  $as_echo_n "(cached) " >&6
13612
12658
else
13613
12659
  case $GCONFTOOL in
13620
12666
do
13621
12667
  IFS=$as_save_IFS
13622
12668
  test -z "$as_dir" && as_dir=.
13623
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12669
    for ac_exec_ext in '' $ac_executable_extensions; do
13624
12670
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13625
12671
    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
13626
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12672
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13627
12673
    break 2
13628
12674
  fi
13629
12675
done
13630
 
done
 
12676
  done
13631
12677
IFS=$as_save_IFS
13632
12678
 
13633
12679
  ;;
13635
12681
fi
13636
12682
GCONFTOOL=$ac_cv_path_GCONFTOOL
13637
12683
if test -n "$GCONFTOOL"; then
13638
 
  { $as_echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
 
12684
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
13639
12685
$as_echo "$GCONFTOOL" >&6; }
13640
12686
else
13641
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12687
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13642
12688
$as_echo "no" >&6; }
13643
12689
fi
13644
12690
 
13647
12693
 
13648
12694
 
13649
12695
    # Check whether --enable-compile-warnings was given.
13650
 
if test "${enable_compile_warnings+set}" = set; then
 
12696
if test "${enable_compile_warnings+set}" = set; then :
13651
12697
  enableval=$enable_compile_warnings;
13652
12698
else
13653
12699
  enable_compile_warnings="maximum"
13678
12724
        for option in -Wno-sign-compare; do
13679
12725
                SAVE_CFLAGS="$CFLAGS"
13680
12726
                CFLAGS="$CFLAGS $option"
13681
 
                { $as_echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
 
12727
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
13682
12728
$as_echo_n "checking whether gcc understands $option... " >&6; }
13683
 
                cat >conftest.$ac_ext <<_ACEOF
13684
 
/* confdefs.h.  */
13685
 
_ACEOF
13686
 
cat confdefs.h >>conftest.$ac_ext
13687
 
cat >>conftest.$ac_ext <<_ACEOF
 
12729
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13688
12730
/* end confdefs.h.  */
13689
12731
 
13690
12732
int
13695
12737
  return 0;
13696
12738
}
13697
12739
_ACEOF
13698
 
rm -f conftest.$ac_objext
13699
 
if { (ac_try="$ac_compile"
13700
 
case "(($ac_try" in
13701
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13702
 
  *) ac_try_echo=$ac_try;;
13703
 
esac
13704
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13705
 
$as_echo "$ac_try_echo") >&5
13706
 
  (eval "$ac_compile") 2>conftest.er1
13707
 
  ac_status=$?
13708
 
  grep -v '^ *+' conftest.er1 >conftest.err
13709
 
  rm -f conftest.er1
13710
 
  cat conftest.err >&5
13711
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712
 
  (exit $ac_status); } && {
13713
 
         test -z "$ac_c_werror_flag" ||
13714
 
         test ! -s conftest.err
13715
 
       } && test -s conftest.$ac_objext; then
 
12740
if ac_fn_c_try_compile "$LINENO"; then :
13716
12741
  has_option=yes
13717
12742
else
13718
 
  $as_echo "$as_me: failed program was:" >&5
13719
 
sed 's/^/| /' conftest.$ac_ext >&5
13720
 
 
13721
 
        has_option=no
 
12743
  has_option=no
13722
12744
fi
13723
 
 
13724
12745
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13725
12746
                CFLAGS="$SAVE_CFLAGS"
13726
 
                { $as_echo "$as_me:$LINENO: result: $has_option" >&5
 
12747
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
13727
12748
$as_echo "$has_option" >&6; }
13728
12749
                if test $has_option = yes; then
13729
12750
                  warning_flags="$warning_flags $option"
13737
12758
        fi
13738
12759
        ;;
13739
12760
    *)
13740
 
        { { $as_echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
13741
 
$as_echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
13742
 
   { (exit 1); exit 1; }; }
 
12761
        as_fn_error "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
13743
12762
        ;;
13744
12763
    esac
13745
12764
    CFLAGS="$realsave_CFLAGS"
13746
 
    { $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
 
12765
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
13747
12766
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
13748
 
    { $as_echo "$as_me:$LINENO: result: $warning_flags" >&5
 
12767
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
13749
12768
$as_echo "$warning_flags" >&6; }
13750
12769
 
13751
12770
    # Check whether --enable-iso-c was given.
13752
 
if test "${enable_iso_c+set}" = set; then
 
12771
if test "${enable_iso_c+set}" = set; then :
13753
12772
  enableval=$enable_iso_c;
13754
12773
else
13755
12774
  enable_iso_c=no
13756
12775
fi
13757
12776
 
13758
12777
 
13759
 
    { $as_echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
 
12778
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
13760
12779
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
13761
12780
    complCFLAGS=
13762
12781
    if test "x$enable_iso_c" != "xno"; then
13771
12790
        esac
13772
12791
        fi
13773
12792
    fi
13774
 
    { $as_echo "$as_me:$LINENO: result: $complCFLAGS" >&5
 
12793
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
13775
12794
$as_echo "$complCFLAGS" >&6; }
13776
12795
 
13777
12796
    WARN_CFLAGS="$warning_flags $complCFLAGS"
13779
12798
 
13780
12799
 
13781
12800
# Check whether --enable-deprecations was given.
13782
 
if test "${enable_deprecations+set}" = set; then
 
12801
if test "${enable_deprecations+set}" = set; then :
13783
12802
  enableval=$enable_deprecations;
13784
12803
else
13785
12804
  enable_deprecations=no
13791
12810
 
13792
12811
fi
13793
12812
 
13794
 
 
13795
12813
for ac_header in crt_externs.h
13796
 
do
13797
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13798
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13799
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13800
 
$as_echo_n "checking for $ac_header... " >&6; }
13801
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13802
 
  $as_echo_n "(cached) " >&6
13803
 
fi
13804
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13805
 
                 $as_echo "$as_val"'`
13806
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13807
 
$as_echo "$ac_res" >&6; }
13808
 
else
13809
 
  # Is the header compilable?
13810
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13811
 
$as_echo_n "checking $ac_header usability... " >&6; }
13812
 
cat >conftest.$ac_ext <<_ACEOF
13813
 
/* confdefs.h.  */
13814
 
_ACEOF
13815
 
cat confdefs.h >>conftest.$ac_ext
13816
 
cat >>conftest.$ac_ext <<_ACEOF
13817
 
/* end confdefs.h.  */
13818
 
$ac_includes_default
13819
 
#include <$ac_header>
13820
 
_ACEOF
13821
 
rm -f conftest.$ac_objext
13822
 
if { (ac_try="$ac_compile"
13823
 
case "(($ac_try" in
13824
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13825
 
  *) ac_try_echo=$ac_try;;
13826
 
esac
13827
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13828
 
$as_echo "$ac_try_echo") >&5
13829
 
  (eval "$ac_compile") 2>conftest.er1
13830
 
  ac_status=$?
13831
 
  grep -v '^ *+' conftest.er1 >conftest.err
13832
 
  rm -f conftest.er1
13833
 
  cat conftest.err >&5
13834
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835
 
  (exit $ac_status); } && {
13836
 
         test -z "$ac_c_werror_flag" ||
13837
 
         test ! -s conftest.err
13838
 
       } && test -s conftest.$ac_objext; then
13839
 
  ac_header_compiler=yes
13840
 
else
13841
 
  $as_echo "$as_me: failed program was:" >&5
13842
 
sed 's/^/| /' conftest.$ac_ext >&5
13843
 
 
13844
 
        ac_header_compiler=no
13845
 
fi
13846
 
 
13847
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13848
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13849
 
$as_echo "$ac_header_compiler" >&6; }
13850
 
 
13851
 
# Is the header present?
13852
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13853
 
$as_echo_n "checking $ac_header presence... " >&6; }
13854
 
cat >conftest.$ac_ext <<_ACEOF
13855
 
/* confdefs.h.  */
13856
 
_ACEOF
13857
 
cat confdefs.h >>conftest.$ac_ext
13858
 
cat >>conftest.$ac_ext <<_ACEOF
13859
 
/* end confdefs.h.  */
13860
 
#include <$ac_header>
13861
 
_ACEOF
13862
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13863
 
case "(($ac_try" in
13864
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13865
 
  *) ac_try_echo=$ac_try;;
13866
 
esac
13867
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13868
 
$as_echo "$ac_try_echo") >&5
13869
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13870
 
  ac_status=$?
13871
 
  grep -v '^ *+' conftest.er1 >conftest.err
13872
 
  rm -f conftest.er1
13873
 
  cat conftest.err >&5
13874
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875
 
  (exit $ac_status); } >/dev/null && {
13876
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13877
 
         test ! -s conftest.err
13878
 
       }; then
13879
 
  ac_header_preproc=yes
13880
 
else
13881
 
  $as_echo "$as_me: failed program was:" >&5
13882
 
sed 's/^/| /' conftest.$ac_ext >&5
13883
 
 
13884
 
  ac_header_preproc=no
13885
 
fi
13886
 
 
13887
 
rm -f conftest.err conftest.$ac_ext
13888
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13889
 
$as_echo "$ac_header_preproc" >&6; }
13890
 
 
13891
 
# So?  What about this header?
13892
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13893
 
  yes:no: )
13894
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13895
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13896
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13897
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13898
 
    ac_header_preproc=yes
13899
 
    ;;
13900
 
  no:yes:* )
13901
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13902
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13903
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
13904
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
13905
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13906
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13907
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
13908
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
13909
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13910
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13911
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13912
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13913
 
    ( cat <<\_ASBOX
13914
 
## -------------------------------------------------------------------------- ##
13915
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-panel ##
13916
 
## -------------------------------------------------------------------------- ##
13917
 
_ASBOX
13918
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
13919
 
    ;;
13920
 
esac
13921
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13922
 
$as_echo_n "checking for $ac_header... " >&6; }
13923
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13924
 
  $as_echo_n "(cached) " >&6
13925
 
else
13926
 
  eval "$as_ac_Header=\$ac_header_preproc"
13927
 
fi
13928
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13929
 
                 $as_echo "$as_val"'`
13930
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13931
 
$as_echo "$ac_res" >&6; }
13932
 
 
13933
 
fi
13934
 
as_val=`eval 'as_val=${'$as_ac_Header'}
13935
 
                 $as_echo "$as_val"'`
13936
 
   if test "x$as_val" = x""yes; then
 
12814
do :
 
12815
  ac_fn_c_check_header_mongrel "$LINENO" "crt_externs.h" "ac_cv_header_crt_externs_h" "$ac_includes_default"
 
12816
if test "x$ac_cv_header_crt_externs_h" = x""yes; then :
13937
12817
  cat >>confdefs.h <<_ACEOF
13938
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
12818
#define HAVE_CRT_EXTERNS_H 1
13939
12819
_ACEOF
13940
12820
 
13941
12821
fi
13942
12822
 
13943
12823
done
13944
12824
 
13945
 
 
13946
12825
for ac_func in _NSGetEnviron
13947
 
do
13948
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13949
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13950
 
$as_echo_n "checking for $ac_func... " >&6; }
13951
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13952
 
  $as_echo_n "(cached) " >&6
13953
 
else
13954
 
  cat >conftest.$ac_ext <<_ACEOF
13955
 
/* confdefs.h.  */
13956
 
_ACEOF
13957
 
cat confdefs.h >>conftest.$ac_ext
13958
 
cat >>conftest.$ac_ext <<_ACEOF
13959
 
/* end confdefs.h.  */
13960
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13961
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13962
 
#define $ac_func innocuous_$ac_func
13963
 
 
13964
 
/* System header to define __stub macros and hopefully few prototypes,
13965
 
    which can conflict with char $ac_func (); below.
13966
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13967
 
    <limits.h> exists even on freestanding compilers.  */
13968
 
 
13969
 
#ifdef __STDC__
13970
 
# include <limits.h>
13971
 
#else
13972
 
# include <assert.h>
13973
 
#endif
13974
 
 
13975
 
#undef $ac_func
13976
 
 
13977
 
/* Override any GCC internal prototype to avoid an error.
13978
 
   Use char because int might match the return type of a GCC
13979
 
   builtin and then its argument prototype would still apply.  */
13980
 
#ifdef __cplusplus
13981
 
extern "C"
13982
 
#endif
13983
 
char $ac_func ();
13984
 
/* The GNU C library defines this for functions which it implements
13985
 
    to always fail with ENOSYS.  Some functions are actually named
13986
 
    something starting with __ and the normal name is an alias.  */
13987
 
#if defined __stub_$ac_func || defined __stub___$ac_func
13988
 
choke me
13989
 
#endif
13990
 
 
13991
 
int
13992
 
main ()
13993
 
{
13994
 
return $ac_func ();
13995
 
  ;
13996
 
  return 0;
13997
 
}
13998
 
_ACEOF
13999
 
rm -f conftest.$ac_objext conftest$ac_exeext
14000
 
if { (ac_try="$ac_link"
14001
 
case "(($ac_try" in
14002
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14003
 
  *) ac_try_echo=$ac_try;;
14004
 
esac
14005
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14006
 
$as_echo "$ac_try_echo") >&5
14007
 
  (eval "$ac_link") 2>conftest.er1
14008
 
  ac_status=$?
14009
 
  grep -v '^ *+' conftest.er1 >conftest.err
14010
 
  rm -f conftest.er1
14011
 
  cat conftest.err >&5
14012
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013
 
  (exit $ac_status); } && {
14014
 
         test -z "$ac_c_werror_flag" ||
14015
 
         test ! -s conftest.err
14016
 
       } && test -s conftest$ac_exeext && {
14017
 
         test "$cross_compiling" = yes ||
14018
 
         $as_test_x conftest$ac_exeext
14019
 
       }; then
14020
 
  eval "$as_ac_var=yes"
14021
 
else
14022
 
  $as_echo "$as_me: failed program was:" >&5
14023
 
sed 's/^/| /' conftest.$ac_ext >&5
14024
 
 
14025
 
        eval "$as_ac_var=no"
14026
 
fi
14027
 
 
14028
 
rm -rf conftest.dSYM
14029
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14030
 
      conftest$ac_exeext conftest.$ac_ext
14031
 
fi
14032
 
ac_res=`eval 'as_val=${'$as_ac_var'}
14033
 
                 $as_echo "$as_val"'`
14034
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14035
 
$as_echo "$ac_res" >&6; }
14036
 
as_val=`eval 'as_val=${'$as_ac_var'}
14037
 
                 $as_echo "$as_val"'`
14038
 
   if test "x$as_val" = x""yes; then
 
12826
do :
 
12827
  ac_fn_c_check_func "$LINENO" "_NSGetEnviron" "ac_cv_func__NSGetEnviron"
 
12828
if test "x$ac_cv_func__NSGetEnviron" = x""yes; then :
14039
12829
  cat >>confdefs.h <<_ACEOF
14040
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
12830
#define HAVE__NSGETENVIRON 1
14041
12831
_ACEOF
14042
12832
 
14043
12833
fi
14068
12858
        if test -n "$ac_tool_prefix"; then
14069
12859
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14070
12860
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14071
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14072
12862
$as_echo_n "checking for $ac_word... " >&6; }
14073
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
12863
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14074
12864
  $as_echo_n "(cached) " >&6
14075
12865
else
14076
12866
  case $PKG_CONFIG in
14083
12873
do
14084
12874
  IFS=$as_save_IFS
14085
12875
  test -z "$as_dir" && as_dir=.
14086
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12876
    for ac_exec_ext in '' $ac_executable_extensions; do
14087
12877
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14088
12878
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14089
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12879
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14090
12880
    break 2
14091
12881
  fi
14092
12882
done
14093
 
done
 
12883
  done
14094
12884
IFS=$as_save_IFS
14095
12885
 
14096
12886
  ;;
14098
12888
fi
14099
12889
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14100
12890
if test -n "$PKG_CONFIG"; then
14101
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
12891
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14102
12892
$as_echo "$PKG_CONFIG" >&6; }
14103
12893
else
14104
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12894
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14105
12895
$as_echo "no" >&6; }
14106
12896
fi
14107
12897
 
14111
12901
  ac_pt_PKG_CONFIG=$PKG_CONFIG
14112
12902
  # Extract the first word of "pkg-config", so it can be a program name with args.
14113
12903
set dummy pkg-config; ac_word=$2
14114
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14115
12905
$as_echo_n "checking for $ac_word... " >&6; }
14116
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
12906
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
14117
12907
  $as_echo_n "(cached) " >&6
14118
12908
else
14119
12909
  case $ac_pt_PKG_CONFIG in
14126
12916
do
14127
12917
  IFS=$as_save_IFS
14128
12918
  test -z "$as_dir" && as_dir=.
14129
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12919
    for ac_exec_ext in '' $ac_executable_extensions; do
14130
12920
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14131
12921
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14132
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12922
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14133
12923
    break 2
14134
12924
  fi
14135
12925
done
14136
 
done
 
12926
  done
14137
12927
IFS=$as_save_IFS
14138
12928
 
14139
12929
  ;;
14141
12931
fi
14142
12932
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14143
12933
if test -n "$ac_pt_PKG_CONFIG"; then
14144
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
12934
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14145
12935
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14146
12936
else
14147
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12937
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14148
12938
$as_echo "no" >&6; }
14149
12939
fi
14150
12940
 
14153
12943
  else
14154
12944
    case $cross_compiling:$ac_tool_warned in
14155
12945
yes:)
14156
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
12946
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14157
12947
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14158
12948
ac_tool_warned=yes ;;
14159
12949
esac
14166
12956
fi
14167
12957
if test -n "$PKG_CONFIG"; then
14168
12958
        _pkg_min_version=0.9.0
14169
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
12959
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14170
12960
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14171
12961
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14172
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12962
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14173
12963
$as_echo "yes" >&6; }
14174
12964
        else
14175
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
12965
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14176
12966
$as_echo "no" >&6; }
14177
12967
                PKG_CONFIG=""
14178
12968
        fi
14180
12970
fi
14181
12971
 
14182
12972
pkg_failed=no
14183
 
{ $as_echo "$as_me:$LINENO: checking for EGG_SMCLIENT" >&5
 
12973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGG_SMCLIENT" >&5
14184
12974
$as_echo_n "checking for EGG_SMCLIENT... " >&6; }
14185
12975
 
14186
12976
if test -n "$EGG_SMCLIENT_CFLAGS"; then
14187
12977
    pkg_cv_EGG_SMCLIENT_CFLAGS="$EGG_SMCLIENT_CFLAGS"
14188
12978
 elif test -n "$PKG_CONFIG"; then
14189
12979
    if test -n "$PKG_CONFIG" && \
14190
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ice sm gtk+-2.0\"") >&5
 
12980
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ice sm gtk+-2.0\""; } >&5
14191
12981
  ($PKG_CONFIG --exists --print-errors "ice sm gtk+-2.0") 2>&5
14192
12982
  ac_status=$?
14193
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194
 
  (exit $ac_status); }; then
 
12983
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12984
  test $ac_status = 0; }; then
14195
12985
  pkg_cv_EGG_SMCLIENT_CFLAGS=`$PKG_CONFIG --cflags "ice sm gtk+-2.0" 2>/dev/null`
14196
12986
else
14197
12987
  pkg_failed=yes
14203
12993
    pkg_cv_EGG_SMCLIENT_LIBS="$EGG_SMCLIENT_LIBS"
14204
12994
 elif test -n "$PKG_CONFIG"; then
14205
12995
    if test -n "$PKG_CONFIG" && \
14206
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ice sm gtk+-2.0\"") >&5
 
12996
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ice sm gtk+-2.0\""; } >&5
14207
12997
  ($PKG_CONFIG --exists --print-errors "ice sm gtk+-2.0") 2>&5
14208
12998
  ac_status=$?
14209
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210
 
  (exit $ac_status); }; then
 
12999
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13000
  test $ac_status = 0; }; then
14211
13001
  pkg_cv_EGG_SMCLIENT_LIBS=`$PKG_CONFIG --libs "ice sm gtk+-2.0" 2>/dev/null`
14212
13002
else
14213
13003
  pkg_failed=yes
14233
13023
        # Put the nasty error message in config.log where it belongs
14234
13024
        echo "$EGG_SMCLIENT_PKG_ERRORS" >&5
14235
13025
 
14236
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (ice sm gtk+-2.0) were not met:
14237
 
 
14238
 
$EGG_SMCLIENT_PKG_ERRORS
14239
 
 
14240
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14241
 
installed software in a non-standard prefix.
14242
 
 
14243
 
Alternatively, you may set the environment variables EGG_SMCLIENT_CFLAGS
14244
 
and EGG_SMCLIENT_LIBS to avoid the need to call pkg-config.
14245
 
See the pkg-config man page for more details.
14246
 
" >&5
14247
 
$as_echo "$as_me: error: Package requirements (ice sm gtk+-2.0) were not met:
14248
 
 
14249
 
$EGG_SMCLIENT_PKG_ERRORS
14250
 
 
14251
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14252
 
installed software in a non-standard prefix.
14253
 
 
14254
 
Alternatively, you may set the environment variables EGG_SMCLIENT_CFLAGS
14255
 
and EGG_SMCLIENT_LIBS to avoid the need to call pkg-config.
14256
 
See the pkg-config man page for more details.
14257
 
" >&2;}
14258
 
   { (exit 1); exit 1; }; }
 
13026
        as_fn_error "Package requirements (ice sm gtk+-2.0) were not met:
 
13027
 
 
13028
$EGG_SMCLIENT_PKG_ERRORS
 
13029
 
 
13030
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13031
installed software in a non-standard prefix.
 
13032
 
 
13033
Alternatively, you may set the environment variables EGG_SMCLIENT_CFLAGS
 
13034
and EGG_SMCLIENT_LIBS to avoid the need to call pkg-config.
 
13035
See the pkg-config man page for more details.
 
13036
" "$LINENO" 5
14259
13037
elif test $pkg_failed = untried; then
14260
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13038
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14261
13039
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14262
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14263
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14264
 
path to pkg-config.
14265
 
 
14266
 
Alternatively, you may set the environment variables EGG_SMCLIENT_CFLAGS
14267
 
and EGG_SMCLIENT_LIBS to avoid the need to call pkg-config.
14268
 
See the pkg-config man page for more details.
14269
 
 
14270
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14271
 
See \`config.log' for more details." >&5
14272
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14273
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14274
 
path to pkg-config.
14275
 
 
14276
 
Alternatively, you may set the environment variables EGG_SMCLIENT_CFLAGS
14277
 
and EGG_SMCLIENT_LIBS to avoid the need to call pkg-config.
14278
 
See the pkg-config man page for more details.
14279
 
 
14280
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14281
 
See \`config.log' for more details." >&2;}
14282
 
   { (exit 1); exit 1; }; }; }
 
13040
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
13041
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13042
path to pkg-config.
 
13043
 
 
13044
Alternatively, you may set the environment variables EGG_SMCLIENT_CFLAGS
 
13045
and EGG_SMCLIENT_LIBS to avoid the need to call pkg-config.
 
13046
See the pkg-config man page for more details.
 
13047
 
 
13048
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13049
See \`config.log' for more details." "$LINENO" 5; }
14283
13050
else
14284
13051
        EGG_SMCLIENT_CFLAGS=$pkg_cv_EGG_SMCLIENT_CFLAGS
14285
13052
        EGG_SMCLIENT_LIBS=$pkg_cv_EGG_SMCLIENT_LIBS
14286
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13053
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14287
13054
$as_echo "yes" >&6; }
14288
13055
        :
14289
13056
fi
14290
13057
 
14291
13058
 
14292
13059
pkg_failed=no
14293
 
{ $as_echo "$as_me:$LINENO: checking for PANEL" >&5
 
13060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANEL" >&5
14294
13061
$as_echo_n "checking for PANEL... " >&6; }
14295
13062
 
14296
13063
if test -n "$PANEL_CFLAGS"; then
14297
13064
    pkg_cv_PANEL_CFLAGS="$PANEL_CFLAGS"
14298
13065
 elif test -n "$PKG_CONFIG"; then
14299
13066
    if test -n "$PKG_CONFIG" && \
14300
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ORBit-2.0 >= \$ORBIT_REQUIRED gdk-pixbuf-2.0 >= \$GDK_PIXBUF_REQUIRED pango >= \$PANGO_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED glib-2.0 >= \$GLIB_REQUIRED gio-2.0 >= \$GLIB_REQUIRED gio-unix-2.0 >= \$GLIB_REQUIRED libbonoboui-2.0 >= \$LIBBONOBOUI_REQUIRED gnome-desktop-2.0 >= \$LIBGNOME_DESKTOP_REQUIRED gconf-2.0 >= \$GCONF_REQUIRED libgnome-menu >= \$LIBGNOME_MENU_REQUIRED dbus-glib-1 >= \$DBUS_GLIB_REQUIRED libcanberra-gtk\"") >&5
 
13067
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ORBit-2.0 >= \$ORBIT_REQUIRED gdk-pixbuf-2.0 >= \$GDK_PIXBUF_REQUIRED pango >= \$PANGO_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED glib-2.0 >= \$GLIB_REQUIRED gio-2.0 >= \$GLIB_REQUIRED gio-unix-2.0 >= \$GLIB_REQUIRED libbonoboui-2.0 >= \$LIBBONOBOUI_REQUIRED gnome-desktop-2.0 >= \$LIBGNOME_DESKTOP_REQUIRED gconf-2.0 >= \$GCONF_REQUIRED libgnome-menu >= \$LIBGNOME_MENU_REQUIRED dbus-glib-1 >= \$DBUS_GLIB_REQUIRED libcanberra-gtk\""; } >&5
14301
13068
  ($PKG_CONFIG --exists --print-errors "ORBit-2.0 >= $ORBIT_REQUIRED gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED pango >= $PANGO_REQUIRED gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GLIB_REQUIRED gio-unix-2.0 >= $GLIB_REQUIRED libbonoboui-2.0 >= $LIBBONOBOUI_REQUIRED gnome-desktop-2.0 >= $LIBGNOME_DESKTOP_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libgnome-menu >= $LIBGNOME_MENU_REQUIRED dbus-glib-1 >= $DBUS_GLIB_REQUIRED libcanberra-gtk") 2>&5
14302
13069
  ac_status=$?
14303
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304
 
  (exit $ac_status); }; then
 
13070
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13071
  test $ac_status = 0; }; then
14305
13072
  pkg_cv_PANEL_CFLAGS=`$PKG_CONFIG --cflags "ORBit-2.0 >= $ORBIT_REQUIRED gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED pango >= $PANGO_REQUIRED gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GLIB_REQUIRED gio-unix-2.0 >= $GLIB_REQUIRED libbonoboui-2.0 >= $LIBBONOBOUI_REQUIRED gnome-desktop-2.0 >= $LIBGNOME_DESKTOP_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libgnome-menu >= $LIBGNOME_MENU_REQUIRED dbus-glib-1 >= $DBUS_GLIB_REQUIRED libcanberra-gtk" 2>/dev/null`
14306
13073
else
14307
13074
  pkg_failed=yes
14313
13080
    pkg_cv_PANEL_LIBS="$PANEL_LIBS"
14314
13081
 elif test -n "$PKG_CONFIG"; then
14315
13082
    if test -n "$PKG_CONFIG" && \
14316
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ORBit-2.0 >= \$ORBIT_REQUIRED gdk-pixbuf-2.0 >= \$GDK_PIXBUF_REQUIRED pango >= \$PANGO_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED glib-2.0 >= \$GLIB_REQUIRED gio-2.0 >= \$GLIB_REQUIRED gio-unix-2.0 >= \$GLIB_REQUIRED libbonoboui-2.0 >= \$LIBBONOBOUI_REQUIRED gnome-desktop-2.0 >= \$LIBGNOME_DESKTOP_REQUIRED gconf-2.0 >= \$GCONF_REQUIRED libgnome-menu >= \$LIBGNOME_MENU_REQUIRED dbus-glib-1 >= \$DBUS_GLIB_REQUIRED libcanberra-gtk\"") >&5
 
13083
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ORBit-2.0 >= \$ORBIT_REQUIRED gdk-pixbuf-2.0 >= \$GDK_PIXBUF_REQUIRED pango >= \$PANGO_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED glib-2.0 >= \$GLIB_REQUIRED gio-2.0 >= \$GLIB_REQUIRED gio-unix-2.0 >= \$GLIB_REQUIRED libbonoboui-2.0 >= \$LIBBONOBOUI_REQUIRED gnome-desktop-2.0 >= \$LIBGNOME_DESKTOP_REQUIRED gconf-2.0 >= \$GCONF_REQUIRED libgnome-menu >= \$LIBGNOME_MENU_REQUIRED dbus-glib-1 >= \$DBUS_GLIB_REQUIRED libcanberra-gtk\""; } >&5
14317
13084
  ($PKG_CONFIG --exists --print-errors "ORBit-2.0 >= $ORBIT_REQUIRED gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED pango >= $PANGO_REQUIRED gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GLIB_REQUIRED gio-unix-2.0 >= $GLIB_REQUIRED libbonoboui-2.0 >= $LIBBONOBOUI_REQUIRED gnome-desktop-2.0 >= $LIBGNOME_DESKTOP_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libgnome-menu >= $LIBGNOME_MENU_REQUIRED dbus-glib-1 >= $DBUS_GLIB_REQUIRED libcanberra-gtk") 2>&5
14318
13085
  ac_status=$?
14319
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320
 
  (exit $ac_status); }; then
 
13086
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13087
  test $ac_status = 0; }; then
14321
13088
  pkg_cv_PANEL_LIBS=`$PKG_CONFIG --libs "ORBit-2.0 >= $ORBIT_REQUIRED gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED pango >= $PANGO_REQUIRED gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GLIB_REQUIRED gio-unix-2.0 >= $GLIB_REQUIRED libbonoboui-2.0 >= $LIBBONOBOUI_REQUIRED gnome-desktop-2.0 >= $LIBGNOME_DESKTOP_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libgnome-menu >= $LIBGNOME_MENU_REQUIRED dbus-glib-1 >= $DBUS_GLIB_REQUIRED libcanberra-gtk" 2>/dev/null`
14322
13089
else
14323
13090
  pkg_failed=yes
14343
13110
        # Put the nasty error message in config.log where it belongs
14344
13111
        echo "$PANEL_PKG_ERRORS" >&5
14345
13112
 
14346
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (ORBit-2.0 >= $ORBIT_REQUIRED gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED pango >= $PANGO_REQUIRED gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GLIB_REQUIRED gio-unix-2.0 >= $GLIB_REQUIRED libbonoboui-2.0 >= $LIBBONOBOUI_REQUIRED gnome-desktop-2.0 >= $LIBGNOME_DESKTOP_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libgnome-menu >= $LIBGNOME_MENU_REQUIRED dbus-glib-1 >= $DBUS_GLIB_REQUIRED libcanberra-gtk) were not met:
14347
 
 
14348
 
$PANEL_PKG_ERRORS
14349
 
 
14350
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14351
 
installed software in a non-standard prefix.
14352
 
 
14353
 
Alternatively, you may set the environment variables PANEL_CFLAGS
14354
 
and PANEL_LIBS to avoid the need to call pkg-config.
14355
 
See the pkg-config man page for more details.
14356
 
" >&5
14357
 
$as_echo "$as_me: error: Package requirements (ORBit-2.0 >= $ORBIT_REQUIRED gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED pango >= $PANGO_REQUIRED gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GLIB_REQUIRED gio-unix-2.0 >= $GLIB_REQUIRED libbonoboui-2.0 >= $LIBBONOBOUI_REQUIRED gnome-desktop-2.0 >= $LIBGNOME_DESKTOP_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libgnome-menu >= $LIBGNOME_MENU_REQUIRED dbus-glib-1 >= $DBUS_GLIB_REQUIRED libcanberra-gtk) were not met:
14358
 
 
14359
 
$PANEL_PKG_ERRORS
14360
 
 
14361
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14362
 
installed software in a non-standard prefix.
14363
 
 
14364
 
Alternatively, you may set the environment variables PANEL_CFLAGS
14365
 
and PANEL_LIBS to avoid the need to call pkg-config.
14366
 
See the pkg-config man page for more details.
14367
 
" >&2;}
14368
 
   { (exit 1); exit 1; }; }
 
13113
        as_fn_error "Package requirements (ORBit-2.0 >= $ORBIT_REQUIRED gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED pango >= $PANGO_REQUIRED gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GLIB_REQUIRED gio-unix-2.0 >= $GLIB_REQUIRED libbonoboui-2.0 >= $LIBBONOBOUI_REQUIRED gnome-desktop-2.0 >= $LIBGNOME_DESKTOP_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libgnome-menu >= $LIBGNOME_MENU_REQUIRED dbus-glib-1 >= $DBUS_GLIB_REQUIRED libcanberra-gtk) were not met:
 
13114
 
 
13115
$PANEL_PKG_ERRORS
 
13116
 
 
13117
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13118
installed software in a non-standard prefix.
 
13119
 
 
13120
Alternatively, you may set the environment variables PANEL_CFLAGS
 
13121
and PANEL_LIBS to avoid the need to call pkg-config.
 
13122
See the pkg-config man page for more details.
 
13123
" "$LINENO" 5
14369
13124
elif test $pkg_failed = untried; then
14370
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13125
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14371
13126
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14372
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14373
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14374
 
path to pkg-config.
14375
 
 
14376
 
Alternatively, you may set the environment variables PANEL_CFLAGS
14377
 
and PANEL_LIBS to avoid the need to call pkg-config.
14378
 
See the pkg-config man page for more details.
14379
 
 
14380
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14381
 
See \`config.log' for more details." >&5
14382
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14383
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14384
 
path to pkg-config.
14385
 
 
14386
 
Alternatively, you may set the environment variables PANEL_CFLAGS
14387
 
and PANEL_LIBS to avoid the need to call pkg-config.
14388
 
See the pkg-config man page for more details.
14389
 
 
14390
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14391
 
See \`config.log' for more details." >&2;}
14392
 
   { (exit 1); exit 1; }; }; }
 
13127
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
13128
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13129
path to pkg-config.
 
13130
 
 
13131
Alternatively, you may set the environment variables PANEL_CFLAGS
 
13132
and PANEL_LIBS to avoid the need to call pkg-config.
 
13133
See the pkg-config man page for more details.
 
13134
 
 
13135
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13136
See \`config.log' for more details." "$LINENO" 5; }
14393
13137
else
14394
13138
        PANEL_CFLAGS=$pkg_cv_PANEL_CFLAGS
14395
13139
        PANEL_LIBS=$pkg_cv_PANEL_LIBS
14396
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13140
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14397
13141
$as_echo "yes" >&6; }
14398
13142
        :
14399
13143
fi
14402
13146
 
14403
13147
 
14404
13148
pkg_failed=no
14405
 
{ $as_echo "$as_me:$LINENO: checking for LIBPANEL_APPLET" >&5
 
13149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPANEL_APPLET" >&5
14406
13150
$as_echo_n "checking for LIBPANEL_APPLET... " >&6; }
14407
13151
 
14408
13152
if test -n "$LIBPANEL_APPLET_CFLAGS"; then
14409
13153
    pkg_cv_LIBPANEL_APPLET_CFLAGS="$LIBPANEL_APPLET_CFLAGS"
14410
13154
 elif test -n "$PKG_CONFIG"; then
14411
13155
    if test -n "$PKG_CONFIG" && \
14412
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ORBit-2.0 >= \$ORBIT_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED libbonoboui-2.0 >= \$LIBBONOBOUI_REQUIRED gconf-2.0 >= \$GCONF_REQUIRED\"") >&5
 
13156
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ORBit-2.0 >= \$ORBIT_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED libbonoboui-2.0 >= \$LIBBONOBOUI_REQUIRED gconf-2.0 >= \$GCONF_REQUIRED\""; } >&5
14413
13157
  ($PKG_CONFIG --exists --print-errors "ORBit-2.0 >= $ORBIT_REQUIRED gtk+-2.0 >= $GTK_REQUIRED libbonoboui-2.0 >= $LIBBONOBOUI_REQUIRED gconf-2.0 >= $GCONF_REQUIRED") 2>&5
14414
13158
  ac_status=$?
14415
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416
 
  (exit $ac_status); }; then
 
13159
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13160
  test $ac_status = 0; }; then
14417
13161
  pkg_cv_LIBPANEL_APPLET_CFLAGS=`$PKG_CONFIG --cflags "ORBit-2.0 >= $ORBIT_REQUIRED gtk+-2.0 >= $GTK_REQUIRED libbonoboui-2.0 >= $LIBBONOBOUI_REQUIRED gconf-2.0 >= $GCONF_REQUIRED" 2>/dev/null`
14418
13162
else
14419
13163
  pkg_failed=yes
14425
13169
    pkg_cv_LIBPANEL_APPLET_LIBS="$LIBPANEL_APPLET_LIBS"
14426
13170
 elif test -n "$PKG_CONFIG"; then
14427
13171
    if test -n "$PKG_CONFIG" && \
14428
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ORBit-2.0 >= \$ORBIT_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED libbonoboui-2.0 >= \$LIBBONOBOUI_REQUIRED gconf-2.0 >= \$GCONF_REQUIRED\"") >&5
 
13172
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ORBit-2.0 >= \$ORBIT_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED libbonoboui-2.0 >= \$LIBBONOBOUI_REQUIRED gconf-2.0 >= \$GCONF_REQUIRED\""; } >&5
14429
13173
  ($PKG_CONFIG --exists --print-errors "ORBit-2.0 >= $ORBIT_REQUIRED gtk+-2.0 >= $GTK_REQUIRED libbonoboui-2.0 >= $LIBBONOBOUI_REQUIRED gconf-2.0 >= $GCONF_REQUIRED") 2>&5
14430
13174
  ac_status=$?
14431
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432
 
  (exit $ac_status); }; then
 
13175
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13176
  test $ac_status = 0; }; then
14433
13177
  pkg_cv_LIBPANEL_APPLET_LIBS=`$PKG_CONFIG --libs "ORBit-2.0 >= $ORBIT_REQUIRED gtk+-2.0 >= $GTK_REQUIRED libbonoboui-2.0 >= $LIBBONOBOUI_REQUIRED gconf-2.0 >= $GCONF_REQUIRED" 2>/dev/null`
14434
13178
else
14435
13179
  pkg_failed=yes
14455
13199
        # Put the nasty error message in config.log where it belongs
14456
13200
        echo "$LIBPANEL_APPLET_PKG_ERRORS" >&5
14457
13201
 
14458
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (ORBit-2.0 >= $ORBIT_REQUIRED gtk+-2.0 >= $GTK_REQUIRED libbonoboui-2.0 >= $LIBBONOBOUI_REQUIRED gconf-2.0 >= $GCONF_REQUIRED) were not met:
14459
 
 
14460
 
$LIBPANEL_APPLET_PKG_ERRORS
14461
 
 
14462
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14463
 
installed software in a non-standard prefix.
14464
 
 
14465
 
Alternatively, you may set the environment variables LIBPANEL_APPLET_CFLAGS
14466
 
and LIBPANEL_APPLET_LIBS to avoid the need to call pkg-config.
14467
 
See the pkg-config man page for more details.
14468
 
" >&5
14469
 
$as_echo "$as_me: error: Package requirements (ORBit-2.0 >= $ORBIT_REQUIRED gtk+-2.0 >= $GTK_REQUIRED libbonoboui-2.0 >= $LIBBONOBOUI_REQUIRED gconf-2.0 >= $GCONF_REQUIRED) were not met:
14470
 
 
14471
 
$LIBPANEL_APPLET_PKG_ERRORS
14472
 
 
14473
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14474
 
installed software in a non-standard prefix.
14475
 
 
14476
 
Alternatively, you may set the environment variables LIBPANEL_APPLET_CFLAGS
14477
 
and LIBPANEL_APPLET_LIBS to avoid the need to call pkg-config.
14478
 
See the pkg-config man page for more details.
14479
 
" >&2;}
14480
 
   { (exit 1); exit 1; }; }
 
13202
        as_fn_error "Package requirements (ORBit-2.0 >= $ORBIT_REQUIRED gtk+-2.0 >= $GTK_REQUIRED libbonoboui-2.0 >= $LIBBONOBOUI_REQUIRED gconf-2.0 >= $GCONF_REQUIRED) were not met:
 
13203
 
 
13204
$LIBPANEL_APPLET_PKG_ERRORS
 
13205
 
 
13206
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13207
installed software in a non-standard prefix.
 
13208
 
 
13209
Alternatively, you may set the environment variables LIBPANEL_APPLET_CFLAGS
 
13210
and LIBPANEL_APPLET_LIBS to avoid the need to call pkg-config.
 
13211
See the pkg-config man page for more details.
 
13212
" "$LINENO" 5
14481
13213
elif test $pkg_failed = untried; then
14482
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13214
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14483
13215
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14484
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14485
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14486
 
path to pkg-config.
14487
 
 
14488
 
Alternatively, you may set the environment variables LIBPANEL_APPLET_CFLAGS
14489
 
and LIBPANEL_APPLET_LIBS to avoid the need to call pkg-config.
14490
 
See the pkg-config man page for more details.
14491
 
 
14492
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14493
 
See \`config.log' for more details." >&5
14494
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14495
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14496
 
path to pkg-config.
14497
 
 
14498
 
Alternatively, you may set the environment variables LIBPANEL_APPLET_CFLAGS
14499
 
and LIBPANEL_APPLET_LIBS to avoid the need to call pkg-config.
14500
 
See the pkg-config man page for more details.
14501
 
 
14502
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14503
 
See \`config.log' for more details." >&2;}
14504
 
   { (exit 1); exit 1; }; }; }
 
13216
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
13217
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13218
path to pkg-config.
 
13219
 
 
13220
Alternatively, you may set the environment variables LIBPANEL_APPLET_CFLAGS
 
13221
and LIBPANEL_APPLET_LIBS to avoid the need to call pkg-config.
 
13222
See the pkg-config man page for more details.
 
13223
 
 
13224
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13225
See \`config.log' for more details." "$LINENO" 5; }
14505
13226
else
14506
13227
        LIBPANEL_APPLET_CFLAGS=$pkg_cv_LIBPANEL_APPLET_CFLAGS
14507
13228
        LIBPANEL_APPLET_LIBS=$pkg_cv_LIBPANEL_APPLET_LIBS
14508
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13229
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14509
13230
$as_echo "yes" >&6; }
14510
13231
        :
14511
13232
fi
14514
13235
 
14515
13236
 
14516
13237
pkg_failed=no
14517
 
{ $as_echo "$as_me:$LINENO: checking for FISH" >&5
 
13238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FISH" >&5
14518
13239
$as_echo_n "checking for FISH... " >&6; }
14519
13240
 
14520
13241
if test -n "$FISH_CFLAGS"; then
14521
13242
    pkg_cv_FISH_CFLAGS="$FISH_CFLAGS"
14522
13243
 elif test -n "$PKG_CONFIG"; then
14523
13244
    if test -n "$PKG_CONFIG" && \
14524
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED cairo >= \$CAIRO_REQUIRED\"") >&5
 
13245
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED cairo >= \$CAIRO_REQUIRED\""; } >&5
14525
13246
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED cairo >= $CAIRO_REQUIRED") 2>&5
14526
13247
  ac_status=$?
14527
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528
 
  (exit $ac_status); }; then
 
13248
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13249
  test $ac_status = 0; }; then
14529
13250
  pkg_cv_FISH_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED cairo >= $CAIRO_REQUIRED" 2>/dev/null`
14530
13251
else
14531
13252
  pkg_failed=yes
14537
13258
    pkg_cv_FISH_LIBS="$FISH_LIBS"
14538
13259
 elif test -n "$PKG_CONFIG"; then
14539
13260
    if test -n "$PKG_CONFIG" && \
14540
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED cairo >= \$CAIRO_REQUIRED\"") >&5
 
13261
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED cairo >= \$CAIRO_REQUIRED\""; } >&5
14541
13262
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED cairo >= $CAIRO_REQUIRED") 2>&5
14542
13263
  ac_status=$?
14543
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14544
 
  (exit $ac_status); }; then
 
13264
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13265
  test $ac_status = 0; }; then
14545
13266
  pkg_cv_FISH_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED cairo >= $CAIRO_REQUIRED" 2>/dev/null`
14546
13267
else
14547
13268
  pkg_failed=yes
14567
13288
        # Put the nasty error message in config.log where it belongs
14568
13289
        echo "$FISH_PKG_ERRORS" >&5
14569
13290
 
14570
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= $GTK_REQUIRED cairo >= $CAIRO_REQUIRED) were not met:
14571
 
 
14572
 
$FISH_PKG_ERRORS
14573
 
 
14574
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14575
 
installed software in a non-standard prefix.
14576
 
 
14577
 
Alternatively, you may set the environment variables FISH_CFLAGS
14578
 
and FISH_LIBS to avoid the need to call pkg-config.
14579
 
See the pkg-config man page for more details.
14580
 
" >&5
14581
 
$as_echo "$as_me: error: Package requirements (gtk+-2.0 >= $GTK_REQUIRED cairo >= $CAIRO_REQUIRED) were not met:
14582
 
 
14583
 
$FISH_PKG_ERRORS
14584
 
 
14585
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14586
 
installed software in a non-standard prefix.
14587
 
 
14588
 
Alternatively, you may set the environment variables FISH_CFLAGS
14589
 
and FISH_LIBS to avoid the need to call pkg-config.
14590
 
See the pkg-config man page for more details.
14591
 
" >&2;}
14592
 
   { (exit 1); exit 1; }; }
 
13291
        as_fn_error "Package requirements (gtk+-2.0 >= $GTK_REQUIRED cairo >= $CAIRO_REQUIRED) were not met:
 
13292
 
 
13293
$FISH_PKG_ERRORS
 
13294
 
 
13295
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13296
installed software in a non-standard prefix.
 
13297
 
 
13298
Alternatively, you may set the environment variables FISH_CFLAGS
 
13299
and FISH_LIBS to avoid the need to call pkg-config.
 
13300
See the pkg-config man page for more details.
 
13301
" "$LINENO" 5
14593
13302
elif test $pkg_failed = untried; then
14594
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13303
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14595
13304
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14596
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14597
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14598
 
path to pkg-config.
14599
 
 
14600
 
Alternatively, you may set the environment variables FISH_CFLAGS
14601
 
and FISH_LIBS to avoid the need to call pkg-config.
14602
 
See the pkg-config man page for more details.
14603
 
 
14604
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14605
 
See \`config.log' for more details." >&5
14606
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14607
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14608
 
path to pkg-config.
14609
 
 
14610
 
Alternatively, you may set the environment variables FISH_CFLAGS
14611
 
and FISH_LIBS to avoid the need to call pkg-config.
14612
 
See the pkg-config man page for more details.
14613
 
 
14614
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14615
 
See \`config.log' for more details." >&2;}
14616
 
   { (exit 1); exit 1; }; }; }
 
13305
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
13306
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13307
path to pkg-config.
 
13308
 
 
13309
Alternatively, you may set the environment variables FISH_CFLAGS
 
13310
and FISH_LIBS to avoid the need to call pkg-config.
 
13311
See the pkg-config man page for more details.
 
13312
 
 
13313
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13314
See \`config.log' for more details." "$LINENO" 5; }
14617
13315
else
14618
13316
        FISH_CFLAGS=$pkg_cv_FISH_CFLAGS
14619
13317
        FISH_LIBS=$pkg_cv_FISH_LIBS
14620
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13318
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14621
13319
$as_echo "yes" >&6; }
14622
13320
        :
14623
13321
fi
14626
13324
 
14627
13325
 
14628
13326
pkg_failed=no
14629
 
{ $as_echo "$as_me:$LINENO: checking for NOTIFICATION_AREA" >&5
 
13327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NOTIFICATION_AREA" >&5
14630
13328
$as_echo_n "checking for NOTIFICATION_AREA... " >&6; }
14631
13329
 
14632
13330
if test -n "$NOTIFICATION_AREA_CFLAGS"; then
14633
13331
    pkg_cv_NOTIFICATION_AREA_CFLAGS="$NOTIFICATION_AREA_CFLAGS"
14634
13332
 elif test -n "$PKG_CONFIG"; then
14635
13333
    if test -n "$PKG_CONFIG" && \
14636
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED\"") >&5
 
13334
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED\""; } >&5
14637
13335
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED") 2>&5
14638
13336
  ac_status=$?
14639
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640
 
  (exit $ac_status); }; then
 
13337
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13338
  test $ac_status = 0; }; then
14641
13339
  pkg_cv_NOTIFICATION_AREA_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED" 2>/dev/null`
14642
13340
else
14643
13341
  pkg_failed=yes
14649
13347
    pkg_cv_NOTIFICATION_AREA_LIBS="$NOTIFICATION_AREA_LIBS"
14650
13348
 elif test -n "$PKG_CONFIG"; then
14651
13349
    if test -n "$PKG_CONFIG" && \
14652
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED\"") >&5
 
13350
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED\""; } >&5
14653
13351
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED") 2>&5
14654
13352
  ac_status=$?
14655
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656
 
  (exit $ac_status); }; then
 
13353
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13354
  test $ac_status = 0; }; then
14657
13355
  pkg_cv_NOTIFICATION_AREA_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED" 2>/dev/null`
14658
13356
else
14659
13357
  pkg_failed=yes
14679
13377
        # Put the nasty error message in config.log where it belongs
14680
13378
        echo "$NOTIFICATION_AREA_PKG_ERRORS" >&5
14681
13379
 
14682
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= $GTK_REQUIRED) were not met:
14683
 
 
14684
 
$NOTIFICATION_AREA_PKG_ERRORS
14685
 
 
14686
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14687
 
installed software in a non-standard prefix.
14688
 
 
14689
 
Alternatively, you may set the environment variables NOTIFICATION_AREA_CFLAGS
14690
 
and NOTIFICATION_AREA_LIBS to avoid the need to call pkg-config.
14691
 
See the pkg-config man page for more details.
14692
 
" >&5
14693
 
$as_echo "$as_me: error: Package requirements (gtk+-2.0 >= $GTK_REQUIRED) were not met:
14694
 
 
14695
 
$NOTIFICATION_AREA_PKG_ERRORS
14696
 
 
14697
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14698
 
installed software in a non-standard prefix.
14699
 
 
14700
 
Alternatively, you may set the environment variables NOTIFICATION_AREA_CFLAGS
14701
 
and NOTIFICATION_AREA_LIBS to avoid the need to call pkg-config.
14702
 
See the pkg-config man page for more details.
14703
 
" >&2;}
14704
 
   { (exit 1); exit 1; }; }
 
13380
        as_fn_error "Package requirements (gtk+-2.0 >= $GTK_REQUIRED) were not met:
 
13381
 
 
13382
$NOTIFICATION_AREA_PKG_ERRORS
 
13383
 
 
13384
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13385
installed software in a non-standard prefix.
 
13386
 
 
13387
Alternatively, you may set the environment variables NOTIFICATION_AREA_CFLAGS
 
13388
and NOTIFICATION_AREA_LIBS to avoid the need to call pkg-config.
 
13389
See the pkg-config man page for more details.
 
13390
" "$LINENO" 5
14705
13391
elif test $pkg_failed = untried; then
14706
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13392
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14707
13393
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14708
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14709
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14710
 
path to pkg-config.
14711
 
 
14712
 
Alternatively, you may set the environment variables NOTIFICATION_AREA_CFLAGS
14713
 
and NOTIFICATION_AREA_LIBS to avoid the need to call pkg-config.
14714
 
See the pkg-config man page for more details.
14715
 
 
14716
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14717
 
See \`config.log' for more details." >&5
14718
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14719
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14720
 
path to pkg-config.
14721
 
 
14722
 
Alternatively, you may set the environment variables NOTIFICATION_AREA_CFLAGS
14723
 
and NOTIFICATION_AREA_LIBS to avoid the need to call pkg-config.
14724
 
See the pkg-config man page for more details.
14725
 
 
14726
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14727
 
See \`config.log' for more details." >&2;}
14728
 
   { (exit 1); exit 1; }; }; }
 
13394
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
13395
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13396
path to pkg-config.
 
13397
 
 
13398
Alternatively, you may set the environment variables NOTIFICATION_AREA_CFLAGS
 
13399
and NOTIFICATION_AREA_LIBS to avoid the need to call pkg-config.
 
13400
See the pkg-config man page for more details.
 
13401
 
 
13402
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13403
See \`config.log' for more details." "$LINENO" 5; }
14729
13404
else
14730
13405
        NOTIFICATION_AREA_CFLAGS=$pkg_cv_NOTIFICATION_AREA_CFLAGS
14731
13406
        NOTIFICATION_AREA_LIBS=$pkg_cv_NOTIFICATION_AREA_LIBS
14732
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13407
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14733
13408
$as_echo "yes" >&6; }
14734
13409
        :
14735
13410
fi
14738
13413
 
14739
13414
 
14740
13415
pkg_failed=no
14741
 
{ $as_echo "$as_me:$LINENO: checking for WNCKLET" >&5
 
13416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WNCKLET" >&5
14742
13417
$as_echo_n "checking for WNCKLET... " >&6; }
14743
13418
 
14744
13419
if test -n "$WNCKLET_CFLAGS"; then
14745
13420
    pkg_cv_WNCKLET_CFLAGS="$WNCKLET_CFLAGS"
14746
13421
 elif test -n "$PKG_CONFIG"; then
14747
13422
    if test -n "$PKG_CONFIG" && \
14748
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED libwnck-1.0 >= \$LIBWNCK_REQUIRED\"") >&5
 
13423
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED libwnck-1.0 >= \$LIBWNCK_REQUIRED\""; } >&5
14749
13424
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED") 2>&5
14750
13425
  ac_status=$?
14751
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752
 
  (exit $ac_status); }; then
 
13426
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13427
  test $ac_status = 0; }; then
14753
13428
  pkg_cv_WNCKLET_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED" 2>/dev/null`
14754
13429
else
14755
13430
  pkg_failed=yes
14761
13436
    pkg_cv_WNCKLET_LIBS="$WNCKLET_LIBS"
14762
13437
 elif test -n "$PKG_CONFIG"; then
14763
13438
    if test -n "$PKG_CONFIG" && \
14764
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED libwnck-1.0 >= \$LIBWNCK_REQUIRED\"") >&5
 
13439
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED libwnck-1.0 >= \$LIBWNCK_REQUIRED\""; } >&5
14765
13440
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED") 2>&5
14766
13441
  ac_status=$?
14767
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768
 
  (exit $ac_status); }; then
 
13442
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13443
  test $ac_status = 0; }; then
14769
13444
  pkg_cv_WNCKLET_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED" 2>/dev/null`
14770
13445
else
14771
13446
  pkg_failed=yes
14791
13466
        # Put the nasty error message in config.log where it belongs
14792
13467
        echo "$WNCKLET_PKG_ERRORS" >&5
14793
13468
 
14794
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= $GTK_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED) were not met:
14795
 
 
14796
 
$WNCKLET_PKG_ERRORS
14797
 
 
14798
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14799
 
installed software in a non-standard prefix.
14800
 
 
14801
 
Alternatively, you may set the environment variables WNCKLET_CFLAGS
14802
 
and WNCKLET_LIBS to avoid the need to call pkg-config.
14803
 
See the pkg-config man page for more details.
14804
 
" >&5
14805
 
$as_echo "$as_me: error: Package requirements (gtk+-2.0 >= $GTK_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED) were not met:
14806
 
 
14807
 
$WNCKLET_PKG_ERRORS
14808
 
 
14809
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14810
 
installed software in a non-standard prefix.
14811
 
 
14812
 
Alternatively, you may set the environment variables WNCKLET_CFLAGS
14813
 
and WNCKLET_LIBS to avoid the need to call pkg-config.
14814
 
See the pkg-config man page for more details.
14815
 
" >&2;}
14816
 
   { (exit 1); exit 1; }; }
 
13469
        as_fn_error "Package requirements (gtk+-2.0 >= $GTK_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED) were not met:
 
13470
 
 
13471
$WNCKLET_PKG_ERRORS
 
13472
 
 
13473
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13474
installed software in a non-standard prefix.
 
13475
 
 
13476
Alternatively, you may set the environment variables WNCKLET_CFLAGS
 
13477
and WNCKLET_LIBS to avoid the need to call pkg-config.
 
13478
See the pkg-config man page for more details.
 
13479
" "$LINENO" 5
14817
13480
elif test $pkg_failed = untried; then
14818
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13481
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14819
13482
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14820
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14821
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14822
 
path to pkg-config.
14823
 
 
14824
 
Alternatively, you may set the environment variables WNCKLET_CFLAGS
14825
 
and WNCKLET_LIBS to avoid the need to call pkg-config.
14826
 
See the pkg-config man page for more details.
14827
 
 
14828
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14829
 
See \`config.log' for more details." >&5
14830
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14831
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14832
 
path to pkg-config.
14833
 
 
14834
 
Alternatively, you may set the environment variables WNCKLET_CFLAGS
14835
 
and WNCKLET_LIBS to avoid the need to call pkg-config.
14836
 
See the pkg-config man page for more details.
14837
 
 
14838
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14839
 
See \`config.log' for more details." >&2;}
14840
 
   { (exit 1); exit 1; }; }; }
 
13483
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
13484
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13485
path to pkg-config.
 
13486
 
 
13487
Alternatively, you may set the environment variables WNCKLET_CFLAGS
 
13488
and WNCKLET_LIBS to avoid the need to call pkg-config.
 
13489
See the pkg-config man page for more details.
 
13490
 
 
13491
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13492
See \`config.log' for more details." "$LINENO" 5; }
14841
13493
else
14842
13494
        WNCKLET_CFLAGS=$pkg_cv_WNCKLET_CFLAGS
14843
13495
        WNCKLET_LIBS=$pkg_cv_WNCKLET_LIBS
14844
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13496
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14845
13497
$as_echo "yes" >&6; }
14846
13498
        :
14847
13499
fi
14848
13500
 
14849
13501
 
14850
13502
 
14851
 
 
14852
13503
for ac_header in langinfo.h
14853
 
do
14854
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14855
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14856
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14857
 
$as_echo_n "checking for $ac_header... " >&6; }
14858
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14859
 
  $as_echo_n "(cached) " >&6
14860
 
fi
14861
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14862
 
                 $as_echo "$as_val"'`
14863
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14864
 
$as_echo "$ac_res" >&6; }
14865
 
else
14866
 
  # Is the header compilable?
14867
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14868
 
$as_echo_n "checking $ac_header usability... " >&6; }
14869
 
cat >conftest.$ac_ext <<_ACEOF
14870
 
/* confdefs.h.  */
14871
 
_ACEOF
14872
 
cat confdefs.h >>conftest.$ac_ext
14873
 
cat >>conftest.$ac_ext <<_ACEOF
14874
 
/* end confdefs.h.  */
14875
 
$ac_includes_default
14876
 
#include <$ac_header>
14877
 
_ACEOF
14878
 
rm -f conftest.$ac_objext
14879
 
if { (ac_try="$ac_compile"
14880
 
case "(($ac_try" in
14881
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14882
 
  *) ac_try_echo=$ac_try;;
14883
 
esac
14884
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14885
 
$as_echo "$ac_try_echo") >&5
14886
 
  (eval "$ac_compile") 2>conftest.er1
14887
 
  ac_status=$?
14888
 
  grep -v '^ *+' conftest.er1 >conftest.err
14889
 
  rm -f conftest.er1
14890
 
  cat conftest.err >&5
14891
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892
 
  (exit $ac_status); } && {
14893
 
         test -z "$ac_c_werror_flag" ||
14894
 
         test ! -s conftest.err
14895
 
       } && test -s conftest.$ac_objext; then
14896
 
  ac_header_compiler=yes
14897
 
else
14898
 
  $as_echo "$as_me: failed program was:" >&5
14899
 
sed 's/^/| /' conftest.$ac_ext >&5
14900
 
 
14901
 
        ac_header_compiler=no
14902
 
fi
14903
 
 
14904
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14905
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14906
 
$as_echo "$ac_header_compiler" >&6; }
14907
 
 
14908
 
# Is the header present?
14909
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14910
 
$as_echo_n "checking $ac_header presence... " >&6; }
14911
 
cat >conftest.$ac_ext <<_ACEOF
14912
 
/* confdefs.h.  */
14913
 
_ACEOF
14914
 
cat confdefs.h >>conftest.$ac_ext
14915
 
cat >>conftest.$ac_ext <<_ACEOF
14916
 
/* end confdefs.h.  */
14917
 
#include <$ac_header>
14918
 
_ACEOF
14919
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
14920
 
case "(($ac_try" in
14921
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14922
 
  *) ac_try_echo=$ac_try;;
14923
 
esac
14924
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14925
 
$as_echo "$ac_try_echo") >&5
14926
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14927
 
  ac_status=$?
14928
 
  grep -v '^ *+' conftest.er1 >conftest.err
14929
 
  rm -f conftest.er1
14930
 
  cat conftest.err >&5
14931
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932
 
  (exit $ac_status); } >/dev/null && {
14933
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14934
 
         test ! -s conftest.err
14935
 
       }; then
14936
 
  ac_header_preproc=yes
14937
 
else
14938
 
  $as_echo "$as_me: failed program was:" >&5
14939
 
sed 's/^/| /' conftest.$ac_ext >&5
14940
 
 
14941
 
  ac_header_preproc=no
14942
 
fi
14943
 
 
14944
 
rm -f conftest.err conftest.$ac_ext
14945
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14946
 
$as_echo "$ac_header_preproc" >&6; }
14947
 
 
14948
 
# So?  What about this header?
14949
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14950
 
  yes:no: )
14951
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14952
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14953
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14954
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14955
 
    ac_header_preproc=yes
14956
 
    ;;
14957
 
  no:yes:* )
14958
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14959
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14960
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14961
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14962
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14963
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14964
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14965
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14966
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14967
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14968
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14969
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14970
 
    ( cat <<\_ASBOX
14971
 
## -------------------------------------------------------------------------- ##
14972
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-panel ##
14973
 
## -------------------------------------------------------------------------- ##
14974
 
_ASBOX
14975
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
14976
 
    ;;
14977
 
esac
14978
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14979
 
$as_echo_n "checking for $ac_header... " >&6; }
14980
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14981
 
  $as_echo_n "(cached) " >&6
14982
 
else
14983
 
  eval "$as_ac_Header=\$ac_header_preproc"
14984
 
fi
14985
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14986
 
                 $as_echo "$as_val"'`
14987
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14988
 
$as_echo "$ac_res" >&6; }
14989
 
 
14990
 
fi
14991
 
as_val=`eval 'as_val=${'$as_ac_Header'}
14992
 
                 $as_echo "$as_val"'`
14993
 
   if test "x$as_val" = x""yes; then
 
13504
do :
 
13505
  ac_fn_c_check_header_mongrel "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default"
 
13506
if test "x$ac_cv_header_langinfo_h" = x""yes; then :
14994
13507
  cat >>confdefs.h <<_ACEOF
14995
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
13508
#define HAVE_LANGINFO_H 1
14996
13509
_ACEOF
14997
13510
 
14998
13511
fi
14999
13512
 
15000
13513
done
15001
13514
 
15002
 
 
15003
13515
for ac_func in nl_langinfo
15004
 
do
15005
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15006
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15007
 
$as_echo_n "checking for $ac_func... " >&6; }
15008
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15009
 
  $as_echo_n "(cached) " >&6
15010
 
else
15011
 
  cat >conftest.$ac_ext <<_ACEOF
15012
 
/* confdefs.h.  */
15013
 
_ACEOF
15014
 
cat confdefs.h >>conftest.$ac_ext
15015
 
cat >>conftest.$ac_ext <<_ACEOF
15016
 
/* end confdefs.h.  */
15017
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15018
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15019
 
#define $ac_func innocuous_$ac_func
15020
 
 
15021
 
/* System header to define __stub macros and hopefully few prototypes,
15022
 
    which can conflict with char $ac_func (); below.
15023
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15024
 
    <limits.h> exists even on freestanding compilers.  */
15025
 
 
15026
 
#ifdef __STDC__
15027
 
# include <limits.h>
15028
 
#else
15029
 
# include <assert.h>
15030
 
#endif
15031
 
 
15032
 
#undef $ac_func
15033
 
 
15034
 
/* Override any GCC internal prototype to avoid an error.
15035
 
   Use char because int might match the return type of a GCC
15036
 
   builtin and then its argument prototype would still apply.  */
15037
 
#ifdef __cplusplus
15038
 
extern "C"
15039
 
#endif
15040
 
char $ac_func ();
15041
 
/* The GNU C library defines this for functions which it implements
15042
 
    to always fail with ENOSYS.  Some functions are actually named
15043
 
    something starting with __ and the normal name is an alias.  */
15044
 
#if defined __stub_$ac_func || defined __stub___$ac_func
15045
 
choke me
15046
 
#endif
15047
 
 
15048
 
int
15049
 
main ()
15050
 
{
15051
 
return $ac_func ();
15052
 
  ;
15053
 
  return 0;
15054
 
}
15055
 
_ACEOF
15056
 
rm -f conftest.$ac_objext conftest$ac_exeext
15057
 
if { (ac_try="$ac_link"
15058
 
case "(($ac_try" in
15059
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15060
 
  *) ac_try_echo=$ac_try;;
15061
 
esac
15062
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15063
 
$as_echo "$ac_try_echo") >&5
15064
 
  (eval "$ac_link") 2>conftest.er1
15065
 
  ac_status=$?
15066
 
  grep -v '^ *+' conftest.er1 >conftest.err
15067
 
  rm -f conftest.er1
15068
 
  cat conftest.err >&5
15069
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070
 
  (exit $ac_status); } && {
15071
 
         test -z "$ac_c_werror_flag" ||
15072
 
         test ! -s conftest.err
15073
 
       } && test -s conftest$ac_exeext && {
15074
 
         test "$cross_compiling" = yes ||
15075
 
         $as_test_x conftest$ac_exeext
15076
 
       }; then
15077
 
  eval "$as_ac_var=yes"
15078
 
else
15079
 
  $as_echo "$as_me: failed program was:" >&5
15080
 
sed 's/^/| /' conftest.$ac_ext >&5
15081
 
 
15082
 
        eval "$as_ac_var=no"
15083
 
fi
15084
 
 
15085
 
rm -rf conftest.dSYM
15086
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15087
 
      conftest$ac_exeext conftest.$ac_ext
15088
 
fi
15089
 
ac_res=`eval 'as_val=${'$as_ac_var'}
15090
 
                 $as_echo "$as_val"'`
15091
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15092
 
$as_echo "$ac_res" >&6; }
15093
 
as_val=`eval 'as_val=${'$as_ac_var'}
15094
 
                 $as_echo "$as_val"'`
15095
 
   if test "x$as_val" = x""yes; then
 
13516
do :
 
13517
  ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
 
13518
if test "x$ac_cv_func_nl_langinfo" = x""yes; then :
15096
13519
  cat >>confdefs.h <<_ACEOF
15097
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
13520
#define HAVE_NL_LANGINFO 1
15098
13521
_ACEOF
15099
13522
 
15100
13523
fi
15102
13525
 
15103
13526
 
15104
13527
# Check whether --enable-eds was given.
15105
 
if test "${enable_eds+set}" = set; then
 
13528
if test "${enable_eds+set}" = set; then :
15106
13529
  enableval=$enable_eds;
15107
13530
else
15108
13531
  enable_eds=auto
15115
13538
  CLOCK_EDS_ICONDIR=`$PKG_CONFIG --variable=datadir evolution-data-server-1.2`/pixmaps/evolution-data-server
15116
13539
else
15117
13540
  if test "x$enable_eds" != "xno"; then
15118
 
    { $as_echo "$as_me:$LINENO: checking for evolution-data-server" >&5
 
13541
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for evolution-data-server" >&5
15119
13542
$as_echo_n "checking for evolution-data-server... " >&6; }
15120
13543
    if $PKG_CONFIG --exists libecal-1.2 libedataserverui-1.2 evolution-data-server-1.2; then
15121
 
       { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13544
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15122
13545
$as_echo "yes" >&6; }
15123
13546
       LIBECAL_REQUIREMENT="libecal-1.2 >= $LIBECAL_REQUIRED libedataserver-1.2 >= $LIBEDATASERVER_REQUIRED libedataserverui-1.2 >= $LIBEDATASERVERUI_REQUIRED gnome-desktop-2.0 >= $LIBGNOME_DESKTOP_REQUIRED"
15124
13547
       CLOCK_EDS_ICONDIR=`$PKG_CONFIG --variable=datadir evolution-data-server-1.2`/pixmaps/evolution-data-server
15125
13548
       HAVE_EDS=yes
15126
13549
    else
15127
 
       { $as_echo "$as_me:$LINENO: result: no" >&5
 
13550
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15128
13551
$as_echo "no" >&6; }
15129
13552
    fi
15130
13553
  fi
15131
13554
fi
15132
13555
if test -n "$LIBECAL_REQUIREMENT"; then
15133
13556
 
15134
 
cat >>confdefs.h <<\_ACEOF
15135
 
#define HAVE_LIBECAL 1
15136
 
_ACEOF
 
13557
$as_echo "#define HAVE_LIBECAL 1" >>confdefs.h
15137
13558
 
15138
13559
fi
15139
13560
 if test -n "$LIBECAL_REQUIREMENT"; then
15148
13569
 
15149
13570
 
15150
13571
pkg_failed=no
15151
 
{ $as_echo "$as_me:$LINENO: checking for CLOCK" >&5
 
13572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLOCK" >&5
15152
13573
$as_echo_n "checking for CLOCK... " >&6; }
15153
13574
 
15154
13575
if test -n "$CLOCK_CFLAGS"; then
15155
13576
    pkg_cv_CLOCK_CFLAGS="$CLOCK_CFLAGS"
15156
13577
 elif test -n "$PKG_CONFIG"; then
15157
13578
    if test -n "$PKG_CONFIG" && \
15158
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= \$PANGO_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED glib-2.0 >= \$GLIB_REQUIRED gio-2.0 >= \$GLIB_REQUIRED \$LIBECAL_REQUIREMENT librsvg-2.0 dbus-glib-1 gweather >= \$GWEATHER_REQUIRED gnome-desktop-2.0 >= \$LIBGNOME_DESKTOP_REQUIRED\"") >&5
 
13579
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= \$PANGO_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED glib-2.0 >= \$GLIB_REQUIRED gio-2.0 >= \$GLIB_REQUIRED \$LIBECAL_REQUIREMENT librsvg-2.0 dbus-glib-1 gweather >= \$GWEATHER_REQUIRED gnome-desktop-2.0 >= \$LIBGNOME_DESKTOP_REQUIRED\""; } >&5
15159
13580
  ($PKG_CONFIG --exists --print-errors "pango >= $PANGO_REQUIRED gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GLIB_REQUIRED $LIBECAL_REQUIREMENT librsvg-2.0 dbus-glib-1 gweather >= $GWEATHER_REQUIRED gnome-desktop-2.0 >= $LIBGNOME_DESKTOP_REQUIRED") 2>&5
15160
13581
  ac_status=$?
15161
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162
 
  (exit $ac_status); }; then
 
13582
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13583
  test $ac_status = 0; }; then
15163
13584
  pkg_cv_CLOCK_CFLAGS=`$PKG_CONFIG --cflags "pango >= $PANGO_REQUIRED gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GLIB_REQUIRED $LIBECAL_REQUIREMENT librsvg-2.0 dbus-glib-1 gweather >= $GWEATHER_REQUIRED gnome-desktop-2.0 >= $LIBGNOME_DESKTOP_REQUIRED" 2>/dev/null`
15164
13585
else
15165
13586
  pkg_failed=yes
15171
13592
    pkg_cv_CLOCK_LIBS="$CLOCK_LIBS"
15172
13593
 elif test -n "$PKG_CONFIG"; then
15173
13594
    if test -n "$PKG_CONFIG" && \
15174
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= \$PANGO_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED glib-2.0 >= \$GLIB_REQUIRED gio-2.0 >= \$GLIB_REQUIRED \$LIBECAL_REQUIREMENT librsvg-2.0 dbus-glib-1 gweather >= \$GWEATHER_REQUIRED gnome-desktop-2.0 >= \$LIBGNOME_DESKTOP_REQUIRED\"") >&5
 
13595
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= \$PANGO_REQUIRED gtk+-2.0 >= \$GTK_REQUIRED glib-2.0 >= \$GLIB_REQUIRED gio-2.0 >= \$GLIB_REQUIRED \$LIBECAL_REQUIREMENT librsvg-2.0 dbus-glib-1 gweather >= \$GWEATHER_REQUIRED gnome-desktop-2.0 >= \$LIBGNOME_DESKTOP_REQUIRED\""; } >&5
15175
13596
  ($PKG_CONFIG --exists --print-errors "pango >= $PANGO_REQUIRED gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GLIB_REQUIRED $LIBECAL_REQUIREMENT librsvg-2.0 dbus-glib-1 gweather >= $GWEATHER_REQUIRED gnome-desktop-2.0 >= $LIBGNOME_DESKTOP_REQUIRED") 2>&5
15176
13597
  ac_status=$?
15177
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15178
 
  (exit $ac_status); }; then
 
13598
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13599
  test $ac_status = 0; }; then
15179
13600
  pkg_cv_CLOCK_LIBS=`$PKG_CONFIG --libs "pango >= $PANGO_REQUIRED gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GLIB_REQUIRED $LIBECAL_REQUIREMENT librsvg-2.0 dbus-glib-1 gweather >= $GWEATHER_REQUIRED gnome-desktop-2.0 >= $LIBGNOME_DESKTOP_REQUIRED" 2>/dev/null`
15180
13601
else
15181
13602
  pkg_failed=yes
15201
13622
        # Put the nasty error message in config.log where it belongs
15202
13623
        echo "$CLOCK_PKG_ERRORS" >&5
15203
13624
 
15204
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (pango >= $PANGO_REQUIRED gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GLIB_REQUIRED $LIBECAL_REQUIREMENT librsvg-2.0 dbus-glib-1 gweather >= $GWEATHER_REQUIRED gnome-desktop-2.0 >= $LIBGNOME_DESKTOP_REQUIRED) were not met:
15205
 
 
15206
 
$CLOCK_PKG_ERRORS
15207
 
 
15208
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15209
 
installed software in a non-standard prefix.
15210
 
 
15211
 
Alternatively, you may set the environment variables CLOCK_CFLAGS
15212
 
and CLOCK_LIBS to avoid the need to call pkg-config.
15213
 
See the pkg-config man page for more details.
15214
 
" >&5
15215
 
$as_echo "$as_me: error: Package requirements (pango >= $PANGO_REQUIRED gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GLIB_REQUIRED $LIBECAL_REQUIREMENT librsvg-2.0 dbus-glib-1 gweather >= $GWEATHER_REQUIRED gnome-desktop-2.0 >= $LIBGNOME_DESKTOP_REQUIRED) were not met:
15216
 
 
15217
 
$CLOCK_PKG_ERRORS
15218
 
 
15219
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15220
 
installed software in a non-standard prefix.
15221
 
 
15222
 
Alternatively, you may set the environment variables CLOCK_CFLAGS
15223
 
and CLOCK_LIBS to avoid the need to call pkg-config.
15224
 
See the pkg-config man page for more details.
15225
 
" >&2;}
15226
 
   { (exit 1); exit 1; }; }
 
13625
        as_fn_error "Package requirements (pango >= $PANGO_REQUIRED gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GLIB_REQUIRED $LIBECAL_REQUIREMENT librsvg-2.0 dbus-glib-1 gweather >= $GWEATHER_REQUIRED gnome-desktop-2.0 >= $LIBGNOME_DESKTOP_REQUIRED) were not met:
 
13626
 
 
13627
$CLOCK_PKG_ERRORS
 
13628
 
 
13629
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13630
installed software in a non-standard prefix.
 
13631
 
 
13632
Alternatively, you may set the environment variables CLOCK_CFLAGS
 
13633
and CLOCK_LIBS to avoid the need to call pkg-config.
 
13634
See the pkg-config man page for more details.
 
13635
" "$LINENO" 5
15227
13636
elif test $pkg_failed = untried; then
15228
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13637
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15229
13638
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15230
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15231
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15232
 
path to pkg-config.
15233
 
 
15234
 
Alternatively, you may set the environment variables CLOCK_CFLAGS
15235
 
and CLOCK_LIBS to avoid the need to call pkg-config.
15236
 
See the pkg-config man page for more details.
15237
 
 
15238
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15239
 
See \`config.log' for more details." >&5
15240
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15241
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15242
 
path to pkg-config.
15243
 
 
15244
 
Alternatively, you may set the environment variables CLOCK_CFLAGS
15245
 
and CLOCK_LIBS to avoid the need to call pkg-config.
15246
 
See the pkg-config man page for more details.
15247
 
 
15248
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15249
 
See \`config.log' for more details." >&2;}
15250
 
   { (exit 1); exit 1; }; }; }
 
13639
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
13640
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13641
path to pkg-config.
 
13642
 
 
13643
Alternatively, you may set the environment variables CLOCK_CFLAGS
 
13644
and CLOCK_LIBS to avoid the need to call pkg-config.
 
13645
See the pkg-config man page for more details.
 
13646
 
 
13647
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13648
See \`config.log' for more details." "$LINENO" 5; }
15251
13649
else
15252
13650
        CLOCK_CFLAGS=$pkg_cv_CLOCK_CFLAGS
15253
13651
        CLOCK_LIBS=$pkg_cv_CLOCK_LIBS
15254
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13652
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15255
13653
$as_echo "yes" >&6; }
15256
13654
        :
15257
13655
fi
15260
13658
 
15261
13659
 
15262
13660
pkg_failed=no
15263
 
{ $as_echo "$as_me:$LINENO: checking for CLOCK_MECHANISM" >&5
 
13661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLOCK_MECHANISM" >&5
15264
13662
$as_echo_n "checking for CLOCK_MECHANISM... " >&6; }
15265
13663
 
15266
13664
if test -n "$CLOCK_MECHANISM_CFLAGS"; then
15267
13665
    pkg_cv_CLOCK_MECHANISM_CFLAGS="$CLOCK_MECHANISM_CFLAGS"
15268
13666
 elif test -n "$PKG_CONFIG"; then
15269
13667
    if test -n "$PKG_CONFIG" && \
15270
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" gthread-2.0 gio-2.0 dbus-glib-1 \"") >&5
 
13668
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gthread-2.0 gio-2.0 dbus-glib-1 \""; } >&5
15271
13669
  ($PKG_CONFIG --exists --print-errors " gthread-2.0 gio-2.0 dbus-glib-1 ") 2>&5
15272
13670
  ac_status=$?
15273
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274
 
  (exit $ac_status); }; then
 
13671
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13672
  test $ac_status = 0; }; then
15275
13673
  pkg_cv_CLOCK_MECHANISM_CFLAGS=`$PKG_CONFIG --cflags " gthread-2.0 gio-2.0 dbus-glib-1 " 2>/dev/null`
15276
13674
else
15277
13675
  pkg_failed=yes
15283
13681
    pkg_cv_CLOCK_MECHANISM_LIBS="$CLOCK_MECHANISM_LIBS"
15284
13682
 elif test -n "$PKG_CONFIG"; then
15285
13683
    if test -n "$PKG_CONFIG" && \
15286
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" gthread-2.0 gio-2.0 dbus-glib-1 \"") >&5
 
13684
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gthread-2.0 gio-2.0 dbus-glib-1 \""; } >&5
15287
13685
  ($PKG_CONFIG --exists --print-errors " gthread-2.0 gio-2.0 dbus-glib-1 ") 2>&5
15288
13686
  ac_status=$?
15289
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15290
 
  (exit $ac_status); }; then
 
13687
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13688
  test $ac_status = 0; }; then
15291
13689
  pkg_cv_CLOCK_MECHANISM_LIBS=`$PKG_CONFIG --libs " gthread-2.0 gio-2.0 dbus-glib-1 " 2>/dev/null`
15292
13690
else
15293
13691
  pkg_failed=yes
15313
13711
        # Put the nasty error message in config.log where it belongs
15314
13712
        echo "$CLOCK_MECHANISM_PKG_ERRORS" >&5
15315
13713
 
15316
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements ( gthread-2.0 gio-2.0 dbus-glib-1 ) were not met:
15317
 
 
15318
 
$CLOCK_MECHANISM_PKG_ERRORS
15319
 
 
15320
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15321
 
installed software in a non-standard prefix.
15322
 
 
15323
 
Alternatively, you may set the environment variables CLOCK_MECHANISM_CFLAGS
15324
 
and CLOCK_MECHANISM_LIBS to avoid the need to call pkg-config.
15325
 
See the pkg-config man page for more details.
15326
 
" >&5
15327
 
$as_echo "$as_me: error: Package requirements ( gthread-2.0 gio-2.0 dbus-glib-1 ) were not met:
15328
 
 
15329
 
$CLOCK_MECHANISM_PKG_ERRORS
15330
 
 
15331
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15332
 
installed software in a non-standard prefix.
15333
 
 
15334
 
Alternatively, you may set the environment variables CLOCK_MECHANISM_CFLAGS
15335
 
and CLOCK_MECHANISM_LIBS to avoid the need to call pkg-config.
15336
 
See the pkg-config man page for more details.
15337
 
" >&2;}
15338
 
   { (exit 1); exit 1; }; }
 
13714
        as_fn_error "Package requirements ( gthread-2.0 gio-2.0 dbus-glib-1 ) were not met:
 
13715
 
 
13716
$CLOCK_MECHANISM_PKG_ERRORS
 
13717
 
 
13718
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13719
installed software in a non-standard prefix.
 
13720
 
 
13721
Alternatively, you may set the environment variables CLOCK_MECHANISM_CFLAGS
 
13722
and CLOCK_MECHANISM_LIBS to avoid the need to call pkg-config.
 
13723
See the pkg-config man page for more details.
 
13724
" "$LINENO" 5
15339
13725
elif test $pkg_failed = untried; then
15340
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13726
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15341
13727
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15342
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15343
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15344
 
path to pkg-config.
15345
 
 
15346
 
Alternatively, you may set the environment variables CLOCK_MECHANISM_CFLAGS
15347
 
and CLOCK_MECHANISM_LIBS to avoid the need to call pkg-config.
15348
 
See the pkg-config man page for more details.
15349
 
 
15350
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15351
 
See \`config.log' for more details." >&5
15352
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15353
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15354
 
path to pkg-config.
15355
 
 
15356
 
Alternatively, you may set the environment variables CLOCK_MECHANISM_CFLAGS
15357
 
and CLOCK_MECHANISM_LIBS to avoid the need to call pkg-config.
15358
 
See the pkg-config man page for more details.
15359
 
 
15360
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15361
 
See \`config.log' for more details." >&2;}
15362
 
   { (exit 1); exit 1; }; }; }
 
13728
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
13729
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13730
path to pkg-config.
 
13731
 
 
13732
Alternatively, you may set the environment variables CLOCK_MECHANISM_CFLAGS
 
13733
and CLOCK_MECHANISM_LIBS to avoid the need to call pkg-config.
 
13734
See the pkg-config man page for more details.
 
13735
 
 
13736
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13737
See \`config.log' for more details." "$LINENO" 5; }
15363
13738
else
15364
13739
        CLOCK_MECHANISM_CFLAGS=$pkg_cv_CLOCK_MECHANISM_CFLAGS
15365
13740
        CLOCK_MECHANISM_LIBS=$pkg_cv_CLOCK_MECHANISM_LIBS
15366
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13741
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15367
13742
$as_echo "yes" >&6; }
15368
13743
        :
15369
13744
fi
15380
13755
POLKIT_CFLAGS=
15381
13756
POLKIT_LIBS=
15382
13757
# Check whether --enable-polkit was given.
15383
 
if test "${enable_polkit+set}" = set; then
 
13758
if test "${enable_polkit+set}" = set; then :
15384
13759
  enableval=$enable_polkit; enable_polkit=$enableval
15385
13760
else
15386
13761
  enable_polkit=auto
15392
13767
  HAVE_POLKIT=no
15393
13768
 
15394
13769
pkg_failed=no
15395
 
{ $as_echo "$as_me:$LINENO: checking for POLKIT" >&5
 
13770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POLKIT" >&5
15396
13771
$as_echo_n "checking for POLKIT... " >&6; }
15397
13772
 
15398
13773
if test -n "$POLKIT_CFLAGS"; then
15399
13774
    pkg_cv_POLKIT_CFLAGS="$POLKIT_CFLAGS"
15400
13775
 elif test -n "$PKG_CONFIG"; then
15401
13776
    if test -n "$PKG_CONFIG" && \
15402
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"polkit-gobject-1 >= \$POLKIT_REQUIRED dbus-1 >= \$DBUS_REQUIRED\"") >&5
 
13777
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-gobject-1 >= \$POLKIT_REQUIRED dbus-1 >= \$DBUS_REQUIRED\""; } >&5
15403
13778
  ($PKG_CONFIG --exists --print-errors "polkit-gobject-1 >= $POLKIT_REQUIRED dbus-1 >= $DBUS_REQUIRED") 2>&5
15404
13779
  ac_status=$?
15405
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406
 
  (exit $ac_status); }; then
 
13780
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13781
  test $ac_status = 0; }; then
15407
13782
  pkg_cv_POLKIT_CFLAGS=`$PKG_CONFIG --cflags "polkit-gobject-1 >= $POLKIT_REQUIRED dbus-1 >= $DBUS_REQUIRED" 2>/dev/null`
15408
13783
else
15409
13784
  pkg_failed=yes
15415
13790
    pkg_cv_POLKIT_LIBS="$POLKIT_LIBS"
15416
13791
 elif test -n "$PKG_CONFIG"; then
15417
13792
    if test -n "$PKG_CONFIG" && \
15418
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"polkit-gobject-1 >= \$POLKIT_REQUIRED dbus-1 >= \$DBUS_REQUIRED\"") >&5
 
13793
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-gobject-1 >= \$POLKIT_REQUIRED dbus-1 >= \$DBUS_REQUIRED\""; } >&5
15419
13794
  ($PKG_CONFIG --exists --print-errors "polkit-gobject-1 >= $POLKIT_REQUIRED dbus-1 >= $DBUS_REQUIRED") 2>&5
15420
13795
  ac_status=$?
15421
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422
 
  (exit $ac_status); }; then
 
13796
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13797
  test $ac_status = 0; }; then
15423
13798
  pkg_cv_POLKIT_LIBS=`$PKG_CONFIG --libs "polkit-gobject-1 >= $POLKIT_REQUIRED dbus-1 >= $DBUS_REQUIRED" 2>/dev/null`
15424
13799
else
15425
13800
  pkg_failed=yes
15445
13820
        # Put the nasty error message in config.log where it belongs
15446
13821
        echo "$POLKIT_PKG_ERRORS" >&5
15447
13822
 
15448
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
13823
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15449
13824
$as_echo "no" >&6; }
15450
13825
                HAVE_POLKIT=no
15451
13826
elif test $pkg_failed = untried; then
15453
13828
else
15454
13829
        POLKIT_CFLAGS=$pkg_cv_POLKIT_CFLAGS
15455
13830
        POLKIT_LIBS=$pkg_cv_POLKIT_LIBS
15456
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13831
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15457
13832
$as_echo "yes" >&6; }
15458
13833
        HAVE_POLKIT=yes
15459
13834
fi
15460
13835
 
15461
13836
  if test "x$enable_polkit" = "xyes" -a "x$HAVE_POLKIT" = "xno" ; then
15462
 
    { { $as_echo "$as_me:$LINENO: error: PolicyKit support explicity enabled but not available" >&5
15463
 
$as_echo "$as_me: error: PolicyKit support explicity enabled but not available" >&2;}
15464
 
   { (exit 1); exit 1; }; }
 
13837
    as_fn_error "PolicyKit support explicity enabled but not available" "$LINENO" 5
15465
13838
  fi
15466
13839
 
15467
13840
  if test "x$HAVE_POLKIT" = "xyes" ; then
15468
13841
 
15469
 
cat >>confdefs.h <<\_ACEOF
15470
 
#define HAVE_POLKIT 1
15471
 
_ACEOF
 
13842
$as_echo "#define HAVE_POLKIT 1" >>confdefs.h
15472
13843
 
15473
13844
  fi
15474
13845
fi
15484
13855
 
15485
13856
 
15486
13857
# Check whether --enable-network_manager was given.
15487
 
if test "${enable_network_manager+set}" = set; then
 
13858
if test "${enable_network_manager+set}" = set; then :
15488
13859
  enableval=$enable_network_manager; enable_network_manager=$enableval
15489
13860
else
15490
13861
  enable_network_manager=auto
15495
13866
else
15496
13867
 
15497
13868
pkg_failed=no
15498
 
{ $as_echo "$as_me:$LINENO: checking for NETWORK_MANAGER" >&5
 
13869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NETWORK_MANAGER" >&5
15499
13870
$as_echo_n "checking for NETWORK_MANAGER... " >&6; }
15500
13871
 
15501
13872
if test -n "$NETWORK_MANAGER_CFLAGS"; then
15502
13873
    pkg_cv_NETWORK_MANAGER_CFLAGS="$NETWORK_MANAGER_CFLAGS"
15503
13874
 elif test -n "$PKG_CONFIG"; then
15504
13875
    if test -n "$PKG_CONFIG" && \
15505
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"NetworkManager >= \$NETWORK_MANAGER_REQUIRED\"") >&5
 
13876
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"NetworkManager >= \$NETWORK_MANAGER_REQUIRED\""; } >&5
15506
13877
  ($PKG_CONFIG --exists --print-errors "NetworkManager >= $NETWORK_MANAGER_REQUIRED") 2>&5
15507
13878
  ac_status=$?
15508
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509
 
  (exit $ac_status); }; then
 
13879
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13880
  test $ac_status = 0; }; then
15510
13881
  pkg_cv_NETWORK_MANAGER_CFLAGS=`$PKG_CONFIG --cflags "NetworkManager >= $NETWORK_MANAGER_REQUIRED" 2>/dev/null`
15511
13882
else
15512
13883
  pkg_failed=yes
15518
13889
    pkg_cv_NETWORK_MANAGER_LIBS="$NETWORK_MANAGER_LIBS"
15519
13890
 elif test -n "$PKG_CONFIG"; then
15520
13891
    if test -n "$PKG_CONFIG" && \
15521
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"NetworkManager >= \$NETWORK_MANAGER_REQUIRED\"") >&5
 
13892
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"NetworkManager >= \$NETWORK_MANAGER_REQUIRED\""; } >&5
15522
13893
  ($PKG_CONFIG --exists --print-errors "NetworkManager >= $NETWORK_MANAGER_REQUIRED") 2>&5
15523
13894
  ac_status=$?
15524
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525
 
  (exit $ac_status); }; then
 
13895
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13896
  test $ac_status = 0; }; then
15526
13897
  pkg_cv_NETWORK_MANAGER_LIBS=`$PKG_CONFIG --libs "NetworkManager >= $NETWORK_MANAGER_REQUIRED" 2>/dev/null`
15527
13898
else
15528
13899
  pkg_failed=yes
15548
13919
        # Put the nasty error message in config.log where it belongs
15549
13920
        echo "$NETWORK_MANAGER_PKG_ERRORS" >&5
15550
13921
 
15551
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
13922
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15552
13923
$as_echo "no" >&6; }
15553
13924
                HAVE_NETWORK_MANAGER=no
15554
13925
elif test $pkg_failed = untried; then
15556
13927
else
15557
13928
        NETWORK_MANAGER_CFLAGS=$pkg_cv_NETWORK_MANAGER_CFLAGS
15558
13929
        NETWORK_MANAGER_LIBS=$pkg_cv_NETWORK_MANAGER_LIBS
15559
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13930
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15560
13931
$as_echo "yes" >&6; }
15561
13932
        HAVE_NETWORK_MANAGER=yes
15562
13933
fi
15563
13934
fi
15564
13935
if test "x$HAVE_NETWORK_MANAGER" = "xyes" ; then
15565
13936
 
15566
 
cat >>confdefs.h <<\_ACEOF
15567
 
#define HAVE_NETWORK_MANAGER 1
15568
 
_ACEOF
 
13937
$as_echo "#define HAVE_NETWORK_MANAGER 1" >>confdefs.h
15569
13938
 
15570
13939
fi
15571
13940
 
15575
13944
PANEL_INPROCESS_APPLETS=
15576
13945
 
15577
13946
# Check whether --with-in-process-applets was given.
15578
 
if test "${with_in_process_applets+set}" = set; then
 
13947
if test "${with_in_process_applets+set}" = set; then :
15579
13948
  withval=$with_in_process_applets; for i in `echo $withval | tr , ' '`; do
15580
13949
                if test $i = "none"; then
15581
13950
                        PANEL_INPROCESS_NONE=1
15606
13975
        if test $i = "clock"; then
15607
13976
                CLOCK_COMPILE_INPROCESS=1
15608
13977
 
15609
 
cat >>confdefs.h <<\_ACEOF
15610
 
#define CLOCK_INPROCESS 1
15611
 
_ACEOF
 
13978
$as_echo "#define CLOCK_INPROCESS 1" >>confdefs.h
15612
13979
 
15613
13980
        else if test $i = "fish"; then
15614
13981
                FISH_COMPILE_INPROCESS=1
15615
13982
 
15616
 
cat >>confdefs.h <<\_ACEOF
15617
 
#define FISH_INPROCESS 1
15618
 
_ACEOF
 
13983
$as_echo "#define FISH_INPROCESS 1" >>confdefs.h
15619
13984
 
15620
13985
        else if test $i = "notification-area"; then
15621
13986
                NOTIFICATION_AREA_COMPILE_INPROCESS=1
15622
13987
 
15623
 
cat >>confdefs.h <<\_ACEOF
15624
 
#define NOTIFICATION_AREA_INPROCESS 1
15625
 
_ACEOF
 
13988
$as_echo "#define NOTIFICATION_AREA_INPROCESS 1" >>confdefs.h
15626
13989
 
15627
13990
        else if test $i = "wncklet"; then
15628
13991
                WNCKLET_COMPILE_INPROCESS=1
15629
13992
 
15630
 
cat >>confdefs.h <<\_ACEOF
15631
 
#define WNCKLET_INPROCESS 1
15632
 
_ACEOF
 
13993
$as_echo "#define WNCKLET_INPROCESS 1" >>confdefs.h
15633
13994
 
15634
13995
        fi; fi; fi; fi
15635
13996
done
15671
14032
 
15672
14033
 
15673
14034
# For the run dialog
15674
 
 
15675
 
 
15676
 
 
15677
 
 
15678
 
 
15679
14035
ac_header_dirent=no
15680
14036
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
15681
14037
  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
15682
 
{ $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
 
14038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
15683
14039
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
15684
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
14040
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
15685
14041
  $as_echo_n "(cached) " >&6
15686
14042
else
15687
 
  cat >conftest.$ac_ext <<_ACEOF
15688
 
/* confdefs.h.  */
15689
 
_ACEOF
15690
 
cat confdefs.h >>conftest.$ac_ext
15691
 
cat >>conftest.$ac_ext <<_ACEOF
 
14043
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15692
14044
/* end confdefs.h.  */
15693
14045
#include <sys/types.h>
15694
14046
#include <$ac_hdr>
15702
14054
  return 0;
15703
14055
}
15704
14056
_ACEOF
15705
 
rm -f conftest.$ac_objext
15706
 
if { (ac_try="$ac_compile"
15707
 
case "(($ac_try" in
15708
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15709
 
  *) ac_try_echo=$ac_try;;
15710
 
esac
15711
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15712
 
$as_echo "$ac_try_echo") >&5
15713
 
  (eval "$ac_compile") 2>conftest.er1
15714
 
  ac_status=$?
15715
 
  grep -v '^ *+' conftest.er1 >conftest.err
15716
 
  rm -f conftest.er1
15717
 
  cat conftest.err >&5
15718
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719
 
  (exit $ac_status); } && {
15720
 
         test -z "$ac_c_werror_flag" ||
15721
 
         test ! -s conftest.err
15722
 
       } && test -s conftest.$ac_objext; then
 
14057
if ac_fn_c_try_compile "$LINENO"; then :
15723
14058
  eval "$as_ac_Header=yes"
15724
14059
else
15725
 
  $as_echo "$as_me: failed program was:" >&5
15726
 
sed 's/^/| /' conftest.$ac_ext >&5
15727
 
 
15728
 
        eval "$as_ac_Header=no"
 
14060
  eval "$as_ac_Header=no"
15729
14061
fi
15730
 
 
15731
14062
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15732
14063
fi
15733
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
15734
 
                 $as_echo "$as_val"'`
15735
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
14064
eval ac_res=\$$as_ac_Header
 
14065
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15736
14066
$as_echo "$ac_res" >&6; }
15737
 
as_val=`eval 'as_val=${'$as_ac_Header'}
15738
 
                 $as_echo "$as_val"'`
15739
 
   if test "x$as_val" = x""yes; then
 
14067
eval as_val=\$$as_ac_Header
 
14068
   if test "x$as_val" = x""yes; then :
15740
14069
  cat >>confdefs.h <<_ACEOF
15741
14070
#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
15742
14071
_ACEOF
15747
14076
done
15748
14077
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
15749
14078
if test $ac_header_dirent = dirent.h; then
15750
 
  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
14079
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15751
14080
$as_echo_n "checking for library containing opendir... " >&6; }
15752
 
if test "${ac_cv_search_opendir+set}" = set; then
 
14081
if test "${ac_cv_search_opendir+set}" = set; then :
15753
14082
  $as_echo_n "(cached) " >&6
15754
14083
else
15755
14084
  ac_func_search_save_LIBS=$LIBS
15756
 
cat >conftest.$ac_ext <<_ACEOF
15757
 
/* confdefs.h.  */
15758
 
_ACEOF
15759
 
cat confdefs.h >>conftest.$ac_ext
15760
 
cat >>conftest.$ac_ext <<_ACEOF
 
14085
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15761
14086
/* end confdefs.h.  */
15762
14087
 
15763
14088
/* Override any GCC internal prototype to avoid an error.
15782
14107
    ac_res=-l$ac_lib
15783
14108
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15784
14109
  fi
15785
 
  rm -f conftest.$ac_objext conftest$ac_exeext
15786
 
if { (ac_try="$ac_link"
15787
 
case "(($ac_try" in
15788
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15789
 
  *) ac_try_echo=$ac_try;;
15790
 
esac
15791
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15792
 
$as_echo "$ac_try_echo") >&5
15793
 
  (eval "$ac_link") 2>conftest.er1
15794
 
  ac_status=$?
15795
 
  grep -v '^ *+' conftest.er1 >conftest.err
15796
 
  rm -f conftest.er1
15797
 
  cat conftest.err >&5
15798
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799
 
  (exit $ac_status); } && {
15800
 
         test -z "$ac_c_werror_flag" ||
15801
 
         test ! -s conftest.err
15802
 
       } && test -s conftest$ac_exeext && {
15803
 
         test "$cross_compiling" = yes ||
15804
 
         $as_test_x conftest$ac_exeext
15805
 
       }; then
 
14110
  if ac_fn_c_try_link "$LINENO"; then :
15806
14111
  ac_cv_search_opendir=$ac_res
15807
 
else
15808
 
  $as_echo "$as_me: failed program was:" >&5
15809
 
sed 's/^/| /' conftest.$ac_ext >&5
15810
 
 
15811
 
 
15812
14112
fi
15813
 
 
15814
 
rm -rf conftest.dSYM
15815
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15816
 
      conftest$ac_exeext
15817
 
  if test "${ac_cv_search_opendir+set}" = set; then
 
14113
rm -f core conftest.err conftest.$ac_objext \
 
14114
    conftest$ac_exeext
 
14115
  if test "${ac_cv_search_opendir+set}" = set; then :
15818
14116
  break
15819
14117
fi
15820
14118
done
15821
 
if test "${ac_cv_search_opendir+set}" = set; then
15822
 
  :
 
14119
if test "${ac_cv_search_opendir+set}" = set; then :
 
14120
 
15823
14121
else
15824
14122
  ac_cv_search_opendir=no
15825
14123
fi
15826
14124
rm conftest.$ac_ext
15827
14125
LIBS=$ac_func_search_save_LIBS
15828
14126
fi
15829
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
14127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15830
14128
$as_echo "$ac_cv_search_opendir" >&6; }
15831
14129
ac_res=$ac_cv_search_opendir
15832
 
if test "$ac_res" != no; then
 
14130
if test "$ac_res" != no; then :
15833
14131
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15834
14132
 
15835
14133
fi
15836
14134
 
15837
14135
else
15838
 
  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
14136
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15839
14137
$as_echo_n "checking for library containing opendir... " >&6; }
15840
 
if test "${ac_cv_search_opendir+set}" = set; then
 
14138
if test "${ac_cv_search_opendir+set}" = set; then :
15841
14139
  $as_echo_n "(cached) " >&6
15842
14140
else
15843
14141
  ac_func_search_save_LIBS=$LIBS
15844
 
cat >conftest.$ac_ext <<_ACEOF
15845
 
/* confdefs.h.  */
15846
 
_ACEOF
15847
 
cat confdefs.h >>conftest.$ac_ext
15848
 
cat >>conftest.$ac_ext <<_ACEOF
 
14142
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15849
14143
/* end confdefs.h.  */
15850
14144
 
15851
14145
/* Override any GCC internal prototype to avoid an error.
15870
14164
    ac_res=-l$ac_lib
15871
14165
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15872
14166
  fi
15873
 
  rm -f conftest.$ac_objext conftest$ac_exeext
15874
 
if { (ac_try="$ac_link"
15875
 
case "(($ac_try" in
15876
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15877
 
  *) ac_try_echo=$ac_try;;
15878
 
esac
15879
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15880
 
$as_echo "$ac_try_echo") >&5
15881
 
  (eval "$ac_link") 2>conftest.er1
15882
 
  ac_status=$?
15883
 
  grep -v '^ *+' conftest.er1 >conftest.err
15884
 
  rm -f conftest.er1
15885
 
  cat conftest.err >&5
15886
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887
 
  (exit $ac_status); } && {
15888
 
         test -z "$ac_c_werror_flag" ||
15889
 
         test ! -s conftest.err
15890
 
       } && test -s conftest$ac_exeext && {
15891
 
         test "$cross_compiling" = yes ||
15892
 
         $as_test_x conftest$ac_exeext
15893
 
       }; then
 
14167
  if ac_fn_c_try_link "$LINENO"; then :
15894
14168
  ac_cv_search_opendir=$ac_res
15895
 
else
15896
 
  $as_echo "$as_me: failed program was:" >&5
15897
 
sed 's/^/| /' conftest.$ac_ext >&5
15898
 
 
15899
 
 
15900
14169
fi
15901
 
 
15902
 
rm -rf conftest.dSYM
15903
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15904
 
      conftest$ac_exeext
15905
 
  if test "${ac_cv_search_opendir+set}" = set; then
 
14170
rm -f core conftest.err conftest.$ac_objext \
 
14171
    conftest$ac_exeext
 
14172
  if test "${ac_cv_search_opendir+set}" = set; then :
15906
14173
  break
15907
14174
fi
15908
14175
done
15909
 
if test "${ac_cv_search_opendir+set}" = set; then
15910
 
  :
 
14176
if test "${ac_cv_search_opendir+set}" = set; then :
 
14177
 
15911
14178
else
15912
14179
  ac_cv_search_opendir=no
15913
14180
fi
15914
14181
rm conftest.$ac_ext
15915
14182
LIBS=$ac_func_search_save_LIBS
15916
14183
fi
15917
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
14184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15918
14185
$as_echo "$ac_cv_search_opendir" >&6; }
15919
14186
ac_res=$ac_cv_search_opendir
15920
 
if test "$ac_res" != no; then
 
14187
if test "$ac_res" != no; then :
15921
14188
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15922
14189
 
15923
14190
fi
15924
14191
 
15925
14192
fi
15926
14193
 
15927
 
   { $as_echo "$as_me:$LINENO: checking for d_type member in directory struct" >&5
 
14194
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for d_type member in directory struct" >&5
15928
14195
$as_echo_n "checking for d_type member in directory struct... " >&6; }
15929
 
if test "${jm_cv_struct_dirent_d_type+set}" = set; then
 
14196
if test "${jm_cv_struct_dirent_d_type+set}" = set; then :
15930
14197
  $as_echo_n "(cached) " >&6
15931
14198
else
15932
 
  cat >conftest.$ac_ext <<_ACEOF
15933
 
/* confdefs.h.  */
15934
 
_ACEOF
15935
 
cat confdefs.h >>conftest.$ac_ext
15936
 
cat >>conftest.$ac_ext <<_ACEOF
 
14199
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15937
14200
/* end confdefs.h.  */
15938
14201
 
15939
14202
#include <sys/types.h>
15960
14223
  return 0;
15961
14224
}
15962
14225
_ACEOF
15963
 
rm -f conftest.$ac_objext conftest$ac_exeext
15964
 
if { (ac_try="$ac_link"
15965
 
case "(($ac_try" in
15966
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15967
 
  *) ac_try_echo=$ac_try;;
15968
 
esac
15969
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15970
 
$as_echo "$ac_try_echo") >&5
15971
 
  (eval "$ac_link") 2>conftest.er1
15972
 
  ac_status=$?
15973
 
  grep -v '^ *+' conftest.er1 >conftest.err
15974
 
  rm -f conftest.er1
15975
 
  cat conftest.err >&5
15976
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977
 
  (exit $ac_status); } && {
15978
 
         test -z "$ac_c_werror_flag" ||
15979
 
         test ! -s conftest.err
15980
 
       } && test -s conftest$ac_exeext && {
15981
 
         test "$cross_compiling" = yes ||
15982
 
         $as_test_x conftest$ac_exeext
15983
 
       }; then
 
14226
if ac_fn_c_try_link "$LINENO"; then :
15984
14227
  jm_cv_struct_dirent_d_type=yes
15985
14228
else
15986
 
  $as_echo "$as_me: failed program was:" >&5
15987
 
sed 's/^/| /' conftest.$ac_ext >&5
15988
 
 
15989
 
        jm_cv_struct_dirent_d_type=no
15990
 
fi
15991
 
 
15992
 
rm -rf conftest.dSYM
15993
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15994
 
      conftest$ac_exeext conftest.$ac_ext
15995
 
 
15996
 
 
15997
 
fi
15998
 
{ $as_echo "$as_me:$LINENO: result: $jm_cv_struct_dirent_d_type" >&5
 
14229
  jm_cv_struct_dirent_d_type=no
 
14230
fi
 
14231
rm -f core conftest.err conftest.$ac_objext \
 
14232
    conftest$ac_exeext conftest.$ac_ext
 
14233
 
 
14234
 
 
14235
fi
 
14236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_cv_struct_dirent_d_type" >&5
15999
14237
$as_echo "$jm_cv_struct_dirent_d_type" >&6; }
16000
14238
   if test $jm_cv_struct_dirent_d_type = yes; then
16001
14239
 
16002
 
cat >>confdefs.h <<\_ACEOF
16003
 
#define HAVE_STRUCT_DIRENT_D_TYPE 1
16004
 
_ACEOF
 
14240
$as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
16005
14241
 
16006
14242
   fi
16007
14243
 
16008
14244
 
16009
14245
 
16010
14246
 
16011
 
{ $as_echo "$as_me:$LINENO: checking for X" >&5
 
14247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
16012
14248
$as_echo_n "checking for X... " >&6; }
16013
14249
 
16014
14250
 
16015
14251
# Check whether --with-x was given.
16016
 
if test "${with_x+set}" = set; then
 
14252
if test "${with_x+set}" = set; then :
16017
14253
  withval=$with_x;
16018
14254
fi
16019
14255
 
16023
14259
  have_x=disabled
16024
14260
else
16025
14261
  case $x_includes,$x_libraries in #(
16026
 
    *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
16027
 
$as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
16028
 
   { (exit 1); exit 1; }; };; #(
16029
 
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
 
14262
    *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
 
14263
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
16030
14264
  $as_echo_n "(cached) " >&6
16031
14265
else
16032
14266
  # One or both of the vars are not set, and there is no cached value.
16074
14308
# Check X11 before X11Rn because it is often a symlink to the current release.
16075
14309
ac_x_header_dirs='
16076
14310
/usr/X11/include
 
14311
/usr/X11R7/include
16077
14312
/usr/X11R6/include
16078
14313
/usr/X11R5/include
16079
14314
/usr/X11R4/include
16080
14315
 
16081
14316
/usr/include/X11
 
14317
/usr/include/X11R7
16082
14318
/usr/include/X11R6
16083
14319
/usr/include/X11R5
16084
14320
/usr/include/X11R4
16085
14321
 
16086
14322
/usr/local/X11/include
 
14323
/usr/local/X11R7/include
16087
14324
/usr/local/X11R6/include
16088
14325
/usr/local/X11R5/include
16089
14326
/usr/local/X11R4/include
16090
14327
 
16091
14328
/usr/local/include/X11
 
14329
/usr/local/include/X11R7
16092
14330
/usr/local/include/X11R6
16093
14331
/usr/local/include/X11R5
16094
14332
/usr/local/include/X11R4
16110
14348
if test "$ac_x_includes" = no; then
16111
14349
  # Guess where to find include files, by looking for Xlib.h.
16112
14350
  # First, try using that file with no special directory specified.
16113
 
  cat >conftest.$ac_ext <<_ACEOF
16114
 
/* confdefs.h.  */
16115
 
_ACEOF
16116
 
cat confdefs.h >>conftest.$ac_ext
16117
 
cat >>conftest.$ac_ext <<_ACEOF
 
14351
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16118
14352
/* end confdefs.h.  */
16119
14353
#include <X11/Xlib.h>
16120
14354
_ACEOF
16121
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
16122
 
case "(($ac_try" in
16123
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16124
 
  *) ac_try_echo=$ac_try;;
16125
 
esac
16126
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16127
 
$as_echo "$ac_try_echo") >&5
16128
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16129
 
  ac_status=$?
16130
 
  grep -v '^ *+' conftest.er1 >conftest.err
16131
 
  rm -f conftest.er1
16132
 
  cat conftest.err >&5
16133
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134
 
  (exit $ac_status); } >/dev/null && {
16135
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16136
 
         test ! -s conftest.err
16137
 
       }; then
 
14355
if ac_fn_c_try_cpp "$LINENO"; then :
16138
14356
  # We can compile using X headers with no special include directory.
16139
14357
ac_x_includes=
16140
14358
else
16141
 
  $as_echo "$as_me: failed program was:" >&5
16142
 
sed 's/^/| /' conftest.$ac_ext >&5
16143
 
 
16144
14359
  for ac_dir in $ac_x_header_dirs; do
16145
14360
  if test -r "$ac_dir/X11/Xlib.h"; then
16146
14361
    ac_x_includes=$ac_dir
16148
14363
  fi
16149
14364
done
16150
14365
fi
16151
 
 
16152
14366
rm -f conftest.err conftest.$ac_ext
16153
14367
fi # $ac_x_includes = no
16154
14368
 
16158
14372
  # Don't add to $LIBS permanently.
16159
14373
  ac_save_LIBS=$LIBS
16160
14374
  LIBS="-lX11 $LIBS"
16161
 
  cat >conftest.$ac_ext <<_ACEOF
16162
 
/* confdefs.h.  */
16163
 
_ACEOF
16164
 
cat confdefs.h >>conftest.$ac_ext
16165
 
cat >>conftest.$ac_ext <<_ACEOF
 
14375
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16166
14376
/* end confdefs.h.  */
16167
14377
#include <X11/Xlib.h>
16168
14378
int
16173
14383
  return 0;
16174
14384
}
16175
14385
_ACEOF
16176
 
rm -f conftest.$ac_objext conftest$ac_exeext
16177
 
if { (ac_try="$ac_link"
16178
 
case "(($ac_try" in
16179
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16180
 
  *) ac_try_echo=$ac_try;;
16181
 
esac
16182
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16183
 
$as_echo "$ac_try_echo") >&5
16184
 
  (eval "$ac_link") 2>conftest.er1
16185
 
  ac_status=$?
16186
 
  grep -v '^ *+' conftest.er1 >conftest.err
16187
 
  rm -f conftest.er1
16188
 
  cat conftest.err >&5
16189
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16190
 
  (exit $ac_status); } && {
16191
 
         test -z "$ac_c_werror_flag" ||
16192
 
         test ! -s conftest.err
16193
 
       } && test -s conftest$ac_exeext && {
16194
 
         test "$cross_compiling" = yes ||
16195
 
         $as_test_x conftest$ac_exeext
16196
 
       }; then
 
14386
if ac_fn_c_try_link "$LINENO"; then :
16197
14387
  LIBS=$ac_save_LIBS
16198
14388
# We can link X programs with no special library path.
16199
14389
ac_x_libraries=
16200
14390
else
16201
 
  $as_echo "$as_me: failed program was:" >&5
16202
 
sed 's/^/| /' conftest.$ac_ext >&5
16203
 
 
16204
 
        LIBS=$ac_save_LIBS
 
14391
  LIBS=$ac_save_LIBS
16205
14392
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
16206
14393
do
16207
14394
  # Don't even attempt the hair of trying to link an X program!
16213
14400
  done
16214
14401
done
16215
14402
fi
16216
 
 
16217
 
rm -rf conftest.dSYM
16218
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16219
 
      conftest$ac_exeext conftest.$ac_ext
 
14403
rm -f core conftest.err conftest.$ac_objext \
 
14404
    conftest$ac_exeext conftest.$ac_ext
16220
14405
fi # $ac_x_libraries = no
16221
14406
 
16222
14407
case $ac_x_includes,$ac_x_libraries in #(
16237
14422
fi # $with_x != no
16238
14423
 
16239
14424
if test "$have_x" != yes; then
16240
 
  { $as_echo "$as_me:$LINENO: result: $have_x" >&5
 
14425
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
16241
14426
$as_echo "$have_x" >&6; }
16242
14427
  no_x=yes
16243
14428
else
16248
14433
  ac_cv_have_x="have_x=yes\
16249
14434
        ac_x_includes='$x_includes'\
16250
14435
        ac_x_libraries='$x_libraries'"
16251
 
  { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
 
14436
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
16252
14437
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
16253
14438
fi
16254
14439
 
16255
14440
 
16256
14441
pkg_failed=no
16257
 
{ $as_echo "$as_me:$LINENO: checking for X" >&5
 
14442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
16258
14443
$as_echo_n "checking for X... " >&6; }
16259
14444
 
16260
14445
if test -n "$X_CFLAGS"; then
16261
14446
    pkg_cv_X_CFLAGS="$X_CFLAGS"
16262
14447
 elif test -n "$PKG_CONFIG"; then
16263
14448
    if test -n "$PKG_CONFIG" && \
16264
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xau\"") >&5
 
14449
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xau\""; } >&5
16265
14450
  ($PKG_CONFIG --exists --print-errors "x11 xau") 2>&5
16266
14451
  ac_status=$?
16267
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268
 
  (exit $ac_status); }; then
 
14452
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14453
  test $ac_status = 0; }; then
16269
14454
  pkg_cv_X_CFLAGS=`$PKG_CONFIG --cflags "x11 xau" 2>/dev/null`
16270
14455
else
16271
14456
  pkg_failed=yes
16277
14462
    pkg_cv_X_LIBS="$X_LIBS"
16278
14463
 elif test -n "$PKG_CONFIG"; then
16279
14464
    if test -n "$PKG_CONFIG" && \
16280
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xau\"") >&5
 
14465
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xau\""; } >&5
16281
14466
  ($PKG_CONFIG --exists --print-errors "x11 xau") 2>&5
16282
14467
  ac_status=$?
16283
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284
 
  (exit $ac_status); }; then
 
14468
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14469
  test $ac_status = 0; }; then
16285
14470
  pkg_cv_X_LIBS=`$PKG_CONFIG --libs "x11 xau" 2>/dev/null`
16286
14471
else
16287
14472
  pkg_failed=yes
16307
14492
        # Put the nasty error message in config.log where it belongs
16308
14493
        echo "$X_PKG_ERRORS" >&5
16309
14494
 
16310
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
14495
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16311
14496
$as_echo "no" >&6; }
16312
14497
 
16313
14498
  # pkg-config modules not found (only present since X11R7 aka Xorg); use
16315
14500
  if test "$no_x" = yes; then
16316
14501
  # Not all programs may use this symbol, but it does not hurt to define it.
16317
14502
 
16318
 
cat >>confdefs.h <<\_ACEOF
16319
 
#define X_DISPLAY_MISSING 1
16320
 
_ACEOF
 
14503
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
16321
14504
 
16322
14505
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
16323
14506
else
16330
14513
    X_LIBS="$X_LIBS -L$x_libraries"
16331
14514
    # For Solaris; some versions of Sun CC require a space after -R and
16332
14515
    # others require no space.  Words are not sufficient . . . .
16333
 
    { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
 
14516
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
16334
14517
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
16335
14518
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
16336
14519
    ac_xsave_c_werror_flag=$ac_c_werror_flag
16337
14520
    ac_c_werror_flag=yes
16338
 
    cat >conftest.$ac_ext <<_ACEOF
16339
 
/* confdefs.h.  */
16340
 
_ACEOF
16341
 
cat confdefs.h >>conftest.$ac_ext
16342
 
cat >>conftest.$ac_ext <<_ACEOF
 
14521
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16343
14522
/* end confdefs.h.  */
16344
14523
 
16345
14524
int
16350
14529
  return 0;
16351
14530
}
16352
14531
_ACEOF
16353
 
rm -f conftest.$ac_objext conftest$ac_exeext
16354
 
if { (ac_try="$ac_link"
16355
 
case "(($ac_try" in
16356
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16357
 
  *) ac_try_echo=$ac_try;;
16358
 
esac
16359
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16360
 
$as_echo "$ac_try_echo") >&5
16361
 
  (eval "$ac_link") 2>conftest.er1
16362
 
  ac_status=$?
16363
 
  grep -v '^ *+' conftest.er1 >conftest.err
16364
 
  rm -f conftest.er1
16365
 
  cat conftest.err >&5
16366
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367
 
  (exit $ac_status); } && {
16368
 
         test -z "$ac_c_werror_flag" ||
16369
 
         test ! -s conftest.err
16370
 
       } && test -s conftest$ac_exeext && {
16371
 
         test "$cross_compiling" = yes ||
16372
 
         $as_test_x conftest$ac_exeext
16373
 
       }; then
16374
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14532
if ac_fn_c_try_link "$LINENO"; then :
 
14533
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16375
14534
$as_echo "no" >&6; }
16376
14535
       X_LIBS="$X_LIBS -R$x_libraries"
16377
14536
else
16378
 
  $as_echo "$as_me: failed program was:" >&5
16379
 
sed 's/^/| /' conftest.$ac_ext >&5
16380
 
 
16381
 
        LIBS="$ac_xsave_LIBS -R $x_libraries"
16382
 
       cat >conftest.$ac_ext <<_ACEOF
16383
 
/* confdefs.h.  */
16384
 
_ACEOF
16385
 
cat confdefs.h >>conftest.$ac_ext
16386
 
cat >>conftest.$ac_ext <<_ACEOF
 
14537
  LIBS="$ac_xsave_LIBS -R $x_libraries"
 
14538
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16387
14539
/* end confdefs.h.  */
16388
14540
 
16389
14541
int
16394
14546
  return 0;
16395
14547
}
16396
14548
_ACEOF
16397
 
rm -f conftest.$ac_objext conftest$ac_exeext
16398
 
if { (ac_try="$ac_link"
16399
 
case "(($ac_try" in
16400
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16401
 
  *) ac_try_echo=$ac_try;;
16402
 
esac
16403
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16404
 
$as_echo "$ac_try_echo") >&5
16405
 
  (eval "$ac_link") 2>conftest.er1
16406
 
  ac_status=$?
16407
 
  grep -v '^ *+' conftest.er1 >conftest.err
16408
 
  rm -f conftest.er1
16409
 
  cat conftest.err >&5
16410
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411
 
  (exit $ac_status); } && {
16412
 
         test -z "$ac_c_werror_flag" ||
16413
 
         test ! -s conftest.err
16414
 
       } && test -s conftest$ac_exeext && {
16415
 
         test "$cross_compiling" = yes ||
16416
 
         $as_test_x conftest$ac_exeext
16417
 
       }; then
16418
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14549
if ac_fn_c_try_link "$LINENO"; then :
 
14550
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16419
14551
$as_echo "yes" >&6; }
16420
14552
          X_LIBS="$X_LIBS -R $x_libraries"
16421
14553
else
16422
 
  $as_echo "$as_me: failed program was:" >&5
16423
 
sed 's/^/| /' conftest.$ac_ext >&5
16424
 
 
16425
 
        { $as_echo "$as_me:$LINENO: result: neither works" >&5
 
14554
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
16426
14555
$as_echo "neither works" >&6; }
16427
14556
fi
16428
 
 
16429
 
rm -rf conftest.dSYM
16430
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16431
 
      conftest$ac_exeext conftest.$ac_ext
 
14557
rm -f core conftest.err conftest.$ac_objext \
 
14558
    conftest$ac_exeext conftest.$ac_ext
16432
14559
fi
16433
 
 
16434
 
rm -rf conftest.dSYM
16435
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16436
 
      conftest$ac_exeext conftest.$ac_ext
 
14560
rm -f core conftest.err conftest.$ac_objext \
 
14561
    conftest$ac_exeext conftest.$ac_ext
16437
14562
    ac_c_werror_flag=$ac_xsave_c_werror_flag
16438
14563
    LIBS=$ac_xsave_LIBS
16439
14564
  fi
16449
14574
    # libraries were built with DECnet support.  And Karl Berry says
16450
14575
    # the Alpha needs dnet_stub (dnet does not exist).
16451
14576
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
16452
 
    cat >conftest.$ac_ext <<_ACEOF
16453
 
/* confdefs.h.  */
16454
 
_ACEOF
16455
 
cat confdefs.h >>conftest.$ac_ext
16456
 
cat >>conftest.$ac_ext <<_ACEOF
 
14577
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16457
14578
/* end confdefs.h.  */
16458
14579
 
16459
14580
/* Override any GCC internal prototype to avoid an error.
16471
14592
  return 0;
16472
14593
}
16473
14594
_ACEOF
16474
 
rm -f conftest.$ac_objext conftest$ac_exeext
16475
 
if { (ac_try="$ac_link"
16476
 
case "(($ac_try" in
16477
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16478
 
  *) ac_try_echo=$ac_try;;
16479
 
esac
16480
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16481
 
$as_echo "$ac_try_echo") >&5
16482
 
  (eval "$ac_link") 2>conftest.er1
16483
 
  ac_status=$?
16484
 
  grep -v '^ *+' conftest.er1 >conftest.err
16485
 
  rm -f conftest.er1
16486
 
  cat conftest.err >&5
16487
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488
 
  (exit $ac_status); } && {
16489
 
         test -z "$ac_c_werror_flag" ||
16490
 
         test ! -s conftest.err
16491
 
       } && test -s conftest$ac_exeext && {
16492
 
         test "$cross_compiling" = yes ||
16493
 
         $as_test_x conftest$ac_exeext
16494
 
       }; then
16495
 
  :
 
14595
if ac_fn_c_try_link "$LINENO"; then :
 
14596
 
16496
14597
else
16497
 
  $as_echo "$as_me: failed program was:" >&5
16498
 
sed 's/^/| /' conftest.$ac_ext >&5
16499
 
 
16500
 
        { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
 
14598
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
16501
14599
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
16502
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
 
14600
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
16503
14601
  $as_echo_n "(cached) " >&6
16504
14602
else
16505
14603
  ac_check_lib_save_LIBS=$LIBS
16506
14604
LIBS="-ldnet  $LIBS"
16507
 
cat >conftest.$ac_ext <<_ACEOF
16508
 
/* confdefs.h.  */
16509
 
_ACEOF
16510
 
cat confdefs.h >>conftest.$ac_ext
16511
 
cat >>conftest.$ac_ext <<_ACEOF
 
14605
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512
14606
/* end confdefs.h.  */
16513
14607
 
16514
14608
/* Override any GCC internal prototype to avoid an error.
16526
14620
  return 0;
16527
14621
}
16528
14622
_ACEOF
16529
 
rm -f conftest.$ac_objext conftest$ac_exeext
16530
 
if { (ac_try="$ac_link"
16531
 
case "(($ac_try" in
16532
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16533
 
  *) ac_try_echo=$ac_try;;
16534
 
esac
16535
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16536
 
$as_echo "$ac_try_echo") >&5
16537
 
  (eval "$ac_link") 2>conftest.er1
16538
 
  ac_status=$?
16539
 
  grep -v '^ *+' conftest.er1 >conftest.err
16540
 
  rm -f conftest.er1
16541
 
  cat conftest.err >&5
16542
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543
 
  (exit $ac_status); } && {
16544
 
         test -z "$ac_c_werror_flag" ||
16545
 
         test ! -s conftest.err
16546
 
       } && test -s conftest$ac_exeext && {
16547
 
         test "$cross_compiling" = yes ||
16548
 
         $as_test_x conftest$ac_exeext
16549
 
       }; then
 
14623
if ac_fn_c_try_link "$LINENO"; then :
16550
14624
  ac_cv_lib_dnet_dnet_ntoa=yes
16551
14625
else
16552
 
  $as_echo "$as_me: failed program was:" >&5
16553
 
sed 's/^/| /' conftest.$ac_ext >&5
16554
 
 
16555
 
        ac_cv_lib_dnet_dnet_ntoa=no
 
14626
  ac_cv_lib_dnet_dnet_ntoa=no
16556
14627
fi
16557
 
 
16558
 
rm -rf conftest.dSYM
16559
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16560
 
      conftest$ac_exeext conftest.$ac_ext
 
14628
rm -f core conftest.err conftest.$ac_objext \
 
14629
    conftest$ac_exeext conftest.$ac_ext
16561
14630
LIBS=$ac_check_lib_save_LIBS
16562
14631
fi
16563
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
14632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
16564
14633
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
16565
 
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
 
14634
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
16566
14635
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
16567
14636
fi
16568
14637
 
16569
14638
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
16570
 
      { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
 
14639
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
16571
14640
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
16572
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
 
14641
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
16573
14642
  $as_echo_n "(cached) " >&6
16574
14643
else
16575
14644
  ac_check_lib_save_LIBS=$LIBS
16576
14645
LIBS="-ldnet_stub  $LIBS"
16577
 
cat >conftest.$ac_ext <<_ACEOF
16578
 
/* confdefs.h.  */
16579
 
_ACEOF
16580
 
cat confdefs.h >>conftest.$ac_ext
16581
 
cat >>conftest.$ac_ext <<_ACEOF
 
14646
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16582
14647
/* end confdefs.h.  */
16583
14648
 
16584
14649
/* Override any GCC internal prototype to avoid an error.
16596
14661
  return 0;
16597
14662
}
16598
14663
_ACEOF
16599
 
rm -f conftest.$ac_objext conftest$ac_exeext
16600
 
if { (ac_try="$ac_link"
16601
 
case "(($ac_try" in
16602
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16603
 
  *) ac_try_echo=$ac_try;;
16604
 
esac
16605
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16606
 
$as_echo "$ac_try_echo") >&5
16607
 
  (eval "$ac_link") 2>conftest.er1
16608
 
  ac_status=$?
16609
 
  grep -v '^ *+' conftest.er1 >conftest.err
16610
 
  rm -f conftest.er1
16611
 
  cat conftest.err >&5
16612
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613
 
  (exit $ac_status); } && {
16614
 
         test -z "$ac_c_werror_flag" ||
16615
 
         test ! -s conftest.err
16616
 
       } && test -s conftest$ac_exeext && {
16617
 
         test "$cross_compiling" = yes ||
16618
 
         $as_test_x conftest$ac_exeext
16619
 
       }; then
 
14664
if ac_fn_c_try_link "$LINENO"; then :
16620
14665
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
16621
14666
else
16622
 
  $as_echo "$as_me: failed program was:" >&5
16623
 
sed 's/^/| /' conftest.$ac_ext >&5
16624
 
 
16625
 
        ac_cv_lib_dnet_stub_dnet_ntoa=no
 
14667
  ac_cv_lib_dnet_stub_dnet_ntoa=no
16626
14668
fi
16627
 
 
16628
 
rm -rf conftest.dSYM
16629
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16630
 
      conftest$ac_exeext conftest.$ac_ext
 
14669
rm -f core conftest.err conftest.$ac_objext \
 
14670
    conftest$ac_exeext conftest.$ac_ext
16631
14671
LIBS=$ac_check_lib_save_LIBS
16632
14672
fi
16633
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
14673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
16634
14674
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
16635
 
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
 
14675
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
16636
14676
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
16637
14677
fi
16638
14678
 
16639
14679
    fi
16640
14680
fi
16641
 
 
16642
 
rm -rf conftest.dSYM
16643
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16644
 
      conftest$ac_exeext conftest.$ac_ext
 
14681
rm -f core conftest.err conftest.$ac_objext \
 
14682
    conftest$ac_exeext conftest.$ac_ext
16645
14683
    LIBS="$ac_xsave_LIBS"
16646
14684
 
16647
14685
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
16652
14690
    # on Irix 5.2, according to T.E. Dickey.
16653
14691
    # The functions gethostbyname, getservbyname, and inet_addr are
16654
14692
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
16655
 
    { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
16656
 
$as_echo_n "checking for gethostbyname... " >&6; }
16657
 
if test "${ac_cv_func_gethostbyname+set}" = set; then
16658
 
  $as_echo_n "(cached) " >&6
16659
 
else
16660
 
  cat >conftest.$ac_ext <<_ACEOF
16661
 
/* confdefs.h.  */
16662
 
_ACEOF
16663
 
cat confdefs.h >>conftest.$ac_ext
16664
 
cat >>conftest.$ac_ext <<_ACEOF
16665
 
/* end confdefs.h.  */
16666
 
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
16667
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16668
 
#define gethostbyname innocuous_gethostbyname
16669
 
 
16670
 
/* System header to define __stub macros and hopefully few prototypes,
16671
 
    which can conflict with char gethostbyname (); below.
16672
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16673
 
    <limits.h> exists even on freestanding compilers.  */
16674
 
 
16675
 
#ifdef __STDC__
16676
 
# include <limits.h>
16677
 
#else
16678
 
# include <assert.h>
16679
 
#endif
16680
 
 
16681
 
#undef gethostbyname
16682
 
 
16683
 
/* Override any GCC internal prototype to avoid an error.
16684
 
   Use char because int might match the return type of a GCC
16685
 
   builtin and then its argument prototype would still apply.  */
16686
 
#ifdef __cplusplus
16687
 
extern "C"
16688
 
#endif
16689
 
char gethostbyname ();
16690
 
/* The GNU C library defines this for functions which it implements
16691
 
    to always fail with ENOSYS.  Some functions are actually named
16692
 
    something starting with __ and the normal name is an alias.  */
16693
 
#if defined __stub_gethostbyname || defined __stub___gethostbyname
16694
 
choke me
16695
 
#endif
16696
 
 
16697
 
int
16698
 
main ()
16699
 
{
16700
 
return gethostbyname ();
16701
 
  ;
16702
 
  return 0;
16703
 
}
16704
 
_ACEOF
16705
 
rm -f conftest.$ac_objext conftest$ac_exeext
16706
 
if { (ac_try="$ac_link"
16707
 
case "(($ac_try" in
16708
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16709
 
  *) ac_try_echo=$ac_try;;
16710
 
esac
16711
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16712
 
$as_echo "$ac_try_echo") >&5
16713
 
  (eval "$ac_link") 2>conftest.er1
16714
 
  ac_status=$?
16715
 
  grep -v '^ *+' conftest.er1 >conftest.err
16716
 
  rm -f conftest.er1
16717
 
  cat conftest.err >&5
16718
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719
 
  (exit $ac_status); } && {
16720
 
         test -z "$ac_c_werror_flag" ||
16721
 
         test ! -s conftest.err
16722
 
       } && test -s conftest$ac_exeext && {
16723
 
         test "$cross_compiling" = yes ||
16724
 
         $as_test_x conftest$ac_exeext
16725
 
       }; then
16726
 
  ac_cv_func_gethostbyname=yes
16727
 
else
16728
 
  $as_echo "$as_me: failed program was:" >&5
16729
 
sed 's/^/| /' conftest.$ac_ext >&5
16730
 
 
16731
 
        ac_cv_func_gethostbyname=no
16732
 
fi
16733
 
 
16734
 
rm -rf conftest.dSYM
16735
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16736
 
      conftest$ac_exeext conftest.$ac_ext
16737
 
fi
16738
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
16739
 
$as_echo "$ac_cv_func_gethostbyname" >&6; }
 
14693
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 
14694
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 
14695
 
 
14696
fi
16740
14697
 
16741
14698
    if test $ac_cv_func_gethostbyname = no; then
16742
 
      { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
14699
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
16743
14700
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
16744
 
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
 
14701
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
16745
14702
  $as_echo_n "(cached) " >&6
16746
14703
else
16747
14704
  ac_check_lib_save_LIBS=$LIBS
16748
14705
LIBS="-lnsl  $LIBS"
16749
 
cat >conftest.$ac_ext <<_ACEOF
16750
 
/* confdefs.h.  */
16751
 
_ACEOF
16752
 
cat confdefs.h >>conftest.$ac_ext
16753
 
cat >>conftest.$ac_ext <<_ACEOF
 
14706
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16754
14707
/* end confdefs.h.  */
16755
14708
 
16756
14709
/* Override any GCC internal prototype to avoid an error.
16768
14721
  return 0;
16769
14722
}
16770
14723
_ACEOF
16771
 
rm -f conftest.$ac_objext conftest$ac_exeext
16772
 
if { (ac_try="$ac_link"
16773
 
case "(($ac_try" in
16774
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16775
 
  *) ac_try_echo=$ac_try;;
16776
 
esac
16777
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16778
 
$as_echo "$ac_try_echo") >&5
16779
 
  (eval "$ac_link") 2>conftest.er1
16780
 
  ac_status=$?
16781
 
  grep -v '^ *+' conftest.er1 >conftest.err
16782
 
  rm -f conftest.er1
16783
 
  cat conftest.err >&5
16784
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785
 
  (exit $ac_status); } && {
16786
 
         test -z "$ac_c_werror_flag" ||
16787
 
         test ! -s conftest.err
16788
 
       } && test -s conftest$ac_exeext && {
16789
 
         test "$cross_compiling" = yes ||
16790
 
         $as_test_x conftest$ac_exeext
16791
 
       }; then
 
14724
if ac_fn_c_try_link "$LINENO"; then :
16792
14725
  ac_cv_lib_nsl_gethostbyname=yes
16793
14726
else
16794
 
  $as_echo "$as_me: failed program was:" >&5
16795
 
sed 's/^/| /' conftest.$ac_ext >&5
16796
 
 
16797
 
        ac_cv_lib_nsl_gethostbyname=no
 
14727
  ac_cv_lib_nsl_gethostbyname=no
16798
14728
fi
16799
 
 
16800
 
rm -rf conftest.dSYM
16801
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16802
 
      conftest$ac_exeext conftest.$ac_ext
 
14729
rm -f core conftest.err conftest.$ac_objext \
 
14730
    conftest$ac_exeext conftest.$ac_ext
16803
14731
LIBS=$ac_check_lib_save_LIBS
16804
14732
fi
16805
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
14733
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
16806
14734
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
16807
 
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
 
14735
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
16808
14736
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
16809
14737
fi
16810
14738
 
16811
14739
      if test $ac_cv_lib_nsl_gethostbyname = no; then
16812
 
        { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
 
14740
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
16813
14741
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
16814
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
 
14742
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
16815
14743
  $as_echo_n "(cached) " >&6
16816
14744
else
16817
14745
  ac_check_lib_save_LIBS=$LIBS
16818
14746
LIBS="-lbsd  $LIBS"
16819
 
cat >conftest.$ac_ext <<_ACEOF
16820
 
/* confdefs.h.  */
16821
 
_ACEOF
16822
 
cat confdefs.h >>conftest.$ac_ext
16823
 
cat >>conftest.$ac_ext <<_ACEOF
 
14747
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824
14748
/* end confdefs.h.  */
16825
14749
 
16826
14750
/* Override any GCC internal prototype to avoid an error.
16838
14762
  return 0;
16839
14763
}
16840
14764
_ACEOF
16841
 
rm -f conftest.$ac_objext conftest$ac_exeext
16842
 
if { (ac_try="$ac_link"
16843
 
case "(($ac_try" in
16844
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16845
 
  *) ac_try_echo=$ac_try;;
16846
 
esac
16847
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16848
 
$as_echo "$ac_try_echo") >&5
16849
 
  (eval "$ac_link") 2>conftest.er1
16850
 
  ac_status=$?
16851
 
  grep -v '^ *+' conftest.er1 >conftest.err
16852
 
  rm -f conftest.er1
16853
 
  cat conftest.err >&5
16854
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855
 
  (exit $ac_status); } && {
16856
 
         test -z "$ac_c_werror_flag" ||
16857
 
         test ! -s conftest.err
16858
 
       } && test -s conftest$ac_exeext && {
16859
 
         test "$cross_compiling" = yes ||
16860
 
         $as_test_x conftest$ac_exeext
16861
 
       }; then
 
14765
if ac_fn_c_try_link "$LINENO"; then :
16862
14766
  ac_cv_lib_bsd_gethostbyname=yes
16863
14767
else
16864
 
  $as_echo "$as_me: failed program was:" >&5
16865
 
sed 's/^/| /' conftest.$ac_ext >&5
16866
 
 
16867
 
        ac_cv_lib_bsd_gethostbyname=no
 
14768
  ac_cv_lib_bsd_gethostbyname=no
16868
14769
fi
16869
 
 
16870
 
rm -rf conftest.dSYM
16871
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16872
 
      conftest$ac_exeext conftest.$ac_ext
 
14770
rm -f core conftest.err conftest.$ac_objext \
 
14771
    conftest$ac_exeext conftest.$ac_ext
16873
14772
LIBS=$ac_check_lib_save_LIBS
16874
14773
fi
16875
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
14774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
16876
14775
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
16877
 
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then
 
14776
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
16878
14777
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
16879
14778
fi
16880
14779
 
16888
14787
    # variants that don't use the name server (or something).  -lsocket
16889
14788
    # must be given before -lnsl if both are needed.  We assume that
16890
14789
    # if connect needs -lnsl, so does gethostbyname.
16891
 
    { $as_echo "$as_me:$LINENO: checking for connect" >&5
16892
 
$as_echo_n "checking for connect... " >&6; }
16893
 
if test "${ac_cv_func_connect+set}" = set; then
16894
 
  $as_echo_n "(cached) " >&6
16895
 
else
16896
 
  cat >conftest.$ac_ext <<_ACEOF
16897
 
/* confdefs.h.  */
16898
 
_ACEOF
16899
 
cat confdefs.h >>conftest.$ac_ext
16900
 
cat >>conftest.$ac_ext <<_ACEOF
16901
 
/* end confdefs.h.  */
16902
 
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
16903
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16904
 
#define connect innocuous_connect
16905
 
 
16906
 
/* System header to define __stub macros and hopefully few prototypes,
16907
 
    which can conflict with char connect (); below.
16908
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16909
 
    <limits.h> exists even on freestanding compilers.  */
16910
 
 
16911
 
#ifdef __STDC__
16912
 
# include <limits.h>
16913
 
#else
16914
 
# include <assert.h>
16915
 
#endif
16916
 
 
16917
 
#undef connect
16918
 
 
16919
 
/* Override any GCC internal prototype to avoid an error.
16920
 
   Use char because int might match the return type of a GCC
16921
 
   builtin and then its argument prototype would still apply.  */
16922
 
#ifdef __cplusplus
16923
 
extern "C"
16924
 
#endif
16925
 
char connect ();
16926
 
/* The GNU C library defines this for functions which it implements
16927
 
    to always fail with ENOSYS.  Some functions are actually named
16928
 
    something starting with __ and the normal name is an alias.  */
16929
 
#if defined __stub_connect || defined __stub___connect
16930
 
choke me
16931
 
#endif
16932
 
 
16933
 
int
16934
 
main ()
16935
 
{
16936
 
return connect ();
16937
 
  ;
16938
 
  return 0;
16939
 
}
16940
 
_ACEOF
16941
 
rm -f conftest.$ac_objext conftest$ac_exeext
16942
 
if { (ac_try="$ac_link"
16943
 
case "(($ac_try" in
16944
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16945
 
  *) ac_try_echo=$ac_try;;
16946
 
esac
16947
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16948
 
$as_echo "$ac_try_echo") >&5
16949
 
  (eval "$ac_link") 2>conftest.er1
16950
 
  ac_status=$?
16951
 
  grep -v '^ *+' conftest.er1 >conftest.err
16952
 
  rm -f conftest.er1
16953
 
  cat conftest.err >&5
16954
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955
 
  (exit $ac_status); } && {
16956
 
         test -z "$ac_c_werror_flag" ||
16957
 
         test ! -s conftest.err
16958
 
       } && test -s conftest$ac_exeext && {
16959
 
         test "$cross_compiling" = yes ||
16960
 
         $as_test_x conftest$ac_exeext
16961
 
       }; then
16962
 
  ac_cv_func_connect=yes
16963
 
else
16964
 
  $as_echo "$as_me: failed program was:" >&5
16965
 
sed 's/^/| /' conftest.$ac_ext >&5
16966
 
 
16967
 
        ac_cv_func_connect=no
16968
 
fi
16969
 
 
16970
 
rm -rf conftest.dSYM
16971
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16972
 
      conftest$ac_exeext conftest.$ac_ext
16973
 
fi
16974
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
16975
 
$as_echo "$ac_cv_func_connect" >&6; }
 
14790
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 
14791
if test "x$ac_cv_func_connect" = x""yes; then :
 
14792
 
 
14793
fi
16976
14794
 
16977
14795
    if test $ac_cv_func_connect = no; then
16978
 
      { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
 
14796
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
16979
14797
$as_echo_n "checking for connect in -lsocket... " >&6; }
16980
 
if test "${ac_cv_lib_socket_connect+set}" = set; then
 
14798
if test "${ac_cv_lib_socket_connect+set}" = set; then :
16981
14799
  $as_echo_n "(cached) " >&6
16982
14800
else
16983
14801
  ac_check_lib_save_LIBS=$LIBS
16984
14802
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
16985
 
cat >conftest.$ac_ext <<_ACEOF
16986
 
/* confdefs.h.  */
16987
 
_ACEOF
16988
 
cat confdefs.h >>conftest.$ac_ext
16989
 
cat >>conftest.$ac_ext <<_ACEOF
 
14803
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16990
14804
/* end confdefs.h.  */
16991
14805
 
16992
14806
/* Override any GCC internal prototype to avoid an error.
17004
14818
  return 0;
17005
14819
}
17006
14820
_ACEOF
17007
 
rm -f conftest.$ac_objext conftest$ac_exeext
17008
 
if { (ac_try="$ac_link"
17009
 
case "(($ac_try" in
17010
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17011
 
  *) ac_try_echo=$ac_try;;
17012
 
esac
17013
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17014
 
$as_echo "$ac_try_echo") >&5
17015
 
  (eval "$ac_link") 2>conftest.er1
17016
 
  ac_status=$?
17017
 
  grep -v '^ *+' conftest.er1 >conftest.err
17018
 
  rm -f conftest.er1
17019
 
  cat conftest.err >&5
17020
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021
 
  (exit $ac_status); } && {
17022
 
         test -z "$ac_c_werror_flag" ||
17023
 
         test ! -s conftest.err
17024
 
       } && test -s conftest$ac_exeext && {
17025
 
         test "$cross_compiling" = yes ||
17026
 
         $as_test_x conftest$ac_exeext
17027
 
       }; then
 
14821
if ac_fn_c_try_link "$LINENO"; then :
17028
14822
  ac_cv_lib_socket_connect=yes
17029
14823
else
17030
 
  $as_echo "$as_me: failed program was:" >&5
17031
 
sed 's/^/| /' conftest.$ac_ext >&5
17032
 
 
17033
 
        ac_cv_lib_socket_connect=no
 
14824
  ac_cv_lib_socket_connect=no
17034
14825
fi
17035
 
 
17036
 
rm -rf conftest.dSYM
17037
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17038
 
      conftest$ac_exeext conftest.$ac_ext
 
14826
rm -f core conftest.err conftest.$ac_objext \
 
14827
    conftest$ac_exeext conftest.$ac_ext
17039
14828
LIBS=$ac_check_lib_save_LIBS
17040
14829
fi
17041
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
 
14830
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
17042
14831
$as_echo "$ac_cv_lib_socket_connect" >&6; }
17043
 
if test "x$ac_cv_lib_socket_connect" = x""yes; then
 
14832
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
17044
14833
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
17045
14834
fi
17046
14835
 
17047
14836
    fi
17048
14837
 
17049
14838
    # Guillermo Gomez says -lposix is necessary on A/UX.
17050
 
    { $as_echo "$as_me:$LINENO: checking for remove" >&5
17051
 
$as_echo_n "checking for remove... " >&6; }
17052
 
if test "${ac_cv_func_remove+set}" = set; then
17053
 
  $as_echo_n "(cached) " >&6
17054
 
else
17055
 
  cat >conftest.$ac_ext <<_ACEOF
17056
 
/* confdefs.h.  */
17057
 
_ACEOF
17058
 
cat confdefs.h >>conftest.$ac_ext
17059
 
cat >>conftest.$ac_ext <<_ACEOF
17060
 
/* end confdefs.h.  */
17061
 
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
17062
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17063
 
#define remove innocuous_remove
17064
 
 
17065
 
/* System header to define __stub macros and hopefully few prototypes,
17066
 
    which can conflict with char remove (); below.
17067
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17068
 
    <limits.h> exists even on freestanding compilers.  */
17069
 
 
17070
 
#ifdef __STDC__
17071
 
# include <limits.h>
17072
 
#else
17073
 
# include <assert.h>
17074
 
#endif
17075
 
 
17076
 
#undef remove
17077
 
 
17078
 
/* Override any GCC internal prototype to avoid an error.
17079
 
   Use char because int might match the return type of a GCC
17080
 
   builtin and then its argument prototype would still apply.  */
17081
 
#ifdef __cplusplus
17082
 
extern "C"
17083
 
#endif
17084
 
char remove ();
17085
 
/* The GNU C library defines this for functions which it implements
17086
 
    to always fail with ENOSYS.  Some functions are actually named
17087
 
    something starting with __ and the normal name is an alias.  */
17088
 
#if defined __stub_remove || defined __stub___remove
17089
 
choke me
17090
 
#endif
17091
 
 
17092
 
int
17093
 
main ()
17094
 
{
17095
 
return remove ();
17096
 
  ;
17097
 
  return 0;
17098
 
}
17099
 
_ACEOF
17100
 
rm -f conftest.$ac_objext conftest$ac_exeext
17101
 
if { (ac_try="$ac_link"
17102
 
case "(($ac_try" in
17103
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17104
 
  *) ac_try_echo=$ac_try;;
17105
 
esac
17106
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17107
 
$as_echo "$ac_try_echo") >&5
17108
 
  (eval "$ac_link") 2>conftest.er1
17109
 
  ac_status=$?
17110
 
  grep -v '^ *+' conftest.er1 >conftest.err
17111
 
  rm -f conftest.er1
17112
 
  cat conftest.err >&5
17113
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114
 
  (exit $ac_status); } && {
17115
 
         test -z "$ac_c_werror_flag" ||
17116
 
         test ! -s conftest.err
17117
 
       } && test -s conftest$ac_exeext && {
17118
 
         test "$cross_compiling" = yes ||
17119
 
         $as_test_x conftest$ac_exeext
17120
 
       }; then
17121
 
  ac_cv_func_remove=yes
17122
 
else
17123
 
  $as_echo "$as_me: failed program was:" >&5
17124
 
sed 's/^/| /' conftest.$ac_ext >&5
17125
 
 
17126
 
        ac_cv_func_remove=no
17127
 
fi
17128
 
 
17129
 
rm -rf conftest.dSYM
17130
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17131
 
      conftest$ac_exeext conftest.$ac_ext
17132
 
fi
17133
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
17134
 
$as_echo "$ac_cv_func_remove" >&6; }
 
14839
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 
14840
if test "x$ac_cv_func_remove" = x""yes; then :
 
14841
 
 
14842
fi
17135
14843
 
17136
14844
    if test $ac_cv_func_remove = no; then
17137
 
      { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
 
14845
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
17138
14846
$as_echo_n "checking for remove in -lposix... " >&6; }
17139
 
if test "${ac_cv_lib_posix_remove+set}" = set; then
 
14847
if test "${ac_cv_lib_posix_remove+set}" = set; then :
17140
14848
  $as_echo_n "(cached) " >&6
17141
14849
else
17142
14850
  ac_check_lib_save_LIBS=$LIBS
17143
14851
LIBS="-lposix  $LIBS"
17144
 
cat >conftest.$ac_ext <<_ACEOF
17145
 
/* confdefs.h.  */
17146
 
_ACEOF
17147
 
cat confdefs.h >>conftest.$ac_ext
17148
 
cat >>conftest.$ac_ext <<_ACEOF
 
14852
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17149
14853
/* end confdefs.h.  */
17150
14854
 
17151
14855
/* Override any GCC internal prototype to avoid an error.
17163
14867
  return 0;
17164
14868
}
17165
14869
_ACEOF
17166
 
rm -f conftest.$ac_objext conftest$ac_exeext
17167
 
if { (ac_try="$ac_link"
17168
 
case "(($ac_try" in
17169
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17170
 
  *) ac_try_echo=$ac_try;;
17171
 
esac
17172
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17173
 
$as_echo "$ac_try_echo") >&5
17174
 
  (eval "$ac_link") 2>conftest.er1
17175
 
  ac_status=$?
17176
 
  grep -v '^ *+' conftest.er1 >conftest.err
17177
 
  rm -f conftest.er1
17178
 
  cat conftest.err >&5
17179
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180
 
  (exit $ac_status); } && {
17181
 
         test -z "$ac_c_werror_flag" ||
17182
 
         test ! -s conftest.err
17183
 
       } && test -s conftest$ac_exeext && {
17184
 
         test "$cross_compiling" = yes ||
17185
 
         $as_test_x conftest$ac_exeext
17186
 
       }; then
 
14870
if ac_fn_c_try_link "$LINENO"; then :
17187
14871
  ac_cv_lib_posix_remove=yes
17188
14872
else
17189
 
  $as_echo "$as_me: failed program was:" >&5
17190
 
sed 's/^/| /' conftest.$ac_ext >&5
17191
 
 
17192
 
        ac_cv_lib_posix_remove=no
 
14873
  ac_cv_lib_posix_remove=no
17193
14874
fi
17194
 
 
17195
 
rm -rf conftest.dSYM
17196
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17197
 
      conftest$ac_exeext conftest.$ac_ext
 
14875
rm -f core conftest.err conftest.$ac_objext \
 
14876
    conftest$ac_exeext conftest.$ac_ext
17198
14877
LIBS=$ac_check_lib_save_LIBS
17199
14878
fi
17200
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
 
14879
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
17201
14880
$as_echo "$ac_cv_lib_posix_remove" >&6; }
17202
 
if test "x$ac_cv_lib_posix_remove" = x""yes; then
 
14881
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
17203
14882
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
17204
14883
fi
17205
14884
 
17206
14885
    fi
17207
14886
 
17208
14887
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
17209
 
    { $as_echo "$as_me:$LINENO: checking for shmat" >&5
17210
 
$as_echo_n "checking for shmat... " >&6; }
17211
 
if test "${ac_cv_func_shmat+set}" = set; then
17212
 
  $as_echo_n "(cached) " >&6
17213
 
else
17214
 
  cat >conftest.$ac_ext <<_ACEOF
17215
 
/* confdefs.h.  */
17216
 
_ACEOF
17217
 
cat confdefs.h >>conftest.$ac_ext
17218
 
cat >>conftest.$ac_ext <<_ACEOF
17219
 
/* end confdefs.h.  */
17220
 
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
17221
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17222
 
#define shmat innocuous_shmat
17223
 
 
17224
 
/* System header to define __stub macros and hopefully few prototypes,
17225
 
    which can conflict with char shmat (); below.
17226
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17227
 
    <limits.h> exists even on freestanding compilers.  */
17228
 
 
17229
 
#ifdef __STDC__
17230
 
# include <limits.h>
17231
 
#else
17232
 
# include <assert.h>
17233
 
#endif
17234
 
 
17235
 
#undef shmat
17236
 
 
17237
 
/* Override any GCC internal prototype to avoid an error.
17238
 
   Use char because int might match the return type of a GCC
17239
 
   builtin and then its argument prototype would still apply.  */
17240
 
#ifdef __cplusplus
17241
 
extern "C"
17242
 
#endif
17243
 
char shmat ();
17244
 
/* The GNU C library defines this for functions which it implements
17245
 
    to always fail with ENOSYS.  Some functions are actually named
17246
 
    something starting with __ and the normal name is an alias.  */
17247
 
#if defined __stub_shmat || defined __stub___shmat
17248
 
choke me
17249
 
#endif
17250
 
 
17251
 
int
17252
 
main ()
17253
 
{
17254
 
return shmat ();
17255
 
  ;
17256
 
  return 0;
17257
 
}
17258
 
_ACEOF
17259
 
rm -f conftest.$ac_objext conftest$ac_exeext
17260
 
if { (ac_try="$ac_link"
17261
 
case "(($ac_try" in
17262
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17263
 
  *) ac_try_echo=$ac_try;;
17264
 
esac
17265
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17266
 
$as_echo "$ac_try_echo") >&5
17267
 
  (eval "$ac_link") 2>conftest.er1
17268
 
  ac_status=$?
17269
 
  grep -v '^ *+' conftest.er1 >conftest.err
17270
 
  rm -f conftest.er1
17271
 
  cat conftest.err >&5
17272
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273
 
  (exit $ac_status); } && {
17274
 
         test -z "$ac_c_werror_flag" ||
17275
 
         test ! -s conftest.err
17276
 
       } && test -s conftest$ac_exeext && {
17277
 
         test "$cross_compiling" = yes ||
17278
 
         $as_test_x conftest$ac_exeext
17279
 
       }; then
17280
 
  ac_cv_func_shmat=yes
17281
 
else
17282
 
  $as_echo "$as_me: failed program was:" >&5
17283
 
sed 's/^/| /' conftest.$ac_ext >&5
17284
 
 
17285
 
        ac_cv_func_shmat=no
17286
 
fi
17287
 
 
17288
 
rm -rf conftest.dSYM
17289
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17290
 
      conftest$ac_exeext conftest.$ac_ext
17291
 
fi
17292
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
17293
 
$as_echo "$ac_cv_func_shmat" >&6; }
 
14888
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 
14889
if test "x$ac_cv_func_shmat" = x""yes; then :
 
14890
 
 
14891
fi
17294
14892
 
17295
14893
    if test $ac_cv_func_shmat = no; then
17296
 
      { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
 
14894
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
17297
14895
$as_echo_n "checking for shmat in -lipc... " >&6; }
17298
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
 
14896
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
17299
14897
  $as_echo_n "(cached) " >&6
17300
14898
else
17301
14899
  ac_check_lib_save_LIBS=$LIBS
17302
14900
LIBS="-lipc  $LIBS"
17303
 
cat >conftest.$ac_ext <<_ACEOF
17304
 
/* confdefs.h.  */
17305
 
_ACEOF
17306
 
cat confdefs.h >>conftest.$ac_ext
17307
 
cat >>conftest.$ac_ext <<_ACEOF
 
14901
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308
14902
/* end confdefs.h.  */
17309
14903
 
17310
14904
/* Override any GCC internal prototype to avoid an error.
17322
14916
  return 0;
17323
14917
}
17324
14918
_ACEOF
17325
 
rm -f conftest.$ac_objext conftest$ac_exeext
17326
 
if { (ac_try="$ac_link"
17327
 
case "(($ac_try" in
17328
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17329
 
  *) ac_try_echo=$ac_try;;
17330
 
esac
17331
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17332
 
$as_echo "$ac_try_echo") >&5
17333
 
  (eval "$ac_link") 2>conftest.er1
17334
 
  ac_status=$?
17335
 
  grep -v '^ *+' conftest.er1 >conftest.err
17336
 
  rm -f conftest.er1
17337
 
  cat conftest.err >&5
17338
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339
 
  (exit $ac_status); } && {
17340
 
         test -z "$ac_c_werror_flag" ||
17341
 
         test ! -s conftest.err
17342
 
       } && test -s conftest$ac_exeext && {
17343
 
         test "$cross_compiling" = yes ||
17344
 
         $as_test_x conftest$ac_exeext
17345
 
       }; then
 
14919
if ac_fn_c_try_link "$LINENO"; then :
17346
14920
  ac_cv_lib_ipc_shmat=yes
17347
14921
else
17348
 
  $as_echo "$as_me: failed program was:" >&5
17349
 
sed 's/^/| /' conftest.$ac_ext >&5
17350
 
 
17351
 
        ac_cv_lib_ipc_shmat=no
 
14922
  ac_cv_lib_ipc_shmat=no
17352
14923
fi
17353
 
 
17354
 
rm -rf conftest.dSYM
17355
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17356
 
      conftest$ac_exeext conftest.$ac_ext
 
14924
rm -f core conftest.err conftest.$ac_objext \
 
14925
    conftest$ac_exeext conftest.$ac_ext
17357
14926
LIBS=$ac_check_lib_save_LIBS
17358
14927
fi
17359
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
 
14928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
17360
14929
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
17361
 
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then
 
14930
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
17362
14931
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
17363
14932
fi
17364
14933
 
17374
14943
  # These have to be linked with before -lX11, unlike the other
17375
14944
  # libraries we check for below, so use a different variable.
17376
14945
  # John Interrante, Karl Berry
17377
 
  { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
 
14946
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
17378
14947
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
17379
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
 
14948
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
17380
14949
  $as_echo_n "(cached) " >&6
17381
14950
else
17382
14951
  ac_check_lib_save_LIBS=$LIBS
17383
14952
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
17384
 
cat >conftest.$ac_ext <<_ACEOF
17385
 
/* confdefs.h.  */
17386
 
_ACEOF
17387
 
cat confdefs.h >>conftest.$ac_ext
17388
 
cat >>conftest.$ac_ext <<_ACEOF
 
14953
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17389
14954
/* end confdefs.h.  */
17390
14955
 
17391
14956
/* Override any GCC internal prototype to avoid an error.
17403
14968
  return 0;
17404
14969
}
17405
14970
_ACEOF
17406
 
rm -f conftest.$ac_objext conftest$ac_exeext
17407
 
if { (ac_try="$ac_link"
17408
 
case "(($ac_try" in
17409
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17410
 
  *) ac_try_echo=$ac_try;;
17411
 
esac
17412
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17413
 
$as_echo "$ac_try_echo") >&5
17414
 
  (eval "$ac_link") 2>conftest.er1
17415
 
  ac_status=$?
17416
 
  grep -v '^ *+' conftest.er1 >conftest.err
17417
 
  rm -f conftest.er1
17418
 
  cat conftest.err >&5
17419
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420
 
  (exit $ac_status); } && {
17421
 
         test -z "$ac_c_werror_flag" ||
17422
 
         test ! -s conftest.err
17423
 
       } && test -s conftest$ac_exeext && {
17424
 
         test "$cross_compiling" = yes ||
17425
 
         $as_test_x conftest$ac_exeext
17426
 
       }; then
 
14971
if ac_fn_c_try_link "$LINENO"; then :
17427
14972
  ac_cv_lib_ICE_IceConnectionNumber=yes
17428
14973
else
17429
 
  $as_echo "$as_me: failed program was:" >&5
17430
 
sed 's/^/| /' conftest.$ac_ext >&5
17431
 
 
17432
 
        ac_cv_lib_ICE_IceConnectionNumber=no
 
14974
  ac_cv_lib_ICE_IceConnectionNumber=no
17433
14975
fi
17434
 
 
17435
 
rm -rf conftest.dSYM
17436
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17437
 
      conftest$ac_exeext conftest.$ac_ext
 
14976
rm -f core conftest.err conftest.$ac_objext \
 
14977
    conftest$ac_exeext conftest.$ac_ext
17438
14978
LIBS=$ac_check_lib_save_LIBS
17439
14979
fi
17440
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
14980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
17441
14981
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
17442
 
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
 
14982
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
17443
14983
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
17444
14984
fi
17445
14985
 
17449
14989
 
17450
14990
  # X not found
17451
14991
  if test x$no_x = xyes ; then
17452
 
    { { $as_echo "$as_me:$LINENO: error: X development libraries not found" >&5
17453
 
$as_echo "$as_me: error: X development libraries not found" >&2;}
17454
 
   { (exit 1); exit 1; }; }
 
14992
    as_fn_error "X development libraries not found" "$LINENO" 5
17455
14993
  fi
17456
14994
 
17457
14995
  gp_save_cflags="$CFLAGS"
17458
14996
  gp_save_libs="$LIBS"
17459
14997
  CFLAGS="$X_CFLAGS"
17460
14998
  LIBS="$X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS"
17461
 
 
17462
 
{ $as_echo "$as_me:$LINENO: checking for XFree in -lX11" >&5
 
14999
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFree in -lX11" >&5
17463
15000
$as_echo_n "checking for XFree in -lX11... " >&6; }
17464
 
if test "${ac_cv_lib_X11_XFree+set}" = set; then
 
15001
if test "${ac_cv_lib_X11_XFree+set}" = set; then :
17465
15002
  $as_echo_n "(cached) " >&6
17466
15003
else
17467
15004
  ac_check_lib_save_LIBS=$LIBS
17468
15005
LIBS="-lX11  $LIBS"
17469
 
cat >conftest.$ac_ext <<_ACEOF
17470
 
/* confdefs.h.  */
17471
 
_ACEOF
17472
 
cat confdefs.h >>conftest.$ac_ext
17473
 
cat >>conftest.$ac_ext <<_ACEOF
 
15006
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17474
15007
/* end confdefs.h.  */
17475
15008
 
17476
15009
/* Override any GCC internal prototype to avoid an error.
17488
15021
  return 0;
17489
15022
}
17490
15023
_ACEOF
17491
 
rm -f conftest.$ac_objext conftest$ac_exeext
17492
 
if { (ac_try="$ac_link"
17493
 
case "(($ac_try" in
17494
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17495
 
  *) ac_try_echo=$ac_try;;
17496
 
esac
17497
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17498
 
$as_echo "$ac_try_echo") >&5
17499
 
  (eval "$ac_link") 2>conftest.er1
17500
 
  ac_status=$?
17501
 
  grep -v '^ *+' conftest.er1 >conftest.err
17502
 
  rm -f conftest.er1
17503
 
  cat conftest.err >&5
17504
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505
 
  (exit $ac_status); } && {
17506
 
         test -z "$ac_c_werror_flag" ||
17507
 
         test ! -s conftest.err
17508
 
       } && test -s conftest$ac_exeext && {
17509
 
         test "$cross_compiling" = yes ||
17510
 
         $as_test_x conftest$ac_exeext
17511
 
       }; then
 
15024
if ac_fn_c_try_link "$LINENO"; then :
17512
15025
  ac_cv_lib_X11_XFree=yes
17513
15026
else
17514
 
  $as_echo "$as_me: failed program was:" >&5
17515
 
sed 's/^/| /' conftest.$ac_ext >&5
17516
 
 
17517
 
        ac_cv_lib_X11_XFree=no
 
15027
  ac_cv_lib_X11_XFree=no
17518
15028
fi
17519
 
 
17520
 
rm -rf conftest.dSYM
17521
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17522
 
      conftest$ac_exeext conftest.$ac_ext
 
15029
rm -f core conftest.err conftest.$ac_objext \
 
15030
    conftest$ac_exeext conftest.$ac_ext
17523
15031
LIBS=$ac_check_lib_save_LIBS
17524
15032
fi
17525
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XFree" >&5
 
15033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XFree" >&5
17526
15034
$as_echo "$ac_cv_lib_X11_XFree" >&6; }
17527
 
if test "x$ac_cv_lib_X11_XFree" = x""yes; then
 
15035
if test "x$ac_cv_lib_X11_XFree" = x""yes; then :
17528
15036
  cat >>confdefs.h <<_ACEOF
17529
15037
#define HAVE_LIBX11 1
17530
15038
_ACEOF
17532
15040
  LIBS="-lX11 $LIBS"
17533
15041
 
17534
15042
else
17535
 
  { { $as_echo "$as_me:$LINENO: error: libX11 not found" >&5
17536
 
$as_echo "$as_me: error: libX11 not found" >&2;}
17537
 
   { (exit 1); exit 1; }; }
 
15043
  as_fn_error "libX11 not found" "$LINENO" 5
17538
15044
fi
17539
15045
 
17540
 
 
17541
 
{ $as_echo "$as_me:$LINENO: checking for XauFileName in -lXau" >&5
 
15046
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauFileName in -lXau" >&5
17542
15047
$as_echo_n "checking for XauFileName in -lXau... " >&6; }
17543
 
if test "${ac_cv_lib_Xau_XauFileName+set}" = set; then
 
15048
if test "${ac_cv_lib_Xau_XauFileName+set}" = set; then :
17544
15049
  $as_echo_n "(cached) " >&6
17545
15050
else
17546
15051
  ac_check_lib_save_LIBS=$LIBS
17547
15052
LIBS="-lXau  $LIBS"
17548
 
cat >conftest.$ac_ext <<_ACEOF
17549
 
/* confdefs.h.  */
17550
 
_ACEOF
17551
 
cat confdefs.h >>conftest.$ac_ext
17552
 
cat >>conftest.$ac_ext <<_ACEOF
 
15053
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17553
15054
/* end confdefs.h.  */
17554
15055
 
17555
15056
/* Override any GCC internal prototype to avoid an error.
17567
15068
  return 0;
17568
15069
}
17569
15070
_ACEOF
17570
 
rm -f conftest.$ac_objext conftest$ac_exeext
17571
 
if { (ac_try="$ac_link"
17572
 
case "(($ac_try" in
17573
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17574
 
  *) ac_try_echo=$ac_try;;
17575
 
esac
17576
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17577
 
$as_echo "$ac_try_echo") >&5
17578
 
  (eval "$ac_link") 2>conftest.er1
17579
 
  ac_status=$?
17580
 
  grep -v '^ *+' conftest.er1 >conftest.err
17581
 
  rm -f conftest.er1
17582
 
  cat conftest.err >&5
17583
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584
 
  (exit $ac_status); } && {
17585
 
         test -z "$ac_c_werror_flag" ||
17586
 
         test ! -s conftest.err
17587
 
       } && test -s conftest$ac_exeext && {
17588
 
         test "$cross_compiling" = yes ||
17589
 
         $as_test_x conftest$ac_exeext
17590
 
       }; then
 
15071
if ac_fn_c_try_link "$LINENO"; then :
17591
15072
  ac_cv_lib_Xau_XauFileName=yes
17592
15073
else
17593
 
  $as_echo "$as_me: failed program was:" >&5
17594
 
sed 's/^/| /' conftest.$ac_ext >&5
17595
 
 
17596
 
        ac_cv_lib_Xau_XauFileName=no
 
15074
  ac_cv_lib_Xau_XauFileName=no
17597
15075
fi
17598
 
 
17599
 
rm -rf conftest.dSYM
17600
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17601
 
      conftest$ac_exeext conftest.$ac_ext
 
15076
rm -f core conftest.err conftest.$ac_objext \
 
15077
    conftest$ac_exeext conftest.$ac_ext
17602
15078
LIBS=$ac_check_lib_save_LIBS
17603
15079
fi
17604
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauFileName" >&5
 
15080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauFileName" >&5
17605
15081
$as_echo "$ac_cv_lib_Xau_XauFileName" >&6; }
17606
 
if test "x$ac_cv_lib_Xau_XauFileName" = x""yes; then
 
15082
if test "x$ac_cv_lib_Xau_XauFileName" = x""yes; then :
17607
15083
  cat >>confdefs.h <<_ACEOF
17608
15084
#define HAVE_LIBXAU 1
17609
15085
_ACEOF
17611
15087
  LIBS="-lXau $LIBS"
17612
15088
 
17613
15089
else
17614
 
  { { $as_echo "$as_me:$LINENO: error: libXau not found" >&5
17615
 
$as_echo "$as_me: error: libXau not found" >&2;}
17616
 
   { (exit 1); exit 1; }; }
 
15090
  as_fn_error "libXau not found" "$LINENO" 5
17617
15091
fi
17618
15092
 
17619
15093
  CFLAGS="$gp_save_cflags"
17628
15102
  if test "$no_x" = yes; then
17629
15103
  # Not all programs may use this symbol, but it does not hurt to define it.
17630
15104
 
17631
 
cat >>confdefs.h <<\_ACEOF
17632
 
#define X_DISPLAY_MISSING 1
17633
 
_ACEOF
 
15105
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
17634
15106
 
17635
15107
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
17636
15108
else
17643
15115
    X_LIBS="$X_LIBS -L$x_libraries"
17644
15116
    # For Solaris; some versions of Sun CC require a space after -R and
17645
15117
    # others require no space.  Words are not sufficient . . . .
17646
 
    { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
 
15118
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
17647
15119
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
17648
15120
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
17649
15121
    ac_xsave_c_werror_flag=$ac_c_werror_flag
17650
15122
    ac_c_werror_flag=yes
17651
 
    cat >conftest.$ac_ext <<_ACEOF
17652
 
/* confdefs.h.  */
17653
 
_ACEOF
17654
 
cat confdefs.h >>conftest.$ac_ext
17655
 
cat >>conftest.$ac_ext <<_ACEOF
 
15123
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17656
15124
/* end confdefs.h.  */
17657
15125
 
17658
15126
int
17663
15131
  return 0;
17664
15132
}
17665
15133
_ACEOF
17666
 
rm -f conftest.$ac_objext conftest$ac_exeext
17667
 
if { (ac_try="$ac_link"
17668
 
case "(($ac_try" in
17669
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17670
 
  *) ac_try_echo=$ac_try;;
17671
 
esac
17672
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17673
 
$as_echo "$ac_try_echo") >&5
17674
 
  (eval "$ac_link") 2>conftest.er1
17675
 
  ac_status=$?
17676
 
  grep -v '^ *+' conftest.er1 >conftest.err
17677
 
  rm -f conftest.er1
17678
 
  cat conftest.err >&5
17679
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680
 
  (exit $ac_status); } && {
17681
 
         test -z "$ac_c_werror_flag" ||
17682
 
         test ! -s conftest.err
17683
 
       } && test -s conftest$ac_exeext && {
17684
 
         test "$cross_compiling" = yes ||
17685
 
         $as_test_x conftest$ac_exeext
17686
 
       }; then
17687
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
15134
if ac_fn_c_try_link "$LINENO"; then :
 
15135
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17688
15136
$as_echo "no" >&6; }
17689
15137
       X_LIBS="$X_LIBS -R$x_libraries"
17690
15138
else
17691
 
  $as_echo "$as_me: failed program was:" >&5
17692
 
sed 's/^/| /' conftest.$ac_ext >&5
17693
 
 
17694
 
        LIBS="$ac_xsave_LIBS -R $x_libraries"
17695
 
       cat >conftest.$ac_ext <<_ACEOF
17696
 
/* confdefs.h.  */
17697
 
_ACEOF
17698
 
cat confdefs.h >>conftest.$ac_ext
17699
 
cat >>conftest.$ac_ext <<_ACEOF
 
15139
  LIBS="$ac_xsave_LIBS -R $x_libraries"
 
15140
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17700
15141
/* end confdefs.h.  */
17701
15142
 
17702
15143
int
17707
15148
  return 0;
17708
15149
}
17709
15150
_ACEOF
17710
 
rm -f conftest.$ac_objext conftest$ac_exeext
17711
 
if { (ac_try="$ac_link"
17712
 
case "(($ac_try" in
17713
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17714
 
  *) ac_try_echo=$ac_try;;
17715
 
esac
17716
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17717
 
$as_echo "$ac_try_echo") >&5
17718
 
  (eval "$ac_link") 2>conftest.er1
17719
 
  ac_status=$?
17720
 
  grep -v '^ *+' conftest.er1 >conftest.err
17721
 
  rm -f conftest.er1
17722
 
  cat conftest.err >&5
17723
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724
 
  (exit $ac_status); } && {
17725
 
         test -z "$ac_c_werror_flag" ||
17726
 
         test ! -s conftest.err
17727
 
       } && test -s conftest$ac_exeext && {
17728
 
         test "$cross_compiling" = yes ||
17729
 
         $as_test_x conftest$ac_exeext
17730
 
       }; then
17731
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15151
if ac_fn_c_try_link "$LINENO"; then :
 
15152
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17732
15153
$as_echo "yes" >&6; }
17733
15154
          X_LIBS="$X_LIBS -R $x_libraries"
17734
15155
else
17735
 
  $as_echo "$as_me: failed program was:" >&5
17736
 
sed 's/^/| /' conftest.$ac_ext >&5
17737
 
 
17738
 
        { $as_echo "$as_me:$LINENO: result: neither works" >&5
 
15156
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
17739
15157
$as_echo "neither works" >&6; }
17740
15158
fi
17741
 
 
17742
 
rm -rf conftest.dSYM
17743
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17744
 
      conftest$ac_exeext conftest.$ac_ext
 
15159
rm -f core conftest.err conftest.$ac_objext \
 
15160
    conftest$ac_exeext conftest.$ac_ext
17745
15161
fi
17746
 
 
17747
 
rm -rf conftest.dSYM
17748
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17749
 
      conftest$ac_exeext conftest.$ac_ext
 
15162
rm -f core conftest.err conftest.$ac_objext \
 
15163
    conftest$ac_exeext conftest.$ac_ext
17750
15164
    ac_c_werror_flag=$ac_xsave_c_werror_flag
17751
15165
    LIBS=$ac_xsave_LIBS
17752
15166
  fi
17762
15176
    # libraries were built with DECnet support.  And Karl Berry says
17763
15177
    # the Alpha needs dnet_stub (dnet does not exist).
17764
15178
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
17765
 
    cat >conftest.$ac_ext <<_ACEOF
17766
 
/* confdefs.h.  */
17767
 
_ACEOF
17768
 
cat confdefs.h >>conftest.$ac_ext
17769
 
cat >>conftest.$ac_ext <<_ACEOF
 
15179
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17770
15180
/* end confdefs.h.  */
17771
15181
 
17772
15182
/* Override any GCC internal prototype to avoid an error.
17784
15194
  return 0;
17785
15195
}
17786
15196
_ACEOF
17787
 
rm -f conftest.$ac_objext conftest$ac_exeext
17788
 
if { (ac_try="$ac_link"
17789
 
case "(($ac_try" in
17790
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17791
 
  *) ac_try_echo=$ac_try;;
17792
 
esac
17793
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17794
 
$as_echo "$ac_try_echo") >&5
17795
 
  (eval "$ac_link") 2>conftest.er1
17796
 
  ac_status=$?
17797
 
  grep -v '^ *+' conftest.er1 >conftest.err
17798
 
  rm -f conftest.er1
17799
 
  cat conftest.err >&5
17800
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801
 
  (exit $ac_status); } && {
17802
 
         test -z "$ac_c_werror_flag" ||
17803
 
         test ! -s conftest.err
17804
 
       } && test -s conftest$ac_exeext && {
17805
 
         test "$cross_compiling" = yes ||
17806
 
         $as_test_x conftest$ac_exeext
17807
 
       }; then
17808
 
  :
 
15197
if ac_fn_c_try_link "$LINENO"; then :
 
15198
 
17809
15199
else
17810
 
  $as_echo "$as_me: failed program was:" >&5
17811
 
sed 's/^/| /' conftest.$ac_ext >&5
17812
 
 
17813
 
        { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
 
15200
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
17814
15201
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
17815
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
 
15202
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
17816
15203
  $as_echo_n "(cached) " >&6
17817
15204
else
17818
15205
  ac_check_lib_save_LIBS=$LIBS
17819
15206
LIBS="-ldnet  $LIBS"
17820
 
cat >conftest.$ac_ext <<_ACEOF
17821
 
/* confdefs.h.  */
17822
 
_ACEOF
17823
 
cat confdefs.h >>conftest.$ac_ext
17824
 
cat >>conftest.$ac_ext <<_ACEOF
 
15207
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17825
15208
/* end confdefs.h.  */
17826
15209
 
17827
15210
/* Override any GCC internal prototype to avoid an error.
17839
15222
  return 0;
17840
15223
}
17841
15224
_ACEOF
17842
 
rm -f conftest.$ac_objext conftest$ac_exeext
17843
 
if { (ac_try="$ac_link"
17844
 
case "(($ac_try" in
17845
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17846
 
  *) ac_try_echo=$ac_try;;
17847
 
esac
17848
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17849
 
$as_echo "$ac_try_echo") >&5
17850
 
  (eval "$ac_link") 2>conftest.er1
17851
 
  ac_status=$?
17852
 
  grep -v '^ *+' conftest.er1 >conftest.err
17853
 
  rm -f conftest.er1
17854
 
  cat conftest.err >&5
17855
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856
 
  (exit $ac_status); } && {
17857
 
         test -z "$ac_c_werror_flag" ||
17858
 
         test ! -s conftest.err
17859
 
       } && test -s conftest$ac_exeext && {
17860
 
         test "$cross_compiling" = yes ||
17861
 
         $as_test_x conftest$ac_exeext
17862
 
       }; then
 
15225
if ac_fn_c_try_link "$LINENO"; then :
17863
15226
  ac_cv_lib_dnet_dnet_ntoa=yes
17864
15227
else
17865
 
  $as_echo "$as_me: failed program was:" >&5
17866
 
sed 's/^/| /' conftest.$ac_ext >&5
17867
 
 
17868
 
        ac_cv_lib_dnet_dnet_ntoa=no
 
15228
  ac_cv_lib_dnet_dnet_ntoa=no
17869
15229
fi
17870
 
 
17871
 
rm -rf conftest.dSYM
17872
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17873
 
      conftest$ac_exeext conftest.$ac_ext
 
15230
rm -f core conftest.err conftest.$ac_objext \
 
15231
    conftest$ac_exeext conftest.$ac_ext
17874
15232
LIBS=$ac_check_lib_save_LIBS
17875
15233
fi
17876
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
15234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
17877
15235
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
17878
 
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
 
15236
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
17879
15237
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
17880
15238
fi
17881
15239
 
17882
15240
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
17883
 
      { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
 
15241
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
17884
15242
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
17885
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
 
15243
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
17886
15244
  $as_echo_n "(cached) " >&6
17887
15245
else
17888
15246
  ac_check_lib_save_LIBS=$LIBS
17889
15247
LIBS="-ldnet_stub  $LIBS"
17890
 
cat >conftest.$ac_ext <<_ACEOF
17891
 
/* confdefs.h.  */
17892
 
_ACEOF
17893
 
cat confdefs.h >>conftest.$ac_ext
17894
 
cat >>conftest.$ac_ext <<_ACEOF
 
15248
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17895
15249
/* end confdefs.h.  */
17896
15250
 
17897
15251
/* Override any GCC internal prototype to avoid an error.
17909
15263
  return 0;
17910
15264
}
17911
15265
_ACEOF
17912
 
rm -f conftest.$ac_objext conftest$ac_exeext
17913
 
if { (ac_try="$ac_link"
17914
 
case "(($ac_try" in
17915
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17916
 
  *) ac_try_echo=$ac_try;;
17917
 
esac
17918
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17919
 
$as_echo "$ac_try_echo") >&5
17920
 
  (eval "$ac_link") 2>conftest.er1
17921
 
  ac_status=$?
17922
 
  grep -v '^ *+' conftest.er1 >conftest.err
17923
 
  rm -f conftest.er1
17924
 
  cat conftest.err >&5
17925
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926
 
  (exit $ac_status); } && {
17927
 
         test -z "$ac_c_werror_flag" ||
17928
 
         test ! -s conftest.err
17929
 
       } && test -s conftest$ac_exeext && {
17930
 
         test "$cross_compiling" = yes ||
17931
 
         $as_test_x conftest$ac_exeext
17932
 
       }; then
 
15266
if ac_fn_c_try_link "$LINENO"; then :
17933
15267
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
17934
15268
else
17935
 
  $as_echo "$as_me: failed program was:" >&5
17936
 
sed 's/^/| /' conftest.$ac_ext >&5
17937
 
 
17938
 
        ac_cv_lib_dnet_stub_dnet_ntoa=no
 
15269
  ac_cv_lib_dnet_stub_dnet_ntoa=no
17939
15270
fi
17940
 
 
17941
 
rm -rf conftest.dSYM
17942
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17943
 
      conftest$ac_exeext conftest.$ac_ext
 
15271
rm -f core conftest.err conftest.$ac_objext \
 
15272
    conftest$ac_exeext conftest.$ac_ext
17944
15273
LIBS=$ac_check_lib_save_LIBS
17945
15274
fi
17946
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
15275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
17947
15276
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
17948
 
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
 
15277
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
17949
15278
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
17950
15279
fi
17951
15280
 
17952
15281
    fi
17953
15282
fi
17954
 
 
17955
 
rm -rf conftest.dSYM
17956
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17957
 
      conftest$ac_exeext conftest.$ac_ext
 
15283
rm -f core conftest.err conftest.$ac_objext \
 
15284
    conftest$ac_exeext conftest.$ac_ext
17958
15285
    LIBS="$ac_xsave_LIBS"
17959
15286
 
17960
15287
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
17965
15292
    # on Irix 5.2, according to T.E. Dickey.
17966
15293
    # The functions gethostbyname, getservbyname, and inet_addr are
17967
15294
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
17968
 
    { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
17969
 
$as_echo_n "checking for gethostbyname... " >&6; }
17970
 
if test "${ac_cv_func_gethostbyname+set}" = set; then
17971
 
  $as_echo_n "(cached) " >&6
17972
 
else
17973
 
  cat >conftest.$ac_ext <<_ACEOF
17974
 
/* confdefs.h.  */
17975
 
_ACEOF
17976
 
cat confdefs.h >>conftest.$ac_ext
17977
 
cat >>conftest.$ac_ext <<_ACEOF
17978
 
/* end confdefs.h.  */
17979
 
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
17980
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17981
 
#define gethostbyname innocuous_gethostbyname
17982
 
 
17983
 
/* System header to define __stub macros and hopefully few prototypes,
17984
 
    which can conflict with char gethostbyname (); below.
17985
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17986
 
    <limits.h> exists even on freestanding compilers.  */
17987
 
 
17988
 
#ifdef __STDC__
17989
 
# include <limits.h>
17990
 
#else
17991
 
# include <assert.h>
17992
 
#endif
17993
 
 
17994
 
#undef gethostbyname
17995
 
 
17996
 
/* Override any GCC internal prototype to avoid an error.
17997
 
   Use char because int might match the return type of a GCC
17998
 
   builtin and then its argument prototype would still apply.  */
17999
 
#ifdef __cplusplus
18000
 
extern "C"
18001
 
#endif
18002
 
char gethostbyname ();
18003
 
/* The GNU C library defines this for functions which it implements
18004
 
    to always fail with ENOSYS.  Some functions are actually named
18005
 
    something starting with __ and the normal name is an alias.  */
18006
 
#if defined __stub_gethostbyname || defined __stub___gethostbyname
18007
 
choke me
18008
 
#endif
18009
 
 
18010
 
int
18011
 
main ()
18012
 
{
18013
 
return gethostbyname ();
18014
 
  ;
18015
 
  return 0;
18016
 
}
18017
 
_ACEOF
18018
 
rm -f conftest.$ac_objext conftest$ac_exeext
18019
 
if { (ac_try="$ac_link"
18020
 
case "(($ac_try" in
18021
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18022
 
  *) ac_try_echo=$ac_try;;
18023
 
esac
18024
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18025
 
$as_echo "$ac_try_echo") >&5
18026
 
  (eval "$ac_link") 2>conftest.er1
18027
 
  ac_status=$?
18028
 
  grep -v '^ *+' conftest.er1 >conftest.err
18029
 
  rm -f conftest.er1
18030
 
  cat conftest.err >&5
18031
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032
 
  (exit $ac_status); } && {
18033
 
         test -z "$ac_c_werror_flag" ||
18034
 
         test ! -s conftest.err
18035
 
       } && test -s conftest$ac_exeext && {
18036
 
         test "$cross_compiling" = yes ||
18037
 
         $as_test_x conftest$ac_exeext
18038
 
       }; then
18039
 
  ac_cv_func_gethostbyname=yes
18040
 
else
18041
 
  $as_echo "$as_me: failed program was:" >&5
18042
 
sed 's/^/| /' conftest.$ac_ext >&5
18043
 
 
18044
 
        ac_cv_func_gethostbyname=no
18045
 
fi
18046
 
 
18047
 
rm -rf conftest.dSYM
18048
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18049
 
      conftest$ac_exeext conftest.$ac_ext
18050
 
fi
18051
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
18052
 
$as_echo "$ac_cv_func_gethostbyname" >&6; }
 
15295
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 
15296
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 
15297
 
 
15298
fi
18053
15299
 
18054
15300
    if test $ac_cv_func_gethostbyname = no; then
18055
 
      { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
15301
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
18056
15302
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
18057
 
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
 
15303
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
18058
15304
  $as_echo_n "(cached) " >&6
18059
15305
else
18060
15306
  ac_check_lib_save_LIBS=$LIBS
18061
15307
LIBS="-lnsl  $LIBS"
18062
 
cat >conftest.$ac_ext <<_ACEOF
18063
 
/* confdefs.h.  */
18064
 
_ACEOF
18065
 
cat confdefs.h >>conftest.$ac_ext
18066
 
cat >>conftest.$ac_ext <<_ACEOF
 
15308
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18067
15309
/* end confdefs.h.  */
18068
15310
 
18069
15311
/* Override any GCC internal prototype to avoid an error.
18081
15323
  return 0;
18082
15324
}
18083
15325
_ACEOF
18084
 
rm -f conftest.$ac_objext conftest$ac_exeext
18085
 
if { (ac_try="$ac_link"
18086
 
case "(($ac_try" in
18087
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18088
 
  *) ac_try_echo=$ac_try;;
18089
 
esac
18090
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18091
 
$as_echo "$ac_try_echo") >&5
18092
 
  (eval "$ac_link") 2>conftest.er1
18093
 
  ac_status=$?
18094
 
  grep -v '^ *+' conftest.er1 >conftest.err
18095
 
  rm -f conftest.er1
18096
 
  cat conftest.err >&5
18097
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098
 
  (exit $ac_status); } && {
18099
 
         test -z "$ac_c_werror_flag" ||
18100
 
         test ! -s conftest.err
18101
 
       } && test -s conftest$ac_exeext && {
18102
 
         test "$cross_compiling" = yes ||
18103
 
         $as_test_x conftest$ac_exeext
18104
 
       }; then
 
15326
if ac_fn_c_try_link "$LINENO"; then :
18105
15327
  ac_cv_lib_nsl_gethostbyname=yes
18106
15328
else
18107
 
  $as_echo "$as_me: failed program was:" >&5
18108
 
sed 's/^/| /' conftest.$ac_ext >&5
18109
 
 
18110
 
        ac_cv_lib_nsl_gethostbyname=no
 
15329
  ac_cv_lib_nsl_gethostbyname=no
18111
15330
fi
18112
 
 
18113
 
rm -rf conftest.dSYM
18114
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18115
 
      conftest$ac_exeext conftest.$ac_ext
 
15331
rm -f core conftest.err conftest.$ac_objext \
 
15332
    conftest$ac_exeext conftest.$ac_ext
18116
15333
LIBS=$ac_check_lib_save_LIBS
18117
15334
fi
18118
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
15335
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
18119
15336
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
18120
 
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
 
15337
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
18121
15338
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
18122
15339
fi
18123
15340
 
18124
15341
      if test $ac_cv_lib_nsl_gethostbyname = no; then
18125
 
        { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
 
15342
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
18126
15343
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
18127
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
 
15344
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
18128
15345
  $as_echo_n "(cached) " >&6
18129
15346
else
18130
15347
  ac_check_lib_save_LIBS=$LIBS
18131
15348
LIBS="-lbsd  $LIBS"
18132
 
cat >conftest.$ac_ext <<_ACEOF
18133
 
/* confdefs.h.  */
18134
 
_ACEOF
18135
 
cat confdefs.h >>conftest.$ac_ext
18136
 
cat >>conftest.$ac_ext <<_ACEOF
 
15349
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18137
15350
/* end confdefs.h.  */
18138
15351
 
18139
15352
/* Override any GCC internal prototype to avoid an error.
18151
15364
  return 0;
18152
15365
}
18153
15366
_ACEOF
18154
 
rm -f conftest.$ac_objext conftest$ac_exeext
18155
 
if { (ac_try="$ac_link"
18156
 
case "(($ac_try" in
18157
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18158
 
  *) ac_try_echo=$ac_try;;
18159
 
esac
18160
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18161
 
$as_echo "$ac_try_echo") >&5
18162
 
  (eval "$ac_link") 2>conftest.er1
18163
 
  ac_status=$?
18164
 
  grep -v '^ *+' conftest.er1 >conftest.err
18165
 
  rm -f conftest.er1
18166
 
  cat conftest.err >&5
18167
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168
 
  (exit $ac_status); } && {
18169
 
         test -z "$ac_c_werror_flag" ||
18170
 
         test ! -s conftest.err
18171
 
       } && test -s conftest$ac_exeext && {
18172
 
         test "$cross_compiling" = yes ||
18173
 
         $as_test_x conftest$ac_exeext
18174
 
       }; then
 
15367
if ac_fn_c_try_link "$LINENO"; then :
18175
15368
  ac_cv_lib_bsd_gethostbyname=yes
18176
15369
else
18177
 
  $as_echo "$as_me: failed program was:" >&5
18178
 
sed 's/^/| /' conftest.$ac_ext >&5
18179
 
 
18180
 
        ac_cv_lib_bsd_gethostbyname=no
 
15370
  ac_cv_lib_bsd_gethostbyname=no
18181
15371
fi
18182
 
 
18183
 
rm -rf conftest.dSYM
18184
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18185
 
      conftest$ac_exeext conftest.$ac_ext
 
15372
rm -f core conftest.err conftest.$ac_objext \
 
15373
    conftest$ac_exeext conftest.$ac_ext
18186
15374
LIBS=$ac_check_lib_save_LIBS
18187
15375
fi
18188
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
15376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
18189
15377
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
18190
 
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then
 
15378
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
18191
15379
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
18192
15380
fi
18193
15381
 
18201
15389
    # variants that don't use the name server (or something).  -lsocket
18202
15390
    # must be given before -lnsl if both are needed.  We assume that
18203
15391
    # if connect needs -lnsl, so does gethostbyname.
18204
 
    { $as_echo "$as_me:$LINENO: checking for connect" >&5
18205
 
$as_echo_n "checking for connect... " >&6; }
18206
 
if test "${ac_cv_func_connect+set}" = set; then
18207
 
  $as_echo_n "(cached) " >&6
18208
 
else
18209
 
  cat >conftest.$ac_ext <<_ACEOF
18210
 
/* confdefs.h.  */
18211
 
_ACEOF
18212
 
cat confdefs.h >>conftest.$ac_ext
18213
 
cat >>conftest.$ac_ext <<_ACEOF
18214
 
/* end confdefs.h.  */
18215
 
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
18216
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18217
 
#define connect innocuous_connect
18218
 
 
18219
 
/* System header to define __stub macros and hopefully few prototypes,
18220
 
    which can conflict with char connect (); below.
18221
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18222
 
    <limits.h> exists even on freestanding compilers.  */
18223
 
 
18224
 
#ifdef __STDC__
18225
 
# include <limits.h>
18226
 
#else
18227
 
# include <assert.h>
18228
 
#endif
18229
 
 
18230
 
#undef connect
18231
 
 
18232
 
/* Override any GCC internal prototype to avoid an error.
18233
 
   Use char because int might match the return type of a GCC
18234
 
   builtin and then its argument prototype would still apply.  */
18235
 
#ifdef __cplusplus
18236
 
extern "C"
18237
 
#endif
18238
 
char connect ();
18239
 
/* The GNU C library defines this for functions which it implements
18240
 
    to always fail with ENOSYS.  Some functions are actually named
18241
 
    something starting with __ and the normal name is an alias.  */
18242
 
#if defined __stub_connect || defined __stub___connect
18243
 
choke me
18244
 
#endif
18245
 
 
18246
 
int
18247
 
main ()
18248
 
{
18249
 
return connect ();
18250
 
  ;
18251
 
  return 0;
18252
 
}
18253
 
_ACEOF
18254
 
rm -f conftest.$ac_objext conftest$ac_exeext
18255
 
if { (ac_try="$ac_link"
18256
 
case "(($ac_try" in
18257
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18258
 
  *) ac_try_echo=$ac_try;;
18259
 
esac
18260
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18261
 
$as_echo "$ac_try_echo") >&5
18262
 
  (eval "$ac_link") 2>conftest.er1
18263
 
  ac_status=$?
18264
 
  grep -v '^ *+' conftest.er1 >conftest.err
18265
 
  rm -f conftest.er1
18266
 
  cat conftest.err >&5
18267
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268
 
  (exit $ac_status); } && {
18269
 
         test -z "$ac_c_werror_flag" ||
18270
 
         test ! -s conftest.err
18271
 
       } && test -s conftest$ac_exeext && {
18272
 
         test "$cross_compiling" = yes ||
18273
 
         $as_test_x conftest$ac_exeext
18274
 
       }; then
18275
 
  ac_cv_func_connect=yes
18276
 
else
18277
 
  $as_echo "$as_me: failed program was:" >&5
18278
 
sed 's/^/| /' conftest.$ac_ext >&5
18279
 
 
18280
 
        ac_cv_func_connect=no
18281
 
fi
18282
 
 
18283
 
rm -rf conftest.dSYM
18284
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18285
 
      conftest$ac_exeext conftest.$ac_ext
18286
 
fi
18287
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
18288
 
$as_echo "$ac_cv_func_connect" >&6; }
 
15392
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 
15393
if test "x$ac_cv_func_connect" = x""yes; then :
 
15394
 
 
15395
fi
18289
15396
 
18290
15397
    if test $ac_cv_func_connect = no; then
18291
 
      { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
 
15398
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
18292
15399
$as_echo_n "checking for connect in -lsocket... " >&6; }
18293
 
if test "${ac_cv_lib_socket_connect+set}" = set; then
 
15400
if test "${ac_cv_lib_socket_connect+set}" = set; then :
18294
15401
  $as_echo_n "(cached) " >&6
18295
15402
else
18296
15403
  ac_check_lib_save_LIBS=$LIBS
18297
15404
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
18298
 
cat >conftest.$ac_ext <<_ACEOF
18299
 
/* confdefs.h.  */
18300
 
_ACEOF
18301
 
cat confdefs.h >>conftest.$ac_ext
18302
 
cat >>conftest.$ac_ext <<_ACEOF
 
15405
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18303
15406
/* end confdefs.h.  */
18304
15407
 
18305
15408
/* Override any GCC internal prototype to avoid an error.
18317
15420
  return 0;
18318
15421
}
18319
15422
_ACEOF
18320
 
rm -f conftest.$ac_objext conftest$ac_exeext
18321
 
if { (ac_try="$ac_link"
18322
 
case "(($ac_try" in
18323
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18324
 
  *) ac_try_echo=$ac_try;;
18325
 
esac
18326
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18327
 
$as_echo "$ac_try_echo") >&5
18328
 
  (eval "$ac_link") 2>conftest.er1
18329
 
  ac_status=$?
18330
 
  grep -v '^ *+' conftest.er1 >conftest.err
18331
 
  rm -f conftest.er1
18332
 
  cat conftest.err >&5
18333
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334
 
  (exit $ac_status); } && {
18335
 
         test -z "$ac_c_werror_flag" ||
18336
 
         test ! -s conftest.err
18337
 
       } && test -s conftest$ac_exeext && {
18338
 
         test "$cross_compiling" = yes ||
18339
 
         $as_test_x conftest$ac_exeext
18340
 
       }; then
 
15423
if ac_fn_c_try_link "$LINENO"; then :
18341
15424
  ac_cv_lib_socket_connect=yes
18342
15425
else
18343
 
  $as_echo "$as_me: failed program was:" >&5
18344
 
sed 's/^/| /' conftest.$ac_ext >&5
18345
 
 
18346
 
        ac_cv_lib_socket_connect=no
 
15426
  ac_cv_lib_socket_connect=no
18347
15427
fi
18348
 
 
18349
 
rm -rf conftest.dSYM
18350
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18351
 
      conftest$ac_exeext conftest.$ac_ext
 
15428
rm -f core conftest.err conftest.$ac_objext \
 
15429
    conftest$ac_exeext conftest.$ac_ext
18352
15430
LIBS=$ac_check_lib_save_LIBS
18353
15431
fi
18354
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
 
15432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
18355
15433
$as_echo "$ac_cv_lib_socket_connect" >&6; }
18356
 
if test "x$ac_cv_lib_socket_connect" = x""yes; then
 
15434
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
18357
15435
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
18358
15436
fi
18359
15437
 
18360
15438
    fi
18361
15439
 
18362
15440
    # Guillermo Gomez says -lposix is necessary on A/UX.
18363
 
    { $as_echo "$as_me:$LINENO: checking for remove" >&5
18364
 
$as_echo_n "checking for remove... " >&6; }
18365
 
if test "${ac_cv_func_remove+set}" = set; then
18366
 
  $as_echo_n "(cached) " >&6
18367
 
else
18368
 
  cat >conftest.$ac_ext <<_ACEOF
18369
 
/* confdefs.h.  */
18370
 
_ACEOF
18371
 
cat confdefs.h >>conftest.$ac_ext
18372
 
cat >>conftest.$ac_ext <<_ACEOF
18373
 
/* end confdefs.h.  */
18374
 
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
18375
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18376
 
#define remove innocuous_remove
18377
 
 
18378
 
/* System header to define __stub macros and hopefully few prototypes,
18379
 
    which can conflict with char remove (); below.
18380
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18381
 
    <limits.h> exists even on freestanding compilers.  */
18382
 
 
18383
 
#ifdef __STDC__
18384
 
# include <limits.h>
18385
 
#else
18386
 
# include <assert.h>
18387
 
#endif
18388
 
 
18389
 
#undef remove
18390
 
 
18391
 
/* Override any GCC internal prototype to avoid an error.
18392
 
   Use char because int might match the return type of a GCC
18393
 
   builtin and then its argument prototype would still apply.  */
18394
 
#ifdef __cplusplus
18395
 
extern "C"
18396
 
#endif
18397
 
char remove ();
18398
 
/* The GNU C library defines this for functions which it implements
18399
 
    to always fail with ENOSYS.  Some functions are actually named
18400
 
    something starting with __ and the normal name is an alias.  */
18401
 
#if defined __stub_remove || defined __stub___remove
18402
 
choke me
18403
 
#endif
18404
 
 
18405
 
int
18406
 
main ()
18407
 
{
18408
 
return remove ();
18409
 
  ;
18410
 
  return 0;
18411
 
}
18412
 
_ACEOF
18413
 
rm -f conftest.$ac_objext conftest$ac_exeext
18414
 
if { (ac_try="$ac_link"
18415
 
case "(($ac_try" in
18416
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18417
 
  *) ac_try_echo=$ac_try;;
18418
 
esac
18419
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18420
 
$as_echo "$ac_try_echo") >&5
18421
 
  (eval "$ac_link") 2>conftest.er1
18422
 
  ac_status=$?
18423
 
  grep -v '^ *+' conftest.er1 >conftest.err
18424
 
  rm -f conftest.er1
18425
 
  cat conftest.err >&5
18426
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427
 
  (exit $ac_status); } && {
18428
 
         test -z "$ac_c_werror_flag" ||
18429
 
         test ! -s conftest.err
18430
 
       } && test -s conftest$ac_exeext && {
18431
 
         test "$cross_compiling" = yes ||
18432
 
         $as_test_x conftest$ac_exeext
18433
 
       }; then
18434
 
  ac_cv_func_remove=yes
18435
 
else
18436
 
  $as_echo "$as_me: failed program was:" >&5
18437
 
sed 's/^/| /' conftest.$ac_ext >&5
18438
 
 
18439
 
        ac_cv_func_remove=no
18440
 
fi
18441
 
 
18442
 
rm -rf conftest.dSYM
18443
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18444
 
      conftest$ac_exeext conftest.$ac_ext
18445
 
fi
18446
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
18447
 
$as_echo "$ac_cv_func_remove" >&6; }
 
15441
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 
15442
if test "x$ac_cv_func_remove" = x""yes; then :
 
15443
 
 
15444
fi
18448
15445
 
18449
15446
    if test $ac_cv_func_remove = no; then
18450
 
      { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
 
15447
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
18451
15448
$as_echo_n "checking for remove in -lposix... " >&6; }
18452
 
if test "${ac_cv_lib_posix_remove+set}" = set; then
 
15449
if test "${ac_cv_lib_posix_remove+set}" = set; then :
18453
15450
  $as_echo_n "(cached) " >&6
18454
15451
else
18455
15452
  ac_check_lib_save_LIBS=$LIBS
18456
15453
LIBS="-lposix  $LIBS"
18457
 
cat >conftest.$ac_ext <<_ACEOF
18458
 
/* confdefs.h.  */
18459
 
_ACEOF
18460
 
cat confdefs.h >>conftest.$ac_ext
18461
 
cat >>conftest.$ac_ext <<_ACEOF
 
15454
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18462
15455
/* end confdefs.h.  */
18463
15456
 
18464
15457
/* Override any GCC internal prototype to avoid an error.
18476
15469
  return 0;
18477
15470
}
18478
15471
_ACEOF
18479
 
rm -f conftest.$ac_objext conftest$ac_exeext
18480
 
if { (ac_try="$ac_link"
18481
 
case "(($ac_try" in
18482
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18483
 
  *) ac_try_echo=$ac_try;;
18484
 
esac
18485
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18486
 
$as_echo "$ac_try_echo") >&5
18487
 
  (eval "$ac_link") 2>conftest.er1
18488
 
  ac_status=$?
18489
 
  grep -v '^ *+' conftest.er1 >conftest.err
18490
 
  rm -f conftest.er1
18491
 
  cat conftest.err >&5
18492
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493
 
  (exit $ac_status); } && {
18494
 
         test -z "$ac_c_werror_flag" ||
18495
 
         test ! -s conftest.err
18496
 
       } && test -s conftest$ac_exeext && {
18497
 
         test "$cross_compiling" = yes ||
18498
 
         $as_test_x conftest$ac_exeext
18499
 
       }; then
 
15472
if ac_fn_c_try_link "$LINENO"; then :
18500
15473
  ac_cv_lib_posix_remove=yes
18501
15474
else
18502
 
  $as_echo "$as_me: failed program was:" >&5
18503
 
sed 's/^/| /' conftest.$ac_ext >&5
18504
 
 
18505
 
        ac_cv_lib_posix_remove=no
 
15475
  ac_cv_lib_posix_remove=no
18506
15476
fi
18507
 
 
18508
 
rm -rf conftest.dSYM
18509
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18510
 
      conftest$ac_exeext conftest.$ac_ext
 
15477
rm -f core conftest.err conftest.$ac_objext \
 
15478
    conftest$ac_exeext conftest.$ac_ext
18511
15479
LIBS=$ac_check_lib_save_LIBS
18512
15480
fi
18513
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
 
15481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
18514
15482
$as_echo "$ac_cv_lib_posix_remove" >&6; }
18515
 
if test "x$ac_cv_lib_posix_remove" = x""yes; then
 
15483
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
18516
15484
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
18517
15485
fi
18518
15486
 
18519
15487
    fi
18520
15488
 
18521
15489
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
18522
 
    { $as_echo "$as_me:$LINENO: checking for shmat" >&5
18523
 
$as_echo_n "checking for shmat... " >&6; }
18524
 
if test "${ac_cv_func_shmat+set}" = set; then
18525
 
  $as_echo_n "(cached) " >&6
18526
 
else
18527
 
  cat >conftest.$ac_ext <<_ACEOF
18528
 
/* confdefs.h.  */
18529
 
_ACEOF
18530
 
cat confdefs.h >>conftest.$ac_ext
18531
 
cat >>conftest.$ac_ext <<_ACEOF
18532
 
/* end confdefs.h.  */
18533
 
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
18534
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18535
 
#define shmat innocuous_shmat
18536
 
 
18537
 
/* System header to define __stub macros and hopefully few prototypes,
18538
 
    which can conflict with char shmat (); below.
18539
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18540
 
    <limits.h> exists even on freestanding compilers.  */
18541
 
 
18542
 
#ifdef __STDC__
18543
 
# include <limits.h>
18544
 
#else
18545
 
# include <assert.h>
18546
 
#endif
18547
 
 
18548
 
#undef shmat
18549
 
 
18550
 
/* Override any GCC internal prototype to avoid an error.
18551
 
   Use char because int might match the return type of a GCC
18552
 
   builtin and then its argument prototype would still apply.  */
18553
 
#ifdef __cplusplus
18554
 
extern "C"
18555
 
#endif
18556
 
char shmat ();
18557
 
/* The GNU C library defines this for functions which it implements
18558
 
    to always fail with ENOSYS.  Some functions are actually named
18559
 
    something starting with __ and the normal name is an alias.  */
18560
 
#if defined __stub_shmat || defined __stub___shmat
18561
 
choke me
18562
 
#endif
18563
 
 
18564
 
int
18565
 
main ()
18566
 
{
18567
 
return shmat ();
18568
 
  ;
18569
 
  return 0;
18570
 
}
18571
 
_ACEOF
18572
 
rm -f conftest.$ac_objext conftest$ac_exeext
18573
 
if { (ac_try="$ac_link"
18574
 
case "(($ac_try" in
18575
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18576
 
  *) ac_try_echo=$ac_try;;
18577
 
esac
18578
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18579
 
$as_echo "$ac_try_echo") >&5
18580
 
  (eval "$ac_link") 2>conftest.er1
18581
 
  ac_status=$?
18582
 
  grep -v '^ *+' conftest.er1 >conftest.err
18583
 
  rm -f conftest.er1
18584
 
  cat conftest.err >&5
18585
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586
 
  (exit $ac_status); } && {
18587
 
         test -z "$ac_c_werror_flag" ||
18588
 
         test ! -s conftest.err
18589
 
       } && test -s conftest$ac_exeext && {
18590
 
         test "$cross_compiling" = yes ||
18591
 
         $as_test_x conftest$ac_exeext
18592
 
       }; then
18593
 
  ac_cv_func_shmat=yes
18594
 
else
18595
 
  $as_echo "$as_me: failed program was:" >&5
18596
 
sed 's/^/| /' conftest.$ac_ext >&5
18597
 
 
18598
 
        ac_cv_func_shmat=no
18599
 
fi
18600
 
 
18601
 
rm -rf conftest.dSYM
18602
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18603
 
      conftest$ac_exeext conftest.$ac_ext
18604
 
fi
18605
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
18606
 
$as_echo "$ac_cv_func_shmat" >&6; }
 
15490
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 
15491
if test "x$ac_cv_func_shmat" = x""yes; then :
 
15492
 
 
15493
fi
18607
15494
 
18608
15495
    if test $ac_cv_func_shmat = no; then
18609
 
      { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
 
15496
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
18610
15497
$as_echo_n "checking for shmat in -lipc... " >&6; }
18611
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
 
15498
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
18612
15499
  $as_echo_n "(cached) " >&6
18613
15500
else
18614
15501
  ac_check_lib_save_LIBS=$LIBS
18615
15502
LIBS="-lipc  $LIBS"
18616
 
cat >conftest.$ac_ext <<_ACEOF
18617
 
/* confdefs.h.  */
18618
 
_ACEOF
18619
 
cat confdefs.h >>conftest.$ac_ext
18620
 
cat >>conftest.$ac_ext <<_ACEOF
 
15503
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18621
15504
/* end confdefs.h.  */
18622
15505
 
18623
15506
/* Override any GCC internal prototype to avoid an error.
18635
15518
  return 0;
18636
15519
}
18637
15520
_ACEOF
18638
 
rm -f conftest.$ac_objext conftest$ac_exeext
18639
 
if { (ac_try="$ac_link"
18640
 
case "(($ac_try" in
18641
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18642
 
  *) ac_try_echo=$ac_try;;
18643
 
esac
18644
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18645
 
$as_echo "$ac_try_echo") >&5
18646
 
  (eval "$ac_link") 2>conftest.er1
18647
 
  ac_status=$?
18648
 
  grep -v '^ *+' conftest.er1 >conftest.err
18649
 
  rm -f conftest.er1
18650
 
  cat conftest.err >&5
18651
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652
 
  (exit $ac_status); } && {
18653
 
         test -z "$ac_c_werror_flag" ||
18654
 
         test ! -s conftest.err
18655
 
       } && test -s conftest$ac_exeext && {
18656
 
         test "$cross_compiling" = yes ||
18657
 
         $as_test_x conftest$ac_exeext
18658
 
       }; then
 
15521
if ac_fn_c_try_link "$LINENO"; then :
18659
15522
  ac_cv_lib_ipc_shmat=yes
18660
15523
else
18661
 
  $as_echo "$as_me: failed program was:" >&5
18662
 
sed 's/^/| /' conftest.$ac_ext >&5
18663
 
 
18664
 
        ac_cv_lib_ipc_shmat=no
 
15524
  ac_cv_lib_ipc_shmat=no
18665
15525
fi
18666
 
 
18667
 
rm -rf conftest.dSYM
18668
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18669
 
      conftest$ac_exeext conftest.$ac_ext
 
15526
rm -f core conftest.err conftest.$ac_objext \
 
15527
    conftest$ac_exeext conftest.$ac_ext
18670
15528
LIBS=$ac_check_lib_save_LIBS
18671
15529
fi
18672
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
 
15530
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
18673
15531
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
18674
 
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then
 
15532
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
18675
15533
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
18676
15534
fi
18677
15535
 
18687
15545
  # These have to be linked with before -lX11, unlike the other
18688
15546
  # libraries we check for below, so use a different variable.
18689
15547
  # John Interrante, Karl Berry
18690
 
  { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
 
15548
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
18691
15549
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
18692
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
 
15550
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
18693
15551
  $as_echo_n "(cached) " >&6
18694
15552
else
18695
15553
  ac_check_lib_save_LIBS=$LIBS
18696
15554
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
18697
 
cat >conftest.$ac_ext <<_ACEOF
18698
 
/* confdefs.h.  */
18699
 
_ACEOF
18700
 
cat confdefs.h >>conftest.$ac_ext
18701
 
cat >>conftest.$ac_ext <<_ACEOF
 
15555
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18702
15556
/* end confdefs.h.  */
18703
15557
 
18704
15558
/* Override any GCC internal prototype to avoid an error.
18716
15570
  return 0;
18717
15571
}
18718
15572
_ACEOF
18719
 
rm -f conftest.$ac_objext conftest$ac_exeext
18720
 
if { (ac_try="$ac_link"
18721
 
case "(($ac_try" in
18722
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18723
 
  *) ac_try_echo=$ac_try;;
18724
 
esac
18725
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18726
 
$as_echo "$ac_try_echo") >&5
18727
 
  (eval "$ac_link") 2>conftest.er1
18728
 
  ac_status=$?
18729
 
  grep -v '^ *+' conftest.er1 >conftest.err
18730
 
  rm -f conftest.er1
18731
 
  cat conftest.err >&5
18732
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733
 
  (exit $ac_status); } && {
18734
 
         test -z "$ac_c_werror_flag" ||
18735
 
         test ! -s conftest.err
18736
 
       } && test -s conftest$ac_exeext && {
18737
 
         test "$cross_compiling" = yes ||
18738
 
         $as_test_x conftest$ac_exeext
18739
 
       }; then
 
15573
if ac_fn_c_try_link "$LINENO"; then :
18740
15574
  ac_cv_lib_ICE_IceConnectionNumber=yes
18741
15575
else
18742
 
  $as_echo "$as_me: failed program was:" >&5
18743
 
sed 's/^/| /' conftest.$ac_ext >&5
18744
 
 
18745
 
        ac_cv_lib_ICE_IceConnectionNumber=no
 
15576
  ac_cv_lib_ICE_IceConnectionNumber=no
18746
15577
fi
18747
 
 
18748
 
rm -rf conftest.dSYM
18749
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18750
 
      conftest$ac_exeext conftest.$ac_ext
 
15578
rm -f core conftest.err conftest.$ac_objext \
 
15579
    conftest$ac_exeext conftest.$ac_ext
18751
15580
LIBS=$ac_check_lib_save_LIBS
18752
15581
fi
18753
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
15582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
18754
15583
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
18755
 
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
 
15584
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
18756
15585
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
18757
15586
fi
18758
15587
 
18762
15591
 
18763
15592
  # X not found
18764
15593
  if test x$no_x = xyes ; then
18765
 
    { { $as_echo "$as_me:$LINENO: error: X development libraries not found" >&5
18766
 
$as_echo "$as_me: error: X development libraries not found" >&2;}
18767
 
   { (exit 1); exit 1; }; }
 
15594
    as_fn_error "X development libraries not found" "$LINENO" 5
18768
15595
  fi
18769
15596
 
18770
15597
  gp_save_cflags="$CFLAGS"
18771
15598
  gp_save_libs="$LIBS"
18772
15599
  CFLAGS="$X_CFLAGS"
18773
15600
  LIBS="$X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS"
18774
 
 
18775
 
{ $as_echo "$as_me:$LINENO: checking for XFree in -lX11" >&5
 
15601
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFree in -lX11" >&5
18776
15602
$as_echo_n "checking for XFree in -lX11... " >&6; }
18777
 
if test "${ac_cv_lib_X11_XFree+set}" = set; then
 
15603
if test "${ac_cv_lib_X11_XFree+set}" = set; then :
18778
15604
  $as_echo_n "(cached) " >&6
18779
15605
else
18780
15606
  ac_check_lib_save_LIBS=$LIBS
18781
15607
LIBS="-lX11  $LIBS"
18782
 
cat >conftest.$ac_ext <<_ACEOF
18783
 
/* confdefs.h.  */
18784
 
_ACEOF
18785
 
cat confdefs.h >>conftest.$ac_ext
18786
 
cat >>conftest.$ac_ext <<_ACEOF
 
15608
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18787
15609
/* end confdefs.h.  */
18788
15610
 
18789
15611
/* Override any GCC internal prototype to avoid an error.
18801
15623
  return 0;
18802
15624
}
18803
15625
_ACEOF
18804
 
rm -f conftest.$ac_objext conftest$ac_exeext
18805
 
if { (ac_try="$ac_link"
18806
 
case "(($ac_try" in
18807
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18808
 
  *) ac_try_echo=$ac_try;;
18809
 
esac
18810
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18811
 
$as_echo "$ac_try_echo") >&5
18812
 
  (eval "$ac_link") 2>conftest.er1
18813
 
  ac_status=$?
18814
 
  grep -v '^ *+' conftest.er1 >conftest.err
18815
 
  rm -f conftest.er1
18816
 
  cat conftest.err >&5
18817
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818
 
  (exit $ac_status); } && {
18819
 
         test -z "$ac_c_werror_flag" ||
18820
 
         test ! -s conftest.err
18821
 
       } && test -s conftest$ac_exeext && {
18822
 
         test "$cross_compiling" = yes ||
18823
 
         $as_test_x conftest$ac_exeext
18824
 
       }; then
 
15626
if ac_fn_c_try_link "$LINENO"; then :
18825
15627
  ac_cv_lib_X11_XFree=yes
18826
15628
else
18827
 
  $as_echo "$as_me: failed program was:" >&5
18828
 
sed 's/^/| /' conftest.$ac_ext >&5
18829
 
 
18830
 
        ac_cv_lib_X11_XFree=no
 
15629
  ac_cv_lib_X11_XFree=no
18831
15630
fi
18832
 
 
18833
 
rm -rf conftest.dSYM
18834
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18835
 
      conftest$ac_exeext conftest.$ac_ext
 
15631
rm -f core conftest.err conftest.$ac_objext \
 
15632
    conftest$ac_exeext conftest.$ac_ext
18836
15633
LIBS=$ac_check_lib_save_LIBS
18837
15634
fi
18838
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XFree" >&5
 
15635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XFree" >&5
18839
15636
$as_echo "$ac_cv_lib_X11_XFree" >&6; }
18840
 
if test "x$ac_cv_lib_X11_XFree" = x""yes; then
 
15637
if test "x$ac_cv_lib_X11_XFree" = x""yes; then :
18841
15638
  cat >>confdefs.h <<_ACEOF
18842
15639
#define HAVE_LIBX11 1
18843
15640
_ACEOF
18845
15642
  LIBS="-lX11 $LIBS"
18846
15643
 
18847
15644
else
18848
 
  { { $as_echo "$as_me:$LINENO: error: libX11 not found" >&5
18849
 
$as_echo "$as_me: error: libX11 not found" >&2;}
18850
 
   { (exit 1); exit 1; }; }
 
15645
  as_fn_error "libX11 not found" "$LINENO" 5
18851
15646
fi
18852
15647
 
18853
 
 
18854
 
{ $as_echo "$as_me:$LINENO: checking for XauFileName in -lXau" >&5
 
15648
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauFileName in -lXau" >&5
18855
15649
$as_echo_n "checking for XauFileName in -lXau... " >&6; }
18856
 
if test "${ac_cv_lib_Xau_XauFileName+set}" = set; then
 
15650
if test "${ac_cv_lib_Xau_XauFileName+set}" = set; then :
18857
15651
  $as_echo_n "(cached) " >&6
18858
15652
else
18859
15653
  ac_check_lib_save_LIBS=$LIBS
18860
15654
LIBS="-lXau  $LIBS"
18861
 
cat >conftest.$ac_ext <<_ACEOF
18862
 
/* confdefs.h.  */
18863
 
_ACEOF
18864
 
cat confdefs.h >>conftest.$ac_ext
18865
 
cat >>conftest.$ac_ext <<_ACEOF
 
15655
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18866
15656
/* end confdefs.h.  */
18867
15657
 
18868
15658
/* Override any GCC internal prototype to avoid an error.
18880
15670
  return 0;
18881
15671
}
18882
15672
_ACEOF
18883
 
rm -f conftest.$ac_objext conftest$ac_exeext
18884
 
if { (ac_try="$ac_link"
18885
 
case "(($ac_try" in
18886
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18887
 
  *) ac_try_echo=$ac_try;;
18888
 
esac
18889
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18890
 
$as_echo "$ac_try_echo") >&5
18891
 
  (eval "$ac_link") 2>conftest.er1
18892
 
  ac_status=$?
18893
 
  grep -v '^ *+' conftest.er1 >conftest.err
18894
 
  rm -f conftest.er1
18895
 
  cat conftest.err >&5
18896
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897
 
  (exit $ac_status); } && {
18898
 
         test -z "$ac_c_werror_flag" ||
18899
 
         test ! -s conftest.err
18900
 
       } && test -s conftest$ac_exeext && {
18901
 
         test "$cross_compiling" = yes ||
18902
 
         $as_test_x conftest$ac_exeext
18903
 
       }; then
 
15673
if ac_fn_c_try_link "$LINENO"; then :
18904
15674
  ac_cv_lib_Xau_XauFileName=yes
18905
15675
else
18906
 
  $as_echo "$as_me: failed program was:" >&5
18907
 
sed 's/^/| /' conftest.$ac_ext >&5
18908
 
 
18909
 
        ac_cv_lib_Xau_XauFileName=no
 
15676
  ac_cv_lib_Xau_XauFileName=no
18910
15677
fi
18911
 
 
18912
 
rm -rf conftest.dSYM
18913
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18914
 
      conftest$ac_exeext conftest.$ac_ext
 
15678
rm -f core conftest.err conftest.$ac_objext \
 
15679
    conftest$ac_exeext conftest.$ac_ext
18915
15680
LIBS=$ac_check_lib_save_LIBS
18916
15681
fi
18917
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauFileName" >&5
 
15682
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauFileName" >&5
18918
15683
$as_echo "$ac_cv_lib_Xau_XauFileName" >&6; }
18919
 
if test "x$ac_cv_lib_Xau_XauFileName" = x""yes; then
 
15684
if test "x$ac_cv_lib_Xau_XauFileName" = x""yes; then :
18920
15685
  cat >>confdefs.h <<_ACEOF
18921
15686
#define HAVE_LIBXAU 1
18922
15687
_ACEOF
18924
15689
  LIBS="-lXau $LIBS"
18925
15690
 
18926
15691
else
18927
 
  { { $as_echo "$as_me:$LINENO: error: libXau not found" >&5
18928
 
$as_echo "$as_me: error: libXau not found" >&2;}
18929
 
   { (exit 1); exit 1; }; }
 
15692
  as_fn_error "libXau not found" "$LINENO" 5
18930
15693
fi
18931
15694
 
18932
15695
  CFLAGS="$gp_save_cflags"
18937
15700
else
18938
15701
        X_CFLAGS=$pkg_cv_X_CFLAGS
18939
15702
        X_LIBS=$pkg_cv_X_LIBS
18940
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
15703
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18941
15704
$as_echo "yes" >&6; }
18942
15705
        :
18943
15706
fi
18947
15710
 
18948
15711
if $PKG_CONFIG --exists "xrandr >= 1.2.0" ; then
18949
15712
 
18950
 
cat >>confdefs.h <<\_ACEOF
18951
 
#define HAVE_RANDR 1
18952
 
_ACEOF
 
15713
$as_echo "#define HAVE_RANDR 1" >>confdefs.h
18953
15714
 
18954
15715
        have_randr=yes
18955
15716
else
18976
15737
 
18977
15738
 
18978
15739
 
18979
 
 
18980
 
for ac_header in locale.h
18981
 
do
18982
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18983
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18984
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18985
 
$as_echo_n "checking for $ac_header... " >&6; }
18986
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18987
 
  $as_echo_n "(cached) " >&6
18988
 
fi
18989
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
18990
 
                 $as_echo "$as_val"'`
18991
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18992
 
$as_echo "$ac_res" >&6; }
18993
 
else
18994
 
  # Is the header compilable?
18995
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
18996
 
$as_echo_n "checking $ac_header usability... " >&6; }
18997
 
cat >conftest.$ac_ext <<_ACEOF
18998
 
/* confdefs.h.  */
18999
 
_ACEOF
19000
 
cat confdefs.h >>conftest.$ac_ext
19001
 
cat >>conftest.$ac_ext <<_ACEOF
19002
 
/* end confdefs.h.  */
19003
 
$ac_includes_default
19004
 
#include <$ac_header>
19005
 
_ACEOF
19006
 
rm -f conftest.$ac_objext
19007
 
if { (ac_try="$ac_compile"
19008
 
case "(($ac_try" in
19009
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19010
 
  *) ac_try_echo=$ac_try;;
19011
 
esac
19012
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19013
 
$as_echo "$ac_try_echo") >&5
19014
 
  (eval "$ac_compile") 2>conftest.er1
19015
 
  ac_status=$?
19016
 
  grep -v '^ *+' conftest.er1 >conftest.err
19017
 
  rm -f conftest.er1
19018
 
  cat conftest.err >&5
19019
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020
 
  (exit $ac_status); } && {
19021
 
         test -z "$ac_c_werror_flag" ||
19022
 
         test ! -s conftest.err
19023
 
       } && test -s conftest.$ac_objext; then
19024
 
  ac_header_compiler=yes
19025
 
else
19026
 
  $as_echo "$as_me: failed program was:" >&5
19027
 
sed 's/^/| /' conftest.$ac_ext >&5
19028
 
 
19029
 
        ac_header_compiler=no
19030
 
fi
19031
 
 
19032
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19033
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19034
 
$as_echo "$ac_header_compiler" >&6; }
19035
 
 
19036
 
# Is the header present?
19037
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
19038
 
$as_echo_n "checking $ac_header presence... " >&6; }
19039
 
cat >conftest.$ac_ext <<_ACEOF
19040
 
/* confdefs.h.  */
19041
 
_ACEOF
19042
 
cat confdefs.h >>conftest.$ac_ext
19043
 
cat >>conftest.$ac_ext <<_ACEOF
19044
 
/* end confdefs.h.  */
19045
 
#include <$ac_header>
19046
 
_ACEOF
19047
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
19048
 
case "(($ac_try" in
19049
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19050
 
  *) ac_try_echo=$ac_try;;
19051
 
esac
19052
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19053
 
$as_echo "$ac_try_echo") >&5
19054
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19055
 
  ac_status=$?
19056
 
  grep -v '^ *+' conftest.er1 >conftest.err
19057
 
  rm -f conftest.er1
19058
 
  cat conftest.err >&5
19059
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060
 
  (exit $ac_status); } >/dev/null && {
19061
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19062
 
         test ! -s conftest.err
19063
 
       }; then
19064
 
  ac_header_preproc=yes
19065
 
else
19066
 
  $as_echo "$as_me: failed program was:" >&5
19067
 
sed 's/^/| /' conftest.$ac_ext >&5
19068
 
 
19069
 
  ac_header_preproc=no
19070
 
fi
19071
 
 
19072
 
rm -f conftest.err conftest.$ac_ext
19073
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19074
 
$as_echo "$ac_header_preproc" >&6; }
19075
 
 
19076
 
# So?  What about this header?
19077
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19078
 
  yes:no: )
19079
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19080
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19081
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19082
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19083
 
    ac_header_preproc=yes
19084
 
    ;;
19085
 
  no:yes:* )
19086
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19087
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19088
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
19089
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
19090
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19091
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19092
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
19093
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19094
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19095
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19096
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19097
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19098
 
    ( cat <<\_ASBOX
19099
 
## -------------------------------------------------------------------------- ##
19100
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-panel ##
19101
 
## -------------------------------------------------------------------------- ##
19102
 
_ASBOX
19103
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
19104
 
    ;;
19105
 
esac
19106
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19107
 
$as_echo_n "checking for $ac_header... " >&6; }
19108
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19109
 
  $as_echo_n "(cached) " >&6
19110
 
else
19111
 
  eval "$as_ac_Header=\$ac_header_preproc"
19112
 
fi
19113
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
19114
 
                 $as_echo "$as_val"'`
19115
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19116
 
$as_echo "$ac_res" >&6; }
19117
 
 
19118
 
fi
19119
 
as_val=`eval 'as_val=${'$as_ac_Header'}
19120
 
                 $as_echo "$as_val"'`
19121
 
   if test "x$as_val" = x""yes; then
 
15740
   for ac_header in locale.h
 
15741
do :
 
15742
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
15743
if test "x$ac_cv_header_locale_h" = x""yes; then :
19122
15744
  cat >>confdefs.h <<_ACEOF
19123
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
15745
#define HAVE_LOCALE_H 1
19124
15746
_ACEOF
19125
15747
 
19126
15748
fi
19128
15750
done
19129
15751
 
19130
15752
    if test $ac_cv_header_locale_h = yes; then
19131
 
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
15753
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19132
15754
$as_echo_n "checking for LC_MESSAGES... " >&6; }
19133
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 
15755
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
19134
15756
  $as_echo_n "(cached) " >&6
19135
15757
else
19136
 
  cat >conftest.$ac_ext <<_ACEOF
19137
 
/* confdefs.h.  */
19138
 
_ACEOF
19139
 
cat confdefs.h >>conftest.$ac_ext
19140
 
cat >>conftest.$ac_ext <<_ACEOF
 
15758
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19141
15759
/* end confdefs.h.  */
19142
15760
#include <locale.h>
19143
15761
int
19148
15766
  return 0;
19149
15767
}
19150
15768
_ACEOF
19151
 
rm -f conftest.$ac_objext conftest$ac_exeext
19152
 
if { (ac_try="$ac_link"
19153
 
case "(($ac_try" in
19154
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19155
 
  *) ac_try_echo=$ac_try;;
19156
 
esac
19157
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19158
 
$as_echo "$ac_try_echo") >&5
19159
 
  (eval "$ac_link") 2>conftest.er1
19160
 
  ac_status=$?
19161
 
  grep -v '^ *+' conftest.er1 >conftest.err
19162
 
  rm -f conftest.er1
19163
 
  cat conftest.err >&5
19164
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165
 
  (exit $ac_status); } && {
19166
 
         test -z "$ac_c_werror_flag" ||
19167
 
         test ! -s conftest.err
19168
 
       } && test -s conftest$ac_exeext && {
19169
 
         test "$cross_compiling" = yes ||
19170
 
         $as_test_x conftest$ac_exeext
19171
 
       }; then
 
15769
if ac_fn_c_try_link "$LINENO"; then :
19172
15770
  am_cv_val_LC_MESSAGES=yes
19173
15771
else
19174
 
  $as_echo "$as_me: failed program was:" >&5
19175
 
sed 's/^/| /' conftest.$ac_ext >&5
19176
 
 
19177
 
        am_cv_val_LC_MESSAGES=no
19178
 
fi
19179
 
 
19180
 
rm -rf conftest.dSYM
19181
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19182
 
      conftest$ac_exeext conftest.$ac_ext
19183
 
fi
19184
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
15772
  am_cv_val_LC_MESSAGES=no
 
15773
fi
 
15774
rm -f core conftest.err conftest.$ac_objext \
 
15775
    conftest$ac_exeext conftest.$ac_ext
 
15776
fi
 
15777
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
19185
15778
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
19186
15779
    if test $am_cv_val_LC_MESSAGES = yes; then
19187
15780
 
19188
 
cat >>confdefs.h <<\_ACEOF
19189
 
#define HAVE_LC_MESSAGES 1
19190
 
_ACEOF
 
15781
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19191
15782
 
19192
15783
    fi
19193
15784
  fi
19200
15791
    XGETTEXT=:
19201
15792
    INTLLIBS=
19202
15793
 
19203
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
19204
 
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
19205
 
$as_echo_n "checking for libintl.h... " >&6; }
19206
 
if test "${ac_cv_header_libintl_h+set}" = set; then
19207
 
  $as_echo_n "(cached) " >&6
19208
 
fi
19209
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
19210
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
19211
 
else
19212
 
  # Is the header compilable?
19213
 
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
19214
 
$as_echo_n "checking libintl.h usability... " >&6; }
19215
 
cat >conftest.$ac_ext <<_ACEOF
19216
 
/* confdefs.h.  */
19217
 
_ACEOF
19218
 
cat confdefs.h >>conftest.$ac_ext
19219
 
cat >>conftest.$ac_ext <<_ACEOF
19220
 
/* end confdefs.h.  */
19221
 
$ac_includes_default
19222
 
#include <libintl.h>
19223
 
_ACEOF
19224
 
rm -f conftest.$ac_objext
19225
 
if { (ac_try="$ac_compile"
19226
 
case "(($ac_try" in
19227
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19228
 
  *) ac_try_echo=$ac_try;;
19229
 
esac
19230
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19231
 
$as_echo "$ac_try_echo") >&5
19232
 
  (eval "$ac_compile") 2>conftest.er1
19233
 
  ac_status=$?
19234
 
  grep -v '^ *+' conftest.er1 >conftest.err
19235
 
  rm -f conftest.er1
19236
 
  cat conftest.err >&5
19237
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238
 
  (exit $ac_status); } && {
19239
 
         test -z "$ac_c_werror_flag" ||
19240
 
         test ! -s conftest.err
19241
 
       } && test -s conftest.$ac_objext; then
19242
 
  ac_header_compiler=yes
19243
 
else
19244
 
  $as_echo "$as_me: failed program was:" >&5
19245
 
sed 's/^/| /' conftest.$ac_ext >&5
19246
 
 
19247
 
        ac_header_compiler=no
19248
 
fi
19249
 
 
19250
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19251
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19252
 
$as_echo "$ac_header_compiler" >&6; }
19253
 
 
19254
 
# Is the header present?
19255
 
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
19256
 
$as_echo_n "checking libintl.h presence... " >&6; }
19257
 
cat >conftest.$ac_ext <<_ACEOF
19258
 
/* confdefs.h.  */
19259
 
_ACEOF
19260
 
cat confdefs.h >>conftest.$ac_ext
19261
 
cat >>conftest.$ac_ext <<_ACEOF
19262
 
/* end confdefs.h.  */
19263
 
#include <libintl.h>
19264
 
_ACEOF
19265
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
19266
 
case "(($ac_try" in
19267
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19268
 
  *) ac_try_echo=$ac_try;;
19269
 
esac
19270
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19271
 
$as_echo "$ac_try_echo") >&5
19272
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19273
 
  ac_status=$?
19274
 
  grep -v '^ *+' conftest.er1 >conftest.err
19275
 
  rm -f conftest.er1
19276
 
  cat conftest.err >&5
19277
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278
 
  (exit $ac_status); } >/dev/null && {
19279
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19280
 
         test ! -s conftest.err
19281
 
       }; then
19282
 
  ac_header_preproc=yes
19283
 
else
19284
 
  $as_echo "$as_me: failed program was:" >&5
19285
 
sed 's/^/| /' conftest.$ac_ext >&5
19286
 
 
19287
 
  ac_header_preproc=no
19288
 
fi
19289
 
 
19290
 
rm -f conftest.err conftest.$ac_ext
19291
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19292
 
$as_echo "$ac_header_preproc" >&6; }
19293
 
 
19294
 
# So?  What about this header?
19295
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19296
 
  yes:no: )
19297
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
19298
 
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19299
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
19300
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
19301
 
    ac_header_preproc=yes
19302
 
    ;;
19303
 
  no:yes:* )
19304
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
19305
 
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
19306
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
19307
 
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
19308
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
19309
 
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
19310
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
19311
 
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
19312
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
19313
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
19314
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
19315
 
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
19316
 
    ( cat <<\_ASBOX
19317
 
## -------------------------------------------------------------------------- ##
19318
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-panel ##
19319
 
## -------------------------------------------------------------------------- ##
19320
 
_ASBOX
19321
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
19322
 
    ;;
19323
 
esac
19324
 
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
19325
 
$as_echo_n "checking for libintl.h... " >&6; }
19326
 
if test "${ac_cv_header_libintl_h+set}" = set; then
19327
 
  $as_echo_n "(cached) " >&6
19328
 
else
19329
 
  ac_cv_header_libintl_h=$ac_header_preproc
19330
 
fi
19331
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
19332
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
19333
 
 
19334
 
fi
19335
 
if test "x$ac_cv_header_libintl_h" = x""yes; then
 
15794
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
15795
if test "x$ac_cv_header_libintl_h" = x""yes; then :
19336
15796
  gt_cv_func_dgettext_libintl="no"
19337
15797
      libintl_extra_libs=""
19338
15798
 
19339
15799
      #
19340
15800
      # First check in libc
19341
15801
      #
19342
 
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
15802
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
19343
15803
$as_echo_n "checking for ngettext in libc... " >&6; }
19344
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
 
15804
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
19345
15805
  $as_echo_n "(cached) " >&6
19346
15806
else
19347
 
  cat >conftest.$ac_ext <<_ACEOF
19348
 
/* confdefs.h.  */
19349
 
_ACEOF
19350
 
cat confdefs.h >>conftest.$ac_ext
19351
 
cat >>conftest.$ac_ext <<_ACEOF
 
15807
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19352
15808
/* end confdefs.h.  */
19353
15809
 
19354
15810
#include <libintl.h>
19361
15817
  return 0;
19362
15818
}
19363
15819
_ACEOF
19364
 
rm -f conftest.$ac_objext conftest$ac_exeext
19365
 
if { (ac_try="$ac_link"
19366
 
case "(($ac_try" in
19367
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19368
 
  *) ac_try_echo=$ac_try;;
19369
 
esac
19370
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19371
 
$as_echo "$ac_try_echo") >&5
19372
 
  (eval "$ac_link") 2>conftest.er1
19373
 
  ac_status=$?
19374
 
  grep -v '^ *+' conftest.er1 >conftest.err
19375
 
  rm -f conftest.er1
19376
 
  cat conftest.err >&5
19377
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378
 
  (exit $ac_status); } && {
19379
 
         test -z "$ac_c_werror_flag" ||
19380
 
         test ! -s conftest.err
19381
 
       } && test -s conftest$ac_exeext && {
19382
 
         test "$cross_compiling" = yes ||
19383
 
         $as_test_x conftest$ac_exeext
19384
 
       }; then
 
15820
if ac_fn_c_try_link "$LINENO"; then :
19385
15821
  gt_cv_func_ngettext_libc=yes
19386
15822
else
19387
 
  $as_echo "$as_me: failed program was:" >&5
19388
 
sed 's/^/| /' conftest.$ac_ext >&5
19389
 
 
19390
 
        gt_cv_func_ngettext_libc=no
19391
 
fi
19392
 
 
19393
 
rm -rf conftest.dSYM
19394
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19395
 
      conftest$ac_exeext conftest.$ac_ext
19396
 
 
19397
 
fi
19398
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
15823
  gt_cv_func_ngettext_libc=no
 
15824
fi
 
15825
rm -f core conftest.err conftest.$ac_objext \
 
15826
    conftest$ac_exeext conftest.$ac_ext
 
15827
 
 
15828
fi
 
15829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
19399
15830
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
19400
15831
 
19401
15832
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
19402
 
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
15833
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
19403
15834
$as_echo_n "checking for dgettext in libc... " >&6; }
19404
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
 
15835
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
19405
15836
  $as_echo_n "(cached) " >&6
19406
15837
else
19407
 
  cat >conftest.$ac_ext <<_ACEOF
19408
 
/* confdefs.h.  */
19409
 
_ACEOF
19410
 
cat confdefs.h >>conftest.$ac_ext
19411
 
cat >>conftest.$ac_ext <<_ACEOF
 
15838
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19412
15839
/* end confdefs.h.  */
19413
15840
 
19414
15841
#include <libintl.h>
19421
15848
  return 0;
19422
15849
}
19423
15850
_ACEOF
19424
 
rm -f conftest.$ac_objext conftest$ac_exeext
19425
 
if { (ac_try="$ac_link"
19426
 
case "(($ac_try" in
19427
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19428
 
  *) ac_try_echo=$ac_try;;
19429
 
esac
19430
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19431
 
$as_echo "$ac_try_echo") >&5
19432
 
  (eval "$ac_link") 2>conftest.er1
19433
 
  ac_status=$?
19434
 
  grep -v '^ *+' conftest.er1 >conftest.err
19435
 
  rm -f conftest.er1
19436
 
  cat conftest.err >&5
19437
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438
 
  (exit $ac_status); } && {
19439
 
         test -z "$ac_c_werror_flag" ||
19440
 
         test ! -s conftest.err
19441
 
       } && test -s conftest$ac_exeext && {
19442
 
         test "$cross_compiling" = yes ||
19443
 
         $as_test_x conftest$ac_exeext
19444
 
       }; then
 
15851
if ac_fn_c_try_link "$LINENO"; then :
19445
15852
  gt_cv_func_dgettext_libc=yes
19446
15853
else
19447
 
  $as_echo "$as_me: failed program was:" >&5
19448
 
sed 's/^/| /' conftest.$ac_ext >&5
19449
 
 
19450
 
        gt_cv_func_dgettext_libc=no
19451
 
fi
19452
 
 
19453
 
rm -rf conftest.dSYM
19454
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19455
 
      conftest$ac_exeext conftest.$ac_ext
19456
 
 
19457
 
fi
19458
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
15854
  gt_cv_func_dgettext_libc=no
 
15855
fi
 
15856
rm -f core conftest.err conftest.$ac_objext \
 
15857
    conftest$ac_exeext conftest.$ac_ext
 
15858
 
 
15859
fi
 
15860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
19459
15861
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
19460
15862
      fi
19461
15863
 
19462
15864
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
19463
 
 
19464
 
for ac_func in bind_textdomain_codeset
19465
 
do
19466
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19467
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19468
 
$as_echo_n "checking for $ac_func... " >&6; }
19469
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19470
 
  $as_echo_n "(cached) " >&6
19471
 
else
19472
 
  cat >conftest.$ac_ext <<_ACEOF
19473
 
/* confdefs.h.  */
19474
 
_ACEOF
19475
 
cat confdefs.h >>conftest.$ac_ext
19476
 
cat >>conftest.$ac_ext <<_ACEOF
19477
 
/* end confdefs.h.  */
19478
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19479
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19480
 
#define $ac_func innocuous_$ac_func
19481
 
 
19482
 
/* System header to define __stub macros and hopefully few prototypes,
19483
 
    which can conflict with char $ac_func (); below.
19484
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19485
 
    <limits.h> exists even on freestanding compilers.  */
19486
 
 
19487
 
#ifdef __STDC__
19488
 
# include <limits.h>
19489
 
#else
19490
 
# include <assert.h>
19491
 
#endif
19492
 
 
19493
 
#undef $ac_func
19494
 
 
19495
 
/* Override any GCC internal prototype to avoid an error.
19496
 
   Use char because int might match the return type of a GCC
19497
 
   builtin and then its argument prototype would still apply.  */
19498
 
#ifdef __cplusplus
19499
 
extern "C"
19500
 
#endif
19501
 
char $ac_func ();
19502
 
/* The GNU C library defines this for functions which it implements
19503
 
    to always fail with ENOSYS.  Some functions are actually named
19504
 
    something starting with __ and the normal name is an alias.  */
19505
 
#if defined __stub_$ac_func || defined __stub___$ac_func
19506
 
choke me
19507
 
#endif
19508
 
 
19509
 
int
19510
 
main ()
19511
 
{
19512
 
return $ac_func ();
19513
 
  ;
19514
 
  return 0;
19515
 
}
19516
 
_ACEOF
19517
 
rm -f conftest.$ac_objext conftest$ac_exeext
19518
 
if { (ac_try="$ac_link"
19519
 
case "(($ac_try" in
19520
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19521
 
  *) ac_try_echo=$ac_try;;
19522
 
esac
19523
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19524
 
$as_echo "$ac_try_echo") >&5
19525
 
  (eval "$ac_link") 2>conftest.er1
19526
 
  ac_status=$?
19527
 
  grep -v '^ *+' conftest.er1 >conftest.err
19528
 
  rm -f conftest.er1
19529
 
  cat conftest.err >&5
19530
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531
 
  (exit $ac_status); } && {
19532
 
         test -z "$ac_c_werror_flag" ||
19533
 
         test ! -s conftest.err
19534
 
       } && test -s conftest$ac_exeext && {
19535
 
         test "$cross_compiling" = yes ||
19536
 
         $as_test_x conftest$ac_exeext
19537
 
       }; then
19538
 
  eval "$as_ac_var=yes"
19539
 
else
19540
 
  $as_echo "$as_me: failed program was:" >&5
19541
 
sed 's/^/| /' conftest.$ac_ext >&5
19542
 
 
19543
 
        eval "$as_ac_var=no"
19544
 
fi
19545
 
 
19546
 
rm -rf conftest.dSYM
19547
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19548
 
      conftest$ac_exeext conftest.$ac_ext
19549
 
fi
19550
 
ac_res=`eval 'as_val=${'$as_ac_var'}
19551
 
                 $as_echo "$as_val"'`
19552
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19553
 
$as_echo "$ac_res" >&6; }
19554
 
as_val=`eval 'as_val=${'$as_ac_var'}
19555
 
                 $as_echo "$as_val"'`
19556
 
   if test "x$as_val" = x""yes; then
 
15865
        for ac_func in bind_textdomain_codeset
 
15866
do :
 
15867
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
15868
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
19557
15869
  cat >>confdefs.h <<_ACEOF
19558
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
15870
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
19559
15871
_ACEOF
19560
15872
 
19561
15873
fi
19570
15882
         || test "$gt_cv_func_ngettext_libc" != "yes" \
19571
15883
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
19572
15884
 
19573
 
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
15885
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
19574
15886
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
19575
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 
15887
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
19576
15888
  $as_echo_n "(cached) " >&6
19577
15889
else
19578
15890
  ac_check_lib_save_LIBS=$LIBS
19579
15891
LIBS="-lintl  $LIBS"
19580
 
cat >conftest.$ac_ext <<_ACEOF
19581
 
/* confdefs.h.  */
19582
 
_ACEOF
19583
 
cat confdefs.h >>conftest.$ac_ext
19584
 
cat >>conftest.$ac_ext <<_ACEOF
 
15892
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19585
15893
/* end confdefs.h.  */
19586
15894
 
19587
15895
/* Override any GCC internal prototype to avoid an error.
19599
15907
  return 0;
19600
15908
}
19601
15909
_ACEOF
19602
 
rm -f conftest.$ac_objext conftest$ac_exeext
19603
 
if { (ac_try="$ac_link"
19604
 
case "(($ac_try" in
19605
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19606
 
  *) ac_try_echo=$ac_try;;
19607
 
esac
19608
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19609
 
$as_echo "$ac_try_echo") >&5
19610
 
  (eval "$ac_link") 2>conftest.er1
19611
 
  ac_status=$?
19612
 
  grep -v '^ *+' conftest.er1 >conftest.err
19613
 
  rm -f conftest.er1
19614
 
  cat conftest.err >&5
19615
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616
 
  (exit $ac_status); } && {
19617
 
         test -z "$ac_c_werror_flag" ||
19618
 
         test ! -s conftest.err
19619
 
       } && test -s conftest$ac_exeext && {
19620
 
         test "$cross_compiling" = yes ||
19621
 
         $as_test_x conftest$ac_exeext
19622
 
       }; then
 
15910
if ac_fn_c_try_link "$LINENO"; then :
19623
15911
  ac_cv_lib_intl_bindtextdomain=yes
19624
15912
else
19625
 
  $as_echo "$as_me: failed program was:" >&5
19626
 
sed 's/^/| /' conftest.$ac_ext >&5
19627
 
 
19628
 
        ac_cv_lib_intl_bindtextdomain=no
 
15913
  ac_cv_lib_intl_bindtextdomain=no
19629
15914
fi
19630
 
 
19631
 
rm -rf conftest.dSYM
19632
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19633
 
      conftest$ac_exeext conftest.$ac_ext
 
15915
rm -f core conftest.err conftest.$ac_objext \
 
15916
    conftest$ac_exeext conftest.$ac_ext
19634
15917
LIBS=$ac_check_lib_save_LIBS
19635
15918
fi
19636
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
15919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
19637
15920
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
19638
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
19639
 
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
15921
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
15922
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
19640
15923
$as_echo_n "checking for ngettext in -lintl... " >&6; }
19641
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
15924
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
19642
15925
  $as_echo_n "(cached) " >&6
19643
15926
else
19644
15927
  ac_check_lib_save_LIBS=$LIBS
19645
15928
LIBS="-lintl  $LIBS"
19646
 
cat >conftest.$ac_ext <<_ACEOF
19647
 
/* confdefs.h.  */
19648
 
_ACEOF
19649
 
cat confdefs.h >>conftest.$ac_ext
19650
 
cat >>conftest.$ac_ext <<_ACEOF
 
15929
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19651
15930
/* end confdefs.h.  */
19652
15931
 
19653
15932
/* Override any GCC internal prototype to avoid an error.
19665
15944
  return 0;
19666
15945
}
19667
15946
_ACEOF
19668
 
rm -f conftest.$ac_objext conftest$ac_exeext
19669
 
if { (ac_try="$ac_link"
19670
 
case "(($ac_try" in
19671
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19672
 
  *) ac_try_echo=$ac_try;;
19673
 
esac
19674
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19675
 
$as_echo "$ac_try_echo") >&5
19676
 
  (eval "$ac_link") 2>conftest.er1
19677
 
  ac_status=$?
19678
 
  grep -v '^ *+' conftest.er1 >conftest.err
19679
 
  rm -f conftest.er1
19680
 
  cat conftest.err >&5
19681
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682
 
  (exit $ac_status); } && {
19683
 
         test -z "$ac_c_werror_flag" ||
19684
 
         test ! -s conftest.err
19685
 
       } && test -s conftest$ac_exeext && {
19686
 
         test "$cross_compiling" = yes ||
19687
 
         $as_test_x conftest$ac_exeext
19688
 
       }; then
 
15947
if ac_fn_c_try_link "$LINENO"; then :
19689
15948
  ac_cv_lib_intl_ngettext=yes
19690
15949
else
19691
 
  $as_echo "$as_me: failed program was:" >&5
19692
 
sed 's/^/| /' conftest.$ac_ext >&5
19693
 
 
19694
 
        ac_cv_lib_intl_ngettext=no
 
15950
  ac_cv_lib_intl_ngettext=no
19695
15951
fi
19696
 
 
19697
 
rm -rf conftest.dSYM
19698
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19699
 
      conftest$ac_exeext conftest.$ac_ext
 
15952
rm -f core conftest.err conftest.$ac_objext \
 
15953
    conftest$ac_exeext conftest.$ac_ext
19700
15954
LIBS=$ac_check_lib_save_LIBS
19701
15955
fi
19702
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
15956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
19703
15957
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
19704
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
19705
 
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
15958
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
15959
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
19706
15960
$as_echo_n "checking for dgettext in -lintl... " >&6; }
19707
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 
15961
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
19708
15962
  $as_echo_n "(cached) " >&6
19709
15963
else
19710
15964
  ac_check_lib_save_LIBS=$LIBS
19711
15965
LIBS="-lintl  $LIBS"
19712
 
cat >conftest.$ac_ext <<_ACEOF
19713
 
/* confdefs.h.  */
19714
 
_ACEOF
19715
 
cat confdefs.h >>conftest.$ac_ext
19716
 
cat >>conftest.$ac_ext <<_ACEOF
 
15966
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19717
15967
/* end confdefs.h.  */
19718
15968
 
19719
15969
/* Override any GCC internal prototype to avoid an error.
19731
15981
  return 0;
19732
15982
}
19733
15983
_ACEOF
19734
 
rm -f conftest.$ac_objext conftest$ac_exeext
19735
 
if { (ac_try="$ac_link"
19736
 
case "(($ac_try" in
19737
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19738
 
  *) ac_try_echo=$ac_try;;
19739
 
esac
19740
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19741
 
$as_echo "$ac_try_echo") >&5
19742
 
  (eval "$ac_link") 2>conftest.er1
19743
 
  ac_status=$?
19744
 
  grep -v '^ *+' conftest.er1 >conftest.err
19745
 
  rm -f conftest.er1
19746
 
  cat conftest.err >&5
19747
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748
 
  (exit $ac_status); } && {
19749
 
         test -z "$ac_c_werror_flag" ||
19750
 
         test ! -s conftest.err
19751
 
       } && test -s conftest$ac_exeext && {
19752
 
         test "$cross_compiling" = yes ||
19753
 
         $as_test_x conftest$ac_exeext
19754
 
       }; then
 
15984
if ac_fn_c_try_link "$LINENO"; then :
19755
15985
  ac_cv_lib_intl_dgettext=yes
19756
15986
else
19757
 
  $as_echo "$as_me: failed program was:" >&5
19758
 
sed 's/^/| /' conftest.$ac_ext >&5
19759
 
 
19760
 
        ac_cv_lib_intl_dgettext=no
 
15987
  ac_cv_lib_intl_dgettext=no
19761
15988
fi
19762
 
 
19763
 
rm -rf conftest.dSYM
19764
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19765
 
      conftest$ac_exeext conftest.$ac_ext
 
15989
rm -f core conftest.err conftest.$ac_objext \
 
15990
    conftest$ac_exeext conftest.$ac_ext
19766
15991
LIBS=$ac_check_lib_save_LIBS
19767
15992
fi
19768
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
15993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
19769
15994
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
19770
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
 
15995
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
19771
15996
  gt_cv_func_dgettext_libintl=yes
19772
15997
fi
19773
15998
 
19777
16002
 
19778
16003
 
19779
16004
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
19780
 
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
16005
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
19781
16006
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
19782
 
          { $as_echo "$as_me:$LINENO: result: " >&5
 
16007
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
19783
16008
$as_echo "" >&6; }
19784
 
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
16009
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
19785
16010
$as_echo_n "checking for ngettext in -lintl... " >&6; }
19786
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
16011
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
19787
16012
  $as_echo_n "(cached) " >&6
19788
16013
else
19789
16014
  ac_check_lib_save_LIBS=$LIBS
19790
16015
LIBS="-lintl -liconv $LIBS"
19791
 
cat >conftest.$ac_ext <<_ACEOF
19792
 
/* confdefs.h.  */
19793
 
_ACEOF
19794
 
cat confdefs.h >>conftest.$ac_ext
19795
 
cat >>conftest.$ac_ext <<_ACEOF
 
16016
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19796
16017
/* end confdefs.h.  */
19797
16018
 
19798
16019
/* Override any GCC internal prototype to avoid an error.
19810
16031
  return 0;
19811
16032
}
19812
16033
_ACEOF
19813
 
rm -f conftest.$ac_objext conftest$ac_exeext
19814
 
if { (ac_try="$ac_link"
19815
 
case "(($ac_try" in
19816
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19817
 
  *) ac_try_echo=$ac_try;;
19818
 
esac
19819
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19820
 
$as_echo "$ac_try_echo") >&5
19821
 
  (eval "$ac_link") 2>conftest.er1
19822
 
  ac_status=$?
19823
 
  grep -v '^ *+' conftest.er1 >conftest.err
19824
 
  rm -f conftest.er1
19825
 
  cat conftest.err >&5
19826
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827
 
  (exit $ac_status); } && {
19828
 
         test -z "$ac_c_werror_flag" ||
19829
 
         test ! -s conftest.err
19830
 
       } && test -s conftest$ac_exeext && {
19831
 
         test "$cross_compiling" = yes ||
19832
 
         $as_test_x conftest$ac_exeext
19833
 
       }; then
 
16034
if ac_fn_c_try_link "$LINENO"; then :
19834
16035
  ac_cv_lib_intl_ngettext=yes
19835
16036
else
19836
 
  $as_echo "$as_me: failed program was:" >&5
19837
 
sed 's/^/| /' conftest.$ac_ext >&5
19838
 
 
19839
 
        ac_cv_lib_intl_ngettext=no
 
16037
  ac_cv_lib_intl_ngettext=no
19840
16038
fi
19841
 
 
19842
 
rm -rf conftest.dSYM
19843
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19844
 
      conftest$ac_exeext conftest.$ac_ext
 
16039
rm -f core conftest.err conftest.$ac_objext \
 
16040
    conftest$ac_exeext conftest.$ac_ext
19845
16041
LIBS=$ac_check_lib_save_LIBS
19846
16042
fi
19847
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
16043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
19848
16044
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
19849
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
19850
 
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
16045
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
16046
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
19851
16047
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
19852
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 
16048
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
19853
16049
  $as_echo_n "(cached) " >&6
19854
16050
else
19855
16051
  ac_check_lib_save_LIBS=$LIBS
19856
16052
LIBS="-lintl -liconv $LIBS"
19857
 
cat >conftest.$ac_ext <<_ACEOF
19858
 
/* confdefs.h.  */
19859
 
_ACEOF
19860
 
cat confdefs.h >>conftest.$ac_ext
19861
 
cat >>conftest.$ac_ext <<_ACEOF
 
16053
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19862
16054
/* end confdefs.h.  */
19863
16055
 
19864
16056
/* Override any GCC internal prototype to avoid an error.
19876
16068
  return 0;
19877
16069
}
19878
16070
_ACEOF
19879
 
rm -f conftest.$ac_objext conftest$ac_exeext
19880
 
if { (ac_try="$ac_link"
19881
 
case "(($ac_try" in
19882
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19883
 
  *) ac_try_echo=$ac_try;;
19884
 
esac
19885
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19886
 
$as_echo "$ac_try_echo") >&5
19887
 
  (eval "$ac_link") 2>conftest.er1
19888
 
  ac_status=$?
19889
 
  grep -v '^ *+' conftest.er1 >conftest.err
19890
 
  rm -f conftest.er1
19891
 
  cat conftest.err >&5
19892
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893
 
  (exit $ac_status); } && {
19894
 
         test -z "$ac_c_werror_flag" ||
19895
 
         test ! -s conftest.err
19896
 
       } && test -s conftest$ac_exeext && {
19897
 
         test "$cross_compiling" = yes ||
19898
 
         $as_test_x conftest$ac_exeext
19899
 
       }; then
 
16071
if ac_fn_c_try_link "$LINENO"; then :
19900
16072
  ac_cv_lib_intl_dcgettext=yes
19901
16073
else
19902
 
  $as_echo "$as_me: failed program was:" >&5
19903
 
sed 's/^/| /' conftest.$ac_ext >&5
19904
 
 
19905
 
        ac_cv_lib_intl_dcgettext=no
 
16074
  ac_cv_lib_intl_dcgettext=no
19906
16075
fi
19907
 
 
19908
 
rm -rf conftest.dSYM
19909
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19910
 
      conftest$ac_exeext conftest.$ac_ext
 
16076
rm -f core conftest.err conftest.$ac_objext \
 
16077
    conftest$ac_exeext conftest.$ac_ext
19911
16078
LIBS=$ac_check_lib_save_LIBS
19912
16079
fi
19913
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
16080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
19914
16081
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
19915
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
 
16082
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
19916
16083
  gt_cv_func_dgettext_libintl=yes
19917
16084
                        libintl_extra_libs=-liconv
19918
16085
else
19934
16101
          glib_save_LIBS="$LIBS"
19935
16102
          LIBS="$LIBS -lintl $libintl_extra_libs"
19936
16103
          unset ac_cv_func_bind_textdomain_codeset
19937
 
 
19938
 
for ac_func in bind_textdomain_codeset
19939
 
do
19940
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19941
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19942
 
$as_echo_n "checking for $ac_func... " >&6; }
19943
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19944
 
  $as_echo_n "(cached) " >&6
19945
 
else
19946
 
  cat >conftest.$ac_ext <<_ACEOF
19947
 
/* confdefs.h.  */
19948
 
_ACEOF
19949
 
cat confdefs.h >>conftest.$ac_ext
19950
 
cat >>conftest.$ac_ext <<_ACEOF
19951
 
/* end confdefs.h.  */
19952
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19953
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19954
 
#define $ac_func innocuous_$ac_func
19955
 
 
19956
 
/* System header to define __stub macros and hopefully few prototypes,
19957
 
    which can conflict with char $ac_func (); below.
19958
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19959
 
    <limits.h> exists even on freestanding compilers.  */
19960
 
 
19961
 
#ifdef __STDC__
19962
 
# include <limits.h>
19963
 
#else
19964
 
# include <assert.h>
19965
 
#endif
19966
 
 
19967
 
#undef $ac_func
19968
 
 
19969
 
/* Override any GCC internal prototype to avoid an error.
19970
 
   Use char because int might match the return type of a GCC
19971
 
   builtin and then its argument prototype would still apply.  */
19972
 
#ifdef __cplusplus
19973
 
extern "C"
19974
 
#endif
19975
 
char $ac_func ();
19976
 
/* The GNU C library defines this for functions which it implements
19977
 
    to always fail with ENOSYS.  Some functions are actually named
19978
 
    something starting with __ and the normal name is an alias.  */
19979
 
#if defined __stub_$ac_func || defined __stub___$ac_func
19980
 
choke me
19981
 
#endif
19982
 
 
19983
 
int
19984
 
main ()
19985
 
{
19986
 
return $ac_func ();
19987
 
  ;
19988
 
  return 0;
19989
 
}
19990
 
_ACEOF
19991
 
rm -f conftest.$ac_objext conftest$ac_exeext
19992
 
if { (ac_try="$ac_link"
19993
 
case "(($ac_try" in
19994
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19995
 
  *) ac_try_echo=$ac_try;;
19996
 
esac
19997
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19998
 
$as_echo "$ac_try_echo") >&5
19999
 
  (eval "$ac_link") 2>conftest.er1
20000
 
  ac_status=$?
20001
 
  grep -v '^ *+' conftest.er1 >conftest.err
20002
 
  rm -f conftest.er1
20003
 
  cat conftest.err >&5
20004
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005
 
  (exit $ac_status); } && {
20006
 
         test -z "$ac_c_werror_flag" ||
20007
 
         test ! -s conftest.err
20008
 
       } && test -s conftest$ac_exeext && {
20009
 
         test "$cross_compiling" = yes ||
20010
 
         $as_test_x conftest$ac_exeext
20011
 
       }; then
20012
 
  eval "$as_ac_var=yes"
20013
 
else
20014
 
  $as_echo "$as_me: failed program was:" >&5
20015
 
sed 's/^/| /' conftest.$ac_ext >&5
20016
 
 
20017
 
        eval "$as_ac_var=no"
20018
 
fi
20019
 
 
20020
 
rm -rf conftest.dSYM
20021
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20022
 
      conftest$ac_exeext conftest.$ac_ext
20023
 
fi
20024
 
ac_res=`eval 'as_val=${'$as_ac_var'}
20025
 
                 $as_echo "$as_val"'`
20026
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20027
 
$as_echo "$ac_res" >&6; }
20028
 
as_val=`eval 'as_val=${'$as_ac_var'}
20029
 
                 $as_echo "$as_val"'`
20030
 
   if test "x$as_val" = x""yes; then
 
16104
          for ac_func in bind_textdomain_codeset
 
16105
do :
 
16106
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
16107
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
20031
16108
  cat >>confdefs.h <<_ACEOF
20032
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
16109
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
20033
16110
_ACEOF
20034
16111
 
20035
16112
fi
20059
16136
 
20060
16137
      if test "$gt_cv_have_gettext" = "yes"; then
20061
16138
 
20062
 
cat >>confdefs.h <<\_ACEOF
20063
 
#define HAVE_GETTEXT 1
20064
 
_ACEOF
 
16139
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
20065
16140
 
20066
16141
        # Extract the first word of "msgfmt", so it can be a program name with args.
20067
16142
set dummy msgfmt; ac_word=$2
20068
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20069
16144
$as_echo_n "checking for $ac_word... " >&6; }
20070
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
16145
if test "${ac_cv_path_MSGFMT+set}" = set; then :
20071
16146
  $as_echo_n "(cached) " >&6
20072
16147
else
20073
16148
  case "$MSGFMT" in
20092
16167
fi
20093
16168
MSGFMT="$ac_cv_path_MSGFMT"
20094
16169
if test "$MSGFMT" != "no"; then
20095
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
16170
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
20096
16171
$as_echo "$MSGFMT" >&6; }
20097
16172
else
20098
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16173
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20099
16174
$as_echo "no" >&6; }
20100
16175
fi
20101
16176
        if test "$MSGFMT" != "no"; then
20102
16177
          glib_save_LIBS="$LIBS"
20103
16178
          LIBS="$LIBS $INTLLIBS"
20104
 
 
20105
 
for ac_func in dcgettext
20106
 
do
20107
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20108
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20109
 
$as_echo_n "checking for $ac_func... " >&6; }
20110
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20111
 
  $as_echo_n "(cached) " >&6
20112
 
else
20113
 
  cat >conftest.$ac_ext <<_ACEOF
20114
 
/* confdefs.h.  */
20115
 
_ACEOF
20116
 
cat confdefs.h >>conftest.$ac_ext
20117
 
cat >>conftest.$ac_ext <<_ACEOF
20118
 
/* end confdefs.h.  */
20119
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20120
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20121
 
#define $ac_func innocuous_$ac_func
20122
 
 
20123
 
/* System header to define __stub macros and hopefully few prototypes,
20124
 
    which can conflict with char $ac_func (); below.
20125
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20126
 
    <limits.h> exists even on freestanding compilers.  */
20127
 
 
20128
 
#ifdef __STDC__
20129
 
# include <limits.h>
20130
 
#else
20131
 
# include <assert.h>
20132
 
#endif
20133
 
 
20134
 
#undef $ac_func
20135
 
 
20136
 
/* Override any GCC internal prototype to avoid an error.
20137
 
   Use char because int might match the return type of a GCC
20138
 
   builtin and then its argument prototype would still apply.  */
20139
 
#ifdef __cplusplus
20140
 
extern "C"
20141
 
#endif
20142
 
char $ac_func ();
20143
 
/* The GNU C library defines this for functions which it implements
20144
 
    to always fail with ENOSYS.  Some functions are actually named
20145
 
    something starting with __ and the normal name is an alias.  */
20146
 
#if defined __stub_$ac_func || defined __stub___$ac_func
20147
 
choke me
20148
 
#endif
20149
 
 
20150
 
int
20151
 
main ()
20152
 
{
20153
 
return $ac_func ();
20154
 
  ;
20155
 
  return 0;
20156
 
}
20157
 
_ACEOF
20158
 
rm -f conftest.$ac_objext conftest$ac_exeext
20159
 
if { (ac_try="$ac_link"
20160
 
case "(($ac_try" in
20161
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20162
 
  *) ac_try_echo=$ac_try;;
20163
 
esac
20164
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20165
 
$as_echo "$ac_try_echo") >&5
20166
 
  (eval "$ac_link") 2>conftest.er1
20167
 
  ac_status=$?
20168
 
  grep -v '^ *+' conftest.er1 >conftest.err
20169
 
  rm -f conftest.er1
20170
 
  cat conftest.err >&5
20171
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172
 
  (exit $ac_status); } && {
20173
 
         test -z "$ac_c_werror_flag" ||
20174
 
         test ! -s conftest.err
20175
 
       } && test -s conftest$ac_exeext && {
20176
 
         test "$cross_compiling" = yes ||
20177
 
         $as_test_x conftest$ac_exeext
20178
 
       }; then
20179
 
  eval "$as_ac_var=yes"
20180
 
else
20181
 
  $as_echo "$as_me: failed program was:" >&5
20182
 
sed 's/^/| /' conftest.$ac_ext >&5
20183
 
 
20184
 
        eval "$as_ac_var=no"
20185
 
fi
20186
 
 
20187
 
rm -rf conftest.dSYM
20188
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20189
 
      conftest$ac_exeext conftest.$ac_ext
20190
 
fi
20191
 
ac_res=`eval 'as_val=${'$as_ac_var'}
20192
 
                 $as_echo "$as_val"'`
20193
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20194
 
$as_echo "$ac_res" >&6; }
20195
 
as_val=`eval 'as_val=${'$as_ac_var'}
20196
 
                 $as_echo "$as_val"'`
20197
 
   if test "x$as_val" = x""yes; then
 
16179
          for ac_func in dcgettext
 
16180
do :
 
16181
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
16182
if test "x$ac_cv_func_dcgettext" = x""yes; then :
20198
16183
  cat >>confdefs.h <<_ACEOF
20199
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
16184
#define HAVE_DCGETTEXT 1
20200
16185
_ACEOF
20201
16186
 
20202
16187
fi
20203
16188
done
20204
16189
 
20205
16190
          MSGFMT_OPTS=
20206
 
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
16191
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
20207
16192
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
20208
16193
          cat >conftest.foo <<_ACEOF
20209
16194
 
20218
16203
"Content-Transfer-Encoding: 8bit\n"
20219
16204
 
20220
16205
_ACEOF
20221
 
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
16206
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
20222
16207
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
20223
16208
  ac_status=$?
20224
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225
 
  (exit $ac_status); }; then
20226
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
16209
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16210
  test $ac_status = 0; }; then
 
16211
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20227
16212
$as_echo "yes" >&6; }
20228
 
else { $as_echo "$as_me:$LINENO: result: no" >&5
 
16213
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20229
16214
$as_echo "no" >&6; }
20230
16215
echo "$as_me: failed input was:" >&5
20231
16216
sed 's/^/| /' conftest.foo >&5
20233
16218
 
20234
16219
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
20235
16220
set dummy gmsgfmt; ac_word=$2
20236
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20237
16222
$as_echo_n "checking for $ac_word... " >&6; }
20238
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
16223
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
20239
16224
  $as_echo_n "(cached) " >&6
20240
16225
else
20241
16226
  case $GMSGFMT in
20248
16233
do
20249
16234
  IFS=$as_save_IFS
20250
16235
  test -z "$as_dir" && as_dir=.
20251
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16236
    for ac_exec_ext in '' $ac_executable_extensions; do
20252
16237
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20253
16238
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
20254
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16239
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20255
16240
    break 2
20256
16241
  fi
20257
16242
done
20258
 
done
 
16243
  done
20259
16244
IFS=$as_save_IFS
20260
16245
 
20261
16246
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
20264
16249
fi
20265
16250
GMSGFMT=$ac_cv_path_GMSGFMT
20266
16251
if test -n "$GMSGFMT"; then
20267
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
16252
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
20268
16253
$as_echo "$GMSGFMT" >&6; }
20269
16254
else
20270
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16255
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20271
16256
$as_echo "no" >&6; }
20272
16257
fi
20273
16258
 
20274
16259
 
20275
16260
          # Extract the first word of "xgettext", so it can be a program name with args.
20276
16261
set dummy xgettext; ac_word=$2
20277
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16262
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20278
16263
$as_echo_n "checking for $ac_word... " >&6; }
20279
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
16264
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
20280
16265
  $as_echo_n "(cached) " >&6
20281
16266
else
20282
16267
  case "$XGETTEXT" in
20301
16286
fi
20302
16287
XGETTEXT="$ac_cv_path_XGETTEXT"
20303
16288
if test "$XGETTEXT" != ":"; then
20304
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
16289
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
20305
16290
$as_echo "$XGETTEXT" >&6; }
20306
16291
else
20307
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16292
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20308
16293
$as_echo "no" >&6; }
20309
16294
fi
20310
16295
 
20311
 
          cat >conftest.$ac_ext <<_ACEOF
20312
 
/* confdefs.h.  */
20313
 
_ACEOF
20314
 
cat confdefs.h >>conftest.$ac_ext
20315
 
cat >>conftest.$ac_ext <<_ACEOF
 
16296
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20316
16297
/* end confdefs.h.  */
20317
16298
 
20318
16299
int
20324
16305
  return 0;
20325
16306
}
20326
16307
_ACEOF
20327
 
rm -f conftest.$ac_objext conftest$ac_exeext
20328
 
if { (ac_try="$ac_link"
20329
 
case "(($ac_try" in
20330
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20331
 
  *) ac_try_echo=$ac_try;;
20332
 
esac
20333
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20334
 
$as_echo "$ac_try_echo") >&5
20335
 
  (eval "$ac_link") 2>conftest.er1
20336
 
  ac_status=$?
20337
 
  grep -v '^ *+' conftest.er1 >conftest.err
20338
 
  rm -f conftest.er1
20339
 
  cat conftest.err >&5
20340
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341
 
  (exit $ac_status); } && {
20342
 
         test -z "$ac_c_werror_flag" ||
20343
 
         test ! -s conftest.err
20344
 
       } && test -s conftest$ac_exeext && {
20345
 
         test "$cross_compiling" = yes ||
20346
 
         $as_test_x conftest$ac_exeext
20347
 
       }; then
 
16308
if ac_fn_c_try_link "$LINENO"; then :
20348
16309
  CATOBJEXT=.gmo
20349
16310
             DATADIRNAME=share
20350
16311
else
20351
 
  $as_echo "$as_me: failed program was:" >&5
20352
 
sed 's/^/| /' conftest.$ac_ext >&5
20353
 
 
20354
 
        case $host in
 
16312
  case $host in
20355
16313
            *-*-solaris*)
20356
 
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
20357
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
20358
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
20359
 
  $as_echo_n "(cached) " >&6
20360
 
else
20361
 
  cat >conftest.$ac_ext <<_ACEOF
20362
 
/* confdefs.h.  */
20363
 
_ACEOF
20364
 
cat confdefs.h >>conftest.$ac_ext
20365
 
cat >>conftest.$ac_ext <<_ACEOF
20366
 
/* end confdefs.h.  */
20367
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
20368
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20369
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
20370
 
 
20371
 
/* System header to define __stub macros and hopefully few prototypes,
20372
 
    which can conflict with char bind_textdomain_codeset (); below.
20373
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20374
 
    <limits.h> exists even on freestanding compilers.  */
20375
 
 
20376
 
#ifdef __STDC__
20377
 
# include <limits.h>
20378
 
#else
20379
 
# include <assert.h>
20380
 
#endif
20381
 
 
20382
 
#undef bind_textdomain_codeset
20383
 
 
20384
 
/* Override any GCC internal prototype to avoid an error.
20385
 
   Use char because int might match the return type of a GCC
20386
 
   builtin and then its argument prototype would still apply.  */
20387
 
#ifdef __cplusplus
20388
 
extern "C"
20389
 
#endif
20390
 
char bind_textdomain_codeset ();
20391
 
/* The GNU C library defines this for functions which it implements
20392
 
    to always fail with ENOSYS.  Some functions are actually named
20393
 
    something starting with __ and the normal name is an alias.  */
20394
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
20395
 
choke me
20396
 
#endif
20397
 
 
20398
 
int
20399
 
main ()
20400
 
{
20401
 
return bind_textdomain_codeset ();
20402
 
  ;
20403
 
  return 0;
20404
 
}
20405
 
_ACEOF
20406
 
rm -f conftest.$ac_objext conftest$ac_exeext
20407
 
if { (ac_try="$ac_link"
20408
 
case "(($ac_try" in
20409
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20410
 
  *) ac_try_echo=$ac_try;;
20411
 
esac
20412
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20413
 
$as_echo "$ac_try_echo") >&5
20414
 
  (eval "$ac_link") 2>conftest.er1
20415
 
  ac_status=$?
20416
 
  grep -v '^ *+' conftest.er1 >conftest.err
20417
 
  rm -f conftest.er1
20418
 
  cat conftest.err >&5
20419
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420
 
  (exit $ac_status); } && {
20421
 
         test -z "$ac_c_werror_flag" ||
20422
 
         test ! -s conftest.err
20423
 
       } && test -s conftest$ac_exeext && {
20424
 
         test "$cross_compiling" = yes ||
20425
 
         $as_test_x conftest$ac_exeext
20426
 
       }; then
20427
 
  ac_cv_func_bind_textdomain_codeset=yes
20428
 
else
20429
 
  $as_echo "$as_me: failed program was:" >&5
20430
 
sed 's/^/| /' conftest.$ac_ext >&5
20431
 
 
20432
 
        ac_cv_func_bind_textdomain_codeset=no
20433
 
fi
20434
 
 
20435
 
rm -rf conftest.dSYM
20436
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20437
 
      conftest$ac_exeext conftest.$ac_ext
20438
 
fi
20439
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
20440
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
20441
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
16314
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
16315
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
20442
16316
  CATOBJEXT=.gmo
20443
16317
               DATADIRNAME=share
20444
16318
else
20453
16327
            ;;
20454
16328
            esac
20455
16329
fi
20456
 
 
20457
 
rm -rf conftest.dSYM
20458
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20459
 
      conftest$ac_exeext conftest.$ac_ext
 
16330
rm -f core conftest.err conftest.$ac_objext \
 
16331
    conftest$ac_exeext conftest.$ac_ext
20460
16332
          LIBS="$glib_save_LIBS"
20461
16333
          INSTOBJEXT=.mo
20462
16334
        else
20470
16342
 
20471
16343
    if test "$gt_cv_have_gettext" = "yes" ; then
20472
16344
 
20473
 
cat >>confdefs.h <<\_ACEOF
20474
 
#define ENABLE_NLS 1
20475
 
_ACEOF
 
16345
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
20476
16346
 
20477
16347
    fi
20478
16348
 
20480
16350
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
20481
16351
        : ;
20482
16352
      else
20483
 
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
16353
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
20484
16354
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
20485
16355
        XGETTEXT=":"
20486
16356
      fi
20513
16383
     if test "x$ALL_LINGUAS" = "x"; then
20514
16384
       LINGUAS=
20515
16385
     else
20516
 
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
16386
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
20517
16387
$as_echo_n "checking for catalogs to be installed... " >&6; }
20518
16388
       NEW_LINGUAS=
20519
16389
       for presentlang in $ALL_LINGUAS; do
20538
16408
         fi
20539
16409
       done
20540
16410
       LINGUAS=$NEW_LINGUAS
20541
 
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
16411
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
20542
16412
$as_echo "$LINGUAS" >&6; }
20543
16413
     fi
20544
16414
 
20576
16446
 
20577
16447
    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
20578
16448
set dummy gtkdoc-check; ac_word=$2
20579
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20580
16450
$as_echo_n "checking for $ac_word... " >&6; }
20581
 
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then
 
16451
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
20582
16452
  $as_echo_n "(cached) " >&6
20583
16453
else
20584
16454
  case $GTKDOC_CHECK in
20591
16461
do
20592
16462
  IFS=$as_save_IFS
20593
16463
  test -z "$as_dir" && as_dir=.
20594
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16464
    for ac_exec_ext in '' $ac_executable_extensions; do
20595
16465
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20596
16466
    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
20597
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16467
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20598
16468
    break 2
20599
16469
  fi
20600
16470
done
20601
 
done
 
16471
  done
20602
16472
IFS=$as_save_IFS
20603
16473
 
20604
16474
  ;;
20606
16476
fi
20607
16477
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
20608
16478
if test -n "$GTKDOC_CHECK"; then
20609
 
  { $as_echo "$as_me:$LINENO: result: $GTKDOC_CHECK" >&5
 
16479
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
20610
16480
$as_echo "$GTKDOC_CHECK" >&6; }
20611
16481
else
20612
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16482
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20613
16483
$as_echo "no" >&6; }
20614
16484
fi
20615
16485
 
20618
16488
do
20619
16489
  # Extract the first word of "$ac_prog", so it can be a program name with args.
20620
16490
set dummy $ac_prog; ac_word=$2
20621
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20622
16492
$as_echo_n "checking for $ac_word... " >&6; }
20623
 
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then
 
16493
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
20624
16494
  $as_echo_n "(cached) " >&6
20625
16495
else
20626
16496
  case $GTKDOC_REBASE in
20633
16503
do
20634
16504
  IFS=$as_save_IFS
20635
16505
  test -z "$as_dir" && as_dir=.
20636
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16506
    for ac_exec_ext in '' $ac_executable_extensions; do
20637
16507
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20638
16508
    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
20639
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16509
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20640
16510
    break 2
20641
16511
  fi
20642
16512
done
20643
 
done
 
16513
  done
20644
16514
IFS=$as_save_IFS
20645
16515
 
20646
16516
  ;;
20648
16518
fi
20649
16519
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
20650
16520
if test -n "$GTKDOC_REBASE"; then
20651
 
  { $as_echo "$as_me:$LINENO: result: $GTKDOC_REBASE" >&5
 
16521
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
20652
16522
$as_echo "$GTKDOC_REBASE" >&6; }
20653
16523
else
20654
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16524
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20655
16525
$as_echo "no" >&6; }
20656
16526
fi
20657
16527
 
20662
16532
 
20663
16533
  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
20664
16534
set dummy gtkdoc-mkpdf; ac_word=$2
20665
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20666
16536
$as_echo_n "checking for $ac_word... " >&6; }
20667
 
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then
 
16537
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
20668
16538
  $as_echo_n "(cached) " >&6
20669
16539
else
20670
16540
  case $GTKDOC_MKPDF in
20677
16547
do
20678
16548
  IFS=$as_save_IFS
20679
16549
  test -z "$as_dir" && as_dir=.
20680
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16550
    for ac_exec_ext in '' $ac_executable_extensions; do
20681
16551
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20682
16552
    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
20683
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16553
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20684
16554
    break 2
20685
16555
  fi
20686
16556
done
20687
 
done
 
16557
  done
20688
16558
IFS=$as_save_IFS
20689
16559
 
20690
16560
  ;;
20692
16562
fi
20693
16563
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
20694
16564
if test -n "$GTKDOC_MKPDF"; then
20695
 
  { $as_echo "$as_me:$LINENO: result: $GTKDOC_MKPDF" >&5
 
16565
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
20696
16566
$as_echo "$GTKDOC_MKPDF" >&6; }
20697
16567
else
20698
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16568
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20699
16569
$as_echo "no" >&6; }
20700
16570
fi
20701
16571
 
20703
16573
 
20704
16574
 
20705
16575
# Check whether --with-html-dir was given.
20706
 
if test "${with_html_dir+set}" = set; then
 
16576
if test "${with_html_dir+set}" = set; then :
20707
16577
  withval=$with_html_dir;
20708
16578
else
20709
16579
  with_html_dir='${datadir}/gtk-doc/html'
20713
16583
 
20714
16584
 
20715
16585
    # Check whether --enable-gtk-doc was given.
20716
 
if test "${enable_gtk_doc+set}" = set; then
 
16586
if test "${enable_gtk_doc+set}" = set; then :
20717
16587
  enableval=$enable_gtk_doc;
20718
16588
else
20719
16589
  enable_gtk_doc=no
20722
16592
 
20723
16593
  if test x$enable_gtk_doc = xyes; then
20724
16594
    if test -n "$PKG_CONFIG" && \
20725
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\"") >&5
 
16595
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
20726
16596
  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
20727
16597
  ac_status=$?
20728
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729
 
  (exit $ac_status); }; then
 
16598
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16599
  test $ac_status = 0; }; then
20730
16600
  :
20731
16601
else
20732
 
  { { $as_echo "$as_me:$LINENO: error: You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" >&5
20733
 
$as_echo "$as_me: error: You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" >&2;}
20734
 
   { (exit 1); exit 1; }; }
 
16602
  as_fn_error "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
20735
16603
fi
20736
16604
  fi
20737
16605
 
20738
 
  { $as_echo "$as_me:$LINENO: checking whether to build gtk-doc documentation" >&5
 
16606
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
20739
16607
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
20740
 
  { $as_echo "$as_me:$LINENO: result: $enable_gtk_doc" >&5
 
16608
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
20741
16609
$as_echo "$enable_gtk_doc" >&6; }
20742
16610
 
20743
16611
    # Check whether --enable-gtk-doc-html was given.
20744
 
if test "${enable_gtk_doc_html+set}" = set; then
 
16612
if test "${enable_gtk_doc_html+set}" = set; then :
20745
16613
  enableval=$enable_gtk_doc_html;
20746
16614
else
20747
16615
  enable_gtk_doc_html=yes
20748
16616
fi
20749
16617
 
20750
16618
    # Check whether --enable-gtk-doc-pdf was given.
20751
 
if test "${enable_gtk_doc_pdf+set}" = set; then
 
16619
if test "${enable_gtk_doc_pdf+set}" = set; then :
20752
16620
  enableval=$enable_gtk_doc_pdf;
20753
16621
else
20754
16622
  enable_gtk_doc_pdf=no
20806
16674
 
20807
16675
gdu_cv_version_required=0.3.2
20808
16676
 
20809
 
{ $as_echo "$as_me:$LINENO: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
 
16677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
20810
16678
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
20811
16679
if test -n "$PKG_CONFIG" && \
20812
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
 
16680
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
20813
16681
  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
20814
16682
  ac_status=$?
20815
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20816
 
  (exit $ac_status); }; then
 
16683
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16684
  test $ac_status = 0; }; then
20817
16685
  gdu_cv_have_gdu=yes
20818
16686
else
20819
16687
  gdu_cv_have_gdu=no
20820
16688
fi
20821
16689
 
20822
16690
if test "$gdu_cv_have_gdu" = "yes"; then
20823
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
16691
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20824
16692
$as_echo "yes" >&6; }
20825
16693
        :
20826
16694
else
20827
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
16695
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20828
16696
$as_echo "no" >&6; }
20829
 
        { { $as_echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
20830
 
$as_echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
20831
 
   { (exit 1); exit 1; }; }
 
16697
        as_fn_error "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
20832
16698
fi
20833
16699
 
20834
16700
 
20835
16701
 
20836
16702
# Check whether --with-help-dir was given.
20837
 
if test "${with_help_dir+set}" = set; then
 
16703
if test "${with_help_dir+set}" = set; then :
20838
16704
  withval=$with_help_dir;
20839
16705
else
20840
16706
  with_help_dir='${datadir}/gnome/help'
20845
16711
 
20846
16712
 
20847
16713
# Check whether --with-omf-dir was given.
20848
 
if test "${with_omf_dir+set}" = set; then
 
16714
if test "${with_omf_dir+set}" = set; then :
20849
16715
  withval=$with_omf_dir;
20850
16716
else
20851
16717
  with_omf_dir='${datadir}/omf'
20856
16722
 
20857
16723
 
20858
16724
# Check whether --with-help-formats was given.
20859
 
if test "${with_help_formats+set}" = set; then
 
16725
if test "${with_help_formats+set}" = set; then :
20860
16726
  withval=$with_help_formats;
20861
16727
else
20862
16728
  with_help_formats=''
20866
16732
 
20867
16733
 
20868
16734
# Check whether --enable-scrollkeeper was given.
20869
 
if test "${enable_scrollkeeper+set}" = set; then
 
16735
if test "${enable_scrollkeeper+set}" = set; then :
20870
16736
  enableval=$enable_scrollkeeper;
20871
16737
else
20872
16738
  enable_scrollkeeper=yes
20904
16770
 
20905
16771
 
20906
16772
# Check whether --with-gconf-source was given.
20907
 
if test "${with_gconf_source+set}" = set; then
 
16773
if test "${with_gconf_source+set}" = set; then :
20908
16774
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
20909
16775
fi
20910
16776
 
20911
16777
 
20912
16778
 
20913
 
  { $as_echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
 
16779
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
20914
16780
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
20915
16781
 
20916
16782
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
20919
16785
 
20920
16786
 
20921
16787
# Check whether --with-gconf-schema-file-dir was given.
20922
 
if test "${with_gconf_schema_file_dir+set}" = set; then
 
16788
if test "${with_gconf_schema_file_dir+set}" = set; then :
20923
16789
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
20924
16790
fi
20925
16791
 
20926
16792
 
20927
16793
 
20928
 
  { $as_echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
 
16794
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
20929
16795
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
20930
16796
 
20931
16797
  # Check whether --enable-schemas-install was given.
20932
 
if test "${enable_schemas_install+set}" = set; then
 
16798
if test "${enable_schemas_install+set}" = set; then :
20933
16799
  enableval=$enable_schemas_install; case ${enableval} in
20934
16800
       yes|no) ;;
20935
 
       *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
20936
 
$as_echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
20937
 
   { (exit 1); exit 1; }; } ;;
 
16801
       *) as_fn_error "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
20938
16802
      esac
20939
16803
fi
20940
16804
 
20952
16816
*-*-solaris*)
20953
16817
        ostype=solaris
20954
16818
 
20955
 
cat >>confdefs.h <<\_ACEOF
20956
 
#define HAVE_SOLARIS 1
20957
 
_ACEOF
 
16819
$as_echo "#define HAVE_SOLARIS 1" >>confdefs.h
20958
16820
 
20959
16821
        ;;
20960
16822
esac
20963
16825
do
20964
16826
  # Extract the first word of "$ac_prog", so it can be a program name with args.
20965
16827
set dummy $ac_prog; ac_word=$2
20966
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20967
16829
$as_echo_n "checking for $ac_word... " >&6; }
20968
 
if test "${ac_cv_path_AWK+set}" = set; then
 
16830
if test "${ac_cv_path_AWK+set}" = set; then :
20969
16831
  $as_echo_n "(cached) " >&6
20970
16832
else
20971
16833
  case $AWK in
20978
16840
do
20979
16841
  IFS=$as_save_IFS
20980
16842
  test -z "$as_dir" && as_dir=.
20981
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16843
    for ac_exec_ext in '' $ac_executable_extensions; do
20982
16844
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20983
16845
    ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
20984
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16846
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20985
16847
    break 2
20986
16848
  fi
20987
16849
done
20988
 
done
 
16850
  done
20989
16851
IFS=$as_save_IFS
20990
16852
 
20991
16853
  ;;
20993
16855
fi
20994
16856
AWK=$ac_cv_path_AWK
20995
16857
if test -n "$AWK"; then
20996
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
16858
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
20997
16859
$as_echo "$AWK" >&6; }
20998
16860
else
20999
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16861
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21000
16862
$as_echo "no" >&6; }
21001
16863
fi
21002
16864
 
21008
16870
do
21009
16871
  # Extract the first word of "$ac_prog", so it can be a program name with args.
21010
16872
set dummy $ac_prog; ac_word=$2
21011
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21012
16874
$as_echo_n "checking for $ac_word... " >&6; }
21013
 
if test "${ac_cv_path_PERL+set}" = set; then
 
16875
if test "${ac_cv_path_PERL+set}" = set; then :
21014
16876
  $as_echo_n "(cached) " >&6
21015
16877
else
21016
16878
  case $PERL in
21023
16885
do
21024
16886
  IFS=$as_save_IFS
21025
16887
  test -z "$as_dir" && as_dir=.
21026
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16888
    for ac_exec_ext in '' $ac_executable_extensions; do
21027
16889
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21028
16890
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
21029
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16891
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21030
16892
    break 2
21031
16893
  fi
21032
16894
done
21033
 
done
 
16895
  done
21034
16896
IFS=$as_save_IFS
21035
16897
 
21036
16898
  ;;
21038
16900
fi
21039
16901
PERL=$ac_cv_path_PERL
21040
16902
if test -n "$PERL"; then
21041
 
  { $as_echo "$as_me:$LINENO: result: $PERL" >&5
 
16903
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
21042
16904
$as_echo "$PERL" >&6; }
21043
16905
else
21044
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
16906
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21045
16907
$as_echo "no" >&6; }
21046
16908
fi
21047
16909
 
21051
16913
 
21052
16914
 
21053
16915
# Check whether --enable-rebuilds was given.
21054
 
if test "${enable_rebuilds+set}" = set; then
 
16916
if test "${enable_rebuilds+set}" = set; then :
21055
16917
  enableval=$enable_rebuilds;
21056
16918
else
21057
16919
  enable_rebuilds=yes
21095
16957
    case $ac_val in #(
21096
16958
    *${as_nl}*)
21097
16959
      case $ac_var in #(
21098
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
16960
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21099
16961
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21100
16962
      esac
21101
16963
      case $ac_var in #(
21102
16964
      _ | IFS | as_nl) ;; #(
21103
16965
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21104
 
      *) $as_unset $ac_var ;;
 
16966
      *) { eval $ac_var=; unset $ac_var;} ;;
21105
16967
      esac ;;
21106
16968
    esac
21107
16969
  done
21109
16971
  (set) 2>&1 |
21110
16972
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
21111
16973
    *${as_nl}ac_space=\ *)
21112
 
      # `set' does not quote correctly, so add quotes (double-quote
21113
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
16974
      # `set' does not quote correctly, so add quotes: double-quote
 
16975
      # substitution turns \\\\ into \\, and sed turns \\ into \.
21114
16976
      sed -n \
21115
16977
        "s/'/'\\\\''/g;
21116
16978
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21133
16995
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21134
16996
  if test -w "$cache_file"; then
21135
16997
    test "x$cache_file" != "x/dev/null" &&
21136
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
16998
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21137
16999
$as_echo "$as_me: updating cache $cache_file" >&6;}
21138
17000
    cat confcache >$cache_file
21139
17001
  else
21140
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
17002
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21141
17003
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21142
17004
  fi
21143
17005
fi
21157
17019
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21158
17020
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
21159
17021
  #    will be set to the directory where LIBOBJS objects are built.
21160
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21161
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
17022
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
17023
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21162
17024
done
21163
17025
LIBOBJS=$ac_libobjs
21164
17026
 
21174
17036
fi
21175
17037
 
21176
17038
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21177
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21178
 
Usually this means the macro was only invoked conditionally." >&5
21179
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21180
 
Usually this means the macro was only invoked conditionally." >&2;}
21181
 
   { (exit 1); exit 1; }; }
 
17039
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
17040
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21182
17041
fi
21183
17042
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21184
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21185
 
Usually this means the macro was only invoked conditionally." >&5
21186
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
21187
 
Usually this means the macro was only invoked conditionally." >&2;}
21188
 
   { (exit 1); exit 1; }; }
 
17043
  as_fn_error "conditional \"AMDEP\" was never defined.
 
17044
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21189
17045
fi
21190
17046
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21191
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21192
 
Usually this means the macro was only invoked conditionally." >&5
21193
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21194
 
Usually this means the macro was only invoked conditionally." >&2;}
21195
 
   { (exit 1); exit 1; }; }
 
17047
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
17048
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21196
17049
fi
21197
17050
 
21198
17051
  ac_config_commands="$ac_config_commands po/stamp-it"
21199
17052
 
21200
17053
 
21201
17054
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21202
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21203
 
Usually this means the macro was only invoked conditionally." >&5
21204
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21205
 
Usually this means the macro was only invoked conditionally." >&2;}
21206
 
   { (exit 1); exit 1; }; }
 
17055
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
17056
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21207
17057
fi
21208
17058
if test -z "${HAVE_LIBECAL_TRUE}" && test -z "${HAVE_LIBECAL_FALSE}"; then
21209
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_LIBECAL\" was never defined.
21210
 
Usually this means the macro was only invoked conditionally." >&5
21211
 
$as_echo "$as_me: error: conditional \"HAVE_LIBECAL\" was never defined.
21212
 
Usually this means the macro was only invoked conditionally." >&2;}
21213
 
   { (exit 1); exit 1; }; }
 
17059
  as_fn_error "conditional \"HAVE_LIBECAL\" was never defined.
 
17060
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21214
17061
fi
21215
17062
if test -z "${HAVE_POLKIT_TRUE}" && test -z "${HAVE_POLKIT_FALSE}"; then
21216
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_POLKIT\" was never defined.
21217
 
Usually this means the macro was only invoked conditionally." >&5
21218
 
$as_echo "$as_me: error: conditional \"HAVE_POLKIT\" was never defined.
21219
 
Usually this means the macro was only invoked conditionally." >&2;}
21220
 
   { (exit 1); exit 1; }; }
 
17063
  as_fn_error "conditional \"HAVE_POLKIT\" was never defined.
 
17064
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21221
17065
fi
21222
17066
if test -z "${CLOCK_INPROCESS_TRUE}" && test -z "${CLOCK_INPROCESS_FALSE}"; then
21223
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"CLOCK_INPROCESS\" was never defined.
21224
 
Usually this means the macro was only invoked conditionally." >&5
21225
 
$as_echo "$as_me: error: conditional \"CLOCK_INPROCESS\" was never defined.
21226
 
Usually this means the macro was only invoked conditionally." >&2;}
21227
 
   { (exit 1); exit 1; }; }
 
17067
  as_fn_error "conditional \"CLOCK_INPROCESS\" was never defined.
 
17068
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21228
17069
fi
21229
17070
if test -z "${FISH_INPROCESS_TRUE}" && test -z "${FISH_INPROCESS_FALSE}"; then
21230
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"FISH_INPROCESS\" was never defined.
21231
 
Usually this means the macro was only invoked conditionally." >&5
21232
 
$as_echo "$as_me: error: conditional \"FISH_INPROCESS\" was never defined.
21233
 
Usually this means the macro was only invoked conditionally." >&2;}
21234
 
   { (exit 1); exit 1; }; }
 
17071
  as_fn_error "conditional \"FISH_INPROCESS\" was never defined.
 
17072
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21235
17073
fi
21236
17074
if test -z "${NOTIFICATION_AREA_INPROCESS_TRUE}" && test -z "${NOTIFICATION_AREA_INPROCESS_FALSE}"; then
21237
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"NOTIFICATION_AREA_INPROCESS\" was never defined.
21238
 
Usually this means the macro was only invoked conditionally." >&5
21239
 
$as_echo "$as_me: error: conditional \"NOTIFICATION_AREA_INPROCESS\" was never defined.
21240
 
Usually this means the macro was only invoked conditionally." >&2;}
21241
 
   { (exit 1); exit 1; }; }
 
17075
  as_fn_error "conditional \"NOTIFICATION_AREA_INPROCESS\" was never defined.
 
17076
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21242
17077
fi
21243
17078
if test -z "${WNCKLET_INPROCESS_TRUE}" && test -z "${WNCKLET_INPROCESS_FALSE}"; then
21244
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"WNCKLET_INPROCESS\" was never defined.
21245
 
Usually this means the macro was only invoked conditionally." >&5
21246
 
$as_echo "$as_me: error: conditional \"WNCKLET_INPROCESS\" was never defined.
21247
 
Usually this means the macro was only invoked conditionally." >&2;}
21248
 
   { (exit 1); exit 1; }; }
 
17079
  as_fn_error "conditional \"WNCKLET_INPROCESS\" was never defined.
 
17080
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21249
17081
fi
21250
17082
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
21251
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined.
21252
 
Usually this means the macro was only invoked conditionally." >&5
21253
 
$as_echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined.
21254
 
Usually this means the macro was only invoked conditionally." >&2;}
21255
 
   { (exit 1); exit 1; }; }
 
17083
  as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined.
 
17084
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21256
17085
fi
21257
17086
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
21258
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_BUILD_HTML\" was never defined.
21259
 
Usually this means the macro was only invoked conditionally." >&5
21260
 
$as_echo "$as_me: error: conditional \"GTK_DOC_BUILD_HTML\" was never defined.
21261
 
Usually this means the macro was only invoked conditionally." >&2;}
21262
 
   { (exit 1); exit 1; }; }
 
17087
  as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
 
17088
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21263
17089
fi
21264
17090
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
21265
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_BUILD_PDF\" was never defined.
21266
 
Usually this means the macro was only invoked conditionally." >&5
21267
 
$as_echo "$as_me: error: conditional \"GTK_DOC_BUILD_PDF\" was never defined.
21268
 
Usually this means the macro was only invoked conditionally." >&2;}
21269
 
   { (exit 1); exit 1; }; }
 
17091
  as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
 
17092
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21270
17093
fi
21271
17094
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
21272
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
21273
 
Usually this means the macro was only invoked conditionally." >&5
21274
 
$as_echo "$as_me: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
21275
 
Usually this means the macro was only invoked conditionally." >&2;}
21276
 
   { (exit 1); exit 1; }; }
 
17095
  as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
 
17096
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21277
17097
fi
21278
17098
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
21279
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_REBASE\" was never defined.
21280
 
Usually this means the macro was only invoked conditionally." >&5
21281
 
$as_echo "$as_me: error: conditional \"GTK_DOC_USE_REBASE\" was never defined.
21282
 
Usually this means the macro was only invoked conditionally." >&2;}
21283
 
   { (exit 1); exit 1; }; }
 
17099
  as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined.
 
17100
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21284
17101
fi
21285
17102
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
21286
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
21287
 
Usually this means the macro was only invoked conditionally." >&5
21288
 
$as_echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
21289
 
Usually this means the macro was only invoked conditionally." >&2;}
21290
 
   { (exit 1); exit 1; }; }
 
17103
  as_fn_error "conditional \"ENABLE_SK\" was never defined.
 
17104
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21291
17105
fi
21292
17106
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
21293
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
21294
 
Usually this means the macro was only invoked conditionally." >&5
21295
 
$as_echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
21296
 
Usually this means the macro was only invoked conditionally." >&2;}
21297
 
   { (exit 1); exit 1; }; }
 
17107
  as_fn_error "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
 
17108
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21298
17109
fi
21299
17110
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
21300
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
21301
 
Usually this means the macro was only invoked conditionally." >&5
21302
 
$as_echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
21303
 
Usually this means the macro was only invoked conditionally." >&2;}
21304
 
   { (exit 1); exit 1; }; }
 
17111
  as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
 
17112
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21305
17113
fi
21306
17114
 
21307
17115
: ${CONFIG_STATUS=./config.status}
21308
17116
ac_write_fail=0
21309
17117
ac_clean_files_save=$ac_clean_files
21310
17118
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21311
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
17119
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21312
17120
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21313
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17121
as_write_fail=0
 
17122
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21314
17123
#! $SHELL
21315
17124
# Generated by $as_me.
21316
17125
# Run this file to recreate the current configuration.
21320
17129
debug=false
21321
17130
ac_cs_recheck=false
21322
17131
ac_cs_silent=false
 
17132
 
21323
17133
SHELL=\${CONFIG_SHELL-$SHELL}
21324
 
_ACEOF
21325
 
 
21326
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21327
 
## --------------------- ##
21328
 
## M4sh Initialization.  ##
21329
 
## --------------------- ##
 
17134
export SHELL
 
17135
_ASEOF
 
17136
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
17137
## -------------------- ##
 
17138
## M4sh Initialization. ##
 
17139
## -------------------- ##
21330
17140
 
21331
17141
# Be more Bourne compatible
21332
17142
DUALCASE=1; export DUALCASE # for MKS sh
21333
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
17143
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21334
17144
  emulate sh
21335
17145
  NULLCMD=:
21336
17146
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21338
17148
  alias -g '${1+"$@"}'='"$@"'
21339
17149
  setopt NO_GLOB_SUBST
21340
17150
else
21341
 
  case `(set -o) 2>/dev/null` in
21342
 
  *posix*) set -o posix ;;
 
17151
  case `(set -o) 2>/dev/null` in #(
 
17152
  *posix*) :
 
17153
    set -o posix ;; #(
 
17154
  *) :
 
17155
     ;;
21343
17156
esac
21344
 
 
21345
17157
fi
21346
17158
 
21347
17159
 
21348
 
 
21349
 
 
21350
 
# PATH needs CR
21351
 
# Avoid depending upon Character Ranges.
21352
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21353
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21354
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21355
 
as_cr_digits='0123456789'
21356
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
21357
 
 
21358
17160
as_nl='
21359
17161
'
21360
17162
export as_nl
21362
17164
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21363
17165
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21364
17166
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21365
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
17167
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
17168
# but without wasting forks for bash or zsh.
 
17169
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
17170
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
17171
  as_echo='print -r --'
 
17172
  as_echo_n='print -rn --'
 
17173
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21366
17174
  as_echo='printf %s\n'
21367
17175
  as_echo_n='printf %s'
21368
17176
else
21373
17181
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21374
17182
    as_echo_n_body='eval
21375
17183
      arg=$1;
21376
 
      case $arg in
 
17184
      case $arg in #(
21377
17185
      *"$as_nl"*)
21378
17186
        expr "X$arg" : "X\\(.*\\)$as_nl";
21379
17187
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21396
17204
  }
21397
17205
fi
21398
17206
 
21399
 
# Support unset when possible.
21400
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21401
 
  as_unset=unset
21402
 
else
21403
 
  as_unset=false
21404
 
fi
21405
 
 
21406
17207
 
21407
17208
# IFS
21408
17209
# We need space, tab and new line, in precisely that order.  Quoting is
21412
17213
IFS=" ""        $as_nl"
21413
17214
 
21414
17215
# Find who we are.  Look in the path if we contain no directory separator.
21415
 
case $0 in
 
17216
case $0 in #((
21416
17217
  *[\\/]* ) as_myself=$0 ;;
21417
17218
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21418
17219
for as_dir in $PATH
21419
17220
do
21420
17221
  IFS=$as_save_IFS
21421
17222
  test -z "$as_dir" && as_dir=.
21422
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21423
 
done
 
17223
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
17224
  done
21424
17225
IFS=$as_save_IFS
21425
17226
 
21426
17227
     ;;
21432
17233
fi
21433
17234
if test ! -f "$as_myself"; then
21434
17235
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21435
 
  { (exit 1); exit 1; }
 
17236
  exit 1
21436
17237
fi
21437
17238
 
21438
 
# Work around bugs in pre-3.0 UWIN ksh.
21439
 
for as_var in ENV MAIL MAILPATH
21440
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
17239
# Unset variables that we do not need and which cause bugs (e.g. in
 
17240
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
17241
# suppresses any "Segmentation fault" message there.  '((' could
 
17242
# trigger a bug in pdksh 5.2.14.
 
17243
for as_var in BASH_ENV ENV MAIL MAILPATH
 
17244
do eval test x\${$as_var+set} = xset \
 
17245
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21441
17246
done
21442
17247
PS1='$ '
21443
17248
PS2='> '
21449
17254
LANGUAGE=C
21450
17255
export LANGUAGE
21451
17256
 
21452
 
# Required to use basename.
 
17257
# CDPATH.
 
17258
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
17259
 
 
17260
 
 
17261
# as_fn_error ERROR [LINENO LOG_FD]
 
17262
# ---------------------------------
 
17263
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
17264
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
17265
# script with status $?, using 1 if that was 0.
 
17266
as_fn_error ()
 
17267
{
 
17268
  as_status=$?; test $as_status -eq 0 && as_status=1
 
17269
  if test "$3"; then
 
17270
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
17271
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
17272
  fi
 
17273
  $as_echo "$as_me: error: $1" >&2
 
17274
  as_fn_exit $as_status
 
17275
} # as_fn_error
 
17276
 
 
17277
 
 
17278
# as_fn_set_status STATUS
 
17279
# -----------------------
 
17280
# Set $? to STATUS, without forking.
 
17281
as_fn_set_status ()
 
17282
{
 
17283
  return $1
 
17284
} # as_fn_set_status
 
17285
 
 
17286
# as_fn_exit STATUS
 
17287
# -----------------
 
17288
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
17289
as_fn_exit ()
 
17290
{
 
17291
  set +e
 
17292
  as_fn_set_status $1
 
17293
  exit $1
 
17294
} # as_fn_exit
 
17295
 
 
17296
# as_fn_unset VAR
 
17297
# ---------------
 
17298
# Portably unset VAR.
 
17299
as_fn_unset ()
 
17300
{
 
17301
  { eval $1=; unset $1;}
 
17302
}
 
17303
as_unset=as_fn_unset
 
17304
# as_fn_append VAR VALUE
 
17305
# ----------------------
 
17306
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
17307
# advantage of any shell optimizations that allow amortized linear growth over
 
17308
# repeated appends, instead of the typical quadratic growth present in naive
 
17309
# implementations.
 
17310
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
17311
  eval 'as_fn_append ()
 
17312
  {
 
17313
    eval $1+=\$2
 
17314
  }'
 
17315
else
 
17316
  as_fn_append ()
 
17317
  {
 
17318
    eval $1=\$$1\$2
 
17319
  }
 
17320
fi # as_fn_append
 
17321
 
 
17322
# as_fn_arith ARG...
 
17323
# ------------------
 
17324
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
17325
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
17326
# must be portable across $(()) and expr.
 
17327
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
17328
  eval 'as_fn_arith ()
 
17329
  {
 
17330
    as_val=$(( $* ))
 
17331
  }'
 
17332
else
 
17333
  as_fn_arith ()
 
17334
  {
 
17335
    as_val=`expr "$@" || test $? -eq 1`
 
17336
  }
 
17337
fi # as_fn_arith
 
17338
 
 
17339
 
21453
17340
if expr a : '\(a\)' >/dev/null 2>&1 &&
21454
17341
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21455
17342
  as_expr=expr
21463
17350
  as_basename=false
21464
17351
fi
21465
17352
 
 
17353
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
17354
  as_dirname=dirname
 
17355
else
 
17356
  as_dirname=false
 
17357
fi
21466
17358
 
21467
 
# Name of the executable.
21468
17359
as_me=`$as_basename -- "$0" ||
21469
17360
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21470
17361
         X"$0" : 'X\(//\)$' \| \
21484
17375
          }
21485
17376
          s/.*/./; q'`
21486
17377
 
21487
 
# CDPATH.
21488
 
$as_unset CDPATH
21489
 
 
21490
 
 
21491
 
 
21492
 
  as_lineno_1=$LINENO
21493
 
  as_lineno_2=$LINENO
21494
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
21495
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21496
 
 
21497
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21498
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
21499
 
  # line-number line after each line using $LINENO; the second 'sed'
21500
 
  # does the real work.  The second script uses 'N' to pair each
21501
 
  # line-number line with the line containing $LINENO, and appends
21502
 
  # trailing '-' during substitution so that $LINENO is not a special
21503
 
  # case at line end.
21504
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21505
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
21506
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
21507
 
  sed -n '
21508
 
    p
21509
 
    /[$]LINENO/=
21510
 
  ' <$as_myself |
21511
 
    sed '
21512
 
      s/[$]LINENO.*/&-/
21513
 
      t lineno
21514
 
      b
21515
 
      :lineno
21516
 
      N
21517
 
      :loop
21518
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21519
 
      t loop
21520
 
      s/-\n.*//
21521
 
    ' >$as_me.lineno &&
21522
 
  chmod +x "$as_me.lineno" ||
21523
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21524
 
   { (exit 1); exit 1; }; }
21525
 
 
21526
 
  # Don't try to exec as it changes $[0], causing all sort of problems
21527
 
  # (the dirname of $[0] is not the place where we might find the
21528
 
  # original and so on.  Autoconf is especially sensitive to this).
21529
 
  . "./$as_me.lineno"
21530
 
  # Exit status is that of the last command.
21531
 
  exit
21532
 
}
21533
 
 
21534
 
 
21535
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21536
 
  as_dirname=dirname
21537
 
else
21538
 
  as_dirname=false
21539
 
fi
 
17378
# Avoid depending upon Character Ranges.
 
17379
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
17380
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
17381
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
17382
as_cr_digits='0123456789'
 
17383
as_cr_alnum=$as_cr_Letters$as_cr_digits
21540
17384
 
21541
17385
ECHO_C= ECHO_N= ECHO_T=
21542
 
case `echo -n x` in
 
17386
case `echo -n x` in #(((((
21543
17387
-n*)
21544
 
  case `echo 'x\c'` in
 
17388
  case `echo 'xy\c'` in
21545
17389
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
21546
 
  *)   ECHO_C='\c';;
 
17390
  xy)  ECHO_C='\c';;
 
17391
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
17392
       ECHO_T=' ';;
21547
17393
  esac;;
21548
17394
*)
21549
17395
  ECHO_N='-n';;
21550
17396
esac
21551
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
21552
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21553
 
  as_expr=expr
21554
 
else
21555
 
  as_expr=false
21556
 
fi
21557
17397
 
21558
17398
rm -f conf$$ conf$$.exe conf$$.file
21559
17399
if test -d conf$$.dir; then
21582
17422
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21583
17423
rmdir conf$$.dir 2>/dev/null
21584
17424
 
 
17425
 
 
17426
# as_fn_mkdir_p
 
17427
# -------------
 
17428
# Create "$as_dir" as a directory, including parents if necessary.
 
17429
as_fn_mkdir_p ()
 
17430
{
 
17431
 
 
17432
  case $as_dir in #(
 
17433
  -*) as_dir=./$as_dir;;
 
17434
  esac
 
17435
  test -d "$as_dir" || eval $as_mkdir_p || {
 
17436
    as_dirs=
 
17437
    while :; do
 
17438
      case $as_dir in #(
 
17439
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
17440
      *) as_qdir=$as_dir;;
 
17441
      esac
 
17442
      as_dirs="'$as_qdir' $as_dirs"
 
17443
      as_dir=`$as_dirname -- "$as_dir" ||
 
17444
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17445
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
17446
         X"$as_dir" : 'X\(//\)$' \| \
 
17447
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
17448
$as_echo X"$as_dir" |
 
17449
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17450
            s//\1/
 
17451
            q
 
17452
          }
 
17453
          /^X\(\/\/\)[^/].*/{
 
17454
            s//\1/
 
17455
            q
 
17456
          }
 
17457
          /^X\(\/\/\)$/{
 
17458
            s//\1/
 
17459
            q
 
17460
          }
 
17461
          /^X\(\/\).*/{
 
17462
            s//\1/
 
17463
            q
 
17464
          }
 
17465
          s/.*/./; q'`
 
17466
      test -d "$as_dir" && break
 
17467
    done
 
17468
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
17469
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
17470
 
 
17471
 
 
17472
} # as_fn_mkdir_p
21585
17473
if mkdir -p . 2>/dev/null; then
21586
 
  as_mkdir_p=:
 
17474
  as_mkdir_p='mkdir -p "$as_dir"'
21587
17475
else
21588
17476
  test -d ./-p && rmdir ./-p
21589
17477
  as_mkdir_p=false
21602
17490
      if test -d "$1"; then
21603
17491
        test -d "$1/.";
21604
17492
      else
21605
 
        case $1 in
 
17493
        case $1 in #(
21606
17494
        -*)set "./$1";;
21607
17495
        esac;
21608
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
17496
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
21609
17497
        ???[sx]*):;;*)false;;esac;fi
21610
17498
    '\'' sh
21611
17499
  '
21620
17508
 
21621
17509
 
21622
17510
exec 6>&1
 
17511
## ----------------------------------- ##
 
17512
## Main body of $CONFIG_STATUS script. ##
 
17513
## ----------------------------------- ##
 
17514
_ASEOF
 
17515
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21623
17516
 
21624
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
17517
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17518
# Save the log message, to keep $0 and so on meaningful, and to
21625
17519
# report actual input values of CONFIG_FILES etc. instead of their
21626
17520
# values after options handling.
21627
17521
ac_log="
21628
 
This file was extended by gnome-panel $as_me 2.30.0, which was
21629
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
17522
This file was extended by gnome-panel $as_me 2.30.2, which was
 
17523
generated by GNU Autoconf 2.65.  Invocation command line was
21630
17524
 
21631
17525
  CONFIG_FILES    = $CONFIG_FILES
21632
17526
  CONFIG_HEADERS  = $CONFIG_HEADERS
21658
17552
 
21659
17553
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21660
17554
ac_cs_usage="\
21661
 
\`$as_me' instantiates files from templates according to the
21662
 
current configuration.
 
17555
\`$as_me' instantiates files and other configuration actions
 
17556
from templates according to the current configuration.  Unless the files
 
17557
and actions are specified as TAGs, all are instantiated by default.
21663
17558
 
21664
 
Usage: $0 [OPTION]... [FILE]...
 
17559
Usage: $0 [OPTION]... [TAG]...
21665
17560
 
21666
17561
  -h, --help       print this help, then exit
21667
17562
  -V, --version    print version number and configuration settings, then exit
 
17563
      --config     print configuration, then exit
21668
17564
  -q, --quiet, --silent
21669
17565
                   do not print progress messages
21670
17566
  -d, --debug      don't remove temporary files
21683
17579
Configuration commands:
21684
17580
$config_commands
21685
17581
 
21686
 
Report bugs to <bug-autoconf@gnu.org>."
 
17582
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-panel>."
21687
17583
 
21688
17584
_ACEOF
21689
17585
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17586
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21690
17587
ac_cs_version="\\
21691
 
gnome-panel config.status 2.30.0
21692
 
configured by $0, generated by GNU Autoconf 2.63,
21693
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
17588
gnome-panel config.status 2.30.2
 
17589
configured by $0, generated by GNU Autoconf 2.65,
 
17590
  with options \\"\$ac_cs_config\\"
21694
17591
 
21695
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
17592
Copyright (C) 2009 Free Software Foundation, Inc.
21696
17593
This config.status script is free software; the Free Software Foundation
21697
17594
gives unlimited permission to copy, distribute and modify it."
21698
17595
 
21728
17625
    ac_cs_recheck=: ;;
21729
17626
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21730
17627
    $as_echo "$ac_cs_version"; exit ;;
 
17628
  --config | --confi | --conf | --con | --co | --c )
 
17629
    $as_echo "$ac_cs_config"; exit ;;
21731
17630
  --debug | --debu | --deb | --de | --d | -d )
21732
17631
    debug=: ;;
21733
17632
  --file | --fil | --fi | --f )
21735
17634
    case $ac_optarg in
21736
17635
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21737
17636
    esac
21738
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
17637
    as_fn_append CONFIG_FILES " '$ac_optarg'"
21739
17638
    ac_need_defaults=false;;
21740
17639
  --header | --heade | --head | --hea )
21741
17640
    $ac_shift
21742
17641
    case $ac_optarg in
21743
17642
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21744
17643
    esac
21745
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
17644
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21746
17645
    ac_need_defaults=false;;
21747
17646
  --he | --h)
21748
17647
    # Conflict between --help and --header
21749
 
    { $as_echo "$as_me: error: ambiguous option: $1
21750
 
Try \`$0 --help' for more information." >&2
21751
 
   { (exit 1); exit 1; }; };;
 
17648
    as_fn_error "ambiguous option: \`$1'
 
17649
Try \`$0 --help' for more information.";;
21752
17650
  --help | --hel | -h )
21753
17651
    $as_echo "$ac_cs_usage"; exit ;;
21754
17652
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21756
17654
    ac_cs_silent=: ;;
21757
17655
 
21758
17656
  # This is an error.
21759
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
21760
 
Try \`$0 --help' for more information." >&2
21761
 
   { (exit 1); exit 1; }; } ;;
 
17657
  -*) as_fn_error "unrecognized option: \`$1'
 
17658
Try \`$0 --help' for more information." ;;
21762
17659
 
21763
 
  *) ac_config_targets="$ac_config_targets $1"
 
17660
  *) as_fn_append ac_config_targets " $1"
21764
17661
     ac_need_defaults=false ;;
21765
17662
 
21766
17663
  esac
22104
18001
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
22105
18002
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
22106
18003
 
22107
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22108
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22109
 
   { (exit 1); exit 1; }; };;
 
18004
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22110
18005
  esac
22111
18006
done
22112
18007
 
22133
18028
  trap 'exit_status=$?
22134
18029
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22135
18030
' 0
22136
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
18031
  trap 'as_fn_exit 1' 1 2 13 15
22137
18032
}
22138
18033
# Create a (secure) tmp directory for tmp files.
22139
18034
 
22144
18039
{
22145
18040
  tmp=./conf$$-$RANDOM
22146
18041
  (umask 077 && mkdir "$tmp")
22147
 
} ||
22148
 
{
22149
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
22150
 
   { (exit 1); exit 1; }
22151
 
}
 
18042
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
22152
18043
 
22153
18044
# Set up the scripts for CONFIG_FILES section.
22154
18045
# No need to generate them if there are no CONFIG_FILES.
22156
18047
if test -n "$CONFIG_FILES"; then
22157
18048
 
22158
18049
 
22159
 
ac_cr='
 
 
b"'"
 
18050
ac_cr=`echo X | tr X '\015'`
 
18051
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
18052
# But we know of no other shell where ac_cr would be empty at this
 
18053
# point, so we can use a bashism as a fallback.
 
18054
if test "x$ac_cr" = x; then
 
18055
  eval ac_cr=\$\'\\r\'
 
18056
fi
22160
18057
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22161
18058
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22162
 
  ac_cs_awk_cr='\\r'
 
18059
  ac_cs_awk_cr='\r'
22163
18060
else
22164
18061
  ac_cs_awk_cr=$ac_cr
22165
18062
fi
22173
18070
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22174
18071
  echo "_ACEOF"
22175
18072
} >conf$$subs.sh ||
22176
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22177
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22178
 
   { (exit 1); exit 1; }; }
 
18073
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
22179
18074
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
22180
18075
ac_delim='%!_!# '
22181
18076
for ac_last_try in false false false false false :; do
22182
18077
  . ./conf$$subs.sh ||
22183
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22184
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22185
 
   { (exit 1); exit 1; }; }
 
18078
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
22186
18079
 
22187
18080
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22188
18081
  if test $ac_delim_n = $ac_delim_num; then
22189
18082
    break
22190
18083
  elif $ac_last_try; then
22191
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22192
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22193
 
   { (exit 1); exit 1; }; }
 
18084
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
22194
18085
  else
22195
18086
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22196
18087
  fi
22212
18103
t delim
22213
18104
:nl
22214
18105
h
22215
 
s/\(.\{148\}\).*/\1/
 
18106
s/\(.\{148\}\)..*/\1/
22216
18107
t more1
22217
18108
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22218
18109
p
22226
18117
t nl
22227
18118
:delim
22228
18119
h
22229
 
s/\(.\{148\}\).*/\1/
 
18120
s/\(.\{148\}\)..*/\1/
22230
18121
t more2
22231
18122
s/["\\]/\\&/g; s/^/"/; s/$/"/
22232
18123
p
22279
18170
else
22280
18171
  cat
22281
18172
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
22282
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
22283
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
22284
 
   { (exit 1); exit 1; }; }
 
18173
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
22285
18174
_ACEOF
22286
18175
 
22287
18176
# VPATH may cause trouble with some makes, so we remove $(srcdir),
22322
18211
  if test -z "$ac_t"; then
22323
18212
    break
22324
18213
  elif $ac_last_try; then
22325
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
22326
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
22327
 
   { (exit 1); exit 1; }; }
 
18214
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
22328
18215
  else
22329
18216
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22330
18217
  fi
22409
18296
_ACAWK
22410
18297
_ACEOF
22411
18298
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22412
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
22413
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
22414
 
   { (exit 1); exit 1; }; }
 
18299
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
22415
18300
fi # test -n "$CONFIG_HEADERS"
22416
18301
 
22417
18302
 
22424
18309
  esac
22425
18310
  case $ac_mode$ac_tag in
22426
18311
  :[FHL]*:*);;
22427
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
22428
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
22429
 
   { (exit 1); exit 1; }; };;
 
18312
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
22430
18313
  :[FH]-) ac_tag=-:-;;
22431
18314
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22432
18315
  esac
22454
18337
           [\\/$]*) false;;
22455
18338
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22456
18339
           esac ||
22457
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22458
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22459
 
   { (exit 1); exit 1; }; };;
 
18340
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22460
18341
      esac
22461
18342
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22462
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
18343
      as_fn_append ac_file_inputs " '$ac_f'"
22463
18344
    done
22464
18345
 
22465
18346
    # Let's still pretend it is `configure' which instantiates (i.e., don't
22470
18351
        `' by configure.'
22471
18352
    if test x"$ac_file" != x-; then
22472
18353
      configure_input="$ac_file.  $configure_input"
22473
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
18354
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22474
18355
$as_echo "$as_me: creating $ac_file" >&6;}
22475
18356
    fi
22476
18357
    # Neutralize special characters interpreted by sed in replacement strings.
22483
18364
 
22484
18365
    case $ac_tag in
22485
18366
    *:-:* | *:-) cat >"$tmp/stdin" \
22486
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22487
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
22488
 
   { (exit 1); exit 1; }; } ;;
 
18367
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
22489
18368
    esac
22490
18369
    ;;
22491
18370
  esac
22513
18392
            q
22514
18393
          }
22515
18394
          s/.*/./; q'`
22516
 
  { as_dir="$ac_dir"
22517
 
  case $as_dir in #(
22518
 
  -*) as_dir=./$as_dir;;
22519
 
  esac
22520
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22521
 
    as_dirs=
22522
 
    while :; do
22523
 
      case $as_dir in #(
22524
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22525
 
      *) as_qdir=$as_dir;;
22526
 
      esac
22527
 
      as_dirs="'$as_qdir' $as_dirs"
22528
 
      as_dir=`$as_dirname -- "$as_dir" ||
22529
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22530
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22531
 
         X"$as_dir" : 'X\(//\)$' \| \
22532
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22533
 
$as_echo X"$as_dir" |
22534
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22535
 
            s//\1/
22536
 
            q
22537
 
          }
22538
 
          /^X\(\/\/\)[^/].*/{
22539
 
            s//\1/
22540
 
            q
22541
 
          }
22542
 
          /^X\(\/\/\)$/{
22543
 
            s//\1/
22544
 
            q
22545
 
          }
22546
 
          /^X\(\/\).*/{
22547
 
            s//\1/
22548
 
            q
22549
 
          }
22550
 
          s/.*/./; q'`
22551
 
      test -d "$as_dir" && break
22552
 
    done
22553
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
22554
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22555
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22556
 
   { (exit 1); exit 1; }; }; }
 
18395
  as_dir="$ac_dir"; as_fn_mkdir_p
22557
18396
  ac_builddir=.
22558
18397
 
22559
18398
case "$ac_dir" in
22610
18449
# If the template does not know about datarootdir, expand it.
22611
18450
# FIXME: This hack should be removed a few years after 2.60.
22612
18451
ac_datarootdir_hack=; ac_datarootdir_seen=
22613
 
 
22614
18452
ac_sed_dataroot='
22615
18453
/datarootdir/ {
22616
18454
  p
22620
18458
/@docdir@/p
22621
18459
/@infodir@/p
22622
18460
/@localedir@/p
22623
 
/@mandir@/p
22624
 
'
 
18461
/@mandir@/p'
22625
18462
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22626
18463
*datarootdir*) ac_datarootdir_seen=yes;;
22627
18464
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22628
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
18465
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22629
18466
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22630
18467
_ACEOF
22631
18468
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22635
18472
  s&@infodir@&$infodir&g
22636
18473
  s&@localedir@&$localedir&g
22637
18474
  s&@mandir@&$mandir&g
22638
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
18475
  s&\\\${datarootdir}&$datarootdir&g' ;;
22639
18476
esac
22640
18477
_ACEOF
22641
18478
 
22664
18501
$ac_datarootdir_hack
22665
18502
"
22666
18503
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
22667
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22668
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
22669
 
   { (exit 1); exit 1; }; }
 
18504
  || as_fn_error "could not create $ac_file" "$LINENO" 5
22670
18505
 
22671
18506
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22672
18507
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22673
18508
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22674
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
18509
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22675
18510
which seems to be undefined.  Please make sure it is defined." >&5
22676
18511
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22677
18512
which seems to be undefined.  Please make sure it is defined." >&2;}
22681
18516
  -) cat "$tmp/out" && rm -f "$tmp/out";;
22682
18517
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
22683
18518
  esac \
22684
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22685
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
22686
 
   { (exit 1); exit 1; }; }
 
18519
  || as_fn_error "could not create $ac_file" "$LINENO" 5
22687
18520
 ;;
22688
18521
  :H)
22689
18522
  #
22694
18527
      $as_echo "/* $configure_input  */" \
22695
18528
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
22696
18529
    } >"$tmp/config.h" \
22697
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22698
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
22699
 
   { (exit 1); exit 1; }; }
 
18530
      || as_fn_error "could not create $ac_file" "$LINENO" 5
22700
18531
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
22701
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
18532
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22702
18533
$as_echo "$as_me: $ac_file is unchanged" >&6;}
22703
18534
    else
22704
18535
      rm -f "$ac_file"
22705
18536
      mv "$tmp/config.h" "$ac_file" \
22706
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22707
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
22708
 
   { (exit 1); exit 1; }; }
 
18537
        || as_fn_error "could not create $ac_file" "$LINENO" 5
22709
18538
    fi
22710
18539
  else
22711
18540
    $as_echo "/* $configure_input  */" \
22712
18541
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
22713
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
22714
 
$as_echo "$as_me: error: could not create -" >&2;}
22715
 
   { (exit 1); exit 1; }; }
 
18542
      || as_fn_error "could not create -" "$LINENO" 5
22716
18543
  fi
22717
18544
# Compute "$ac_file"'s index in $config_headers.
22718
18545
_am_arg="$ac_file"
22750
18577
          s/.*/./; q'`/stamp-h$_am_stamp_count
22751
18578
 ;;
22752
18579
 
22753
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
18580
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22754
18581
$as_echo "$as_me: executing $ac_file commands" >&6;}
22755
18582
 ;;
22756
18583
  esac
22845
18672
            q
22846
18673
          }
22847
18674
          s/.*/./; q'`
22848
 
      { as_dir=$dirpart/$fdir
22849
 
  case $as_dir in #(
22850
 
  -*) as_dir=./$as_dir;;
22851
 
  esac
22852
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22853
 
    as_dirs=
22854
 
    while :; do
22855
 
      case $as_dir in #(
22856
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22857
 
      *) as_qdir=$as_dir;;
22858
 
      esac
22859
 
      as_dirs="'$as_qdir' $as_dirs"
22860
 
      as_dir=`$as_dirname -- "$as_dir" ||
22861
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22862
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22863
 
         X"$as_dir" : 'X\(//\)$' \| \
22864
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22865
 
$as_echo X"$as_dir" |
22866
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22867
 
            s//\1/
22868
 
            q
22869
 
          }
22870
 
          /^X\(\/\/\)[^/].*/{
22871
 
            s//\1/
22872
 
            q
22873
 
          }
22874
 
          /^X\(\/\/\)$/{
22875
 
            s//\1/
22876
 
            q
22877
 
          }
22878
 
          /^X\(\/\).*/{
22879
 
            s//\1/
22880
 
            q
22881
 
          }
22882
 
          s/.*/./; q'`
22883
 
      test -d "$as_dir" && break
22884
 
    done
22885
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
22886
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22887
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22888
 
   { (exit 1); exit 1; }; }; }
 
18675
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
22889
18676
      # echo "creating $dirpart/$file"
22890
18677
      echo '# dummy' > "$dirpart/$file"
22891
18678
    done
23538
19325
      esac ;;
23539
19326
    "po/stamp-it":C)
23540
19327
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
23541
 
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
23542
 
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
23543
 
   { (exit 1); exit 1; }; }
 
19328
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
23544
19329
    fi
23545
19330
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
23546
19331
    >"po/stamp-it.tmp"
23563
19348
done # for ac_tag
23564
19349
 
23565
19350
 
23566
 
{ (exit 0); exit 0; }
 
19351
as_fn_exit 0
23567
19352
_ACEOF
23568
 
chmod +x $CONFIG_STATUS
23569
19353
ac_clean_files=$ac_clean_files_save
23570
19354
 
23571
19355
test $ac_write_fail = 0 ||
23572
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
23573
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
23574
 
   { (exit 1); exit 1; }; }
 
19356
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
23575
19357
 
23576
19358
 
23577
19359
# configure is writing to config.log, and then calls config.status.
23592
19374
  exec 5>>config.log
23593
19375
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23594
19376
  # would make configure fail if this is the last instruction.
23595
 
  $ac_cs_success || { (exit 1); exit 1; }
 
19377
  $ac_cs_success || as_fn_exit $?
23596
19378
fi
23597
19379
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23598
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
19380
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23599
19381
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23600
19382
fi
23601
19383