~ubuntu-branches/ubuntu/quantal/xfce4-datetime-plugin/quantal

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez
  • Date: 2006-10-26 22:13:20 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20061026221320-733nc56o8l13iiaf
Tags: 0.4.0-1
* New upstream release, ported to Xfce 4.4 API.         Closes: #370113
* Bumped build-depends on >= 4.4.99.1 (4.4rc1).
* Set Standard policy version to 3.7.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.57 for xfce4-panel-datetime-plugin 0.3.1.
4
 
#
5
 
# Report bugs to <krisna@users.berlios.de>.
6
 
#
7
 
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8
 
# Free Software Foundation, Inc.
 
3
# Generated by GNU Autoconf 2.60a for datetime 0.4.0.
 
4
#
 
5
# Report bugs to <remco@sx.mine.nu>.
 
6
#
 
7
# Copyright (c) 2006
 
8
#         Remco den Breeje <remco@sx.mine.nu>
 
9
#
 
10
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
11
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
12
# This configure script is free software; the Free Software Foundation
10
13
# gives unlimited permission to copy, distribute and modify it.
11
14
## --------------------- ##
19
22
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20
23
  # is contrary to our usage.  Disable this feature.
21
24
  alias -g '${1+"$@"}'='"$@"'
22
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23
 
  set -o posix
 
25
  setopt NO_GLOB_SUBST
 
26
else
 
27
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
28
fi
 
29
BIN_SH=xpg4; export BIN_SH # for Tru64
 
30
DUALCASE=1; export DUALCASE # for MKS sh
 
31
 
 
32
 
 
33
# PATH needs CR
 
34
# Avoid depending upon Character Ranges.
 
35
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
36
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
37
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
38
as_cr_digits='0123456789'
 
39
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
40
 
 
41
# The user is always right.
 
42
if test "${PATH_SEPARATOR+set}" != set; then
 
43
  echo "#! /bin/sh" >conf$$.sh
 
44
  echo  "exit 0"   >>conf$$.sh
 
45
  chmod +x conf$$.sh
 
46
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
47
    PATH_SEPARATOR=';'
 
48
  else
 
49
    PATH_SEPARATOR=:
 
50
  fi
 
51
  rm -f conf$$.sh
24
52
fi
25
53
 
26
54
# Support unset when possible.
27
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
55
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28
56
  as_unset=unset
29
57
else
30
58
  as_unset=false
31
59
fi
32
60
 
33
61
 
 
62
# IFS
 
63
# We need space, tab and new line, in precisely that order.  Quoting is
 
64
# there to prevent editors from complaining about space-tab.
 
65
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
66
# splitting by setting IFS to empty value.)
 
67
as_nl='
 
68
'
 
69
IFS=" ""        $as_nl"
 
70
 
 
71
# Find who we are.  Look in the path if we contain no directory separator.
 
72
case $0 in
 
73
  *[\\/]* ) as_myself=$0 ;;
 
74
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
75
for as_dir in $PATH
 
76
do
 
77
  IFS=$as_save_IFS
 
78
  test -z "$as_dir" && as_dir=.
 
79
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
80
done
 
81
IFS=$as_save_IFS
 
82
 
 
83
     ;;
 
84
esac
 
85
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
86
# in which case we are not to be found in the path.
 
87
if test "x$as_myself" = x; then
 
88
  as_myself=$0
 
89
fi
 
90
if test ! -f "$as_myself"; then
 
91
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
92
  { (exit 1); exit 1; }
 
93
fi
 
94
 
34
95
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
 
96
for as_var in ENV MAIL MAILPATH
 
97
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
98
done
36
99
PS1='$ '
37
100
PS2='> '
38
101
PS4='+ '
43
106
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
107
  LC_TELEPHONE LC_TIME
45
108
do
46
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
109
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
110
    eval $as_var=C; export $as_var
48
111
  else
49
 
    $as_unset $as_var
 
112
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50
113
  fi
51
114
done
52
115
 
53
116
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
117
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
118
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
55
119
  as_expr=expr
56
120
else
57
121
  as_expr=false
58
122
fi
59
123
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
124
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61
125
  as_basename=basename
62
126
else
63
127
  as_basename=false
65
129
 
66
130
 
67
131
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
 
132
as_me=`$as_basename -- "$0" ||
69
133
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
134
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
 
135
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73
136
echo X/"$0" |
74
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
76
 
          /^X\/\(\/\).*/{ s//\1/; q; }
77
 
          s/.*/./; q'`
78
 
 
79
 
 
80
 
# PATH needs CR, and LINENO needs CR and PATH.
81
 
# Avoid depending upon Character Ranges.
82
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
 
as_cr_digits='0123456789'
86
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
87
 
 
88
 
# The user is always right.
89
 
if test "${PATH_SEPARATOR+set}" != set; then
90
 
  echo "#! /bin/sh" >conf$$.sh
91
 
  echo  "exit 0"   >>conf$$.sh
92
 
  chmod +x conf$$.sh
93
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94
 
    PATH_SEPARATOR=';'
95
 
  else
96
 
    PATH_SEPARATOR=:
97
 
  fi
98
 
  rm -f conf$$.sh
99
 
fi
100
 
 
101
 
 
102
 
  as_lineno_1=$LINENO
103
 
  as_lineno_2=$LINENO
104
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
106
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107
 
  # Find who we are.  Look in the path if we contain no path at all
108
 
  # relative or not.
109
 
  case $0 in
110
 
    *[\\/]* ) as_myself=$0 ;;
111
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112
 
for as_dir in $PATH
113
 
do
114
 
  IFS=$as_save_IFS
115
 
  test -z "$as_dir" && as_dir=.
116
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117
 
done
118
 
 
119
 
       ;;
120
 
  esac
121
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
122
 
  # in which case we are not to be found in the path.
123
 
  if test "x$as_myself" = x; then
124
 
    as_myself=$0
125
 
  fi
126
 
  if test ! -f "$as_myself"; then
127
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
 
   { (exit 1); exit 1; }; }
129
 
  fi
130
 
  case $CONFIG_SHELL in
131
 
  '')
 
137
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
138
            s//\1/
 
139
            q
 
140
          }
 
141
          /^X\/\(\/\/\)$/{
 
142
            s//\1/
 
143
            q
 
144
          }
 
145
          /^X\/\(\/\).*/{
 
146
            s//\1/
 
147
            q
 
148
          }
 
149
          s/.*/./; q'`
 
150
 
 
151
# CDPATH.
 
152
$as_unset CDPATH
 
153
 
 
154
 
 
155
if test "x$CONFIG_SHELL" = x; then
 
156
  if (eval ":") 2>/dev/null; then
 
157
  as_have_required=yes
 
158
else
 
159
  as_have_required=no
 
160
fi
 
161
 
 
162
  if test $as_have_required = yes &&     (eval ":
 
163
(as_func_return () {
 
164
  (exit \$1)
 
165
}
 
166
as_func_success () {
 
167
  as_func_return 0
 
168
}
 
169
as_func_failure () {
 
170
  as_func_return 1
 
171
}
 
172
as_func_ret_success () {
 
173
  return 0
 
174
}
 
175
as_func_ret_failure () {
 
176
  return 1
 
177
}
 
178
 
 
179
exitcode=0
 
180
if as_func_success; then
 
181
  :
 
182
else
 
183
  exitcode=1
 
184
  echo as_func_success failed.
 
185
fi
 
186
 
 
187
if as_func_failure; then
 
188
  exitcode=1
 
189
  echo as_func_failure succeeded.
 
190
fi
 
191
 
 
192
if as_func_ret_success; then
 
193
  :
 
194
else
 
195
  exitcode=1
 
196
  echo as_func_ret_success failed.
 
197
fi
 
198
 
 
199
if as_func_ret_failure; then
 
200
  exitcode=1
 
201
  echo as_func_ret_failure succeeded.
 
202
fi
 
203
 
 
204
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
205
  :
 
206
else
 
207
  exitcode=1
 
208
  echo positional parameters were not saved.
 
209
fi
 
210
 
 
211
test \$exitcode = 0) || { (exit 1); exit 1; }
 
212
 
 
213
(
 
214
  as_lineno_1=\$LINENO
 
215
  as_lineno_2=\$LINENO
 
216
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
217
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
218
") 2> /dev/null; then
 
219
  :
 
220
else
 
221
  as_candidate_shells=
132
222
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
223
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
224
do
135
225
  IFS=$as_save_IFS
136
226
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
 
227
  case $as_dir in
139
228
         /*)
140
 
           if ("$as_dir/$as_base" -c '
141
 
  as_lineno_1=$LINENO
142
 
  as_lineno_2=$LINENO
143
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
145
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
 
             CONFIG_SHELL=$as_dir/$as_base
149
 
             export CONFIG_SHELL
150
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151
 
           fi;;
152
 
         esac
153
 
       done
 
229
           for as_base in sh bash ksh sh5; do
 
230
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
231
           done;;
 
232
       esac
154
233
done
155
 
;;
156
 
  esac
 
234
IFS=$as_save_IFS
 
235
 
 
236
 
 
237
      for as_shell in $as_candidate_shells $SHELL; do
 
238
         # Try only shells that exist, to save several forks.
 
239
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
240
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
241
# Be Bourne compatible
 
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
243
  emulate sh
 
244
  NULLCMD=:
 
245
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
246
  # is contrary to our usage.  Disable this feature.
 
247
  alias -g '${1+"$@"}'='"$@"'
 
248
  setopt NO_GLOB_SUBST
 
249
else
 
250
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
251
fi
 
252
BIN_SH=xpg4; export BIN_SH # for Tru64
 
253
DUALCASE=1; export DUALCASE # for MKS sh
 
254
 
 
255
:
 
256
_ASEOF
 
257
}; then
 
258
  CONFIG_SHELL=$as_shell
 
259
               as_have_required=yes
 
260
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
261
# Be Bourne compatible
 
262
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
263
  emulate sh
 
264
  NULLCMD=:
 
265
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
266
  # is contrary to our usage.  Disable this feature.
 
267
  alias -g '${1+"$@"}'='"$@"'
 
268
  setopt NO_GLOB_SUBST
 
269
else
 
270
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
271
fi
 
272
BIN_SH=xpg4; export BIN_SH # for Tru64
 
273
DUALCASE=1; export DUALCASE # for MKS sh
 
274
 
 
275
:
 
276
(as_func_return () {
 
277
  (exit $1)
 
278
}
 
279
as_func_success () {
 
280
  as_func_return 0
 
281
}
 
282
as_func_failure () {
 
283
  as_func_return 1
 
284
}
 
285
as_func_ret_success () {
 
286
  return 0
 
287
}
 
288
as_func_ret_failure () {
 
289
  return 1
 
290
}
 
291
 
 
292
exitcode=0
 
293
if as_func_success; then
 
294
  :
 
295
else
 
296
  exitcode=1
 
297
  echo as_func_success failed.
 
298
fi
 
299
 
 
300
if as_func_failure; then
 
301
  exitcode=1
 
302
  echo as_func_failure succeeded.
 
303
fi
 
304
 
 
305
if as_func_ret_success; then
 
306
  :
 
307
else
 
308
  exitcode=1
 
309
  echo as_func_ret_success failed.
 
310
fi
 
311
 
 
312
if as_func_ret_failure; then
 
313
  exitcode=1
 
314
  echo as_func_ret_failure succeeded.
 
315
fi
 
316
 
 
317
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
318
  :
 
319
else
 
320
  exitcode=1
 
321
  echo positional parameters were not saved.
 
322
fi
 
323
 
 
324
test $exitcode = 0) || { (exit 1); exit 1; }
 
325
 
 
326
(
 
327
  as_lineno_1=$LINENO
 
328
  as_lineno_2=$LINENO
 
329
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
330
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
331
 
 
332
_ASEOF
 
333
}; then
 
334
  break
 
335
fi
 
336
 
 
337
fi
 
338
 
 
339
      done
 
340
 
 
341
      if test "x$CONFIG_SHELL" != x; then
 
342
  for as_var in BASH_ENV ENV
 
343
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
344
        done
 
345
        export CONFIG_SHELL
 
346
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
347
fi
 
348
 
 
349
 
 
350
    if test $as_have_required = no; then
 
351
  echo This script requires a shell more modern than all the
 
352
      echo shells that I found on your system.  Please install a
 
353
      echo modern shell, or manually run the script under such a
 
354
      echo shell if you do have one.
 
355
      { (exit 1); exit 1; }
 
356
fi
 
357
 
 
358
 
 
359
fi
 
360
 
 
361
fi
 
362
 
 
363
 
 
364
 
 
365
(eval "as_func_return () {
 
366
  (exit \$1)
 
367
}
 
368
as_func_success () {
 
369
  as_func_return 0
 
370
}
 
371
as_func_failure () {
 
372
  as_func_return 1
 
373
}
 
374
as_func_ret_success () {
 
375
  return 0
 
376
}
 
377
as_func_ret_failure () {
 
378
  return 1
 
379
}
 
380
 
 
381
exitcode=0
 
382
if as_func_success; then
 
383
  :
 
384
else
 
385
  exitcode=1
 
386
  echo as_func_success failed.
 
387
fi
 
388
 
 
389
if as_func_failure; then
 
390
  exitcode=1
 
391
  echo as_func_failure succeeded.
 
392
fi
 
393
 
 
394
if as_func_ret_success; then
 
395
  :
 
396
else
 
397
  exitcode=1
 
398
  echo as_func_ret_success failed.
 
399
fi
 
400
 
 
401
if as_func_ret_failure; then
 
402
  exitcode=1
 
403
  echo as_func_ret_failure succeeded.
 
404
fi
 
405
 
 
406
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
407
  :
 
408
else
 
409
  exitcode=1
 
410
  echo positional parameters were not saved.
 
411
fi
 
412
 
 
413
test \$exitcode = 0") || {
 
414
  echo No shell found that supports shell functions.
 
415
  echo Please tell autoconf@gnu.org about your system,
 
416
  echo including any error possibly output before this
 
417
  echo message
 
418
}
 
419
 
 
420
 
 
421
 
 
422
  as_lineno_1=$LINENO
 
423
  as_lineno_2=$LINENO
 
424
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
425
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157
426
 
158
427
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
428
  # uniformly replaced by the line number.  The first 'sed' inserts a
160
 
  # line-number line before each line; the second 'sed' does the real
161
 
  # work.  The second script uses 'N' to pair each line-number line
162
 
  # with the numbered line, and appends trailing '-' during
163
 
  # substitution so that $LINENO is not a special case at line end.
 
429
  # line-number line after each line using $LINENO; the second 'sed'
 
430
  # does the real work.  The second script uses 'N' to pair each
 
431
  # line-number line with the line containing $LINENO, and appends
 
432
  # trailing '-' during substitution so that $LINENO is not a special
 
433
  # case at line end.
164
434
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166
 
  sed '=' <$as_myself |
 
435
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
436
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
437
  sed -n '
 
438
    p
 
439
    /[$]LINENO/=
 
440
  ' <$as_myself |
167
441
    sed '
 
442
      s/[$]LINENO.*/&-/
 
443
      t lineno
 
444
      b
 
445
      :lineno
168
446
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
447
      :loop
 
448
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
449
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
 
450
      s/-\n.*//
175
451
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
 
452
  chmod +x "$as_me.lineno" ||
177
453
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
454
   { (exit 1); exit 1; }; }
179
455
 
180
456
  # Don't try to exec as it changes $[0], causing all sort of problems
181
457
  # (the dirname of $[0] is not the place where we might find the
182
 
  # original and so on.  Autoconf is especially sensible to this).
183
 
  . ./$as_me.lineno
 
458
  # original and so on.  Autoconf is especially sensitive to this).
 
459
  . "./$as_me.lineno"
184
460
  # Exit status is that of the last command.
185
461
  exit
186
462
}
187
463
 
188
464
 
189
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
 
  *c*,-n*) ECHO_N= ECHO_C='
191
 
' ECHO_T='      ' ;;
192
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
465
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
466
  as_dirname=dirname
 
467
else
 
468
  as_dirname=false
 
469
fi
 
470
 
 
471
ECHO_C= ECHO_N= ECHO_T=
 
472
case `echo -n x` in
 
473
-n*)
 
474
  case `echo 'x\c'` in
 
475
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
476
  *)   ECHO_C='\c';;
 
477
  esac;;
 
478
*)
 
479
  ECHO_N='-n';;
194
480
esac
195
481
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
482
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
483
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
197
484
  as_expr=expr
198
485
else
199
486
  as_expr=false
200
487
fi
201
488
 
202
489
rm -f conf$$ conf$$.exe conf$$.file
 
490
if test -d conf$$.dir; then
 
491
  rm -f conf$$.dir/conf$$.file
 
492
else
 
493
  rm -f conf$$.dir
 
494
  mkdir conf$$.dir
 
495
fi
203
496
echo >conf$$.file
204
497
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
 
  # We could just check for DJGPP; but this test a) works b) is more generic
206
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
 
  if test -f conf$$.exe; then
208
 
    # Don't use ln at all; we don't have any links
 
498
  as_ln_s='ln -s'
 
499
  # ... but there are two gotchas:
 
500
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
501
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
502
  # In both cases, we have to default to `cp -p'.
 
503
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
209
504
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
 
  fi
213
505
elif ln conf$$.file conf$$ 2>/dev/null; then
214
506
  as_ln_s=ln
215
507
else
216
508
  as_ln_s='cp -p'
217
509
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
 
510
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
511
rmdir conf$$.dir 2>/dev/null
219
512
 
220
513
if mkdir -p . 2>/dev/null; then
221
514
  as_mkdir_p=:
222
515
else
 
516
  test -d ./-p && rmdir ./-p
223
517
  as_mkdir_p=false
224
518
fi
225
519
 
226
 
as_executable_p="test -f"
 
520
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
521
# systems may use methods other than mode bits to determine executability.
 
522
cat >conf$$.file <<_ASEOF
 
523
#! /bin/sh
 
524
exit 0
 
525
_ASEOF
 
526
chmod +x conf$$.file
 
527
if test -x conf$$.file >/dev/null 2>&1; then
 
528
  as_executable_p="test -x"
 
529
else
 
530
  as_executable_p=:
 
531
fi
 
532
rm -f conf$$.file
227
533
 
228
534
# Sed expression to map a string onto a valid CPP name.
229
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
535
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230
536
 
231
537
# Sed expression to map a string onto a valid variable name.
232
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233
 
 
234
 
 
235
 
# IFS
236
 
# We need space, tab and new line, in precisely that order.
237
 
as_nl='
238
 
'
239
 
IFS="   $as_nl"
240
 
 
241
 
# CDPATH.
242
 
$as_unset CDPATH
 
538
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
539
 
243
540
 
244
541
 
245
542
 
279
576
 
280
577
# The HP-UX ksh and POSIX shell print the target directory to stdout
281
578
# if CDPATH is set.
282
 
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
579
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
283
580
 
284
581
if test -z "$ECHO"; then
285
582
if test "X${echo_test_string+set}" != Xset; then
286
583
# find a string as large as possible, as long as the shell can cope with it
287
584
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
288
585
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
289
 
    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
290
 
       echo_test_string="`eval $cmd`" &&
 
586
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
 
587
       echo_test_string=`eval $cmd` &&
291
588
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
292
589
    then
293
590
      break
396
693
 
397
694
tagnames=${tagnames+${tagnames},}F77
398
695
 
 
696
exec 7<&0 </dev/null 6>&1
 
697
 
399
698
# Name of the host.
400
699
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
401
700
# so uname gets run too.
402
701
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
403
702
 
404
 
exec 6>&1
405
 
 
406
703
#
407
704
# Initializations.
408
705
#
409
706
ac_default_prefix=/usr/local
 
707
ac_clean_files=
410
708
ac_config_libobj_dir=.
 
709
LIBOBJS=
411
710
cross_compiling=no
412
711
subdirs=
413
712
MFLAGS=
414
713
MAKEFLAGS=
415
714
SHELL=${CONFIG_SHELL-/bin/sh}
416
715
 
417
 
# Maximum number of lines to put in a shell here document.
418
 
# This variable seems obsolete.  It should probably be removed, and
419
 
# only ac_max_sed_lines should be used.
420
 
: ${ac_max_here_lines=38}
421
 
 
422
716
# Identity of this package.
423
 
PACKAGE_NAME='xfce4-panel-datetime-plugin'
424
 
PACKAGE_TARNAME='xfce4-panel-datetime-plugin'
425
 
PACKAGE_VERSION='0.3.1'
426
 
PACKAGE_STRING='xfce4-panel-datetime-plugin 0.3.1'
427
 
PACKAGE_BUGREPORT='krisna@users.berlios.de'
 
717
PACKAGE_NAME='datetime'
 
718
PACKAGE_TARNAME='datetime'
 
719
PACKAGE_VERSION='0.4.0'
 
720
PACKAGE_STRING='datetime 0.4.0'
 
721
PACKAGE_BUGREPORT='remco@sx.mine.nu'
428
722
 
429
 
ac_unique_file="config.h.in"
430
723
# Factoring default headers for most tests.
431
724
ac_includes_default="\
432
725
#include <stdio.h>
433
 
#if HAVE_SYS_TYPES_H
 
726
#ifdef HAVE_SYS_TYPES_H
434
727
# include <sys/types.h>
435
728
#endif
436
 
#if HAVE_SYS_STAT_H
 
729
#ifdef HAVE_SYS_STAT_H
437
730
# include <sys/stat.h>
438
731
#endif
439
 
#if STDC_HEADERS
 
732
#ifdef STDC_HEADERS
440
733
# include <stdlib.h>
441
734
# include <stddef.h>
442
735
#else
443
 
# if HAVE_STDLIB_H
 
736
# ifdef HAVE_STDLIB_H
444
737
#  include <stdlib.h>
445
738
# endif
446
739
#endif
447
 
#if HAVE_STRING_H
448
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
740
#ifdef HAVE_STRING_H
 
741
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
449
742
#  include <memory.h>
450
743
# endif
451
744
# include <string.h>
452
745
#endif
453
 
#if HAVE_STRINGS_H
 
746
#ifdef HAVE_STRINGS_H
454
747
# include <strings.h>
455
748
#endif
456
 
#if HAVE_INTTYPES_H
 
749
#ifdef HAVE_INTTYPES_H
457
750
# include <inttypes.h>
458
 
#else
459
 
# if HAVE_STDINT_H
460
 
#  include <stdint.h>
461
 
# endif
462
 
#endif
463
 
#if HAVE_UNISTD_H
 
751
#endif
 
752
#ifdef HAVE_STDINT_H
 
753
# include <stdint.h>
 
754
#endif
 
755
#ifdef HAVE_UNISTD_H
464
756
# include <unistd.h>
465
757
#endif"
466
758
 
467
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PKG_CONFIG XFCE4_PANEL_CFLAGS XFCE4_PANEL_LIBS XFCE4_PANEL_REQUIRED_VERSION XFCE4_PANEL_PLUGINSDIR GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS localedir LIBOBJS LTLIBOBJS'
 
759
ac_subst_vars='SHELL
 
760
PATH_SEPARATOR
 
761
PACKAGE_NAME
 
762
PACKAGE_TARNAME
 
763
PACKAGE_VERSION
 
764
PACKAGE_STRING
 
765
PACKAGE_BUGREPORT
 
766
exec_prefix
 
767
prefix
 
768
program_transform_name
 
769
bindir
 
770
sbindir
 
771
libexecdir
 
772
datarootdir
 
773
datadir
 
774
sysconfdir
 
775
sharedstatedir
 
776
localstatedir
 
777
includedir
 
778
oldincludedir
 
779
docdir
 
780
infodir
 
781
htmldir
 
782
dvidir
 
783
pdfdir
 
784
psdir
 
785
libdir
 
786
localedir
 
787
mandir
 
788
DEFS
 
789
ECHO_C
 
790
ECHO_N
 
791
ECHO_T
 
792
LIBS
 
793
build_alias
 
794
host_alias
 
795
target_alias
 
796
INSTALL_PROGRAM
 
797
INSTALL_SCRIPT
 
798
INSTALL_DATA
 
799
CYGPATH_W
 
800
PACKAGE
 
801
VERSION
 
802
ACLOCAL
 
803
AUTOCONF
 
804
AUTOMAKE
 
805
AUTOHEADER
 
806
MAKEINFO
 
807
install_sh
 
808
STRIP
 
809
INSTALL_STRIP_PROGRAM
 
810
mkdir_p
 
811
AWK
 
812
SET_MAKE
 
813
am__leading_dot
 
814
AMTAR
 
815
am__tar
 
816
am__untar
 
817
MAINTAINER_MODE_TRUE
 
818
MAINTAINER_MODE_FALSE
 
819
MAINT
 
820
CC
 
821
CFLAGS
 
822
LDFLAGS
 
823
CPPFLAGS
 
824
ac_ct_CC
 
825
EXEEXT
 
826
OBJEXT
 
827
DEPDIR
 
828
am__include
 
829
am__quote
 
830
AMDEP_TRUE
 
831
AMDEP_FALSE
 
832
AMDEPBACKSLASH
 
833
CCDEPMODE
 
834
am__fastdepCC_TRUE
 
835
am__fastdepCC_FALSE
 
836
INTLTOOL_DESKTOP_RULE
 
837
INTLTOOL_DIRECTORY_RULE
 
838
INTLTOOL_KEYS_RULE
 
839
INTLTOOL_PROP_RULE
 
840
INTLTOOL_OAF_RULE
 
841
INTLTOOL_PONG_RULE
 
842
INTLTOOL_SERVER_RULE
 
843
INTLTOOL_SHEET_RULE
 
844
INTLTOOL_SOUNDLIST_RULE
 
845
INTLTOOL_UI_RULE
 
846
INTLTOOL_XAM_RULE
 
847
INTLTOOL_KBD_RULE
 
848
INTLTOOL_XML_RULE
 
849
INTLTOOL_XML_NOMERGE_RULE
 
850
INTLTOOL_CAVES_RULE
 
851
INTLTOOL_SCHEMAS_RULE
 
852
INTLTOOL_THEME_RULE
 
853
INTLTOOL_SERVICE_RULE
 
854
INTLTOOL_EXTRACT
 
855
INTLTOOL_MERGE
 
856
INTLTOOL_UPDATE
 
857
INTLTOOL_PERL
 
858
INTLTOOL_ICONV
 
859
INTLTOOL_MSGFMT
 
860
INTLTOOL_MSGMERGE
 
861
INTLTOOL_XGETTEXT
 
862
ALL_LINGUAS
 
863
build
 
864
build_cpu
 
865
build_vendor
 
866
build_os
 
867
host
 
868
host_cpu
 
869
host_vendor
 
870
host_os
 
871
GREP
 
872
EGREP
 
873
LN_S
 
874
ECHO
 
875
AR
 
876
RANLIB
 
877
CPP
 
878
CXX
 
879
CXXFLAGS
 
880
ac_ct_CXX
 
881
CXXDEPMODE
 
882
am__fastdepCXX_TRUE
 
883
am__fastdepCXX_FALSE
 
884
CXXCPP
 
885
F77
 
886
FFLAGS
 
887
ac_ct_F77
 
888
LIBTOOL
 
889
GETTEXT_PACKAGE
 
890
USE_NLS
 
891
MSGFMT
 
892
GMSGFMT
 
893
XGETTEXT
 
894
CATALOGS
 
895
CATOBJEXT
 
896
DATADIRNAME
 
897
GMOFILES
 
898
INSTOBJEXT
 
899
INTLLIBS
 
900
PO_IN_DATADIR_TRUE
 
901
PO_IN_DATADIR_FALSE
 
902
POFILES
 
903
POSUB
 
904
MKINSTALLDIRS
 
905
XGETTEXT_ARGS
 
906
PKG_CONFIG
 
907
LIBXFCE4PANEL_VERSION
 
908
LIBXFCE4PANEL_CFLAGS
 
909
LIBXFCE4PANEL_LIBS
 
910
LIBXFCE4PANEL_REQUIRED_VERSION
 
911
DBUS_VERSION
 
912
DBUS_CFLAGS
 
913
DBUS_LIBS
 
914
DBUS_REQUIRED_VERSION
 
915
HAVE_DBUS_TRUE
 
916
HAVE_DBUS_FALSE
 
917
LIBOBJS
 
918
LTLIBOBJS'
468
919
ac_subst_files=''
 
920
      ac_precious_vars='build_alias
 
921
host_alias
 
922
target_alias
 
923
CC
 
924
CFLAGS
 
925
LDFLAGS
 
926
CPPFLAGS
 
927
CPP
 
928
CXX
 
929
CXXFLAGS
 
930
CCC
 
931
CXXCPP
 
932
F77
 
933
FFLAGS'
 
934
 
469
935
 
470
936
# Initialize some variables set by options.
471
937
ac_init_help=
492
958
# and all the variables that are supposed to be based on exec_prefix
493
959
# by default will actually change.
494
960
# Use braces instead of parens because sh, perl, etc. also accept them.
 
961
# (The list follows the same order as the GNU Coding Standards.)
495
962
bindir='${exec_prefix}/bin'
496
963
sbindir='${exec_prefix}/sbin'
497
964
libexecdir='${exec_prefix}/libexec'
498
 
datadir='${prefix}/share'
 
965
datarootdir='${prefix}/share'
 
966
datadir='${datarootdir}'
499
967
sysconfdir='${prefix}/etc'
500
968
sharedstatedir='${prefix}/com'
501
969
localstatedir='${prefix}/var'
502
 
libdir='${exec_prefix}/lib'
503
970
includedir='${prefix}/include'
504
971
oldincludedir='/usr/include'
505
 
infodir='${prefix}/info'
506
 
mandir='${prefix}/man'
 
972
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
973
infodir='${datarootdir}/info'
 
974
htmldir='${docdir}'
 
975
dvidir='${docdir}'
 
976
pdfdir='${docdir}'
 
977
psdir='${docdir}'
 
978
libdir='${exec_prefix}/lib'
 
979
localedir='${datarootdir}/locale'
 
980
mandir='${datarootdir}/man'
507
981
 
508
982
ac_prev=
 
983
ac_dashdash=
509
984
for ac_option
510
985
do
511
986
  # If the previous option needs an argument, assign it.
512
987
  if test -n "$ac_prev"; then
513
 
    eval "$ac_prev=\$ac_option"
 
988
    eval $ac_prev=\$ac_option
514
989
    ac_prev=
515
990
    continue
516
991
  fi
517
992
 
518
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
993
  case $ac_option in
 
994
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
995
  *)    ac_optarg=yes ;;
 
996
  esac
519
997
 
520
998
  # Accept the important Cygnus configure options, so we can diagnose typos.
521
999
 
522
 
  case $ac_option in
 
1000
  case $ac_dashdash$ac_option in
 
1001
  --)
 
1002
    ac_dashdash=yes ;;
523
1003
 
524
1004
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
525
1005
    ac_prev=bindir ;;
541
1021
  --config-cache | -C)
542
1022
    cache_file=config.cache ;;
543
1023
 
544
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1024
  -datadir | --datadir | --datadi | --datad)
545
1025
    ac_prev=datadir ;;
546
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
547
 
  | --da=*)
 
1026
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
548
1027
    datadir=$ac_optarg ;;
549
1028
 
 
1029
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1030
  | --dataroo | --dataro | --datar)
 
1031
    ac_prev=datarootdir ;;
 
1032
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1033
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1034
    datarootdir=$ac_optarg ;;
 
1035
 
550
1036
  -disable-* | --disable-*)
551
1037
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552
1038
    # Reject names that are not valid shell variable names.
554
1040
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555
1041
   { (exit 1); exit 1; }; }
556
1042
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557
 
    eval "enable_$ac_feature=no" ;;
 
1043
    eval enable_$ac_feature=no ;;
 
1044
 
 
1045
  -docdir | --docdir | --docdi | --doc | --do)
 
1046
    ac_prev=docdir ;;
 
1047
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1048
    docdir=$ac_optarg ;;
 
1049
 
 
1050
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1051
    ac_prev=dvidir ;;
 
1052
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1053
    dvidir=$ac_optarg ;;
558
1054
 
559
1055
  -enable-* | --enable-*)
560
1056
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
563
1059
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564
1060
   { (exit 1); exit 1; }; }
565
1061
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
566
 
    case $ac_option in
567
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
568
 
      *) ac_optarg=yes ;;
569
 
    esac
570
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1062
    eval enable_$ac_feature=\$ac_optarg ;;
571
1063
 
572
1064
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573
1065
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
594
1086
  -host=* | --host=* | --hos=* | --ho=*)
595
1087
    host_alias=$ac_optarg ;;
596
1088
 
 
1089
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1090
    ac_prev=htmldir ;;
 
1091
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1092
  | --ht=*)
 
1093
    htmldir=$ac_optarg ;;
 
1094
 
597
1095
  -includedir | --includedir | --includedi | --included | --include \
598
1096
  | --includ | --inclu | --incl | --inc)
599
1097
    ac_prev=includedir ;;
618
1116
  | --libexe=* | --libex=* | --libe=*)
619
1117
    libexecdir=$ac_optarg ;;
620
1118
 
 
1119
  -localedir | --localedir | --localedi | --localed | --locale)
 
1120
    ac_prev=localedir ;;
 
1121
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1122
    localedir=$ac_optarg ;;
 
1123
 
621
1124
  -localstatedir | --localstatedir | --localstatedi | --localstated \
622
 
  | --localstate | --localstat | --localsta | --localst \
623
 
  | --locals | --local | --loca | --loc | --lo)
 
1125
  | --localstate | --localstat | --localsta | --localst | --locals)
624
1126
    ac_prev=localstatedir ;;
625
1127
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1128
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
628
1129
    localstatedir=$ac_optarg ;;
629
1130
 
630
1131
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
689
1190
  | --progr-tra=* | --program-tr=* | --program-t=*)
690
1191
    program_transform_name=$ac_optarg ;;
691
1192
 
 
1193
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1194
    ac_prev=pdfdir ;;
 
1195
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1196
    pdfdir=$ac_optarg ;;
 
1197
 
 
1198
  -psdir | --psdir | --psdi | --psd | --ps)
 
1199
    ac_prev=psdir ;;
 
1200
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1201
    psdir=$ac_optarg ;;
 
1202
 
692
1203
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693
1204
  | -silent | --silent | --silen | --sile | --sil)
694
1205
    silent=yes ;;
745
1256
      { echo "$as_me: error: invalid package name: $ac_package" >&2
746
1257
   { (exit 1); exit 1; }; }
747
1258
    ac_package=`echo $ac_package| sed 's/-/_/g'`
748
 
    case $ac_option in
749
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
750
 
      *) ac_optarg=yes ;;
751
 
    esac
752
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1259
    eval with_$ac_package=\$ac_optarg ;;
753
1260
 
754
1261
  -without-* | --without-*)
755
1262
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
758
1265
      { echo "$as_me: error: invalid package name: $ac_package" >&2
759
1266
   { (exit 1); exit 1; }; }
760
1267
    ac_package=`echo $ac_package | sed 's/-/_/g'`
761
 
    eval "with_$ac_package=no" ;;
 
1268
    eval with_$ac_package=no ;;
762
1269
 
763
1270
  --x)
764
1271
    # Obsolete; use --with-x.
789
1296
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790
1297
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791
1298
   { (exit 1); exit 1; }; }
792
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793
 
    eval "$ac_envvar='$ac_optarg'"
 
1299
    eval $ac_envvar=\$ac_optarg
794
1300
    export $ac_envvar ;;
795
1301
 
796
1302
  *)
810
1316
   { (exit 1); exit 1; }; }
811
1317
fi
812
1318
 
813
 
# Be sure to have absolute paths.
814
 
for ac_var in exec_prefix prefix
815
 
do
816
 
  eval ac_val=$`echo $ac_var`
817
 
  case $ac_val in
818
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820
 
   { (exit 1); exit 1; }; };;
821
 
  esac
822
 
done
823
 
 
824
 
# Be sure to have absolute paths.
825
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826
 
              localstatedir libdir includedir oldincludedir infodir mandir
827
 
do
828
 
  eval ac_val=$`echo $ac_var`
829
 
  case $ac_val in
830
 
    [\\/$]* | ?:[\\/]* ) ;;
831
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832
 
   { (exit 1); exit 1; }; };;
833
 
  esac
 
1319
# Be sure to have absolute directory names.
 
1320
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1321
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1322
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1323
                libdir localedir mandir
 
1324
do
 
1325
  eval ac_val=\$$ac_var
 
1326
  case $ac_val in
 
1327
    [\\/$]* | ?:[\\/]* )  continue;;
 
1328
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1329
  esac
 
1330
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1331
   { (exit 1); exit 1; }; }
834
1332
done
835
1333
 
836
1334
# There might be people who depend on the old broken behavior: `$host'
857
1355
test "$silent" = yes && exec 6>/dev/null
858
1356
 
859
1357
 
 
1358
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1359
ac_ls_di=`ls -di .` &&
 
1360
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1361
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1362
   { (exit 1); exit 1; }; }
 
1363
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1364
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1365
   { (exit 1); exit 1; }; }
 
1366
 
 
1367
 
860
1368
# Find the source files, if location was not specified.
861
1369
if test -z "$srcdir"; then
862
1370
  ac_srcdir_defaulted=yes
863
 
  # Try the directory containing this script, then its parent.
864
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1371
  # Try the directory containing this script, then the parent directory.
 
1372
  ac_confdir=`$as_dirname -- "$0" ||
865
1373
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866
 
         X"$0" : 'X\(//\)[^/]' \| \
867
 
         X"$0" : 'X\(//\)$' \| \
868
 
         X"$0" : 'X\(/\)' \| \
869
 
         .     : '\(.\)' 2>/dev/null ||
 
1374
         X"$0" : 'X\(//\)[^/]' \| \
 
1375
         X"$0" : 'X\(//\)$' \| \
 
1376
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
870
1377
echo X"$0" |
871
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873
 
          /^X\(\/\/\)$/{ s//\1/; q; }
874
 
          /^X\(\/\).*/{ s//\1/; q; }
875
 
          s/.*/./; q'`
 
1378
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1379
            s//\1/
 
1380
            q
 
1381
          }
 
1382
          /^X\(\/\/\)[^/].*/{
 
1383
            s//\1/
 
1384
            q
 
1385
          }
 
1386
          /^X\(\/\/\)$/{
 
1387
            s//\1/
 
1388
            q
 
1389
          }
 
1390
          /^X\(\/\).*/{
 
1391
            s//\1/
 
1392
            q
 
1393
          }
 
1394
          s/.*/./; q'`
876
1395
  srcdir=$ac_confdir
877
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1396
  if test ! -r "$srcdir/$ac_unique_file"; then
878
1397
    srcdir=..
879
1398
  fi
880
1399
else
881
1400
  ac_srcdir_defaulted=no
882
1401
fi
883
 
if test ! -r $srcdir/$ac_unique_file; then
884
 
  if test "$ac_srcdir_defaulted" = yes; then
885
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886
 
   { (exit 1); exit 1; }; }
887
 
  else
888
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889
 
   { (exit 1); exit 1; }; }
890
 
  fi
891
 
fi
892
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894
 
   { (exit 1); exit 1; }; }
895
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896
 
ac_env_build_alias_set=${build_alias+set}
897
 
ac_env_build_alias_value=$build_alias
898
 
ac_cv_env_build_alias_set=${build_alias+set}
899
 
ac_cv_env_build_alias_value=$build_alias
900
 
ac_env_host_alias_set=${host_alias+set}
901
 
ac_env_host_alias_value=$host_alias
902
 
ac_cv_env_host_alias_set=${host_alias+set}
903
 
ac_cv_env_host_alias_value=$host_alias
904
 
ac_env_target_alias_set=${target_alias+set}
905
 
ac_env_target_alias_value=$target_alias
906
 
ac_cv_env_target_alias_set=${target_alias+set}
907
 
ac_cv_env_target_alias_value=$target_alias
908
 
ac_env_CC_set=${CC+set}
909
 
ac_env_CC_value=$CC
910
 
ac_cv_env_CC_set=${CC+set}
911
 
ac_cv_env_CC_value=$CC
912
 
ac_env_CFLAGS_set=${CFLAGS+set}
913
 
ac_env_CFLAGS_value=$CFLAGS
914
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
915
 
ac_cv_env_CFLAGS_value=$CFLAGS
916
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
917
 
ac_env_LDFLAGS_value=$LDFLAGS
918
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
920
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921
 
ac_env_CPPFLAGS_value=$CPPFLAGS
922
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924
 
ac_env_CPP_set=${CPP+set}
925
 
ac_env_CPP_value=$CPP
926
 
ac_cv_env_CPP_set=${CPP+set}
927
 
ac_cv_env_CPP_value=$CPP
928
 
ac_env_CXX_set=${CXX+set}
929
 
ac_env_CXX_value=$CXX
930
 
ac_cv_env_CXX_set=${CXX+set}
931
 
ac_cv_env_CXX_value=$CXX
932
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
933
 
ac_env_CXXFLAGS_value=$CXXFLAGS
934
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
935
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
936
 
ac_env_CXXCPP_set=${CXXCPP+set}
937
 
ac_env_CXXCPP_value=$CXXCPP
938
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
939
 
ac_cv_env_CXXCPP_value=$CXXCPP
940
 
ac_env_F77_set=${F77+set}
941
 
ac_env_F77_value=$F77
942
 
ac_cv_env_F77_set=${F77+set}
943
 
ac_cv_env_F77_value=$F77
944
 
ac_env_FFLAGS_set=${FFLAGS+set}
945
 
ac_env_FFLAGS_value=$FFLAGS
946
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
947
 
ac_cv_env_FFLAGS_value=$FFLAGS
 
1402
if test ! -r "$srcdir/$ac_unique_file"; then
 
1403
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1404
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1405
   { (exit 1); exit 1; }; }
 
1406
fi
 
1407
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1408
ac_abs_confdir=`(
 
1409
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1410
   { (exit 1); exit 1; }; }
 
1411
        pwd)`
 
1412
# When building in place, set srcdir=.
 
1413
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1414
  srcdir=.
 
1415
fi
 
1416
# Remove unnecessary trailing slashes from srcdir.
 
1417
# Double slashes in file names in object file debugging info
 
1418
# mess up M-x gdb in Emacs.
 
1419
case $srcdir in
 
1420
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1421
esac
 
1422
for ac_var in $ac_precious_vars; do
 
1423
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1424
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1425
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1426
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1427
done
948
1428
 
949
1429
#
950
1430
# Report the --help message.
953
1433
  # Omit some internal or obsolete options to make the list less imposing.
954
1434
  # This message is too long to be a string in the A/UX 3.1 sh.
955
1435
  cat <<_ACEOF
956
 
\`configure' configures xfce4-panel-datetime-plugin 0.3.1 to adapt to many kinds of systems.
 
1436
\`configure' configures datetime 0.4.0 to adapt to many kinds of systems.
957
1437
 
958
1438
Usage: $0 [OPTION]... [VAR=VALUE]...
959
1439
 
973
1453
  -n, --no-create         do not create output files
974
1454
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
975
1455
 
976
 
_ACEOF
977
 
 
978
 
  cat <<_ACEOF
979
1456
Installation directories:
980
1457
  --prefix=PREFIX         install architecture-independent files in PREFIX
981
 
                          [$ac_default_prefix]
 
1458
                          [$ac_default_prefix]
982
1459
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
983
 
                          [PREFIX]
 
1460
                          [PREFIX]
984
1461
 
985
1462
By default, \`make install' will install all the files in
986
1463
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
993
1470
  --bindir=DIR           user executables [EPREFIX/bin]
994
1471
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
995
1472
  --libexecdir=DIR       program executables [EPREFIX/libexec]
996
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
997
1473
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
998
1474
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
999
1475
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1000
1476
  --libdir=DIR           object code libraries [EPREFIX/lib]
1001
1477
  --includedir=DIR       C header files [PREFIX/include]
1002
1478
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1003
 
  --infodir=DIR          info documentation [PREFIX/info]
1004
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1479
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1480
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1481
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1482
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1483
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1484
  --docdir=DIR           documentation root [DATAROOTDIR/doc/datetime]
 
1485
  --htmldir=DIR          html documentation [DOCDIR]
 
1486
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1487
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1488
  --psdir=DIR            ps documentation [DOCDIR]
1005
1489
_ACEOF
1006
1490
 
1007
1491
  cat <<\_ACEOF
1019
1503
 
1020
1504
if test -n "$ac_init_help"; then
1021
1505
  case $ac_init_help in
1022
 
     short | recursive ) echo "Configuration of xfce4-panel-datetime-plugin 0.3.1:";;
 
1506
     short | recursive ) echo "Configuration of datetime 0.4.0:";;
1023
1507
   esac
1024
1508
  cat <<\_ACEOF
1025
1509
 
1026
1510
Optional Features:
1027
1511
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1028
1512
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1029
 
  --enable-maintainer-mode enable make rules and dependencies not useful
1030
 
                          (and sometimes confusing) to the casual installer
1031
 
  --enable-static[=PKGS]
1032
 
                          build static libraries [default=no]
1033
 
  --disable-dependency-tracking Speeds up one-time builds
1034
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
1035
 
  --enable-shared[=PKGS]
1036
 
                          build shared libraries [default=yes]
 
1513
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1514
                          (and sometimes confusing) to the casual installer
 
1515
  --disable-dependency-tracking  speeds up one-time build
 
1516
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1517
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1518
  --enable-static[=PKGS]  build static libraries [default=yes]
1037
1519
  --enable-fast-install[=PKGS]
1038
1520
                          optimize for fast installation [default=yes]
1039
1521
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1522
  --enable-dbus           Enable checking for D-BUS support
 
1523
                          (default=yes)
 
1524
  --disable-dbus          Disable checking for D-BUS support
1040
1525
  --enable-debug=yes|no|full
1041
1526
                          Build with debugging support
1042
1527
  --disable-debug         Include no debugging support default
1043
1528
  --enable-profiling      Generate extra code to write profile information
1044
1529
  --disable-profiling     No extra code for profiling (default)
1045
 
  --enable-asserts        Enable assert statements (default)
1046
 
  --disable-asserts       Disable assert statements (USE WITH CARE!!!)
 
1530
  --enable-gcov           compile with coverage profiling instrumentation (gcc
 
1531
                          only)
 
1532
  --disable-gcov          do not generate coverage profiling instrumentation
 
1533
                          (default)
 
1534
  --disable-asserts       Disable assertions DANGEROUS
 
1535
  --enable-final          Build final version
1047
1536
 
1048
1537
Optional Packages:
1049
1538
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1051
1540
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1052
1541
  --with-pic              try to use only PIC/non-PIC objects [default=use
1053
1542
                          both]
1054
 
  --with-tags[=TAGS]
1055
 
                          include additional configurations [automatic]
1056
 
  --with-locales-dir=DIR  Install locales into DIR
 
1543
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1544
 
 
1545
      --with-locales-dir=DIR  Install locales into DIR
 
1546
 
1057
1547
 
1058
1548
Some influential environment variables:
1059
1549
  CC          C compiler command
1060
1550
  CFLAGS      C compiler flags
1061
1551
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1062
1552
              nonstandard directory <lib dir>
1063
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1064
 
              headers in a nonstandard directory <include dir>
 
1553
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1554
              you have headers in a nonstandard directory <include dir>
1065
1555
  CPP         C preprocessor
1066
1556
  CXX         C++ compiler command
1067
1557
  CXXFLAGS    C++ compiler flags
1072
1562
Use these variables to override the choices made by `configure' or to help
1073
1563
it to find libraries and programs with nonstandard names/locations.
1074
1564
 
1075
 
Report bugs to <krisna@users.berlios.de>.
 
1565
Report bugs to <remco@sx.mine.nu>.
1076
1566
_ACEOF
 
1567
ac_status=$?
1077
1568
fi
1078
1569
 
1079
1570
if test "$ac_init_help" = "recursive"; then
1080
1571
  # If there are subdirs, report their specific --help.
1081
 
  ac_popdir=`pwd`
1082
1572
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1083
 
    test -d $ac_dir || continue
 
1573
    test -d "$ac_dir" || continue
1084
1574
    ac_builddir=.
1085
1575
 
1086
 
if test "$ac_dir" != .; then
 
1576
case "$ac_dir" in
 
1577
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1578
*)
1087
1579
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1088
 
  # A "../" for each directory in $ac_dir_suffix.
1089
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1090
 
else
1091
 
  ac_dir_suffix= ac_top_builddir=
1092
 
fi
 
1580
  # A ".." for each directory in $ac_dir_suffix.
 
1581
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1582
  case $ac_top_builddir_sub in
 
1583
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1584
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1585
  esac ;;
 
1586
esac
 
1587
ac_abs_top_builddir=$ac_pwd
 
1588
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1589
# for backward compatibility:
 
1590
ac_top_builddir=$ac_top_build_prefix
1093
1591
 
1094
1592
case $srcdir in
1095
 
  .)  # No --srcdir option.  We are building in place.
 
1593
  .)  # We are building in place.
1096
1594
    ac_srcdir=.
1097
 
    if test -z "$ac_top_builddir"; then
1098
 
       ac_top_srcdir=.
1099
 
    else
1100
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1101
 
    fi ;;
1102
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1595
    ac_top_srcdir=$ac_top_builddir_sub
 
1596
    ac_abs_top_srcdir=$ac_pwd ;;
 
1597
  [\\/]* | ?:[\\/]* )  # Absolute name.
1103
1598
    ac_srcdir=$srcdir$ac_dir_suffix;
1104
 
    ac_top_srcdir=$srcdir ;;
1105
 
  *) # Relative path.
1106
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1107
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
1599
    ac_top_srcdir=$srcdir
 
1600
    ac_abs_top_srcdir=$srcdir ;;
 
1601
  *) # Relative name.
 
1602
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1603
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1604
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1108
1605
esac
1109
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1110
 
# absolute.
1111
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1112
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1113
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1114
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
1606
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1115
1607
 
1116
 
    cd $ac_dir
1117
 
    # Check for guested configure; otherwise get Cygnus style configure.
1118
 
    if test -f $ac_srcdir/configure.gnu; then
1119
 
      echo
1120
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1121
 
    elif test -f $ac_srcdir/configure; then
1122
 
      echo
1123
 
      $SHELL $ac_srcdir/configure  --help=recursive
1124
 
    elif test -f $ac_srcdir/configure.ac ||
1125
 
           test -f $ac_srcdir/configure.in; then
1126
 
      echo
1127
 
      $ac_configure --help
 
1608
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1609
    # Check for guested configure.
 
1610
    if test -f "$ac_srcdir/configure.gnu"; then
 
1611
      echo &&
 
1612
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1613
    elif test -f "$ac_srcdir/configure"; then
 
1614
      echo &&
 
1615
      $SHELL "$ac_srcdir/configure" --help=recursive
1128
1616
    else
1129
1617
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1130
 
    fi
1131
 
    cd $ac_popdir
 
1618
    fi || ac_status=$?
 
1619
    cd "$ac_pwd" || { ac_status=$?; break; }
1132
1620
  done
1133
1621
fi
1134
1622
 
1135
 
test -n "$ac_init_help" && exit 0
 
1623
test -n "$ac_init_help" && exit $ac_status
1136
1624
if $ac_init_version; then
1137
1625
  cat <<\_ACEOF
1138
 
xfce4-panel-datetime-plugin configure 0.3.1
1139
 
generated by GNU Autoconf 2.57
 
1626
datetime configure 0.4.0
 
1627
generated by GNU Autoconf 2.60a
1140
1628
 
1141
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1142
 
Free Software Foundation, Inc.
 
1629
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1630
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1143
1631
This configure script is free software; the Free Software Foundation
1144
1632
gives unlimited permission to copy, distribute and modify it.
 
1633
 
 
1634
Copyright (c) 2006
 
1635
        Remco den Breeje <remco@sx.mine.nu>
1145
1636
_ACEOF
1146
 
  exit 0
 
1637
  exit
1147
1638
fi
1148
 
exec 5>config.log
1149
 
cat >&5 <<_ACEOF
 
1639
cat >config.log <<_ACEOF
1150
1640
This file contains any messages produced by compilers while
1151
1641
running configure, to aid debugging if configure makes a mistake.
1152
1642
 
1153
 
It was created by xfce4-panel-datetime-plugin $as_me 0.3.1, which was
1154
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
1643
It was created by datetime $as_me 0.4.0, which was
 
1644
generated by GNU Autoconf 2.60a.  Invocation command line was
1155
1645
 
1156
1646
  $ $0 $@
1157
1647
 
1158
1648
_ACEOF
 
1649
exec 5>>config.log
1159
1650
{
1160
1651
cat <<_ASUNAME
1161
1652
## --------- ##
1174
1665
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1175
1666
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1176
1667
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1177
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1668
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1178
1669
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1179
1670
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1180
1671
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1188
1679
  test -z "$as_dir" && as_dir=.
1189
1680
  echo "PATH: $as_dir"
1190
1681
done
 
1682
IFS=$as_save_IFS
1191
1683
 
1192
1684
} >&5
1193
1685
 
1209
1701
ac_configure_args=
1210
1702
ac_configure_args0=
1211
1703
ac_configure_args1=
1212
 
ac_sep=
1213
1704
ac_must_keep_next=false
1214
1705
for ac_pass in 1 2
1215
1706
do
1220
1711
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1221
1712
    | -silent | --silent | --silen | --sile | --sil)
1222
1713
      continue ;;
1223
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1714
    *\'*)
1224
1715
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1225
1716
    esac
1226
1717
    case $ac_pass in
1228
1719
    2)
1229
1720
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1230
1721
      if test $ac_must_keep_next = true; then
1231
 
        ac_must_keep_next=false # Got value, back to normal.
 
1722
        ac_must_keep_next=false # Got value, back to normal.
1232
1723
      else
1233
 
        case $ac_arg in
1234
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1235
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1236
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1237
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1238
 
            case "$ac_configure_args0 " in
1239
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1240
 
            esac
1241
 
            ;;
1242
 
          -* ) ac_must_keep_next=true ;;
1243
 
        esac
 
1724
        case $ac_arg in
 
1725
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1726
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1727
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1728
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1729
            case "$ac_configure_args0 " in
 
1730
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1731
            esac
 
1732
            ;;
 
1733
          -* ) ac_must_keep_next=true ;;
 
1734
        esac
1244
1735
      fi
1245
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1246
 
      # Get rid of the leading space.
1247
 
      ac_sep=" "
 
1736
      ac_configure_args="$ac_configure_args '$ac_arg'"
1248
1737
      ;;
1249
1738
    esac
1250
1739
  done
1255
1744
# When interrupted or exit'd, cleanup temporary files, and complete
1256
1745
# config.log.  We remove comments because anyway the quotes in there
1257
1746
# would cause problems or look ugly.
1258
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1259
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1747
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1748
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1260
1749
trap 'exit_status=$?
1261
1750
  # Save into config.log some information that might help in debugging.
1262
1751
  {
1269
1758
_ASBOX
1270
1759
    echo
1271
1760
    # The following way of writing the cache mishandles newlines in values,
1272
 
{
 
1761
(
 
1762
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1763
    eval ac_val=\$$ac_var
 
1764
    case $ac_val in #(
 
1765
    *${as_nl}*)
 
1766
      case $ac_var in #(
 
1767
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1768
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1769
      esac
 
1770
      case $ac_var in #(
 
1771
      _ | IFS | as_nl) ;; #(
 
1772
      *) $as_unset $ac_var ;;
 
1773
      esac ;;
 
1774
    esac
 
1775
  done
1273
1776
  (set) 2>&1 |
1274
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1275
 
    *ac_space=\ *)
 
1777
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1778
    *${as_nl}ac_space=\ *)
1276
1779
      sed -n \
1277
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1278
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1279
 
      ;;
 
1780
        "s/'\''/'\''\\\\'\'''\''/g;
 
1781
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1782
      ;; #(
1280
1783
    *)
1281
 
      sed -n \
1282
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1784
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1283
1785
      ;;
1284
 
    esac;
1285
 
}
 
1786
    esac |
 
1787
    sort
 
1788
)
1286
1789
    echo
1287
1790
 
1288
1791
    cat <<\_ASBOX
1293
1796
    echo
1294
1797
    for ac_var in $ac_subst_vars
1295
1798
    do
1296
 
      eval ac_val=$`echo $ac_var`
1297
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1799
      eval ac_val=\$$ac_var
 
1800
      case $ac_val in
 
1801
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1802
      esac
 
1803
      echo "$ac_var='\''$ac_val'\''"
1298
1804
    done | sort
1299
1805
    echo
1300
1806
 
1301
1807
    if test -n "$ac_subst_files"; then
1302
1808
      cat <<\_ASBOX
1303
 
## ------------- ##
1304
 
## Output files. ##
1305
 
## ------------- ##
 
1809
## ------------------- ##
 
1810
## File substitutions. ##
 
1811
## ------------------- ##
1306
1812
_ASBOX
1307
1813
      echo
1308
1814
      for ac_var in $ac_subst_files
1309
1815
      do
1310
 
        eval ac_val=$`echo $ac_var`
1311
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1816
        eval ac_val=\$$ac_var
 
1817
        case $ac_val in
 
1818
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1819
        esac
 
1820
        echo "$ac_var='\''$ac_val'\''"
1312
1821
      done | sort
1313
1822
      echo
1314
1823
    fi
1320
1829
## ----------- ##
1321
1830
_ASBOX
1322
1831
      echo
1323
 
      sed "/^$/d" confdefs.h | sort
 
1832
      cat confdefs.h
1324
1833
      echo
1325
1834
    fi
1326
1835
    test "$ac_signal" != 0 &&
1327
1836
      echo "$as_me: caught signal $ac_signal"
1328
1837
    echo "$as_me: exit $exit_status"
1329
1838
  } >&5
1330
 
  rm -f core core.* *.core &&
1331
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1839
  rm -f core *.core core.conftest.* &&
 
1840
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1332
1841
    exit $exit_status
1333
 
     ' 0
 
1842
' 0
1334
1843
for ac_signal in 1 2 13 15; do
1335
1844
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1336
1845
done
1337
1846
ac_signal=0
1338
1847
 
1339
1848
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1340
 
rm -rf conftest* confdefs.h
1341
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1342
 
echo >confdefs.h
 
1849
rm -f -r conftest* confdefs.h
1343
1850
 
1344
1851
# Predefined preprocessor variables.
1345
1852
 
1370
1877
 
1371
1878
# Let the site file select an alternate cache file if it wants to.
1372
1879
# Prefer explicitly selected file to automatically selected ones.
1373
 
if test -z "$CONFIG_SITE"; then
1374
 
  if test "x$prefix" != xNONE; then
1375
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1376
 
  else
1377
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1378
 
  fi
 
1880
if test -n "$CONFIG_SITE"; then
 
1881
  set x "$CONFIG_SITE"
 
1882
elif test "x$prefix" != xNONE; then
 
1883
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1884
else
 
1885
  set x "$ac_default_prefix/share/config.site" \
 
1886
        "$ac_default_prefix/etc/config.site"
1379
1887
fi
1380
 
for ac_site_file in $CONFIG_SITE; do
 
1888
shift
 
1889
for ac_site_file
 
1890
do
1381
1891
  if test -r "$ac_site_file"; then
1382
1892
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1383
1893
echo "$as_me: loading site script $ac_site_file" >&6;}
1393
1903
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1394
1904
echo "$as_me: loading cache $cache_file" >&6;}
1395
1905
    case $cache_file in
1396
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1397
 
      *)                      . ./$cache_file;;
 
1906
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1907
      *)                      . "./$cache_file";;
1398
1908
    esac
1399
1909
  fi
1400
1910
else
1406
1916
# Check that the precious variables saved in the cache have kept the same
1407
1917
# value.
1408
1918
ac_cache_corrupted=false
1409
 
for ac_var in `(set) 2>&1 |
1410
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1919
for ac_var in $ac_precious_vars; do
1411
1920
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1412
1921
  eval ac_new_set=\$ac_env_${ac_var}_set
1413
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1414
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1922
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1923
  eval ac_new_val=\$ac_env_${ac_var}_value
1415
1924
  case $ac_old_set,$ac_new_set in
1416
1925
    set,)
1417
1926
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1424
1933
    ,);;
1425
1934
    *)
1426
1935
      if test "x$ac_old_val" != "x$ac_new_val"; then
1427
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1936
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1428
1937
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1429
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1938
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1430
1939
echo "$as_me:   former value:  $ac_old_val" >&2;}
1431
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1940
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1432
1941
echo "$as_me:   current value: $ac_new_val" >&2;}
1433
 
        ac_cache_corrupted=:
 
1942
        ac_cache_corrupted=:
1434
1943
      fi;;
1435
1944
  esac
1436
1945
  # Pass precious variables to config.status.
1437
1946
  if test "$ac_new_set" = set; then
1438
1947
    case $ac_new_val in
1439
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1440
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1948
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1441
1949
    *) ac_arg=$ac_var=$ac_new_val ;;
1442
1950
    esac
1443
1951
    case " $ac_configure_args " in
1454
1962
   { (exit 1); exit 1; }; }
1455
1963
fi
1456
1964
 
 
1965
 
 
1966
 
 
1967
 
 
1968
 
 
1969
 
 
1970
 
 
1971
 
 
1972
 
 
1973
 
 
1974
 
 
1975
 
 
1976
 
 
1977
 
 
1978
 
 
1979
 
 
1980
 
 
1981
 
 
1982
 
 
1983
 
 
1984
 
 
1985
 
 
1986
 
 
1987
 
 
1988
 
1457
1989
ac_ext=c
1458
1990
ac_cpp='$CPP $CPPFLAGS'
1459
1991
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1462
1994
 
1463
1995
 
1464
1996
 
1465
 
 
1466
 
 
1467
 
 
1468
 
 
1469
 
 
1470
 
 
1471
 
 
1472
 
 
1473
 
 
1474
 
 
1475
 
 
1476
 
 
1477
 
 
1478
 
 
1479
 
 
1480
 
 
1481
 
 
1482
 
 
1483
 
 
1484
 
 
1485
 
 
1486
 
 
1487
 
 
1488
 
 
1489
 
am__api_version="1.7"
 
1997
am__api_version="1.9"
1490
1998
ac_aux_dir=
1491
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1492
 
  if test -f $ac_dir/install-sh; then
 
1999
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2000
  if test -f "$ac_dir/install-sh"; then
1493
2001
    ac_aux_dir=$ac_dir
1494
2002
    ac_install_sh="$ac_aux_dir/install-sh -c"
1495
2003
    break
1496
 
  elif test -f $ac_dir/install.sh; then
 
2004
  elif test -f "$ac_dir/install.sh"; then
1497
2005
    ac_aux_dir=$ac_dir
1498
2006
    ac_install_sh="$ac_aux_dir/install.sh -c"
1499
2007
    break
1500
 
  elif test -f $ac_dir/shtool; then
 
2008
  elif test -f "$ac_dir/shtool"; then
1501
2009
    ac_aux_dir=$ac_dir
1502
2010
    ac_install_sh="$ac_aux_dir/shtool install -c"
1503
2011
    break
1504
2012
  fi
1505
2013
done
1506
2014
if test -z "$ac_aux_dir"; then
1507
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1508
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
2015
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2016
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1509
2017
   { (exit 1); exit 1; }; }
1510
2018
fi
1511
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1512
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1513
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2019
 
 
2020
# These three variables are undocumented and unsupported,
 
2021
# and are intended to be withdrawn in a future Autoconf release.
 
2022
# They can cause serious problems if a builder's source tree is in a directory
 
2023
# whose full name contains unusual characters.
 
2024
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2025
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2026
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2027
 
1514
2028
 
1515
2029
# Find a good install program.  We prefer a C program (faster),
1516
2030
# so one script is as good as another.  But avoid the broken or
1523
2037
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1524
2038
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1525
2039
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2040
# OS/2's system install, which has a completely different semantic
1526
2041
# ./install, which can be erroneously created by make from ./install.sh.
1527
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1528
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2042
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2043
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1529
2044
if test -z "$INSTALL"; then
1530
2045
if test "${ac_cv_path_install+set}" = set; then
1531
2046
  echo $ECHO_N "(cached) $ECHO_C" >&6
1539
2054
case $as_dir/ in
1540
2055
  ./ | .// | /cC/* | \
1541
2056
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2057
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1542
2058
  /usr/ucb/* ) ;;
1543
2059
  *)
1544
2060
    # OSF1 and SCO ODT 3.0 have their own names for install.
1546
2062
    # by default.
1547
2063
    for ac_prog in ginstall scoinst install; do
1548
2064
      for ac_exec_ext in '' $ac_executable_extensions; do
1549
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1550
 
          if test $ac_prog = install &&
1551
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1552
 
            # AIX install.  It has an incompatible calling convention.
1553
 
            :
1554
 
          elif test $ac_prog = install &&
1555
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1556
 
            # program-specific install script used by HP pwplus--don't use.
1557
 
            :
1558
 
          else
1559
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1560
 
            break 3
1561
 
          fi
1562
 
        fi
 
2065
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2066
          if test $ac_prog = install &&
 
2067
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2068
            # AIX install.  It has an incompatible calling convention.
 
2069
            :
 
2070
          elif test $ac_prog = install &&
 
2071
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2072
            # program-specific install script used by HP pwplus--don't use.
 
2073
            :
 
2074
          else
 
2075
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2076
            break 3
 
2077
          fi
 
2078
        fi
1563
2079
      done
1564
2080
    done
1565
2081
    ;;
1566
2082
esac
1567
2083
done
 
2084
IFS=$as_save_IFS
1568
2085
 
1569
2086
 
1570
2087
fi
1571
2088
  if test "${ac_cv_path_install+set}" = set; then
1572
2089
    INSTALL=$ac_cv_path_install
1573
2090
  else
1574
 
    # As a last resort, use the slow shell script.  We don't cache a
1575
 
    # path for INSTALL within a source directory, because that will
 
2091
    # As a last resort, use the slow shell script.  Don't cache a
 
2092
    # value for INSTALL within a source directory, because that will
1576
2093
    # break other packages using the cache if that directory is
1577
 
    # removed, or if the path is relative.
 
2094
    # removed, or if the value is a relative name.
1578
2095
    INSTALL=$ac_install_sh
1579
2096
  fi
1580
2097
fi
1581
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1582
 
echo "${ECHO_T}$INSTALL" >&6
 
2098
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2099
echo "${ECHO_T}$INSTALL" >&6; }
1583
2100
 
1584
2101
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1585
2102
# It thinks the first close brace ends the variable substitution.
1589
2106
 
1590
2107
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1591
2108
 
1592
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1593
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2109
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2110
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1594
2111
# Just in case
1595
2112
sleep 1
1596
2113
echo timestamp > conftest.file
1632
2149
Check your system clock" >&2;}
1633
2150
   { (exit 1); exit 1; }; }
1634
2151
fi
1635
 
echo "$as_me:$LINENO: result: yes" >&5
1636
 
echo "${ECHO_T}yes" >&6
 
2152
{ echo "$as_me:$LINENO: result: yes" >&5
 
2153
echo "${ECHO_T}yes" >&6; }
1637
2154
test "$program_prefix" != NONE &&
1638
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2155
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1639
2156
# Use a double $ so make ignores it.
1640
2157
test "$program_suffix" != NONE &&
1641
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2158
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1642
2159
# Double any \ or $.  echo might interpret backslashes.
1643
2160
# By default was `s,x,x', remove it if useless.
1644
2161
cat <<\_ACEOF >conftest.sed
1645
2162
s/[\\$]/&&/g;s/;s,x,x,$//
1646
2163
_ACEOF
1647
2164
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1648
 
rm conftest.sed
1649
 
 
 
2165
rm -f conftest.sed
1650
2166
 
1651
2167
# expand $ac_aux_dir to an absolute path
1652
2168
am_aux_dir=`cd $ac_aux_dir && pwd`
1661
2177
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1662
2178
fi
1663
2179
 
 
2180
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
2181
  # We used to keeping the `.' as first argument, in order to
 
2182
  # allow $(mkdir_p) to be used without argument.  As in
 
2183
  #   $(mkdir_p) $(somedir)
 
2184
  # where $(somedir) is conditionally defined.  However this is wrong
 
2185
  # for two reasons:
 
2186
  #  1. if the package is installed by a user who cannot write `.'
 
2187
  #     make install will fail,
 
2188
  #  2. the above comment should most certainly read
 
2189
  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
2190
  #     so it does not work when $(somedir) is undefined and
 
2191
  #     $(DESTDIR) is not.
 
2192
  #  To support the latter case, we have to write
 
2193
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
2194
  #  so the `.' trick is pointless.
 
2195
  mkdir_p='mkdir -p --'
 
2196
else
 
2197
  # On NextStep and OpenStep, the `mkdir' command does not
 
2198
  # recognize any option.  It will interpret all options as
 
2199
  # directories to create, and then abort because `.' already
 
2200
  # exists.
 
2201
  for d in ./-p ./--version;
 
2202
  do
 
2203
    test -d $d && rmdir $d
 
2204
  done
 
2205
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
2206
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
2207
    mkdir_p='$(mkinstalldirs)'
 
2208
  else
 
2209
    mkdir_p='$(install_sh) -d'
 
2210
  fi
 
2211
fi
 
2212
 
1664
2213
for ac_prog in gawk mawk nawk awk
1665
2214
do
1666
2215
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1667
2216
set dummy $ac_prog; ac_word=$2
1668
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1669
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2217
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2218
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1670
2219
if test "${ac_cv_prog_AWK+set}" = set; then
1671
2220
  echo $ECHO_N "(cached) $ECHO_C" >&6
1672
2221
else
1679
2228
  IFS=$as_save_IFS
1680
2229
  test -z "$as_dir" && as_dir=.
1681
2230
  for ac_exec_ext in '' $ac_executable_extensions; do
1682
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2231
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1683
2232
    ac_cv_prog_AWK="$ac_prog"
1684
2233
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1685
2234
    break 2
1686
2235
  fi
1687
2236
done
1688
2237
done
 
2238
IFS=$as_save_IFS
1689
2239
 
1690
2240
fi
1691
2241
fi
1692
2242
AWK=$ac_cv_prog_AWK
1693
2243
if test -n "$AWK"; then
1694
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1695
 
echo "${ECHO_T}$AWK" >&6
 
2244
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2245
echo "${ECHO_T}$AWK" >&6; }
1696
2246
else
1697
 
  echo "$as_me:$LINENO: result: no" >&5
1698
 
echo "${ECHO_T}no" >&6
 
2247
  { echo "$as_me:$LINENO: result: no" >&5
 
2248
echo "${ECHO_T}no" >&6; }
1699
2249
fi
1700
2250
 
 
2251
 
1701
2252
  test -n "$AWK" && break
1702
2253
done
1703
2254
 
1704
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1705
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1706
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1707
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2255
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2256
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2257
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2258
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1708
2259
  echo $ECHO_N "(cached) $ECHO_C" >&6
1709
2260
else
1710
2261
  cat >conftest.make <<\_ACEOF
 
2262
SHELL = /bin/sh
1711
2263
all:
1712
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2264
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1713
2265
_ACEOF
1714
2266
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1715
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1716
 
if test -n "$ac_maketemp"; then
1717
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1718
 
else
1719
 
  eval ac_cv_prog_make_${ac_make}_set=no
1720
 
fi
 
2267
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2268
  *@@@%%%=?*=@@@%%%*)
 
2269
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2270
  *)
 
2271
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2272
esac
1721
2273
rm -f conftest.make
1722
2274
fi
1723
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1724
 
  echo "$as_me:$LINENO: result: yes" >&5
1725
 
echo "${ECHO_T}yes" >&6
 
2275
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2276
  { echo "$as_me:$LINENO: result: yes" >&5
 
2277
echo "${ECHO_T}yes" >&6; }
1726
2278
  SET_MAKE=
1727
2279
else
1728
 
  echo "$as_me:$LINENO: result: no" >&5
1729
 
echo "${ECHO_T}no" >&6
 
2280
  { echo "$as_me:$LINENO: result: no" >&5
 
2281
echo "${ECHO_T}no" >&6; }
1730
2282
  SET_MAKE="MAKE=${MAKE-make}"
1731
2283
fi
1732
2284
 
1739
2291
fi
1740
2292
rmdir .tst 2>/dev/null
1741
2293
 
1742
 
 # test to see if srcdir already configured
 
2294
# test to see if srcdir already configured
1743
2295
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1744
2296
   test -f $srcdir/config.status; then
1745
2297
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1758
2310
 
1759
2311
 
1760
2312
# Define the identity of the package.
1761
 
 PACKAGE=xfce4-datetime-plugin
1762
 
 VERSION=0.3.1
 
2313
 PACKAGE=datetime
 
2314
 VERSION=0.4.0
1763
2315
 
1764
2316
 
1765
2317
cat >>confdefs.h <<_ACEOF
1787
2339
 
1788
2340
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1789
2341
 
1790
 
 
1791
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
1792
 
 
1793
2342
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1794
2343
 
1795
2344
# Installed binaries are usually stripped using `strip' when the user
1800
2349
  if test -n "$ac_tool_prefix"; then
1801
2350
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1802
2351
set dummy ${ac_tool_prefix}strip; ac_word=$2
1803
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1804
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2352
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2353
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1805
2354
if test "${ac_cv_prog_STRIP+set}" = set; then
1806
2355
  echo $ECHO_N "(cached) $ECHO_C" >&6
1807
2356
else
1814
2363
  IFS=$as_save_IFS
1815
2364
  test -z "$as_dir" && as_dir=.
1816
2365
  for ac_exec_ext in '' $ac_executable_extensions; do
1817
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2366
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1818
2367
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1819
2368
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1820
2369
    break 2
1821
2370
  fi
1822
2371
done
1823
2372
done
 
2373
IFS=$as_save_IFS
1824
2374
 
1825
2375
fi
1826
2376
fi
1827
2377
STRIP=$ac_cv_prog_STRIP
1828
2378
if test -n "$STRIP"; then
1829
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1830
 
echo "${ECHO_T}$STRIP" >&6
 
2379
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2380
echo "${ECHO_T}$STRIP" >&6; }
1831
2381
else
1832
 
  echo "$as_me:$LINENO: result: no" >&5
1833
 
echo "${ECHO_T}no" >&6
 
2382
  { echo "$as_me:$LINENO: result: no" >&5
 
2383
echo "${ECHO_T}no" >&6; }
1834
2384
fi
 
2385
 
1835
2386
 
1836
2387
fi
1837
2388
if test -z "$ac_cv_prog_STRIP"; then
1838
2389
  ac_ct_STRIP=$STRIP
1839
2390
  # Extract the first word of "strip", so it can be a program name with args.
1840
2391
set dummy strip; ac_word=$2
1841
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1842
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2392
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2393
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1843
2394
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1844
2395
  echo $ECHO_N "(cached) $ECHO_C" >&6
1845
2396
else
1852
2403
  IFS=$as_save_IFS
1853
2404
  test -z "$as_dir" && as_dir=.
1854
2405
  for ac_exec_ext in '' $ac_executable_extensions; do
1855
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2406
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1856
2407
    ac_cv_prog_ac_ct_STRIP="strip"
1857
2408
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1858
2409
    break 2
1859
2410
  fi
1860
2411
done
1861
2412
done
 
2413
IFS=$as_save_IFS
1862
2414
 
1863
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1864
2415
fi
1865
2416
fi
1866
2417
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1867
2418
if test -n "$ac_ct_STRIP"; then
1868
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1869
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2419
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2420
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1870
2421
else
1871
 
  echo "$as_me:$LINENO: result: no" >&5
1872
 
echo "${ECHO_T}no" >&6
 
2422
  { echo "$as_me:$LINENO: result: no" >&5
 
2423
echo "${ECHO_T}no" >&6; }
1873
2424
fi
1874
2425
 
1875
 
  STRIP=$ac_ct_STRIP
 
2426
  if test "x$ac_ct_STRIP" = x; then
 
2427
    STRIP=":"
 
2428
  else
 
2429
    case $cross_compiling:$ac_tool_warned in
 
2430
yes:)
 
2431
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2432
whose name does not start with the host triplet.  If you think this
 
2433
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2434
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2435
whose name does not start with the host triplet.  If you think this
 
2436
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2437
ac_tool_warned=yes ;;
 
2438
esac
 
2439
    STRIP=$ac_ct_STRIP
 
2440
  fi
1876
2441
else
1877
2442
  STRIP="$ac_cv_prog_STRIP"
1878
2443
fi
1882
2447
 
1883
2448
# We need awk for the "check" target.  The system "awk" is bad on
1884
2449
# some platforms.
1885
 
 
1886
 
 
1887
 
 
1888
 
 
1889
 
          ac_config_headers="$ac_config_headers config.h"
1890
 
 
1891
 
 
1892
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1893
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1894
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2450
# Always define AMTAR for backward compatibility.
 
2451
 
 
2452
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2453
 
 
2454
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2455
 
 
2456
 
 
2457
 
 
2458
 
 
2459
 
 
2460
ac_config_headers="$ac_config_headers config.h"
 
2461
 
 
2462
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2463
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2464
    # Check whether --enable-maintainer-mode was given.
1895
2465
if test "${enable_maintainer_mode+set}" = set; then
1896
 
  enableval="$enable_maintainer_mode"
1897
 
  USE_MAINTAINER_MODE=$enableval
 
2466
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1898
2467
else
1899
2468
  USE_MAINTAINER_MODE=no
1900
 
fi;
1901
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1902
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
2469
fi
 
2470
 
 
2471
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2472
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
1903
2473
 
1904
2474
 
1905
2475
if test $USE_MAINTAINER_MODE = yes; then
1914
2484
 
1915
2485
 
1916
2486
 
1917
 
# Check whether --enable-static or --disable-static was given.
1918
 
if test "${enable_static+set}" = set; then
1919
 
  enableval="$enable_static"
1920
 
  p=${PACKAGE-default}
1921
 
    case $enableval in
1922
 
    yes) enable_static=yes ;;
1923
 
    no) enable_static=no ;;
1924
 
    *)
1925
 
     enable_static=no
1926
 
      # Look at the argument we got.  We use all the common list separators.
1927
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1928
 
      for pkg in $enableval; do
1929
 
        IFS="$lt_save_ifs"
1930
 
        if test "X$pkg" = "X$p"; then
1931
 
          enable_static=yes
1932
 
        fi
1933
 
      done
1934
 
      IFS="$lt_save_ifs"
1935
 
      ;;
1936
 
    esac
1937
 
else
1938
 
  enable_static=no
1939
 
fi;
1940
 
 
1941
 
 
1942
 
 
1943
 
# Checks for programs.
1944
2487
ac_ext=c
1945
2488
ac_cpp='$CPP $CPPFLAGS'
1946
2489
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1949
2492
if test -n "$ac_tool_prefix"; then
1950
2493
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1951
2494
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1952
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1953
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2495
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2496
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1954
2497
if test "${ac_cv_prog_CC+set}" = set; then
1955
2498
  echo $ECHO_N "(cached) $ECHO_C" >&6
1956
2499
else
1963
2506
  IFS=$as_save_IFS
1964
2507
  test -z "$as_dir" && as_dir=.
1965
2508
  for ac_exec_ext in '' $ac_executable_extensions; do
1966
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2509
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1967
2510
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1968
2511
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1969
2512
    break 2
1970
2513
  fi
1971
2514
done
1972
2515
done
 
2516
IFS=$as_save_IFS
1973
2517
 
1974
2518
fi
1975
2519
fi
1976
2520
CC=$ac_cv_prog_CC
1977
2521
if test -n "$CC"; then
1978
 
  echo "$as_me:$LINENO: result: $CC" >&5
1979
 
echo "${ECHO_T}$CC" >&6
 
2522
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2523
echo "${ECHO_T}$CC" >&6; }
1980
2524
else
1981
 
  echo "$as_me:$LINENO: result: no" >&5
1982
 
echo "${ECHO_T}no" >&6
 
2525
  { echo "$as_me:$LINENO: result: no" >&5
 
2526
echo "${ECHO_T}no" >&6; }
1983
2527
fi
 
2528
 
1984
2529
 
1985
2530
fi
1986
2531
if test -z "$ac_cv_prog_CC"; then
1987
2532
  ac_ct_CC=$CC
1988
2533
  # Extract the first word of "gcc", so it can be a program name with args.
1989
2534
set dummy gcc; ac_word=$2
1990
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1991
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2535
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2536
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1992
2537
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1993
2538
  echo $ECHO_N "(cached) $ECHO_C" >&6
1994
2539
else
2001
2546
  IFS=$as_save_IFS
2002
2547
  test -z "$as_dir" && as_dir=.
2003
2548
  for ac_exec_ext in '' $ac_executable_extensions; do
2004
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2549
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2005
2550
    ac_cv_prog_ac_ct_CC="gcc"
2006
2551
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2007
2552
    break 2
2008
2553
  fi
2009
2554
done
2010
2555
done
 
2556
IFS=$as_save_IFS
2011
2557
 
2012
2558
fi
2013
2559
fi
2014
2560
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2015
2561
if test -n "$ac_ct_CC"; then
2016
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2017
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2562
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2563
echo "${ECHO_T}$ac_ct_CC" >&6; }
2018
2564
else
2019
 
  echo "$as_me:$LINENO: result: no" >&5
2020
 
echo "${ECHO_T}no" >&6
 
2565
  { echo "$as_me:$LINENO: result: no" >&5
 
2566
echo "${ECHO_T}no" >&6; }
2021
2567
fi
2022
2568
 
2023
 
  CC=$ac_ct_CC
 
2569
  if test "x$ac_ct_CC" = x; then
 
2570
    CC=""
 
2571
  else
 
2572
    case $cross_compiling:$ac_tool_warned in
 
2573
yes:)
 
2574
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2575
whose name does not start with the host triplet.  If you think this
 
2576
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2577
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2578
whose name does not start with the host triplet.  If you think this
 
2579
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2580
ac_tool_warned=yes ;;
 
2581
esac
 
2582
    CC=$ac_ct_CC
 
2583
  fi
2024
2584
else
2025
2585
  CC="$ac_cv_prog_CC"
2026
2586
fi
2027
2587
 
2028
2588
if test -z "$CC"; then
2029
 
  if test -n "$ac_tool_prefix"; then
2030
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2589
          if test -n "$ac_tool_prefix"; then
 
2590
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2031
2591
set dummy ${ac_tool_prefix}cc; ac_word=$2
2032
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2033
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2592
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2593
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2034
2594
if test "${ac_cv_prog_CC+set}" = set; then
2035
2595
  echo $ECHO_N "(cached) $ECHO_C" >&6
2036
2596
else
2043
2603
  IFS=$as_save_IFS
2044
2604
  test -z "$as_dir" && as_dir=.
2045
2605
  for ac_exec_ext in '' $ac_executable_extensions; do
2046
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2606
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2047
2607
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2048
2608
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2049
2609
    break 2
2050
2610
  fi
2051
2611
done
2052
2612
done
 
2613
IFS=$as_save_IFS
2053
2614
 
2054
2615
fi
2055
2616
fi
2056
2617
CC=$ac_cv_prog_CC
2057
2618
if test -n "$CC"; then
2058
 
  echo "$as_me:$LINENO: result: $CC" >&5
2059
 
echo "${ECHO_T}$CC" >&6
2060
 
else
2061
 
  echo "$as_me:$LINENO: result: no" >&5
2062
 
echo "${ECHO_T}no" >&6
2063
 
fi
2064
 
 
2065
 
fi
2066
 
if test -z "$ac_cv_prog_CC"; then
2067
 
  ac_ct_CC=$CC
2068
 
  # Extract the first word of "cc", so it can be a program name with args.
2069
 
set dummy cc; ac_word=$2
2070
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2071
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2072
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2073
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2074
 
else
2075
 
  if test -n "$ac_ct_CC"; then
2076
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2077
 
else
2078
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079
 
for as_dir in $PATH
2080
 
do
2081
 
  IFS=$as_save_IFS
2082
 
  test -z "$as_dir" && as_dir=.
2083
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2084
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2085
 
    ac_cv_prog_ac_ct_CC="cc"
2086
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2087
 
    break 2
 
2619
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2620
echo "${ECHO_T}$CC" >&6; }
 
2621
else
 
2622
  { echo "$as_me:$LINENO: result: no" >&5
 
2623
echo "${ECHO_T}no" >&6; }
 
2624
fi
 
2625
 
 
2626
 
2088
2627
  fi
2089
 
done
2090
 
done
2091
 
 
2092
 
fi
2093
 
fi
2094
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2095
 
if test -n "$ac_ct_CC"; then
2096
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2097
 
echo "${ECHO_T}$ac_ct_CC" >&6
2098
 
else
2099
 
  echo "$as_me:$LINENO: result: no" >&5
2100
 
echo "${ECHO_T}no" >&6
2101
 
fi
2102
 
 
2103
 
  CC=$ac_ct_CC
2104
 
else
2105
 
  CC="$ac_cv_prog_CC"
2106
 
fi
2107
 
 
2108
2628
fi
2109
2629
if test -z "$CC"; then
2110
2630
  # Extract the first word of "cc", so it can be a program name with args.
2111
2631
set dummy cc; ac_word=$2
2112
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2113
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2632
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2633
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2114
2634
if test "${ac_cv_prog_CC+set}" = set; then
2115
2635
  echo $ECHO_N "(cached) $ECHO_C" >&6
2116
2636
else
2124
2644
  IFS=$as_save_IFS
2125
2645
  test -z "$as_dir" && as_dir=.
2126
2646
  for ac_exec_ext in '' $ac_executable_extensions; do
2127
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2647
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2128
2648
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2129
2649
       ac_prog_rejected=yes
2130
2650
       continue
2135
2655
  fi
2136
2656
done
2137
2657
done
 
2658
IFS=$as_save_IFS
2138
2659
 
2139
2660
if test $ac_prog_rejected = yes; then
2140
2661
  # We found a bogon in the path, so make sure we never use it.
2152
2673
fi
2153
2674
CC=$ac_cv_prog_CC
2154
2675
if test -n "$CC"; then
2155
 
  echo "$as_me:$LINENO: result: $CC" >&5
2156
 
echo "${ECHO_T}$CC" >&6
 
2676
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2677
echo "${ECHO_T}$CC" >&6; }
2157
2678
else
2158
 
  echo "$as_me:$LINENO: result: no" >&5
2159
 
echo "${ECHO_T}no" >&6
 
2679
  { echo "$as_me:$LINENO: result: no" >&5
 
2680
echo "${ECHO_T}no" >&6; }
2160
2681
fi
 
2682
 
2161
2683
 
2162
2684
fi
2163
2685
if test -z "$CC"; then
2164
2686
  if test -n "$ac_tool_prefix"; then
2165
 
  for ac_prog in cl
 
2687
  for ac_prog in cl.exe
2166
2688
  do
2167
2689
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2168
2690
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2169
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2170
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2691
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2692
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2171
2693
if test "${ac_cv_prog_CC+set}" = set; then
2172
2694
  echo $ECHO_N "(cached) $ECHO_C" >&6
2173
2695
else
2180
2702
  IFS=$as_save_IFS
2181
2703
  test -z "$as_dir" && as_dir=.
2182
2704
  for ac_exec_ext in '' $ac_executable_extensions; do
2183
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2705
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2184
2706
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2185
2707
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2186
2708
    break 2
2187
2709
  fi
2188
2710
done
2189
2711
done
 
2712
IFS=$as_save_IFS
2190
2713
 
2191
2714
fi
2192
2715
fi
2193
2716
CC=$ac_cv_prog_CC
2194
2717
if test -n "$CC"; then
2195
 
  echo "$as_me:$LINENO: result: $CC" >&5
2196
 
echo "${ECHO_T}$CC" >&6
 
2718
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2719
echo "${ECHO_T}$CC" >&6; }
2197
2720
else
2198
 
  echo "$as_me:$LINENO: result: no" >&5
2199
 
echo "${ECHO_T}no" >&6
 
2721
  { echo "$as_me:$LINENO: result: no" >&5
 
2722
echo "${ECHO_T}no" >&6; }
2200
2723
fi
2201
2724
 
 
2725
 
2202
2726
    test -n "$CC" && break
2203
2727
  done
2204
2728
fi
2205
2729
if test -z "$CC"; then
2206
2730
  ac_ct_CC=$CC
2207
 
  for ac_prog in cl
 
2731
  for ac_prog in cl.exe
2208
2732
do
2209
2733
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2210
2734
set dummy $ac_prog; ac_word=$2
2211
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2212
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2735
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2736
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2213
2737
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2214
2738
  echo $ECHO_N "(cached) $ECHO_C" >&6
2215
2739
else
2222
2746
  IFS=$as_save_IFS
2223
2747
  test -z "$as_dir" && as_dir=.
2224
2748
  for ac_exec_ext in '' $ac_executable_extensions; do
2225
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2749
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2226
2750
    ac_cv_prog_ac_ct_CC="$ac_prog"
2227
2751
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2228
2752
    break 2
2229
2753
  fi
2230
2754
done
2231
2755
done
 
2756
IFS=$as_save_IFS
2232
2757
 
2233
2758
fi
2234
2759
fi
2235
2760
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2236
2761
if test -n "$ac_ct_CC"; then
2237
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2238
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2762
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2763
echo "${ECHO_T}$ac_ct_CC" >&6; }
2239
2764
else
2240
 
  echo "$as_me:$LINENO: result: no" >&5
2241
 
echo "${ECHO_T}no" >&6
 
2765
  { echo "$as_me:$LINENO: result: no" >&5
 
2766
echo "${ECHO_T}no" >&6; }
2242
2767
fi
2243
2768
 
 
2769
 
2244
2770
  test -n "$ac_ct_CC" && break
2245
2771
done
2246
2772
 
2247
 
  CC=$ac_ct_CC
 
2773
  if test "x$ac_ct_CC" = x; then
 
2774
    CC=""
 
2775
  else
 
2776
    case $cross_compiling:$ac_tool_warned in
 
2777
yes:)
 
2778
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2779
whose name does not start with the host triplet.  If you think this
 
2780
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2781
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2782
whose name does not start with the host triplet.  If you think this
 
2783
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2784
ac_tool_warned=yes ;;
 
2785
esac
 
2786
    CC=$ac_ct_CC
 
2787
  fi
2248
2788
fi
2249
2789
 
2250
2790
fi
2257
2797
   { (exit 1); exit 1; }; }
2258
2798
 
2259
2799
# Provide some information about the compiler.
2260
 
echo "$as_me:$LINENO:" \
2261
 
     "checking for C compiler version" >&5
 
2800
echo "$as_me:$LINENO: checking for C compiler version" >&5
2262
2801
ac_compiler=`set X $ac_compile; echo $2`
2263
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2264
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2265
 
  ac_status=$?
2266
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267
 
  (exit $ac_status); }
2268
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2269
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2270
 
  ac_status=$?
2271
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272
 
  (exit $ac_status); }
2273
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2274
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2802
{ (ac_try="$ac_compiler --version >&5"
 
2803
case "(($ac_try" in
 
2804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2805
  *) ac_try_echo=$ac_try;;
 
2806
esac
 
2807
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2808
  (eval "$ac_compiler --version >&5") 2>&5
 
2809
  ac_status=$?
 
2810
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2811
  (exit $ac_status); }
 
2812
{ (ac_try="$ac_compiler -v >&5"
 
2813
case "(($ac_try" in
 
2814
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2815
  *) ac_try_echo=$ac_try;;
 
2816
esac
 
2817
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2818
  (eval "$ac_compiler -v >&5") 2>&5
 
2819
  ac_status=$?
 
2820
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2821
  (exit $ac_status); }
 
2822
{ (ac_try="$ac_compiler -V >&5"
 
2823
case "(($ac_try" in
 
2824
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2825
  *) ac_try_echo=$ac_try;;
 
2826
esac
 
2827
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2828
  (eval "$ac_compiler -V >&5") 2>&5
2275
2829
  ac_status=$?
2276
2830
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277
2831
  (exit $ac_status); }
2278
2832
 
2279
2833
cat >conftest.$ac_ext <<_ACEOF
2280
 
#line $LINENO "configure"
2281
2834
/* confdefs.h.  */
2282
2835
_ACEOF
2283
2836
cat confdefs.h >>conftest.$ac_ext
2297
2850
# Try to create an executable without -o first, disregard a.out.
2298
2851
# It will help us diagnose broken compilers, and finding out an intuition
2299
2852
# of exeext.
2300
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2301
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
2853
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2854
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2302
2855
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2303
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2304
 
  (eval $ac_link_default) 2>&5
 
2856
#
 
2857
# List of possible output files, starting from the most likely.
 
2858
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2859
# only as a last resort.  b.out is created by i960 compilers.
 
2860
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2861
#
 
2862
# The IRIX 6 linker writes into existing files which may not be
 
2863
# executable, retaining their permissions.  Remove them first so a
 
2864
# subsequent execution test works.
 
2865
ac_rmfiles=
 
2866
for ac_file in $ac_files
 
2867
do
 
2868
  case $ac_file in
 
2869
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2870
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2871
  esac
 
2872
done
 
2873
rm -f $ac_rmfiles
 
2874
 
 
2875
if { (ac_try="$ac_link_default"
 
2876
case "(($ac_try" in
 
2877
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2878
  *) ac_try_echo=$ac_try;;
 
2879
esac
 
2880
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2881
  (eval "$ac_link_default") 2>&5
2305
2882
  ac_status=$?
2306
2883
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2307
2884
  (exit $ac_status); }; then
2308
 
  # Find the output, starting from the most likely.  This scheme is
2309
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2310
 
# resort.
2311
 
 
2312
 
# Be careful to initialize this variable, since it used to be cached.
2313
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2314
 
ac_cv_exeext=
2315
 
# b.out is created by i960 compilers.
2316
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2885
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2886
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2887
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2888
# so that the user can short-circuit this test for compilers unknown to
 
2889
# Autoconf.
 
2890
for ac_file in $ac_files ''
2317
2891
do
2318
2892
  test -f "$ac_file" || continue
2319
2893
  case $ac_file in
2320
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2321
 
        ;;
2322
 
    conftest.$ac_ext )
2323
 
        # This is the source file.
2324
 
        ;;
 
2894
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2895
        ;;
2325
2896
    [ab].out )
2326
 
        # We found the default executable, but exeext='' is most
2327
 
        # certainly right.
2328
 
        break;;
 
2897
        # We found the default executable, but exeext='' is most
 
2898
        # certainly right.
 
2899
        break;;
2329
2900
    *.* )
2330
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2331
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2332
 
        # but it would be cool to find out if it's true.  Does anybody
2333
 
        # maintain Libtool? --akim.
2334
 
        export ac_cv_exeext
2335
 
        break;;
 
2901
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2902
        then :; else
 
2903
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2904
        fi
 
2905
        # We set ac_cv_exeext here because the later test for it is not
 
2906
        # safe: cross compilers may not add the suffix if given an `-o'
 
2907
        # argument, so we may need to know it at that point already.
 
2908
        # Even if this section looks crufty: it has the advantage of
 
2909
        # actually working.
 
2910
        break;;
2336
2911
    * )
2337
 
        break;;
 
2912
        break;;
2338
2913
  esac
2339
2914
done
 
2915
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2916
 
2340
2917
else
 
2918
  ac_file=''
 
2919
fi
 
2920
 
 
2921
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2922
echo "${ECHO_T}$ac_file" >&6; }
 
2923
if test -z "$ac_file"; then
2341
2924
  echo "$as_me: failed program was:" >&5
2342
2925
sed 's/^/| /' conftest.$ac_ext >&5
2343
2926
 
2349
2932
fi
2350
2933
 
2351
2934
ac_exeext=$ac_cv_exeext
2352
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2353
 
echo "${ECHO_T}$ac_file" >&6
2354
2935
 
2355
 
# Check the compiler produces executables we can run.  If not, either
 
2936
# Check that the compiler produces executables we can run.  If not, either
2356
2937
# the compiler is broken, or we cross compile.
2357
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2358
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2938
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2939
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2359
2940
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2360
2941
# If not cross compiling, check that we can run a simple program.
2361
2942
if test "$cross_compiling" != yes; then
2362
2943
  if { ac_try='./$ac_file'
2363
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2364
 
  (eval $ac_try) 2>&5
 
2944
  { (case "(($ac_try" in
 
2945
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2946
  *) ac_try_echo=$ac_try;;
 
2947
esac
 
2948
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2949
  (eval "$ac_try") 2>&5
2365
2950
  ac_status=$?
2366
2951
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367
2952
  (exit $ac_status); }; }; then
2380
2965
    fi
2381
2966
  fi
2382
2967
fi
2383
 
echo "$as_me:$LINENO: result: yes" >&5
2384
 
echo "${ECHO_T}yes" >&6
 
2968
{ echo "$as_me:$LINENO: result: yes" >&5
 
2969
echo "${ECHO_T}yes" >&6; }
2385
2970
 
2386
2971
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2387
2972
ac_clean_files=$ac_clean_files_save
2388
 
# Check the compiler produces executables we can run.  If not, either
 
2973
# Check that the compiler produces executables we can run.  If not, either
2389
2974
# the compiler is broken, or we cross compile.
2390
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2391
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2392
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2393
 
echo "${ECHO_T}$cross_compiling" >&6
 
2975
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2976
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2977
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2978
echo "${ECHO_T}$cross_compiling" >&6; }
2394
2979
 
2395
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2396
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2397
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2398
 
  (eval $ac_link) 2>&5
 
2980
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2981
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2982
if { (ac_try="$ac_link"
 
2983
case "(($ac_try" in
 
2984
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2985
  *) ac_try_echo=$ac_try;;
 
2986
esac
 
2987
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2988
  (eval "$ac_link") 2>&5
2399
2989
  ac_status=$?
2400
2990
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401
2991
  (exit $ac_status); }; then
2406
2996
for ac_file in conftest.exe conftest conftest.*; do
2407
2997
  test -f "$ac_file" || continue
2408
2998
  case $ac_file in
2409
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2999
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2410
3000
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2411
 
          export ac_cv_exeext
2412
 
          break;;
 
3001
          break;;
2413
3002
    * ) break;;
2414
3003
  esac
2415
3004
done
2422
3011
fi
2423
3012
 
2424
3013
rm -f conftest$ac_cv_exeext
2425
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2426
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3014
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3015
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2427
3016
 
2428
3017
rm -f conftest.$ac_ext
2429
3018
EXEEXT=$ac_cv_exeext
2430
3019
ac_exeext=$EXEEXT
2431
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2432
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3020
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3021
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2433
3022
if test "${ac_cv_objext+set}" = set; then
2434
3023
  echo $ECHO_N "(cached) $ECHO_C" >&6
2435
3024
else
2436
3025
  cat >conftest.$ac_ext <<_ACEOF
2437
 
#line $LINENO "configure"
2438
3026
/* confdefs.h.  */
2439
3027
_ACEOF
2440
3028
cat confdefs.h >>conftest.$ac_ext
2450
3038
}
2451
3039
_ACEOF
2452
3040
rm -f conftest.o conftest.obj
2453
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2454
 
  (eval $ac_compile) 2>&5
 
3041
if { (ac_try="$ac_compile"
 
3042
case "(($ac_try" in
 
3043
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3044
  *) ac_try_echo=$ac_try;;
 
3045
esac
 
3046
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3047
  (eval "$ac_compile") 2>&5
2455
3048
  ac_status=$?
2456
3049
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457
3050
  (exit $ac_status); }; then
2458
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3051
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3052
  test -f "$ac_file" || continue;
2459
3053
  case $ac_file in
2460
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3054
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2461
3055
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2462
3056
       break;;
2463
3057
  esac
2475
3069
 
2476
3070
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2477
3071
fi
2478
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2479
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3072
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3073
echo "${ECHO_T}$ac_cv_objext" >&6; }
2480
3074
OBJEXT=$ac_cv_objext
2481
3075
ac_objext=$OBJEXT
2482
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2483
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3076
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3077
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2484
3078
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2485
3079
  echo $ECHO_N "(cached) $ECHO_C" >&6
2486
3080
else
2487
3081
  cat >conftest.$ac_ext <<_ACEOF
2488
 
#line $LINENO "configure"
2489
3082
/* confdefs.h.  */
2490
3083
_ACEOF
2491
3084
cat confdefs.h >>conftest.$ac_ext
2504
3097
}
2505
3098
_ACEOF
2506
3099
rm -f conftest.$ac_objext
2507
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2508
 
  (eval $ac_compile) 2>&5
 
3100
if { (ac_try="$ac_compile"
 
3101
case "(($ac_try" in
 
3102
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3103
  *) ac_try_echo=$ac_try;;
 
3104
esac
 
3105
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3106
  (eval "$ac_compile") 2>conftest.er1
2509
3107
  ac_status=$?
 
3108
  grep -v '^ *+' conftest.er1 >conftest.err
 
3109
  rm -f conftest.er1
 
3110
  cat conftest.err >&5
2510
3111
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511
3112
  (exit $ac_status); } &&
2512
 
         { ac_try='test -s conftest.$ac_objext'
2513
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2514
 
  (eval $ac_try) 2>&5
 
3113
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3114
  { (case "(($ac_try" in
 
3115
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3116
  *) ac_try_echo=$ac_try;;
 
3117
esac
 
3118
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3119
  (eval "$ac_try") 2>&5
 
3120
  ac_status=$?
 
3121
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3122
  (exit $ac_status); }; } &&
 
3123
         { ac_try='test -s conftest.$ac_objext'
 
3124
  { (case "(($ac_try" in
 
3125
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3126
  *) ac_try_echo=$ac_try;;
 
3127
esac
 
3128
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3129
  (eval "$ac_try") 2>&5
2515
3130
  ac_status=$?
2516
3131
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517
3132
  (exit $ac_status); }; }; then
2520
3135
  echo "$as_me: failed program was:" >&5
2521
3136
sed 's/^/| /' conftest.$ac_ext >&5
2522
3137
 
2523
 
ac_compiler_gnu=no
 
3138
        ac_compiler_gnu=no
2524
3139
fi
2525
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3140
 
 
3141
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2526
3142
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2527
3143
 
2528
3144
fi
2529
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2530
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3145
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3146
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2531
3147
GCC=`test $ac_compiler_gnu = yes && echo yes`
2532
3148
ac_test_CFLAGS=${CFLAGS+set}
2533
3149
ac_save_CFLAGS=$CFLAGS
2534
 
CFLAGS="-g"
2535
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2536
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3150
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3151
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2537
3152
if test "${ac_cv_prog_cc_g+set}" = set; then
2538
3153
  echo $ECHO_N "(cached) $ECHO_C" >&6
2539
3154
else
2540
 
  cat >conftest.$ac_ext <<_ACEOF
2541
 
#line $LINENO "configure"
2542
 
/* confdefs.h.  */
2543
 
_ACEOF
2544
 
cat confdefs.h >>conftest.$ac_ext
2545
 
cat >>conftest.$ac_ext <<_ACEOF
2546
 
/* end confdefs.h.  */
2547
 
 
2548
 
int
2549
 
main ()
2550
 
{
2551
 
 
2552
 
  ;
2553
 
  return 0;
2554
 
}
2555
 
_ACEOF
2556
 
rm -f conftest.$ac_objext
2557
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2558
 
  (eval $ac_compile) 2>&5
2559
 
  ac_status=$?
2560
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561
 
  (exit $ac_status); } &&
2562
 
         { ac_try='test -s conftest.$ac_objext'
2563
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2564
 
  (eval $ac_try) 2>&5
2565
 
  ac_status=$?
2566
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567
 
  (exit $ac_status); }; }; then
2568
 
  ac_cv_prog_cc_g=yes
2569
 
else
2570
 
  echo "$as_me: failed program was:" >&5
2571
 
sed 's/^/| /' conftest.$ac_ext >&5
2572
 
 
2573
 
ac_cv_prog_cc_g=no
2574
 
fi
2575
 
rm -f conftest.$ac_objext conftest.$ac_ext
2576
 
fi
2577
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2578
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3155
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3156
   ac_c_werror_flag=yes
 
3157
   ac_cv_prog_cc_g=no
 
3158
   CFLAGS="-g"
 
3159
   cat >conftest.$ac_ext <<_ACEOF
 
3160
/* confdefs.h.  */
 
3161
_ACEOF
 
3162
cat confdefs.h >>conftest.$ac_ext
 
3163
cat >>conftest.$ac_ext <<_ACEOF
 
3164
/* end confdefs.h.  */
 
3165
 
 
3166
int
 
3167
main ()
 
3168
{
 
3169
 
 
3170
  ;
 
3171
  return 0;
 
3172
}
 
3173
_ACEOF
 
3174
rm -f conftest.$ac_objext
 
3175
if { (ac_try="$ac_compile"
 
3176
case "(($ac_try" in
 
3177
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3178
  *) ac_try_echo=$ac_try;;
 
3179
esac
 
3180
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3181
  (eval "$ac_compile") 2>conftest.er1
 
3182
  ac_status=$?
 
3183
  grep -v '^ *+' conftest.er1 >conftest.err
 
3184
  rm -f conftest.er1
 
3185
  cat conftest.err >&5
 
3186
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3187
  (exit $ac_status); } &&
 
3188
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3189
  { (case "(($ac_try" in
 
3190
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3191
  *) ac_try_echo=$ac_try;;
 
3192
esac
 
3193
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3194
  (eval "$ac_try") 2>&5
 
3195
  ac_status=$?
 
3196
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3197
  (exit $ac_status); }; } &&
 
3198
         { ac_try='test -s conftest.$ac_objext'
 
3199
  { (case "(($ac_try" in
 
3200
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3201
  *) ac_try_echo=$ac_try;;
 
3202
esac
 
3203
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3204
  (eval "$ac_try") 2>&5
 
3205
  ac_status=$?
 
3206
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3207
  (exit $ac_status); }; }; then
 
3208
  ac_cv_prog_cc_g=yes
 
3209
else
 
3210
  echo "$as_me: failed program was:" >&5
 
3211
sed 's/^/| /' conftest.$ac_ext >&5
 
3212
 
 
3213
        CFLAGS=""
 
3214
      cat >conftest.$ac_ext <<_ACEOF
 
3215
/* confdefs.h.  */
 
3216
_ACEOF
 
3217
cat confdefs.h >>conftest.$ac_ext
 
3218
cat >>conftest.$ac_ext <<_ACEOF
 
3219
/* end confdefs.h.  */
 
3220
 
 
3221
int
 
3222
main ()
 
3223
{
 
3224
 
 
3225
  ;
 
3226
  return 0;
 
3227
}
 
3228
_ACEOF
 
3229
rm -f conftest.$ac_objext
 
3230
if { (ac_try="$ac_compile"
 
3231
case "(($ac_try" in
 
3232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3233
  *) ac_try_echo=$ac_try;;
 
3234
esac
 
3235
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3236
  (eval "$ac_compile") 2>conftest.er1
 
3237
  ac_status=$?
 
3238
  grep -v '^ *+' conftest.er1 >conftest.err
 
3239
  rm -f conftest.er1
 
3240
  cat conftest.err >&5
 
3241
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3242
  (exit $ac_status); } &&
 
3243
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3244
  { (case "(($ac_try" in
 
3245
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3246
  *) ac_try_echo=$ac_try;;
 
3247
esac
 
3248
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3249
  (eval "$ac_try") 2>&5
 
3250
  ac_status=$?
 
3251
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3252
  (exit $ac_status); }; } &&
 
3253
         { ac_try='test -s conftest.$ac_objext'
 
3254
  { (case "(($ac_try" in
 
3255
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3256
  *) ac_try_echo=$ac_try;;
 
3257
esac
 
3258
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3259
  (eval "$ac_try") 2>&5
 
3260
  ac_status=$?
 
3261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3262
  (exit $ac_status); }; }; then
 
3263
  :
 
3264
else
 
3265
  echo "$as_me: failed program was:" >&5
 
3266
sed 's/^/| /' conftest.$ac_ext >&5
 
3267
 
 
3268
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3269
         CFLAGS="-g"
 
3270
         cat >conftest.$ac_ext <<_ACEOF
 
3271
/* confdefs.h.  */
 
3272
_ACEOF
 
3273
cat confdefs.h >>conftest.$ac_ext
 
3274
cat >>conftest.$ac_ext <<_ACEOF
 
3275
/* end confdefs.h.  */
 
3276
 
 
3277
int
 
3278
main ()
 
3279
{
 
3280
 
 
3281
  ;
 
3282
  return 0;
 
3283
}
 
3284
_ACEOF
 
3285
rm -f conftest.$ac_objext
 
3286
if { (ac_try="$ac_compile"
 
3287
case "(($ac_try" in
 
3288
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3289
  *) ac_try_echo=$ac_try;;
 
3290
esac
 
3291
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3292
  (eval "$ac_compile") 2>conftest.er1
 
3293
  ac_status=$?
 
3294
  grep -v '^ *+' conftest.er1 >conftest.err
 
3295
  rm -f conftest.er1
 
3296
  cat conftest.err >&5
 
3297
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3298
  (exit $ac_status); } &&
 
3299
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3300
  { (case "(($ac_try" in
 
3301
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3302
  *) ac_try_echo=$ac_try;;
 
3303
esac
 
3304
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3305
  (eval "$ac_try") 2>&5
 
3306
  ac_status=$?
 
3307
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3308
  (exit $ac_status); }; } &&
 
3309
         { ac_try='test -s conftest.$ac_objext'
 
3310
  { (case "(($ac_try" in
 
3311
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3312
  *) ac_try_echo=$ac_try;;
 
3313
esac
 
3314
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3315
  (eval "$ac_try") 2>&5
 
3316
  ac_status=$?
 
3317
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3318
  (exit $ac_status); }; }; then
 
3319
  ac_cv_prog_cc_g=yes
 
3320
else
 
3321
  echo "$as_me: failed program was:" >&5
 
3322
sed 's/^/| /' conftest.$ac_ext >&5
 
3323
 
 
3324
 
 
3325
fi
 
3326
 
 
3327
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3328
fi
 
3329
 
 
3330
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3331
fi
 
3332
 
 
3333
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3334
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3335
fi
 
3336
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3337
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2579
3338
if test "$ac_test_CFLAGS" = set; then
2580
3339
  CFLAGS=$ac_save_CFLAGS
2581
3340
elif test $ac_cv_prog_cc_g = yes; then
2591
3350
    CFLAGS=
2592
3351
  fi
2593
3352
fi
2594
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2595
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2596
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3353
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3354
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3355
if test "${ac_cv_prog_cc_c89+set}" = set; then
2597
3356
  echo $ECHO_N "(cached) $ECHO_C" >&6
2598
3357
else
2599
 
  ac_cv_prog_cc_stdc=no
 
3358
  ac_cv_prog_cc_c89=no
2600
3359
ac_save_CC=$CC
2601
3360
cat >conftest.$ac_ext <<_ACEOF
2602
 
#line $LINENO "configure"
2603
3361
/* confdefs.h.  */
2604
3362
_ACEOF
2605
3363
cat confdefs.h >>conftest.$ac_ext
2627
3385
  va_end (v);
2628
3386
  return s;
2629
3387
}
 
3388
 
 
3389
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3390
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3391
   These don't provoke an error unfortunately, instead are silently treated
 
3392
   as 'x'.  The following induces an error, until -std is added to get
 
3393
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3394
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3395
   that's true only with -std.  */
 
3396
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3397
 
 
3398
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3399
   inside strings and character constants.  */
 
3400
#define FOO(x) 'x'
 
3401
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3402
 
2630
3403
int test (int i, double x);
2631
3404
struct s1 {int (*f) (int a);};
2632
3405
struct s2 {int (*f) (double a);};
2641
3414
  return 0;
2642
3415
}
2643
3416
_ACEOF
2644
 
# Don't try gcc -ansi; that turns off useful extensions and
2645
 
# breaks some systems' header files.
2646
 
# AIX                   -qlanglvl=ansi
2647
 
# Ultrix and OSF/1      -std1
2648
 
# HP-UX 10.20 and later -Ae
2649
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2650
 
# SVR4                  -Xc -D__EXTENSIONS__
2651
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3417
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3418
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2652
3419
do
2653
3420
  CC="$ac_save_CC $ac_arg"
2654
3421
  rm -f conftest.$ac_objext
2655
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656
 
  (eval $ac_compile) 2>&5
 
3422
if { (ac_try="$ac_compile"
 
3423
case "(($ac_try" in
 
3424
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3425
  *) ac_try_echo=$ac_try;;
 
3426
esac
 
3427
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3428
  (eval "$ac_compile") 2>conftest.er1
2657
3429
  ac_status=$?
 
3430
  grep -v '^ *+' conftest.er1 >conftest.err
 
3431
  rm -f conftest.er1
 
3432
  cat conftest.err >&5
2658
3433
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659
3434
  (exit $ac_status); } &&
2660
 
         { ac_try='test -s conftest.$ac_objext'
2661
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2662
 
  (eval $ac_try) 2>&5
 
3435
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3436
  { (case "(($ac_try" in
 
3437
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3438
  *) ac_try_echo=$ac_try;;
 
3439
esac
 
3440
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3441
  (eval "$ac_try") 2>&5
 
3442
  ac_status=$?
 
3443
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3444
  (exit $ac_status); }; } &&
 
3445
         { ac_try='test -s conftest.$ac_objext'
 
3446
  { (case "(($ac_try" in
 
3447
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3448
  *) ac_try_echo=$ac_try;;
 
3449
esac
 
3450
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3451
  (eval "$ac_try") 2>&5
2663
3452
  ac_status=$?
2664
3453
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665
3454
  (exit $ac_status); }; }; then
2666
 
  ac_cv_prog_cc_stdc=$ac_arg
2667
 
break
 
3455
  ac_cv_prog_cc_c89=$ac_arg
2668
3456
else
2669
3457
  echo "$as_me: failed program was:" >&5
2670
3458
sed 's/^/| /' conftest.$ac_ext >&5
2671
3459
 
 
3460
 
2672
3461
fi
2673
 
rm -f conftest.$ac_objext
 
3462
 
 
3463
rm -f core conftest.err conftest.$ac_objext
 
3464
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2674
3465
done
2675
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3466
rm -f conftest.$ac_ext
2676
3467
CC=$ac_save_CC
2677
3468
 
2678
3469
fi
2679
 
 
2680
 
case "x$ac_cv_prog_cc_stdc" in
2681
 
  x|xno)
2682
 
    echo "$as_me:$LINENO: result: none needed" >&5
2683
 
echo "${ECHO_T}none needed" >&6 ;;
 
3470
# AC_CACHE_VAL
 
3471
case "x$ac_cv_prog_cc_c89" in
 
3472
  x)
 
3473
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3474
echo "${ECHO_T}none needed" >&6; } ;;
 
3475
  xno)
 
3476
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3477
echo "${ECHO_T}unsupported" >&6; } ;;
2684
3478
  *)
2685
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2686
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2687
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3479
    CC="$CC $ac_cv_prog_cc_c89"
 
3480
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3481
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2688
3482
esac
2689
3483
 
2690
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2691
 
# in C++ we need to declare it.  In case someone uses the same compiler
2692
 
# for both compiling C and C++ we need to have the C++ compiler decide
2693
 
# the declaration of exit, since it's the most demanding environment.
2694
 
cat >conftest.$ac_ext <<_ACEOF
2695
 
#ifndef __cplusplus
2696
 
  choke me
2697
 
#endif
2698
 
_ACEOF
2699
 
rm -f conftest.$ac_objext
2700
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701
 
  (eval $ac_compile) 2>&5
2702
 
  ac_status=$?
2703
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704
 
  (exit $ac_status); } &&
2705
 
         { ac_try='test -s conftest.$ac_objext'
2706
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2707
 
  (eval $ac_try) 2>&5
2708
 
  ac_status=$?
2709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710
 
  (exit $ac_status); }; }; then
2711
 
  for ac_declaration in \
2712
 
   ''\
2713
 
   '#include <stdlib.h>' \
2714
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2715
 
   'extern "C" void std::exit (int); using std::exit;' \
2716
 
   'extern "C" void exit (int) throw ();' \
2717
 
   'extern "C" void exit (int);' \
2718
 
   'void exit (int);'
2719
 
do
2720
 
  cat >conftest.$ac_ext <<_ACEOF
2721
 
#line $LINENO "configure"
2722
 
/* confdefs.h.  */
2723
 
_ACEOF
2724
 
cat confdefs.h >>conftest.$ac_ext
2725
 
cat >>conftest.$ac_ext <<_ACEOF
2726
 
/* end confdefs.h.  */
2727
 
#include <stdlib.h>
2728
 
$ac_declaration
2729
 
int
2730
 
main ()
2731
 
{
2732
 
exit (42);
2733
 
  ;
2734
 
  return 0;
2735
 
}
2736
 
_ACEOF
2737
 
rm -f conftest.$ac_objext
2738
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2739
 
  (eval $ac_compile) 2>&5
2740
 
  ac_status=$?
2741
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742
 
  (exit $ac_status); } &&
2743
 
         { ac_try='test -s conftest.$ac_objext'
2744
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2745
 
  (eval $ac_try) 2>&5
2746
 
  ac_status=$?
2747
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748
 
  (exit $ac_status); }; }; then
2749
 
  :
2750
 
else
2751
 
  echo "$as_me: failed program was:" >&5
2752
 
sed 's/^/| /' conftest.$ac_ext >&5
2753
 
 
2754
 
continue
2755
 
fi
2756
 
rm -f conftest.$ac_objext conftest.$ac_ext
2757
 
  cat >conftest.$ac_ext <<_ACEOF
2758
 
#line $LINENO "configure"
2759
 
/* confdefs.h.  */
2760
 
_ACEOF
2761
 
cat confdefs.h >>conftest.$ac_ext
2762
 
cat >>conftest.$ac_ext <<_ACEOF
2763
 
/* end confdefs.h.  */
2764
 
$ac_declaration
2765
 
int
2766
 
main ()
2767
 
{
2768
 
exit (42);
2769
 
  ;
2770
 
  return 0;
2771
 
}
2772
 
_ACEOF
2773
 
rm -f conftest.$ac_objext
2774
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2775
 
  (eval $ac_compile) 2>&5
2776
 
  ac_status=$?
2777
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778
 
  (exit $ac_status); } &&
2779
 
         { ac_try='test -s conftest.$ac_objext'
2780
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2781
 
  (eval $ac_try) 2>&5
2782
 
  ac_status=$?
2783
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784
 
  (exit $ac_status); }; }; then
2785
 
  break
2786
 
else
2787
 
  echo "$as_me: failed program was:" >&5
2788
 
sed 's/^/| /' conftest.$ac_ext >&5
2789
 
 
2790
 
fi
2791
 
rm -f conftest.$ac_objext conftest.$ac_ext
2792
 
done
2793
 
rm -f conftest*
2794
 
if test -n "$ac_declaration"; then
2795
 
  echo '#ifdef __cplusplus' >>confdefs.h
2796
 
  echo $ac_declaration      >>confdefs.h
2797
 
  echo '#endif'             >>confdefs.h
2798
 
fi
2799
 
 
2800
 
else
2801
 
  echo "$as_me: failed program was:" >&5
2802
 
sed 's/^/| /' conftest.$ac_ext >&5
2803
 
 
2804
 
fi
2805
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3484
 
2806
3485
ac_ext=c
2807
3486
ac_cpp='$CPP $CPPFLAGS'
2808
3487
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2810
3489
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2811
3490
DEPDIR="${am__leading_dot}deps"
2812
3491
 
2813
 
          ac_config_commands="$ac_config_commands depfiles"
 
3492
ac_config_commands="$ac_config_commands depfiles"
2814
3493
 
2815
3494
 
2816
3495
am_make=${MAKE-make}
2820
3499
.PHONY: am__doit
2821
3500
END
2822
3501
# If we don't find an include directive, just comment out the code.
2823
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2824
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3502
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3503
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2825
3504
am__include="#"
2826
3505
am__quote=
2827
3506
_am_result=none
2848
3527
fi
2849
3528
 
2850
3529
 
2851
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2852
 
echo "${ECHO_T}$_am_result" >&6
 
3530
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3531
echo "${ECHO_T}$_am_result" >&6; }
2853
3532
rm -f confinc confmf
2854
3533
 
2855
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3534
# Check whether --enable-dependency-tracking was given.
2856
3535
if test "${enable_dependency_tracking+set}" = set; then
2857
 
  enableval="$enable_dependency_tracking"
 
3536
  enableval=$enable_dependency_tracking;
 
3537
fi
2858
3538
 
2859
 
fi;
2860
3539
if test "x$enable_dependency_tracking" != xno; then
2861
3540
  am_depcomp="$ac_aux_dir/depcomp"
2862
3541
  AMDEPBACKSLASH='\'
2876
3555
 
2877
3556
depcc="$CC"   am_compiler_list=
2878
3557
 
2879
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2880
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3558
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3559
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2881
3560
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2882
3561
  echo $ECHO_N "(cached) $ECHO_C" >&6
2883
3562
else
2915
3594
    : > sub/conftest.c
2916
3595
    for i in 1 2 3 4 5 6; do
2917
3596
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2918
 
      : > sub/conftst$i.h
 
3597
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3598
      # Solaris 8's {/usr,}/bin/sh.
 
3599
      touch sub/conftst$i.h
2919
3600
    done
2920
3601
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2921
3602
 
2943
3624
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2944
3625
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2945
3626
      # icc doesn't choke on unknown options, it will just issue warnings
2946
 
      # (even with -Werror).  So we grep stderr for any message
2947
 
      # that says an option was ignored.
2948
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
3627
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3628
      # that says an option was ignored or not supported.
 
3629
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3630
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3631
      # The diagnosis changed in icc 8.0:
 
3632
      #   icc: Command line remark: option '-MP' not supported
 
3633
      if (grep 'ignoring option' conftest.err ||
 
3634
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2949
3635
        am_cv_CC_dependencies_compiler_type=$depmode
2950
3636
        break
2951
3637
      fi
2959
3645
fi
2960
3646
 
2961
3647
fi
2962
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2963
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3648
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3649
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
2964
3650
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2965
3651
 
2966
3652
 
2987
3673
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2988
3674
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2989
3675
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
3676
# OS/2's system install, which has a completely different semantic
2990
3677
# ./install, which can be erroneously created by make from ./install.sh.
2991
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2992
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
3678
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
3679
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2993
3680
if test -z "$INSTALL"; then
2994
3681
if test "${ac_cv_path_install+set}" = set; then
2995
3682
  echo $ECHO_N "(cached) $ECHO_C" >&6
3003
3690
case $as_dir/ in
3004
3691
  ./ | .// | /cC/* | \
3005
3692
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
3693
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3006
3694
  /usr/ucb/* ) ;;
3007
3695
  *)
3008
3696
    # OSF1 and SCO ODT 3.0 have their own names for install.
3010
3698
    # by default.
3011
3699
    for ac_prog in ginstall scoinst install; do
3012
3700
      for ac_exec_ext in '' $ac_executable_extensions; do
3013
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3014
 
          if test $ac_prog = install &&
3015
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3016
 
            # AIX install.  It has an incompatible calling convention.
3017
 
            :
3018
 
          elif test $ac_prog = install &&
3019
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3020
 
            # program-specific install script used by HP pwplus--don't use.
3021
 
            :
3022
 
          else
3023
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3024
 
            break 3
3025
 
          fi
3026
 
        fi
 
3701
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
3702
          if test $ac_prog = install &&
 
3703
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
3704
            # AIX install.  It has an incompatible calling convention.
 
3705
            :
 
3706
          elif test $ac_prog = install &&
 
3707
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
3708
            # program-specific install script used by HP pwplus--don't use.
 
3709
            :
 
3710
          else
 
3711
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
3712
            break 3
 
3713
          fi
 
3714
        fi
3027
3715
      done
3028
3716
    done
3029
3717
    ;;
3030
3718
esac
3031
3719
done
 
3720
IFS=$as_save_IFS
3032
3721
 
3033
3722
 
3034
3723
fi
3035
3724
  if test "${ac_cv_path_install+set}" = set; then
3036
3725
    INSTALL=$ac_cv_path_install
3037
3726
  else
3038
 
    # As a last resort, use the slow shell script.  We don't cache a
3039
 
    # path for INSTALL within a source directory, because that will
 
3727
    # As a last resort, use the slow shell script.  Don't cache a
 
3728
    # value for INSTALL within a source directory, because that will
3040
3729
    # break other packages using the cache if that directory is
3041
 
    # removed, or if the path is relative.
 
3730
    # removed, or if the value is a relative name.
3042
3731
    INSTALL=$ac_install_sh
3043
3732
  fi
3044
3733
fi
3045
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
3046
 
echo "${ECHO_T}$INSTALL" >&6
 
3734
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
3735
echo "${ECHO_T}$INSTALL" >&6; }
3047
3736
 
3048
3737
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3049
3738
# It thinks the first close brace ends the variable substitution.
3053
3742
 
3054
3743
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3055
3744
 
3056
 
# Check whether --enable-shared or --disable-shared was given.
 
3745
 
 
3746
case "$am__api_version" in
 
3747
    1.01234)
 
3748
        { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
 
3749
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
 
3750
   { (exit 1); exit 1; }; }
 
3751
    ;;
 
3752
    *)
 
3753
    ;;
 
3754
esac
 
3755
 
 
3756
if test -n ""; then
 
3757
    { echo "$as_me:$LINENO: checking for intltool >= " >&5
 
3758
echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6; }
 
3759
 
 
3760
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
3761
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
 
3762
    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
 
3763
 
 
3764
    { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
3765
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
 
3766
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
3767
        { { echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool  or later." >&5
 
3768
echo "$as_me: error: Your intltool is too old.  You need intltool  or later." >&2;}
 
3769
   { (exit 1); exit 1; }; }
 
3770
fi
 
3771
 
 
3772
  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 $< $@'
 
3773
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
3774
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
3775
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
3776
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
 
3777
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
3778
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
3779
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
3780
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
3781
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
3782
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
3783
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
 
3784
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
3785
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
3786
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
3787
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
3788
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
3789
    INTLTOOL_SERVICE_RULE='%.service: %.service.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 $< $@'
 
3790
 
 
3791
 
 
3792
 
 
3793
 
 
3794
 
 
3795
 
 
3796
 
 
3797
 
 
3798
 
 
3799
 
 
3800
 
 
3801
 
 
3802
 
 
3803
 
 
3804
 
 
3805
 
 
3806
 
 
3807
 
 
3808
 
 
3809
 
 
3810
# Use the tools built into the package, not the ones that are installed.
 
3811
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
 
3812
 
 
3813
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
 
3814
 
 
3815
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
 
3816
 
 
3817
 
 
3818
# Extract the first word of "perl", so it can be a program name with args.
 
3819
set dummy perl; ac_word=$2
 
3820
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3821
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3822
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
 
3823
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3824
else
 
3825
  case $INTLTOOL_PERL in
 
3826
  [\\/]* | ?:[\\/]*)
 
3827
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
3828
  ;;
 
3829
  *)
 
3830
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3831
for as_dir in $PATH
 
3832
do
 
3833
  IFS=$as_save_IFS
 
3834
  test -z "$as_dir" && as_dir=.
 
3835
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3836
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3837
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
3838
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3839
    break 2
 
3840
  fi
 
3841
done
 
3842
done
 
3843
IFS=$as_save_IFS
 
3844
 
 
3845
  ;;
 
3846
esac
 
3847
fi
 
3848
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
3849
if test -n "$INTLTOOL_PERL"; then
 
3850
  { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
3851
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
 
3852
else
 
3853
  { echo "$as_me:$LINENO: result: no" >&5
 
3854
echo "${ECHO_T}no" >&6; }
 
3855
fi
 
3856
 
 
3857
 
 
3858
if test -z "$INTLTOOL_PERL"; then
 
3859
   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
 
3860
echo "$as_me: error: perl not found; required for intltool" >&2;}
 
3861
   { (exit 1); exit 1; }; }
 
3862
fi
 
3863
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
 
3864
   { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
 
3865
echo "$as_me: error: perl 5.x required for intltool" >&2;}
 
3866
   { (exit 1); exit 1; }; }
 
3867
fi
 
3868
if test "x" != "xno-xml"; then
 
3869
   { echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
3870
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
 
3871
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
3872
       { echo "$as_me:$LINENO: result: ok" >&5
 
3873
echo "${ECHO_T}ok" >&6; }
 
3874
   else
 
3875
       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
 
3876
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
 
3877
   { (exit 1); exit 1; }; }
 
3878
   fi
 
3879
fi
 
3880
 
 
3881
# Extract the first word of "iconv", so it can be a program name with args.
 
3882
set dummy iconv; ac_word=$2
 
3883
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3884
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3885
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
 
3886
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3887
else
 
3888
  case $INTLTOOL_ICONV in
 
3889
  [\\/]* | ?:[\\/]*)
 
3890
  ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
 
3891
  ;;
 
3892
  *)
 
3893
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3894
for as_dir in $PATH
 
3895
do
 
3896
  IFS=$as_save_IFS
 
3897
  test -z "$as_dir" && as_dir=.
 
3898
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3899
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3900
    ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
 
3901
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3902
    break 2
 
3903
  fi
 
3904
done
 
3905
done
 
3906
IFS=$as_save_IFS
 
3907
 
 
3908
  test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
 
3909
  ;;
 
3910
esac
 
3911
fi
 
3912
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
 
3913
if test -n "$INTLTOOL_ICONV"; then
 
3914
  { echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
 
3915
echo "${ECHO_T}$INTLTOOL_ICONV" >&6; }
 
3916
else
 
3917
  { echo "$as_me:$LINENO: result: no" >&5
 
3918
echo "${ECHO_T}no" >&6; }
 
3919
fi
 
3920
 
 
3921
 
 
3922
# Extract the first word of "msgfmt", so it can be a program name with args.
 
3923
set dummy msgfmt; ac_word=$2
 
3924
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3925
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3926
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
 
3927
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3928
else
 
3929
  case $INTLTOOL_MSGFMT in
 
3930
  [\\/]* | ?:[\\/]*)
 
3931
  ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
 
3932
  ;;
 
3933
  *)
 
3934
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3935
for as_dir in $PATH
 
3936
do
 
3937
  IFS=$as_save_IFS
 
3938
  test -z "$as_dir" && as_dir=.
 
3939
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3940
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3941
    ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
3942
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3943
    break 2
 
3944
  fi
 
3945
done
 
3946
done
 
3947
IFS=$as_save_IFS
 
3948
 
 
3949
  test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
 
3950
  ;;
 
3951
esac
 
3952
fi
 
3953
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
 
3954
if test -n "$INTLTOOL_MSGFMT"; then
 
3955
  { echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
 
3956
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6; }
 
3957
else
 
3958
  { echo "$as_me:$LINENO: result: no" >&5
 
3959
echo "${ECHO_T}no" >&6; }
 
3960
fi
 
3961
 
 
3962
 
 
3963
# Extract the first word of "msgmerge", so it can be a program name with args.
 
3964
set dummy msgmerge; ac_word=$2
 
3965
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3966
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3967
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
 
3968
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3969
else
 
3970
  case $INTLTOOL_MSGMERGE in
 
3971
  [\\/]* | ?:[\\/]*)
 
3972
  ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
 
3973
  ;;
 
3974
  *)
 
3975
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3976
for as_dir in $PATH
 
3977
do
 
3978
  IFS=$as_save_IFS
 
3979
  test -z "$as_dir" && as_dir=.
 
3980
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3981
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3982
    ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
3983
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3984
    break 2
 
3985
  fi
 
3986
done
 
3987
done
 
3988
IFS=$as_save_IFS
 
3989
 
 
3990
  test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
 
3991
  ;;
 
3992
esac
 
3993
fi
 
3994
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
 
3995
if test -n "$INTLTOOL_MSGMERGE"; then
 
3996
  { echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
 
3997
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6; }
 
3998
else
 
3999
  { echo "$as_me:$LINENO: result: no" >&5
 
4000
echo "${ECHO_T}no" >&6; }
 
4001
fi
 
4002
 
 
4003
 
 
4004
# Extract the first word of "xgettext", so it can be a program name with args.
 
4005
set dummy xgettext; ac_word=$2
 
4006
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4007
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4008
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
 
4009
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4010
else
 
4011
  case $INTLTOOL_XGETTEXT in
 
4012
  [\\/]* | ?:[\\/]*)
 
4013
  ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
 
4014
  ;;
 
4015
  *)
 
4016
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4017
for as_dir in $PATH
 
4018
do
 
4019
  IFS=$as_save_IFS
 
4020
  test -z "$as_dir" && as_dir=.
 
4021
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4022
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4023
    ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
4024
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4025
    break 2
 
4026
  fi
 
4027
done
 
4028
done
 
4029
IFS=$as_save_IFS
 
4030
 
 
4031
  test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
 
4032
  ;;
 
4033
esac
 
4034
fi
 
4035
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
 
4036
if test -n "$INTLTOOL_XGETTEXT"; then
 
4037
  { echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
 
4038
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6; }
 
4039
else
 
4040
  { echo "$as_me:$LINENO: result: no" >&5
 
4041
echo "${ECHO_T}no" >&6; }
 
4042
fi
 
4043
 
 
4044
 
 
4045
 
 
4046
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
4047
 
 
4048
 
 
4049
 
 
4050
 
 
4051
 
 
4052
ac_config_commands="$ac_config_commands intltool"
 
4053
 
 
4054
 
 
4055
 
 
4056
# Check whether --enable-shared was given.
3057
4057
if test "${enable_shared+set}" = set; then
3058
 
  enableval="$enable_shared"
3059
 
  p=${PACKAGE-default}
 
4058
  enableval=$enable_shared; p=${PACKAGE-default}
3060
4059
    case $enableval in
3061
4060
    yes) enable_shared=yes ;;
3062
4061
    no) enable_shared=no ;;
3075
4074
    esac
3076
4075
else
3077
4076
  enable_shared=yes
3078
 
fi;
3079
 
 
3080
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
4077
fi
 
4078
 
 
4079
 
 
4080
# Check whether --enable-static was given.
 
4081
if test "${enable_static+set}" = set; then
 
4082
  enableval=$enable_static; p=${PACKAGE-default}
 
4083
    case $enableval in
 
4084
    yes) enable_static=yes ;;
 
4085
    no) enable_static=no ;;
 
4086
    *)
 
4087
     enable_static=no
 
4088
      # Look at the argument we got.  We use all the common list separators.
 
4089
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
4090
      for pkg in $enableval; do
 
4091
        IFS="$lt_save_ifs"
 
4092
        if test "X$pkg" = "X$p"; then
 
4093
          enable_static=yes
 
4094
        fi
 
4095
      done
 
4096
      IFS="$lt_save_ifs"
 
4097
      ;;
 
4098
    esac
 
4099
else
 
4100
  enable_static=yes
 
4101
fi
 
4102
 
 
4103
 
 
4104
# Check whether --enable-fast-install was given.
3081
4105
if test "${enable_fast_install+set}" = set; then
3082
 
  enableval="$enable_fast_install"
3083
 
  p=${PACKAGE-default}
 
4106
  enableval=$enable_fast_install; p=${PACKAGE-default}
3084
4107
    case $enableval in
3085
4108
    yes) enable_fast_install=yes ;;
3086
4109
    no) enable_fast_install=no ;;
3099
4122
    esac
3100
4123
else
3101
4124
  enable_fast_install=yes
3102
 
fi;
 
4125
fi
 
4126
 
3103
4127
 
3104
4128
# Make sure we can run config.sub.
3105
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
3106
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3107
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
4129
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4130
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
4131
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3108
4132
   { (exit 1); exit 1; }; }
3109
4133
 
3110
 
echo "$as_me:$LINENO: checking build system type" >&5
3111
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
4134
{ echo "$as_me:$LINENO: checking build system type" >&5
 
4135
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3112
4136
if test "${ac_cv_build+set}" = set; then
3113
4137
  echo $ECHO_N "(cached) $ECHO_C" >&6
3114
4138
else
3115
 
  ac_cv_build_alias=$build_alias
3116
 
test -z "$ac_cv_build_alias" &&
3117
 
  ac_cv_build_alias=`$ac_config_guess`
3118
 
test -z "$ac_cv_build_alias" &&
 
4139
  ac_build_alias=$build_alias
 
4140
test "x$ac_build_alias" = x &&
 
4141
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4142
test "x$ac_build_alias" = x &&
3119
4143
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3120
4144
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3121
4145
   { (exit 1); exit 1; }; }
3122
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3123
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3124
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
4146
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4147
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
4148
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3125
4149
   { (exit 1); exit 1; }; }
3126
4150
 
3127
4151
fi
3128
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3129
 
echo "${ECHO_T}$ac_cv_build" >&6
 
4152
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4153
echo "${ECHO_T}$ac_cv_build" >&6; }
 
4154
case $ac_cv_build in
 
4155
*-*-*) ;;
 
4156
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
4157
echo "$as_me: error: invalid value of canonical build" >&2;}
 
4158
   { (exit 1); exit 1; }; };;
 
4159
esac
3130
4160
build=$ac_cv_build
3131
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3132
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3133
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3134
 
 
3135
 
 
3136
 
echo "$as_me:$LINENO: checking host system type" >&5
3137
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
4161
ac_save_IFS=$IFS; IFS='-'
 
4162
set x $ac_cv_build
 
4163
shift
 
4164
build_cpu=$1
 
4165
build_vendor=$2
 
4166
shift; shift
 
4167
# Remember, the first character of IFS is used to create $*,
 
4168
# except with old shells:
 
4169
build_os=$*
 
4170
IFS=$ac_save_IFS
 
4171
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4172
 
 
4173
 
 
4174
{ echo "$as_me:$LINENO: checking host system type" >&5
 
4175
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3138
4176
if test "${ac_cv_host+set}" = set; then
3139
4177
  echo $ECHO_N "(cached) $ECHO_C" >&6
3140
4178
else
3141
 
  ac_cv_host_alias=$host_alias
3142
 
test -z "$ac_cv_host_alias" &&
3143
 
  ac_cv_host_alias=$ac_cv_build_alias
3144
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3145
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3146
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
4179
  if test "x$host_alias" = x; then
 
4180
  ac_cv_host=$ac_cv_build
 
4181
else
 
4182
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4183
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
4184
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3147
4185
   { (exit 1); exit 1; }; }
 
4186
fi
3148
4187
 
3149
4188
fi
3150
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3151
 
echo "${ECHO_T}$ac_cv_host" >&6
 
4189
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4190
echo "${ECHO_T}$ac_cv_host" >&6; }
 
4191
case $ac_cv_host in
 
4192
*-*-*) ;;
 
4193
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
4194
echo "$as_me: error: invalid value of canonical host" >&2;}
 
4195
   { (exit 1); exit 1; }; };;
 
4196
esac
3152
4197
host=$ac_cv_host
3153
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3154
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3155
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3156
 
 
3157
 
 
3158
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3159
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
4198
ac_save_IFS=$IFS; IFS='-'
 
4199
set x $ac_cv_host
 
4200
shift
 
4201
host_cpu=$1
 
4202
host_vendor=$2
 
4203
shift; shift
 
4204
# Remember, the first character of IFS is used to create $*,
 
4205
# except with old shells:
 
4206
host_os=$*
 
4207
IFS=$ac_save_IFS
 
4208
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4209
 
 
4210
 
 
4211
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4212
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3160
4213
if test "${lt_cv_path_SED+set}" = set; then
3161
4214
  echo $ECHO_N "(cached) $ECHO_C" >&6
3162
4215
else
3180
4233
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3181
4234
# along with /bin/sed that truncates output.
3182
4235
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3183
 
  test ! -f $lt_ac_sed && break
 
4236
  test ! -f $lt_ac_sed && continue
3184
4237
  cat /dev/null > conftest.in
3185
4238
  lt_ac_count=0
3186
4239
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3205
4258
    fi
3206
4259
  done
3207
4260
done
 
4261
 
 
4262
fi
 
4263
 
3208
4264
SED=$lt_cv_path_SED
3209
 
 
3210
 
fi
3211
 
 
3212
 
echo "$as_me:$LINENO: result: $SED" >&5
3213
 
echo "${ECHO_T}$SED" >&6
3214
 
 
3215
 
echo "$as_me:$LINENO: checking for egrep" >&5
3216
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3217
 
if test "${ac_cv_prog_egrep+set}" = set; then
3218
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3219
 
else
3220
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3221
 
    then ac_cv_prog_egrep='grep -E'
3222
 
    else ac_cv_prog_egrep='egrep'
3223
 
    fi
3224
 
fi
3225
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3226
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3227
 
 EGREP=$ac_cv_prog_egrep
3228
 
 
3229
 
 
3230
 
 
3231
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
4265
{ echo "$as_me:$LINENO: result: $SED" >&5
 
4266
echo "${ECHO_T}$SED" >&6; }
 
4267
 
 
4268
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4269
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
4270
if test "${ac_cv_path_GREP+set}" = set; then
 
4271
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4272
else
 
4273
  # Extract the first word of "grep ggrep" to use in msg output
 
4274
if test -z "$GREP"; then
 
4275
set dummy grep ggrep; ac_prog_name=$2
 
4276
if test "${ac_cv_path_GREP+set}" = set; then
 
4277
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4278
else
 
4279
  ac_path_GREP_found=false
 
4280
# Loop through the user's path and test for each of PROGNAME-LIST
 
4281
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4282
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4283
do
 
4284
  IFS=$as_save_IFS
 
4285
  test -z "$as_dir" && as_dir=.
 
4286
  for ac_prog in grep ggrep; do
 
4287
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4288
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4289
    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
 
4290
    # Check for GNU ac_path_GREP and select it if it is found.
 
4291
  # Check for GNU $ac_path_GREP
 
4292
case `"$ac_path_GREP" --version 2>&1` in
 
4293
*GNU*)
 
4294
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4295
*)
 
4296
  ac_count=0
 
4297
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4298
  while :
 
4299
  do
 
4300
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4301
    mv "conftest.tmp" "conftest.in"
 
4302
    cp "conftest.in" "conftest.nl"
 
4303
    echo 'GREP' >> "conftest.nl"
 
4304
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4305
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4306
    ac_count=`expr $ac_count + 1`
 
4307
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4308
      # Best one so far, save it but keep looking for a better one
 
4309
      ac_cv_path_GREP="$ac_path_GREP"
 
4310
      ac_path_GREP_max=$ac_count
 
4311
    fi
 
4312
    # 10*(2^10) chars as input seems more than enough
 
4313
    test $ac_count -gt 10 && break
 
4314
  done
 
4315
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4316
esac
 
4317
 
 
4318
 
 
4319
    $ac_path_GREP_found && break 3
 
4320
  done
 
4321
done
 
4322
 
 
4323
done
 
4324
IFS=$as_save_IFS
 
4325
 
 
4326
 
 
4327
fi
 
4328
 
 
4329
GREP="$ac_cv_path_GREP"
 
4330
if test -z "$GREP"; then
 
4331
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4332
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4333
   { (exit 1); exit 1; }; }
 
4334
fi
 
4335
 
 
4336
else
 
4337
  ac_cv_path_GREP=$GREP
 
4338
fi
 
4339
 
 
4340
 
 
4341
fi
 
4342
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4343
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4344
 GREP="$ac_cv_path_GREP"
 
4345
 
 
4346
 
 
4347
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
4348
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4349
if test "${ac_cv_path_EGREP+set}" = set; then
 
4350
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4351
else
 
4352
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4353
   then ac_cv_path_EGREP="$GREP -E"
 
4354
   else
 
4355
     # Extract the first word of "egrep" to use in msg output
 
4356
if test -z "$EGREP"; then
 
4357
set dummy egrep; ac_prog_name=$2
 
4358
if test "${ac_cv_path_EGREP+set}" = set; then
 
4359
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4360
else
 
4361
  ac_path_EGREP_found=false
 
4362
# Loop through the user's path and test for each of PROGNAME-LIST
 
4363
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4364
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4365
do
 
4366
  IFS=$as_save_IFS
 
4367
  test -z "$as_dir" && as_dir=.
 
4368
  for ac_prog in egrep; do
 
4369
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4370
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4371
    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
 
4372
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4373
  # Check for GNU $ac_path_EGREP
 
4374
case `"$ac_path_EGREP" --version 2>&1` in
 
4375
*GNU*)
 
4376
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4377
*)
 
4378
  ac_count=0
 
4379
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4380
  while :
 
4381
  do
 
4382
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4383
    mv "conftest.tmp" "conftest.in"
 
4384
    cp "conftest.in" "conftest.nl"
 
4385
    echo 'EGREP' >> "conftest.nl"
 
4386
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4387
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4388
    ac_count=`expr $ac_count + 1`
 
4389
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4390
      # Best one so far, save it but keep looking for a better one
 
4391
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4392
      ac_path_EGREP_max=$ac_count
 
4393
    fi
 
4394
    # 10*(2^10) chars as input seems more than enough
 
4395
    test $ac_count -gt 10 && break
 
4396
  done
 
4397
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4398
esac
 
4399
 
 
4400
 
 
4401
    $ac_path_EGREP_found && break 3
 
4402
  done
 
4403
done
 
4404
 
 
4405
done
 
4406
IFS=$as_save_IFS
 
4407
 
 
4408
 
 
4409
fi
 
4410
 
 
4411
EGREP="$ac_cv_path_EGREP"
 
4412
if test -z "$EGREP"; then
 
4413
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4414
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4415
   { (exit 1); exit 1; }; }
 
4416
fi
 
4417
 
 
4418
else
 
4419
  ac_cv_path_EGREP=$EGREP
 
4420
fi
 
4421
 
 
4422
 
 
4423
   fi
 
4424
fi
 
4425
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4426
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4427
 EGREP="$ac_cv_path_EGREP"
 
4428
 
 
4429
 
 
4430
 
 
4431
# Check whether --with-gnu-ld was given.
3232
4432
if test "${with_gnu_ld+set}" = set; then
3233
 
  withval="$with_gnu_ld"
3234
 
  test "$withval" = no || with_gnu_ld=yes
 
4433
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3235
4434
else
3236
4435
  with_gnu_ld=no
3237
 
fi;
 
4436
fi
 
4437
 
3238
4438
ac_prog=ld
3239
4439
if test "$GCC" = yes; then
3240
4440
  # Check if gcc -print-prog-name=ld gives a path.
3241
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3242
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
4441
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4442
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3243
4443
  case $host in
3244
4444
  *-*-mingw*)
3245
4445
    # gcc leaves a trailing carriage return which upsets mingw
3268
4468
    ;;
3269
4469
  esac
3270
4470
elif test "$with_gnu_ld" = yes; then
3271
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3272
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4471
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4472
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3273
4473
else
3274
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3275
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4474
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4475
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3276
4476
fi
3277
4477
if test "${lt_cv_path_LD+set}" = set; then
3278
4478
  echo $ECHO_N "(cached) $ECHO_C" >&6
3285
4485
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3286
4486
      lt_cv_path_LD="$ac_dir/$ac_prog"
3287
4487
      # Check to see if the program is GNU ld.  I'd rather use --version,
3288
 
      # but apparently some GNU ld's only accept -v.
 
4488
      # but apparently some variants of GNU ld only accept -v.
3289
4489
      # Break only if it was the GNU/non-GNU ld that we prefer.
3290
4490
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3291
4491
      *GNU* | *'with BFD'*)
3305
4505
 
3306
4506
LD="$lt_cv_path_LD"
3307
4507
if test -n "$LD"; then
3308
 
  echo "$as_me:$LINENO: result: $LD" >&5
3309
 
echo "${ECHO_T}$LD" >&6
 
4508
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4509
echo "${ECHO_T}$LD" >&6; }
3310
4510
else
3311
 
  echo "$as_me:$LINENO: result: no" >&5
3312
 
echo "${ECHO_T}no" >&6
 
4511
  { echo "$as_me:$LINENO: result: no" >&5
 
4512
echo "${ECHO_T}no" >&6; }
3313
4513
fi
3314
4514
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3315
4515
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3316
4516
   { (exit 1); exit 1; }; }
3317
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3318
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4517
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4518
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3319
4519
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3320
4520
  echo $ECHO_N "(cached) $ECHO_C" >&6
3321
4521
else
3322
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
4522
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
3323
4523
case `$LD -v 2>&1 </dev/null` in
3324
4524
*GNU* | *'with BFD'*)
3325
4525
  lt_cv_prog_gnu_ld=yes
3329
4529
  ;;
3330
4530
esac
3331
4531
fi
3332
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3333
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4532
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4533
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3334
4534
with_gnu_ld=$lt_cv_prog_gnu_ld
3335
4535
 
3336
4536
 
3337
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3338
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
4537
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4538
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3339
4539
if test "${lt_cv_ld_reload_flag+set}" = set; then
3340
4540
  echo $ECHO_N "(cached) $ECHO_C" >&6
3341
4541
else
3342
4542
  lt_cv_ld_reload_flag='-r'
3343
4543
fi
3344
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3345
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
4544
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4545
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3346
4546
reload_flag=$lt_cv_ld_reload_flag
3347
4547
case $reload_flag in
3348
4548
"" | " "*) ;;
3349
4549
*) reload_flag=" $reload_flag" ;;
3350
4550
esac
3351
4551
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4552
case $host_os in
 
4553
  darwin*)
 
4554
    if test "$GCC" = yes; then
 
4555
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
4556
    else
 
4557
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4558
    fi
 
4559
    ;;
 
4560
esac
3352
4561
 
3353
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3354
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4562
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4563
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3355
4564
if test "${lt_cv_path_NM+set}" = set; then
3356
4565
  echo $ECHO_N "(cached) $ECHO_C" >&6
3357
4566
else
3359
4568
  # Let the user override the test.
3360
4569
  lt_cv_path_NM="$NM"
3361
4570
else
3362
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3363
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3364
 
    IFS="$lt_save_ifs"
3365
 
    test -z "$ac_dir" && ac_dir=.
3366
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3367
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3368
 
      # Check to see if the nm accepts a BSD-compat flag.
3369
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3370
 
      #   nm: unknown option "B" ignored
3371
 
      # Tru64's nm complains that /dev/null is an invalid object file
3372
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3373
 
      */dev/null* | *'Invalid file or object type'*)
3374
 
        lt_cv_path_NM="$tmp_nm -B"
3375
 
        break
3376
 
        ;;
3377
 
      *)
3378
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3379
 
        */dev/null*)
3380
 
          lt_cv_path_NM="$tmp_nm -p"
 
4571
  lt_nm_to_check="${ac_tool_prefix}nm"
 
4572
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
4573
    lt_nm_to_check="$lt_nm_to_check nm"
 
4574
  fi
 
4575
  for lt_tmp_nm in $lt_nm_to_check; do
 
4576
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4577
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
4578
      IFS="$lt_save_ifs"
 
4579
      test -z "$ac_dir" && ac_dir=.
 
4580
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
4581
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
4582
        # Check to see if the nm accepts a BSD-compat flag.
 
4583
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
4584
        #   nm: unknown option "B" ignored
 
4585
        # Tru64's nm complains that /dev/null is an invalid object file
 
4586
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
4587
        */dev/null* | *'Invalid file or object type'*)
 
4588
          lt_cv_path_NM="$tmp_nm -B"
3381
4589
          break
3382
4590
          ;;
3383
4591
        *)
3384
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3385
 
          continue # so that we can try to find one that supports BSD flags
 
4592
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
4593
          */dev/null*)
 
4594
            lt_cv_path_NM="$tmp_nm -p"
 
4595
            break
 
4596
            ;;
 
4597
          *)
 
4598
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
4599
            continue # so that we can try to find one that supports BSD flags
 
4600
            ;;
 
4601
          esac
3386
4602
          ;;
3387
4603
        esac
3388
 
      esac
3389
 
    fi
 
4604
      fi
 
4605
    done
 
4606
    IFS="$lt_save_ifs"
3390
4607
  done
3391
 
  IFS="$lt_save_ifs"
3392
4608
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3393
4609
fi
3394
4610
fi
3395
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3396
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
4611
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4612
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
3397
4613
NM="$lt_cv_path_NM"
3398
4614
 
3399
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3400
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4615
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4616
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3401
4617
LN_S=$as_ln_s
3402
4618
if test "$LN_S" = "ln -s"; then
3403
 
  echo "$as_me:$LINENO: result: yes" >&5
3404
 
echo "${ECHO_T}yes" >&6
 
4619
  { echo "$as_me:$LINENO: result: yes" >&5
 
4620
echo "${ECHO_T}yes" >&6; }
3405
4621
else
3406
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3407
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4622
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4623
echo "${ECHO_T}no, using $LN_S" >&6; }
3408
4624
fi
3409
4625
 
3410
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3411
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
4626
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
4627
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
3412
4628
if test "${lt_cv_deplibs_check_method+set}" = set; then
3413
4629
  echo $ECHO_N "(cached) $ECHO_C" >&6
3414
4630
else
3435
4651
  lt_cv_deplibs_check_method=pass_all
3436
4652
  ;;
3437
4653
 
3438
 
bsdi4*)
 
4654
bsdi[45]*)
3439
4655
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3440
4656
  lt_cv_file_magic_cmd='/usr/bin/file -L'
3441
4657
  lt_cv_file_magic_test_file=/shlib/libc.so
3442
4658
  ;;
3443
4659
 
3444
4660
cygwin*)
3445
 
  # win32_libid is a shell function defined in ltmain.sh
 
4661
  # func_win32_libid is a shell function defined in ltmain.sh
3446
4662
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3447
 
  lt_cv_file_magic_cmd='win32_libid'
 
4663
  lt_cv_file_magic_cmd='func_win32_libid'
3448
4664
  ;;
3449
4665
 
3450
4666
mingw* | pw32*)
3451
4667
  # Base MSYS/MinGW do not provide the 'file' command needed by
3452
 
  # win32_libid shell function, so use a weaker test based on 'objdump'.
 
4668
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3453
4669
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3454
4670
  lt_cv_file_magic_cmd='$OBJDUMP -f'
3455
4671
  ;;
3458
4674
  lt_cv_deplibs_check_method=pass_all
3459
4675
  ;;
3460
4676
 
3461
 
freebsd* | kfreebsd*-gnu)
 
4677
freebsd* | dragonfly*)
3462
4678
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3463
4679
    case $host_cpu in
3464
4680
    i*86 )
3465
4681
      # Not sure whether the presence of OpenBSD here was a mistake.
3466
4682
      # Let's accept both of them until this is cleared up.
3467
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
 
4683
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3468
4684
      lt_cv_file_magic_cmd=/usr/bin/file
3469
4685
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3470
4686
      ;;
3480
4696
 
3481
4697
hpux10.20* | hpux11*)
3482
4698
  lt_cv_file_magic_cmd=/usr/bin/file
3483
 
  case "$host_cpu" in
 
4699
  case $host_cpu in
3484
4700
  ia64*)
3485
4701
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3486
4702
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3496
4712
  esac
3497
4713
  ;;
3498
4714
 
 
4715
interix3*)
 
4716
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
4717
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
4718
  ;;
 
4719
 
3499
4720
irix5* | irix6* | nonstopux*)
3500
4721
  case $LD in
3501
4722
  *-32|*"-32 ") libmagic=32-bit;;
3507
4728
  ;;
3508
4729
 
3509
4730
# This must be Linux ELF.
3510
 
linux*)
 
4731
linux* | k*bsd*-gnu)
3511
4732
  lt_cv_deplibs_check_method=pass_all
3512
4733
  ;;
3513
4734
 
3514
 
netbsd* | knetbsd*-gnu)
 
4735
netbsd* | netbsdelf*-gnu)
3515
4736
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3516
4737
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3517
4738
  else
3530
4751
  ;;
3531
4752
 
3532
4753
openbsd*)
3533
 
  lt_cv_file_magic_cmd=/usr/bin/file
3534
 
  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3535
4754
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3536
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
 
4755
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3537
4756
  else
3538
 
    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
 
4757
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3539
4758
  fi
3540
4759
  ;;
3541
4760
 
3543
4762
  lt_cv_deplibs_check_method=pass_all
3544
4763
  ;;
3545
4764
 
3546
 
sco3.2v5*)
3547
 
  lt_cv_deplibs_check_method=pass_all
3548
 
  ;;
3549
 
 
3550
4765
solaris*)
3551
4766
  lt_cv_deplibs_check_method=pass_all
3552
4767
  ;;
3553
4768
 
3554
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
4769
sysv4 | sysv4.3*)
3555
4770
  case $host_vendor in
3556
4771
  motorola)
3557
4772
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3572
4787
  siemens)
3573
4788
    lt_cv_deplibs_check_method=pass_all
3574
4789
    ;;
 
4790
  pc)
 
4791
    lt_cv_deplibs_check_method=pass_all
 
4792
    ;;
3575
4793
  esac
3576
4794
  ;;
3577
4795
 
3578
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
 
4796
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3579
4797
  lt_cv_deplibs_check_method=pass_all
3580
4798
  ;;
3581
4799
esac
3582
4800
 
3583
4801
fi
3584
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3585
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
4802
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4803
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
3586
4804
file_magic_cmd=$lt_cv_file_magic_cmd
3587
4805
deplibs_check_method=$lt_cv_deplibs_check_method
3588
4806
test -z "$deplibs_check_method" && deplibs_check_method=unknown
3593
4811
# If no C compiler was specified, use CC.
3594
4812
LTCC=${LTCC-"$CC"}
3595
4813
 
 
4814
# If no C compiler flags were specified, use CFLAGS.
 
4815
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
4816
 
3596
4817
# Allow CC to be a program name with arguments.
3597
4818
compiler=$CC
3598
4819
 
3599
4820
 
3600
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
4821
# Check whether --enable-libtool-lock was given.
3601
4822
if test "${enable_libtool_lock+set}" = set; then
3602
 
  enableval="$enable_libtool_lock"
 
4823
  enableval=$enable_libtool_lock;
 
4824
fi
3603
4825
 
3604
 
fi;
3605
4826
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3606
4827
 
3607
4828
# Some flags need to be propagated to the compiler or linker for good
3628
4849
  ;;
3629
4850
*-*-irix6*)
3630
4851
  # Find out which ABI we are using.
3631
 
  echo '#line 3631 "configure"' > conftest.$ac_ext
 
4852
  echo '#line 4852 "configure"' > conftest.$ac_ext
3632
4853
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3633
4854
  (eval $ac_compile) 2>&5
3634
4855
  ac_status=$?
3671
4892
  ac_status=$?
3672
4893
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673
4894
  (exit $ac_status); }; then
3674
 
    case "`/usr/bin/file conftest.o`" in
 
4895
    case `/usr/bin/file conftest.o` in
3675
4896
    *32-bit*)
3676
4897
      case $host in
3677
4898
        x86_64-*linux*)
3713
4934
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3714
4935
  SAVE_CFLAGS="$CFLAGS"
3715
4936
  CFLAGS="$CFLAGS -belf"
3716
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3717
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
4937
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
4938
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
3718
4939
if test "${lt_cv_cc_needs_belf+set}" = set; then
3719
4940
  echo $ECHO_N "(cached) $ECHO_C" >&6
3720
4941
else
3725
4946
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3726
4947
 
3727
4948
     cat >conftest.$ac_ext <<_ACEOF
3728
 
#line $LINENO "configure"
3729
4949
/* confdefs.h.  */
3730
4950
_ACEOF
3731
4951
cat confdefs.h >>conftest.$ac_ext
3741
4961
}
3742
4962
_ACEOF
3743
4963
rm -f conftest.$ac_objext conftest$ac_exeext
3744
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3745
 
  (eval $ac_link) 2>&5
 
4964
if { (ac_try="$ac_link"
 
4965
case "(($ac_try" in
 
4966
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4967
  *) ac_try_echo=$ac_try;;
 
4968
esac
 
4969
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4970
  (eval "$ac_link") 2>conftest.er1
3746
4971
  ac_status=$?
 
4972
  grep -v '^ *+' conftest.er1 >conftest.err
 
4973
  rm -f conftest.er1
 
4974
  cat conftest.err >&5
3747
4975
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748
4976
  (exit $ac_status); } &&
3749
 
         { ac_try='test -s conftest$ac_exeext'
3750
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3751
 
  (eval $ac_try) 2>&5
 
4977
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4978
  { (case "(($ac_try" in
 
4979
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4980
  *) ac_try_echo=$ac_try;;
 
4981
esac
 
4982
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4983
  (eval "$ac_try") 2>&5
 
4984
  ac_status=$?
 
4985
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4986
  (exit $ac_status); }; } &&
 
4987
         { ac_try='test -s conftest$ac_exeext'
 
4988
  { (case "(($ac_try" in
 
4989
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4990
  *) ac_try_echo=$ac_try;;
 
4991
esac
 
4992
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4993
  (eval "$ac_try") 2>&5
3752
4994
  ac_status=$?
3753
4995
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754
4996
  (exit $ac_status); }; }; then
3757
4999
  echo "$as_me: failed program was:" >&5
3758
5000
sed 's/^/| /' conftest.$ac_ext >&5
3759
5001
 
3760
 
lt_cv_cc_needs_belf=no
 
5002
        lt_cv_cc_needs_belf=no
3761
5003
fi
3762
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
5004
 
 
5005
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
5006
      conftest$ac_exeext conftest.$ac_ext
3763
5007
     ac_ext=c
3764
5008
ac_cpp='$CPP $CPPFLAGS'
3765
5009
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3767
5011
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3768
5012
 
3769
5013
fi
3770
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3771
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
5014
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
5015
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
3772
5016
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3773
5017
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3774
5018
    CFLAGS="$SAVE_CFLAGS"
3775
5019
  fi
3776
5020
  ;;
 
5021
sparc*-*solaris*)
 
5022
  # Find out which ABI we are using.
 
5023
  echo 'int i;' > conftest.$ac_ext
 
5024
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5025
  (eval $ac_compile) 2>&5
 
5026
  ac_status=$?
 
5027
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5028
  (exit $ac_status); }; then
 
5029
    case `/usr/bin/file conftest.o` in
 
5030
    *64-bit*)
 
5031
      case $lt_cv_prog_gnu_ld in
 
5032
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
5033
      *)    LD="${LD-ld} -64" ;;
 
5034
      esac
 
5035
      ;;
 
5036
    esac
 
5037
  fi
 
5038
  rm -rf conftest*
 
5039
  ;;
 
5040
 
3777
5041
 
3778
5042
esac
3779
5043
 
3785
5049
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3786
5050
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3787
5051
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3788
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3789
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
5052
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5053
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3790
5054
# On Suns, sometimes $CPP names a directory.
3791
5055
if test -n "$CPP" && test -d "$CPP"; then
3792
5056
  CPP=
3808
5072
  # On the NeXT, cc -E runs the code through the compiler's parser,
3809
5073
  # not just through cpp. "Syntax error" is here to catch this case.
3810
5074
  cat >conftest.$ac_ext <<_ACEOF
3811
 
#line $LINENO "configure"
3812
5075
/* confdefs.h.  */
3813
5076
_ACEOF
3814
5077
cat confdefs.h >>conftest.$ac_ext
3819
5082
#else
3820
5083
# include <assert.h>
3821
5084
#endif
3822
 
                     Syntax error
 
5085
                     Syntax error
3823
5086
_ACEOF
3824
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3825
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5087
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5088
case "(($ac_try" in
 
5089
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5090
  *) ac_try_echo=$ac_try;;
 
5091
esac
 
5092
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5093
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3826
5094
  ac_status=$?
3827
5095
  grep -v '^ *+' conftest.er1 >conftest.err
3828
5096
  rm -f conftest.er1
3831
5099
  (exit $ac_status); } >/dev/null; then
3832
5100
  if test -s conftest.err; then
3833
5101
    ac_cpp_err=$ac_c_preproc_warn_flag
 
5102
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3834
5103
  else
3835
5104
    ac_cpp_err=
3836
5105
  fi
3846
5115
  # Broken: fails on valid input.
3847
5116
continue
3848
5117
fi
 
5118
 
3849
5119
rm -f conftest.err conftest.$ac_ext
3850
5120
 
3851
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5121
  # OK, works on sane cases.  Now check whether nonexistent headers
3852
5122
  # can be detected and how.
3853
5123
  cat >conftest.$ac_ext <<_ACEOF
3854
 
#line $LINENO "configure"
3855
5124
/* confdefs.h.  */
3856
5125
_ACEOF
3857
5126
cat confdefs.h >>conftest.$ac_ext
3859
5128
/* end confdefs.h.  */
3860
5129
#include <ac_nonexistent.h>
3861
5130
_ACEOF
3862
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3863
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5131
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5132
case "(($ac_try" in
 
5133
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5134
  *) ac_try_echo=$ac_try;;
 
5135
esac
 
5136
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5137
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3864
5138
  ac_status=$?
3865
5139
  grep -v '^ *+' conftest.er1 >conftest.err
3866
5140
  rm -f conftest.er1
3869
5143
  (exit $ac_status); } >/dev/null; then
3870
5144
  if test -s conftest.err; then
3871
5145
    ac_cpp_err=$ac_c_preproc_warn_flag
 
5146
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3872
5147
  else
3873
5148
    ac_cpp_err=
3874
5149
  fi
3886
5161
ac_preproc_ok=:
3887
5162
break
3888
5163
fi
 
5164
 
3889
5165
rm -f conftest.err conftest.$ac_ext
3890
5166
 
3891
5167
done
3903
5179
else
3904
5180
  ac_cv_prog_CPP=$CPP
3905
5181
fi
3906
 
echo "$as_me:$LINENO: result: $CPP" >&5
3907
 
echo "${ECHO_T}$CPP" >&6
 
5182
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
5183
echo "${ECHO_T}$CPP" >&6; }
3908
5184
ac_preproc_ok=false
3909
5185
for ac_c_preproc_warn_flag in '' yes
3910
5186
do
3915
5191
  # On the NeXT, cc -E runs the code through the compiler's parser,
3916
5192
  # not just through cpp. "Syntax error" is here to catch this case.
3917
5193
  cat >conftest.$ac_ext <<_ACEOF
3918
 
#line $LINENO "configure"
3919
5194
/* confdefs.h.  */
3920
5195
_ACEOF
3921
5196
cat confdefs.h >>conftest.$ac_ext
3926
5201
#else
3927
5202
# include <assert.h>
3928
5203
#endif
3929
 
                     Syntax error
 
5204
                     Syntax error
3930
5205
_ACEOF
3931
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3932
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5206
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5207
case "(($ac_try" in
 
5208
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5209
  *) ac_try_echo=$ac_try;;
 
5210
esac
 
5211
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5212
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3933
5213
  ac_status=$?
3934
5214
  grep -v '^ *+' conftest.er1 >conftest.err
3935
5215
  rm -f conftest.er1
3938
5218
  (exit $ac_status); } >/dev/null; then
3939
5219
  if test -s conftest.err; then
3940
5220
    ac_cpp_err=$ac_c_preproc_warn_flag
 
5221
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3941
5222
  else
3942
5223
    ac_cpp_err=
3943
5224
  fi
3953
5234
  # Broken: fails on valid input.
3954
5235
continue
3955
5236
fi
 
5237
 
3956
5238
rm -f conftest.err conftest.$ac_ext
3957
5239
 
3958
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5240
  # OK, works on sane cases.  Now check whether nonexistent headers
3959
5241
  # can be detected and how.
3960
5242
  cat >conftest.$ac_ext <<_ACEOF
3961
 
#line $LINENO "configure"
3962
5243
/* confdefs.h.  */
3963
5244
_ACEOF
3964
5245
cat confdefs.h >>conftest.$ac_ext
3966
5247
/* end confdefs.h.  */
3967
5248
#include <ac_nonexistent.h>
3968
5249
_ACEOF
3969
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3970
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5250
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5251
case "(($ac_try" in
 
5252
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5253
  *) ac_try_echo=$ac_try;;
 
5254
esac
 
5255
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5256
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3971
5257
  ac_status=$?
3972
5258
  grep -v '^ *+' conftest.er1 >conftest.err
3973
5259
  rm -f conftest.er1
3976
5262
  (exit $ac_status); } >/dev/null; then
3977
5263
  if test -s conftest.err; then
3978
5264
    ac_cpp_err=$ac_c_preproc_warn_flag
 
5265
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3979
5266
  else
3980
5267
    ac_cpp_err=
3981
5268
  fi
3993
5280
ac_preproc_ok=:
3994
5281
break
3995
5282
fi
 
5283
 
3996
5284
rm -f conftest.err conftest.$ac_ext
3997
5285
 
3998
5286
done
4015
5303
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4016
5304
 
4017
5305
 
4018
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4019
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
5306
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5307
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4020
5308
if test "${ac_cv_header_stdc+set}" = set; then
4021
5309
  echo $ECHO_N "(cached) $ECHO_C" >&6
4022
5310
else
4023
5311
  cat >conftest.$ac_ext <<_ACEOF
4024
 
#line $LINENO "configure"
4025
5312
/* confdefs.h.  */
4026
5313
_ACEOF
4027
5314
cat confdefs.h >>conftest.$ac_ext
4041
5328
}
4042
5329
_ACEOF
4043
5330
rm -f conftest.$ac_objext
4044
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4045
 
  (eval $ac_compile) 2>&5
 
5331
if { (ac_try="$ac_compile"
 
5332
case "(($ac_try" in
 
5333
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5334
  *) ac_try_echo=$ac_try;;
 
5335
esac
 
5336
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5337
  (eval "$ac_compile") 2>conftest.er1
4046
5338
  ac_status=$?
 
5339
  grep -v '^ *+' conftest.er1 >conftest.err
 
5340
  rm -f conftest.er1
 
5341
  cat conftest.err >&5
4047
5342
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048
5343
  (exit $ac_status); } &&
4049
 
         { ac_try='test -s conftest.$ac_objext'
4050
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4051
 
  (eval $ac_try) 2>&5
 
5344
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5345
  { (case "(($ac_try" in
 
5346
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5347
  *) ac_try_echo=$ac_try;;
 
5348
esac
 
5349
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5350
  (eval "$ac_try") 2>&5
 
5351
  ac_status=$?
 
5352
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5353
  (exit $ac_status); }; } &&
 
5354
         { ac_try='test -s conftest.$ac_objext'
 
5355
  { (case "(($ac_try" in
 
5356
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5357
  *) ac_try_echo=$ac_try;;
 
5358
esac
 
5359
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5360
  (eval "$ac_try") 2>&5
4052
5361
  ac_status=$?
4053
5362
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054
5363
  (exit $ac_status); }; }; then
4057
5366
  echo "$as_me: failed program was:" >&5
4058
5367
sed 's/^/| /' conftest.$ac_ext >&5
4059
5368
 
4060
 
ac_cv_header_stdc=no
 
5369
        ac_cv_header_stdc=no
4061
5370
fi
4062
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5371
 
 
5372
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4063
5373
 
4064
5374
if test $ac_cv_header_stdc = yes; then
4065
5375
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4066
5376
  cat >conftest.$ac_ext <<_ACEOF
4067
 
#line $LINENO "configure"
4068
5377
/* confdefs.h.  */
4069
5378
_ACEOF
4070
5379
cat confdefs.h >>conftest.$ac_ext
4086
5395
if test $ac_cv_header_stdc = yes; then
4087
5396
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4088
5397
  cat >conftest.$ac_ext <<_ACEOF
4089
 
#line $LINENO "configure"
4090
5398
/* confdefs.h.  */
4091
5399
_ACEOF
4092
5400
cat confdefs.h >>conftest.$ac_ext
4111
5419
  :
4112
5420
else
4113
5421
  cat >conftest.$ac_ext <<_ACEOF
4114
 
#line $LINENO "configure"
4115
5422
/* confdefs.h.  */
4116
5423
_ACEOF
4117
5424
cat confdefs.h >>conftest.$ac_ext
4118
5425
cat >>conftest.$ac_ext <<_ACEOF
4119
5426
/* end confdefs.h.  */
4120
5427
#include <ctype.h>
 
5428
#include <stdlib.h>
4121
5429
#if ((' ' & 0x0FF) == 0x020)
4122
5430
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4123
5431
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4124
5432
#else
4125
5433
# define ISLOWER(c) \
4126
 
                   (('a' <= (c) && (c) <= 'i') \
4127
 
                     || ('j' <= (c) && (c) <= 'r') \
4128
 
                     || ('s' <= (c) && (c) <= 'z'))
 
5434
                   (('a' <= (c) && (c) <= 'i') \
 
5435
                     || ('j' <= (c) && (c) <= 'r') \
 
5436
                     || ('s' <= (c) && (c) <= 'z'))
4129
5437
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4130
5438
#endif
4131
5439
 
4136
5444
  int i;
4137
5445
  for (i = 0; i < 256; i++)
4138
5446
    if (XOR (islower (i), ISLOWER (i))
4139
 
        || toupper (i) != TOUPPER (i))
4140
 
      exit(2);
4141
 
  exit (0);
 
5447
        || toupper (i) != TOUPPER (i))
 
5448
      return 2;
 
5449
  return 0;
4142
5450
}
4143
5451
_ACEOF
4144
5452
rm -f conftest$ac_exeext
4145
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4146
 
  (eval $ac_link) 2>&5
 
5453
if { (ac_try="$ac_link"
 
5454
case "(($ac_try" in
 
5455
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5456
  *) ac_try_echo=$ac_try;;
 
5457
esac
 
5458
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5459
  (eval "$ac_link") 2>&5
4147
5460
  ac_status=$?
4148
5461
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149
5462
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4150
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4151
 
  (eval $ac_try) 2>&5
 
5463
  { (case "(($ac_try" in
 
5464
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5465
  *) ac_try_echo=$ac_try;;
 
5466
esac
 
5467
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5468
  (eval "$ac_try") 2>&5
4152
5469
  ac_status=$?
4153
5470
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154
5471
  (exit $ac_status); }; }; then
4161
5478
( exit $ac_status )
4162
5479
ac_cv_header_stdc=no
4163
5480
fi
4164
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4165
 
fi
4166
 
fi
4167
 
fi
4168
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4169
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
5481
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5482
fi
 
5483
 
 
5484
 
 
5485
fi
 
5486
fi
 
5487
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5488
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4170
5489
if test $ac_cv_header_stdc = yes; then
4171
5490
 
4172
5491
cat >>confdefs.h <<\_ACEOF
4186
5505
 
4187
5506
 
4188
5507
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4189
 
                  inttypes.h stdint.h unistd.h
 
5508
                  inttypes.h stdint.h unistd.h
4190
5509
do
4191
5510
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4192
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4193
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4194
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5511
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5512
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5513
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4195
5514
  echo $ECHO_N "(cached) $ECHO_C" >&6
4196
5515
else
4197
5516
  cat >conftest.$ac_ext <<_ACEOF
4198
 
#line $LINENO "configure"
4199
5517
/* confdefs.h.  */
4200
5518
_ACEOF
4201
5519
cat confdefs.h >>conftest.$ac_ext
4206
5524
#include <$ac_header>
4207
5525
_ACEOF
4208
5526
rm -f conftest.$ac_objext
4209
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4210
 
  (eval $ac_compile) 2>&5
 
5527
if { (ac_try="$ac_compile"
 
5528
case "(($ac_try" in
 
5529
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5530
  *) ac_try_echo=$ac_try;;
 
5531
esac
 
5532
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5533
  (eval "$ac_compile") 2>conftest.er1
4211
5534
  ac_status=$?
 
5535
  grep -v '^ *+' conftest.er1 >conftest.err
 
5536
  rm -f conftest.er1
 
5537
  cat conftest.err >&5
4212
5538
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4213
5539
  (exit $ac_status); } &&
4214
 
         { ac_try='test -s conftest.$ac_objext'
4215
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4216
 
  (eval $ac_try) 2>&5
 
5540
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5541
  { (case "(($ac_try" in
 
5542
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5543
  *) ac_try_echo=$ac_try;;
 
5544
esac
 
5545
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5546
  (eval "$ac_try") 2>&5
 
5547
  ac_status=$?
 
5548
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5549
  (exit $ac_status); }; } &&
 
5550
         { ac_try='test -s conftest.$ac_objext'
 
5551
  { (case "(($ac_try" in
 
5552
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5553
  *) ac_try_echo=$ac_try;;
 
5554
esac
 
5555
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5556
  (eval "$ac_try") 2>&5
4217
5557
  ac_status=$?
4218
5558
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4219
5559
  (exit $ac_status); }; }; then
4222
5562
  echo "$as_me: failed program was:" >&5
4223
5563
sed 's/^/| /' conftest.$ac_ext >&5
4224
5564
 
4225
 
eval "$as_ac_Header=no"
4226
 
fi
4227
 
rm -f conftest.$ac_objext conftest.$ac_ext
4228
 
fi
4229
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4230
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5565
        eval "$as_ac_Header=no"
 
5566
fi
 
5567
 
 
5568
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5569
fi
 
5570
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5571
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5572
echo "${ECHO_T}$ac_res" >&6; }
4231
5573
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4232
5574
  cat >>confdefs.h <<_ACEOF
4233
5575
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4242
5584
for ac_header in dlfcn.h
4243
5585
do
4244
5586
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4245
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4246
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4247
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4248
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5587
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5588
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5589
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5590
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4249
5591
  echo $ECHO_N "(cached) $ECHO_C" >&6
4250
5592
fi
4251
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4252
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5593
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5594
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5595
echo "${ECHO_T}$ac_res" >&6; }
4253
5596
else
4254
5597
  # Is the header compilable?
4255
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4256
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5598
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5599
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4257
5600
cat >conftest.$ac_ext <<_ACEOF
4258
 
#line $LINENO "configure"
4259
5601
/* confdefs.h.  */
4260
5602
_ACEOF
4261
5603
cat confdefs.h >>conftest.$ac_ext
4265
5607
#include <$ac_header>
4266
5608
_ACEOF
4267
5609
rm -f conftest.$ac_objext
4268
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4269
 
  (eval $ac_compile) 2>&5
 
5610
if { (ac_try="$ac_compile"
 
5611
case "(($ac_try" in
 
5612
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5613
  *) ac_try_echo=$ac_try;;
 
5614
esac
 
5615
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5616
  (eval "$ac_compile") 2>conftest.er1
4270
5617
  ac_status=$?
 
5618
  grep -v '^ *+' conftest.er1 >conftest.err
 
5619
  rm -f conftest.er1
 
5620
  cat conftest.err >&5
4271
5621
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272
5622
  (exit $ac_status); } &&
4273
 
         { ac_try='test -s conftest.$ac_objext'
4274
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4275
 
  (eval $ac_try) 2>&5
 
5623
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5624
  { (case "(($ac_try" in
 
5625
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5626
  *) ac_try_echo=$ac_try;;
 
5627
esac
 
5628
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5629
  (eval "$ac_try") 2>&5
 
5630
  ac_status=$?
 
5631
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5632
  (exit $ac_status); }; } &&
 
5633
         { ac_try='test -s conftest.$ac_objext'
 
5634
  { (case "(($ac_try" in
 
5635
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5636
  *) ac_try_echo=$ac_try;;
 
5637
esac
 
5638
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5639
  (eval "$ac_try") 2>&5
4276
5640
  ac_status=$?
4277
5641
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278
5642
  (exit $ac_status); }; }; then
4281
5645
  echo "$as_me: failed program was:" >&5
4282
5646
sed 's/^/| /' conftest.$ac_ext >&5
4283
5647
 
4284
 
ac_header_compiler=no
 
5648
        ac_header_compiler=no
4285
5649
fi
4286
 
rm -f conftest.$ac_objext conftest.$ac_ext
4287
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4288
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5650
 
 
5651
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5652
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5653
echo "${ECHO_T}$ac_header_compiler" >&6; }
4289
5654
 
4290
5655
# Is the header present?
4291
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4292
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5656
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5657
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4293
5658
cat >conftest.$ac_ext <<_ACEOF
4294
 
#line $LINENO "configure"
4295
5659
/* confdefs.h.  */
4296
5660
_ACEOF
4297
5661
cat confdefs.h >>conftest.$ac_ext
4299
5663
/* end confdefs.h.  */
4300
5664
#include <$ac_header>
4301
5665
_ACEOF
4302
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4303
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5666
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5667
case "(($ac_try" in
 
5668
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5669
  *) ac_try_echo=$ac_try;;
 
5670
esac
 
5671
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5672
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4304
5673
  ac_status=$?
4305
5674
  grep -v '^ *+' conftest.er1 >conftest.err
4306
5675
  rm -f conftest.er1
4309
5678
  (exit $ac_status); } >/dev/null; then
4310
5679
  if test -s conftest.err; then
4311
5680
    ac_cpp_err=$ac_c_preproc_warn_flag
 
5681
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4312
5682
  else
4313
5683
    ac_cpp_err=
4314
5684
  fi
4323
5693
 
4324
5694
  ac_header_preproc=no
4325
5695
fi
 
5696
 
4326
5697
rm -f conftest.err conftest.$ac_ext
4327
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4328
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5698
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5699
echo "${ECHO_T}$ac_header_preproc" >&6; }
4329
5700
 
4330
5701
# So?  What about this header?
4331
 
case $ac_header_compiler:$ac_header_preproc in
4332
 
  yes:no )
 
5702
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
5703
  yes:no: )
4333
5704
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4334
5705
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4335
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4336
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4337
 
    (
4338
 
      cat <<\_ASBOX
4339
 
## ------------------------------------ ##
4340
 
## Report this to bug-autoconf@gnu.org. ##
4341
 
## ------------------------------------ ##
4342
 
_ASBOX
4343
 
    ) |
4344
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5706
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5707
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5708
    ac_header_preproc=yes
4345
5709
    ;;
4346
 
  no:yes )
 
5710
  no:yes:* )
4347
5711
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4348
5712
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4349
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4350
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
5713
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5714
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5715
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5716
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5717
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5718
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4351
5719
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4352
5720
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4353
 
    (
4354
 
      cat <<\_ASBOX
4355
 
## ------------------------------------ ##
4356
 
## Report this to bug-autoconf@gnu.org. ##
4357
 
## ------------------------------------ ##
 
5721
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5722
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
5723
    ( cat <<\_ASBOX
 
5724
## ------------------------------- ##
 
5725
## Report this to remco@sx.mine.nu ##
 
5726
## ------------------------------- ##
4358
5727
_ASBOX
4359
 
    ) |
4360
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5728
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4361
5729
    ;;
4362
5730
esac
4363
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4364
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4365
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5731
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5732
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5733
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4366
5734
  echo $ECHO_N "(cached) $ECHO_C" >&6
4367
5735
else
4368
 
  eval "$as_ac_Header=$ac_header_preproc"
 
5736
  eval "$as_ac_Header=\$ac_header_preproc"
4369
5737
fi
4370
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4371
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5738
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5739
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5740
echo "${ECHO_T}$ac_res" >&6; }
4372
5741
 
4373
5742
fi
4374
5743
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4380
5749
 
4381
5750
done
4382
5751
 
4383
 
ac_ext=cc
 
5752
ac_ext=cpp
4384
5753
ac_cpp='$CXXCPP $CPPFLAGS'
4385
5754
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4386
5755
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4387
5756
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4388
 
if test -n "$ac_tool_prefix"; then
4389
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5757
if test -z "$CXX"; then
 
5758
  if test -n "$CCC"; then
 
5759
    CXX=$CCC
 
5760
  else
 
5761
    if test -n "$ac_tool_prefix"; then
 
5762
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4390
5763
  do
4391
5764
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4392
5765
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4393
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4394
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5766
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5767
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4395
5768
if test "${ac_cv_prog_CXX+set}" = set; then
4396
5769
  echo $ECHO_N "(cached) $ECHO_C" >&6
4397
5770
else
4404
5777
  IFS=$as_save_IFS
4405
5778
  test -z "$as_dir" && as_dir=.
4406
5779
  for ac_exec_ext in '' $ac_executable_extensions; do
4407
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5780
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4408
5781
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4409
5782
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4410
5783
    break 2
4411
5784
  fi
4412
5785
done
4413
5786
done
 
5787
IFS=$as_save_IFS
4414
5788
 
4415
5789
fi
4416
5790
fi
4417
5791
CXX=$ac_cv_prog_CXX
4418
5792
if test -n "$CXX"; then
4419
 
  echo "$as_me:$LINENO: result: $CXX" >&5
4420
 
echo "${ECHO_T}$CXX" >&6
 
5793
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
5794
echo "${ECHO_T}$CXX" >&6; }
4421
5795
else
4422
 
  echo "$as_me:$LINENO: result: no" >&5
4423
 
echo "${ECHO_T}no" >&6
 
5796
  { echo "$as_me:$LINENO: result: no" >&5
 
5797
echo "${ECHO_T}no" >&6; }
4424
5798
fi
4425
5799
 
 
5800
 
4426
5801
    test -n "$CXX" && break
4427
5802
  done
4428
5803
fi
4429
5804
if test -z "$CXX"; then
4430
5805
  ac_ct_CXX=$CXX
4431
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5806
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4432
5807
do
4433
5808
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4434
5809
set dummy $ac_prog; ac_word=$2
4435
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4436
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5810
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5811
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4437
5812
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4438
5813
  echo $ECHO_N "(cached) $ECHO_C" >&6
4439
5814
else
4446
5821
  IFS=$as_save_IFS
4447
5822
  test -z "$as_dir" && as_dir=.
4448
5823
  for ac_exec_ext in '' $ac_executable_extensions; do
4449
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5824
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4450
5825
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4451
5826
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4452
5827
    break 2
4453
5828
  fi
4454
5829
done
4455
5830
done
 
5831
IFS=$as_save_IFS
4456
5832
 
4457
5833
fi
4458
5834
fi
4459
5835
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4460
5836
if test -n "$ac_ct_CXX"; then
4461
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4462
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
5837
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5838
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4463
5839
else
4464
 
  echo "$as_me:$LINENO: result: no" >&5
4465
 
echo "${ECHO_T}no" >&6
 
5840
  { echo "$as_me:$LINENO: result: no" >&5
 
5841
echo "${ECHO_T}no" >&6; }
4466
5842
fi
4467
5843
 
 
5844
 
4468
5845
  test -n "$ac_ct_CXX" && break
4469
5846
done
4470
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4471
 
 
4472
 
  CXX=$ac_ct_CXX
4473
 
fi
4474
 
 
4475
 
 
 
5847
 
 
5848
  if test "x$ac_ct_CXX" = x; then
 
5849
    CXX="g++"
 
5850
  else
 
5851
    case $cross_compiling:$ac_tool_warned in
 
5852
yes:)
 
5853
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5854
whose name does not start with the host triplet.  If you think this
 
5855
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5856
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5857
whose name does not start with the host triplet.  If you think this
 
5858
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5859
ac_tool_warned=yes ;;
 
5860
esac
 
5861
    CXX=$ac_ct_CXX
 
5862
  fi
 
5863
fi
 
5864
 
 
5865
  fi
 
5866
fi
4476
5867
# Provide some information about the compiler.
4477
 
echo "$as_me:$LINENO:" \
4478
 
     "checking for C++ compiler version" >&5
 
5868
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4479
5869
ac_compiler=`set X $ac_compile; echo $2`
4480
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4481
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
4482
 
  ac_status=$?
4483
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484
 
  (exit $ac_status); }
4485
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4486
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
4487
 
  ac_status=$?
4488
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489
 
  (exit $ac_status); }
4490
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4491
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5870
{ (ac_try="$ac_compiler --version >&5"
 
5871
case "(($ac_try" in
 
5872
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5873
  *) ac_try_echo=$ac_try;;
 
5874
esac
 
5875
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5876
  (eval "$ac_compiler --version >&5") 2>&5
 
5877
  ac_status=$?
 
5878
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5879
  (exit $ac_status); }
 
5880
{ (ac_try="$ac_compiler -v >&5"
 
5881
case "(($ac_try" in
 
5882
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5883
  *) ac_try_echo=$ac_try;;
 
5884
esac
 
5885
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5886
  (eval "$ac_compiler -v >&5") 2>&5
 
5887
  ac_status=$?
 
5888
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5889
  (exit $ac_status); }
 
5890
{ (ac_try="$ac_compiler -V >&5"
 
5891
case "(($ac_try" in
 
5892
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5893
  *) ac_try_echo=$ac_try;;
 
5894
esac
 
5895
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5896
  (eval "$ac_compiler -V >&5") 2>&5
4492
5897
  ac_status=$?
4493
5898
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494
5899
  (exit $ac_status); }
4495
5900
 
4496
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4497
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
5901
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5902
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4498
5903
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4499
5904
  echo $ECHO_N "(cached) $ECHO_C" >&6
4500
5905
else
4501
5906
  cat >conftest.$ac_ext <<_ACEOF
4502
 
#line $LINENO "configure"
4503
5907
/* confdefs.h.  */
4504
5908
_ACEOF
4505
5909
cat confdefs.h >>conftest.$ac_ext
4518
5922
}
4519
5923
_ACEOF
4520
5924
rm -f conftest.$ac_objext
4521
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4522
 
  (eval $ac_compile) 2>&5
 
5925
if { (ac_try="$ac_compile"
 
5926
case "(($ac_try" in
 
5927
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5928
  *) ac_try_echo=$ac_try;;
 
5929
esac
 
5930
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5931
  (eval "$ac_compile") 2>conftest.er1
4523
5932
  ac_status=$?
 
5933
  grep -v '^ *+' conftest.er1 >conftest.err
 
5934
  rm -f conftest.er1
 
5935
  cat conftest.err >&5
4524
5936
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525
5937
  (exit $ac_status); } &&
4526
 
         { ac_try='test -s conftest.$ac_objext'
4527
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4528
 
  (eval $ac_try) 2>&5
 
5938
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5939
  { (case "(($ac_try" in
 
5940
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5941
  *) ac_try_echo=$ac_try;;
 
5942
esac
 
5943
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5944
  (eval "$ac_try") 2>&5
 
5945
  ac_status=$?
 
5946
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5947
  (exit $ac_status); }; } &&
 
5948
         { ac_try='test -s conftest.$ac_objext'
 
5949
  { (case "(($ac_try" in
 
5950
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5951
  *) ac_try_echo=$ac_try;;
 
5952
esac
 
5953
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5954
  (eval "$ac_try") 2>&5
4529
5955
  ac_status=$?
4530
5956
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531
5957
  (exit $ac_status); }; }; then
4534
5960
  echo "$as_me: failed program was:" >&5
4535
5961
sed 's/^/| /' conftest.$ac_ext >&5
4536
5962
 
4537
 
ac_compiler_gnu=no
 
5963
        ac_compiler_gnu=no
4538
5964
fi
4539
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
5965
 
 
5966
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4540
5967
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4541
5968
 
4542
5969
fi
4543
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4544
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
5970
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
5971
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4545
5972
GXX=`test $ac_compiler_gnu = yes && echo yes`
4546
5973
ac_test_CXXFLAGS=${CXXFLAGS+set}
4547
5974
ac_save_CXXFLAGS=$CXXFLAGS
4548
 
CXXFLAGS="-g"
4549
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4550
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
5975
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
5976
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4551
5977
if test "${ac_cv_prog_cxx_g+set}" = set; then
4552
5978
  echo $ECHO_N "(cached) $ECHO_C" >&6
4553
5979
else
4554
 
  cat >conftest.$ac_ext <<_ACEOF
4555
 
#line $LINENO "configure"
4556
 
/* confdefs.h.  */
4557
 
_ACEOF
4558
 
cat confdefs.h >>conftest.$ac_ext
4559
 
cat >>conftest.$ac_ext <<_ACEOF
4560
 
/* end confdefs.h.  */
4561
 
 
4562
 
int
4563
 
main ()
4564
 
{
4565
 
 
4566
 
  ;
4567
 
  return 0;
4568
 
}
4569
 
_ACEOF
4570
 
rm -f conftest.$ac_objext
4571
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4572
 
  (eval $ac_compile) 2>&5
4573
 
  ac_status=$?
4574
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575
 
  (exit $ac_status); } &&
4576
 
         { ac_try='test -s conftest.$ac_objext'
4577
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4578
 
  (eval $ac_try) 2>&5
4579
 
  ac_status=$?
4580
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581
 
  (exit $ac_status); }; }; then
4582
 
  ac_cv_prog_cxx_g=yes
4583
 
else
4584
 
  echo "$as_me: failed program was:" >&5
4585
 
sed 's/^/| /' conftest.$ac_ext >&5
4586
 
 
4587
 
ac_cv_prog_cxx_g=no
4588
 
fi
4589
 
rm -f conftest.$ac_objext conftest.$ac_ext
4590
 
fi
4591
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4592
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
5980
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
5981
   ac_cxx_werror_flag=yes
 
5982
   ac_cv_prog_cxx_g=no
 
5983
   CXXFLAGS="-g"
 
5984
   cat >conftest.$ac_ext <<_ACEOF
 
5985
/* confdefs.h.  */
 
5986
_ACEOF
 
5987
cat confdefs.h >>conftest.$ac_ext
 
5988
cat >>conftest.$ac_ext <<_ACEOF
 
5989
/* end confdefs.h.  */
 
5990
 
 
5991
int
 
5992
main ()
 
5993
{
 
5994
 
 
5995
  ;
 
5996
  return 0;
 
5997
}
 
5998
_ACEOF
 
5999
rm -f conftest.$ac_objext
 
6000
if { (ac_try="$ac_compile"
 
6001
case "(($ac_try" in
 
6002
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6003
  *) ac_try_echo=$ac_try;;
 
6004
esac
 
6005
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6006
  (eval "$ac_compile") 2>conftest.er1
 
6007
  ac_status=$?
 
6008
  grep -v '^ *+' conftest.er1 >conftest.err
 
6009
  rm -f conftest.er1
 
6010
  cat conftest.err >&5
 
6011
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6012
  (exit $ac_status); } &&
 
6013
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6014
  { (case "(($ac_try" in
 
6015
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6016
  *) ac_try_echo=$ac_try;;
 
6017
esac
 
6018
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6019
  (eval "$ac_try") 2>&5
 
6020
  ac_status=$?
 
6021
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6022
  (exit $ac_status); }; } &&
 
6023
         { ac_try='test -s conftest.$ac_objext'
 
6024
  { (case "(($ac_try" in
 
6025
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6026
  *) ac_try_echo=$ac_try;;
 
6027
esac
 
6028
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6029
  (eval "$ac_try") 2>&5
 
6030
  ac_status=$?
 
6031
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6032
  (exit $ac_status); }; }; then
 
6033
  ac_cv_prog_cxx_g=yes
 
6034
else
 
6035
  echo "$as_me: failed program was:" >&5
 
6036
sed 's/^/| /' conftest.$ac_ext >&5
 
6037
 
 
6038
        CXXFLAGS=""
 
6039
      cat >conftest.$ac_ext <<_ACEOF
 
6040
/* confdefs.h.  */
 
6041
_ACEOF
 
6042
cat confdefs.h >>conftest.$ac_ext
 
6043
cat >>conftest.$ac_ext <<_ACEOF
 
6044
/* end confdefs.h.  */
 
6045
 
 
6046
int
 
6047
main ()
 
6048
{
 
6049
 
 
6050
  ;
 
6051
  return 0;
 
6052
}
 
6053
_ACEOF
 
6054
rm -f conftest.$ac_objext
 
6055
if { (ac_try="$ac_compile"
 
6056
case "(($ac_try" in
 
6057
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6058
  *) ac_try_echo=$ac_try;;
 
6059
esac
 
6060
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6061
  (eval "$ac_compile") 2>conftest.er1
 
6062
  ac_status=$?
 
6063
  grep -v '^ *+' conftest.er1 >conftest.err
 
6064
  rm -f conftest.er1
 
6065
  cat conftest.err >&5
 
6066
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6067
  (exit $ac_status); } &&
 
6068
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6069
  { (case "(($ac_try" in
 
6070
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6071
  *) ac_try_echo=$ac_try;;
 
6072
esac
 
6073
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6074
  (eval "$ac_try") 2>&5
 
6075
  ac_status=$?
 
6076
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6077
  (exit $ac_status); }; } &&
 
6078
         { ac_try='test -s conftest.$ac_objext'
 
6079
  { (case "(($ac_try" in
 
6080
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6081
  *) ac_try_echo=$ac_try;;
 
6082
esac
 
6083
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6084
  (eval "$ac_try") 2>&5
 
6085
  ac_status=$?
 
6086
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6087
  (exit $ac_status); }; }; then
 
6088
  :
 
6089
else
 
6090
  echo "$as_me: failed program was:" >&5
 
6091
sed 's/^/| /' conftest.$ac_ext >&5
 
6092
 
 
6093
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6094
         CXXFLAGS="-g"
 
6095
         cat >conftest.$ac_ext <<_ACEOF
 
6096
/* confdefs.h.  */
 
6097
_ACEOF
 
6098
cat confdefs.h >>conftest.$ac_ext
 
6099
cat >>conftest.$ac_ext <<_ACEOF
 
6100
/* end confdefs.h.  */
 
6101
 
 
6102
int
 
6103
main ()
 
6104
{
 
6105
 
 
6106
  ;
 
6107
  return 0;
 
6108
}
 
6109
_ACEOF
 
6110
rm -f conftest.$ac_objext
 
6111
if { (ac_try="$ac_compile"
 
6112
case "(($ac_try" in
 
6113
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6114
  *) ac_try_echo=$ac_try;;
 
6115
esac
 
6116
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6117
  (eval "$ac_compile") 2>conftest.er1
 
6118
  ac_status=$?
 
6119
  grep -v '^ *+' conftest.er1 >conftest.err
 
6120
  rm -f conftest.er1
 
6121
  cat conftest.err >&5
 
6122
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6123
  (exit $ac_status); } &&
 
6124
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
6125
  { (case "(($ac_try" in
 
6126
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6127
  *) ac_try_echo=$ac_try;;
 
6128
esac
 
6129
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6130
  (eval "$ac_try") 2>&5
 
6131
  ac_status=$?
 
6132
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6133
  (exit $ac_status); }; } &&
 
6134
         { ac_try='test -s conftest.$ac_objext'
 
6135
  { (case "(($ac_try" in
 
6136
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6137
  *) ac_try_echo=$ac_try;;
 
6138
esac
 
6139
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6140
  (eval "$ac_try") 2>&5
 
6141
  ac_status=$?
 
6142
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6143
  (exit $ac_status); }; }; then
 
6144
  ac_cv_prog_cxx_g=yes
 
6145
else
 
6146
  echo "$as_me: failed program was:" >&5
 
6147
sed 's/^/| /' conftest.$ac_ext >&5
 
6148
 
 
6149
 
 
6150
fi
 
6151
 
 
6152
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6153
fi
 
6154
 
 
6155
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6156
fi
 
6157
 
 
6158
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6159
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6160
fi
 
6161
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
6162
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4593
6163
if test "$ac_test_CXXFLAGS" = set; then
4594
6164
  CXXFLAGS=$ac_save_CXXFLAGS
4595
6165
elif test $ac_cv_prog_cxx_g = yes; then
4605
6175
    CXXFLAGS=
4606
6176
  fi
4607
6177
fi
4608
 
for ac_declaration in \
4609
 
   ''\
4610
 
   '#include <stdlib.h>' \
4611
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4612
 
   'extern "C" void std::exit (int); using std::exit;' \
4613
 
   'extern "C" void exit (int) throw ();' \
4614
 
   'extern "C" void exit (int);' \
4615
 
   'void exit (int);'
4616
 
do
4617
 
  cat >conftest.$ac_ext <<_ACEOF
4618
 
#line $LINENO "configure"
4619
 
/* confdefs.h.  */
4620
 
_ACEOF
4621
 
cat confdefs.h >>conftest.$ac_ext
4622
 
cat >>conftest.$ac_ext <<_ACEOF
4623
 
/* end confdefs.h.  */
4624
 
#include <stdlib.h>
4625
 
$ac_declaration
4626
 
int
4627
 
main ()
4628
 
{
4629
 
exit (42);
4630
 
  ;
4631
 
  return 0;
4632
 
}
4633
 
_ACEOF
4634
 
rm -f conftest.$ac_objext
4635
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4636
 
  (eval $ac_compile) 2>&5
4637
 
  ac_status=$?
4638
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639
 
  (exit $ac_status); } &&
4640
 
         { ac_try='test -s conftest.$ac_objext'
4641
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4642
 
  (eval $ac_try) 2>&5
4643
 
  ac_status=$?
4644
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645
 
  (exit $ac_status); }; }; then
4646
 
  :
4647
 
else
4648
 
  echo "$as_me: failed program was:" >&5
4649
 
sed 's/^/| /' conftest.$ac_ext >&5
4650
 
 
4651
 
continue
4652
 
fi
4653
 
rm -f conftest.$ac_objext conftest.$ac_ext
4654
 
  cat >conftest.$ac_ext <<_ACEOF
4655
 
#line $LINENO "configure"
4656
 
/* confdefs.h.  */
4657
 
_ACEOF
4658
 
cat confdefs.h >>conftest.$ac_ext
4659
 
cat >>conftest.$ac_ext <<_ACEOF
4660
 
/* end confdefs.h.  */
4661
 
$ac_declaration
4662
 
int
4663
 
main ()
4664
 
{
4665
 
exit (42);
4666
 
  ;
4667
 
  return 0;
4668
 
}
4669
 
_ACEOF
4670
 
rm -f conftest.$ac_objext
4671
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4672
 
  (eval $ac_compile) 2>&5
4673
 
  ac_status=$?
4674
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675
 
  (exit $ac_status); } &&
4676
 
         { ac_try='test -s conftest.$ac_objext'
4677
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4678
 
  (eval $ac_try) 2>&5
4679
 
  ac_status=$?
4680
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681
 
  (exit $ac_status); }; }; then
4682
 
  break
4683
 
else
4684
 
  echo "$as_me: failed program was:" >&5
4685
 
sed 's/^/| /' conftest.$ac_ext >&5
4686
 
 
4687
 
fi
4688
 
rm -f conftest.$ac_objext conftest.$ac_ext
4689
 
done
4690
 
rm -f conftest*
4691
 
if test -n "$ac_declaration"; then
4692
 
  echo '#ifdef __cplusplus' >>confdefs.h
4693
 
  echo $ac_declaration      >>confdefs.h
4694
 
  echo '#endif'             >>confdefs.h
4695
 
fi
4696
 
 
4697
 
ac_ext=cc
 
6178
ac_ext=cpp
4698
6179
ac_cpp='$CXXCPP $CPPFLAGS'
4699
6180
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4700
6181
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4702
6183
 
4703
6184
depcc="$CXX"  am_compiler_list=
4704
6185
 
4705
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4706
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
6186
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
6187
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4707
6188
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4708
6189
  echo $ECHO_N "(cached) $ECHO_C" >&6
4709
6190
else
4741
6222
    : > sub/conftest.c
4742
6223
    for i in 1 2 3 4 5 6; do
4743
6224
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4744
 
      : > sub/conftst$i.h
 
6225
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
6226
      # Solaris 8's {/usr,}/bin/sh.
 
6227
      touch sub/conftst$i.h
4745
6228
    done
4746
6229
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4747
6230
 
4769
6252
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4770
6253
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4771
6254
      # icc doesn't choke on unknown options, it will just issue warnings
4772
 
      # (even with -Werror).  So we grep stderr for any message
4773
 
      # that says an option was ignored.
4774
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
6255
      # or remarks (even with -Werror).  So we grep stderr for any message
 
6256
      # that says an option was ignored or not supported.
 
6257
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
6258
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
6259
      # The diagnosis changed in icc 8.0:
 
6260
      #   icc: Command line remark: option '-MP' not supported
 
6261
      if (grep 'ignoring option' conftest.err ||
 
6262
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4775
6263
        am_cv_CXX_dependencies_compiler_type=$depmode
4776
6264
        break
4777
6265
      fi
4785
6273
fi
4786
6274
 
4787
6275
fi
4788
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4789
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
6276
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
6277
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4790
6278
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4791
6279
 
4792
6280
 
4802
6290
fi
4803
6291
 
4804
6292
 
4805
 
ac_ext=cc
 
6293
 
 
6294
 
 
6295
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
6296
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
6297
    (test "X$CXX" != "Xg++"))) ; then
 
6298
  ac_ext=cpp
4806
6299
ac_cpp='$CXXCPP $CPPFLAGS'
4807
6300
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4808
6301
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4809
6302
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4810
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4811
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
6303
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
6304
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4812
6305
if test -z "$CXXCPP"; then
4813
6306
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
4814
6307
  echo $ECHO_N "(cached) $ECHO_C" >&6
4826
6319
  # On the NeXT, cc -E runs the code through the compiler's parser,
4827
6320
  # not just through cpp. "Syntax error" is here to catch this case.
4828
6321
  cat >conftest.$ac_ext <<_ACEOF
4829
 
#line $LINENO "configure"
4830
6322
/* confdefs.h.  */
4831
6323
_ACEOF
4832
6324
cat confdefs.h >>conftest.$ac_ext
4837
6329
#else
4838
6330
# include <assert.h>
4839
6331
#endif
4840
 
                     Syntax error
 
6332
                     Syntax error
4841
6333
_ACEOF
4842
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4843
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6334
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6335
case "(($ac_try" in
 
6336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6337
  *) ac_try_echo=$ac_try;;
 
6338
esac
 
6339
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6340
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4844
6341
  ac_status=$?
4845
6342
  grep -v '^ *+' conftest.er1 >conftest.err
4846
6343
  rm -f conftest.er1
4849
6346
  (exit $ac_status); } >/dev/null; then
4850
6347
  if test -s conftest.err; then
4851
6348
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
6349
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4852
6350
  else
4853
6351
    ac_cpp_err=
4854
6352
  fi
4864
6362
  # Broken: fails on valid input.
4865
6363
continue
4866
6364
fi
 
6365
 
4867
6366
rm -f conftest.err conftest.$ac_ext
4868
6367
 
4869
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6368
  # OK, works on sane cases.  Now check whether nonexistent headers
4870
6369
  # can be detected and how.
4871
6370
  cat >conftest.$ac_ext <<_ACEOF
4872
 
#line $LINENO "configure"
4873
6371
/* confdefs.h.  */
4874
6372
_ACEOF
4875
6373
cat confdefs.h >>conftest.$ac_ext
4877
6375
/* end confdefs.h.  */
4878
6376
#include <ac_nonexistent.h>
4879
6377
_ACEOF
4880
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4881
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6378
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6379
case "(($ac_try" in
 
6380
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6381
  *) ac_try_echo=$ac_try;;
 
6382
esac
 
6383
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6384
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4882
6385
  ac_status=$?
4883
6386
  grep -v '^ *+' conftest.er1 >conftest.err
4884
6387
  rm -f conftest.er1
4887
6390
  (exit $ac_status); } >/dev/null; then
4888
6391
  if test -s conftest.err; then
4889
6392
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
6393
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4890
6394
  else
4891
6395
    ac_cpp_err=
4892
6396
  fi
4904
6408
ac_preproc_ok=:
4905
6409
break
4906
6410
fi
 
6411
 
4907
6412
rm -f conftest.err conftest.$ac_ext
4908
6413
 
4909
6414
done
4921
6426
else
4922
6427
  ac_cv_prog_CXXCPP=$CXXCPP
4923
6428
fi
4924
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
4925
 
echo "${ECHO_T}$CXXCPP" >&6
 
6429
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
6430
echo "${ECHO_T}$CXXCPP" >&6; }
4926
6431
ac_preproc_ok=false
4927
6432
for ac_cxx_preproc_warn_flag in '' yes
4928
6433
do
4933
6438
  # On the NeXT, cc -E runs the code through the compiler's parser,
4934
6439
  # not just through cpp. "Syntax error" is here to catch this case.
4935
6440
  cat >conftest.$ac_ext <<_ACEOF
4936
 
#line $LINENO "configure"
4937
6441
/* confdefs.h.  */
4938
6442
_ACEOF
4939
6443
cat confdefs.h >>conftest.$ac_ext
4944
6448
#else
4945
6449
# include <assert.h>
4946
6450
#endif
4947
 
                     Syntax error
 
6451
                     Syntax error
4948
6452
_ACEOF
4949
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4950
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6453
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6454
case "(($ac_try" in
 
6455
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6456
  *) ac_try_echo=$ac_try;;
 
6457
esac
 
6458
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6459
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4951
6460
  ac_status=$?
4952
6461
  grep -v '^ *+' conftest.er1 >conftest.err
4953
6462
  rm -f conftest.er1
4956
6465
  (exit $ac_status); } >/dev/null; then
4957
6466
  if test -s conftest.err; then
4958
6467
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
6468
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4959
6469
  else
4960
6470
    ac_cpp_err=
4961
6471
  fi
4971
6481
  # Broken: fails on valid input.
4972
6482
continue
4973
6483
fi
 
6484
 
4974
6485
rm -f conftest.err conftest.$ac_ext
4975
6486
 
4976
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6487
  # OK, works on sane cases.  Now check whether nonexistent headers
4977
6488
  # can be detected and how.
4978
6489
  cat >conftest.$ac_ext <<_ACEOF
4979
 
#line $LINENO "configure"
4980
6490
/* confdefs.h.  */
4981
6491
_ACEOF
4982
6492
cat confdefs.h >>conftest.$ac_ext
4984
6494
/* end confdefs.h.  */
4985
6495
#include <ac_nonexistent.h>
4986
6496
_ACEOF
4987
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4988
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6497
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6498
case "(($ac_try" in
 
6499
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6500
  *) ac_try_echo=$ac_try;;
 
6501
esac
 
6502
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6503
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4989
6504
  ac_status=$?
4990
6505
  grep -v '^ *+' conftest.er1 >conftest.err
4991
6506
  rm -f conftest.er1
4994
6509
  (exit $ac_status); } >/dev/null; then
4995
6510
  if test -s conftest.err; then
4996
6511
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
6512
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4997
6513
  else
4998
6514
    ac_cpp_err=
4999
6515
  fi
5011
6527
ac_preproc_ok=:
5012
6528
break
5013
6529
fi
 
6530
 
5014
6531
rm -f conftest.err conftest.$ac_ext
5015
6532
 
5016
6533
done
5026
6543
   { (exit 1); exit 1; }; }
5027
6544
fi
5028
6545
 
5029
 
ac_ext=cc
 
6546
ac_ext=cpp
5030
6547
ac_cpp='$CXXCPP $CPPFLAGS'
5031
6548
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5032
6549
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5033
6550
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5034
6551
 
 
6552
fi
 
6553
 
5035
6554
 
5036
6555
ac_ext=f
5037
6556
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5038
6557
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5039
6558
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5040
6559
if test -n "$ac_tool_prefix"; then
5041
 
  for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
 
6560
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
5042
6561
  do
5043
6562
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5044
6563
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5045
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5046
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6564
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6565
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5047
6566
if test "${ac_cv_prog_F77+set}" = set; then
5048
6567
  echo $ECHO_N "(cached) $ECHO_C" >&6
5049
6568
else
5056
6575
  IFS=$as_save_IFS
5057
6576
  test -z "$as_dir" && as_dir=.
5058
6577
  for ac_exec_ext in '' $ac_executable_extensions; do
5059
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6578
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5060
6579
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5061
6580
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5062
6581
    break 2
5063
6582
  fi
5064
6583
done
5065
6584
done
 
6585
IFS=$as_save_IFS
5066
6586
 
5067
6587
fi
5068
6588
fi
5069
6589
F77=$ac_cv_prog_F77
5070
6590
if test -n "$F77"; then
5071
 
  echo "$as_me:$LINENO: result: $F77" >&5
5072
 
echo "${ECHO_T}$F77" >&6
 
6591
  { echo "$as_me:$LINENO: result: $F77" >&5
 
6592
echo "${ECHO_T}$F77" >&6; }
5073
6593
else
5074
 
  echo "$as_me:$LINENO: result: no" >&5
5075
 
echo "${ECHO_T}no" >&6
 
6594
  { echo "$as_me:$LINENO: result: no" >&5
 
6595
echo "${ECHO_T}no" >&6; }
5076
6596
fi
5077
6597
 
 
6598
 
5078
6599
    test -n "$F77" && break
5079
6600
  done
5080
6601
fi
5081
6602
if test -z "$F77"; then
5082
6603
  ac_ct_F77=$F77
5083
 
  for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
 
6604
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
5084
6605
do
5085
6606
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5086
6607
set dummy $ac_prog; ac_word=$2
5087
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5088
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6608
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6609
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5089
6610
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5090
6611
  echo $ECHO_N "(cached) $ECHO_C" >&6
5091
6612
else
5098
6619
  IFS=$as_save_IFS
5099
6620
  test -z "$as_dir" && as_dir=.
5100
6621
  for ac_exec_ext in '' $ac_executable_extensions; do
5101
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6622
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5102
6623
    ac_cv_prog_ac_ct_F77="$ac_prog"
5103
6624
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5104
6625
    break 2
5105
6626
  fi
5106
6627
done
5107
6628
done
 
6629
IFS=$as_save_IFS
5108
6630
 
5109
6631
fi
5110
6632
fi
5111
6633
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5112
6634
if test -n "$ac_ct_F77"; then
5113
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5114
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
6635
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6636
echo "${ECHO_T}$ac_ct_F77" >&6; }
5115
6637
else
5116
 
  echo "$as_me:$LINENO: result: no" >&5
5117
 
echo "${ECHO_T}no" >&6
 
6638
  { echo "$as_me:$LINENO: result: no" >&5
 
6639
echo "${ECHO_T}no" >&6; }
5118
6640
fi
5119
6641
 
 
6642
 
5120
6643
  test -n "$ac_ct_F77" && break
5121
6644
done
5122
6645
 
5123
 
  F77=$ac_ct_F77
 
6646
  if test "x$ac_ct_F77" = x; then
 
6647
    F77=""
 
6648
  else
 
6649
    case $cross_compiling:$ac_tool_warned in
 
6650
yes:)
 
6651
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6652
whose name does not start with the host triplet.  If you think this
 
6653
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6654
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6655
whose name does not start with the host triplet.  If you think this
 
6656
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6657
ac_tool_warned=yes ;;
 
6658
esac
 
6659
    F77=$ac_ct_F77
 
6660
  fi
5124
6661
fi
5125
6662
 
5126
6663
 
5127
6664
# Provide some information about the compiler.
5128
 
echo "$as_me:5128:" \
5129
 
     "checking for Fortran 77 compiler version" >&5
 
6665
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5130
6666
ac_compiler=`set X $ac_compile; echo $2`
5131
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5132
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5133
 
  ac_status=$?
5134
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135
 
  (exit $ac_status); }
5136
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5137
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5138
 
  ac_status=$?
5139
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5140
 
  (exit $ac_status); }
5141
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5142
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
5143
 
  ac_status=$?
5144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145
 
  (exit $ac_status); }
 
6667
{ (ac_try="$ac_compiler --version >&5"
 
6668
case "(($ac_try" in
 
6669
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6670
  *) ac_try_echo=$ac_try;;
 
6671
esac
 
6672
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6673
  (eval "$ac_compiler --version >&5") 2>&5
 
6674
  ac_status=$?
 
6675
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6676
  (exit $ac_status); }
 
6677
{ (ac_try="$ac_compiler -v >&5"
 
6678
case "(($ac_try" in
 
6679
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6680
  *) ac_try_echo=$ac_try;;
 
6681
esac
 
6682
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6683
  (eval "$ac_compiler -v >&5") 2>&5
 
6684
  ac_status=$?
 
6685
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6686
  (exit $ac_status); }
 
6687
{ (ac_try="$ac_compiler -V >&5"
 
6688
case "(($ac_try" in
 
6689
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6690
  *) ac_try_echo=$ac_try;;
 
6691
esac
 
6692
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6693
  (eval "$ac_compiler -V >&5") 2>&5
 
6694
  ac_status=$?
 
6695
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6696
  (exit $ac_status); }
 
6697
rm -f a.out
5146
6698
 
5147
6699
# If we don't use `.F' as extension, the preprocessor is not run on the
5148
 
# input file.
 
6700
# input file.  (Note that this only needs to work for GNU compilers.)
5149
6701
ac_save_ext=$ac_ext
5150
6702
ac_ext=F
5151
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5152
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
6703
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6704
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5153
6705
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5154
6706
  echo $ECHO_N "(cached) $ECHO_C" >&6
5155
6707
else
5162
6714
      end
5163
6715
_ACEOF
5164
6716
rm -f conftest.$ac_objext
5165
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5166
 
  (eval $ac_compile) 2>&5
 
6717
if { (ac_try="$ac_compile"
 
6718
case "(($ac_try" in
 
6719
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6720
  *) ac_try_echo=$ac_try;;
 
6721
esac
 
6722
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6723
  (eval "$ac_compile") 2>conftest.er1
5167
6724
  ac_status=$?
 
6725
  grep -v '^ *+' conftest.er1 >conftest.err
 
6726
  rm -f conftest.er1
 
6727
  cat conftest.err >&5
5168
6728
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169
6729
  (exit $ac_status); } &&
5170
 
         { ac_try='test -s conftest.$ac_objext'
5171
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5172
 
  (eval $ac_try) 2>&5
 
6730
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
6731
  { (case "(($ac_try" in
 
6732
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6733
  *) ac_try_echo=$ac_try;;
 
6734
esac
 
6735
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6736
  (eval "$ac_try") 2>&5
 
6737
  ac_status=$?
 
6738
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6739
  (exit $ac_status); }; } &&
 
6740
         { ac_try='test -s conftest.$ac_objext'
 
6741
  { (case "(($ac_try" in
 
6742
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6743
  *) ac_try_echo=$ac_try;;
 
6744
esac
 
6745
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6746
  (eval "$ac_try") 2>&5
5173
6747
  ac_status=$?
5174
6748
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175
6749
  (exit $ac_status); }; }; then
5178
6752
  echo "$as_me: failed program was:" >&5
5179
6753
sed 's/^/| /' conftest.$ac_ext >&5
5180
6754
 
5181
 
ac_compiler_gnu=no
 
6755
        ac_compiler_gnu=no
5182
6756
fi
5183
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
6757
 
 
6758
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5184
6759
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5185
6760
 
5186
6761
fi
5187
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5188
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6762
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6763
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5189
6764
ac_ext=$ac_save_ext
5190
 
G77=`test $ac_compiler_gnu = yes && echo yes`
5191
6765
ac_test_FFLAGS=${FFLAGS+set}
5192
6766
ac_save_FFLAGS=$FFLAGS
5193
6767
FFLAGS=
5194
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5195
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6768
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6769
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5196
6770
if test "${ac_cv_prog_f77_g+set}" = set; then
5197
6771
  echo $ECHO_N "(cached) $ECHO_C" >&6
5198
6772
else
5203
6777
      end
5204
6778
_ACEOF
5205
6779
rm -f conftest.$ac_objext
5206
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5207
 
  (eval $ac_compile) 2>&5
 
6780
if { (ac_try="$ac_compile"
 
6781
case "(($ac_try" in
 
6782
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6783
  *) ac_try_echo=$ac_try;;
 
6784
esac
 
6785
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6786
  (eval "$ac_compile") 2>conftest.er1
5208
6787
  ac_status=$?
 
6788
  grep -v '^ *+' conftest.er1 >conftest.err
 
6789
  rm -f conftest.er1
 
6790
  cat conftest.err >&5
5209
6791
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210
6792
  (exit $ac_status); } &&
5211
 
         { ac_try='test -s conftest.$ac_objext'
5212
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5213
 
  (eval $ac_try) 2>&5
 
6793
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
6794
  { (case "(($ac_try" in
 
6795
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6796
  *) ac_try_echo=$ac_try;;
 
6797
esac
 
6798
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6799
  (eval "$ac_try") 2>&5
 
6800
  ac_status=$?
 
6801
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6802
  (exit $ac_status); }; } &&
 
6803
         { ac_try='test -s conftest.$ac_objext'
 
6804
  { (case "(($ac_try" in
 
6805
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6806
  *) ac_try_echo=$ac_try;;
 
6807
esac
 
6808
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6809
  (eval "$ac_try") 2>&5
5214
6810
  ac_status=$?
5215
6811
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216
6812
  (exit $ac_status); }; }; then
5219
6815
  echo "$as_me: failed program was:" >&5
5220
6816
sed 's/^/| /' conftest.$ac_ext >&5
5221
6817
 
5222
 
ac_cv_prog_f77_g=no
5223
 
fi
5224
 
rm -f conftest.$ac_objext conftest.$ac_ext
5225
 
 
5226
 
fi
5227
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5228
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6818
        ac_cv_prog_f77_g=no
 
6819
fi
 
6820
 
 
6821
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6822
 
 
6823
fi
 
6824
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6825
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5229
6826
if test "$ac_test_FFLAGS" = set; then
5230
6827
  FFLAGS=$ac_save_FFLAGS
5231
6828
elif test $ac_cv_prog_f77_g = yes; then
5232
 
  if test "$G77" = yes; then
 
6829
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5233
6830
    FFLAGS="-g -O2"
5234
6831
  else
5235
6832
    FFLAGS="-g"
5236
6833
  fi
5237
6834
else
5238
 
  if test "$G77" = yes; then
 
6835
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5239
6836
    FFLAGS="-O2"
5240
6837
  else
5241
6838
    FFLAGS=
5242
6839
  fi
5243
6840
fi
 
6841
 
 
6842
G77=`test $ac_compiler_gnu = yes && echo yes`
5244
6843
ac_ext=c
5245
6844
ac_cpp='$CPP $CPPFLAGS'
5246
6845
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5252
6851
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5253
6852
 
5254
6853
# find the maximum length of command line arguments
5255
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5256
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6854
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6855
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5257
6856
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5258
6857
  echo $ECHO_N "(cached) $ECHO_C" >&6
5259
6858
else
5260
6859
    i=0
5261
 
  testring="ABCD"
 
6860
  teststring="ABCD"
5262
6861
 
5263
6862
  case $build_os in
5264
6863
  msdosdjgpp*)
5293
6892
    lt_cv_sys_max_cmd_len=8192;
5294
6893
    ;;
5295
6894
 
5296
 
 *)
 
6895
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6896
    # This has been around since 386BSD, at least.  Likely further.
 
6897
    if test -x /sbin/sysctl; then
 
6898
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6899
    elif test -x /usr/sbin/sysctl; then
 
6900
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6901
    else
 
6902
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6903
    fi
 
6904
    # And add a safety zone
 
6905
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6906
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6907
    ;;
 
6908
 
 
6909
  interix*)
 
6910
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6911
    lt_cv_sys_max_cmd_len=196608
 
6912
    ;;
 
6913
 
 
6914
  osf*)
 
6915
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6916
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6917
    # nice to cause kernel panics so lets avoid the loop below.
 
6918
    # First set a reasonable default.
 
6919
    lt_cv_sys_max_cmd_len=16384
 
6920
    #
 
6921
    if test -x /sbin/sysconfig; then
 
6922
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6923
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6924
      esac
 
6925
    fi
 
6926
    ;;
 
6927
  sco3.2v5*)
 
6928
    lt_cv_sys_max_cmd_len=102400
 
6929
    ;;
 
6930
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6931
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6932
    if test -n "$kargmax"; then
 
6933
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
 
6934
    else
 
6935
      lt_cv_sys_max_cmd_len=32768
 
6936
    fi
 
6937
    ;;
 
6938
  *)
5297
6939
    # If test is not a shell built-in, we'll probably end up computing a
5298
6940
    # maximum length that is only half of the actual maximum length, but
5299
6941
    # we can't tell.
5300
 
    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5301
 
               = "XX$testring") >/dev/null 2>&1 &&
5302
 
            new_result=`expr "X$testring" : ".*" 2>&1` &&
 
6942
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6943
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6944
               = "XX$teststring") >/dev/null 2>&1 &&
 
6945
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
5303
6946
            lt_cv_sys_max_cmd_len=$new_result &&
5304
6947
            test $i != 17 # 1/2 MB should be enough
5305
6948
    do
5306
6949
      i=`expr $i + 1`
5307
 
      testring=$testring$testring
 
6950
      teststring=$teststring$teststring
5308
6951
    done
5309
 
    testring=
 
6952
    teststring=
5310
6953
    # Add a significant safety factor because C++ compilers can tack on massive
5311
6954
    # amounts of additional arguments before passing them to the linker.
5312
6955
    # It appears as though 1/2 is a usable value.
5317
6960
fi
5318
6961
 
5319
6962
if test -n $lt_cv_sys_max_cmd_len ; then
5320
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5321
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6963
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6964
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5322
6965
else
5323
 
  echo "$as_me:$LINENO: result: none" >&5
5324
 
echo "${ECHO_T}none" >&6
 
6966
  { echo "$as_me:$LINENO: result: none" >&5
 
6967
echo "${ECHO_T}none" >&6; }
5325
6968
fi
5326
6969
 
5327
6970
 
5328
6971
 
5329
6972
 
5330
6973
# Check for command to grab the raw symbol name followed by C symbol from nm.
5331
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5332
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6974
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6975
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5333
6976
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5334
6977
  echo $ECHO_N "(cached) $ECHO_C" >&6
5335
6978
else
5343
6986
# Regexp to match symbols that can be accessed directly from C.
5344
6987
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5345
6988
 
5346
 
# Transform the above into a raw symbol and a C symbol.
5347
 
symxfrm='\1 \2\3 \3'
5348
 
 
5349
6989
# Transform an extracted symbol line into a proper C declaration
5350
6990
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5351
6991
 
5367
7007
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5368
7008
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
5369
7009
  ;;
 
7010
linux* | k*bsd*-gnu)
 
7011
  if test "$host_cpu" = ia64; then
 
7012
    symcode='[ABCDGIRSTW]'
 
7013
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
7014
    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
 
7015
  fi
 
7016
  ;;
5370
7017
irix* | nonstopux*)
5371
7018
  symcode='[BCDEGRST]'
5372
7019
  ;;
5373
7020
osf*)
5374
7021
  symcode='[BCDEGQRST]'
5375
7022
  ;;
5376
 
solaris* | sysv5*)
 
7023
solaris*)
5377
7024
  symcode='[BDRT]'
5378
7025
  ;;
 
7026
sco3.2v5*)
 
7027
  symcode='[DT]'
 
7028
  ;;
 
7029
sysv4.2uw2*)
 
7030
  symcode='[DT]'
 
7031
  ;;
 
7032
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
7033
  symcode='[ABDT]'
 
7034
  ;;
5379
7035
sysv4)
5380
7036
  symcode='[DFNSTU]'
5381
7037
  ;;
5398
7054
# Try without a prefix undercore, then with it.
5399
7055
for ac_symprfx in "" "_"; do
5400
7056
 
 
7057
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
7058
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
7059
 
5401
7060
  # Write the raw and C identifiers.
5402
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
 
7061
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5403
7062
 
5404
7063
  # Check to see that the pipe works correctly.
5405
7064
  pipe_works=no
5517
7176
  lt_cv_sys_global_symbol_to_cdecl=
5518
7177
fi
5519
7178
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5520
 
  echo "$as_me:$LINENO: result: failed" >&5
5521
 
echo "${ECHO_T}failed" >&6
 
7179
  { echo "$as_me:$LINENO: result: failed" >&5
 
7180
echo "${ECHO_T}failed" >&6; }
5522
7181
else
5523
 
  echo "$as_me:$LINENO: result: ok" >&5
5524
 
echo "${ECHO_T}ok" >&6
 
7182
  { echo "$as_me:$LINENO: result: ok" >&5
 
7183
echo "${ECHO_T}ok" >&6; }
5525
7184
fi
5526
7185
 
5527
 
echo "$as_me:$LINENO: checking for objdir" >&5
5528
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
7186
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
7187
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5529
7188
if test "${lt_cv_objdir+set}" = set; then
5530
7189
  echo $ECHO_N "(cached) $ECHO_C" >&6
5531
7190
else
5539
7198
fi
5540
7199
rmdir .libs 2>/dev/null
5541
7200
fi
5542
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5543
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
7201
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7202
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5544
7203
objdir=$lt_cv_objdir
5545
7204
 
5546
7205
 
5561
7220
 
5562
7221
# Sed substitution that helps us do robust quoting.  It backslashifies
5563
7222
# metacharacters that are still active within double-quoted strings.
5564
 
Xsed='sed -e s/^X//'
 
7223
Xsed='sed -e 1s/^X//'
5565
7224
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5566
7225
 
5567
7226
# Same as above, but do not quote variable references.
5581
7240
default_ofile=libtool
5582
7241
can_build_shared=yes
5583
7242
 
5584
 
# All known linkers require a `.a' archive for static linking (except M$VC,
 
7243
# All known linkers require a `.a' archive for static linking (except MSVC,
5585
7244
# which needs '.lib').
5586
7245
libext=a
5587
7246
ltmain="$ac_aux_dir/ltmain.sh"
5591
7250
if test -n "$ac_tool_prefix"; then
5592
7251
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5593
7252
set dummy ${ac_tool_prefix}ar; ac_word=$2
5594
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5595
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7253
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7254
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5596
7255
if test "${ac_cv_prog_AR+set}" = set; then
5597
7256
  echo $ECHO_N "(cached) $ECHO_C" >&6
5598
7257
else
5605
7264
  IFS=$as_save_IFS
5606
7265
  test -z "$as_dir" && as_dir=.
5607
7266
  for ac_exec_ext in '' $ac_executable_extensions; do
5608
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7267
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5609
7268
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5610
7269
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5611
7270
    break 2
5612
7271
  fi
5613
7272
done
5614
7273
done
 
7274
IFS=$as_save_IFS
5615
7275
 
5616
7276
fi
5617
7277
fi
5618
7278
AR=$ac_cv_prog_AR
5619
7279
if test -n "$AR"; then
5620
 
  echo "$as_me:$LINENO: result: $AR" >&5
5621
 
echo "${ECHO_T}$AR" >&6
 
7280
  { echo "$as_me:$LINENO: result: $AR" >&5
 
7281
echo "${ECHO_T}$AR" >&6; }
5622
7282
else
5623
 
  echo "$as_me:$LINENO: result: no" >&5
5624
 
echo "${ECHO_T}no" >&6
 
7283
  { echo "$as_me:$LINENO: result: no" >&5
 
7284
echo "${ECHO_T}no" >&6; }
5625
7285
fi
 
7286
 
5626
7287
 
5627
7288
fi
5628
7289
if test -z "$ac_cv_prog_AR"; then
5629
7290
  ac_ct_AR=$AR
5630
7291
  # Extract the first word of "ar", so it can be a program name with args.
5631
7292
set dummy ar; ac_word=$2
5632
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5633
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7293
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7294
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5634
7295
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5635
7296
  echo $ECHO_N "(cached) $ECHO_C" >&6
5636
7297
else
5643
7304
  IFS=$as_save_IFS
5644
7305
  test -z "$as_dir" && as_dir=.
5645
7306
  for ac_exec_ext in '' $ac_executable_extensions; do
5646
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7307
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5647
7308
    ac_cv_prog_ac_ct_AR="ar"
5648
7309
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5649
7310
    break 2
5650
7311
  fi
5651
7312
done
5652
7313
done
 
7314
IFS=$as_save_IFS
5653
7315
 
5654
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5655
7316
fi
5656
7317
fi
5657
7318
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5658
7319
if test -n "$ac_ct_AR"; then
5659
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5660
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
7320
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
7321
echo "${ECHO_T}$ac_ct_AR" >&6; }
5661
7322
else
5662
 
  echo "$as_me:$LINENO: result: no" >&5
5663
 
echo "${ECHO_T}no" >&6
 
7323
  { echo "$as_me:$LINENO: result: no" >&5
 
7324
echo "${ECHO_T}no" >&6; }
5664
7325
fi
5665
7326
 
5666
 
  AR=$ac_ct_AR
 
7327
  if test "x$ac_ct_AR" = x; then
 
7328
    AR="false"
 
7329
  else
 
7330
    case $cross_compiling:$ac_tool_warned in
 
7331
yes:)
 
7332
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7333
whose name does not start with the host triplet.  If you think this
 
7334
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7335
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7336
whose name does not start with the host triplet.  If you think this
 
7337
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7338
ac_tool_warned=yes ;;
 
7339
esac
 
7340
    AR=$ac_ct_AR
 
7341
  fi
5667
7342
else
5668
7343
  AR="$ac_cv_prog_AR"
5669
7344
fi
5671
7346
if test -n "$ac_tool_prefix"; then
5672
7347
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5673
7348
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5674
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5675
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7349
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7350
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5676
7351
if test "${ac_cv_prog_RANLIB+set}" = set; then
5677
7352
  echo $ECHO_N "(cached) $ECHO_C" >&6
5678
7353
else
5685
7360
  IFS=$as_save_IFS
5686
7361
  test -z "$as_dir" && as_dir=.
5687
7362
  for ac_exec_ext in '' $ac_executable_extensions; do
5688
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7363
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5689
7364
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5690
7365
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5691
7366
    break 2
5692
7367
  fi
5693
7368
done
5694
7369
done
 
7370
IFS=$as_save_IFS
5695
7371
 
5696
7372
fi
5697
7373
fi
5698
7374
RANLIB=$ac_cv_prog_RANLIB
5699
7375
if test -n "$RANLIB"; then
5700
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
5701
 
echo "${ECHO_T}$RANLIB" >&6
 
7376
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7377
echo "${ECHO_T}$RANLIB" >&6; }
5702
7378
else
5703
 
  echo "$as_me:$LINENO: result: no" >&5
5704
 
echo "${ECHO_T}no" >&6
 
7379
  { echo "$as_me:$LINENO: result: no" >&5
 
7380
echo "${ECHO_T}no" >&6; }
5705
7381
fi
 
7382
 
5706
7383
 
5707
7384
fi
5708
7385
if test -z "$ac_cv_prog_RANLIB"; then
5709
7386
  ac_ct_RANLIB=$RANLIB
5710
7387
  # Extract the first word of "ranlib", so it can be a program name with args.
5711
7388
set dummy ranlib; ac_word=$2
5712
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5713
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7389
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7390
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5714
7391
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5715
7392
  echo $ECHO_N "(cached) $ECHO_C" >&6
5716
7393
else
5723
7400
  IFS=$as_save_IFS
5724
7401
  test -z "$as_dir" && as_dir=.
5725
7402
  for ac_exec_ext in '' $ac_executable_extensions; do
5726
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7403
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5727
7404
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5728
7405
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5729
7406
    break 2
5730
7407
  fi
5731
7408
done
5732
7409
done
 
7410
IFS=$as_save_IFS
5733
7411
 
5734
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5735
7412
fi
5736
7413
fi
5737
7414
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5738
7415
if test -n "$ac_ct_RANLIB"; then
5739
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5740
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
7416
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7417
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5741
7418
else
5742
 
  echo "$as_me:$LINENO: result: no" >&5
5743
 
echo "${ECHO_T}no" >&6
 
7419
  { echo "$as_me:$LINENO: result: no" >&5
 
7420
echo "${ECHO_T}no" >&6; }
5744
7421
fi
5745
7422
 
5746
 
  RANLIB=$ac_ct_RANLIB
 
7423
  if test "x$ac_ct_RANLIB" = x; then
 
7424
    RANLIB=":"
 
7425
  else
 
7426
    case $cross_compiling:$ac_tool_warned in
 
7427
yes:)
 
7428
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7429
whose name does not start with the host triplet.  If you think this
 
7430
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7431
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7432
whose name does not start with the host triplet.  If you think this
 
7433
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7434
ac_tool_warned=yes ;;
 
7435
esac
 
7436
    RANLIB=$ac_ct_RANLIB
 
7437
  fi
5747
7438
else
5748
7439
  RANLIB="$ac_cv_prog_RANLIB"
5749
7440
fi
5751
7442
if test -n "$ac_tool_prefix"; then
5752
7443
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5753
7444
set dummy ${ac_tool_prefix}strip; ac_word=$2
5754
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5755
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7445
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7446
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5756
7447
if test "${ac_cv_prog_STRIP+set}" = set; then
5757
7448
  echo $ECHO_N "(cached) $ECHO_C" >&6
5758
7449
else
5765
7456
  IFS=$as_save_IFS
5766
7457
  test -z "$as_dir" && as_dir=.
5767
7458
  for ac_exec_ext in '' $ac_executable_extensions; do
5768
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7459
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5769
7460
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5770
7461
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5771
7462
    break 2
5772
7463
  fi
5773
7464
done
5774
7465
done
 
7466
IFS=$as_save_IFS
5775
7467
 
5776
7468
fi
5777
7469
fi
5778
7470
STRIP=$ac_cv_prog_STRIP
5779
7471
if test -n "$STRIP"; then
5780
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
5781
 
echo "${ECHO_T}$STRIP" >&6
 
7472
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
7473
echo "${ECHO_T}$STRIP" >&6; }
5782
7474
else
5783
 
  echo "$as_me:$LINENO: result: no" >&5
5784
 
echo "${ECHO_T}no" >&6
 
7475
  { echo "$as_me:$LINENO: result: no" >&5
 
7476
echo "${ECHO_T}no" >&6; }
5785
7477
fi
 
7478
 
5786
7479
 
5787
7480
fi
5788
7481
if test -z "$ac_cv_prog_STRIP"; then
5789
7482
  ac_ct_STRIP=$STRIP
5790
7483
  # Extract the first word of "strip", so it can be a program name with args.
5791
7484
set dummy strip; ac_word=$2
5792
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5793
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7485
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7486
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5794
7487
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5795
7488
  echo $ECHO_N "(cached) $ECHO_C" >&6
5796
7489
else
5803
7496
  IFS=$as_save_IFS
5804
7497
  test -z "$as_dir" && as_dir=.
5805
7498
  for ac_exec_ext in '' $ac_executable_extensions; do
5806
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7499
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5807
7500
    ac_cv_prog_ac_ct_STRIP="strip"
5808
7501
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5809
7502
    break 2
5810
7503
  fi
5811
7504
done
5812
7505
done
 
7506
IFS=$as_save_IFS
5813
7507
 
5814
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5815
7508
fi
5816
7509
fi
5817
7510
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5818
7511
if test -n "$ac_ct_STRIP"; then
5819
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5820
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
7512
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7513
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5821
7514
else
5822
 
  echo "$as_me:$LINENO: result: no" >&5
5823
 
echo "${ECHO_T}no" >&6
 
7515
  { echo "$as_me:$LINENO: result: no" >&5
 
7516
echo "${ECHO_T}no" >&6; }
5824
7517
fi
5825
7518
 
5826
 
  STRIP=$ac_ct_STRIP
 
7519
  if test "x$ac_ct_STRIP" = x; then
 
7520
    STRIP=":"
 
7521
  else
 
7522
    case $cross_compiling:$ac_tool_warned in
 
7523
yes:)
 
7524
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7525
whose name does not start with the host triplet.  If you think this
 
7526
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7527
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7528
whose name does not start with the host triplet.  If you think this
 
7529
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7530
ac_tool_warned=yes ;;
 
7531
esac
 
7532
    STRIP=$ac_ct_STRIP
 
7533
  fi
5827
7534
else
5828
7535
  STRIP="$ac_cv_prog_STRIP"
5829
7536
fi
5838
7545
test -z "$AS" && AS=as
5839
7546
test -z "$CC" && CC=cc
5840
7547
test -z "$LTCC" && LTCC=$CC
 
7548
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
5841
7549
test -z "$DLLTOOL" && DLLTOOL=dlltool
5842
7550
test -z "$LD" && LD=ld
5843
7551
test -z "$LN_S" && LN_S="ln -s"
5857
7565
if test -n "$RANLIB"; then
5858
7566
  case $host_os in
5859
7567
  openbsd*)
5860
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
 
7568
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5861
7569
    ;;
5862
7570
  *)
5863
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
 
7571
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5864
7572
    ;;
5865
7573
  esac
5866
7574
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5867
7575
fi
5868
7576
 
 
7577
for cc_temp in $compiler""; do
 
7578
  case $cc_temp in
 
7579
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7580
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7581
    \-*) ;;
 
7582
    *) break;;
 
7583
  esac
 
7584
done
 
7585
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7586
 
 
7587
 
5869
7588
# Only perform the check for file, if the check method requires it
5870
7589
case $deplibs_check_method in
5871
7590
file_magic*)
5872
7591
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5873
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5874
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
7592
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7593
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
5875
7594
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5876
7595
  echo $ECHO_N "(cached) $ECHO_C" >&6
5877
7596
else
5891
7610
      if test -n "$file_magic_test_file"; then
5892
7611
        case $deplibs_check_method in
5893
7612
        "file_magic "*)
5894
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
7613
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5895
7614
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5896
7615
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5897
7616
            $EGREP "$file_magic_regex" > /dev/null; then
5923
7642
 
5924
7643
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5925
7644
if test -n "$MAGIC_CMD"; then
5926
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5927
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7645
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7646
echo "${ECHO_T}$MAGIC_CMD" >&6; }
5928
7647
else
5929
 
  echo "$as_me:$LINENO: result: no" >&5
5930
 
echo "${ECHO_T}no" >&6
 
7648
  { echo "$as_me:$LINENO: result: no" >&5
 
7649
echo "${ECHO_T}no" >&6; }
5931
7650
fi
5932
7651
 
5933
7652
if test -z "$lt_cv_path_MAGIC_CMD"; then
5934
7653
  if test -n "$ac_tool_prefix"; then
5935
 
    echo "$as_me:$LINENO: checking for file" >&5
5936
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
7654
    { echo "$as_me:$LINENO: checking for file" >&5
 
7655
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
5937
7656
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5938
7657
  echo $ECHO_N "(cached) $ECHO_C" >&6
5939
7658
else
5953
7672
      if test -n "$file_magic_test_file"; then
5954
7673
        case $deplibs_check_method in
5955
7674
        "file_magic "*)
5956
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
7675
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5957
7676
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5958
7677
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5959
7678
            $EGREP "$file_magic_regex" > /dev/null; then
5985
7704
 
5986
7705
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5987
7706
if test -n "$MAGIC_CMD"; then
5988
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5989
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7707
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7708
echo "${ECHO_T}$MAGIC_CMD" >&6; }
5990
7709
else
5991
 
  echo "$as_me:$LINENO: result: no" >&5
5992
 
echo "${ECHO_T}no" >&6
 
7710
  { echo "$as_me:$LINENO: result: no" >&5
 
7711
echo "${ECHO_T}no" >&6; }
5993
7712
fi
5994
7713
 
5995
7714
  else
6004
7723
enable_dlopen=no
6005
7724
enable_win32_dll=no
6006
7725
 
6007
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7726
# Check whether --enable-libtool-lock was given.
6008
7727
if test "${enable_libtool_lock+set}" = set; then
6009
 
  enableval="$enable_libtool_lock"
 
7728
  enableval=$enable_libtool_lock;
 
7729
fi
6010
7730
 
6011
 
fi;
6012
7731
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6013
7732
 
6014
7733
 
6015
 
# Check whether --with-pic or --without-pic was given.
 
7734
# Check whether --with-pic was given.
6016
7735
if test "${with_pic+set}" = set; then
6017
 
  withval="$with_pic"
6018
 
  pic_mode="$withval"
 
7736
  withval=$with_pic; pic_mode="$withval"
6019
7737
else
6020
7738
  pic_mode=default
6021
 
fi;
 
7739
fi
 
7740
 
6022
7741
test -z "$pic_mode" && pic_mode=default
6023
7742
 
6024
7743
# Use C for the default configuration in the libtool script
6048
7767
# If no C compiler was specified, use CC.
6049
7768
LTCC=${LTCC-"$CC"}
6050
7769
 
 
7770
# If no C compiler flags were specified, use CFLAGS.
 
7771
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7772
 
6051
7773
# Allow CC to be a program name with arguments.
6052
7774
compiler=$CC
6053
7775
 
6054
7776
 
6055
 
#
6056
 
# Check for any special shared library compilation flags.
6057
 
#
6058
 
lt_prog_cc_shlib=
6059
 
if test "$GCC" = no; then
6060
 
  case $host_os in
6061
 
  sco3.2v5*)
6062
 
    lt_prog_cc_shlib='-belf'
6063
 
    ;;
6064
 
  esac
6065
 
fi
6066
 
if test -n "$lt_prog_cc_shlib"; then
6067
 
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6068
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6069
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
6070
 
  else
6071
 
    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6072
 
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6073
 
    lt_cv_prog_cc_can_build_shared=no
6074
 
  fi
6075
 
fi
6076
 
 
6077
 
 
6078
 
#
6079
 
# Check to make sure the static flag actually works.
6080
 
#
6081
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6082
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6083
 
if test "${lt_prog_compiler_static_works+set}" = set; then
6084
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6085
 
else
6086
 
  lt_prog_compiler_static_works=no
6087
 
   save_LDFLAGS="$LDFLAGS"
6088
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6089
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
6090
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6091
 
     # The compiler can only warn and ignore the option if not recognized
6092
 
     # So say no if there are warnings
6093
 
     if test -s conftest.err; then
6094
 
       # Append any errors to the config.log.
6095
 
       cat conftest.err 1>&5
6096
 
     else
6097
 
       lt_prog_compiler_static_works=yes
6098
 
     fi
6099
 
   fi
6100
 
   $rm conftest*
6101
 
   LDFLAGS="$save_LDFLAGS"
6102
 
 
6103
 
fi
6104
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6105
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6106
 
 
6107
 
if test x"$lt_prog_compiler_static_works" = xyes; then
6108
 
    :
6109
 
else
6110
 
    lt_prog_compiler_static=
6111
 
fi
6112
 
 
 
7777
# save warnings/boilerplate of simple test code
 
7778
ac_outfile=conftest.$ac_objext
 
7779
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7780
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7781
_lt_compiler_boilerplate=`cat conftest.err`
 
7782
$rm conftest*
 
7783
 
 
7784
ac_outfile=conftest.$ac_objext
 
7785
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
7786
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7787
_lt_linker_boilerplate=`cat conftest.err`
 
7788
$rm conftest*
6113
7789
 
6114
7790
 
6115
7791
 
6119
7795
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6120
7796
 
6121
7797
 
6122
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6123
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7798
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7799
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6124
7800
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6125
7801
  echo $ECHO_N "(cached) $ECHO_C" >&6
6126
7802
else
6134
7810
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6135
7811
   # The option is referenced via a variable to avoid confusing sed.
6136
7812
   lt_compile=`echo "$ac_compile" | $SED \
6137
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
7813
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6138
7814
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6139
7815
   -e 's:$: $lt_compiler_flag:'`
6140
 
   (eval echo "\"\$as_me:6140: $lt_compile\"" >&5)
 
7816
   (eval echo "\"\$as_me:7816: $lt_compile\"" >&5)
6141
7817
   (eval "$lt_compile" 2>conftest.err)
6142
7818
   ac_status=$?
6143
7819
   cat conftest.err >&5
6144
 
   echo "$as_me:6144: \$? = $ac_status" >&5
 
7820
   echo "$as_me:7820: \$? = $ac_status" >&5
6145
7821
   if (exit $ac_status) && test -s "$ac_outfile"; then
6146
7822
     # The compiler can only warn and ignore the option if not recognized
6147
 
     # So say no if there are warnings
6148
 
     if test ! -s conftest.err; then
 
7823
     # So say no if there are warnings other than the usual output.
 
7824
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7825
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7826
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6149
7827
       lt_cv_prog_compiler_rtti_exceptions=yes
6150
7828
     fi
6151
7829
   fi
6152
7830
   $rm conftest*
6153
7831
 
6154
7832
fi
6155
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6156
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7833
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7834
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6157
7835
 
6158
7836
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6159
7837
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6167
7845
lt_prog_compiler_pic=
6168
7846
lt_prog_compiler_static=
6169
7847
 
6170
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6171
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7848
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7849
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6172
7850
 
6173
7851
  if test "$GCC" = yes; then
6174
7852
    lt_prog_compiler_wl='-Wl,'
6206
7884
      lt_prog_compiler_pic='-fno-common'
6207
7885
      ;;
6208
7886
 
 
7887
    interix3*)
 
7888
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
7889
      # Instead, we relocate shared libraries at runtime.
 
7890
      ;;
 
7891
 
6209
7892
    msdosdjgpp*)
6210
7893
      # Just because we use GCC doesn't mean we suddenly get shared libraries
6211
7894
      # on systems that don't support them.
6222
7905
    hpux*)
6223
7906
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6224
7907
      # not for PA HP-UX.
6225
 
      case "$host_cpu" in
 
7908
      case $host_cpu in
6226
7909
      hppa*64*|ia64*)
6227
7910
        # +Z the default
6228
7911
        ;;
6248
7931
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6249
7932
      fi
6250
7933
      ;;
 
7934
      darwin*)
 
7935
        # PIC is the default on this platform
 
7936
        # Common symbols not allowed in MH_DYLIB files
 
7937
       case $cc_basename in
 
7938
         xlc*)
 
7939
         lt_prog_compiler_pic='-qnocommon'
 
7940
         lt_prog_compiler_wl='-Wl,'
 
7941
         ;;
 
7942
       esac
 
7943
       ;;
6251
7944
 
6252
7945
    mingw* | pw32* | os2*)
6253
7946
      # This hack is so that the source file can tell whether it is being
6259
7952
      lt_prog_compiler_wl='-Wl,'
6260
7953
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6261
7954
      # not for PA HP-UX.
6262
 
      case "$host_cpu" in
 
7955
      case $host_cpu in
6263
7956
      hppa*64*|ia64*)
6264
7957
        # +Z the default
6265
7958
        ;;
6282
7975
      lt_prog_compiler_static='-Bstatic'
6283
7976
      ;;
6284
7977
 
6285
 
    linux*)
6286
 
      case $CC in
 
7978
    linux* | k*bsd*-gnu)
 
7979
      case $cc_basename in
6287
7980
      icc* | ecc*)
6288
7981
        lt_prog_compiler_wl='-Wl,'
6289
7982
        lt_prog_compiler_pic='-KPIC'
6290
7983
        lt_prog_compiler_static='-static'
6291
7984
        ;;
 
7985
      pgcc* | pgf77* | pgf90* | pgf95*)
 
7986
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
7987
        # which looks to be a dead project)
 
7988
        lt_prog_compiler_wl='-Wl,'
 
7989
        lt_prog_compiler_pic='-fpic'
 
7990
        lt_prog_compiler_static='-Bstatic'
 
7991
        ;;
6292
7992
      ccc*)
6293
7993
        lt_prog_compiler_wl='-Wl,'
6294
7994
        # All Alpha code is PIC.
6303
8003
      lt_prog_compiler_static='-non_shared'
6304
8004
      ;;
6305
8005
 
6306
 
    sco3.2v5*)
6307
 
      lt_prog_compiler_pic='-Kpic'
6308
 
      lt_prog_compiler_static='-dn'
6309
 
      ;;
6310
 
 
6311
8006
    solaris*)
6312
 
      lt_prog_compiler_wl='-Wl,'
6313
8007
      lt_prog_compiler_pic='-KPIC'
6314
8008
      lt_prog_compiler_static='-Bstatic'
 
8009
      case $cc_basename in
 
8010
      f77* | f90* | f95*)
 
8011
        lt_prog_compiler_wl='-Qoption ld ';;
 
8012
      *)
 
8013
        lt_prog_compiler_wl='-Wl,';;
 
8014
      esac
6315
8015
      ;;
6316
8016
 
6317
8017
    sunos4*)
6320
8020
      lt_prog_compiler_static='-Bstatic'
6321
8021
      ;;
6322
8022
 
6323
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
8023
    sysv4 | sysv4.2uw2* | sysv4.3*)
6324
8024
      lt_prog_compiler_wl='-Wl,'
6325
8025
      lt_prog_compiler_pic='-KPIC'
6326
8026
      lt_prog_compiler_static='-Bstatic'
6333
8033
      fi
6334
8034
      ;;
6335
8035
 
 
8036
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
8037
      lt_prog_compiler_wl='-Wl,'
 
8038
      lt_prog_compiler_pic='-KPIC'
 
8039
      lt_prog_compiler_static='-Bstatic'
 
8040
      ;;
 
8041
 
 
8042
    unicos*)
 
8043
      lt_prog_compiler_wl='-Wl,'
 
8044
      lt_prog_compiler_can_build_shared=no
 
8045
      ;;
 
8046
 
6336
8047
    uts4*)
6337
8048
      lt_prog_compiler_pic='-pic'
6338
8049
      lt_prog_compiler_static='-Bstatic'
6344
8055
    esac
6345
8056
  fi
6346
8057
 
6347
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6348
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
8058
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8059
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6349
8060
 
6350
8061
#
6351
8062
# Check to make sure the PIC flag actually works.
6352
8063
#
6353
8064
if test -n "$lt_prog_compiler_pic"; then
6354
8065
 
6355
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6356
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
8066
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8067
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6357
8068
if test "${lt_prog_compiler_pic_works+set}" = set; then
6358
8069
  echo $ECHO_N "(cached) $ECHO_C" >&6
6359
8070
else
6367
8078
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6368
8079
   # The option is referenced via a variable to avoid confusing sed.
6369
8080
   lt_compile=`echo "$ac_compile" | $SED \
6370
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
8081
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6371
8082
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6372
8083
   -e 's:$: $lt_compiler_flag:'`
6373
 
   (eval echo "\"\$as_me:6373: $lt_compile\"" >&5)
 
8084
   (eval echo "\"\$as_me:8084: $lt_compile\"" >&5)
6374
8085
   (eval "$lt_compile" 2>conftest.err)
6375
8086
   ac_status=$?
6376
8087
   cat conftest.err >&5
6377
 
   echo "$as_me:6377: \$? = $ac_status" >&5
 
8088
   echo "$as_me:8088: \$? = $ac_status" >&5
6378
8089
   if (exit $ac_status) && test -s "$ac_outfile"; then
6379
8090
     # The compiler can only warn and ignore the option if not recognized
6380
 
     # So say no if there are warnings
6381
 
     if test ! -s conftest.err; then
 
8091
     # So say no if there are warnings other than the usual output.
 
8092
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8093
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8094
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6382
8095
       lt_prog_compiler_pic_works=yes
6383
8096
     fi
6384
8097
   fi
6385
8098
   $rm conftest*
6386
8099
 
6387
8100
fi
6388
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6389
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
8101
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
8102
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6390
8103
 
6391
8104
if test x"$lt_prog_compiler_pic_works" = xyes; then
6392
8105
    case $lt_prog_compiler_pic in
6399
8112
fi
6400
8113
 
6401
8114
fi
6402
 
case "$host_os" in
 
8115
case $host_os in
6403
8116
  # For platforms which do not support PIC, -DPIC is meaningless:
6404
8117
  *djgpp*)
6405
8118
    lt_prog_compiler_pic=
6409
8122
    ;;
6410
8123
esac
6411
8124
 
6412
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6413
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
8125
#
 
8126
# Check to make sure the static flag actually works.
 
8127
#
 
8128
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
8129
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8130
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
8131
if test "${lt_prog_compiler_static_works+set}" = set; then
 
8132
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8133
else
 
8134
  lt_prog_compiler_static_works=no
 
8135
   save_LDFLAGS="$LDFLAGS"
 
8136
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
8137
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
8138
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8139
     # The linker can only warn and ignore the option if not recognized
 
8140
     # So say no if there are warnings
 
8141
     if test -s conftest.err; then
 
8142
       # Append any errors to the config.log.
 
8143
       cat conftest.err 1>&5
 
8144
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8145
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8146
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8147
         lt_prog_compiler_static_works=yes
 
8148
       fi
 
8149
     else
 
8150
       lt_prog_compiler_static_works=yes
 
8151
     fi
 
8152
   fi
 
8153
   $rm conftest*
 
8154
   LDFLAGS="$save_LDFLAGS"
 
8155
 
 
8156
fi
 
8157
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
8158
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
8159
 
 
8160
if test x"$lt_prog_compiler_static_works" = xyes; then
 
8161
    :
 
8162
else
 
8163
    lt_prog_compiler_static=
 
8164
fi
 
8165
 
 
8166
 
 
8167
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8168
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6414
8169
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6415
8170
  echo $ECHO_N "(cached) $ECHO_C" >&6
6416
8171
else
6427
8182
   # Note that $ac_compile itself does not contain backslashes and begins
6428
8183
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6429
8184
   lt_compile=`echo "$ac_compile" | $SED \
6430
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
8185
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6431
8186
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6432
8187
   -e 's:$: $lt_compiler_flag:'`
6433
 
   (eval echo "\"\$as_me:6433: $lt_compile\"" >&5)
 
8188
   (eval echo "\"\$as_me:8188: $lt_compile\"" >&5)
6434
8189
   (eval "$lt_compile" 2>out/conftest.err)
6435
8190
   ac_status=$?
6436
8191
   cat out/conftest.err >&5
6437
 
   echo "$as_me:6437: \$? = $ac_status" >&5
 
8192
   echo "$as_me:8192: \$? = $ac_status" >&5
6438
8193
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6439
8194
   then
6440
8195
     # The compiler can only warn and ignore the option if not recognized
6441
8196
     # So say no if there are warnings
6442
 
     if test ! -s out/conftest.err; then
 
8197
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8198
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8199
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6443
8200
       lt_cv_prog_compiler_c_o=yes
6444
8201
     fi
6445
8202
   fi
6446
 
   chmod u+w .
 
8203
   chmod u+w . 2>&5
6447
8204
   $rm conftest*
6448
8205
   # SGI C++ compiler will create directory out/ii_files/ for
6449
8206
   # template instantiation
6454
8211
   $rm conftest*
6455
8212
 
6456
8213
fi
6457
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6458
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
8214
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8215
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6459
8216
 
6460
8217
 
6461
8218
hard_links="nottested"
6462
8219
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6463
8220
  # do not overwrite the value of need_locks provided by the user
6464
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6465
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
8221
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8222
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6466
8223
  hard_links=yes
6467
8224
  $rm conftest*
6468
8225
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6469
8226
  touch conftest.a
6470
8227
  ln conftest.a conftest.b 2>&5 || hard_links=no
6471
8228
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6472
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6473
 
echo "${ECHO_T}$hard_links" >&6
 
8229
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
8230
echo "${ECHO_T}$hard_links" >&6; }
6474
8231
  if test "$hard_links" = no; then
6475
8232
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6476
8233
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6480
8237
  need_locks=no
6481
8238
fi
6482
8239
 
6483
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6484
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
8240
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8241
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6485
8242
 
6486
8243
  runpath_var=
6487
8244
  allow_undefined_flag=
6519
8276
  # rely on this symbol name, it's probably fine to never include it in
6520
8277
  # preloaded symbol tables.
6521
8278
  extract_expsyms_cmds=
 
8279
  # Just being paranoid about ensuring that cc_basename is set.
 
8280
  for cc_temp in $compiler""; do
 
8281
  case $cc_temp in
 
8282
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8283
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8284
    \-*) ;;
 
8285
    *) break;;
 
8286
  esac
 
8287
done
 
8288
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6522
8289
 
6523
8290
  case $host_os in
6524
8291
  cygwin* | mingw* | pw32*)
6529
8296
      with_gnu_ld=no
6530
8297
    fi
6531
8298
    ;;
 
8299
  interix*)
 
8300
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
8301
    with_gnu_ld=yes
 
8302
    ;;
6532
8303
  openbsd*)
6533
8304
    with_gnu_ld=no
6534
8305
    ;;
6539
8310
    # If archive_cmds runs LD, not CC, wlarc should be empty
6540
8311
    wlarc='${wl}'
6541
8312
 
 
8313
    # Set some defaults for GNU ld with shared library support. These
 
8314
    # are reset later if shared libraries are not supported. Putting them
 
8315
    # here allows them to be overridden if necessary.
 
8316
    runpath_var=LD_RUN_PATH
 
8317
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
8318
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
8319
    # ancient GNU ld didn't support --whole-archive et. al.
 
8320
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
8321
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8322
      else
 
8323
        whole_archive_flag_spec=
 
8324
    fi
 
8325
    supports_anon_versioning=no
 
8326
    case `$LD -v 2>/dev/null` in
 
8327
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
8328
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
8329
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
8330
      *\ 2.11.*) ;; # other 2.11 versions
 
8331
      *) supports_anon_versioning=yes ;;
 
8332
    esac
 
8333
 
6542
8334
    # See if GNU ld supports shared libraries.
6543
8335
    case $host_os in
6544
8336
    aix3* | aix4* | aix5*)
6589
8381
      allow_undefined_flag=unsupported
6590
8382
      always_export_symbols=no
6591
8383
      enable_shared_with_static_runtimes=yes
6592
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
8384
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6593
8385
 
6594
8386
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6595
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
8387
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6596
8388
        # If the export-symbols file already is a .def file (1st line
6597
8389
        # is EXPORTS), use it as is; otherwise, prepend...
6598
8390
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6601
8393
          echo EXPORTS > $output_objdir/$soname.def;
6602
8394
          cat $export_symbols >> $output_objdir/$soname.def;
6603
8395
        fi~
6604
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
6605
 
      else
6606
 
        ld_shlibs=no
6607
 
      fi
6608
 
      ;;
6609
 
 
6610
 
    netbsd* | knetbsd*-gnu)
 
8396
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8397
      else
 
8398
        ld_shlibs=no
 
8399
      fi
 
8400
      ;;
 
8401
 
 
8402
    interix3*)
 
8403
      hardcode_direct=no
 
8404
      hardcode_shlibpath_var=no
 
8405
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8406
      export_dynamic_flag_spec='${wl}-E'
 
8407
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
8408
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
8409
      # default) and relocated if they conflict, which is a slow very memory
 
8410
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
8411
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
8412
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
8413
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
8414
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
8415
      ;;
 
8416
 
 
8417
    linux* | k*bsd*-gnu)
 
8418
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8419
        tmp_addflag=
 
8420
        case $cc_basename,$host_cpu in
 
8421
        pgcc*)                          # Portland Group C compiler
 
8422
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8423
          tmp_addflag=' $pic_flag'
 
8424
          ;;
 
8425
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
8426
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8427
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
8428
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
8429
          tmp_addflag=' -i_dynamic' ;;
 
8430
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
8431
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
8432
        ifc* | ifort*)                  # Intel Fortran compiler
 
8433
          tmp_addflag=' -nofor_main' ;;
 
8434
        esac
 
8435
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8436
 
 
8437
        if test $supports_anon_versioning = yes; then
 
8438
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
 
8439
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8440
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
8441
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8442
        fi
 
8443
        link_all_deplibs=no
 
8444
      else
 
8445
        ld_shlibs=no
 
8446
      fi
 
8447
      ;;
 
8448
 
 
8449
    netbsd* | netbsdelf*-gnu)
6611
8450
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6612
8451
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6613
8452
        wlarc=
6617
8456
      fi
6618
8457
      ;;
6619
8458
 
6620
 
    solaris* | sysv5*)
 
8459
    solaris*)
6621
8460
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6622
8461
        ld_shlibs=no
6623
8462
        cat <<EOF 1>&2
6638
8477
      fi
6639
8478
      ;;
6640
8479
 
 
8480
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
8481
      case `$LD -v 2>&1` in
 
8482
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
8483
        ld_shlibs=no
 
8484
        cat <<_LT_EOF 1>&2
 
8485
 
 
8486
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
8487
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
8488
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8489
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
8490
*** your PATH or compiler configuration so that the native linker is
 
8491
*** used, and then restart.
 
8492
 
 
8493
_LT_EOF
 
8494
        ;;
 
8495
        *)
 
8496
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8497
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
8498
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
8499
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
8500
          else
 
8501
            ld_shlibs=no
 
8502
          fi
 
8503
        ;;
 
8504
      esac
 
8505
      ;;
 
8506
 
6641
8507
    sunos4*)
6642
8508
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6643
8509
      wlarc=
6645
8511
      hardcode_shlibpath_var=no
6646
8512
      ;;
6647
8513
 
6648
 
  linux*)
6649
 
    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
6650
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6651
 
        archive_cmds="$tmp_archive_cmds"
6652
 
      supports_anon_versioning=no
6653
 
      case `$LD -v 2>/dev/null` in
6654
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6655
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6656
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6657
 
        *\ 2.11.*) ;; # other 2.11 versions
6658
 
        *) supports_anon_versioning=yes ;;
6659
 
      esac
6660
 
      if test $supports_anon_versioning = yes; then
6661
 
        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
6662
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6663
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
6664
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6665
 
      else
6666
 
        archive_expsym_cmds="$tmp_archive_cmds"
6667
 
      fi
6668
 
    else
6669
 
      ld_shlibs=no
6670
 
    fi
6671
 
    ;;
6672
 
 
6673
8514
    *)
6674
8515
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6675
8516
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6680
8521
      ;;
6681
8522
    esac
6682
8523
 
6683
 
    if test "$ld_shlibs" = yes; then
6684
 
      runpath_var=LD_RUN_PATH
6685
 
      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6686
 
      export_dynamic_flag_spec='${wl}--export-dynamic'
6687
 
      # ancient GNU ld didn't support --whole-archive et. al.
6688
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6689
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6690
 
      else
6691
 
        whole_archive_flag_spec=
6692
 
      fi
 
8524
    if test "$ld_shlibs" = no; then
 
8525
      runpath_var=
 
8526
      hardcode_libdir_flag_spec=
 
8527
      export_dynamic_flag_spec=
 
8528
      whole_archive_flag_spec=
6693
8529
    fi
6694
8530
  else
6695
8531
    # PORTME fill in a description of your system's linker (not GNU ld)
6701
8537
      # Note: this linker hardcodes the directories in LIBPATH if there
6702
8538
      # are no directories specified by -L.
6703
8539
      hardcode_minus_L=yes
6704
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
8540
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
6705
8541
        # Neither direct hardcoding nor static linking is supported with a
6706
8542
        # broken collect2.
6707
8543
        hardcode_direct=unsupported
6735
8571
            break
6736
8572
          fi
6737
8573
          done
 
8574
          ;;
6738
8575
        esac
6739
8576
 
6740
8577
        exp_sym_flag='-bexport'
6753
8590
      link_all_deplibs=yes
6754
8591
 
6755
8592
      if test "$GCC" = yes; then
6756
 
        case $host_os in aix4.012|aix4.012.*)
 
8593
        case $host_os in aix4.[012]|aix4.[012].*)
6757
8594
        # We only want to do this on AIX 4.2 and lower, the check
6758
8595
        # below for broken collect2 doesn't work under 4.3+
6759
8596
          collect2name=`${CC} -print-prog-name=collect2`
6772
8609
          hardcode_libdir_flag_spec='-L$libdir'
6773
8610
          hardcode_libdir_separator=
6774
8611
          fi
 
8612
          ;;
6775
8613
        esac
6776
8614
        shared_flag='-shared'
 
8615
        if test "$aix_use_runtimelinking" = yes; then
 
8616
          shared_flag="$shared_flag "'${wl}-G'
 
8617
        fi
6777
8618
      else
6778
8619
        # not using gcc
6779
8620
        if test "$host_cpu" = ia64; then
6781
8622
        # chokes on -Wl,-G. The following line is correct:
6782
8623
          shared_flag='-G'
6783
8624
        else
6784
 
        if test "$aix_use_runtimelinking" = yes; then
 
8625
          if test "$aix_use_runtimelinking" = yes; then
6785
8626
            shared_flag='${wl}-G'
6786
8627
          else
6787
8628
            shared_flag='${wl}-bM:SRE'
6788
 
        fi
 
8629
          fi
6789
8630
        fi
6790
8631
      fi
6791
8632
 
6798
8639
        allow_undefined_flag='-berok'
6799
8640
       # Determine the default libpath from the value encoded in an empty executable.
6800
8641
       cat >conftest.$ac_ext <<_ACEOF
6801
 
#line $LINENO "configure"
6802
8642
/* confdefs.h.  */
6803
8643
_ACEOF
6804
8644
cat confdefs.h >>conftest.$ac_ext
6814
8654
}
6815
8655
_ACEOF
6816
8656
rm -f conftest.$ac_objext conftest$ac_exeext
6817
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6818
 
  (eval $ac_link) 2>&5
 
8657
if { (ac_try="$ac_link"
 
8658
case "(($ac_try" in
 
8659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8660
  *) ac_try_echo=$ac_try;;
 
8661
esac
 
8662
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8663
  (eval "$ac_link") 2>conftest.er1
6819
8664
  ac_status=$?
 
8665
  grep -v '^ *+' conftest.er1 >conftest.err
 
8666
  rm -f conftest.er1
 
8667
  cat conftest.err >&5
6820
8668
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821
8669
  (exit $ac_status); } &&
6822
 
         { ac_try='test -s conftest$ac_exeext'
6823
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824
 
  (eval $ac_try) 2>&5
 
8670
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
8671
  { (case "(($ac_try" in
 
8672
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8673
  *) ac_try_echo=$ac_try;;
 
8674
esac
 
8675
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8676
  (eval "$ac_try") 2>&5
 
8677
  ac_status=$?
 
8678
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8679
  (exit $ac_status); }; } &&
 
8680
         { ac_try='test -s conftest$ac_exeext'
 
8681
  { (case "(($ac_try" in
 
8682
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8683
  *) ac_try_echo=$ac_try;;
 
8684
esac
 
8685
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8686
  (eval "$ac_try") 2>&5
6825
8687
  ac_status=$?
6826
8688
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827
8689
  (exit $ac_status); }; }; then
6835
8697
  echo "$as_me: failed program was:" >&5
6836
8698
sed 's/^/| /' conftest.$ac_ext >&5
6837
8699
 
 
8700
 
6838
8701
fi
6839
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8702
 
 
8703
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8704
      conftest$ac_exeext conftest.$ac_ext
6840
8705
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6841
8706
 
6842
8707
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6843
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
8708
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6844
8709
       else
6845
8710
        if test "$host_cpu" = ia64; then
6846
8711
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6847
8712
          allow_undefined_flag="-z nodefs"
6848
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
8713
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
6849
8714
        else
6850
8715
         # Determine the default libpath from the value encoded in an empty executable.
6851
8716
         cat >conftest.$ac_ext <<_ACEOF
6852
 
#line $LINENO "configure"
6853
8717
/* confdefs.h.  */
6854
8718
_ACEOF
6855
8719
cat confdefs.h >>conftest.$ac_ext
6865
8729
}
6866
8730
_ACEOF
6867
8731
rm -f conftest.$ac_objext conftest$ac_exeext
6868
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6869
 
  (eval $ac_link) 2>&5
 
8732
if { (ac_try="$ac_link"
 
8733
case "(($ac_try" in
 
8734
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8735
  *) ac_try_echo=$ac_try;;
 
8736
esac
 
8737
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8738
  (eval "$ac_link") 2>conftest.er1
6870
8739
  ac_status=$?
 
8740
  grep -v '^ *+' conftest.er1 >conftest.err
 
8741
  rm -f conftest.er1
 
8742
  cat conftest.err >&5
6871
8743
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6872
8744
  (exit $ac_status); } &&
6873
 
         { ac_try='test -s conftest$ac_exeext'
6874
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6875
 
  (eval $ac_try) 2>&5
 
8745
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
8746
  { (case "(($ac_try" in
 
8747
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8748
  *) ac_try_echo=$ac_try;;
 
8749
esac
 
8750
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8751
  (eval "$ac_try") 2>&5
 
8752
  ac_status=$?
 
8753
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8754
  (exit $ac_status); }; } &&
 
8755
         { ac_try='test -s conftest$ac_exeext'
 
8756
  { (case "(($ac_try" in
 
8757
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8758
  *) ac_try_echo=$ac_try;;
 
8759
esac
 
8760
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8761
  (eval "$ac_try") 2>&5
6876
8762
  ac_status=$?
6877
8763
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6878
8764
  (exit $ac_status); }; }; then
6886
8772
  echo "$as_me: failed program was:" >&5
6887
8773
sed 's/^/| /' conftest.$ac_ext >&5
6888
8774
 
 
8775
 
6889
8776
fi
6890
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
8777
 
 
8778
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8779
      conftest$ac_exeext conftest.$ac_ext
6891
8780
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6892
8781
 
6893
8782
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6895
8784
          # -berok will link without error, but may produce a broken library.
6896
8785
          no_undefined_flag=' ${wl}-bernotok'
6897
8786
          allow_undefined_flag=' ${wl}-berok'
6898
 
          # -bexpall does not export symbols beginning with underscore (_)
6899
 
          always_export_symbols=yes
6900
8787
          # Exported symbols can be pulled into shared objects from archives
6901
 
          whole_archive_flag_spec=' '
 
8788
          whole_archive_flag_spec='$convenience'
6902
8789
          archive_cmds_need_lc=yes
6903
 
          # This is similar to how AIX traditionally builds it's shared libraries.
6904
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
8790
          # This is similar to how AIX traditionally builds its shared libraries.
 
8791
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
6905
8792
        fi
6906
8793
      fi
6907
8794
      ;;
6914
8801
      ld_shlibs=no
6915
8802
      ;;
6916
8803
 
6917
 
    bsdi4*)
 
8804
    bsdi[45]*)
6918
8805
      export_dynamic_flag_spec=-rdynamic
6919
8806
      ;;
6920
8807
 
6928
8815
      # Tell ltmain to make .lib files, not .a files.
6929
8816
      libext=lib
6930
8817
      # Tell ltmain to make .dll files, not .so files.
6931
 
      shrext=".dll"
 
8818
      shrext_cmds=".dll"
6932
8819
      # FIXME: Setting linknames here is a bad hack.
6933
8820
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
6934
8821
      # The linker will automatically build a .lib file if we build a DLL.
6940
8827
      ;;
6941
8828
 
6942
8829
    darwin* | rhapsody*)
6943
 
    if test "$GXX" = yes ; then
 
8830
      case $host_os in
 
8831
        rhapsody* | darwin1.[012])
 
8832
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
 
8833
         ;;
 
8834
       *) # Darwin 1.3 on
 
8835
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
8836
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
8837
         else
 
8838
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
8839
             10.[012])
 
8840
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
8841
               ;;
 
8842
             10.*)
 
8843
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
 
8844
               ;;
 
8845
           esac
 
8846
         fi
 
8847
         ;;
 
8848
      esac
6944
8849
      archive_cmds_need_lc=no
6945
 
      case "$host_os" in
6946
 
      rhapsody* | darwin1.[012])
6947
 
        allow_undefined_flag='-undefined suppress'
6948
 
        ;;
6949
 
      *) # Darwin 1.3 on
6950
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6951
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
6952
 
      else
6953
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
6954
 
          10.[012])
6955
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
6956
 
            ;;
6957
 
          10.*)
6958
 
            allow_undefined_flag='-undefined dynamic_lookup'
6959
 
            ;;
6960
 
        esac
6961
 
      fi
6962
 
        ;;
6963
 
      esac
6964
 
        lt_int_apple_cc_single_mod=no
6965
 
        output_verbose_link_cmd='echo'
6966
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
6967
 
          lt_int_apple_cc_single_mod=yes
6968
 
        fi
6969
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
6970
 
          archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6971
 
        else
6972
 
        archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6973
 
      fi
6974
 
      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6975
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
6976
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
6977
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6978
 
        else
6979
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6980
 
        fi
6981
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6982
8850
      hardcode_direct=no
6983
8851
      hardcode_automatic=yes
6984
8852
      hardcode_shlibpath_var=unsupported
6985
 
      whole_archive_flag_spec='-all_load $convenience'
 
8853
      whole_archive_flag_spec=''
6986
8854
      link_all_deplibs=yes
 
8855
    if test "$GCC" = yes ; then
 
8856
        output_verbose_link_cmd='echo'
 
8857
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
8858
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
8859
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
8860
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8861
      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6987
8862
    else
6988
 
      ld_shlibs=no
 
8863
      case $cc_basename in
 
8864
        xlc*)
 
8865
         output_verbose_link_cmd='echo'
 
8866
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
8867
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
8868
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
8869
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8870
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8871
          ;;
 
8872
       *)
 
8873
         ld_shlibs=no
 
8874
          ;;
 
8875
      esac
6989
8876
    fi
6990
8877
      ;;
6991
8878
 
7019
8906
      ;;
7020
8907
 
7021
8908
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7022
 
    freebsd* | kfreebsd*-gnu)
 
8909
    freebsd* | dragonfly*)
7023
8910
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7024
8911
      hardcode_libdir_flag_spec='-R$libdir'
7025
8912
      hardcode_direct=yes
7042
8929
      export_dynamic_flag_spec='${wl}-E'
7043
8930
      ;;
7044
8931
 
7045
 
    hpux10* | hpux11*)
7046
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7047
 
        case "$host_cpu" in
7048
 
        hppa*64*|ia64*)
 
8932
    hpux10*)
 
8933
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8934
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8935
      else
 
8936
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8937
      fi
 
8938
      if test "$with_gnu_ld" = no; then
 
8939
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8940
        hardcode_libdir_separator=:
 
8941
 
 
8942
        hardcode_direct=yes
 
8943
        export_dynamic_flag_spec='${wl}-E'
 
8944
 
 
8945
        # hardcode_minus_L: Not really in the search PATH,
 
8946
        # but as the default location of the library.
 
8947
        hardcode_minus_L=yes
 
8948
      fi
 
8949
      ;;
 
8950
 
 
8951
    hpux11*)
 
8952
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8953
        case $host_cpu in
 
8954
        hppa*64*)
7049
8955
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7050
8956
          ;;
 
8957
        ia64*)
 
8958
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8959
          ;;
7051
8960
        *)
7052
8961
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7053
8962
          ;;
7054
8963
        esac
7055
8964
      else
7056
 
        case "$host_cpu" in
7057
 
        hppa*64*|ia64*)
7058
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8965
        case $host_cpu in
 
8966
        hppa*64*)
 
8967
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8968
          ;;
 
8969
        ia64*)
 
8970
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7059
8971
          ;;
7060
8972
        *)
7061
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8973
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7062
8974
          ;;
7063
8975
        esac
7064
8976
      fi
7065
8977
      if test "$with_gnu_ld" = no; then
7066
 
        case "$host_cpu" in
7067
 
        hppa*64*)
7068
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8978
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8979
        hardcode_libdir_separator=:
 
8980
 
 
8981
        case $host_cpu in
 
8982
        hppa*64*|ia64*)
7069
8983
          hardcode_libdir_flag_spec_ld='+b $libdir'
7070
 
          hardcode_libdir_separator=:
7071
 
          hardcode_direct=no
7072
 
          hardcode_shlibpath_var=no
7073
 
          ;;
7074
 
        ia64*)
7075
 
          hardcode_libdir_flag_spec='-L$libdir'
7076
 
          hardcode_direct=no
7077
 
          hardcode_shlibpath_var=no
7078
 
 
7079
 
          # hardcode_minus_L: Not really in the search PATH,
7080
 
          # but as the default location of the library.
7081
 
          hardcode_minus_L=yes
 
8984
          hardcode_direct=no
 
8985
          hardcode_shlibpath_var=no
7082
8986
          ;;
7083
8987
        *)
7084
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7085
 
          hardcode_libdir_separator=:
7086
8988
          hardcode_direct=yes
7087
8989
          export_dynamic_flag_spec='${wl}-E'
7088
8990
 
7106
9008
      link_all_deplibs=yes
7107
9009
      ;;
7108
9010
 
7109
 
    netbsd* | knetbsd*-gnu)
 
9011
    netbsd* | netbsdelf*-gnu)
7110
9012
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7111
9013
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7112
9014
      else
7130
9032
      hardcode_shlibpath_var=no
7131
9033
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7132
9034
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9035
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7133
9036
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7134
9037
        export_dynamic_flag_spec='${wl}-E'
7135
9038
      else
7175
9078
        allow_undefined_flag=' -expect_unresolved \*'
7176
9079
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7177
9080
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7178
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
9081
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7179
9082
 
7180
9083
        # Both c and cxx compiler support -rpath directly
7181
9084
        hardcode_libdir_flag_spec='-rpath $libdir'
7183
9086
      hardcode_libdir_separator=:
7184
9087
      ;;
7185
9088
 
7186
 
    sco3.2v5*)
7187
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7188
 
      hardcode_shlibpath_var=no
7189
 
      export_dynamic_flag_spec='${wl}-Bexport'
7190
 
      runpath_var=LD_RUN_PATH
7191
 
      hardcode_runpath_var=yes
7192
 
      ;;
7193
 
 
7194
9089
    solaris*)
7195
9090
      no_undefined_flag=' -z text'
7196
9091
      if test "$GCC" = yes; then
 
9092
        wlarc='${wl}'
7197
9093
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7198
9094
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7199
9095
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7200
9096
      else
 
9097
        wlarc=''
7201
9098
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7202
9099
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7203
9100
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7206
9103
      hardcode_shlibpath_var=no
7207
9104
      case $host_os in
7208
9105
      solaris2.[0-5] | solaris2.[0-5].*) ;;
7209
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7210
 
        whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
9106
      *)
 
9107
        # The compiler driver will combine linker options so we
 
9108
        # cannot just pass the convience library names through
 
9109
        # without $wl, iff we do not link with $LD.
 
9110
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
9111
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9112
        case $wlarc in
 
9113
        '')
 
9114
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
9115
        *)
 
9116
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
 
9117
        esac ;;
7211
9118
      esac
7212
9119
      link_all_deplibs=yes
7213
9120
      ;;
7264
9171
      fi
7265
9172
      ;;
7266
9173
 
7267
 
    sysv4.2uw2*)
7268
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7269
 
      hardcode_direct=yes
7270
 
      hardcode_minus_L=no
7271
 
      hardcode_shlibpath_var=no
7272
 
      hardcode_runpath_var=yes
7273
 
      runpath_var=LD_RUN_PATH
7274
 
      ;;
7275
 
 
7276
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
7277
 
      no_undefined_flag='${wl}-z ${wl}text'
7278
 
      if test "$GCC" = yes; then
7279
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7280
 
      else
7281
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7282
 
      fi
7283
 
      runpath_var='LD_RUN_PATH'
7284
 
      hardcode_shlibpath_var=no
7285
 
      ;;
7286
 
 
7287
 
    sysv5*)
7288
 
      no_undefined_flag=' -z text'
7289
 
      # $CC -shared without GNU ld will not create a library from C++
7290
 
      # object files and a static libstdc++, better avoid it by now
7291
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7292
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7293
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7294
 
      hardcode_libdir_flag_spec=
7295
 
      hardcode_shlibpath_var=no
7296
 
      runpath_var='LD_RUN_PATH'
 
9174
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
9175
      no_undefined_flag='${wl}-z,text'
 
9176
      archive_cmds_need_lc=no
 
9177
      hardcode_shlibpath_var=no
 
9178
      runpath_var='LD_RUN_PATH'
 
9179
 
 
9180
      if test "$GCC" = yes; then
 
9181
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9182
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9183
      else
 
9184
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9185
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9186
      fi
 
9187
      ;;
 
9188
 
 
9189
    sysv5* | sco3.2v5* | sco5v6*)
 
9190
      # Note: We can NOT use -z defs as we might desire, because we do not
 
9191
      # link with -lc, and that would cause any symbols used from libc to
 
9192
      # always be unresolved, which means just about no library would
 
9193
      # ever link correctly.  If we're not using GNU ld we use -z text
 
9194
      # though, which does catch some bad symbols but isn't as heavy-handed
 
9195
      # as -z defs.
 
9196
      no_undefined_flag='${wl}-z,text'
 
9197
      allow_undefined_flag='${wl}-z,nodefs'
 
9198
      archive_cmds_need_lc=no
 
9199
      hardcode_shlibpath_var=no
 
9200
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
9201
      hardcode_libdir_separator=':'
 
9202
      link_all_deplibs=yes
 
9203
      export_dynamic_flag_spec='${wl}-Bexport'
 
9204
      runpath_var='LD_RUN_PATH'
 
9205
 
 
9206
      if test "$GCC" = yes; then
 
9207
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9208
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9209
      else
 
9210
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9211
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9212
      fi
7297
9213
      ;;
7298
9214
 
7299
9215
    uts4*)
7308
9224
    esac
7309
9225
  fi
7310
9226
 
7311
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7312
 
echo "${ECHO_T}$ld_shlibs" >&6
 
9227
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9228
echo "${ECHO_T}$ld_shlibs" >&6; }
7313
9229
test "$ld_shlibs" = no && can_build_shared=no
7314
9230
 
7315
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7316
 
if test "$GCC" = yes; then
7317
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7318
 
fi
7319
 
 
7320
9231
#
7321
9232
# Do we need to explicitly link libc?
7322
9233
#
7334
9245
      # Test whether the compiler implicitly links with -lc since on some
7335
9246
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7336
9247
      # to ld, don't add -lc before -lgcc.
7337
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7338
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
9248
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9249
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7339
9250
      $rm conftest*
7340
9251
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7341
9252
 
7349
9260
        libobjs=conftest.$ac_objext
7350
9261
        deplibs=
7351
9262
        wl=$lt_prog_compiler_wl
 
9263
        pic_flag=$lt_prog_compiler_pic
7352
9264
        compiler_flags=-v
7353
9265
        linker_flags=-v
7354
9266
        verstring=
7371
9283
        cat conftest.err 1>&5
7372
9284
      fi
7373
9285
      $rm conftest*
7374
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7375
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
9286
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9287
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7376
9288
      ;;
7377
9289
    esac
7378
9290
  fi
7379
9291
  ;;
7380
9292
esac
7381
9293
 
7382
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7383
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
9294
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9295
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7384
9296
library_names_spec=
7385
9297
libname_spec='lib$name'
7386
9298
soname_spec=
7387
 
shrext=".so"
 
9299
shrext_cmds=".so"
7388
9300
postinstall_cmds=
7389
9301
postuninstall_cmds=
7390
9302
finish_cmds=
7481
9393
  shlibpath_var=LIBRARY_PATH
7482
9394
  ;;
7483
9395
 
7484
 
bsdi4*)
 
9396
bsdi[45]*)
7485
9397
  version_type=linux
7486
9398
  need_version=no
7487
9399
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7497
9409
 
7498
9410
cygwin* | mingw* | pw32*)
7499
9411
  version_type=windows
7500
 
  shrext=".dll"
 
9412
  shrext_cmds=".dll"
7501
9413
  need_version=no
7502
9414
  need_lib_prefix=no
7503
9415
 
7509
9421
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7510
9422
      dldir=$destdir/`dirname \$dlpath`~
7511
9423
      test -d \$dldir || mkdir -p \$dldir~
7512
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
9424
      $install_prog $dir/$dlname \$dldir/$dlname~
 
9425
      chmod a+x \$dldir/$dlname'
7513
9426
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7514
9427
      dlpath=$dir/\$dldll~
7515
9428
       $rm \$dlpath'
7539
9452
      ;;
7540
9453
    pw32*)
7541
9454
      # pw32 DLLs use 'pw' prefix rather than 'lib'
7542
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
9455
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7543
9456
      ;;
7544
9457
    esac
7545
9458
    ;;
7562
9475
  soname_spec='${libname}${release}${major}$shared_ext'
7563
9476
  shlibpath_overrides_runpath=yes
7564
9477
  shlibpath_var=DYLD_LIBRARY_PATH
7565
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
 
9478
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
7566
9479
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7567
9480
  if test "$GCC" = yes; then
7568
9481
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
7585
9498
  dynamic_linker=no
7586
9499
  ;;
7587
9500
 
7588
 
kfreebsd*-gnu)
7589
 
  version_type=linux
7590
 
  need_lib_prefix=no
7591
 
  need_version=no
7592
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7593
 
  soname_spec='${libname}${release}${shared_ext}$major'
7594
 
  shlibpath_var=LD_LIBRARY_PATH
7595
 
  shlibpath_overrides_runpath=no
7596
 
  hardcode_into_libs=yes
7597
 
  dynamic_linker='GNU ld.so'
7598
 
  ;;
7599
 
 
7600
 
freebsd*)
7601
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
9501
freebsd* | dragonfly*)
 
9502
  # DragonFly does not have aout.  When/if they implement a new
 
9503
  # versioning mechanism, adjust this.
 
9504
  if test -x /usr/bin/objformat; then
 
9505
    objformat=`/usr/bin/objformat`
 
9506
  else
 
9507
    case $host_os in
 
9508
    freebsd[123]*) objformat=aout ;;
 
9509
    *) objformat=elf ;;
 
9510
    esac
 
9511
  fi
7602
9512
  version_type=freebsd-$objformat
7603
9513
  case $version_type in
7604
9514
    freebsd-elf*)
7616
9526
  freebsd2*)
7617
9527
    shlibpath_overrides_runpath=yes
7618
9528
    ;;
7619
 
  freebsd3.01* | freebsdelf3.01*)
 
9529
  freebsd3.[01]* | freebsdelf3.[01]*)
7620
9530
    shlibpath_overrides_runpath=yes
7621
9531
    hardcode_into_libs=yes
7622
9532
    ;;
7623
 
  *) # from 3.2 on
 
9533
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
9534
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
7624
9535
    shlibpath_overrides_runpath=no
7625
9536
    hardcode_into_libs=yes
7626
9537
    ;;
 
9538
  freebsd*) # from 4.6 on
 
9539
    shlibpath_overrides_runpath=yes
 
9540
    hardcode_into_libs=yes
 
9541
    ;;
7627
9542
  esac
7628
9543
  ;;
7629
9544
 
7643
9558
  version_type=sunos
7644
9559
  need_lib_prefix=no
7645
9560
  need_version=no
7646
 
  case "$host_cpu" in
 
9561
  case $host_cpu in
7647
9562
  ia64*)
7648
 
    shrext='.so'
 
9563
    shrext_cmds='.so'
7649
9564
    hardcode_into_libs=yes
7650
9565
    dynamic_linker="$host_os dld.so"
7651
9566
    shlibpath_var=LD_LIBRARY_PATH
7660
9575
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7661
9576
    ;;
7662
9577
   hppa*64*)
7663
 
     shrext='.sl'
 
9578
     shrext_cmds='.sl'
7664
9579
     hardcode_into_libs=yes
7665
9580
     dynamic_linker="$host_os dld.sl"
7666
9581
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7671
9586
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7672
9587
     ;;
7673
9588
   *)
7674
 
    shrext='.sl'
 
9589
    shrext_cmds='.sl'
7675
9590
    dynamic_linker="$host_os dld.sl"
7676
9591
    shlibpath_var=SHLIB_PATH
7677
9592
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7683
9598
  postinstall_cmds='chmod 555 $lib'
7684
9599
  ;;
7685
9600
 
 
9601
interix3*)
 
9602
  version_type=linux
 
9603
  need_lib_prefix=no
 
9604
  need_version=no
 
9605
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9606
  soname_spec='${libname}${release}${shared_ext}$major'
 
9607
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
9608
  shlibpath_var=LD_LIBRARY_PATH
 
9609
  shlibpath_overrides_runpath=no
 
9610
  hardcode_into_libs=yes
 
9611
  ;;
 
9612
 
7686
9613
irix5* | irix6* | nonstopux*)
7687
9614
  case $host_os in
7688
9615
    nonstopux*) version_type=nonstopux ;;
7726
9653
  ;;
7727
9654
 
7728
9655
# This must be Linux ELF.
7729
 
linux*)
 
9656
linux* | k*bsd*-gnu)
7730
9657
  version_type=linux
7731
9658
  need_lib_prefix=no
7732
9659
  need_version=no
7742
9669
 
7743
9670
  # Append ld.so.conf contents to the search path
7744
9671
  if test -f /etc/ld.so.conf; then
7745
 
    ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
7746
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
 
9672
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
9673
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
7747
9674
  fi
7748
9675
 
7749
9676
  # We used to test for /lib/ld.so.1 and disable shared libraries on
7755
9682
  dynamic_linker='GNU/Linux ld.so'
7756
9683
  ;;
7757
9684
 
7758
 
knetbsd*-gnu)
 
9685
netbsdelf*-gnu)
7759
9686
  version_type=linux
7760
9687
  need_lib_prefix=no
7761
9688
  need_version=no
7764
9691
  shlibpath_var=LD_LIBRARY_PATH
7765
9692
  shlibpath_overrides_runpath=no
7766
9693
  hardcode_into_libs=yes
7767
 
  dynamic_linker='GNU ld.so'
 
9694
  dynamic_linker='NetBSD ld.elf_so'
7768
9695
  ;;
7769
9696
 
7770
9697
netbsd*)
7804
9731
 
7805
9732
openbsd*)
7806
9733
  version_type=sunos
 
9734
  sys_lib_dlsearch_path_spec="/usr/lib"
7807
9735
  need_lib_prefix=no
7808
 
  need_version=yes
 
9736
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
9737
  case $host_os in
 
9738
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
9739
    *)                         need_version=no  ;;
 
9740
  esac
7809
9741
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7810
9742
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7811
9743
  shlibpath_var=LD_LIBRARY_PATH
7825
9757
 
7826
9758
os2*)
7827
9759
  libname_spec='$name'
7828
 
  shrext=".dll"
 
9760
  shrext_cmds=".dll"
7829
9761
  need_lib_prefix=no
7830
9762
  library_names_spec='$libname${shared_ext} $libname.a'
7831
9763
  dynamic_linker='OS/2 ld.exe'
7843
9775
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7844
9776
  ;;
7845
9777
 
7846
 
sco3.2v5*)
7847
 
  version_type=osf
7848
 
  soname_spec='${libname}${release}${shared_ext}$major'
7849
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7850
 
  shlibpath_var=LD_LIBRARY_PATH
7851
 
  ;;
7852
 
 
7853
9778
solaris*)
7854
9779
  version_type=linux
7855
9780
  need_lib_prefix=no
7875
9800
  need_version=yes
7876
9801
  ;;
7877
9802
 
7878
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9803
sysv4 | sysv4.3*)
7879
9804
  version_type=linux
7880
9805
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7881
9806
  soname_spec='${libname}${release}${shared_ext}$major'
7908
9833
  fi
7909
9834
  ;;
7910
9835
 
 
9836
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
9837
  version_type=freebsd-elf
 
9838
  need_lib_prefix=no
 
9839
  need_version=no
 
9840
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9841
  soname_spec='${libname}${release}${shared_ext}$major'
 
9842
  shlibpath_var=LD_LIBRARY_PATH
 
9843
  hardcode_into_libs=yes
 
9844
  if test "$with_gnu_ld" = yes; then
 
9845
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
9846
    shlibpath_overrides_runpath=no
 
9847
  else
 
9848
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
9849
    shlibpath_overrides_runpath=yes
 
9850
    case $host_os in
 
9851
      sco3.2v5*)
 
9852
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
9853
        ;;
 
9854
    esac
 
9855
  fi
 
9856
  sys_lib_dlsearch_path_spec='/usr/lib'
 
9857
  ;;
 
9858
 
7911
9859
uts4*)
7912
9860
  version_type=linux
7913
9861
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7919
9867
  dynamic_linker=no
7920
9868
  ;;
7921
9869
esac
7922
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
7923
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9870
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9871
echo "${ECHO_T}$dynamic_linker" >&6; }
7924
9872
test "$dynamic_linker" = no && can_build_shared=no
7925
9873
 
7926
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7927
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9874
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
9875
if test "$GCC" = yes; then
 
9876
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
9877
fi
 
9878
 
 
9879
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9880
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
7928
9881
hardcode_action=
7929
9882
if test -n "$hardcode_libdir_flag_spec" || \
7930
 
   test -n "$runpath_var " || \
7931
 
   test "X$hardcode_automatic"="Xyes" ; then
 
9883
   test -n "$runpath_var" || \
 
9884
   test "X$hardcode_automatic" = "Xyes" ; then
7932
9885
 
7933
9886
  # We can hardcode non-existant directories.
7934
9887
  if test "$hardcode_direct" != no &&
7948
9901
  # directories.
7949
9902
  hardcode_action=unsupported
7950
9903
fi
7951
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
7952
 
echo "${ECHO_T}$hardcode_action" >&6
 
9904
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9905
echo "${ECHO_T}$hardcode_action" >&6; }
7953
9906
 
7954
9907
if test "$hardcode_action" = relink; then
7955
9908
  # Fast installation is not supported
7962
9915
 
7963
9916
striplib=
7964
9917
old_striplib=
7965
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7966
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
9918
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9919
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
7967
9920
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7968
9921
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7969
9922
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7970
 
  echo "$as_me:$LINENO: result: yes" >&5
7971
 
echo "${ECHO_T}yes" >&6
 
9923
  { echo "$as_me:$LINENO: result: yes" >&5
 
9924
echo "${ECHO_T}yes" >&6; }
7972
9925
else
7973
9926
# FIXME - insert some real tests, host_os isn't really good enough
7974
9927
  case $host_os in
7975
9928
   darwin*)
7976
9929
       if test -n "$STRIP" ; then
7977
9930
         striplib="$STRIP -x"
7978
 
         echo "$as_me:$LINENO: result: yes" >&5
7979
 
echo "${ECHO_T}yes" >&6
 
9931
         { echo "$as_me:$LINENO: result: yes" >&5
 
9932
echo "${ECHO_T}yes" >&6; }
7980
9933
       else
7981
 
  echo "$as_me:$LINENO: result: no" >&5
7982
 
echo "${ECHO_T}no" >&6
 
9934
  { echo "$as_me:$LINENO: result: no" >&5
 
9935
echo "${ECHO_T}no" >&6; }
7983
9936
fi
7984
9937
       ;;
7985
9938
   *)
7986
 
  echo "$as_me:$LINENO: result: no" >&5
7987
 
echo "${ECHO_T}no" >&6
 
9939
  { echo "$as_me:$LINENO: result: no" >&5
 
9940
echo "${ECHO_T}no" >&6; }
7988
9941
    ;;
7989
9942
  esac
7990
9943
fi
8016
9969
 
8017
9970
  darwin*)
8018
9971
  # if libdl is installed we need to link against it
8019
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8020
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9972
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9973
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8021
9974
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8022
9975
  echo $ECHO_N "(cached) $ECHO_C" >&6
8023
9976
else
8024
9977
  ac_check_lib_save_LIBS=$LIBS
8025
9978
LIBS="-ldl  $LIBS"
8026
9979
cat >conftest.$ac_ext <<_ACEOF
8027
 
#line $LINENO "configure"
8028
9980
/* confdefs.h.  */
8029
9981
_ACEOF
8030
9982
cat confdefs.h >>conftest.$ac_ext
8031
9983
cat >>conftest.$ac_ext <<_ACEOF
8032
9984
/* end confdefs.h.  */
8033
9985
 
8034
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9986
/* Override any GCC internal prototype to avoid an error.
 
9987
   Use char because int might match the return type of a GCC
 
9988
   builtin and then its argument prototype would still apply.  */
8035
9989
#ifdef __cplusplus
8036
9990
extern "C"
8037
9991
#endif
8038
 
/* We use char because int might match the return type of a gcc2
8039
 
   builtin and then its argument prototype would still apply.  */
8040
9992
char dlopen ();
8041
9993
int
8042
9994
main ()
8043
9995
{
8044
 
dlopen ();
 
9996
return dlopen ();
8045
9997
  ;
8046
9998
  return 0;
8047
9999
}
8048
10000
_ACEOF
8049
10001
rm -f conftest.$ac_objext conftest$ac_exeext
8050
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8051
 
  (eval $ac_link) 2>&5
 
10002
if { (ac_try="$ac_link"
 
10003
case "(($ac_try" in
 
10004
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10005
  *) ac_try_echo=$ac_try;;
 
10006
esac
 
10007
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10008
  (eval "$ac_link") 2>conftest.er1
8052
10009
  ac_status=$?
 
10010
  grep -v '^ *+' conftest.er1 >conftest.err
 
10011
  rm -f conftest.er1
 
10012
  cat conftest.err >&5
8053
10013
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8054
10014
  (exit $ac_status); } &&
8055
 
         { ac_try='test -s conftest$ac_exeext'
8056
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8057
 
  (eval $ac_try) 2>&5
 
10015
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10016
  { (case "(($ac_try" in
 
10017
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10018
  *) ac_try_echo=$ac_try;;
 
10019
esac
 
10020
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10021
  (eval "$ac_try") 2>&5
 
10022
  ac_status=$?
 
10023
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10024
  (exit $ac_status); }; } &&
 
10025
         { ac_try='test -s conftest$ac_exeext'
 
10026
  { (case "(($ac_try" in
 
10027
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10028
  *) ac_try_echo=$ac_try;;
 
10029
esac
 
10030
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10031
  (eval "$ac_try") 2>&5
8058
10032
  ac_status=$?
8059
10033
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060
10034
  (exit $ac_status); }; }; then
8063
10037
  echo "$as_me: failed program was:" >&5
8064
10038
sed 's/^/| /' conftest.$ac_ext >&5
8065
10039
 
8066
 
ac_cv_lib_dl_dlopen=no
 
10040
        ac_cv_lib_dl_dlopen=no
8067
10041
fi
8068
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
10042
 
 
10043
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10044
      conftest$ac_exeext conftest.$ac_ext
8069
10045
LIBS=$ac_check_lib_save_LIBS
8070
10046
fi
8071
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8072
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
10047
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10048
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8073
10049
if test $ac_cv_lib_dl_dlopen = yes; then
8074
10050
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8075
10051
else
8083
10059
   ;;
8084
10060
 
8085
10061
  *)
8086
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8087
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
10062
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
10063
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8088
10064
if test "${ac_cv_func_shl_load+set}" = set; then
8089
10065
  echo $ECHO_N "(cached) $ECHO_C" >&6
8090
10066
else
8091
10067
  cat >conftest.$ac_ext <<_ACEOF
8092
 
#line $LINENO "configure"
8093
10068
/* confdefs.h.  */
8094
10069
_ACEOF
8095
10070
cat confdefs.h >>conftest.$ac_ext
8096
10071
cat >>conftest.$ac_ext <<_ACEOF
8097
10072
/* end confdefs.h.  */
 
10073
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 
10074
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
10075
#define shl_load innocuous_shl_load
 
10076
 
8098
10077
/* System header to define __stub macros and hopefully few prototypes,
8099
10078
    which can conflict with char shl_load (); below.
8100
10079
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8101
10080
    <limits.h> exists even on freestanding compilers.  */
 
10081
 
8102
10082
#ifdef __STDC__
8103
10083
# include <limits.h>
8104
10084
#else
8105
10085
# include <assert.h>
8106
10086
#endif
8107
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10087
 
 
10088
#undef shl_load
 
10089
 
 
10090
/* Override any GCC internal prototype to avoid an error.
 
10091
   Use char because int might match the return type of a GCC
 
10092
   builtin and then its argument prototype would still apply.  */
8108
10093
#ifdef __cplusplus
8109
10094
extern "C"
8110
 
{
8111
10095
#endif
8112
 
/* We use char because int might match the return type of a gcc2
8113
 
   builtin and then its argument prototype would still apply.  */
8114
10096
char shl_load ();
8115
10097
/* The GNU C library defines this for functions which it implements
8116
10098
    to always fail with ENOSYS.  Some functions are actually named
8117
10099
    something starting with __ and the normal name is an alias.  */
8118
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
10100
#if defined __stub_shl_load || defined __stub___shl_load
8119
10101
choke me
8120
 
#else
8121
 
char (*f) () = shl_load;
8122
 
#endif
8123
 
#ifdef __cplusplus
8124
 
}
8125
10102
#endif
8126
10103
 
8127
10104
int
8128
10105
main ()
8129
10106
{
8130
 
return f != shl_load;
 
10107
return shl_load ();
8131
10108
  ;
8132
10109
  return 0;
8133
10110
}
8134
10111
_ACEOF
8135
10112
rm -f conftest.$ac_objext conftest$ac_exeext
8136
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8137
 
  (eval $ac_link) 2>&5
 
10113
if { (ac_try="$ac_link"
 
10114
case "(($ac_try" in
 
10115
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10116
  *) ac_try_echo=$ac_try;;
 
10117
esac
 
10118
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10119
  (eval "$ac_link") 2>conftest.er1
8138
10120
  ac_status=$?
 
10121
  grep -v '^ *+' conftest.er1 >conftest.err
 
10122
  rm -f conftest.er1
 
10123
  cat conftest.err >&5
8139
10124
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140
10125
  (exit $ac_status); } &&
8141
 
         { ac_try='test -s conftest$ac_exeext'
8142
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8143
 
  (eval $ac_try) 2>&5
 
10126
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10127
  { (case "(($ac_try" in
 
10128
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10129
  *) ac_try_echo=$ac_try;;
 
10130
esac
 
10131
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10132
  (eval "$ac_try") 2>&5
 
10133
  ac_status=$?
 
10134
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10135
  (exit $ac_status); }; } &&
 
10136
         { ac_try='test -s conftest$ac_exeext'
 
10137
  { (case "(($ac_try" in
 
10138
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10139
  *) ac_try_echo=$ac_try;;
 
10140
esac
 
10141
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10142
  (eval "$ac_try") 2>&5
8144
10143
  ac_status=$?
8145
10144
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146
10145
  (exit $ac_status); }; }; then
8149
10148
  echo "$as_me: failed program was:" >&5
8150
10149
sed 's/^/| /' conftest.$ac_ext >&5
8151
10150
 
8152
 
ac_cv_func_shl_load=no
8153
 
fi
8154
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8155
 
fi
8156
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8157
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
10151
        ac_cv_func_shl_load=no
 
10152
fi
 
10153
 
 
10154
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10155
      conftest$ac_exeext conftest.$ac_ext
 
10156
fi
 
10157
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
10158
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8158
10159
if test $ac_cv_func_shl_load = yes; then
8159
10160
  lt_cv_dlopen="shl_load"
8160
10161
else
8161
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8162
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
10162
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10163
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8163
10164
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8164
10165
  echo $ECHO_N "(cached) $ECHO_C" >&6
8165
10166
else
8166
10167
  ac_check_lib_save_LIBS=$LIBS
8167
10168
LIBS="-ldld  $LIBS"
8168
10169
cat >conftest.$ac_ext <<_ACEOF
8169
 
#line $LINENO "configure"
8170
10170
/* confdefs.h.  */
8171
10171
_ACEOF
8172
10172
cat confdefs.h >>conftest.$ac_ext
8173
10173
cat >>conftest.$ac_ext <<_ACEOF
8174
10174
/* end confdefs.h.  */
8175
10175
 
8176
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10176
/* Override any GCC internal prototype to avoid an error.
 
10177
   Use char because int might match the return type of a GCC
 
10178
   builtin and then its argument prototype would still apply.  */
8177
10179
#ifdef __cplusplus
8178
10180
extern "C"
8179
10181
#endif
8180
 
/* We use char because int might match the return type of a gcc2
8181
 
   builtin and then its argument prototype would still apply.  */
8182
10182
char shl_load ();
8183
10183
int
8184
10184
main ()
8185
10185
{
8186
 
shl_load ();
 
10186
return shl_load ();
8187
10187
  ;
8188
10188
  return 0;
8189
10189
}
8190
10190
_ACEOF
8191
10191
rm -f conftest.$ac_objext conftest$ac_exeext
8192
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8193
 
  (eval $ac_link) 2>&5
 
10192
if { (ac_try="$ac_link"
 
10193
case "(($ac_try" in
 
10194
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10195
  *) ac_try_echo=$ac_try;;
 
10196
esac
 
10197
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10198
  (eval "$ac_link") 2>conftest.er1
8194
10199
  ac_status=$?
 
10200
  grep -v '^ *+' conftest.er1 >conftest.err
 
10201
  rm -f conftest.er1
 
10202
  cat conftest.err >&5
8195
10203
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196
10204
  (exit $ac_status); } &&
8197
 
         { ac_try='test -s conftest$ac_exeext'
8198
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8199
 
  (eval $ac_try) 2>&5
 
10205
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10206
  { (case "(($ac_try" in
 
10207
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10208
  *) ac_try_echo=$ac_try;;
 
10209
esac
 
10210
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10211
  (eval "$ac_try") 2>&5
 
10212
  ac_status=$?
 
10213
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10214
  (exit $ac_status); }; } &&
 
10215
         { ac_try='test -s conftest$ac_exeext'
 
10216
  { (case "(($ac_try" in
 
10217
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10218
  *) ac_try_echo=$ac_try;;
 
10219
esac
 
10220
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10221
  (eval "$ac_try") 2>&5
8200
10222
  ac_status=$?
8201
10223
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8202
10224
  (exit $ac_status); }; }; then
8205
10227
  echo "$as_me: failed program was:" >&5
8206
10228
sed 's/^/| /' conftest.$ac_ext >&5
8207
10229
 
8208
 
ac_cv_lib_dld_shl_load=no
 
10230
        ac_cv_lib_dld_shl_load=no
8209
10231
fi
8210
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
10232
 
 
10233
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10234
      conftest$ac_exeext conftest.$ac_ext
8211
10235
LIBS=$ac_check_lib_save_LIBS
8212
10236
fi
8213
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8214
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
10237
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10238
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8215
10239
if test $ac_cv_lib_dld_shl_load = yes; then
8216
10240
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8217
10241
else
8218
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8219
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
10242
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
10243
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8220
10244
if test "${ac_cv_func_dlopen+set}" = set; then
8221
10245
  echo $ECHO_N "(cached) $ECHO_C" >&6
8222
10246
else
8223
10247
  cat >conftest.$ac_ext <<_ACEOF
8224
 
#line $LINENO "configure"
8225
10248
/* confdefs.h.  */
8226
10249
_ACEOF
8227
10250
cat confdefs.h >>conftest.$ac_ext
8228
10251
cat >>conftest.$ac_ext <<_ACEOF
8229
10252
/* end confdefs.h.  */
 
10253
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 
10254
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
10255
#define dlopen innocuous_dlopen
 
10256
 
8230
10257
/* System header to define __stub macros and hopefully few prototypes,
8231
10258
    which can conflict with char dlopen (); below.
8232
10259
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8233
10260
    <limits.h> exists even on freestanding compilers.  */
 
10261
 
8234
10262
#ifdef __STDC__
8235
10263
# include <limits.h>
8236
10264
#else
8237
10265
# include <assert.h>
8238
10266
#endif
8239
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10267
 
 
10268
#undef dlopen
 
10269
 
 
10270
/* Override any GCC internal prototype to avoid an error.
 
10271
   Use char because int might match the return type of a GCC
 
10272
   builtin and then its argument prototype would still apply.  */
8240
10273
#ifdef __cplusplus
8241
10274
extern "C"
8242
 
{
8243
10275
#endif
8244
 
/* We use char because int might match the return type of a gcc2
8245
 
   builtin and then its argument prototype would still apply.  */
8246
10276
char dlopen ();
8247
10277
/* The GNU C library defines this for functions which it implements
8248
10278
    to always fail with ENOSYS.  Some functions are actually named
8249
10279
    something starting with __ and the normal name is an alias.  */
8250
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
10280
#if defined __stub_dlopen || defined __stub___dlopen
8251
10281
choke me
8252
 
#else
8253
 
char (*f) () = dlopen;
8254
 
#endif
8255
 
#ifdef __cplusplus
8256
 
}
8257
10282
#endif
8258
10283
 
8259
10284
int
8260
10285
main ()
8261
10286
{
8262
 
return f != dlopen;
 
10287
return dlopen ();
8263
10288
  ;
8264
10289
  return 0;
8265
10290
}
8266
10291
_ACEOF
8267
10292
rm -f conftest.$ac_objext conftest$ac_exeext
8268
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8269
 
  (eval $ac_link) 2>&5
 
10293
if { (ac_try="$ac_link"
 
10294
case "(($ac_try" in
 
10295
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10296
  *) ac_try_echo=$ac_try;;
 
10297
esac
 
10298
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10299
  (eval "$ac_link") 2>conftest.er1
8270
10300
  ac_status=$?
 
10301
  grep -v '^ *+' conftest.er1 >conftest.err
 
10302
  rm -f conftest.er1
 
10303
  cat conftest.err >&5
8271
10304
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272
10305
  (exit $ac_status); } &&
8273
 
         { ac_try='test -s conftest$ac_exeext'
8274
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8275
 
  (eval $ac_try) 2>&5
 
10306
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10307
  { (case "(($ac_try" in
 
10308
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10309
  *) ac_try_echo=$ac_try;;
 
10310
esac
 
10311
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10312
  (eval "$ac_try") 2>&5
 
10313
  ac_status=$?
 
10314
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10315
  (exit $ac_status); }; } &&
 
10316
         { ac_try='test -s conftest$ac_exeext'
 
10317
  { (case "(($ac_try" in
 
10318
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10319
  *) ac_try_echo=$ac_try;;
 
10320
esac
 
10321
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10322
  (eval "$ac_try") 2>&5
8276
10323
  ac_status=$?
8277
10324
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8278
10325
  (exit $ac_status); }; }; then
8281
10328
  echo "$as_me: failed program was:" >&5
8282
10329
sed 's/^/| /' conftest.$ac_ext >&5
8283
10330
 
8284
 
ac_cv_func_dlopen=no
8285
 
fi
8286
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8287
 
fi
8288
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8289
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
10331
        ac_cv_func_dlopen=no
 
10332
fi
 
10333
 
 
10334
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10335
      conftest$ac_exeext conftest.$ac_ext
 
10336
fi
 
10337
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
10338
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8290
10339
if test $ac_cv_func_dlopen = yes; then
8291
10340
  lt_cv_dlopen="dlopen"
8292
10341
else
8293
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8294
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
10342
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10343
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8295
10344
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8296
10345
  echo $ECHO_N "(cached) $ECHO_C" >&6
8297
10346
else
8298
10347
  ac_check_lib_save_LIBS=$LIBS
8299
10348
LIBS="-ldl  $LIBS"
8300
10349
cat >conftest.$ac_ext <<_ACEOF
8301
 
#line $LINENO "configure"
8302
10350
/* confdefs.h.  */
8303
10351
_ACEOF
8304
10352
cat confdefs.h >>conftest.$ac_ext
8305
10353
cat >>conftest.$ac_ext <<_ACEOF
8306
10354
/* end confdefs.h.  */
8307
10355
 
8308
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10356
/* Override any GCC internal prototype to avoid an error.
 
10357
   Use char because int might match the return type of a GCC
 
10358
   builtin and then its argument prototype would still apply.  */
8309
10359
#ifdef __cplusplus
8310
10360
extern "C"
8311
10361
#endif
8312
 
/* We use char because int might match the return type of a gcc2
8313
 
   builtin and then its argument prototype would still apply.  */
8314
10362
char dlopen ();
8315
10363
int
8316
10364
main ()
8317
10365
{
8318
 
dlopen ();
 
10366
return dlopen ();
8319
10367
  ;
8320
10368
  return 0;
8321
10369
}
8322
10370
_ACEOF
8323
10371
rm -f conftest.$ac_objext conftest$ac_exeext
8324
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8325
 
  (eval $ac_link) 2>&5
 
10372
if { (ac_try="$ac_link"
 
10373
case "(($ac_try" in
 
10374
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10375
  *) ac_try_echo=$ac_try;;
 
10376
esac
 
10377
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10378
  (eval "$ac_link") 2>conftest.er1
8326
10379
  ac_status=$?
 
10380
  grep -v '^ *+' conftest.er1 >conftest.err
 
10381
  rm -f conftest.er1
 
10382
  cat conftest.err >&5
8327
10383
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328
10384
  (exit $ac_status); } &&
8329
 
         { ac_try='test -s conftest$ac_exeext'
8330
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8331
 
  (eval $ac_try) 2>&5
 
10385
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10386
  { (case "(($ac_try" in
 
10387
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10388
  *) ac_try_echo=$ac_try;;
 
10389
esac
 
10390
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10391
  (eval "$ac_try") 2>&5
 
10392
  ac_status=$?
 
10393
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10394
  (exit $ac_status); }; } &&
 
10395
         { ac_try='test -s conftest$ac_exeext'
 
10396
  { (case "(($ac_try" in
 
10397
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10398
  *) ac_try_echo=$ac_try;;
 
10399
esac
 
10400
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10401
  (eval "$ac_try") 2>&5
8332
10402
  ac_status=$?
8333
10403
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334
10404
  (exit $ac_status); }; }; then
8337
10407
  echo "$as_me: failed program was:" >&5
8338
10408
sed 's/^/| /' conftest.$ac_ext >&5
8339
10409
 
8340
 
ac_cv_lib_dl_dlopen=no
 
10410
        ac_cv_lib_dl_dlopen=no
8341
10411
fi
8342
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
10412
 
 
10413
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10414
      conftest$ac_exeext conftest.$ac_ext
8343
10415
LIBS=$ac_check_lib_save_LIBS
8344
10416
fi
8345
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8346
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
10417
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10418
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8347
10419
if test $ac_cv_lib_dl_dlopen = yes; then
8348
10420
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8349
10421
else
8350
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8351
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
10422
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10423
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8352
10424
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8353
10425
  echo $ECHO_N "(cached) $ECHO_C" >&6
8354
10426
else
8355
10427
  ac_check_lib_save_LIBS=$LIBS
8356
10428
LIBS="-lsvld  $LIBS"
8357
10429
cat >conftest.$ac_ext <<_ACEOF
8358
 
#line $LINENO "configure"
8359
10430
/* confdefs.h.  */
8360
10431
_ACEOF
8361
10432
cat confdefs.h >>conftest.$ac_ext
8362
10433
cat >>conftest.$ac_ext <<_ACEOF
8363
10434
/* end confdefs.h.  */
8364
10435
 
8365
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10436
/* Override any GCC internal prototype to avoid an error.
 
10437
   Use char because int might match the return type of a GCC
 
10438
   builtin and then its argument prototype would still apply.  */
8366
10439
#ifdef __cplusplus
8367
10440
extern "C"
8368
10441
#endif
8369
 
/* We use char because int might match the return type of a gcc2
8370
 
   builtin and then its argument prototype would still apply.  */
8371
10442
char dlopen ();
8372
10443
int
8373
10444
main ()
8374
10445
{
8375
 
dlopen ();
 
10446
return dlopen ();
8376
10447
  ;
8377
10448
  return 0;
8378
10449
}
8379
10450
_ACEOF
8380
10451
rm -f conftest.$ac_objext conftest$ac_exeext
8381
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8382
 
  (eval $ac_link) 2>&5
 
10452
if { (ac_try="$ac_link"
 
10453
case "(($ac_try" in
 
10454
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10455
  *) ac_try_echo=$ac_try;;
 
10456
esac
 
10457
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10458
  (eval "$ac_link") 2>conftest.er1
8383
10459
  ac_status=$?
 
10460
  grep -v '^ *+' conftest.er1 >conftest.err
 
10461
  rm -f conftest.er1
 
10462
  cat conftest.err >&5
8384
10463
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8385
10464
  (exit $ac_status); } &&
8386
 
         { ac_try='test -s conftest$ac_exeext'
8387
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8388
 
  (eval $ac_try) 2>&5
 
10465
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10466
  { (case "(($ac_try" in
 
10467
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10468
  *) ac_try_echo=$ac_try;;
 
10469
esac
 
10470
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10471
  (eval "$ac_try") 2>&5
 
10472
  ac_status=$?
 
10473
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10474
  (exit $ac_status); }; } &&
 
10475
         { ac_try='test -s conftest$ac_exeext'
 
10476
  { (case "(($ac_try" in
 
10477
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10478
  *) ac_try_echo=$ac_try;;
 
10479
esac
 
10480
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10481
  (eval "$ac_try") 2>&5
8389
10482
  ac_status=$?
8390
10483
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8391
10484
  (exit $ac_status); }; }; then
8394
10487
  echo "$as_me: failed program was:" >&5
8395
10488
sed 's/^/| /' conftest.$ac_ext >&5
8396
10489
 
8397
 
ac_cv_lib_svld_dlopen=no
 
10490
        ac_cv_lib_svld_dlopen=no
8398
10491
fi
8399
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
10492
 
 
10493
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10494
      conftest$ac_exeext conftest.$ac_ext
8400
10495
LIBS=$ac_check_lib_save_LIBS
8401
10496
fi
8402
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8403
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
10497
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10498
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
8404
10499
if test $ac_cv_lib_svld_dlopen = yes; then
8405
10500
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8406
10501
else
8407
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8408
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
10502
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10503
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
8409
10504
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8410
10505
  echo $ECHO_N "(cached) $ECHO_C" >&6
8411
10506
else
8412
10507
  ac_check_lib_save_LIBS=$LIBS
8413
10508
LIBS="-ldld  $LIBS"
8414
10509
cat >conftest.$ac_ext <<_ACEOF
8415
 
#line $LINENO "configure"
8416
10510
/* confdefs.h.  */
8417
10511
_ACEOF
8418
10512
cat confdefs.h >>conftest.$ac_ext
8419
10513
cat >>conftest.$ac_ext <<_ACEOF
8420
10514
/* end confdefs.h.  */
8421
10515
 
8422
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10516
/* Override any GCC internal prototype to avoid an error.
 
10517
   Use char because int might match the return type of a GCC
 
10518
   builtin and then its argument prototype would still apply.  */
8423
10519
#ifdef __cplusplus
8424
10520
extern "C"
8425
10521
#endif
8426
 
/* We use char because int might match the return type of a gcc2
8427
 
   builtin and then its argument prototype would still apply.  */
8428
10522
char dld_link ();
8429
10523
int
8430
10524
main ()
8431
10525
{
8432
 
dld_link ();
 
10526
return dld_link ();
8433
10527
  ;
8434
10528
  return 0;
8435
10529
}
8436
10530
_ACEOF
8437
10531
rm -f conftest.$ac_objext conftest$ac_exeext
8438
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8439
 
  (eval $ac_link) 2>&5
 
10532
if { (ac_try="$ac_link"
 
10533
case "(($ac_try" in
 
10534
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10535
  *) ac_try_echo=$ac_try;;
 
10536
esac
 
10537
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10538
  (eval "$ac_link") 2>conftest.er1
8440
10539
  ac_status=$?
 
10540
  grep -v '^ *+' conftest.er1 >conftest.err
 
10541
  rm -f conftest.er1
 
10542
  cat conftest.err >&5
8441
10543
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442
10544
  (exit $ac_status); } &&
8443
 
         { ac_try='test -s conftest$ac_exeext'
8444
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8445
 
  (eval $ac_try) 2>&5
 
10545
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10546
  { (case "(($ac_try" in
 
10547
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10548
  *) ac_try_echo=$ac_try;;
 
10549
esac
 
10550
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10551
  (eval "$ac_try") 2>&5
 
10552
  ac_status=$?
 
10553
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10554
  (exit $ac_status); }; } &&
 
10555
         { ac_try='test -s conftest$ac_exeext'
 
10556
  { (case "(($ac_try" in
 
10557
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10558
  *) ac_try_echo=$ac_try;;
 
10559
esac
 
10560
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10561
  (eval "$ac_try") 2>&5
8446
10562
  ac_status=$?
8447
10563
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448
10564
  (exit $ac_status); }; }; then
8451
10567
  echo "$as_me: failed program was:" >&5
8452
10568
sed 's/^/| /' conftest.$ac_ext >&5
8453
10569
 
8454
 
ac_cv_lib_dld_dld_link=no
 
10570
        ac_cv_lib_dld_dld_link=no
8455
10571
fi
8456
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
10572
 
 
10573
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10574
      conftest$ac_exeext conftest.$ac_ext
8457
10575
LIBS=$ac_check_lib_save_LIBS
8458
10576
fi
8459
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8460
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
10577
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10578
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
8461
10579
if test $ac_cv_lib_dld_dld_link = yes; then
8462
10580
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8463
10581
fi
8492
10610
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8493
10611
 
8494
10612
    save_LDFLAGS="$LDFLAGS"
8495
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
10613
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8496
10614
 
8497
10615
    save_LIBS="$LIBS"
8498
10616
    LIBS="$lt_cv_dlopen_libs $LIBS"
8499
10617
 
8500
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8501
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
10618
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10619
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
8502
10620
if test "${lt_cv_dlopen_self+set}" = set; then
8503
10621
  echo $ECHO_N "(cached) $ECHO_C" >&6
8504
10622
else
8508
10626
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8509
10627
  lt_status=$lt_dlunknown
8510
10628
  cat > conftest.$ac_ext <<EOF
8511
 
#line 8511 "configure"
 
10629
#line 10629 "configure"
8512
10630
#include "confdefs.h"
8513
10631
 
8514
10632
#if HAVE_DLFCN_H
8565
10683
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8566
10684
      /* dlclose (self); */
8567
10685
    }
 
10686
  else
 
10687
    puts (dlerror ());
8568
10688
 
8569
10689
    exit (status);
8570
10690
}
8574
10694
  ac_status=$?
8575
10695
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8576
10696
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8577
 
    (./conftest; exit; ) 2>/dev/null
 
10697
    (./conftest; exit; ) >&5 2>/dev/null
8578
10698
    lt_status=$?
8579
10699
    case x$lt_status in
8580
10700
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8581
10701
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8582
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 
10702
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
8583
10703
    esac
8584
10704
  else :
8585
10705
    # compilation failed
8590
10710
 
8591
10711
 
8592
10712
fi
8593
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8594
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
10713
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10714
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
8595
10715
 
8596
10716
    if test "x$lt_cv_dlopen_self" = xyes; then
8597
 
      LDFLAGS="$LDFLAGS $link_static_flag"
8598
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8599
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
10717
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
10718
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10719
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
8600
10720
if test "${lt_cv_dlopen_self_static+set}" = set; then
8601
10721
  echo $ECHO_N "(cached) $ECHO_C" >&6
8602
10722
else
8606
10726
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8607
10727
  lt_status=$lt_dlunknown
8608
10728
  cat > conftest.$ac_ext <<EOF
8609
 
#line 8609 "configure"
 
10729
#line 10729 "configure"
8610
10730
#include "confdefs.h"
8611
10731
 
8612
10732
#if HAVE_DLFCN_H
8663
10783
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8664
10784
      /* dlclose (self); */
8665
10785
    }
 
10786
  else
 
10787
    puts (dlerror ());
8666
10788
 
8667
10789
    exit (status);
8668
10790
}
8672
10794
  ac_status=$?
8673
10795
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8674
10796
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8675
 
    (./conftest; exit; ) 2>/dev/null
 
10797
    (./conftest; exit; ) >&5 2>/dev/null
8676
10798
    lt_status=$?
8677
10799
    case x$lt_status in
8678
10800
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8679
10801
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8680
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 
10802
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
8681
10803
    esac
8682
10804
  else :
8683
10805
    # compilation failed
8688
10810
 
8689
10811
 
8690
10812
fi
8691
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8692
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
10813
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10814
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
8693
10815
    fi
8694
10816
 
8695
10817
    CPPFLAGS="$save_CPPFLAGS"
8710
10832
fi
8711
10833
 
8712
10834
 
8713
 
# Report which librarie types wil actually be built
8714
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8715
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8716
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
8717
 
echo "${ECHO_T}$can_build_shared" >&6
 
10835
# Report which library types will actually be built
 
10836
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10837
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
10838
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10839
echo "${ECHO_T}$can_build_shared" >&6; }
8718
10840
 
8719
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8720
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
10841
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10842
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
8721
10843
test "$can_build_shared" = "no" && enable_shared=no
8722
10844
 
8723
10845
# On AIX, shared libraries and static libraries use the same namespace, and
8724
10846
# are all built from PIC.
8725
 
case "$host_os" in
 
10847
case $host_os in
8726
10848
aix3*)
8727
10849
  test "$enable_shared" = yes && enable_static=no
8728
10850
  if test -n "$RANLIB"; then
8731
10853
  fi
8732
10854
  ;;
8733
10855
 
8734
 
aix4*)
 
10856
aix4* | aix5*)
8735
10857
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8736
10858
    test "$enable_shared" = yes && enable_static=no
8737
10859
  fi
8738
 
  ;;
8739
 
  darwin* | rhapsody*)
8740
 
  if test "$GCC" = yes; then
8741
 
    archive_cmds_need_lc=no
8742
 
    case "$host_os" in
8743
 
    rhapsody* | darwin1.[012])
8744
 
      allow_undefined_flag='-undefined suppress'
8745
 
      ;;
8746
 
    *) # Darwin 1.3 on
8747
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8748
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
8749
 
      else
8750
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
8751
 
          10.[012])
8752
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
8753
 
            ;;
8754
 
          10.*)
8755
 
            allow_undefined_flag='-undefined dynamic_lookup'
8756
 
            ;;
8757
 
        esac
8758
 
      fi
8759
 
      ;;
8760
 
    esac
8761
 
    output_verbose_link_cmd='echo'
8762
 
    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8763
 
    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8764
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8765
 
    archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8766
 
    module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8767
 
    hardcode_direct=no
8768
 
    hardcode_automatic=yes
8769
 
    hardcode_shlibpath_var=unsupported
8770
 
    whole_archive_flag_spec='-all_load $convenience'
8771
 
    link_all_deplibs=yes
8772
 
  else
8773
 
    ld_shlibs=no
8774
 
  fi
8775
10860
    ;;
8776
10861
esac
8777
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
8778
 
echo "${ECHO_T}$enable_shared" >&6
 
10862
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10863
echo "${ECHO_T}$enable_shared" >&6; }
8779
10864
 
8780
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8781
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
10865
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10866
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
8782
10867
# Make sure either enable_shared or enable_static is yes.
8783
10868
test "$enable_shared" = yes || enable_static=yes
8784
 
echo "$as_me:$LINENO: result: $enable_static" >&5
8785
 
echo "${ECHO_T}$enable_static" >&6
 
10869
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
10870
echo "${ECHO_T}$enable_static" >&6; }
8786
10871
 
8787
10872
# The else clause should only fire when bootstrapping the
8788
10873
# libtool distribution, otherwise you forgot to ship ltmain.sh
8797
10882
  # Now quote all the things that may contain metacharacters while being
8798
10883
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
8799
10884
  # variables and quote the copies for generation of the libtool script.
8800
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
10885
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
8801
10886
    SED SHELL STRIP \
8802
10887
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8803
10888
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8901
10986
#
8902
10987
# You should have received a copy of the GNU General Public License
8903
10988
# along with this program; if not, write to the Free Software
8904
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
10989
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
8905
10990
#
8906
10991
# As a special exception to the GNU General Public License, if you
8907
10992
# distribute this file as part of a program that contains a
8912
10997
SED=$lt_SED
8913
10998
 
8914
10999
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
8915
 
Xsed="$SED -e s/^X//"
 
11000
Xsed="$SED -e 1s/^X//"
8916
11001
 
8917
11002
# The HP-UX ksh and POSIX shell print the target directory to stdout
8918
11003
# if CDPATH is set.
8919
 
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
11004
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8920
11005
 
8921
11006
# The names of the tagged configurations supported by this script.
8922
11007
available_tags=
8946
11031
# The host system.
8947
11032
host_alias=$host_alias
8948
11033
host=$host
 
11034
host_os=$host_os
 
11035
 
 
11036
# The build system.
 
11037
build_alias=$build_alias
 
11038
build=$build
 
11039
build_os=$build_os
8949
11040
 
8950
11041
# An echo program that does not interpret backslashes.
8951
11042
echo=$lt_echo
8957
11048
# A C compiler.
8958
11049
LTCC=$lt_LTCC
8959
11050
 
 
11051
# LTCC compiler flags.
 
11052
LTCFLAGS=$lt_LTCFLAGS
 
11053
 
8960
11054
# A language-specific compiler.
8961
11055
CC=$lt_compiler
8962
11056
 
9007
11101
libext="$libext"
9008
11102
 
9009
11103
# Shared library suffix (normally ".so").
9010
 
shrext='$shrext'
 
11104
shrext_cmds='$shrext_cmds'
9011
11105
 
9012
11106
# Executable file suffix (normally "").
9013
11107
exeext="$exeext"
9022
11116
# Does compiler simultaneously support -c and -o options?
9023
11117
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9024
11118
 
9025
 
# Must we lock files when doing compilation ?
 
11119
# Must we lock files when doing compilation?
9026
11120
need_locks=$lt_need_locks
9027
11121
 
9028
11122
# Do we need the lib prefix for modules?
9265
11359
CC="$lt_save_CC"
9266
11360
 
9267
11361
 
9268
 
# Check whether --with-tags or --without-tags was given.
 
11362
# Check whether --with-tags was given.
9269
11363
if test "${with_tags+set}" = set; then
9270
 
  withval="$with_tags"
9271
 
  tagnames="$withval"
9272
 
fi;
 
11364
  withval=$with_tags; tagnames="$withval"
 
11365
fi
 
11366
 
9273
11367
 
9274
11368
if test -f "$ltmain" && test -n "$tagnames"; then
9275
11369
  if test ! -f "${ofile}"; then
9287
11381
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9288
11382
    fi
9289
11383
  fi
 
11384
  if test -z "$LTCFLAGS"; then
 
11385
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 
11386
  fi
9290
11387
 
9291
11388
  # Extract list of available tagged configurations in $ofile.
9292
11389
  # Note that this assumes the entire list is on one line.
9317
11414
 
9318
11415
      case $tagname in
9319
11416
      CXX)
9320
 
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
9321
 
          ac_ext=cc
 
11417
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
11418
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
11419
            (test "X$CXX" != "Xg++"))) ; then
 
11420
          ac_ext=cpp
9322
11421
ac_cpp='$CXXCPP $CPPFLAGS'
9323
11422
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9324
11423
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9337
11436
hardcode_libdir_flag_spec_ld_CXX=
9338
11437
hardcode_libdir_separator_CXX=
9339
11438
hardcode_minus_L_CXX=no
 
11439
hardcode_shlibpath_var_CXX=unsupported
9340
11440
hardcode_automatic_CXX=no
9341
11441
module_cmds_CXX=
9342
11442
module_expsym_cmds_CXX=
9354
11454
compiler_lib_search_path_CXX=
9355
11455
 
9356
11456
# Source file extension for C++ test sources.
9357
 
ac_ext=cc
 
11457
ac_ext=cpp
9358
11458
 
9359
11459
# Object file extension for compiled C++ test sources.
9360
11460
objext=o
9364
11464
lt_simple_compile_test_code="int some_variable = 0;\n"
9365
11465
 
9366
11466
# Code to be used in simple link tests
9367
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
 
11467
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
9368
11468
 
9369
11469
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9370
11470
 
9371
11471
# If no C compiler was specified, use CC.
9372
11472
LTCC=${LTCC-"$CC"}
9373
11473
 
 
11474
# If no C compiler flags were specified, use CFLAGS.
 
11475
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
11476
 
9374
11477
# Allow CC to be a program name with arguments.
9375
11478
compiler=$CC
9376
11479
 
9377
11480
 
 
11481
# save warnings/boilerplate of simple test code
 
11482
ac_outfile=conftest.$ac_objext
 
11483
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
11484
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
11485
_lt_compiler_boilerplate=`cat conftest.err`
 
11486
$rm conftest*
 
11487
 
 
11488
ac_outfile=conftest.$ac_objext
 
11489
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
11490
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
11491
_lt_linker_boilerplate=`cat conftest.err`
 
11492
$rm conftest*
 
11493
 
 
11494
 
9378
11495
# Allow CC to be a program name with arguments.
9379
11496
lt_save_CC=$CC
9380
11497
lt_save_LD=$LD
9385
11502
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9386
11503
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9387
11504
else
9388
 
  unset lt_cv_prog_gnu_ld
 
11505
  $as_unset lt_cv_prog_gnu_ld
9389
11506
fi
9390
11507
if test -n "${lt_cv_path_LDCXX+set}"; then
9391
11508
  lt_cv_path_LD=$lt_cv_path_LDCXX
9392
11509
else
9393
 
  unset lt_cv_path_LD
 
11510
  $as_unset lt_cv_path_LD
9394
11511
fi
9395
11512
test -z "${LDCXX+set}" || LD=$LDCXX
9396
11513
CC=${CXX-"c++"}
9397
11514
compiler=$CC
9398
11515
compiler_CXX=$CC
9399
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
11516
for cc_temp in $compiler""; do
 
11517
  case $cc_temp in
 
11518
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
11519
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
11520
    \-*) ;;
 
11521
    *) break;;
 
11522
  esac
 
11523
done
 
11524
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
11525
 
9400
11526
 
9401
11527
# We don't want -fno-exception wen compiling C++ code, so set the
9402
11528
# no_builtin_flag separately
9410
11536
  # Set up default GNU C++ configuration
9411
11537
 
9412
11538
 
9413
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
11539
# Check whether --with-gnu-ld was given.
9414
11540
if test "${with_gnu_ld+set}" = set; then
9415
 
  withval="$with_gnu_ld"
9416
 
  test "$withval" = no || with_gnu_ld=yes
 
11541
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9417
11542
else
9418
11543
  with_gnu_ld=no
9419
 
fi;
 
11544
fi
 
11545
 
9420
11546
ac_prog=ld
9421
11547
if test "$GCC" = yes; then
9422
11548
  # Check if gcc -print-prog-name=ld gives a path.
9423
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9424
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
11549
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
11550
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
9425
11551
  case $host in
9426
11552
  *-*-mingw*)
9427
11553
    # gcc leaves a trailing carriage return which upsets mingw
9450
11576
    ;;
9451
11577
  esac
9452
11578
elif test "$with_gnu_ld" = yes; then
9453
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
9454
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
11579
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11580
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
9455
11581
else
9456
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9457
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
11582
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11583
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
9458
11584
fi
9459
11585
if test "${lt_cv_path_LD+set}" = set; then
9460
11586
  echo $ECHO_N "(cached) $ECHO_C" >&6
9467
11593
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9468
11594
      lt_cv_path_LD="$ac_dir/$ac_prog"
9469
11595
      # Check to see if the program is GNU ld.  I'd rather use --version,
9470
 
      # but apparently some GNU ld's only accept -v.
 
11596
      # but apparently some variants of GNU ld only accept -v.
9471
11597
      # Break only if it was the GNU/non-GNU ld that we prefer.
9472
11598
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9473
11599
      *GNU* | *'with BFD'*)
9487
11613
 
9488
11614
LD="$lt_cv_path_LD"
9489
11615
if test -n "$LD"; then
9490
 
  echo "$as_me:$LINENO: result: $LD" >&5
9491
 
echo "${ECHO_T}$LD" >&6
 
11616
  { echo "$as_me:$LINENO: result: $LD" >&5
 
11617
echo "${ECHO_T}$LD" >&6; }
9492
11618
else
9493
 
  echo "$as_me:$LINENO: result: no" >&5
9494
 
echo "${ECHO_T}no" >&6
 
11619
  { echo "$as_me:$LINENO: result: no" >&5
 
11620
echo "${ECHO_T}no" >&6; }
9495
11621
fi
9496
11622
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9497
11623
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9498
11624
   { (exit 1); exit 1; }; }
9499
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9500
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
11625
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11626
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
9501
11627
if test "${lt_cv_prog_gnu_ld+set}" = set; then
9502
11628
  echo $ECHO_N "(cached) $ECHO_C" >&6
9503
11629
else
9504
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
11630
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
9505
11631
case `$LD -v 2>&1 </dev/null` in
9506
11632
*GNU* | *'with BFD'*)
9507
11633
  lt_cv_prog_gnu_ld=yes
9511
11637
  ;;
9512
11638
esac
9513
11639
fi
9514
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9515
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
11640
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
11641
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
9516
11642
with_gnu_ld=$lt_cv_prog_gnu_ld
9517
11643
 
9518
11644
 
9562
11688
fi
9563
11689
 
9564
11690
# PORTME: fill in a description of your system's C++ link characteristics
9565
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9566
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
11691
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11692
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9567
11693
ld_shlibs_CXX=yes
9568
11694
case $host_os in
9569
11695
  aix3*)
9592
11718
            ;;
9593
11719
          esac
9594
11720
        done
 
11721
        ;;
9595
11722
      esac
9596
11723
 
9597
11724
      exp_sym_flag='-bexport'
9610
11737
    link_all_deplibs_CXX=yes
9611
11738
 
9612
11739
    if test "$GXX" = yes; then
9613
 
      case $host_os in aix4.012|aix4.012.*)
 
11740
      case $host_os in aix4.[012]|aix4.[012].*)
9614
11741
      # We only want to do this on AIX 4.2 and lower, the check
9615
11742
      # below for broken collect2 doesn't work under 4.3+
9616
11743
        collect2name=`${CC} -print-prog-name=collect2`
9629
11756
          hardcode_libdir_flag_spec_CXX='-L$libdir'
9630
11757
          hardcode_libdir_separator_CXX=
9631
11758
        fi
 
11759
        ;;
9632
11760
      esac
9633
11761
      shared_flag='-shared'
 
11762
      if test "$aix_use_runtimelinking" = yes; then
 
11763
        shared_flag="$shared_flag "'${wl}-G'
 
11764
      fi
9634
11765
    else
9635
11766
      # not using gcc
9636
11767
      if test "$host_cpu" = ia64; then
9655
11786
      allow_undefined_flag_CXX='-berok'
9656
11787
      # Determine the default libpath from the value encoded in an empty executable.
9657
11788
      cat >conftest.$ac_ext <<_ACEOF
9658
 
#line $LINENO "configure"
9659
11789
/* confdefs.h.  */
9660
11790
_ACEOF
9661
11791
cat confdefs.h >>conftest.$ac_ext
9671
11801
}
9672
11802
_ACEOF
9673
11803
rm -f conftest.$ac_objext conftest$ac_exeext
9674
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9675
 
  (eval $ac_link) 2>&5
 
11804
if { (ac_try="$ac_link"
 
11805
case "(($ac_try" in
 
11806
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11807
  *) ac_try_echo=$ac_try;;
 
11808
esac
 
11809
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11810
  (eval "$ac_link") 2>conftest.er1
9676
11811
  ac_status=$?
 
11812
  grep -v '^ *+' conftest.er1 >conftest.err
 
11813
  rm -f conftest.er1
 
11814
  cat conftest.err >&5
9677
11815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678
11816
  (exit $ac_status); } &&
9679
 
         { ac_try='test -s conftest$ac_exeext'
9680
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9681
 
  (eval $ac_try) 2>&5
 
11817
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
11818
  { (case "(($ac_try" in
 
11819
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11820
  *) ac_try_echo=$ac_try;;
 
11821
esac
 
11822
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11823
  (eval "$ac_try") 2>&5
 
11824
  ac_status=$?
 
11825
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11826
  (exit $ac_status); }; } &&
 
11827
         { ac_try='test -s conftest$ac_exeext'
 
11828
  { (case "(($ac_try" in
 
11829
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11830
  *) ac_try_echo=$ac_try;;
 
11831
esac
 
11832
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11833
  (eval "$ac_try") 2>&5
9682
11834
  ac_status=$?
9683
11835
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684
11836
  (exit $ac_status); }; }; then
9692
11844
  echo "$as_me: failed program was:" >&5
9693
11845
sed 's/^/| /' conftest.$ac_ext >&5
9694
11846
 
 
11847
 
9695
11848
fi
9696
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
11849
 
 
11850
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11851
      conftest$ac_exeext conftest.$ac_ext
9697
11852
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9698
11853
 
9699
11854
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9700
11855
 
9701
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
11856
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9702
11857
     else
9703
11858
      if test "$host_cpu" = ia64; then
9704
11859
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9705
11860
        allow_undefined_flag_CXX="-z nodefs"
9706
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
11861
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9707
11862
      else
9708
11863
        # Determine the default libpath from the value encoded in an empty executable.
9709
11864
        cat >conftest.$ac_ext <<_ACEOF
9710
 
#line $LINENO "configure"
9711
11865
/* confdefs.h.  */
9712
11866
_ACEOF
9713
11867
cat confdefs.h >>conftest.$ac_ext
9723
11877
}
9724
11878
_ACEOF
9725
11879
rm -f conftest.$ac_objext conftest$ac_exeext
9726
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9727
 
  (eval $ac_link) 2>&5
 
11880
if { (ac_try="$ac_link"
 
11881
case "(($ac_try" in
 
11882
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11883
  *) ac_try_echo=$ac_try;;
 
11884
esac
 
11885
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11886
  (eval "$ac_link") 2>conftest.er1
9728
11887
  ac_status=$?
 
11888
  grep -v '^ *+' conftest.er1 >conftest.err
 
11889
  rm -f conftest.er1
 
11890
  cat conftest.err >&5
9729
11891
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9730
11892
  (exit $ac_status); } &&
9731
 
         { ac_try='test -s conftest$ac_exeext'
9732
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9733
 
  (eval $ac_try) 2>&5
 
11893
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
11894
  { (case "(($ac_try" in
 
11895
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11896
  *) ac_try_echo=$ac_try;;
 
11897
esac
 
11898
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11899
  (eval "$ac_try") 2>&5
 
11900
  ac_status=$?
 
11901
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11902
  (exit $ac_status); }; } &&
 
11903
         { ac_try='test -s conftest$ac_exeext'
 
11904
  { (case "(($ac_try" in
 
11905
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11906
  *) ac_try_echo=$ac_try;;
 
11907
esac
 
11908
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11909
  (eval "$ac_try") 2>&5
9734
11910
  ac_status=$?
9735
11911
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9736
11912
  (exit $ac_status); }; }; then
9744
11920
  echo "$as_me: failed program was:" >&5
9745
11921
sed 's/^/| /' conftest.$ac_ext >&5
9746
11922
 
 
11923
 
9747
11924
fi
9748
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
11925
 
 
11926
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11927
      conftest$ac_exeext conftest.$ac_ext
9749
11928
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9750
11929
 
9751
11930
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9753
11932
        # -berok will link without error, but may produce a broken library.
9754
11933
        no_undefined_flag_CXX=' ${wl}-bernotok'
9755
11934
        allow_undefined_flag_CXX=' ${wl}-berok'
9756
 
        # -bexpall does not export symbols beginning with underscore (_)
9757
 
        always_export_symbols_CXX=yes
9758
11935
        # Exported symbols can be pulled into shared objects from archives
9759
 
        whole_archive_flag_spec_CXX=' '
 
11936
        whole_archive_flag_spec_CXX='$convenience'
9760
11937
        archive_cmds_need_lc_CXX=yes
9761
 
        # This is similar to how AIX traditionally builds it's shared libraries.
9762
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
11938
        # This is similar to how AIX traditionally builds its shared libraries.
 
11939
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9763
11940
      fi
9764
11941
    fi
9765
11942
    ;;
 
11943
 
 
11944
  beos*)
 
11945
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
11946
      allow_undefined_flag_CXX=unsupported
 
11947
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
11948
      # support --undefined.  This deserves some investigation.  FIXME
 
11949
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11950
    else
 
11951
      ld_shlibs_CXX=no
 
11952
    fi
 
11953
    ;;
 
11954
 
9766
11955
  chorus*)
9767
11956
    case $cc_basename in
9768
11957
      *)
9781
11970
    enable_shared_with_static_runtimes_CXX=yes
9782
11971
 
9783
11972
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9784
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
11973
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9785
11974
      # If the export-symbols file already is a .def file (1st line
9786
11975
      # is EXPORTS), use it as is; otherwise, prepend...
9787
11976
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9790
11979
        echo EXPORTS > $output_objdir/$soname.def;
9791
11980
        cat $export_symbols >> $output_objdir/$soname.def;
9792
11981
      fi~
9793
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
11982
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9794
11983
    else
9795
11984
      ld_shlibs_CXX=no
9796
11985
    fi
9797
11986
  ;;
9798
 
 
9799
 
  darwin* | rhapsody*)
9800
 
  if test "$GXX" = yes; then
9801
 
    archive_cmds_need_lc_CXX=no
9802
 
    case "$host_os" in
9803
 
    rhapsody* | darwin1.[012])
9804
 
      allow_undefined_flag_CXX='-undefined suppress'
9805
 
      ;;
9806
 
    *) # Darwin 1.3 on
9807
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9808
 
        allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9809
 
      else
9810
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
9811
 
          10.[012])
9812
 
            allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9813
 
            ;;
9814
 
          10.*)
9815
 
            allow_undefined_flag_CXX='-undefined dynamic_lookup'
9816
 
            ;;
 
11987
      darwin* | rhapsody*)
 
11988
        case $host_os in
 
11989
        rhapsody* | darwin1.[012])
 
11990
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
 
11991
         ;;
 
11992
       *) # Darwin 1.3 on
 
11993
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
11994
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
11995
         else
 
11996
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
11997
             10.[012])
 
11998
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
11999
               ;;
 
12000
             10.*)
 
12001
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
 
12002
               ;;
 
12003
           esac
 
12004
         fi
 
12005
         ;;
9817
12006
        esac
9818
 
      fi
9819
 
      ;;
9820
 
    esac
9821
 
    lt_int_apple_cc_single_mod=no
9822
 
    output_verbose_link_cmd='echo'
9823
 
    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9824
 
      lt_int_apple_cc_single_mod=yes
9825
 
    fi
9826
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9827
 
      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9828
 
    else
9829
 
      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9830
 
    fi
9831
 
    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
12007
      archive_cmds_need_lc_CXX=no
 
12008
      hardcode_direct_CXX=no
 
12009
      hardcode_automatic_CXX=yes
 
12010
      hardcode_shlibpath_var_CXX=unsupported
 
12011
      whole_archive_flag_spec_CXX=''
 
12012
      link_all_deplibs_CXX=yes
9832
12013
 
9833
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9834
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9835
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9836
 
    else
9837
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9838
 
    fi
9839
 
    module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9840
 
    hardcode_direct_CXX=no
9841
 
    hardcode_automatic_CXX=yes
9842
 
    hardcode_shlibpath_var_CXX=unsupported
9843
 
    whole_archive_flag_spec_CXX='-all_load $convenience'
9844
 
    link_all_deplibs_CXX=yes
9845
 
  else
9846
 
    ld_shlibs_CXX=no
9847
 
  fi
9848
 
    ;;
 
12014
    if test "$GXX" = yes ; then
 
12015
      lt_int_apple_cc_single_mod=no
 
12016
      output_verbose_link_cmd='echo'
 
12017
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
 
12018
       lt_int_apple_cc_single_mod=yes
 
12019
      fi
 
12020
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
12021
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
12022
      else
 
12023
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
12024
        fi
 
12025
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
12026
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
12027
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
12028
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
12029
          else
 
12030
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
12031
          fi
 
12032
            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
12033
      else
 
12034
      case $cc_basename in
 
12035
        xlc*)
 
12036
         output_verbose_link_cmd='echo'
 
12037
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
12038
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
12039
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
12040
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
12041
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
12042
          ;;
 
12043
       *)
 
12044
         ld_shlibs_CXX=no
 
12045
          ;;
 
12046
      esac
 
12047
      fi
 
12048
        ;;
9849
12049
 
9850
12050
  dgux*)
9851
12051
    case $cc_basename in
9852
 
      ec++)
 
12052
      ec++*)
9853
12053
        # FIXME: insert proper C++ library support
9854
12054
        ld_shlibs_CXX=no
9855
12055
        ;;
9856
 
      ghcx)
 
12056
      ghcx*)
9857
12057
        # Green Hills C++ Compiler
9858
12058
        # FIXME: insert proper C++ library support
9859
12059
        ld_shlibs_CXX=no
9864
12064
        ;;
9865
12065
    esac
9866
12066
    ;;
9867
 
  freebsd12*)
 
12067
  freebsd[12]*)
9868
12068
    # C++ shared libraries reported to be fairly broken before switch to ELF
9869
12069
    ld_shlibs_CXX=no
9870
12070
    ;;
9871
12071
  freebsd-elf*)
9872
12072
    archive_cmds_need_lc_CXX=no
9873
12073
    ;;
9874
 
  freebsd* | kfreebsd*-gnu)
 
12074
  freebsd* | dragonfly*)
9875
12075
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9876
12076
    # conventions
9877
12077
    ld_shlibs_CXX=yes
9888
12088
                                # location of the library.
9889
12089
 
9890
12090
    case $cc_basename in
9891
 
    CC)
 
12091
    CC*)
9892
12092
      # FIXME: insert proper C++ library support
9893
12093
      ld_shlibs_CXX=no
9894
12094
      ;;
9895
 
    aCC)
 
12095
    aCC*)
9896
12096
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9897
12097
      # Commands to make compiler produce verbose output that lists
9898
12098
      # what "hidden" libraries, object files and flags are used when
9902
12102
      # explicitly linking system object files so we need to strip them
9903
12103
      # from the output so that they don't get included in the library
9904
12104
      # dependencies.
9905
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 
12105
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
9906
12106
      ;;
9907
12107
    *)
9908
12108
      if test "$GXX" = yes; then
9916
12116
    ;;
9917
12117
  hpux10*|hpux11*)
9918
12118
    if test $with_gnu_ld = no; then
9919
 
      case "$host_cpu" in
9920
 
      hppa*64*)
9921
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
12119
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
12120
      hardcode_libdir_separator_CXX=:
 
12121
 
 
12122
      case $host_cpu in
 
12123
      hppa*64*|ia64*)
9922
12124
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9923
 
        hardcode_libdir_separator_CXX=:
9924
 
        ;;
9925
 
      ia64*)
9926
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
9927
12125
        ;;
9928
12126
      *)
9929
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9930
 
        hardcode_libdir_separator_CXX=:
9931
12127
        export_dynamic_flag_spec_CXX='${wl}-E'
9932
12128
        ;;
9933
12129
      esac
9934
12130
    fi
9935
 
    case "$host_cpu" in
9936
 
    hppa*64*)
9937
 
      hardcode_direct_CXX=no
9938
 
      hardcode_shlibpath_var_CXX=no
9939
 
      ;;
9940
 
    ia64*)
9941
 
      hardcode_direct_CXX=no
9942
 
      hardcode_shlibpath_var_CXX=no
9943
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
9944
 
                                              # but as the default
9945
 
                                              # location of the library.
 
12131
    case $host_cpu in
 
12132
    hppa*64*|ia64*)
 
12133
      hardcode_direct_CXX=no
 
12134
      hardcode_shlibpath_var_CXX=no
9946
12135
      ;;
9947
12136
    *)
9948
12137
      hardcode_direct_CXX=yes
9953
12142
    esac
9954
12143
 
9955
12144
    case $cc_basename in
9956
 
      CC)
 
12145
      CC*)
9957
12146
        # FIXME: insert proper C++ library support
9958
12147
        ld_shlibs_CXX=no
9959
12148
        ;;
9960
 
      aCC)
9961
 
        case "$host_cpu" in
9962
 
        hppa*64*|ia64*)
9963
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
12149
      aCC*)
 
12150
        case $host_cpu in
 
12151
        hppa*64*)
 
12152
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12153
          ;;
 
12154
        ia64*)
 
12155
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9964
12156
          ;;
9965
12157
        *)
9966
12158
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9979
12171
      *)
9980
12172
        if test "$GXX" = yes; then
9981
12173
          if test $with_gnu_ld = no; then
9982
 
            case "$host_cpu" in
9983
 
            ia64*|hppa*64*)
9984
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
12174
            case $host_cpu in
 
12175
            hppa*64*)
 
12176
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12177
              ;;
 
12178
            ia64*)
 
12179
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9985
12180
              ;;
9986
12181
            *)
9987
12182
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9995
12190
        ;;
9996
12191
    esac
9997
12192
    ;;
 
12193
  interix3*)
 
12194
    hardcode_direct_CXX=no
 
12195
    hardcode_shlibpath_var_CXX=no
 
12196
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12197
    export_dynamic_flag_spec_CXX='${wl}-E'
 
12198
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
12199
    # Instead, shared libraries are loaded at an image base (0x10000000 by
 
12200
    # default) and relocated if they conflict, which is a slow very memory
 
12201
    # consuming and fragmenting process.  To avoid this, we pick a random,
 
12202
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
12203
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
12204
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
12205
    archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
12206
    ;;
9998
12207
  irix5* | irix6*)
9999
12208
    case $cc_basename in
10000
 
      CC)
 
12209
      CC*)
10001
12210
        # SGI C++
10002
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
12211
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10003
12212
 
10004
12213
        # Archives containing C++ object files must be created using
10005
12214
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
10010
12219
      *)
10011
12220
        if test "$GXX" = yes; then
10012
12221
          if test "$with_gnu_ld" = no; then
10013
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
12222
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10014
12223
          else
10015
12224
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
10016
12225
          fi
10021
12230
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10022
12231
    hardcode_libdir_separator_CXX=:
10023
12232
    ;;
10024
 
  linux*)
 
12233
  linux* | k*bsd*-gnu)
10025
12234
    case $cc_basename in
10026
 
      KCC)
 
12235
      KCC*)
10027
12236
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10028
12237
 
10029
12238
        # KCC will only create a shared library if the output file
10048
12257
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10049
12258
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10050
12259
        ;;
10051
 
      icpc)
 
12260
      icpc*)
10052
12261
        # Intel C++
10053
12262
        with_gnu_ld=yes
 
12263
        # version 8.0 and above of icpc choke on multiply defined symbols
 
12264
        # if we add $predep_objects and $postdep_objects, however 7.1 and
 
12265
        # earlier do not add the objects themselves.
 
12266
        case `$CC -V 2>&1` in
 
12267
        *"Version 7."*)
 
12268
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12269
          archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
12270
          ;;
 
12271
        *)  # Version 8.0 or newer
 
12272
          tmp_idyn=
 
12273
          case $host_cpu in
 
12274
            ia64*) tmp_idyn=' -i_dynamic';;
 
12275
          esac
 
12276
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12277
          archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
12278
          ;;
 
12279
        esac
10054
12280
        archive_cmds_need_lc_CXX=no
10055
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10056
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10057
12281
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10058
12282
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10059
12283
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10060
12284
        ;;
10061
 
      cxx)
 
12285
      pgCC*)
 
12286
        # Portland Group C++ compiler
 
12287
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
12288
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
12289
 
 
12290
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
12291
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12292
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
12293
        ;;
 
12294
      cxx*)
10062
12295
        # Compaq C++
10063
12296
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10064
12297
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
10089
12322
    ;;
10090
12323
  mvs*)
10091
12324
    case $cc_basename in
10092
 
      cxx)
 
12325
      cxx*)
10093
12326
        # FIXME: insert proper C++ library support
10094
12327
        ld_shlibs_CXX=no
10095
12328
        ;;
10099
12332
        ;;
10100
12333
    esac
10101
12334
    ;;
10102
 
  netbsd* | knetbsd*-gnu)
 
12335
  netbsd* | netbsdelf*-gnu)
10103
12336
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10104
12337
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10105
12338
      wlarc=
10110
12343
    # Workaround some broken pre-1.5 toolchains
10111
12344
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10112
12345
    ;;
 
12346
  openbsd2*)
 
12347
    # C++ shared libraries are fairly broken
 
12348
    ld_shlibs_CXX=no
 
12349
    ;;
 
12350
  openbsd*)
 
12351
    hardcode_direct_CXX=yes
 
12352
    hardcode_shlibpath_var_CXX=no
 
12353
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
12354
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12355
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12356
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
12357
      export_dynamic_flag_spec_CXX='${wl}-E'
 
12358
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12359
    fi
 
12360
    output_verbose_link_cmd='echo'
 
12361
    ;;
10113
12362
  osf3*)
10114
12363
    case $cc_basename in
10115
 
      KCC)
 
12364
      KCC*)
10116
12365
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10117
12366
 
10118
12367
        # KCC will only create a shared library if the output file
10128
12377
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10129
12378
 
10130
12379
        ;;
10131
 
      RCC)
 
12380
      RCC*)
10132
12381
        # Rational C++ 2.4.1
10133
12382
        # FIXME: insert proper C++ library support
10134
12383
        ld_shlibs_CXX=no
10135
12384
        ;;
10136
 
      cxx)
 
12385
      cxx*)
10137
12386
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10138
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
12387
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10139
12388
 
10140
12389
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10141
12390
        hardcode_libdir_separator_CXX=:
10153
12402
      *)
10154
12403
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10155
12404
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10156
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
12405
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10157
12406
 
10158
12407
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10159
12408
          hardcode_libdir_separator_CXX=:
10172
12421
    ;;
10173
12422
  osf4* | osf5*)
10174
12423
    case $cc_basename in
10175
 
      KCC)
 
12424
      KCC*)
10176
12425
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10177
12426
 
10178
12427
        # KCC will only create a shared library if the output file
10187
12436
        # the KAI C++ compiler.
10188
12437
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10189
12438
        ;;
10190
 
      RCC)
 
12439
      RCC*)
10191
12440
        # Rational C++ 2.4.1
10192
12441
        # FIXME: insert proper C++ library support
10193
12442
        ld_shlibs_CXX=no
10194
12443
        ;;
10195
 
      cxx)
 
12444
      cxx*)
10196
12445
        allow_undefined_flag_CXX=' -expect_unresolved \*'
10197
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
12446
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10198
12447
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10199
12448
          echo "-hidden">> $lib.exp~
10200
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
 
12449
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
10201
12450
          $rm $lib.exp'
10202
12451
 
10203
12452
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10216
12465
      *)
10217
12466
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10218
12467
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10219
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
12468
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10220
12469
 
10221
12470
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10222
12471
          hardcode_libdir_separator_CXX=:
10237
12486
    # FIXME: insert proper C++ library support
10238
12487
    ld_shlibs_CXX=no
10239
12488
    ;;
10240
 
  sco*)
10241
 
    archive_cmds_need_lc_CXX=no
10242
 
    case $cc_basename in
10243
 
      CC)
10244
 
        # FIXME: insert proper C++ library support
10245
 
        ld_shlibs_CXX=no
10246
 
        ;;
10247
 
      *)
10248
 
        # FIXME: insert proper C++ library support
10249
 
        ld_shlibs_CXX=no
10250
 
        ;;
10251
 
    esac
10252
 
    ;;
10253
12489
  sunos4*)
10254
12490
    case $cc_basename in
10255
 
      CC)
 
12491
      CC*)
10256
12492
        # Sun C++ 4.x
10257
12493
        # FIXME: insert proper C++ library support
10258
12494
        ld_shlibs_CXX=no
10259
12495
        ;;
10260
 
      lcc)
 
12496
      lcc*)
10261
12497
        # Lucid
10262
12498
        # FIXME: insert proper C++ library support
10263
12499
        ld_shlibs_CXX=no
10270
12506
    ;;
10271
12507
  solaris*)
10272
12508
    case $cc_basename in
10273
 
      CC)
 
12509
      CC*)
10274
12510
        # Sun C++ 4.2, 5.x and Centerline C++
 
12511
        archive_cmds_need_lc_CXX=yes
10275
12512
        no_undefined_flag_CXX=' -zdefs'
10276
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12513
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10277
12514
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10278
 
        $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
12515
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10279
12516
 
10280
12517
        hardcode_libdir_flag_spec_CXX='-R$libdir'
10281
12518
        hardcode_shlibpath_var_CXX=no
10282
12519
        case $host_os in
10283
 
          solaris2.0-5 | solaris2.0-5.*) ;;
 
12520
          solaris2.[0-5] | solaris2.[0-5].*) ;;
10284
12521
          *)
10285
12522
            # The C++ compiler is used as linker so we must use $wl
10286
12523
            # flag to pass the commands to the underlying system
10287
 
            # linker.
 
12524
            # linker. We must also pass each convience library through
 
12525
            # to the system linker between allextract/defaultextract.
 
12526
            # The C++ compiler will combine linker options so we
 
12527
            # cannot just pass the convience library names through
 
12528
            # without $wl.
10288
12529
            # Supported since Solaris 2.6 (maybe 2.5.1?)
10289
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12530
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
10290
12531
            ;;
10291
12532
        esac
10292
12533
        link_all_deplibs_CXX=yes
10293
12534
 
10294
 
        # Commands to make compiler produce verbose output that lists
10295
 
        # what "hidden" libraries, object files and flags are used when
10296
 
        # linking a shared library.
10297
 
        #
10298
 
        # There doesn't appear to be a way to prevent this compiler from
10299
 
        # explicitly linking system object files so we need to strip them
10300
 
        # from the output so that they don't get included in the library
10301
 
        # dependencies.
10302
 
        output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 
12535
        output_verbose_link_cmd='echo'
10303
12536
 
10304
12537
        # Archives containing C++ object files must be created using
10305
12538
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
10307
12540
        # in the archive.
10308
12541
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10309
12542
        ;;
10310
 
      gcx)
 
12543
      gcx*)
10311
12544
        # Green Hills C++ Compiler
10312
12545
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10313
12546
 
10345
12578
        ;;
10346
12579
    esac
10347
12580
    ;;
10348
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10349
 
    archive_cmds_need_lc_CXX=no
 
12581
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
12582
    no_undefined_flag_CXX='${wl}-z,text'
 
12583
    archive_cmds_need_lc_CXX=no
 
12584
    hardcode_shlibpath_var_CXX=no
 
12585
    runpath_var='LD_RUN_PATH'
 
12586
 
 
12587
    case $cc_basename in
 
12588
      CC*)
 
12589
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12590
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12591
        ;;
 
12592
      *)
 
12593
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12594
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12595
        ;;
 
12596
    esac
 
12597
    ;;
 
12598
  sysv5* | sco3.2v5* | sco5v6*)
 
12599
    # Note: We can NOT use -z defs as we might desire, because we do not
 
12600
    # link with -lc, and that would cause any symbols used from libc to
 
12601
    # always be unresolved, which means just about no library would
 
12602
    # ever link correctly.  If we're not using GNU ld we use -z text
 
12603
    # though, which does catch some bad symbols but isn't as heavy-handed
 
12604
    # as -z defs.
 
12605
    # For security reasons, it is highly recommended that you always
 
12606
    # use absolute paths for naming shared libraries, and exclude the
 
12607
    # DT_RUNPATH tag from executables and libraries.  But doing so
 
12608
    # requires that you compile everything twice, which is a pain.
 
12609
    # So that behaviour is only enabled if SCOABSPATH is set to a
 
12610
    # non-empty value in the environment.  Most likely only useful for
 
12611
    # creating official distributions of packages.
 
12612
    # This is a hack until libtool officially supports absolute path
 
12613
    # names for shared libraries.
 
12614
    no_undefined_flag_CXX='${wl}-z,text'
 
12615
    allow_undefined_flag_CXX='${wl}-z,nodefs'
 
12616
    archive_cmds_need_lc_CXX=no
 
12617
    hardcode_shlibpath_var_CXX=no
 
12618
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
12619
    hardcode_libdir_separator_CXX=':'
 
12620
    link_all_deplibs_CXX=yes
 
12621
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
12622
    runpath_var='LD_RUN_PATH'
 
12623
 
 
12624
    case $cc_basename in
 
12625
      CC*)
 
12626
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12627
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12628
        ;;
 
12629
      *)
 
12630
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12631
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12632
        ;;
 
12633
    esac
10350
12634
    ;;
10351
12635
  tandem*)
10352
12636
    case $cc_basename in
10353
 
      NCC)
 
12637
      NCC*)
10354
12638
        # NonStop-UX NCC 3.20
10355
12639
        # FIXME: insert proper C++ library support
10356
12640
        ld_shlibs_CXX=no
10370
12654
    ld_shlibs_CXX=no
10371
12655
    ;;
10372
12656
esac
10373
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10374
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12657
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12658
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
10375
12659
test "$ld_shlibs_CXX" = no && can_build_shared=no
10376
12660
 
10377
12661
GCC_CXX="$GXX"
10403
12687
  # The `*' in the case matches for architectures that use `case' in
10404
12688
  # $output_verbose_cmd can trigger glob expansion during the loop
10405
12689
  # eval without this substitution.
10406
 
  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
 
12690
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10407
12691
 
10408
12692
  for p in `eval $output_verbose_link_cmd`; do
10409
12693
    case $p in
10479
12763
 
10480
12764
$rm -f confest.$objext
10481
12765
 
 
12766
# PORTME: override above test on systems where it is broken
 
12767
case $host_os in
 
12768
interix3*)
 
12769
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
12770
  # hack all around it, let's just trust "g++" to DTRT.
 
12771
  predep_objects_CXX=
 
12772
  postdep_objects_CXX=
 
12773
  postdeps_CXX=
 
12774
  ;;
 
12775
 
 
12776
solaris*)
 
12777
  case $cc_basename in
 
12778
  CC*)
 
12779
    # Adding this requires a known-good setup of shared libraries for
 
12780
    # Sun compiler versions before 5.6, else PIC objects from an old
 
12781
    # archive will be linked into the output, leading to subtle bugs.
 
12782
    postdeps_CXX='-lCstd -lCrun'
 
12783
    ;;
 
12784
  esac
 
12785
  ;;
 
12786
esac
 
12787
 
 
12788
 
10482
12789
case " $postdeps_CXX " in
10483
12790
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
10484
12791
esac
10487
12794
lt_prog_compiler_pic_CXX=
10488
12795
lt_prog_compiler_static_CXX=
10489
12796
 
10490
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10491
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
12797
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12798
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10492
12799
 
10493
12800
  # C++ specific cases for pic, static, wl, etc.
10494
12801
  if test "$GXX" = yes; then
10526
12833
      # DJGPP does not support shared libraries at all
10527
12834
      lt_prog_compiler_pic_CXX=
10528
12835
      ;;
 
12836
    interix3*)
 
12837
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
12838
      # Instead, we relocate shared libraries at runtime.
 
12839
      ;;
10529
12840
    sysv4*MP*)
10530
12841
      if test -d /usr/nec; then
10531
12842
        lt_prog_compiler_pic_CXX=-Kconform_pic
10534
12845
    hpux*)
10535
12846
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10536
12847
      # not for PA HP-UX.
10537
 
      case "$host_cpu" in
 
12848
      case $host_cpu in
10538
12849
      hppa*64*|ia64*)
10539
12850
        ;;
10540
12851
      *)
10559
12870
        ;;
10560
12871
      chorus*)
10561
12872
        case $cc_basename in
10562
 
        cxch68)
 
12873
        cxch68*)
10563
12874
          # Green Hills C++ Compiler
10564
12875
          # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
10565
12876
          ;;
10566
12877
        esac
10567
12878
        ;;
 
12879
       darwin*)
 
12880
         # PIC is the default on this platform
 
12881
         # Common symbols not allowed in MH_DYLIB files
 
12882
         case $cc_basename in
 
12883
           xlc*)
 
12884
           lt_prog_compiler_pic_CXX='-qnocommon'
 
12885
           lt_prog_compiler_wl_CXX='-Wl,'
 
12886
           ;;
 
12887
         esac
 
12888
       ;;
10568
12889
      dgux*)
10569
12890
        case $cc_basename in
10570
 
          ec++)
 
12891
          ec++*)
10571
12892
            lt_prog_compiler_pic_CXX='-KPIC'
10572
12893
            ;;
10573
 
          ghcx)
 
12894
          ghcx*)
10574
12895
            # Green Hills C++ Compiler
10575
12896
            lt_prog_compiler_pic_CXX='-pic'
10576
12897
            ;;
10578
12899
            ;;
10579
12900
        esac
10580
12901
        ;;
10581
 
      freebsd* | kfreebsd*-gnu)
 
12902
      freebsd* | dragonfly*)
10582
12903
        # FreeBSD uses GNU C++
10583
12904
        ;;
10584
12905
      hpux9* | hpux10* | hpux11*)
10585
12906
        case $cc_basename in
10586
 
          CC)
 
12907
          CC*)
10587
12908
            lt_prog_compiler_wl_CXX='-Wl,'
10588
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
12909
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
10589
12910
            if test "$host_cpu" != ia64; then
10590
12911
              lt_prog_compiler_pic_CXX='+Z'
10591
12912
            fi
10592
12913
            ;;
10593
 
          aCC)
 
12914
          aCC*)
10594
12915
            lt_prog_compiler_wl_CXX='-Wl,'
10595
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10596
 
            case "$host_cpu" in
 
12916
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
12917
            case $host_cpu in
10597
12918
            hppa*64*|ia64*)
10598
12919
              # +Z the default
10599
12920
              ;;
10606
12927
            ;;
10607
12928
        esac
10608
12929
        ;;
 
12930
      interix*)
 
12931
        # This is c89, which is MS Visual C++ (no shared libs)
 
12932
        # Anyone wants to do a port?
 
12933
        ;;
10609
12934
      irix5* | irix6* | nonstopux*)
10610
12935
        case $cc_basename in
10611
 
          CC)
 
12936
          CC*)
10612
12937
            lt_prog_compiler_wl_CXX='-Wl,'
10613
12938
            lt_prog_compiler_static_CXX='-non_shared'
10614
12939
            # CC pic flag -KPIC is the default.
10617
12942
            ;;
10618
12943
        esac
10619
12944
        ;;
10620
 
      linux*)
 
12945
      linux* | k*bsd*-gnu)
10621
12946
        case $cc_basename in
10622
 
          KCC)
 
12947
          KCC*)
10623
12948
            # KAI C++ Compiler
10624
12949
            lt_prog_compiler_wl_CXX='--backend -Wl,'
10625
12950
            lt_prog_compiler_pic_CXX='-fPIC'
10626
12951
            ;;
10627
 
          icpc)
 
12952
          icpc* | ecpc*)
10628
12953
            # Intel C++
10629
12954
            lt_prog_compiler_wl_CXX='-Wl,'
10630
12955
            lt_prog_compiler_pic_CXX='-KPIC'
10631
12956
            lt_prog_compiler_static_CXX='-static'
10632
12957
            ;;
10633
 
          cxx)
 
12958
          pgCC*)
 
12959
            # Portland Group C++ compiler.
 
12960
            lt_prog_compiler_wl_CXX='-Wl,'
 
12961
            lt_prog_compiler_pic_CXX='-fpic'
 
12962
            lt_prog_compiler_static_CXX='-Bstatic'
 
12963
            ;;
 
12964
          cxx*)
10634
12965
            # Compaq C++
10635
12966
            # Make sure the PIC flag is empty.  It appears that all Alpha
10636
12967
            # Linux and Compaq Tru64 Unix objects are PIC.
10647
12978
        ;;
10648
12979
      mvs*)
10649
12980
        case $cc_basename in
10650
 
          cxx)
 
12981
          cxx*)
10651
12982
            lt_prog_compiler_pic_CXX='-W c,exportall'
10652
12983
            ;;
10653
12984
          *)
10654
12985
            ;;
10655
12986
        esac
10656
12987
        ;;
10657
 
      netbsd* | knetbsd*-gnu)
 
12988
      netbsd* | netbsdelf*-gnu)
10658
12989
        ;;
10659
12990
      osf3* | osf4* | osf5*)
10660
12991
        case $cc_basename in
10661
 
          KCC)
 
12992
          KCC*)
10662
12993
            lt_prog_compiler_wl_CXX='--backend -Wl,'
10663
12994
            ;;
10664
 
          RCC)
 
12995
          RCC*)
10665
12996
            # Rational C++ 2.4.1
10666
12997
            lt_prog_compiler_pic_CXX='-pic'
10667
12998
            ;;
10668
 
          cxx)
 
12999
          cxx*)
10669
13000
            # Digital/Compaq C++
10670
13001
            lt_prog_compiler_wl_CXX='-Wl,'
10671
13002
            # Make sure the PIC flag is empty.  It appears that all Alpha
10679
13010
        ;;
10680
13011
      psos*)
10681
13012
        ;;
10682
 
      sco*)
10683
 
        case $cc_basename in
10684
 
          CC)
10685
 
            lt_prog_compiler_pic_CXX='-fPIC'
10686
 
            ;;
10687
 
          *)
10688
 
            ;;
10689
 
        esac
10690
 
        ;;
10691
13013
      solaris*)
10692
13014
        case $cc_basename in
10693
 
          CC)
 
13015
          CC*)
10694
13016
            # Sun C++ 4.2, 5.x and Centerline C++
10695
13017
            lt_prog_compiler_pic_CXX='-KPIC'
10696
13018
            lt_prog_compiler_static_CXX='-Bstatic'
10697
13019
            lt_prog_compiler_wl_CXX='-Qoption ld '
10698
13020
            ;;
10699
 
          gcx)
 
13021
          gcx*)
10700
13022
            # Green Hills C++ Compiler
10701
13023
            lt_prog_compiler_pic_CXX='-PIC'
10702
13024
            ;;
10706
13028
        ;;
10707
13029
      sunos4*)
10708
13030
        case $cc_basename in
10709
 
          CC)
 
13031
          CC*)
10710
13032
            # Sun C++ 4.x
10711
13033
            lt_prog_compiler_pic_CXX='-pic'
10712
13034
            lt_prog_compiler_static_CXX='-Bstatic'
10713
13035
            ;;
10714
 
          lcc)
 
13036
          lcc*)
10715
13037
            # Lucid
10716
13038
            lt_prog_compiler_pic_CXX='-pic'
10717
13039
            ;;
10721
13043
        ;;
10722
13044
      tandem*)
10723
13045
        case $cc_basename in
10724
 
          NCC)
 
13046
          NCC*)
10725
13047
            # NonStop-UX NCC 3.20
10726
13048
            lt_prog_compiler_pic_CXX='-KPIC'
10727
13049
            ;;
10729
13051
            ;;
10730
13052
        esac
10731
13053
        ;;
10732
 
      unixware*)
 
13054
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
13055
        case $cc_basename in
 
13056
          CC*)
 
13057
            lt_prog_compiler_wl_CXX='-Wl,'
 
13058
            lt_prog_compiler_pic_CXX='-KPIC'
 
13059
            lt_prog_compiler_static_CXX='-Bstatic'
 
13060
            ;;
 
13061
        esac
10733
13062
        ;;
10734
13063
      vxworks*)
10735
13064
        ;;
10739
13068
    esac
10740
13069
  fi
10741
13070
 
10742
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10743
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
13071
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
13072
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
10744
13073
 
10745
13074
#
10746
13075
# Check to make sure the PIC flag actually works.
10747
13076
#
10748
13077
if test -n "$lt_prog_compiler_pic_CXX"; then
10749
13078
 
10750
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10751
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
13079
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
13080
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
10752
13081
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10753
13082
  echo $ECHO_N "(cached) $ECHO_C" >&6
10754
13083
else
10762
13091
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10763
13092
   # The option is referenced via a variable to avoid confusing sed.
10764
13093
   lt_compile=`echo "$ac_compile" | $SED \
10765
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
13094
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10766
13095
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10767
13096
   -e 's:$: $lt_compiler_flag:'`
10768
 
   (eval echo "\"\$as_me:10768: $lt_compile\"" >&5)
 
13097
   (eval echo "\"\$as_me:13097: $lt_compile\"" >&5)
10769
13098
   (eval "$lt_compile" 2>conftest.err)
10770
13099
   ac_status=$?
10771
13100
   cat conftest.err >&5
10772
 
   echo "$as_me:10772: \$? = $ac_status" >&5
 
13101
   echo "$as_me:13101: \$? = $ac_status" >&5
10773
13102
   if (exit $ac_status) && test -s "$ac_outfile"; then
10774
13103
     # The compiler can only warn and ignore the option if not recognized
10775
 
     # So say no if there are warnings
10776
 
     if test ! -s conftest.err; then
 
13104
     # So say no if there are warnings other than the usual output.
 
13105
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
13106
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13107
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10777
13108
       lt_prog_compiler_pic_works_CXX=yes
10778
13109
     fi
10779
13110
   fi
10780
13111
   $rm conftest*
10781
13112
 
10782
13113
fi
10783
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10784
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
13114
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
13115
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
10785
13116
 
10786
13117
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10787
13118
    case $lt_prog_compiler_pic_CXX in
10794
13125
fi
10795
13126
 
10796
13127
fi
10797
 
case "$host_os" in
 
13128
case $host_os in
10798
13129
  # For platforms which do not support PIC, -DPIC is meaningless:
10799
13130
  *djgpp*)
10800
13131
    lt_prog_compiler_pic_CXX=
10804
13135
    ;;
10805
13136
esac
10806
13137
 
10807
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10808
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
13138
#
 
13139
# Check to make sure the static flag actually works.
 
13140
#
 
13141
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
13142
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13143
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
13144
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
13145
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13146
else
 
13147
  lt_prog_compiler_static_works_CXX=no
 
13148
   save_LDFLAGS="$LDFLAGS"
 
13149
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
13150
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
13151
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
13152
     # The linker can only warn and ignore the option if not recognized
 
13153
     # So say no if there are warnings
 
13154
     if test -s conftest.err; then
 
13155
       # Append any errors to the config.log.
 
13156
       cat conftest.err 1>&5
 
13157
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
13158
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13159
       if diff conftest.exp conftest.er2 >/dev/null; then
 
13160
         lt_prog_compiler_static_works_CXX=yes
 
13161
       fi
 
13162
     else
 
13163
       lt_prog_compiler_static_works_CXX=yes
 
13164
     fi
 
13165
   fi
 
13166
   $rm conftest*
 
13167
   LDFLAGS="$save_LDFLAGS"
 
13168
 
 
13169
fi
 
13170
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
13171
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
13172
 
 
13173
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
13174
    :
 
13175
else
 
13176
    lt_prog_compiler_static_CXX=
 
13177
fi
 
13178
 
 
13179
 
 
13180
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13181
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10809
13182
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10810
13183
  echo $ECHO_N "(cached) $ECHO_C" >&6
10811
13184
else
10822
13195
   # Note that $ac_compile itself does not contain backslashes and begins
10823
13196
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10824
13197
   lt_compile=`echo "$ac_compile" | $SED \
10825
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
13198
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10826
13199
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10827
13200
   -e 's:$: $lt_compiler_flag:'`
10828
 
   (eval echo "\"\$as_me:10828: $lt_compile\"" >&5)
 
13201
   (eval echo "\"\$as_me:13201: $lt_compile\"" >&5)
10829
13202
   (eval "$lt_compile" 2>out/conftest.err)
10830
13203
   ac_status=$?
10831
13204
   cat out/conftest.err >&5
10832
 
   echo "$as_me:10832: \$? = $ac_status" >&5
 
13205
   echo "$as_me:13205: \$? = $ac_status" >&5
10833
13206
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10834
13207
   then
10835
13208
     # The compiler can only warn and ignore the option if not recognized
10836
13209
     # So say no if there are warnings
10837
 
     if test ! -s out/conftest.err; then
 
13210
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13211
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
13212
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10838
13213
       lt_cv_prog_compiler_c_o_CXX=yes
10839
13214
     fi
10840
13215
   fi
10841
 
   chmod u+w .
 
13216
   chmod u+w . 2>&5
10842
13217
   $rm conftest*
10843
13218
   # SGI C++ compiler will create directory out/ii_files/ for
10844
13219
   # template instantiation
10849
13224
   $rm conftest*
10850
13225
 
10851
13226
fi
10852
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10853
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
13227
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13228
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
10854
13229
 
10855
13230
 
10856
13231
hard_links="nottested"
10857
13232
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10858
13233
  # do not overwrite the value of need_locks provided by the user
10859
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10860
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
13234
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
13235
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10861
13236
  hard_links=yes
10862
13237
  $rm conftest*
10863
13238
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10864
13239
  touch conftest.a
10865
13240
  ln conftest.a conftest.b 2>&5 || hard_links=no
10866
13241
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10867
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
10868
 
echo "${ECHO_T}$hard_links" >&6
 
13242
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
13243
echo "${ECHO_T}$hard_links" >&6; }
10869
13244
  if test "$hard_links" = no; then
10870
13245
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10871
13246
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10875
13250
  need_locks=no
10876
13251
fi
10877
13252
 
10878
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10879
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
13253
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13254
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10880
13255
 
10881
13256
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10882
13257
  case $host_os in
10893
13268
    export_symbols_cmds_CXX="$ltdll_cmds"
10894
13269
  ;;
10895
13270
  cygwin* | mingw*)
10896
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
13271
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
13272
  ;;
 
13273
  linux* | k*bsd*-gnu)
 
13274
    link_all_deplibs_CXX=no
10897
13275
  ;;
10898
13276
  *)
10899
13277
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10900
13278
  ;;
10901
13279
  esac
10902
13280
 
10903
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10904
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
13281
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
13282
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
10905
13283
test "$ld_shlibs_CXX" = no && can_build_shared=no
10906
13284
 
10907
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10908
 
if test "$GCC" = yes; then
10909
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10910
 
fi
10911
 
 
10912
13285
#
10913
13286
# Do we need to explicitly link libc?
10914
13287
#
10926
13299
      # Test whether the compiler implicitly links with -lc since on some
10927
13300
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10928
13301
      # to ld, don't add -lc before -lgcc.
10929
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10930
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
13302
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
13303
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10931
13304
      $rm conftest*
10932
13305
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10933
13306
 
10941
13314
        libobjs=conftest.$ac_objext
10942
13315
        deplibs=
10943
13316
        wl=$lt_prog_compiler_wl_CXX
 
13317
        pic_flag=$lt_prog_compiler_pic_CXX
10944
13318
        compiler_flags=-v
10945
13319
        linker_flags=-v
10946
13320
        verstring=
10963
13337
        cat conftest.err 1>&5
10964
13338
      fi
10965
13339
      $rm conftest*
10966
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10967
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
13340
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
13341
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
10968
13342
      ;;
10969
13343
    esac
10970
13344
  fi
10971
13345
  ;;
10972
13346
esac
10973
13347
 
10974
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10975
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
13348
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
13349
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10976
13350
library_names_spec=
10977
13351
libname_spec='lib$name'
10978
13352
soname_spec=
10979
 
shrext=".so"
 
13353
shrext_cmds=".so"
10980
13354
postinstall_cmds=
10981
13355
postuninstall_cmds=
10982
13356
finish_cmds=
11073
13447
  shlibpath_var=LIBRARY_PATH
11074
13448
  ;;
11075
13449
 
11076
 
bsdi4*)
 
13450
bsdi[45]*)
11077
13451
  version_type=linux
11078
13452
  need_version=no
11079
13453
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11089
13463
 
11090
13464
cygwin* | mingw* | pw32*)
11091
13465
  version_type=windows
11092
 
  shrext=".dll"
 
13466
  shrext_cmds=".dll"
11093
13467
  need_version=no
11094
13468
  need_lib_prefix=no
11095
13469
 
11101
13475
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11102
13476
      dldir=$destdir/`dirname \$dlpath`~
11103
13477
      test -d \$dldir || mkdir -p \$dldir~
11104
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
13478
      $install_prog $dir/$dlname \$dldir/$dlname~
 
13479
      chmod a+x \$dldir/$dlname'
11105
13480
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11106
13481
      dlpath=$dir/\$dldll~
11107
13482
       $rm \$dlpath'
11131
13506
      ;;
11132
13507
    pw32*)
11133
13508
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11134
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
13509
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11135
13510
      ;;
11136
13511
    esac
11137
13512
    ;;
11154
13529
  soname_spec='${libname}${release}${major}$shared_ext'
11155
13530
  shlibpath_overrides_runpath=yes
11156
13531
  shlibpath_var=DYLD_LIBRARY_PATH
11157
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
 
13532
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11158
13533
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11159
13534
  if test "$GCC" = yes; then
11160
13535
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11177
13552
  dynamic_linker=no
11178
13553
  ;;
11179
13554
 
11180
 
kfreebsd*-gnu)
11181
 
  version_type=linux
11182
 
  need_lib_prefix=no
11183
 
  need_version=no
11184
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11185
 
  soname_spec='${libname}${release}${shared_ext}$major'
11186
 
  shlibpath_var=LD_LIBRARY_PATH
11187
 
  shlibpath_overrides_runpath=no
11188
 
  hardcode_into_libs=yes
11189
 
  dynamic_linker='GNU ld.so'
11190
 
  ;;
11191
 
 
11192
 
freebsd*)
11193
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
13555
freebsd* | dragonfly*)
 
13556
  # DragonFly does not have aout.  When/if they implement a new
 
13557
  # versioning mechanism, adjust this.
 
13558
  if test -x /usr/bin/objformat; then
 
13559
    objformat=`/usr/bin/objformat`
 
13560
  else
 
13561
    case $host_os in
 
13562
    freebsd[123]*) objformat=aout ;;
 
13563
    *) objformat=elf ;;
 
13564
    esac
 
13565
  fi
11194
13566
  version_type=freebsd-$objformat
11195
13567
  case $version_type in
11196
13568
    freebsd-elf*)
11208
13580
  freebsd2*)
11209
13581
    shlibpath_overrides_runpath=yes
11210
13582
    ;;
11211
 
  freebsd3.01* | freebsdelf3.01*)
 
13583
  freebsd3.[01]* | freebsdelf3.[01]*)
11212
13584
    shlibpath_overrides_runpath=yes
11213
13585
    hardcode_into_libs=yes
11214
13586
    ;;
11215
 
  *) # from 3.2 on
 
13587
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
13588
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11216
13589
    shlibpath_overrides_runpath=no
11217
13590
    hardcode_into_libs=yes
11218
13591
    ;;
 
13592
  freebsd*) # from 4.6 on
 
13593
    shlibpath_overrides_runpath=yes
 
13594
    hardcode_into_libs=yes
 
13595
    ;;
11219
13596
  esac
11220
13597
  ;;
11221
13598
 
11235
13612
  version_type=sunos
11236
13613
  need_lib_prefix=no
11237
13614
  need_version=no
11238
 
  case "$host_cpu" in
 
13615
  case $host_cpu in
11239
13616
  ia64*)
11240
 
    shrext='.so'
 
13617
    shrext_cmds='.so'
11241
13618
    hardcode_into_libs=yes
11242
13619
    dynamic_linker="$host_os dld.so"
11243
13620
    shlibpath_var=LD_LIBRARY_PATH
11252
13629
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11253
13630
    ;;
11254
13631
   hppa*64*)
11255
 
     shrext='.sl'
 
13632
     shrext_cmds='.sl'
11256
13633
     hardcode_into_libs=yes
11257
13634
     dynamic_linker="$host_os dld.sl"
11258
13635
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11263
13640
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11264
13641
     ;;
11265
13642
   *)
11266
 
    shrext='.sl'
 
13643
    shrext_cmds='.sl'
11267
13644
    dynamic_linker="$host_os dld.sl"
11268
13645
    shlibpath_var=SHLIB_PATH
11269
13646
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11275
13652
  postinstall_cmds='chmod 555 $lib'
11276
13653
  ;;
11277
13654
 
 
13655
interix3*)
 
13656
  version_type=linux
 
13657
  need_lib_prefix=no
 
13658
  need_version=no
 
13659
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
13660
  soname_spec='${libname}${release}${shared_ext}$major'
 
13661
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
13662
  shlibpath_var=LD_LIBRARY_PATH
 
13663
  shlibpath_overrides_runpath=no
 
13664
  hardcode_into_libs=yes
 
13665
  ;;
 
13666
 
11278
13667
irix5* | irix6* | nonstopux*)
11279
13668
  case $host_os in
11280
13669
    nonstopux*) version_type=nonstopux ;;
11318
13707
  ;;
11319
13708
 
11320
13709
# This must be Linux ELF.
11321
 
linux*)
 
13710
linux* | k*bsd*-gnu)
11322
13711
  version_type=linux
11323
13712
  need_lib_prefix=no
11324
13713
  need_version=no
11334
13723
 
11335
13724
  # Append ld.so.conf contents to the search path
11336
13725
  if test -f /etc/ld.so.conf; then
11337
 
    ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
11338
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
 
13726
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
13727
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11339
13728
  fi
11340
13729
 
11341
13730
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11347
13736
  dynamic_linker='GNU/Linux ld.so'
11348
13737
  ;;
11349
13738
 
11350
 
knetbsd*-gnu)
 
13739
netbsdelf*-gnu)
11351
13740
  version_type=linux
11352
13741
  need_lib_prefix=no
11353
13742
  need_version=no
11356
13745
  shlibpath_var=LD_LIBRARY_PATH
11357
13746
  shlibpath_overrides_runpath=no
11358
13747
  hardcode_into_libs=yes
11359
 
  dynamic_linker='GNU ld.so'
 
13748
  dynamic_linker='NetBSD ld.elf_so'
11360
13749
  ;;
11361
13750
 
11362
13751
netbsd*)
11396
13785
 
11397
13786
openbsd*)
11398
13787
  version_type=sunos
 
13788
  sys_lib_dlsearch_path_spec="/usr/lib"
11399
13789
  need_lib_prefix=no
11400
 
  need_version=yes
 
13790
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
13791
  case $host_os in
 
13792
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
13793
    *)                         need_version=no  ;;
 
13794
  esac
11401
13795
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11402
13796
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11403
13797
  shlibpath_var=LD_LIBRARY_PATH
11417
13811
 
11418
13812
os2*)
11419
13813
  libname_spec='$name'
11420
 
  shrext=".dll"
 
13814
  shrext_cmds=".dll"
11421
13815
  need_lib_prefix=no
11422
13816
  library_names_spec='$libname${shared_ext} $libname.a'
11423
13817
  dynamic_linker='OS/2 ld.exe'
11435
13829
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11436
13830
  ;;
11437
13831
 
11438
 
sco3.2v5*)
11439
 
  version_type=osf
11440
 
  soname_spec='${libname}${release}${shared_ext}$major'
11441
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11442
 
  shlibpath_var=LD_LIBRARY_PATH
11443
 
  ;;
11444
 
 
11445
13832
solaris*)
11446
13833
  version_type=linux
11447
13834
  need_lib_prefix=no
11467
13854
  need_version=yes
11468
13855
  ;;
11469
13856
 
11470
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
13857
sysv4 | sysv4.3*)
11471
13858
  version_type=linux
11472
13859
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11473
13860
  soname_spec='${libname}${release}${shared_ext}$major'
11500
13887
  fi
11501
13888
  ;;
11502
13889
 
 
13890
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
13891
  version_type=freebsd-elf
 
13892
  need_lib_prefix=no
 
13893
  need_version=no
 
13894
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
13895
  soname_spec='${libname}${release}${shared_ext}$major'
 
13896
  shlibpath_var=LD_LIBRARY_PATH
 
13897
  hardcode_into_libs=yes
 
13898
  if test "$with_gnu_ld" = yes; then
 
13899
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
13900
    shlibpath_overrides_runpath=no
 
13901
  else
 
13902
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
13903
    shlibpath_overrides_runpath=yes
 
13904
    case $host_os in
 
13905
      sco3.2v5*)
 
13906
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
13907
        ;;
 
13908
    esac
 
13909
  fi
 
13910
  sys_lib_dlsearch_path_spec='/usr/lib'
 
13911
  ;;
 
13912
 
11503
13913
uts4*)
11504
13914
  version_type=linux
11505
13915
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11511
13921
  dynamic_linker=no
11512
13922
  ;;
11513
13923
esac
11514
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11515
 
echo "${ECHO_T}$dynamic_linker" >&6
 
13924
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13925
echo "${ECHO_T}$dynamic_linker" >&6; }
11516
13926
test "$dynamic_linker" = no && can_build_shared=no
11517
13927
 
11518
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11519
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
13928
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
13929
if test "$GCC" = yes; then
 
13930
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
13931
fi
 
13932
 
 
13933
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13934
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11520
13935
hardcode_action_CXX=
11521
13936
if test -n "$hardcode_libdir_flag_spec_CXX" || \
11522
 
   test -n "$runpath_var CXX" || \
11523
 
   test "X$hardcode_automatic_CXX"="Xyes" ; then
 
13937
   test -n "$runpath_var_CXX" || \
 
13938
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
11524
13939
 
11525
13940
  # We can hardcode non-existant directories.
11526
13941
  if test "$hardcode_direct_CXX" != no &&
11540
13955
  # directories.
11541
13956
  hardcode_action_CXX=unsupported
11542
13957
fi
11543
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11544
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
13958
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13959
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
11545
13960
 
11546
13961
if test "$hardcode_action_CXX" = relink; then
11547
13962
  # Fast installation is not supported
11552
13967
  enable_fast_install=needless
11553
13968
fi
11554
13969
 
11555
 
striplib=
11556
 
old_striplib=
11557
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11558
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11559
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11560
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11561
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11562
 
  echo "$as_me:$LINENO: result: yes" >&5
11563
 
echo "${ECHO_T}yes" >&6
11564
 
else
11565
 
# FIXME - insert some real tests, host_os isn't really good enough
11566
 
  case $host_os in
11567
 
   darwin*)
11568
 
       if test -n "$STRIP" ; then
11569
 
         striplib="$STRIP -x"
11570
 
         echo "$as_me:$LINENO: result: yes" >&5
11571
 
echo "${ECHO_T}yes" >&6
11572
 
       else
11573
 
  echo "$as_me:$LINENO: result: no" >&5
11574
 
echo "${ECHO_T}no" >&6
11575
 
fi
11576
 
       ;;
11577
 
   *)
11578
 
  echo "$as_me:$LINENO: result: no" >&5
11579
 
echo "${ECHO_T}no" >&6
11580
 
    ;;
11581
 
  esac
11582
 
fi
11583
 
 
11584
 
if test "x$enable_dlopen" != xyes; then
11585
 
  enable_dlopen=unknown
11586
 
  enable_dlopen_self=unknown
11587
 
  enable_dlopen_self_static=unknown
11588
 
else
11589
 
  lt_cv_dlopen=no
11590
 
  lt_cv_dlopen_libs=
11591
 
 
11592
 
  case $host_os in
11593
 
  beos*)
11594
 
    lt_cv_dlopen="load_add_on"
11595
 
    lt_cv_dlopen_libs=
11596
 
    lt_cv_dlopen_self=yes
11597
 
    ;;
11598
 
 
11599
 
  mingw* | pw32*)
11600
 
    lt_cv_dlopen="LoadLibrary"
11601
 
    lt_cv_dlopen_libs=
11602
 
   ;;
11603
 
 
11604
 
  cygwin*)
11605
 
    lt_cv_dlopen="dlopen"
11606
 
    lt_cv_dlopen_libs=
11607
 
   ;;
11608
 
 
11609
 
  darwin*)
11610
 
  # if libdl is installed we need to link against it
11611
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11612
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11613
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11614
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11615
 
else
11616
 
  ac_check_lib_save_LIBS=$LIBS
11617
 
LIBS="-ldl  $LIBS"
11618
 
cat >conftest.$ac_ext <<_ACEOF
11619
 
#line $LINENO "configure"
11620
 
/* confdefs.h.  */
11621
 
_ACEOF
11622
 
cat confdefs.h >>conftest.$ac_ext
11623
 
cat >>conftest.$ac_ext <<_ACEOF
11624
 
/* end confdefs.h.  */
11625
 
 
11626
 
/* Override any gcc2 internal prototype to avoid an error.  */
11627
 
#ifdef __cplusplus
11628
 
extern "C"
11629
 
#endif
11630
 
/* We use char because int might match the return type of a gcc2
11631
 
   builtin and then its argument prototype would still apply.  */
11632
 
char dlopen ();
11633
 
int
11634
 
main ()
11635
 
{
11636
 
dlopen ();
11637
 
  ;
11638
 
  return 0;
11639
 
}
11640
 
_ACEOF
11641
 
rm -f conftest.$ac_objext conftest$ac_exeext
11642
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11643
 
  (eval $ac_link) 2>&5
11644
 
  ac_status=$?
11645
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11646
 
  (exit $ac_status); } &&
11647
 
         { ac_try='test -s conftest$ac_exeext'
11648
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11649
 
  (eval $ac_try) 2>&5
11650
 
  ac_status=$?
11651
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652
 
  (exit $ac_status); }; }; then
11653
 
  ac_cv_lib_dl_dlopen=yes
11654
 
else
11655
 
  echo "$as_me: failed program was:" >&5
11656
 
sed 's/^/| /' conftest.$ac_ext >&5
11657
 
 
11658
 
ac_cv_lib_dl_dlopen=no
11659
 
fi
11660
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11661
 
LIBS=$ac_check_lib_save_LIBS
11662
 
fi
11663
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11664
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11665
 
if test $ac_cv_lib_dl_dlopen = yes; then
11666
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11667
 
else
11668
 
 
11669
 
    lt_cv_dlopen="dyld"
11670
 
    lt_cv_dlopen_libs=
11671
 
    lt_cv_dlopen_self=yes
11672
 
 
11673
 
fi
11674
 
 
11675
 
   ;;
11676
 
 
11677
 
  *)
11678
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
11679
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11680
 
if test "${ac_cv_func_shl_load+set}" = set; then
11681
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11682
 
else
11683
 
  cat >conftest.$ac_ext <<_ACEOF
11684
 
#line $LINENO "configure"
11685
 
/* confdefs.h.  */
11686
 
_ACEOF
11687
 
cat confdefs.h >>conftest.$ac_ext
11688
 
cat >>conftest.$ac_ext <<_ACEOF
11689
 
/* end confdefs.h.  */
11690
 
/* System header to define __stub macros and hopefully few prototypes,
11691
 
    which can conflict with char shl_load (); below.
11692
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11693
 
    <limits.h> exists even on freestanding compilers.  */
11694
 
#ifdef __STDC__
11695
 
# include <limits.h>
11696
 
#else
11697
 
# include <assert.h>
11698
 
#endif
11699
 
/* Override any gcc2 internal prototype to avoid an error.  */
11700
 
#ifdef __cplusplus
11701
 
extern "C"
11702
 
{
11703
 
#endif
11704
 
/* We use char because int might match the return type of a gcc2
11705
 
   builtin and then its argument prototype would still apply.  */
11706
 
char shl_load ();
11707
 
/* The GNU C library defines this for functions which it implements
11708
 
    to always fail with ENOSYS.  Some functions are actually named
11709
 
    something starting with __ and the normal name is an alias.  */
11710
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
11711
 
choke me
11712
 
#else
11713
 
char (*f) () = shl_load;
11714
 
#endif
11715
 
#ifdef __cplusplus
11716
 
}
11717
 
#endif
11718
 
 
11719
 
int
11720
 
main ()
11721
 
{
11722
 
return f != shl_load;
11723
 
  ;
11724
 
  return 0;
11725
 
}
11726
 
_ACEOF
11727
 
rm -f conftest.$ac_objext conftest$ac_exeext
11728
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11729
 
  (eval $ac_link) 2>&5
11730
 
  ac_status=$?
11731
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732
 
  (exit $ac_status); } &&
11733
 
         { ac_try='test -s conftest$ac_exeext'
11734
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11735
 
  (eval $ac_try) 2>&5
11736
 
  ac_status=$?
11737
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738
 
  (exit $ac_status); }; }; then
11739
 
  ac_cv_func_shl_load=yes
11740
 
else
11741
 
  echo "$as_me: failed program was:" >&5
11742
 
sed 's/^/| /' conftest.$ac_ext >&5
11743
 
 
11744
 
ac_cv_func_shl_load=no
11745
 
fi
11746
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11747
 
fi
11748
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11749
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11750
 
if test $ac_cv_func_shl_load = yes; then
11751
 
  lt_cv_dlopen="shl_load"
11752
 
else
11753
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11754
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11755
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11756
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11757
 
else
11758
 
  ac_check_lib_save_LIBS=$LIBS
11759
 
LIBS="-ldld  $LIBS"
11760
 
cat >conftest.$ac_ext <<_ACEOF
11761
 
#line $LINENO "configure"
11762
 
/* confdefs.h.  */
11763
 
_ACEOF
11764
 
cat confdefs.h >>conftest.$ac_ext
11765
 
cat >>conftest.$ac_ext <<_ACEOF
11766
 
/* end confdefs.h.  */
11767
 
 
11768
 
/* Override any gcc2 internal prototype to avoid an error.  */
11769
 
#ifdef __cplusplus
11770
 
extern "C"
11771
 
#endif
11772
 
/* We use char because int might match the return type of a gcc2
11773
 
   builtin and then its argument prototype would still apply.  */
11774
 
char shl_load ();
11775
 
int
11776
 
main ()
11777
 
{
11778
 
shl_load ();
11779
 
  ;
11780
 
  return 0;
11781
 
}
11782
 
_ACEOF
11783
 
rm -f conftest.$ac_objext conftest$ac_exeext
11784
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11785
 
  (eval $ac_link) 2>&5
11786
 
  ac_status=$?
11787
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788
 
  (exit $ac_status); } &&
11789
 
         { ac_try='test -s conftest$ac_exeext'
11790
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11791
 
  (eval $ac_try) 2>&5
11792
 
  ac_status=$?
11793
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794
 
  (exit $ac_status); }; }; then
11795
 
  ac_cv_lib_dld_shl_load=yes
11796
 
else
11797
 
  echo "$as_me: failed program was:" >&5
11798
 
sed 's/^/| /' conftest.$ac_ext >&5
11799
 
 
11800
 
ac_cv_lib_dld_shl_load=no
11801
 
fi
11802
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11803
 
LIBS=$ac_check_lib_save_LIBS
11804
 
fi
11805
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11806
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11807
 
if test $ac_cv_lib_dld_shl_load = yes; then
11808
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11809
 
else
11810
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
11811
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11812
 
if test "${ac_cv_func_dlopen+set}" = set; then
11813
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11814
 
else
11815
 
  cat >conftest.$ac_ext <<_ACEOF
11816
 
#line $LINENO "configure"
11817
 
/* confdefs.h.  */
11818
 
_ACEOF
11819
 
cat confdefs.h >>conftest.$ac_ext
11820
 
cat >>conftest.$ac_ext <<_ACEOF
11821
 
/* end confdefs.h.  */
11822
 
/* System header to define __stub macros and hopefully few prototypes,
11823
 
    which can conflict with char dlopen (); below.
11824
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11825
 
    <limits.h> exists even on freestanding compilers.  */
11826
 
#ifdef __STDC__
11827
 
# include <limits.h>
11828
 
#else
11829
 
# include <assert.h>
11830
 
#endif
11831
 
/* Override any gcc2 internal prototype to avoid an error.  */
11832
 
#ifdef __cplusplus
11833
 
extern "C"
11834
 
{
11835
 
#endif
11836
 
/* We use char because int might match the return type of a gcc2
11837
 
   builtin and then its argument prototype would still apply.  */
11838
 
char dlopen ();
11839
 
/* The GNU C library defines this for functions which it implements
11840
 
    to always fail with ENOSYS.  Some functions are actually named
11841
 
    something starting with __ and the normal name is an alias.  */
11842
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
11843
 
choke me
11844
 
#else
11845
 
char (*f) () = dlopen;
11846
 
#endif
11847
 
#ifdef __cplusplus
11848
 
}
11849
 
#endif
11850
 
 
11851
 
int
11852
 
main ()
11853
 
{
11854
 
return f != dlopen;
11855
 
  ;
11856
 
  return 0;
11857
 
}
11858
 
_ACEOF
11859
 
rm -f conftest.$ac_objext conftest$ac_exeext
11860
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11861
 
  (eval $ac_link) 2>&5
11862
 
  ac_status=$?
11863
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864
 
  (exit $ac_status); } &&
11865
 
         { ac_try='test -s conftest$ac_exeext'
11866
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11867
 
  (eval $ac_try) 2>&5
11868
 
  ac_status=$?
11869
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870
 
  (exit $ac_status); }; }; then
11871
 
  ac_cv_func_dlopen=yes
11872
 
else
11873
 
  echo "$as_me: failed program was:" >&5
11874
 
sed 's/^/| /' conftest.$ac_ext >&5
11875
 
 
11876
 
ac_cv_func_dlopen=no
11877
 
fi
11878
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11879
 
fi
11880
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11881
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11882
 
if test $ac_cv_func_dlopen = yes; then
11883
 
  lt_cv_dlopen="dlopen"
11884
 
else
11885
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11886
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11887
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11888
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11889
 
else
11890
 
  ac_check_lib_save_LIBS=$LIBS
11891
 
LIBS="-ldl  $LIBS"
11892
 
cat >conftest.$ac_ext <<_ACEOF
11893
 
#line $LINENO "configure"
11894
 
/* confdefs.h.  */
11895
 
_ACEOF
11896
 
cat confdefs.h >>conftest.$ac_ext
11897
 
cat >>conftest.$ac_ext <<_ACEOF
11898
 
/* end confdefs.h.  */
11899
 
 
11900
 
/* Override any gcc2 internal prototype to avoid an error.  */
11901
 
#ifdef __cplusplus
11902
 
extern "C"
11903
 
#endif
11904
 
/* We use char because int might match the return type of a gcc2
11905
 
   builtin and then its argument prototype would still apply.  */
11906
 
char dlopen ();
11907
 
int
11908
 
main ()
11909
 
{
11910
 
dlopen ();
11911
 
  ;
11912
 
  return 0;
11913
 
}
11914
 
_ACEOF
11915
 
rm -f conftest.$ac_objext conftest$ac_exeext
11916
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11917
 
  (eval $ac_link) 2>&5
11918
 
  ac_status=$?
11919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920
 
  (exit $ac_status); } &&
11921
 
         { ac_try='test -s conftest$ac_exeext'
11922
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11923
 
  (eval $ac_try) 2>&5
11924
 
  ac_status=$?
11925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926
 
  (exit $ac_status); }; }; then
11927
 
  ac_cv_lib_dl_dlopen=yes
11928
 
else
11929
 
  echo "$as_me: failed program was:" >&5
11930
 
sed 's/^/| /' conftest.$ac_ext >&5
11931
 
 
11932
 
ac_cv_lib_dl_dlopen=no
11933
 
fi
11934
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11935
 
LIBS=$ac_check_lib_save_LIBS
11936
 
fi
11937
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11938
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11939
 
if test $ac_cv_lib_dl_dlopen = yes; then
11940
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11941
 
else
11942
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11943
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11944
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11945
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11946
 
else
11947
 
  ac_check_lib_save_LIBS=$LIBS
11948
 
LIBS="-lsvld  $LIBS"
11949
 
cat >conftest.$ac_ext <<_ACEOF
11950
 
#line $LINENO "configure"
11951
 
/* confdefs.h.  */
11952
 
_ACEOF
11953
 
cat confdefs.h >>conftest.$ac_ext
11954
 
cat >>conftest.$ac_ext <<_ACEOF
11955
 
/* end confdefs.h.  */
11956
 
 
11957
 
/* Override any gcc2 internal prototype to avoid an error.  */
11958
 
#ifdef __cplusplus
11959
 
extern "C"
11960
 
#endif
11961
 
/* We use char because int might match the return type of a gcc2
11962
 
   builtin and then its argument prototype would still apply.  */
11963
 
char dlopen ();
11964
 
int
11965
 
main ()
11966
 
{
11967
 
dlopen ();
11968
 
  ;
11969
 
  return 0;
11970
 
}
11971
 
_ACEOF
11972
 
rm -f conftest.$ac_objext conftest$ac_exeext
11973
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11974
 
  (eval $ac_link) 2>&5
11975
 
  ac_status=$?
11976
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977
 
  (exit $ac_status); } &&
11978
 
         { ac_try='test -s conftest$ac_exeext'
11979
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11980
 
  (eval $ac_try) 2>&5
11981
 
  ac_status=$?
11982
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983
 
  (exit $ac_status); }; }; then
11984
 
  ac_cv_lib_svld_dlopen=yes
11985
 
else
11986
 
  echo "$as_me: failed program was:" >&5
11987
 
sed 's/^/| /' conftest.$ac_ext >&5
11988
 
 
11989
 
ac_cv_lib_svld_dlopen=no
11990
 
fi
11991
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11992
 
LIBS=$ac_check_lib_save_LIBS
11993
 
fi
11994
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11995
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11996
 
if test $ac_cv_lib_svld_dlopen = yes; then
11997
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11998
 
else
11999
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12000
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12001
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12002
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12003
 
else
12004
 
  ac_check_lib_save_LIBS=$LIBS
12005
 
LIBS="-ldld  $LIBS"
12006
 
cat >conftest.$ac_ext <<_ACEOF
12007
 
#line $LINENO "configure"
12008
 
/* confdefs.h.  */
12009
 
_ACEOF
12010
 
cat confdefs.h >>conftest.$ac_ext
12011
 
cat >>conftest.$ac_ext <<_ACEOF
12012
 
/* end confdefs.h.  */
12013
 
 
12014
 
/* Override any gcc2 internal prototype to avoid an error.  */
12015
 
#ifdef __cplusplus
12016
 
extern "C"
12017
 
#endif
12018
 
/* We use char because int might match the return type of a gcc2
12019
 
   builtin and then its argument prototype would still apply.  */
12020
 
char dld_link ();
12021
 
int
12022
 
main ()
12023
 
{
12024
 
dld_link ();
12025
 
  ;
12026
 
  return 0;
12027
 
}
12028
 
_ACEOF
12029
 
rm -f conftest.$ac_objext conftest$ac_exeext
12030
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12031
 
  (eval $ac_link) 2>&5
12032
 
  ac_status=$?
12033
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034
 
  (exit $ac_status); } &&
12035
 
         { ac_try='test -s conftest$ac_exeext'
12036
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12037
 
  (eval $ac_try) 2>&5
12038
 
  ac_status=$?
12039
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040
 
  (exit $ac_status); }; }; then
12041
 
  ac_cv_lib_dld_dld_link=yes
12042
 
else
12043
 
  echo "$as_me: failed program was:" >&5
12044
 
sed 's/^/| /' conftest.$ac_ext >&5
12045
 
 
12046
 
ac_cv_lib_dld_dld_link=no
12047
 
fi
12048
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12049
 
LIBS=$ac_check_lib_save_LIBS
12050
 
fi
12051
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12052
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12053
 
if test $ac_cv_lib_dld_dld_link = yes; then
12054
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12055
 
fi
12056
 
 
12057
 
 
12058
 
fi
12059
 
 
12060
 
 
12061
 
fi
12062
 
 
12063
 
 
12064
 
fi
12065
 
 
12066
 
 
12067
 
fi
12068
 
 
12069
 
 
12070
 
fi
12071
 
 
12072
 
    ;;
12073
 
  esac
12074
 
 
12075
 
  if test "x$lt_cv_dlopen" != xno; then
12076
 
    enable_dlopen=yes
12077
 
  else
12078
 
    enable_dlopen=no
12079
 
  fi
12080
 
 
12081
 
  case $lt_cv_dlopen in
12082
 
  dlopen)
12083
 
    save_CPPFLAGS="$CPPFLAGS"
12084
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12085
 
 
12086
 
    save_LDFLAGS="$LDFLAGS"
12087
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12088
 
 
12089
 
    save_LIBS="$LIBS"
12090
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
12091
 
 
12092
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12093
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12094
 
if test "${lt_cv_dlopen_self+set}" = set; then
12095
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12096
 
else
12097
 
          if test "$cross_compiling" = yes; then :
12098
 
  lt_cv_dlopen_self=cross
12099
 
else
12100
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12101
 
  lt_status=$lt_dlunknown
12102
 
  cat > conftest.$ac_ext <<EOF
12103
 
#line 12103 "configure"
12104
 
#include "confdefs.h"
12105
 
 
12106
 
#if HAVE_DLFCN_H
12107
 
#include <dlfcn.h>
12108
 
#endif
12109
 
 
12110
 
#include <stdio.h>
12111
 
 
12112
 
#ifdef RTLD_GLOBAL
12113
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12114
 
#else
12115
 
#  ifdef DL_GLOBAL
12116
 
#    define LT_DLGLOBAL         DL_GLOBAL
12117
 
#  else
12118
 
#    define LT_DLGLOBAL         0
12119
 
#  endif
12120
 
#endif
12121
 
 
12122
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12123
 
   find out it does not work in some platform. */
12124
 
#ifndef LT_DLLAZY_OR_NOW
12125
 
#  ifdef RTLD_LAZY
12126
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12127
 
#  else
12128
 
#    ifdef DL_LAZY
12129
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12130
 
#    else
12131
 
#      ifdef RTLD_NOW
12132
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12133
 
#      else
12134
 
#        ifdef DL_NOW
12135
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12136
 
#        else
12137
 
#          define LT_DLLAZY_OR_NOW      0
12138
 
#        endif
12139
 
#      endif
12140
 
#    endif
12141
 
#  endif
12142
 
#endif
12143
 
 
12144
 
#ifdef __cplusplus
12145
 
extern "C" void exit (int);
12146
 
#endif
12147
 
 
12148
 
void fnord() { int i=42;}
12149
 
int main ()
12150
 
{
12151
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12152
 
  int status = $lt_dlunknown;
12153
 
 
12154
 
  if (self)
12155
 
    {
12156
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12157
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12158
 
      /* dlclose (self); */
12159
 
    }
12160
 
 
12161
 
    exit (status);
12162
 
}
12163
 
EOF
12164
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12165
 
  (eval $ac_link) 2>&5
12166
 
  ac_status=$?
12167
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12169
 
    (./conftest; exit; ) 2>/dev/null
12170
 
    lt_status=$?
12171
 
    case x$lt_status in
12172
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12173
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12174
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12175
 
    esac
12176
 
  else :
12177
 
    # compilation failed
12178
 
    lt_cv_dlopen_self=no
12179
 
  fi
12180
 
fi
12181
 
rm -fr conftest*
12182
 
 
12183
 
 
12184
 
fi
12185
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12186
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12187
 
 
12188
 
    if test "x$lt_cv_dlopen_self" = xyes; then
12189
 
      LDFLAGS="$LDFLAGS $link_static_flag"
12190
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12191
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12192
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
12193
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12194
 
else
12195
 
          if test "$cross_compiling" = yes; then :
12196
 
  lt_cv_dlopen_self_static=cross
12197
 
else
12198
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12199
 
  lt_status=$lt_dlunknown
12200
 
  cat > conftest.$ac_ext <<EOF
12201
 
#line 12201 "configure"
12202
 
#include "confdefs.h"
12203
 
 
12204
 
#if HAVE_DLFCN_H
12205
 
#include <dlfcn.h>
12206
 
#endif
12207
 
 
12208
 
#include <stdio.h>
12209
 
 
12210
 
#ifdef RTLD_GLOBAL
12211
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12212
 
#else
12213
 
#  ifdef DL_GLOBAL
12214
 
#    define LT_DLGLOBAL         DL_GLOBAL
12215
 
#  else
12216
 
#    define LT_DLGLOBAL         0
12217
 
#  endif
12218
 
#endif
12219
 
 
12220
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12221
 
   find out it does not work in some platform. */
12222
 
#ifndef LT_DLLAZY_OR_NOW
12223
 
#  ifdef RTLD_LAZY
12224
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12225
 
#  else
12226
 
#    ifdef DL_LAZY
12227
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12228
 
#    else
12229
 
#      ifdef RTLD_NOW
12230
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12231
 
#      else
12232
 
#        ifdef DL_NOW
12233
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12234
 
#        else
12235
 
#          define LT_DLLAZY_OR_NOW      0
12236
 
#        endif
12237
 
#      endif
12238
 
#    endif
12239
 
#  endif
12240
 
#endif
12241
 
 
12242
 
#ifdef __cplusplus
12243
 
extern "C" void exit (int);
12244
 
#endif
12245
 
 
12246
 
void fnord() { int i=42;}
12247
 
int main ()
12248
 
{
12249
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12250
 
  int status = $lt_dlunknown;
12251
 
 
12252
 
  if (self)
12253
 
    {
12254
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12255
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12256
 
      /* dlclose (self); */
12257
 
    }
12258
 
 
12259
 
    exit (status);
12260
 
}
12261
 
EOF
12262
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12263
 
  (eval $ac_link) 2>&5
12264
 
  ac_status=$?
12265
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12267
 
    (./conftest; exit; ) 2>/dev/null
12268
 
    lt_status=$?
12269
 
    case x$lt_status in
12270
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12271
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12272
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12273
 
    esac
12274
 
  else :
12275
 
    # compilation failed
12276
 
    lt_cv_dlopen_self_static=no
12277
 
  fi
12278
 
fi
12279
 
rm -fr conftest*
12280
 
 
12281
 
 
12282
 
fi
12283
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12284
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12285
 
    fi
12286
 
 
12287
 
    CPPFLAGS="$save_CPPFLAGS"
12288
 
    LDFLAGS="$save_LDFLAGS"
12289
 
    LIBS="$save_LIBS"
12290
 
    ;;
12291
 
  esac
12292
 
 
12293
 
  case $lt_cv_dlopen_self in
12294
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12295
 
  *) enable_dlopen_self=unknown ;;
12296
 
  esac
12297
 
 
12298
 
  case $lt_cv_dlopen_self_static in
12299
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12300
 
  *) enable_dlopen_self_static=unknown ;;
12301
 
  esac
12302
 
fi
12303
 
 
12304
13970
 
12305
13971
# The else clause should only fire when bootstrapping the
12306
13972
# libtool distribution, otherwise you forgot to ship ltmain.sh
12315
13981
  # Now quote all the things that may contain metacharacters while being
12316
13982
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
12317
13983
  # variables and quote the copies for generation of the libtool script.
12318
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
13984
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12319
13985
    SED SHELL STRIP \
12320
13986
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12321
13987
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12416
14082
# The host system.
12417
14083
host_alias=$host_alias
12418
14084
host=$host
 
14085
host_os=$host_os
 
14086
 
 
14087
# The build system.
 
14088
build_alias=$build_alias
 
14089
build=$build
 
14090
build_os=$build_os
12419
14091
 
12420
14092
# An echo program that does not interpret backslashes.
12421
14093
echo=$lt_echo
12427
14099
# A C compiler.
12428
14100
LTCC=$lt_LTCC
12429
14101
 
 
14102
# LTCC compiler flags.
 
14103
LTCFLAGS=$lt_LTCFLAGS
 
14104
 
12430
14105
# A language-specific compiler.
12431
14106
CC=$lt_compiler_CXX
12432
14107
 
12477
14152
libext="$libext"
12478
14153
 
12479
14154
# Shared library suffix (normally ".so").
12480
 
shrext='$shrext'
 
14155
shrext_cmds='$shrext_cmds'
12481
14156
 
12482
14157
# Executable file suffix (normally "").
12483
14158
exeext="$exeext"
12492
14167
# Does compiler simultaneously support -c and -o options?
12493
14168
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12494
14169
 
12495
 
# Must we lock files when doing compilation ?
 
14170
# Must we lock files when doing compilation?
12496
14171
need_locks=$lt_need_locks
12497
14172
 
12498
14173
# Do we need the lib prefix for modules?
12769
14444
# If no C compiler was specified, use CC.
12770
14445
LTCC=${LTCC-"$CC"}
12771
14446
 
 
14447
# If no C compiler flags were specified, use CFLAGS.
 
14448
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
14449
 
12772
14450
# Allow CC to be a program name with arguments.
12773
14451
compiler=$CC
12774
14452
 
12775
14453
 
 
14454
# save warnings/boilerplate of simple test code
 
14455
ac_outfile=conftest.$ac_objext
 
14456
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
14457
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
14458
_lt_compiler_boilerplate=`cat conftest.err`
 
14459
$rm conftest*
 
14460
 
 
14461
ac_outfile=conftest.$ac_objext
 
14462
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
14463
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
14464
_lt_linker_boilerplate=`cat conftest.err`
 
14465
$rm conftest*
 
14466
 
 
14467
 
12776
14468
# Allow CC to be a program name with arguments.
12777
14469
lt_save_CC="$CC"
12778
14470
CC=${F77-"f77"}
12779
14471
compiler=$CC
12780
14472
compiler_F77=$CC
12781
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12782
 
 
12783
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12784
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12785
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
12786
 
echo "${ECHO_T}$can_build_shared" >&6
12787
 
 
12788
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12789
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
14473
for cc_temp in $compiler""; do
 
14474
  case $cc_temp in
 
14475
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
14476
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
14477
    \-*) ;;
 
14478
    *) break;;
 
14479
  esac
 
14480
done
 
14481
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
14482
 
 
14483
 
 
14484
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14485
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
14486
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14487
echo "${ECHO_T}$can_build_shared" >&6; }
 
14488
 
 
14489
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14490
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12790
14491
test "$can_build_shared" = "no" && enable_shared=no
12791
14492
 
12792
14493
# On AIX, shared libraries and static libraries use the same namespace, and
12793
14494
# are all built from PIC.
12794
 
case "$host_os" in
 
14495
case $host_os in
12795
14496
aix3*)
12796
14497
  test "$enable_shared" = yes && enable_static=no
12797
14498
  if test -n "$RANLIB"; then
12799
14500
    postinstall_cmds='$RANLIB $lib'
12800
14501
  fi
12801
14502
  ;;
12802
 
aix4*)
12803
 
  test "$enable_shared" = yes && enable_static=no
 
14503
aix4* | aix5*)
 
14504
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
14505
    test "$enable_shared" = yes && enable_static=no
 
14506
  fi
12804
14507
  ;;
12805
14508
esac
12806
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
12807
 
echo "${ECHO_T}$enable_shared" >&6
 
14509
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14510
echo "${ECHO_T}$enable_shared" >&6; }
12808
14511
 
12809
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12810
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
14512
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14513
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12811
14514
# Make sure either enable_shared or enable_static is yes.
12812
14515
test "$enable_shared" = yes || enable_static=yes
12813
 
echo "$as_me:$LINENO: result: $enable_static" >&5
12814
 
echo "${ECHO_T}$enable_static" >&6
12815
 
 
12816
 
test "$ld_shlibs_F77" = no && can_build_shared=no
 
14516
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
14517
echo "${ECHO_T}$enable_static" >&6; }
12817
14518
 
12818
14519
GCC_F77="$G77"
12819
14520
LD_F77="$LD"
12822
14523
lt_prog_compiler_pic_F77=
12823
14524
lt_prog_compiler_static_F77=
12824
14525
 
12825
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12826
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14526
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14527
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12827
14528
 
12828
14529
  if test "$GCC" = yes; then
12829
14530
    lt_prog_compiler_wl_F77='-Wl,'
12861
14562
      lt_prog_compiler_pic_F77='-fno-common'
12862
14563
      ;;
12863
14564
 
 
14565
    interix3*)
 
14566
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
14567
      # Instead, we relocate shared libraries at runtime.
 
14568
      ;;
 
14569
 
12864
14570
    msdosdjgpp*)
12865
14571
      # Just because we use GCC doesn't mean we suddenly get shared libraries
12866
14572
      # on systems that don't support them.
12877
14583
    hpux*)
12878
14584
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12879
14585
      # not for PA HP-UX.
12880
 
      case "$host_cpu" in
 
14586
      case $host_cpu in
12881
14587
      hppa*64*|ia64*)
12882
14588
        # +Z the default
12883
14589
        ;;
12903
14609
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12904
14610
      fi
12905
14611
      ;;
 
14612
      darwin*)
 
14613
        # PIC is the default on this platform
 
14614
        # Common symbols not allowed in MH_DYLIB files
 
14615
       case $cc_basename in
 
14616
         xlc*)
 
14617
         lt_prog_compiler_pic_F77='-qnocommon'
 
14618
         lt_prog_compiler_wl_F77='-Wl,'
 
14619
         ;;
 
14620
       esac
 
14621
       ;;
12906
14622
 
12907
14623
    mingw* | pw32* | os2*)
12908
14624
      # This hack is so that the source file can tell whether it is being
12914
14630
      lt_prog_compiler_wl_F77='-Wl,'
12915
14631
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12916
14632
      # not for PA HP-UX.
12917
 
      case "$host_cpu" in
 
14633
      case $host_cpu in
12918
14634
      hppa*64*|ia64*)
12919
14635
        # +Z the default
12920
14636
        ;;
12937
14653
      lt_prog_compiler_static_F77='-Bstatic'
12938
14654
      ;;
12939
14655
 
12940
 
    linux*)
12941
 
      case $CC in
 
14656
    linux* | k*bsd*-gnu)
 
14657
      case $cc_basename in
12942
14658
      icc* | ecc*)
12943
14659
        lt_prog_compiler_wl_F77='-Wl,'
12944
14660
        lt_prog_compiler_pic_F77='-KPIC'
12945
14661
        lt_prog_compiler_static_F77='-static'
12946
14662
        ;;
 
14663
      pgcc* | pgf77* | pgf90* | pgf95*)
 
14664
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
14665
        # which looks to be a dead project)
 
14666
        lt_prog_compiler_wl_F77='-Wl,'
 
14667
        lt_prog_compiler_pic_F77='-fpic'
 
14668
        lt_prog_compiler_static_F77='-Bstatic'
 
14669
        ;;
12947
14670
      ccc*)
12948
14671
        lt_prog_compiler_wl_F77='-Wl,'
12949
14672
        # All Alpha code is PIC.
12958
14681
      lt_prog_compiler_static_F77='-non_shared'
12959
14682
      ;;
12960
14683
 
12961
 
    sco3.2v5*)
12962
 
      lt_prog_compiler_pic_F77='-Kpic'
12963
 
      lt_prog_compiler_static_F77='-dn'
12964
 
      ;;
12965
 
 
12966
14684
    solaris*)
12967
 
      lt_prog_compiler_wl_F77='-Wl,'
12968
14685
      lt_prog_compiler_pic_F77='-KPIC'
12969
14686
      lt_prog_compiler_static_F77='-Bstatic'
 
14687
      case $cc_basename in
 
14688
      f77* | f90* | f95*)
 
14689
        lt_prog_compiler_wl_F77='-Qoption ld ';;
 
14690
      *)
 
14691
        lt_prog_compiler_wl_F77='-Wl,';;
 
14692
      esac
12970
14693
      ;;
12971
14694
 
12972
14695
    sunos4*)
12975
14698
      lt_prog_compiler_static_F77='-Bstatic'
12976
14699
      ;;
12977
14700
 
12978
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
14701
    sysv4 | sysv4.2uw2* | sysv4.3*)
12979
14702
      lt_prog_compiler_wl_F77='-Wl,'
12980
14703
      lt_prog_compiler_pic_F77='-KPIC'
12981
14704
      lt_prog_compiler_static_F77='-Bstatic'
12988
14711
      fi
12989
14712
      ;;
12990
14713
 
 
14714
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
14715
      lt_prog_compiler_wl_F77='-Wl,'
 
14716
      lt_prog_compiler_pic_F77='-KPIC'
 
14717
      lt_prog_compiler_static_F77='-Bstatic'
 
14718
      ;;
 
14719
 
 
14720
    unicos*)
 
14721
      lt_prog_compiler_wl_F77='-Wl,'
 
14722
      lt_prog_compiler_can_build_shared_F77=no
 
14723
      ;;
 
14724
 
12991
14725
    uts4*)
12992
14726
      lt_prog_compiler_pic_F77='-pic'
12993
14727
      lt_prog_compiler_static_F77='-Bstatic'
12999
14733
    esac
13000
14734
  fi
13001
14735
 
13002
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13003
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
14736
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14737
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13004
14738
 
13005
14739
#
13006
14740
# Check to make sure the PIC flag actually works.
13007
14741
#
13008
14742
if test -n "$lt_prog_compiler_pic_F77"; then
13009
14743
 
13010
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13011
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
14744
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14745
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13012
14746
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13013
14747
  echo $ECHO_N "(cached) $ECHO_C" >&6
13014
14748
else
13022
14756
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13023
14757
   # The option is referenced via a variable to avoid confusing sed.
13024
14758
   lt_compile=`echo "$ac_compile" | $SED \
13025
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
14759
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13026
14760
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13027
14761
   -e 's:$: $lt_compiler_flag:'`
13028
 
   (eval echo "\"\$as_me:13028: $lt_compile\"" >&5)
 
14762
   (eval echo "\"\$as_me:14762: $lt_compile\"" >&5)
13029
14763
   (eval "$lt_compile" 2>conftest.err)
13030
14764
   ac_status=$?
13031
14765
   cat conftest.err >&5
13032
 
   echo "$as_me:13032: \$? = $ac_status" >&5
 
14766
   echo "$as_me:14766: \$? = $ac_status" >&5
13033
14767
   if (exit $ac_status) && test -s "$ac_outfile"; then
13034
14768
     # The compiler can only warn and ignore the option if not recognized
13035
 
     # So say no if there are warnings
13036
 
     if test ! -s conftest.err; then
 
14769
     # So say no if there are warnings other than the usual output.
 
14770
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
14771
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14772
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13037
14773
       lt_prog_compiler_pic_works_F77=yes
13038
14774
     fi
13039
14775
   fi
13040
14776
   $rm conftest*
13041
14777
 
13042
14778
fi
13043
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13044
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
14779
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
14780
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13045
14781
 
13046
14782
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13047
14783
    case $lt_prog_compiler_pic_F77 in
13054
14790
fi
13055
14791
 
13056
14792
fi
13057
 
case "$host_os" in
 
14793
case $host_os in
13058
14794
  # For platforms which do not support PIC, -DPIC is meaningless:
13059
14795
  *djgpp*)
13060
14796
    lt_prog_compiler_pic_F77=
13064
14800
    ;;
13065
14801
esac
13066
14802
 
13067
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13068
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14803
#
 
14804
# Check to make sure the static flag actually works.
 
14805
#
 
14806
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
 
14807
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14808
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
14809
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
14810
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14811
else
 
14812
  lt_prog_compiler_static_works_F77=no
 
14813
   save_LDFLAGS="$LDFLAGS"
 
14814
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
14815
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14816
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
14817
     # The linker can only warn and ignore the option if not recognized
 
14818
     # So say no if there are warnings
 
14819
     if test -s conftest.err; then
 
14820
       # Append any errors to the config.log.
 
14821
       cat conftest.err 1>&5
 
14822
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
14823
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14824
       if diff conftest.exp conftest.er2 >/dev/null; then
 
14825
         lt_prog_compiler_static_works_F77=yes
 
14826
       fi
 
14827
     else
 
14828
       lt_prog_compiler_static_works_F77=yes
 
14829
     fi
 
14830
   fi
 
14831
   $rm conftest*
 
14832
   LDFLAGS="$save_LDFLAGS"
 
14833
 
 
14834
fi
 
14835
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
14836
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
14837
 
 
14838
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
14839
    :
 
14840
else
 
14841
    lt_prog_compiler_static_F77=
 
14842
fi
 
14843
 
 
14844
 
 
14845
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14846
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13069
14847
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13070
14848
  echo $ECHO_N "(cached) $ECHO_C" >&6
13071
14849
else
13082
14860
   # Note that $ac_compile itself does not contain backslashes and begins
13083
14861
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13084
14862
   lt_compile=`echo "$ac_compile" | $SED \
13085
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
14863
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13086
14864
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13087
14865
   -e 's:$: $lt_compiler_flag:'`
13088
 
   (eval echo "\"\$as_me:13088: $lt_compile\"" >&5)
 
14866
   (eval echo "\"\$as_me:14866: $lt_compile\"" >&5)
13089
14867
   (eval "$lt_compile" 2>out/conftest.err)
13090
14868
   ac_status=$?
13091
14869
   cat out/conftest.err >&5
13092
 
   echo "$as_me:13092: \$? = $ac_status" >&5
 
14870
   echo "$as_me:14870: \$? = $ac_status" >&5
13093
14871
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13094
14872
   then
13095
14873
     # The compiler can only warn and ignore the option if not recognized
13096
14874
     # So say no if there are warnings
13097
 
     if test ! -s out/conftest.err; then
 
14875
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14876
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14877
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13098
14878
       lt_cv_prog_compiler_c_o_F77=yes
13099
14879
     fi
13100
14880
   fi
13101
 
   chmod u+w .
 
14881
   chmod u+w . 2>&5
13102
14882
   $rm conftest*
13103
14883
   # SGI C++ compiler will create directory out/ii_files/ for
13104
14884
   # template instantiation
13109
14889
   $rm conftest*
13110
14890
 
13111
14891
fi
13112
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13113
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
14892
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14893
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13114
14894
 
13115
14895
 
13116
14896
hard_links="nottested"
13117
14897
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13118
14898
  # do not overwrite the value of need_locks provided by the user
13119
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13120
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14899
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14900
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13121
14901
  hard_links=yes
13122
14902
  $rm conftest*
13123
14903
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13124
14904
  touch conftest.a
13125
14905
  ln conftest.a conftest.b 2>&5 || hard_links=no
13126
14906
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13127
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13128
 
echo "${ECHO_T}$hard_links" >&6
 
14907
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14908
echo "${ECHO_T}$hard_links" >&6; }
13129
14909
  if test "$hard_links" = no; then
13130
14910
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13131
14911
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13135
14915
  need_locks=no
13136
14916
fi
13137
14917
 
13138
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13139
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14918
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14919
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13140
14920
 
13141
14921
  runpath_var=
13142
14922
  allow_undefined_flag_F77=
13174
14954
  # rely on this symbol name, it's probably fine to never include it in
13175
14955
  # preloaded symbol tables.
13176
14956
  extract_expsyms_cmds=
 
14957
  # Just being paranoid about ensuring that cc_basename is set.
 
14958
  for cc_temp in $compiler""; do
 
14959
  case $cc_temp in
 
14960
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
14961
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
14962
    \-*) ;;
 
14963
    *) break;;
 
14964
  esac
 
14965
done
 
14966
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13177
14967
 
13178
14968
  case $host_os in
13179
14969
  cygwin* | mingw* | pw32*)
13184
14974
      with_gnu_ld=no
13185
14975
    fi
13186
14976
    ;;
 
14977
  interix*)
 
14978
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
14979
    with_gnu_ld=yes
 
14980
    ;;
13187
14981
  openbsd*)
13188
14982
    with_gnu_ld=no
13189
14983
    ;;
13194
14988
    # If archive_cmds runs LD, not CC, wlarc should be empty
13195
14989
    wlarc='${wl}'
13196
14990
 
 
14991
    # Set some defaults for GNU ld with shared library support. These
 
14992
    # are reset later if shared libraries are not supported. Putting them
 
14993
    # here allows them to be overridden if necessary.
 
14994
    runpath_var=LD_RUN_PATH
 
14995
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
 
14996
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
 
14997
    # ancient GNU ld didn't support --whole-archive et. al.
 
14998
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
14999
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
15000
      else
 
15001
        whole_archive_flag_spec_F77=
 
15002
    fi
 
15003
    supports_anon_versioning=no
 
15004
    case `$LD -v 2>/dev/null` in
 
15005
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
15006
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
15007
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
15008
      *\ 2.11.*) ;; # other 2.11 versions
 
15009
      *) supports_anon_versioning=yes ;;
 
15010
    esac
 
15011
 
13197
15012
    # See if GNU ld supports shared libraries.
13198
15013
    case $host_os in
13199
15014
    aix3* | aix4* | aix5*)
13244
15059
      allow_undefined_flag_F77=unsupported
13245
15060
      always_export_symbols_F77=no
13246
15061
      enable_shared_with_static_runtimes_F77=yes
13247
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
15062
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13248
15063
 
13249
15064
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13250
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
15065
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13251
15066
        # If the export-symbols file already is a .def file (1st line
13252
15067
        # is EXPORTS), use it as is; otherwise, prepend...
13253
15068
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13256
15071
          echo EXPORTS > $output_objdir/$soname.def;
13257
15072
          cat $export_symbols >> $output_objdir/$soname.def;
13258
15073
        fi~
13259
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
13260
 
      else
13261
 
        ld_shlibs=no
13262
 
      fi
13263
 
      ;;
13264
 
 
13265
 
    netbsd* | knetbsd*-gnu)
 
15074
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
15075
      else
 
15076
        ld_shlibs_F77=no
 
15077
      fi
 
15078
      ;;
 
15079
 
 
15080
    interix3*)
 
15081
      hardcode_direct_F77=no
 
15082
      hardcode_shlibpath_var_F77=no
 
15083
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15084
      export_dynamic_flag_spec_F77='${wl}-E'
 
15085
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
15086
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
15087
      # default) and relocated if they conflict, which is a slow very memory
 
15088
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
15089
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
15090
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
15091
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
15092
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
15093
      ;;
 
15094
 
 
15095
    linux* | k*bsd*-gnu)
 
15096
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
15097
        tmp_addflag=
 
15098
        case $cc_basename,$host_cpu in
 
15099
        pgcc*)                          # Portland Group C compiler
 
15100
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
15101
          tmp_addflag=' $pic_flag'
 
15102
          ;;
 
15103
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
15104
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
15105
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
15106
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
15107
          tmp_addflag=' -i_dynamic' ;;
 
15108
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
15109
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
15110
        ifc* | ifort*)                  # Intel Fortran compiler
 
15111
          tmp_addflag=' -nofor_main' ;;
 
15112
        esac
 
15113
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15114
 
 
15115
        if test $supports_anon_versioning = yes; then
 
15116
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
 
15117
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
15118
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
15119
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
15120
        fi
 
15121
        link_all_deplibs_F77=no
 
15122
      else
 
15123
        ld_shlibs_F77=no
 
15124
      fi
 
15125
      ;;
 
15126
 
 
15127
    netbsd* | netbsdelf*-gnu)
13266
15128
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13267
15129
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13268
15130
        wlarc=
13272
15134
      fi
13273
15135
      ;;
13274
15136
 
13275
 
    solaris* | sysv5*)
 
15137
    solaris*)
13276
15138
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13277
15139
        ld_shlibs_F77=no
13278
15140
        cat <<EOF 1>&2
13293
15155
      fi
13294
15156
      ;;
13295
15157
 
 
15158
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
15159
      case `$LD -v 2>&1` in
 
15160
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
15161
        ld_shlibs_F77=no
 
15162
        cat <<_LT_EOF 1>&2
 
15163
 
 
15164
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
15165
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
15166
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
15167
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
15168
*** your PATH or compiler configuration so that the native linker is
 
15169
*** used, and then restart.
 
15170
 
 
15171
_LT_EOF
 
15172
        ;;
 
15173
        *)
 
15174
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
15175
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
15176
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
15177
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
15178
          else
 
15179
            ld_shlibs_F77=no
 
15180
          fi
 
15181
        ;;
 
15182
      esac
 
15183
      ;;
 
15184
 
13296
15185
    sunos4*)
13297
15186
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13298
15187
      wlarc=
13300
15189
      hardcode_shlibpath_var_F77=no
13301
15190
      ;;
13302
15191
 
13303
 
  linux*)
13304
 
    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
13305
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13306
 
        archive_cmds_F77="$tmp_archive_cmds"
13307
 
      supports_anon_versioning=no
13308
 
      case `$LD -v 2>/dev/null` in
13309
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13310
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13311
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13312
 
        *\ 2.11.*) ;; # other 2.11 versions
13313
 
        *) supports_anon_versioning=yes ;;
13314
 
      esac
13315
 
      if test $supports_anon_versioning = yes; then
13316
 
        archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13317
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13318
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
13319
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13320
 
      else
13321
 
        archive_expsym_cmds_F77="$tmp_archive_cmds"
13322
 
      fi
13323
 
    else
13324
 
      ld_shlibs_F77=no
13325
 
    fi
13326
 
    ;;
13327
 
 
13328
15192
    *)
13329
15193
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13330
15194
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13335
15199
      ;;
13336
15200
    esac
13337
15201
 
13338
 
    if test "$ld_shlibs_F77" = yes; then
13339
 
      runpath_var=LD_RUN_PATH
13340
 
      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13341
 
      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13342
 
      # ancient GNU ld didn't support --whole-archive et. al.
13343
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13344
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13345
 
      else
13346
 
        whole_archive_flag_spec_F77=
13347
 
      fi
 
15202
    if test "$ld_shlibs_F77" = no; then
 
15203
      runpath_var=
 
15204
      hardcode_libdir_flag_spec_F77=
 
15205
      export_dynamic_flag_spec_F77=
 
15206
      whole_archive_flag_spec_F77=
13348
15207
    fi
13349
15208
  else
13350
15209
    # PORTME fill in a description of your system's linker (not GNU ld)
13356
15215
      # Note: this linker hardcodes the directories in LIBPATH if there
13357
15216
      # are no directories specified by -L.
13358
15217
      hardcode_minus_L_F77=yes
13359
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
15218
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13360
15219
        # Neither direct hardcoding nor static linking is supported with a
13361
15220
        # broken collect2.
13362
15221
        hardcode_direct_F77=unsupported
13390
15249
            break
13391
15250
          fi
13392
15251
          done
 
15252
          ;;
13393
15253
        esac
13394
15254
 
13395
15255
        exp_sym_flag='-bexport'
13408
15268
      link_all_deplibs_F77=yes
13409
15269
 
13410
15270
      if test "$GCC" = yes; then
13411
 
        case $host_os in aix4.012|aix4.012.*)
 
15271
        case $host_os in aix4.[012]|aix4.[012].*)
13412
15272
        # We only want to do this on AIX 4.2 and lower, the check
13413
15273
        # below for broken collect2 doesn't work under 4.3+
13414
15274
          collect2name=`${CC} -print-prog-name=collect2`
13427
15287
          hardcode_libdir_flag_spec_F77='-L$libdir'
13428
15288
          hardcode_libdir_separator_F77=
13429
15289
          fi
 
15290
          ;;
13430
15291
        esac
13431
15292
        shared_flag='-shared'
 
15293
        if test "$aix_use_runtimelinking" = yes; then
 
15294
          shared_flag="$shared_flag "'${wl}-G'
 
15295
        fi
13432
15296
      else
13433
15297
        # not using gcc
13434
15298
        if test "$host_cpu" = ia64; then
13436
15300
        # chokes on -Wl,-G. The following line is correct:
13437
15301
          shared_flag='-G'
13438
15302
        else
13439
 
        if test "$aix_use_runtimelinking" = yes; then
 
15303
          if test "$aix_use_runtimelinking" = yes; then
13440
15304
            shared_flag='${wl}-G'
13441
15305
          else
13442
15306
            shared_flag='${wl}-bM:SRE'
13443
 
        fi
 
15307
          fi
13444
15308
        fi
13445
15309
      fi
13446
15310
 
13458
15322
      end
13459
15323
_ACEOF
13460
15324
rm -f conftest.$ac_objext conftest$ac_exeext
13461
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13462
 
  (eval $ac_link) 2>&5
 
15325
if { (ac_try="$ac_link"
 
15326
case "(($ac_try" in
 
15327
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15328
  *) ac_try_echo=$ac_try;;
 
15329
esac
 
15330
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15331
  (eval "$ac_link") 2>conftest.er1
13463
15332
  ac_status=$?
 
15333
  grep -v '^ *+' conftest.er1 >conftest.err
 
15334
  rm -f conftest.er1
 
15335
  cat conftest.err >&5
13464
15336
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465
15337
  (exit $ac_status); } &&
13466
 
         { ac_try='test -s conftest$ac_exeext'
13467
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13468
 
  (eval $ac_try) 2>&5
 
15338
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
15339
  { (case "(($ac_try" in
 
15340
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15341
  *) ac_try_echo=$ac_try;;
 
15342
esac
 
15343
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15344
  (eval "$ac_try") 2>&5
 
15345
  ac_status=$?
 
15346
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15347
  (exit $ac_status); }; } &&
 
15348
         { ac_try='test -s conftest$ac_exeext'
 
15349
  { (case "(($ac_try" in
 
15350
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15351
  *) ac_try_echo=$ac_try;;
 
15352
esac
 
15353
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15354
  (eval "$ac_try") 2>&5
13469
15355
  ac_status=$?
13470
15356
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13471
15357
  (exit $ac_status); }; }; then
13479
15365
  echo "$as_me: failed program was:" >&5
13480
15366
sed 's/^/| /' conftest.$ac_ext >&5
13481
15367
 
 
15368
 
13482
15369
fi
13483
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
15370
 
 
15371
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
15372
      conftest$ac_exeext conftest.$ac_ext
13484
15373
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13485
15374
 
13486
15375
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13487
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
15376
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13488
15377
       else
13489
15378
        if test "$host_cpu" = ia64; then
13490
15379
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13491
15380
          allow_undefined_flag_F77="-z nodefs"
13492
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
15381
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13493
15382
        else
13494
15383
         # Determine the default libpath from the value encoded in an empty executable.
13495
15384
         cat >conftest.$ac_ext <<_ACEOF
13498
15387
      end
13499
15388
_ACEOF
13500
15389
rm -f conftest.$ac_objext conftest$ac_exeext
13501
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13502
 
  (eval $ac_link) 2>&5
 
15390
if { (ac_try="$ac_link"
 
15391
case "(($ac_try" in
 
15392
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15393
  *) ac_try_echo=$ac_try;;
 
15394
esac
 
15395
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15396
  (eval "$ac_link") 2>conftest.er1
13503
15397
  ac_status=$?
 
15398
  grep -v '^ *+' conftest.er1 >conftest.err
 
15399
  rm -f conftest.er1
 
15400
  cat conftest.err >&5
13504
15401
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505
15402
  (exit $ac_status); } &&
13506
 
         { ac_try='test -s conftest$ac_exeext'
13507
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13508
 
  (eval $ac_try) 2>&5
 
15403
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
15404
  { (case "(($ac_try" in
 
15405
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15406
  *) ac_try_echo=$ac_try;;
 
15407
esac
 
15408
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15409
  (eval "$ac_try") 2>&5
 
15410
  ac_status=$?
 
15411
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15412
  (exit $ac_status); }; } &&
 
15413
         { ac_try='test -s conftest$ac_exeext'
 
15414
  { (case "(($ac_try" in
 
15415
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15416
  *) ac_try_echo=$ac_try;;
 
15417
esac
 
15418
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15419
  (eval "$ac_try") 2>&5
13509
15420
  ac_status=$?
13510
15421
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511
15422
  (exit $ac_status); }; }; then
13519
15430
  echo "$as_me: failed program was:" >&5
13520
15431
sed 's/^/| /' conftest.$ac_ext >&5
13521
15432
 
 
15433
 
13522
15434
fi
13523
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
15435
 
 
15436
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
15437
      conftest$ac_exeext conftest.$ac_ext
13524
15438
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13525
15439
 
13526
15440
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13528
15442
          # -berok will link without error, but may produce a broken library.
13529
15443
          no_undefined_flag_F77=' ${wl}-bernotok'
13530
15444
          allow_undefined_flag_F77=' ${wl}-berok'
13531
 
          # -bexpall does not export symbols beginning with underscore (_)
13532
 
          always_export_symbols_F77=yes
13533
15445
          # Exported symbols can be pulled into shared objects from archives
13534
 
          whole_archive_flag_spec_F77=' '
 
15446
          whole_archive_flag_spec_F77='$convenience'
13535
15447
          archive_cmds_need_lc_F77=yes
13536
 
          # This is similar to how AIX traditionally builds it's shared libraries.
13537
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
15448
          # This is similar to how AIX traditionally builds its shared libraries.
 
15449
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13538
15450
        fi
13539
15451
      fi
13540
15452
      ;;
13547
15459
      ld_shlibs_F77=no
13548
15460
      ;;
13549
15461
 
13550
 
    bsdi4*)
 
15462
    bsdi[45]*)
13551
15463
      export_dynamic_flag_spec_F77=-rdynamic
13552
15464
      ;;
13553
15465
 
13561
15473
      # Tell ltmain to make .lib files, not .a files.
13562
15474
      libext=lib
13563
15475
      # Tell ltmain to make .dll files, not .so files.
13564
 
      shrext=".dll"
 
15476
      shrext_cmds=".dll"
13565
15477
      # FIXME: Setting linknames here is a bad hack.
13566
15478
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13567
15479
      # The linker will automatically build a .lib file if we build a DLL.
13568
15480
      old_archive_From_new_cmds_F77='true'
13569
15481
      # FIXME: Should let the user specify the lib program.
13570
15482
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13571
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
15483
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
13572
15484
      enable_shared_with_static_runtimes_F77=yes
13573
15485
      ;;
13574
15486
 
13575
15487
    darwin* | rhapsody*)
13576
 
    if test "$GXX" = yes ; then
 
15488
      case $host_os in
 
15489
        rhapsody* | darwin1.[012])
 
15490
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
 
15491
         ;;
 
15492
       *) # Darwin 1.3 on
 
15493
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
15494
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
15495
         else
 
15496
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
15497
             10.[012])
 
15498
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
15499
               ;;
 
15500
             10.*)
 
15501
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
 
15502
               ;;
 
15503
           esac
 
15504
         fi
 
15505
         ;;
 
15506
      esac
13577
15507
      archive_cmds_need_lc_F77=no
13578
 
      case "$host_os" in
13579
 
      rhapsody* | darwin1.[012])
13580
 
        allow_undefined_flag_F77='-undefined suppress'
13581
 
        ;;
13582
 
      *) # Darwin 1.3 on
13583
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13584
 
        allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13585
 
      else
13586
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
13587
 
          10.[012])
13588
 
            allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13589
 
            ;;
13590
 
          10.*)
13591
 
            allow_undefined_flag_F77='-undefined dynamic_lookup'
13592
 
            ;;
13593
 
        esac
13594
 
      fi
13595
 
        ;;
13596
 
      esac
13597
 
        lt_int_apple_cc_single_mod=no
13598
 
        output_verbose_link_cmd='echo'
13599
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13600
 
          lt_int_apple_cc_single_mod=yes
13601
 
        fi
13602
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13603
 
          archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13604
 
        else
13605
 
        archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13606
 
      fi
13607
 
      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13608
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13609
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13610
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13611
 
        else
13612
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13613
 
        fi
13614
 
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13615
15508
      hardcode_direct_F77=no
13616
15509
      hardcode_automatic_F77=yes
13617
15510
      hardcode_shlibpath_var_F77=unsupported
13618
 
      whole_archive_flag_spec_F77='-all_load $convenience'
 
15511
      whole_archive_flag_spec_F77=''
13619
15512
      link_all_deplibs_F77=yes
 
15513
    if test "$GCC" = yes ; then
 
15514
        output_verbose_link_cmd='echo'
 
15515
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
15516
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
15517
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
15518
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
15519
      module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13620
15520
    else
13621
 
      ld_shlibs_F77=no
 
15521
      case $cc_basename in
 
15522
        xlc*)
 
15523
         output_verbose_link_cmd='echo'
 
15524
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
15525
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
15526
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
15527
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
15528
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
15529
          ;;
 
15530
       *)
 
15531
         ld_shlibs_F77=no
 
15532
          ;;
 
15533
      esac
13622
15534
    fi
13623
15535
      ;;
13624
15536
 
13652
15564
      ;;
13653
15565
 
13654
15566
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13655
 
    freebsd* | kfreebsd*-gnu)
 
15567
    freebsd* | dragonfly*)
13656
15568
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13657
15569
      hardcode_libdir_flag_spec_F77='-R$libdir'
13658
15570
      hardcode_direct_F77=yes
13675
15587
      export_dynamic_flag_spec_F77='${wl}-E'
13676
15588
      ;;
13677
15589
 
13678
 
    hpux10* | hpux11*)
13679
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13680
 
        case "$host_cpu" in
13681
 
        hppa*64*|ia64*)
 
15590
    hpux10*)
 
15591
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
15592
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
15593
      else
 
15594
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
15595
      fi
 
15596
      if test "$with_gnu_ld" = no; then
 
15597
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15598
        hardcode_libdir_separator_F77=:
 
15599
 
 
15600
        hardcode_direct_F77=yes
 
15601
        export_dynamic_flag_spec_F77='${wl}-E'
 
15602
 
 
15603
        # hardcode_minus_L: Not really in the search PATH,
 
15604
        # but as the default location of the library.
 
15605
        hardcode_minus_L_F77=yes
 
15606
      fi
 
15607
      ;;
 
15608
 
 
15609
    hpux11*)
 
15610
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
15611
        case $host_cpu in
 
15612
        hppa*64*)
13682
15613
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13683
15614
          ;;
 
15615
        ia64*)
 
15616
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
15617
          ;;
13684
15618
        *)
13685
15619
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13686
15620
          ;;
13687
15621
        esac
13688
15622
      else
13689
 
        case "$host_cpu" in
13690
 
        hppa*64*|ia64*)
13691
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
15623
        case $host_cpu in
 
15624
        hppa*64*)
 
15625
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15626
          ;;
 
15627
        ia64*)
 
15628
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13692
15629
          ;;
13693
15630
        *)
13694
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
15631
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13695
15632
          ;;
13696
15633
        esac
13697
15634
      fi
13698
15635
      if test "$with_gnu_ld" = no; then
13699
 
        case "$host_cpu" in
13700
 
        hppa*64*)
13701
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15636
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15637
        hardcode_libdir_separator_F77=:
 
15638
 
 
15639
        case $host_cpu in
 
15640
        hppa*64*|ia64*)
13702
15641
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13703
 
          hardcode_libdir_separator_F77=:
13704
 
          hardcode_direct_F77=no
13705
 
          hardcode_shlibpath_var_F77=no
13706
 
          ;;
13707
 
        ia64*)
13708
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
13709
 
          hardcode_direct_F77=no
13710
 
          hardcode_shlibpath_var_F77=no
13711
 
 
13712
 
          # hardcode_minus_L: Not really in the search PATH,
13713
 
          # but as the default location of the library.
13714
 
          hardcode_minus_L_F77=yes
 
15642
          hardcode_direct_F77=no
 
15643
          hardcode_shlibpath_var_F77=no
13715
15644
          ;;
13716
15645
        *)
13717
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13718
 
          hardcode_libdir_separator_F77=:
13719
15646
          hardcode_direct_F77=yes
13720
15647
          export_dynamic_flag_spec_F77='${wl}-E'
13721
15648
 
13739
15666
      link_all_deplibs_F77=yes
13740
15667
      ;;
13741
15668
 
13742
 
    netbsd* | knetbsd*-gnu)
 
15669
    netbsd* | netbsdelf*-gnu)
13743
15670
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13744
15671
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
13745
15672
      else
13763
15690
      hardcode_shlibpath_var_F77=no
13764
15691
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13765
15692
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15693
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13766
15694
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13767
15695
        export_dynamic_flag_spec_F77='${wl}-E'
13768
15696
      else
13808
15736
        allow_undefined_flag_F77=' -expect_unresolved \*'
13809
15737
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13810
15738
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
13811
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
15739
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
13812
15740
 
13813
15741
        # Both c and cxx compiler support -rpath directly
13814
15742
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
13816
15744
      hardcode_libdir_separator_F77=:
13817
15745
      ;;
13818
15746
 
13819
 
    sco3.2v5*)
13820
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13821
 
      hardcode_shlibpath_var_F77=no
13822
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
13823
 
      runpath_var=LD_RUN_PATH
13824
 
      hardcode_runpath_var=yes
13825
 
      ;;
13826
 
 
13827
15747
    solaris*)
13828
15748
      no_undefined_flag_F77=' -z text'
13829
15749
      if test "$GCC" = yes; then
 
15750
        wlarc='${wl}'
13830
15751
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13831
15752
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13832
15753
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13833
15754
      else
 
15755
        wlarc=''
13834
15756
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13835
15757
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13836
15758
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13839
15761
      hardcode_shlibpath_var_F77=no
13840
15762
      case $host_os in
13841
15763
      solaris2.[0-5] | solaris2.[0-5].*) ;;
13842
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13843
 
        whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 
15764
      *)
 
15765
        # The compiler driver will combine linker options so we
 
15766
        # cannot just pass the convience library names through
 
15767
        # without $wl, iff we do not link with $LD.
 
15768
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
15769
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
15770
        case $wlarc in
 
15771
        '')
 
15772
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 
15773
        *)
 
15774
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
 
15775
        esac ;;
13844
15776
      esac
13845
15777
      link_all_deplibs_F77=yes
13846
15778
      ;;
13897
15829
      fi
13898
15830
      ;;
13899
15831
 
13900
 
    sysv4.2uw2*)
13901
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13902
 
      hardcode_direct_F77=yes
13903
 
      hardcode_minus_L_F77=no
13904
 
      hardcode_shlibpath_var_F77=no
13905
 
      hardcode_runpath_var=yes
13906
 
      runpath_var=LD_RUN_PATH
13907
 
      ;;
13908
 
 
13909
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
13910
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
13911
 
      if test "$GCC" = yes; then
13912
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13913
 
      else
13914
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13915
 
      fi
13916
 
      runpath_var='LD_RUN_PATH'
13917
 
      hardcode_shlibpath_var_F77=no
13918
 
      ;;
13919
 
 
13920
 
    sysv5*)
13921
 
      no_undefined_flag_F77=' -z text'
13922
 
      # $CC -shared without GNU ld will not create a library from C++
13923
 
      # object files and a static libstdc++, better avoid it by now
13924
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13925
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13926
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13927
 
      hardcode_libdir_flag_spec_F77=
13928
 
      hardcode_shlibpath_var_F77=no
13929
 
      runpath_var='LD_RUN_PATH'
 
15832
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
15833
      no_undefined_flag_F77='${wl}-z,text'
 
15834
      archive_cmds_need_lc_F77=no
 
15835
      hardcode_shlibpath_var_F77=no
 
15836
      runpath_var='LD_RUN_PATH'
 
15837
 
 
15838
      if test "$GCC" = yes; then
 
15839
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15840
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15841
      else
 
15842
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15843
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15844
      fi
 
15845
      ;;
 
15846
 
 
15847
    sysv5* | sco3.2v5* | sco5v6*)
 
15848
      # Note: We can NOT use -z defs as we might desire, because we do not
 
15849
      # link with -lc, and that would cause any symbols used from libc to
 
15850
      # always be unresolved, which means just about no library would
 
15851
      # ever link correctly.  If we're not using GNU ld we use -z text
 
15852
      # though, which does catch some bad symbols but isn't as heavy-handed
 
15853
      # as -z defs.
 
15854
      no_undefined_flag_F77='${wl}-z,text'
 
15855
      allow_undefined_flag_F77='${wl}-z,nodefs'
 
15856
      archive_cmds_need_lc_F77=no
 
15857
      hardcode_shlibpath_var_F77=no
 
15858
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
15859
      hardcode_libdir_separator_F77=':'
 
15860
      link_all_deplibs_F77=yes
 
15861
      export_dynamic_flag_spec_F77='${wl}-Bexport'
 
15862
      runpath_var='LD_RUN_PATH'
 
15863
 
 
15864
      if test "$GCC" = yes; then
 
15865
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15866
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15867
      else
 
15868
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15869
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15870
      fi
13930
15871
      ;;
13931
15872
 
13932
15873
    uts4*)
13941
15882
    esac
13942
15883
  fi
13943
15884
 
13944
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13945
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
15885
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15886
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
13946
15887
test "$ld_shlibs_F77" = no && can_build_shared=no
13947
15888
 
13948
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13949
 
if test "$GCC" = yes; then
13950
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13951
 
fi
13952
 
 
13953
15889
#
13954
15890
# Do we need to explicitly link libc?
13955
15891
#
13967
15903
      # Test whether the compiler implicitly links with -lc since on some
13968
15904
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13969
15905
      # to ld, don't add -lc before -lgcc.
13970
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13971
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15906
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15907
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13972
15908
      $rm conftest*
13973
15909
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13974
15910
 
13982
15918
        libobjs=conftest.$ac_objext
13983
15919
        deplibs=
13984
15920
        wl=$lt_prog_compiler_wl_F77
 
15921
        pic_flag=$lt_prog_compiler_pic_F77
13985
15922
        compiler_flags=-v
13986
15923
        linker_flags=-v
13987
15924
        verstring=
14004
15941
        cat conftest.err 1>&5
14005
15942
      fi
14006
15943
      $rm conftest*
14007
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14008
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
15944
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15945
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14009
15946
      ;;
14010
15947
    esac
14011
15948
  fi
14012
15949
  ;;
14013
15950
esac
14014
15951
 
14015
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14016
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15952
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15953
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14017
15954
library_names_spec=
14018
15955
libname_spec='lib$name'
14019
15956
soname_spec=
14020
 
shrext=".so"
 
15957
shrext_cmds=".so"
14021
15958
postinstall_cmds=
14022
15959
postuninstall_cmds=
14023
15960
finish_cmds=
14114
16051
  shlibpath_var=LIBRARY_PATH
14115
16052
  ;;
14116
16053
 
14117
 
bsdi4*)
 
16054
bsdi[45]*)
14118
16055
  version_type=linux
14119
16056
  need_version=no
14120
16057
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14130
16067
 
14131
16068
cygwin* | mingw* | pw32*)
14132
16069
  version_type=windows
14133
 
  shrext=".dll"
 
16070
  shrext_cmds=".dll"
14134
16071
  need_version=no
14135
16072
  need_lib_prefix=no
14136
16073
 
14142
16079
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14143
16080
      dldir=$destdir/`dirname \$dlpath`~
14144
16081
      test -d \$dldir || mkdir -p \$dldir~
14145
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
16082
      $install_prog $dir/$dlname \$dldir/$dlname~
 
16083
      chmod a+x \$dldir/$dlname'
14146
16084
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14147
16085
      dlpath=$dir/\$dldll~
14148
16086
       $rm \$dlpath'
14172
16110
      ;;
14173
16111
    pw32*)
14174
16112
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14175
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
16113
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14176
16114
      ;;
14177
16115
    esac
14178
16116
    ;;
14195
16133
  soname_spec='${libname}${release}${major}$shared_ext'
14196
16134
  shlibpath_overrides_runpath=yes
14197
16135
  shlibpath_var=DYLD_LIBRARY_PATH
14198
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
 
16136
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14199
16137
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14200
16138
  if test "$GCC" = yes; then
14201
16139
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14218
16156
  dynamic_linker=no
14219
16157
  ;;
14220
16158
 
14221
 
kfreebsd*-gnu)
14222
 
  version_type=linux
14223
 
  need_lib_prefix=no
14224
 
  need_version=no
14225
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14226
 
  soname_spec='${libname}${release}${shared_ext}$major'
14227
 
  shlibpath_var=LD_LIBRARY_PATH
14228
 
  shlibpath_overrides_runpath=no
14229
 
  hardcode_into_libs=yes
14230
 
  dynamic_linker='GNU ld.so'
14231
 
  ;;
14232
 
 
14233
 
freebsd*)
14234
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
16159
freebsd* | dragonfly*)
 
16160
  # DragonFly does not have aout.  When/if they implement a new
 
16161
  # versioning mechanism, adjust this.
 
16162
  if test -x /usr/bin/objformat; then
 
16163
    objformat=`/usr/bin/objformat`
 
16164
  else
 
16165
    case $host_os in
 
16166
    freebsd[123]*) objformat=aout ;;
 
16167
    *) objformat=elf ;;
 
16168
    esac
 
16169
  fi
14235
16170
  version_type=freebsd-$objformat
14236
16171
  case $version_type in
14237
16172
    freebsd-elf*)
14249
16184
  freebsd2*)
14250
16185
    shlibpath_overrides_runpath=yes
14251
16186
    ;;
14252
 
  freebsd3.01* | freebsdelf3.01*)
 
16187
  freebsd3.[01]* | freebsdelf3.[01]*)
14253
16188
    shlibpath_overrides_runpath=yes
14254
16189
    hardcode_into_libs=yes
14255
16190
    ;;
14256
 
  *) # from 3.2 on
 
16191
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
16192
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14257
16193
    shlibpath_overrides_runpath=no
14258
16194
    hardcode_into_libs=yes
14259
16195
    ;;
 
16196
  freebsd*) # from 4.6 on
 
16197
    shlibpath_overrides_runpath=yes
 
16198
    hardcode_into_libs=yes
 
16199
    ;;
14260
16200
  esac
14261
16201
  ;;
14262
16202
 
14276
16216
  version_type=sunos
14277
16217
  need_lib_prefix=no
14278
16218
  need_version=no
14279
 
  case "$host_cpu" in
 
16219
  case $host_cpu in
14280
16220
  ia64*)
14281
 
    shrext='.so'
 
16221
    shrext_cmds='.so'
14282
16222
    hardcode_into_libs=yes
14283
16223
    dynamic_linker="$host_os dld.so"
14284
16224
    shlibpath_var=LD_LIBRARY_PATH
14293
16233
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14294
16234
    ;;
14295
16235
   hppa*64*)
14296
 
     shrext='.sl'
 
16236
     shrext_cmds='.sl'
14297
16237
     hardcode_into_libs=yes
14298
16238
     dynamic_linker="$host_os dld.sl"
14299
16239
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14304
16244
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14305
16245
     ;;
14306
16246
   *)
14307
 
    shrext='.sl'
 
16247
    shrext_cmds='.sl'
14308
16248
    dynamic_linker="$host_os dld.sl"
14309
16249
    shlibpath_var=SHLIB_PATH
14310
16250
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14316
16256
  postinstall_cmds='chmod 555 $lib'
14317
16257
  ;;
14318
16258
 
 
16259
interix3*)
 
16260
  version_type=linux
 
16261
  need_lib_prefix=no
 
16262
  need_version=no
 
16263
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
16264
  soname_spec='${libname}${release}${shared_ext}$major'
 
16265
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
16266
  shlibpath_var=LD_LIBRARY_PATH
 
16267
  shlibpath_overrides_runpath=no
 
16268
  hardcode_into_libs=yes
 
16269
  ;;
 
16270
 
14319
16271
irix5* | irix6* | nonstopux*)
14320
16272
  case $host_os in
14321
16273
    nonstopux*) version_type=nonstopux ;;
14359
16311
  ;;
14360
16312
 
14361
16313
# This must be Linux ELF.
14362
 
linux*)
 
16314
linux* | k*bsd*-gnu)
14363
16315
  version_type=linux
14364
16316
  need_lib_prefix=no
14365
16317
  need_version=no
14375
16327
 
14376
16328
  # Append ld.so.conf contents to the search path
14377
16329
  if test -f /etc/ld.so.conf; then
14378
 
    ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
14379
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
 
16330
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
16331
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14380
16332
  fi
14381
16333
 
14382
16334
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14388
16340
  dynamic_linker='GNU/Linux ld.so'
14389
16341
  ;;
14390
16342
 
14391
 
knetbsd*-gnu)
 
16343
netbsdelf*-gnu)
14392
16344
  version_type=linux
14393
16345
  need_lib_prefix=no
14394
16346
  need_version=no
14397
16349
  shlibpath_var=LD_LIBRARY_PATH
14398
16350
  shlibpath_overrides_runpath=no
14399
16351
  hardcode_into_libs=yes
14400
 
  dynamic_linker='GNU ld.so'
 
16352
  dynamic_linker='NetBSD ld.elf_so'
14401
16353
  ;;
14402
16354
 
14403
16355
netbsd*)
14437
16389
 
14438
16390
openbsd*)
14439
16391
  version_type=sunos
 
16392
  sys_lib_dlsearch_path_spec="/usr/lib"
14440
16393
  need_lib_prefix=no
14441
 
  need_version=yes
 
16394
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
16395
  case $host_os in
 
16396
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
16397
    *)                         need_version=no  ;;
 
16398
  esac
14442
16399
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14443
16400
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14444
16401
  shlibpath_var=LD_LIBRARY_PATH
14458
16415
 
14459
16416
os2*)
14460
16417
  libname_spec='$name'
14461
 
  shrext=".dll"
 
16418
  shrext_cmds=".dll"
14462
16419
  need_lib_prefix=no
14463
16420
  library_names_spec='$libname${shared_ext} $libname.a'
14464
16421
  dynamic_linker='OS/2 ld.exe'
14476
16433
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14477
16434
  ;;
14478
16435
 
14479
 
sco3.2v5*)
14480
 
  version_type=osf
14481
 
  soname_spec='${libname}${release}${shared_ext}$major'
14482
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14483
 
  shlibpath_var=LD_LIBRARY_PATH
14484
 
  ;;
14485
 
 
14486
16436
solaris*)
14487
16437
  version_type=linux
14488
16438
  need_lib_prefix=no
14508
16458
  need_version=yes
14509
16459
  ;;
14510
16460
 
14511
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
16461
sysv4 | sysv4.3*)
14512
16462
  version_type=linux
14513
16463
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14514
16464
  soname_spec='${libname}${release}${shared_ext}$major'
14541
16491
  fi
14542
16492
  ;;
14543
16493
 
 
16494
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
16495
  version_type=freebsd-elf
 
16496
  need_lib_prefix=no
 
16497
  need_version=no
 
16498
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
16499
  soname_spec='${libname}${release}${shared_ext}$major'
 
16500
  shlibpath_var=LD_LIBRARY_PATH
 
16501
  hardcode_into_libs=yes
 
16502
  if test "$with_gnu_ld" = yes; then
 
16503
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
16504
    shlibpath_overrides_runpath=no
 
16505
  else
 
16506
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
16507
    shlibpath_overrides_runpath=yes
 
16508
    case $host_os in
 
16509
      sco3.2v5*)
 
16510
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
16511
        ;;
 
16512
    esac
 
16513
  fi
 
16514
  sys_lib_dlsearch_path_spec='/usr/lib'
 
16515
  ;;
 
16516
 
14544
16517
uts4*)
14545
16518
  version_type=linux
14546
16519
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14552
16525
  dynamic_linker=no
14553
16526
  ;;
14554
16527
esac
14555
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14556
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16528
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16529
echo "${ECHO_T}$dynamic_linker" >&6; }
14557
16530
test "$dynamic_linker" = no && can_build_shared=no
14558
16531
 
14559
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14560
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16532
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
16533
if test "$GCC" = yes; then
 
16534
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
16535
fi
 
16536
 
 
16537
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16538
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14561
16539
hardcode_action_F77=
14562
16540
if test -n "$hardcode_libdir_flag_spec_F77" || \
14563
 
   test -n "$runpath_var F77" || \
14564
 
   test "X$hardcode_automatic_F77"="Xyes" ; then
 
16541
   test -n "$runpath_var_F77" || \
 
16542
   test "X$hardcode_automatic_F77" = "Xyes" ; then
14565
16543
 
14566
16544
  # We can hardcode non-existant directories.
14567
16545
  if test "$hardcode_direct_F77" != no &&
14581
16559
  # directories.
14582
16560
  hardcode_action_F77=unsupported
14583
16561
fi
14584
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14585
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
16562
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
16563
echo "${ECHO_T}$hardcode_action_F77" >&6; }
14586
16564
 
14587
16565
if test "$hardcode_action_F77" = relink; then
14588
16566
  # Fast installation is not supported
14593
16571
  enable_fast_install=needless
14594
16572
fi
14595
16573
 
14596
 
striplib=
14597
 
old_striplib=
14598
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14599
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14600
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14601
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14602
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14603
 
  echo "$as_me:$LINENO: result: yes" >&5
14604
 
echo "${ECHO_T}yes" >&6
14605
 
else
14606
 
# FIXME - insert some real tests, host_os isn't really good enough
14607
 
  case $host_os in
14608
 
   darwin*)
14609
 
       if test -n "$STRIP" ; then
14610
 
         striplib="$STRIP -x"
14611
 
         echo "$as_me:$LINENO: result: yes" >&5
14612
 
echo "${ECHO_T}yes" >&6
14613
 
       else
14614
 
  echo "$as_me:$LINENO: result: no" >&5
14615
 
echo "${ECHO_T}no" >&6
14616
 
fi
14617
 
       ;;
14618
 
   *)
14619
 
  echo "$as_me:$LINENO: result: no" >&5
14620
 
echo "${ECHO_T}no" >&6
14621
 
    ;;
14622
 
  esac
14623
 
fi
14624
 
 
14625
 
 
14626
16574
 
14627
16575
# The else clause should only fire when bootstrapping the
14628
16576
# libtool distribution, otherwise you forgot to ship ltmain.sh
14637
16585
  # Now quote all the things that may contain metacharacters while being
14638
16586
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
14639
16587
  # variables and quote the copies for generation of the libtool script.
14640
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
16588
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14641
16589
    SED SHELL STRIP \
14642
16590
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14643
16591
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14738
16686
# The host system.
14739
16687
host_alias=$host_alias
14740
16688
host=$host
 
16689
host_os=$host_os
 
16690
 
 
16691
# The build system.
 
16692
build_alias=$build_alias
 
16693
build=$build
 
16694
build_os=$build_os
14741
16695
 
14742
16696
# An echo program that does not interpret backslashes.
14743
16697
echo=$lt_echo
14749
16703
# A C compiler.
14750
16704
LTCC=$lt_LTCC
14751
16705
 
 
16706
# LTCC compiler flags.
 
16707
LTCFLAGS=$lt_LTCFLAGS
 
16708
 
14752
16709
# A language-specific compiler.
14753
16710
CC=$lt_compiler_F77
14754
16711
 
14799
16756
libext="$libext"
14800
16757
 
14801
16758
# Shared library suffix (normally ".so").
14802
 
shrext='$shrext'
 
16759
shrext_cmds='$shrext_cmds'
14803
16760
 
14804
16761
# Executable file suffix (normally "").
14805
16762
exeext="$exeext"
14814
16771
# Does compiler simultaneously support -c and -o options?
14815
16772
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14816
16773
 
14817
 
# Must we lock files when doing compilation ?
 
16774
# Must we lock files when doing compilation?
14818
16775
need_locks=$lt_need_locks
14819
16776
 
14820
16777
# Do we need the lib prefix for modules?
15040
16997
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15041
16998
 
15042
16999
 
15043
 
 
15044
17000
# Source file extension for Java test sources.
15045
17001
ac_ext=java
15046
17002
 
15052
17008
lt_simple_compile_test_code="class foo {}\n"
15053
17009
 
15054
17010
# Code to be used in simple link tests
15055
 
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
 
17011
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
15056
17012
 
15057
17013
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15058
17014
 
15059
17015
# If no C compiler was specified, use CC.
15060
17016
LTCC=${LTCC-"$CC"}
15061
17017
 
 
17018
# If no C compiler flags were specified, use CFLAGS.
 
17019
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
17020
 
15062
17021
# Allow CC to be a program name with arguments.
15063
17022
compiler=$CC
15064
17023
 
15065
17024
 
 
17025
# save warnings/boilerplate of simple test code
 
17026
ac_outfile=conftest.$ac_objext
 
17027
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
17028
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
17029
_lt_compiler_boilerplate=`cat conftest.err`
 
17030
$rm conftest*
 
17031
 
 
17032
ac_outfile=conftest.$ac_objext
 
17033
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
17034
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
17035
_lt_linker_boilerplate=`cat conftest.err`
 
17036
$rm conftest*
 
17037
 
 
17038
 
15066
17039
# Allow CC to be a program name with arguments.
15067
17040
lt_save_CC="$CC"
15068
17041
CC=${GCJ-"gcj"}
15069
17042
compiler=$CC
15070
17043
compiler_GCJ=$CC
 
17044
for cc_temp in $compiler""; do
 
17045
  case $cc_temp in
 
17046
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
17047
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
17048
    \-*) ;;
 
17049
    *) break;;
 
17050
  esac
 
17051
done
 
17052
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
17053
 
15071
17054
 
15072
17055
# GCJ did not exist at the time GCC didn't implicitly link libc in.
15073
17056
archive_cmds_need_lc_GCJ=no
15074
17057
 
 
17058
old_archive_cmds_GCJ=$old_archive_cmds
 
17059
 
15075
17060
 
15076
17061
lt_prog_compiler_no_builtin_flag_GCJ=
15077
17062
 
15079
17064
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15080
17065
 
15081
17066
 
15082
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15083
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
17067
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
17068
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15084
17069
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15085
17070
  echo $ECHO_N "(cached) $ECHO_C" >&6
15086
17071
else
15094
17079
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15095
17080
   # The option is referenced via a variable to avoid confusing sed.
15096
17081
   lt_compile=`echo "$ac_compile" | $SED \
15097
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17082
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15098
17083
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15099
17084
   -e 's:$: $lt_compiler_flag:'`
15100
 
   (eval echo "\"\$as_me:15100: $lt_compile\"" >&5)
 
17085
   (eval echo "\"\$as_me:17085: $lt_compile\"" >&5)
15101
17086
   (eval "$lt_compile" 2>conftest.err)
15102
17087
   ac_status=$?
15103
17088
   cat conftest.err >&5
15104
 
   echo "$as_me:15104: \$? = $ac_status" >&5
 
17089
   echo "$as_me:17089: \$? = $ac_status" >&5
15105
17090
   if (exit $ac_status) && test -s "$ac_outfile"; then
15106
17091
     # The compiler can only warn and ignore the option if not recognized
15107
 
     # So say no if there are warnings
15108
 
     if test ! -s conftest.err; then
 
17092
     # So say no if there are warnings other than the usual output.
 
17093
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
17094
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17095
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15109
17096
       lt_cv_prog_compiler_rtti_exceptions=yes
15110
17097
     fi
15111
17098
   fi
15112
17099
   $rm conftest*
15113
17100
 
15114
17101
fi
15115
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15116
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
17102
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
17103
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15117
17104
 
15118
17105
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15119
17106
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15127
17114
lt_prog_compiler_pic_GCJ=
15128
17115
lt_prog_compiler_static_GCJ=
15129
17116
 
15130
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15131
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
17117
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
17118
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15132
17119
 
15133
17120
  if test "$GCC" = yes; then
15134
17121
    lt_prog_compiler_wl_GCJ='-Wl,'
15166
17153
      lt_prog_compiler_pic_GCJ='-fno-common'
15167
17154
      ;;
15168
17155
 
 
17156
    interix3*)
 
17157
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
17158
      # Instead, we relocate shared libraries at runtime.
 
17159
      ;;
 
17160
 
15169
17161
    msdosdjgpp*)
15170
17162
      # Just because we use GCC doesn't mean we suddenly get shared libraries
15171
17163
      # on systems that don't support them.
15182
17174
    hpux*)
15183
17175
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15184
17176
      # not for PA HP-UX.
15185
 
      case "$host_cpu" in
 
17177
      case $host_cpu in
15186
17178
      hppa*64*|ia64*)
15187
17179
        # +Z the default
15188
17180
        ;;
15208
17200
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15209
17201
      fi
15210
17202
      ;;
 
17203
      darwin*)
 
17204
        # PIC is the default on this platform
 
17205
        # Common symbols not allowed in MH_DYLIB files
 
17206
       case $cc_basename in
 
17207
         xlc*)
 
17208
         lt_prog_compiler_pic_GCJ='-qnocommon'
 
17209
         lt_prog_compiler_wl_GCJ='-Wl,'
 
17210
         ;;
 
17211
       esac
 
17212
       ;;
15211
17213
 
15212
17214
    mingw* | pw32* | os2*)
15213
17215
      # This hack is so that the source file can tell whether it is being
15219
17221
      lt_prog_compiler_wl_GCJ='-Wl,'
15220
17222
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15221
17223
      # not for PA HP-UX.
15222
 
      case "$host_cpu" in
 
17224
      case $host_cpu in
15223
17225
      hppa*64*|ia64*)
15224
17226
        # +Z the default
15225
17227
        ;;
15242
17244
      lt_prog_compiler_static_GCJ='-Bstatic'
15243
17245
      ;;
15244
17246
 
15245
 
    linux*)
15246
 
      case $CC in
 
17247
    linux* | k*bsd*-gnu)
 
17248
      case $cc_basename in
15247
17249
      icc* | ecc*)
15248
17250
        lt_prog_compiler_wl_GCJ='-Wl,'
15249
17251
        lt_prog_compiler_pic_GCJ='-KPIC'
15250
17252
        lt_prog_compiler_static_GCJ='-static'
15251
17253
        ;;
 
17254
      pgcc* | pgf77* | pgf90* | pgf95*)
 
17255
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
17256
        # which looks to be a dead project)
 
17257
        lt_prog_compiler_wl_GCJ='-Wl,'
 
17258
        lt_prog_compiler_pic_GCJ='-fpic'
 
17259
        lt_prog_compiler_static_GCJ='-Bstatic'
 
17260
        ;;
15252
17261
      ccc*)
15253
17262
        lt_prog_compiler_wl_GCJ='-Wl,'
15254
17263
        # All Alpha code is PIC.
15263
17272
      lt_prog_compiler_static_GCJ='-non_shared'
15264
17273
      ;;
15265
17274
 
15266
 
    sco3.2v5*)
15267
 
      lt_prog_compiler_pic_GCJ='-Kpic'
15268
 
      lt_prog_compiler_static_GCJ='-dn'
15269
 
      ;;
15270
 
 
15271
17275
    solaris*)
15272
 
      lt_prog_compiler_wl_GCJ='-Wl,'
15273
17276
      lt_prog_compiler_pic_GCJ='-KPIC'
15274
17277
      lt_prog_compiler_static_GCJ='-Bstatic'
 
17278
      case $cc_basename in
 
17279
      f77* | f90* | f95*)
 
17280
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
 
17281
      *)
 
17282
        lt_prog_compiler_wl_GCJ='-Wl,';;
 
17283
      esac
15275
17284
      ;;
15276
17285
 
15277
17286
    sunos4*)
15280
17289
      lt_prog_compiler_static_GCJ='-Bstatic'
15281
17290
      ;;
15282
17291
 
15283
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
17292
    sysv4 | sysv4.2uw2* | sysv4.3*)
15284
17293
      lt_prog_compiler_wl_GCJ='-Wl,'
15285
17294
      lt_prog_compiler_pic_GCJ='-KPIC'
15286
17295
      lt_prog_compiler_static_GCJ='-Bstatic'
15293
17302
      fi
15294
17303
      ;;
15295
17304
 
 
17305
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
17306
      lt_prog_compiler_wl_GCJ='-Wl,'
 
17307
      lt_prog_compiler_pic_GCJ='-KPIC'
 
17308
      lt_prog_compiler_static_GCJ='-Bstatic'
 
17309
      ;;
 
17310
 
 
17311
    unicos*)
 
17312
      lt_prog_compiler_wl_GCJ='-Wl,'
 
17313
      lt_prog_compiler_can_build_shared_GCJ=no
 
17314
      ;;
 
17315
 
15296
17316
    uts4*)
15297
17317
      lt_prog_compiler_pic_GCJ='-pic'
15298
17318
      lt_prog_compiler_static_GCJ='-Bstatic'
15304
17324
    esac
15305
17325
  fi
15306
17326
 
15307
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15308
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
17327
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
17328
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
15309
17329
 
15310
17330
#
15311
17331
# Check to make sure the PIC flag actually works.
15312
17332
#
15313
17333
if test -n "$lt_prog_compiler_pic_GCJ"; then
15314
17334
 
15315
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15316
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
17335
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
17336
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
15317
17337
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15318
17338
  echo $ECHO_N "(cached) $ECHO_C" >&6
15319
17339
else
15327
17347
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15328
17348
   # The option is referenced via a variable to avoid confusing sed.
15329
17349
   lt_compile=`echo "$ac_compile" | $SED \
15330
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17350
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15331
17351
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15332
17352
   -e 's:$: $lt_compiler_flag:'`
15333
 
   (eval echo "\"\$as_me:15333: $lt_compile\"" >&5)
 
17353
   (eval echo "\"\$as_me:17353: $lt_compile\"" >&5)
15334
17354
   (eval "$lt_compile" 2>conftest.err)
15335
17355
   ac_status=$?
15336
17356
   cat conftest.err >&5
15337
 
   echo "$as_me:15337: \$? = $ac_status" >&5
 
17357
   echo "$as_me:17357: \$? = $ac_status" >&5
15338
17358
   if (exit $ac_status) && test -s "$ac_outfile"; then
15339
17359
     # The compiler can only warn and ignore the option if not recognized
15340
 
     # So say no if there are warnings
15341
 
     if test ! -s conftest.err; then
 
17360
     # So say no if there are warnings other than the usual output.
 
17361
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
17362
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17363
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15342
17364
       lt_prog_compiler_pic_works_GCJ=yes
15343
17365
     fi
15344
17366
   fi
15345
17367
   $rm conftest*
15346
17368
 
15347
17369
fi
15348
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15349
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
17370
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
17371
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
15350
17372
 
15351
17373
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15352
17374
    case $lt_prog_compiler_pic_GCJ in
15359
17381
fi
15360
17382
 
15361
17383
fi
15362
 
case "$host_os" in
 
17384
case $host_os in
15363
17385
  # For platforms which do not support PIC, -DPIC is meaningless:
15364
17386
  *djgpp*)
15365
17387
    lt_prog_compiler_pic_GCJ=
15369
17391
    ;;
15370
17392
esac
15371
17393
 
15372
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15373
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
17394
#
 
17395
# Check to make sure the static flag actually works.
 
17396
#
 
17397
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
 
17398
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
17399
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
17400
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
17401
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17402
else
 
17403
  lt_prog_compiler_static_works_GCJ=no
 
17404
   save_LDFLAGS="$LDFLAGS"
 
17405
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
17406
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
17407
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
17408
     # The linker can only warn and ignore the option if not recognized
 
17409
     # So say no if there are warnings
 
17410
     if test -s conftest.err; then
 
17411
       # Append any errors to the config.log.
 
17412
       cat conftest.err 1>&5
 
17413
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
17414
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17415
       if diff conftest.exp conftest.er2 >/dev/null; then
 
17416
         lt_prog_compiler_static_works_GCJ=yes
 
17417
       fi
 
17418
     else
 
17419
       lt_prog_compiler_static_works_GCJ=yes
 
17420
     fi
 
17421
   fi
 
17422
   $rm conftest*
 
17423
   LDFLAGS="$save_LDFLAGS"
 
17424
 
 
17425
fi
 
17426
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
17427
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
17428
 
 
17429
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
17430
    :
 
17431
else
 
17432
    lt_prog_compiler_static_GCJ=
 
17433
fi
 
17434
 
 
17435
 
 
17436
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17437
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15374
17438
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15375
17439
  echo $ECHO_N "(cached) $ECHO_C" >&6
15376
17440
else
15387
17451
   # Note that $ac_compile itself does not contain backslashes and begins
15388
17452
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15389
17453
   lt_compile=`echo "$ac_compile" | $SED \
15390
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17454
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15391
17455
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15392
17456
   -e 's:$: $lt_compiler_flag:'`
15393
 
   (eval echo "\"\$as_me:15393: $lt_compile\"" >&5)
 
17457
   (eval echo "\"\$as_me:17457: $lt_compile\"" >&5)
15394
17458
   (eval "$lt_compile" 2>out/conftest.err)
15395
17459
   ac_status=$?
15396
17460
   cat out/conftest.err >&5
15397
 
   echo "$as_me:15397: \$? = $ac_status" >&5
 
17461
   echo "$as_me:17461: \$? = $ac_status" >&5
15398
17462
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15399
17463
   then
15400
17464
     # The compiler can only warn and ignore the option if not recognized
15401
17465
     # So say no if there are warnings
15402
 
     if test ! -s out/conftest.err; then
 
17466
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
17467
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
17468
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15403
17469
       lt_cv_prog_compiler_c_o_GCJ=yes
15404
17470
     fi
15405
17471
   fi
15406
 
   chmod u+w .
 
17472
   chmod u+w . 2>&5
15407
17473
   $rm conftest*
15408
17474
   # SGI C++ compiler will create directory out/ii_files/ for
15409
17475
   # template instantiation
15414
17480
   $rm conftest*
15415
17481
 
15416
17482
fi
15417
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15418
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
17483
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
17484
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
15419
17485
 
15420
17486
 
15421
17487
hard_links="nottested"
15422
17488
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15423
17489
  # do not overwrite the value of need_locks provided by the user
15424
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15425
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17490
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17491
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15426
17492
  hard_links=yes
15427
17493
  $rm conftest*
15428
17494
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15429
17495
  touch conftest.a
15430
17496
  ln conftest.a conftest.b 2>&5 || hard_links=no
15431
17497
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15432
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
15433
 
echo "${ECHO_T}$hard_links" >&6
 
17498
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
17499
echo "${ECHO_T}$hard_links" >&6; }
15434
17500
  if test "$hard_links" = no; then
15435
17501
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15436
17502
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15440
17506
  need_locks=no
15441
17507
fi
15442
17508
 
15443
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15444
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17509
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17510
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15445
17511
 
15446
17512
  runpath_var=
15447
17513
  allow_undefined_flag_GCJ=
15479
17545
  # rely on this symbol name, it's probably fine to never include it in
15480
17546
  # preloaded symbol tables.
15481
17547
  extract_expsyms_cmds=
 
17548
  # Just being paranoid about ensuring that cc_basename is set.
 
17549
  for cc_temp in $compiler""; do
 
17550
  case $cc_temp in
 
17551
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
17552
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
17553
    \-*) ;;
 
17554
    *) break;;
 
17555
  esac
 
17556
done
 
17557
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15482
17558
 
15483
17559
  case $host_os in
15484
17560
  cygwin* | mingw* | pw32*)
15489
17565
      with_gnu_ld=no
15490
17566
    fi
15491
17567
    ;;
 
17568
  interix*)
 
17569
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
17570
    with_gnu_ld=yes
 
17571
    ;;
15492
17572
  openbsd*)
15493
17573
    with_gnu_ld=no
15494
17574
    ;;
15499
17579
    # If archive_cmds runs LD, not CC, wlarc should be empty
15500
17580
    wlarc='${wl}'
15501
17581
 
 
17582
    # Set some defaults for GNU ld with shared library support. These
 
17583
    # are reset later if shared libraries are not supported. Putting them
 
17584
    # here allows them to be overridden if necessary.
 
17585
    runpath_var=LD_RUN_PATH
 
17586
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
 
17587
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
 
17588
    # ancient GNU ld didn't support --whole-archive et. al.
 
17589
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
17590
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
17591
      else
 
17592
        whole_archive_flag_spec_GCJ=
 
17593
    fi
 
17594
    supports_anon_versioning=no
 
17595
    case `$LD -v 2>/dev/null` in
 
17596
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
17597
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
17598
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
17599
      *\ 2.11.*) ;; # other 2.11 versions
 
17600
      *) supports_anon_versioning=yes ;;
 
17601
    esac
 
17602
 
15502
17603
    # See if GNU ld supports shared libraries.
15503
17604
    case $host_os in
15504
17605
    aix3* | aix4* | aix5*)
15549
17650
      allow_undefined_flag_GCJ=unsupported
15550
17651
      always_export_symbols_GCJ=no
15551
17652
      enable_shared_with_static_runtimes_GCJ=yes
15552
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17653
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15553
17654
 
15554
17655
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15555
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
17656
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15556
17657
        # If the export-symbols file already is a .def file (1st line
15557
17658
        # is EXPORTS), use it as is; otherwise, prepend...
15558
17659
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15561
17662
          echo EXPORTS > $output_objdir/$soname.def;
15562
17663
          cat $export_symbols >> $output_objdir/$soname.def;
15563
17664
        fi~
15564
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
15565
 
      else
15566
 
        ld_shlibs=no
15567
 
      fi
15568
 
      ;;
15569
 
 
15570
 
    netbsd* | knetbsd*-gnu)
 
17665
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
17666
      else
 
17667
        ld_shlibs_GCJ=no
 
17668
      fi
 
17669
      ;;
 
17670
 
 
17671
    interix3*)
 
17672
      hardcode_direct_GCJ=no
 
17673
      hardcode_shlibpath_var_GCJ=no
 
17674
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17675
      export_dynamic_flag_spec_GCJ='${wl}-E'
 
17676
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
17677
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
17678
      # default) and relocated if they conflict, which is a slow very memory
 
17679
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
17680
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
17681
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
17682
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
17683
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
17684
      ;;
 
17685
 
 
17686
    linux* | k*bsd*-gnu)
 
17687
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
17688
        tmp_addflag=
 
17689
        case $cc_basename,$host_cpu in
 
17690
        pgcc*)                          # Portland Group C compiler
 
17691
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17692
          tmp_addflag=' $pic_flag'
 
17693
          ;;
 
17694
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
17695
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17696
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
17697
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
17698
          tmp_addflag=' -i_dynamic' ;;
 
17699
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
17700
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
17701
        ifc* | ifort*)                  # Intel Fortran compiler
 
17702
          tmp_addflag=' -nofor_main' ;;
 
17703
        esac
 
17704
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17705
 
 
17706
        if test $supports_anon_versioning = yes; then
 
17707
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
 
17708
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
17709
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
17710
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17711
        fi
 
17712
        link_all_deplibs_GCJ=no
 
17713
      else
 
17714
        ld_shlibs_GCJ=no
 
17715
      fi
 
17716
      ;;
 
17717
 
 
17718
    netbsd* | netbsdelf*-gnu)
15571
17719
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15572
17720
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15573
17721
        wlarc=
15577
17725
      fi
15578
17726
      ;;
15579
17727
 
15580
 
    solaris* | sysv5*)
 
17728
    solaris*)
15581
17729
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15582
17730
        ld_shlibs_GCJ=no
15583
17731
        cat <<EOF 1>&2
15598
17746
      fi
15599
17747
      ;;
15600
17748
 
 
17749
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
17750
      case `$LD -v 2>&1` in
 
17751
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
17752
        ld_shlibs_GCJ=no
 
17753
        cat <<_LT_EOF 1>&2
 
17754
 
 
17755
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
17756
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
17757
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
17758
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
17759
*** your PATH or compiler configuration so that the native linker is
 
17760
*** used, and then restart.
 
17761
 
 
17762
_LT_EOF
 
17763
        ;;
 
17764
        *)
 
17765
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
17766
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
17767
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
17768
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
17769
          else
 
17770
            ld_shlibs_GCJ=no
 
17771
          fi
 
17772
        ;;
 
17773
      esac
 
17774
      ;;
 
17775
 
15601
17776
    sunos4*)
15602
17777
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15603
17778
      wlarc=
15605
17780
      hardcode_shlibpath_var_GCJ=no
15606
17781
      ;;
15607
17782
 
15608
 
  linux*)
15609
 
    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
15610
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15611
 
        archive_cmds_GCJ="$tmp_archive_cmds"
15612
 
      supports_anon_versioning=no
15613
 
      case `$LD -v 2>/dev/null` in
15614
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15615
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15616
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15617
 
        *\ 2.11.*) ;; # other 2.11 versions
15618
 
        *) supports_anon_versioning=yes ;;
15619
 
      esac
15620
 
      if test $supports_anon_versioning = yes; then
15621
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
15622
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15623
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
15624
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15625
 
      else
15626
 
        archive_expsym_cmds_GCJ="$tmp_archive_cmds"
15627
 
      fi
15628
 
    else
15629
 
      ld_shlibs_GCJ=no
15630
 
    fi
15631
 
    ;;
15632
 
 
15633
17783
    *)
15634
17784
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15635
17785
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15640
17790
      ;;
15641
17791
    esac
15642
17792
 
15643
 
    if test "$ld_shlibs_GCJ" = yes; then
15644
 
      runpath_var=LD_RUN_PATH
15645
 
      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15646
 
      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15647
 
      # ancient GNU ld didn't support --whole-archive et. al.
15648
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15649
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15650
 
      else
15651
 
        whole_archive_flag_spec_GCJ=
15652
 
      fi
 
17793
    if test "$ld_shlibs_GCJ" = no; then
 
17794
      runpath_var=
 
17795
      hardcode_libdir_flag_spec_GCJ=
 
17796
      export_dynamic_flag_spec_GCJ=
 
17797
      whole_archive_flag_spec_GCJ=
15653
17798
    fi
15654
17799
  else
15655
17800
    # PORTME fill in a description of your system's linker (not GNU ld)
15661
17806
      # Note: this linker hardcodes the directories in LIBPATH if there
15662
17807
      # are no directories specified by -L.
15663
17808
      hardcode_minus_L_GCJ=yes
15664
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
17809
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15665
17810
        # Neither direct hardcoding nor static linking is supported with a
15666
17811
        # broken collect2.
15667
17812
        hardcode_direct_GCJ=unsupported
15695
17840
            break
15696
17841
          fi
15697
17842
          done
 
17843
          ;;
15698
17844
        esac
15699
17845
 
15700
17846
        exp_sym_flag='-bexport'
15713
17859
      link_all_deplibs_GCJ=yes
15714
17860
 
15715
17861
      if test "$GCC" = yes; then
15716
 
        case $host_os in aix4.012|aix4.012.*)
 
17862
        case $host_os in aix4.[012]|aix4.[012].*)
15717
17863
        # We only want to do this on AIX 4.2 and lower, the check
15718
17864
        # below for broken collect2 doesn't work under 4.3+
15719
17865
          collect2name=`${CC} -print-prog-name=collect2`
15732
17878
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
15733
17879
          hardcode_libdir_separator_GCJ=
15734
17880
          fi
 
17881
          ;;
15735
17882
        esac
15736
17883
        shared_flag='-shared'
 
17884
        if test "$aix_use_runtimelinking" = yes; then
 
17885
          shared_flag="$shared_flag "'${wl}-G'
 
17886
        fi
15737
17887
      else
15738
17888
        # not using gcc
15739
17889
        if test "$host_cpu" = ia64; then
15741
17891
        # chokes on -Wl,-G. The following line is correct:
15742
17892
          shared_flag='-G'
15743
17893
        else
15744
 
        if test "$aix_use_runtimelinking" = yes; then
 
17894
          if test "$aix_use_runtimelinking" = yes; then
15745
17895
            shared_flag='${wl}-G'
15746
17896
          else
15747
17897
            shared_flag='${wl}-bM:SRE'
15748
 
        fi
 
17898
          fi
15749
17899
        fi
15750
17900
      fi
15751
17901
 
15758
17908
        allow_undefined_flag_GCJ='-berok'
15759
17909
       # Determine the default libpath from the value encoded in an empty executable.
15760
17910
       cat >conftest.$ac_ext <<_ACEOF
15761
 
#line $LINENO "configure"
15762
17911
/* confdefs.h.  */
15763
17912
_ACEOF
15764
17913
cat confdefs.h >>conftest.$ac_ext
15774
17923
}
15775
17924
_ACEOF
15776
17925
rm -f conftest.$ac_objext conftest$ac_exeext
15777
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15778
 
  (eval $ac_link) 2>&5
 
17926
if { (ac_try="$ac_link"
 
17927
case "(($ac_try" in
 
17928
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17929
  *) ac_try_echo=$ac_try;;
 
17930
esac
 
17931
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17932
  (eval "$ac_link") 2>conftest.er1
15779
17933
  ac_status=$?
 
17934
  grep -v '^ *+' conftest.er1 >conftest.err
 
17935
  rm -f conftest.er1
 
17936
  cat conftest.err >&5
15780
17937
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781
17938
  (exit $ac_status); } &&
15782
 
         { ac_try='test -s conftest$ac_exeext'
15783
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15784
 
  (eval $ac_try) 2>&5
 
17939
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17940
  { (case "(($ac_try" in
 
17941
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17942
  *) ac_try_echo=$ac_try;;
 
17943
esac
 
17944
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17945
  (eval "$ac_try") 2>&5
 
17946
  ac_status=$?
 
17947
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17948
  (exit $ac_status); }; } &&
 
17949
         { ac_try='test -s conftest$ac_exeext'
 
17950
  { (case "(($ac_try" in
 
17951
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17952
  *) ac_try_echo=$ac_try;;
 
17953
esac
 
17954
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17955
  (eval "$ac_try") 2>&5
15785
17956
  ac_status=$?
15786
17957
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787
17958
  (exit $ac_status); }; }; then
15795
17966
  echo "$as_me: failed program was:" >&5
15796
17967
sed 's/^/| /' conftest.$ac_ext >&5
15797
17968
 
 
17969
 
15798
17970
fi
15799
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
17971
 
 
17972
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
17973
      conftest$ac_exeext conftest.$ac_ext
15800
17974
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15801
17975
 
15802
17976
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15803
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
17977
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15804
17978
       else
15805
17979
        if test "$host_cpu" = ia64; then
15806
17980
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15807
17981
          allow_undefined_flag_GCJ="-z nodefs"
15808
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
 
17982
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
15809
17983
        else
15810
17984
         # Determine the default libpath from the value encoded in an empty executable.
15811
17985
         cat >conftest.$ac_ext <<_ACEOF
15812
 
#line $LINENO "configure"
15813
17986
/* confdefs.h.  */
15814
17987
_ACEOF
15815
17988
cat confdefs.h >>conftest.$ac_ext
15825
17998
}
15826
17999
_ACEOF
15827
18000
rm -f conftest.$ac_objext conftest$ac_exeext
15828
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15829
 
  (eval $ac_link) 2>&5
 
18001
if { (ac_try="$ac_link"
 
18002
case "(($ac_try" in
 
18003
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18004
  *) ac_try_echo=$ac_try;;
 
18005
esac
 
18006
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18007
  (eval "$ac_link") 2>conftest.er1
15830
18008
  ac_status=$?
 
18009
  grep -v '^ *+' conftest.er1 >conftest.err
 
18010
  rm -f conftest.er1
 
18011
  cat conftest.err >&5
15831
18012
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832
18013
  (exit $ac_status); } &&
15833
 
         { ac_try='test -s conftest$ac_exeext'
15834
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835
 
  (eval $ac_try) 2>&5
 
18014
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
18015
  { (case "(($ac_try" in
 
18016
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18017
  *) ac_try_echo=$ac_try;;
 
18018
esac
 
18019
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18020
  (eval "$ac_try") 2>&5
 
18021
  ac_status=$?
 
18022
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18023
  (exit $ac_status); }; } &&
 
18024
         { ac_try='test -s conftest$ac_exeext'
 
18025
  { (case "(($ac_try" in
 
18026
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18027
  *) ac_try_echo=$ac_try;;
 
18028
esac
 
18029
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18030
  (eval "$ac_try") 2>&5
15836
18031
  ac_status=$?
15837
18032
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838
18033
  (exit $ac_status); }; }; then
15846
18041
  echo "$as_me: failed program was:" >&5
15847
18042
sed 's/^/| /' conftest.$ac_ext >&5
15848
18043
 
 
18044
 
15849
18045
fi
15850
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
18046
 
 
18047
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
18048
      conftest$ac_exeext conftest.$ac_ext
15851
18049
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15852
18050
 
15853
18051
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15855
18053
          # -berok will link without error, but may produce a broken library.
15856
18054
          no_undefined_flag_GCJ=' ${wl}-bernotok'
15857
18055
          allow_undefined_flag_GCJ=' ${wl}-berok'
15858
 
          # -bexpall does not export symbols beginning with underscore (_)
15859
 
          always_export_symbols_GCJ=yes
15860
18056
          # Exported symbols can be pulled into shared objects from archives
15861
 
          whole_archive_flag_spec_GCJ=' '
 
18057
          whole_archive_flag_spec_GCJ='$convenience'
15862
18058
          archive_cmds_need_lc_GCJ=yes
15863
 
          # This is similar to how AIX traditionally builds it's shared libraries.
15864
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
18059
          # This is similar to how AIX traditionally builds its shared libraries.
 
18060
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15865
18061
        fi
15866
18062
      fi
15867
18063
      ;;
15874
18070
      ld_shlibs_GCJ=no
15875
18071
      ;;
15876
18072
 
15877
 
    bsdi4*)
 
18073
    bsdi[45]*)
15878
18074
      export_dynamic_flag_spec_GCJ=-rdynamic
15879
18075
      ;;
15880
18076
 
15888
18084
      # Tell ltmain to make .lib files, not .a files.
15889
18085
      libext=lib
15890
18086
      # Tell ltmain to make .dll files, not .so files.
15891
 
      shrext=".dll"
 
18087
      shrext_cmds=".dll"
15892
18088
      # FIXME: Setting linknames here is a bad hack.
15893
18089
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15894
18090
      # The linker will automatically build a .lib file if we build a DLL.
15895
18091
      old_archive_From_new_cmds_GCJ='true'
15896
18092
      # FIXME: Should let the user specify the lib program.
15897
18093
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15898
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
18094
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
15899
18095
      enable_shared_with_static_runtimes_GCJ=yes
15900
18096
      ;;
15901
18097
 
15902
18098
    darwin* | rhapsody*)
15903
 
    if test "$GXX" = yes ; then
 
18099
      case $host_os in
 
18100
        rhapsody* | darwin1.[012])
 
18101
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
 
18102
         ;;
 
18103
       *) # Darwin 1.3 on
 
18104
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
18105
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
18106
         else
 
18107
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
18108
             10.[012])
 
18109
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
18110
               ;;
 
18111
             10.*)
 
18112
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
 
18113
               ;;
 
18114
           esac
 
18115
         fi
 
18116
         ;;
 
18117
      esac
15904
18118
      archive_cmds_need_lc_GCJ=no
15905
 
      case "$host_os" in
15906
 
      rhapsody* | darwin1.[012])
15907
 
        allow_undefined_flag_GCJ='-undefined suppress'
15908
 
        ;;
15909
 
      *) # Darwin 1.3 on
15910
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15911
 
        allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15912
 
      else
15913
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
15914
 
          10.[012])
15915
 
            allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15916
 
            ;;
15917
 
          10.*)
15918
 
            allow_undefined_flag_GCJ='-undefined dynamic_lookup'
15919
 
            ;;
15920
 
        esac
15921
 
      fi
15922
 
        ;;
15923
 
      esac
15924
 
        lt_int_apple_cc_single_mod=no
15925
 
        output_verbose_link_cmd='echo'
15926
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15927
 
          lt_int_apple_cc_single_mod=yes
15928
 
        fi
15929
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15930
 
          archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15931
 
        else
15932
 
        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15933
 
      fi
15934
 
      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15935
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15936
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15937
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15938
 
        else
15939
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15940
 
        fi
15941
 
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15942
18119
      hardcode_direct_GCJ=no
15943
18120
      hardcode_automatic_GCJ=yes
15944
18121
      hardcode_shlibpath_var_GCJ=unsupported
15945
 
      whole_archive_flag_spec_GCJ='-all_load $convenience'
 
18122
      whole_archive_flag_spec_GCJ=''
15946
18123
      link_all_deplibs_GCJ=yes
 
18124
    if test "$GCC" = yes ; then
 
18125
        output_verbose_link_cmd='echo'
 
18126
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
18127
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
18128
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
18129
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
18130
      module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15947
18131
    else
15948
 
      ld_shlibs_GCJ=no
 
18132
      case $cc_basename in
 
18133
        xlc*)
 
18134
         output_verbose_link_cmd='echo'
 
18135
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
18136
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
18137
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
18138
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
18139
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
18140
          ;;
 
18141
       *)
 
18142
         ld_shlibs_GCJ=no
 
18143
          ;;
 
18144
      esac
15949
18145
    fi
15950
18146
      ;;
15951
18147
 
15979
18175
      ;;
15980
18176
 
15981
18177
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15982
 
    freebsd* | kfreebsd*-gnu)
 
18178
    freebsd* | dragonfly*)
15983
18179
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15984
18180
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
15985
18181
      hardcode_direct_GCJ=yes
16002
18198
      export_dynamic_flag_spec_GCJ='${wl}-E'
16003
18199
      ;;
16004
18200
 
16005
 
    hpux10* | hpux11*)
16006
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16007
 
        case "$host_cpu" in
16008
 
        hppa*64*|ia64*)
 
18201
    hpux10*)
 
18202
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
18203
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
18204
      else
 
18205
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
18206
      fi
 
18207
      if test "$with_gnu_ld" = no; then
 
18208
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
18209
        hardcode_libdir_separator_GCJ=:
 
18210
 
 
18211
        hardcode_direct_GCJ=yes
 
18212
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
18213
 
 
18214
        # hardcode_minus_L: Not really in the search PATH,
 
18215
        # but as the default location of the library.
 
18216
        hardcode_minus_L_GCJ=yes
 
18217
      fi
 
18218
      ;;
 
18219
 
 
18220
    hpux11*)
 
18221
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
18222
        case $host_cpu in
 
18223
        hppa*64*)
16009
18224
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16010
18225
          ;;
 
18226
        ia64*)
 
18227
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
18228
          ;;
16011
18229
        *)
16012
18230
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16013
18231
          ;;
16014
18232
        esac
16015
18233
      else
16016
 
        case "$host_cpu" in
16017
 
        hppa*64*|ia64*)
16018
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
18234
        case $host_cpu in
 
18235
        hppa*64*)
 
18236
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18237
          ;;
 
18238
        ia64*)
 
18239
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16019
18240
          ;;
16020
18241
        *)
16021
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
18242
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16022
18243
          ;;
16023
18244
        esac
16024
18245
      fi
16025
18246
      if test "$with_gnu_ld" = no; then
16026
 
        case "$host_cpu" in
16027
 
        hppa*64*)
16028
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
18247
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
18248
        hardcode_libdir_separator_GCJ=:
 
18249
 
 
18250
        case $host_cpu in
 
18251
        hppa*64*|ia64*)
16029
18252
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
16030
 
          hardcode_libdir_separator_GCJ=:
16031
 
          hardcode_direct_GCJ=no
16032
 
          hardcode_shlibpath_var_GCJ=no
16033
 
          ;;
16034
 
        ia64*)
16035
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
16036
 
          hardcode_direct_GCJ=no
16037
 
          hardcode_shlibpath_var_GCJ=no
16038
 
 
16039
 
          # hardcode_minus_L: Not really in the search PATH,
16040
 
          # but as the default location of the library.
16041
 
          hardcode_minus_L_GCJ=yes
 
18253
          hardcode_direct_GCJ=no
 
18254
          hardcode_shlibpath_var_GCJ=no
16042
18255
          ;;
16043
18256
        *)
16044
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16045
 
          hardcode_libdir_separator_GCJ=:
16046
18257
          hardcode_direct_GCJ=yes
16047
18258
          export_dynamic_flag_spec_GCJ='${wl}-E'
16048
18259
 
16066
18277
      link_all_deplibs_GCJ=yes
16067
18278
      ;;
16068
18279
 
16069
 
    netbsd* | knetbsd*-gnu)
 
18280
    netbsd* | netbsdelf*-gnu)
16070
18281
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16071
18282
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16072
18283
      else
16090
18301
      hardcode_shlibpath_var_GCJ=no
16091
18302
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16092
18303
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18304
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16093
18305
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16094
18306
        export_dynamic_flag_spec_GCJ='${wl}-E'
16095
18307
      else
16135
18347
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
16136
18348
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16137
18349
        archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16138
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
18350
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16139
18351
 
16140
18352
        # Both c and cxx compiler support -rpath directly
16141
18353
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16143
18355
      hardcode_libdir_separator_GCJ=:
16144
18356
      ;;
16145
18357
 
16146
 
    sco3.2v5*)
16147
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16148
 
      hardcode_shlibpath_var_GCJ=no
16149
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16150
 
      runpath_var=LD_RUN_PATH
16151
 
      hardcode_runpath_var=yes
16152
 
      ;;
16153
 
 
16154
18358
    solaris*)
16155
18359
      no_undefined_flag_GCJ=' -z text'
16156
18360
      if test "$GCC" = yes; then
 
18361
        wlarc='${wl}'
16157
18362
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16158
18363
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16159
18364
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16160
18365
      else
 
18366
        wlarc=''
16161
18367
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16162
18368
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16163
18369
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16166
18372
      hardcode_shlibpath_var_GCJ=no
16167
18373
      case $host_os in
16168
18374
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16169
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16170
 
        whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 
18375
      *)
 
18376
        # The compiler driver will combine linker options so we
 
18377
        # cannot just pass the convience library names through
 
18378
        # without $wl, iff we do not link with $LD.
 
18379
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
18380
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
18381
        case $wlarc in
 
18382
        '')
 
18383
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 
18384
        *)
 
18385
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
 
18386
        esac ;;
16171
18387
      esac
16172
18388
      link_all_deplibs_GCJ=yes
16173
18389
      ;;
16224
18440
      fi
16225
18441
      ;;
16226
18442
 
16227
 
    sysv4.2uw2*)
16228
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16229
 
      hardcode_direct_GCJ=yes
16230
 
      hardcode_minus_L_GCJ=no
16231
 
      hardcode_shlibpath_var_GCJ=no
16232
 
      hardcode_runpath_var=yes
16233
 
      runpath_var=LD_RUN_PATH
16234
 
      ;;
16235
 
 
16236
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
16237
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
16238
 
      if test "$GCC" = yes; then
16239
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16240
 
      else
16241
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16242
 
      fi
16243
 
      runpath_var='LD_RUN_PATH'
16244
 
      hardcode_shlibpath_var_GCJ=no
16245
 
      ;;
16246
 
 
16247
 
    sysv5*)
16248
 
      no_undefined_flag_GCJ=' -z text'
16249
 
      # $CC -shared without GNU ld will not create a library from C++
16250
 
      # object files and a static libstdc++, better avoid it by now
16251
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16252
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16253
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16254
 
      hardcode_libdir_flag_spec_GCJ=
16255
 
      hardcode_shlibpath_var_GCJ=no
16256
 
      runpath_var='LD_RUN_PATH'
 
18443
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
18444
      no_undefined_flag_GCJ='${wl}-z,text'
 
18445
      archive_cmds_need_lc_GCJ=no
 
18446
      hardcode_shlibpath_var_GCJ=no
 
18447
      runpath_var='LD_RUN_PATH'
 
18448
 
 
18449
      if test "$GCC" = yes; then
 
18450
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18451
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18452
      else
 
18453
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18454
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18455
      fi
 
18456
      ;;
 
18457
 
 
18458
    sysv5* | sco3.2v5* | sco5v6*)
 
18459
      # Note: We can NOT use -z defs as we might desire, because we do not
 
18460
      # link with -lc, and that would cause any symbols used from libc to
 
18461
      # always be unresolved, which means just about no library would
 
18462
      # ever link correctly.  If we're not using GNU ld we use -z text
 
18463
      # though, which does catch some bad symbols but isn't as heavy-handed
 
18464
      # as -z defs.
 
18465
      no_undefined_flag_GCJ='${wl}-z,text'
 
18466
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
 
18467
      archive_cmds_need_lc_GCJ=no
 
18468
      hardcode_shlibpath_var_GCJ=no
 
18469
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
18470
      hardcode_libdir_separator_GCJ=':'
 
18471
      link_all_deplibs_GCJ=yes
 
18472
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 
18473
      runpath_var='LD_RUN_PATH'
 
18474
 
 
18475
      if test "$GCC" = yes; then
 
18476
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18477
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18478
      else
 
18479
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18480
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18481
      fi
16257
18482
      ;;
16258
18483
 
16259
18484
    uts4*)
16268
18493
    esac
16269
18494
  fi
16270
18495
 
16271
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16272
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
18496
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
18497
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
16273
18498
test "$ld_shlibs_GCJ" = no && can_build_shared=no
16274
18499
 
16275
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16276
 
if test "$GCC" = yes; then
16277
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16278
 
fi
16279
 
 
16280
18500
#
16281
18501
# Do we need to explicitly link libc?
16282
18502
#
16294
18514
      # Test whether the compiler implicitly links with -lc since on some
16295
18515
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16296
18516
      # to ld, don't add -lc before -lgcc.
16297
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16298
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
18517
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18518
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16299
18519
      $rm conftest*
16300
18520
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16301
18521
 
16309
18529
        libobjs=conftest.$ac_objext
16310
18530
        deplibs=
16311
18531
        wl=$lt_prog_compiler_wl_GCJ
 
18532
        pic_flag=$lt_prog_compiler_pic_GCJ
16312
18533
        compiler_flags=-v
16313
18534
        linker_flags=-v
16314
18535
        verstring=
16331
18552
        cat conftest.err 1>&5
16332
18553
      fi
16333
18554
      $rm conftest*
16334
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16335
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
18555
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
18556
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
16336
18557
      ;;
16337
18558
    esac
16338
18559
  fi
16339
18560
  ;;
16340
18561
esac
16341
18562
 
16342
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16343
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18563
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18564
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16344
18565
library_names_spec=
16345
18566
libname_spec='lib$name'
16346
18567
soname_spec=
16347
 
shrext=".so"
 
18568
shrext_cmds=".so"
16348
18569
postinstall_cmds=
16349
18570
postuninstall_cmds=
16350
18571
finish_cmds=
16441
18662
  shlibpath_var=LIBRARY_PATH
16442
18663
  ;;
16443
18664
 
16444
 
bsdi4*)
 
18665
bsdi[45]*)
16445
18666
  version_type=linux
16446
18667
  need_version=no
16447
18668
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16457
18678
 
16458
18679
cygwin* | mingw* | pw32*)
16459
18680
  version_type=windows
16460
 
  shrext=".dll"
 
18681
  shrext_cmds=".dll"
16461
18682
  need_version=no
16462
18683
  need_lib_prefix=no
16463
18684
 
16469
18690
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16470
18691
      dldir=$destdir/`dirname \$dlpath`~
16471
18692
      test -d \$dldir || mkdir -p \$dldir~
16472
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
18693
      $install_prog $dir/$dlname \$dldir/$dlname~
 
18694
      chmod a+x \$dldir/$dlname'
16473
18695
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16474
18696
      dlpath=$dir/\$dldll~
16475
18697
       $rm \$dlpath'
16499
18721
      ;;
16500
18722
    pw32*)
16501
18723
      # pw32 DLLs use 'pw' prefix rather than 'lib'
16502
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
18724
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16503
18725
      ;;
16504
18726
    esac
16505
18727
    ;;
16522
18744
  soname_spec='${libname}${release}${major}$shared_ext'
16523
18745
  shlibpath_overrides_runpath=yes
16524
18746
  shlibpath_var=DYLD_LIBRARY_PATH
16525
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
 
18747
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16526
18748
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16527
18749
  if test "$GCC" = yes; then
16528
18750
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
16545
18767
  dynamic_linker=no
16546
18768
  ;;
16547
18769
 
16548
 
kfreebsd*-gnu)
16549
 
  version_type=linux
16550
 
  need_lib_prefix=no
16551
 
  need_version=no
16552
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16553
 
  soname_spec='${libname}${release}${shared_ext}$major'
16554
 
  shlibpath_var=LD_LIBRARY_PATH
16555
 
  shlibpath_overrides_runpath=no
16556
 
  hardcode_into_libs=yes
16557
 
  dynamic_linker='GNU ld.so'
16558
 
  ;;
16559
 
 
16560
 
freebsd*)
16561
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
18770
freebsd* | dragonfly*)
 
18771
  # DragonFly does not have aout.  When/if they implement a new
 
18772
  # versioning mechanism, adjust this.
 
18773
  if test -x /usr/bin/objformat; then
 
18774
    objformat=`/usr/bin/objformat`
 
18775
  else
 
18776
    case $host_os in
 
18777
    freebsd[123]*) objformat=aout ;;
 
18778
    *) objformat=elf ;;
 
18779
    esac
 
18780
  fi
16562
18781
  version_type=freebsd-$objformat
16563
18782
  case $version_type in
16564
18783
    freebsd-elf*)
16576
18795
  freebsd2*)
16577
18796
    shlibpath_overrides_runpath=yes
16578
18797
    ;;
16579
 
  freebsd3.01* | freebsdelf3.01*)
 
18798
  freebsd3.[01]* | freebsdelf3.[01]*)
16580
18799
    shlibpath_overrides_runpath=yes
16581
18800
    hardcode_into_libs=yes
16582
18801
    ;;
16583
 
  *) # from 3.2 on
 
18802
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
18803
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16584
18804
    shlibpath_overrides_runpath=no
16585
18805
    hardcode_into_libs=yes
16586
18806
    ;;
 
18807
  freebsd*) # from 4.6 on
 
18808
    shlibpath_overrides_runpath=yes
 
18809
    hardcode_into_libs=yes
 
18810
    ;;
16587
18811
  esac
16588
18812
  ;;
16589
18813
 
16603
18827
  version_type=sunos
16604
18828
  need_lib_prefix=no
16605
18829
  need_version=no
16606
 
  case "$host_cpu" in
 
18830
  case $host_cpu in
16607
18831
  ia64*)
16608
 
    shrext='.so'
 
18832
    shrext_cmds='.so'
16609
18833
    hardcode_into_libs=yes
16610
18834
    dynamic_linker="$host_os dld.so"
16611
18835
    shlibpath_var=LD_LIBRARY_PATH
16620
18844
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16621
18845
    ;;
16622
18846
   hppa*64*)
16623
 
     shrext='.sl'
 
18847
     shrext_cmds='.sl'
16624
18848
     hardcode_into_libs=yes
16625
18849
     dynamic_linker="$host_os dld.sl"
16626
18850
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16631
18855
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16632
18856
     ;;
16633
18857
   *)
16634
 
    shrext='.sl'
 
18858
    shrext_cmds='.sl'
16635
18859
    dynamic_linker="$host_os dld.sl"
16636
18860
    shlibpath_var=SHLIB_PATH
16637
18861
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16643
18867
  postinstall_cmds='chmod 555 $lib'
16644
18868
  ;;
16645
18869
 
 
18870
interix3*)
 
18871
  version_type=linux
 
18872
  need_lib_prefix=no
 
18873
  need_version=no
 
18874
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
18875
  soname_spec='${libname}${release}${shared_ext}$major'
 
18876
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
18877
  shlibpath_var=LD_LIBRARY_PATH
 
18878
  shlibpath_overrides_runpath=no
 
18879
  hardcode_into_libs=yes
 
18880
  ;;
 
18881
 
16646
18882
irix5* | irix6* | nonstopux*)
16647
18883
  case $host_os in
16648
18884
    nonstopux*) version_type=nonstopux ;;
16686
18922
  ;;
16687
18923
 
16688
18924
# This must be Linux ELF.
16689
 
linux*)
 
18925
linux* | k*bsd*-gnu)
16690
18926
  version_type=linux
16691
18927
  need_lib_prefix=no
16692
18928
  need_version=no
16702
18938
 
16703
18939
  # Append ld.so.conf contents to the search path
16704
18940
  if test -f /etc/ld.so.conf; then
16705
 
    ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
16706
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
 
18941
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
18942
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16707
18943
  fi
16708
18944
 
16709
18945
  # We used to test for /lib/ld.so.1 and disable shared libraries on
16715
18951
  dynamic_linker='GNU/Linux ld.so'
16716
18952
  ;;
16717
18953
 
16718
 
knetbsd*-gnu)
 
18954
netbsdelf*-gnu)
16719
18955
  version_type=linux
16720
18956
  need_lib_prefix=no
16721
18957
  need_version=no
16724
18960
  shlibpath_var=LD_LIBRARY_PATH
16725
18961
  shlibpath_overrides_runpath=no
16726
18962
  hardcode_into_libs=yes
16727
 
  dynamic_linker='GNU ld.so'
 
18963
  dynamic_linker='NetBSD ld.elf_so'
16728
18964
  ;;
16729
18965
 
16730
18966
netbsd*)
16764
19000
 
16765
19001
openbsd*)
16766
19002
  version_type=sunos
 
19003
  sys_lib_dlsearch_path_spec="/usr/lib"
16767
19004
  need_lib_prefix=no
16768
 
  need_version=yes
 
19005
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
19006
  case $host_os in
 
19007
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
19008
    *)                         need_version=no  ;;
 
19009
  esac
16769
19010
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16770
19011
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16771
19012
  shlibpath_var=LD_LIBRARY_PATH
16785
19026
 
16786
19027
os2*)
16787
19028
  libname_spec='$name'
16788
 
  shrext=".dll"
 
19029
  shrext_cmds=".dll"
16789
19030
  need_lib_prefix=no
16790
19031
  library_names_spec='$libname${shared_ext} $libname.a'
16791
19032
  dynamic_linker='OS/2 ld.exe'
16803
19044
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16804
19045
  ;;
16805
19046
 
16806
 
sco3.2v5*)
16807
 
  version_type=osf
16808
 
  soname_spec='${libname}${release}${shared_ext}$major'
16809
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16810
 
  shlibpath_var=LD_LIBRARY_PATH
16811
 
  ;;
16812
 
 
16813
19047
solaris*)
16814
19048
  version_type=linux
16815
19049
  need_lib_prefix=no
16835
19069
  need_version=yes
16836
19070
  ;;
16837
19071
 
16838
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
19072
sysv4 | sysv4.3*)
16839
19073
  version_type=linux
16840
19074
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16841
19075
  soname_spec='${libname}${release}${shared_ext}$major'
16868
19102
  fi
16869
19103
  ;;
16870
19104
 
 
19105
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
19106
  version_type=freebsd-elf
 
19107
  need_lib_prefix=no
 
19108
  need_version=no
 
19109
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
19110
  soname_spec='${libname}${release}${shared_ext}$major'
 
19111
  shlibpath_var=LD_LIBRARY_PATH
 
19112
  hardcode_into_libs=yes
 
19113
  if test "$with_gnu_ld" = yes; then
 
19114
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
19115
    shlibpath_overrides_runpath=no
 
19116
  else
 
19117
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
19118
    shlibpath_overrides_runpath=yes
 
19119
    case $host_os in
 
19120
      sco3.2v5*)
 
19121
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
19122
        ;;
 
19123
    esac
 
19124
  fi
 
19125
  sys_lib_dlsearch_path_spec='/usr/lib'
 
19126
  ;;
 
19127
 
16871
19128
uts4*)
16872
19129
  version_type=linux
16873
19130
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16879
19136
  dynamic_linker=no
16880
19137
  ;;
16881
19138
esac
16882
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16883
 
echo "${ECHO_T}$dynamic_linker" >&6
 
19139
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
19140
echo "${ECHO_T}$dynamic_linker" >&6; }
16884
19141
test "$dynamic_linker" = no && can_build_shared=no
16885
19142
 
16886
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16887
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
19143
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
19144
if test "$GCC" = yes; then
 
19145
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
19146
fi
 
19147
 
 
19148
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
19149
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16888
19150
hardcode_action_GCJ=
16889
19151
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16890
 
   test -n "$runpath_var GCJ" || \
16891
 
   test "X$hardcode_automatic_GCJ"="Xyes" ; then
 
19152
   test -n "$runpath_var_GCJ" || \
 
19153
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
16892
19154
 
16893
19155
  # We can hardcode non-existant directories.
16894
19156
  if test "$hardcode_direct_GCJ" != no &&
16908
19170
  # directories.
16909
19171
  hardcode_action_GCJ=unsupported
16910
19172
fi
16911
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16912
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
19173
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
19174
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
16913
19175
 
16914
19176
if test "$hardcode_action_GCJ" = relink; then
16915
19177
  # Fast installation is not supported
16920
19182
  enable_fast_install=needless
16921
19183
fi
16922
19184
 
16923
 
striplib=
16924
 
old_striplib=
16925
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16926
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16927
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16928
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16929
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16930
 
  echo "$as_me:$LINENO: result: yes" >&5
16931
 
echo "${ECHO_T}yes" >&6
16932
 
else
16933
 
# FIXME - insert some real tests, host_os isn't really good enough
16934
 
  case $host_os in
16935
 
   darwin*)
16936
 
       if test -n "$STRIP" ; then
16937
 
         striplib="$STRIP -x"
16938
 
         echo "$as_me:$LINENO: result: yes" >&5
16939
 
echo "${ECHO_T}yes" >&6
16940
 
       else
16941
 
  echo "$as_me:$LINENO: result: no" >&5
16942
 
echo "${ECHO_T}no" >&6
16943
 
fi
16944
 
       ;;
16945
 
   *)
16946
 
  echo "$as_me:$LINENO: result: no" >&5
16947
 
echo "${ECHO_T}no" >&6
16948
 
    ;;
16949
 
  esac
16950
 
fi
16951
 
 
16952
 
if test "x$enable_dlopen" != xyes; then
16953
 
  enable_dlopen=unknown
16954
 
  enable_dlopen_self=unknown
16955
 
  enable_dlopen_self_static=unknown
16956
 
else
16957
 
  lt_cv_dlopen=no
16958
 
  lt_cv_dlopen_libs=
16959
 
 
16960
 
  case $host_os in
16961
 
  beos*)
16962
 
    lt_cv_dlopen="load_add_on"
16963
 
    lt_cv_dlopen_libs=
16964
 
    lt_cv_dlopen_self=yes
16965
 
    ;;
16966
 
 
16967
 
  mingw* | pw32*)
16968
 
    lt_cv_dlopen="LoadLibrary"
16969
 
    lt_cv_dlopen_libs=
16970
 
   ;;
16971
 
 
16972
 
  cygwin*)
16973
 
    lt_cv_dlopen="dlopen"
16974
 
    lt_cv_dlopen_libs=
16975
 
   ;;
16976
 
 
16977
 
  darwin*)
16978
 
  # if libdl is installed we need to link against it
16979
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16980
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16981
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16982
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16983
 
else
16984
 
  ac_check_lib_save_LIBS=$LIBS
16985
 
LIBS="-ldl  $LIBS"
16986
 
cat >conftest.$ac_ext <<_ACEOF
16987
 
#line $LINENO "configure"
16988
 
/* confdefs.h.  */
16989
 
_ACEOF
16990
 
cat confdefs.h >>conftest.$ac_ext
16991
 
cat >>conftest.$ac_ext <<_ACEOF
16992
 
/* end confdefs.h.  */
16993
 
 
16994
 
/* Override any gcc2 internal prototype to avoid an error.  */
16995
 
#ifdef __cplusplus
16996
 
extern "C"
16997
 
#endif
16998
 
/* We use char because int might match the return type of a gcc2
16999
 
   builtin and then its argument prototype would still apply.  */
17000
 
char dlopen ();
17001
 
int
17002
 
main ()
17003
 
{
17004
 
dlopen ();
17005
 
  ;
17006
 
  return 0;
17007
 
}
17008
 
_ACEOF
17009
 
rm -f conftest.$ac_objext conftest$ac_exeext
17010
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17011
 
  (eval $ac_link) 2>&5
17012
 
  ac_status=$?
17013
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014
 
  (exit $ac_status); } &&
17015
 
         { ac_try='test -s conftest$ac_exeext'
17016
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17017
 
  (eval $ac_try) 2>&5
17018
 
  ac_status=$?
17019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020
 
  (exit $ac_status); }; }; then
17021
 
  ac_cv_lib_dl_dlopen=yes
17022
 
else
17023
 
  echo "$as_me: failed program was:" >&5
17024
 
sed 's/^/| /' conftest.$ac_ext >&5
17025
 
 
17026
 
ac_cv_lib_dl_dlopen=no
17027
 
fi
17028
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17029
 
LIBS=$ac_check_lib_save_LIBS
17030
 
fi
17031
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17032
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17033
 
if test $ac_cv_lib_dl_dlopen = yes; then
17034
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17035
 
else
17036
 
 
17037
 
    lt_cv_dlopen="dyld"
17038
 
    lt_cv_dlopen_libs=
17039
 
    lt_cv_dlopen_self=yes
17040
 
 
17041
 
fi
17042
 
 
17043
 
   ;;
17044
 
 
17045
 
  *)
17046
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
17047
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17048
 
if test "${ac_cv_func_shl_load+set}" = set; then
17049
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17050
 
else
17051
 
  cat >conftest.$ac_ext <<_ACEOF
17052
 
#line $LINENO "configure"
17053
 
/* confdefs.h.  */
17054
 
_ACEOF
17055
 
cat confdefs.h >>conftest.$ac_ext
17056
 
cat >>conftest.$ac_ext <<_ACEOF
17057
 
/* end confdefs.h.  */
17058
 
/* System header to define __stub macros and hopefully few prototypes,
17059
 
    which can conflict with char shl_load (); below.
17060
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17061
 
    <limits.h> exists even on freestanding compilers.  */
17062
 
#ifdef __STDC__
17063
 
# include <limits.h>
17064
 
#else
17065
 
# include <assert.h>
17066
 
#endif
17067
 
/* Override any gcc2 internal prototype to avoid an error.  */
17068
 
#ifdef __cplusplus
17069
 
extern "C"
17070
 
{
17071
 
#endif
17072
 
/* We use char because int might match the return type of a gcc2
17073
 
   builtin and then its argument prototype would still apply.  */
17074
 
char shl_load ();
17075
 
/* The GNU C library defines this for functions which it implements
17076
 
    to always fail with ENOSYS.  Some functions are actually named
17077
 
    something starting with __ and the normal name is an alias.  */
17078
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
17079
 
choke me
17080
 
#else
17081
 
char (*f) () = shl_load;
17082
 
#endif
17083
 
#ifdef __cplusplus
17084
 
}
17085
 
#endif
17086
 
 
17087
 
int
17088
 
main ()
17089
 
{
17090
 
return f != shl_load;
17091
 
  ;
17092
 
  return 0;
17093
 
}
17094
 
_ACEOF
17095
 
rm -f conftest.$ac_objext conftest$ac_exeext
17096
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17097
 
  (eval $ac_link) 2>&5
17098
 
  ac_status=$?
17099
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100
 
  (exit $ac_status); } &&
17101
 
         { ac_try='test -s conftest$ac_exeext'
17102
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17103
 
  (eval $ac_try) 2>&5
17104
 
  ac_status=$?
17105
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106
 
  (exit $ac_status); }; }; then
17107
 
  ac_cv_func_shl_load=yes
17108
 
else
17109
 
  echo "$as_me: failed program was:" >&5
17110
 
sed 's/^/| /' conftest.$ac_ext >&5
17111
 
 
17112
 
ac_cv_func_shl_load=no
17113
 
fi
17114
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17115
 
fi
17116
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17117
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17118
 
if test $ac_cv_func_shl_load = yes; then
17119
 
  lt_cv_dlopen="shl_load"
17120
 
else
17121
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17122
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17123
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17124
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17125
 
else
17126
 
  ac_check_lib_save_LIBS=$LIBS
17127
 
LIBS="-ldld  $LIBS"
17128
 
cat >conftest.$ac_ext <<_ACEOF
17129
 
#line $LINENO "configure"
17130
 
/* confdefs.h.  */
17131
 
_ACEOF
17132
 
cat confdefs.h >>conftest.$ac_ext
17133
 
cat >>conftest.$ac_ext <<_ACEOF
17134
 
/* end confdefs.h.  */
17135
 
 
17136
 
/* Override any gcc2 internal prototype to avoid an error.  */
17137
 
#ifdef __cplusplus
17138
 
extern "C"
17139
 
#endif
17140
 
/* We use char because int might match the return type of a gcc2
17141
 
   builtin and then its argument prototype would still apply.  */
17142
 
char shl_load ();
17143
 
int
17144
 
main ()
17145
 
{
17146
 
shl_load ();
17147
 
  ;
17148
 
  return 0;
17149
 
}
17150
 
_ACEOF
17151
 
rm -f conftest.$ac_objext conftest$ac_exeext
17152
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17153
 
  (eval $ac_link) 2>&5
17154
 
  ac_status=$?
17155
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156
 
  (exit $ac_status); } &&
17157
 
         { ac_try='test -s conftest$ac_exeext'
17158
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17159
 
  (eval $ac_try) 2>&5
17160
 
  ac_status=$?
17161
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162
 
  (exit $ac_status); }; }; then
17163
 
  ac_cv_lib_dld_shl_load=yes
17164
 
else
17165
 
  echo "$as_me: failed program was:" >&5
17166
 
sed 's/^/| /' conftest.$ac_ext >&5
17167
 
 
17168
 
ac_cv_lib_dld_shl_load=no
17169
 
fi
17170
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17171
 
LIBS=$ac_check_lib_save_LIBS
17172
 
fi
17173
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17174
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17175
 
if test $ac_cv_lib_dld_shl_load = yes; then
17176
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17177
 
else
17178
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
17179
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17180
 
if test "${ac_cv_func_dlopen+set}" = set; then
17181
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17182
 
else
17183
 
  cat >conftest.$ac_ext <<_ACEOF
17184
 
#line $LINENO "configure"
17185
 
/* confdefs.h.  */
17186
 
_ACEOF
17187
 
cat confdefs.h >>conftest.$ac_ext
17188
 
cat >>conftest.$ac_ext <<_ACEOF
17189
 
/* end confdefs.h.  */
17190
 
/* System header to define __stub macros and hopefully few prototypes,
17191
 
    which can conflict with char dlopen (); below.
17192
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17193
 
    <limits.h> exists even on freestanding compilers.  */
17194
 
#ifdef __STDC__
17195
 
# include <limits.h>
17196
 
#else
17197
 
# include <assert.h>
17198
 
#endif
17199
 
/* Override any gcc2 internal prototype to avoid an error.  */
17200
 
#ifdef __cplusplus
17201
 
extern "C"
17202
 
{
17203
 
#endif
17204
 
/* We use char because int might match the return type of a gcc2
17205
 
   builtin and then its argument prototype would still apply.  */
17206
 
char dlopen ();
17207
 
/* The GNU C library defines this for functions which it implements
17208
 
    to always fail with ENOSYS.  Some functions are actually named
17209
 
    something starting with __ and the normal name is an alias.  */
17210
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
17211
 
choke me
17212
 
#else
17213
 
char (*f) () = dlopen;
17214
 
#endif
17215
 
#ifdef __cplusplus
17216
 
}
17217
 
#endif
17218
 
 
17219
 
int
17220
 
main ()
17221
 
{
17222
 
return f != dlopen;
17223
 
  ;
17224
 
  return 0;
17225
 
}
17226
 
_ACEOF
17227
 
rm -f conftest.$ac_objext conftest$ac_exeext
17228
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17229
 
  (eval $ac_link) 2>&5
17230
 
  ac_status=$?
17231
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232
 
  (exit $ac_status); } &&
17233
 
         { ac_try='test -s conftest$ac_exeext'
17234
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17235
 
  (eval $ac_try) 2>&5
17236
 
  ac_status=$?
17237
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238
 
  (exit $ac_status); }; }; then
17239
 
  ac_cv_func_dlopen=yes
17240
 
else
17241
 
  echo "$as_me: failed program was:" >&5
17242
 
sed 's/^/| /' conftest.$ac_ext >&5
17243
 
 
17244
 
ac_cv_func_dlopen=no
17245
 
fi
17246
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17247
 
fi
17248
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17249
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17250
 
if test $ac_cv_func_dlopen = yes; then
17251
 
  lt_cv_dlopen="dlopen"
17252
 
else
17253
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17254
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17255
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17256
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17257
 
else
17258
 
  ac_check_lib_save_LIBS=$LIBS
17259
 
LIBS="-ldl  $LIBS"
17260
 
cat >conftest.$ac_ext <<_ACEOF
17261
 
#line $LINENO "configure"
17262
 
/* confdefs.h.  */
17263
 
_ACEOF
17264
 
cat confdefs.h >>conftest.$ac_ext
17265
 
cat >>conftest.$ac_ext <<_ACEOF
17266
 
/* end confdefs.h.  */
17267
 
 
17268
 
/* Override any gcc2 internal prototype to avoid an error.  */
17269
 
#ifdef __cplusplus
17270
 
extern "C"
17271
 
#endif
17272
 
/* We use char because int might match the return type of a gcc2
17273
 
   builtin and then its argument prototype would still apply.  */
17274
 
char dlopen ();
17275
 
int
17276
 
main ()
17277
 
{
17278
 
dlopen ();
17279
 
  ;
17280
 
  return 0;
17281
 
}
17282
 
_ACEOF
17283
 
rm -f conftest.$ac_objext conftest$ac_exeext
17284
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17285
 
  (eval $ac_link) 2>&5
17286
 
  ac_status=$?
17287
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288
 
  (exit $ac_status); } &&
17289
 
         { ac_try='test -s conftest$ac_exeext'
17290
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17291
 
  (eval $ac_try) 2>&5
17292
 
  ac_status=$?
17293
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294
 
  (exit $ac_status); }; }; then
17295
 
  ac_cv_lib_dl_dlopen=yes
17296
 
else
17297
 
  echo "$as_me: failed program was:" >&5
17298
 
sed 's/^/| /' conftest.$ac_ext >&5
17299
 
 
17300
 
ac_cv_lib_dl_dlopen=no
17301
 
fi
17302
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17303
 
LIBS=$ac_check_lib_save_LIBS
17304
 
fi
17305
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17306
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17307
 
if test $ac_cv_lib_dl_dlopen = yes; then
17308
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17309
 
else
17310
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17311
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17312
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17313
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17314
 
else
17315
 
  ac_check_lib_save_LIBS=$LIBS
17316
 
LIBS="-lsvld  $LIBS"
17317
 
cat >conftest.$ac_ext <<_ACEOF
17318
 
#line $LINENO "configure"
17319
 
/* confdefs.h.  */
17320
 
_ACEOF
17321
 
cat confdefs.h >>conftest.$ac_ext
17322
 
cat >>conftest.$ac_ext <<_ACEOF
17323
 
/* end confdefs.h.  */
17324
 
 
17325
 
/* Override any gcc2 internal prototype to avoid an error.  */
17326
 
#ifdef __cplusplus
17327
 
extern "C"
17328
 
#endif
17329
 
/* We use char because int might match the return type of a gcc2
17330
 
   builtin and then its argument prototype would still apply.  */
17331
 
char dlopen ();
17332
 
int
17333
 
main ()
17334
 
{
17335
 
dlopen ();
17336
 
  ;
17337
 
  return 0;
17338
 
}
17339
 
_ACEOF
17340
 
rm -f conftest.$ac_objext conftest$ac_exeext
17341
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17342
 
  (eval $ac_link) 2>&5
17343
 
  ac_status=$?
17344
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345
 
  (exit $ac_status); } &&
17346
 
         { ac_try='test -s conftest$ac_exeext'
17347
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348
 
  (eval $ac_try) 2>&5
17349
 
  ac_status=$?
17350
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351
 
  (exit $ac_status); }; }; then
17352
 
  ac_cv_lib_svld_dlopen=yes
17353
 
else
17354
 
  echo "$as_me: failed program was:" >&5
17355
 
sed 's/^/| /' conftest.$ac_ext >&5
17356
 
 
17357
 
ac_cv_lib_svld_dlopen=no
17358
 
fi
17359
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17360
 
LIBS=$ac_check_lib_save_LIBS
17361
 
fi
17362
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17363
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17364
 
if test $ac_cv_lib_svld_dlopen = yes; then
17365
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17366
 
else
17367
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17368
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17369
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17370
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17371
 
else
17372
 
  ac_check_lib_save_LIBS=$LIBS
17373
 
LIBS="-ldld  $LIBS"
17374
 
cat >conftest.$ac_ext <<_ACEOF
17375
 
#line $LINENO "configure"
17376
 
/* confdefs.h.  */
17377
 
_ACEOF
17378
 
cat confdefs.h >>conftest.$ac_ext
17379
 
cat >>conftest.$ac_ext <<_ACEOF
17380
 
/* end confdefs.h.  */
17381
 
 
17382
 
/* Override any gcc2 internal prototype to avoid an error.  */
17383
 
#ifdef __cplusplus
17384
 
extern "C"
17385
 
#endif
17386
 
/* We use char because int might match the return type of a gcc2
17387
 
   builtin and then its argument prototype would still apply.  */
17388
 
char dld_link ();
17389
 
int
17390
 
main ()
17391
 
{
17392
 
dld_link ();
17393
 
  ;
17394
 
  return 0;
17395
 
}
17396
 
_ACEOF
17397
 
rm -f conftest.$ac_objext conftest$ac_exeext
17398
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17399
 
  (eval $ac_link) 2>&5
17400
 
  ac_status=$?
17401
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402
 
  (exit $ac_status); } &&
17403
 
         { ac_try='test -s conftest$ac_exeext'
17404
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405
 
  (eval $ac_try) 2>&5
17406
 
  ac_status=$?
17407
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408
 
  (exit $ac_status); }; }; then
17409
 
  ac_cv_lib_dld_dld_link=yes
17410
 
else
17411
 
  echo "$as_me: failed program was:" >&5
17412
 
sed 's/^/| /' conftest.$ac_ext >&5
17413
 
 
17414
 
ac_cv_lib_dld_dld_link=no
17415
 
fi
17416
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17417
 
LIBS=$ac_check_lib_save_LIBS
17418
 
fi
17419
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17420
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17421
 
if test $ac_cv_lib_dld_dld_link = yes; then
17422
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17423
 
fi
17424
 
 
17425
 
 
17426
 
fi
17427
 
 
17428
 
 
17429
 
fi
17430
 
 
17431
 
 
17432
 
fi
17433
 
 
17434
 
 
17435
 
fi
17436
 
 
17437
 
 
17438
 
fi
17439
 
 
17440
 
    ;;
17441
 
  esac
17442
 
 
17443
 
  if test "x$lt_cv_dlopen" != xno; then
17444
 
    enable_dlopen=yes
17445
 
  else
17446
 
    enable_dlopen=no
17447
 
  fi
17448
 
 
17449
 
  case $lt_cv_dlopen in
17450
 
  dlopen)
17451
 
    save_CPPFLAGS="$CPPFLAGS"
17452
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17453
 
 
17454
 
    save_LDFLAGS="$LDFLAGS"
17455
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17456
 
 
17457
 
    save_LIBS="$LIBS"
17458
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
17459
 
 
17460
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17461
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17462
 
if test "${lt_cv_dlopen_self+set}" = set; then
17463
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17464
 
else
17465
 
          if test "$cross_compiling" = yes; then :
17466
 
  lt_cv_dlopen_self=cross
17467
 
else
17468
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17469
 
  lt_status=$lt_dlunknown
17470
 
  cat > conftest.$ac_ext <<EOF
17471
 
#line 17471 "configure"
17472
 
#include "confdefs.h"
17473
 
 
17474
 
#if HAVE_DLFCN_H
17475
 
#include <dlfcn.h>
17476
 
#endif
17477
 
 
17478
 
#include <stdio.h>
17479
 
 
17480
 
#ifdef RTLD_GLOBAL
17481
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
17482
 
#else
17483
 
#  ifdef DL_GLOBAL
17484
 
#    define LT_DLGLOBAL         DL_GLOBAL
17485
 
#  else
17486
 
#    define LT_DLGLOBAL         0
17487
 
#  endif
17488
 
#endif
17489
 
 
17490
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17491
 
   find out it does not work in some platform. */
17492
 
#ifndef LT_DLLAZY_OR_NOW
17493
 
#  ifdef RTLD_LAZY
17494
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
17495
 
#  else
17496
 
#    ifdef DL_LAZY
17497
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
17498
 
#    else
17499
 
#      ifdef RTLD_NOW
17500
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
17501
 
#      else
17502
 
#        ifdef DL_NOW
17503
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
17504
 
#        else
17505
 
#          define LT_DLLAZY_OR_NOW      0
17506
 
#        endif
17507
 
#      endif
17508
 
#    endif
17509
 
#  endif
17510
 
#endif
17511
 
 
17512
 
#ifdef __cplusplus
17513
 
extern "C" void exit (int);
17514
 
#endif
17515
 
 
17516
 
void fnord() { int i=42;}
17517
 
int main ()
17518
 
{
17519
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17520
 
  int status = $lt_dlunknown;
17521
 
 
17522
 
  if (self)
17523
 
    {
17524
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
17525
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17526
 
      /* dlclose (self); */
17527
 
    }
17528
 
 
17529
 
    exit (status);
17530
 
}
17531
 
EOF
17532
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17533
 
  (eval $ac_link) 2>&5
17534
 
  ac_status=$?
17535
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17537
 
    (./conftest; exit; ) 2>/dev/null
17538
 
    lt_status=$?
17539
 
    case x$lt_status in
17540
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17541
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17542
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17543
 
    esac
17544
 
  else :
17545
 
    # compilation failed
17546
 
    lt_cv_dlopen_self=no
17547
 
  fi
17548
 
fi
17549
 
rm -fr conftest*
17550
 
 
17551
 
 
17552
 
fi
17553
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17554
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17555
 
 
17556
 
    if test "x$lt_cv_dlopen_self" = xyes; then
17557
 
      LDFLAGS="$LDFLAGS $link_static_flag"
17558
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17559
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17560
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
17561
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17562
 
else
17563
 
          if test "$cross_compiling" = yes; then :
17564
 
  lt_cv_dlopen_self_static=cross
17565
 
else
17566
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17567
 
  lt_status=$lt_dlunknown
17568
 
  cat > conftest.$ac_ext <<EOF
17569
 
#line 17569 "configure"
17570
 
#include "confdefs.h"
17571
 
 
17572
 
#if HAVE_DLFCN_H
17573
 
#include <dlfcn.h>
17574
 
#endif
17575
 
 
17576
 
#include <stdio.h>
17577
 
 
17578
 
#ifdef RTLD_GLOBAL
17579
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
17580
 
#else
17581
 
#  ifdef DL_GLOBAL
17582
 
#    define LT_DLGLOBAL         DL_GLOBAL
17583
 
#  else
17584
 
#    define LT_DLGLOBAL         0
17585
 
#  endif
17586
 
#endif
17587
 
 
17588
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17589
 
   find out it does not work in some platform. */
17590
 
#ifndef LT_DLLAZY_OR_NOW
17591
 
#  ifdef RTLD_LAZY
17592
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
17593
 
#  else
17594
 
#    ifdef DL_LAZY
17595
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
17596
 
#    else
17597
 
#      ifdef RTLD_NOW
17598
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
17599
 
#      else
17600
 
#        ifdef DL_NOW
17601
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
17602
 
#        else
17603
 
#          define LT_DLLAZY_OR_NOW      0
17604
 
#        endif
17605
 
#      endif
17606
 
#    endif
17607
 
#  endif
17608
 
#endif
17609
 
 
17610
 
#ifdef __cplusplus
17611
 
extern "C" void exit (int);
17612
 
#endif
17613
 
 
17614
 
void fnord() { int i=42;}
17615
 
int main ()
17616
 
{
17617
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17618
 
  int status = $lt_dlunknown;
17619
 
 
17620
 
  if (self)
17621
 
    {
17622
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
17623
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17624
 
      /* dlclose (self); */
17625
 
    }
17626
 
 
17627
 
    exit (status);
17628
 
}
17629
 
EOF
17630
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17631
 
  (eval $ac_link) 2>&5
17632
 
  ac_status=$?
17633
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17634
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17635
 
    (./conftest; exit; ) 2>/dev/null
17636
 
    lt_status=$?
17637
 
    case x$lt_status in
17638
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17639
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17640
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17641
 
    esac
17642
 
  else :
17643
 
    # compilation failed
17644
 
    lt_cv_dlopen_self_static=no
17645
 
  fi
17646
 
fi
17647
 
rm -fr conftest*
17648
 
 
17649
 
 
17650
 
fi
17651
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17652
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17653
 
    fi
17654
 
 
17655
 
    CPPFLAGS="$save_CPPFLAGS"
17656
 
    LDFLAGS="$save_LDFLAGS"
17657
 
    LIBS="$save_LIBS"
17658
 
    ;;
17659
 
  esac
17660
 
 
17661
 
  case $lt_cv_dlopen_self in
17662
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17663
 
  *) enable_dlopen_self=unknown ;;
17664
 
  esac
17665
 
 
17666
 
  case $lt_cv_dlopen_self_static in
17667
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17668
 
  *) enable_dlopen_self_static=unknown ;;
17669
 
  esac
17670
 
fi
17671
 
 
17672
19185
 
17673
19186
# The else clause should only fire when bootstrapping the
17674
19187
# libtool distribution, otherwise you forgot to ship ltmain.sh
17683
19196
  # Now quote all the things that may contain metacharacters while being
17684
19197
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
17685
19198
  # variables and quote the copies for generation of the libtool script.
17686
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
19199
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17687
19200
    SED SHELL STRIP \
17688
19201
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17689
19202
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17784
19297
# The host system.
17785
19298
host_alias=$host_alias
17786
19299
host=$host
 
19300
host_os=$host_os
 
19301
 
 
19302
# The build system.
 
19303
build_alias=$build_alias
 
19304
build=$build
 
19305
build_os=$build_os
17787
19306
 
17788
19307
# An echo program that does not interpret backslashes.
17789
19308
echo=$lt_echo
17795
19314
# A C compiler.
17796
19315
LTCC=$lt_LTCC
17797
19316
 
 
19317
# LTCC compiler flags.
 
19318
LTCFLAGS=$lt_LTCFLAGS
 
19319
 
17798
19320
# A language-specific compiler.
17799
19321
CC=$lt_compiler_GCJ
17800
19322
 
17845
19367
libext="$libext"
17846
19368
 
17847
19369
# Shared library suffix (normally ".so").
17848
 
shrext='$shrext'
 
19370
shrext_cmds='$shrext_cmds'
17849
19371
 
17850
19372
# Executable file suffix (normally "").
17851
19373
exeext="$exeext"
17860
19382
# Does compiler simultaneously support -c and -o options?
17861
19383
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17862
19384
 
17863
 
# Must we lock files when doing compilation ?
 
19385
# Must we lock files when doing compilation?
17864
19386
need_locks=$lt_need_locks
17865
19387
 
17866
19388
# Do we need the lib prefix for modules?
18085
19607
      RC)
18086
19608
 
18087
19609
 
18088
 
 
18089
19610
# Source file extension for RC test sources.
18090
19611
ac_ext=rc
18091
19612
 
18104
19625
# If no C compiler was specified, use CC.
18105
19626
LTCC=${LTCC-"$CC"}
18106
19627
 
 
19628
# If no C compiler flags were specified, use CFLAGS.
 
19629
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
19630
 
18107
19631
# Allow CC to be a program name with arguments.
18108
19632
compiler=$CC
18109
19633
 
18110
19634
 
 
19635
# save warnings/boilerplate of simple test code
 
19636
ac_outfile=conftest.$ac_objext
 
19637
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
19638
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
19639
_lt_compiler_boilerplate=`cat conftest.err`
 
19640
$rm conftest*
 
19641
 
 
19642
ac_outfile=conftest.$ac_objext
 
19643
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
19644
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
19645
_lt_linker_boilerplate=`cat conftest.err`
 
19646
$rm conftest*
 
19647
 
 
19648
 
18111
19649
# Allow CC to be a program name with arguments.
18112
19650
lt_save_CC="$CC"
18113
19651
CC=${RC-"windres"}
18114
19652
compiler=$CC
18115
19653
compiler_RC=$CC
 
19654
for cc_temp in $compiler""; do
 
19655
  case $cc_temp in
 
19656
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
19657
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
19658
    \-*) ;;
 
19659
    *) break;;
 
19660
  esac
 
19661
done
 
19662
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
19663
 
18116
19664
lt_cv_prog_compiler_c_o_RC=yes
18117
19665
 
18118
19666
# The else clause should only fire when bootstrapping the
18128
19676
  # Now quote all the things that may contain metacharacters while being
18129
19677
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18130
19678
  # variables and quote the copies for generation of the libtool script.
18131
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
19679
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18132
19680
    SED SHELL STRIP \
18133
19681
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18134
19682
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18229
19777
# The host system.
18230
19778
host_alias=$host_alias
18231
19779
host=$host
 
19780
host_os=$host_os
 
19781
 
 
19782
# The build system.
 
19783
build_alias=$build_alias
 
19784
build=$build
 
19785
build_os=$build_os
18232
19786
 
18233
19787
# An echo program that does not interpret backslashes.
18234
19788
echo=$lt_echo
18240
19794
# A C compiler.
18241
19795
LTCC=$lt_LTCC
18242
19796
 
 
19797
# LTCC compiler flags.
 
19798
LTCFLAGS=$lt_LTCFLAGS
 
19799
 
18243
19800
# A language-specific compiler.
18244
19801
CC=$lt_compiler_RC
18245
19802
 
18290
19847
libext="$libext"
18291
19848
 
18292
19849
# Shared library suffix (normally ".so").
18293
 
shrext='$shrext'
 
19850
shrext_cmds='$shrext_cmds'
18294
19851
 
18295
19852
# Executable file suffix (normally "").
18296
19853
exeext="$exeext"
18305
19862
# Does compiler simultaneously support -c and -o options?
18306
19863
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18307
19864
 
18308
 
# Must we lock files when doing compilation ?
 
19865
# Must we lock files when doing compilation?
18309
19866
need_locks=$lt_need_locks
18310
19867
 
18311
19868
# Do we need the lib prefix for modules?
18581
20138
 
18582
20139
 
18583
20140
 
18584
 
# Checks for libraries.
18585
 
 
18586
 
# Checks for header files.
18587
 
 
18588
 
# Checks for typedefs, structures, and compiler characteristics.
18589
 
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18590
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18591
 
if test "${ac_cv_c_const+set}" = set; then
18592
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18593
 
else
18594
 
  cat >conftest.$ac_ext <<_ACEOF
18595
 
#line $LINENO "configure"
18596
 
/* confdefs.h.  */
18597
 
_ACEOF
18598
 
cat confdefs.h >>conftest.$ac_ext
18599
 
cat >>conftest.$ac_ext <<_ACEOF
18600
 
/* end confdefs.h.  */
18601
 
 
18602
 
int
18603
 
main ()
18604
 
{
18605
 
/* FIXME: Include the comments suggested by Paul. */
18606
 
#ifndef __cplusplus
18607
 
  /* Ultrix mips cc rejects this.  */
18608
 
  typedef int charset[2];
18609
 
  const charset x;
18610
 
  /* SunOS 4.1.1 cc rejects this.  */
18611
 
  char const *const *ccp;
18612
 
  char **p;
18613
 
  /* NEC SVR4.0.2 mips cc rejects this.  */
18614
 
  struct point {int x, y;};
18615
 
  static struct point const zero = {0,0};
18616
 
  /* AIX XL C 1.02.0.0 rejects this.
18617
 
     It does not let you subtract one const X* pointer from another in
18618
 
     an arm of an if-expression whose if-part is not a constant
18619
 
     expression */
18620
 
  const char *g = "string";
18621
 
  ccp = &g + (g ? g-g : 0);
18622
 
  /* HPUX 7.0 cc rejects these. */
18623
 
  ++ccp;
18624
 
  p = (char**) ccp;
18625
 
  ccp = (char const *const *) p;
18626
 
  { /* SCO 3.2v4 cc rejects this.  */
18627
 
    char *t;
18628
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
18629
 
 
18630
 
    *t++ = 0;
18631
 
  }
18632
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
18633
 
    int x[] = {25, 17};
18634
 
    const int *foo = &x[0];
18635
 
    ++foo;
18636
 
  }
18637
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18638
 
    typedef const int *iptr;
18639
 
    iptr p = 0;
18640
 
    ++p;
18641
 
  }
18642
 
  { /* AIX XL C 1.02.0.0 rejects this saying
18643
 
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18644
 
    struct s { int j; const int *ap[3]; };
18645
 
    struct s *b; b->j = 5;
18646
 
  }
18647
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18648
 
    const int foo = 10;
18649
 
  }
18650
 
#endif
18651
 
 
18652
 
  ;
18653
 
  return 0;
18654
 
}
18655
 
_ACEOF
18656
 
rm -f conftest.$ac_objext
18657
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18658
 
  (eval $ac_compile) 2>&5
18659
 
  ac_status=$?
18660
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661
 
  (exit $ac_status); } &&
18662
 
         { ac_try='test -s conftest.$ac_objext'
18663
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18664
 
  (eval $ac_try) 2>&5
18665
 
  ac_status=$?
18666
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667
 
  (exit $ac_status); }; }; then
18668
 
  ac_cv_c_const=yes
18669
 
else
18670
 
  echo "$as_me: failed program was:" >&5
18671
 
sed 's/^/| /' conftest.$ac_ext >&5
18672
 
 
18673
 
ac_cv_c_const=no
18674
 
fi
18675
 
rm -f conftest.$ac_objext conftest.$ac_ext
18676
 
fi
18677
 
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18678
 
echo "${ECHO_T}$ac_cv_c_const" >&6
18679
 
if test $ac_cv_c_const = no; then
18680
 
 
18681
 
cat >>confdefs.h <<\_ACEOF
18682
 
#define const
18683
 
_ACEOF
18684
 
 
18685
 
fi
18686
 
 
18687
 
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
18688
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
18689
 
if test "${ac_cv_header_time+set}" = set; then
18690
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18691
 
else
18692
 
  cat >conftest.$ac_ext <<_ACEOF
18693
 
#line $LINENO "configure"
18694
 
/* confdefs.h.  */
18695
 
_ACEOF
18696
 
cat confdefs.h >>conftest.$ac_ext
18697
 
cat >>conftest.$ac_ext <<_ACEOF
18698
 
/* end confdefs.h.  */
18699
 
#include <sys/types.h>
18700
 
#include <sys/time.h>
18701
 
#include <time.h>
18702
 
 
18703
 
int
18704
 
main ()
18705
 
{
18706
 
if ((struct tm *) 0)
18707
 
return 0;
18708
 
  ;
18709
 
  return 0;
18710
 
}
18711
 
_ACEOF
18712
 
rm -f conftest.$ac_objext
18713
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18714
 
  (eval $ac_compile) 2>&5
18715
 
  ac_status=$?
18716
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717
 
  (exit $ac_status); } &&
18718
 
         { ac_try='test -s conftest.$ac_objext'
18719
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18720
 
  (eval $ac_try) 2>&5
18721
 
  ac_status=$?
18722
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723
 
  (exit $ac_status); }; }; then
18724
 
  ac_cv_header_time=yes
18725
 
else
18726
 
  echo "$as_me: failed program was:" >&5
18727
 
sed 's/^/| /' conftest.$ac_ext >&5
18728
 
 
18729
 
ac_cv_header_time=no
18730
 
fi
18731
 
rm -f conftest.$ac_objext conftest.$ac_ext
18732
 
fi
18733
 
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
18734
 
echo "${ECHO_T}$ac_cv_header_time" >&6
18735
 
if test $ac_cv_header_time = yes; then
18736
 
 
18737
 
cat >>confdefs.h <<\_ACEOF
18738
 
#define TIME_WITH_SYS_TIME 1
18739
 
_ACEOF
18740
 
 
18741
 
fi
18742
 
 
18743
 
echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
18744
 
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
18745
 
if test "${ac_cv_struct_tm+set}" = set; then
18746
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18747
 
else
18748
 
  cat >conftest.$ac_ext <<_ACEOF
18749
 
#line $LINENO "configure"
18750
 
/* confdefs.h.  */
18751
 
_ACEOF
18752
 
cat confdefs.h >>conftest.$ac_ext
18753
 
cat >>conftest.$ac_ext <<_ACEOF
18754
 
/* end confdefs.h.  */
18755
 
#include <sys/types.h>
18756
 
#include <time.h>
18757
 
 
18758
 
int
18759
 
main ()
18760
 
{
18761
 
struct tm *tp; tp->tm_sec;
18762
 
  ;
18763
 
  return 0;
18764
 
}
18765
 
_ACEOF
18766
 
rm -f conftest.$ac_objext
18767
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18768
 
  (eval $ac_compile) 2>&5
18769
 
  ac_status=$?
18770
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771
 
  (exit $ac_status); } &&
18772
 
         { ac_try='test -s conftest.$ac_objext'
18773
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18774
 
  (eval $ac_try) 2>&5
18775
 
  ac_status=$?
18776
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777
 
  (exit $ac_status); }; }; then
18778
 
  ac_cv_struct_tm=time.h
18779
 
else
18780
 
  echo "$as_me: failed program was:" >&5
18781
 
sed 's/^/| /' conftest.$ac_ext >&5
18782
 
 
18783
 
ac_cv_struct_tm=sys/time.h
18784
 
fi
18785
 
rm -f conftest.$ac_objext conftest.$ac_ext
18786
 
fi
18787
 
echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
18788
 
echo "${ECHO_T}$ac_cv_struct_tm" >&6
18789
 
if test $ac_cv_struct_tm = sys/time.h; then
18790
 
 
18791
 
cat >>confdefs.h <<\_ACEOF
18792
 
#define TM_IN_SYS_TIME 1
18793
 
_ACEOF
18794
 
 
18795
 
fi
18796
 
 
18797
 
 
18798
 
# Checks for library functions.
18799
 
 
18800
 
for ac_func in strftime
18801
 
do
18802
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18803
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
18804
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18805
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
18806
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18807
 
else
18808
 
  cat >conftest.$ac_ext <<_ACEOF
18809
 
#line $LINENO "configure"
18810
 
/* confdefs.h.  */
18811
 
_ACEOF
18812
 
cat confdefs.h >>conftest.$ac_ext
18813
 
cat >>conftest.$ac_ext <<_ACEOF
18814
 
/* end confdefs.h.  */
18815
 
/* System header to define __stub macros and hopefully few prototypes,
18816
 
    which can conflict with char $ac_func (); below.
18817
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18818
 
    <limits.h> exists even on freestanding compilers.  */
18819
 
#ifdef __STDC__
18820
 
# include <limits.h>
18821
 
#else
18822
 
# include <assert.h>
18823
 
#endif
18824
 
/* Override any gcc2 internal prototype to avoid an error.  */
18825
 
#ifdef __cplusplus
18826
 
extern "C"
18827
 
{
18828
 
#endif
18829
 
/* We use char because int might match the return type of a gcc2
18830
 
   builtin and then its argument prototype would still apply.  */
18831
 
char $ac_func ();
18832
 
/* The GNU C library defines this for functions which it implements
18833
 
    to always fail with ENOSYS.  Some functions are actually named
18834
 
    something starting with __ and the normal name is an alias.  */
18835
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18836
 
choke me
18837
 
#else
18838
 
char (*f) () = $ac_func;
18839
 
#endif
18840
 
#ifdef __cplusplus
18841
 
}
18842
 
#endif
18843
 
 
18844
 
int
18845
 
main ()
18846
 
{
18847
 
return f != $ac_func;
18848
 
  ;
18849
 
  return 0;
18850
 
}
18851
 
_ACEOF
18852
 
rm -f conftest.$ac_objext conftest$ac_exeext
18853
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18854
 
  (eval $ac_link) 2>&5
18855
 
  ac_status=$?
18856
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857
 
  (exit $ac_status); } &&
18858
 
         { ac_try='test -s conftest$ac_exeext'
18859
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18860
 
  (eval $ac_try) 2>&5
18861
 
  ac_status=$?
18862
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863
 
  (exit $ac_status); }; }; then
18864
 
  eval "$as_ac_var=yes"
18865
 
else
18866
 
  echo "$as_me: failed program was:" >&5
18867
 
sed 's/^/| /' conftest.$ac_ext >&5
18868
 
 
18869
 
eval "$as_ac_var=no"
18870
 
fi
18871
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18872
 
fi
18873
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18874
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18875
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
18876
 
  cat >>confdefs.h <<_ACEOF
18877
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18878
 
_ACEOF
18879
 
 
18880
 
else
18881
 
  # strftime is in -lintl on SCO UNIX.
18882
 
echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
18883
 
echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
18884
 
if test "${ac_cv_lib_intl_strftime+set}" = set; then
18885
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18886
 
else
18887
 
  ac_check_lib_save_LIBS=$LIBS
18888
 
LIBS="-lintl  $LIBS"
18889
 
cat >conftest.$ac_ext <<_ACEOF
18890
 
#line $LINENO "configure"
18891
 
/* confdefs.h.  */
18892
 
_ACEOF
18893
 
cat confdefs.h >>conftest.$ac_ext
18894
 
cat >>conftest.$ac_ext <<_ACEOF
18895
 
/* end confdefs.h.  */
18896
 
 
18897
 
/* Override any gcc2 internal prototype to avoid an error.  */
18898
 
#ifdef __cplusplus
18899
 
extern "C"
18900
 
#endif
18901
 
/* We use char because int might match the return type of a gcc2
18902
 
   builtin and then its argument prototype would still apply.  */
18903
 
char strftime ();
18904
 
int
18905
 
main ()
18906
 
{
18907
 
strftime ();
18908
 
  ;
18909
 
  return 0;
18910
 
}
18911
 
_ACEOF
18912
 
rm -f conftest.$ac_objext conftest$ac_exeext
18913
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18914
 
  (eval $ac_link) 2>&5
18915
 
  ac_status=$?
18916
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917
 
  (exit $ac_status); } &&
18918
 
         { ac_try='test -s conftest$ac_exeext'
18919
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18920
 
  (eval $ac_try) 2>&5
18921
 
  ac_status=$?
18922
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923
 
  (exit $ac_status); }; }; then
18924
 
  ac_cv_lib_intl_strftime=yes
18925
 
else
18926
 
  echo "$as_me: failed program was:" >&5
18927
 
sed 's/^/| /' conftest.$ac_ext >&5
18928
 
 
18929
 
ac_cv_lib_intl_strftime=no
18930
 
fi
18931
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18932
 
LIBS=$ac_check_lib_save_LIBS
18933
 
fi
18934
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
18935
 
echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
18936
 
if test $ac_cv_lib_intl_strftime = yes; then
18937
 
  cat >>confdefs.h <<\_ACEOF
18938
 
#define HAVE_STRFTIME 1
18939
 
_ACEOF
18940
 
 
18941
 
LIBS="-lintl $LIBS"
18942
 
fi
18943
 
 
18944
 
fi
18945
 
done
18946
 
 
18947
 
 
18948
 
for ac_func in strstr
18949
 
do
18950
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18951
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
18952
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18953
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
18954
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18955
 
else
18956
 
  cat >conftest.$ac_ext <<_ACEOF
18957
 
#line $LINENO "configure"
18958
 
/* confdefs.h.  */
18959
 
_ACEOF
18960
 
cat confdefs.h >>conftest.$ac_ext
18961
 
cat >>conftest.$ac_ext <<_ACEOF
18962
 
/* end confdefs.h.  */
18963
 
/* System header to define __stub macros and hopefully few prototypes,
18964
 
    which can conflict with char $ac_func (); below.
18965
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18966
 
    <limits.h> exists even on freestanding compilers.  */
18967
 
#ifdef __STDC__
18968
 
# include <limits.h>
18969
 
#else
18970
 
# include <assert.h>
18971
 
#endif
18972
 
/* Override any gcc2 internal prototype to avoid an error.  */
18973
 
#ifdef __cplusplus
18974
 
extern "C"
18975
 
{
18976
 
#endif
18977
 
/* We use char because int might match the return type of a gcc2
18978
 
   builtin and then its argument prototype would still apply.  */
18979
 
char $ac_func ();
18980
 
/* The GNU C library defines this for functions which it implements
18981
 
    to always fail with ENOSYS.  Some functions are actually named
18982
 
    something starting with __ and the normal name is an alias.  */
18983
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18984
 
choke me
18985
 
#else
18986
 
char (*f) () = $ac_func;
18987
 
#endif
18988
 
#ifdef __cplusplus
18989
 
}
18990
 
#endif
18991
 
 
18992
 
int
18993
 
main ()
18994
 
{
18995
 
return f != $ac_func;
18996
 
  ;
18997
 
  return 0;
18998
 
}
18999
 
_ACEOF
19000
 
rm -f conftest.$ac_objext conftest$ac_exeext
19001
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19002
 
  (eval $ac_link) 2>&5
19003
 
  ac_status=$?
19004
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005
 
  (exit $ac_status); } &&
19006
 
         { ac_try='test -s conftest$ac_exeext'
19007
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19008
 
  (eval $ac_try) 2>&5
19009
 
  ac_status=$?
19010
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011
 
  (exit $ac_status); }; }; then
19012
 
  eval "$as_ac_var=yes"
19013
 
else
19014
 
  echo "$as_me: failed program was:" >&5
19015
 
sed 's/^/| /' conftest.$ac_ext >&5
19016
 
 
19017
 
eval "$as_ac_var=no"
19018
 
fi
19019
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19020
 
fi
19021
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19022
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19023
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
19024
 
  cat >>confdefs.h <<_ACEOF
19025
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19026
 
_ACEOF
19027
 
 
19028
 
fi
19029
 
done
19030
 
 
19031
 
 
19032
 
# checks for xfce stuff
19033
 
# checks for the xfce panel plugin
19034
 
 
19035
 
 
19036
 
 
19037
 
  succeeded=no
19038
 
 
19039
 
  if test -z "$PKG_CONFIG"; then
19040
 
    # Extract the first word of "pkg-config", so it can be a program name with args.
19041
 
set dummy pkg-config; ac_word=$2
19042
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19043
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19044
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19045
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19046
 
else
19047
 
  case $PKG_CONFIG in
19048
 
  [\\/]* | ?:[\\/]*)
19049
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19050
 
  ;;
19051
 
  *)
19052
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19053
 
for as_dir in $PATH
19054
 
do
19055
 
  IFS=$as_save_IFS
19056
 
  test -z "$as_dir" && as_dir=.
19057
 
  for ac_exec_ext in '' $ac_executable_extensions; do
19058
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19059
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19060
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19061
 
    break 2
19062
 
  fi
19063
 
done
19064
 
done
19065
 
 
19066
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19067
 
  ;;
19068
 
esac
19069
 
fi
19070
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19071
 
 
19072
 
if test -n "$PKG_CONFIG"; then
19073
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19074
 
echo "${ECHO_T}$PKG_CONFIG" >&6
19075
 
else
19076
 
  echo "$as_me:$LINENO: result: no" >&5
19077
 
echo "${ECHO_T}no" >&6
19078
 
fi
19079
 
 
19080
 
  fi
19081
 
 
19082
 
  if test "$PKG_CONFIG" = "no" ; then
19083
 
     echo "*** The pkg-config script could not be found. Make sure it is"
19084
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
19085
 
     echo "*** to the full path to pkg-config."
19086
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19087
 
  else
19088
 
     PKG_CONFIG_MIN_VERSION=0.9.0
19089
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19090
 
        echo "$as_me:$LINENO: checking for xfce4-panel-1.0 >= 4.0.0" >&5
19091
 
echo $ECHO_N "checking for xfce4-panel-1.0 >= 4.0.0... $ECHO_C" >&6
19092
 
 
19093
 
        if $PKG_CONFIG --exists "xfce4-panel-1.0 >= 4.0.0" ; then
19094
 
            echo "$as_me:$LINENO: result: yes" >&5
19095
 
echo "${ECHO_T}yes" >&6
19096
 
            succeeded=yes
19097
 
 
19098
 
            echo "$as_me:$LINENO: checking XFCE4_PANEL_CFLAGS" >&5
19099
 
echo $ECHO_N "checking XFCE4_PANEL_CFLAGS... $ECHO_C" >&6
19100
 
            XFCE4_PANEL_CFLAGS=`$PKG_CONFIG --cflags "xfce4-panel-1.0 >= 4.0.0"`
19101
 
            echo "$as_me:$LINENO: result: $XFCE4_PANEL_CFLAGS" >&5
19102
 
echo "${ECHO_T}$XFCE4_PANEL_CFLAGS" >&6
19103
 
 
19104
 
            echo "$as_me:$LINENO: checking XFCE4_PANEL_LIBS" >&5
19105
 
echo $ECHO_N "checking XFCE4_PANEL_LIBS... $ECHO_C" >&6
19106
 
            XFCE4_PANEL_LIBS=`$PKG_CONFIG --libs "xfce4-panel-1.0 >= 4.0.0"`
19107
 
            echo "$as_me:$LINENO: result: $XFCE4_PANEL_LIBS" >&5
19108
 
echo "${ECHO_T}$XFCE4_PANEL_LIBS" >&6
19109
 
        else
19110
 
            XFCE4_PANEL_CFLAGS=""
19111
 
            XFCE4_PANEL_LIBS=""
19112
 
            ## If we have a custom action on failure, don't print errors, but
19113
 
            ## do set a variable so people can do so.
19114
 
            XFCE4_PANEL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xfce4-panel-1.0 >= 4.0.0"`
19115
 
            echo $XFCE4_PANEL_PKG_ERRORS
19116
 
        fi
19117
 
 
19118
 
 
19119
 
 
19120
 
     else
19121
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19122
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
19123
 
     fi
19124
 
  fi
19125
 
 
19126
 
  if test $succeeded = yes; then
19127
 
     :
19128
 
  else
19129
 
     { { echo "$as_me:$LINENO: error: Library requirements (xfce4-panel-1.0 >= 4.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
19130
 
echo "$as_me: error: Library requirements (xfce4-panel-1.0 >= 4.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
19131
 
   { (exit 1); exit 1; }; }
19132
 
  fi
19133
 
 
19134
 
  XFCE4_PANEL_REQUIRED_VERSION=4.0.0
19135
 
 
19136
 
 
19137
 
 
19138
 
    echo "$as_me:$LINENO: checking where to install panel plugins" >&5
19139
 
echo $ECHO_N "checking where to install panel plugins... $ECHO_C" >&6
19140
 
  XFCE4_PANEL_PLUGINSDIR=`$PKG_CONFIG --variable=pluginsdir xfce4-panel-1.0`
19141
 
 
19142
 
  echo "$as_me:$LINENO: result: $XFCE4_PANEL_PLUGINSDIR" >&5
19143
 
echo "${ECHO_T}$XFCE4_PANEL_PLUGINSDIR" >&6
19144
 
 
19145
 
 
19146
 
# Check for i18n support
19147
 
 
19148
 
  GETTEXT_PACKAGE=xfce4-datetime
19149
 
 
19150
 
 
19151
 
cat >>confdefs.h <<\_ACEOF
19152
 
#define GETTEXT_PACKAGE "xfce4-datetime"
19153
 
_ACEOF
19154
 
 
19155
 
 
19156
 
  ALL_LINGUAS="ca fr ko"
19157
 
 
 
20141
 
 
20142
    GETTEXT_PACKAGE=datetime
 
20143
 
 
20144
cat >>confdefs.h <<_ACEOF
 
20145
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
20146
_ACEOF
 
20147
 
 
20148
 
 
20149
 
 
20150
    ALL_LINGUAS="nl"
19158
20151
 
19159
20152
 
19160
20153
for ac_header in locale.h
19161
20154
do
19162
20155
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19163
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19164
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
19165
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19166
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
20156
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20157
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20158
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20159
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19167
20160
  echo $ECHO_N "(cached) $ECHO_C" >&6
19168
20161
fi
19169
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19170
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20162
ac_res=`eval echo '${'$as_ac_Header'}'`
 
20163
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20164
echo "${ECHO_T}$ac_res" >&6; }
19171
20165
else
19172
20166
  # Is the header compilable?
19173
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
19174
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
20167
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20168
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19175
20169
cat >conftest.$ac_ext <<_ACEOF
19176
 
#line $LINENO "configure"
19177
20170
/* confdefs.h.  */
19178
20171
_ACEOF
19179
20172
cat confdefs.h >>conftest.$ac_ext
19183
20176
#include <$ac_header>
19184
20177
_ACEOF
19185
20178
rm -f conftest.$ac_objext
19186
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19187
 
  (eval $ac_compile) 2>&5
 
20179
if { (ac_try="$ac_compile"
 
20180
case "(($ac_try" in
 
20181
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20182
  *) ac_try_echo=$ac_try;;
 
20183
esac
 
20184
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20185
  (eval "$ac_compile") 2>conftest.er1
19188
20186
  ac_status=$?
 
20187
  grep -v '^ *+' conftest.er1 >conftest.err
 
20188
  rm -f conftest.er1
 
20189
  cat conftest.err >&5
19189
20190
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190
20191
  (exit $ac_status); } &&
19191
 
         { ac_try='test -s conftest.$ac_objext'
19192
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19193
 
  (eval $ac_try) 2>&5
 
20192
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20193
  { (case "(($ac_try" in
 
20194
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20195
  *) ac_try_echo=$ac_try;;
 
20196
esac
 
20197
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20198
  (eval "$ac_try") 2>&5
 
20199
  ac_status=$?
 
20200
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20201
  (exit $ac_status); }; } &&
 
20202
         { ac_try='test -s conftest.$ac_objext'
 
20203
  { (case "(($ac_try" in
 
20204
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20205
  *) ac_try_echo=$ac_try;;
 
20206
esac
 
20207
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20208
  (eval "$ac_try") 2>&5
19194
20209
  ac_status=$?
19195
20210
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196
20211
  (exit $ac_status); }; }; then
19199
20214
  echo "$as_me: failed program was:" >&5
19200
20215
sed 's/^/| /' conftest.$ac_ext >&5
19201
20216
 
19202
 
ac_header_compiler=no
 
20217
        ac_header_compiler=no
19203
20218
fi
19204
 
rm -f conftest.$ac_objext conftest.$ac_ext
19205
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19206
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
20219
 
 
20220
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20221
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20222
echo "${ECHO_T}$ac_header_compiler" >&6; }
19207
20223
 
19208
20224
# Is the header present?
19209
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
19210
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
20225
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20226
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19211
20227
cat >conftest.$ac_ext <<_ACEOF
19212
 
#line $LINENO "configure"
19213
20228
/* confdefs.h.  */
19214
20229
_ACEOF
19215
20230
cat confdefs.h >>conftest.$ac_ext
19217
20232
/* end confdefs.h.  */
19218
20233
#include <$ac_header>
19219
20234
_ACEOF
19220
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19221
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20235
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20236
case "(($ac_try" in
 
20237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20238
  *) ac_try_echo=$ac_try;;
 
20239
esac
 
20240
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20241
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19222
20242
  ac_status=$?
19223
20243
  grep -v '^ *+' conftest.er1 >conftest.err
19224
20244
  rm -f conftest.er1
19227
20247
  (exit $ac_status); } >/dev/null; then
19228
20248
  if test -s conftest.err; then
19229
20249
    ac_cpp_err=$ac_c_preproc_warn_flag
 
20250
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19230
20251
  else
19231
20252
    ac_cpp_err=
19232
20253
  fi
19241
20262
 
19242
20263
  ac_header_preproc=no
19243
20264
fi
 
20265
 
19244
20266
rm -f conftest.err conftest.$ac_ext
19245
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19246
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
20267
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20268
echo "${ECHO_T}$ac_header_preproc" >&6; }
19247
20269
 
19248
20270
# So?  What about this header?
19249
 
case $ac_header_compiler:$ac_header_preproc in
19250
 
  yes:no )
 
20271
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
20272
  yes:no: )
19251
20273
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19252
20274
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19253
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19254
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19255
 
    (
19256
 
      cat <<\_ASBOX
19257
 
## ------------------------------------ ##
19258
 
## Report this to bug-autoconf@gnu.org. ##
19259
 
## ------------------------------------ ##
19260
 
_ASBOX
19261
 
    ) |
19262
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
20275
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
20276
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
20277
    ac_header_preproc=yes
19263
20278
    ;;
19264
 
  no:yes )
 
20279
  no:yes:* )
19265
20280
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19266
20281
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19267
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19268
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
20282
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
20283
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
20284
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
20285
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
20286
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
20287
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19269
20288
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19270
20289
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19271
 
    (
19272
 
      cat <<\_ASBOX
19273
 
## ------------------------------------ ##
19274
 
## Report this to bug-autoconf@gnu.org. ##
19275
 
## ------------------------------------ ##
 
20290
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
20291
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
20292
    ( cat <<\_ASBOX
 
20293
## ------------------------------- ##
 
20294
## Report this to remco@sx.mine.nu ##
 
20295
## ------------------------------- ##
19276
20296
_ASBOX
19277
 
    ) |
19278
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
20297
     ) | sed "s/^/$as_me: WARNING:     /" >&2
19279
20298
    ;;
19280
20299
esac
19281
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
19282
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19283
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
20300
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20301
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20302
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19284
20303
  echo $ECHO_N "(cached) $ECHO_C" >&6
19285
20304
else
19286
 
  eval "$as_ac_Header=$ac_header_preproc"
 
20305
  eval "$as_ac_Header=\$ac_header_preproc"
19287
20306
fi
19288
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19289
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20307
ac_res=`eval echo '${'$as_ac_Header'}'`
 
20308
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20309
echo "${ECHO_T}$ac_res" >&6; }
19290
20310
 
19291
20311
fi
19292
20312
if test `eval echo '${'$as_ac_Header'}'` = yes; then
19299
20319
done
19300
20320
 
19301
20321
    if test $ac_cv_header_locale_h = yes; then
19302
 
    echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
19303
 
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
 
20322
    { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
20323
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
19304
20324
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
19305
20325
  echo $ECHO_N "(cached) $ECHO_C" >&6
19306
20326
else
19307
20327
  cat >conftest.$ac_ext <<_ACEOF
19308
 
#line $LINENO "configure"
19309
20328
/* confdefs.h.  */
19310
20329
_ACEOF
19311
20330
cat confdefs.h >>conftest.$ac_ext
19321
20340
}
19322
20341
_ACEOF
19323
20342
rm -f conftest.$ac_objext conftest$ac_exeext
19324
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19325
 
  (eval $ac_link) 2>&5
 
20343
if { (ac_try="$ac_link"
 
20344
case "(($ac_try" in
 
20345
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20346
  *) ac_try_echo=$ac_try;;
 
20347
esac
 
20348
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20349
  (eval "$ac_link") 2>conftest.er1
19326
20350
  ac_status=$?
 
20351
  grep -v '^ *+' conftest.er1 >conftest.err
 
20352
  rm -f conftest.er1
 
20353
  cat conftest.err >&5
19327
20354
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328
20355
  (exit $ac_status); } &&
19329
 
         { ac_try='test -s conftest$ac_exeext'
19330
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331
 
  (eval $ac_try) 2>&5
 
20356
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20357
  { (case "(($ac_try" in
 
20358
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20359
  *) ac_try_echo=$ac_try;;
 
20360
esac
 
20361
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20362
  (eval "$ac_try") 2>&5
 
20363
  ac_status=$?
 
20364
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20365
  (exit $ac_status); }; } &&
 
20366
         { ac_try='test -s conftest$ac_exeext'
 
20367
  { (case "(($ac_try" in
 
20368
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20369
  *) ac_try_echo=$ac_try;;
 
20370
esac
 
20371
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20372
  (eval "$ac_try") 2>&5
19332
20373
  ac_status=$?
19333
20374
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334
20375
  (exit $ac_status); }; }; then
19337
20378
  echo "$as_me: failed program was:" >&5
19338
20379
sed 's/^/| /' conftest.$ac_ext >&5
19339
20380
 
19340
 
am_cv_val_LC_MESSAGES=no
19341
 
fi
19342
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19343
 
fi
19344
 
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
19345
 
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
 
20381
        am_cv_val_LC_MESSAGES=no
 
20382
fi
 
20383
 
 
20384
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20385
      conftest$ac_exeext conftest.$ac_ext
 
20386
fi
 
20387
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
20388
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
19346
20389
    if test $am_cv_val_LC_MESSAGES = yes; then
19347
20390
 
19348
20391
cat >>confdefs.h <<\_ACEOF
19361
20404
    INTLLIBS=
19362
20405
 
19363
20406
    if test "${ac_cv_header_libintl_h+set}" = set; then
19364
 
  echo "$as_me:$LINENO: checking for libintl.h" >&5
19365
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
 
20407
  { echo "$as_me:$LINENO: checking for libintl.h" >&5
 
20408
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
19366
20409
if test "${ac_cv_header_libintl_h+set}" = set; then
19367
20410
  echo $ECHO_N "(cached) $ECHO_C" >&6
19368
20411
fi
19369
 
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
19370
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
 
20412
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
20413
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
19371
20414
else
19372
20415
  # Is the header compilable?
19373
 
echo "$as_me:$LINENO: checking libintl.h usability" >&5
19374
 
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
 
20416
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
 
20417
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
19375
20418
cat >conftest.$ac_ext <<_ACEOF
19376
 
#line $LINENO "configure"
19377
20419
/* confdefs.h.  */
19378
20420
_ACEOF
19379
20421
cat confdefs.h >>conftest.$ac_ext
19383
20425
#include <libintl.h>
19384
20426
_ACEOF
19385
20427
rm -f conftest.$ac_objext
19386
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19387
 
  (eval $ac_compile) 2>&5
 
20428
if { (ac_try="$ac_compile"
 
20429
case "(($ac_try" in
 
20430
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20431
  *) ac_try_echo=$ac_try;;
 
20432
esac
 
20433
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20434
  (eval "$ac_compile") 2>conftest.er1
19388
20435
  ac_status=$?
 
20436
  grep -v '^ *+' conftest.er1 >conftest.err
 
20437
  rm -f conftest.er1
 
20438
  cat conftest.err >&5
19389
20439
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390
20440
  (exit $ac_status); } &&
19391
 
         { ac_try='test -s conftest.$ac_objext'
19392
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19393
 
  (eval $ac_try) 2>&5
 
20441
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20442
  { (case "(($ac_try" in
 
20443
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20444
  *) ac_try_echo=$ac_try;;
 
20445
esac
 
20446
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20447
  (eval "$ac_try") 2>&5
 
20448
  ac_status=$?
 
20449
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20450
  (exit $ac_status); }; } &&
 
20451
         { ac_try='test -s conftest.$ac_objext'
 
20452
  { (case "(($ac_try" in
 
20453
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20454
  *) ac_try_echo=$ac_try;;
 
20455
esac
 
20456
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20457
  (eval "$ac_try") 2>&5
19394
20458
  ac_status=$?
19395
20459
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396
20460
  (exit $ac_status); }; }; then
19399
20463
  echo "$as_me: failed program was:" >&5
19400
20464
sed 's/^/| /' conftest.$ac_ext >&5
19401
20465
 
19402
 
ac_header_compiler=no
 
20466
        ac_header_compiler=no
19403
20467
fi
19404
 
rm -f conftest.$ac_objext conftest.$ac_ext
19405
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19406
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
20468
 
 
20469
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20470
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20471
echo "${ECHO_T}$ac_header_compiler" >&6; }
19407
20472
 
19408
20473
# Is the header present?
19409
 
echo "$as_me:$LINENO: checking libintl.h presence" >&5
19410
 
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
 
20474
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
 
20475
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
19411
20476
cat >conftest.$ac_ext <<_ACEOF
19412
 
#line $LINENO "configure"
19413
20477
/* confdefs.h.  */
19414
20478
_ACEOF
19415
20479
cat confdefs.h >>conftest.$ac_ext
19417
20481
/* end confdefs.h.  */
19418
20482
#include <libintl.h>
19419
20483
_ACEOF
19420
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19421
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20484
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20485
case "(($ac_try" in
 
20486
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20487
  *) ac_try_echo=$ac_try;;
 
20488
esac
 
20489
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20490
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19422
20491
  ac_status=$?
19423
20492
  grep -v '^ *+' conftest.er1 >conftest.err
19424
20493
  rm -f conftest.er1
19427
20496
  (exit $ac_status); } >/dev/null; then
19428
20497
  if test -s conftest.err; then
19429
20498
    ac_cpp_err=$ac_c_preproc_warn_flag
 
20499
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19430
20500
  else
19431
20501
    ac_cpp_err=
19432
20502
  fi
19441
20511
 
19442
20512
  ac_header_preproc=no
19443
20513
fi
 
20514
 
19444
20515
rm -f conftest.err conftest.$ac_ext
19445
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19446
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
20516
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20517
echo "${ECHO_T}$ac_header_preproc" >&6; }
19447
20518
 
19448
20519
# So?  What about this header?
19449
 
case $ac_header_compiler:$ac_header_preproc in
19450
 
  yes:no )
 
20520
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
20521
  yes:no: )
19451
20522
    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
19452
20523
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19453
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
19454
 
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
19455
 
    (
19456
 
      cat <<\_ASBOX
19457
 
## ------------------------------------ ##
19458
 
## Report this to bug-autoconf@gnu.org. ##
19459
 
## ------------------------------------ ##
19460
 
_ASBOX
19461
 
    ) |
19462
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
20524
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
 
20525
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
 
20526
    ac_header_preproc=yes
19463
20527
    ;;
19464
 
  no:yes )
 
20528
  no:yes:* )
19465
20529
    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
19466
20530
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
19467
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
19468
 
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
 
20531
    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
 
20532
echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
 
20533
    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
 
20534
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
 
20535
    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
 
20536
echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
19469
20537
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
19470
20538
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
19471
 
    (
19472
 
      cat <<\_ASBOX
19473
 
## ------------------------------------ ##
19474
 
## Report this to bug-autoconf@gnu.org. ##
19475
 
## ------------------------------------ ##
 
20539
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
 
20540
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
 
20541
    ( cat <<\_ASBOX
 
20542
## ------------------------------- ##
 
20543
## Report this to remco@sx.mine.nu ##
 
20544
## ------------------------------- ##
19476
20545
_ASBOX
19477
 
    ) |
19478
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
20546
     ) | sed "s/^/$as_me: WARNING:     /" >&2
19479
20547
    ;;
19480
20548
esac
19481
 
echo "$as_me:$LINENO: checking for libintl.h" >&5
19482
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
 
20549
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
 
20550
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
19483
20551
if test "${ac_cv_header_libintl_h+set}" = set; then
19484
20552
  echo $ECHO_N "(cached) $ECHO_C" >&6
19485
20553
else
19486
20554
  ac_cv_header_libintl_h=$ac_header_preproc
19487
20555
fi
19488
 
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
19489
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
 
20556
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
20557
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
19490
20558
 
19491
20559
fi
19492
20560
if test $ac_cv_header_libintl_h = yes; then
19496
20564
      #
19497
20565
      # First check in libc
19498
20566
      #
19499
 
      echo "$as_me:$LINENO: checking for dgettext in libc" >&5
19500
 
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
 
20567
      { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
20568
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
 
20569
if test "${gt_cv_func_ngettext_libc+set}" = set; then
 
20570
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20571
else
 
20572
  cat >conftest.$ac_ext <<_ACEOF
 
20573
/* confdefs.h.  */
 
20574
_ACEOF
 
20575
cat confdefs.h >>conftest.$ac_ext
 
20576
cat >>conftest.$ac_ext <<_ACEOF
 
20577
/* end confdefs.h.  */
 
20578
 
 
20579
#include <libintl.h>
 
20580
 
 
20581
int
 
20582
main ()
 
20583
{
 
20584
return !ngettext ("","", 1)
 
20585
  ;
 
20586
  return 0;
 
20587
}
 
20588
_ACEOF
 
20589
rm -f conftest.$ac_objext conftest$ac_exeext
 
20590
if { (ac_try="$ac_link"
 
20591
case "(($ac_try" in
 
20592
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20593
  *) ac_try_echo=$ac_try;;
 
20594
esac
 
20595
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20596
  (eval "$ac_link") 2>conftest.er1
 
20597
  ac_status=$?
 
20598
  grep -v '^ *+' conftest.er1 >conftest.err
 
20599
  rm -f conftest.er1
 
20600
  cat conftest.err >&5
 
20601
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20602
  (exit $ac_status); } &&
 
20603
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20604
  { (case "(($ac_try" in
 
20605
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20606
  *) ac_try_echo=$ac_try;;
 
20607
esac
 
20608
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20609
  (eval "$ac_try") 2>&5
 
20610
  ac_status=$?
 
20611
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20612
  (exit $ac_status); }; } &&
 
20613
         { ac_try='test -s conftest$ac_exeext'
 
20614
  { (case "(($ac_try" in
 
20615
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20616
  *) ac_try_echo=$ac_try;;
 
20617
esac
 
20618
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20619
  (eval "$ac_try") 2>&5
 
20620
  ac_status=$?
 
20621
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20622
  (exit $ac_status); }; }; then
 
20623
  gt_cv_func_ngettext_libc=yes
 
20624
else
 
20625
  echo "$as_me: failed program was:" >&5
 
20626
sed 's/^/| /' conftest.$ac_ext >&5
 
20627
 
 
20628
        gt_cv_func_ngettext_libc=no
 
20629
fi
 
20630
 
 
20631
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20632
      conftest$ac_exeext conftest.$ac_ext
 
20633
 
 
20634
fi
 
20635
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
20636
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
 
20637
 
 
20638
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
20639
              { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
20640
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
19501
20641
if test "${gt_cv_func_dgettext_libc+set}" = set; then
19502
20642
  echo $ECHO_N "(cached) $ECHO_C" >&6
19503
20643
else
19504
20644
  cat >conftest.$ac_ext <<_ACEOF
19505
 
#line $LINENO "configure"
19506
20645
/* confdefs.h.  */
19507
20646
_ACEOF
19508
20647
cat confdefs.h >>conftest.$ac_ext
19514
20653
int
19515
20654
main ()
19516
20655
{
19517
 
return (int) dgettext ("","")
 
20656
return !dgettext ("","")
19518
20657
  ;
19519
20658
  return 0;
19520
20659
}
19521
20660
_ACEOF
19522
20661
rm -f conftest.$ac_objext conftest$ac_exeext
19523
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19524
 
  (eval $ac_link) 2>&5
 
20662
if { (ac_try="$ac_link"
 
20663
case "(($ac_try" in
 
20664
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20665
  *) ac_try_echo=$ac_try;;
 
20666
esac
 
20667
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20668
  (eval "$ac_link") 2>conftest.er1
19525
20669
  ac_status=$?
 
20670
  grep -v '^ *+' conftest.er1 >conftest.err
 
20671
  rm -f conftest.er1
 
20672
  cat conftest.err >&5
19526
20673
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527
20674
  (exit $ac_status); } &&
19528
 
         { ac_try='test -s conftest$ac_exeext'
19529
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19530
 
  (eval $ac_try) 2>&5
 
20675
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20676
  { (case "(($ac_try" in
 
20677
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20678
  *) ac_try_echo=$ac_try;;
 
20679
esac
 
20680
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20681
  (eval "$ac_try") 2>&5
 
20682
  ac_status=$?
 
20683
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20684
  (exit $ac_status); }; } &&
 
20685
         { ac_try='test -s conftest$ac_exeext'
 
20686
  { (case "(($ac_try" in
 
20687
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20688
  *) ac_try_echo=$ac_try;;
 
20689
esac
 
20690
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20691
  (eval "$ac_try") 2>&5
19531
20692
  ac_status=$?
19532
20693
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533
20694
  (exit $ac_status); }; }; then
19536
20697
  echo "$as_me: failed program was:" >&5
19537
20698
sed 's/^/| /' conftest.$ac_ext >&5
19538
20699
 
19539
 
gt_cv_func_dgettext_libc=no
19540
 
fi
19541
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19542
 
 
19543
 
fi
19544
 
echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
19545
 
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
19546
 
 
19547
 
      if test "$gt_cv_func_dgettext_libc" = "yes" ; then
 
20700
        gt_cv_func_dgettext_libc=no
 
20701
fi
 
20702
 
 
20703
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20704
      conftest$ac_exeext conftest.$ac_ext
 
20705
 
 
20706
fi
 
20707
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
20708
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
 
20709
      fi
 
20710
 
 
20711
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
19548
20712
 
19549
20713
for ac_func in bind_textdomain_codeset
19550
20714
do
19551
20715
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19552
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
19553
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19554
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
20716
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
20717
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
20718
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19555
20719
  echo $ECHO_N "(cached) $ECHO_C" >&6
19556
20720
else
19557
20721
  cat >conftest.$ac_ext <<_ACEOF
19558
 
#line $LINENO "configure"
19559
20722
/* confdefs.h.  */
19560
20723
_ACEOF
19561
20724
cat confdefs.h >>conftest.$ac_ext
19562
20725
cat >>conftest.$ac_ext <<_ACEOF
19563
20726
/* end confdefs.h.  */
 
20727
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
20728
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
20729
#define $ac_func innocuous_$ac_func
 
20730
 
19564
20731
/* System header to define __stub macros and hopefully few prototypes,
19565
20732
    which can conflict with char $ac_func (); below.
19566
20733
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19567
20734
    <limits.h> exists even on freestanding compilers.  */
 
20735
 
19568
20736
#ifdef __STDC__
19569
20737
# include <limits.h>
19570
20738
#else
19571
20739
# include <assert.h>
19572
20740
#endif
19573
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20741
 
 
20742
#undef $ac_func
 
20743
 
 
20744
/* Override any GCC internal prototype to avoid an error.
 
20745
   Use char because int might match the return type of a GCC
 
20746
   builtin and then its argument prototype would still apply.  */
19574
20747
#ifdef __cplusplus
19575
20748
extern "C"
19576
 
{
19577
20749
#endif
19578
 
/* We use char because int might match the return type of a gcc2
19579
 
   builtin and then its argument prototype would still apply.  */
19580
20750
char $ac_func ();
19581
20751
/* The GNU C library defines this for functions which it implements
19582
20752
    to always fail with ENOSYS.  Some functions are actually named
19583
20753
    something starting with __ and the normal name is an alias.  */
19584
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
20754
#if defined __stub_$ac_func || defined __stub___$ac_func
19585
20755
choke me
19586
 
#else
19587
 
char (*f) () = $ac_func;
19588
 
#endif
19589
 
#ifdef __cplusplus
19590
 
}
19591
20756
#endif
19592
20757
 
19593
20758
int
19594
20759
main ()
19595
20760
{
19596
 
return f != $ac_func;
 
20761
return $ac_func ();
19597
20762
  ;
19598
20763
  return 0;
19599
20764
}
19600
20765
_ACEOF
19601
20766
rm -f conftest.$ac_objext conftest$ac_exeext
19602
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19603
 
  (eval $ac_link) 2>&5
 
20767
if { (ac_try="$ac_link"
 
20768
case "(($ac_try" in
 
20769
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20770
  *) ac_try_echo=$ac_try;;
 
20771
esac
 
20772
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20773
  (eval "$ac_link") 2>conftest.er1
19604
20774
  ac_status=$?
 
20775
  grep -v '^ *+' conftest.er1 >conftest.err
 
20776
  rm -f conftest.er1
 
20777
  cat conftest.err >&5
19605
20778
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606
20779
  (exit $ac_status); } &&
19607
 
         { ac_try='test -s conftest$ac_exeext'
19608
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19609
 
  (eval $ac_try) 2>&5
 
20780
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20781
  { (case "(($ac_try" in
 
20782
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20783
  *) ac_try_echo=$ac_try;;
 
20784
esac
 
20785
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20786
  (eval "$ac_try") 2>&5
 
20787
  ac_status=$?
 
20788
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20789
  (exit $ac_status); }; } &&
 
20790
         { ac_try='test -s conftest$ac_exeext'
 
20791
  { (case "(($ac_try" in
 
20792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20793
  *) ac_try_echo=$ac_try;;
 
20794
esac
 
20795
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20796
  (eval "$ac_try") 2>&5
19610
20797
  ac_status=$?
19611
20798
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612
20799
  (exit $ac_status); }; }; then
19615
20802
  echo "$as_me: failed program was:" >&5
19616
20803
sed 's/^/| /' conftest.$ac_ext >&5
19617
20804
 
19618
 
eval "$as_ac_var=no"
19619
 
fi
19620
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19621
 
fi
19622
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19623
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
20805
        eval "$as_ac_var=no"
 
20806
fi
 
20807
 
 
20808
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20809
      conftest$ac_exeext conftest.$ac_ext
 
20810
fi
 
20811
ac_res=`eval echo '${'$as_ac_var'}'`
 
20812
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20813
echo "${ECHO_T}$ac_res" >&6; }
19624
20814
if test `eval echo '${'$as_ac_var'}'` = yes; then
19625
20815
  cat >>confdefs.h <<_ACEOF
19626
20816
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19635
20825
      # If we don't have everything we want, check in libintl
19636
20826
      #
19637
20827
      if test "$gt_cv_func_dgettext_libc" != "yes" \
 
20828
         || test "$gt_cv_func_ngettext_libc" != "yes" \
19638
20829
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
19639
20830
 
19640
 
        echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
19641
 
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
 
20831
        { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
20832
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
19642
20833
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
19643
20834
  echo $ECHO_N "(cached) $ECHO_C" >&6
19644
20835
else
19645
20836
  ac_check_lib_save_LIBS=$LIBS
19646
20837
LIBS="-lintl  $LIBS"
19647
20838
cat >conftest.$ac_ext <<_ACEOF
19648
 
#line $LINENO "configure"
19649
20839
/* confdefs.h.  */
19650
20840
_ACEOF
19651
20841
cat confdefs.h >>conftest.$ac_ext
19652
20842
cat >>conftest.$ac_ext <<_ACEOF
19653
20843
/* end confdefs.h.  */
19654
20844
 
19655
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20845
/* Override any GCC internal prototype to avoid an error.
 
20846
   Use char because int might match the return type of a GCC
 
20847
   builtin and then its argument prototype would still apply.  */
19656
20848
#ifdef __cplusplus
19657
20849
extern "C"
19658
20850
#endif
19659
 
/* We use char because int might match the return type of a gcc2
19660
 
   builtin and then its argument prototype would still apply.  */
19661
20851
char bindtextdomain ();
19662
20852
int
19663
20853
main ()
19664
20854
{
19665
 
bindtextdomain ();
 
20855
return bindtextdomain ();
19666
20856
  ;
19667
20857
  return 0;
19668
20858
}
19669
20859
_ACEOF
19670
20860
rm -f conftest.$ac_objext conftest$ac_exeext
19671
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19672
 
  (eval $ac_link) 2>&5
 
20861
if { (ac_try="$ac_link"
 
20862
case "(($ac_try" in
 
20863
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20864
  *) ac_try_echo=$ac_try;;
 
20865
esac
 
20866
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20867
  (eval "$ac_link") 2>conftest.er1
19673
20868
  ac_status=$?
 
20869
  grep -v '^ *+' conftest.er1 >conftest.err
 
20870
  rm -f conftest.er1
 
20871
  cat conftest.err >&5
19674
20872
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675
20873
  (exit $ac_status); } &&
19676
 
         { ac_try='test -s conftest$ac_exeext'
19677
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678
 
  (eval $ac_try) 2>&5
 
20874
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20875
  { (case "(($ac_try" in
 
20876
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20877
  *) ac_try_echo=$ac_try;;
 
20878
esac
 
20879
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20880
  (eval "$ac_try") 2>&5
 
20881
  ac_status=$?
 
20882
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20883
  (exit $ac_status); }; } &&
 
20884
         { ac_try='test -s conftest$ac_exeext'
 
20885
  { (case "(($ac_try" in
 
20886
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20887
  *) ac_try_echo=$ac_try;;
 
20888
esac
 
20889
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20890
  (eval "$ac_try") 2>&5
19679
20891
  ac_status=$?
19680
20892
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681
20893
  (exit $ac_status); }; }; then
19684
20896
  echo "$as_me: failed program was:" >&5
19685
20897
sed 's/^/| /' conftest.$ac_ext >&5
19686
20898
 
19687
 
ac_cv_lib_intl_bindtextdomain=no
 
20899
        ac_cv_lib_intl_bindtextdomain=no
19688
20900
fi
19689
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
20901
 
 
20902
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20903
      conftest$ac_exeext conftest.$ac_ext
19690
20904
LIBS=$ac_check_lib_save_LIBS
19691
20905
fi
19692
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
19693
 
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
 
20906
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
20907
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
19694
20908
if test $ac_cv_lib_intl_bindtextdomain = yes; then
19695
 
  echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
19696
 
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
 
20909
  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
20910
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
 
20911
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
20912
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20913
else
 
20914
  ac_check_lib_save_LIBS=$LIBS
 
20915
LIBS="-lintl  $LIBS"
 
20916
cat >conftest.$ac_ext <<_ACEOF
 
20917
/* confdefs.h.  */
 
20918
_ACEOF
 
20919
cat confdefs.h >>conftest.$ac_ext
 
20920
cat >>conftest.$ac_ext <<_ACEOF
 
20921
/* end confdefs.h.  */
 
20922
 
 
20923
/* Override any GCC internal prototype to avoid an error.
 
20924
   Use char because int might match the return type of a GCC
 
20925
   builtin and then its argument prototype would still apply.  */
 
20926
#ifdef __cplusplus
 
20927
extern "C"
 
20928
#endif
 
20929
char ngettext ();
 
20930
int
 
20931
main ()
 
20932
{
 
20933
return ngettext ();
 
20934
  ;
 
20935
  return 0;
 
20936
}
 
20937
_ACEOF
 
20938
rm -f conftest.$ac_objext conftest$ac_exeext
 
20939
if { (ac_try="$ac_link"
 
20940
case "(($ac_try" in
 
20941
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20942
  *) ac_try_echo=$ac_try;;
 
20943
esac
 
20944
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20945
  (eval "$ac_link") 2>conftest.er1
 
20946
  ac_status=$?
 
20947
  grep -v '^ *+' conftest.er1 >conftest.err
 
20948
  rm -f conftest.er1
 
20949
  cat conftest.err >&5
 
20950
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20951
  (exit $ac_status); } &&
 
20952
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20953
  { (case "(($ac_try" in
 
20954
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20955
  *) ac_try_echo=$ac_try;;
 
20956
esac
 
20957
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20958
  (eval "$ac_try") 2>&5
 
20959
  ac_status=$?
 
20960
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20961
  (exit $ac_status); }; } &&
 
20962
         { ac_try='test -s conftest$ac_exeext'
 
20963
  { (case "(($ac_try" in
 
20964
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20965
  *) ac_try_echo=$ac_try;;
 
20966
esac
 
20967
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20968
  (eval "$ac_try") 2>&5
 
20969
  ac_status=$?
 
20970
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20971
  (exit $ac_status); }; }; then
 
20972
  ac_cv_lib_intl_ngettext=yes
 
20973
else
 
20974
  echo "$as_me: failed program was:" >&5
 
20975
sed 's/^/| /' conftest.$ac_ext >&5
 
20976
 
 
20977
        ac_cv_lib_intl_ngettext=no
 
20978
fi
 
20979
 
 
20980
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20981
      conftest$ac_exeext conftest.$ac_ext
 
20982
LIBS=$ac_check_lib_save_LIBS
 
20983
fi
 
20984
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
20985
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
 
20986
if test $ac_cv_lib_intl_ngettext = yes; then
 
20987
  { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
20988
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
19697
20989
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
19698
20990
  echo $ECHO_N "(cached) $ECHO_C" >&6
19699
20991
else
19700
20992
  ac_check_lib_save_LIBS=$LIBS
19701
20993
LIBS="-lintl  $LIBS"
19702
20994
cat >conftest.$ac_ext <<_ACEOF
19703
 
#line $LINENO "configure"
19704
20995
/* confdefs.h.  */
19705
20996
_ACEOF
19706
20997
cat confdefs.h >>conftest.$ac_ext
19707
20998
cat >>conftest.$ac_ext <<_ACEOF
19708
20999
/* end confdefs.h.  */
19709
21000
 
19710
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21001
/* Override any GCC internal prototype to avoid an error.
 
21002
   Use char because int might match the return type of a GCC
 
21003
   builtin and then its argument prototype would still apply.  */
19711
21004
#ifdef __cplusplus
19712
21005
extern "C"
19713
21006
#endif
19714
 
/* We use char because int might match the return type of a gcc2
19715
 
   builtin and then its argument prototype would still apply.  */
19716
21007
char dgettext ();
19717
21008
int
19718
21009
main ()
19719
21010
{
19720
 
dgettext ();
 
21011
return dgettext ();
19721
21012
  ;
19722
21013
  return 0;
19723
21014
}
19724
21015
_ACEOF
19725
21016
rm -f conftest.$ac_objext conftest$ac_exeext
19726
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19727
 
  (eval $ac_link) 2>&5
 
21017
if { (ac_try="$ac_link"
 
21018
case "(($ac_try" in
 
21019
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21020
  *) ac_try_echo=$ac_try;;
 
21021
esac
 
21022
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21023
  (eval "$ac_link") 2>conftest.er1
19728
21024
  ac_status=$?
 
21025
  grep -v '^ *+' conftest.er1 >conftest.err
 
21026
  rm -f conftest.er1
 
21027
  cat conftest.err >&5
19729
21028
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730
21029
  (exit $ac_status); } &&
19731
 
         { ac_try='test -s conftest$ac_exeext'
19732
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19733
 
  (eval $ac_try) 2>&5
 
21030
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21031
  { (case "(($ac_try" in
 
21032
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21033
  *) ac_try_echo=$ac_try;;
 
21034
esac
 
21035
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21036
  (eval "$ac_try") 2>&5
 
21037
  ac_status=$?
 
21038
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21039
  (exit $ac_status); }; } &&
 
21040
         { ac_try='test -s conftest$ac_exeext'
 
21041
  { (case "(($ac_try" in
 
21042
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21043
  *) ac_try_echo=$ac_try;;
 
21044
esac
 
21045
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21046
  (eval "$ac_try") 2>&5
19734
21047
  ac_status=$?
19735
21048
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736
21049
  (exit $ac_status); }; }; then
19739
21052
  echo "$as_me: failed program was:" >&5
19740
21053
sed 's/^/| /' conftest.$ac_ext >&5
19741
21054
 
19742
 
ac_cv_lib_intl_dgettext=no
 
21055
        ac_cv_lib_intl_dgettext=no
19743
21056
fi
19744
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
21057
 
 
21058
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21059
      conftest$ac_exeext conftest.$ac_ext
19745
21060
LIBS=$ac_check_lib_save_LIBS
19746
21061
fi
19747
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
19748
 
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
 
21062
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
21063
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
19749
21064
if test $ac_cv_lib_intl_dgettext = yes; then
19750
21065
  gt_cv_func_dgettext_libintl=yes
19751
21066
fi
19752
21067
 
19753
21068
fi
19754
21069
 
 
21070
fi
 
21071
 
19755
21072
 
19756
21073
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
19757
 
          echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
19758
 
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
19759
 
          echo "$as_me:$LINENO: result: " >&5
19760
 
echo "${ECHO_T}" >&6
19761
 
          echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
19762
 
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
 
21074
          { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
21075
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
 
21076
          { echo "$as_me:$LINENO: result: " >&5
 
21077
echo "${ECHO_T}" >&6; }
 
21078
          { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
21079
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
 
21080
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
21081
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21082
else
 
21083
  ac_check_lib_save_LIBS=$LIBS
 
21084
LIBS="-lintl -liconv $LIBS"
 
21085
cat >conftest.$ac_ext <<_ACEOF
 
21086
/* confdefs.h.  */
 
21087
_ACEOF
 
21088
cat confdefs.h >>conftest.$ac_ext
 
21089
cat >>conftest.$ac_ext <<_ACEOF
 
21090
/* end confdefs.h.  */
 
21091
 
 
21092
/* Override any GCC internal prototype to avoid an error.
 
21093
   Use char because int might match the return type of a GCC
 
21094
   builtin and then its argument prototype would still apply.  */
 
21095
#ifdef __cplusplus
 
21096
extern "C"
 
21097
#endif
 
21098
char ngettext ();
 
21099
int
 
21100
main ()
 
21101
{
 
21102
return ngettext ();
 
21103
  ;
 
21104
  return 0;
 
21105
}
 
21106
_ACEOF
 
21107
rm -f conftest.$ac_objext conftest$ac_exeext
 
21108
if { (ac_try="$ac_link"
 
21109
case "(($ac_try" in
 
21110
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21111
  *) ac_try_echo=$ac_try;;
 
21112
esac
 
21113
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21114
  (eval "$ac_link") 2>conftest.er1
 
21115
  ac_status=$?
 
21116
  grep -v '^ *+' conftest.er1 >conftest.err
 
21117
  rm -f conftest.er1
 
21118
  cat conftest.err >&5
 
21119
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21120
  (exit $ac_status); } &&
 
21121
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21122
  { (case "(($ac_try" in
 
21123
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21124
  *) ac_try_echo=$ac_try;;
 
21125
esac
 
21126
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21127
  (eval "$ac_try") 2>&5
 
21128
  ac_status=$?
 
21129
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21130
  (exit $ac_status); }; } &&
 
21131
         { ac_try='test -s conftest$ac_exeext'
 
21132
  { (case "(($ac_try" in
 
21133
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21134
  *) ac_try_echo=$ac_try;;
 
21135
esac
 
21136
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21137
  (eval "$ac_try") 2>&5
 
21138
  ac_status=$?
 
21139
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21140
  (exit $ac_status); }; }; then
 
21141
  ac_cv_lib_intl_ngettext=yes
 
21142
else
 
21143
  echo "$as_me: failed program was:" >&5
 
21144
sed 's/^/| /' conftest.$ac_ext >&5
 
21145
 
 
21146
        ac_cv_lib_intl_ngettext=no
 
21147
fi
 
21148
 
 
21149
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21150
      conftest$ac_exeext conftest.$ac_ext
 
21151
LIBS=$ac_check_lib_save_LIBS
 
21152
fi
 
21153
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
21154
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
 
21155
if test $ac_cv_lib_intl_ngettext = yes; then
 
21156
  { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
21157
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
19763
21158
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
19764
21159
  echo $ECHO_N "(cached) $ECHO_C" >&6
19765
21160
else
19766
21161
  ac_check_lib_save_LIBS=$LIBS
19767
21162
LIBS="-lintl -liconv $LIBS"
19768
21163
cat >conftest.$ac_ext <<_ACEOF
19769
 
#line $LINENO "configure"
19770
21164
/* confdefs.h.  */
19771
21165
_ACEOF
19772
21166
cat confdefs.h >>conftest.$ac_ext
19773
21167
cat >>conftest.$ac_ext <<_ACEOF
19774
21168
/* end confdefs.h.  */
19775
21169
 
19776
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21170
/* Override any GCC internal prototype to avoid an error.
 
21171
   Use char because int might match the return type of a GCC
 
21172
   builtin and then its argument prototype would still apply.  */
19777
21173
#ifdef __cplusplus
19778
21174
extern "C"
19779
21175
#endif
19780
 
/* We use char because int might match the return type of a gcc2
19781
 
   builtin and then its argument prototype would still apply.  */
19782
21176
char dcgettext ();
19783
21177
int
19784
21178
main ()
19785
21179
{
19786
 
dcgettext ();
 
21180
return dcgettext ();
19787
21181
  ;
19788
21182
  return 0;
19789
21183
}
19790
21184
_ACEOF
19791
21185
rm -f conftest.$ac_objext conftest$ac_exeext
19792
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19793
 
  (eval $ac_link) 2>&5
 
21186
if { (ac_try="$ac_link"
 
21187
case "(($ac_try" in
 
21188
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21189
  *) ac_try_echo=$ac_try;;
 
21190
esac
 
21191
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21192
  (eval "$ac_link") 2>conftest.er1
19794
21193
  ac_status=$?
 
21194
  grep -v '^ *+' conftest.er1 >conftest.err
 
21195
  rm -f conftest.er1
 
21196
  cat conftest.err >&5
19795
21197
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19796
21198
  (exit $ac_status); } &&
19797
 
         { ac_try='test -s conftest$ac_exeext'
19798
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19799
 
  (eval $ac_try) 2>&5
 
21199
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21200
  { (case "(($ac_try" in
 
21201
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21202
  *) ac_try_echo=$ac_try;;
 
21203
esac
 
21204
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21205
  (eval "$ac_try") 2>&5
 
21206
  ac_status=$?
 
21207
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21208
  (exit $ac_status); }; } &&
 
21209
         { ac_try='test -s conftest$ac_exeext'
 
21210
  { (case "(($ac_try" in
 
21211
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21212
  *) ac_try_echo=$ac_try;;
 
21213
esac
 
21214
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21215
  (eval "$ac_try") 2>&5
19800
21216
  ac_status=$?
19801
21217
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802
21218
  (exit $ac_status); }; }; then
19805
21221
  echo "$as_me: failed program was:" >&5
19806
21222
sed 's/^/| /' conftest.$ac_ext >&5
19807
21223
 
19808
 
ac_cv_lib_intl_dcgettext=no
 
21224
        ac_cv_lib_intl_dcgettext=no
19809
21225
fi
19810
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
21226
 
 
21227
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21228
      conftest$ac_exeext conftest.$ac_ext
19811
21229
LIBS=$ac_check_lib_save_LIBS
19812
21230
fi
19813
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
19814
 
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
 
21231
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
21232
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
19815
21233
if test $ac_cv_lib_intl_dcgettext = yes; then
19816
21234
  gt_cv_func_dgettext_libintl=yes
19817
21235
                        libintl_extra_libs=-liconv
19819
21237
  :
19820
21238
fi
19821
21239
 
 
21240
else
 
21241
  :
 
21242
fi
 
21243
 
19822
21244
        fi
19823
21245
 
19824
21246
        #
19825
21247
        # If we found libintl, then check in it for bind_textdomain_codeset();
19826
21248
        # we'll prefer libc if neither have bind_textdomain_codeset(),
19827
 
        # and both have dgettext
 
21249
        # and both have dgettext and ngettext
19828
21250
        #
19829
21251
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
19830
21252
          glib_save_LIBS="$LIBS"
19834
21256
for ac_func in bind_textdomain_codeset
19835
21257
do
19836
21258
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19837
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
19838
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19839
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
21259
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21260
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
21261
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19840
21262
  echo $ECHO_N "(cached) $ECHO_C" >&6
19841
21263
else
19842
21264
  cat >conftest.$ac_ext <<_ACEOF
19843
 
#line $LINENO "configure"
19844
21265
/* confdefs.h.  */
19845
21266
_ACEOF
19846
21267
cat confdefs.h >>conftest.$ac_ext
19847
21268
cat >>conftest.$ac_ext <<_ACEOF
19848
21269
/* end confdefs.h.  */
 
21270
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
21271
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
21272
#define $ac_func innocuous_$ac_func
 
21273
 
19849
21274
/* System header to define __stub macros and hopefully few prototypes,
19850
21275
    which can conflict with char $ac_func (); below.
19851
21276
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19852
21277
    <limits.h> exists even on freestanding compilers.  */
 
21278
 
19853
21279
#ifdef __STDC__
19854
21280
# include <limits.h>
19855
21281
#else
19856
21282
# include <assert.h>
19857
21283
#endif
19858
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21284
 
 
21285
#undef $ac_func
 
21286
 
 
21287
/* Override any GCC internal prototype to avoid an error.
 
21288
   Use char because int might match the return type of a GCC
 
21289
   builtin and then its argument prototype would still apply.  */
19859
21290
#ifdef __cplusplus
19860
21291
extern "C"
19861
 
{
19862
21292
#endif
19863
 
/* We use char because int might match the return type of a gcc2
19864
 
   builtin and then its argument prototype would still apply.  */
19865
21293
char $ac_func ();
19866
21294
/* The GNU C library defines this for functions which it implements
19867
21295
    to always fail with ENOSYS.  Some functions are actually named
19868
21296
    something starting with __ and the normal name is an alias.  */
19869
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21297
#if defined __stub_$ac_func || defined __stub___$ac_func
19870
21298
choke me
19871
 
#else
19872
 
char (*f) () = $ac_func;
19873
 
#endif
19874
 
#ifdef __cplusplus
19875
 
}
19876
21299
#endif
19877
21300
 
19878
21301
int
19879
21302
main ()
19880
21303
{
19881
 
return f != $ac_func;
 
21304
return $ac_func ();
19882
21305
  ;
19883
21306
  return 0;
19884
21307
}
19885
21308
_ACEOF
19886
21309
rm -f conftest.$ac_objext conftest$ac_exeext
19887
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19888
 
  (eval $ac_link) 2>&5
 
21310
if { (ac_try="$ac_link"
 
21311
case "(($ac_try" in
 
21312
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21313
  *) ac_try_echo=$ac_try;;
 
21314
esac
 
21315
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21316
  (eval "$ac_link") 2>conftest.er1
19889
21317
  ac_status=$?
 
21318
  grep -v '^ *+' conftest.er1 >conftest.err
 
21319
  rm -f conftest.er1
 
21320
  cat conftest.err >&5
19890
21321
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891
21322
  (exit $ac_status); } &&
19892
 
         { ac_try='test -s conftest$ac_exeext'
19893
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19894
 
  (eval $ac_try) 2>&5
 
21323
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21324
  { (case "(($ac_try" in
 
21325
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21326
  *) ac_try_echo=$ac_try;;
 
21327
esac
 
21328
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21329
  (eval "$ac_try") 2>&5
 
21330
  ac_status=$?
 
21331
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21332
  (exit $ac_status); }; } &&
 
21333
         { ac_try='test -s conftest$ac_exeext'
 
21334
  { (case "(($ac_try" in
 
21335
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21336
  *) ac_try_echo=$ac_try;;
 
21337
esac
 
21338
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21339
  (eval "$ac_try") 2>&5
19895
21340
  ac_status=$?
19896
21341
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897
21342
  (exit $ac_status); }; }; then
19900
21345
  echo "$as_me: failed program was:" >&5
19901
21346
sed 's/^/| /' conftest.$ac_ext >&5
19902
21347
 
19903
 
eval "$as_ac_var=no"
19904
 
fi
19905
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19906
 
fi
19907
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19908
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
21348
        eval "$as_ac_var=no"
 
21349
fi
 
21350
 
 
21351
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21352
      conftest$ac_exeext conftest.$ac_ext
 
21353
fi
 
21354
ac_res=`eval echo '${'$as_ac_var'}'`
 
21355
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21356
echo "${ECHO_T}$ac_res" >&6; }
19909
21357
if test `eval echo '${'$as_ac_var'}'` = yes; then
19910
21358
  cat >>confdefs.h <<_ACEOF
19911
21359
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19919
21367
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
19920
21368
            gt_cv_func_dgettext_libc=no
19921
21369
          else
19922
 
            if test "$gt_cv_func_dgettext_libc" = "yes"; then
 
21370
            if test "$gt_cv_func_dgettext_libc" = "yes" \
 
21371
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
19923
21372
              gt_cv_func_dgettext_libintl=no
19924
21373
            fi
19925
21374
          fi
19943
21392
 
19944
21393
        # Extract the first word of "msgfmt", so it can be a program name with args.
19945
21394
set dummy msgfmt; ac_word=$2
19946
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19947
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21395
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21396
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19948
21397
if test "${ac_cv_path_MSGFMT+set}" = set; then
19949
21398
  echo $ECHO_N "(cached) $ECHO_C" >&6
19950
21399
else
19970
21419
fi
19971
21420
MSGFMT="$ac_cv_path_MSGFMT"
19972
21421
if test "$MSGFMT" != "no"; then
19973
 
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
19974
 
echo "${ECHO_T}$MSGFMT" >&6
 
21422
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
21423
echo "${ECHO_T}$MSGFMT" >&6; }
19975
21424
else
19976
 
  echo "$as_me:$LINENO: result: no" >&5
19977
 
echo "${ECHO_T}no" >&6
 
21425
  { echo "$as_me:$LINENO: result: no" >&5
 
21426
echo "${ECHO_T}no" >&6; }
19978
21427
fi
19979
21428
        if test "$MSGFMT" != "no"; then
19980
21429
          glib_save_LIBS="$LIBS"
19983
21432
for ac_func in dcgettext
19984
21433
do
19985
21434
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19986
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
19987
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19988
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
21435
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21436
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
21437
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19989
21438
  echo $ECHO_N "(cached) $ECHO_C" >&6
19990
21439
else
19991
21440
  cat >conftest.$ac_ext <<_ACEOF
19992
 
#line $LINENO "configure"
19993
21441
/* confdefs.h.  */
19994
21442
_ACEOF
19995
21443
cat confdefs.h >>conftest.$ac_ext
19996
21444
cat >>conftest.$ac_ext <<_ACEOF
19997
21445
/* end confdefs.h.  */
 
21446
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
21447
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
21448
#define $ac_func innocuous_$ac_func
 
21449
 
19998
21450
/* System header to define __stub macros and hopefully few prototypes,
19999
21451
    which can conflict with char $ac_func (); below.
20000
21452
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20001
21453
    <limits.h> exists even on freestanding compilers.  */
 
21454
 
20002
21455
#ifdef __STDC__
20003
21456
# include <limits.h>
20004
21457
#else
20005
21458
# include <assert.h>
20006
21459
#endif
20007
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21460
 
 
21461
#undef $ac_func
 
21462
 
 
21463
/* Override any GCC internal prototype to avoid an error.
 
21464
   Use char because int might match the return type of a GCC
 
21465
   builtin and then its argument prototype would still apply.  */
20008
21466
#ifdef __cplusplus
20009
21467
extern "C"
20010
 
{
20011
21468
#endif
20012
 
/* We use char because int might match the return type of a gcc2
20013
 
   builtin and then its argument prototype would still apply.  */
20014
21469
char $ac_func ();
20015
21470
/* The GNU C library defines this for functions which it implements
20016
21471
    to always fail with ENOSYS.  Some functions are actually named
20017
21472
    something starting with __ and the normal name is an alias.  */
20018
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21473
#if defined __stub_$ac_func || defined __stub___$ac_func
20019
21474
choke me
20020
 
#else
20021
 
char (*f) () = $ac_func;
20022
 
#endif
20023
 
#ifdef __cplusplus
20024
 
}
20025
21475
#endif
20026
21476
 
20027
21477
int
20028
21478
main ()
20029
21479
{
20030
 
return f != $ac_func;
 
21480
return $ac_func ();
20031
21481
  ;
20032
21482
  return 0;
20033
21483
}
20034
21484
_ACEOF
20035
21485
rm -f conftest.$ac_objext conftest$ac_exeext
20036
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20037
 
  (eval $ac_link) 2>&5
 
21486
if { (ac_try="$ac_link"
 
21487
case "(($ac_try" in
 
21488
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21489
  *) ac_try_echo=$ac_try;;
 
21490
esac
 
21491
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21492
  (eval "$ac_link") 2>conftest.er1
20038
21493
  ac_status=$?
 
21494
  grep -v '^ *+' conftest.er1 >conftest.err
 
21495
  rm -f conftest.er1
 
21496
  cat conftest.err >&5
20039
21497
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040
21498
  (exit $ac_status); } &&
20041
 
         { ac_try='test -s conftest$ac_exeext'
20042
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20043
 
  (eval $ac_try) 2>&5
 
21499
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21500
  { (case "(($ac_try" in
 
21501
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21502
  *) ac_try_echo=$ac_try;;
 
21503
esac
 
21504
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21505
  (eval "$ac_try") 2>&5
 
21506
  ac_status=$?
 
21507
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21508
  (exit $ac_status); }; } &&
 
21509
         { ac_try='test -s conftest$ac_exeext'
 
21510
  { (case "(($ac_try" in
 
21511
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21512
  *) ac_try_echo=$ac_try;;
 
21513
esac
 
21514
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21515
  (eval "$ac_try") 2>&5
20044
21516
  ac_status=$?
20045
21517
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046
21518
  (exit $ac_status); }; }; then
20049
21521
  echo "$as_me: failed program was:" >&5
20050
21522
sed 's/^/| /' conftest.$ac_ext >&5
20051
21523
 
20052
 
eval "$as_ac_var=no"
20053
 
fi
20054
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20055
 
fi
20056
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20057
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
21524
        eval "$as_ac_var=no"
 
21525
fi
 
21526
 
 
21527
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21528
      conftest$ac_exeext conftest.$ac_ext
 
21529
fi
 
21530
ac_res=`eval echo '${'$as_ac_var'}'`
 
21531
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21532
echo "${ECHO_T}$ac_res" >&6; }
20058
21533
if test `eval echo '${'$as_ac_var'}'` = yes; then
20059
21534
  cat >>confdefs.h <<_ACEOF
20060
21535
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20065
21540
 
20066
21541
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
20067
21542
set dummy gmsgfmt; ac_word=$2
20068
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20069
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21543
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21544
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20070
21545
if test "${ac_cv_path_GMSGFMT+set}" = set; then
20071
21546
  echo $ECHO_N "(cached) $ECHO_C" >&6
20072
21547
else
20081
21556
  IFS=$as_save_IFS
20082
21557
  test -z "$as_dir" && as_dir=.
20083
21558
  for ac_exec_ext in '' $ac_executable_extensions; do
20084
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21559
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20085
21560
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
20086
21561
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20087
21562
    break 2
20088
21563
  fi
20089
21564
done
20090
21565
done
 
21566
IFS=$as_save_IFS
20091
21567
 
20092
21568
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
20093
21569
  ;;
20094
21570
esac
20095
21571
fi
20096
21572
GMSGFMT=$ac_cv_path_GMSGFMT
20097
 
 
20098
21573
if test -n "$GMSGFMT"; then
20099
 
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
20100
 
echo "${ECHO_T}$GMSGFMT" >&6
 
21574
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
21575
echo "${ECHO_T}$GMSGFMT" >&6; }
20101
21576
else
20102
 
  echo "$as_me:$LINENO: result: no" >&5
20103
 
echo "${ECHO_T}no" >&6
 
21577
  { echo "$as_me:$LINENO: result: no" >&5
 
21578
echo "${ECHO_T}no" >&6; }
20104
21579
fi
20105
21580
 
 
21581
 
20106
21582
          # Extract the first word of "xgettext", so it can be a program name with args.
20107
21583
set dummy xgettext; ac_word=$2
20108
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20109
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21584
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21585
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20110
21586
if test "${ac_cv_path_XGETTEXT+set}" = set; then
20111
21587
  echo $ECHO_N "(cached) $ECHO_C" >&6
20112
21588
else
20132
21608
fi
20133
21609
XGETTEXT="$ac_cv_path_XGETTEXT"
20134
21610
if test "$XGETTEXT" != ":"; then
20135
 
  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
20136
 
echo "${ECHO_T}$XGETTEXT" >&6
 
21611
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
21612
echo "${ECHO_T}$XGETTEXT" >&6; }
20137
21613
else
20138
 
  echo "$as_me:$LINENO: result: no" >&5
20139
 
echo "${ECHO_T}no" >&6
 
21614
  { echo "$as_me:$LINENO: result: no" >&5
 
21615
echo "${ECHO_T}no" >&6; }
20140
21616
fi
20141
21617
 
20142
21618
          cat >conftest.$ac_ext <<_ACEOF
20143
 
#line $LINENO "configure"
20144
21619
/* confdefs.h.  */
20145
21620
_ACEOF
20146
21621
cat confdefs.h >>conftest.$ac_ext
20157
21632
}
20158
21633
_ACEOF
20159
21634
rm -f conftest.$ac_objext conftest$ac_exeext
20160
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20161
 
  (eval $ac_link) 2>&5
 
21635
if { (ac_try="$ac_link"
 
21636
case "(($ac_try" in
 
21637
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21638
  *) ac_try_echo=$ac_try;;
 
21639
esac
 
21640
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21641
  (eval "$ac_link") 2>conftest.er1
20162
21642
  ac_status=$?
 
21643
  grep -v '^ *+' conftest.er1 >conftest.err
 
21644
  rm -f conftest.er1
 
21645
  cat conftest.err >&5
20163
21646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164
21647
  (exit $ac_status); } &&
20165
 
         { ac_try='test -s conftest$ac_exeext'
20166
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20167
 
  (eval $ac_try) 2>&5
 
21648
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21649
  { (case "(($ac_try" in
 
21650
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21651
  *) ac_try_echo=$ac_try;;
 
21652
esac
 
21653
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21654
  (eval "$ac_try") 2>&5
 
21655
  ac_status=$?
 
21656
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21657
  (exit $ac_status); }; } &&
 
21658
         { ac_try='test -s conftest$ac_exeext'
 
21659
  { (case "(($ac_try" in
 
21660
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21661
  *) ac_try_echo=$ac_try;;
 
21662
esac
 
21663
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21664
  (eval "$ac_try") 2>&5
20168
21665
  ac_status=$?
20169
21666
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170
21667
  (exit $ac_status); }; }; then
20174
21671
  echo "$as_me: failed program was:" >&5
20175
21672
sed 's/^/| /' conftest.$ac_ext >&5
20176
21673
 
20177
 
case $host in
 
21674
        case $host in
20178
21675
            *-*-solaris*)
20179
 
                                                                echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
20180
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
 
21676
                                                                { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
21677
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
20181
21678
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
20182
21679
  echo $ECHO_N "(cached) $ECHO_C" >&6
20183
21680
else
20184
21681
  cat >conftest.$ac_ext <<_ACEOF
20185
 
#line $LINENO "configure"
20186
21682
/* confdefs.h.  */
20187
21683
_ACEOF
20188
21684
cat confdefs.h >>conftest.$ac_ext
20189
21685
cat >>conftest.$ac_ext <<_ACEOF
20190
21686
/* end confdefs.h.  */
 
21687
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 
21688
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
21689
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 
21690
 
20191
21691
/* System header to define __stub macros and hopefully few prototypes,
20192
21692
    which can conflict with char bind_textdomain_codeset (); below.
20193
21693
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20194
21694
    <limits.h> exists even on freestanding compilers.  */
 
21695
 
20195
21696
#ifdef __STDC__
20196
21697
# include <limits.h>
20197
21698
#else
20198
21699
# include <assert.h>
20199
21700
#endif
20200
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21701
 
 
21702
#undef bind_textdomain_codeset
 
21703
 
 
21704
/* Override any GCC internal prototype to avoid an error.
 
21705
   Use char because int might match the return type of a GCC
 
21706
   builtin and then its argument prototype would still apply.  */
20201
21707
#ifdef __cplusplus
20202
21708
extern "C"
20203
 
{
20204
21709
#endif
20205
 
/* We use char because int might match the return type of a gcc2
20206
 
   builtin and then its argument prototype would still apply.  */
20207
21710
char bind_textdomain_codeset ();
20208
21711
/* The GNU C library defines this for functions which it implements
20209
21712
    to always fail with ENOSYS.  Some functions are actually named
20210
21713
    something starting with __ and the normal name is an alias.  */
20211
 
#if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
 
21714
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
20212
21715
choke me
20213
 
#else
20214
 
char (*f) () = bind_textdomain_codeset;
20215
 
#endif
20216
 
#ifdef __cplusplus
20217
 
}
20218
21716
#endif
20219
21717
 
20220
21718
int
20221
21719
main ()
20222
21720
{
20223
 
return f != bind_textdomain_codeset;
 
21721
return bind_textdomain_codeset ();
20224
21722
  ;
20225
21723
  return 0;
20226
21724
}
20227
21725
_ACEOF
20228
21726
rm -f conftest.$ac_objext conftest$ac_exeext
20229
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20230
 
  (eval $ac_link) 2>&5
 
21727
if { (ac_try="$ac_link"
 
21728
case "(($ac_try" in
 
21729
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21730
  *) ac_try_echo=$ac_try;;
 
21731
esac
 
21732
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21733
  (eval "$ac_link") 2>conftest.er1
20231
21734
  ac_status=$?
 
21735
  grep -v '^ *+' conftest.er1 >conftest.err
 
21736
  rm -f conftest.er1
 
21737
  cat conftest.err >&5
20232
21738
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233
21739
  (exit $ac_status); } &&
20234
 
         { ac_try='test -s conftest$ac_exeext'
20235
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20236
 
  (eval $ac_try) 2>&5
 
21740
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21741
  { (case "(($ac_try" in
 
21742
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21743
  *) ac_try_echo=$ac_try;;
 
21744
esac
 
21745
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21746
  (eval "$ac_try") 2>&5
 
21747
  ac_status=$?
 
21748
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21749
  (exit $ac_status); }; } &&
 
21750
         { ac_try='test -s conftest$ac_exeext'
 
21751
  { (case "(($ac_try" in
 
21752
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21753
  *) ac_try_echo=$ac_try;;
 
21754
esac
 
21755
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21756
  (eval "$ac_try") 2>&5
20237
21757
  ac_status=$?
20238
21758
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239
21759
  (exit $ac_status); }; }; then
20242
21762
  echo "$as_me: failed program was:" >&5
20243
21763
sed 's/^/| /' conftest.$ac_ext >&5
20244
21764
 
20245
 
ac_cv_func_bind_textdomain_codeset=no
20246
 
fi
20247
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20248
 
fi
20249
 
echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
20250
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
 
21765
        ac_cv_func_bind_textdomain_codeset=no
 
21766
fi
 
21767
 
 
21768
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21769
      conftest$ac_exeext conftest.$ac_ext
 
21770
fi
 
21771
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
21772
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
20251
21773
if test $ac_cv_func_bind_textdomain_codeset = yes; then
20252
21774
  CATOBJEXT=.gmo
20253
21775
               DATADIRNAME=share
20263
21785
            ;;
20264
21786
            esac
20265
21787
fi
20266
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
21788
 
 
21789
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21790
      conftest$ac_exeext conftest.$ac_ext
20267
21791
          LIBS="$glib_save_LIBS"
20268
21792
          INSTOBJEXT=.mo
20269
21793
        else
20287
21811
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
20288
21812
        : ;
20289
21813
      else
20290
 
        echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
20291
 
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
 
21814
        { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
21815
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
20292
21816
        XGETTEXT=":"
20293
21817
      fi
20294
21818
    fi
20296
21820
    # We need to process the po/ directory.
20297
21821
    POSUB=po
20298
21822
 
20299
 
              ac_config_commands="$ac_config_commands default-1"
 
21823
    ac_config_commands="$ac_config_commands default-1"
20300
21824
 
20301
21825
 
20302
21826
                for lang in $ALL_LINGUAS; do
20320
21844
     if test "x$ALL_LINGUAS" = "x"; then
20321
21845
       LINGUAS=
20322
21846
     else
20323
 
       echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
20324
 
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
 
21847
       { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
21848
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
20325
21849
       NEW_LINGUAS=
20326
21850
       for presentlang in $ALL_LINGUAS; do
20327
21851
         useit=no
20345
21869
         fi
20346
21870
       done
20347
21871
       LINGUAS=$NEW_LINGUAS
20348
 
       echo "$as_me:$LINENO: result: $LINGUAS" >&5
20349
 
echo "${ECHO_T}$LINGUAS" >&6
 
21872
       { echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
21873
echo "${ECHO_T}$LINGUAS" >&6; }
20350
21874
     fi
20351
21875
 
20352
21876
          if test -n "$LINGUAS"; then
20378
21902
        < $srcdir/po/POTFILES.in > po/POTFILES
20379
21903
 
20380
21904
 
20381
 
    echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
20382
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
 
21905
    { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
21906
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
20383
21907
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
20384
21908
  echo $ECHO_N "(cached) $ECHO_C" >&6
20385
21909
else
20386
21910
  cat >conftest.$ac_ext <<_ACEOF
20387
 
#line $LINENO "configure"
20388
21911
/* confdefs.h.  */
20389
21912
_ACEOF
20390
21913
cat confdefs.h >>conftest.$ac_ext
20391
21914
cat >>conftest.$ac_ext <<_ACEOF
20392
21915
/* end confdefs.h.  */
 
21916
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 
21917
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
21918
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 
21919
 
20393
21920
/* System header to define __stub macros and hopefully few prototypes,
20394
21921
    which can conflict with char bind_textdomain_codeset (); below.
20395
21922
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20396
21923
    <limits.h> exists even on freestanding compilers.  */
 
21924
 
20397
21925
#ifdef __STDC__
20398
21926
# include <limits.h>
20399
21927
#else
20400
21928
# include <assert.h>
20401
21929
#endif
20402
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21930
 
 
21931
#undef bind_textdomain_codeset
 
21932
 
 
21933
/* Override any GCC internal prototype to avoid an error.
 
21934
   Use char because int might match the return type of a GCC
 
21935
   builtin and then its argument prototype would still apply.  */
20403
21936
#ifdef __cplusplus
20404
21937
extern "C"
20405
 
{
20406
21938
#endif
20407
 
/* We use char because int might match the return type of a gcc2
20408
 
   builtin and then its argument prototype would still apply.  */
20409
21939
char bind_textdomain_codeset ();
20410
21940
/* The GNU C library defines this for functions which it implements
20411
21941
    to always fail with ENOSYS.  Some functions are actually named
20412
21942
    something starting with __ and the normal name is an alias.  */
20413
 
#if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
 
21943
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
20414
21944
choke me
20415
 
#else
20416
 
char (*f) () = bind_textdomain_codeset;
20417
 
#endif
20418
 
#ifdef __cplusplus
20419
 
}
20420
21945
#endif
20421
21946
 
20422
21947
int
20423
21948
main ()
20424
21949
{
20425
 
return f != bind_textdomain_codeset;
 
21950
return bind_textdomain_codeset ();
20426
21951
  ;
20427
21952
  return 0;
20428
21953
}
20429
21954
_ACEOF
20430
21955
rm -f conftest.$ac_objext conftest$ac_exeext
20431
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20432
 
  (eval $ac_link) 2>&5
 
21956
if { (ac_try="$ac_link"
 
21957
case "(($ac_try" in
 
21958
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21959
  *) ac_try_echo=$ac_try;;
 
21960
esac
 
21961
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21962
  (eval "$ac_link") 2>conftest.er1
20433
21963
  ac_status=$?
 
21964
  grep -v '^ *+' conftest.er1 >conftest.err
 
21965
  rm -f conftest.er1
 
21966
  cat conftest.err >&5
20434
21967
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435
21968
  (exit $ac_status); } &&
20436
 
         { ac_try='test -s conftest$ac_exeext'
20437
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438
 
  (eval $ac_try) 2>&5
 
21969
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21970
  { (case "(($ac_try" in
 
21971
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21972
  *) ac_try_echo=$ac_try;;
 
21973
esac
 
21974
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21975
  (eval "$ac_try") 2>&5
 
21976
  ac_status=$?
 
21977
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21978
  (exit $ac_status); }; } &&
 
21979
         { ac_try='test -s conftest$ac_exeext'
 
21980
  { (case "(($ac_try" in
 
21981
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21982
  *) ac_try_echo=$ac_try;;
 
21983
esac
 
21984
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21985
  (eval "$ac_try") 2>&5
20439
21986
  ac_status=$?
20440
21987
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441
21988
  (exit $ac_status); }; }; then
20444
21991
  echo "$as_me: failed program was:" >&5
20445
21992
sed 's/^/| /' conftest.$ac_ext >&5
20446
21993
 
20447
 
ac_cv_func_bind_textdomain_codeset=no
20448
 
fi
20449
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20450
 
fi
20451
 
echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
20452
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
20453
 
 
20454
 
 
20455
 
  echo "$as_me:$LINENO: checking for locales directory" >&5
20456
 
echo $ECHO_N "checking for locales directory... $ECHO_C" >&6
20457
 
 
20458
 
# Check whether --with-locales-dir or --without-locales-dir was given.
 
21994
        ac_cv_func_bind_textdomain_codeset=no
 
21995
fi
 
21996
 
 
21997
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21998
      conftest$ac_exeext conftest.$ac_ext
 
21999
fi
 
22000
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
22001
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
 
22002
 
 
22003
 
 
22004
    { echo "$as_me:$LINENO: checking for locales directory" >&5
 
22005
echo $ECHO_N "checking for locales directory... $ECHO_C" >&6; }
 
22006
 
 
22007
# Check whether --with-locales-dir was given.
20459
22008
if test "${with_locales_dir+set}" = set; then
20460
 
  withval="$with_locales_dir"
20461
 
  localedir=$withval
20462
 
else
20463
 
  localedir=$datadir/locale
20464
 
fi;
20465
 
  echo "$as_me:$LINENO: result: $localedir" >&5
20466
 
echo "${ECHO_T}$localedir" >&6
20467
 
 
20468
 
 
20469
 
 
20470
 
# Check for debugging support
20471
 
 
20472
 
  # Check whether --enable-debug or --disable-debug was given.
 
22009
  withval=$with_locales_dir; localedir=$withval
 
22010
else
 
22011
 
 
22012
    if test x"$CATOBJEXT" = x".mo"; then
 
22013
      localedir=$libdir/locale
 
22014
    else
 
22015
      localedir=$datadir/locale
 
22016
    fi
 
22017
 
 
22018
fi
 
22019
 
 
22020
  { echo "$as_me:$LINENO: result: $localedir" >&5
 
22021
echo "${ECHO_T}$localedir" >&6; }
 
22022
 
 
22023
 
 
22024
    { echo "$as_me:$LINENO: checking for additional xgettext flags" >&5
 
22025
echo $ECHO_N "checking for additional xgettext flags... $ECHO_C" >&6; }
 
22026
  if test x"$XGETTEXT_ARGS" = x""; then
 
22027
    XGETTEXT_ARGS="--keyword=Q_";
 
22028
  else
 
22029
    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_";
 
22030
  fi
 
22031
 
 
22032
  { echo "$as_me:$LINENO: result: $XGETTEXT_ARGS" >&5
 
22033
echo "${ECHO_T}$XGETTEXT_ARGS" >&6; }
 
22034
 
 
22035
 
 
22036
 
 
22037
 
 
22038
  # minimum supported version of pkg-config
 
22039
  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
 
22040
 
 
22041
  # lookup pkg-config utility
 
22042
  if test x"$PKG_CONFIG" = x""; then
 
22043
    # Extract the first word of "pkg-config", so it can be a program name with args.
 
22044
set dummy pkg-config; ac_word=$2
 
22045
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22046
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
22047
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
22048
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22049
else
 
22050
  case $PKG_CONFIG in
 
22051
  [\\/]* | ?:[\\/]*)
 
22052
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
22053
  ;;
 
22054
  *)
 
22055
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
22056
for as_dir in $PATH
 
22057
do
 
22058
  IFS=$as_save_IFS
 
22059
  test -z "$as_dir" && as_dir=.
 
22060
  for ac_exec_ext in '' $ac_executable_extensions; do
 
22061
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
22062
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
22063
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
22064
    break 2
 
22065
  fi
 
22066
done
 
22067
done
 
22068
IFS=$as_save_IFS
 
22069
 
 
22070
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
 
22071
  ;;
 
22072
esac
 
22073
fi
 
22074
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
22075
if test -n "$PKG_CONFIG"; then
 
22076
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
22077
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
22078
else
 
22079
  { echo "$as_me:$LINENO: result: no" >&5
 
22080
echo "${ECHO_T}no" >&6; }
 
22081
fi
 
22082
 
 
22083
 
 
22084
 
 
22085
    if test x"$PKG_CONFIG" = x"no"; then
 
22086
      echo "*** The pkg-config utility could not be found on your system."
 
22087
      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
 
22088
      echo "*** environment variable to the full path to pkg-config."
 
22089
      echo "*** You can download pkg-config from the freedesktop.org"
 
22090
      echo "*** software repository at"
 
22091
      echo "***"
 
22092
      echo "***    http://www.freedesktop.org/software/pkgconfig"
 
22093
      echo "***"
 
22094
      exit 1
 
22095
    fi
 
22096
 
 
22097
    # check pkg-config version
 
22098
    { echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
22099
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6; }
 
22100
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
 
22101
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
 
22102
      { echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
22103
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
 
22104
    else
 
22105
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
 
22106
      { echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
22107
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
 
22108
      echo "*** Your version of pkg-config is too old. You need atleast"
 
22109
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
 
22110
      echo "*** from the freedesktop.org software repository at"
 
22111
      echo "***"
 
22112
      echo "***    http://www.freedesktop.org/software/pkgconfig"
 
22113
      echo "***"
 
22114
      exit 1
 
22115
    fi
 
22116
  fi
 
22117
 
 
22118
 
 
22119
  { echo "$as_me:$LINENO: checking for libxfce4panel-1.0 >= 4.3.20" >&5
 
22120
echo $ECHO_N "checking for libxfce4panel-1.0 >= 4.3.20... $ECHO_C" >&6; }
 
22121
  if $PKG_CONFIG "--atleast-version=4.3.20" "libxfce4panel-1.0" >/dev/null 2>&1; then
 
22122
    LIBXFCE4PANEL_VERSION=`$PKG_CONFIG --modversion "libxfce4panel-1.0"`
 
22123
    { echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_VERSION" >&5
 
22124
echo "${ECHO_T}$LIBXFCE4PANEL_VERSION" >&6; }
 
22125
 
 
22126
    { echo "$as_me:$LINENO: checking LIBXFCE4PANEL_CFLAGS" >&5
 
22127
echo $ECHO_N "checking LIBXFCE4PANEL_CFLAGS... $ECHO_C" >&6; }
 
22128
    LIBXFCE4PANEL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4panel-1.0"`
 
22129
    { echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_CFLAGS" >&5
 
22130
echo "${ECHO_T}$LIBXFCE4PANEL_CFLAGS" >&6; }
 
22131
 
 
22132
    { echo "$as_me:$LINENO: checking LIBXFCE4PANEL_LIBS" >&5
 
22133
echo $ECHO_N "checking LIBXFCE4PANEL_LIBS... $ECHO_C" >&6; }
 
22134
    LIBXFCE4PANEL_LIBS=`$PKG_CONFIG --libs "libxfce4panel-1.0"`
 
22135
    { echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_LIBS" >&5
 
22136
echo "${ECHO_T}$LIBXFCE4PANEL_LIBS" >&6; }
 
22137
 
 
22138
    LIBXFCE4PANEL_REQUIRED_VERSION=4.3.20
 
22139
 
 
22140
 
 
22141
 
 
22142
 
 
22143
 
 
22144
 
 
22145
 
 
22146
  elif $PKG_CONFIG --exists "libxfce4panel-1.0" >/dev/null 2>&1; then
 
22147
    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4panel-1.0"`
 
22148
    { echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
22149
echo "${ECHO_T}found, but $xdt_cv_version" >&6; }
 
22150
 
 
22151
 
 
22152
      echo "*** The required package libxfce4panel-1.0 was found on your system,"
 
22153
      echo "*** but the installed version ($xdt_cv_version) is too old."
 
22154
      echo "*** Please upgrade libxfce4panel-1.0 to atleast version 4.3.20, or adjust"
 
22155
      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
 
22156
      echo "*** the new version of the package in a nonstandard prefix so"
 
22157
      echo "*** pkg-config is able to find it."
 
22158
      exit 1
 
22159
 
 
22160
  else
 
22161
    { echo "$as_me:$LINENO: result: not found" >&5
 
22162
echo "${ECHO_T}not found" >&6; }
 
22163
 
 
22164
 
 
22165
      echo "*** The required package libxfce4panel-1.0 was not found on your system."
 
22166
      echo "*** Please install libxfce4panel-1.0 (atleast version 4.3.20) or adjust"
 
22167
      echo "*** the PKG_CONFIG_PATH environment variable if you"
 
22168
      echo "*** installed the package in a nonstandard prefix so that"
 
22169
      echo "*** pkg-config is able to find it."
 
22170
      exit 1
 
22171
 
 
22172
  fi
 
22173
 
 
22174
 
 
22175
 
 
22176
 
 
22177
 
 
22178
  # Check whether --enable-dbus was given.
 
22179
if test "${enable_dbus+set}" = set; then
 
22180
  enableval=$enable_dbus; xdt_cv_DBUS_check=$enableval
 
22181
else
 
22182
  xdt_cv_DBUS_check=yes
 
22183
fi
 
22184
 
 
22185
 
 
22186
  if test x"$xdt_cv_DBUS_check" = x"yes"; then
 
22187
    if $PKG_CONFIG --exists "dbus-1 >= 0.22" >/dev/null 2>&1; then
 
22188
 
 
22189
 
 
22190
  # minimum supported version of pkg-config
 
22191
  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
 
22192
 
 
22193
  # lookup pkg-config utility
 
22194
  if test x"$PKG_CONFIG" = x""; then
 
22195
    # Extract the first word of "pkg-config", so it can be a program name with args.
 
22196
set dummy pkg-config; ac_word=$2
 
22197
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22198
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
22199
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
22200
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22201
else
 
22202
  case $PKG_CONFIG in
 
22203
  [\\/]* | ?:[\\/]*)
 
22204
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
22205
  ;;
 
22206
  *)
 
22207
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
22208
for as_dir in $PATH
 
22209
do
 
22210
  IFS=$as_save_IFS
 
22211
  test -z "$as_dir" && as_dir=.
 
22212
  for ac_exec_ext in '' $ac_executable_extensions; do
 
22213
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
22214
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
22215
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
22216
    break 2
 
22217
  fi
 
22218
done
 
22219
done
 
22220
IFS=$as_save_IFS
 
22221
 
 
22222
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
 
22223
  ;;
 
22224
esac
 
22225
fi
 
22226
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
22227
if test -n "$PKG_CONFIG"; then
 
22228
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
22229
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
22230
else
 
22231
  { echo "$as_me:$LINENO: result: no" >&5
 
22232
echo "${ECHO_T}no" >&6; }
 
22233
fi
 
22234
 
 
22235
 
 
22236
 
 
22237
    if test x"$PKG_CONFIG" = x"no"; then
 
22238
      echo "*** The pkg-config utility could not be found on your system."
 
22239
      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
 
22240
      echo "*** environment variable to the full path to pkg-config."
 
22241
      echo "*** You can download pkg-config from the freedesktop.org"
 
22242
      echo "*** software repository at"
 
22243
      echo "***"
 
22244
      echo "***    http://www.freedesktop.org/software/pkgconfig"
 
22245
      echo "***"
 
22246
      exit 1
 
22247
    fi
 
22248
 
 
22249
    # check pkg-config version
 
22250
    { echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
22251
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6; }
 
22252
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
 
22253
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
 
22254
      { echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
22255
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
 
22256
    else
 
22257
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
 
22258
      { echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
22259
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
 
22260
      echo "*** Your version of pkg-config is too old. You need atleast"
 
22261
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
 
22262
      echo "*** from the freedesktop.org software repository at"
 
22263
      echo "***"
 
22264
      echo "***    http://www.freedesktop.org/software/pkgconfig"
 
22265
      echo "***"
 
22266
      exit 1
 
22267
    fi
 
22268
  fi
 
22269
 
 
22270
 
 
22271
  { echo "$as_me:$LINENO: checking for dbus-1 >= 0.22" >&5
 
22272
echo $ECHO_N "checking for dbus-1 >= 0.22... $ECHO_C" >&6; }
 
22273
  if $PKG_CONFIG "--atleast-version=0.22" "dbus-1" >/dev/null 2>&1; then
 
22274
    DBUS_VERSION=`$PKG_CONFIG --modversion "dbus-1"`
 
22275
    { echo "$as_me:$LINENO: result: $DBUS_VERSION" >&5
 
22276
echo "${ECHO_T}$DBUS_VERSION" >&6; }
 
22277
 
 
22278
    { echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5
 
22279
echo $ECHO_N "checking DBUS_CFLAGS... $ECHO_C" >&6; }
 
22280
    DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1"`
 
22281
    { echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5
 
22282
echo "${ECHO_T}$DBUS_CFLAGS" >&6; }
 
22283
 
 
22284
    { echo "$as_me:$LINENO: checking DBUS_LIBS" >&5
 
22285
echo $ECHO_N "checking DBUS_LIBS... $ECHO_C" >&6; }
 
22286
    DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1"`
 
22287
    { echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5
 
22288
echo "${ECHO_T}$DBUS_LIBS" >&6; }
 
22289
 
 
22290
    DBUS_REQUIRED_VERSION=0.22
 
22291
 
 
22292
 
 
22293
 
 
22294
 
 
22295
 
 
22296
 
 
22297
 
 
22298
 
 
22299
cat >>confdefs.h <<\_ACEOF
 
22300
#define HAVE_DBUS 1
 
22301
_ACEOF
 
22302
 
 
22303
        DBUS_FOUND="yes"
 
22304
 
 
22305
  elif $PKG_CONFIG --exists "dbus-1" >/dev/null 2>&1; then
 
22306
    xdt_cv_version=`$PKG_CONFIG --modversion "dbus-1"`
 
22307
    { echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
22308
echo "${ECHO_T}found, but $xdt_cv_version" >&6; }
 
22309
 
 
22310
 
 
22311
      echo "*** The required package dbus-1 was found on your system,"
 
22312
      echo "*** but the installed version ($xdt_cv_version) is too old."
 
22313
      echo "*** Please upgrade dbus-1 to atleast version 0.22, or adjust"
 
22314
      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
 
22315
      echo "*** the new version of the package in a nonstandard prefix so"
 
22316
      echo "*** pkg-config is able to find it."
 
22317
      exit 1
 
22318
 
 
22319
  else
 
22320
    { echo "$as_me:$LINENO: result: not found" >&5
 
22321
echo "${ECHO_T}not found" >&6; }
 
22322
 
 
22323
 
 
22324
      echo "*** The required package dbus-1 was not found on your system."
 
22325
      echo "*** Please install dbus-1 (atleast version 0.22) or adjust"
 
22326
      echo "*** the PKG_CONFIG_PATH environment variable if you"
 
22327
      echo "*** installed the package in a nonstandard prefix so that"
 
22328
      echo "*** pkg-config is able to find it."
 
22329
      exit 1
 
22330
 
 
22331
  fi
 
22332
 
 
22333
    else
 
22334
      { echo "$as_me:$LINENO: checking for optional package dbus-1 >= 0.22" >&5
 
22335
echo $ECHO_N "checking for optional package dbus-1 >= 0.22... $ECHO_C" >&6; }
 
22336
      { echo "$as_me:$LINENO: result: not found" >&5
 
22337
echo "${ECHO_T}not found" >&6; }
 
22338
    fi
 
22339
  else
 
22340
    { echo "$as_me:$LINENO: checking for optional package dbus-1" >&5
 
22341
echo $ECHO_N "checking for optional package dbus-1... $ECHO_C" >&6; }
 
22342
    { echo "$as_me:$LINENO: result: disabled" >&5
 
22343
echo "${ECHO_T}disabled" >&6; }
 
22344
  fi
 
22345
 
 
22346
 
 
22347
 
 
22348
if test x"$DBUS_FOUND" = x"yes"; then
 
22349
  HAVE_DBUS_TRUE=
 
22350
  HAVE_DBUS_FALSE='#'
 
22351
else
 
22352
  HAVE_DBUS_TRUE='#'
 
22353
  HAVE_DBUS_FALSE=
 
22354
fi
 
22355
 
 
22356
 
 
22357
 
 
22358
 
 
22359
  # Check whether --enable-debug was given.
20473
22360
if test "${enable_debug+set}" = set; then
20474
 
  enableval="$enable_debug"
20475
 
 
 
22361
  enableval=$enable_debug;
20476
22362
else
20477
22363
  enable_debug=no
20478
 
fi;
20479
 
 
20480
 
  echo "$as_me:$LINENO: checking whether to build with debugging support" >&5
20481
 
echo $ECHO_N "checking whether to build with debugging support... $ECHO_C" >&6
 
22364
fi
 
22365
 
 
22366
 
 
22367
  { echo "$as_me:$LINENO: checking whether to build with debugging support" >&5
 
22368
echo $ECHO_N "checking whether to build with debugging support... $ECHO_C" >&6; }
20482
22369
  if test x"$enable_debug" != x"no"; then
20483
22370
 
20484
22371
cat >>confdefs.h <<\_ACEOF
20485
22372
#define DEBUG 1
20486
22373
_ACEOF
20487
22374
 
 
22375
 
 
22376
    if test x"$GCC" = x"yes"; then
 
22377
      xdt_cv_additional_CFLAGS="-Wall"
 
22378
    fi
 
22379
    xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -DXFCE_DISABLE_DEPRECATED"
 
22380
 
20488
22381
    if test x"$enable_debug" = x"full"; then
20489
22382
 
20490
22383
cat >>confdefs.h <<\_ACEOF
20491
22384
#define DEBUG_TRACE 1
20492
22385
_ACEOF
20493
22386
 
20494
 
      CFLAGS="$CFLAGS -g3 -Wall -Werror -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED"
20495
 
      echo "$as_me:$LINENO: result: full" >&5
20496
 
echo "${ECHO_T}full" >&6
 
22387
      if test x"$GCC" = x"yes"; then
 
22388
        xdt_cv_additional_CFLAGS="-g3 -Werror $xdt_cv_additional_CFLAGS"
 
22389
      fi
 
22390
      { echo "$as_me:$LINENO: result: full" >&5
 
22391
echo "${ECHO_T}full" >&6; }
20497
22392
    else
20498
 
      CFLAGS="$CFLAGS -g -Wall -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED"
20499
 
      echo "$as_me:$LINENO: result: yes" >&5
20500
 
echo "${ECHO_T}yes" >&6
 
22393
      if test x"$GCC" = x"yes"; then
 
22394
        xdt_cv_additional_CFLAGS="-g $xdt_cv_additional_CFLAGS"
 
22395
      fi
 
22396
      { echo "$as_me:$LINENO: result: yes" >&5
 
22397
echo "${ECHO_T}yes" >&6; }
20501
22398
    fi
 
22399
 
 
22400
    CFLAGS="$CFLAGS $xdt_cv_additional_CFLAGS"
 
22401
    CXXFLAGS="$CXXFLAGS $xdt_cv_additional_CFLAGS"
20502
22402
  else
20503
 
    echo "$as_me:$LINENO: result: no" >&5
20504
 
echo "${ECHO_T}no" >&6
 
22403
    { echo "$as_me:$LINENO: result: no" >&5
 
22404
echo "${ECHO_T}no" >&6; }
20505
22405
  fi
20506
22406
 
20507
 
  # Check whether --enable-profiling or --disable-profiling was given.
 
22407
 
 
22408
 
 
22409
 
 
22410
  # Check whether --enable-profiling was given.
20508
22411
if test "${enable_profiling+set}" = set; then
20509
 
  enableval="$enable_profiling"
20510
 
 
 
22412
  enableval=$enable_profiling;
20511
22413
else
20512
22414
  enable_profiling=no
20513
 
fi;
20514
 
 
20515
 
  echo "$as_me:$LINENO: checking whether to build with profiling support" >&5
20516
 
echo $ECHO_N "checking whether to build with profiling support... $ECHO_C" >&6
 
22415
fi
 
22416
 
 
22417
 
 
22418
  { echo "$as_me:$LINENO: checking whether to build with profiling support" >&5
 
22419
echo $ECHO_N "checking whether to build with profiling support... $ECHO_C" >&6; }
20517
22420
  if test x"$enable_profiling" != x"no"; then
20518
22421
    CFLAGS="$CFLAGS -pg"
20519
 
    echo "$as_me:$LINENO: result: yes" >&5
20520
 
echo "${ECHO_T}yes" >&6
20521
 
  else
20522
 
    echo "$as_me:$LINENO: result: no" >&5
20523
 
echo "${ECHO_T}no" >&6
20524
 
  fi
20525
 
 
20526
 
  # Check whether --enable-asserts or --disable-asserts was given.
 
22422
    LDFLAGS="$LDFLAGS -pg"
 
22423
    { echo "$as_me:$LINENO: result: yes" >&5
 
22424
echo "${ECHO_T}yes" >&6; }
 
22425
  else
 
22426
    { echo "$as_me:$LINENO: result: no" >&5
 
22427
echo "${ECHO_T}no" >&6; }
 
22428
  fi
 
22429
 
 
22430
  # Check whether --enable-gcov was given.
 
22431
if test "${enable_gcov+set}" = set; then
 
22432
  enableval=$enable_gcov;
 
22433
else
 
22434
  enable_gcov=no
 
22435
fi
 
22436
 
 
22437
 
 
22438
  { echo "$as_me:$LINENO: checking whether to compile with coverage profiling instrumentation" >&5
 
22439
echo $ECHO_N "checking whether to compile with coverage profiling instrumentation... $ECHO_C" >&6; }
 
22440
  if test x"$enable_gcov" != x"no"; then
 
22441
    CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
 
22442
    { echo "$as_me:$LINENO: result: yes" >&5
 
22443
echo "${ECHO_T}yes" >&6; }
 
22444
  else
 
22445
    { echo "$as_me:$LINENO: result: no" >&5
 
22446
echo "${ECHO_T}no" >&6; }
 
22447
  fi
 
22448
 
 
22449
  # Check whether --enable-asserts was given.
20527
22450
if test "${enable_asserts+set}" = set; then
20528
 
  enableval="$enable_asserts"
20529
 
 
 
22451
  enableval=$enable_asserts;
20530
22452
else
20531
22453
  enable_asserts=yes
20532
 
fi;
20533
 
 
20534
 
  echo "$as_me:$LINENO: checking whether to enable assert statements" >&5
20535
 
echo $ECHO_N "checking whether to enable assert statements... $ECHO_C" >&6
20536
 
  if test x"$enable_asserts" != x"yes"; then
20537
 
    CFLAGS="$CFLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
20538
 
    echo "$as_me:$LINENO: result: no" >&5
20539
 
echo "${ECHO_T}no" >&6
20540
 
  else
20541
 
    echo "$as_me:$LINENO: result: yes" >&5
20542
 
echo "${ECHO_T}yes" >&6
20543
 
  fi
20544
 
 
20545
 
 
20546
 
                                        ac_config_files="$ac_config_files Makefile datetime/Makefile po/Makefile.in m4/Makefile"
 
22454
fi
 
22455
 
 
22456
 
 
22457
  { echo "$as_me:$LINENO: checking whether to disable assertions" >&5
 
22458
echo $ECHO_N "checking whether to disable assertions... $ECHO_C" >&6; }
 
22459
  if test x"$enable_asserts" = x"no"; then
 
22460
    { echo "$as_me:$LINENO: result: yes" >&5
 
22461
echo "${ECHO_T}yes" >&6; }
 
22462
    CPPFLAGS="$CPPFLAGS -DG_DISABLE_CHECKS -DG_DISABLE_ASSERT"
 
22463
    CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
 
22464
  else
 
22465
    { echo "$as_me:$LINENO: result: no" >&5
 
22466
echo "${ECHO_T}no" >&6; }
 
22467
  fi
 
22468
 
 
22469
 
 
22470
  # Check whether --enable-final was given.
 
22471
if test "${enable_final+set}" = set; then
 
22472
  enableval=$enable_final;
 
22473
else
 
22474
  enable_final=yes
 
22475
fi
 
22476
 
 
22477
 
 
22478
  { echo "$as_me:$LINENO: checking whether to build final version" >&5
 
22479
echo $ECHO_N "checking whether to build final version... $ECHO_C" >&6; }
 
22480
  if test x"$enable_final" = x"yes"; then
 
22481
    { echo "$as_me:$LINENO: result: yes" >&5
 
22482
echo "${ECHO_T}yes" >&6; }
 
22483
    { echo "$as_me:$LINENO: checking whether $LD accepts -O1" >&5
 
22484
echo $ECHO_N "checking whether $LD accepts -O1... $ECHO_C" >&6; }
 
22485
    case `$LD -O1 -v 2>&1 </dev/null` in
 
22486
    *GNU* | *'with BFD'*)
 
22487
      LDFLAGS="$LDFLAGS -Wl,-O1"
 
22488
      { echo "$as_me:$LINENO: result: yes" >&5
 
22489
echo "${ECHO_T}yes" >&6; }
 
22490
        ;;
 
22491
    *)
 
22492
      { echo "$as_me:$LINENO: result: no" >&5
 
22493
echo "${ECHO_T}no" >&6; }
 
22494
        ;;
 
22495
    esac
 
22496
  else
 
22497
    { echo "$as_me:$LINENO: result: no" >&5
 
22498
echo "${ECHO_T}no" >&6; }
 
22499
  fi
 
22500
 
 
22501
 
 
22502
ac_config_files="$ac_config_files Makefile po/Makefile.in panel-plugin/Makefile"
20547
22503
 
20548
22504
cat >confcache <<\_ACEOF
20549
22505
# This file is a shell script that caches the results of configure
20563
22519
 
20564
22520
# The following way of writing the cache mishandles newlines in values,
20565
22521
# but we know of no workaround that is simple, portable, and efficient.
20566
 
# So, don't put newlines in cache variables' values.
 
22522
# So, we kill variables containing newlines.
20567
22523
# Ultrix sh set writes to stderr and can't be redirected directly,
20568
22524
# and sets the high bit in the cache file unless we assign to the vars.
20569
 
{
 
22525
(
 
22526
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
22527
    eval ac_val=\$$ac_var
 
22528
    case $ac_val in #(
 
22529
    *${as_nl}*)
 
22530
      case $ac_var in #(
 
22531
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
22532
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
22533
      esac
 
22534
      case $ac_var in #(
 
22535
      _ | IFS | as_nl) ;; #(
 
22536
      *) $as_unset $ac_var ;;
 
22537
      esac ;;
 
22538
    esac
 
22539
  done
 
22540
 
20570
22541
  (set) 2>&1 |
20571
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
20572
 
    *ac_space=\ *)
 
22542
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
22543
    *${as_nl}ac_space=\ *)
20573
22544
      # `set' does not quote correctly, so add quotes (double-quote
20574
22545
      # substitution turns \\\\ into \\, and sed turns \\ into \).
20575
22546
      sed -n \
20576
 
        "s/'/'\\\\''/g;
20577
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20578
 
      ;;
 
22547
        "s/'/'\\\\''/g;
 
22548
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
22549
      ;; #(
20579
22550
    *)
20580
22551
      # `set' quotes correctly as required by POSIX, so do not add quotes.
20581
 
      sed -n \
20582
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
22552
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20583
22553
      ;;
20584
 
    esac;
20585
 
} |
 
22554
    esac |
 
22555
    sort
 
22556
) |
20586
22557
  sed '
 
22558
     /^ac_cv_env_/b end
20587
22559
     t clear
20588
 
     : clear
 
22560
     :clear
20589
22561
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20590
22562
     t end
20591
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20592
 
     : end' >>confcache
20593
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
20594
 
  if test -w $cache_file; then
20595
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
22563
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
22564
     :end' >>confcache
 
22565
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
22566
  if test -w "$cache_file"; then
 
22567
    test "x$cache_file" != "x/dev/null" &&
 
22568
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
22569
echo "$as_me: updating cache $cache_file" >&6;}
20596
22570
    cat confcache >$cache_file
20597
22571
  else
20598
 
    echo "not updating unwritable cache $cache_file"
 
22572
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
22573
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20599
22574
  fi
20600
22575
fi
20601
22576
rm -f confcache
20604
22579
# Let make expand exec_prefix.
20605
22580
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20606
22581
 
20607
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
20608
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20609
 
# trailing colons and then remove the whole line if VPATH becomes empty
20610
 
# (actually we leave an empty line to preserve line numbers).
20611
 
if test "x$srcdir" = x.; then
20612
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
20613
 
s/:*\$(srcdir):*/:/;
20614
 
s/:*\${srcdir}:*/:/;
20615
 
s/:*@srcdir@:*/:/;
20616
 
s/^\([^=]*=[    ]*\):*/\1/;
20617
 
s/:*$//;
20618
 
s/^[^=]*=[      ]*$//;
20619
 
}'
20620
 
fi
20621
 
 
20622
22582
DEFS=-DHAVE_CONFIG_H
20623
22583
 
20624
22584
ac_libobjs=
20625
22585
ac_ltlibobjs=
20626
22586
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20627
22587
  # 1. Remove the extension, and $U if already installed.
20628
 
  ac_i=`echo "$ac_i" |
20629
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20630
 
  # 2. Add them.
20631
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20632
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
22588
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
22589
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
22590
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
22591
  #    will be set to the directory where LIBOBJS objects are built.
 
22592
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
22593
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20633
22594
done
20634
22595
LIBOBJS=$ac_libobjs
20635
22596
 
20657
22618
Usually this means the macro was only invoked conditionally." >&2;}
20658
22619
   { (exit 1); exit 1; }; }
20659
22620
fi
 
22621
 
 
22622
  ac_config_commands="$ac_config_commands po/stamp-it"
 
22623
 
 
22624
 
20660
22625
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20661
22626
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20662
22627
Usually this means the macro was only invoked conditionally." >&5
20664
22629
Usually this means the macro was only invoked conditionally." >&2;}
20665
22630
   { (exit 1); exit 1; }; }
20666
22631
fi
 
22632
if test -z "${HAVE_DBUS_TRUE}" && test -z "${HAVE_DBUS_FALSE}"; then
 
22633
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_DBUS\" was never defined.
 
22634
Usually this means the macro was only invoked conditionally." >&5
 
22635
echo "$as_me: error: conditional \"HAVE_DBUS\" was never defined.
 
22636
Usually this means the macro was only invoked conditionally." >&2;}
 
22637
   { (exit 1); exit 1; }; }
 
22638
fi
20667
22639
 
20668
22640
: ${CONFIG_STATUS=./config.status}
20669
22641
ac_clean_files_save=$ac_clean_files
20695
22667
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20696
22668
  # is contrary to our usage.  Disable this feature.
20697
22669
  alias -g '${1+"$@"}'='"$@"'
20698
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20699
 
  set -o posix
 
22670
  setopt NO_GLOB_SUBST
 
22671
else
 
22672
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
22673
fi
 
22674
BIN_SH=xpg4; export BIN_SH # for Tru64
 
22675
DUALCASE=1; export DUALCASE # for MKS sh
 
22676
 
 
22677
 
 
22678
# PATH needs CR
 
22679
# Avoid depending upon Character Ranges.
 
22680
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
22681
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
22682
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
22683
as_cr_digits='0123456789'
 
22684
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
22685
 
 
22686
# The user is always right.
 
22687
if test "${PATH_SEPARATOR+set}" != set; then
 
22688
  echo "#! /bin/sh" >conf$$.sh
 
22689
  echo  "exit 0"   >>conf$$.sh
 
22690
  chmod +x conf$$.sh
 
22691
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
22692
    PATH_SEPARATOR=';'
 
22693
  else
 
22694
    PATH_SEPARATOR=:
 
22695
  fi
 
22696
  rm -f conf$$.sh
20700
22697
fi
20701
22698
 
20702
22699
# Support unset when possible.
20703
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
22700
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20704
22701
  as_unset=unset
20705
22702
else
20706
22703
  as_unset=false
20707
22704
fi
20708
22705
 
20709
22706
 
 
22707
# IFS
 
22708
# We need space, tab and new line, in precisely that order.  Quoting is
 
22709
# there to prevent editors from complaining about space-tab.
 
22710
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
22711
# splitting by setting IFS to empty value.)
 
22712
as_nl='
 
22713
'
 
22714
IFS=" ""        $as_nl"
 
22715
 
 
22716
# Find who we are.  Look in the path if we contain no directory separator.
 
22717
case $0 in
 
22718
  *[\\/]* ) as_myself=$0 ;;
 
22719
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
22720
for as_dir in $PATH
 
22721
do
 
22722
  IFS=$as_save_IFS
 
22723
  test -z "$as_dir" && as_dir=.
 
22724
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
22725
done
 
22726
IFS=$as_save_IFS
 
22727
 
 
22728
     ;;
 
22729
esac
 
22730
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
22731
# in which case we are not to be found in the path.
 
22732
if test "x$as_myself" = x; then
 
22733
  as_myself=$0
 
22734
fi
 
22735
if test ! -f "$as_myself"; then
 
22736
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
22737
  { (exit 1); exit 1; }
 
22738
fi
 
22739
 
20710
22740
# Work around bugs in pre-3.0 UWIN ksh.
20711
 
$as_unset ENV MAIL MAILPATH
 
22741
for as_var in ENV MAIL MAILPATH
 
22742
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
22743
done
20712
22744
PS1='$ '
20713
22745
PS2='> '
20714
22746
PS4='+ '
20719
22751
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20720
22752
  LC_TELEPHONE LC_TIME
20721
22753
do
20722
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
22754
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20723
22755
    eval $as_var=C; export $as_var
20724
22756
  else
20725
 
    $as_unset $as_var
 
22757
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20726
22758
  fi
20727
22759
done
20728
22760
 
20729
22761
# Required to use basename.
20730
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
22762
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
22763
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20731
22764
  as_expr=expr
20732
22765
else
20733
22766
  as_expr=false
20734
22767
fi
20735
22768
 
20736
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
22769
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20737
22770
  as_basename=basename
20738
22771
else
20739
22772
  as_basename=false
20741
22774
 
20742
22775
 
20743
22776
# Name of the executable.
20744
 
as_me=`$as_basename "$0" ||
 
22777
as_me=`$as_basename -- "$0" ||
20745
22778
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20746
22779
         X"$0" : 'X\(//\)$' \| \
20747
 
         X"$0" : 'X\(/\)$' \| \
20748
 
         .     : '\(.\)' 2>/dev/null ||
 
22780
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20749
22781
echo X/"$0" |
20750
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20751
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
20752
 
          /^X\/\(\/\).*/{ s//\1/; q; }
20753
 
          s/.*/./; q'`
20754
 
 
20755
 
 
20756
 
# PATH needs CR, and LINENO needs CR and PATH.
20757
 
# Avoid depending upon Character Ranges.
20758
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20759
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20760
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20761
 
as_cr_digits='0123456789'
20762
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
20763
 
 
20764
 
# The user is always right.
20765
 
if test "${PATH_SEPARATOR+set}" != set; then
20766
 
  echo "#! /bin/sh" >conf$$.sh
20767
 
  echo  "exit 0"   >>conf$$.sh
20768
 
  chmod +x conf$$.sh
20769
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20770
 
    PATH_SEPARATOR=';'
20771
 
  else
20772
 
    PATH_SEPARATOR=:
20773
 
  fi
20774
 
  rm -f conf$$.sh
20775
 
fi
20776
 
 
20777
 
 
20778
 
  as_lineno_1=$LINENO
20779
 
  as_lineno_2=$LINENO
20780
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20781
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
20782
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
20783
 
  # Find who we are.  Look in the path if we contain no path at all
20784
 
  # relative or not.
20785
 
  case $0 in
20786
 
    *[\\/]* ) as_myself=$0 ;;
20787
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20788
 
for as_dir in $PATH
20789
 
do
20790
 
  IFS=$as_save_IFS
20791
 
  test -z "$as_dir" && as_dir=.
20792
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20793
 
done
20794
 
 
20795
 
       ;;
20796
 
  esac
20797
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
20798
 
  # in which case we are not to be found in the path.
20799
 
  if test "x$as_myself" = x; then
20800
 
    as_myself=$0
20801
 
  fi
20802
 
  if test ! -f "$as_myself"; then
20803
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20804
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20805
 
   { (exit 1); exit 1; }; }
20806
 
  fi
20807
 
  case $CONFIG_SHELL in
20808
 
  '')
20809
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20810
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20811
 
do
20812
 
  IFS=$as_save_IFS
20813
 
  test -z "$as_dir" && as_dir=.
20814
 
  for as_base in sh bash ksh sh5; do
20815
 
         case $as_dir in
20816
 
         /*)
20817
 
           if ("$as_dir/$as_base" -c '
20818
 
  as_lineno_1=$LINENO
20819
 
  as_lineno_2=$LINENO
20820
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20821
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
20822
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
20823
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20824
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20825
 
             CONFIG_SHELL=$as_dir/$as_base
20826
 
             export CONFIG_SHELL
20827
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20828
 
           fi;;
20829
 
         esac
20830
 
       done
20831
 
done
20832
 
;;
20833
 
  esac
 
22782
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
22783
            s//\1/
 
22784
            q
 
22785
          }
 
22786
          /^X\/\(\/\/\)$/{
 
22787
            s//\1/
 
22788
            q
 
22789
          }
 
22790
          /^X\/\(\/\).*/{
 
22791
            s//\1/
 
22792
            q
 
22793
          }
 
22794
          s/.*/./; q'`
 
22795
 
 
22796
# CDPATH.
 
22797
$as_unset CDPATH
 
22798
 
 
22799
 
 
22800
 
 
22801
  as_lineno_1=$LINENO
 
22802
  as_lineno_2=$LINENO
 
22803
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
22804
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
20834
22805
 
20835
22806
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20836
22807
  # uniformly replaced by the line number.  The first 'sed' inserts a
20837
 
  # line-number line before each line; the second 'sed' does the real
20838
 
  # work.  The second script uses 'N' to pair each line-number line
20839
 
  # with the numbered line, and appends trailing '-' during
20840
 
  # substitution so that $LINENO is not a special case at line end.
 
22808
  # line-number line after each line using $LINENO; the second 'sed'
 
22809
  # does the real work.  The second script uses 'N' to pair each
 
22810
  # line-number line with the line containing $LINENO, and appends
 
22811
  # trailing '-' during substitution so that $LINENO is not a special
 
22812
  # case at line end.
20841
22813
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20842
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
20843
 
  sed '=' <$as_myself |
 
22814
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
22815
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
22816
  sed -n '
 
22817
    p
 
22818
    /[$]LINENO/=
 
22819
  ' <$as_myself |
20844
22820
    sed '
 
22821
      s/[$]LINENO.*/&-/
 
22822
      t lineno
 
22823
      b
 
22824
      :lineno
20845
22825
      N
20846
 
      s,$,-,
20847
 
      : loop
20848
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
22826
      :loop
 
22827
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20849
22828
      t loop
20850
 
      s,-$,,
20851
 
      s,^['$as_cr_digits']*\n,,
 
22829
      s/-\n.*//
20852
22830
    ' >$as_me.lineno &&
20853
 
  chmod +x $as_me.lineno ||
20854
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20855
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
22831
  chmod +x "$as_me.lineno" ||
 
22832
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20856
22833
   { (exit 1); exit 1; }; }
20857
22834
 
20858
22835
  # Don't try to exec as it changes $[0], causing all sort of problems
20859
22836
  # (the dirname of $[0] is not the place where we might find the
20860
 
  # original and so on.  Autoconf is especially sensible to this).
20861
 
  . ./$as_me.lineno
 
22837
  # original and so on.  Autoconf is especially sensitive to this).
 
22838
  . "./$as_me.lineno"
20862
22839
  # Exit status is that of the last command.
20863
22840
  exit
20864
22841
}
20865
22842
 
20866
22843
 
20867
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20868
 
  *c*,-n*) ECHO_N= ECHO_C='
20869
 
' ECHO_T='      ' ;;
20870
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20871
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
22844
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
22845
  as_dirname=dirname
 
22846
else
 
22847
  as_dirname=false
 
22848
fi
 
22849
 
 
22850
ECHO_C= ECHO_N= ECHO_T=
 
22851
case `echo -n x` in
 
22852
-n*)
 
22853
  case `echo 'x\c'` in
 
22854
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
22855
  *)   ECHO_C='\c';;
 
22856
  esac;;
 
22857
*)
 
22858
  ECHO_N='-n';;
20872
22859
esac
20873
22860
 
20874
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
22861
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
22862
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20875
22863
  as_expr=expr
20876
22864
else
20877
22865
  as_expr=false
20878
22866
fi
20879
22867
 
20880
22868
rm -f conf$$ conf$$.exe conf$$.file
 
22869
if test -d conf$$.dir; then
 
22870
  rm -f conf$$.dir/conf$$.file
 
22871
else
 
22872
  rm -f conf$$.dir
 
22873
  mkdir conf$$.dir
 
22874
fi
20881
22875
echo >conf$$.file
20882
22876
if ln -s conf$$.file conf$$ 2>/dev/null; then
20883
 
  # We could just check for DJGPP; but this test a) works b) is more generic
20884
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20885
 
  if test -f conf$$.exe; then
20886
 
    # Don't use ln at all; we don't have any links
 
22877
  as_ln_s='ln -s'
 
22878
  # ... but there are two gotchas:
 
22879
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
22880
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
22881
  # In both cases, we have to default to `cp -p'.
 
22882
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20887
22883
    as_ln_s='cp -p'
20888
 
  else
20889
 
    as_ln_s='ln -s'
20890
 
  fi
20891
22884
elif ln conf$$.file conf$$ 2>/dev/null; then
20892
22885
  as_ln_s=ln
20893
22886
else
20894
22887
  as_ln_s='cp -p'
20895
22888
fi
20896
 
rm -f conf$$ conf$$.exe conf$$.file
 
22889
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
22890
rmdir conf$$.dir 2>/dev/null
20897
22891
 
20898
22892
if mkdir -p . 2>/dev/null; then
20899
22893
  as_mkdir_p=:
20900
22894
else
 
22895
  test -d ./-p && rmdir ./-p
20901
22896
  as_mkdir_p=false
20902
22897
fi
20903
22898
 
20904
 
as_executable_p="test -f"
 
22899
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
22900
# systems may use methods other than mode bits to determine executability.
 
22901
cat >conf$$.file <<_ASEOF
 
22902
#! /bin/sh
 
22903
exit 0
 
22904
_ASEOF
 
22905
chmod +x conf$$.file
 
22906
if test -x conf$$.file >/dev/null 2>&1; then
 
22907
  as_executable_p="test -x"
 
22908
else
 
22909
  as_executable_p=:
 
22910
fi
 
22911
rm -f conf$$.file
20905
22912
 
20906
22913
# Sed expression to map a string onto a valid CPP name.
20907
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
22914
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20908
22915
 
20909
22916
# Sed expression to map a string onto a valid variable name.
20910
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
20911
 
 
20912
 
 
20913
 
# IFS
20914
 
# We need space, tab and new line, in precisely that order.
20915
 
as_nl='
20916
 
'
20917
 
IFS="   $as_nl"
20918
 
 
20919
 
# CDPATH.
20920
 
$as_unset CDPATH
 
22917
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
22918
 
20921
22919
 
20922
22920
exec 6>&1
20923
22921
 
20924
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
22922
# Save the log message, to keep $[0] and so on meaningful, and to
20925
22923
# report actual input values of CONFIG_FILES etc. instead of their
20926
 
# values after options handling.  Logging --version etc. is OK.
20927
 
exec 5>>config.log
20928
 
{
20929
 
  echo
20930
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20931
 
## Running $as_me. ##
20932
 
_ASBOX
20933
 
} >&5
20934
 
cat >&5 <<_CSEOF
20935
 
 
20936
 
This file was extended by xfce4-panel-datetime-plugin $as_me 0.3.1, which was
20937
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
22924
# values after options handling.
 
22925
ac_log="
 
22926
This file was extended by datetime $as_me 0.4.0, which was
 
22927
generated by GNU Autoconf 2.60a.  Invocation command line was
20938
22928
 
20939
22929
  CONFIG_FILES    = $CONFIG_FILES
20940
22930
  CONFIG_HEADERS  = $CONFIG_HEADERS
20942
22932
  CONFIG_COMMANDS = $CONFIG_COMMANDS
20943
22933
  $ $0 $@
20944
22934
 
20945
 
_CSEOF
20946
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20947
 
echo >&5
 
22935
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
22936
"
 
22937
 
20948
22938
_ACEOF
20949
22939
 
 
22940
cat >>$CONFIG_STATUS <<_ACEOF
20950
22941
# Files that config.status was made for.
20951
 
if test -n "$ac_config_files"; then
20952
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20953
 
fi
20954
 
 
20955
 
if test -n "$ac_config_headers"; then
20956
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20957
 
fi
20958
 
 
20959
 
if test -n "$ac_config_links"; then
20960
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20961
 
fi
20962
 
 
20963
 
if test -n "$ac_config_commands"; then
20964
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20965
 
fi
 
22942
config_files="$ac_config_files"
 
22943
config_headers="$ac_config_headers"
 
22944
config_commands="$ac_config_commands"
 
22945
 
 
22946
_ACEOF
20966
22947
 
20967
22948
cat >>$CONFIG_STATUS <<\_ACEOF
20968
 
 
20969
22949
ac_cs_usage="\
20970
22950
\`$as_me' instantiates files from templates according to the
20971
22951
current configuration.
20973
22953
Usage: $0 [OPTIONS] [FILE]...
20974
22954
 
20975
22955
  -h, --help       print this help, then exit
20976
 
  -V, --version    print version number, then exit
 
22956
  -V, --version    print version number and configuration settings, then exit
20977
22957
  -q, --quiet      do not print progress messages
20978
22958
  -d, --debug      don't remove temporary files
20979
22959
      --recheck    update $as_me by reconfiguring in the same conditions
20980
22960
  --file=FILE[:TEMPLATE]
20981
 
                   instantiate the configuration file FILE
 
22961
                   instantiate the configuration file FILE
20982
22962
  --header=FILE[:TEMPLATE]
20983
 
                   instantiate the configuration header FILE
 
22963
                   instantiate the configuration header FILE
20984
22964
 
20985
22965
Configuration files:
20986
22966
$config_files
20992
22972
$config_commands
20993
22973
 
20994
22974
Report bugs to <bug-autoconf@gnu.org>."
 
22975
 
20995
22976
_ACEOF
20996
 
 
20997
22977
cat >>$CONFIG_STATUS <<_ACEOF
20998
22978
ac_cs_version="\\
20999
 
xfce4-panel-datetime-plugin config.status 0.3.1
21000
 
configured by $0, generated by GNU Autoconf 2.57,
21001
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
22979
datetime config.status 0.4.0
 
22980
configured by $0, generated by GNU Autoconf 2.60a,
 
22981
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21002
22982
 
21003
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
21004
 
Free Software Foundation, Inc.
 
22983
Copyright (C) 2006 Free Software Foundation, Inc.
21005
22984
This config.status script is free software; the Free Software Foundation
21006
22985
gives unlimited permission to copy, distribute and modify it."
21007
 
srcdir=$srcdir
21008
 
INSTALL="$INSTALL"
 
22986
 
 
22987
ac_pwd='$ac_pwd'
 
22988
srcdir='$srcdir'
 
22989
INSTALL='$INSTALL'
21009
22990
_ACEOF
21010
22991
 
21011
22992
cat >>$CONFIG_STATUS <<\_ACEOF
21016
22997
do
21017
22998
  case $1 in
21018
22999
  --*=*)
21019
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
21020
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
23000
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
23001
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21021
23002
    ac_shift=:
21022
23003
    ;;
21023
 
  -*)
 
23004
  *)
21024
23005
    ac_option=$1
21025
23006
    ac_optarg=$2
21026
23007
    ac_shift=shift
21027
23008
    ;;
21028
 
  *) # This is not an option, so the user has probably given explicit
21029
 
     # arguments.
21030
 
     ac_option=$1
21031
 
     ac_need_defaults=false;;
21032
23009
  esac
21033
23010
 
21034
23011
  case $ac_option in
21035
23012
  # Handling of the options.
21036
 
_ACEOF
21037
 
cat >>$CONFIG_STATUS <<\_ACEOF
21038
23013
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21039
23014
    ac_cs_recheck=: ;;
21040
 
  --version | --vers* | -V )
21041
 
    echo "$ac_cs_version"; exit 0 ;;
21042
 
  --he | --h)
21043
 
    # Conflict between --help and --header
21044
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
21045
 
Try \`$0 --help' for more information." >&5
21046
 
echo "$as_me: error: ambiguous option: $1
21047
 
Try \`$0 --help' for more information." >&2;}
21048
 
   { (exit 1); exit 1; }; };;
21049
 
  --help | --hel | -h )
21050
 
    echo "$ac_cs_usage"; exit 0 ;;
21051
 
  --debug | --d* | -d )
 
23015
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
23016
    echo "$ac_cs_version"; exit ;;
 
23017
  --debug | --debu | --deb | --de | --d | -d )
21052
23018
    debug=: ;;
21053
23019
  --file | --fil | --fi | --f )
21054
23020
    $ac_shift
21058
23024
    $ac_shift
21059
23025
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21060
23026
    ac_need_defaults=false;;
 
23027
  --he | --h)
 
23028
    # Conflict between --help and --header
 
23029
    { echo "$as_me: error: ambiguous option: $1
 
23030
Try \`$0 --help' for more information." >&2
 
23031
   { (exit 1); exit 1; }; };;
 
23032
  --help | --hel | -h )
 
23033
    echo "$ac_cs_usage"; exit ;;
21061
23034
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21062
23035
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
21063
23036
    ac_cs_silent=: ;;
21064
23037
 
21065
23038
  # This is an error.
21066
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21067
 
Try \`$0 --help' for more information." >&5
21068
 
echo "$as_me: error: unrecognized option: $1
21069
 
Try \`$0 --help' for more information." >&2;}
 
23039
  -*) { echo "$as_me: error: unrecognized option: $1
 
23040
Try \`$0 --help' for more information." >&2
21070
23041
   { (exit 1); exit 1; }; } ;;
21071
23042
 
21072
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
23043
  *) ac_config_targets="$ac_config_targets $1"
 
23044
     ac_need_defaults=false ;;
21073
23045
 
21074
23046
  esac
21075
23047
  shift
21085
23057
_ACEOF
21086
23058
cat >>$CONFIG_STATUS <<_ACEOF
21087
23059
if \$ac_cs_recheck; then
21088
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21089
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
23060
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
23061
  CONFIG_SHELL=$SHELL
 
23062
  export CONFIG_SHELL
 
23063
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21090
23064
fi
21091
23065
 
21092
23066
_ACEOF
 
23067
cat >>$CONFIG_STATUS <<\_ACEOF
 
23068
exec 5>>config.log
 
23069
{
 
23070
  echo
 
23071
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
23072
## Running $as_me. ##
 
23073
_ASBOX
 
23074
  echo "$ac_log"
 
23075
} >&5
21093
23076
 
 
23077
_ACEOF
21094
23078
cat >>$CONFIG_STATUS <<_ACEOF
21095
23079
#
21096
 
# INIT-COMMANDS section.
 
23080
# INIT-COMMANDS
21097
23081
#
21098
 
 
21099
23082
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
23083
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
 
23084
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
 
23085
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}'
 
23086
INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}'
 
23087
INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}'
21100
23088
 
21101
23089
 
21102
23090
_ACEOF
21103
23091
 
21104
 
 
21105
 
 
21106
23092
cat >>$CONFIG_STATUS <<\_ACEOF
 
23093
 
 
23094
# Handling of arguments.
21107
23095
for ac_config_target in $ac_config_targets
21108
23096
do
21109
 
  case "$ac_config_target" in
21110
 
  # Handling of arguments.
21111
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21112
 
  "datetime/Makefile" ) CONFIG_FILES="$CONFIG_FILES datetime/Makefile" ;;
21113
 
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
21114
 
  "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
21115
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21116
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
21117
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
23097
  case $ac_config_target in
 
23098
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
23099
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
23100
    "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
 
23101
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
23102
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
23103
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
23104
    "panel-plugin/Makefile") CONFIG_FILES="$CONFIG_FILES panel-plugin/Makefile" ;;
 
23105
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
23106
 
21118
23107
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21119
23108
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21120
23109
   { (exit 1); exit 1; }; };;
21121
23110
  esac
21122
23111
done
21123
23112
 
 
23113
 
21124
23114
# If the user did not use the arguments to specify the items to instantiate,
21125
23115
# then the envvar interface is used.  Set only those that are not.
21126
23116
# We use the long form for the default assignment because of an extremely
21132
23122
fi
21133
23123
 
21134
23124
# Have a temporary directory for convenience.  Make it in the build tree
21135
 
# simply because there is no reason to put it here, and in addition,
 
23125
# simply because there is no reason against having it here, and in addition,
21136
23126
# creating and moving files from /tmp can sometimes cause problems.
21137
 
# Create a temporary directory, and hook for its removal unless debugging.
 
23127
# Hook for its removal unless debugging.
 
23128
# Note that there is a small window in which the directory will not be cleaned:
 
23129
# after its creation but before its name has been assigned to `$tmp'.
21138
23130
$debug ||
21139
23131
{
21140
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
23132
  tmp=
 
23133
  trap 'exit_status=$?
 
23134
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
23135
' 0
21141
23136
  trap '{ (exit 1); exit 1; }' 1 2 13 15
21142
23137
}
21143
 
 
21144
23138
# Create a (secure) tmp directory for tmp files.
21145
23139
 
21146
23140
{
21147
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
23141
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21148
23142
  test -n "$tmp" && test -d "$tmp"
21149
23143
}  ||
21150
23144
{
21151
 
  tmp=./confstat$$-$RANDOM
21152
 
  (umask 077 && mkdir $tmp)
 
23145
  tmp=./conf$$-$RANDOM
 
23146
  (umask 077 && mkdir "$tmp")
21153
23147
} ||
21154
23148
{
21155
23149
   echo "$me: cannot create a temporary directory in ." >&2
21156
23150
   { (exit 1); exit 1; }
21157
23151
}
21158
23152
 
21159
 
_ACEOF
21160
 
 
21161
 
cat >>$CONFIG_STATUS <<_ACEOF
21162
 
 
21163
23153
#
21164
 
# CONFIG_FILES section.
 
23154
# Set up the sed scripts for CONFIG_FILES section.
21165
23155
#
21166
23156
 
21167
23157
# No need to generate the scripts if there are no CONFIG_FILES.
21168
23158
# This happens for instance when ./config.status config.h
21169
 
if test -n "\$CONFIG_FILES"; then
21170
 
  # Protect against being on the right side of a sed subst in config.status.
21171
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21172
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21173
 
s,@SHELL@,$SHELL,;t t
21174
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21175
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21176
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21177
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21178
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21179
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21180
 
s,@exec_prefix@,$exec_prefix,;t t
21181
 
s,@prefix@,$prefix,;t t
21182
 
s,@program_transform_name@,$program_transform_name,;t t
21183
 
s,@bindir@,$bindir,;t t
21184
 
s,@sbindir@,$sbindir,;t t
21185
 
s,@libexecdir@,$libexecdir,;t t
21186
 
s,@datadir@,$datadir,;t t
21187
 
s,@sysconfdir@,$sysconfdir,;t t
21188
 
s,@sharedstatedir@,$sharedstatedir,;t t
21189
 
s,@localstatedir@,$localstatedir,;t t
21190
 
s,@libdir@,$libdir,;t t
21191
 
s,@includedir@,$includedir,;t t
21192
 
s,@oldincludedir@,$oldincludedir,;t t
21193
 
s,@infodir@,$infodir,;t t
21194
 
s,@mandir@,$mandir,;t t
21195
 
s,@build_alias@,$build_alias,;t t
21196
 
s,@host_alias@,$host_alias,;t t
21197
 
s,@target_alias@,$target_alias,;t t
21198
 
s,@DEFS@,$DEFS,;t t
21199
 
s,@ECHO_C@,$ECHO_C,;t t
21200
 
s,@ECHO_N@,$ECHO_N,;t t
21201
 
s,@ECHO_T@,$ECHO_T,;t t
21202
 
s,@LIBS@,$LIBS,;t t
21203
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21204
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21205
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21206
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
21207
 
s,@PACKAGE@,$PACKAGE,;t t
21208
 
s,@VERSION@,$VERSION,;t t
21209
 
s,@ACLOCAL@,$ACLOCAL,;t t
21210
 
s,@AUTOCONF@,$AUTOCONF,;t t
21211
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
21212
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
21213
 
s,@MAKEINFO@,$MAKEINFO,;t t
21214
 
s,@AMTAR@,$AMTAR,;t t
21215
 
s,@install_sh@,$install_sh,;t t
21216
 
s,@STRIP@,$STRIP,;t t
21217
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21218
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21219
 
s,@AWK@,$AWK,;t t
21220
 
s,@SET_MAKE@,$SET_MAKE,;t t
21221
 
s,@am__leading_dot@,$am__leading_dot,;t t
21222
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21223
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21224
 
s,@MAINT@,$MAINT,;t t
21225
 
s,@CC@,$CC,;t t
21226
 
s,@CFLAGS@,$CFLAGS,;t t
21227
 
s,@LDFLAGS@,$LDFLAGS,;t t
21228
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
21229
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
21230
 
s,@EXEEXT@,$EXEEXT,;t t
21231
 
s,@OBJEXT@,$OBJEXT,;t t
21232
 
s,@DEPDIR@,$DEPDIR,;t t
21233
 
s,@am__include@,$am__include,;t t
21234
 
s,@am__quote@,$am__quote,;t t
21235
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21236
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21237
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21238
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
21239
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21240
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21241
 
s,@build@,$build,;t t
21242
 
s,@build_cpu@,$build_cpu,;t t
21243
 
s,@build_vendor@,$build_vendor,;t t
21244
 
s,@build_os@,$build_os,;t t
21245
 
s,@host@,$host,;t t
21246
 
s,@host_cpu@,$host_cpu,;t t
21247
 
s,@host_vendor@,$host_vendor,;t t
21248
 
s,@host_os@,$host_os,;t t
21249
 
s,@EGREP@,$EGREP,;t t
21250
 
s,@LN_S@,$LN_S,;t t
21251
 
s,@ECHO@,$ECHO,;t t
21252
 
s,@AR@,$AR,;t t
21253
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
21254
 
s,@RANLIB@,$RANLIB,;t t
21255
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21256
 
s,@CPP@,$CPP,;t t
21257
 
s,@CXX@,$CXX,;t t
21258
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
21259
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21260
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21261
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21262
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21263
 
s,@CXXCPP@,$CXXCPP,;t t
21264
 
s,@F77@,$F77,;t t
21265
 
s,@FFLAGS@,$FFLAGS,;t t
21266
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
21267
 
s,@LIBTOOL@,$LIBTOOL,;t t
21268
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21269
 
s,@XFCE4_PANEL_CFLAGS@,$XFCE4_PANEL_CFLAGS,;t t
21270
 
s,@XFCE4_PANEL_LIBS@,$XFCE4_PANEL_LIBS,;t t
21271
 
s,@XFCE4_PANEL_REQUIRED_VERSION@,$XFCE4_PANEL_REQUIRED_VERSION,;t t
21272
 
s,@XFCE4_PANEL_PLUGINSDIR@,$XFCE4_PANEL_PLUGINSDIR,;t t
21273
 
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
21274
 
s,@USE_NLS@,$USE_NLS,;t t
21275
 
s,@MSGFMT@,$MSGFMT,;t t
21276
 
s,@GMSGFMT@,$GMSGFMT,;t t
21277
 
s,@XGETTEXT@,$XGETTEXT,;t t
21278
 
s,@CATALOGS@,$CATALOGS,;t t
21279
 
s,@CATOBJEXT@,$CATOBJEXT,;t t
21280
 
s,@DATADIRNAME@,$DATADIRNAME,;t t
21281
 
s,@GMOFILES@,$GMOFILES,;t t
21282
 
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
21283
 
s,@INTLLIBS@,$INTLLIBS,;t t
21284
 
s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
21285
 
s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
21286
 
s,@POFILES@,$POFILES,;t t
21287
 
s,@POSUB@,$POSUB,;t t
21288
 
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
21289
 
s,@localedir@,$localedir,;t t
21290
 
s,@LIBOBJS@,$LIBOBJS,;t t
21291
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21292
 
CEOF
21293
 
 
21294
 
_ACEOF
21295
 
 
21296
 
  cat >>$CONFIG_STATUS <<\_ACEOF
21297
 
  # Split the substitutions into bite-sized pieces for seds with
21298
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
21299
 
  ac_max_sed_lines=48
21300
 
  ac_sed_frag=1 # Number of current file.
21301
 
  ac_beg=1 # First line for current file.
21302
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
21303
 
  ac_more_lines=:
21304
 
  ac_sed_cmds=
21305
 
  while $ac_more_lines; do
21306
 
    if test $ac_beg -gt 1; then
21307
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21308
 
    else
21309
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21310
 
    fi
21311
 
    if test ! -s $tmp/subs.frag; then
21312
 
      ac_more_lines=false
21313
 
    else
21314
 
      # The purpose of the label and of the branching condition is to
21315
 
      # speed up the sed processing (if there are no `@' at all, there
21316
 
      # is no need to browse any of the substitutions).
21317
 
      # These are the two extra sed commands mentioned above.
21318
 
      (echo ':t
21319
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21320
 
      if test -z "$ac_sed_cmds"; then
21321
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21322
 
      else
21323
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21324
 
      fi
21325
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
21326
 
      ac_beg=$ac_end
21327
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
21328
 
    fi
21329
 
  done
21330
 
  if test -z "$ac_sed_cmds"; then
21331
 
    ac_sed_cmds=cat
21332
 
  fi
 
23159
if test -n "$CONFIG_FILES"; then
 
23160
 
 
23161
_ACEOF
 
23162
 
 
23163
 
 
23164
 
 
23165
ac_delim='%!_!# '
 
23166
for ac_last_try in false false false false false :; do
 
23167
  cat >conf$$subs.sed <<_ACEOF
 
23168
SHELL!$SHELL$ac_delim
 
23169
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
23170
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
23171
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
23172
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
23173
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
23174
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
23175
exec_prefix!$exec_prefix$ac_delim
 
23176
prefix!$prefix$ac_delim
 
23177
program_transform_name!$program_transform_name$ac_delim
 
23178
bindir!$bindir$ac_delim
 
23179
sbindir!$sbindir$ac_delim
 
23180
libexecdir!$libexecdir$ac_delim
 
23181
datarootdir!$datarootdir$ac_delim
 
23182
datadir!$datadir$ac_delim
 
23183
sysconfdir!$sysconfdir$ac_delim
 
23184
sharedstatedir!$sharedstatedir$ac_delim
 
23185
localstatedir!$localstatedir$ac_delim
 
23186
includedir!$includedir$ac_delim
 
23187
oldincludedir!$oldincludedir$ac_delim
 
23188
docdir!$docdir$ac_delim
 
23189
infodir!$infodir$ac_delim
 
23190
htmldir!$htmldir$ac_delim
 
23191
dvidir!$dvidir$ac_delim
 
23192
pdfdir!$pdfdir$ac_delim
 
23193
psdir!$psdir$ac_delim
 
23194
libdir!$libdir$ac_delim
 
23195
localedir!$localedir$ac_delim
 
23196
mandir!$mandir$ac_delim
 
23197
DEFS!$DEFS$ac_delim
 
23198
ECHO_C!$ECHO_C$ac_delim
 
23199
ECHO_N!$ECHO_N$ac_delim
 
23200
ECHO_T!$ECHO_T$ac_delim
 
23201
LIBS!$LIBS$ac_delim
 
23202
build_alias!$build_alias$ac_delim
 
23203
host_alias!$host_alias$ac_delim
 
23204
target_alias!$target_alias$ac_delim
 
23205
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
23206
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
23207
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
23208
CYGPATH_W!$CYGPATH_W$ac_delim
 
23209
PACKAGE!$PACKAGE$ac_delim
 
23210
VERSION!$VERSION$ac_delim
 
23211
ACLOCAL!$ACLOCAL$ac_delim
 
23212
AUTOCONF!$AUTOCONF$ac_delim
 
23213
AUTOMAKE!$AUTOMAKE$ac_delim
 
23214
AUTOHEADER!$AUTOHEADER$ac_delim
 
23215
MAKEINFO!$MAKEINFO$ac_delim
 
23216
install_sh!$install_sh$ac_delim
 
23217
STRIP!$STRIP$ac_delim
 
23218
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
23219
mkdir_p!$mkdir_p$ac_delim
 
23220
AWK!$AWK$ac_delim
 
23221
SET_MAKE!$SET_MAKE$ac_delim
 
23222
am__leading_dot!$am__leading_dot$ac_delim
 
23223
AMTAR!$AMTAR$ac_delim
 
23224
am__tar!$am__tar$ac_delim
 
23225
am__untar!$am__untar$ac_delim
 
23226
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
23227
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
23228
MAINT!$MAINT$ac_delim
 
23229
CC!$CC$ac_delim
 
23230
CFLAGS!$CFLAGS$ac_delim
 
23231
LDFLAGS!$LDFLAGS$ac_delim
 
23232
CPPFLAGS!$CPPFLAGS$ac_delim
 
23233
ac_ct_CC!$ac_ct_CC$ac_delim
 
23234
EXEEXT!$EXEEXT$ac_delim
 
23235
OBJEXT!$OBJEXT$ac_delim
 
23236
DEPDIR!$DEPDIR$ac_delim
 
23237
am__include!$am__include$ac_delim
 
23238
am__quote!$am__quote$ac_delim
 
23239
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
23240
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
23241
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
23242
CCDEPMODE!$CCDEPMODE$ac_delim
 
23243
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
23244
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
23245
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
 
23246
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
 
23247
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
 
23248
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
 
23249
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
 
23250
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
 
23251
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
 
23252
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
 
23253
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
 
23254
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
 
23255
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
 
23256
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
 
23257
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
 
23258
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
 
23259
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
 
23260
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
 
23261
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
 
23262
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
 
23263
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
 
23264
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
 
23265
_ACEOF
 
23266
 
 
23267
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
23268
    break
 
23269
  elif $ac_last_try; then
 
23270
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
23271
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
23272
   { (exit 1); exit 1; }; }
 
23273
  else
 
23274
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23275
  fi
 
23276
done
 
23277
 
 
23278
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
23279
if test -n "$ac_eof"; then
 
23280
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
23281
  ac_eof=`expr $ac_eof + 1`
 
23282
fi
 
23283
 
 
23284
cat >>$CONFIG_STATUS <<_ACEOF
 
23285
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
23286
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
23287
_ACEOF
 
23288
sed '
 
23289
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
23290
s/^/s,@/; s/!/@,|#_!!_#|/
 
23291
:n
 
23292
t n
 
23293
s/'"$ac_delim"'$/,g/; t
 
23294
s/$/\\/; p
 
23295
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
23296
' >>$CONFIG_STATUS <conf$$subs.sed
 
23297
rm -f conf$$subs.sed
 
23298
cat >>$CONFIG_STATUS <<_ACEOF
 
23299
CEOF$ac_eof
 
23300
_ACEOF
 
23301
 
 
23302
 
 
23303
ac_delim='%!_!# '
 
23304
for ac_last_try in false false false false false :; do
 
23305
  cat >conf$$subs.sed <<_ACEOF
 
23306
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
 
23307
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
 
23308
INTLTOOL_ICONV!$INTLTOOL_ICONV$ac_delim
 
23309
INTLTOOL_MSGFMT!$INTLTOOL_MSGFMT$ac_delim
 
23310
INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim
 
23311
INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim
 
23312
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
 
23313
build!$build$ac_delim
 
23314
build_cpu!$build_cpu$ac_delim
 
23315
build_vendor!$build_vendor$ac_delim
 
23316
build_os!$build_os$ac_delim
 
23317
host!$host$ac_delim
 
23318
host_cpu!$host_cpu$ac_delim
 
23319
host_vendor!$host_vendor$ac_delim
 
23320
host_os!$host_os$ac_delim
 
23321
GREP!$GREP$ac_delim
 
23322
EGREP!$EGREP$ac_delim
 
23323
LN_S!$LN_S$ac_delim
 
23324
ECHO!$ECHO$ac_delim
 
23325
AR!$AR$ac_delim
 
23326
RANLIB!$RANLIB$ac_delim
 
23327
CPP!$CPP$ac_delim
 
23328
CXX!$CXX$ac_delim
 
23329
CXXFLAGS!$CXXFLAGS$ac_delim
 
23330
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
23331
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
23332
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
23333
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
23334
CXXCPP!$CXXCPP$ac_delim
 
23335
F77!$F77$ac_delim
 
23336
FFLAGS!$FFLAGS$ac_delim
 
23337
ac_ct_F77!$ac_ct_F77$ac_delim
 
23338
LIBTOOL!$LIBTOOL$ac_delim
 
23339
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
 
23340
USE_NLS!$USE_NLS$ac_delim
 
23341
MSGFMT!$MSGFMT$ac_delim
 
23342
GMSGFMT!$GMSGFMT$ac_delim
 
23343
XGETTEXT!$XGETTEXT$ac_delim
 
23344
CATALOGS!$CATALOGS$ac_delim
 
23345
CATOBJEXT!$CATOBJEXT$ac_delim
 
23346
DATADIRNAME!$DATADIRNAME$ac_delim
 
23347
GMOFILES!$GMOFILES$ac_delim
 
23348
INSTOBJEXT!$INSTOBJEXT$ac_delim
 
23349
INTLLIBS!$INTLLIBS$ac_delim
 
23350
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
 
23351
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
 
23352
POFILES!$POFILES$ac_delim
 
23353
POSUB!$POSUB$ac_delim
 
23354
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
 
23355
XGETTEXT_ARGS!$XGETTEXT_ARGS$ac_delim
 
23356
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
23357
LIBXFCE4PANEL_VERSION!$LIBXFCE4PANEL_VERSION$ac_delim
 
23358
LIBXFCE4PANEL_CFLAGS!$LIBXFCE4PANEL_CFLAGS$ac_delim
 
23359
LIBXFCE4PANEL_LIBS!$LIBXFCE4PANEL_LIBS$ac_delim
 
23360
LIBXFCE4PANEL_REQUIRED_VERSION!$LIBXFCE4PANEL_REQUIRED_VERSION$ac_delim
 
23361
DBUS_VERSION!$DBUS_VERSION$ac_delim
 
23362
DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
 
23363
DBUS_LIBS!$DBUS_LIBS$ac_delim
 
23364
DBUS_REQUIRED_VERSION!$DBUS_REQUIRED_VERSION$ac_delim
 
23365
HAVE_DBUS_TRUE!$HAVE_DBUS_TRUE$ac_delim
 
23366
HAVE_DBUS_FALSE!$HAVE_DBUS_FALSE$ac_delim
 
23367
LIBOBJS!$LIBOBJS$ac_delim
 
23368
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
23369
_ACEOF
 
23370
 
 
23371
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 63; then
 
23372
    break
 
23373
  elif $ac_last_try; then
 
23374
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
23375
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
23376
   { (exit 1); exit 1; }; }
 
23377
  else
 
23378
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23379
  fi
 
23380
done
 
23381
 
 
23382
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
23383
if test -n "$ac_eof"; then
 
23384
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
23385
  ac_eof=`expr $ac_eof + 1`
 
23386
fi
 
23387
 
 
23388
cat >>$CONFIG_STATUS <<_ACEOF
 
23389
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
23390
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
23391
_ACEOF
 
23392
sed '
 
23393
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
23394
s/^/s,@/; s/!/@,|#_!!_#|/
 
23395
:n
 
23396
t n
 
23397
s/'"$ac_delim"'$/,g/; t
 
23398
s/$/\\/; p
 
23399
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
23400
' >>$CONFIG_STATUS <conf$$subs.sed
 
23401
rm -f conf$$subs.sed
 
23402
cat >>$CONFIG_STATUS <<_ACEOF
 
23403
:end
 
23404
s/|#_!!_#|//g
 
23405
CEOF$ac_eof
 
23406
_ACEOF
 
23407
 
 
23408
 
 
23409
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
23410
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
23411
# trailing colons and then remove the whole line if VPATH becomes empty
 
23412
# (actually we leave an empty line to preserve line numbers).
 
23413
if test "x$srcdir" = x.; then
 
23414
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
23415
s/:*\$(srcdir):*/:/
 
23416
s/:*\${srcdir}:*/:/
 
23417
s/:*@srcdir@:*/:/
 
23418
s/^\([^=]*=[     ]*\):*/\1/
 
23419
s/:*$//
 
23420
s/^[^=]*=[       ]*$//
 
23421
}'
 
23422
fi
 
23423
 
 
23424
cat >>$CONFIG_STATUS <<\_ACEOF
21333
23425
fi # test -n "$CONFIG_FILES"
21334
23426
 
21335
 
_ACEOF
21336
 
cat >>$CONFIG_STATUS <<\_ACEOF
21337
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21338
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21339
 
  case $ac_file in
21340
 
  - | *:- | *:-:* ) # input from stdin
21341
 
        cat >$tmp/stdin
21342
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21343
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21344
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21345
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21346
 
  * )   ac_file_in=$ac_file.in ;;
21347
 
  esac
21348
 
 
21349
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21350
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
23427
 
 
23428
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
23429
do
 
23430
  case $ac_tag in
 
23431
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
23432
  esac
 
23433
  case $ac_mode$ac_tag in
 
23434
  :[FHL]*:*);;
 
23435
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
23436
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
23437
   { (exit 1); exit 1; }; };;
 
23438
  :[FH]-) ac_tag=-:-;;
 
23439
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
23440
  esac
 
23441
  ac_save_IFS=$IFS
 
23442
  IFS=:
 
23443
  set x $ac_tag
 
23444
  IFS=$ac_save_IFS
 
23445
  shift
 
23446
  ac_file=$1
 
23447
  shift
 
23448
 
 
23449
  case $ac_mode in
 
23450
  :L) ac_source=$1;;
 
23451
  :[FH])
 
23452
    ac_file_inputs=
 
23453
    for ac_f
 
23454
    do
 
23455
      case $ac_f in
 
23456
      -) ac_f="$tmp/stdin";;
 
23457
      *) # Look for the file first in the build tree, then in the source tree
 
23458
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
23459
         # because $ac_f cannot contain `:'.
 
23460
         test -f "$ac_f" ||
 
23461
           case $ac_f in
 
23462
           [\\/$]*) false;;
 
23463
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
23464
           esac ||
 
23465
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
23466
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
23467
   { (exit 1); exit 1; }; };;
 
23468
      esac
 
23469
      ac_file_inputs="$ac_file_inputs $ac_f"
 
23470
    done
 
23471
 
 
23472
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
23473
    # use $as_me), people would be surprised to read:
 
23474
    #    /* config.h.  Generated by config.status.  */
 
23475
    configure_input="Generated from "`IFS=:
 
23476
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
23477
    if test x"$ac_file" != x-; then
 
23478
      configure_input="$ac_file.  $configure_input"
 
23479
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
23480
echo "$as_me: creating $ac_file" >&6;}
 
23481
    fi
 
23482
 
 
23483
    case $ac_tag in
 
23484
    *:-:* | *:-) cat >"$tmp/stdin";;
 
23485
    esac
 
23486
    ;;
 
23487
  esac
 
23488
 
 
23489
  ac_dir=`$as_dirname -- "$ac_file" ||
21351
23490
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21352
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
21353
 
         X"$ac_file" : 'X\(//\)$' \| \
21354
 
         X"$ac_file" : 'X\(/\)' \| \
21355
 
         .     : '\(.\)' 2>/dev/null ||
 
23491
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
23492
         X"$ac_file" : 'X\(//\)$' \| \
 
23493
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21356
23494
echo X"$ac_file" |
21357
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21358
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21359
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21360
 
          /^X\(\/\).*/{ s//\1/; q; }
21361
 
          s/.*/./; q'`
21362
 
  { if $as_mkdir_p; then
21363
 
    mkdir -p "$ac_dir"
21364
 
  else
21365
 
    as_dir="$ac_dir"
 
23495
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23496
            s//\1/
 
23497
            q
 
23498
          }
 
23499
          /^X\(\/\/\)[^/].*/{
 
23500
            s//\1/
 
23501
            q
 
23502
          }
 
23503
          /^X\(\/\/\)$/{
 
23504
            s//\1/
 
23505
            q
 
23506
          }
 
23507
          /^X\(\/\).*/{
 
23508
            s//\1/
 
23509
            q
 
23510
          }
 
23511
          s/.*/./; q'`
 
23512
  { as_dir="$ac_dir"
 
23513
  case $as_dir in #(
 
23514
  -*) as_dir=./$as_dir;;
 
23515
  esac
 
23516
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21366
23517
    as_dirs=
21367
 
    while test ! -d "$as_dir"; do
21368
 
      as_dirs="$as_dir $as_dirs"
21369
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
23518
    while :; do
 
23519
      case $as_dir in #(
 
23520
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
23521
      *) as_qdir=$as_dir;;
 
23522
      esac
 
23523
      as_dirs="'$as_qdir' $as_dirs"
 
23524
      as_dir=`$as_dirname -- "$as_dir" ||
21370
23525
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21371
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
21372
 
         X"$as_dir" : 'X\(//\)$' \| \
21373
 
         X"$as_dir" : 'X\(/\)' \| \
21374
 
         .     : '\(.\)' 2>/dev/null ||
 
23526
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
23527
         X"$as_dir" : 'X\(//\)$' \| \
 
23528
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21375
23529
echo X"$as_dir" |
21376
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21377
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21378
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21379
 
          /^X\(\/\).*/{ s//\1/; q; }
21380
 
          s/.*/./; q'`
 
23530
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23531
            s//\1/
 
23532
            q
 
23533
          }
 
23534
          /^X\(\/\/\)[^/].*/{
 
23535
            s//\1/
 
23536
            q
 
23537
          }
 
23538
          /^X\(\/\/\)$/{
 
23539
            s//\1/
 
23540
            q
 
23541
          }
 
23542
          /^X\(\/\).*/{
 
23543
            s//\1/
 
23544
            q
 
23545
          }
 
23546
          s/.*/./; q'`
 
23547
      test -d "$as_dir" && break
21381
23548
    done
21382
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21383
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21384
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
23549
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
23550
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
23551
echo "$as_me: error: cannot create directory $as_dir" >&2;}
21385
23552
   { (exit 1); exit 1; }; }; }
21386
 
 
21387
23553
  ac_builddir=.
21388
23554
 
21389
 
if test "$ac_dir" != .; then
 
23555
case "$ac_dir" in
 
23556
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
23557
*)
21390
23558
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21391
 
  # A "../" for each directory in $ac_dir_suffix.
21392
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21393
 
else
21394
 
  ac_dir_suffix= ac_top_builddir=
21395
 
fi
 
23559
  # A ".." for each directory in $ac_dir_suffix.
 
23560
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
23561
  case $ac_top_builddir_sub in
 
23562
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
23563
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
23564
  esac ;;
 
23565
esac
 
23566
ac_abs_top_builddir=$ac_pwd
 
23567
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
23568
# for backward compatibility:
 
23569
ac_top_builddir=$ac_top_build_prefix
21396
23570
 
21397
23571
case $srcdir in
21398
 
  .)  # No --srcdir option.  We are building in place.
 
23572
  .)  # We are building in place.
21399
23573
    ac_srcdir=.
21400
 
    if test -z "$ac_top_builddir"; then
21401
 
       ac_top_srcdir=.
21402
 
    else
21403
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21404
 
    fi ;;
21405
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
23574
    ac_top_srcdir=$ac_top_builddir_sub
 
23575
    ac_abs_top_srcdir=$ac_pwd ;;
 
23576
  [\\/]* | ?:[\\/]* )  # Absolute name.
21406
23577
    ac_srcdir=$srcdir$ac_dir_suffix;
21407
 
    ac_top_srcdir=$srcdir ;;
21408
 
  *) # Relative path.
21409
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21410
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
23578
    ac_top_srcdir=$srcdir
 
23579
    ac_abs_top_srcdir=$srcdir ;;
 
23580
  *) # Relative name.
 
23581
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
23582
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
23583
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21411
23584
esac
21412
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
21413
 
# absolute.
21414
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
21415
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
21416
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
21417
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
21418
 
 
 
23585
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
23586
 
 
23587
 
 
23588
  case $ac_mode in
 
23589
  :F)
 
23590
  #
 
23591
  # CONFIG_FILE
 
23592
  #
21419
23593
 
21420
23594
  case $INSTALL in
21421
23595
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21422
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
23596
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21423
23597
  esac
21424
 
 
21425
 
  if test x"$ac_file" != x-; then
21426
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
21427
 
echo "$as_me: creating $ac_file" >&6;}
21428
 
    rm -f "$ac_file"
21429
 
  fi
21430
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
21431
 
  # use $as_me), people would be surprised to read:
21432
 
  #    /* config.h.  Generated by config.status.  */
21433
 
  if test x"$ac_file" = x-; then
21434
 
    configure_input=
21435
 
  else
21436
 
    configure_input="$ac_file.  "
21437
 
  fi
21438
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
21439
 
                                     sed 's,.*/,,'` by configure."
21440
 
 
21441
 
  # First look for the input files in the build tree, otherwise in the
21442
 
  # src tree.
21443
 
  ac_file_inputs=`IFS=:
21444
 
    for f in $ac_file_in; do
21445
 
      case $f in
21446
 
      -) echo $tmp/stdin ;;
21447
 
      [\\/$]*)
21448
 
         # Absolute (can't be DOS-style, as IFS=:)
21449
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21450
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21451
 
   { (exit 1); exit 1; }; }
21452
 
         echo $f;;
21453
 
      *) # Relative
21454
 
         if test -f "$f"; then
21455
 
           # Build tree
21456
 
           echo $f
21457
 
         elif test -f "$srcdir/$f"; then
21458
 
           # Source tree
21459
 
           echo $srcdir/$f
21460
 
         else
21461
 
           # /dev/null tree
21462
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21463
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21464
 
   { (exit 1); exit 1; }; }
21465
 
         fi;;
21466
 
      esac
21467
 
    done` || { (exit 1); exit 1; }
21468
 
_ACEOF
 
23598
_ACEOF
 
23599
 
 
23600
cat >>$CONFIG_STATUS <<\_ACEOF
 
23601
# If the template does not know about datarootdir, expand it.
 
23602
# FIXME: This hack should be removed a few years after 2.60.
 
23603
ac_datarootdir_hack=; ac_datarootdir_seen=
 
23604
 
 
23605
case `sed -n '/datarootdir/ {
 
23606
  p
 
23607
  q
 
23608
}
 
23609
/@datadir@/p
 
23610
/@docdir@/p
 
23611
/@infodir@/p
 
23612
/@localedir@/p
 
23613
/@mandir@/p
 
23614
' $ac_file_inputs` in
 
23615
*datarootdir*) ac_datarootdir_seen=yes;;
 
23616
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
23617
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
23618
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
23619
_ACEOF
 
23620
cat >>$CONFIG_STATUS <<_ACEOF
 
23621
  ac_datarootdir_hack='
 
23622
  s&@datadir@&$datadir&g
 
23623
  s&@docdir@&$docdir&g
 
23624
  s&@infodir@&$infodir&g
 
23625
  s&@localedir@&$localedir&g
 
23626
  s&@mandir@&$mandir&g
 
23627
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
23628
esac
 
23629
_ACEOF
 
23630
 
 
23631
# Neutralize VPATH when `$srcdir' = `.'.
 
23632
# Shell code in configure.ac might set extrasub.
 
23633
# FIXME: do we really want to maintain this feature?
21469
23634
cat >>$CONFIG_STATUS <<_ACEOF
21470
23635
  sed "$ac_vpsub
21471
23636
$extrasub
21473
23638
cat >>$CONFIG_STATUS <<\_ACEOF
21474
23639
:t
21475
23640
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21476
 
s,@configure_input@,$configure_input,;t t
21477
 
s,@srcdir@,$ac_srcdir,;t t
21478
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
21479
 
s,@top_srcdir@,$ac_top_srcdir,;t t
21480
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21481
 
s,@builddir@,$ac_builddir,;t t
21482
 
s,@abs_builddir@,$ac_abs_builddir,;t t
21483
 
s,@top_builddir@,$ac_top_builddir,;t t
21484
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21485
 
s,@INSTALL@,$ac_INSTALL,;t t
21486
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21487
 
  rm -f $tmp/stdin
21488
 
  if test x"$ac_file" != x-; then
21489
 
    mv $tmp/out $ac_file
21490
 
  else
21491
 
    cat $tmp/out
21492
 
    rm -f $tmp/out
21493
 
  fi
21494
 
 
21495
 
done
 
23641
s&@configure_input@&$configure_input&;t t
 
23642
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
23643
s&@srcdir@&$ac_srcdir&;t t
 
23644
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
23645
s&@top_srcdir@&$ac_top_srcdir&;t t
 
23646
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
23647
s&@builddir@&$ac_builddir&;t t
 
23648
s&@abs_builddir@&$ac_abs_builddir&;t t
 
23649
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
23650
s&@INSTALL@&$ac_INSTALL&;t t
 
23651
$ac_datarootdir_hack
 
23652
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
23653
 
 
23654
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
23655
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
23656
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
23657
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23658
which seems to be undefined.  Please make sure it is defined." >&5
 
23659
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23660
which seems to be undefined.  Please make sure it is defined." >&2;}
 
23661
 
 
23662
  rm -f "$tmp/stdin"
 
23663
  case $ac_file in
 
23664
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
23665
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
23666
  esac
 
23667
 ;;
 
23668
  :H)
 
23669
  #
 
23670
  # CONFIG_HEADER
 
23671
  #
21496
23672
_ACEOF
21497
 
cat >>$CONFIG_STATUS <<\_ACEOF
21498
 
 
21499
 
#
21500
 
# CONFIG_HEADER section.
21501
 
#
21502
 
 
21503
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21504
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
21505
 
#
21506
 
# ac_d sets the value in "#define NAME VALUE" lines.
21507
 
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
21508
 
ac_dB='[        ].*$,\1#\2'
 
23673
 
 
23674
# Transform confdefs.h into a sed script `conftest.defines', that
 
23675
# substitutes the proper values into config.h.in to produce config.h.
 
23676
rm -f conftest.defines conftest.tail
 
23677
# First, append a space to every undef/define line, to ease matching.
 
23678
echo 's/$/ /' >conftest.defines
 
23679
# Then, protect against being on the right side of a sed subst, or in
 
23680
# an unquoted here document, in config.status.  If some macros were
 
23681
# called several times there might be several #defines for the same
 
23682
# symbol, which is useless.  But do not sort them, since the last
 
23683
# AC_DEFINE must be honored.
 
23684
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
23685
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
23686
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
23687
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
23688
# just an empty string.
 
23689
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
23690
ac_dB='\\)[      (].*,\\1define\\2'
21509
23691
ac_dC=' '
21510
 
ac_dD=',;t'
21511
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21512
 
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
21513
 
ac_uB='$,\1#\2define\3'
21514
 
ac_uC=' '
21515
 
ac_uD=',;t'
21516
 
 
21517
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21518
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21519
 
  case $ac_file in
21520
 
  - | *:- | *:-:* ) # input from stdin
21521
 
        cat >$tmp/stdin
21522
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21523
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21524
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21525
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21526
 
  * )   ac_file_in=$ac_file.in ;;
21527
 
  esac
21528
 
 
21529
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21530
 
echo "$as_me: creating $ac_file" >&6;}
21531
 
 
21532
 
  # First look for the input files in the build tree, otherwise in the
21533
 
  # src tree.
21534
 
  ac_file_inputs=`IFS=:
21535
 
    for f in $ac_file_in; do
21536
 
      case $f in
21537
 
      -) echo $tmp/stdin ;;
21538
 
      [\\/$]*)
21539
 
         # Absolute (can't be DOS-style, as IFS=:)
21540
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21541
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21542
 
   { (exit 1); exit 1; }; }
21543
 
         echo $f;;
21544
 
      *) # Relative
21545
 
         if test -f "$f"; then
21546
 
           # Build tree
21547
 
           echo $f
21548
 
         elif test -f "$srcdir/$f"; then
21549
 
           # Source tree
21550
 
           echo $srcdir/$f
21551
 
         else
21552
 
           # /dev/null tree
21553
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21554
 
echo "$as_me: error: cannot find input file: $f" >&2;}
21555
 
   { (exit 1); exit 1; }; }
21556
 
         fi;;
21557
 
      esac
21558
 
    done` || { (exit 1); exit 1; }
21559
 
  # Remove the trailing spaces.
21560
 
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
21561
 
 
21562
 
_ACEOF
21563
 
 
21564
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
21565
 
# `conftest.undefs', that substitutes the proper values into
21566
 
# config.h.in to produce config.h.  The first handles `#define'
21567
 
# templates, and the second `#undef' templates.
21568
 
# And first: Protect against being on the right side of a sed subst in
21569
 
# config.status.  Protect against being in an unquoted here document
21570
 
# in config.status.
21571
 
rm -f conftest.defines conftest.undefs
21572
 
# Using a here document instead of a string reduces the quoting nightmare.
21573
 
# Putting comments in sed scripts is not portable.
21574
 
#
21575
 
# `end' is used to avoid that the second main sed command (meant for
21576
 
# 0-ary CPP macros) applies to n-ary macro definitions.
21577
 
# See the Autoconf documentation for `clear'.
21578
 
cat >confdef2sed.sed <<\_ACEOF
21579
 
s/[\\&,]/\\&/g
21580
 
s,[\\$`],\\&,g
21581
 
t clear
21582
 
: clear
21583
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21584
 
t end
21585
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21586
 
: end
21587
 
_ACEOF
21588
 
# If some macros were called several times there might be several times
21589
 
# the same #defines, which is useless.  Nevertheless, we may not want to
21590
 
# sort them, since we want the *last* AC-DEFINE to be honored.
21591
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21592
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21593
 
rm -f confdef2sed.sed
21594
 
 
21595
 
# This sed command replaces #undef with comments.  This is necessary, for
 
23692
ac_dD=' ,'
 
23693
 
 
23694
uniq confdefs.h |
 
23695
  sed -n '
 
23696
        t rset
 
23697
        :rset
 
23698
        s/^[     ]*#[    ]*define[       ][      ]*//
 
23699
        t ok
 
23700
        d
 
23701
        :ok
 
23702
        s/[\\&,]/\\&/g
 
23703
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
23704
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
23705
  ' >>conftest.defines
 
23706
 
 
23707
# Remove the space that was appended to ease matching.
 
23708
# Then replace #undef with comments.  This is necessary, for
21596
23709
# example, in the case of _POSIX_SOURCE, which is predefined and required
21597
23710
# on some systems where configure will not decide to define it.
21598
 
cat >>conftest.undefs <<\_ACEOF
21599
 
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
23711
# (The regexp can be short, since the line contains either #define or #undef.)
 
23712
echo 's/ $//
 
23713
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
23714
 
 
23715
# Break up conftest.defines:
 
23716
ac_max_sed_lines=50
 
23717
 
 
23718
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
23719
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
23720
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
23721
# et cetera.
 
23722
ac_in='$ac_file_inputs'
 
23723
ac_out='"$tmp/out1"'
 
23724
ac_nxt='"$tmp/out2"'
 
23725
 
 
23726
while :
 
23727
do
 
23728
  # Write a here document:
 
23729
    cat >>$CONFIG_STATUS <<_ACEOF
 
23730
    # First, check the format of the line:
 
23731
    cat >"\$tmp/defines.sed" <<\\CEOF
 
23732
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
23733
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
23734
b
 
23735
:def
21600
23736
_ACEOF
21601
 
 
21602
 
# Break up conftest.defines because some shells have a limit on the size
21603
 
# of here documents, and old seds have small limits too (100 cmds).
21604
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21605
 
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21606
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21607
 
echo '  :' >>$CONFIG_STATUS
21608
 
rm -f conftest.tail
21609
 
while grep . conftest.defines >/dev/null
21610
 
do
21611
 
  # Write a limited-size here document to $tmp/defines.sed.
21612
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21613
 
  # Speed up: don't consider the non `#define' lines.
21614
 
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
21615
 
  # Work around the forget-to-reset-the-flag bug.
21616
 
  echo 't clr' >>$CONFIG_STATUS
21617
 
  echo ': clr' >>$CONFIG_STATUS
21618
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
23737
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
21619
23738
  echo 'CEOF
21620
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
21621
 
  rm -f $tmp/in
21622
 
  mv $tmp/out $tmp/in
21623
 
' >>$CONFIG_STATUS
21624
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
23739
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
23740
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
23741
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
23742
  grep . conftest.tail >/dev/null || break
21625
23743
  rm -f conftest.defines
21626
23744
  mv conftest.tail conftest.defines
21627
23745
done
21628
 
rm -f conftest.defines
21629
 
echo '  fi # grep' >>$CONFIG_STATUS
21630
 
echo >>$CONFIG_STATUS
21631
 
 
21632
 
# Break up conftest.undefs because some shells have a limit on the size
21633
 
# of here documents, and old seds have small limits too (100 cmds).
21634
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
21635
 
rm -f conftest.tail
21636
 
while grep . conftest.undefs >/dev/null
21637
 
do
21638
 
  # Write a limited-size here document to $tmp/undefs.sed.
21639
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21640
 
  # Speed up: don't consider the non `#undef'
21641
 
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
21642
 
  # Work around the forget-to-reset-the-flag bug.
21643
 
  echo 't clr' >>$CONFIG_STATUS
21644
 
  echo ': clr' >>$CONFIG_STATUS
21645
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21646
 
  echo 'CEOF
21647
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21648
 
  rm -f $tmp/in
21649
 
  mv $tmp/out $tmp/in
21650
 
' >>$CONFIG_STATUS
21651
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21652
 
  rm -f conftest.undefs
21653
 
  mv conftest.tail conftest.undefs
21654
 
done
21655
 
rm -f conftest.undefs
21656
 
 
 
23746
rm -f conftest.defines conftest.tail
 
23747
 
 
23748
echo "ac_result=$ac_in" >>$CONFIG_STATUS
21657
23749
cat >>$CONFIG_STATUS <<\_ACEOF
21658
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
21659
 
  # use $as_me), people would be surprised to read:
21660
 
  #    /* config.h.  Generated by config.status.  */
21661
 
  if test x"$ac_file" = x-; then
21662
 
    echo "/* Generated by configure.  */" >$tmp/config.h
21663
 
  else
21664
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
21665
 
  fi
21666
 
  cat $tmp/in >>$tmp/config.h
21667
 
  rm -f $tmp/in
21668
23750
  if test x"$ac_file" != x-; then
21669
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
23751
    echo "/* $configure_input  */" >"$tmp/config.h"
 
23752
    cat "$ac_result" >>"$tmp/config.h"
 
23753
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
21670
23754
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21671
23755
echo "$as_me: $ac_file is unchanged" >&6;}
21672
23756
    else
21673
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21674
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21675
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
21676
 
         X"$ac_file" : 'X\(//\)$' \| \
21677
 
         X"$ac_file" : 'X\(/\)' \| \
21678
 
         .     : '\(.\)' 2>/dev/null ||
21679
 
echo X"$ac_file" |
21680
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21681
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21682
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21683
 
          /^X\(\/\).*/{ s//\1/; q; }
21684
 
          s/.*/./; q'`
21685
 
      { if $as_mkdir_p; then
21686
 
    mkdir -p "$ac_dir"
21687
 
  else
21688
 
    as_dir="$ac_dir"
21689
 
    as_dirs=
21690
 
    while test ! -d "$as_dir"; do
21691
 
      as_dirs="$as_dir $as_dirs"
21692
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
21693
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21694
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
21695
 
         X"$as_dir" : 'X\(//\)$' \| \
21696
 
         X"$as_dir" : 'X\(/\)' \| \
21697
 
         .     : '\(.\)' 2>/dev/null ||
21698
 
echo X"$as_dir" |
21699
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21700
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21701
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21702
 
          /^X\(\/\).*/{ s//\1/; q; }
21703
 
          s/.*/./; q'`
21704
 
    done
21705
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21706
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21707
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21708
 
   { (exit 1); exit 1; }; }; }
21709
 
 
21710
23757
      rm -f $ac_file
21711
 
      mv $tmp/config.h $ac_file
 
23758
      mv "$tmp/config.h" $ac_file
21712
23759
    fi
21713
23760
  else
21714
 
    cat $tmp/config.h
21715
 
    rm -f $tmp/config.h
 
23761
    echo "/* $configure_input  */"
 
23762
    cat "$ac_result"
21716
23763
  fi
 
23764
  rm -f "$tmp/out12"
21717
23765
# Compute $ac_file's index in $config_headers.
21718
23766
_am_stamp_count=1
21719
23767
for _am_header in $config_headers :; do
21724
23772
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21725
23773
  esac
21726
23774
done
21727
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
23775
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
21728
23776
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21729
 
         X$ac_file : 'X\(//\)[^/]' \| \
21730
 
         X$ac_file : 'X\(//\)$' \| \
21731
 
         X$ac_file : 'X\(/\)' \| \
21732
 
         .     : '\(.\)' 2>/dev/null ||
 
23777
         X$ac_file : 'X\(//\)[^/]' \| \
 
23778
         X$ac_file : 'X\(//\)$' \| \
 
23779
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
21733
23780
echo X$ac_file |
21734
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21735
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21736
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21737
 
          /^X\(\/\).*/{ s//\1/; q; }
21738
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
21739
 
done
21740
 
_ACEOF
21741
 
cat >>$CONFIG_STATUS <<\_ACEOF
21742
 
 
21743
 
#
21744
 
# CONFIG_COMMANDS section.
21745
 
#
21746
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21747
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21748
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21749
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21750
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21751
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
21752
 
         X"$ac_dest" : 'X\(//\)$' \| \
21753
 
         X"$ac_dest" : 'X\(/\)' \| \
21754
 
         .     : '\(.\)' 2>/dev/null ||
21755
 
echo X"$ac_dest" |
21756
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21757
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21758
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21759
 
          /^X\(\/\).*/{ s//\1/; q; }
21760
 
          s/.*/./; q'`
21761
 
  ac_builddir=.
21762
 
 
21763
 
if test "$ac_dir" != .; then
21764
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21765
 
  # A "../" for each directory in $ac_dir_suffix.
21766
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21767
 
else
21768
 
  ac_dir_suffix= ac_top_builddir=
21769
 
fi
21770
 
 
21771
 
case $srcdir in
21772
 
  .)  # No --srcdir option.  We are building in place.
21773
 
    ac_srcdir=.
21774
 
    if test -z "$ac_top_builddir"; then
21775
 
       ac_top_srcdir=.
21776
 
    else
21777
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21778
 
    fi ;;
21779
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
21780
 
    ac_srcdir=$srcdir$ac_dir_suffix;
21781
 
    ac_top_srcdir=$srcdir ;;
21782
 
  *) # Relative path.
21783
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21784
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
21785
 
esac
21786
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
21787
 
# absolute.
21788
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
21789
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
21790
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
21791
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
21792
 
 
21793
 
 
21794
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21795
 
echo "$as_me: executing $ac_dest commands" >&6;}
21796
 
  case $ac_dest in
21797
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
23781
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23782
            s//\1/
 
23783
            q
 
23784
          }
 
23785
          /^X\(\/\/\)[^/].*/{
 
23786
            s//\1/
 
23787
            q
 
23788
          }
 
23789
          /^X\(\/\/\)$/{
 
23790
            s//\1/
 
23791
            q
 
23792
          }
 
23793
          /^X\(\/\).*/{
 
23794
            s//\1/
 
23795
            q
 
23796
          }
 
23797
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
23798
 ;;
 
23799
 
 
23800
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
23801
echo "$as_me: executing $ac_file commands" >&6;}
 
23802
 ;;
 
23803
  esac
 
23804
 
 
23805
 
 
23806
  case $ac_file$ac_mode in
 
23807
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21798
23808
  # Strip MF so we end up with the name of the file.
21799
23809
  mf=`echo "$mf" | sed -e 's/:.*$//'`
21800
23810
  # Check whether this is an Automake generated Makefile or not.
21804
23814
  # each Makefile.in and add a new line on top of each file to say so.
21805
23815
  # So let's grep whole file.
21806
23816
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
21807
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
23817
    dirpart=`$as_dirname -- "$mf" ||
21808
23818
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21809
 
         X"$mf" : 'X\(//\)[^/]' \| \
21810
 
         X"$mf" : 'X\(//\)$' \| \
21811
 
         X"$mf" : 'X\(/\)' \| \
21812
 
         .     : '\(.\)' 2>/dev/null ||
 
23819
         X"$mf" : 'X\(//\)[^/]' \| \
 
23820
         X"$mf" : 'X\(//\)$' \| \
 
23821
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21813
23822
echo X"$mf" |
21814
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21815
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21816
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21817
 
          /^X\(\/\).*/{ s//\1/; q; }
21818
 
          s/.*/./; q'`
 
23823
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23824
            s//\1/
 
23825
            q
 
23826
          }
 
23827
          /^X\(\/\/\)[^/].*/{
 
23828
            s//\1/
 
23829
            q
 
23830
          }
 
23831
          /^X\(\/\/\)$/{
 
23832
            s//\1/
 
23833
            q
 
23834
          }
 
23835
          /^X\(\/\).*/{
 
23836
            s//\1/
 
23837
            q
 
23838
          }
 
23839
          s/.*/./; q'`
21819
23840
  else
21820
23841
    continue
21821
23842
  fi
21822
 
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
21823
 
  # Extract the definition of DEP_FILES from the Makefile without
21824
 
  # running `make'.
21825
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
23843
  # Extract the definition of DEPDIR, am__include, and am__quote
 
23844
  # from the Makefile without running `make'.
 
23845
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21826
23846
  test -z "$DEPDIR" && continue
 
23847
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
23848
  test -z "am__include" && continue
 
23849
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21827
23850
  # When using ansi2knr, U may be empty or an underscore; expand it
21828
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
21829
 
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
21830
 
  # We invoke sed twice because it is the simplest approach to
21831
 
  # changing $(DEPDIR) to its actual value in the expansion.
21832
 
  for file in `sed -n -e '
21833
 
    /^DEP_FILES = .*\\\\$/ {
21834
 
      s/^DEP_FILES = //
21835
 
      :loop
21836
 
        s/\\\\$//
21837
 
        p
21838
 
        n
21839
 
        /\\\\$/ b loop
21840
 
      p
21841
 
    }
21842
 
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 
23851
  U=`sed -n 's/^U = //p' < "$mf"`
 
23852
  # Find all dependency output files, they are included files with
 
23853
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
23854
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
23855
  # expansion.
 
23856
  for file in `sed -n "
 
23857
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21843
23858
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21844
23859
    # Make sure the directory exists.
21845
23860
    test -f "$dirpart/$file" && continue
21846
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
23861
    fdir=`$as_dirname -- "$file" ||
21847
23862
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21848
 
         X"$file" : 'X\(//\)[^/]' \| \
21849
 
         X"$file" : 'X\(//\)$' \| \
21850
 
         X"$file" : 'X\(/\)' \| \
21851
 
         .     : '\(.\)' 2>/dev/null ||
 
23863
         X"$file" : 'X\(//\)[^/]' \| \
 
23864
         X"$file" : 'X\(//\)$' \| \
 
23865
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21852
23866
echo X"$file" |
21853
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21854
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21855
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21856
 
          /^X\(\/\).*/{ s//\1/; q; }
21857
 
          s/.*/./; q'`
21858
 
    { if $as_mkdir_p; then
21859
 
    mkdir -p $dirpart/$fdir
21860
 
  else
21861
 
    as_dir=$dirpart/$fdir
 
23867
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23868
            s//\1/
 
23869
            q
 
23870
          }
 
23871
          /^X\(\/\/\)[^/].*/{
 
23872
            s//\1/
 
23873
            q
 
23874
          }
 
23875
          /^X\(\/\/\)$/{
 
23876
            s//\1/
 
23877
            q
 
23878
          }
 
23879
          /^X\(\/\).*/{
 
23880
            s//\1/
 
23881
            q
 
23882
          }
 
23883
          s/.*/./; q'`
 
23884
    { as_dir=$dirpart/$fdir
 
23885
  case $as_dir in #(
 
23886
  -*) as_dir=./$as_dir;;
 
23887
  esac
 
23888
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21862
23889
    as_dirs=
21863
 
    while test ! -d "$as_dir"; do
21864
 
      as_dirs="$as_dir $as_dirs"
21865
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
23890
    while :; do
 
23891
      case $as_dir in #(
 
23892
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
23893
      *) as_qdir=$as_dir;;
 
23894
      esac
 
23895
      as_dirs="'$as_qdir' $as_dirs"
 
23896
      as_dir=`$as_dirname -- "$as_dir" ||
21866
23897
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21867
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
21868
 
         X"$as_dir" : 'X\(//\)$' \| \
21869
 
         X"$as_dir" : 'X\(/\)' \| \
21870
 
         .     : '\(.\)' 2>/dev/null ||
 
23898
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
23899
         X"$as_dir" : 'X\(//\)$' \| \
 
23900
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21871
23901
echo X"$as_dir" |
21872
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21873
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21874
 
          /^X\(\/\/\)$/{ s//\1/; q; }
21875
 
          /^X\(\/\).*/{ s//\1/; q; }
21876
 
          s/.*/./; q'`
 
23902
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23903
            s//\1/
 
23904
            q
 
23905
          }
 
23906
          /^X\(\/\/\)[^/].*/{
 
23907
            s//\1/
 
23908
            q
 
23909
          }
 
23910
          /^X\(\/\/\)$/{
 
23911
            s//\1/
 
23912
            q
 
23913
          }
 
23914
          /^X\(\/\).*/{
 
23915
            s//\1/
 
23916
            q
 
23917
          }
 
23918
          s/.*/./; q'`
 
23919
      test -d "$as_dir" && break
21877
23920
    done
21878
 
    test ! -n "$as_dirs" || mkdir $as_dirs
21879
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21880
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
23921
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
23922
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
23923
echo "$as_me: error: cannot create directory $as_dir" >&2;}
21881
23924
   { (exit 1); exit 1; }; }; }
21882
 
 
21883
23925
    # echo "creating $dirpart/$file"
21884
23926
    echo '# dummy' > "$dirpart/$file"
21885
23927
  done
21886
23928
done
21887
23929
 ;;
21888
 
    default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*)
 
23930
    "intltool":C)
 
23931
 
 
23932
for file in intltool-extract intltool-merge intltool-update; do
 
23933
  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
 
23934
      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
 
23935
      -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
 
23936
      -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
 
23937
      -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
 
23938
      -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
 
23939
      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
 
23940
        < ${ac_aux_dir}/${file}.in > ${file}.out
 
23941
  if cmp -s ${file} ${file}.out 2>/dev/null; then
 
23942
    rm -f ${file}.out
 
23943
  else
 
23944
    mv -f ${file}.out ${file}
 
23945
  fi
 
23946
  chmod ugo+x ${file}
 
23947
  chmod u+w ${file}
 
23948
done
 
23949
 
 
23950
 ;;
 
23951
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
21889
23952
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
21890
23953
      esac ;;
 
23954
    "po/stamp-it":C)
 
23955
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
23956
    >"po/stamp-it.tmp"
 
23957
    sed '/^#/d
 
23958
         s/^[[].*] *//
 
23959
         /^[    ]*$/d
 
23960
        '"s|^|  $ac_top_srcdir/|" \
 
23961
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
23962
 
 
23963
    if test ! -f "po/Makefile"; then
 
23964
      { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
 
23965
echo "$as_me: error: po/Makefile is not ready." >&2;}
 
23966
   { (exit 1); exit 1; }; }
 
23967
    fi
 
23968
    mv "po/Makefile" "po/Makefile.tmp"
 
23969
    sed '/^POTFILES =/,/[^\\]$/ {
 
23970
                /^POTFILES =/!d
 
23971
                r po/POTFILES
 
23972
          }
 
23973
         ' "po/Makefile.tmp" >"po/Makefile"
 
23974
    rm -f "po/Makefile.tmp"
 
23975
    mv "po/stamp-it.tmp" "po/stamp-it"
 
23976
   ;;
 
23977
 
21891
23978
  esac
21892
 
done
21893
 
_ACEOF
 
23979
done # for ac_tag
21894
23980
 
21895
 
cat >>$CONFIG_STATUS <<\_ACEOF
21896
23981
 
21897
23982
{ (exit 0); exit 0; }
21898
23983
_ACEOF