~ubuntu-branches/ubuntu/gutsy/xfce4-dict-plugin/gutsy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Gauvain Pocentek
  • Date: 2007-01-16 21:05:12 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070116210512-dkh06qipeqjow00z
Tags: 0.2.1-0ubuntu1
New upstream release

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.59 for xfce4-dict-plugin 0.2.0.
 
3
# Generated by GNU Autoconf 2.60a for xfce4-dict-plugin 0.2.1.
4
4
#
5
5
# Report bugs to <goodies-dev@xfce.org>.
6
6
#
7
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8
9
# This configure script is free software; the Free Software Foundation
9
10
# gives unlimited permission to copy, distribute and modify it.
10
11
## --------------------- ##
18
19
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
20
  # is contrary to our usage.  Disable this feature.
20
21
  alias -g '${1+"$@"}'='"$@"'
21
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
 
22
  setopt NO_GLOB_SUBST
 
23
else
 
24
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23
25
fi
 
26
BIN_SH=xpg4; export BIN_SH # for Tru64
24
27
DUALCASE=1; export DUALCASE # for MKS sh
25
28
 
 
29
 
 
30
# PATH needs CR
 
31
# Avoid depending upon Character Ranges.
 
32
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
33
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
34
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
35
as_cr_digits='0123456789'
 
36
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
37
 
 
38
# The user is always right.
 
39
if test "${PATH_SEPARATOR+set}" != set; then
 
40
  echo "#! /bin/sh" >conf$$.sh
 
41
  echo  "exit 0"   >>conf$$.sh
 
42
  chmod +x conf$$.sh
 
43
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
44
    PATH_SEPARATOR=';'
 
45
  else
 
46
    PATH_SEPARATOR=:
 
47
  fi
 
48
  rm -f conf$$.sh
 
49
fi
 
50
 
26
51
# Support unset when possible.
27
52
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28
53
  as_unset=unset
31
56
fi
32
57
 
33
58
 
 
59
# IFS
 
60
# We need space, tab and new line, in precisely that order.  Quoting is
 
61
# there to prevent editors from complaining about space-tab.
 
62
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
63
# splitting by setting IFS to empty value.)
 
64
as_nl='
 
65
'
 
66
IFS=" ""        $as_nl"
 
67
 
 
68
# Find who we are.  Look in the path if we contain no directory separator.
 
69
case $0 in
 
70
  *[\\/]* ) as_myself=$0 ;;
 
71
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
72
for as_dir in $PATH
 
73
do
 
74
  IFS=$as_save_IFS
 
75
  test -z "$as_dir" && as_dir=.
 
76
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
77
done
 
78
IFS=$as_save_IFS
 
79
 
 
80
     ;;
 
81
esac
 
82
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
83
# in which case we are not to be found in the path.
 
84
if test "x$as_myself" = x; then
 
85
  as_myself=$0
 
86
fi
 
87
if test ! -f "$as_myself"; then
 
88
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
89
  { (exit 1); exit 1; }
 
90
fi
 
91
 
34
92
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
 
93
for as_var in ENV MAIL MAILPATH
 
94
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
95
done
36
96
PS1='$ '
37
97
PS2='> '
38
98
PS4='+ '
46
106
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
107
    eval $as_var=C; export $as_var
48
108
  else
49
 
    $as_unset $as_var
 
109
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50
110
  fi
51
111
done
52
112
 
53
113
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
114
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
115
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
55
116
  as_expr=expr
56
117
else
57
118
  as_expr=false
58
119
fi
59
120
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
121
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61
122
  as_basename=basename
62
123
else
63
124
  as_basename=false
65
126
 
66
127
 
67
128
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
 
129
as_me=`$as_basename -- "$0" ||
69
130
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
131
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
 
132
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73
133
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
 
  '')
 
134
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
135
            s//\1/
 
136
            q
 
137
          }
 
138
          /^X\/\(\/\/\)$/{
 
139
            s//\1/
 
140
            q
 
141
          }
 
142
          /^X\/\(\/\).*/{
 
143
            s//\1/
 
144
            q
 
145
          }
 
146
          s/.*/./; q'`
 
147
 
 
148
# CDPATH.
 
149
$as_unset CDPATH
 
150
 
 
151
 
 
152
if test "x$CONFIG_SHELL" = x; then
 
153
  if (eval ":") 2>/dev/null; then
 
154
  as_have_required=yes
 
155
else
 
156
  as_have_required=no
 
157
fi
 
158
 
 
159
  if test $as_have_required = yes &&     (eval ":
 
160
(as_func_return () {
 
161
  (exit \$1)
 
162
}
 
163
as_func_success () {
 
164
  as_func_return 0
 
165
}
 
166
as_func_failure () {
 
167
  as_func_return 1
 
168
}
 
169
as_func_ret_success () {
 
170
  return 0
 
171
}
 
172
as_func_ret_failure () {
 
173
  return 1
 
174
}
 
175
 
 
176
exitcode=0
 
177
if as_func_success; then
 
178
  :
 
179
else
 
180
  exitcode=1
 
181
  echo as_func_success failed.
 
182
fi
 
183
 
 
184
if as_func_failure; then
 
185
  exitcode=1
 
186
  echo as_func_failure succeeded.
 
187
fi
 
188
 
 
189
if as_func_ret_success; then
 
190
  :
 
191
else
 
192
  exitcode=1
 
193
  echo as_func_ret_success failed.
 
194
fi
 
195
 
 
196
if as_func_ret_failure; then
 
197
  exitcode=1
 
198
  echo as_func_ret_failure succeeded.
 
199
fi
 
200
 
 
201
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
202
  :
 
203
else
 
204
  exitcode=1
 
205
  echo positional parameters were not saved.
 
206
fi
 
207
 
 
208
test \$exitcode = 0) || { (exit 1); exit 1; }
 
209
 
 
210
(
 
211
  as_lineno_1=\$LINENO
 
212
  as_lineno_2=\$LINENO
 
213
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
214
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
215
") 2> /dev/null; then
 
216
  :
 
217
else
 
218
  as_candidate_shells=
132
219
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
220
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
221
do
135
222
  IFS=$as_save_IFS
136
223
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
 
224
  case $as_dir in
139
225
         /*)
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
 
226
           for as_base in sh bash ksh sh5; do
 
227
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
228
           done;;
 
229
       esac
154
230
done
155
 
;;
156
 
  esac
 
231
IFS=$as_save_IFS
 
232
 
 
233
 
 
234
      for as_shell in $as_candidate_shells $SHELL; do
 
235
         # Try only shells that exist, to save several forks.
 
236
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
237
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
238
# Be Bourne compatible
 
239
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
240
  emulate sh
 
241
  NULLCMD=:
 
242
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
243
  # is contrary to our usage.  Disable this feature.
 
244
  alias -g '${1+"$@"}'='"$@"'
 
245
  setopt NO_GLOB_SUBST
 
246
else
 
247
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
248
fi
 
249
BIN_SH=xpg4; export BIN_SH # for Tru64
 
250
DUALCASE=1; export DUALCASE # for MKS sh
 
251
 
 
252
:
 
253
_ASEOF
 
254
}; then
 
255
  CONFIG_SHELL=$as_shell
 
256
               as_have_required=yes
 
257
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
258
# Be Bourne compatible
 
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
260
  emulate sh
 
261
  NULLCMD=:
 
262
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
263
  # is contrary to our usage.  Disable this feature.
 
264
  alias -g '${1+"$@"}'='"$@"'
 
265
  setopt NO_GLOB_SUBST
 
266
else
 
267
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
268
fi
 
269
BIN_SH=xpg4; export BIN_SH # for Tru64
 
270
DUALCASE=1; export DUALCASE # for MKS sh
 
271
 
 
272
:
 
273
(as_func_return () {
 
274
  (exit $1)
 
275
}
 
276
as_func_success () {
 
277
  as_func_return 0
 
278
}
 
279
as_func_failure () {
 
280
  as_func_return 1
 
281
}
 
282
as_func_ret_success () {
 
283
  return 0
 
284
}
 
285
as_func_ret_failure () {
 
286
  return 1
 
287
}
 
288
 
 
289
exitcode=0
 
290
if as_func_success; then
 
291
  :
 
292
else
 
293
  exitcode=1
 
294
  echo as_func_success failed.
 
295
fi
 
296
 
 
297
if as_func_failure; then
 
298
  exitcode=1
 
299
  echo as_func_failure succeeded.
 
300
fi
 
301
 
 
302
if as_func_ret_success; then
 
303
  :
 
304
else
 
305
  exitcode=1
 
306
  echo as_func_ret_success failed.
 
307
fi
 
308
 
 
309
if as_func_ret_failure; then
 
310
  exitcode=1
 
311
  echo as_func_ret_failure succeeded.
 
312
fi
 
313
 
 
314
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
315
  :
 
316
else
 
317
  exitcode=1
 
318
  echo positional parameters were not saved.
 
319
fi
 
320
 
 
321
test $exitcode = 0) || { (exit 1); exit 1; }
 
322
 
 
323
(
 
324
  as_lineno_1=$LINENO
 
325
  as_lineno_2=$LINENO
 
326
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
327
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
328
 
 
329
_ASEOF
 
330
}; then
 
331
  break
 
332
fi
 
333
 
 
334
fi
 
335
 
 
336
      done
 
337
 
 
338
      if test "x$CONFIG_SHELL" != x; then
 
339
  for as_var in BASH_ENV ENV
 
340
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
341
        done
 
342
        export CONFIG_SHELL
 
343
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
344
fi
 
345
 
 
346
 
 
347
    if test $as_have_required = no; then
 
348
  echo This script requires a shell more modern than all the
 
349
      echo shells that I found on your system.  Please install a
 
350
      echo modern shell, or manually run the script under such a
 
351
      echo shell if you do have one.
 
352
      { (exit 1); exit 1; }
 
353
fi
 
354
 
 
355
 
 
356
fi
 
357
 
 
358
fi
 
359
 
 
360
 
 
361
 
 
362
(eval "as_func_return () {
 
363
  (exit \$1)
 
364
}
 
365
as_func_success () {
 
366
  as_func_return 0
 
367
}
 
368
as_func_failure () {
 
369
  as_func_return 1
 
370
}
 
371
as_func_ret_success () {
 
372
  return 0
 
373
}
 
374
as_func_ret_failure () {
 
375
  return 1
 
376
}
 
377
 
 
378
exitcode=0
 
379
if as_func_success; then
 
380
  :
 
381
else
 
382
  exitcode=1
 
383
  echo as_func_success failed.
 
384
fi
 
385
 
 
386
if as_func_failure; then
 
387
  exitcode=1
 
388
  echo as_func_failure succeeded.
 
389
fi
 
390
 
 
391
if as_func_ret_success; then
 
392
  :
 
393
else
 
394
  exitcode=1
 
395
  echo as_func_ret_success failed.
 
396
fi
 
397
 
 
398
if as_func_ret_failure; then
 
399
  exitcode=1
 
400
  echo as_func_ret_failure succeeded.
 
401
fi
 
402
 
 
403
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
404
  :
 
405
else
 
406
  exitcode=1
 
407
  echo positional parameters were not saved.
 
408
fi
 
409
 
 
410
test \$exitcode = 0") || {
 
411
  echo No shell found that supports shell functions.
 
412
  echo Please tell autoconf@gnu.org about your system,
 
413
  echo including any error possibly output before this
 
414
  echo message
 
415
}
 
416
 
 
417
 
 
418
 
 
419
  as_lineno_1=$LINENO
 
420
  as_lineno_2=$LINENO
 
421
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
422
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157
423
 
158
424
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
425
  # 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.
 
426
  # line-number line after each line using $LINENO; the second 'sed'
 
427
  # does the real work.  The second script uses 'N' to pair each
 
428
  # line-number line with the line containing $LINENO, and appends
 
429
  # trailing '-' during substitution so that $LINENO is not a special
 
430
  # case at line end.
164
431
  # (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 |
 
432
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
433
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
434
  sed -n '
 
435
    p
 
436
    /[$]LINENO/=
 
437
  ' <$as_myself |
167
438
    sed '
 
439
      s/[$]LINENO.*/&-/
 
440
      t lineno
 
441
      b
 
442
      :lineno
168
443
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
444
      :loop
 
445
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
446
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
 
447
      s/-\n.*//
175
448
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
 
449
  chmod +x "$as_me.lineno" ||
177
450
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
451
   { (exit 1); exit 1; }; }
179
452
 
180
453
  # Don't try to exec as it changes $[0], causing all sort of problems
181
454
  # (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
 
455
  # original and so on.  Autoconf is especially sensitive to this).
 
456
  . "./$as_me.lineno"
184
457
  # Exit status is that of the last command.
185
458
  exit
186
459
}
187
460
 
188
461
 
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= ;;
 
462
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
463
  as_dirname=dirname
 
464
else
 
465
  as_dirname=false
 
466
fi
 
467
 
 
468
ECHO_C= ECHO_N= ECHO_T=
 
469
case `echo -n x` in
 
470
-n*)
 
471
  case `echo 'x\c'` in
 
472
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
473
  *)   ECHO_C='\c';;
 
474
  esac;;
 
475
*)
 
476
  ECHO_N='-n';;
194
477
esac
195
478
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
479
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
480
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
197
481
  as_expr=expr
198
482
else
199
483
  as_expr=false
200
484
fi
201
485
 
202
486
rm -f conf$$ conf$$.exe conf$$.file
 
487
if test -d conf$$.dir; then
 
488
  rm -f conf$$.dir/conf$$.file
 
489
else
 
490
  rm -f conf$$.dir
 
491
  mkdir conf$$.dir
 
492
fi
203
493
echo >conf$$.file
204
494
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
 
495
  as_ln_s='ln -s'
 
496
  # ... but there are two gotchas:
 
497
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
498
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
499
  # In both cases, we have to default to `cp -p'.
 
500
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
209
501
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
 
  fi
213
502
elif ln conf$$.file conf$$ 2>/dev/null; then
214
503
  as_ln_s=ln
215
504
else
216
505
  as_ln_s='cp -p'
217
506
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
 
507
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
508
rmdir conf$$.dir 2>/dev/null
219
509
 
220
510
if mkdir -p . 2>/dev/null; then
221
511
  as_mkdir_p=:
224
514
  as_mkdir_p=false
225
515
fi
226
516
 
227
 
as_executable_p="test -f"
 
517
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
518
# systems may use methods other than mode bits to determine executability.
 
519
cat >conf$$.file <<_ASEOF
 
520
#! /bin/sh
 
521
exit 0
 
522
_ASEOF
 
523
chmod +x conf$$.file
 
524
if test -x conf$$.file >/dev/null 2>&1; then
 
525
  as_executable_p="test -x"
 
526
else
 
527
  as_executable_p=:
 
528
fi
 
529
rm -f conf$$.file
228
530
 
229
531
# Sed expression to map a string onto a valid CPP name.
230
532
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233
535
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
536
 
235
537
 
236
 
# IFS
237
 
# We need space, tab and new line, in precisely that order.
238
 
as_nl='
239
 
'
240
 
IFS="   $as_nl"
241
 
 
242
 
# CDPATH.
243
 
$as_unset CDPATH
244
 
 
245
538
 
246
539
 
247
540
# Check that we are running under the correct shell.
280
573
 
281
574
# The HP-UX ksh and POSIX shell print the target directory to stdout
282
575
# if CDPATH is set.
283
 
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
576
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
284
577
 
285
578
if test -z "$ECHO"; then
286
579
if test "X${echo_test_string+set}" != Xset; then
287
580
# find a string as large as possible, as long as the shell can cope with it
288
581
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289
582
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290
 
    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
291
 
       echo_test_string="`eval $cmd`" &&
 
583
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
 
584
       echo_test_string=`eval $cmd` &&
292
585
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
293
586
    then
294
587
      break
397
690
 
398
691
tagnames=${tagnames+${tagnames},}F77
399
692
 
 
693
exec 7<&0 </dev/null 6>&1
 
694
 
400
695
# Name of the host.
401
696
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402
697
# so uname gets run too.
403
698
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
404
699
 
405
 
exec 6>&1
406
 
 
407
700
#
408
701
# Initializations.
409
702
#
410
703
ac_default_prefix=/usr/local
 
704
ac_clean_files=
411
705
ac_config_libobj_dir=.
 
706
LIBOBJS=
412
707
cross_compiling=no
413
708
subdirs=
414
709
MFLAGS=
415
710
MAKEFLAGS=
416
711
SHELL=${CONFIG_SHELL-/bin/sh}
417
712
 
418
 
# Maximum number of lines to put in a shell here document.
419
 
# This variable seems obsolete.  It should probably be removed, and
420
 
# only ac_max_sed_lines should be used.
421
 
: ${ac_max_here_lines=38}
422
 
 
423
713
# Identity of this package.
424
714
PACKAGE_NAME='xfce4-dict-plugin'
425
715
PACKAGE_TARNAME='xfce4-dict-plugin'
426
 
PACKAGE_VERSION='0.2.0'
427
 
PACKAGE_STRING='xfce4-dict-plugin 0.2.0'
 
716
PACKAGE_VERSION='0.2.1'
 
717
PACKAGE_STRING='xfce4-dict-plugin 0.2.1'
428
718
PACKAGE_BUGREPORT='goodies-dev@xfce.org'
429
719
 
430
720
# Factoring default headers for most tests.
431
721
ac_includes_default="\
432
722
#include <stdio.h>
433
 
#if HAVE_SYS_TYPES_H
 
723
#ifdef HAVE_SYS_TYPES_H
434
724
# include <sys/types.h>
435
725
#endif
436
 
#if HAVE_SYS_STAT_H
 
726
#ifdef HAVE_SYS_STAT_H
437
727
# include <sys/stat.h>
438
728
#endif
439
 
#if STDC_HEADERS
 
729
#ifdef STDC_HEADERS
440
730
# include <stdlib.h>
441
731
# include <stddef.h>
442
732
#else
443
 
# if HAVE_STDLIB_H
 
733
# ifdef HAVE_STDLIB_H
444
734
#  include <stdlib.h>
445
735
# endif
446
736
#endif
447
 
#if HAVE_STRING_H
448
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
737
#ifdef HAVE_STRING_H
 
738
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
449
739
#  include <memory.h>
450
740
# endif
451
741
# include <string.h>
452
742
#endif
453
 
#if HAVE_STRINGS_H
 
743
#ifdef HAVE_STRINGS_H
454
744
# include <strings.h>
455
745
#endif
456
 
#if HAVE_INTTYPES_H
 
746
#ifdef HAVE_INTTYPES_H
457
747
# include <inttypes.h>
458
 
#else
459
 
# if HAVE_STDINT_H
460
 
#  include <stdint.h>
461
 
# endif
462
 
#endif
463
 
#if HAVE_UNISTD_H
 
748
#endif
 
749
#ifdef HAVE_STDINT_H
 
750
# include <stdint.h>
 
751
#endif
 
752
#ifdef HAVE_UNISTD_H
464
753
# include <unistd.h>
465
754
#endif"
466
755
 
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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar 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 INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL INTLTOOL_ICONV INTLTOOL_MSGFMT INTLTOOL_MSGMERGE INTLTOOL_XGETTEXT 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 XGETTEXT_ARGS PKG_CONFIG GTHREAD_VERSION GTHREAD_CFLAGS GTHREAD_LIBS GTHREAD_REQUIRED_VERSION GTK_VERSION GTK_CFLAGS GTK_LIBS GTK_REQUIRED_VERSION LIBXFCEGUI4_VERSION LIBXFCEGUI4_CFLAGS LIBXFCEGUI4_LIBS LIBXFCEGUI4_REQUIRED_VERSION LIBXFCE4UTIL_VERSION LIBXFCE4UTIL_CFLAGS LIBXFCE4UTIL_LIBS LIBXFCE4UTIL_REQUIRED_VERSION LIBXFCE4PANEL_VERSION LIBXFCE4PANEL_CFLAGS LIBXFCE4PANEL_LIBS LIBXFCE4PANEL_REQUIRED_VERSION LIBOBJS LTLIBOBJS'
 
756
ac_subst_vars='SHELL
 
757
PATH_SEPARATOR
 
758
PACKAGE_NAME
 
759
PACKAGE_TARNAME
 
760
PACKAGE_VERSION
 
761
PACKAGE_STRING
 
762
PACKAGE_BUGREPORT
 
763
exec_prefix
 
764
prefix
 
765
program_transform_name
 
766
bindir
 
767
sbindir
 
768
libexecdir
 
769
datarootdir
 
770
datadir
 
771
sysconfdir
 
772
sharedstatedir
 
773
localstatedir
 
774
includedir
 
775
oldincludedir
 
776
docdir
 
777
infodir
 
778
htmldir
 
779
dvidir
 
780
pdfdir
 
781
psdir
 
782
libdir
 
783
localedir
 
784
mandir
 
785
DEFS
 
786
ECHO_C
 
787
ECHO_N
 
788
ECHO_T
 
789
LIBS
 
790
build_alias
 
791
host_alias
 
792
target_alias
 
793
INSTALL_PROGRAM
 
794
INSTALL_SCRIPT
 
795
INSTALL_DATA
 
796
CYGPATH_W
 
797
PACKAGE
 
798
VERSION
 
799
ACLOCAL
 
800
AUTOCONF
 
801
AUTOMAKE
 
802
AUTOHEADER
 
803
MAKEINFO
 
804
install_sh
 
805
STRIP
 
806
INSTALL_STRIP_PROGRAM
 
807
mkdir_p
 
808
AWK
 
809
SET_MAKE
 
810
am__leading_dot
 
811
AMTAR
 
812
am__tar
 
813
am__untar
 
814
MAINTAINER_MODE_TRUE
 
815
MAINTAINER_MODE_FALSE
 
816
MAINT
 
817
CC
 
818
CFLAGS
 
819
LDFLAGS
 
820
CPPFLAGS
 
821
ac_ct_CC
 
822
EXEEXT
 
823
OBJEXT
 
824
DEPDIR
 
825
am__include
 
826
am__quote
 
827
AMDEP_TRUE
 
828
AMDEP_FALSE
 
829
AMDEPBACKSLASH
 
830
CCDEPMODE
 
831
am__fastdepCC_TRUE
 
832
am__fastdepCC_FALSE
 
833
build
 
834
build_cpu
 
835
build_vendor
 
836
build_os
 
837
host
 
838
host_cpu
 
839
host_vendor
 
840
host_os
 
841
GREP
 
842
EGREP
 
843
LN_S
 
844
ECHO
 
845
AR
 
846
RANLIB
 
847
CPP
 
848
CXX
 
849
CXXFLAGS
 
850
ac_ct_CXX
 
851
CXXDEPMODE
 
852
am__fastdepCXX_TRUE
 
853
am__fastdepCXX_FALSE
 
854
CXXCPP
 
855
F77
 
856
FFLAGS
 
857
ac_ct_F77
 
858
LIBTOOL
 
859
INTLTOOL_DESKTOP_RULE
 
860
INTLTOOL_DIRECTORY_RULE
 
861
INTLTOOL_KEYS_RULE
 
862
INTLTOOL_PROP_RULE
 
863
INTLTOOL_OAF_RULE
 
864
INTLTOOL_PONG_RULE
 
865
INTLTOOL_SERVER_RULE
 
866
INTLTOOL_SHEET_RULE
 
867
INTLTOOL_SOUNDLIST_RULE
 
868
INTLTOOL_UI_RULE
 
869
INTLTOOL_XAM_RULE
 
870
INTLTOOL_KBD_RULE
 
871
INTLTOOL_XML_RULE
 
872
INTLTOOL_XML_NOMERGE_RULE
 
873
INTLTOOL_CAVES_RULE
 
874
INTLTOOL_SCHEMAS_RULE
 
875
INTLTOOL_THEME_RULE
 
876
INTLTOOL_SERVICE_RULE
 
877
INTLTOOL_EXTRACT
 
878
INTLTOOL_MERGE
 
879
INTLTOOL_UPDATE
 
880
INTLTOOL_PERL
 
881
INTLTOOL_ICONV
 
882
INTLTOOL_MSGFMT
 
883
INTLTOOL_MSGMERGE
 
884
INTLTOOL_XGETTEXT
 
885
ALL_LINGUAS
 
886
DATADIRNAME
 
887
GETTEXT_PACKAGE
 
888
USE_NLS
 
889
MSGFMT
 
890
GMSGFMT
 
891
XGETTEXT
 
892
CATALOGS
 
893
CATOBJEXT
 
894
GMOFILES
 
895
INSTOBJEXT
 
896
INTLLIBS
 
897
PO_IN_DATADIR_TRUE
 
898
PO_IN_DATADIR_FALSE
 
899
POFILES
 
900
POSUB
 
901
MKINSTALLDIRS
 
902
XGETTEXT_ARGS
 
903
PKG_CONFIG
 
904
GTHREAD_VERSION
 
905
GTHREAD_CFLAGS
 
906
GTHREAD_LIBS
 
907
GTHREAD_REQUIRED_VERSION
 
908
GTK_VERSION
 
909
GTK_CFLAGS
 
910
GTK_LIBS
 
911
GTK_REQUIRED_VERSION
 
912
LIBXFCEGUI4_VERSION
 
913
LIBXFCEGUI4_CFLAGS
 
914
LIBXFCEGUI4_LIBS
 
915
LIBXFCEGUI4_REQUIRED_VERSION
 
916
LIBXFCE4UTIL_VERSION
 
917
LIBXFCE4UTIL_CFLAGS
 
918
LIBXFCE4UTIL_LIBS
 
919
LIBXFCE4UTIL_REQUIRED_VERSION
 
920
LIBXFCE4PANEL_VERSION
 
921
LIBXFCE4PANEL_CFLAGS
 
922
LIBXFCE4PANEL_LIBS
 
923
LIBXFCE4PANEL_REQUIRED_VERSION
 
924
LIBOBJS
 
925
LTLIBOBJS'
468
926
ac_subst_files=''
 
927
      ac_precious_vars='build_alias
 
928
host_alias
 
929
target_alias
 
930
CC
 
931
CFLAGS
 
932
LDFLAGS
 
933
CPPFLAGS
 
934
CPP
 
935
CXX
 
936
CXXFLAGS
 
937
CCC
 
938
CXXCPP
 
939
F77
 
940
FFLAGS'
 
941
 
469
942
 
470
943
# Initialize some variables set by options.
471
944
ac_init_help=
492
965
# and all the variables that are supposed to be based on exec_prefix
493
966
# by default will actually change.
494
967
# Use braces instead of parens because sh, perl, etc. also accept them.
 
968
# (The list follows the same order as the GNU Coding Standards.)
495
969
bindir='${exec_prefix}/bin'
496
970
sbindir='${exec_prefix}/sbin'
497
971
libexecdir='${exec_prefix}/libexec'
498
 
datadir='${prefix}/share'
 
972
datarootdir='${prefix}/share'
 
973
datadir='${datarootdir}'
499
974
sysconfdir='${prefix}/etc'
500
975
sharedstatedir='${prefix}/com'
501
976
localstatedir='${prefix}/var'
502
 
libdir='${exec_prefix}/lib'
503
977
includedir='${prefix}/include'
504
978
oldincludedir='/usr/include'
505
 
infodir='${prefix}/info'
506
 
mandir='${prefix}/man'
 
979
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
980
infodir='${datarootdir}/info'
 
981
htmldir='${docdir}'
 
982
dvidir='${docdir}'
 
983
pdfdir='${docdir}'
 
984
psdir='${docdir}'
 
985
libdir='${exec_prefix}/lib'
 
986
localedir='${datarootdir}/locale'
 
987
mandir='${datarootdir}/man'
507
988
 
508
989
ac_prev=
 
990
ac_dashdash=
509
991
for ac_option
510
992
do
511
993
  # If the previous option needs an argument, assign it.
512
994
  if test -n "$ac_prev"; then
513
 
    eval "$ac_prev=\$ac_option"
 
995
    eval $ac_prev=\$ac_option
514
996
    ac_prev=
515
997
    continue
516
998
  fi
517
999
 
518
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
1000
  case $ac_option in
 
1001
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1002
  *)    ac_optarg=yes ;;
 
1003
  esac
519
1004
 
520
1005
  # Accept the important Cygnus configure options, so we can diagnose typos.
521
1006
 
522
 
  case $ac_option in
 
1007
  case $ac_dashdash$ac_option in
 
1008
  --)
 
1009
    ac_dashdash=yes ;;
523
1010
 
524
1011
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
525
1012
    ac_prev=bindir ;;
541
1028
  --config-cache | -C)
542
1029
    cache_file=config.cache ;;
543
1030
 
544
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1031
  -datadir | --datadir | --datadi | --datad)
545
1032
    ac_prev=datadir ;;
546
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
547
 
  | --da=*)
 
1033
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
548
1034
    datadir=$ac_optarg ;;
549
1035
 
 
1036
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1037
  | --dataroo | --dataro | --datar)
 
1038
    ac_prev=datarootdir ;;
 
1039
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1040
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1041
    datarootdir=$ac_optarg ;;
 
1042
 
550
1043
  -disable-* | --disable-*)
551
1044
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552
1045
    # Reject names that are not valid shell variable names.
554
1047
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555
1048
   { (exit 1); exit 1; }; }
556
1049
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557
 
    eval "enable_$ac_feature=no" ;;
 
1050
    eval enable_$ac_feature=no ;;
 
1051
 
 
1052
  -docdir | --docdir | --docdi | --doc | --do)
 
1053
    ac_prev=docdir ;;
 
1054
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1055
    docdir=$ac_optarg ;;
 
1056
 
 
1057
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1058
    ac_prev=dvidir ;;
 
1059
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1060
    dvidir=$ac_optarg ;;
558
1061
 
559
1062
  -enable-* | --enable-*)
560
1063
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
563
1066
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564
1067
   { (exit 1); exit 1; }; }
565
1068
    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'" ;;
 
1069
    eval enable_$ac_feature=\$ac_optarg ;;
571
1070
 
572
1071
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573
1072
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
594
1093
  -host=* | --host=* | --hos=* | --ho=*)
595
1094
    host_alias=$ac_optarg ;;
596
1095
 
 
1096
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1097
    ac_prev=htmldir ;;
 
1098
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1099
  | --ht=*)
 
1100
    htmldir=$ac_optarg ;;
 
1101
 
597
1102
  -includedir | --includedir | --includedi | --included | --include \
598
1103
  | --includ | --inclu | --incl | --inc)
599
1104
    ac_prev=includedir ;;
618
1123
  | --libexe=* | --libex=* | --libe=*)
619
1124
    libexecdir=$ac_optarg ;;
620
1125
 
 
1126
  -localedir | --localedir | --localedi | --localed | --locale)
 
1127
    ac_prev=localedir ;;
 
1128
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1129
    localedir=$ac_optarg ;;
 
1130
 
621
1131
  -localstatedir | --localstatedir | --localstatedi | --localstated \
622
 
  | --localstate | --localstat | --localsta | --localst \
623
 
  | --locals | --local | --loca | --loc | --lo)
 
1132
  | --localstate | --localstat | --localsta | --localst | --locals)
624
1133
    ac_prev=localstatedir ;;
625
1134
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1135
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
628
1136
    localstatedir=$ac_optarg ;;
629
1137
 
630
1138
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
689
1197
  | --progr-tra=* | --program-tr=* | --program-t=*)
690
1198
    program_transform_name=$ac_optarg ;;
691
1199
 
 
1200
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1201
    ac_prev=pdfdir ;;
 
1202
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1203
    pdfdir=$ac_optarg ;;
 
1204
 
 
1205
  -psdir | --psdir | --psdi | --psd | --ps)
 
1206
    ac_prev=psdir ;;
 
1207
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1208
    psdir=$ac_optarg ;;
 
1209
 
692
1210
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693
1211
  | -silent | --silent | --silen | --sile | --sil)
694
1212
    silent=yes ;;
745
1263
      { echo "$as_me: error: invalid package name: $ac_package" >&2
746
1264
   { (exit 1); exit 1; }; }
747
1265
    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'" ;;
 
1266
    eval with_$ac_package=\$ac_optarg ;;
753
1267
 
754
1268
  -without-* | --without-*)
755
1269
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
758
1272
      { echo "$as_me: error: invalid package name: $ac_package" >&2
759
1273
   { (exit 1); exit 1; }; }
760
1274
    ac_package=`echo $ac_package | sed 's/-/_/g'`
761
 
    eval "with_$ac_package=no" ;;
 
1275
    eval with_$ac_package=no ;;
762
1276
 
763
1277
  --x)
764
1278
    # Obsolete; use --with-x.
789
1303
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790
1304
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791
1305
   { (exit 1); exit 1; }; }
792
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793
 
    eval "$ac_envvar='$ac_optarg'"
 
1306
    eval $ac_envvar=\$ac_optarg
794
1307
    export $ac_envvar ;;
795
1308
 
796
1309
  *)
810
1323
   { (exit 1); exit 1; }; }
811
1324
fi
812
1325
 
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
 
1326
# Be sure to have absolute directory names.
 
1327
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1328
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1329
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1330
                libdir localedir mandir
 
1331
do
 
1332
  eval ac_val=\$$ac_var
 
1333
  case $ac_val in
 
1334
    [\\/$]* | ?:[\\/]* )  continue;;
 
1335
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1336
  esac
 
1337
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1338
   { (exit 1); exit 1; }; }
834
1339
done
835
1340
 
836
1341
# There might be people who depend on the old broken behavior: `$host'
857
1362
test "$silent" = yes && exec 6>/dev/null
858
1363
 
859
1364
 
 
1365
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1366
ac_ls_di=`ls -di .` &&
 
1367
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1368
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1369
   { (exit 1); exit 1; }; }
 
1370
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1371
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1372
   { (exit 1); exit 1; }; }
 
1373
 
 
1374
 
860
1375
# Find the source files, if location was not specified.
861
1376
if test -z "$srcdir"; then
862
1377
  ac_srcdir_defaulted=yes
863
 
  # Try the directory containing this script, then its parent.
864
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1378
  # Try the directory containing this script, then the parent directory.
 
1379
  ac_confdir=`$as_dirname -- "$0" ||
865
1380
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866
1381
         X"$0" : 'X\(//\)[^/]' \| \
867
1382
         X"$0" : 'X\(//\)$' \| \
868
 
         X"$0" : 'X\(/\)' \| \
869
 
         .     : '\(.\)' 2>/dev/null ||
 
1383
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
870
1384
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'`
 
1385
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1386
            s//\1/
 
1387
            q
 
1388
          }
 
1389
          /^X\(\/\/\)[^/].*/{
 
1390
            s//\1/
 
1391
            q
 
1392
          }
 
1393
          /^X\(\/\/\)$/{
 
1394
            s//\1/
 
1395
            q
 
1396
          }
 
1397
          /^X\(\/\).*/{
 
1398
            s//\1/
 
1399
            q
 
1400
          }
 
1401
          s/.*/./; q'`
876
1402
  srcdir=$ac_confdir
877
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1403
  if test ! -r "$srcdir/$ac_unique_file"; then
878
1404
    srcdir=..
879
1405
  fi
880
1406
else
881
1407
  ac_srcdir_defaulted=no
882
1408
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
 
1409
if test ! -r "$srcdir/$ac_unique_file"; then
 
1410
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1411
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1412
   { (exit 1); exit 1; }; }
 
1413
fi
 
1414
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1415
ac_abs_confdir=`(
 
1416
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1417
   { (exit 1); exit 1; }; }
 
1418
        pwd)`
 
1419
# When building in place, set srcdir=.
 
1420
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1421
  srcdir=.
 
1422
fi
 
1423
# Remove unnecessary trailing slashes from srcdir.
 
1424
# Double slashes in file names in object file debugging info
 
1425
# mess up M-x gdb in Emacs.
 
1426
case $srcdir in
 
1427
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1428
esac
 
1429
for ac_var in $ac_precious_vars; do
 
1430
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1431
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1432
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1433
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1434
done
948
1435
 
949
1436
#
950
1437
# Report the --help message.
953
1440
  # Omit some internal or obsolete options to make the list less imposing.
954
1441
  # This message is too long to be a string in the A/UX 3.1 sh.
955
1442
  cat <<_ACEOF
956
 
\`configure' configures xfce4-dict-plugin 0.2.0 to adapt to many kinds of systems.
 
1443
\`configure' configures xfce4-dict-plugin 0.2.1 to adapt to many kinds of systems.
957
1444
 
958
1445
Usage: $0 [OPTION]... [VAR=VALUE]...
959
1446
 
973
1460
  -n, --no-create         do not create output files
974
1461
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
975
1462
 
976
 
_ACEOF
977
 
 
978
 
  cat <<_ACEOF
979
1463
Installation directories:
980
1464
  --prefix=PREFIX         install architecture-independent files in PREFIX
981
1465
                          [$ac_default_prefix]
993
1477
  --bindir=DIR           user executables [EPREFIX/bin]
994
1478
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
995
1479
  --libexecdir=DIR       program executables [EPREFIX/libexec]
996
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
997
1480
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
998
1481
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
999
1482
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1000
1483
  --libdir=DIR           object code libraries [EPREFIX/lib]
1001
1484
  --includedir=DIR       C header files [PREFIX/include]
1002
1485
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1003
 
  --infodir=DIR          info documentation [PREFIX/info]
1004
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1486
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1487
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1488
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1489
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1490
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1491
  --docdir=DIR           documentation root [DATAROOTDIR/doc/xfce4-dict-plugin]
 
1492
  --htmldir=DIR          html documentation [DOCDIR]
 
1493
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1494
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1495
  --psdir=DIR            ps documentation [DOCDIR]
1005
1496
_ACEOF
1006
1497
 
1007
1498
  cat <<\_ACEOF
1019
1510
 
1020
1511
if test -n "$ac_init_help"; then
1021
1512
  case $ac_init_help in
1022
 
     short | recursive ) echo "Configuration of xfce4-dict-plugin 0.2.0:";;
 
1513
     short | recursive ) echo "Configuration of xfce4-dict-plugin 0.2.1:";;
1023
1514
   esac
1024
1515
  cat <<\_ACEOF
1025
1516
 
1030
1521
                          (and sometimes confusing) to the casual installer
1031
1522
  --disable-dependency-tracking  speeds up one-time build
1032
1523
  --enable-dependency-tracking   do not reject slow dependency extractors
1033
 
  --enable-shared[=PKGS]
1034
 
                          build shared libraries [default=yes]
1035
 
  --enable-static[=PKGS]
1036
 
                          build static libraries [default=yes]
 
1524
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1525
  --enable-static[=PKGS]  build static libraries [default=yes]
1037
1526
  --enable-fast-install[=PKGS]
1038
1527
                          optimize for fast installation [default=yes]
1039
1528
  --disable-libtool-lock  avoid locking (might break parallel builds)
1047
1536
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1048
1537
  --with-pic              try to use only PIC/non-PIC objects [default=use
1049
1538
                          both]
1050
 
  --with-tags[=TAGS]
1051
 
                          include additional configurations [automatic]
 
1539
  --with-tags[=TAGS]      include additional configurations [automatic]
1052
1540
 
1053
1541
      --with-locales-dir=DIR  Install locales into DIR
1054
1542
 
1058
1546
  CFLAGS      C compiler flags
1059
1547
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1060
1548
              nonstandard directory <lib dir>
1061
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1062
 
              headers in a nonstandard directory <include dir>
 
1549
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1550
              you have headers in a nonstandard directory <include dir>
1063
1551
  CPP         C preprocessor
1064
1552
  CXX         C++ compiler command
1065
1553
  CXXFLAGS    C++ compiler flags
1072
1560
 
1073
1561
Report bugs to <goodies-dev@xfce.org>.
1074
1562
_ACEOF
 
1563
ac_status=$?
1075
1564
fi
1076
1565
 
1077
1566
if test "$ac_init_help" = "recursive"; then
1078
1567
  # If there are subdirs, report their specific --help.
1079
 
  ac_popdir=`pwd`
1080
1568
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1081
 
    test -d $ac_dir || continue
 
1569
    test -d "$ac_dir" || continue
1082
1570
    ac_builddir=.
1083
1571
 
1084
 
if test "$ac_dir" != .; then
 
1572
case "$ac_dir" in
 
1573
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1574
*)
1085
1575
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1086
 
  # A "../" for each directory in $ac_dir_suffix.
1087
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1088
 
else
1089
 
  ac_dir_suffix= ac_top_builddir=
1090
 
fi
 
1576
  # A ".." for each directory in $ac_dir_suffix.
 
1577
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1578
  case $ac_top_builddir_sub in
 
1579
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1580
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1581
  esac ;;
 
1582
esac
 
1583
ac_abs_top_builddir=$ac_pwd
 
1584
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1585
# for backward compatibility:
 
1586
ac_top_builddir=$ac_top_build_prefix
1091
1587
 
1092
1588
case $srcdir in
1093
 
  .)  # No --srcdir option.  We are building in place.
 
1589
  .)  # We are building in place.
1094
1590
    ac_srcdir=.
1095
 
    if test -z "$ac_top_builddir"; then
1096
 
       ac_top_srcdir=.
1097
 
    else
1098
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1099
 
    fi ;;
1100
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1591
    ac_top_srcdir=$ac_top_builddir_sub
 
1592
    ac_abs_top_srcdir=$ac_pwd ;;
 
1593
  [\\/]* | ?:[\\/]* )  # Absolute name.
1101
1594
    ac_srcdir=$srcdir$ac_dir_suffix;
1102
 
    ac_top_srcdir=$srcdir ;;
1103
 
  *) # Relative path.
1104
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1105
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1106
 
esac
1107
 
 
1108
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1109
 
# the directories may not exist.
1110
 
case `pwd` in
1111
 
.) ac_abs_builddir="$ac_dir";;
1112
 
*)
1113
 
  case "$ac_dir" in
1114
 
  .) ac_abs_builddir=`pwd`;;
1115
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1116
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1117
 
  esac;;
1118
 
esac
1119
 
case $ac_abs_builddir in
1120
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1121
 
*)
1122
 
  case ${ac_top_builddir}. in
1123
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1124
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1125
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1126
 
  esac;;
1127
 
esac
1128
 
case $ac_abs_builddir in
1129
 
.) ac_abs_srcdir=$ac_srcdir;;
1130
 
*)
1131
 
  case $ac_srcdir in
1132
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1133
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1134
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1135
 
  esac;;
1136
 
esac
1137
 
case $ac_abs_builddir in
1138
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1139
 
*)
1140
 
  case $ac_top_srcdir in
1141
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1142
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1143
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1144
 
  esac;;
1145
 
esac
1146
 
 
1147
 
    cd $ac_dir
1148
 
    # Check for guested configure; otherwise get Cygnus style configure.
1149
 
    if test -f $ac_srcdir/configure.gnu; then
1150
 
      echo
1151
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1152
 
    elif test -f $ac_srcdir/configure; then
1153
 
      echo
1154
 
      $SHELL $ac_srcdir/configure  --help=recursive
1155
 
    elif test -f $ac_srcdir/configure.ac ||
1156
 
           test -f $ac_srcdir/configure.in; then
1157
 
      echo
1158
 
      $ac_configure --help
 
1595
    ac_top_srcdir=$srcdir
 
1596
    ac_abs_top_srcdir=$srcdir ;;
 
1597
  *) # Relative name.
 
1598
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1599
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1600
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1601
esac
 
1602
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1603
 
 
1604
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1605
    # Check for guested configure.
 
1606
    if test -f "$ac_srcdir/configure.gnu"; then
 
1607
      echo &&
 
1608
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1609
    elif test -f "$ac_srcdir/configure"; then
 
1610
      echo &&
 
1611
      $SHELL "$ac_srcdir/configure" --help=recursive
1159
1612
    else
1160
1613
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1161
 
    fi
1162
 
    cd "$ac_popdir"
 
1614
    fi || ac_status=$?
 
1615
    cd "$ac_pwd" || { ac_status=$?; break; }
1163
1616
  done
1164
1617
fi
1165
1618
 
1166
 
test -n "$ac_init_help" && exit 0
 
1619
test -n "$ac_init_help" && exit $ac_status
1167
1620
if $ac_init_version; then
1168
1621
  cat <<\_ACEOF
1169
 
xfce4-dict-plugin configure 0.2.0
1170
 
generated by GNU Autoconf 2.59
 
1622
xfce4-dict-plugin configure 0.2.1
 
1623
generated by GNU Autoconf 2.60a
1171
1624
 
1172
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1625
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1626
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1173
1627
This configure script is free software; the Free Software Foundation
1174
1628
gives unlimited permission to copy, distribute and modify it.
1175
1629
_ACEOF
1176
 
  exit 0
 
1630
  exit
1177
1631
fi
1178
 
exec 5>config.log
1179
 
cat >&5 <<_ACEOF
 
1632
cat >config.log <<_ACEOF
1180
1633
This file contains any messages produced by compilers while
1181
1634
running configure, to aid debugging if configure makes a mistake.
1182
1635
 
1183
 
It was created by xfce4-dict-plugin $as_me 0.2.0, which was
1184
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1636
It was created by xfce4-dict-plugin $as_me 0.2.1, which was
 
1637
generated by GNU Autoconf 2.60a.  Invocation command line was
1185
1638
 
1186
1639
  $ $0 $@
1187
1640
 
1188
1641
_ACEOF
 
1642
exec 5>>config.log
1189
1643
{
1190
1644
cat <<_ASUNAME
1191
1645
## --------- ##
1204
1658
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1205
1659
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1206
1660
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1207
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1661
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1208
1662
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1209
1663
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1210
1664
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1218
1672
  test -z "$as_dir" && as_dir=.
1219
1673
  echo "PATH: $as_dir"
1220
1674
done
 
1675
IFS=$as_save_IFS
1221
1676
 
1222
1677
} >&5
1223
1678
 
1239
1694
ac_configure_args=
1240
1695
ac_configure_args0=
1241
1696
ac_configure_args1=
1242
 
ac_sep=
1243
1697
ac_must_keep_next=false
1244
1698
for ac_pass in 1 2
1245
1699
do
1250
1704
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1251
1705
    | -silent | --silent | --silen | --sile | --sil)
1252
1706
      continue ;;
1253
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1707
    *\'*)
1254
1708
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1255
1709
    esac
1256
1710
    case $ac_pass in
1272
1726
          -* ) ac_must_keep_next=true ;;
1273
1727
        esac
1274
1728
      fi
1275
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1276
 
      # Get rid of the leading space.
1277
 
      ac_sep=" "
 
1729
      ac_configure_args="$ac_configure_args '$ac_arg'"
1278
1730
      ;;
1279
1731
    esac
1280
1732
  done
1285
1737
# When interrupted or exit'd, cleanup temporary files, and complete
1286
1738
# config.log.  We remove comments because anyway the quotes in there
1287
1739
# would cause problems or look ugly.
1288
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1289
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1740
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1741
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1290
1742
trap 'exit_status=$?
1291
1743
  # Save into config.log some information that might help in debugging.
1292
1744
  {
1299
1751
_ASBOX
1300
1752
    echo
1301
1753
    # The following way of writing the cache mishandles newlines in values,
1302
 
{
 
1754
(
 
1755
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1756
    eval ac_val=\$$ac_var
 
1757
    case $ac_val in #(
 
1758
    *${as_nl}*)
 
1759
      case $ac_var in #(
 
1760
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1761
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1762
      esac
 
1763
      case $ac_var in #(
 
1764
      _ | IFS | as_nl) ;; #(
 
1765
      *) $as_unset $ac_var ;;
 
1766
      esac ;;
 
1767
    esac
 
1768
  done
1303
1769
  (set) 2>&1 |
1304
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1305
 
    *ac_space=\ *)
 
1770
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1771
    *${as_nl}ac_space=\ *)
1306
1772
      sed -n \
1307
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1308
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1309
 
      ;;
 
1773
        "s/'\''/'\''\\\\'\'''\''/g;
 
1774
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1775
      ;; #(
1310
1776
    *)
1311
 
      sed -n \
1312
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1777
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1313
1778
      ;;
1314
 
    esac;
1315
 
}
 
1779
    esac |
 
1780
    sort
 
1781
)
1316
1782
    echo
1317
1783
 
1318
1784
    cat <<\_ASBOX
1323
1789
    echo
1324
1790
    for ac_var in $ac_subst_vars
1325
1791
    do
1326
 
      eval ac_val=$`echo $ac_var`
1327
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1792
      eval ac_val=\$$ac_var
 
1793
      case $ac_val in
 
1794
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1795
      esac
 
1796
      echo "$ac_var='\''$ac_val'\''"
1328
1797
    done | sort
1329
1798
    echo
1330
1799
 
1331
1800
    if test -n "$ac_subst_files"; then
1332
1801
      cat <<\_ASBOX
1333
 
## ------------- ##
1334
 
## Output files. ##
1335
 
## ------------- ##
 
1802
## ------------------- ##
 
1803
## File substitutions. ##
 
1804
## ------------------- ##
1336
1805
_ASBOX
1337
1806
      echo
1338
1807
      for ac_var in $ac_subst_files
1339
1808
      do
1340
 
        eval ac_val=$`echo $ac_var`
1341
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1809
        eval ac_val=\$$ac_var
 
1810
        case $ac_val in
 
1811
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1812
        esac
 
1813
        echo "$ac_var='\''$ac_val'\''"
1342
1814
      done | sort
1343
1815
      echo
1344
1816
    fi
1350
1822
## ----------- ##
1351
1823
_ASBOX
1352
1824
      echo
1353
 
      sed "/^$/d" confdefs.h | sort
 
1825
      cat confdefs.h
1354
1826
      echo
1355
1827
    fi
1356
1828
    test "$ac_signal" != 0 &&
1357
1829
      echo "$as_me: caught signal $ac_signal"
1358
1830
    echo "$as_me: exit $exit_status"
1359
1831
  } >&5
1360
 
  rm -f core *.core &&
1361
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1832
  rm -f core *.core core.conftest.* &&
 
1833
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1362
1834
    exit $exit_status
1363
 
     ' 0
 
1835
' 0
1364
1836
for ac_signal in 1 2 13 15; do
1365
1837
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1366
1838
done
1367
1839
ac_signal=0
1368
1840
 
1369
1841
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1370
 
rm -rf conftest* confdefs.h
1371
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1372
 
echo >confdefs.h
 
1842
rm -f -r conftest* confdefs.h
1373
1843
 
1374
1844
# Predefined preprocessor variables.
1375
1845
 
1400
1870
 
1401
1871
# Let the site file select an alternate cache file if it wants to.
1402
1872
# Prefer explicitly selected file to automatically selected ones.
1403
 
if test -z "$CONFIG_SITE"; then
1404
 
  if test "x$prefix" != xNONE; then
1405
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1406
 
  else
1407
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1408
 
  fi
 
1873
if test -n "$CONFIG_SITE"; then
 
1874
  set x "$CONFIG_SITE"
 
1875
elif test "x$prefix" != xNONE; then
 
1876
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1877
else
 
1878
  set x "$ac_default_prefix/share/config.site" \
 
1879
        "$ac_default_prefix/etc/config.site"
1409
1880
fi
1410
 
for ac_site_file in $CONFIG_SITE; do
 
1881
shift
 
1882
for ac_site_file
 
1883
do
1411
1884
  if test -r "$ac_site_file"; then
1412
1885
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1413
1886
echo "$as_me: loading site script $ac_site_file" >&6;}
1423
1896
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1424
1897
echo "$as_me: loading cache $cache_file" >&6;}
1425
1898
    case $cache_file in
1426
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1427
 
      *)                      . ./$cache_file;;
 
1899
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1900
      *)                      . "./$cache_file";;
1428
1901
    esac
1429
1902
  fi
1430
1903
else
1436
1909
# Check that the precious variables saved in the cache have kept the same
1437
1910
# value.
1438
1911
ac_cache_corrupted=false
1439
 
for ac_var in `(set) 2>&1 |
1440
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1912
for ac_var in $ac_precious_vars; do
1441
1913
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1442
1914
  eval ac_new_set=\$ac_env_${ac_var}_set
1443
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1444
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1915
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1916
  eval ac_new_val=\$ac_env_${ac_var}_value
1445
1917
  case $ac_old_set,$ac_new_set in
1446
1918
    set,)
1447
1919
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1466
1938
  # Pass precious variables to config.status.
1467
1939
  if test "$ac_new_set" = set; then
1468
1940
    case $ac_new_val in
1469
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1470
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1941
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1471
1942
    *) ac_arg=$ac_var=$ac_new_val ;;
1472
1943
    esac
1473
1944
    case " $ac_configure_args " in
1484
1955
   { (exit 1); exit 1; }; }
1485
1956
fi
1486
1957
 
 
1958
 
 
1959
 
 
1960
 
 
1961
 
 
1962
 
 
1963
 
 
1964
 
 
1965
 
 
1966
 
 
1967
 
 
1968
 
 
1969
 
 
1970
 
 
1971
 
 
1972
 
 
1973
 
 
1974
 
 
1975
 
 
1976
 
 
1977
 
 
1978
 
 
1979
 
 
1980
 
 
1981
 
1487
1982
ac_ext=c
1488
1983
ac_cpp='$CPP $CPPFLAGS'
1489
1984
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1493
1988
 
1494
1989
 
1495
1990
 
1496
 
 
1497
 
 
1498
 
 
1499
 
 
1500
 
 
1501
 
 
1502
 
 
1503
 
 
1504
 
 
1505
 
 
1506
 
 
1507
 
 
1508
 
 
1509
 
 
1510
 
 
1511
 
 
1512
 
 
1513
 
 
1514
 
 
1515
 
 
1516
 
 
1517
 
 
1518
 
 
1519
 
 
1520
 
 
1521
 
DICT_VERSION=0.2.0
 
1991
DICT_VERSION=0.2.1
1522
1992
am__api_version="1.9"
1523
1993
ac_aux_dir=
1524
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1525
 
  if test -f $ac_dir/install-sh; then
 
1994
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1995
  if test -f "$ac_dir/install-sh"; then
1526
1996
    ac_aux_dir=$ac_dir
1527
1997
    ac_install_sh="$ac_aux_dir/install-sh -c"
1528
1998
    break
1529
 
  elif test -f $ac_dir/install.sh; then
 
1999
  elif test -f "$ac_dir/install.sh"; then
1530
2000
    ac_aux_dir=$ac_dir
1531
2001
    ac_install_sh="$ac_aux_dir/install.sh -c"
1532
2002
    break
1533
 
  elif test -f $ac_dir/shtool; then
 
2003
  elif test -f "$ac_dir/shtool"; then
1534
2004
    ac_aux_dir=$ac_dir
1535
2005
    ac_install_sh="$ac_aux_dir/shtool install -c"
1536
2006
    break
1537
2007
  fi
1538
2008
done
1539
2009
if test -z "$ac_aux_dir"; then
1540
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1541
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
2010
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2011
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1542
2012
   { (exit 1); exit 1; }; }
1543
2013
fi
1544
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1545
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1546
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2014
 
 
2015
# These three variables are undocumented and unsupported,
 
2016
# and are intended to be withdrawn in a future Autoconf release.
 
2017
# They can cause serious problems if a builder's source tree is in a directory
 
2018
# whose full name contains unusual characters.
 
2019
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2020
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2021
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2022
 
1547
2023
 
1548
2024
# Find a good install program.  We prefer a C program (faster),
1549
2025
# so one script is as good as another.  But avoid the broken or
1558
2034
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1559
2035
# OS/2's system install, which has a completely different semantic
1560
2036
# ./install, which can be erroneously created by make from ./install.sh.
1561
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1562
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2037
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2038
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1563
2039
if test -z "$INSTALL"; then
1564
2040
if test "${ac_cv_path_install+set}" = set; then
1565
2041
  echo $ECHO_N "(cached) $ECHO_C" >&6
1581
2057
    # by default.
1582
2058
    for ac_prog in ginstall scoinst install; do
1583
2059
      for ac_exec_ext in '' $ac_executable_extensions; do
1584
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2060
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1585
2061
          if test $ac_prog = install &&
1586
2062
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1587
2063
            # AIX install.  It has an incompatible calling convention.
1600
2076
    ;;
1601
2077
esac
1602
2078
done
 
2079
IFS=$as_save_IFS
1603
2080
 
1604
2081
 
1605
2082
fi
1606
2083
  if test "${ac_cv_path_install+set}" = set; then
1607
2084
    INSTALL=$ac_cv_path_install
1608
2085
  else
1609
 
    # As a last resort, use the slow shell script.  We don't cache a
1610
 
    # path for INSTALL within a source directory, because that will
 
2086
    # As a last resort, use the slow shell script.  Don't cache a
 
2087
    # value for INSTALL within a source directory, because that will
1611
2088
    # break other packages using the cache if that directory is
1612
 
    # removed, or if the path is relative.
 
2089
    # removed, or if the value is a relative name.
1613
2090
    INSTALL=$ac_install_sh
1614
2091
  fi
1615
2092
fi
1616
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1617
 
echo "${ECHO_T}$INSTALL" >&6
 
2093
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2094
echo "${ECHO_T}$INSTALL" >&6; }
1618
2095
 
1619
2096
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1620
2097
# It thinks the first close brace ends the variable substitution.
1624
2101
 
1625
2102
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1626
2103
 
1627
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1628
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2104
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2105
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1629
2106
# Just in case
1630
2107
sleep 1
1631
2108
echo timestamp > conftest.file
1667
2144
Check your system clock" >&2;}
1668
2145
   { (exit 1); exit 1; }; }
1669
2146
fi
1670
 
echo "$as_me:$LINENO: result: yes" >&5
1671
 
echo "${ECHO_T}yes" >&6
 
2147
{ echo "$as_me:$LINENO: result: yes" >&5
 
2148
echo "${ECHO_T}yes" >&6; }
1672
2149
test "$program_prefix" != NONE &&
1673
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2150
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1674
2151
# Use a double $ so make ignores it.
1675
2152
test "$program_suffix" != NONE &&
1676
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2153
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1677
2154
# Double any \ or $.  echo might interpret backslashes.
1678
2155
# By default was `s,x,x', remove it if useless.
1679
2156
cat <<\_ACEOF >conftest.sed
1680
2157
s/[\\$]/&&/g;s/;s,x,x,$//
1681
2158
_ACEOF
1682
2159
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1683
 
rm conftest.sed
 
2160
rm -f conftest.sed
1684
2161
 
1685
2162
# expand $ac_aux_dir to an absolute path
1686
2163
am_aux_dir=`cd $ac_aux_dir && pwd`
1732
2209
do
1733
2210
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1734
2211
set dummy $ac_prog; ac_word=$2
1735
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1736
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2212
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2213
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1737
2214
if test "${ac_cv_prog_AWK+set}" = set; then
1738
2215
  echo $ECHO_N "(cached) $ECHO_C" >&6
1739
2216
else
1746
2223
  IFS=$as_save_IFS
1747
2224
  test -z "$as_dir" && as_dir=.
1748
2225
  for ac_exec_ext in '' $ac_executable_extensions; do
1749
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2226
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1750
2227
    ac_cv_prog_AWK="$ac_prog"
1751
2228
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1752
2229
    break 2
1753
2230
  fi
1754
2231
done
1755
2232
done
 
2233
IFS=$as_save_IFS
1756
2234
 
1757
2235
fi
1758
2236
fi
1759
2237
AWK=$ac_cv_prog_AWK
1760
2238
if test -n "$AWK"; then
1761
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1762
 
echo "${ECHO_T}$AWK" >&6
 
2239
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2240
echo "${ECHO_T}$AWK" >&6; }
1763
2241
else
1764
 
  echo "$as_me:$LINENO: result: no" >&5
1765
 
echo "${ECHO_T}no" >&6
 
2242
  { echo "$as_me:$LINENO: result: no" >&5
 
2243
echo "${ECHO_T}no" >&6; }
1766
2244
fi
1767
2245
 
 
2246
 
1768
2247
  test -n "$AWK" && break
1769
2248
done
1770
2249
 
1771
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1772
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1773
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1774
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2250
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2251
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2252
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2253
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1775
2254
  echo $ECHO_N "(cached) $ECHO_C" >&6
1776
2255
else
1777
2256
  cat >conftest.make <<\_ACEOF
 
2257
SHELL = /bin/sh
1778
2258
all:
1779
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2259
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1780
2260
_ACEOF
1781
2261
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1782
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1783
 
if test -n "$ac_maketemp"; then
1784
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1785
 
else
1786
 
  eval ac_cv_prog_make_${ac_make}_set=no
1787
 
fi
 
2262
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2263
  *@@@%%%=?*=@@@%%%*)
 
2264
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2265
  *)
 
2266
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2267
esac
1788
2268
rm -f conftest.make
1789
2269
fi
1790
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1791
 
  echo "$as_me:$LINENO: result: yes" >&5
1792
 
echo "${ECHO_T}yes" >&6
 
2270
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2271
  { echo "$as_me:$LINENO: result: yes" >&5
 
2272
echo "${ECHO_T}yes" >&6; }
1793
2273
  SET_MAKE=
1794
2274
else
1795
 
  echo "$as_me:$LINENO: result: no" >&5
1796
 
echo "${ECHO_T}no" >&6
 
2275
  { echo "$as_me:$LINENO: result: no" >&5
 
2276
echo "${ECHO_T}no" >&6; }
1797
2277
  SET_MAKE="MAKE=${MAKE-make}"
1798
2278
fi
1799
2279
 
1864
2344
  if test -n "$ac_tool_prefix"; then
1865
2345
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1866
2346
set dummy ${ac_tool_prefix}strip; ac_word=$2
1867
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1868
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2347
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2348
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1869
2349
if test "${ac_cv_prog_STRIP+set}" = set; then
1870
2350
  echo $ECHO_N "(cached) $ECHO_C" >&6
1871
2351
else
1878
2358
  IFS=$as_save_IFS
1879
2359
  test -z "$as_dir" && as_dir=.
1880
2360
  for ac_exec_ext in '' $ac_executable_extensions; do
1881
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2361
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1882
2362
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1883
2363
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1884
2364
    break 2
1885
2365
  fi
1886
2366
done
1887
2367
done
 
2368
IFS=$as_save_IFS
1888
2369
 
1889
2370
fi
1890
2371
fi
1891
2372
STRIP=$ac_cv_prog_STRIP
1892
2373
if test -n "$STRIP"; then
1893
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1894
 
echo "${ECHO_T}$STRIP" >&6
 
2374
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2375
echo "${ECHO_T}$STRIP" >&6; }
1895
2376
else
1896
 
  echo "$as_me:$LINENO: result: no" >&5
1897
 
echo "${ECHO_T}no" >&6
 
2377
  { echo "$as_me:$LINENO: result: no" >&5
 
2378
echo "${ECHO_T}no" >&6; }
1898
2379
fi
 
2380
 
1899
2381
 
1900
2382
fi
1901
2383
if test -z "$ac_cv_prog_STRIP"; then
1902
2384
  ac_ct_STRIP=$STRIP
1903
2385
  # Extract the first word of "strip", so it can be a program name with args.
1904
2386
set dummy strip; ac_word=$2
1905
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1906
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2387
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2388
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1907
2389
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1908
2390
  echo $ECHO_N "(cached) $ECHO_C" >&6
1909
2391
else
1916
2398
  IFS=$as_save_IFS
1917
2399
  test -z "$as_dir" && as_dir=.
1918
2400
  for ac_exec_ext in '' $ac_executable_extensions; do
1919
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2401
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1920
2402
    ac_cv_prog_ac_ct_STRIP="strip"
1921
2403
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1922
2404
    break 2
1923
2405
  fi
1924
2406
done
1925
2407
done
 
2408
IFS=$as_save_IFS
1926
2409
 
1927
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1928
2410
fi
1929
2411
fi
1930
2412
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1931
2413
if test -n "$ac_ct_STRIP"; then
1932
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1933
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2414
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2415
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1934
2416
else
1935
 
  echo "$as_me:$LINENO: result: no" >&5
1936
 
echo "${ECHO_T}no" >&6
 
2417
  { echo "$as_me:$LINENO: result: no" >&5
 
2418
echo "${ECHO_T}no" >&6; }
1937
2419
fi
1938
2420
 
1939
 
  STRIP=$ac_ct_STRIP
 
2421
  if test "x$ac_ct_STRIP" = x; then
 
2422
    STRIP=":"
 
2423
  else
 
2424
    case $cross_compiling:$ac_tool_warned in
 
2425
yes:)
 
2426
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2427
whose name does not start with the host triplet.  If you think this
 
2428
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2429
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2430
whose name does not start with the host triplet.  If you think this
 
2431
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2432
ac_tool_warned=yes ;;
 
2433
esac
 
2434
    STRIP=$ac_ct_STRIP
 
2435
  fi
1940
2436
else
1941
2437
  STRIP="$ac_cv_prog_STRIP"
1942
2438
fi
1956
2452
 
1957
2453
 
1958
2454
 
1959
 
          ac_config_headers="$ac_config_headers config.h"
 
2455
ac_config_headers="$ac_config_headers config.h"
1960
2456
 
1961
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1962
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1963
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2457
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2458
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2459
    # Check whether --enable-maintainer-mode was given.
1964
2460
if test "${enable_maintainer_mode+set}" = set; then
1965
 
  enableval="$enable_maintainer_mode"
1966
 
  USE_MAINTAINER_MODE=$enableval
 
2461
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1967
2462
else
1968
2463
  USE_MAINTAINER_MODE=no
1969
 
fi;
1970
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1971
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
2464
fi
 
2465
 
 
2466
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2467
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
1972
2468
 
1973
2469
 
1974
2470
if test $USE_MAINTAINER_MODE = yes; then
1991
2487
if test -n "$ac_tool_prefix"; then
1992
2488
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1993
2489
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1994
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1995
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2490
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2491
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1996
2492
if test "${ac_cv_prog_CC+set}" = set; then
1997
2493
  echo $ECHO_N "(cached) $ECHO_C" >&6
1998
2494
else
2005
2501
  IFS=$as_save_IFS
2006
2502
  test -z "$as_dir" && as_dir=.
2007
2503
  for ac_exec_ext in '' $ac_executable_extensions; do
2008
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2504
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2009
2505
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2010
2506
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2011
2507
    break 2
2012
2508
  fi
2013
2509
done
2014
2510
done
 
2511
IFS=$as_save_IFS
2015
2512
 
2016
2513
fi
2017
2514
fi
2018
2515
CC=$ac_cv_prog_CC
2019
2516
if test -n "$CC"; then
2020
 
  echo "$as_me:$LINENO: result: $CC" >&5
2021
 
echo "${ECHO_T}$CC" >&6
 
2517
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2518
echo "${ECHO_T}$CC" >&6; }
2022
2519
else
2023
 
  echo "$as_me:$LINENO: result: no" >&5
2024
 
echo "${ECHO_T}no" >&6
 
2520
  { echo "$as_me:$LINENO: result: no" >&5
 
2521
echo "${ECHO_T}no" >&6; }
2025
2522
fi
 
2523
 
2026
2524
 
2027
2525
fi
2028
2526
if test -z "$ac_cv_prog_CC"; then
2029
2527
  ac_ct_CC=$CC
2030
2528
  # Extract the first word of "gcc", so it can be a program name with args.
2031
2529
set dummy gcc; ac_word=$2
2032
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2033
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2530
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2531
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2034
2532
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2035
2533
  echo $ECHO_N "(cached) $ECHO_C" >&6
2036
2534
else
2043
2541
  IFS=$as_save_IFS
2044
2542
  test -z "$as_dir" && as_dir=.
2045
2543
  for ac_exec_ext in '' $ac_executable_extensions; do
2046
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2544
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2047
2545
    ac_cv_prog_ac_ct_CC="gcc"
2048
2546
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2049
2547
    break 2
2050
2548
  fi
2051
2549
done
2052
2550
done
 
2551
IFS=$as_save_IFS
2053
2552
 
2054
2553
fi
2055
2554
fi
2056
2555
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2057
2556
if test -n "$ac_ct_CC"; then
2058
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2059
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2557
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2558
echo "${ECHO_T}$ac_ct_CC" >&6; }
2060
2559
else
2061
 
  echo "$as_me:$LINENO: result: no" >&5
2062
 
echo "${ECHO_T}no" >&6
 
2560
  { echo "$as_me:$LINENO: result: no" >&5
 
2561
echo "${ECHO_T}no" >&6; }
2063
2562
fi
2064
2563
 
2065
 
  CC=$ac_ct_CC
 
2564
  if test "x$ac_ct_CC" = x; then
 
2565
    CC=""
 
2566
  else
 
2567
    case $cross_compiling:$ac_tool_warned in
 
2568
yes:)
 
2569
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2570
whose name does not start with the host triplet.  If you think this
 
2571
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2572
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2573
whose name does not start with the host triplet.  If you think this
 
2574
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2575
ac_tool_warned=yes ;;
 
2576
esac
 
2577
    CC=$ac_ct_CC
 
2578
  fi
2066
2579
else
2067
2580
  CC="$ac_cv_prog_CC"
2068
2581
fi
2069
2582
 
2070
2583
if test -z "$CC"; then
2071
 
  if test -n "$ac_tool_prefix"; then
2072
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2584
          if test -n "$ac_tool_prefix"; then
 
2585
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2073
2586
set dummy ${ac_tool_prefix}cc; ac_word=$2
2074
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2075
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2587
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2588
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2076
2589
if test "${ac_cv_prog_CC+set}" = set; then
2077
2590
  echo $ECHO_N "(cached) $ECHO_C" >&6
2078
2591
else
2085
2598
  IFS=$as_save_IFS
2086
2599
  test -z "$as_dir" && as_dir=.
2087
2600
  for ac_exec_ext in '' $ac_executable_extensions; do
2088
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2601
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2089
2602
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2090
2603
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2091
2604
    break 2
2092
2605
  fi
2093
2606
done
2094
2607
done
 
2608
IFS=$as_save_IFS
2095
2609
 
2096
2610
fi
2097
2611
fi
2098
2612
CC=$ac_cv_prog_CC
2099
2613
if test -n "$CC"; then
2100
 
  echo "$as_me:$LINENO: result: $CC" >&5
2101
 
echo "${ECHO_T}$CC" >&6
2102
 
else
2103
 
  echo "$as_me:$LINENO: result: no" >&5
2104
 
echo "${ECHO_T}no" >&6
2105
 
fi
2106
 
 
2107
 
fi
2108
 
if test -z "$ac_cv_prog_CC"; then
2109
 
  ac_ct_CC=$CC
2110
 
  # Extract the first word of "cc", so it can be a program name with args.
2111
 
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
2114
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2115
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2116
 
else
2117
 
  if test -n "$ac_ct_CC"; then
2118
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2119
 
else
2120
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121
 
for as_dir in $PATH
2122
 
do
2123
 
  IFS=$as_save_IFS
2124
 
  test -z "$as_dir" && as_dir=.
2125
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2126
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2127
 
    ac_cv_prog_ac_ct_CC="cc"
2128
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2129
 
    break 2
 
2614
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2615
echo "${ECHO_T}$CC" >&6; }
 
2616
else
 
2617
  { echo "$as_me:$LINENO: result: no" >&5
 
2618
echo "${ECHO_T}no" >&6; }
 
2619
fi
 
2620
 
 
2621
 
2130
2622
  fi
2131
 
done
2132
 
done
2133
 
 
2134
 
fi
2135
 
fi
2136
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2137
 
if test -n "$ac_ct_CC"; then
2138
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2139
 
echo "${ECHO_T}$ac_ct_CC" >&6
2140
 
else
2141
 
  echo "$as_me:$LINENO: result: no" >&5
2142
 
echo "${ECHO_T}no" >&6
2143
 
fi
2144
 
 
2145
 
  CC=$ac_ct_CC
2146
 
else
2147
 
  CC="$ac_cv_prog_CC"
2148
 
fi
2149
 
 
2150
2623
fi
2151
2624
if test -z "$CC"; then
2152
2625
  # Extract the first word of "cc", so it can be a program name with args.
2153
2626
set dummy cc; ac_word=$2
2154
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2155
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2627
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2628
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2156
2629
if test "${ac_cv_prog_CC+set}" = set; then
2157
2630
  echo $ECHO_N "(cached) $ECHO_C" >&6
2158
2631
else
2166
2639
  IFS=$as_save_IFS
2167
2640
  test -z "$as_dir" && as_dir=.
2168
2641
  for ac_exec_ext in '' $ac_executable_extensions; do
2169
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2642
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2170
2643
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2171
2644
       ac_prog_rejected=yes
2172
2645
       continue
2177
2650
  fi
2178
2651
done
2179
2652
done
 
2653
IFS=$as_save_IFS
2180
2654
 
2181
2655
if test $ac_prog_rejected = yes; then
2182
2656
  # We found a bogon in the path, so make sure we never use it.
2194
2668
fi
2195
2669
CC=$ac_cv_prog_CC
2196
2670
if test -n "$CC"; then
2197
 
  echo "$as_me:$LINENO: result: $CC" >&5
2198
 
echo "${ECHO_T}$CC" >&6
 
2671
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2672
echo "${ECHO_T}$CC" >&6; }
2199
2673
else
2200
 
  echo "$as_me:$LINENO: result: no" >&5
2201
 
echo "${ECHO_T}no" >&6
 
2674
  { echo "$as_me:$LINENO: result: no" >&5
 
2675
echo "${ECHO_T}no" >&6; }
2202
2676
fi
 
2677
 
2203
2678
 
2204
2679
fi
2205
2680
if test -z "$CC"; then
2206
2681
  if test -n "$ac_tool_prefix"; then
2207
 
  for ac_prog in cl
 
2682
  for ac_prog in cl.exe
2208
2683
  do
2209
2684
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2210
2685
set dummy $ac_tool_prefix$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
 
2686
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2687
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2213
2688
if test "${ac_cv_prog_CC+set}" = set; then
2214
2689
  echo $ECHO_N "(cached) $ECHO_C" >&6
2215
2690
else
2222
2697
  IFS=$as_save_IFS
2223
2698
  test -z "$as_dir" && as_dir=.
2224
2699
  for ac_exec_ext in '' $ac_executable_extensions; do
2225
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2700
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2226
2701
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2227
2702
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2228
2703
    break 2
2229
2704
  fi
2230
2705
done
2231
2706
done
 
2707
IFS=$as_save_IFS
2232
2708
 
2233
2709
fi
2234
2710
fi
2235
2711
CC=$ac_cv_prog_CC
2236
2712
if test -n "$CC"; then
2237
 
  echo "$as_me:$LINENO: result: $CC" >&5
2238
 
echo "${ECHO_T}$CC" >&6
 
2713
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2714
echo "${ECHO_T}$CC" >&6; }
2239
2715
else
2240
 
  echo "$as_me:$LINENO: result: no" >&5
2241
 
echo "${ECHO_T}no" >&6
 
2716
  { echo "$as_me:$LINENO: result: no" >&5
 
2717
echo "${ECHO_T}no" >&6; }
2242
2718
fi
2243
2719
 
 
2720
 
2244
2721
    test -n "$CC" && break
2245
2722
  done
2246
2723
fi
2247
2724
if test -z "$CC"; then
2248
2725
  ac_ct_CC=$CC
2249
 
  for ac_prog in cl
 
2726
  for ac_prog in cl.exe
2250
2727
do
2251
2728
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2252
2729
set dummy $ac_prog; ac_word=$2
2253
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2254
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2730
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2731
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2255
2732
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2256
2733
  echo $ECHO_N "(cached) $ECHO_C" >&6
2257
2734
else
2264
2741
  IFS=$as_save_IFS
2265
2742
  test -z "$as_dir" && as_dir=.
2266
2743
  for ac_exec_ext in '' $ac_executable_extensions; do
2267
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2744
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2268
2745
    ac_cv_prog_ac_ct_CC="$ac_prog"
2269
2746
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2270
2747
    break 2
2271
2748
  fi
2272
2749
done
2273
2750
done
 
2751
IFS=$as_save_IFS
2274
2752
 
2275
2753
fi
2276
2754
fi
2277
2755
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2278
2756
if test -n "$ac_ct_CC"; then
2279
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2280
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2757
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2758
echo "${ECHO_T}$ac_ct_CC" >&6; }
2281
2759
else
2282
 
  echo "$as_me:$LINENO: result: no" >&5
2283
 
echo "${ECHO_T}no" >&6
 
2760
  { echo "$as_me:$LINENO: result: no" >&5
 
2761
echo "${ECHO_T}no" >&6; }
2284
2762
fi
2285
2763
 
 
2764
 
2286
2765
  test -n "$ac_ct_CC" && break
2287
2766
done
2288
2767
 
2289
 
  CC=$ac_ct_CC
 
2768
  if test "x$ac_ct_CC" = x; then
 
2769
    CC=""
 
2770
  else
 
2771
    case $cross_compiling:$ac_tool_warned in
 
2772
yes:)
 
2773
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2774
whose name does not start with the host triplet.  If you think this
 
2775
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2776
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2777
whose name does not start with the host triplet.  If you think this
 
2778
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2779
ac_tool_warned=yes ;;
 
2780
esac
 
2781
    CC=$ac_ct_CC
 
2782
  fi
2290
2783
fi
2291
2784
 
2292
2785
fi
2299
2792
   { (exit 1); exit 1; }; }
2300
2793
 
2301
2794
# Provide some information about the compiler.
2302
 
echo "$as_me:$LINENO:" \
2303
 
     "checking for C compiler version" >&5
 
2795
echo "$as_me:$LINENO: checking for C compiler version" >&5
2304
2796
ac_compiler=`set X $ac_compile; echo $2`
2305
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2306
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2307
 
  ac_status=$?
2308
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309
 
  (exit $ac_status); }
2310
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2311
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2312
 
  ac_status=$?
2313
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314
 
  (exit $ac_status); }
2315
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2316
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2797
{ (ac_try="$ac_compiler --version >&5"
 
2798
case "(($ac_try" in
 
2799
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2800
  *) ac_try_echo=$ac_try;;
 
2801
esac
 
2802
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2803
  (eval "$ac_compiler --version >&5") 2>&5
 
2804
  ac_status=$?
 
2805
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2806
  (exit $ac_status); }
 
2807
{ (ac_try="$ac_compiler -v >&5"
 
2808
case "(($ac_try" in
 
2809
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2810
  *) ac_try_echo=$ac_try;;
 
2811
esac
 
2812
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2813
  (eval "$ac_compiler -v >&5") 2>&5
 
2814
  ac_status=$?
 
2815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2816
  (exit $ac_status); }
 
2817
{ (ac_try="$ac_compiler -V >&5"
 
2818
case "(($ac_try" in
 
2819
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2820
  *) ac_try_echo=$ac_try;;
 
2821
esac
 
2822
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2823
  (eval "$ac_compiler -V >&5") 2>&5
2317
2824
  ac_status=$?
2318
2825
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319
2826
  (exit $ac_status); }
2338
2845
# Try to create an executable without -o first, disregard a.out.
2339
2846
# It will help us diagnose broken compilers, and finding out an intuition
2340
2847
# of exeext.
2341
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2342
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2848
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2849
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2343
2850
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2344
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2345
 
  (eval $ac_link_default) 2>&5
 
2851
#
 
2852
# List of possible output files, starting from the most likely.
 
2853
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2854
# only as a last resort.  b.out is created by i960 compilers.
 
2855
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2856
#
 
2857
# The IRIX 6 linker writes into existing files which may not be
 
2858
# executable, retaining their permissions.  Remove them first so a
 
2859
# subsequent execution test works.
 
2860
ac_rmfiles=
 
2861
for ac_file in $ac_files
 
2862
do
 
2863
  case $ac_file in
 
2864
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2865
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2866
  esac
 
2867
done
 
2868
rm -f $ac_rmfiles
 
2869
 
 
2870
if { (ac_try="$ac_link_default"
 
2871
case "(($ac_try" in
 
2872
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2873
  *) ac_try_echo=$ac_try;;
 
2874
esac
 
2875
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2876
  (eval "$ac_link_default") 2>&5
2346
2877
  ac_status=$?
2347
2878
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348
2879
  (exit $ac_status); }; then
2349
 
  # Find the output, starting from the most likely.  This scheme is
2350
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2351
 
# resort.
2352
 
 
2353
 
# Be careful to initialize this variable, since it used to be cached.
2354
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2355
 
ac_cv_exeext=
2356
 
# b.out is created by i960 compilers.
2357
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2880
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2881
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2882
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2883
# so that the user can short-circuit this test for compilers unknown to
 
2884
# Autoconf.
 
2885
for ac_file in $ac_files ''
2358
2886
do
2359
2887
  test -f "$ac_file" || continue
2360
2888
  case $ac_file in
2361
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2362
 
        ;;
2363
 
    conftest.$ac_ext )
2364
 
        # This is the source file.
 
2889
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2365
2890
        ;;
2366
2891
    [ab].out )
2367
2892
        # We found the default executable, but exeext='' is most
2368
2893
        # certainly right.
2369
2894
        break;;
2370
2895
    *.* )
2371
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2372
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2373
 
        # but it would be cool to find out if it's true.  Does anybody
2374
 
        # maintain Libtool? --akim.
2375
 
        export ac_cv_exeext
 
2896
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2897
        then :; else
 
2898
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2899
        fi
 
2900
        # We set ac_cv_exeext here because the later test for it is not
 
2901
        # safe: cross compilers may not add the suffix if given an `-o'
 
2902
        # argument, so we may need to know it at that point already.
 
2903
        # Even if this section looks crufty: it has the advantage of
 
2904
        # actually working.
2376
2905
        break;;
2377
2906
    * )
2378
2907
        break;;
2379
2908
  esac
2380
2909
done
 
2910
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2911
 
2381
2912
else
 
2913
  ac_file=''
 
2914
fi
 
2915
 
 
2916
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2917
echo "${ECHO_T}$ac_file" >&6; }
 
2918
if test -z "$ac_file"; then
2382
2919
  echo "$as_me: failed program was:" >&5
2383
2920
sed 's/^/| /' conftest.$ac_ext >&5
2384
2921
 
2390
2927
fi
2391
2928
 
2392
2929
ac_exeext=$ac_cv_exeext
2393
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2394
 
echo "${ECHO_T}$ac_file" >&6
2395
2930
 
2396
 
# Check the compiler produces executables we can run.  If not, either
 
2931
# Check that the compiler produces executables we can run.  If not, either
2397
2932
# the compiler is broken, or we cross compile.
2398
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2399
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2933
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2934
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2400
2935
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2401
2936
# If not cross compiling, check that we can run a simple program.
2402
2937
if test "$cross_compiling" != yes; then
2403
2938
  if { ac_try='./$ac_file'
2404
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2405
 
  (eval $ac_try) 2>&5
 
2939
  { (case "(($ac_try" in
 
2940
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2941
  *) ac_try_echo=$ac_try;;
 
2942
esac
 
2943
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2944
  (eval "$ac_try") 2>&5
2406
2945
  ac_status=$?
2407
2946
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408
2947
  (exit $ac_status); }; }; then
2421
2960
    fi
2422
2961
  fi
2423
2962
fi
2424
 
echo "$as_me:$LINENO: result: yes" >&5
2425
 
echo "${ECHO_T}yes" >&6
 
2963
{ echo "$as_me:$LINENO: result: yes" >&5
 
2964
echo "${ECHO_T}yes" >&6; }
2426
2965
 
2427
2966
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2428
2967
ac_clean_files=$ac_clean_files_save
2429
 
# Check the compiler produces executables we can run.  If not, either
 
2968
# Check that the compiler produces executables we can run.  If not, either
2430
2969
# the compiler is broken, or we cross compile.
2431
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2432
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2433
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2434
 
echo "${ECHO_T}$cross_compiling" >&6
 
2970
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2971
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2972
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2973
echo "${ECHO_T}$cross_compiling" >&6; }
2435
2974
 
2436
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2437
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2438
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2439
 
  (eval $ac_link) 2>&5
 
2975
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2976
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2977
if { (ac_try="$ac_link"
 
2978
case "(($ac_try" in
 
2979
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2980
  *) ac_try_echo=$ac_try;;
 
2981
esac
 
2982
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2983
  (eval "$ac_link") 2>&5
2440
2984
  ac_status=$?
2441
2985
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442
2986
  (exit $ac_status); }; then
2447
2991
for ac_file in conftest.exe conftest conftest.*; do
2448
2992
  test -f "$ac_file" || continue
2449
2993
  case $ac_file in
2450
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2994
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2451
2995
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2452
 
          export ac_cv_exeext
2453
2996
          break;;
2454
2997
    * ) break;;
2455
2998
  esac
2463
3006
fi
2464
3007
 
2465
3008
rm -f conftest$ac_cv_exeext
2466
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2467
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3009
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3010
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2468
3011
 
2469
3012
rm -f conftest.$ac_ext
2470
3013
EXEEXT=$ac_cv_exeext
2471
3014
ac_exeext=$EXEEXT
2472
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2473
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3015
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3016
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2474
3017
if test "${ac_cv_objext+set}" = set; then
2475
3018
  echo $ECHO_N "(cached) $ECHO_C" >&6
2476
3019
else
2490
3033
}
2491
3034
_ACEOF
2492
3035
rm -f conftest.o conftest.obj
2493
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2494
 
  (eval $ac_compile) 2>&5
 
3036
if { (ac_try="$ac_compile"
 
3037
case "(($ac_try" in
 
3038
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3039
  *) ac_try_echo=$ac_try;;
 
3040
esac
 
3041
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3042
  (eval "$ac_compile") 2>&5
2495
3043
  ac_status=$?
2496
3044
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497
3045
  (exit $ac_status); }; then
2498
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3046
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3047
  test -f "$ac_file" || continue;
2499
3048
  case $ac_file in
2500
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3049
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2501
3050
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2502
3051
       break;;
2503
3052
  esac
2515
3064
 
2516
3065
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2517
3066
fi
2518
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2519
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3067
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3068
echo "${ECHO_T}$ac_cv_objext" >&6; }
2520
3069
OBJEXT=$ac_cv_objext
2521
3070
ac_objext=$OBJEXT
2522
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2523
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3071
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3072
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2524
3073
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2525
3074
  echo $ECHO_N "(cached) $ECHO_C" >&6
2526
3075
else
2543
3092
}
2544
3093
_ACEOF
2545
3094
rm -f conftest.$ac_objext
2546
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2547
 
  (eval $ac_compile) 2>conftest.er1
 
3095
if { (ac_try="$ac_compile"
 
3096
case "(($ac_try" in
 
3097
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3098
  *) ac_try_echo=$ac_try;;
 
3099
esac
 
3100
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3101
  (eval "$ac_compile") 2>conftest.er1
2548
3102
  ac_status=$?
2549
3103
  grep -v '^ *+' conftest.er1 >conftest.err
2550
3104
  rm -f conftest.er1
2551
3105
  cat conftest.err >&5
2552
3106
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553
3107
  (exit $ac_status); } &&
2554
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2555
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2556
 
  (eval $ac_try) 2>&5
 
3108
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3109
  { (case "(($ac_try" in
 
3110
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3111
  *) ac_try_echo=$ac_try;;
 
3112
esac
 
3113
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3114
  (eval "$ac_try") 2>&5
2557
3115
  ac_status=$?
2558
3116
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559
3117
  (exit $ac_status); }; } &&
2560
3118
         { ac_try='test -s conftest.$ac_objext'
2561
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2562
 
  (eval $ac_try) 2>&5
 
3119
  { (case "(($ac_try" in
 
3120
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3121
  *) ac_try_echo=$ac_try;;
 
3122
esac
 
3123
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3124
  (eval "$ac_try") 2>&5
2563
3125
  ac_status=$?
2564
3126
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565
3127
  (exit $ac_status); }; }; then
2568
3130
  echo "$as_me: failed program was:" >&5
2569
3131
sed 's/^/| /' conftest.$ac_ext >&5
2570
3132
 
2571
 
ac_compiler_gnu=no
 
3133
        ac_compiler_gnu=no
2572
3134
fi
2573
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3135
 
 
3136
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2574
3137
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2575
3138
 
2576
3139
fi
2577
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2578
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3140
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3141
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2579
3142
GCC=`test $ac_compiler_gnu = yes && echo yes`
2580
3143
ac_test_CFLAGS=${CFLAGS+set}
2581
3144
ac_save_CFLAGS=$CFLAGS
2582
 
CFLAGS="-g"
2583
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2584
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3145
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3146
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2585
3147
if test "${ac_cv_prog_cc_g+set}" = set; then
2586
3148
  echo $ECHO_N "(cached) $ECHO_C" >&6
2587
3149
else
2588
 
  cat >conftest.$ac_ext <<_ACEOF
2589
 
/* confdefs.h.  */
2590
 
_ACEOF
2591
 
cat confdefs.h >>conftest.$ac_ext
2592
 
cat >>conftest.$ac_ext <<_ACEOF
2593
 
/* end confdefs.h.  */
2594
 
 
2595
 
int
2596
 
main ()
2597
 
{
2598
 
 
2599
 
  ;
2600
 
  return 0;
2601
 
}
2602
 
_ACEOF
2603
 
rm -f conftest.$ac_objext
2604
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2605
 
  (eval $ac_compile) 2>conftest.er1
2606
 
  ac_status=$?
2607
 
  grep -v '^ *+' conftest.er1 >conftest.err
2608
 
  rm -f conftest.er1
2609
 
  cat conftest.err >&5
2610
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611
 
  (exit $ac_status); } &&
2612
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2613
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2614
 
  (eval $ac_try) 2>&5
2615
 
  ac_status=$?
2616
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617
 
  (exit $ac_status); }; } &&
2618
 
         { ac_try='test -s conftest.$ac_objext'
2619
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2620
 
  (eval $ac_try) 2>&5
2621
 
  ac_status=$?
2622
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623
 
  (exit $ac_status); }; }; then
2624
 
  ac_cv_prog_cc_g=yes
2625
 
else
2626
 
  echo "$as_me: failed program was:" >&5
2627
 
sed 's/^/| /' conftest.$ac_ext >&5
2628
 
 
2629
 
ac_cv_prog_cc_g=no
2630
 
fi
2631
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2632
 
fi
2633
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2634
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3150
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3151
   ac_c_werror_flag=yes
 
3152
   ac_cv_prog_cc_g=no
 
3153
   CFLAGS="-g"
 
3154
   cat >conftest.$ac_ext <<_ACEOF
 
3155
/* confdefs.h.  */
 
3156
_ACEOF
 
3157
cat confdefs.h >>conftest.$ac_ext
 
3158
cat >>conftest.$ac_ext <<_ACEOF
 
3159
/* end confdefs.h.  */
 
3160
 
 
3161
int
 
3162
main ()
 
3163
{
 
3164
 
 
3165
  ;
 
3166
  return 0;
 
3167
}
 
3168
_ACEOF
 
3169
rm -f conftest.$ac_objext
 
3170
if { (ac_try="$ac_compile"
 
3171
case "(($ac_try" in
 
3172
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3173
  *) ac_try_echo=$ac_try;;
 
3174
esac
 
3175
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3176
  (eval "$ac_compile") 2>conftest.er1
 
3177
  ac_status=$?
 
3178
  grep -v '^ *+' conftest.er1 >conftest.err
 
3179
  rm -f conftest.er1
 
3180
  cat conftest.err >&5
 
3181
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3182
  (exit $ac_status); } &&
 
3183
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3184
  { (case "(($ac_try" in
 
3185
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3186
  *) ac_try_echo=$ac_try;;
 
3187
esac
 
3188
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3189
  (eval "$ac_try") 2>&5
 
3190
  ac_status=$?
 
3191
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3192
  (exit $ac_status); }; } &&
 
3193
         { ac_try='test -s conftest.$ac_objext'
 
3194
  { (case "(($ac_try" in
 
3195
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3196
  *) ac_try_echo=$ac_try;;
 
3197
esac
 
3198
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3199
  (eval "$ac_try") 2>&5
 
3200
  ac_status=$?
 
3201
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3202
  (exit $ac_status); }; }; then
 
3203
  ac_cv_prog_cc_g=yes
 
3204
else
 
3205
  echo "$as_me: failed program was:" >&5
 
3206
sed 's/^/| /' conftest.$ac_ext >&5
 
3207
 
 
3208
        CFLAGS=""
 
3209
      cat >conftest.$ac_ext <<_ACEOF
 
3210
/* confdefs.h.  */
 
3211
_ACEOF
 
3212
cat confdefs.h >>conftest.$ac_ext
 
3213
cat >>conftest.$ac_ext <<_ACEOF
 
3214
/* end confdefs.h.  */
 
3215
 
 
3216
int
 
3217
main ()
 
3218
{
 
3219
 
 
3220
  ;
 
3221
  return 0;
 
3222
}
 
3223
_ACEOF
 
3224
rm -f conftest.$ac_objext
 
3225
if { (ac_try="$ac_compile"
 
3226
case "(($ac_try" in
 
3227
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3228
  *) ac_try_echo=$ac_try;;
 
3229
esac
 
3230
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3231
  (eval "$ac_compile") 2>conftest.er1
 
3232
  ac_status=$?
 
3233
  grep -v '^ *+' conftest.er1 >conftest.err
 
3234
  rm -f conftest.er1
 
3235
  cat conftest.err >&5
 
3236
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3237
  (exit $ac_status); } &&
 
3238
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3239
  { (case "(($ac_try" in
 
3240
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3241
  *) ac_try_echo=$ac_try;;
 
3242
esac
 
3243
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3244
  (eval "$ac_try") 2>&5
 
3245
  ac_status=$?
 
3246
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3247
  (exit $ac_status); }; } &&
 
3248
         { ac_try='test -s conftest.$ac_objext'
 
3249
  { (case "(($ac_try" in
 
3250
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3251
  *) ac_try_echo=$ac_try;;
 
3252
esac
 
3253
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3254
  (eval "$ac_try") 2>&5
 
3255
  ac_status=$?
 
3256
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3257
  (exit $ac_status); }; }; then
 
3258
  :
 
3259
else
 
3260
  echo "$as_me: failed program was:" >&5
 
3261
sed 's/^/| /' conftest.$ac_ext >&5
 
3262
 
 
3263
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3264
         CFLAGS="-g"
 
3265
         cat >conftest.$ac_ext <<_ACEOF
 
3266
/* confdefs.h.  */
 
3267
_ACEOF
 
3268
cat confdefs.h >>conftest.$ac_ext
 
3269
cat >>conftest.$ac_ext <<_ACEOF
 
3270
/* end confdefs.h.  */
 
3271
 
 
3272
int
 
3273
main ()
 
3274
{
 
3275
 
 
3276
  ;
 
3277
  return 0;
 
3278
}
 
3279
_ACEOF
 
3280
rm -f conftest.$ac_objext
 
3281
if { (ac_try="$ac_compile"
 
3282
case "(($ac_try" in
 
3283
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3284
  *) ac_try_echo=$ac_try;;
 
3285
esac
 
3286
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3287
  (eval "$ac_compile") 2>conftest.er1
 
3288
  ac_status=$?
 
3289
  grep -v '^ *+' conftest.er1 >conftest.err
 
3290
  rm -f conftest.er1
 
3291
  cat conftest.err >&5
 
3292
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3293
  (exit $ac_status); } &&
 
3294
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3295
  { (case "(($ac_try" in
 
3296
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3297
  *) ac_try_echo=$ac_try;;
 
3298
esac
 
3299
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3300
  (eval "$ac_try") 2>&5
 
3301
  ac_status=$?
 
3302
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3303
  (exit $ac_status); }; } &&
 
3304
         { ac_try='test -s conftest.$ac_objext'
 
3305
  { (case "(($ac_try" in
 
3306
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3307
  *) ac_try_echo=$ac_try;;
 
3308
esac
 
3309
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3310
  (eval "$ac_try") 2>&5
 
3311
  ac_status=$?
 
3312
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3313
  (exit $ac_status); }; }; then
 
3314
  ac_cv_prog_cc_g=yes
 
3315
else
 
3316
  echo "$as_me: failed program was:" >&5
 
3317
sed 's/^/| /' conftest.$ac_ext >&5
 
3318
 
 
3319
 
 
3320
fi
 
3321
 
 
3322
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3323
fi
 
3324
 
 
3325
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3326
fi
 
3327
 
 
3328
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3329
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3330
fi
 
3331
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3332
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2635
3333
if test "$ac_test_CFLAGS" = set; then
2636
3334
  CFLAGS=$ac_save_CFLAGS
2637
3335
elif test $ac_cv_prog_cc_g = yes; then
2647
3345
    CFLAGS=
2648
3346
  fi
2649
3347
fi
2650
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2651
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2652
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3348
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3349
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3350
if test "${ac_cv_prog_cc_c89+set}" = set; then
2653
3351
  echo $ECHO_N "(cached) $ECHO_C" >&6
2654
3352
else
2655
 
  ac_cv_prog_cc_stdc=no
 
3353
  ac_cv_prog_cc_c89=no
2656
3354
ac_save_CC=$CC
2657
3355
cat >conftest.$ac_ext <<_ACEOF
2658
3356
/* confdefs.h.  */
2686
3384
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2687
3385
   function prototypes and stuff, but not '\xHH' hex character constants.
2688
3386
   These don't provoke an error unfortunately, instead are silently treated
2689
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3387
   as 'x'.  The following induces an error, until -std is added to get
2690
3388
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2691
3389
   array size at least.  It's necessary to write '\x00'==0 to get something
2692
 
   that's true only with -std1.  */
 
3390
   that's true only with -std.  */
2693
3391
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2694
3392
 
 
3393
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3394
   inside strings and character constants.  */
 
3395
#define FOO(x) 'x'
 
3396
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3397
 
2695
3398
int test (int i, double x);
2696
3399
struct s1 {int (*f) (int a);};
2697
3400
struct s2 {int (*f) (double a);};
2706
3409
  return 0;
2707
3410
}
2708
3411
_ACEOF
2709
 
# Don't try gcc -ansi; that turns off useful extensions and
2710
 
# breaks some systems' header files.
2711
 
# AIX                   -qlanglvl=ansi
2712
 
# Ultrix and OSF/1      -std1
2713
 
# HP-UX 10.20 and later -Ae
2714
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2715
 
# SVR4                  -Xc -D__EXTENSIONS__
2716
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3412
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3413
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2717
3414
do
2718
3415
  CC="$ac_save_CC $ac_arg"
2719
3416
  rm -f conftest.$ac_objext
2720
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2721
 
  (eval $ac_compile) 2>conftest.er1
 
3417
if { (ac_try="$ac_compile"
 
3418
case "(($ac_try" in
 
3419
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3420
  *) ac_try_echo=$ac_try;;
 
3421
esac
 
3422
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3423
  (eval "$ac_compile") 2>conftest.er1
2722
3424
  ac_status=$?
2723
3425
  grep -v '^ *+' conftest.er1 >conftest.err
2724
3426
  rm -f conftest.er1
2725
3427
  cat conftest.err >&5
2726
3428
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727
3429
  (exit $ac_status); } &&
2728
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2729
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2730
 
  (eval $ac_try) 2>&5
 
3430
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3431
  { (case "(($ac_try" in
 
3432
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3433
  *) ac_try_echo=$ac_try;;
 
3434
esac
 
3435
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3436
  (eval "$ac_try") 2>&5
2731
3437
  ac_status=$?
2732
3438
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733
3439
  (exit $ac_status); }; } &&
2734
3440
         { ac_try='test -s conftest.$ac_objext'
2735
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2736
 
  (eval $ac_try) 2>&5
 
3441
  { (case "(($ac_try" in
 
3442
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3443
  *) ac_try_echo=$ac_try;;
 
3444
esac
 
3445
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3446
  (eval "$ac_try") 2>&5
2737
3447
  ac_status=$?
2738
3448
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739
3449
  (exit $ac_status); }; }; then
2740
 
  ac_cv_prog_cc_stdc=$ac_arg
2741
 
break
 
3450
  ac_cv_prog_cc_c89=$ac_arg
2742
3451
else
2743
3452
  echo "$as_me: failed program was:" >&5
2744
3453
sed 's/^/| /' conftest.$ac_ext >&5
2745
3454
 
 
3455
 
2746
3456
fi
2747
 
rm -f conftest.err conftest.$ac_objext
 
3457
 
 
3458
rm -f core conftest.err conftest.$ac_objext
 
3459
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2748
3460
done
2749
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3461
rm -f conftest.$ac_ext
2750
3462
CC=$ac_save_CC
2751
3463
 
2752
3464
fi
2753
 
 
2754
 
case "x$ac_cv_prog_cc_stdc" in
2755
 
  x|xno)
2756
 
    echo "$as_me:$LINENO: result: none needed" >&5
2757
 
echo "${ECHO_T}none needed" >&6 ;;
 
3465
# AC_CACHE_VAL
 
3466
case "x$ac_cv_prog_cc_c89" in
 
3467
  x)
 
3468
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3469
echo "${ECHO_T}none needed" >&6; } ;;
 
3470
  xno)
 
3471
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3472
echo "${ECHO_T}unsupported" >&6; } ;;
2758
3473
  *)
2759
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2760
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2761
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3474
    CC="$CC $ac_cv_prog_cc_c89"
 
3475
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3476
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2762
3477
esac
2763
3478
 
2764
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2765
 
# in C++ we need to declare it.  In case someone uses the same compiler
2766
 
# for both compiling C and C++ we need to have the C++ compiler decide
2767
 
# the declaration of exit, since it's the most demanding environment.
2768
 
cat >conftest.$ac_ext <<_ACEOF
2769
 
#ifndef __cplusplus
2770
 
  choke me
2771
 
#endif
2772
 
_ACEOF
2773
 
rm -f conftest.$ac_objext
2774
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2775
 
  (eval $ac_compile) 2>conftest.er1
2776
 
  ac_status=$?
2777
 
  grep -v '^ *+' conftest.er1 >conftest.err
2778
 
  rm -f conftest.er1
2779
 
  cat conftest.err >&5
2780
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781
 
  (exit $ac_status); } &&
2782
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2783
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2784
 
  (eval $ac_try) 2>&5
2785
 
  ac_status=$?
2786
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787
 
  (exit $ac_status); }; } &&
2788
 
         { ac_try='test -s conftest.$ac_objext'
2789
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2790
 
  (eval $ac_try) 2>&5
2791
 
  ac_status=$?
2792
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793
 
  (exit $ac_status); }; }; then
2794
 
  for ac_declaration in \
2795
 
   '' \
2796
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2797
 
   'extern "C" void std::exit (int); using std::exit;' \
2798
 
   'extern "C" void exit (int) throw ();' \
2799
 
   'extern "C" void exit (int);' \
2800
 
   'void exit (int);'
2801
 
do
2802
 
  cat >conftest.$ac_ext <<_ACEOF
2803
 
/* confdefs.h.  */
2804
 
_ACEOF
2805
 
cat confdefs.h >>conftest.$ac_ext
2806
 
cat >>conftest.$ac_ext <<_ACEOF
2807
 
/* end confdefs.h.  */
2808
 
$ac_declaration
2809
 
#include <stdlib.h>
2810
 
int
2811
 
main ()
2812
 
{
2813
 
exit (42);
2814
 
  ;
2815
 
  return 0;
2816
 
}
2817
 
_ACEOF
2818
 
rm -f conftest.$ac_objext
2819
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2820
 
  (eval $ac_compile) 2>conftest.er1
2821
 
  ac_status=$?
2822
 
  grep -v '^ *+' conftest.er1 >conftest.err
2823
 
  rm -f conftest.er1
2824
 
  cat conftest.err >&5
2825
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826
 
  (exit $ac_status); } &&
2827
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2828
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2829
 
  (eval $ac_try) 2>&5
2830
 
  ac_status=$?
2831
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832
 
  (exit $ac_status); }; } &&
2833
 
         { ac_try='test -s conftest.$ac_objext'
2834
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835
 
  (eval $ac_try) 2>&5
2836
 
  ac_status=$?
2837
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838
 
  (exit $ac_status); }; }; then
2839
 
  :
2840
 
else
2841
 
  echo "$as_me: failed program was:" >&5
2842
 
sed 's/^/| /' conftest.$ac_ext >&5
2843
 
 
2844
 
continue
2845
 
fi
2846
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2847
 
  cat >conftest.$ac_ext <<_ACEOF
2848
 
/* confdefs.h.  */
2849
 
_ACEOF
2850
 
cat confdefs.h >>conftest.$ac_ext
2851
 
cat >>conftest.$ac_ext <<_ACEOF
2852
 
/* end confdefs.h.  */
2853
 
$ac_declaration
2854
 
int
2855
 
main ()
2856
 
{
2857
 
exit (42);
2858
 
  ;
2859
 
  return 0;
2860
 
}
2861
 
_ACEOF
2862
 
rm -f conftest.$ac_objext
2863
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2864
 
  (eval $ac_compile) 2>conftest.er1
2865
 
  ac_status=$?
2866
 
  grep -v '^ *+' conftest.er1 >conftest.err
2867
 
  rm -f conftest.er1
2868
 
  cat conftest.err >&5
2869
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870
 
  (exit $ac_status); } &&
2871
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2872
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2873
 
  (eval $ac_try) 2>&5
2874
 
  ac_status=$?
2875
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876
 
  (exit $ac_status); }; } &&
2877
 
         { ac_try='test -s conftest.$ac_objext'
2878
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2879
 
  (eval $ac_try) 2>&5
2880
 
  ac_status=$?
2881
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882
 
  (exit $ac_status); }; }; then
2883
 
  break
2884
 
else
2885
 
  echo "$as_me: failed program was:" >&5
2886
 
sed 's/^/| /' conftest.$ac_ext >&5
2887
 
 
2888
 
fi
2889
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2890
 
done
2891
 
rm -f conftest*
2892
 
if test -n "$ac_declaration"; then
2893
 
  echo '#ifdef __cplusplus' >>confdefs.h
2894
 
  echo $ac_declaration      >>confdefs.h
2895
 
  echo '#endif'             >>confdefs.h
2896
 
fi
2897
 
 
2898
 
else
2899
 
  echo "$as_me: failed program was:" >&5
2900
 
sed 's/^/| /' conftest.$ac_ext >&5
2901
 
 
2902
 
fi
2903
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3479
 
2904
3480
ac_ext=c
2905
3481
ac_cpp='$CPP $CPPFLAGS'
2906
3482
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2908
3484
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2909
3485
DEPDIR="${am__leading_dot}deps"
2910
3486
 
2911
 
          ac_config_commands="$ac_config_commands depfiles"
 
3487
ac_config_commands="$ac_config_commands depfiles"
2912
3488
 
2913
3489
 
2914
3490
am_make=${MAKE-make}
2918
3494
.PHONY: am__doit
2919
3495
END
2920
3496
# If we don't find an include directive, just comment out the code.
2921
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2922
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3497
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3498
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2923
3499
am__include="#"
2924
3500
am__quote=
2925
3501
_am_result=none
2946
3522
fi
2947
3523
 
2948
3524
 
2949
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2950
 
echo "${ECHO_T}$_am_result" >&6
 
3525
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3526
echo "${ECHO_T}$_am_result" >&6; }
2951
3527
rm -f confinc confmf
2952
3528
 
2953
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3529
# Check whether --enable-dependency-tracking was given.
2954
3530
if test "${enable_dependency_tracking+set}" = set; then
2955
 
  enableval="$enable_dependency_tracking"
 
3531
  enableval=$enable_dependency_tracking;
 
3532
fi
2956
3533
 
2957
 
fi;
2958
3534
if test "x$enable_dependency_tracking" != xno; then
2959
3535
  am_depcomp="$ac_aux_dir/depcomp"
2960
3536
  AMDEPBACKSLASH='\'
2974
3550
 
2975
3551
depcc="$CC"   am_compiler_list=
2976
3552
 
2977
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2978
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3553
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3554
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2979
3555
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2980
3556
  echo $ECHO_N "(cached) $ECHO_C" >&6
2981
3557
else
3064
3640
fi
3065
3641
 
3066
3642
fi
3067
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3068
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3643
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3644
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3069
3645
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3070
3646
 
3071
3647
 
3094
3670
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3095
3671
# OS/2's system install, which has a completely different semantic
3096
3672
# ./install, which can be erroneously created by make from ./install.sh.
3097
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3098
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
3673
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
3674
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3099
3675
if test -z "$INSTALL"; then
3100
3676
if test "${ac_cv_path_install+set}" = set; then
3101
3677
  echo $ECHO_N "(cached) $ECHO_C" >&6
3117
3693
    # by default.
3118
3694
    for ac_prog in ginstall scoinst install; do
3119
3695
      for ac_exec_ext in '' $ac_executable_extensions; do
3120
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
3696
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
3121
3697
          if test $ac_prog = install &&
3122
3698
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3123
3699
            # AIX install.  It has an incompatible calling convention.
3136
3712
    ;;
3137
3713
esac
3138
3714
done
 
3715
IFS=$as_save_IFS
3139
3716
 
3140
3717
 
3141
3718
fi
3142
3719
  if test "${ac_cv_path_install+set}" = set; then
3143
3720
    INSTALL=$ac_cv_path_install
3144
3721
  else
3145
 
    # As a last resort, use the slow shell script.  We don't cache a
3146
 
    # path for INSTALL within a source directory, because that will
 
3722
    # As a last resort, use the slow shell script.  Don't cache a
 
3723
    # value for INSTALL within a source directory, because that will
3147
3724
    # break other packages using the cache if that directory is
3148
 
    # removed, or if the path is relative.
 
3725
    # removed, or if the value is a relative name.
3149
3726
    INSTALL=$ac_install_sh
3150
3727
  fi
3151
3728
fi
3152
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
3153
 
echo "${ECHO_T}$INSTALL" >&6
 
3729
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
3730
echo "${ECHO_T}$INSTALL" >&6; }
3154
3731
 
3155
3732
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3156
3733
# It thinks the first close brace ends the variable substitution.
3160
3737
 
3161
3738
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3162
3739
 
3163
 
# Check whether --enable-shared or --disable-shared was given.
 
3740
# Check whether --enable-shared was given.
3164
3741
if test "${enable_shared+set}" = set; then
3165
 
  enableval="$enable_shared"
3166
 
  p=${PACKAGE-default}
 
3742
  enableval=$enable_shared; p=${PACKAGE-default}
3167
3743
    case $enableval in
3168
3744
    yes) enable_shared=yes ;;
3169
3745
    no) enable_shared=no ;;
3182
3758
    esac
3183
3759
else
3184
3760
  enable_shared=yes
3185
 
fi;
3186
 
 
3187
 
# Check whether --enable-static or --disable-static was given.
 
3761
fi
 
3762
 
 
3763
 
 
3764
# Check whether --enable-static was given.
3188
3765
if test "${enable_static+set}" = set; then
3189
 
  enableval="$enable_static"
3190
 
  p=${PACKAGE-default}
 
3766
  enableval=$enable_static; p=${PACKAGE-default}
3191
3767
    case $enableval in
3192
3768
    yes) enable_static=yes ;;
3193
3769
    no) enable_static=no ;;
3206
3782
    esac
3207
3783
else
3208
3784
  enable_static=yes
3209
 
fi;
3210
 
 
3211
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
3785
fi
 
3786
 
 
3787
 
 
3788
# Check whether --enable-fast-install was given.
3212
3789
if test "${enable_fast_install+set}" = set; then
3213
 
  enableval="$enable_fast_install"
3214
 
  p=${PACKAGE-default}
 
3790
  enableval=$enable_fast_install; p=${PACKAGE-default}
3215
3791
    case $enableval in
3216
3792
    yes) enable_fast_install=yes ;;
3217
3793
    no) enable_fast_install=no ;;
3230
3806
    esac
3231
3807
else
3232
3808
  enable_fast_install=yes
3233
 
fi;
 
3809
fi
 
3810
 
3234
3811
 
3235
3812
# Make sure we can run config.sub.
3236
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
3237
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3238
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
3813
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
3814
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
3815
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3239
3816
   { (exit 1); exit 1; }; }
3240
3817
 
3241
 
echo "$as_me:$LINENO: checking build system type" >&5
3242
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
3818
{ echo "$as_me:$LINENO: checking build system type" >&5
 
3819
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3243
3820
if test "${ac_cv_build+set}" = set; then
3244
3821
  echo $ECHO_N "(cached) $ECHO_C" >&6
3245
3822
else
3246
 
  ac_cv_build_alias=$build_alias
3247
 
test -z "$ac_cv_build_alias" &&
3248
 
  ac_cv_build_alias=`$ac_config_guess`
3249
 
test -z "$ac_cv_build_alias" &&
 
3823
  ac_build_alias=$build_alias
 
3824
test "x$ac_build_alias" = x &&
 
3825
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
3826
test "x$ac_build_alias" = x &&
3250
3827
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3251
3828
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3252
3829
   { (exit 1); exit 1; }; }
3253
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3254
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3255
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
3830
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
3831
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
3832
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3256
3833
   { (exit 1); exit 1; }; }
3257
3834
 
3258
3835
fi
3259
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3260
 
echo "${ECHO_T}$ac_cv_build" >&6
 
3836
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
3837
echo "${ECHO_T}$ac_cv_build" >&6; }
 
3838
case $ac_cv_build in
 
3839
*-*-*) ;;
 
3840
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
3841
echo "$as_me: error: invalid value of canonical build" >&2;}
 
3842
   { (exit 1); exit 1; }; };;
 
3843
esac
3261
3844
build=$ac_cv_build
3262
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3263
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3264
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3265
 
 
3266
 
 
3267
 
echo "$as_me:$LINENO: checking host system type" >&5
3268
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
3845
ac_save_IFS=$IFS; IFS='-'
 
3846
set x $ac_cv_build
 
3847
shift
 
3848
build_cpu=$1
 
3849
build_vendor=$2
 
3850
shift; shift
 
3851
# Remember, the first character of IFS is used to create $*,
 
3852
# except with old shells:
 
3853
build_os=$*
 
3854
IFS=$ac_save_IFS
 
3855
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
3856
 
 
3857
 
 
3858
{ echo "$as_me:$LINENO: checking host system type" >&5
 
3859
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3269
3860
if test "${ac_cv_host+set}" = set; then
3270
3861
  echo $ECHO_N "(cached) $ECHO_C" >&6
3271
3862
else
3272
 
  ac_cv_host_alias=$host_alias
3273
 
test -z "$ac_cv_host_alias" &&
3274
 
  ac_cv_host_alias=$ac_cv_build_alias
3275
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3276
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3277
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
3863
  if test "x$host_alias" = x; then
 
3864
  ac_cv_host=$ac_cv_build
 
3865
else
 
3866
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
3867
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
3868
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3278
3869
   { (exit 1); exit 1; }; }
 
3870
fi
3279
3871
 
3280
3872
fi
3281
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3282
 
echo "${ECHO_T}$ac_cv_host" >&6
 
3873
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
3874
echo "${ECHO_T}$ac_cv_host" >&6; }
 
3875
case $ac_cv_host in
 
3876
*-*-*) ;;
 
3877
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
3878
echo "$as_me: error: invalid value of canonical host" >&2;}
 
3879
   { (exit 1); exit 1; }; };;
 
3880
esac
3283
3881
host=$ac_cv_host
3284
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3285
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3286
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3287
 
 
3288
 
 
3289
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3290
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
3882
ac_save_IFS=$IFS; IFS='-'
 
3883
set x $ac_cv_host
 
3884
shift
 
3885
host_cpu=$1
 
3886
host_vendor=$2
 
3887
shift; shift
 
3888
# Remember, the first character of IFS is used to create $*,
 
3889
# except with old shells:
 
3890
host_os=$*
 
3891
IFS=$ac_save_IFS
 
3892
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
3893
 
 
3894
 
 
3895
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
3896
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3291
3897
if test "${lt_cv_path_SED+set}" = set; then
3292
3898
  echo $ECHO_N "(cached) $ECHO_C" >&6
3293
3899
else
3311
3917
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3312
3918
# along with /bin/sed that truncates output.
3313
3919
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3314
 
  test ! -f $lt_ac_sed && break
 
3920
  test ! -f $lt_ac_sed && continue
3315
3921
  cat /dev/null > conftest.in
3316
3922
  lt_ac_count=0
3317
3923
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3336
3942
    fi
3337
3943
  done
3338
3944
done
 
3945
 
 
3946
fi
 
3947
 
3339
3948
SED=$lt_cv_path_SED
3340
 
 
3341
 
fi
3342
 
 
3343
 
echo "$as_me:$LINENO: result: $SED" >&5
3344
 
echo "${ECHO_T}$SED" >&6
3345
 
 
3346
 
echo "$as_me:$LINENO: checking for egrep" >&5
3347
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3348
 
if test "${ac_cv_prog_egrep+set}" = set; then
3349
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3350
 
else
3351
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3352
 
    then ac_cv_prog_egrep='grep -E'
3353
 
    else ac_cv_prog_egrep='egrep'
3354
 
    fi
3355
 
fi
3356
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3357
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3358
 
 EGREP=$ac_cv_prog_egrep
3359
 
 
3360
 
 
3361
 
 
3362
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
3949
{ echo "$as_me:$LINENO: result: $SED" >&5
 
3950
echo "${ECHO_T}$SED" >&6; }
 
3951
 
 
3952
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3953
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3954
if test "${ac_cv_path_GREP+set}" = set; then
 
3955
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3956
else
 
3957
  # Extract the first word of "grep ggrep" to use in msg output
 
3958
if test -z "$GREP"; then
 
3959
set dummy grep ggrep; ac_prog_name=$2
 
3960
if test "${ac_cv_path_GREP+set}" = set; then
 
3961
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3962
else
 
3963
  ac_path_GREP_found=false
 
3964
# Loop through the user's path and test for each of PROGNAME-LIST
 
3965
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3966
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3967
do
 
3968
  IFS=$as_save_IFS
 
3969
  test -z "$as_dir" && as_dir=.
 
3970
  for ac_prog in grep ggrep; do
 
3971
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3972
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3973
    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
 
3974
    # Check for GNU ac_path_GREP and select it if it is found.
 
3975
  # Check for GNU $ac_path_GREP
 
3976
case `"$ac_path_GREP" --version 2>&1` in
 
3977
*GNU*)
 
3978
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3979
*)
 
3980
  ac_count=0
 
3981
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3982
  while :
 
3983
  do
 
3984
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3985
    mv "conftest.tmp" "conftest.in"
 
3986
    cp "conftest.in" "conftest.nl"
 
3987
    echo 'GREP' >> "conftest.nl"
 
3988
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3989
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3990
    ac_count=`expr $ac_count + 1`
 
3991
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3992
      # Best one so far, save it but keep looking for a better one
 
3993
      ac_cv_path_GREP="$ac_path_GREP"
 
3994
      ac_path_GREP_max=$ac_count
 
3995
    fi
 
3996
    # 10*(2^10) chars as input seems more than enough
 
3997
    test $ac_count -gt 10 && break
 
3998
  done
 
3999
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4000
esac
 
4001
 
 
4002
 
 
4003
    $ac_path_GREP_found && break 3
 
4004
  done
 
4005
done
 
4006
 
 
4007
done
 
4008
IFS=$as_save_IFS
 
4009
 
 
4010
 
 
4011
fi
 
4012
 
 
4013
GREP="$ac_cv_path_GREP"
 
4014
if test -z "$GREP"; then
 
4015
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4016
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4017
   { (exit 1); exit 1; }; }
 
4018
fi
 
4019
 
 
4020
else
 
4021
  ac_cv_path_GREP=$GREP
 
4022
fi
 
4023
 
 
4024
 
 
4025
fi
 
4026
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4027
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4028
 GREP="$ac_cv_path_GREP"
 
4029
 
 
4030
 
 
4031
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
4032
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4033
if test "${ac_cv_path_EGREP+set}" = set; then
 
4034
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4035
else
 
4036
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4037
   then ac_cv_path_EGREP="$GREP -E"
 
4038
   else
 
4039
     # Extract the first word of "egrep" to use in msg output
 
4040
if test -z "$EGREP"; then
 
4041
set dummy egrep; ac_prog_name=$2
 
4042
if test "${ac_cv_path_EGREP+set}" = set; then
 
4043
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4044
else
 
4045
  ac_path_EGREP_found=false
 
4046
# Loop through the user's path and test for each of PROGNAME-LIST
 
4047
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4048
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4049
do
 
4050
  IFS=$as_save_IFS
 
4051
  test -z "$as_dir" && as_dir=.
 
4052
  for ac_prog in egrep; do
 
4053
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4054
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4055
    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
 
4056
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4057
  # Check for GNU $ac_path_EGREP
 
4058
case `"$ac_path_EGREP" --version 2>&1` in
 
4059
*GNU*)
 
4060
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4061
*)
 
4062
  ac_count=0
 
4063
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4064
  while :
 
4065
  do
 
4066
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4067
    mv "conftest.tmp" "conftest.in"
 
4068
    cp "conftest.in" "conftest.nl"
 
4069
    echo 'EGREP' >> "conftest.nl"
 
4070
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4071
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4072
    ac_count=`expr $ac_count + 1`
 
4073
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4074
      # Best one so far, save it but keep looking for a better one
 
4075
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4076
      ac_path_EGREP_max=$ac_count
 
4077
    fi
 
4078
    # 10*(2^10) chars as input seems more than enough
 
4079
    test $ac_count -gt 10 && break
 
4080
  done
 
4081
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4082
esac
 
4083
 
 
4084
 
 
4085
    $ac_path_EGREP_found && break 3
 
4086
  done
 
4087
done
 
4088
 
 
4089
done
 
4090
IFS=$as_save_IFS
 
4091
 
 
4092
 
 
4093
fi
 
4094
 
 
4095
EGREP="$ac_cv_path_EGREP"
 
4096
if test -z "$EGREP"; then
 
4097
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4098
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4099
   { (exit 1); exit 1; }; }
 
4100
fi
 
4101
 
 
4102
else
 
4103
  ac_cv_path_EGREP=$EGREP
 
4104
fi
 
4105
 
 
4106
 
 
4107
   fi
 
4108
fi
 
4109
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4110
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4111
 EGREP="$ac_cv_path_EGREP"
 
4112
 
 
4113
 
 
4114
 
 
4115
# Check whether --with-gnu-ld was given.
3363
4116
if test "${with_gnu_ld+set}" = set; then
3364
 
  withval="$with_gnu_ld"
3365
 
  test "$withval" = no || with_gnu_ld=yes
 
4117
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3366
4118
else
3367
4119
  with_gnu_ld=no
3368
 
fi;
 
4120
fi
 
4121
 
3369
4122
ac_prog=ld
3370
4123
if test "$GCC" = yes; then
3371
4124
  # Check if gcc -print-prog-name=ld gives a path.
3372
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3373
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
4125
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4126
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3374
4127
  case $host in
3375
4128
  *-*-mingw*)
3376
4129
    # gcc leaves a trailing carriage return which upsets mingw
3399
4152
    ;;
3400
4153
  esac
3401
4154
elif test "$with_gnu_ld" = yes; then
3402
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3403
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4155
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4156
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3404
4157
else
3405
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3406
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4158
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4159
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3407
4160
fi
3408
4161
if test "${lt_cv_path_LD+set}" = set; then
3409
4162
  echo $ECHO_N "(cached) $ECHO_C" >&6
3416
4169
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3417
4170
      lt_cv_path_LD="$ac_dir/$ac_prog"
3418
4171
      # Check to see if the program is GNU ld.  I'd rather use --version,
3419
 
      # but apparently some GNU ld's only accept -v.
 
4172
      # but apparently some variants of GNU ld only accept -v.
3420
4173
      # Break only if it was the GNU/non-GNU ld that we prefer.
3421
4174
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3422
4175
      *GNU* | *'with BFD'*)
3436
4189
 
3437
4190
LD="$lt_cv_path_LD"
3438
4191
if test -n "$LD"; then
3439
 
  echo "$as_me:$LINENO: result: $LD" >&5
3440
 
echo "${ECHO_T}$LD" >&6
 
4192
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4193
echo "${ECHO_T}$LD" >&6; }
3441
4194
else
3442
 
  echo "$as_me:$LINENO: result: no" >&5
3443
 
echo "${ECHO_T}no" >&6
 
4195
  { echo "$as_me:$LINENO: result: no" >&5
 
4196
echo "${ECHO_T}no" >&6; }
3444
4197
fi
3445
4198
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3446
4199
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3447
4200
   { (exit 1); exit 1; }; }
3448
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3449
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4201
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4202
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3450
4203
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3451
4204
  echo $ECHO_N "(cached) $ECHO_C" >&6
3452
4205
else
3453
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
4206
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
3454
4207
case `$LD -v 2>&1 </dev/null` in
3455
4208
*GNU* | *'with BFD'*)
3456
4209
  lt_cv_prog_gnu_ld=yes
3460
4213
  ;;
3461
4214
esac
3462
4215
fi
3463
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3464
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4216
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4217
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3465
4218
with_gnu_ld=$lt_cv_prog_gnu_ld
3466
4219
 
3467
4220
 
3468
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3469
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
4221
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4222
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3470
4223
if test "${lt_cv_ld_reload_flag+set}" = set; then
3471
4224
  echo $ECHO_N "(cached) $ECHO_C" >&6
3472
4225
else
3473
4226
  lt_cv_ld_reload_flag='-r'
3474
4227
fi
3475
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3476
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
4228
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4229
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3477
4230
reload_flag=$lt_cv_ld_reload_flag
3478
4231
case $reload_flag in
3479
4232
"" | " "*) ;;
3480
4233
*) reload_flag=" $reload_flag" ;;
3481
4234
esac
3482
4235
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4236
case $host_os in
 
4237
  darwin*)
 
4238
    if test "$GCC" = yes; then
 
4239
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
4240
    else
 
4241
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4242
    fi
 
4243
    ;;
 
4244
esac
3483
4245
 
3484
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3485
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4246
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4247
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3486
4248
if test "${lt_cv_path_NM+set}" = set; then
3487
4249
  echo $ECHO_N "(cached) $ECHO_C" >&6
3488
4250
else
3490
4252
  # Let the user override the test.
3491
4253
  lt_cv_path_NM="$NM"
3492
4254
else
3493
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3494
 
  for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3495
 
    IFS="$lt_save_ifs"
3496
 
    test -z "$ac_dir" && ac_dir=.
3497
 
    tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3498
 
    if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3499
 
      # Check to see if the nm accepts a BSD-compat flag.
3500
 
      # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3501
 
      #   nm: unknown option "B" ignored
3502
 
      # Tru64's nm complains that /dev/null is an invalid object file
3503
 
      case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3504
 
      */dev/null* | *'Invalid file or object type'*)
3505
 
        lt_cv_path_NM="$tmp_nm -B"
3506
 
        break
3507
 
        ;;
3508
 
      *)
3509
 
        case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3510
 
        */dev/null*)
3511
 
          lt_cv_path_NM="$tmp_nm -p"
 
4255
  lt_nm_to_check="${ac_tool_prefix}nm"
 
4256
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
4257
    lt_nm_to_check="$lt_nm_to_check nm"
 
4258
  fi
 
4259
  for lt_tmp_nm in $lt_nm_to_check; do
 
4260
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4261
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
4262
      IFS="$lt_save_ifs"
 
4263
      test -z "$ac_dir" && ac_dir=.
 
4264
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
4265
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
4266
        # Check to see if the nm accepts a BSD-compat flag.
 
4267
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
4268
        #   nm: unknown option "B" ignored
 
4269
        # Tru64's nm complains that /dev/null is an invalid object file
 
4270
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
4271
        */dev/null* | *'Invalid file or object type'*)
 
4272
          lt_cv_path_NM="$tmp_nm -B"
3512
4273
          break
3513
4274
          ;;
3514
4275
        *)
3515
 
          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3516
 
          continue # so that we can try to find one that supports BSD flags
 
4276
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
4277
          */dev/null*)
 
4278
            lt_cv_path_NM="$tmp_nm -p"
 
4279
            break
 
4280
            ;;
 
4281
          *)
 
4282
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
4283
            continue # so that we can try to find one that supports BSD flags
 
4284
            ;;
 
4285
          esac
3517
4286
          ;;
3518
4287
        esac
3519
 
      esac
3520
 
    fi
 
4288
      fi
 
4289
    done
 
4290
    IFS="$lt_save_ifs"
3521
4291
  done
3522
 
  IFS="$lt_save_ifs"
3523
4292
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3524
4293
fi
3525
4294
fi
3526
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3527
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
4295
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4296
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
3528
4297
NM="$lt_cv_path_NM"
3529
4298
 
3530
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3531
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4299
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4300
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3532
4301
LN_S=$as_ln_s
3533
4302
if test "$LN_S" = "ln -s"; then
3534
 
  echo "$as_me:$LINENO: result: yes" >&5
3535
 
echo "${ECHO_T}yes" >&6
 
4303
  { echo "$as_me:$LINENO: result: yes" >&5
 
4304
echo "${ECHO_T}yes" >&6; }
3536
4305
else
3537
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3538
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4306
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4307
echo "${ECHO_T}no, using $LN_S" >&6; }
3539
4308
fi
3540
4309
 
3541
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3542
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
4310
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
4311
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
3543
4312
if test "${lt_cv_deplibs_check_method+set}" = set; then
3544
4313
  echo $ECHO_N "(cached) $ECHO_C" >&6
3545
4314
else
3566
4335
  lt_cv_deplibs_check_method=pass_all
3567
4336
  ;;
3568
4337
 
3569
 
bsdi4*)
 
4338
bsdi[45]*)
3570
4339
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3571
4340
  lt_cv_file_magic_cmd='/usr/bin/file -L'
3572
4341
  lt_cv_file_magic_test_file=/shlib/libc.so
3589
4358
  lt_cv_deplibs_check_method=pass_all
3590
4359
  ;;
3591
4360
 
3592
 
freebsd* | kfreebsd*-gnu)
 
4361
freebsd* | dragonfly*)
3593
4362
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3594
4363
    case $host_cpu in
3595
4364
    i*86 )
3596
4365
      # Not sure whether the presence of OpenBSD here was a mistake.
3597
4366
      # Let's accept both of them until this is cleared up.
3598
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
 
4367
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3599
4368
      lt_cv_file_magic_cmd=/usr/bin/file
3600
4369
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3601
4370
      ;;
3611
4380
 
3612
4381
hpux10.20* | hpux11*)
3613
4382
  lt_cv_file_magic_cmd=/usr/bin/file
3614
 
  case "$host_cpu" in
 
4383
  case $host_cpu in
3615
4384
  ia64*)
3616
4385
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3617
4386
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3627
4396
  esac
3628
4397
  ;;
3629
4398
 
 
4399
interix3*)
 
4400
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
4401
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
4402
  ;;
 
4403
 
3630
4404
irix5* | irix6* | nonstopux*)
3631
4405
  case $LD in
3632
4406
  *-32|*"-32 ") libmagic=32-bit;;
3638
4412
  ;;
3639
4413
 
3640
4414
# This must be Linux ELF.
3641
 
linux*)
 
4415
linux* | k*bsd*-gnu)
3642
4416
  lt_cv_deplibs_check_method=pass_all
3643
4417
  ;;
3644
4418
 
3645
 
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
4419
netbsd* | netbsdelf*-gnu)
3646
4420
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3647
4421
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3648
4422
  else
3661
4435
  ;;
3662
4436
 
3663
4437
openbsd*)
3664
 
  lt_cv_file_magic_cmd=/usr/bin/file
3665
 
  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3666
4438
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3667
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
 
4439
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3668
4440
  else
3669
 
    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
 
4441
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3670
4442
  fi
3671
4443
  ;;
3672
4444
 
3674
4446
  lt_cv_deplibs_check_method=pass_all
3675
4447
  ;;
3676
4448
 
3677
 
sco3.2v5*)
3678
 
  lt_cv_deplibs_check_method=pass_all
3679
 
  ;;
3680
 
 
3681
4449
solaris*)
3682
4450
  lt_cv_deplibs_check_method=pass_all
3683
4451
  ;;
3684
4452
 
3685
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
4453
sysv4 | sysv4.3*)
3686
4454
  case $host_vendor in
3687
4455
  motorola)
3688
4456
    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]'
3703
4471
  siemens)
3704
4472
    lt_cv_deplibs_check_method=pass_all
3705
4473
    ;;
 
4474
  pc)
 
4475
    lt_cv_deplibs_check_method=pass_all
 
4476
    ;;
3706
4477
  esac
3707
4478
  ;;
3708
4479
 
3709
 
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
 
4480
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3710
4481
  lt_cv_deplibs_check_method=pass_all
3711
4482
  ;;
3712
4483
esac
3713
4484
 
3714
4485
fi
3715
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3716
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
4486
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4487
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
3717
4488
file_magic_cmd=$lt_cv_file_magic_cmd
3718
4489
deplibs_check_method=$lt_cv_deplibs_check_method
3719
4490
test -z "$deplibs_check_method" && deplibs_check_method=unknown
3724
4495
# If no C compiler was specified, use CC.
3725
4496
LTCC=${LTCC-"$CC"}
3726
4497
 
 
4498
# If no C compiler flags were specified, use CFLAGS.
 
4499
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
4500
 
3727
4501
# Allow CC to be a program name with arguments.
3728
4502
compiler=$CC
3729
4503
 
3730
4504
 
3731
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
4505
# Check whether --enable-libtool-lock was given.
3732
4506
if test "${enable_libtool_lock+set}" = set; then
3733
 
  enableval="$enable_libtool_lock"
 
4507
  enableval=$enable_libtool_lock;
 
4508
fi
3734
4509
 
3735
 
fi;
3736
4510
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3737
4511
 
3738
4512
# Some flags need to be propagated to the compiler or linker for good
3759
4533
  ;;
3760
4534
*-*-irix6*)
3761
4535
  # Find out which ABI we are using.
3762
 
  echo '#line 3762 "configure"' > conftest.$ac_ext
 
4536
  echo '#line 4536 "configure"' > conftest.$ac_ext
3763
4537
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3764
4538
  (eval $ac_compile) 2>&5
3765
4539
  ac_status=$?
3802
4576
  ac_status=$?
3803
4577
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804
4578
  (exit $ac_status); }; then
3805
 
    case "`/usr/bin/file conftest.o`" in
 
4579
    case `/usr/bin/file conftest.o` in
3806
4580
    *32-bit*)
3807
4581
      case $host in
3808
4582
        x86_64-*linux*)
3844
4618
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3845
4619
  SAVE_CFLAGS="$CFLAGS"
3846
4620
  CFLAGS="$CFLAGS -belf"
3847
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3848
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
4621
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
4622
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
3849
4623
if test "${lt_cv_cc_needs_belf+set}" = set; then
3850
4624
  echo $ECHO_N "(cached) $ECHO_C" >&6
3851
4625
else
3871
4645
}
3872
4646
_ACEOF
3873
4647
rm -f conftest.$ac_objext conftest$ac_exeext
3874
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3875
 
  (eval $ac_link) 2>conftest.er1
 
4648
if { (ac_try="$ac_link"
 
4649
case "(($ac_try" in
 
4650
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4651
  *) ac_try_echo=$ac_try;;
 
4652
esac
 
4653
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4654
  (eval "$ac_link") 2>conftest.er1
3876
4655
  ac_status=$?
3877
4656
  grep -v '^ *+' conftest.er1 >conftest.err
3878
4657
  rm -f conftest.er1
3879
4658
  cat conftest.err >&5
3880
4659
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881
4660
  (exit $ac_status); } &&
3882
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3883
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3884
 
  (eval $ac_try) 2>&5
 
4661
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4662
  { (case "(($ac_try" in
 
4663
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4664
  *) ac_try_echo=$ac_try;;
 
4665
esac
 
4666
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4667
  (eval "$ac_try") 2>&5
3885
4668
  ac_status=$?
3886
4669
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887
4670
  (exit $ac_status); }; } &&
3888
4671
         { ac_try='test -s conftest$ac_exeext'
3889
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3890
 
  (eval $ac_try) 2>&5
 
4672
  { (case "(($ac_try" in
 
4673
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4674
  *) ac_try_echo=$ac_try;;
 
4675
esac
 
4676
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4677
  (eval "$ac_try") 2>&5
3891
4678
  ac_status=$?
3892
4679
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893
4680
  (exit $ac_status); }; }; then
3896
4683
  echo "$as_me: failed program was:" >&5
3897
4684
sed 's/^/| /' conftest.$ac_ext >&5
3898
4685
 
3899
 
lt_cv_cc_needs_belf=no
 
4686
        lt_cv_cc_needs_belf=no
3900
4687
fi
3901
 
rm -f conftest.err conftest.$ac_objext \
 
4688
 
 
4689
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3902
4690
      conftest$ac_exeext conftest.$ac_ext
3903
4691
     ac_ext=c
3904
4692
ac_cpp='$CPP $CPPFLAGS'
3907
4695
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3908
4696
 
3909
4697
fi
3910
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3911
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
4698
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
4699
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
3912
4700
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3913
4701
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3914
4702
    CFLAGS="$SAVE_CFLAGS"
3915
4703
  fi
3916
4704
  ;;
 
4705
sparc*-*solaris*)
 
4706
  # Find out which ABI we are using.
 
4707
  echo 'int i;' > conftest.$ac_ext
 
4708
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4709
  (eval $ac_compile) 2>&5
 
4710
  ac_status=$?
 
4711
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4712
  (exit $ac_status); }; then
 
4713
    case `/usr/bin/file conftest.o` in
 
4714
    *64-bit*)
 
4715
      case $lt_cv_prog_gnu_ld in
 
4716
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
4717
      *)    LD="${LD-ld} -64" ;;
 
4718
      esac
 
4719
      ;;
 
4720
    esac
 
4721
  fi
 
4722
  rm -rf conftest*
 
4723
  ;;
 
4724
 
3917
4725
 
3918
4726
esac
3919
4727
 
3925
4733
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3926
4734
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3927
4735
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3928
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3929
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
4736
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4737
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3930
4738
# On Suns, sometimes $CPP names a directory.
3931
4739
if test -n "$CPP" && test -d "$CPP"; then
3932
4740
  CPP=
3960
4768
#endif
3961
4769
                     Syntax error
3962
4770
_ACEOF
3963
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3964
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4771
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4772
case "(($ac_try" in
 
4773
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4774
  *) ac_try_echo=$ac_try;;
 
4775
esac
 
4776
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4777
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3965
4778
  ac_status=$?
3966
4779
  grep -v '^ *+' conftest.er1 >conftest.err
3967
4780
  rm -f conftest.er1
3986
4799
  # Broken: fails on valid input.
3987
4800
continue
3988
4801
fi
 
4802
 
3989
4803
rm -f conftest.err conftest.$ac_ext
3990
4804
 
3991
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4805
  # OK, works on sane cases.  Now check whether nonexistent headers
3992
4806
  # can be detected and how.
3993
4807
  cat >conftest.$ac_ext <<_ACEOF
3994
4808
/* confdefs.h.  */
3998
4812
/* end confdefs.h.  */
3999
4813
#include <ac_nonexistent.h>
4000
4814
_ACEOF
4001
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4002
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4815
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4816
case "(($ac_try" in
 
4817
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4818
  *) ac_try_echo=$ac_try;;
 
4819
esac
 
4820
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4821
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4003
4822
  ac_status=$?
4004
4823
  grep -v '^ *+' conftest.er1 >conftest.err
4005
4824
  rm -f conftest.er1
4026
4845
ac_preproc_ok=:
4027
4846
break
4028
4847
fi
 
4848
 
4029
4849
rm -f conftest.err conftest.$ac_ext
4030
4850
 
4031
4851
done
4043
4863
else
4044
4864
  ac_cv_prog_CPP=$CPP
4045
4865
fi
4046
 
echo "$as_me:$LINENO: result: $CPP" >&5
4047
 
echo "${ECHO_T}$CPP" >&6
 
4866
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
4867
echo "${ECHO_T}$CPP" >&6; }
4048
4868
ac_preproc_ok=false
4049
4869
for ac_c_preproc_warn_flag in '' yes
4050
4870
do
4067
4887
#endif
4068
4888
                     Syntax error
4069
4889
_ACEOF
4070
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4071
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4890
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4891
case "(($ac_try" in
 
4892
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4893
  *) ac_try_echo=$ac_try;;
 
4894
esac
 
4895
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4896
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4072
4897
  ac_status=$?
4073
4898
  grep -v '^ *+' conftest.er1 >conftest.err
4074
4899
  rm -f conftest.er1
4093
4918
  # Broken: fails on valid input.
4094
4919
continue
4095
4920
fi
 
4921
 
4096
4922
rm -f conftest.err conftest.$ac_ext
4097
4923
 
4098
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4924
  # OK, works on sane cases.  Now check whether nonexistent headers
4099
4925
  # can be detected and how.
4100
4926
  cat >conftest.$ac_ext <<_ACEOF
4101
4927
/* confdefs.h.  */
4105
4931
/* end confdefs.h.  */
4106
4932
#include <ac_nonexistent.h>
4107
4933
_ACEOF
4108
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4109
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4934
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4935
case "(($ac_try" in
 
4936
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4937
  *) ac_try_echo=$ac_try;;
 
4938
esac
 
4939
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4940
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4110
4941
  ac_status=$?
4111
4942
  grep -v '^ *+' conftest.er1 >conftest.err
4112
4943
  rm -f conftest.er1
4133
4964
ac_preproc_ok=:
4134
4965
break
4135
4966
fi
 
4967
 
4136
4968
rm -f conftest.err conftest.$ac_ext
4137
4969
 
4138
4970
done
4155
4987
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4156
4988
 
4157
4989
 
4158
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4159
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
4990
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4991
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4160
4992
if test "${ac_cv_header_stdc+set}" = set; then
4161
4993
  echo $ECHO_N "(cached) $ECHO_C" >&6
4162
4994
else
4180
5012
}
4181
5013
_ACEOF
4182
5014
rm -f conftest.$ac_objext
4183
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4184
 
  (eval $ac_compile) 2>conftest.er1
 
5015
if { (ac_try="$ac_compile"
 
5016
case "(($ac_try" in
 
5017
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5018
  *) ac_try_echo=$ac_try;;
 
5019
esac
 
5020
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5021
  (eval "$ac_compile") 2>conftest.er1
4185
5022
  ac_status=$?
4186
5023
  grep -v '^ *+' conftest.er1 >conftest.err
4187
5024
  rm -f conftest.er1
4188
5025
  cat conftest.err >&5
4189
5026
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190
5027
  (exit $ac_status); } &&
4191
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4192
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4193
 
  (eval $ac_try) 2>&5
 
5028
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5029
  { (case "(($ac_try" in
 
5030
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5031
  *) ac_try_echo=$ac_try;;
 
5032
esac
 
5033
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5034
  (eval "$ac_try") 2>&5
4194
5035
  ac_status=$?
4195
5036
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196
5037
  (exit $ac_status); }; } &&
4197
5038
         { ac_try='test -s conftest.$ac_objext'
4198
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4199
 
  (eval $ac_try) 2>&5
 
5039
  { (case "(($ac_try" in
 
5040
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5041
  *) ac_try_echo=$ac_try;;
 
5042
esac
 
5043
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5044
  (eval "$ac_try") 2>&5
4200
5045
  ac_status=$?
4201
5046
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202
5047
  (exit $ac_status); }; }; then
4205
5050
  echo "$as_me: failed program was:" >&5
4206
5051
sed 's/^/| /' conftest.$ac_ext >&5
4207
5052
 
4208
 
ac_cv_header_stdc=no
 
5053
        ac_cv_header_stdc=no
4209
5054
fi
4210
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5055
 
 
5056
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211
5057
 
4212
5058
if test $ac_cv_header_stdc = yes; then
4213
5059
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4263
5109
cat >>conftest.$ac_ext <<_ACEOF
4264
5110
/* end confdefs.h.  */
4265
5111
#include <ctype.h>
 
5112
#include <stdlib.h>
4266
5113
#if ((' ' & 0x0FF) == 0x020)
4267
5114
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4268
5115
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4282
5129
  for (i = 0; i < 256; i++)
4283
5130
    if (XOR (islower (i), ISLOWER (i))
4284
5131
        || toupper (i) != TOUPPER (i))
4285
 
      exit(2);
4286
 
  exit (0);
 
5132
      return 2;
 
5133
  return 0;
4287
5134
}
4288
5135
_ACEOF
4289
5136
rm -f conftest$ac_exeext
4290
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4291
 
  (eval $ac_link) 2>&5
 
5137
if { (ac_try="$ac_link"
 
5138
case "(($ac_try" in
 
5139
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5140
  *) ac_try_echo=$ac_try;;
 
5141
esac
 
5142
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5143
  (eval "$ac_link") 2>&5
4292
5144
  ac_status=$?
4293
5145
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294
5146
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4295
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4296
 
  (eval $ac_try) 2>&5
 
5147
  { (case "(($ac_try" in
 
5148
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5149
  *) ac_try_echo=$ac_try;;
 
5150
esac
 
5151
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5152
  (eval "$ac_try") 2>&5
4297
5153
  ac_status=$?
4298
5154
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299
5155
  (exit $ac_status); }; }; then
4306
5162
( exit $ac_status )
4307
5163
ac_cv_header_stdc=no
4308
5164
fi
4309
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4310
 
fi
4311
 
fi
4312
 
fi
4313
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4314
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
5165
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5166
fi
 
5167
 
 
5168
 
 
5169
fi
 
5170
fi
 
5171
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5172
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4315
5173
if test $ac_cv_header_stdc = yes; then
4316
5174
 
4317
5175
cat >>confdefs.h <<\_ACEOF
4334
5192
                  inttypes.h stdint.h unistd.h
4335
5193
do
4336
5194
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4337
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4338
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4339
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5195
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5196
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5197
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4340
5198
  echo $ECHO_N "(cached) $ECHO_C" >&6
4341
5199
else
4342
5200
  cat >conftest.$ac_ext <<_ACEOF
4350
5208
#include <$ac_header>
4351
5209
_ACEOF
4352
5210
rm -f conftest.$ac_objext
4353
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4354
 
  (eval $ac_compile) 2>conftest.er1
 
5211
if { (ac_try="$ac_compile"
 
5212
case "(($ac_try" in
 
5213
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5214
  *) ac_try_echo=$ac_try;;
 
5215
esac
 
5216
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5217
  (eval "$ac_compile") 2>conftest.er1
4355
5218
  ac_status=$?
4356
5219
  grep -v '^ *+' conftest.er1 >conftest.err
4357
5220
  rm -f conftest.er1
4358
5221
  cat conftest.err >&5
4359
5222
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360
5223
  (exit $ac_status); } &&
4361
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4362
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4363
 
  (eval $ac_try) 2>&5
 
5224
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5225
  { (case "(($ac_try" in
 
5226
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5227
  *) ac_try_echo=$ac_try;;
 
5228
esac
 
5229
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5230
  (eval "$ac_try") 2>&5
4364
5231
  ac_status=$?
4365
5232
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366
5233
  (exit $ac_status); }; } &&
4367
5234
         { ac_try='test -s conftest.$ac_objext'
4368
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4369
 
  (eval $ac_try) 2>&5
 
5235
  { (case "(($ac_try" in
 
5236
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5237
  *) ac_try_echo=$ac_try;;
 
5238
esac
 
5239
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5240
  (eval "$ac_try") 2>&5
4370
5241
  ac_status=$?
4371
5242
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372
5243
  (exit $ac_status); }; }; then
4375
5246
  echo "$as_me: failed program was:" >&5
4376
5247
sed 's/^/| /' conftest.$ac_ext >&5
4377
5248
 
4378
 
eval "$as_ac_Header=no"
4379
 
fi
4380
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4381
 
fi
4382
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4383
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5249
        eval "$as_ac_Header=no"
 
5250
fi
 
5251
 
 
5252
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5253
fi
 
5254
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5255
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5256
echo "${ECHO_T}$ac_res" >&6; }
4384
5257
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4385
5258
  cat >>confdefs.h <<_ACEOF
4386
5259
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4395
5268
for ac_header in dlfcn.h
4396
5269
do
4397
5270
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4398
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4399
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4400
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4401
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5271
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5272
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5273
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5274
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4402
5275
  echo $ECHO_N "(cached) $ECHO_C" >&6
4403
5276
fi
4404
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4405
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5277
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5278
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5279
echo "${ECHO_T}$ac_res" >&6; }
4406
5280
else
4407
5281
  # Is the header compilable?
4408
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4409
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5282
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5283
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4410
5284
cat >conftest.$ac_ext <<_ACEOF
4411
5285
/* confdefs.h.  */
4412
5286
_ACEOF
4417
5291
#include <$ac_header>
4418
5292
_ACEOF
4419
5293
rm -f conftest.$ac_objext
4420
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4421
 
  (eval $ac_compile) 2>conftest.er1
 
5294
if { (ac_try="$ac_compile"
 
5295
case "(($ac_try" in
 
5296
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5297
  *) ac_try_echo=$ac_try;;
 
5298
esac
 
5299
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5300
  (eval "$ac_compile") 2>conftest.er1
4422
5301
  ac_status=$?
4423
5302
  grep -v '^ *+' conftest.er1 >conftest.err
4424
5303
  rm -f conftest.er1
4425
5304
  cat conftest.err >&5
4426
5305
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427
5306
  (exit $ac_status); } &&
4428
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4429
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4430
 
  (eval $ac_try) 2>&5
 
5307
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5308
  { (case "(($ac_try" in
 
5309
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5310
  *) ac_try_echo=$ac_try;;
 
5311
esac
 
5312
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5313
  (eval "$ac_try") 2>&5
4431
5314
  ac_status=$?
4432
5315
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433
5316
  (exit $ac_status); }; } &&
4434
5317
         { ac_try='test -s conftest.$ac_objext'
4435
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4436
 
  (eval $ac_try) 2>&5
 
5318
  { (case "(($ac_try" in
 
5319
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5320
  *) ac_try_echo=$ac_try;;
 
5321
esac
 
5322
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5323
  (eval "$ac_try") 2>&5
4437
5324
  ac_status=$?
4438
5325
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439
5326
  (exit $ac_status); }; }; then
4442
5329
  echo "$as_me: failed program was:" >&5
4443
5330
sed 's/^/| /' conftest.$ac_ext >&5
4444
5331
 
4445
 
ac_header_compiler=no
 
5332
        ac_header_compiler=no
4446
5333
fi
4447
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4448
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4449
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5334
 
 
5335
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5336
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5337
echo "${ECHO_T}$ac_header_compiler" >&6; }
4450
5338
 
4451
5339
# Is the header present?
4452
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4453
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5340
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5341
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4454
5342
cat >conftest.$ac_ext <<_ACEOF
4455
5343
/* confdefs.h.  */
4456
5344
_ACEOF
4459
5347
/* end confdefs.h.  */
4460
5348
#include <$ac_header>
4461
5349
_ACEOF
4462
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4463
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5350
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5351
case "(($ac_try" in
 
5352
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5353
  *) ac_try_echo=$ac_try;;
 
5354
esac
 
5355
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5356
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4464
5357
  ac_status=$?
4465
5358
  grep -v '^ *+' conftest.er1 >conftest.err
4466
5359
  rm -f conftest.er1
4484
5377
 
4485
5378
  ac_header_preproc=no
4486
5379
fi
 
5380
 
4487
5381
rm -f conftest.err conftest.$ac_ext
4488
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4489
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5382
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5383
echo "${ECHO_T}$ac_header_preproc" >&6; }
4490
5384
 
4491
5385
# So?  What about this header?
4492
5386
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4510
5404
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4511
5405
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4512
5406
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4513
 
    (
4514
 
      cat <<\_ASBOX
 
5407
    ( cat <<\_ASBOX
4515
5408
## ----------------------------------- ##
4516
5409
## Report this to goodies-dev@xfce.org ##
4517
5410
## ----------------------------------- ##
4518
5411
_ASBOX
4519
 
    ) |
4520
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5412
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4521
5413
    ;;
4522
5414
esac
4523
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4524
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4525
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5415
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5416
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5417
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4526
5418
  echo $ECHO_N "(cached) $ECHO_C" >&6
4527
5419
else
4528
5420
  eval "$as_ac_Header=\$ac_header_preproc"
4529
5421
fi
4530
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4531
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5422
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5423
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5424
echo "${ECHO_T}$ac_res" >&6; }
4532
5425
 
4533
5426
fi
4534
5427
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4540
5433
 
4541
5434
done
4542
5435
 
4543
 
ac_ext=cc
 
5436
ac_ext=cpp
4544
5437
ac_cpp='$CXXCPP $CPPFLAGS'
4545
5438
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4546
5439
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4547
5440
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4548
 
if test -n "$ac_tool_prefix"; then
4549
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5441
if test -z "$CXX"; then
 
5442
  if test -n "$CCC"; then
 
5443
    CXX=$CCC
 
5444
  else
 
5445
    if test -n "$ac_tool_prefix"; then
 
5446
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4550
5447
  do
4551
5448
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4552
5449
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4553
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4554
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5450
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5451
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4555
5452
if test "${ac_cv_prog_CXX+set}" = set; then
4556
5453
  echo $ECHO_N "(cached) $ECHO_C" >&6
4557
5454
else
4564
5461
  IFS=$as_save_IFS
4565
5462
  test -z "$as_dir" && as_dir=.
4566
5463
  for ac_exec_ext in '' $ac_executable_extensions; do
4567
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5464
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4568
5465
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4569
5466
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4570
5467
    break 2
4571
5468
  fi
4572
5469
done
4573
5470
done
 
5471
IFS=$as_save_IFS
4574
5472
 
4575
5473
fi
4576
5474
fi
4577
5475
CXX=$ac_cv_prog_CXX
4578
5476
if test -n "$CXX"; then
4579
 
  echo "$as_me:$LINENO: result: $CXX" >&5
4580
 
echo "${ECHO_T}$CXX" >&6
 
5477
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
5478
echo "${ECHO_T}$CXX" >&6; }
4581
5479
else
4582
 
  echo "$as_me:$LINENO: result: no" >&5
4583
 
echo "${ECHO_T}no" >&6
 
5480
  { echo "$as_me:$LINENO: result: no" >&5
 
5481
echo "${ECHO_T}no" >&6; }
4584
5482
fi
4585
5483
 
 
5484
 
4586
5485
    test -n "$CXX" && break
4587
5486
  done
4588
5487
fi
4589
5488
if test -z "$CXX"; then
4590
5489
  ac_ct_CXX=$CXX
4591
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5490
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4592
5491
do
4593
5492
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4594
5493
set dummy $ac_prog; ac_word=$2
4595
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4596
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5494
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5495
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4597
5496
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4598
5497
  echo $ECHO_N "(cached) $ECHO_C" >&6
4599
5498
else
4606
5505
  IFS=$as_save_IFS
4607
5506
  test -z "$as_dir" && as_dir=.
4608
5507
  for ac_exec_ext in '' $ac_executable_extensions; do
4609
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5508
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4610
5509
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4611
5510
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4612
5511
    break 2
4613
5512
  fi
4614
5513
done
4615
5514
done
 
5515
IFS=$as_save_IFS
4616
5516
 
4617
5517
fi
4618
5518
fi
4619
5519
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4620
5520
if test -n "$ac_ct_CXX"; then
4621
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4622
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
5521
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5522
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4623
5523
else
4624
 
  echo "$as_me:$LINENO: result: no" >&5
4625
 
echo "${ECHO_T}no" >&6
 
5524
  { echo "$as_me:$LINENO: result: no" >&5
 
5525
echo "${ECHO_T}no" >&6; }
4626
5526
fi
4627
5527
 
 
5528
 
4628
5529
  test -n "$ac_ct_CXX" && break
4629
5530
done
4630
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4631
 
 
4632
 
  CXX=$ac_ct_CXX
4633
 
fi
4634
 
 
4635
 
 
 
5531
 
 
5532
  if test "x$ac_ct_CXX" = x; then
 
5533
    CXX="g++"
 
5534
  else
 
5535
    case $cross_compiling:$ac_tool_warned in
 
5536
yes:)
 
5537
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5538
whose name does not start with the host triplet.  If you think this
 
5539
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5540
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5541
whose name does not start with the host triplet.  If you think this
 
5542
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5543
ac_tool_warned=yes ;;
 
5544
esac
 
5545
    CXX=$ac_ct_CXX
 
5546
  fi
 
5547
fi
 
5548
 
 
5549
  fi
 
5550
fi
4636
5551
# Provide some information about the compiler.
4637
 
echo "$as_me:$LINENO:" \
4638
 
     "checking for C++ compiler version" >&5
 
5552
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4639
5553
ac_compiler=`set X $ac_compile; echo $2`
4640
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4641
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
4642
 
  ac_status=$?
4643
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644
 
  (exit $ac_status); }
4645
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4646
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
4647
 
  ac_status=$?
4648
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649
 
  (exit $ac_status); }
4650
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4651
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5554
{ (ac_try="$ac_compiler --version >&5"
 
5555
case "(($ac_try" in
 
5556
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5557
  *) ac_try_echo=$ac_try;;
 
5558
esac
 
5559
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5560
  (eval "$ac_compiler --version >&5") 2>&5
 
5561
  ac_status=$?
 
5562
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5563
  (exit $ac_status); }
 
5564
{ (ac_try="$ac_compiler -v >&5"
 
5565
case "(($ac_try" in
 
5566
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5567
  *) ac_try_echo=$ac_try;;
 
5568
esac
 
5569
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5570
  (eval "$ac_compiler -v >&5") 2>&5
 
5571
  ac_status=$?
 
5572
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5573
  (exit $ac_status); }
 
5574
{ (ac_try="$ac_compiler -V >&5"
 
5575
case "(($ac_try" in
 
5576
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5577
  *) ac_try_echo=$ac_try;;
 
5578
esac
 
5579
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5580
  (eval "$ac_compiler -V >&5") 2>&5
4652
5581
  ac_status=$?
4653
5582
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654
5583
  (exit $ac_status); }
4655
5584
 
4656
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4657
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
5585
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5586
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4658
5587
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4659
5588
  echo $ECHO_N "(cached) $ECHO_C" >&6
4660
5589
else
4677
5606
}
4678
5607
_ACEOF
4679
5608
rm -f conftest.$ac_objext
4680
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4681
 
  (eval $ac_compile) 2>conftest.er1
 
5609
if { (ac_try="$ac_compile"
 
5610
case "(($ac_try" in
 
5611
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5612
  *) ac_try_echo=$ac_try;;
 
5613
esac
 
5614
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5615
  (eval "$ac_compile") 2>conftest.er1
4682
5616
  ac_status=$?
4683
5617
  grep -v '^ *+' conftest.er1 >conftest.err
4684
5618
  rm -f conftest.er1
4685
5619
  cat conftest.err >&5
4686
5620
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4687
5621
  (exit $ac_status); } &&
4688
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4689
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4690
 
  (eval $ac_try) 2>&5
 
5622
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5623
  { (case "(($ac_try" in
 
5624
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5625
  *) ac_try_echo=$ac_try;;
 
5626
esac
 
5627
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5628
  (eval "$ac_try") 2>&5
4691
5629
  ac_status=$?
4692
5630
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4693
5631
  (exit $ac_status); }; } &&
4694
5632
         { ac_try='test -s conftest.$ac_objext'
4695
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4696
 
  (eval $ac_try) 2>&5
 
5633
  { (case "(($ac_try" in
 
5634
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5635
  *) ac_try_echo=$ac_try;;
 
5636
esac
 
5637
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5638
  (eval "$ac_try") 2>&5
4697
5639
  ac_status=$?
4698
5640
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699
5641
  (exit $ac_status); }; }; then
4702
5644
  echo "$as_me: failed program was:" >&5
4703
5645
sed 's/^/| /' conftest.$ac_ext >&5
4704
5646
 
4705
 
ac_compiler_gnu=no
 
5647
        ac_compiler_gnu=no
4706
5648
fi
4707
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5649
 
 
5650
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4708
5651
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4709
5652
 
4710
5653
fi
4711
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4712
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
5654
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
5655
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4713
5656
GXX=`test $ac_compiler_gnu = yes && echo yes`
4714
5657
ac_test_CXXFLAGS=${CXXFLAGS+set}
4715
5658
ac_save_CXXFLAGS=$CXXFLAGS
4716
 
CXXFLAGS="-g"
4717
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4718
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
5659
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
5660
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4719
5661
if test "${ac_cv_prog_cxx_g+set}" = set; then
4720
5662
  echo $ECHO_N "(cached) $ECHO_C" >&6
4721
5663
else
4722
 
  cat >conftest.$ac_ext <<_ACEOF
4723
 
/* confdefs.h.  */
4724
 
_ACEOF
4725
 
cat confdefs.h >>conftest.$ac_ext
4726
 
cat >>conftest.$ac_ext <<_ACEOF
4727
 
/* end confdefs.h.  */
4728
 
 
4729
 
int
4730
 
main ()
4731
 
{
4732
 
 
4733
 
  ;
4734
 
  return 0;
4735
 
}
4736
 
_ACEOF
4737
 
rm -f conftest.$ac_objext
4738
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4739
 
  (eval $ac_compile) 2>conftest.er1
4740
 
  ac_status=$?
4741
 
  grep -v '^ *+' conftest.er1 >conftest.err
4742
 
  rm -f conftest.er1
4743
 
  cat conftest.err >&5
4744
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745
 
  (exit $ac_status); } &&
4746
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4747
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4748
 
  (eval $ac_try) 2>&5
4749
 
  ac_status=$?
4750
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751
 
  (exit $ac_status); }; } &&
4752
 
         { ac_try='test -s conftest.$ac_objext'
4753
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754
 
  (eval $ac_try) 2>&5
4755
 
  ac_status=$?
4756
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757
 
  (exit $ac_status); }; }; then
4758
 
  ac_cv_prog_cxx_g=yes
4759
 
else
4760
 
  echo "$as_me: failed program was:" >&5
4761
 
sed 's/^/| /' conftest.$ac_ext >&5
4762
 
 
4763
 
ac_cv_prog_cxx_g=no
4764
 
fi
4765
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4766
 
fi
4767
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4768
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
5664
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
5665
   ac_cxx_werror_flag=yes
 
5666
   ac_cv_prog_cxx_g=no
 
5667
   CXXFLAGS="-g"
 
5668
   cat >conftest.$ac_ext <<_ACEOF
 
5669
/* confdefs.h.  */
 
5670
_ACEOF
 
5671
cat confdefs.h >>conftest.$ac_ext
 
5672
cat >>conftest.$ac_ext <<_ACEOF
 
5673
/* end confdefs.h.  */
 
5674
 
 
5675
int
 
5676
main ()
 
5677
{
 
5678
 
 
5679
  ;
 
5680
  return 0;
 
5681
}
 
5682
_ACEOF
 
5683
rm -f conftest.$ac_objext
 
5684
if { (ac_try="$ac_compile"
 
5685
case "(($ac_try" in
 
5686
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5687
  *) ac_try_echo=$ac_try;;
 
5688
esac
 
5689
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5690
  (eval "$ac_compile") 2>conftest.er1
 
5691
  ac_status=$?
 
5692
  grep -v '^ *+' conftest.er1 >conftest.err
 
5693
  rm -f conftest.er1
 
5694
  cat conftest.err >&5
 
5695
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5696
  (exit $ac_status); } &&
 
5697
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5698
  { (case "(($ac_try" in
 
5699
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5700
  *) ac_try_echo=$ac_try;;
 
5701
esac
 
5702
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5703
  (eval "$ac_try") 2>&5
 
5704
  ac_status=$?
 
5705
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5706
  (exit $ac_status); }; } &&
 
5707
         { ac_try='test -s conftest.$ac_objext'
 
5708
  { (case "(($ac_try" in
 
5709
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5710
  *) ac_try_echo=$ac_try;;
 
5711
esac
 
5712
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5713
  (eval "$ac_try") 2>&5
 
5714
  ac_status=$?
 
5715
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5716
  (exit $ac_status); }; }; then
 
5717
  ac_cv_prog_cxx_g=yes
 
5718
else
 
5719
  echo "$as_me: failed program was:" >&5
 
5720
sed 's/^/| /' conftest.$ac_ext >&5
 
5721
 
 
5722
        CXXFLAGS=""
 
5723
      cat >conftest.$ac_ext <<_ACEOF
 
5724
/* confdefs.h.  */
 
5725
_ACEOF
 
5726
cat confdefs.h >>conftest.$ac_ext
 
5727
cat >>conftest.$ac_ext <<_ACEOF
 
5728
/* end confdefs.h.  */
 
5729
 
 
5730
int
 
5731
main ()
 
5732
{
 
5733
 
 
5734
  ;
 
5735
  return 0;
 
5736
}
 
5737
_ACEOF
 
5738
rm -f conftest.$ac_objext
 
5739
if { (ac_try="$ac_compile"
 
5740
case "(($ac_try" in
 
5741
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5742
  *) ac_try_echo=$ac_try;;
 
5743
esac
 
5744
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5745
  (eval "$ac_compile") 2>conftest.er1
 
5746
  ac_status=$?
 
5747
  grep -v '^ *+' conftest.er1 >conftest.err
 
5748
  rm -f conftest.er1
 
5749
  cat conftest.err >&5
 
5750
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5751
  (exit $ac_status); } &&
 
5752
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5753
  { (case "(($ac_try" in
 
5754
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5755
  *) ac_try_echo=$ac_try;;
 
5756
esac
 
5757
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5758
  (eval "$ac_try") 2>&5
 
5759
  ac_status=$?
 
5760
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5761
  (exit $ac_status); }; } &&
 
5762
         { ac_try='test -s conftest.$ac_objext'
 
5763
  { (case "(($ac_try" in
 
5764
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5765
  *) ac_try_echo=$ac_try;;
 
5766
esac
 
5767
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5768
  (eval "$ac_try") 2>&5
 
5769
  ac_status=$?
 
5770
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5771
  (exit $ac_status); }; }; then
 
5772
  :
 
5773
else
 
5774
  echo "$as_me: failed program was:" >&5
 
5775
sed 's/^/| /' conftest.$ac_ext >&5
 
5776
 
 
5777
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5778
         CXXFLAGS="-g"
 
5779
         cat >conftest.$ac_ext <<_ACEOF
 
5780
/* confdefs.h.  */
 
5781
_ACEOF
 
5782
cat confdefs.h >>conftest.$ac_ext
 
5783
cat >>conftest.$ac_ext <<_ACEOF
 
5784
/* end confdefs.h.  */
 
5785
 
 
5786
int
 
5787
main ()
 
5788
{
 
5789
 
 
5790
  ;
 
5791
  return 0;
 
5792
}
 
5793
_ACEOF
 
5794
rm -f conftest.$ac_objext
 
5795
if { (ac_try="$ac_compile"
 
5796
case "(($ac_try" in
 
5797
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5798
  *) ac_try_echo=$ac_try;;
 
5799
esac
 
5800
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5801
  (eval "$ac_compile") 2>conftest.er1
 
5802
  ac_status=$?
 
5803
  grep -v '^ *+' conftest.er1 >conftest.err
 
5804
  rm -f conftest.er1
 
5805
  cat conftest.err >&5
 
5806
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5807
  (exit $ac_status); } &&
 
5808
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
5809
  { (case "(($ac_try" in
 
5810
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5811
  *) ac_try_echo=$ac_try;;
 
5812
esac
 
5813
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5814
  (eval "$ac_try") 2>&5
 
5815
  ac_status=$?
 
5816
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5817
  (exit $ac_status); }; } &&
 
5818
         { ac_try='test -s conftest.$ac_objext'
 
5819
  { (case "(($ac_try" in
 
5820
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5821
  *) ac_try_echo=$ac_try;;
 
5822
esac
 
5823
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5824
  (eval "$ac_try") 2>&5
 
5825
  ac_status=$?
 
5826
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5827
  (exit $ac_status); }; }; then
 
5828
  ac_cv_prog_cxx_g=yes
 
5829
else
 
5830
  echo "$as_me: failed program was:" >&5
 
5831
sed 's/^/| /' conftest.$ac_ext >&5
 
5832
 
 
5833
 
 
5834
fi
 
5835
 
 
5836
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5837
fi
 
5838
 
 
5839
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5840
fi
 
5841
 
 
5842
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5843
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5844
fi
 
5845
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
5846
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4769
5847
if test "$ac_test_CXXFLAGS" = set; then
4770
5848
  CXXFLAGS=$ac_save_CXXFLAGS
4771
5849
elif test $ac_cv_prog_cxx_g = yes; then
4781
5859
    CXXFLAGS=
4782
5860
  fi
4783
5861
fi
4784
 
for ac_declaration in \
4785
 
   '' \
4786
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4787
 
   'extern "C" void std::exit (int); using std::exit;' \
4788
 
   'extern "C" void exit (int) throw ();' \
4789
 
   'extern "C" void exit (int);' \
4790
 
   'void exit (int);'
4791
 
do
4792
 
  cat >conftest.$ac_ext <<_ACEOF
4793
 
/* confdefs.h.  */
4794
 
_ACEOF
4795
 
cat confdefs.h >>conftest.$ac_ext
4796
 
cat >>conftest.$ac_ext <<_ACEOF
4797
 
/* end confdefs.h.  */
4798
 
$ac_declaration
4799
 
#include <stdlib.h>
4800
 
int
4801
 
main ()
4802
 
{
4803
 
exit (42);
4804
 
  ;
4805
 
  return 0;
4806
 
}
4807
 
_ACEOF
4808
 
rm -f conftest.$ac_objext
4809
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4810
 
  (eval $ac_compile) 2>conftest.er1
4811
 
  ac_status=$?
4812
 
  grep -v '^ *+' conftest.er1 >conftest.err
4813
 
  rm -f conftest.er1
4814
 
  cat conftest.err >&5
4815
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816
 
  (exit $ac_status); } &&
4817
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4818
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4819
 
  (eval $ac_try) 2>&5
4820
 
  ac_status=$?
4821
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822
 
  (exit $ac_status); }; } &&
4823
 
         { ac_try='test -s conftest.$ac_objext'
4824
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4825
 
  (eval $ac_try) 2>&5
4826
 
  ac_status=$?
4827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828
 
  (exit $ac_status); }; }; then
4829
 
  :
4830
 
else
4831
 
  echo "$as_me: failed program was:" >&5
4832
 
sed 's/^/| /' conftest.$ac_ext >&5
4833
 
 
4834
 
continue
4835
 
fi
4836
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4837
 
  cat >conftest.$ac_ext <<_ACEOF
4838
 
/* confdefs.h.  */
4839
 
_ACEOF
4840
 
cat confdefs.h >>conftest.$ac_ext
4841
 
cat >>conftest.$ac_ext <<_ACEOF
4842
 
/* end confdefs.h.  */
4843
 
$ac_declaration
4844
 
int
4845
 
main ()
4846
 
{
4847
 
exit (42);
4848
 
  ;
4849
 
  return 0;
4850
 
}
4851
 
_ACEOF
4852
 
rm -f conftest.$ac_objext
4853
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4854
 
  (eval $ac_compile) 2>conftest.er1
4855
 
  ac_status=$?
4856
 
  grep -v '^ *+' conftest.er1 >conftest.err
4857
 
  rm -f conftest.er1
4858
 
  cat conftest.err >&5
4859
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860
 
  (exit $ac_status); } &&
4861
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4862
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4863
 
  (eval $ac_try) 2>&5
4864
 
  ac_status=$?
4865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866
 
  (exit $ac_status); }; } &&
4867
 
         { ac_try='test -s conftest.$ac_objext'
4868
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4869
 
  (eval $ac_try) 2>&5
4870
 
  ac_status=$?
4871
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872
 
  (exit $ac_status); }; }; then
4873
 
  break
4874
 
else
4875
 
  echo "$as_me: failed program was:" >&5
4876
 
sed 's/^/| /' conftest.$ac_ext >&5
4877
 
 
4878
 
fi
4879
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4880
 
done
4881
 
rm -f conftest*
4882
 
if test -n "$ac_declaration"; then
4883
 
  echo '#ifdef __cplusplus' >>confdefs.h
4884
 
  echo $ac_declaration      >>confdefs.h
4885
 
  echo '#endif'             >>confdefs.h
4886
 
fi
4887
 
 
4888
 
ac_ext=cc
 
5862
ac_ext=cpp
4889
5863
ac_cpp='$CXXCPP $CPPFLAGS'
4890
5864
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4891
5865
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4893
5867
 
4894
5868
depcc="$CXX"  am_compiler_list=
4895
5869
 
4896
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4897
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
5870
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5871
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4898
5872
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4899
5873
  echo $ECHO_N "(cached) $ECHO_C" >&6
4900
5874
else
4983
5957
fi
4984
5958
 
4985
5959
fi
4986
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4987
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
5960
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
5961
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4988
5962
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4989
5963
 
4990
5964
 
5000
5974
fi
5001
5975
 
5002
5976
 
5003
 
ac_ext=cc
 
5977
 
 
5978
 
 
5979
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
5980
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
5981
    (test "X$CXX" != "Xg++"))) ; then
 
5982
  ac_ext=cpp
5004
5983
ac_cpp='$CXXCPP $CPPFLAGS'
5005
5984
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5006
5985
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5007
5986
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5008
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5009
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
5987
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
5988
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5010
5989
if test -z "$CXXCPP"; then
5011
5990
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5012
5991
  echo $ECHO_N "(cached) $ECHO_C" >&6
5036
6015
#endif
5037
6016
                     Syntax error
5038
6017
_ACEOF
5039
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5040
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6018
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6019
case "(($ac_try" in
 
6020
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6021
  *) ac_try_echo=$ac_try;;
 
6022
esac
 
6023
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6024
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5041
6025
  ac_status=$?
5042
6026
  grep -v '^ *+' conftest.er1 >conftest.err
5043
6027
  rm -f conftest.er1
5062
6046
  # Broken: fails on valid input.
5063
6047
continue
5064
6048
fi
 
6049
 
5065
6050
rm -f conftest.err conftest.$ac_ext
5066
6051
 
5067
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6052
  # OK, works on sane cases.  Now check whether nonexistent headers
5068
6053
  # can be detected and how.
5069
6054
  cat >conftest.$ac_ext <<_ACEOF
5070
6055
/* confdefs.h.  */
5074
6059
/* end confdefs.h.  */
5075
6060
#include <ac_nonexistent.h>
5076
6061
_ACEOF
5077
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5078
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6062
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6063
case "(($ac_try" in
 
6064
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6065
  *) ac_try_echo=$ac_try;;
 
6066
esac
 
6067
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6068
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5079
6069
  ac_status=$?
5080
6070
  grep -v '^ *+' conftest.er1 >conftest.err
5081
6071
  rm -f conftest.er1
5102
6092
ac_preproc_ok=:
5103
6093
break
5104
6094
fi
 
6095
 
5105
6096
rm -f conftest.err conftest.$ac_ext
5106
6097
 
5107
6098
done
5119
6110
else
5120
6111
  ac_cv_prog_CXXCPP=$CXXCPP
5121
6112
fi
5122
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5123
 
echo "${ECHO_T}$CXXCPP" >&6
 
6113
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
6114
echo "${ECHO_T}$CXXCPP" >&6; }
5124
6115
ac_preproc_ok=false
5125
6116
for ac_cxx_preproc_warn_flag in '' yes
5126
6117
do
5143
6134
#endif
5144
6135
                     Syntax error
5145
6136
_ACEOF
5146
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5147
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6137
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6138
case "(($ac_try" in
 
6139
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6140
  *) ac_try_echo=$ac_try;;
 
6141
esac
 
6142
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6143
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5148
6144
  ac_status=$?
5149
6145
  grep -v '^ *+' conftest.er1 >conftest.err
5150
6146
  rm -f conftest.er1
5169
6165
  # Broken: fails on valid input.
5170
6166
continue
5171
6167
fi
 
6168
 
5172
6169
rm -f conftest.err conftest.$ac_ext
5173
6170
 
5174
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6171
  # OK, works on sane cases.  Now check whether nonexistent headers
5175
6172
  # can be detected and how.
5176
6173
  cat >conftest.$ac_ext <<_ACEOF
5177
6174
/* confdefs.h.  */
5181
6178
/* end confdefs.h.  */
5182
6179
#include <ac_nonexistent.h>
5183
6180
_ACEOF
5184
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5185
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6181
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6182
case "(($ac_try" in
 
6183
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6184
  *) ac_try_echo=$ac_try;;
 
6185
esac
 
6186
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6187
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5186
6188
  ac_status=$?
5187
6189
  grep -v '^ *+' conftest.er1 >conftest.err
5188
6190
  rm -f conftest.er1
5209
6211
ac_preproc_ok=:
5210
6212
break
5211
6213
fi
 
6214
 
5212
6215
rm -f conftest.err conftest.$ac_ext
5213
6216
 
5214
6217
done
5224
6227
   { (exit 1); exit 1; }; }
5225
6228
fi
5226
6229
 
5227
 
ac_ext=cc
 
6230
ac_ext=cpp
5228
6231
ac_cpp='$CXXCPP $CPPFLAGS'
5229
6232
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5230
6233
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5231
6234
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5232
6235
 
 
6236
fi
 
6237
 
5233
6238
 
5234
6239
ac_ext=f
5235
6240
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5236
6241
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5237
6242
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5238
6243
if test -n "$ac_tool_prefix"; then
5239
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6244
  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
5240
6245
  do
5241
6246
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5242
6247
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5243
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5244
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6248
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6249
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5245
6250
if test "${ac_cv_prog_F77+set}" = set; then
5246
6251
  echo $ECHO_N "(cached) $ECHO_C" >&6
5247
6252
else
5254
6259
  IFS=$as_save_IFS
5255
6260
  test -z "$as_dir" && as_dir=.
5256
6261
  for ac_exec_ext in '' $ac_executable_extensions; do
5257
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6262
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5258
6263
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5259
6264
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5260
6265
    break 2
5261
6266
  fi
5262
6267
done
5263
6268
done
 
6269
IFS=$as_save_IFS
5264
6270
 
5265
6271
fi
5266
6272
fi
5267
6273
F77=$ac_cv_prog_F77
5268
6274
if test -n "$F77"; then
5269
 
  echo "$as_me:$LINENO: result: $F77" >&5
5270
 
echo "${ECHO_T}$F77" >&6
 
6275
  { echo "$as_me:$LINENO: result: $F77" >&5
 
6276
echo "${ECHO_T}$F77" >&6; }
5271
6277
else
5272
 
  echo "$as_me:$LINENO: result: no" >&5
5273
 
echo "${ECHO_T}no" >&6
 
6278
  { echo "$as_me:$LINENO: result: no" >&5
 
6279
echo "${ECHO_T}no" >&6; }
5274
6280
fi
5275
6281
 
 
6282
 
5276
6283
    test -n "$F77" && break
5277
6284
  done
5278
6285
fi
5279
6286
if test -z "$F77"; then
5280
6287
  ac_ct_F77=$F77
5281
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6288
  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
5282
6289
do
5283
6290
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5284
6291
set dummy $ac_prog; ac_word=$2
5285
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5286
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6292
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6293
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5287
6294
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5288
6295
  echo $ECHO_N "(cached) $ECHO_C" >&6
5289
6296
else
5296
6303
  IFS=$as_save_IFS
5297
6304
  test -z "$as_dir" && as_dir=.
5298
6305
  for ac_exec_ext in '' $ac_executable_extensions; do
5299
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6306
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5300
6307
    ac_cv_prog_ac_ct_F77="$ac_prog"
5301
6308
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5302
6309
    break 2
5303
6310
  fi
5304
6311
done
5305
6312
done
 
6313
IFS=$as_save_IFS
5306
6314
 
5307
6315
fi
5308
6316
fi
5309
6317
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5310
6318
if test -n "$ac_ct_F77"; then
5311
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5312
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
6319
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6320
echo "${ECHO_T}$ac_ct_F77" >&6; }
5313
6321
else
5314
 
  echo "$as_me:$LINENO: result: no" >&5
5315
 
echo "${ECHO_T}no" >&6
 
6322
  { echo "$as_me:$LINENO: result: no" >&5
 
6323
echo "${ECHO_T}no" >&6; }
5316
6324
fi
5317
6325
 
 
6326
 
5318
6327
  test -n "$ac_ct_F77" && break
5319
6328
done
5320
6329
 
5321
 
  F77=$ac_ct_F77
 
6330
  if test "x$ac_ct_F77" = x; then
 
6331
    F77=""
 
6332
  else
 
6333
    case $cross_compiling:$ac_tool_warned in
 
6334
yes:)
 
6335
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6336
whose name does not start with the host triplet.  If you think this
 
6337
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6338
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6339
whose name does not start with the host triplet.  If you think this
 
6340
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6341
ac_tool_warned=yes ;;
 
6342
esac
 
6343
    F77=$ac_ct_F77
 
6344
  fi
5322
6345
fi
5323
6346
 
5324
6347
 
5325
6348
# Provide some information about the compiler.
5326
 
echo "$as_me:5326:" \
5327
 
     "checking for Fortran 77 compiler version" >&5
 
6349
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5328
6350
ac_compiler=`set X $ac_compile; echo $2`
5329
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5330
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5331
 
  ac_status=$?
5332
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5333
 
  (exit $ac_status); }
5334
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5335
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5336
 
  ac_status=$?
5337
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338
 
  (exit $ac_status); }
5339
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5340
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
6351
{ (ac_try="$ac_compiler --version >&5"
 
6352
case "(($ac_try" in
 
6353
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6354
  *) ac_try_echo=$ac_try;;
 
6355
esac
 
6356
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6357
  (eval "$ac_compiler --version >&5") 2>&5
 
6358
  ac_status=$?
 
6359
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6360
  (exit $ac_status); }
 
6361
{ (ac_try="$ac_compiler -v >&5"
 
6362
case "(($ac_try" in
 
6363
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6364
  *) ac_try_echo=$ac_try;;
 
6365
esac
 
6366
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6367
  (eval "$ac_compiler -v >&5") 2>&5
 
6368
  ac_status=$?
 
6369
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6370
  (exit $ac_status); }
 
6371
{ (ac_try="$ac_compiler -V >&5"
 
6372
case "(($ac_try" in
 
6373
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6374
  *) ac_try_echo=$ac_try;;
 
6375
esac
 
6376
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6377
  (eval "$ac_compiler -V >&5") 2>&5
5341
6378
  ac_status=$?
5342
6379
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343
6380
  (exit $ac_status); }
5347
6384
# input file.  (Note that this only needs to work for GNU compilers.)
5348
6385
ac_save_ext=$ac_ext
5349
6386
ac_ext=F
5350
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5351
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
6387
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6388
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5352
6389
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5353
6390
  echo $ECHO_N "(cached) $ECHO_C" >&6
5354
6391
else
5361
6398
      end
5362
6399
_ACEOF
5363
6400
rm -f conftest.$ac_objext
5364
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5365
 
  (eval $ac_compile) 2>conftest.er1
 
6401
if { (ac_try="$ac_compile"
 
6402
case "(($ac_try" in
 
6403
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6404
  *) ac_try_echo=$ac_try;;
 
6405
esac
 
6406
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6407
  (eval "$ac_compile") 2>conftest.er1
5366
6408
  ac_status=$?
5367
6409
  grep -v '^ *+' conftest.er1 >conftest.err
5368
6410
  rm -f conftest.er1
5369
6411
  cat conftest.err >&5
5370
6412
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371
6413
  (exit $ac_status); } &&
5372
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5373
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5374
 
  (eval $ac_try) 2>&5
 
6414
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
6415
  { (case "(($ac_try" in
 
6416
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6417
  *) ac_try_echo=$ac_try;;
 
6418
esac
 
6419
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6420
  (eval "$ac_try") 2>&5
5375
6421
  ac_status=$?
5376
6422
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377
6423
  (exit $ac_status); }; } &&
5378
6424
         { ac_try='test -s conftest.$ac_objext'
5379
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5380
 
  (eval $ac_try) 2>&5
 
6425
  { (case "(($ac_try" in
 
6426
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6427
  *) ac_try_echo=$ac_try;;
 
6428
esac
 
6429
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6430
  (eval "$ac_try") 2>&5
5381
6431
  ac_status=$?
5382
6432
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383
6433
  (exit $ac_status); }; }; then
5386
6436
  echo "$as_me: failed program was:" >&5
5387
6437
sed 's/^/| /' conftest.$ac_ext >&5
5388
6438
 
5389
 
ac_compiler_gnu=no
 
6439
        ac_compiler_gnu=no
5390
6440
fi
5391
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6441
 
 
6442
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5392
6443
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5393
6444
 
5394
6445
fi
5395
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5396
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6446
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6447
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5397
6448
ac_ext=$ac_save_ext
5398
6449
ac_test_FFLAGS=${FFLAGS+set}
5399
6450
ac_save_FFLAGS=$FFLAGS
5400
6451
FFLAGS=
5401
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5402
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6452
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6453
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5403
6454
if test "${ac_cv_prog_f77_g+set}" = set; then
5404
6455
  echo $ECHO_N "(cached) $ECHO_C" >&6
5405
6456
else
5410
6461
      end
5411
6462
_ACEOF
5412
6463
rm -f conftest.$ac_objext
5413
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5414
 
  (eval $ac_compile) 2>conftest.er1
 
6464
if { (ac_try="$ac_compile"
 
6465
case "(($ac_try" in
 
6466
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6467
  *) ac_try_echo=$ac_try;;
 
6468
esac
 
6469
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6470
  (eval "$ac_compile") 2>conftest.er1
5415
6471
  ac_status=$?
5416
6472
  grep -v '^ *+' conftest.er1 >conftest.err
5417
6473
  rm -f conftest.er1
5418
6474
  cat conftest.err >&5
5419
6475
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420
6476
  (exit $ac_status); } &&
5421
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5422
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5423
 
  (eval $ac_try) 2>&5
 
6477
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
6478
  { (case "(($ac_try" in
 
6479
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6480
  *) ac_try_echo=$ac_try;;
 
6481
esac
 
6482
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6483
  (eval "$ac_try") 2>&5
5424
6484
  ac_status=$?
5425
6485
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5426
6486
  (exit $ac_status); }; } &&
5427
6487
         { ac_try='test -s conftest.$ac_objext'
5428
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5429
 
  (eval $ac_try) 2>&5
 
6488
  { (case "(($ac_try" in
 
6489
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6490
  *) ac_try_echo=$ac_try;;
 
6491
esac
 
6492
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6493
  (eval "$ac_try") 2>&5
5430
6494
  ac_status=$?
5431
6495
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5432
6496
  (exit $ac_status); }; }; then
5435
6499
  echo "$as_me: failed program was:" >&5
5436
6500
sed 's/^/| /' conftest.$ac_ext >&5
5437
6501
 
5438
 
ac_cv_prog_f77_g=no
5439
 
fi
5440
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5441
 
 
5442
 
fi
5443
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5444
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6502
        ac_cv_prog_f77_g=no
 
6503
fi
 
6504
 
 
6505
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6506
 
 
6507
fi
 
6508
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6509
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5445
6510
if test "$ac_test_FFLAGS" = set; then
5446
6511
  FFLAGS=$ac_save_FFLAGS
5447
6512
elif test $ac_cv_prog_f77_g = yes; then
5470
6535
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5471
6536
 
5472
6537
# find the maximum length of command line arguments
5473
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5474
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6538
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6539
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5475
6540
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5476
6541
  echo $ECHO_N "(cached) $ECHO_C" >&6
5477
6542
else
5511
6576
    lt_cv_sys_max_cmd_len=8192;
5512
6577
    ;;
5513
6578
 
5514
 
 *)
 
6579
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6580
    # This has been around since 386BSD, at least.  Likely further.
 
6581
    if test -x /sbin/sysctl; then
 
6582
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6583
    elif test -x /usr/sbin/sysctl; then
 
6584
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6585
    else
 
6586
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6587
    fi
 
6588
    # And add a safety zone
 
6589
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6590
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6591
    ;;
 
6592
 
 
6593
  interix*)
 
6594
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6595
    lt_cv_sys_max_cmd_len=196608
 
6596
    ;;
 
6597
 
 
6598
  osf*)
 
6599
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6600
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6601
    # nice to cause kernel panics so lets avoid the loop below.
 
6602
    # First set a reasonable default.
 
6603
    lt_cv_sys_max_cmd_len=16384
 
6604
    #
 
6605
    if test -x /sbin/sysconfig; then
 
6606
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6607
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6608
      esac
 
6609
    fi
 
6610
    ;;
 
6611
  sco3.2v5*)
 
6612
    lt_cv_sys_max_cmd_len=102400
 
6613
    ;;
 
6614
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6615
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6616
    if test -n "$kargmax"; then
 
6617
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
 
6618
    else
 
6619
      lt_cv_sys_max_cmd_len=32768
 
6620
    fi
 
6621
    ;;
 
6622
  *)
5515
6623
    # If test is not a shell built-in, we'll probably end up computing a
5516
6624
    # maximum length that is only half of the actual maximum length, but
5517
6625
    # we can't tell.
5518
 
    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6626
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6627
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5519
6628
               = "XX$teststring") >/dev/null 2>&1 &&
5520
6629
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
5521
6630
            lt_cv_sys_max_cmd_len=$new_result &&
5535
6644
fi
5536
6645
 
5537
6646
if test -n $lt_cv_sys_max_cmd_len ; then
5538
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5539
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6647
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6648
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5540
6649
else
5541
 
  echo "$as_me:$LINENO: result: none" >&5
5542
 
echo "${ECHO_T}none" >&6
 
6650
  { echo "$as_me:$LINENO: result: none" >&5
 
6651
echo "${ECHO_T}none" >&6; }
5543
6652
fi
5544
6653
 
5545
6654
 
5546
6655
 
5547
6656
 
5548
6657
# Check for command to grab the raw symbol name followed by C symbol from nm.
5549
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5550
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6658
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6659
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5551
6660
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5552
6661
  echo $ECHO_N "(cached) $ECHO_C" >&6
5553
6662
else
5561
6670
# Regexp to match symbols that can be accessed directly from C.
5562
6671
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5563
6672
 
5564
 
# Transform the above into a raw symbol and a C symbol.
5565
 
symxfrm='\1 \2\3 \3'
5566
 
 
5567
6673
# Transform an extracted symbol line into a proper C declaration
5568
6674
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5569
6675
 
5585
6691
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5586
6692
  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'"
5587
6693
  ;;
 
6694
linux* | k*bsd*-gnu)
 
6695
  if test "$host_cpu" = ia64; then
 
6696
    symcode='[ABCDGIRSTW]'
 
6697
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6698
    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'"
 
6699
  fi
 
6700
  ;;
5588
6701
irix* | nonstopux*)
5589
6702
  symcode='[BCDEGRST]'
5590
6703
  ;;
5591
6704
osf*)
5592
6705
  symcode='[BCDEGQRST]'
5593
6706
  ;;
5594
 
solaris* | sysv5*)
 
6707
solaris*)
5595
6708
  symcode='[BDRT]'
5596
6709
  ;;
 
6710
sco3.2v5*)
 
6711
  symcode='[DT]'
 
6712
  ;;
 
6713
sysv4.2uw2*)
 
6714
  symcode='[DT]'
 
6715
  ;;
 
6716
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
6717
  symcode='[ABDT]'
 
6718
  ;;
5597
6719
sysv4)
5598
6720
  symcode='[DFNSTU]'
5599
6721
  ;;
5616
6738
# Try without a prefix undercore, then with it.
5617
6739
for ac_symprfx in "" "_"; do
5618
6740
 
 
6741
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
6742
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
6743
 
5619
6744
  # Write the raw and C identifiers.
5620
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
 
6745
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5621
6746
 
5622
6747
  # Check to see that the pipe works correctly.
5623
6748
  pipe_works=no
5735
6860
  lt_cv_sys_global_symbol_to_cdecl=
5736
6861
fi
5737
6862
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5738
 
  echo "$as_me:$LINENO: result: failed" >&5
5739
 
echo "${ECHO_T}failed" >&6
 
6863
  { echo "$as_me:$LINENO: result: failed" >&5
 
6864
echo "${ECHO_T}failed" >&6; }
5740
6865
else
5741
 
  echo "$as_me:$LINENO: result: ok" >&5
5742
 
echo "${ECHO_T}ok" >&6
 
6866
  { echo "$as_me:$LINENO: result: ok" >&5
 
6867
echo "${ECHO_T}ok" >&6; }
5743
6868
fi
5744
6869
 
5745
 
echo "$as_me:$LINENO: checking for objdir" >&5
5746
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
6870
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
6871
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5747
6872
if test "${lt_cv_objdir+set}" = set; then
5748
6873
  echo $ECHO_N "(cached) $ECHO_C" >&6
5749
6874
else
5757
6882
fi
5758
6883
rmdir .libs 2>/dev/null
5759
6884
fi
5760
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5761
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
6885
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6886
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5762
6887
objdir=$lt_cv_objdir
5763
6888
 
5764
6889
 
5779
6904
 
5780
6905
# Sed substitution that helps us do robust quoting.  It backslashifies
5781
6906
# metacharacters that are still active within double-quoted strings.
5782
 
Xsed='sed -e s/^X//'
 
6907
Xsed='sed -e 1s/^X//'
5783
6908
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5784
6909
 
5785
6910
# Same as above, but do not quote variable references.
5799
6924
default_ofile=libtool
5800
6925
can_build_shared=yes
5801
6926
 
5802
 
# All known linkers require a `.a' archive for static linking (except M$VC,
 
6927
# All known linkers require a `.a' archive for static linking (except MSVC,
5803
6928
# which needs '.lib').
5804
6929
libext=a
5805
6930
ltmain="$ac_aux_dir/ltmain.sh"
5809
6934
if test -n "$ac_tool_prefix"; then
5810
6935
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5811
6936
set dummy ${ac_tool_prefix}ar; ac_word=$2
5812
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5813
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6937
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6938
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5814
6939
if test "${ac_cv_prog_AR+set}" = set; then
5815
6940
  echo $ECHO_N "(cached) $ECHO_C" >&6
5816
6941
else
5823
6948
  IFS=$as_save_IFS
5824
6949
  test -z "$as_dir" && as_dir=.
5825
6950
  for ac_exec_ext in '' $ac_executable_extensions; do
5826
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6951
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5827
6952
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5828
6953
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5829
6954
    break 2
5830
6955
  fi
5831
6956
done
5832
6957
done
 
6958
IFS=$as_save_IFS
5833
6959
 
5834
6960
fi
5835
6961
fi
5836
6962
AR=$ac_cv_prog_AR
5837
6963
if test -n "$AR"; then
5838
 
  echo "$as_me:$LINENO: result: $AR" >&5
5839
 
echo "${ECHO_T}$AR" >&6
 
6964
  { echo "$as_me:$LINENO: result: $AR" >&5
 
6965
echo "${ECHO_T}$AR" >&6; }
5840
6966
else
5841
 
  echo "$as_me:$LINENO: result: no" >&5
5842
 
echo "${ECHO_T}no" >&6
 
6967
  { echo "$as_me:$LINENO: result: no" >&5
 
6968
echo "${ECHO_T}no" >&6; }
5843
6969
fi
 
6970
 
5844
6971
 
5845
6972
fi
5846
6973
if test -z "$ac_cv_prog_AR"; then
5847
6974
  ac_ct_AR=$AR
5848
6975
  # Extract the first word of "ar", so it can be a program name with args.
5849
6976
set dummy ar; ac_word=$2
5850
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5851
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6977
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6978
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5852
6979
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5853
6980
  echo $ECHO_N "(cached) $ECHO_C" >&6
5854
6981
else
5861
6988
  IFS=$as_save_IFS
5862
6989
  test -z "$as_dir" && as_dir=.
5863
6990
  for ac_exec_ext in '' $ac_executable_extensions; do
5864
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6991
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5865
6992
    ac_cv_prog_ac_ct_AR="ar"
5866
6993
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5867
6994
    break 2
5868
6995
  fi
5869
6996
done
5870
6997
done
 
6998
IFS=$as_save_IFS
5871
6999
 
5872
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5873
7000
fi
5874
7001
fi
5875
7002
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5876
7003
if test -n "$ac_ct_AR"; then
5877
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5878
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
7004
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
7005
echo "${ECHO_T}$ac_ct_AR" >&6; }
5879
7006
else
5880
 
  echo "$as_me:$LINENO: result: no" >&5
5881
 
echo "${ECHO_T}no" >&6
 
7007
  { echo "$as_me:$LINENO: result: no" >&5
 
7008
echo "${ECHO_T}no" >&6; }
5882
7009
fi
5883
7010
 
5884
 
  AR=$ac_ct_AR
 
7011
  if test "x$ac_ct_AR" = x; then
 
7012
    AR="false"
 
7013
  else
 
7014
    case $cross_compiling:$ac_tool_warned in
 
7015
yes:)
 
7016
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7017
whose name does not start with the host triplet.  If you think this
 
7018
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7019
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7020
whose name does not start with the host triplet.  If you think this
 
7021
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7022
ac_tool_warned=yes ;;
 
7023
esac
 
7024
    AR=$ac_ct_AR
 
7025
  fi
5885
7026
else
5886
7027
  AR="$ac_cv_prog_AR"
5887
7028
fi
5889
7030
if test -n "$ac_tool_prefix"; then
5890
7031
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5891
7032
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5892
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5893
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7033
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7034
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5894
7035
if test "${ac_cv_prog_RANLIB+set}" = set; then
5895
7036
  echo $ECHO_N "(cached) $ECHO_C" >&6
5896
7037
else
5903
7044
  IFS=$as_save_IFS
5904
7045
  test -z "$as_dir" && as_dir=.
5905
7046
  for ac_exec_ext in '' $ac_executable_extensions; do
5906
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7047
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5907
7048
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5908
7049
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5909
7050
    break 2
5910
7051
  fi
5911
7052
done
5912
7053
done
 
7054
IFS=$as_save_IFS
5913
7055
 
5914
7056
fi
5915
7057
fi
5916
7058
RANLIB=$ac_cv_prog_RANLIB
5917
7059
if test -n "$RANLIB"; then
5918
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
5919
 
echo "${ECHO_T}$RANLIB" >&6
 
7060
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7061
echo "${ECHO_T}$RANLIB" >&6; }
5920
7062
else
5921
 
  echo "$as_me:$LINENO: result: no" >&5
5922
 
echo "${ECHO_T}no" >&6
 
7063
  { echo "$as_me:$LINENO: result: no" >&5
 
7064
echo "${ECHO_T}no" >&6; }
5923
7065
fi
 
7066
 
5924
7067
 
5925
7068
fi
5926
7069
if test -z "$ac_cv_prog_RANLIB"; then
5927
7070
  ac_ct_RANLIB=$RANLIB
5928
7071
  # Extract the first word of "ranlib", so it can be a program name with args.
5929
7072
set dummy ranlib; ac_word=$2
5930
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5931
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7073
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7074
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5932
7075
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5933
7076
  echo $ECHO_N "(cached) $ECHO_C" >&6
5934
7077
else
5941
7084
  IFS=$as_save_IFS
5942
7085
  test -z "$as_dir" && as_dir=.
5943
7086
  for ac_exec_ext in '' $ac_executable_extensions; do
5944
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7087
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5945
7088
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5946
7089
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5947
7090
    break 2
5948
7091
  fi
5949
7092
done
5950
7093
done
 
7094
IFS=$as_save_IFS
5951
7095
 
5952
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5953
7096
fi
5954
7097
fi
5955
7098
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5956
7099
if test -n "$ac_ct_RANLIB"; then
5957
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5958
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
7100
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7101
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5959
7102
else
5960
 
  echo "$as_me:$LINENO: result: no" >&5
5961
 
echo "${ECHO_T}no" >&6
 
7103
  { echo "$as_me:$LINENO: result: no" >&5
 
7104
echo "${ECHO_T}no" >&6; }
5962
7105
fi
5963
7106
 
5964
 
  RANLIB=$ac_ct_RANLIB
 
7107
  if test "x$ac_ct_RANLIB" = x; then
 
7108
    RANLIB=":"
 
7109
  else
 
7110
    case $cross_compiling:$ac_tool_warned in
 
7111
yes:)
 
7112
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7113
whose name does not start with the host triplet.  If you think this
 
7114
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7115
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7116
whose name does not start with the host triplet.  If you think this
 
7117
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7118
ac_tool_warned=yes ;;
 
7119
esac
 
7120
    RANLIB=$ac_ct_RANLIB
 
7121
  fi
5965
7122
else
5966
7123
  RANLIB="$ac_cv_prog_RANLIB"
5967
7124
fi
5969
7126
if test -n "$ac_tool_prefix"; then
5970
7127
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5971
7128
set dummy ${ac_tool_prefix}strip; ac_word=$2
5972
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5973
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7129
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7130
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5974
7131
if test "${ac_cv_prog_STRIP+set}" = set; then
5975
7132
  echo $ECHO_N "(cached) $ECHO_C" >&6
5976
7133
else
5983
7140
  IFS=$as_save_IFS
5984
7141
  test -z "$as_dir" && as_dir=.
5985
7142
  for ac_exec_ext in '' $ac_executable_extensions; do
5986
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7143
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5987
7144
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5988
7145
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5989
7146
    break 2
5990
7147
  fi
5991
7148
done
5992
7149
done
 
7150
IFS=$as_save_IFS
5993
7151
 
5994
7152
fi
5995
7153
fi
5996
7154
STRIP=$ac_cv_prog_STRIP
5997
7155
if test -n "$STRIP"; then
5998
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
5999
 
echo "${ECHO_T}$STRIP" >&6
 
7156
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
7157
echo "${ECHO_T}$STRIP" >&6; }
6000
7158
else
6001
 
  echo "$as_me:$LINENO: result: no" >&5
6002
 
echo "${ECHO_T}no" >&6
 
7159
  { echo "$as_me:$LINENO: result: no" >&5
 
7160
echo "${ECHO_T}no" >&6; }
6003
7161
fi
 
7162
 
6004
7163
 
6005
7164
fi
6006
7165
if test -z "$ac_cv_prog_STRIP"; then
6007
7166
  ac_ct_STRIP=$STRIP
6008
7167
  # Extract the first word of "strip", so it can be a program name with args.
6009
7168
set dummy strip; ac_word=$2
6010
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6011
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7169
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7170
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6012
7171
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6013
7172
  echo $ECHO_N "(cached) $ECHO_C" >&6
6014
7173
else
6021
7180
  IFS=$as_save_IFS
6022
7181
  test -z "$as_dir" && as_dir=.
6023
7182
  for ac_exec_ext in '' $ac_executable_extensions; do
6024
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7183
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6025
7184
    ac_cv_prog_ac_ct_STRIP="strip"
6026
7185
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6027
7186
    break 2
6028
7187
  fi
6029
7188
done
6030
7189
done
 
7190
IFS=$as_save_IFS
6031
7191
 
6032
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6033
7192
fi
6034
7193
fi
6035
7194
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6036
7195
if test -n "$ac_ct_STRIP"; then
6037
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6038
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
7196
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7197
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6039
7198
else
6040
 
  echo "$as_me:$LINENO: result: no" >&5
6041
 
echo "${ECHO_T}no" >&6
 
7199
  { echo "$as_me:$LINENO: result: no" >&5
 
7200
echo "${ECHO_T}no" >&6; }
6042
7201
fi
6043
7202
 
6044
 
  STRIP=$ac_ct_STRIP
 
7203
  if test "x$ac_ct_STRIP" = x; then
 
7204
    STRIP=":"
 
7205
  else
 
7206
    case $cross_compiling:$ac_tool_warned in
 
7207
yes:)
 
7208
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7209
whose name does not start with the host triplet.  If you think this
 
7210
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7211
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7212
whose name does not start with the host triplet.  If you think this
 
7213
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7214
ac_tool_warned=yes ;;
 
7215
esac
 
7216
    STRIP=$ac_ct_STRIP
 
7217
  fi
6045
7218
else
6046
7219
  STRIP="$ac_cv_prog_STRIP"
6047
7220
fi
6056
7229
test -z "$AS" && AS=as
6057
7230
test -z "$CC" && CC=cc
6058
7231
test -z "$LTCC" && LTCC=$CC
 
7232
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6059
7233
test -z "$DLLTOOL" && DLLTOOL=dlltool
6060
7234
test -z "$LD" && LD=ld
6061
7235
test -z "$LN_S" && LN_S="ln -s"
6075
7249
if test -n "$RANLIB"; then
6076
7250
  case $host_os in
6077
7251
  openbsd*)
6078
 
    old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
 
7252
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6079
7253
    ;;
6080
7254
  *)
6081
 
    old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
 
7255
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6082
7256
    ;;
6083
7257
  esac
6084
7258
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6085
7259
fi
6086
7260
 
 
7261
for cc_temp in $compiler""; do
 
7262
  case $cc_temp in
 
7263
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7264
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7265
    \-*) ;;
 
7266
    *) break;;
 
7267
  esac
 
7268
done
 
7269
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7270
 
 
7271
 
6087
7272
# Only perform the check for file, if the check method requires it
6088
7273
case $deplibs_check_method in
6089
7274
file_magic*)
6090
7275
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6091
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6092
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
7276
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7277
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6093
7278
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6094
7279
  echo $ECHO_N "(cached) $ECHO_C" >&6
6095
7280
else
6109
7294
      if test -n "$file_magic_test_file"; then
6110
7295
        case $deplibs_check_method in
6111
7296
        "file_magic "*)
6112
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
7297
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6113
7298
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6114
7299
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6115
7300
            $EGREP "$file_magic_regex" > /dev/null; then
6141
7326
 
6142
7327
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6143
7328
if test -n "$MAGIC_CMD"; then
6144
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6145
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7329
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7330
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6146
7331
else
6147
 
  echo "$as_me:$LINENO: result: no" >&5
6148
 
echo "${ECHO_T}no" >&6
 
7332
  { echo "$as_me:$LINENO: result: no" >&5
 
7333
echo "${ECHO_T}no" >&6; }
6149
7334
fi
6150
7335
 
6151
7336
if test -z "$lt_cv_path_MAGIC_CMD"; then
6152
7337
  if test -n "$ac_tool_prefix"; then
6153
 
    echo "$as_me:$LINENO: checking for file" >&5
6154
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
7338
    { echo "$as_me:$LINENO: checking for file" >&5
 
7339
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6155
7340
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6156
7341
  echo $ECHO_N "(cached) $ECHO_C" >&6
6157
7342
else
6171
7356
      if test -n "$file_magic_test_file"; then
6172
7357
        case $deplibs_check_method in
6173
7358
        "file_magic "*)
6174
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
7359
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6175
7360
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6176
7361
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6177
7362
            $EGREP "$file_magic_regex" > /dev/null; then
6203
7388
 
6204
7389
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6205
7390
if test -n "$MAGIC_CMD"; then
6206
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6207
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7391
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7392
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6208
7393
else
6209
 
  echo "$as_me:$LINENO: result: no" >&5
6210
 
echo "${ECHO_T}no" >&6
 
7394
  { echo "$as_me:$LINENO: result: no" >&5
 
7395
echo "${ECHO_T}no" >&6; }
6211
7396
fi
6212
7397
 
6213
7398
  else
6222
7407
enable_dlopen=no
6223
7408
enable_win32_dll=no
6224
7409
 
6225
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7410
# Check whether --enable-libtool-lock was given.
6226
7411
if test "${enable_libtool_lock+set}" = set; then
6227
 
  enableval="$enable_libtool_lock"
 
7412
  enableval=$enable_libtool_lock;
 
7413
fi
6228
7414
 
6229
 
fi;
6230
7415
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6231
7416
 
6232
7417
 
6233
 
# Check whether --with-pic or --without-pic was given.
 
7418
# Check whether --with-pic was given.
6234
7419
if test "${with_pic+set}" = set; then
6235
 
  withval="$with_pic"
6236
 
  pic_mode="$withval"
 
7420
  withval=$with_pic; pic_mode="$withval"
6237
7421
else
6238
7422
  pic_mode=default
6239
 
fi;
 
7423
fi
 
7424
 
6240
7425
test -z "$pic_mode" && pic_mode=default
6241
7426
 
6242
7427
# Use C for the default configuration in the libtool script
6266
7451
# If no C compiler was specified, use CC.
6267
7452
LTCC=${LTCC-"$CC"}
6268
7453
 
 
7454
# If no C compiler flags were specified, use CFLAGS.
 
7455
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7456
 
6269
7457
# Allow CC to be a program name with arguments.
6270
7458
compiler=$CC
6271
7459
 
6272
7460
 
6273
 
#
6274
 
# Check for any special shared library compilation flags.
6275
 
#
6276
 
lt_prog_cc_shlib=
6277
 
if test "$GCC" = no; then
6278
 
  case $host_os in
6279
 
  sco3.2v5*)
6280
 
    lt_prog_cc_shlib='-belf'
6281
 
    ;;
6282
 
  esac
6283
 
fi
6284
 
if test -n "$lt_prog_cc_shlib"; then
6285
 
  { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6286
 
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6287
 
  if echo "$old_CC $old_CFLAGS " | grep "[      ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
6288
 
  else
6289
 
    { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6290
 
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6291
 
    lt_cv_prog_cc_can_build_shared=no
6292
 
  fi
6293
 
fi
6294
 
 
6295
 
 
6296
 
#
6297
 
# Check to make sure the static flag actually works.
6298
 
#
6299
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6300
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6301
 
if test "${lt_prog_compiler_static_works+set}" = set; then
6302
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6303
 
else
6304
 
  lt_prog_compiler_static_works=no
6305
 
   save_LDFLAGS="$LDFLAGS"
6306
 
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6307
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
6308
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6309
 
     # The compiler can only warn and ignore the option if not recognized
6310
 
     # So say no if there are warnings
6311
 
     if test -s conftest.err; then
6312
 
       # Append any errors to the config.log.
6313
 
       cat conftest.err 1>&5
6314
 
     else
6315
 
       lt_prog_compiler_static_works=yes
6316
 
     fi
6317
 
   fi
6318
 
   $rm conftest*
6319
 
   LDFLAGS="$save_LDFLAGS"
6320
 
 
6321
 
fi
6322
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6323
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6324
 
 
6325
 
if test x"$lt_prog_compiler_static_works" = xyes; then
6326
 
    :
6327
 
else
6328
 
    lt_prog_compiler_static=
6329
 
fi
6330
 
 
 
7461
# save warnings/boilerplate of simple test code
 
7462
ac_outfile=conftest.$ac_objext
 
7463
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7464
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7465
_lt_compiler_boilerplate=`cat conftest.err`
 
7466
$rm conftest*
 
7467
 
 
7468
ac_outfile=conftest.$ac_objext
 
7469
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
7470
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7471
_lt_linker_boilerplate=`cat conftest.err`
 
7472
$rm conftest*
6331
7473
 
6332
7474
 
6333
7475
 
6337
7479
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6338
7480
 
6339
7481
 
6340
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6341
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7482
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7483
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6342
7484
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6343
7485
  echo $ECHO_N "(cached) $ECHO_C" >&6
6344
7486
else
6352
7494
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6353
7495
   # The option is referenced via a variable to avoid confusing sed.
6354
7496
   lt_compile=`echo "$ac_compile" | $SED \
6355
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
7497
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6356
7498
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6357
7499
   -e 's:$: $lt_compiler_flag:'`
6358
 
   (eval echo "\"\$as_me:6358: $lt_compile\"" >&5)
 
7500
   (eval echo "\"\$as_me:7500: $lt_compile\"" >&5)
6359
7501
   (eval "$lt_compile" 2>conftest.err)
6360
7502
   ac_status=$?
6361
7503
   cat conftest.err >&5
6362
 
   echo "$as_me:6362: \$? = $ac_status" >&5
 
7504
   echo "$as_me:7504: \$? = $ac_status" >&5
6363
7505
   if (exit $ac_status) && test -s "$ac_outfile"; then
6364
7506
     # The compiler can only warn and ignore the option if not recognized
6365
 
     # So say no if there are warnings
6366
 
     if test ! -s conftest.err; then
 
7507
     # So say no if there are warnings other than the usual output.
 
7508
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7509
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7510
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6367
7511
       lt_cv_prog_compiler_rtti_exceptions=yes
6368
7512
     fi
6369
7513
   fi
6370
7514
   $rm conftest*
6371
7515
 
6372
7516
fi
6373
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6374
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7517
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7518
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6375
7519
 
6376
7520
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6377
7521
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6385
7529
lt_prog_compiler_pic=
6386
7530
lt_prog_compiler_static=
6387
7531
 
6388
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6389
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7532
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7533
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6390
7534
 
6391
7535
  if test "$GCC" = yes; then
6392
7536
    lt_prog_compiler_wl='-Wl,'
6424
7568
      lt_prog_compiler_pic='-fno-common'
6425
7569
      ;;
6426
7570
 
 
7571
    interix3*)
 
7572
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
7573
      # Instead, we relocate shared libraries at runtime.
 
7574
      ;;
 
7575
 
6427
7576
    msdosdjgpp*)
6428
7577
      # Just because we use GCC doesn't mean we suddenly get shared libraries
6429
7578
      # on systems that don't support them.
6440
7589
    hpux*)
6441
7590
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6442
7591
      # not for PA HP-UX.
6443
 
      case "$host_cpu" in
 
7592
      case $host_cpu in
6444
7593
      hppa*64*|ia64*)
6445
7594
        # +Z the default
6446
7595
        ;;
6466
7615
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6467
7616
      fi
6468
7617
      ;;
 
7618
      darwin*)
 
7619
        # PIC is the default on this platform
 
7620
        # Common symbols not allowed in MH_DYLIB files
 
7621
       case $cc_basename in
 
7622
         xlc*)
 
7623
         lt_prog_compiler_pic='-qnocommon'
 
7624
         lt_prog_compiler_wl='-Wl,'
 
7625
         ;;
 
7626
       esac
 
7627
       ;;
6469
7628
 
6470
7629
    mingw* | pw32* | os2*)
6471
7630
      # This hack is so that the source file can tell whether it is being
6477
7636
      lt_prog_compiler_wl='-Wl,'
6478
7637
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6479
7638
      # not for PA HP-UX.
6480
 
      case "$host_cpu" in
 
7639
      case $host_cpu in
6481
7640
      hppa*64*|ia64*)
6482
7641
        # +Z the default
6483
7642
        ;;
6500
7659
      lt_prog_compiler_static='-Bstatic'
6501
7660
      ;;
6502
7661
 
6503
 
    linux*)
6504
 
      case $CC in
 
7662
    linux* | k*bsd*-gnu)
 
7663
      case $cc_basename in
6505
7664
      icc* | ecc*)
6506
7665
        lt_prog_compiler_wl='-Wl,'
6507
7666
        lt_prog_compiler_pic='-KPIC'
6508
7667
        lt_prog_compiler_static='-static'
6509
7668
        ;;
 
7669
      pgcc* | pgf77* | pgf90* | pgf95*)
 
7670
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
7671
        # which looks to be a dead project)
 
7672
        lt_prog_compiler_wl='-Wl,'
 
7673
        lt_prog_compiler_pic='-fpic'
 
7674
        lt_prog_compiler_static='-Bstatic'
 
7675
        ;;
6510
7676
      ccc*)
6511
7677
        lt_prog_compiler_wl='-Wl,'
6512
7678
        # All Alpha code is PIC.
6521
7687
      lt_prog_compiler_static='-non_shared'
6522
7688
      ;;
6523
7689
 
6524
 
    sco3.2v5*)
6525
 
      lt_prog_compiler_pic='-Kpic'
6526
 
      lt_prog_compiler_static='-dn'
6527
 
      ;;
6528
 
 
6529
7690
    solaris*)
6530
 
      lt_prog_compiler_wl='-Wl,'
6531
7691
      lt_prog_compiler_pic='-KPIC'
6532
7692
      lt_prog_compiler_static='-Bstatic'
 
7693
      case $cc_basename in
 
7694
      f77* | f90* | f95*)
 
7695
        lt_prog_compiler_wl='-Qoption ld ';;
 
7696
      *)
 
7697
        lt_prog_compiler_wl='-Wl,';;
 
7698
      esac
6533
7699
      ;;
6534
7700
 
6535
7701
    sunos4*)
6538
7704
      lt_prog_compiler_static='-Bstatic'
6539
7705
      ;;
6540
7706
 
6541
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
7707
    sysv4 | sysv4.2uw2* | sysv4.3*)
6542
7708
      lt_prog_compiler_wl='-Wl,'
6543
7709
      lt_prog_compiler_pic='-KPIC'
6544
7710
      lt_prog_compiler_static='-Bstatic'
6551
7717
      fi
6552
7718
      ;;
6553
7719
 
 
7720
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
7721
      lt_prog_compiler_wl='-Wl,'
 
7722
      lt_prog_compiler_pic='-KPIC'
 
7723
      lt_prog_compiler_static='-Bstatic'
 
7724
      ;;
 
7725
 
 
7726
    unicos*)
 
7727
      lt_prog_compiler_wl='-Wl,'
 
7728
      lt_prog_compiler_can_build_shared=no
 
7729
      ;;
 
7730
 
6554
7731
    uts4*)
6555
7732
      lt_prog_compiler_pic='-pic'
6556
7733
      lt_prog_compiler_static='-Bstatic'
6562
7739
    esac
6563
7740
  fi
6564
7741
 
6565
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6566
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
7742
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7743
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6567
7744
 
6568
7745
#
6569
7746
# Check to make sure the PIC flag actually works.
6570
7747
#
6571
7748
if test -n "$lt_prog_compiler_pic"; then
6572
7749
 
6573
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6574
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
7750
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7751
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6575
7752
if test "${lt_prog_compiler_pic_works+set}" = set; then
6576
7753
  echo $ECHO_N "(cached) $ECHO_C" >&6
6577
7754
else
6585
7762
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6586
7763
   # The option is referenced via a variable to avoid confusing sed.
6587
7764
   lt_compile=`echo "$ac_compile" | $SED \
6588
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
7765
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6589
7766
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6590
7767
   -e 's:$: $lt_compiler_flag:'`
6591
 
   (eval echo "\"\$as_me:6591: $lt_compile\"" >&5)
 
7768
   (eval echo "\"\$as_me:7768: $lt_compile\"" >&5)
6592
7769
   (eval "$lt_compile" 2>conftest.err)
6593
7770
   ac_status=$?
6594
7771
   cat conftest.err >&5
6595
 
   echo "$as_me:6595: \$? = $ac_status" >&5
 
7772
   echo "$as_me:7772: \$? = $ac_status" >&5
6596
7773
   if (exit $ac_status) && test -s "$ac_outfile"; then
6597
7774
     # The compiler can only warn and ignore the option if not recognized
6598
 
     # So say no if there are warnings
6599
 
     if test ! -s conftest.err; then
 
7775
     # So say no if there are warnings other than the usual output.
 
7776
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7777
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7778
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6600
7779
       lt_prog_compiler_pic_works=yes
6601
7780
     fi
6602
7781
   fi
6603
7782
   $rm conftest*
6604
7783
 
6605
7784
fi
6606
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6607
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
7785
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
7786
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6608
7787
 
6609
7788
if test x"$lt_prog_compiler_pic_works" = xyes; then
6610
7789
    case $lt_prog_compiler_pic in
6617
7796
fi
6618
7797
 
6619
7798
fi
6620
 
case "$host_os" in
 
7799
case $host_os in
6621
7800
  # For platforms which do not support PIC, -DPIC is meaningless:
6622
7801
  *djgpp*)
6623
7802
    lt_prog_compiler_pic=
6627
7806
    ;;
6628
7807
esac
6629
7808
 
6630
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6631
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
7809
#
 
7810
# Check to make sure the static flag actually works.
 
7811
#
 
7812
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
7813
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7814
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
7815
if test "${lt_prog_compiler_static_works+set}" = set; then
 
7816
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7817
else
 
7818
  lt_prog_compiler_static_works=no
 
7819
   save_LDFLAGS="$LDFLAGS"
 
7820
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
7821
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
7822
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
7823
     # The linker can only warn and ignore the option if not recognized
 
7824
     # So say no if there are warnings
 
7825
     if test -s conftest.err; then
 
7826
       # Append any errors to the config.log.
 
7827
       cat conftest.err 1>&5
 
7828
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
7829
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7830
       if diff conftest.exp conftest.er2 >/dev/null; then
 
7831
         lt_prog_compiler_static_works=yes
 
7832
       fi
 
7833
     else
 
7834
       lt_prog_compiler_static_works=yes
 
7835
     fi
 
7836
   fi
 
7837
   $rm conftest*
 
7838
   LDFLAGS="$save_LDFLAGS"
 
7839
 
 
7840
fi
 
7841
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
7842
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
7843
 
 
7844
if test x"$lt_prog_compiler_static_works" = xyes; then
 
7845
    :
 
7846
else
 
7847
    lt_prog_compiler_static=
 
7848
fi
 
7849
 
 
7850
 
 
7851
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7852
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6632
7853
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6633
7854
  echo $ECHO_N "(cached) $ECHO_C" >&6
6634
7855
else
6645
7866
   # Note that $ac_compile itself does not contain backslashes and begins
6646
7867
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6647
7868
   lt_compile=`echo "$ac_compile" | $SED \
6648
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
7869
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6649
7870
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6650
7871
   -e 's:$: $lt_compiler_flag:'`
6651
 
   (eval echo "\"\$as_me:6651: $lt_compile\"" >&5)
 
7872
   (eval echo "\"\$as_me:7872: $lt_compile\"" >&5)
6652
7873
   (eval "$lt_compile" 2>out/conftest.err)
6653
7874
   ac_status=$?
6654
7875
   cat out/conftest.err >&5
6655
 
   echo "$as_me:6655: \$? = $ac_status" >&5
 
7876
   echo "$as_me:7876: \$? = $ac_status" >&5
6656
7877
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6657
7878
   then
6658
7879
     # The compiler can only warn and ignore the option if not recognized
6659
7880
     # So say no if there are warnings
6660
 
     if test ! -s out/conftest.err; then
 
7881
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7882
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
7883
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6661
7884
       lt_cv_prog_compiler_c_o=yes
6662
7885
     fi
6663
7886
   fi
6664
 
   chmod u+w .
 
7887
   chmod u+w . 2>&5
6665
7888
   $rm conftest*
6666
7889
   # SGI C++ compiler will create directory out/ii_files/ for
6667
7890
   # template instantiation
6672
7895
   $rm conftest*
6673
7896
 
6674
7897
fi
6675
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6676
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
7898
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7899
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6677
7900
 
6678
7901
 
6679
7902
hard_links="nottested"
6680
7903
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6681
7904
  # do not overwrite the value of need_locks provided by the user
6682
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6683
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
7905
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7906
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6684
7907
  hard_links=yes
6685
7908
  $rm conftest*
6686
7909
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6687
7910
  touch conftest.a
6688
7911
  ln conftest.a conftest.b 2>&5 || hard_links=no
6689
7912
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6690
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6691
 
echo "${ECHO_T}$hard_links" >&6
 
7913
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
7914
echo "${ECHO_T}$hard_links" >&6; }
6692
7915
  if test "$hard_links" = no; then
6693
7916
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6694
7917
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6698
7921
  need_locks=no
6699
7922
fi
6700
7923
 
6701
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6702
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
7924
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7925
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6703
7926
 
6704
7927
  runpath_var=
6705
7928
  allow_undefined_flag=
6737
7960
  # rely on this symbol name, it's probably fine to never include it in
6738
7961
  # preloaded symbol tables.
6739
7962
  extract_expsyms_cmds=
 
7963
  # Just being paranoid about ensuring that cc_basename is set.
 
7964
  for cc_temp in $compiler""; do
 
7965
  case $cc_temp in
 
7966
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7967
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7968
    \-*) ;;
 
7969
    *) break;;
 
7970
  esac
 
7971
done
 
7972
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6740
7973
 
6741
7974
  case $host_os in
6742
7975
  cygwin* | mingw* | pw32*)
6747
7980
      with_gnu_ld=no
6748
7981
    fi
6749
7982
    ;;
 
7983
  interix*)
 
7984
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
7985
    with_gnu_ld=yes
 
7986
    ;;
6750
7987
  openbsd*)
6751
7988
    with_gnu_ld=no
6752
7989
    ;;
6757
7994
    # If archive_cmds runs LD, not CC, wlarc should be empty
6758
7995
    wlarc='${wl}'
6759
7996
 
 
7997
    # Set some defaults for GNU ld with shared library support. These
 
7998
    # are reset later if shared libraries are not supported. Putting them
 
7999
    # here allows them to be overridden if necessary.
 
8000
    runpath_var=LD_RUN_PATH
 
8001
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
8002
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
8003
    # ancient GNU ld didn't support --whole-archive et. al.
 
8004
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
8005
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8006
      else
 
8007
        whole_archive_flag_spec=
 
8008
    fi
 
8009
    supports_anon_versioning=no
 
8010
    case `$LD -v 2>/dev/null` in
 
8011
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
8012
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
8013
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
8014
      *\ 2.11.*) ;; # other 2.11 versions
 
8015
      *) supports_anon_versioning=yes ;;
 
8016
    esac
 
8017
 
6760
8018
    # See if GNU ld supports shared libraries.
6761
8019
    case $host_os in
6762
8020
    aix3* | aix4* | aix5*)
6807
8065
      allow_undefined_flag=unsupported
6808
8066
      always_export_symbols=no
6809
8067
      enable_shared_with_static_runtimes=yes
6810
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
8068
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6811
8069
 
6812
8070
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6813
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
8071
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6814
8072
        # If the export-symbols file already is a .def file (1st line
6815
8073
        # is EXPORTS), use it as is; otherwise, prepend...
6816
8074
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6819
8077
          echo EXPORTS > $output_objdir/$soname.def;
6820
8078
          cat $export_symbols >> $output_objdir/$soname.def;
6821
8079
        fi~
6822
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
6823
 
      else
6824
 
        ld_shlibs=no
6825
 
      fi
6826
 
      ;;
6827
 
 
6828
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
8080
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8081
      else
 
8082
        ld_shlibs=no
 
8083
      fi
 
8084
      ;;
 
8085
 
 
8086
    interix3*)
 
8087
      hardcode_direct=no
 
8088
      hardcode_shlibpath_var=no
 
8089
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8090
      export_dynamic_flag_spec='${wl}-E'
 
8091
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
8092
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
8093
      # default) and relocated if they conflict, which is a slow very memory
 
8094
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
8095
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
8096
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
8097
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
8098
      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'
 
8099
      ;;
 
8100
 
 
8101
    linux* | k*bsd*-gnu)
 
8102
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8103
        tmp_addflag=
 
8104
        case $cc_basename,$host_cpu in
 
8105
        pgcc*)                          # Portland Group C compiler
 
8106
          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'
 
8107
          tmp_addflag=' $pic_flag'
 
8108
          ;;
 
8109
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
8110
          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'
 
8111
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
8112
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
8113
          tmp_addflag=' -i_dynamic' ;;
 
8114
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
8115
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
8116
        ifc* | ifort*)                  # Intel Fortran compiler
 
8117
          tmp_addflag=' -nofor_main' ;;
 
8118
        esac
 
8119
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8120
 
 
8121
        if test $supports_anon_versioning = yes; then
 
8122
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
 
8123
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8124
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
8125
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8126
        fi
 
8127
        link_all_deplibs=no
 
8128
      else
 
8129
        ld_shlibs=no
 
8130
      fi
 
8131
      ;;
 
8132
 
 
8133
    netbsd* | netbsdelf*-gnu)
6829
8134
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6830
8135
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6831
8136
        wlarc=
6835
8140
      fi
6836
8141
      ;;
6837
8142
 
6838
 
    solaris* | sysv5*)
 
8143
    solaris*)
6839
8144
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6840
8145
        ld_shlibs=no
6841
8146
        cat <<EOF 1>&2
6856
8161
      fi
6857
8162
      ;;
6858
8163
 
 
8164
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
8165
      case `$LD -v 2>&1` in
 
8166
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
8167
        ld_shlibs=no
 
8168
        cat <<_LT_EOF 1>&2
 
8169
 
 
8170
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
8171
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
8172
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8173
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
8174
*** your PATH or compiler configuration so that the native linker is
 
8175
*** used, and then restart.
 
8176
 
 
8177
_LT_EOF
 
8178
        ;;
 
8179
        *)
 
8180
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8181
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
8182
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
8183
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
8184
          else
 
8185
            ld_shlibs=no
 
8186
          fi
 
8187
        ;;
 
8188
      esac
 
8189
      ;;
 
8190
 
6859
8191
    sunos4*)
6860
8192
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6861
8193
      wlarc=
6863
8195
      hardcode_shlibpath_var=no
6864
8196
      ;;
6865
8197
 
6866
 
  linux*)
6867
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6868
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6869
 
        archive_cmds="$tmp_archive_cmds"
6870
 
      supports_anon_versioning=no
6871
 
      case `$LD -v 2>/dev/null` in
6872
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6873
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6874
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6875
 
        *\ 2.11.*) ;; # other 2.11 versions
6876
 
        *) supports_anon_versioning=yes ;;
6877
 
      esac
6878
 
      if test $supports_anon_versioning = yes; then
6879
 
        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
6880
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6881
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
6882
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6883
 
      else
6884
 
        archive_expsym_cmds="$tmp_archive_cmds"
6885
 
      fi
6886
 
      link_all_deplibs=no
6887
 
    else
6888
 
      ld_shlibs=no
6889
 
    fi
6890
 
    ;;
6891
 
 
6892
8198
    *)
6893
8199
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6894
8200
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6899
8205
      ;;
6900
8206
    esac
6901
8207
 
6902
 
    if test "$ld_shlibs" = yes; then
6903
 
      runpath_var=LD_RUN_PATH
6904
 
      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6905
 
      export_dynamic_flag_spec='${wl}--export-dynamic'
6906
 
      # ancient GNU ld didn't support --whole-archive et. al.
6907
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6908
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6909
 
      else
6910
 
        whole_archive_flag_spec=
6911
 
      fi
 
8208
    if test "$ld_shlibs" = no; then
 
8209
      runpath_var=
 
8210
      hardcode_libdir_flag_spec=
 
8211
      export_dynamic_flag_spec=
 
8212
      whole_archive_flag_spec=
6912
8213
    fi
6913
8214
  else
6914
8215
    # PORTME fill in a description of your system's linker (not GNU ld)
6920
8221
      # Note: this linker hardcodes the directories in LIBPATH if there
6921
8222
      # are no directories specified by -L.
6922
8223
      hardcode_minus_L=yes
6923
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
8224
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
6924
8225
        # Neither direct hardcoding nor static linking is supported with a
6925
8226
        # broken collect2.
6926
8227
        hardcode_direct=unsupported
6954
8255
            break
6955
8256
          fi
6956
8257
          done
 
8258
          ;;
6957
8259
        esac
6958
8260
 
6959
8261
        exp_sym_flag='-bexport'
6972
8274
      link_all_deplibs=yes
6973
8275
 
6974
8276
      if test "$GCC" = yes; then
6975
 
        case $host_os in aix4.012|aix4.012.*)
 
8277
        case $host_os in aix4.[012]|aix4.[012].*)
6976
8278
        # We only want to do this on AIX 4.2 and lower, the check
6977
8279
        # below for broken collect2 doesn't work under 4.3+
6978
8280
          collect2name=`${CC} -print-prog-name=collect2`
6991
8293
          hardcode_libdir_flag_spec='-L$libdir'
6992
8294
          hardcode_libdir_separator=
6993
8295
          fi
 
8296
          ;;
6994
8297
        esac
6995
8298
        shared_flag='-shared'
 
8299
        if test "$aix_use_runtimelinking" = yes; then
 
8300
          shared_flag="$shared_flag "'${wl}-G'
 
8301
        fi
6996
8302
      else
6997
8303
        # not using gcc
6998
8304
        if test "$host_cpu" = ia64; then
7000
8306
        # chokes on -Wl,-G. The following line is correct:
7001
8307
          shared_flag='-G'
7002
8308
        else
7003
 
        if test "$aix_use_runtimelinking" = yes; then
 
8309
          if test "$aix_use_runtimelinking" = yes; then
7004
8310
            shared_flag='${wl}-G'
7005
8311
          else
7006
8312
            shared_flag='${wl}-bM:SRE'
7007
 
        fi
 
8313
          fi
7008
8314
        fi
7009
8315
      fi
7010
8316
 
7032
8338
}
7033
8339
_ACEOF
7034
8340
rm -f conftest.$ac_objext conftest$ac_exeext
7035
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7036
 
  (eval $ac_link) 2>conftest.er1
 
8341
if { (ac_try="$ac_link"
 
8342
case "(($ac_try" in
 
8343
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8344
  *) ac_try_echo=$ac_try;;
 
8345
esac
 
8346
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8347
  (eval "$ac_link") 2>conftest.er1
7037
8348
  ac_status=$?
7038
8349
  grep -v '^ *+' conftest.er1 >conftest.err
7039
8350
  rm -f conftest.er1
7040
8351
  cat conftest.err >&5
7041
8352
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7042
8353
  (exit $ac_status); } &&
7043
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7044
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7045
 
  (eval $ac_try) 2>&5
 
8354
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
8355
  { (case "(($ac_try" in
 
8356
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8357
  *) ac_try_echo=$ac_try;;
 
8358
esac
 
8359
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8360
  (eval "$ac_try") 2>&5
7046
8361
  ac_status=$?
7047
8362
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048
8363
  (exit $ac_status); }; } &&
7049
8364
         { ac_try='test -s conftest$ac_exeext'
7050
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7051
 
  (eval $ac_try) 2>&5
 
8365
  { (case "(($ac_try" in
 
8366
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8367
  *) ac_try_echo=$ac_try;;
 
8368
esac
 
8369
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8370
  (eval "$ac_try") 2>&5
7052
8371
  ac_status=$?
7053
8372
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054
8373
  (exit $ac_status); }; }; then
7062
8381
  echo "$as_me: failed program was:" >&5
7063
8382
sed 's/^/| /' conftest.$ac_ext >&5
7064
8383
 
 
8384
 
7065
8385
fi
7066
 
rm -f conftest.err conftest.$ac_objext \
 
8386
 
 
8387
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7067
8388
      conftest$ac_exeext conftest.$ac_ext
7068
8389
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7069
8390
 
7070
8391
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7071
 
        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"
 
8392
        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"
7072
8393
       else
7073
8394
        if test "$host_cpu" = ia64; then
7074
8395
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7075
8396
          allow_undefined_flag="-z nodefs"
7076
 
          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"
 
8397
          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"
7077
8398
        else
7078
8399
         # Determine the default libpath from the value encoded in an empty executable.
7079
8400
         cat >conftest.$ac_ext <<_ACEOF
7092
8413
}
7093
8414
_ACEOF
7094
8415
rm -f conftest.$ac_objext conftest$ac_exeext
7095
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7096
 
  (eval $ac_link) 2>conftest.er1
 
8416
if { (ac_try="$ac_link"
 
8417
case "(($ac_try" in
 
8418
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8419
  *) ac_try_echo=$ac_try;;
 
8420
esac
 
8421
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8422
  (eval "$ac_link") 2>conftest.er1
7097
8423
  ac_status=$?
7098
8424
  grep -v '^ *+' conftest.er1 >conftest.err
7099
8425
  rm -f conftest.er1
7100
8426
  cat conftest.err >&5
7101
8427
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102
8428
  (exit $ac_status); } &&
7103
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7104
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7105
 
  (eval $ac_try) 2>&5
 
8429
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
8430
  { (case "(($ac_try" in
 
8431
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8432
  *) ac_try_echo=$ac_try;;
 
8433
esac
 
8434
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8435
  (eval "$ac_try") 2>&5
7106
8436
  ac_status=$?
7107
8437
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7108
8438
  (exit $ac_status); }; } &&
7109
8439
         { ac_try='test -s conftest$ac_exeext'
7110
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7111
 
  (eval $ac_try) 2>&5
 
8440
  { (case "(($ac_try" in
 
8441
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8442
  *) ac_try_echo=$ac_try;;
 
8443
esac
 
8444
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8445
  (eval "$ac_try") 2>&5
7112
8446
  ac_status=$?
7113
8447
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114
8448
  (exit $ac_status); }; }; then
7122
8456
  echo "$as_me: failed program was:" >&5
7123
8457
sed 's/^/| /' conftest.$ac_ext >&5
7124
8458
 
 
8459
 
7125
8460
fi
7126
 
rm -f conftest.err conftest.$ac_objext \
 
8461
 
 
8462
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7127
8463
      conftest$ac_exeext conftest.$ac_ext
7128
8464
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7129
8465
 
7132
8468
          # -berok will link without error, but may produce a broken library.
7133
8469
          no_undefined_flag=' ${wl}-bernotok'
7134
8470
          allow_undefined_flag=' ${wl}-berok'
7135
 
          # -bexpall does not export symbols beginning with underscore (_)
7136
 
          always_export_symbols=yes
7137
8471
          # Exported symbols can be pulled into shared objects from archives
7138
 
          whole_archive_flag_spec=' '
 
8472
          whole_archive_flag_spec='$convenience'
7139
8473
          archive_cmds_need_lc=yes
7140
 
          # This is similar to how AIX traditionally builds it's shared libraries.
7141
 
          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'
 
8474
          # This is similar to how AIX traditionally builds its shared libraries.
 
8475
          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'
7142
8476
        fi
7143
8477
      fi
7144
8478
      ;;
7151
8485
      ld_shlibs=no
7152
8486
      ;;
7153
8487
 
7154
 
    bsdi4*)
 
8488
    bsdi[45]*)
7155
8489
      export_dynamic_flag_spec=-rdynamic
7156
8490
      ;;
7157
8491
 
7177
8511
      ;;
7178
8512
 
7179
8513
    darwin* | rhapsody*)
7180
 
    if test "$GXX" = yes ; then
 
8514
      case $host_os in
 
8515
        rhapsody* | darwin1.[012])
 
8516
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
 
8517
         ;;
 
8518
       *) # Darwin 1.3 on
 
8519
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
8520
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
8521
         else
 
8522
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
8523
             10.[012])
 
8524
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
8525
               ;;
 
8526
             10.*)
 
8527
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
 
8528
               ;;
 
8529
           esac
 
8530
         fi
 
8531
         ;;
 
8532
      esac
7181
8533
      archive_cmds_need_lc=no
7182
 
      case "$host_os" in
7183
 
      rhapsody* | darwin1.[012])
7184
 
        allow_undefined_flag='-undefined suppress'
7185
 
        ;;
7186
 
      *) # Darwin 1.3 on
7187
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7188
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
7189
 
      else
7190
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
7191
 
          10.[012])
7192
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
7193
 
            ;;
7194
 
          10.*)
7195
 
            allow_undefined_flag='-undefined dynamic_lookup'
7196
 
            ;;
7197
 
        esac
7198
 
      fi
7199
 
        ;;
7200
 
      esac
7201
 
        lt_int_apple_cc_single_mod=no
7202
 
        output_verbose_link_cmd='echo'
7203
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7204
 
          lt_int_apple_cc_single_mod=yes
7205
 
        fi
7206
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7207
 
          archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7208
 
        else
7209
 
        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'
7210
 
      fi
7211
 
      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7212
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7213
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7214
 
          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}'
7215
 
        else
7216
 
          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}'
7217
 
        fi
7218
 
          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}'
7219
8534
      hardcode_direct=no
7220
8535
      hardcode_automatic=yes
7221
8536
      hardcode_shlibpath_var=unsupported
7222
 
      whole_archive_flag_spec='-all_load $convenience'
 
8537
      whole_archive_flag_spec=''
7223
8538
      link_all_deplibs=yes
 
8539
    if test "$GCC" = yes ; then
 
8540
        output_verbose_link_cmd='echo'
 
8541
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
8542
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
8543
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
8544
      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}'
 
8545
      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}'
7224
8546
    else
7225
 
      ld_shlibs=no
 
8547
      case $cc_basename in
 
8548
        xlc*)
 
8549
         output_verbose_link_cmd='echo'
 
8550
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
8551
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
8552
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
8553
         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}'
 
8554
          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}'
 
8555
          ;;
 
8556
       *)
 
8557
         ld_shlibs=no
 
8558
          ;;
 
8559
      esac
7226
8560
    fi
7227
8561
      ;;
7228
8562
 
7256
8590
      ;;
7257
8591
 
7258
8592
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7259
 
    freebsd* | kfreebsd*-gnu)
 
8593
    freebsd* | dragonfly*)
7260
8594
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7261
8595
      hardcode_libdir_flag_spec='-R$libdir'
7262
8596
      hardcode_direct=yes
7279
8613
      export_dynamic_flag_spec='${wl}-E'
7280
8614
      ;;
7281
8615
 
7282
 
    hpux10* | hpux11*)
7283
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7284
 
        case "$host_cpu" in
7285
 
        hppa*64*|ia64*)
 
8616
    hpux10*)
 
8617
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8618
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8619
      else
 
8620
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8621
      fi
 
8622
      if test "$with_gnu_ld" = no; then
 
8623
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8624
        hardcode_libdir_separator=:
 
8625
 
 
8626
        hardcode_direct=yes
 
8627
        export_dynamic_flag_spec='${wl}-E'
 
8628
 
 
8629
        # hardcode_minus_L: Not really in the search PATH,
 
8630
        # but as the default location of the library.
 
8631
        hardcode_minus_L=yes
 
8632
      fi
 
8633
      ;;
 
8634
 
 
8635
    hpux11*)
 
8636
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8637
        case $host_cpu in
 
8638
        hppa*64*)
7286
8639
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7287
8640
          ;;
 
8641
        ia64*)
 
8642
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8643
          ;;
7288
8644
        *)
7289
8645
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7290
8646
          ;;
7291
8647
        esac
7292
8648
      else
7293
 
        case "$host_cpu" in
7294
 
        hppa*64*|ia64*)
7295
 
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
8649
        case $host_cpu in
 
8650
        hppa*64*)
 
8651
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8652
          ;;
 
8653
        ia64*)
 
8654
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7296
8655
          ;;
7297
8656
        *)
7298
 
          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8657
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7299
8658
          ;;
7300
8659
        esac
7301
8660
      fi
7302
8661
      if test "$with_gnu_ld" = no; then
7303
 
        case "$host_cpu" in
7304
 
        hppa*64*)
7305
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8662
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8663
        hardcode_libdir_separator=:
 
8664
 
 
8665
        case $host_cpu in
 
8666
        hppa*64*|ia64*)
7306
8667
          hardcode_libdir_flag_spec_ld='+b $libdir'
7307
 
          hardcode_libdir_separator=:
7308
 
          hardcode_direct=no
7309
 
          hardcode_shlibpath_var=no
7310
 
          ;;
7311
 
        ia64*)
7312
 
          hardcode_libdir_flag_spec='-L$libdir'
7313
 
          hardcode_direct=no
7314
 
          hardcode_shlibpath_var=no
7315
 
 
7316
 
          # hardcode_minus_L: Not really in the search PATH,
7317
 
          # but as the default location of the library.
7318
 
          hardcode_minus_L=yes
 
8668
          hardcode_direct=no
 
8669
          hardcode_shlibpath_var=no
7319
8670
          ;;
7320
8671
        *)
7321
 
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7322
 
          hardcode_libdir_separator=:
7323
8672
          hardcode_direct=yes
7324
8673
          export_dynamic_flag_spec='${wl}-E'
7325
8674
 
7343
8692
      link_all_deplibs=yes
7344
8693
      ;;
7345
8694
 
7346
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
8695
    netbsd* | netbsdelf*-gnu)
7347
8696
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7348
8697
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7349
8698
      else
7367
8716
      hardcode_shlibpath_var=no
7368
8717
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7369
8718
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8719
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7370
8720
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7371
8721
        export_dynamic_flag_spec='${wl}-E'
7372
8722
      else
7412
8762
        allow_undefined_flag=' -expect_unresolved \*'
7413
8763
        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'
7414
8764
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7415
 
        $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'
 
8765
        $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'
7416
8766
 
7417
8767
        # Both c and cxx compiler support -rpath directly
7418
8768
        hardcode_libdir_flag_spec='-rpath $libdir'
7420
8770
      hardcode_libdir_separator=:
7421
8771
      ;;
7422
8772
 
7423
 
    sco3.2v5*)
7424
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7425
 
      hardcode_shlibpath_var=no
7426
 
      export_dynamic_flag_spec='${wl}-Bexport'
7427
 
      runpath_var=LD_RUN_PATH
7428
 
      hardcode_runpath_var=yes
7429
 
      ;;
7430
 
 
7431
8773
    solaris*)
7432
8774
      no_undefined_flag=' -z text'
7433
8775
      if test "$GCC" = yes; then
 
8776
        wlarc='${wl}'
7434
8777
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7435
8778
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7436
8779
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7437
8780
      else
 
8781
        wlarc=''
7438
8782
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7439
8783
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7440
8784
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7443
8787
      hardcode_shlibpath_var=no
7444
8788
      case $host_os in
7445
8789
      solaris2.[0-5] | solaris2.[0-5].*) ;;
7446
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7447
 
        whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
8790
      *)
 
8791
        # The compiler driver will combine linker options so we
 
8792
        # cannot just pass the convience library names through
 
8793
        # without $wl, iff we do not link with $LD.
 
8794
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
8795
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
8796
        case $wlarc in
 
8797
        '')
 
8798
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
8799
        *)
 
8800
          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' ;;
 
8801
        esac ;;
7448
8802
      esac
7449
8803
      link_all_deplibs=yes
7450
8804
      ;;
7501
8855
      fi
7502
8856
      ;;
7503
8857
 
7504
 
    sysv4.2uw2*)
7505
 
      archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7506
 
      hardcode_direct=yes
7507
 
      hardcode_minus_L=no
7508
 
      hardcode_shlibpath_var=no
7509
 
      hardcode_runpath_var=yes
7510
 
      runpath_var=LD_RUN_PATH
7511
 
      ;;
7512
 
 
7513
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
7514
 
      no_undefined_flag='${wl}-z ${wl}text'
7515
 
      if test "$GCC" = yes; then
7516
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7517
 
      else
7518
 
        archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7519
 
      fi
7520
 
      runpath_var='LD_RUN_PATH'
7521
 
      hardcode_shlibpath_var=no
7522
 
      ;;
7523
 
 
7524
 
    sysv5*)
7525
 
      no_undefined_flag=' -z text'
7526
 
      # $CC -shared without GNU ld will not create a library from C++
7527
 
      # object files and a static libstdc++, better avoid it by now
7528
 
      archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7529
 
      archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7530
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7531
 
      hardcode_libdir_flag_spec=
7532
 
      hardcode_shlibpath_var=no
7533
 
      runpath_var='LD_RUN_PATH'
 
8858
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
8859
      no_undefined_flag='${wl}-z,text'
 
8860
      archive_cmds_need_lc=no
 
8861
      hardcode_shlibpath_var=no
 
8862
      runpath_var='LD_RUN_PATH'
 
8863
 
 
8864
      if test "$GCC" = yes; then
 
8865
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8866
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8867
      else
 
8868
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8869
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8870
      fi
 
8871
      ;;
 
8872
 
 
8873
    sysv5* | sco3.2v5* | sco5v6*)
 
8874
      # Note: We can NOT use -z defs as we might desire, because we do not
 
8875
      # link with -lc, and that would cause any symbols used from libc to
 
8876
      # always be unresolved, which means just about no library would
 
8877
      # ever link correctly.  If we're not using GNU ld we use -z text
 
8878
      # though, which does catch some bad symbols but isn't as heavy-handed
 
8879
      # as -z defs.
 
8880
      no_undefined_flag='${wl}-z,text'
 
8881
      allow_undefined_flag='${wl}-z,nodefs'
 
8882
      archive_cmds_need_lc=no
 
8883
      hardcode_shlibpath_var=no
 
8884
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
8885
      hardcode_libdir_separator=':'
 
8886
      link_all_deplibs=yes
 
8887
      export_dynamic_flag_spec='${wl}-Bexport'
 
8888
      runpath_var='LD_RUN_PATH'
 
8889
 
 
8890
      if test "$GCC" = yes; then
 
8891
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8892
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8893
      else
 
8894
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8895
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8896
      fi
7534
8897
      ;;
7535
8898
 
7536
8899
    uts4*)
7545
8908
    esac
7546
8909
  fi
7547
8910
 
7548
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7549
 
echo "${ECHO_T}$ld_shlibs" >&6
 
8911
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8912
echo "${ECHO_T}$ld_shlibs" >&6; }
7550
8913
test "$ld_shlibs" = no && can_build_shared=no
7551
8914
 
7552
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7553
 
if test "$GCC" = yes; then
7554
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7555
 
fi
7556
 
 
7557
8915
#
7558
8916
# Do we need to explicitly link libc?
7559
8917
#
7571
8929
      # Test whether the compiler implicitly links with -lc since on some
7572
8930
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7573
8931
      # to ld, don't add -lc before -lgcc.
7574
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7575
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
8932
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8933
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7576
8934
      $rm conftest*
7577
8935
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7578
8936
 
7586
8944
        libobjs=conftest.$ac_objext
7587
8945
        deplibs=
7588
8946
        wl=$lt_prog_compiler_wl
 
8947
        pic_flag=$lt_prog_compiler_pic
7589
8948
        compiler_flags=-v
7590
8949
        linker_flags=-v
7591
8950
        verstring=
7608
8967
        cat conftest.err 1>&5
7609
8968
      fi
7610
8969
      $rm conftest*
7611
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7612
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
8970
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
8971
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7613
8972
      ;;
7614
8973
    esac
7615
8974
  fi
7616
8975
  ;;
7617
8976
esac
7618
8977
 
7619
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7620
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
8978
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
8979
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7621
8980
library_names_spec=
7622
8981
libname_spec='lib$name'
7623
8982
soname_spec=
7718
9077
  shlibpath_var=LIBRARY_PATH
7719
9078
  ;;
7720
9079
 
7721
 
bsdi4*)
 
9080
bsdi[45]*)
7722
9081
  version_type=linux
7723
9082
  need_version=no
7724
9083
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7746
9105
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7747
9106
      dldir=$destdir/`dirname \$dlpath`~
7748
9107
      test -d \$dldir || mkdir -p \$dldir~
7749
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
9108
      $install_prog $dir/$dlname \$dldir/$dlname~
 
9109
      chmod a+x \$dldir/$dlname'
7750
9110
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7751
9111
      dlpath=$dir/\$dldll~
7752
9112
       $rm \$dlpath'
7776
9136
      ;;
7777
9137
    pw32*)
7778
9138
      # pw32 DLLs use 'pw' prefix rather than 'lib'
7779
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
9139
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7780
9140
      ;;
7781
9141
    esac
7782
9142
    ;;
7799
9159
  soname_spec='${libname}${release}${major}$shared_ext'
7800
9160
  shlibpath_overrides_runpath=yes
7801
9161
  shlibpath_var=DYLD_LIBRARY_PATH
7802
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
9162
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
7803
9163
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7804
9164
  if test "$GCC" = yes; then
7805
9165
    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"`
7822
9182
  dynamic_linker=no
7823
9183
  ;;
7824
9184
 
7825
 
kfreebsd*-gnu)
7826
 
  version_type=linux
7827
 
  need_lib_prefix=no
7828
 
  need_version=no
7829
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7830
 
  soname_spec='${libname}${release}${shared_ext}$major'
7831
 
  shlibpath_var=LD_LIBRARY_PATH
7832
 
  shlibpath_overrides_runpath=no
7833
 
  hardcode_into_libs=yes
7834
 
  dynamic_linker='GNU ld.so'
7835
 
  ;;
7836
 
 
7837
 
freebsd*)
7838
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
9185
freebsd* | dragonfly*)
 
9186
  # DragonFly does not have aout.  When/if they implement a new
 
9187
  # versioning mechanism, adjust this.
 
9188
  if test -x /usr/bin/objformat; then
 
9189
    objformat=`/usr/bin/objformat`
 
9190
  else
 
9191
    case $host_os in
 
9192
    freebsd[123]*) objformat=aout ;;
 
9193
    *) objformat=elf ;;
 
9194
    esac
 
9195
  fi
7839
9196
  version_type=freebsd-$objformat
7840
9197
  case $version_type in
7841
9198
    freebsd-elf*)
7853
9210
  freebsd2*)
7854
9211
    shlibpath_overrides_runpath=yes
7855
9212
    ;;
7856
 
  freebsd3.01* | freebsdelf3.01*)
 
9213
  freebsd3.[01]* | freebsdelf3.[01]*)
7857
9214
    shlibpath_overrides_runpath=yes
7858
9215
    hardcode_into_libs=yes
7859
9216
    ;;
7860
 
  *) # from 3.2 on
 
9217
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
9218
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
7861
9219
    shlibpath_overrides_runpath=no
7862
9220
    hardcode_into_libs=yes
7863
9221
    ;;
 
9222
  freebsd*) # from 4.6 on
 
9223
    shlibpath_overrides_runpath=yes
 
9224
    hardcode_into_libs=yes
 
9225
    ;;
7864
9226
  esac
7865
9227
  ;;
7866
9228
 
7880
9242
  version_type=sunos
7881
9243
  need_lib_prefix=no
7882
9244
  need_version=no
7883
 
  case "$host_cpu" in
 
9245
  case $host_cpu in
7884
9246
  ia64*)
7885
9247
    shrext_cmds='.so'
7886
9248
    hardcode_into_libs=yes
7920
9282
  postinstall_cmds='chmod 555 $lib'
7921
9283
  ;;
7922
9284
 
 
9285
interix3*)
 
9286
  version_type=linux
 
9287
  need_lib_prefix=no
 
9288
  need_version=no
 
9289
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9290
  soname_spec='${libname}${release}${shared_ext}$major'
 
9291
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
9292
  shlibpath_var=LD_LIBRARY_PATH
 
9293
  shlibpath_overrides_runpath=no
 
9294
  hardcode_into_libs=yes
 
9295
  ;;
 
9296
 
7923
9297
irix5* | irix6* | nonstopux*)
7924
9298
  case $host_os in
7925
9299
    nonstopux*) version_type=nonstopux ;;
7963
9337
  ;;
7964
9338
 
7965
9339
# This must be Linux ELF.
7966
 
linux*)
 
9340
linux* | k*bsd*-gnu)
7967
9341
  version_type=linux
7968
9342
  need_lib_prefix=no
7969
9343
  need_version=no
7979
9353
 
7980
9354
  # Append ld.so.conf contents to the search path
7981
9355
  if test -f /etc/ld.so.conf; then
7982
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
9356
    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' ' '`
7983
9357
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
7984
9358
  fi
7985
9359
 
8004
9378
  dynamic_linker='NetBSD ld.elf_so'
8005
9379
  ;;
8006
9380
 
8007
 
knetbsd*-gnu)
8008
 
  version_type=linux
8009
 
  need_lib_prefix=no
8010
 
  need_version=no
8011
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8012
 
  soname_spec='${libname}${release}${shared_ext}$major'
8013
 
  shlibpath_var=LD_LIBRARY_PATH
8014
 
  shlibpath_overrides_runpath=no
8015
 
  hardcode_into_libs=yes
8016
 
  dynamic_linker='GNU ld.so'
8017
 
  ;;
8018
 
 
8019
9381
netbsd*)
8020
9382
  version_type=sunos
8021
9383
  need_lib_prefix=no
8053
9415
 
8054
9416
openbsd*)
8055
9417
  version_type=sunos
 
9418
  sys_lib_dlsearch_path_spec="/usr/lib"
8056
9419
  need_lib_prefix=no
8057
 
  need_version=yes
 
9420
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
9421
  case $host_os in
 
9422
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
9423
    *)                         need_version=no  ;;
 
9424
  esac
8058
9425
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8059
9426
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8060
9427
  shlibpath_var=LD_LIBRARY_PATH
8092
9459
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8093
9460
  ;;
8094
9461
 
8095
 
sco3.2v5*)
8096
 
  version_type=osf
8097
 
  soname_spec='${libname}${release}${shared_ext}$major'
8098
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8099
 
  shlibpath_var=LD_LIBRARY_PATH
8100
 
  ;;
8101
 
 
8102
9462
solaris*)
8103
9463
  version_type=linux
8104
9464
  need_lib_prefix=no
8124
9484
  need_version=yes
8125
9485
  ;;
8126
9486
 
8127
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9487
sysv4 | sysv4.3*)
8128
9488
  version_type=linux
8129
9489
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8130
9490
  soname_spec='${libname}${release}${shared_ext}$major'
8157
9517
  fi
8158
9518
  ;;
8159
9519
 
 
9520
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
9521
  version_type=freebsd-elf
 
9522
  need_lib_prefix=no
 
9523
  need_version=no
 
9524
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
9525
  soname_spec='${libname}${release}${shared_ext}$major'
 
9526
  shlibpath_var=LD_LIBRARY_PATH
 
9527
  hardcode_into_libs=yes
 
9528
  if test "$with_gnu_ld" = yes; then
 
9529
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
9530
    shlibpath_overrides_runpath=no
 
9531
  else
 
9532
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
9533
    shlibpath_overrides_runpath=yes
 
9534
    case $host_os in
 
9535
      sco3.2v5*)
 
9536
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
9537
        ;;
 
9538
    esac
 
9539
  fi
 
9540
  sys_lib_dlsearch_path_spec='/usr/lib'
 
9541
  ;;
 
9542
 
8160
9543
uts4*)
8161
9544
  version_type=linux
8162
9545
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8168
9551
  dynamic_linker=no
8169
9552
  ;;
8170
9553
esac
8171
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8172
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9554
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9555
echo "${ECHO_T}$dynamic_linker" >&6; }
8173
9556
test "$dynamic_linker" = no && can_build_shared=no
8174
9557
 
8175
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8176
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9558
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
9559
if test "$GCC" = yes; then
 
9560
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
9561
fi
 
9562
 
 
9563
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9564
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8177
9565
hardcode_action=
8178
9566
if test -n "$hardcode_libdir_flag_spec" || \
8179
 
   test -n "$runpath_var " || \
8180
 
   test "X$hardcode_automatic"="Xyes" ; then
 
9567
   test -n "$runpath_var" || \
 
9568
   test "X$hardcode_automatic" = "Xyes" ; then
8181
9569
 
8182
9570
  # We can hardcode non-existant directories.
8183
9571
  if test "$hardcode_direct" != no &&
8197
9585
  # directories.
8198
9586
  hardcode_action=unsupported
8199
9587
fi
8200
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8201
 
echo "${ECHO_T}$hardcode_action" >&6
 
9588
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9589
echo "${ECHO_T}$hardcode_action" >&6; }
8202
9590
 
8203
9591
if test "$hardcode_action" = relink; then
8204
9592
  # Fast installation is not supported
8211
9599
 
8212
9600
striplib=
8213
9601
old_striplib=
8214
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8215
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
9602
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9603
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8216
9604
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8217
9605
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8218
9606
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8219
 
  echo "$as_me:$LINENO: result: yes" >&5
8220
 
echo "${ECHO_T}yes" >&6
 
9607
  { echo "$as_me:$LINENO: result: yes" >&5
 
9608
echo "${ECHO_T}yes" >&6; }
8221
9609
else
8222
9610
# FIXME - insert some real tests, host_os isn't really good enough
8223
9611
  case $host_os in
8224
9612
   darwin*)
8225
9613
       if test -n "$STRIP" ; then
8226
9614
         striplib="$STRIP -x"
8227
 
         echo "$as_me:$LINENO: result: yes" >&5
8228
 
echo "${ECHO_T}yes" >&6
 
9615
         { echo "$as_me:$LINENO: result: yes" >&5
 
9616
echo "${ECHO_T}yes" >&6; }
8229
9617
       else
8230
 
  echo "$as_me:$LINENO: result: no" >&5
8231
 
echo "${ECHO_T}no" >&6
 
9618
  { echo "$as_me:$LINENO: result: no" >&5
 
9619
echo "${ECHO_T}no" >&6; }
8232
9620
fi
8233
9621
       ;;
8234
9622
   *)
8235
 
  echo "$as_me:$LINENO: result: no" >&5
8236
 
echo "${ECHO_T}no" >&6
 
9623
  { echo "$as_me:$LINENO: result: no" >&5
 
9624
echo "${ECHO_T}no" >&6; }
8237
9625
    ;;
8238
9626
  esac
8239
9627
fi
8265
9653
 
8266
9654
  darwin*)
8267
9655
  # if libdl is installed we need to link against it
8268
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8269
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9656
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9657
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8270
9658
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8271
9659
  echo $ECHO_N "(cached) $ECHO_C" >&6
8272
9660
else
8279
9667
cat >>conftest.$ac_ext <<_ACEOF
8280
9668
/* end confdefs.h.  */
8281
9669
 
8282
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9670
/* Override any GCC internal prototype to avoid an error.
 
9671
   Use char because int might match the return type of a GCC
 
9672
   builtin and then its argument prototype would still apply.  */
8283
9673
#ifdef __cplusplus
8284
9674
extern "C"
8285
9675
#endif
8286
 
/* We use char because int might match the return type of a gcc2
8287
 
   builtin and then its argument prototype would still apply.  */
8288
9676
char dlopen ();
8289
9677
int
8290
9678
main ()
8291
9679
{
8292
 
dlopen ();
 
9680
return dlopen ();
8293
9681
  ;
8294
9682
  return 0;
8295
9683
}
8296
9684
_ACEOF
8297
9685
rm -f conftest.$ac_objext conftest$ac_exeext
8298
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8299
 
  (eval $ac_link) 2>conftest.er1
 
9686
if { (ac_try="$ac_link"
 
9687
case "(($ac_try" in
 
9688
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9689
  *) ac_try_echo=$ac_try;;
 
9690
esac
 
9691
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9692
  (eval "$ac_link") 2>conftest.er1
8300
9693
  ac_status=$?
8301
9694
  grep -v '^ *+' conftest.er1 >conftest.err
8302
9695
  rm -f conftest.er1
8303
9696
  cat conftest.err >&5
8304
9697
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305
9698
  (exit $ac_status); } &&
8306
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8307
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8308
 
  (eval $ac_try) 2>&5
 
9699
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9700
  { (case "(($ac_try" in
 
9701
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9702
  *) ac_try_echo=$ac_try;;
 
9703
esac
 
9704
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9705
  (eval "$ac_try") 2>&5
8309
9706
  ac_status=$?
8310
9707
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8311
9708
  (exit $ac_status); }; } &&
8312
9709
         { ac_try='test -s conftest$ac_exeext'
8313
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8314
 
  (eval $ac_try) 2>&5
 
9710
  { (case "(($ac_try" in
 
9711
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9712
  *) ac_try_echo=$ac_try;;
 
9713
esac
 
9714
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9715
  (eval "$ac_try") 2>&5
8315
9716
  ac_status=$?
8316
9717
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317
9718
  (exit $ac_status); }; }; then
8320
9721
  echo "$as_me: failed program was:" >&5
8321
9722
sed 's/^/| /' conftest.$ac_ext >&5
8322
9723
 
8323
 
ac_cv_lib_dl_dlopen=no
 
9724
        ac_cv_lib_dl_dlopen=no
8324
9725
fi
8325
 
rm -f conftest.err conftest.$ac_objext \
 
9726
 
 
9727
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8326
9728
      conftest$ac_exeext conftest.$ac_ext
8327
9729
LIBS=$ac_check_lib_save_LIBS
8328
9730
fi
8329
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8330
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9731
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9732
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8331
9733
if test $ac_cv_lib_dl_dlopen = yes; then
8332
9734
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8333
9735
else
8341
9743
   ;;
8342
9744
 
8343
9745
  *)
8344
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8345
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
9746
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
9747
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8346
9748
if test "${ac_cv_func_shl_load+set}" = set; then
8347
9749
  echo $ECHO_N "(cached) $ECHO_C" >&6
8348
9750
else
8369
9771
 
8370
9772
#undef shl_load
8371
9773
 
8372
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9774
/* Override any GCC internal prototype to avoid an error.
 
9775
   Use char because int might match the return type of a GCC
 
9776
   builtin and then its argument prototype would still apply.  */
8373
9777
#ifdef __cplusplus
8374
9778
extern "C"
8375
 
{
8376
9779
#endif
8377
 
/* We use char because int might match the return type of a gcc2
8378
 
   builtin and then its argument prototype would still apply.  */
8379
9780
char shl_load ();
8380
9781
/* The GNU C library defines this for functions which it implements
8381
9782
    to always fail with ENOSYS.  Some functions are actually named
8382
9783
    something starting with __ and the normal name is an alias.  */
8383
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
9784
#if defined __stub_shl_load || defined __stub___shl_load
8384
9785
choke me
8385
 
#else
8386
 
char (*f) () = shl_load;
8387
 
#endif
8388
 
#ifdef __cplusplus
8389
 
}
8390
9786
#endif
8391
9787
 
8392
9788
int
8393
9789
main ()
8394
9790
{
8395
 
return f != shl_load;
 
9791
return shl_load ();
8396
9792
  ;
8397
9793
  return 0;
8398
9794
}
8399
9795
_ACEOF
8400
9796
rm -f conftest.$ac_objext conftest$ac_exeext
8401
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8402
 
  (eval $ac_link) 2>conftest.er1
 
9797
if { (ac_try="$ac_link"
 
9798
case "(($ac_try" in
 
9799
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9800
  *) ac_try_echo=$ac_try;;
 
9801
esac
 
9802
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9803
  (eval "$ac_link") 2>conftest.er1
8403
9804
  ac_status=$?
8404
9805
  grep -v '^ *+' conftest.er1 >conftest.err
8405
9806
  rm -f conftest.er1
8406
9807
  cat conftest.err >&5
8407
9808
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408
9809
  (exit $ac_status); } &&
8409
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8410
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8411
 
  (eval $ac_try) 2>&5
 
9810
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9811
  { (case "(($ac_try" in
 
9812
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9813
  *) ac_try_echo=$ac_try;;
 
9814
esac
 
9815
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9816
  (eval "$ac_try") 2>&5
8412
9817
  ac_status=$?
8413
9818
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8414
9819
  (exit $ac_status); }; } &&
8415
9820
         { ac_try='test -s conftest$ac_exeext'
8416
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8417
 
  (eval $ac_try) 2>&5
 
9821
  { (case "(($ac_try" in
 
9822
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9823
  *) ac_try_echo=$ac_try;;
 
9824
esac
 
9825
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9826
  (eval "$ac_try") 2>&5
8418
9827
  ac_status=$?
8419
9828
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8420
9829
  (exit $ac_status); }; }; then
8423
9832
  echo "$as_me: failed program was:" >&5
8424
9833
sed 's/^/| /' conftest.$ac_ext >&5
8425
9834
 
8426
 
ac_cv_func_shl_load=no
 
9835
        ac_cv_func_shl_load=no
8427
9836
fi
8428
 
rm -f conftest.err conftest.$ac_objext \
 
9837
 
 
9838
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8429
9839
      conftest$ac_exeext conftest.$ac_ext
8430
9840
fi
8431
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8432
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
9841
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
9842
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8433
9843
if test $ac_cv_func_shl_load = yes; then
8434
9844
  lt_cv_dlopen="shl_load"
8435
9845
else
8436
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8437
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
9846
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
9847
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8438
9848
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8439
9849
  echo $ECHO_N "(cached) $ECHO_C" >&6
8440
9850
else
8447
9857
cat >>conftest.$ac_ext <<_ACEOF
8448
9858
/* end confdefs.h.  */
8449
9859
 
8450
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9860
/* Override any GCC internal prototype to avoid an error.
 
9861
   Use char because int might match the return type of a GCC
 
9862
   builtin and then its argument prototype would still apply.  */
8451
9863
#ifdef __cplusplus
8452
9864
extern "C"
8453
9865
#endif
8454
 
/* We use char because int might match the return type of a gcc2
8455
 
   builtin and then its argument prototype would still apply.  */
8456
9866
char shl_load ();
8457
9867
int
8458
9868
main ()
8459
9869
{
8460
 
shl_load ();
 
9870
return shl_load ();
8461
9871
  ;
8462
9872
  return 0;
8463
9873
}
8464
9874
_ACEOF
8465
9875
rm -f conftest.$ac_objext conftest$ac_exeext
8466
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8467
 
  (eval $ac_link) 2>conftest.er1
 
9876
if { (ac_try="$ac_link"
 
9877
case "(($ac_try" in
 
9878
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9879
  *) ac_try_echo=$ac_try;;
 
9880
esac
 
9881
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9882
  (eval "$ac_link") 2>conftest.er1
8468
9883
  ac_status=$?
8469
9884
  grep -v '^ *+' conftest.er1 >conftest.err
8470
9885
  rm -f conftest.er1
8471
9886
  cat conftest.err >&5
8472
9887
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473
9888
  (exit $ac_status); } &&
8474
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8475
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8476
 
  (eval $ac_try) 2>&5
 
9889
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9890
  { (case "(($ac_try" in
 
9891
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9892
  *) ac_try_echo=$ac_try;;
 
9893
esac
 
9894
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9895
  (eval "$ac_try") 2>&5
8477
9896
  ac_status=$?
8478
9897
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8479
9898
  (exit $ac_status); }; } &&
8480
9899
         { ac_try='test -s conftest$ac_exeext'
8481
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8482
 
  (eval $ac_try) 2>&5
 
9900
  { (case "(($ac_try" in
 
9901
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9902
  *) ac_try_echo=$ac_try;;
 
9903
esac
 
9904
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9905
  (eval "$ac_try") 2>&5
8483
9906
  ac_status=$?
8484
9907
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485
9908
  (exit $ac_status); }; }; then
8488
9911
  echo "$as_me: failed program was:" >&5
8489
9912
sed 's/^/| /' conftest.$ac_ext >&5
8490
9913
 
8491
 
ac_cv_lib_dld_shl_load=no
 
9914
        ac_cv_lib_dld_shl_load=no
8492
9915
fi
8493
 
rm -f conftest.err conftest.$ac_objext \
 
9916
 
 
9917
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8494
9918
      conftest$ac_exeext conftest.$ac_ext
8495
9919
LIBS=$ac_check_lib_save_LIBS
8496
9920
fi
8497
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8498
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
9921
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
9922
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8499
9923
if test $ac_cv_lib_dld_shl_load = yes; then
8500
9924
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8501
9925
else
8502
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8503
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
9926
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
9927
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8504
9928
if test "${ac_cv_func_dlopen+set}" = set; then
8505
9929
  echo $ECHO_N "(cached) $ECHO_C" >&6
8506
9930
else
8527
9951
 
8528
9952
#undef dlopen
8529
9953
 
8530
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9954
/* Override any GCC internal prototype to avoid an error.
 
9955
   Use char because int might match the return type of a GCC
 
9956
   builtin and then its argument prototype would still apply.  */
8531
9957
#ifdef __cplusplus
8532
9958
extern "C"
8533
 
{
8534
9959
#endif
8535
 
/* We use char because int might match the return type of a gcc2
8536
 
   builtin and then its argument prototype would still apply.  */
8537
9960
char dlopen ();
8538
9961
/* The GNU C library defines this for functions which it implements
8539
9962
    to always fail with ENOSYS.  Some functions are actually named
8540
9963
    something starting with __ and the normal name is an alias.  */
8541
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
9964
#if defined __stub_dlopen || defined __stub___dlopen
8542
9965
choke me
8543
 
#else
8544
 
char (*f) () = dlopen;
8545
 
#endif
8546
 
#ifdef __cplusplus
8547
 
}
8548
9966
#endif
8549
9967
 
8550
9968
int
8551
9969
main ()
8552
9970
{
8553
 
return f != dlopen;
 
9971
return dlopen ();
8554
9972
  ;
8555
9973
  return 0;
8556
9974
}
8557
9975
_ACEOF
8558
9976
rm -f conftest.$ac_objext conftest$ac_exeext
8559
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8560
 
  (eval $ac_link) 2>conftest.er1
 
9977
if { (ac_try="$ac_link"
 
9978
case "(($ac_try" in
 
9979
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9980
  *) ac_try_echo=$ac_try;;
 
9981
esac
 
9982
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9983
  (eval "$ac_link") 2>conftest.er1
8561
9984
  ac_status=$?
8562
9985
  grep -v '^ *+' conftest.er1 >conftest.err
8563
9986
  rm -f conftest.er1
8564
9987
  cat conftest.err >&5
8565
9988
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566
9989
  (exit $ac_status); } &&
8567
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8568
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8569
 
  (eval $ac_try) 2>&5
 
9990
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9991
  { (case "(($ac_try" in
 
9992
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9993
  *) ac_try_echo=$ac_try;;
 
9994
esac
 
9995
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9996
  (eval "$ac_try") 2>&5
8570
9997
  ac_status=$?
8571
9998
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572
9999
  (exit $ac_status); }; } &&
8573
10000
         { ac_try='test -s conftest$ac_exeext'
8574
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8575
 
  (eval $ac_try) 2>&5
 
10001
  { (case "(($ac_try" in
 
10002
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10003
  *) ac_try_echo=$ac_try;;
 
10004
esac
 
10005
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10006
  (eval "$ac_try") 2>&5
8576
10007
  ac_status=$?
8577
10008
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578
10009
  (exit $ac_status); }; }; then
8581
10012
  echo "$as_me: failed program was:" >&5
8582
10013
sed 's/^/| /' conftest.$ac_ext >&5
8583
10014
 
8584
 
ac_cv_func_dlopen=no
 
10015
        ac_cv_func_dlopen=no
8585
10016
fi
8586
 
rm -f conftest.err conftest.$ac_objext \
 
10017
 
 
10018
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8587
10019
      conftest$ac_exeext conftest.$ac_ext
8588
10020
fi
8589
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8590
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
10021
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
10022
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8591
10023
if test $ac_cv_func_dlopen = yes; then
8592
10024
  lt_cv_dlopen="dlopen"
8593
10025
else
8594
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8595
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
10026
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10027
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8596
10028
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8597
10029
  echo $ECHO_N "(cached) $ECHO_C" >&6
8598
10030
else
8605
10037
cat >>conftest.$ac_ext <<_ACEOF
8606
10038
/* end confdefs.h.  */
8607
10039
 
8608
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10040
/* Override any GCC internal prototype to avoid an error.
 
10041
   Use char because int might match the return type of a GCC
 
10042
   builtin and then its argument prototype would still apply.  */
8609
10043
#ifdef __cplusplus
8610
10044
extern "C"
8611
10045
#endif
8612
 
/* We use char because int might match the return type of a gcc2
8613
 
   builtin and then its argument prototype would still apply.  */
8614
10046
char dlopen ();
8615
10047
int
8616
10048
main ()
8617
10049
{
8618
 
dlopen ();
 
10050
return dlopen ();
8619
10051
  ;
8620
10052
  return 0;
8621
10053
}
8622
10054
_ACEOF
8623
10055
rm -f conftest.$ac_objext conftest$ac_exeext
8624
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8625
 
  (eval $ac_link) 2>conftest.er1
 
10056
if { (ac_try="$ac_link"
 
10057
case "(($ac_try" in
 
10058
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10059
  *) ac_try_echo=$ac_try;;
 
10060
esac
 
10061
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10062
  (eval "$ac_link") 2>conftest.er1
8626
10063
  ac_status=$?
8627
10064
  grep -v '^ *+' conftest.er1 >conftest.err
8628
10065
  rm -f conftest.er1
8629
10066
  cat conftest.err >&5
8630
10067
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631
10068
  (exit $ac_status); } &&
8632
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8633
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8634
 
  (eval $ac_try) 2>&5
 
10069
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10070
  { (case "(($ac_try" in
 
10071
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10072
  *) ac_try_echo=$ac_try;;
 
10073
esac
 
10074
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10075
  (eval "$ac_try") 2>&5
8635
10076
  ac_status=$?
8636
10077
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8637
10078
  (exit $ac_status); }; } &&
8638
10079
         { ac_try='test -s conftest$ac_exeext'
8639
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8640
 
  (eval $ac_try) 2>&5
 
10080
  { (case "(($ac_try" in
 
10081
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10082
  *) ac_try_echo=$ac_try;;
 
10083
esac
 
10084
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10085
  (eval "$ac_try") 2>&5
8641
10086
  ac_status=$?
8642
10087
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8643
10088
  (exit $ac_status); }; }; then
8646
10091
  echo "$as_me: failed program was:" >&5
8647
10092
sed 's/^/| /' conftest.$ac_ext >&5
8648
10093
 
8649
 
ac_cv_lib_dl_dlopen=no
 
10094
        ac_cv_lib_dl_dlopen=no
8650
10095
fi
8651
 
rm -f conftest.err conftest.$ac_objext \
 
10096
 
 
10097
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8652
10098
      conftest$ac_exeext conftest.$ac_ext
8653
10099
LIBS=$ac_check_lib_save_LIBS
8654
10100
fi
8655
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8656
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
10101
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10102
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8657
10103
if test $ac_cv_lib_dl_dlopen = yes; then
8658
10104
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8659
10105
else
8660
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8661
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
10106
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10107
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8662
10108
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8663
10109
  echo $ECHO_N "(cached) $ECHO_C" >&6
8664
10110
else
8671
10117
cat >>conftest.$ac_ext <<_ACEOF
8672
10118
/* end confdefs.h.  */
8673
10119
 
8674
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10120
/* Override any GCC internal prototype to avoid an error.
 
10121
   Use char because int might match the return type of a GCC
 
10122
   builtin and then its argument prototype would still apply.  */
8675
10123
#ifdef __cplusplus
8676
10124
extern "C"
8677
10125
#endif
8678
 
/* We use char because int might match the return type of a gcc2
8679
 
   builtin and then its argument prototype would still apply.  */
8680
10126
char dlopen ();
8681
10127
int
8682
10128
main ()
8683
10129
{
8684
 
dlopen ();
 
10130
return dlopen ();
8685
10131
  ;
8686
10132
  return 0;
8687
10133
}
8688
10134
_ACEOF
8689
10135
rm -f conftest.$ac_objext conftest$ac_exeext
8690
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8691
 
  (eval $ac_link) 2>conftest.er1
 
10136
if { (ac_try="$ac_link"
 
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_link") 2>conftest.er1
8692
10143
  ac_status=$?
8693
10144
  grep -v '^ *+' conftest.er1 >conftest.err
8694
10145
  rm -f conftest.er1
8695
10146
  cat conftest.err >&5
8696
10147
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697
10148
  (exit $ac_status); } &&
8698
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8699
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8700
 
  (eval $ac_try) 2>&5
 
10149
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10150
  { (case "(($ac_try" in
 
10151
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10152
  *) ac_try_echo=$ac_try;;
 
10153
esac
 
10154
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10155
  (eval "$ac_try") 2>&5
8701
10156
  ac_status=$?
8702
10157
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703
10158
  (exit $ac_status); }; } &&
8704
10159
         { ac_try='test -s conftest$ac_exeext'
8705
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8706
 
  (eval $ac_try) 2>&5
 
10160
  { (case "(($ac_try" in
 
10161
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10162
  *) ac_try_echo=$ac_try;;
 
10163
esac
 
10164
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10165
  (eval "$ac_try") 2>&5
8707
10166
  ac_status=$?
8708
10167
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709
10168
  (exit $ac_status); }; }; then
8712
10171
  echo "$as_me: failed program was:" >&5
8713
10172
sed 's/^/| /' conftest.$ac_ext >&5
8714
10173
 
8715
 
ac_cv_lib_svld_dlopen=no
 
10174
        ac_cv_lib_svld_dlopen=no
8716
10175
fi
8717
 
rm -f conftest.err conftest.$ac_objext \
 
10176
 
 
10177
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8718
10178
      conftest$ac_exeext conftest.$ac_ext
8719
10179
LIBS=$ac_check_lib_save_LIBS
8720
10180
fi
8721
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8722
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
10181
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10182
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
8723
10183
if test $ac_cv_lib_svld_dlopen = yes; then
8724
10184
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8725
10185
else
8726
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8727
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
10186
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10187
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
8728
10188
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8729
10189
  echo $ECHO_N "(cached) $ECHO_C" >&6
8730
10190
else
8737
10197
cat >>conftest.$ac_ext <<_ACEOF
8738
10198
/* end confdefs.h.  */
8739
10199
 
8740
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10200
/* Override any GCC internal prototype to avoid an error.
 
10201
   Use char because int might match the return type of a GCC
 
10202
   builtin and then its argument prototype would still apply.  */
8741
10203
#ifdef __cplusplus
8742
10204
extern "C"
8743
10205
#endif
8744
 
/* We use char because int might match the return type of a gcc2
8745
 
   builtin and then its argument prototype would still apply.  */
8746
10206
char dld_link ();
8747
10207
int
8748
10208
main ()
8749
10209
{
8750
 
dld_link ();
 
10210
return dld_link ();
8751
10211
  ;
8752
10212
  return 0;
8753
10213
}
8754
10214
_ACEOF
8755
10215
rm -f conftest.$ac_objext conftest$ac_exeext
8756
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8757
 
  (eval $ac_link) 2>conftest.er1
 
10216
if { (ac_try="$ac_link"
 
10217
case "(($ac_try" in
 
10218
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10219
  *) ac_try_echo=$ac_try;;
 
10220
esac
 
10221
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10222
  (eval "$ac_link") 2>conftest.er1
8758
10223
  ac_status=$?
8759
10224
  grep -v '^ *+' conftest.er1 >conftest.err
8760
10225
  rm -f conftest.er1
8761
10226
  cat conftest.err >&5
8762
10227
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763
10228
  (exit $ac_status); } &&
8764
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8765
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8766
 
  (eval $ac_try) 2>&5
 
10229
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10230
  { (case "(($ac_try" in
 
10231
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10232
  *) ac_try_echo=$ac_try;;
 
10233
esac
 
10234
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10235
  (eval "$ac_try") 2>&5
8767
10236
  ac_status=$?
8768
10237
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769
10238
  (exit $ac_status); }; } &&
8770
10239
         { ac_try='test -s conftest$ac_exeext'
8771
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8772
 
  (eval $ac_try) 2>&5
 
10240
  { (case "(($ac_try" in
 
10241
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10242
  *) ac_try_echo=$ac_try;;
 
10243
esac
 
10244
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10245
  (eval "$ac_try") 2>&5
8773
10246
  ac_status=$?
8774
10247
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8775
10248
  (exit $ac_status); }; }; then
8778
10251
  echo "$as_me: failed program was:" >&5
8779
10252
sed 's/^/| /' conftest.$ac_ext >&5
8780
10253
 
8781
 
ac_cv_lib_dld_dld_link=no
 
10254
        ac_cv_lib_dld_dld_link=no
8782
10255
fi
8783
 
rm -f conftest.err conftest.$ac_objext \
 
10256
 
 
10257
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8784
10258
      conftest$ac_exeext conftest.$ac_ext
8785
10259
LIBS=$ac_check_lib_save_LIBS
8786
10260
fi
8787
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8788
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
10261
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10262
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
8789
10263
if test $ac_cv_lib_dld_dld_link = yes; then
8790
10264
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8791
10265
fi
8820
10294
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8821
10295
 
8822
10296
    save_LDFLAGS="$LDFLAGS"
8823
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
10297
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8824
10298
 
8825
10299
    save_LIBS="$LIBS"
8826
10300
    LIBS="$lt_cv_dlopen_libs $LIBS"
8827
10301
 
8828
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8829
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
10302
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10303
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
8830
10304
if test "${lt_cv_dlopen_self+set}" = set; then
8831
10305
  echo $ECHO_N "(cached) $ECHO_C" >&6
8832
10306
else
8836
10310
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8837
10311
  lt_status=$lt_dlunknown
8838
10312
  cat > conftest.$ac_ext <<EOF
8839
 
#line 8839 "configure"
 
10313
#line 10313 "configure"
8840
10314
#include "confdefs.h"
8841
10315
 
8842
10316
#if HAVE_DLFCN_H
8893
10367
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8894
10368
      /* dlclose (self); */
8895
10369
    }
 
10370
  else
 
10371
    puts (dlerror ());
8896
10372
 
8897
10373
    exit (status);
8898
10374
}
8902
10378
  ac_status=$?
8903
10379
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904
10380
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8905
 
    (./conftest; exit; ) 2>/dev/null
 
10381
    (./conftest; exit; ) >&5 2>/dev/null
8906
10382
    lt_status=$?
8907
10383
    case x$lt_status in
8908
10384
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8909
10385
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8910
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
 
10386
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
8911
10387
    esac
8912
10388
  else :
8913
10389
    # compilation failed
8918
10394
 
8919
10395
 
8920
10396
fi
8921
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8922
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
10397
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10398
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
8923
10399
 
8924
10400
    if test "x$lt_cv_dlopen_self" = xyes; then
8925
 
      LDFLAGS="$LDFLAGS $link_static_flag"
8926
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8927
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
10401
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
10402
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10403
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
8928
10404
if test "${lt_cv_dlopen_self_static+set}" = set; then
8929
10405
  echo $ECHO_N "(cached) $ECHO_C" >&6
8930
10406
else
8934
10410
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8935
10411
  lt_status=$lt_dlunknown
8936
10412
  cat > conftest.$ac_ext <<EOF
8937
 
#line 8937 "configure"
 
10413
#line 10413 "configure"
8938
10414
#include "confdefs.h"
8939
10415
 
8940
10416
#if HAVE_DLFCN_H
8991
10467
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8992
10468
      /* dlclose (self); */
8993
10469
    }
 
10470
  else
 
10471
    puts (dlerror ());
8994
10472
 
8995
10473
    exit (status);
8996
10474
}
9000
10478
  ac_status=$?
9001
10479
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9002
10480
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9003
 
    (./conftest; exit; ) 2>/dev/null
 
10481
    (./conftest; exit; ) >&5 2>/dev/null
9004
10482
    lt_status=$?
9005
10483
    case x$lt_status in
9006
10484
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9007
10485
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9008
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
 
10486
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9009
10487
    esac
9010
10488
  else :
9011
10489
    # compilation failed
9016
10494
 
9017
10495
 
9018
10496
fi
9019
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9020
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
10497
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10498
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9021
10499
    fi
9022
10500
 
9023
10501
    CPPFLAGS="$save_CPPFLAGS"
9038
10516
fi
9039
10517
 
9040
10518
 
9041
 
# Report which librarie types wil actually be built
9042
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9043
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9044
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9045
 
echo "${ECHO_T}$can_build_shared" >&6
 
10519
# Report which library types will actually be built
 
10520
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10521
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
10522
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10523
echo "${ECHO_T}$can_build_shared" >&6; }
9046
10524
 
9047
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9048
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
10525
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10526
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9049
10527
test "$can_build_shared" = "no" && enable_shared=no
9050
10528
 
9051
10529
# On AIX, shared libraries and static libraries use the same namespace, and
9052
10530
# are all built from PIC.
9053
 
case "$host_os" in
 
10531
case $host_os in
9054
10532
aix3*)
9055
10533
  test "$enable_shared" = yes && enable_static=no
9056
10534
  if test -n "$RANLIB"; then
9063
10541
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9064
10542
    test "$enable_shared" = yes && enable_static=no
9065
10543
  fi
9066
 
  ;;
9067
 
  darwin* | rhapsody*)
9068
 
  if test "$GCC" = yes; then
9069
 
    archive_cmds_need_lc=no
9070
 
    case "$host_os" in
9071
 
    rhapsody* | darwin1.[012])
9072
 
      allow_undefined_flag='-undefined suppress'
9073
 
      ;;
9074
 
    *) # Darwin 1.3 on
9075
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9076
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
9077
 
      else
9078
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
9079
 
          10.[012])
9080
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
9081
 
            ;;
9082
 
          10.*)
9083
 
            allow_undefined_flag='-undefined dynamic_lookup'
9084
 
            ;;
9085
 
        esac
9086
 
      fi
9087
 
      ;;
9088
 
    esac
9089
 
    output_verbose_link_cmd='echo'
9090
 
    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
9091
 
    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9092
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9093
 
    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}'
9094
 
    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}'
9095
 
    hardcode_direct=no
9096
 
    hardcode_automatic=yes
9097
 
    hardcode_shlibpath_var=unsupported
9098
 
    whole_archive_flag_spec='-all_load $convenience'
9099
 
    link_all_deplibs=yes
9100
 
  else
9101
 
    ld_shlibs=no
9102
 
  fi
9103
10544
    ;;
9104
10545
esac
9105
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9106
 
echo "${ECHO_T}$enable_shared" >&6
 
10546
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10547
echo "${ECHO_T}$enable_shared" >&6; }
9107
10548
 
9108
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9109
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
10549
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10550
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9110
10551
# Make sure either enable_shared or enable_static is yes.
9111
10552
test "$enable_shared" = yes || enable_static=yes
9112
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9113
 
echo "${ECHO_T}$enable_static" >&6
 
10553
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
10554
echo "${ECHO_T}$enable_static" >&6; }
9114
10555
 
9115
10556
# The else clause should only fire when bootstrapping the
9116
10557
# libtool distribution, otherwise you forgot to ship ltmain.sh
9125
10566
  # Now quote all the things that may contain metacharacters while being
9126
10567
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
9127
10568
  # variables and quote the copies for generation of the libtool script.
9128
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
10569
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9129
10570
    SED SHELL STRIP \
9130
10571
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9131
10572
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9229
10670
#
9230
10671
# You should have received a copy of the GNU General Public License
9231
10672
# along with this program; if not, write to the Free Software
9232
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
10673
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9233
10674
#
9234
10675
# As a special exception to the GNU General Public License, if you
9235
10676
# distribute this file as part of a program that contains a
9240
10681
SED=$lt_SED
9241
10682
 
9242
10683
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
9243
 
Xsed="$SED -e s/^X//"
 
10684
Xsed="$SED -e 1s/^X//"
9244
10685
 
9245
10686
# The HP-UX ksh and POSIX shell print the target directory to stdout
9246
10687
# if CDPATH is set.
9247
 
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
10688
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9248
10689
 
9249
10690
# The names of the tagged configurations supported by this script.
9250
10691
available_tags=
9274
10715
# The host system.
9275
10716
host_alias=$host_alias
9276
10717
host=$host
 
10718
host_os=$host_os
 
10719
 
 
10720
# The build system.
 
10721
build_alias=$build_alias
 
10722
build=$build
 
10723
build_os=$build_os
9277
10724
 
9278
10725
# An echo program that does not interpret backslashes.
9279
10726
echo=$lt_echo
9285
10732
# A C compiler.
9286
10733
LTCC=$lt_LTCC
9287
10734
 
 
10735
# LTCC compiler flags.
 
10736
LTCFLAGS=$lt_LTCFLAGS
 
10737
 
9288
10738
# A language-specific compiler.
9289
10739
CC=$lt_compiler
9290
10740
 
9350
10800
# Does compiler simultaneously support -c and -o options?
9351
10801
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9352
10802
 
9353
 
# Must we lock files when doing compilation ?
 
10803
# Must we lock files when doing compilation?
9354
10804
need_locks=$lt_need_locks
9355
10805
 
9356
10806
# Do we need the lib prefix for modules?
9593
11043
CC="$lt_save_CC"
9594
11044
 
9595
11045
 
9596
 
# Check whether --with-tags or --without-tags was given.
 
11046
# Check whether --with-tags was given.
9597
11047
if test "${with_tags+set}" = set; then
9598
 
  withval="$with_tags"
9599
 
  tagnames="$withval"
9600
 
fi;
 
11048
  withval=$with_tags; tagnames="$withval"
 
11049
fi
 
11050
 
9601
11051
 
9602
11052
if test -f "$ltmain" && test -n "$tagnames"; then
9603
11053
  if test ! -f "${ofile}"; then
9615
11065
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9616
11066
    fi
9617
11067
  fi
 
11068
  if test -z "$LTCFLAGS"; then
 
11069
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 
11070
  fi
9618
11071
 
9619
11072
  # Extract list of available tagged configurations in $ofile.
9620
11073
  # Note that this assumes the entire list is on one line.
9645
11098
 
9646
11099
      case $tagname in
9647
11100
      CXX)
9648
 
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
9649
 
          ac_ext=cc
 
11101
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
11102
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
11103
            (test "X$CXX" != "Xg++"))) ; then
 
11104
          ac_ext=cpp
9650
11105
ac_cpp='$CXXCPP $CPPFLAGS'
9651
11106
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9652
11107
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9665
11120
hardcode_libdir_flag_spec_ld_CXX=
9666
11121
hardcode_libdir_separator_CXX=
9667
11122
hardcode_minus_L_CXX=no
 
11123
hardcode_shlibpath_var_CXX=unsupported
9668
11124
hardcode_automatic_CXX=no
9669
11125
module_cmds_CXX=
9670
11126
module_expsym_cmds_CXX=
9682
11138
compiler_lib_search_path_CXX=
9683
11139
 
9684
11140
# Source file extension for C++ test sources.
9685
 
ac_ext=cc
 
11141
ac_ext=cpp
9686
11142
 
9687
11143
# Object file extension for compiled C++ test sources.
9688
11144
objext=o
9692
11148
lt_simple_compile_test_code="int some_variable = 0;\n"
9693
11149
 
9694
11150
# Code to be used in simple link tests
9695
 
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
 
11151
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
9696
11152
 
9697
11153
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9698
11154
 
9699
11155
# If no C compiler was specified, use CC.
9700
11156
LTCC=${LTCC-"$CC"}
9701
11157
 
 
11158
# If no C compiler flags were specified, use CFLAGS.
 
11159
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
11160
 
9702
11161
# Allow CC to be a program name with arguments.
9703
11162
compiler=$CC
9704
11163
 
9705
11164
 
 
11165
# save warnings/boilerplate of simple test code
 
11166
ac_outfile=conftest.$ac_objext
 
11167
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
11168
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
11169
_lt_compiler_boilerplate=`cat conftest.err`
 
11170
$rm conftest*
 
11171
 
 
11172
ac_outfile=conftest.$ac_objext
 
11173
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
11174
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
11175
_lt_linker_boilerplate=`cat conftest.err`
 
11176
$rm conftest*
 
11177
 
 
11178
 
9706
11179
# Allow CC to be a program name with arguments.
9707
11180
lt_save_CC=$CC
9708
11181
lt_save_LD=$LD
9713
11186
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9714
11187
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9715
11188
else
9716
 
  unset lt_cv_prog_gnu_ld
 
11189
  $as_unset lt_cv_prog_gnu_ld
9717
11190
fi
9718
11191
if test -n "${lt_cv_path_LDCXX+set}"; then
9719
11192
  lt_cv_path_LD=$lt_cv_path_LDCXX
9720
11193
else
9721
 
  unset lt_cv_path_LD
 
11194
  $as_unset lt_cv_path_LD
9722
11195
fi
9723
11196
test -z "${LDCXX+set}" || LD=$LDCXX
9724
11197
CC=${CXX-"c++"}
9725
11198
compiler=$CC
9726
11199
compiler_CXX=$CC
9727
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
11200
for cc_temp in $compiler""; do
 
11201
  case $cc_temp in
 
11202
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
11203
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
11204
    \-*) ;;
 
11205
    *) break;;
 
11206
  esac
 
11207
done
 
11208
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
11209
 
9728
11210
 
9729
11211
# We don't want -fno-exception wen compiling C++ code, so set the
9730
11212
# no_builtin_flag separately
9738
11220
  # Set up default GNU C++ configuration
9739
11221
 
9740
11222
 
9741
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
11223
# Check whether --with-gnu-ld was given.
9742
11224
if test "${with_gnu_ld+set}" = set; then
9743
 
  withval="$with_gnu_ld"
9744
 
  test "$withval" = no || with_gnu_ld=yes
 
11225
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9745
11226
else
9746
11227
  with_gnu_ld=no
9747
 
fi;
 
11228
fi
 
11229
 
9748
11230
ac_prog=ld
9749
11231
if test "$GCC" = yes; then
9750
11232
  # Check if gcc -print-prog-name=ld gives a path.
9751
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9752
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
11233
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
11234
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
9753
11235
  case $host in
9754
11236
  *-*-mingw*)
9755
11237
    # gcc leaves a trailing carriage return which upsets mingw
9778
11260
    ;;
9779
11261
  esac
9780
11262
elif test "$with_gnu_ld" = yes; then
9781
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
9782
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
11263
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11264
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
9783
11265
else
9784
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9785
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
11266
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11267
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
9786
11268
fi
9787
11269
if test "${lt_cv_path_LD+set}" = set; then
9788
11270
  echo $ECHO_N "(cached) $ECHO_C" >&6
9795
11277
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9796
11278
      lt_cv_path_LD="$ac_dir/$ac_prog"
9797
11279
      # Check to see if the program is GNU ld.  I'd rather use --version,
9798
 
      # but apparently some GNU ld's only accept -v.
 
11280
      # but apparently some variants of GNU ld only accept -v.
9799
11281
      # Break only if it was the GNU/non-GNU ld that we prefer.
9800
11282
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9801
11283
      *GNU* | *'with BFD'*)
9815
11297
 
9816
11298
LD="$lt_cv_path_LD"
9817
11299
if test -n "$LD"; then
9818
 
  echo "$as_me:$LINENO: result: $LD" >&5
9819
 
echo "${ECHO_T}$LD" >&6
 
11300
  { echo "$as_me:$LINENO: result: $LD" >&5
 
11301
echo "${ECHO_T}$LD" >&6; }
9820
11302
else
9821
 
  echo "$as_me:$LINENO: result: no" >&5
9822
 
echo "${ECHO_T}no" >&6
 
11303
  { echo "$as_me:$LINENO: result: no" >&5
 
11304
echo "${ECHO_T}no" >&6; }
9823
11305
fi
9824
11306
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9825
11307
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9826
11308
   { (exit 1); exit 1; }; }
9827
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9828
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
11309
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11310
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
9829
11311
if test "${lt_cv_prog_gnu_ld+set}" = set; then
9830
11312
  echo $ECHO_N "(cached) $ECHO_C" >&6
9831
11313
else
9832
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
11314
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
9833
11315
case `$LD -v 2>&1 </dev/null` in
9834
11316
*GNU* | *'with BFD'*)
9835
11317
  lt_cv_prog_gnu_ld=yes
9839
11321
  ;;
9840
11322
esac
9841
11323
fi
9842
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9843
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
11324
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
11325
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
9844
11326
with_gnu_ld=$lt_cv_prog_gnu_ld
9845
11327
 
9846
11328
 
9890
11372
fi
9891
11373
 
9892
11374
# PORTME: fill in a description of your system's C++ link characteristics
9893
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9894
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
11375
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11376
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9895
11377
ld_shlibs_CXX=yes
9896
11378
case $host_os in
9897
11379
  aix3*)
9920
11402
            ;;
9921
11403
          esac
9922
11404
        done
 
11405
        ;;
9923
11406
      esac
9924
11407
 
9925
11408
      exp_sym_flag='-bexport'
9938
11421
    link_all_deplibs_CXX=yes
9939
11422
 
9940
11423
    if test "$GXX" = yes; then
9941
 
      case $host_os in aix4.012|aix4.012.*)
 
11424
      case $host_os in aix4.[012]|aix4.[012].*)
9942
11425
      # We only want to do this on AIX 4.2 and lower, the check
9943
11426
      # below for broken collect2 doesn't work under 4.3+
9944
11427
        collect2name=`${CC} -print-prog-name=collect2`
9957
11440
          hardcode_libdir_flag_spec_CXX='-L$libdir'
9958
11441
          hardcode_libdir_separator_CXX=
9959
11442
        fi
 
11443
        ;;
9960
11444
      esac
9961
11445
      shared_flag='-shared'
 
11446
      if test "$aix_use_runtimelinking" = yes; then
 
11447
        shared_flag="$shared_flag "'${wl}-G'
 
11448
      fi
9962
11449
    else
9963
11450
      # not using gcc
9964
11451
      if test "$host_cpu" = ia64; then
9998
11485
}
9999
11486
_ACEOF
10000
11487
rm -f conftest.$ac_objext conftest$ac_exeext
10001
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10002
 
  (eval $ac_link) 2>conftest.er1
 
11488
if { (ac_try="$ac_link"
 
11489
case "(($ac_try" in
 
11490
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11491
  *) ac_try_echo=$ac_try;;
 
11492
esac
 
11493
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11494
  (eval "$ac_link") 2>conftest.er1
10003
11495
  ac_status=$?
10004
11496
  grep -v '^ *+' conftest.er1 >conftest.err
10005
11497
  rm -f conftest.er1
10006
11498
  cat conftest.err >&5
10007
11499
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008
11500
  (exit $ac_status); } &&
10009
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10010
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10011
 
  (eval $ac_try) 2>&5
 
11501
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
11502
  { (case "(($ac_try" in
 
11503
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11504
  *) ac_try_echo=$ac_try;;
 
11505
esac
 
11506
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11507
  (eval "$ac_try") 2>&5
10012
11508
  ac_status=$?
10013
11509
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014
11510
  (exit $ac_status); }; } &&
10015
11511
         { ac_try='test -s conftest$ac_exeext'
10016
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10017
 
  (eval $ac_try) 2>&5
 
11512
  { (case "(($ac_try" in
 
11513
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11514
  *) ac_try_echo=$ac_try;;
 
11515
esac
 
11516
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11517
  (eval "$ac_try") 2>&5
10018
11518
  ac_status=$?
10019
11519
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020
11520
  (exit $ac_status); }; }; then
10028
11528
  echo "$as_me: failed program was:" >&5
10029
11529
sed 's/^/| /' conftest.$ac_ext >&5
10030
11530
 
 
11531
 
10031
11532
fi
10032
 
rm -f conftest.err conftest.$ac_objext \
 
11533
 
 
11534
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10033
11535
      conftest$ac_exeext conftest.$ac_ext
10034
11536
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10035
11537
 
10036
11538
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10037
11539
 
10038
 
      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"
 
11540
      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"
10039
11541
     else
10040
11542
      if test "$host_cpu" = ia64; then
10041
11543
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
10042
11544
        allow_undefined_flag_CXX="-z nodefs"
10043
 
        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"
 
11545
        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"
10044
11546
      else
10045
11547
        # Determine the default libpath from the value encoded in an empty executable.
10046
11548
        cat >conftest.$ac_ext <<_ACEOF
10059
11561
}
10060
11562
_ACEOF
10061
11563
rm -f conftest.$ac_objext conftest$ac_exeext
10062
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10063
 
  (eval $ac_link) 2>conftest.er1
 
11564
if { (ac_try="$ac_link"
 
11565
case "(($ac_try" in
 
11566
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11567
  *) ac_try_echo=$ac_try;;
 
11568
esac
 
11569
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11570
  (eval "$ac_link") 2>conftest.er1
10064
11571
  ac_status=$?
10065
11572
  grep -v '^ *+' conftest.er1 >conftest.err
10066
11573
  rm -f conftest.er1
10067
11574
  cat conftest.err >&5
10068
11575
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069
11576
  (exit $ac_status); } &&
10070
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10071
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10072
 
  (eval $ac_try) 2>&5
 
11577
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
 
11578
  { (case "(($ac_try" in
 
11579
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11580
  *) ac_try_echo=$ac_try;;
 
11581
esac
 
11582
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11583
  (eval "$ac_try") 2>&5
10073
11584
  ac_status=$?
10074
11585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075
11586
  (exit $ac_status); }; } &&
10076
11587
         { ac_try='test -s conftest$ac_exeext'
10077
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10078
 
  (eval $ac_try) 2>&5
 
11588
  { (case "(($ac_try" in
 
11589
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11590
  *) ac_try_echo=$ac_try;;
 
11591
esac
 
11592
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11593
  (eval "$ac_try") 2>&5
10079
11594
  ac_status=$?
10080
11595
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10081
11596
  (exit $ac_status); }; }; then
10089
11604
  echo "$as_me: failed program was:" >&5
10090
11605
sed 's/^/| /' conftest.$ac_ext >&5
10091
11606
 
 
11607
 
10092
11608
fi
10093
 
rm -f conftest.err conftest.$ac_objext \
 
11609
 
 
11610
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10094
11611
      conftest$ac_exeext conftest.$ac_ext
10095
11612
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10096
11613
 
10099
11616
        # -berok will link without error, but may produce a broken library.
10100
11617
        no_undefined_flag_CXX=' ${wl}-bernotok'
10101
11618
        allow_undefined_flag_CXX=' ${wl}-berok'
10102
 
        # -bexpall does not export symbols beginning with underscore (_)
10103
 
        always_export_symbols_CXX=yes
10104
11619
        # Exported symbols can be pulled into shared objects from archives
10105
 
        whole_archive_flag_spec_CXX=' '
 
11620
        whole_archive_flag_spec_CXX='$convenience'
10106
11621
        archive_cmds_need_lc_CXX=yes
10107
 
        # This is similar to how AIX traditionally builds it's shared libraries.
10108
 
        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'
 
11622
        # This is similar to how AIX traditionally builds its shared libraries.
 
11623
        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'
10109
11624
      fi
10110
11625
    fi
10111
11626
    ;;
 
11627
 
 
11628
  beos*)
 
11629
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
11630
      allow_undefined_flag_CXX=unsupported
 
11631
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
11632
      # support --undefined.  This deserves some investigation.  FIXME
 
11633
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11634
    else
 
11635
      ld_shlibs_CXX=no
 
11636
    fi
 
11637
    ;;
 
11638
 
10112
11639
  chorus*)
10113
11640
    case $cc_basename in
10114
11641
      *)
10127
11654
    enable_shared_with_static_runtimes_CXX=yes
10128
11655
 
10129
11656
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10130
 
      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'
 
11657
      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'
10131
11658
      # If the export-symbols file already is a .def file (1st line
10132
11659
      # is EXPORTS), use it as is; otherwise, prepend...
10133
11660
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10136
11663
        echo EXPORTS > $output_objdir/$soname.def;
10137
11664
        cat $export_symbols >> $output_objdir/$soname.def;
10138
11665
      fi~
10139
 
      $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'
 
11666
      $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'
10140
11667
    else
10141
11668
      ld_shlibs_CXX=no
10142
11669
    fi
10143
11670
  ;;
10144
 
 
10145
 
  darwin* | rhapsody*)
10146
 
  if test "$GXX" = yes; then
10147
 
    archive_cmds_need_lc_CXX=no
10148
 
    case "$host_os" in
10149
 
    rhapsody* | darwin1.[012])
10150
 
      allow_undefined_flag_CXX='-undefined suppress'
10151
 
      ;;
10152
 
    *) # Darwin 1.3 on
10153
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10154
 
        allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10155
 
      else
10156
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
10157
 
          10.[012])
10158
 
            allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
10159
 
            ;;
10160
 
          10.*)
10161
 
            allow_undefined_flag_CXX='-undefined dynamic_lookup'
10162
 
            ;;
 
11671
      darwin* | rhapsody*)
 
11672
        case $host_os in
 
11673
        rhapsody* | darwin1.[012])
 
11674
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
 
11675
         ;;
 
11676
       *) # Darwin 1.3 on
 
11677
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
11678
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
11679
         else
 
11680
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
11681
             10.[012])
 
11682
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
11683
               ;;
 
11684
             10.*)
 
11685
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
 
11686
               ;;
 
11687
           esac
 
11688
         fi
 
11689
         ;;
10163
11690
        esac
10164
 
      fi
10165
 
      ;;
10166
 
    esac
10167
 
    lt_int_apple_cc_single_mod=no
10168
 
    output_verbose_link_cmd='echo'
10169
 
    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10170
 
      lt_int_apple_cc_single_mod=yes
10171
 
    fi
10172
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10173
 
      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10174
 
    else
10175
 
      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'
10176
 
    fi
10177
 
    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
11691
      archive_cmds_need_lc_CXX=no
 
11692
      hardcode_direct_CXX=no
 
11693
      hardcode_automatic_CXX=yes
 
11694
      hardcode_shlibpath_var_CXX=unsupported
 
11695
      whole_archive_flag_spec_CXX=''
 
11696
      link_all_deplibs_CXX=yes
10178
11697
 
10179
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10180
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10181
 
      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}'
10182
 
    else
10183
 
      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}'
10184
 
    fi
10185
 
    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}'
10186
 
    hardcode_direct_CXX=no
10187
 
    hardcode_automatic_CXX=yes
10188
 
    hardcode_shlibpath_var_CXX=unsupported
10189
 
    whole_archive_flag_spec_CXX='-all_load $convenience'
10190
 
    link_all_deplibs_CXX=yes
10191
 
  else
10192
 
    ld_shlibs_CXX=no
10193
 
  fi
10194
 
    ;;
 
11698
    if test "$GXX" = yes ; then
 
11699
      lt_int_apple_cc_single_mod=no
 
11700
      output_verbose_link_cmd='echo'
 
11701
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
 
11702
       lt_int_apple_cc_single_mod=yes
 
11703
      fi
 
11704
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
11705
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
11706
      else
 
11707
          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'
 
11708
        fi
 
11709
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
11710
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
11711
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
11712
            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}'
 
11713
          else
 
11714
            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}'
 
11715
          fi
 
11716
            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}'
 
11717
      else
 
11718
      case $cc_basename in
 
11719
        xlc*)
 
11720
         output_verbose_link_cmd='echo'
 
11721
          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'
 
11722
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
11723
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
11724
          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}'
 
11725
          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}'
 
11726
          ;;
 
11727
       *)
 
11728
         ld_shlibs_CXX=no
 
11729
          ;;
 
11730
      esac
 
11731
      fi
 
11732
        ;;
10195
11733
 
10196
11734
  dgux*)
10197
11735
    case $cc_basename in
10198
 
      ec++)
 
11736
      ec++*)
10199
11737
        # FIXME: insert proper C++ library support
10200
11738
        ld_shlibs_CXX=no
10201
11739
        ;;
10202
 
      ghcx)
 
11740
      ghcx*)
10203
11741
        # Green Hills C++ Compiler
10204
11742
        # FIXME: insert proper C++ library support
10205
11743
        ld_shlibs_CXX=no
10210
11748
        ;;
10211
11749
    esac
10212
11750
    ;;
10213
 
  freebsd12*)
 
11751
  freebsd[12]*)
10214
11752
    # C++ shared libraries reported to be fairly broken before switch to ELF
10215
11753
    ld_shlibs_CXX=no
10216
11754
    ;;
10217
11755
  freebsd-elf*)
10218
11756
    archive_cmds_need_lc_CXX=no
10219
11757
    ;;
10220
 
  freebsd* | kfreebsd*-gnu)
 
11758
  freebsd* | dragonfly*)
10221
11759
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10222
11760
    # conventions
10223
11761
    ld_shlibs_CXX=yes
10234
11772
                                # location of the library.
10235
11773
 
10236
11774
    case $cc_basename in
10237
 
    CC)
 
11775
    CC*)
10238
11776
      # FIXME: insert proper C++ library support
10239
11777
      ld_shlibs_CXX=no
10240
11778
      ;;
10241
 
    aCC)
 
11779
    aCC*)
10242
11780
      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'
10243
11781
      # Commands to make compiler produce verbose output that lists
10244
11782
      # what "hidden" libraries, object files and flags are used when
10248
11786
      # explicitly linking system object files so we need to strip them
10249
11787
      # from the output so that they don't get included in the library
10250
11788
      # dependencies.
10251
 
      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'
 
11789
      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'
10252
11790
      ;;
10253
11791
    *)
10254
11792
      if test "$GXX" = yes; then
10262
11800
    ;;
10263
11801
  hpux10*|hpux11*)
10264
11802
    if test $with_gnu_ld = no; then
10265
 
      case "$host_cpu" in
10266
 
      hppa*64*)
10267
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
11803
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
11804
      hardcode_libdir_separator_CXX=:
 
11805
 
 
11806
      case $host_cpu in
 
11807
      hppa*64*|ia64*)
10268
11808
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10269
 
        hardcode_libdir_separator_CXX=:
10270
 
        ;;
10271
 
      ia64*)
10272
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
10273
11809
        ;;
10274
11810
      *)
10275
 
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10276
 
        hardcode_libdir_separator_CXX=:
10277
11811
        export_dynamic_flag_spec_CXX='${wl}-E'
10278
11812
        ;;
10279
11813
      esac
10280
11814
    fi
10281
 
    case "$host_cpu" in
10282
 
    hppa*64*)
10283
 
      hardcode_direct_CXX=no
10284
 
      hardcode_shlibpath_var_CXX=no
10285
 
      ;;
10286
 
    ia64*)
10287
 
      hardcode_direct_CXX=no
10288
 
      hardcode_shlibpath_var_CXX=no
10289
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
10290
 
                                              # but as the default
10291
 
                                              # location of the library.
 
11815
    case $host_cpu in
 
11816
    hppa*64*|ia64*)
 
11817
      hardcode_direct_CXX=no
 
11818
      hardcode_shlibpath_var_CXX=no
10292
11819
      ;;
10293
11820
    *)
10294
11821
      hardcode_direct_CXX=yes
10299
11826
    esac
10300
11827
 
10301
11828
    case $cc_basename in
10302
 
      CC)
 
11829
      CC*)
10303
11830
        # FIXME: insert proper C++ library support
10304
11831
        ld_shlibs_CXX=no
10305
11832
        ;;
10306
 
      aCC)
10307
 
        case "$host_cpu" in
10308
 
        hppa*64*|ia64*)
10309
 
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
11833
      aCC*)
 
11834
        case $host_cpu in
 
11835
        hppa*64*)
 
11836
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11837
          ;;
 
11838
        ia64*)
 
11839
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10310
11840
          ;;
10311
11841
        *)
10312
11842
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10325
11855
      *)
10326
11856
        if test "$GXX" = yes; then
10327
11857
          if test $with_gnu_ld = no; then
10328
 
            case "$host_cpu" in
10329
 
            ia64*|hppa*64*)
10330
 
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
 
11858
            case $host_cpu in
 
11859
            hppa*64*)
 
11860
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11861
              ;;
 
11862
            ia64*)
 
11863
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10331
11864
              ;;
10332
11865
            *)
10333
11866
              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'
10341
11874
        ;;
10342
11875
    esac
10343
11876
    ;;
 
11877
  interix3*)
 
11878
    hardcode_direct_CXX=no
 
11879
    hardcode_shlibpath_var_CXX=no
 
11880
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
11881
    export_dynamic_flag_spec_CXX='${wl}-E'
 
11882
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
11883
    # Instead, shared libraries are loaded at an image base (0x10000000 by
 
11884
    # default) and relocated if they conflict, which is a slow very memory
 
11885
    # consuming and fragmenting process.  To avoid this, we pick a random,
 
11886
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
11887
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
11888
    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'
 
11889
    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'
 
11890
    ;;
10344
11891
  irix5* | irix6*)
10345
11892
    case $cc_basename in
10346
 
      CC)
 
11893
      CC*)
10347
11894
        # SGI C++
10348
 
        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'
 
11895
        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'
10349
11896
 
10350
11897
        # Archives containing C++ object files must be created using
10351
11898
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
10356
11903
      *)
10357
11904
        if test "$GXX" = yes; then
10358
11905
          if test "$with_gnu_ld" = no; then
10359
 
            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'
 
11906
            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'
10360
11907
          else
10361
11908
            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'
10362
11909
          fi
10367
11914
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10368
11915
    hardcode_libdir_separator_CXX=:
10369
11916
    ;;
10370
 
  linux*)
 
11917
  linux* | k*bsd*-gnu)
10371
11918
    case $cc_basename in
10372
 
      KCC)
 
11919
      KCC*)
10373
11920
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10374
11921
 
10375
11922
        # KCC will only create a shared library if the output file
10394
11941
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10395
11942
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10396
11943
        ;;
10397
 
      icpc)
 
11944
      icpc*)
10398
11945
        # Intel C++
10399
11946
        with_gnu_ld=yes
 
11947
        # version 8.0 and above of icpc choke on multiply defined symbols
 
11948
        # if we add $predep_objects and $postdep_objects, however 7.1 and
 
11949
        # earlier do not add the objects themselves.
 
11950
        case `$CC -V 2>&1` in
 
11951
        *"Version 7."*)
 
11952
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11953
          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'
 
11954
          ;;
 
11955
        *)  # Version 8.0 or newer
 
11956
          tmp_idyn=
 
11957
          case $host_cpu in
 
11958
            ia64*) tmp_idyn=' -i_dynamic';;
 
11959
          esac
 
11960
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11961
          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'
 
11962
          ;;
 
11963
        esac
10400
11964
        archive_cmds_need_lc_CXX=no
10401
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10402
 
        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'
10403
11965
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10404
11966
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10405
11967
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10406
11968
        ;;
10407
 
      cxx)
 
11969
      pgCC*)
 
11970
        # Portland Group C++ compiler
 
11971
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
11972
        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'
 
11973
 
 
11974
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
11975
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
11976
        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'
 
11977
        ;;
 
11978
      cxx*)
10408
11979
        # Compaq C++
10409
11980
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10410
11981
        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'
10435
12006
    ;;
10436
12007
  mvs*)
10437
12008
    case $cc_basename in
10438
 
      cxx)
 
12009
      cxx*)
10439
12010
        # FIXME: insert proper C++ library support
10440
12011
        ld_shlibs_CXX=no
10441
12012
        ;;
10445
12016
        ;;
10446
12017
    esac
10447
12018
    ;;
10448
 
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
12019
  netbsd* | netbsdelf*-gnu)
10449
12020
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10450
12021
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10451
12022
      wlarc=
10456
12027
    # Workaround some broken pre-1.5 toolchains
10457
12028
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10458
12029
    ;;
 
12030
  openbsd2*)
 
12031
    # C++ shared libraries are fairly broken
 
12032
    ld_shlibs_CXX=no
 
12033
    ;;
 
12034
  openbsd*)
 
12035
    hardcode_direct_CXX=yes
 
12036
    hardcode_shlibpath_var_CXX=no
 
12037
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
12038
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12039
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12040
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
12041
      export_dynamic_flag_spec_CXX='${wl}-E'
 
12042
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12043
    fi
 
12044
    output_verbose_link_cmd='echo'
 
12045
    ;;
10459
12046
  osf3*)
10460
12047
    case $cc_basename in
10461
 
      KCC)
 
12048
      KCC*)
10462
12049
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10463
12050
 
10464
12051
        # KCC will only create a shared library if the output file
10474
12061
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10475
12062
 
10476
12063
        ;;
10477
 
      RCC)
 
12064
      RCC*)
10478
12065
        # Rational C++ 2.4.1
10479
12066
        # FIXME: insert proper C++ library support
10480
12067
        ld_shlibs_CXX=no
10481
12068
        ;;
10482
 
      cxx)
 
12069
      cxx*)
10483
12070
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10484
 
        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'
 
12071
        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'
10485
12072
 
10486
12073
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10487
12074
        hardcode_libdir_separator_CXX=:
10499
12086
      *)
10500
12087
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10501
12088
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10502
 
          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'
 
12089
          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'
10503
12090
 
10504
12091
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10505
12092
          hardcode_libdir_separator_CXX=:
10518
12105
    ;;
10519
12106
  osf4* | osf5*)
10520
12107
    case $cc_basename in
10521
 
      KCC)
 
12108
      KCC*)
10522
12109
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10523
12110
 
10524
12111
        # KCC will only create a shared library if the output file
10533
12120
        # the KAI C++ compiler.
10534
12121
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10535
12122
        ;;
10536
 
      RCC)
 
12123
      RCC*)
10537
12124
        # Rational C++ 2.4.1
10538
12125
        # FIXME: insert proper C++ library support
10539
12126
        ld_shlibs_CXX=no
10540
12127
        ;;
10541
 
      cxx)
 
12128
      cxx*)
10542
12129
        allow_undefined_flag_CXX=' -expect_unresolved \*'
10543
 
        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'
 
12130
        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'
10544
12131
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10545
12132
          echo "-hidden">> $lib.exp~
10546
 
          $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~
 
12133
          $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~
10547
12134
          $rm $lib.exp'
10548
12135
 
10549
12136
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10562
12149
      *)
10563
12150
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10564
12151
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10565
 
         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'
 
12152
         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'
10566
12153
 
10567
12154
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10568
12155
          hardcode_libdir_separator_CXX=:
10583
12170
    # FIXME: insert proper C++ library support
10584
12171
    ld_shlibs_CXX=no
10585
12172
    ;;
10586
 
  sco*)
10587
 
    archive_cmds_need_lc_CXX=no
10588
 
    case $cc_basename in
10589
 
      CC)
10590
 
        # FIXME: insert proper C++ library support
10591
 
        ld_shlibs_CXX=no
10592
 
        ;;
10593
 
      *)
10594
 
        # FIXME: insert proper C++ library support
10595
 
        ld_shlibs_CXX=no
10596
 
        ;;
10597
 
    esac
10598
 
    ;;
10599
12173
  sunos4*)
10600
12174
    case $cc_basename in
10601
 
      CC)
 
12175
      CC*)
10602
12176
        # Sun C++ 4.x
10603
12177
        # FIXME: insert proper C++ library support
10604
12178
        ld_shlibs_CXX=no
10605
12179
        ;;
10606
 
      lcc)
 
12180
      lcc*)
10607
12181
        # Lucid
10608
12182
        # FIXME: insert proper C++ library support
10609
12183
        ld_shlibs_CXX=no
10616
12190
    ;;
10617
12191
  solaris*)
10618
12192
    case $cc_basename in
10619
 
      CC)
 
12193
      CC*)
10620
12194
        # Sun C++ 4.2, 5.x and Centerline C++
 
12195
        archive_cmds_need_lc_CXX=yes
10621
12196
        no_undefined_flag_CXX=' -zdefs'
10622
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12197
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10623
12198
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10624
 
        $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'
 
12199
        $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'
10625
12200
 
10626
12201
        hardcode_libdir_flag_spec_CXX='-R$libdir'
10627
12202
        hardcode_shlibpath_var_CXX=no
10628
12203
        case $host_os in
10629
 
          solaris2.0-5 | solaris2.0-5.*) ;;
 
12204
          solaris2.[0-5] | solaris2.[0-5].*) ;;
10630
12205
          *)
10631
12206
            # The C++ compiler is used as linker so we must use $wl
10632
12207
            # flag to pass the commands to the underlying system
10633
 
            # linker.
 
12208
            # linker. We must also pass each convience library through
 
12209
            # to the system linker between allextract/defaultextract.
 
12210
            # The C++ compiler will combine linker options so we
 
12211
            # cannot just pass the convience library names through
 
12212
            # without $wl.
10634
12213
            # Supported since Solaris 2.6 (maybe 2.5.1?)
10635
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12214
            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'
10636
12215
            ;;
10637
12216
        esac
10638
12217
        link_all_deplibs_CXX=yes
10639
12218
 
10640
 
        # Commands to make compiler produce verbose output that lists
10641
 
        # what "hidden" libraries, object files and flags are used when
10642
 
        # linking a shared library.
10643
 
        #
10644
 
        # There doesn't appear to be a way to prevent this compiler from
10645
 
        # explicitly linking system object files so we need to strip them
10646
 
        # from the output so that they don't get included in the library
10647
 
        # dependencies.
10648
 
        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'
 
12219
        output_verbose_link_cmd='echo'
10649
12220
 
10650
12221
        # Archives containing C++ object files must be created using
10651
12222
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
10653
12224
        # in the archive.
10654
12225
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10655
12226
        ;;
10656
 
      gcx)
 
12227
      gcx*)
10657
12228
        # Green Hills C++ Compiler
10658
12229
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10659
12230
 
10691
12262
        ;;
10692
12263
    esac
10693
12264
    ;;
10694
 
  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10695
 
    archive_cmds_need_lc_CXX=no
 
12265
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
12266
    no_undefined_flag_CXX='${wl}-z,text'
 
12267
    archive_cmds_need_lc_CXX=no
 
12268
    hardcode_shlibpath_var_CXX=no
 
12269
    runpath_var='LD_RUN_PATH'
 
12270
 
 
12271
    case $cc_basename in
 
12272
      CC*)
 
12273
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12274
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12275
        ;;
 
12276
      *)
 
12277
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12278
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12279
        ;;
 
12280
    esac
 
12281
    ;;
 
12282
  sysv5* | sco3.2v5* | sco5v6*)
 
12283
    # Note: We can NOT use -z defs as we might desire, because we do not
 
12284
    # link with -lc, and that would cause any symbols used from libc to
 
12285
    # always be unresolved, which means just about no library would
 
12286
    # ever link correctly.  If we're not using GNU ld we use -z text
 
12287
    # though, which does catch some bad symbols but isn't as heavy-handed
 
12288
    # as -z defs.
 
12289
    # For security reasons, it is highly recommended that you always
 
12290
    # use absolute paths for naming shared libraries, and exclude the
 
12291
    # DT_RUNPATH tag from executables and libraries.  But doing so
 
12292
    # requires that you compile everything twice, which is a pain.
 
12293
    # So that behaviour is only enabled if SCOABSPATH is set to a
 
12294
    # non-empty value in the environment.  Most likely only useful for
 
12295
    # creating official distributions of packages.
 
12296
    # This is a hack until libtool officially supports absolute path
 
12297
    # names for shared libraries.
 
12298
    no_undefined_flag_CXX='${wl}-z,text'
 
12299
    allow_undefined_flag_CXX='${wl}-z,nodefs'
 
12300
    archive_cmds_need_lc_CXX=no
 
12301
    hardcode_shlibpath_var_CXX=no
 
12302
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
12303
    hardcode_libdir_separator_CXX=':'
 
12304
    link_all_deplibs_CXX=yes
 
12305
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
12306
    runpath_var='LD_RUN_PATH'
 
12307
 
 
12308
    case $cc_basename in
 
12309
      CC*)
 
12310
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12311
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12312
        ;;
 
12313
      *)
 
12314
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12315
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12316
        ;;
 
12317
    esac
10696
12318
    ;;
10697
12319
  tandem*)
10698
12320
    case $cc_basename in
10699
 
      NCC)
 
12321
      NCC*)
10700
12322
        # NonStop-UX NCC 3.20
10701
12323
        # FIXME: insert proper C++ library support
10702
12324
        ld_shlibs_CXX=no
10716
12338
    ld_shlibs_CXX=no
10717
12339
    ;;
10718
12340
esac
10719
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10720
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12341
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12342
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
10721
12343
test "$ld_shlibs_CXX" = no && can_build_shared=no
10722
12344
 
10723
12345
GCC_CXX="$GXX"
10749
12371
  # The `*' in the case matches for architectures that use `case' in
10750
12372
  # $output_verbose_cmd can trigger glob expansion during the loop
10751
12373
  # eval without this substitution.
10752
 
  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
 
12374
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10753
12375
 
10754
12376
  for p in `eval $output_verbose_link_cmd`; do
10755
12377
    case $p in
10825
12447
 
10826
12448
$rm -f confest.$objext
10827
12449
 
 
12450
# PORTME: override above test on systems where it is broken
 
12451
case $host_os in
 
12452
interix3*)
 
12453
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
12454
  # hack all around it, let's just trust "g++" to DTRT.
 
12455
  predep_objects_CXX=
 
12456
  postdep_objects_CXX=
 
12457
  postdeps_CXX=
 
12458
  ;;
 
12459
 
 
12460
solaris*)
 
12461
  case $cc_basename in
 
12462
  CC*)
 
12463
    # Adding this requires a known-good setup of shared libraries for
 
12464
    # Sun compiler versions before 5.6, else PIC objects from an old
 
12465
    # archive will be linked into the output, leading to subtle bugs.
 
12466
    postdeps_CXX='-lCstd -lCrun'
 
12467
    ;;
 
12468
  esac
 
12469
  ;;
 
12470
esac
 
12471
 
 
12472
 
10828
12473
case " $postdeps_CXX " in
10829
12474
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
10830
12475
esac
10833
12478
lt_prog_compiler_pic_CXX=
10834
12479
lt_prog_compiler_static_CXX=
10835
12480
 
10836
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10837
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
12481
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12482
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10838
12483
 
10839
12484
  # C++ specific cases for pic, static, wl, etc.
10840
12485
  if test "$GXX" = yes; then
10872
12517
      # DJGPP does not support shared libraries at all
10873
12518
      lt_prog_compiler_pic_CXX=
10874
12519
      ;;
 
12520
    interix3*)
 
12521
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
12522
      # Instead, we relocate shared libraries at runtime.
 
12523
      ;;
10875
12524
    sysv4*MP*)
10876
12525
      if test -d /usr/nec; then
10877
12526
        lt_prog_compiler_pic_CXX=-Kconform_pic
10880
12529
    hpux*)
10881
12530
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10882
12531
      # not for PA HP-UX.
10883
 
      case "$host_cpu" in
 
12532
      case $host_cpu in
10884
12533
      hppa*64*|ia64*)
10885
12534
        ;;
10886
12535
      *)
10905
12554
        ;;
10906
12555
      chorus*)
10907
12556
        case $cc_basename in
10908
 
        cxch68)
 
12557
        cxch68*)
10909
12558
          # Green Hills C++ Compiler
10910
12559
          # _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"
10911
12560
          ;;
10912
12561
        esac
10913
12562
        ;;
 
12563
       darwin*)
 
12564
         # PIC is the default on this platform
 
12565
         # Common symbols not allowed in MH_DYLIB files
 
12566
         case $cc_basename in
 
12567
           xlc*)
 
12568
           lt_prog_compiler_pic_CXX='-qnocommon'
 
12569
           lt_prog_compiler_wl_CXX='-Wl,'
 
12570
           ;;
 
12571
         esac
 
12572
       ;;
10914
12573
      dgux*)
10915
12574
        case $cc_basename in
10916
 
          ec++)
 
12575
          ec++*)
10917
12576
            lt_prog_compiler_pic_CXX='-KPIC'
10918
12577
            ;;
10919
 
          ghcx)
 
12578
          ghcx*)
10920
12579
            # Green Hills C++ Compiler
10921
12580
            lt_prog_compiler_pic_CXX='-pic'
10922
12581
            ;;
10924
12583
            ;;
10925
12584
        esac
10926
12585
        ;;
10927
 
      freebsd* | kfreebsd*-gnu)
 
12586
      freebsd* | dragonfly*)
10928
12587
        # FreeBSD uses GNU C++
10929
12588
        ;;
10930
12589
      hpux9* | hpux10* | hpux11*)
10931
12590
        case $cc_basename in
10932
 
          CC)
 
12591
          CC*)
10933
12592
            lt_prog_compiler_wl_CXX='-Wl,'
10934
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
 
12593
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
10935
12594
            if test "$host_cpu" != ia64; then
10936
12595
              lt_prog_compiler_pic_CXX='+Z'
10937
12596
            fi
10938
12597
            ;;
10939
 
          aCC)
 
12598
          aCC*)
10940
12599
            lt_prog_compiler_wl_CXX='-Wl,'
10941
 
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10942
 
            case "$host_cpu" in
 
12600
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
12601
            case $host_cpu in
10943
12602
            hppa*64*|ia64*)
10944
12603
              # +Z the default
10945
12604
              ;;
10952
12611
            ;;
10953
12612
        esac
10954
12613
        ;;
 
12614
      interix*)
 
12615
        # This is c89, which is MS Visual C++ (no shared libs)
 
12616
        # Anyone wants to do a port?
 
12617
        ;;
10955
12618
      irix5* | irix6* | nonstopux*)
10956
12619
        case $cc_basename in
10957
 
          CC)
 
12620
          CC*)
10958
12621
            lt_prog_compiler_wl_CXX='-Wl,'
10959
12622
            lt_prog_compiler_static_CXX='-non_shared'
10960
12623
            # CC pic flag -KPIC is the default.
10963
12626
            ;;
10964
12627
        esac
10965
12628
        ;;
10966
 
      linux*)
 
12629
      linux* | k*bsd*-gnu)
10967
12630
        case $cc_basename in
10968
 
          KCC)
 
12631
          KCC*)
10969
12632
            # KAI C++ Compiler
10970
12633
            lt_prog_compiler_wl_CXX='--backend -Wl,'
10971
12634
            lt_prog_compiler_pic_CXX='-fPIC'
10972
12635
            ;;
10973
 
          icpc)
 
12636
          icpc* | ecpc*)
10974
12637
            # Intel C++
10975
12638
            lt_prog_compiler_wl_CXX='-Wl,'
10976
12639
            lt_prog_compiler_pic_CXX='-KPIC'
10977
12640
            lt_prog_compiler_static_CXX='-static'
10978
12641
            ;;
10979
 
          cxx)
 
12642
          pgCC*)
 
12643
            # Portland Group C++ compiler.
 
12644
            lt_prog_compiler_wl_CXX='-Wl,'
 
12645
            lt_prog_compiler_pic_CXX='-fpic'
 
12646
            lt_prog_compiler_static_CXX='-Bstatic'
 
12647
            ;;
 
12648
          cxx*)
10980
12649
            # Compaq C++
10981
12650
            # Make sure the PIC flag is empty.  It appears that all Alpha
10982
12651
            # Linux and Compaq Tru64 Unix objects are PIC.
10993
12662
        ;;
10994
12663
      mvs*)
10995
12664
        case $cc_basename in
10996
 
          cxx)
 
12665
          cxx*)
10997
12666
            lt_prog_compiler_pic_CXX='-W c,exportall'
10998
12667
            ;;
10999
12668
          *)
11000
12669
            ;;
11001
12670
        esac
11002
12671
        ;;
11003
 
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
12672
      netbsd* | netbsdelf*-gnu)
11004
12673
        ;;
11005
12674
      osf3* | osf4* | osf5*)
11006
12675
        case $cc_basename in
11007
 
          KCC)
 
12676
          KCC*)
11008
12677
            lt_prog_compiler_wl_CXX='--backend -Wl,'
11009
12678
            ;;
11010
 
          RCC)
 
12679
          RCC*)
11011
12680
            # Rational C++ 2.4.1
11012
12681
            lt_prog_compiler_pic_CXX='-pic'
11013
12682
            ;;
11014
 
          cxx)
 
12683
          cxx*)
11015
12684
            # Digital/Compaq C++
11016
12685
            lt_prog_compiler_wl_CXX='-Wl,'
11017
12686
            # Make sure the PIC flag is empty.  It appears that all Alpha
11025
12694
        ;;
11026
12695
      psos*)
11027
12696
        ;;
11028
 
      sco*)
11029
 
        case $cc_basename in
11030
 
          CC)
11031
 
            lt_prog_compiler_pic_CXX='-fPIC'
11032
 
            ;;
11033
 
          *)
11034
 
            ;;
11035
 
        esac
11036
 
        ;;
11037
12697
      solaris*)
11038
12698
        case $cc_basename in
11039
 
          CC)
 
12699
          CC*)
11040
12700
            # Sun C++ 4.2, 5.x and Centerline C++
11041
12701
            lt_prog_compiler_pic_CXX='-KPIC'
11042
12702
            lt_prog_compiler_static_CXX='-Bstatic'
11043
12703
            lt_prog_compiler_wl_CXX='-Qoption ld '
11044
12704
            ;;
11045
 
          gcx)
 
12705
          gcx*)
11046
12706
            # Green Hills C++ Compiler
11047
12707
            lt_prog_compiler_pic_CXX='-PIC'
11048
12708
            ;;
11052
12712
        ;;
11053
12713
      sunos4*)
11054
12714
        case $cc_basename in
11055
 
          CC)
 
12715
          CC*)
11056
12716
            # Sun C++ 4.x
11057
12717
            lt_prog_compiler_pic_CXX='-pic'
11058
12718
            lt_prog_compiler_static_CXX='-Bstatic'
11059
12719
            ;;
11060
 
          lcc)
 
12720
          lcc*)
11061
12721
            # Lucid
11062
12722
            lt_prog_compiler_pic_CXX='-pic'
11063
12723
            ;;
11067
12727
        ;;
11068
12728
      tandem*)
11069
12729
        case $cc_basename in
11070
 
          NCC)
 
12730
          NCC*)
11071
12731
            # NonStop-UX NCC 3.20
11072
12732
            lt_prog_compiler_pic_CXX='-KPIC'
11073
12733
            ;;
11075
12735
            ;;
11076
12736
        esac
11077
12737
        ;;
11078
 
      unixware*)
 
12738
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
12739
        case $cc_basename in
 
12740
          CC*)
 
12741
            lt_prog_compiler_wl_CXX='-Wl,'
 
12742
            lt_prog_compiler_pic_CXX='-KPIC'
 
12743
            lt_prog_compiler_static_CXX='-Bstatic'
 
12744
            ;;
 
12745
        esac
11079
12746
        ;;
11080
12747
      vxworks*)
11081
12748
        ;;
11085
12752
    esac
11086
12753
  fi
11087
12754
 
11088
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11089
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
12755
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
12756
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11090
12757
 
11091
12758
#
11092
12759
# Check to make sure the PIC flag actually works.
11093
12760
#
11094
12761
if test -n "$lt_prog_compiler_pic_CXX"; then
11095
12762
 
11096
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11097
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
12763
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
12764
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11098
12765
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11099
12766
  echo $ECHO_N "(cached) $ECHO_C" >&6
11100
12767
else
11108
12775
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11109
12776
   # The option is referenced via a variable to avoid confusing sed.
11110
12777
   lt_compile=`echo "$ac_compile" | $SED \
11111
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
12778
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11112
12779
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11113
12780
   -e 's:$: $lt_compiler_flag:'`
11114
 
   (eval echo "\"\$as_me:11114: $lt_compile\"" >&5)
 
12781
   (eval echo "\"\$as_me:12781: $lt_compile\"" >&5)
11115
12782
   (eval "$lt_compile" 2>conftest.err)
11116
12783
   ac_status=$?
11117
12784
   cat conftest.err >&5
11118
 
   echo "$as_me:11118: \$? = $ac_status" >&5
 
12785
   echo "$as_me:12785: \$? = $ac_status" >&5
11119
12786
   if (exit $ac_status) && test -s "$ac_outfile"; then
11120
12787
     # The compiler can only warn and ignore the option if not recognized
11121
 
     # So say no if there are warnings
11122
 
     if test ! -s conftest.err; then
 
12788
     # So say no if there are warnings other than the usual output.
 
12789
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
12790
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
12791
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11123
12792
       lt_prog_compiler_pic_works_CXX=yes
11124
12793
     fi
11125
12794
   fi
11126
12795
   $rm conftest*
11127
12796
 
11128
12797
fi
11129
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11130
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
12798
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
12799
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11131
12800
 
11132
12801
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11133
12802
    case $lt_prog_compiler_pic_CXX in
11140
12809
fi
11141
12810
 
11142
12811
fi
11143
 
case "$host_os" in
 
12812
case $host_os in
11144
12813
  # For platforms which do not support PIC, -DPIC is meaningless:
11145
12814
  *djgpp*)
11146
12815
    lt_prog_compiler_pic_CXX=
11150
12819
    ;;
11151
12820
esac
11152
12821
 
11153
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11154
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
12822
#
 
12823
# Check to make sure the static flag actually works.
 
12824
#
 
12825
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
12826
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
12827
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
12828
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
12829
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12830
else
 
12831
  lt_prog_compiler_static_works_CXX=no
 
12832
   save_LDFLAGS="$LDFLAGS"
 
12833
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
12834
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
12835
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
12836
     # The linker can only warn and ignore the option if not recognized
 
12837
     # So say no if there are warnings
 
12838
     if test -s conftest.err; then
 
12839
       # Append any errors to the config.log.
 
12840
       cat conftest.err 1>&5
 
12841
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
12842
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
12843
       if diff conftest.exp conftest.er2 >/dev/null; then
 
12844
         lt_prog_compiler_static_works_CXX=yes
 
12845
       fi
 
12846
     else
 
12847
       lt_prog_compiler_static_works_CXX=yes
 
12848
     fi
 
12849
   fi
 
12850
   $rm conftest*
 
12851
   LDFLAGS="$save_LDFLAGS"
 
12852
 
 
12853
fi
 
12854
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
12855
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
12856
 
 
12857
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
12858
    :
 
12859
else
 
12860
    lt_prog_compiler_static_CXX=
 
12861
fi
 
12862
 
 
12863
 
 
12864
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12865
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11155
12866
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11156
12867
  echo $ECHO_N "(cached) $ECHO_C" >&6
11157
12868
else
11168
12879
   # Note that $ac_compile itself does not contain backslashes and begins
11169
12880
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11170
12881
   lt_compile=`echo "$ac_compile" | $SED \
11171
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
12882
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11172
12883
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11173
12884
   -e 's:$: $lt_compiler_flag:'`
11174
 
   (eval echo "\"\$as_me:11174: $lt_compile\"" >&5)
 
12885
   (eval echo "\"\$as_me:12885: $lt_compile\"" >&5)
11175
12886
   (eval "$lt_compile" 2>out/conftest.err)
11176
12887
   ac_status=$?
11177
12888
   cat out/conftest.err >&5
11178
 
   echo "$as_me:11178: \$? = $ac_status" >&5
 
12889
   echo "$as_me:12889: \$? = $ac_status" >&5
11179
12890
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11180
12891
   then
11181
12892
     # The compiler can only warn and ignore the option if not recognized
11182
12893
     # So say no if there are warnings
11183
 
     if test ! -s out/conftest.err; then
 
12894
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
12895
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
12896
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11184
12897
       lt_cv_prog_compiler_c_o_CXX=yes
11185
12898
     fi
11186
12899
   fi
11187
 
   chmod u+w .
 
12900
   chmod u+w . 2>&5
11188
12901
   $rm conftest*
11189
12902
   # SGI C++ compiler will create directory out/ii_files/ for
11190
12903
   # template instantiation
11195
12908
   $rm conftest*
11196
12909
 
11197
12910
fi
11198
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11199
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
12911
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
12912
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11200
12913
 
11201
12914
 
11202
12915
hard_links="nottested"
11203
12916
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11204
12917
  # do not overwrite the value of need_locks provided by the user
11205
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11206
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
12918
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
12919
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11207
12920
  hard_links=yes
11208
12921
  $rm conftest*
11209
12922
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11210
12923
  touch conftest.a
11211
12924
  ln conftest.a conftest.b 2>&5 || hard_links=no
11212
12925
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11213
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11214
 
echo "${ECHO_T}$hard_links" >&6
 
12926
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
12927
echo "${ECHO_T}$hard_links" >&6; }
11215
12928
  if test "$hard_links" = no; then
11216
12929
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11217
12930
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11221
12934
  need_locks=no
11222
12935
fi
11223
12936
 
11224
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11225
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
12937
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12938
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11226
12939
 
11227
12940
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11228
12941
  case $host_os in
11239
12952
    export_symbols_cmds_CXX="$ltdll_cmds"
11240
12953
  ;;
11241
12954
  cygwin* | mingw*)
11242
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
12955
    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'
11243
12956
  ;;
11244
 
  linux*)
 
12957
  linux* | k*bsd*-gnu)
11245
12958
    link_all_deplibs_CXX=no
11246
12959
  ;;
11247
12960
  *)
11249
12962
  ;;
11250
12963
  esac
11251
12964
 
11252
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11253
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12965
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12966
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11254
12967
test "$ld_shlibs_CXX" = no && can_build_shared=no
11255
12968
 
11256
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11257
 
if test "$GCC" = yes; then
11258
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11259
 
fi
11260
 
 
11261
12969
#
11262
12970
# Do we need to explicitly link libc?
11263
12971
#
11275
12983
      # Test whether the compiler implicitly links with -lc since on some
11276
12984
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11277
12985
      # to ld, don't add -lc before -lgcc.
11278
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11279
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
12986
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
12987
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11280
12988
      $rm conftest*
11281
12989
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11282
12990
 
11290
12998
        libobjs=conftest.$ac_objext
11291
12999
        deplibs=
11292
13000
        wl=$lt_prog_compiler_wl_CXX
 
13001
        pic_flag=$lt_prog_compiler_pic_CXX
11293
13002
        compiler_flags=-v
11294
13003
        linker_flags=-v
11295
13004
        verstring=
11312
13021
        cat conftest.err 1>&5
11313
13022
      fi
11314
13023
      $rm conftest*
11315
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11316
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
13024
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
13025
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11317
13026
      ;;
11318
13027
    esac
11319
13028
  fi
11320
13029
  ;;
11321
13030
esac
11322
13031
 
11323
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11324
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
13032
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
13033
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11325
13034
library_names_spec=
11326
13035
libname_spec='lib$name'
11327
13036
soname_spec=
11422
13131
  shlibpath_var=LIBRARY_PATH
11423
13132
  ;;
11424
13133
 
11425
 
bsdi4*)
 
13134
bsdi[45]*)
11426
13135
  version_type=linux
11427
13136
  need_version=no
11428
13137
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11450
13159
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11451
13160
      dldir=$destdir/`dirname \$dlpath`~
11452
13161
      test -d \$dldir || mkdir -p \$dldir~
11453
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
13162
      $install_prog $dir/$dlname \$dldir/$dlname~
 
13163
      chmod a+x \$dldir/$dlname'
11454
13164
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11455
13165
      dlpath=$dir/\$dldll~
11456
13166
       $rm \$dlpath'
11480
13190
      ;;
11481
13191
    pw32*)
11482
13192
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11483
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
13193
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11484
13194
      ;;
11485
13195
    esac
11486
13196
    ;;
11503
13213
  soname_spec='${libname}${release}${major}$shared_ext'
11504
13214
  shlibpath_overrides_runpath=yes
11505
13215
  shlibpath_var=DYLD_LIBRARY_PATH
11506
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
13216
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11507
13217
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11508
13218
  if test "$GCC" = yes; then
11509
13219
    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"`
11526
13236
  dynamic_linker=no
11527
13237
  ;;
11528
13238
 
11529
 
kfreebsd*-gnu)
11530
 
  version_type=linux
11531
 
  need_lib_prefix=no
11532
 
  need_version=no
11533
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11534
 
  soname_spec='${libname}${release}${shared_ext}$major'
11535
 
  shlibpath_var=LD_LIBRARY_PATH
11536
 
  shlibpath_overrides_runpath=no
11537
 
  hardcode_into_libs=yes
11538
 
  dynamic_linker='GNU ld.so'
11539
 
  ;;
11540
 
 
11541
 
freebsd*)
11542
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
13239
freebsd* | dragonfly*)
 
13240
  # DragonFly does not have aout.  When/if they implement a new
 
13241
  # versioning mechanism, adjust this.
 
13242
  if test -x /usr/bin/objformat; then
 
13243
    objformat=`/usr/bin/objformat`
 
13244
  else
 
13245
    case $host_os in
 
13246
    freebsd[123]*) objformat=aout ;;
 
13247
    *) objformat=elf ;;
 
13248
    esac
 
13249
  fi
11543
13250
  version_type=freebsd-$objformat
11544
13251
  case $version_type in
11545
13252
    freebsd-elf*)
11557
13264
  freebsd2*)
11558
13265
    shlibpath_overrides_runpath=yes
11559
13266
    ;;
11560
 
  freebsd3.01* | freebsdelf3.01*)
 
13267
  freebsd3.[01]* | freebsdelf3.[01]*)
11561
13268
    shlibpath_overrides_runpath=yes
11562
13269
    hardcode_into_libs=yes
11563
13270
    ;;
11564
 
  *) # from 3.2 on
 
13271
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
13272
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11565
13273
    shlibpath_overrides_runpath=no
11566
13274
    hardcode_into_libs=yes
11567
13275
    ;;
 
13276
  freebsd*) # from 4.6 on
 
13277
    shlibpath_overrides_runpath=yes
 
13278
    hardcode_into_libs=yes
 
13279
    ;;
11568
13280
  esac
11569
13281
  ;;
11570
13282
 
11584
13296
  version_type=sunos
11585
13297
  need_lib_prefix=no
11586
13298
  need_version=no
11587
 
  case "$host_cpu" in
 
13299
  case $host_cpu in
11588
13300
  ia64*)
11589
13301
    shrext_cmds='.so'
11590
13302
    hardcode_into_libs=yes
11624
13336
  postinstall_cmds='chmod 555 $lib'
11625
13337
  ;;
11626
13338
 
 
13339
interix3*)
 
13340
  version_type=linux
 
13341
  need_lib_prefix=no
 
13342
  need_version=no
 
13343
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
13344
  soname_spec='${libname}${release}${shared_ext}$major'
 
13345
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
13346
  shlibpath_var=LD_LIBRARY_PATH
 
13347
  shlibpath_overrides_runpath=no
 
13348
  hardcode_into_libs=yes
 
13349
  ;;
 
13350
 
11627
13351
irix5* | irix6* | nonstopux*)
11628
13352
  case $host_os in
11629
13353
    nonstopux*) version_type=nonstopux ;;
11667
13391
  ;;
11668
13392
 
11669
13393
# This must be Linux ELF.
11670
 
linux*)
 
13394
linux* | k*bsd*-gnu)
11671
13395
  version_type=linux
11672
13396
  need_lib_prefix=no
11673
13397
  need_version=no
11683
13407
 
11684
13408
  # Append ld.so.conf contents to the search path
11685
13409
  if test -f /etc/ld.so.conf; then
11686
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
13410
    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' ' '`
11687
13411
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11688
13412
  fi
11689
13413
 
11708
13432
  dynamic_linker='NetBSD ld.elf_so'
11709
13433
  ;;
11710
13434
 
11711
 
knetbsd*-gnu)
11712
 
  version_type=linux
11713
 
  need_lib_prefix=no
11714
 
  need_version=no
11715
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11716
 
  soname_spec='${libname}${release}${shared_ext}$major'
11717
 
  shlibpath_var=LD_LIBRARY_PATH
11718
 
  shlibpath_overrides_runpath=no
11719
 
  hardcode_into_libs=yes
11720
 
  dynamic_linker='GNU ld.so'
11721
 
  ;;
11722
 
 
11723
13435
netbsd*)
11724
13436
  version_type=sunos
11725
13437
  need_lib_prefix=no
11757
13469
 
11758
13470
openbsd*)
11759
13471
  version_type=sunos
 
13472
  sys_lib_dlsearch_path_spec="/usr/lib"
11760
13473
  need_lib_prefix=no
11761
 
  need_version=yes
 
13474
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
13475
  case $host_os in
 
13476
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
13477
    *)                         need_version=no  ;;
 
13478
  esac
11762
13479
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11763
13480
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11764
13481
  shlibpath_var=LD_LIBRARY_PATH
11796
13513
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11797
13514
  ;;
11798
13515
 
11799
 
sco3.2v5*)
11800
 
  version_type=osf
11801
 
  soname_spec='${libname}${release}${shared_ext}$major'
11802
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11803
 
  shlibpath_var=LD_LIBRARY_PATH
11804
 
  ;;
11805
 
 
11806
13516
solaris*)
11807
13517
  version_type=linux
11808
13518
  need_lib_prefix=no
11828
13538
  need_version=yes
11829
13539
  ;;
11830
13540
 
11831
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
13541
sysv4 | sysv4.3*)
11832
13542
  version_type=linux
11833
13543
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11834
13544
  soname_spec='${libname}${release}${shared_ext}$major'
11861
13571
  fi
11862
13572
  ;;
11863
13573
 
 
13574
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
13575
  version_type=freebsd-elf
 
13576
  need_lib_prefix=no
 
13577
  need_version=no
 
13578
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
13579
  soname_spec='${libname}${release}${shared_ext}$major'
 
13580
  shlibpath_var=LD_LIBRARY_PATH
 
13581
  hardcode_into_libs=yes
 
13582
  if test "$with_gnu_ld" = yes; then
 
13583
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
13584
    shlibpath_overrides_runpath=no
 
13585
  else
 
13586
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
13587
    shlibpath_overrides_runpath=yes
 
13588
    case $host_os in
 
13589
      sco3.2v5*)
 
13590
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
13591
        ;;
 
13592
    esac
 
13593
  fi
 
13594
  sys_lib_dlsearch_path_spec='/usr/lib'
 
13595
  ;;
 
13596
 
11864
13597
uts4*)
11865
13598
  version_type=linux
11866
13599
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11872
13605
  dynamic_linker=no
11873
13606
  ;;
11874
13607
esac
11875
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11876
 
echo "${ECHO_T}$dynamic_linker" >&6
 
13608
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13609
echo "${ECHO_T}$dynamic_linker" >&6; }
11877
13610
test "$dynamic_linker" = no && can_build_shared=no
11878
13611
 
11879
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11880
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
13612
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
13613
if test "$GCC" = yes; then
 
13614
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
13615
fi
 
13616
 
 
13617
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13618
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11881
13619
hardcode_action_CXX=
11882
13620
if test -n "$hardcode_libdir_flag_spec_CXX" || \
11883
 
   test -n "$runpath_var CXX" || \
11884
 
   test "X$hardcode_automatic_CXX"="Xyes" ; then
 
13621
   test -n "$runpath_var_CXX" || \
 
13622
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
11885
13623
 
11886
13624
  # We can hardcode non-existant directories.
11887
13625
  if test "$hardcode_direct_CXX" != no &&
11901
13639
  # directories.
11902
13640
  hardcode_action_CXX=unsupported
11903
13641
fi
11904
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11905
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
13642
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13643
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
11906
13644
 
11907
13645
if test "$hardcode_action_CXX" = relink; then
11908
13646
  # Fast installation is not supported
11913
13651
  enable_fast_install=needless
11914
13652
fi
11915
13653
 
11916
 
striplib=
11917
 
old_striplib=
11918
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11919
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11920
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11921
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11922
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11923
 
  echo "$as_me:$LINENO: result: yes" >&5
11924
 
echo "${ECHO_T}yes" >&6
11925
 
else
11926
 
# FIXME - insert some real tests, host_os isn't really good enough
11927
 
  case $host_os in
11928
 
   darwin*)
11929
 
       if test -n "$STRIP" ; then
11930
 
         striplib="$STRIP -x"
11931
 
         echo "$as_me:$LINENO: result: yes" >&5
11932
 
echo "${ECHO_T}yes" >&6
11933
 
       else
11934
 
  echo "$as_me:$LINENO: result: no" >&5
11935
 
echo "${ECHO_T}no" >&6
11936
 
fi
11937
 
       ;;
11938
 
   *)
11939
 
  echo "$as_me:$LINENO: result: no" >&5
11940
 
echo "${ECHO_T}no" >&6
11941
 
    ;;
11942
 
  esac
11943
 
fi
11944
 
 
11945
 
if test "x$enable_dlopen" != xyes; then
11946
 
  enable_dlopen=unknown
11947
 
  enable_dlopen_self=unknown
11948
 
  enable_dlopen_self_static=unknown
11949
 
else
11950
 
  lt_cv_dlopen=no
11951
 
  lt_cv_dlopen_libs=
11952
 
 
11953
 
  case $host_os in
11954
 
  beos*)
11955
 
    lt_cv_dlopen="load_add_on"
11956
 
    lt_cv_dlopen_libs=
11957
 
    lt_cv_dlopen_self=yes
11958
 
    ;;
11959
 
 
11960
 
  mingw* | pw32*)
11961
 
    lt_cv_dlopen="LoadLibrary"
11962
 
    lt_cv_dlopen_libs=
11963
 
   ;;
11964
 
 
11965
 
  cygwin*)
11966
 
    lt_cv_dlopen="dlopen"
11967
 
    lt_cv_dlopen_libs=
11968
 
   ;;
11969
 
 
11970
 
  darwin*)
11971
 
  # if libdl is installed we need to link against it
11972
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11973
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11974
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11975
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11976
 
else
11977
 
  ac_check_lib_save_LIBS=$LIBS
11978
 
LIBS="-ldl  $LIBS"
11979
 
cat >conftest.$ac_ext <<_ACEOF
11980
 
/* confdefs.h.  */
11981
 
_ACEOF
11982
 
cat confdefs.h >>conftest.$ac_ext
11983
 
cat >>conftest.$ac_ext <<_ACEOF
11984
 
/* end confdefs.h.  */
11985
 
 
11986
 
/* Override any gcc2 internal prototype to avoid an error.  */
11987
 
#ifdef __cplusplus
11988
 
extern "C"
11989
 
#endif
11990
 
/* We use char because int might match the return type of a gcc2
11991
 
   builtin and then its argument prototype would still apply.  */
11992
 
char dlopen ();
11993
 
int
11994
 
main ()
11995
 
{
11996
 
dlopen ();
11997
 
  ;
11998
 
  return 0;
11999
 
}
12000
 
_ACEOF
12001
 
rm -f conftest.$ac_objext conftest$ac_exeext
12002
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12003
 
  (eval $ac_link) 2>conftest.er1
12004
 
  ac_status=$?
12005
 
  grep -v '^ *+' conftest.er1 >conftest.err
12006
 
  rm -f conftest.er1
12007
 
  cat conftest.err >&5
12008
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009
 
  (exit $ac_status); } &&
12010
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12011
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12012
 
  (eval $ac_try) 2>&5
12013
 
  ac_status=$?
12014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015
 
  (exit $ac_status); }; } &&
12016
 
         { ac_try='test -s conftest$ac_exeext'
12017
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12018
 
  (eval $ac_try) 2>&5
12019
 
  ac_status=$?
12020
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12021
 
  (exit $ac_status); }; }; then
12022
 
  ac_cv_lib_dl_dlopen=yes
12023
 
else
12024
 
  echo "$as_me: failed program was:" >&5
12025
 
sed 's/^/| /' conftest.$ac_ext >&5
12026
 
 
12027
 
ac_cv_lib_dl_dlopen=no
12028
 
fi
12029
 
rm -f conftest.err conftest.$ac_objext \
12030
 
      conftest$ac_exeext conftest.$ac_ext
12031
 
LIBS=$ac_check_lib_save_LIBS
12032
 
fi
12033
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12034
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12035
 
if test $ac_cv_lib_dl_dlopen = yes; then
12036
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12037
 
else
12038
 
 
12039
 
    lt_cv_dlopen="dyld"
12040
 
    lt_cv_dlopen_libs=
12041
 
    lt_cv_dlopen_self=yes
12042
 
 
12043
 
fi
12044
 
 
12045
 
   ;;
12046
 
 
12047
 
  *)
12048
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
12049
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12050
 
if test "${ac_cv_func_shl_load+set}" = set; then
12051
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12052
 
else
12053
 
  cat >conftest.$ac_ext <<_ACEOF
12054
 
/* confdefs.h.  */
12055
 
_ACEOF
12056
 
cat confdefs.h >>conftest.$ac_ext
12057
 
cat >>conftest.$ac_ext <<_ACEOF
12058
 
/* end confdefs.h.  */
12059
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12060
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12061
 
#define shl_load innocuous_shl_load
12062
 
 
12063
 
/* System header to define __stub macros and hopefully few prototypes,
12064
 
    which can conflict with char shl_load (); below.
12065
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12066
 
    <limits.h> exists even on freestanding compilers.  */
12067
 
 
12068
 
#ifdef __STDC__
12069
 
# include <limits.h>
12070
 
#else
12071
 
# include <assert.h>
12072
 
#endif
12073
 
 
12074
 
#undef shl_load
12075
 
 
12076
 
/* Override any gcc2 internal prototype to avoid an error.  */
12077
 
#ifdef __cplusplus
12078
 
extern "C"
12079
 
{
12080
 
#endif
12081
 
/* We use char because int might match the return type of a gcc2
12082
 
   builtin and then its argument prototype would still apply.  */
12083
 
char shl_load ();
12084
 
/* The GNU C library defines this for functions which it implements
12085
 
    to always fail with ENOSYS.  Some functions are actually named
12086
 
    something starting with __ and the normal name is an alias.  */
12087
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
12088
 
choke me
12089
 
#else
12090
 
char (*f) () = shl_load;
12091
 
#endif
12092
 
#ifdef __cplusplus
12093
 
}
12094
 
#endif
12095
 
 
12096
 
int
12097
 
main ()
12098
 
{
12099
 
return f != shl_load;
12100
 
  ;
12101
 
  return 0;
12102
 
}
12103
 
_ACEOF
12104
 
rm -f conftest.$ac_objext conftest$ac_exeext
12105
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12106
 
  (eval $ac_link) 2>conftest.er1
12107
 
  ac_status=$?
12108
 
  grep -v '^ *+' conftest.er1 >conftest.err
12109
 
  rm -f conftest.er1
12110
 
  cat conftest.err >&5
12111
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112
 
  (exit $ac_status); } &&
12113
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12114
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115
 
  (eval $ac_try) 2>&5
12116
 
  ac_status=$?
12117
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118
 
  (exit $ac_status); }; } &&
12119
 
         { ac_try='test -s conftest$ac_exeext'
12120
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12121
 
  (eval $ac_try) 2>&5
12122
 
  ac_status=$?
12123
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124
 
  (exit $ac_status); }; }; then
12125
 
  ac_cv_func_shl_load=yes
12126
 
else
12127
 
  echo "$as_me: failed program was:" >&5
12128
 
sed 's/^/| /' conftest.$ac_ext >&5
12129
 
 
12130
 
ac_cv_func_shl_load=no
12131
 
fi
12132
 
rm -f conftest.err conftest.$ac_objext \
12133
 
      conftest$ac_exeext conftest.$ac_ext
12134
 
fi
12135
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12136
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12137
 
if test $ac_cv_func_shl_load = yes; then
12138
 
  lt_cv_dlopen="shl_load"
12139
 
else
12140
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12141
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12142
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12143
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12144
 
else
12145
 
  ac_check_lib_save_LIBS=$LIBS
12146
 
LIBS="-ldld  $LIBS"
12147
 
cat >conftest.$ac_ext <<_ACEOF
12148
 
/* confdefs.h.  */
12149
 
_ACEOF
12150
 
cat confdefs.h >>conftest.$ac_ext
12151
 
cat >>conftest.$ac_ext <<_ACEOF
12152
 
/* end confdefs.h.  */
12153
 
 
12154
 
/* Override any gcc2 internal prototype to avoid an error.  */
12155
 
#ifdef __cplusplus
12156
 
extern "C"
12157
 
#endif
12158
 
/* We use char because int might match the return type of a gcc2
12159
 
   builtin and then its argument prototype would still apply.  */
12160
 
char shl_load ();
12161
 
int
12162
 
main ()
12163
 
{
12164
 
shl_load ();
12165
 
  ;
12166
 
  return 0;
12167
 
}
12168
 
_ACEOF
12169
 
rm -f conftest.$ac_objext conftest$ac_exeext
12170
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12171
 
  (eval $ac_link) 2>conftest.er1
12172
 
  ac_status=$?
12173
 
  grep -v '^ *+' conftest.er1 >conftest.err
12174
 
  rm -f conftest.er1
12175
 
  cat conftest.err >&5
12176
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177
 
  (exit $ac_status); } &&
12178
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12179
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12180
 
  (eval $ac_try) 2>&5
12181
 
  ac_status=$?
12182
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183
 
  (exit $ac_status); }; } &&
12184
 
         { ac_try='test -s conftest$ac_exeext'
12185
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12186
 
  (eval $ac_try) 2>&5
12187
 
  ac_status=$?
12188
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189
 
  (exit $ac_status); }; }; then
12190
 
  ac_cv_lib_dld_shl_load=yes
12191
 
else
12192
 
  echo "$as_me: failed program was:" >&5
12193
 
sed 's/^/| /' conftest.$ac_ext >&5
12194
 
 
12195
 
ac_cv_lib_dld_shl_load=no
12196
 
fi
12197
 
rm -f conftest.err conftest.$ac_objext \
12198
 
      conftest$ac_exeext conftest.$ac_ext
12199
 
LIBS=$ac_check_lib_save_LIBS
12200
 
fi
12201
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12202
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12203
 
if test $ac_cv_lib_dld_shl_load = yes; then
12204
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12205
 
else
12206
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
12207
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12208
 
if test "${ac_cv_func_dlopen+set}" = set; then
12209
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12210
 
else
12211
 
  cat >conftest.$ac_ext <<_ACEOF
12212
 
/* confdefs.h.  */
12213
 
_ACEOF
12214
 
cat confdefs.h >>conftest.$ac_ext
12215
 
cat >>conftest.$ac_ext <<_ACEOF
12216
 
/* end confdefs.h.  */
12217
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12218
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12219
 
#define dlopen innocuous_dlopen
12220
 
 
12221
 
/* System header to define __stub macros and hopefully few prototypes,
12222
 
    which can conflict with char dlopen (); below.
12223
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12224
 
    <limits.h> exists even on freestanding compilers.  */
12225
 
 
12226
 
#ifdef __STDC__
12227
 
# include <limits.h>
12228
 
#else
12229
 
# include <assert.h>
12230
 
#endif
12231
 
 
12232
 
#undef dlopen
12233
 
 
12234
 
/* Override any gcc2 internal prototype to avoid an error.  */
12235
 
#ifdef __cplusplus
12236
 
extern "C"
12237
 
{
12238
 
#endif
12239
 
/* We use char because int might match the return type of a gcc2
12240
 
   builtin and then its argument prototype would still apply.  */
12241
 
char dlopen ();
12242
 
/* The GNU C library defines this for functions which it implements
12243
 
    to always fail with ENOSYS.  Some functions are actually named
12244
 
    something starting with __ and the normal name is an alias.  */
12245
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
12246
 
choke me
12247
 
#else
12248
 
char (*f) () = dlopen;
12249
 
#endif
12250
 
#ifdef __cplusplus
12251
 
}
12252
 
#endif
12253
 
 
12254
 
int
12255
 
main ()
12256
 
{
12257
 
return f != dlopen;
12258
 
  ;
12259
 
  return 0;
12260
 
}
12261
 
_ACEOF
12262
 
rm -f conftest.$ac_objext conftest$ac_exeext
12263
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12264
 
  (eval $ac_link) 2>conftest.er1
12265
 
  ac_status=$?
12266
 
  grep -v '^ *+' conftest.er1 >conftest.err
12267
 
  rm -f conftest.er1
12268
 
  cat conftest.err >&5
12269
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270
 
  (exit $ac_status); } &&
12271
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12272
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12273
 
  (eval $ac_try) 2>&5
12274
 
  ac_status=$?
12275
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276
 
  (exit $ac_status); }; } &&
12277
 
         { ac_try='test -s conftest$ac_exeext'
12278
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12279
 
  (eval $ac_try) 2>&5
12280
 
  ac_status=$?
12281
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282
 
  (exit $ac_status); }; }; then
12283
 
  ac_cv_func_dlopen=yes
12284
 
else
12285
 
  echo "$as_me: failed program was:" >&5
12286
 
sed 's/^/| /' conftest.$ac_ext >&5
12287
 
 
12288
 
ac_cv_func_dlopen=no
12289
 
fi
12290
 
rm -f conftest.err conftest.$ac_objext \
12291
 
      conftest$ac_exeext conftest.$ac_ext
12292
 
fi
12293
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12294
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12295
 
if test $ac_cv_func_dlopen = yes; then
12296
 
  lt_cv_dlopen="dlopen"
12297
 
else
12298
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12299
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12300
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12301
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12302
 
else
12303
 
  ac_check_lib_save_LIBS=$LIBS
12304
 
LIBS="-ldl  $LIBS"
12305
 
cat >conftest.$ac_ext <<_ACEOF
12306
 
/* confdefs.h.  */
12307
 
_ACEOF
12308
 
cat confdefs.h >>conftest.$ac_ext
12309
 
cat >>conftest.$ac_ext <<_ACEOF
12310
 
/* end confdefs.h.  */
12311
 
 
12312
 
/* Override any gcc2 internal prototype to avoid an error.  */
12313
 
#ifdef __cplusplus
12314
 
extern "C"
12315
 
#endif
12316
 
/* We use char because int might match the return type of a gcc2
12317
 
   builtin and then its argument prototype would still apply.  */
12318
 
char dlopen ();
12319
 
int
12320
 
main ()
12321
 
{
12322
 
dlopen ();
12323
 
  ;
12324
 
  return 0;
12325
 
}
12326
 
_ACEOF
12327
 
rm -f conftest.$ac_objext conftest$ac_exeext
12328
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12329
 
  (eval $ac_link) 2>conftest.er1
12330
 
  ac_status=$?
12331
 
  grep -v '^ *+' conftest.er1 >conftest.err
12332
 
  rm -f conftest.er1
12333
 
  cat conftest.err >&5
12334
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335
 
  (exit $ac_status); } &&
12336
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12337
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12338
 
  (eval $ac_try) 2>&5
12339
 
  ac_status=$?
12340
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341
 
  (exit $ac_status); }; } &&
12342
 
         { ac_try='test -s conftest$ac_exeext'
12343
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12344
 
  (eval $ac_try) 2>&5
12345
 
  ac_status=$?
12346
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347
 
  (exit $ac_status); }; }; then
12348
 
  ac_cv_lib_dl_dlopen=yes
12349
 
else
12350
 
  echo "$as_me: failed program was:" >&5
12351
 
sed 's/^/| /' conftest.$ac_ext >&5
12352
 
 
12353
 
ac_cv_lib_dl_dlopen=no
12354
 
fi
12355
 
rm -f conftest.err conftest.$ac_objext \
12356
 
      conftest$ac_exeext conftest.$ac_ext
12357
 
LIBS=$ac_check_lib_save_LIBS
12358
 
fi
12359
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12360
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12361
 
if test $ac_cv_lib_dl_dlopen = yes; then
12362
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12363
 
else
12364
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12365
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12366
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12367
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12368
 
else
12369
 
  ac_check_lib_save_LIBS=$LIBS
12370
 
LIBS="-lsvld  $LIBS"
12371
 
cat >conftest.$ac_ext <<_ACEOF
12372
 
/* confdefs.h.  */
12373
 
_ACEOF
12374
 
cat confdefs.h >>conftest.$ac_ext
12375
 
cat >>conftest.$ac_ext <<_ACEOF
12376
 
/* end confdefs.h.  */
12377
 
 
12378
 
/* Override any gcc2 internal prototype to avoid an error.  */
12379
 
#ifdef __cplusplus
12380
 
extern "C"
12381
 
#endif
12382
 
/* We use char because int might match the return type of a gcc2
12383
 
   builtin and then its argument prototype would still apply.  */
12384
 
char dlopen ();
12385
 
int
12386
 
main ()
12387
 
{
12388
 
dlopen ();
12389
 
  ;
12390
 
  return 0;
12391
 
}
12392
 
_ACEOF
12393
 
rm -f conftest.$ac_objext conftest$ac_exeext
12394
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12395
 
  (eval $ac_link) 2>conftest.er1
12396
 
  ac_status=$?
12397
 
  grep -v '^ *+' conftest.er1 >conftest.err
12398
 
  rm -f conftest.er1
12399
 
  cat conftest.err >&5
12400
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401
 
  (exit $ac_status); } &&
12402
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12403
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12404
 
  (eval $ac_try) 2>&5
12405
 
  ac_status=$?
12406
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12407
 
  (exit $ac_status); }; } &&
12408
 
         { ac_try='test -s conftest$ac_exeext'
12409
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12410
 
  (eval $ac_try) 2>&5
12411
 
  ac_status=$?
12412
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413
 
  (exit $ac_status); }; }; then
12414
 
  ac_cv_lib_svld_dlopen=yes
12415
 
else
12416
 
  echo "$as_me: failed program was:" >&5
12417
 
sed 's/^/| /' conftest.$ac_ext >&5
12418
 
 
12419
 
ac_cv_lib_svld_dlopen=no
12420
 
fi
12421
 
rm -f conftest.err conftest.$ac_objext \
12422
 
      conftest$ac_exeext conftest.$ac_ext
12423
 
LIBS=$ac_check_lib_save_LIBS
12424
 
fi
12425
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12426
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12427
 
if test $ac_cv_lib_svld_dlopen = yes; then
12428
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12429
 
else
12430
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12431
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12432
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12433
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12434
 
else
12435
 
  ac_check_lib_save_LIBS=$LIBS
12436
 
LIBS="-ldld  $LIBS"
12437
 
cat >conftest.$ac_ext <<_ACEOF
12438
 
/* confdefs.h.  */
12439
 
_ACEOF
12440
 
cat confdefs.h >>conftest.$ac_ext
12441
 
cat >>conftest.$ac_ext <<_ACEOF
12442
 
/* end confdefs.h.  */
12443
 
 
12444
 
/* Override any gcc2 internal prototype to avoid an error.  */
12445
 
#ifdef __cplusplus
12446
 
extern "C"
12447
 
#endif
12448
 
/* We use char because int might match the return type of a gcc2
12449
 
   builtin and then its argument prototype would still apply.  */
12450
 
char dld_link ();
12451
 
int
12452
 
main ()
12453
 
{
12454
 
dld_link ();
12455
 
  ;
12456
 
  return 0;
12457
 
}
12458
 
_ACEOF
12459
 
rm -f conftest.$ac_objext conftest$ac_exeext
12460
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12461
 
  (eval $ac_link) 2>conftest.er1
12462
 
  ac_status=$?
12463
 
  grep -v '^ *+' conftest.er1 >conftest.err
12464
 
  rm -f conftest.er1
12465
 
  cat conftest.err >&5
12466
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467
 
  (exit $ac_status); } &&
12468
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12469
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12470
 
  (eval $ac_try) 2>&5
12471
 
  ac_status=$?
12472
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473
 
  (exit $ac_status); }; } &&
12474
 
         { ac_try='test -s conftest$ac_exeext'
12475
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12476
 
  (eval $ac_try) 2>&5
12477
 
  ac_status=$?
12478
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479
 
  (exit $ac_status); }; }; then
12480
 
  ac_cv_lib_dld_dld_link=yes
12481
 
else
12482
 
  echo "$as_me: failed program was:" >&5
12483
 
sed 's/^/| /' conftest.$ac_ext >&5
12484
 
 
12485
 
ac_cv_lib_dld_dld_link=no
12486
 
fi
12487
 
rm -f conftest.err conftest.$ac_objext \
12488
 
      conftest$ac_exeext conftest.$ac_ext
12489
 
LIBS=$ac_check_lib_save_LIBS
12490
 
fi
12491
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12492
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12493
 
if test $ac_cv_lib_dld_dld_link = yes; then
12494
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12495
 
fi
12496
 
 
12497
 
 
12498
 
fi
12499
 
 
12500
 
 
12501
 
fi
12502
 
 
12503
 
 
12504
 
fi
12505
 
 
12506
 
 
12507
 
fi
12508
 
 
12509
 
 
12510
 
fi
12511
 
 
12512
 
    ;;
12513
 
  esac
12514
 
 
12515
 
  if test "x$lt_cv_dlopen" != xno; then
12516
 
    enable_dlopen=yes
12517
 
  else
12518
 
    enable_dlopen=no
12519
 
  fi
12520
 
 
12521
 
  case $lt_cv_dlopen in
12522
 
  dlopen)
12523
 
    save_CPPFLAGS="$CPPFLAGS"
12524
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12525
 
 
12526
 
    save_LDFLAGS="$LDFLAGS"
12527
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12528
 
 
12529
 
    save_LIBS="$LIBS"
12530
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
12531
 
 
12532
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12533
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12534
 
if test "${lt_cv_dlopen_self+set}" = set; then
12535
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12536
 
else
12537
 
          if test "$cross_compiling" = yes; then :
12538
 
  lt_cv_dlopen_self=cross
12539
 
else
12540
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12541
 
  lt_status=$lt_dlunknown
12542
 
  cat > conftest.$ac_ext <<EOF
12543
 
#line 12543 "configure"
12544
 
#include "confdefs.h"
12545
 
 
12546
 
#if HAVE_DLFCN_H
12547
 
#include <dlfcn.h>
12548
 
#endif
12549
 
 
12550
 
#include <stdio.h>
12551
 
 
12552
 
#ifdef RTLD_GLOBAL
12553
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12554
 
#else
12555
 
#  ifdef DL_GLOBAL
12556
 
#    define LT_DLGLOBAL         DL_GLOBAL
12557
 
#  else
12558
 
#    define LT_DLGLOBAL         0
12559
 
#  endif
12560
 
#endif
12561
 
 
12562
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12563
 
   find out it does not work in some platform. */
12564
 
#ifndef LT_DLLAZY_OR_NOW
12565
 
#  ifdef RTLD_LAZY
12566
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12567
 
#  else
12568
 
#    ifdef DL_LAZY
12569
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12570
 
#    else
12571
 
#      ifdef RTLD_NOW
12572
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12573
 
#      else
12574
 
#        ifdef DL_NOW
12575
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12576
 
#        else
12577
 
#          define LT_DLLAZY_OR_NOW      0
12578
 
#        endif
12579
 
#      endif
12580
 
#    endif
12581
 
#  endif
12582
 
#endif
12583
 
 
12584
 
#ifdef __cplusplus
12585
 
extern "C" void exit (int);
12586
 
#endif
12587
 
 
12588
 
void fnord() { int i=42;}
12589
 
int main ()
12590
 
{
12591
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12592
 
  int status = $lt_dlunknown;
12593
 
 
12594
 
  if (self)
12595
 
    {
12596
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12597
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12598
 
      /* dlclose (self); */
12599
 
    }
12600
 
 
12601
 
    exit (status);
12602
 
}
12603
 
EOF
12604
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12605
 
  (eval $ac_link) 2>&5
12606
 
  ac_status=$?
12607
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12609
 
    (./conftest; exit; ) 2>/dev/null
12610
 
    lt_status=$?
12611
 
    case x$lt_status in
12612
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12613
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12614
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12615
 
    esac
12616
 
  else :
12617
 
    # compilation failed
12618
 
    lt_cv_dlopen_self=no
12619
 
  fi
12620
 
fi
12621
 
rm -fr conftest*
12622
 
 
12623
 
 
12624
 
fi
12625
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12626
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12627
 
 
12628
 
    if test "x$lt_cv_dlopen_self" = xyes; then
12629
 
      LDFLAGS="$LDFLAGS $link_static_flag"
12630
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12631
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12632
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
12633
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12634
 
else
12635
 
          if test "$cross_compiling" = yes; then :
12636
 
  lt_cv_dlopen_self_static=cross
12637
 
else
12638
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12639
 
  lt_status=$lt_dlunknown
12640
 
  cat > conftest.$ac_ext <<EOF
12641
 
#line 12641 "configure"
12642
 
#include "confdefs.h"
12643
 
 
12644
 
#if HAVE_DLFCN_H
12645
 
#include <dlfcn.h>
12646
 
#endif
12647
 
 
12648
 
#include <stdio.h>
12649
 
 
12650
 
#ifdef RTLD_GLOBAL
12651
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
12652
 
#else
12653
 
#  ifdef DL_GLOBAL
12654
 
#    define LT_DLGLOBAL         DL_GLOBAL
12655
 
#  else
12656
 
#    define LT_DLGLOBAL         0
12657
 
#  endif
12658
 
#endif
12659
 
 
12660
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12661
 
   find out it does not work in some platform. */
12662
 
#ifndef LT_DLLAZY_OR_NOW
12663
 
#  ifdef RTLD_LAZY
12664
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12665
 
#  else
12666
 
#    ifdef DL_LAZY
12667
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12668
 
#    else
12669
 
#      ifdef RTLD_NOW
12670
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12671
 
#      else
12672
 
#        ifdef DL_NOW
12673
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
12674
 
#        else
12675
 
#          define LT_DLLAZY_OR_NOW      0
12676
 
#        endif
12677
 
#      endif
12678
 
#    endif
12679
 
#  endif
12680
 
#endif
12681
 
 
12682
 
#ifdef __cplusplus
12683
 
extern "C" void exit (int);
12684
 
#endif
12685
 
 
12686
 
void fnord() { int i=42;}
12687
 
int main ()
12688
 
{
12689
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12690
 
  int status = $lt_dlunknown;
12691
 
 
12692
 
  if (self)
12693
 
    {
12694
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12695
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12696
 
      /* dlclose (self); */
12697
 
    }
12698
 
 
12699
 
    exit (status);
12700
 
}
12701
 
EOF
12702
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12703
 
  (eval $ac_link) 2>&5
12704
 
  ac_status=$?
12705
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12707
 
    (./conftest; exit; ) 2>/dev/null
12708
 
    lt_status=$?
12709
 
    case x$lt_status in
12710
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12711
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12712
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12713
 
    esac
12714
 
  else :
12715
 
    # compilation failed
12716
 
    lt_cv_dlopen_self_static=no
12717
 
  fi
12718
 
fi
12719
 
rm -fr conftest*
12720
 
 
12721
 
 
12722
 
fi
12723
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12724
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12725
 
    fi
12726
 
 
12727
 
    CPPFLAGS="$save_CPPFLAGS"
12728
 
    LDFLAGS="$save_LDFLAGS"
12729
 
    LIBS="$save_LIBS"
12730
 
    ;;
12731
 
  esac
12732
 
 
12733
 
  case $lt_cv_dlopen_self in
12734
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12735
 
  *) enable_dlopen_self=unknown ;;
12736
 
  esac
12737
 
 
12738
 
  case $lt_cv_dlopen_self_static in
12739
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12740
 
  *) enable_dlopen_self_static=unknown ;;
12741
 
  esac
12742
 
fi
12743
 
 
12744
13654
 
12745
13655
# The else clause should only fire when bootstrapping the
12746
13656
# libtool distribution, otherwise you forgot to ship ltmain.sh
12755
13665
  # Now quote all the things that may contain metacharacters while being
12756
13666
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
12757
13667
  # variables and quote the copies for generation of the libtool script.
12758
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
13668
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12759
13669
    SED SHELL STRIP \
12760
13670
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12761
13671
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12856
13766
# The host system.
12857
13767
host_alias=$host_alias
12858
13768
host=$host
 
13769
host_os=$host_os
 
13770
 
 
13771
# The build system.
 
13772
build_alias=$build_alias
 
13773
build=$build
 
13774
build_os=$build_os
12859
13775
 
12860
13776
# An echo program that does not interpret backslashes.
12861
13777
echo=$lt_echo
12867
13783
# A C compiler.
12868
13784
LTCC=$lt_LTCC
12869
13785
 
 
13786
# LTCC compiler flags.
 
13787
LTCFLAGS=$lt_LTCFLAGS
 
13788
 
12870
13789
# A language-specific compiler.
12871
13790
CC=$lt_compiler_CXX
12872
13791
 
12932
13851
# Does compiler simultaneously support -c and -o options?
12933
13852
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12934
13853
 
12935
 
# Must we lock files when doing compilation ?
 
13854
# Must we lock files when doing compilation?
12936
13855
need_locks=$lt_need_locks
12937
13856
 
12938
13857
# Do we need the lib prefix for modules?
13209
14128
# If no C compiler was specified, use CC.
13210
14129
LTCC=${LTCC-"$CC"}
13211
14130
 
 
14131
# If no C compiler flags were specified, use CFLAGS.
 
14132
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
14133
 
13212
14134
# Allow CC to be a program name with arguments.
13213
14135
compiler=$CC
13214
14136
 
13215
14137
 
 
14138
# save warnings/boilerplate of simple test code
 
14139
ac_outfile=conftest.$ac_objext
 
14140
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
14141
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
14142
_lt_compiler_boilerplate=`cat conftest.err`
 
14143
$rm conftest*
 
14144
 
 
14145
ac_outfile=conftest.$ac_objext
 
14146
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
14147
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
14148
_lt_linker_boilerplate=`cat conftest.err`
 
14149
$rm conftest*
 
14150
 
 
14151
 
13216
14152
# Allow CC to be a program name with arguments.
13217
14153
lt_save_CC="$CC"
13218
14154
CC=${F77-"f77"}
13219
14155
compiler=$CC
13220
14156
compiler_F77=$CC
13221
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13222
 
 
13223
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13224
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13225
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
13226
 
echo "${ECHO_T}$can_build_shared" >&6
13227
 
 
13228
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13229
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
14157
for cc_temp in $compiler""; do
 
14158
  case $cc_temp in
 
14159
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
14160
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
14161
    \-*) ;;
 
14162
    *) break;;
 
14163
  esac
 
14164
done
 
14165
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
14166
 
 
14167
 
 
14168
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14169
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
14170
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14171
echo "${ECHO_T}$can_build_shared" >&6; }
 
14172
 
 
14173
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14174
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13230
14175
test "$can_build_shared" = "no" && enable_shared=no
13231
14176
 
13232
14177
# On AIX, shared libraries and static libraries use the same namespace, and
13233
14178
# are all built from PIC.
13234
 
case "$host_os" in
 
14179
case $host_os in
13235
14180
aix3*)
13236
14181
  test "$enable_shared" = yes && enable_static=no
13237
14182
  if test -n "$RANLIB"; then
13240
14185
  fi
13241
14186
  ;;
13242
14187
aix4* | aix5*)
13243
 
  test "$enable_shared" = yes && enable_static=no
 
14188
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
14189
    test "$enable_shared" = yes && enable_static=no
 
14190
  fi
13244
14191
  ;;
13245
14192
esac
13246
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
13247
 
echo "${ECHO_T}$enable_shared" >&6
 
14193
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14194
echo "${ECHO_T}$enable_shared" >&6; }
13248
14195
 
13249
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13250
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
14196
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14197
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13251
14198
# Make sure either enable_shared or enable_static is yes.
13252
14199
test "$enable_shared" = yes || enable_static=yes
13253
 
echo "$as_me:$LINENO: result: $enable_static" >&5
13254
 
echo "${ECHO_T}$enable_static" >&6
13255
 
 
13256
 
test "$ld_shlibs_F77" = no && can_build_shared=no
 
14200
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
14201
echo "${ECHO_T}$enable_static" >&6; }
13257
14202
 
13258
14203
GCC_F77="$G77"
13259
14204
LD_F77="$LD"
13262
14207
lt_prog_compiler_pic_F77=
13263
14208
lt_prog_compiler_static_F77=
13264
14209
 
13265
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13266
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14210
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14211
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13267
14212
 
13268
14213
  if test "$GCC" = yes; then
13269
14214
    lt_prog_compiler_wl_F77='-Wl,'
13301
14246
      lt_prog_compiler_pic_F77='-fno-common'
13302
14247
      ;;
13303
14248
 
 
14249
    interix3*)
 
14250
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
14251
      # Instead, we relocate shared libraries at runtime.
 
14252
      ;;
 
14253
 
13304
14254
    msdosdjgpp*)
13305
14255
      # Just because we use GCC doesn't mean we suddenly get shared libraries
13306
14256
      # on systems that don't support them.
13317
14267
    hpux*)
13318
14268
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13319
14269
      # not for PA HP-UX.
13320
 
      case "$host_cpu" in
 
14270
      case $host_cpu in
13321
14271
      hppa*64*|ia64*)
13322
14272
        # +Z the default
13323
14273
        ;;
13343
14293
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
13344
14294
      fi
13345
14295
      ;;
 
14296
      darwin*)
 
14297
        # PIC is the default on this platform
 
14298
        # Common symbols not allowed in MH_DYLIB files
 
14299
       case $cc_basename in
 
14300
         xlc*)
 
14301
         lt_prog_compiler_pic_F77='-qnocommon'
 
14302
         lt_prog_compiler_wl_F77='-Wl,'
 
14303
         ;;
 
14304
       esac
 
14305
       ;;
13346
14306
 
13347
14307
    mingw* | pw32* | os2*)
13348
14308
      # This hack is so that the source file can tell whether it is being
13354
14314
      lt_prog_compiler_wl_F77='-Wl,'
13355
14315
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13356
14316
      # not for PA HP-UX.
13357
 
      case "$host_cpu" in
 
14317
      case $host_cpu in
13358
14318
      hppa*64*|ia64*)
13359
14319
        # +Z the default
13360
14320
        ;;
13377
14337
      lt_prog_compiler_static_F77='-Bstatic'
13378
14338
      ;;
13379
14339
 
13380
 
    linux*)
13381
 
      case $CC in
 
14340
    linux* | k*bsd*-gnu)
 
14341
      case $cc_basename in
13382
14342
      icc* | ecc*)
13383
14343
        lt_prog_compiler_wl_F77='-Wl,'
13384
14344
        lt_prog_compiler_pic_F77='-KPIC'
13385
14345
        lt_prog_compiler_static_F77='-static'
13386
14346
        ;;
 
14347
      pgcc* | pgf77* | pgf90* | pgf95*)
 
14348
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
14349
        # which looks to be a dead project)
 
14350
        lt_prog_compiler_wl_F77='-Wl,'
 
14351
        lt_prog_compiler_pic_F77='-fpic'
 
14352
        lt_prog_compiler_static_F77='-Bstatic'
 
14353
        ;;
13387
14354
      ccc*)
13388
14355
        lt_prog_compiler_wl_F77='-Wl,'
13389
14356
        # All Alpha code is PIC.
13398
14365
      lt_prog_compiler_static_F77='-non_shared'
13399
14366
      ;;
13400
14367
 
13401
 
    sco3.2v5*)
13402
 
      lt_prog_compiler_pic_F77='-Kpic'
13403
 
      lt_prog_compiler_static_F77='-dn'
13404
 
      ;;
13405
 
 
13406
14368
    solaris*)
13407
 
      lt_prog_compiler_wl_F77='-Wl,'
13408
14369
      lt_prog_compiler_pic_F77='-KPIC'
13409
14370
      lt_prog_compiler_static_F77='-Bstatic'
 
14371
      case $cc_basename in
 
14372
      f77* | f90* | f95*)
 
14373
        lt_prog_compiler_wl_F77='-Qoption ld ';;
 
14374
      *)
 
14375
        lt_prog_compiler_wl_F77='-Wl,';;
 
14376
      esac
13410
14377
      ;;
13411
14378
 
13412
14379
    sunos4*)
13415
14382
      lt_prog_compiler_static_F77='-Bstatic'
13416
14383
      ;;
13417
14384
 
13418
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
14385
    sysv4 | sysv4.2uw2* | sysv4.3*)
13419
14386
      lt_prog_compiler_wl_F77='-Wl,'
13420
14387
      lt_prog_compiler_pic_F77='-KPIC'
13421
14388
      lt_prog_compiler_static_F77='-Bstatic'
13428
14395
      fi
13429
14396
      ;;
13430
14397
 
 
14398
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
14399
      lt_prog_compiler_wl_F77='-Wl,'
 
14400
      lt_prog_compiler_pic_F77='-KPIC'
 
14401
      lt_prog_compiler_static_F77='-Bstatic'
 
14402
      ;;
 
14403
 
 
14404
    unicos*)
 
14405
      lt_prog_compiler_wl_F77='-Wl,'
 
14406
      lt_prog_compiler_can_build_shared_F77=no
 
14407
      ;;
 
14408
 
13431
14409
    uts4*)
13432
14410
      lt_prog_compiler_pic_F77='-pic'
13433
14411
      lt_prog_compiler_static_F77='-Bstatic'
13439
14417
    esac
13440
14418
  fi
13441
14419
 
13442
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13443
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
14420
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14421
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13444
14422
 
13445
14423
#
13446
14424
# Check to make sure the PIC flag actually works.
13447
14425
#
13448
14426
if test -n "$lt_prog_compiler_pic_F77"; then
13449
14427
 
13450
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13451
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
14428
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14429
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13452
14430
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13453
14431
  echo $ECHO_N "(cached) $ECHO_C" >&6
13454
14432
else
13462
14440
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13463
14441
   # The option is referenced via a variable to avoid confusing sed.
13464
14442
   lt_compile=`echo "$ac_compile" | $SED \
13465
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
14443
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13466
14444
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13467
14445
   -e 's:$: $lt_compiler_flag:'`
13468
 
   (eval echo "\"\$as_me:13468: $lt_compile\"" >&5)
 
14446
   (eval echo "\"\$as_me:14446: $lt_compile\"" >&5)
13469
14447
   (eval "$lt_compile" 2>conftest.err)
13470
14448
   ac_status=$?
13471
14449
   cat conftest.err >&5
13472
 
   echo "$as_me:13472: \$? = $ac_status" >&5
 
14450
   echo "$as_me:14450: \$? = $ac_status" >&5
13473
14451
   if (exit $ac_status) && test -s "$ac_outfile"; then
13474
14452
     # The compiler can only warn and ignore the option if not recognized
13475
 
     # So say no if there are warnings
13476
 
     if test ! -s conftest.err; then
 
14453
     # So say no if there are warnings other than the usual output.
 
14454
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
14455
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14456
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13477
14457
       lt_prog_compiler_pic_works_F77=yes
13478
14458
     fi
13479
14459
   fi
13480
14460
   $rm conftest*
13481
14461
 
13482
14462
fi
13483
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13484
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
14463
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
14464
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13485
14465
 
13486
14466
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13487
14467
    case $lt_prog_compiler_pic_F77 in
13494
14474
fi
13495
14475
 
13496
14476
fi
13497
 
case "$host_os" in
 
14477
case $host_os in
13498
14478
  # For platforms which do not support PIC, -DPIC is meaningless:
13499
14479
  *djgpp*)
13500
14480
    lt_prog_compiler_pic_F77=
13504
14484
    ;;
13505
14485
esac
13506
14486
 
13507
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13508
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14487
#
 
14488
# Check to make sure the static flag actually works.
 
14489
#
 
14490
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
 
14491
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14492
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
14493
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
14494
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14495
else
 
14496
  lt_prog_compiler_static_works_F77=no
 
14497
   save_LDFLAGS="$LDFLAGS"
 
14498
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
14499
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14500
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
14501
     # The linker can only warn and ignore the option if not recognized
 
14502
     # So say no if there are warnings
 
14503
     if test -s conftest.err; then
 
14504
       # Append any errors to the config.log.
 
14505
       cat conftest.err 1>&5
 
14506
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
14507
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14508
       if diff conftest.exp conftest.er2 >/dev/null; then
 
14509
         lt_prog_compiler_static_works_F77=yes
 
14510
       fi
 
14511
     else
 
14512
       lt_prog_compiler_static_works_F77=yes
 
14513
     fi
 
14514
   fi
 
14515
   $rm conftest*
 
14516
   LDFLAGS="$save_LDFLAGS"
 
14517
 
 
14518
fi
 
14519
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
14520
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
14521
 
 
14522
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
14523
    :
 
14524
else
 
14525
    lt_prog_compiler_static_F77=
 
14526
fi
 
14527
 
 
14528
 
 
14529
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14530
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13509
14531
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13510
14532
  echo $ECHO_N "(cached) $ECHO_C" >&6
13511
14533
else
13522
14544
   # Note that $ac_compile itself does not contain backslashes and begins
13523
14545
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13524
14546
   lt_compile=`echo "$ac_compile" | $SED \
13525
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
14547
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13526
14548
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13527
14549
   -e 's:$: $lt_compiler_flag:'`
13528
 
   (eval echo "\"\$as_me:13528: $lt_compile\"" >&5)
 
14550
   (eval echo "\"\$as_me:14550: $lt_compile\"" >&5)
13529
14551
   (eval "$lt_compile" 2>out/conftest.err)
13530
14552
   ac_status=$?
13531
14553
   cat out/conftest.err >&5
13532
 
   echo "$as_me:13532: \$? = $ac_status" >&5
 
14554
   echo "$as_me:14554: \$? = $ac_status" >&5
13533
14555
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13534
14556
   then
13535
14557
     # The compiler can only warn and ignore the option if not recognized
13536
14558
     # So say no if there are warnings
13537
 
     if test ! -s out/conftest.err; then
 
14559
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14560
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14561
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13538
14562
       lt_cv_prog_compiler_c_o_F77=yes
13539
14563
     fi
13540
14564
   fi
13541
 
   chmod u+w .
 
14565
   chmod u+w . 2>&5
13542
14566
   $rm conftest*
13543
14567
   # SGI C++ compiler will create directory out/ii_files/ for
13544
14568
   # template instantiation
13549
14573
   $rm conftest*
13550
14574
 
13551
14575
fi
13552
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13553
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
14576
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14577
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13554
14578
 
13555
14579
 
13556
14580
hard_links="nottested"
13557
14581
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13558
14582
  # do not overwrite the value of need_locks provided by the user
13559
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13560
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14583
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14584
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13561
14585
  hard_links=yes
13562
14586
  $rm conftest*
13563
14587
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13564
14588
  touch conftest.a
13565
14589
  ln conftest.a conftest.b 2>&5 || hard_links=no
13566
14590
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13567
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13568
 
echo "${ECHO_T}$hard_links" >&6
 
14591
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14592
echo "${ECHO_T}$hard_links" >&6; }
13569
14593
  if test "$hard_links" = no; then
13570
14594
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13571
14595
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13575
14599
  need_locks=no
13576
14600
fi
13577
14601
 
13578
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13579
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14602
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14603
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13580
14604
 
13581
14605
  runpath_var=
13582
14606
  allow_undefined_flag_F77=
13614
14638
  # rely on this symbol name, it's probably fine to never include it in
13615
14639
  # preloaded symbol tables.
13616
14640
  extract_expsyms_cmds=
 
14641
  # Just being paranoid about ensuring that cc_basename is set.
 
14642
  for cc_temp in $compiler""; do
 
14643
  case $cc_temp in
 
14644
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
14645
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
14646
    \-*) ;;
 
14647
    *) break;;
 
14648
  esac
 
14649
done
 
14650
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13617
14651
 
13618
14652
  case $host_os in
13619
14653
  cygwin* | mingw* | pw32*)
13624
14658
      with_gnu_ld=no
13625
14659
    fi
13626
14660
    ;;
 
14661
  interix*)
 
14662
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
14663
    with_gnu_ld=yes
 
14664
    ;;
13627
14665
  openbsd*)
13628
14666
    with_gnu_ld=no
13629
14667
    ;;
13634
14672
    # If archive_cmds runs LD, not CC, wlarc should be empty
13635
14673
    wlarc='${wl}'
13636
14674
 
 
14675
    # Set some defaults for GNU ld with shared library support. These
 
14676
    # are reset later if shared libraries are not supported. Putting them
 
14677
    # here allows them to be overridden if necessary.
 
14678
    runpath_var=LD_RUN_PATH
 
14679
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
 
14680
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
 
14681
    # ancient GNU ld didn't support --whole-archive et. al.
 
14682
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
14683
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
14684
      else
 
14685
        whole_archive_flag_spec_F77=
 
14686
    fi
 
14687
    supports_anon_versioning=no
 
14688
    case `$LD -v 2>/dev/null` in
 
14689
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
14690
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
14691
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
14692
      *\ 2.11.*) ;; # other 2.11 versions
 
14693
      *) supports_anon_versioning=yes ;;
 
14694
    esac
 
14695
 
13637
14696
    # See if GNU ld supports shared libraries.
13638
14697
    case $host_os in
13639
14698
    aix3* | aix4* | aix5*)
13684
14743
      allow_undefined_flag_F77=unsupported
13685
14744
      always_export_symbols_F77=no
13686
14745
      enable_shared_with_static_runtimes_F77=yes
13687
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
14746
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13688
14747
 
13689
14748
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13690
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
14749
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13691
14750
        # If the export-symbols file already is a .def file (1st line
13692
14751
        # is EXPORTS), use it as is; otherwise, prepend...
13693
14752
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13696
14755
          echo EXPORTS > $output_objdir/$soname.def;
13697
14756
          cat $export_symbols >> $output_objdir/$soname.def;
13698
14757
        fi~
13699
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
13700
 
      else
13701
 
        ld_shlibs=no
13702
 
      fi
13703
 
      ;;
13704
 
 
13705
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
14758
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
14759
      else
 
14760
        ld_shlibs_F77=no
 
14761
      fi
 
14762
      ;;
 
14763
 
 
14764
    interix3*)
 
14765
      hardcode_direct_F77=no
 
14766
      hardcode_shlibpath_var_F77=no
 
14767
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
14768
      export_dynamic_flag_spec_F77='${wl}-E'
 
14769
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
14770
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
14771
      # default) and relocated if they conflict, which is a slow very memory
 
14772
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
14773
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
14774
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
14775
      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'
 
14776
      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'
 
14777
      ;;
 
14778
 
 
14779
    linux* | k*bsd*-gnu)
 
14780
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
14781
        tmp_addflag=
 
14782
        case $cc_basename,$host_cpu in
 
14783
        pgcc*)                          # Portland Group C compiler
 
14784
          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'
 
14785
          tmp_addflag=' $pic_flag'
 
14786
          ;;
 
14787
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
14788
          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'
 
14789
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
14790
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
14791
          tmp_addflag=' -i_dynamic' ;;
 
14792
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
14793
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
14794
        ifc* | ifort*)                  # Intel Fortran compiler
 
14795
          tmp_addflag=' -nofor_main' ;;
 
14796
        esac
 
14797
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14798
 
 
14799
        if test $supports_anon_versioning = yes; then
 
14800
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
 
14801
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
14802
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
14803
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
14804
        fi
 
14805
        link_all_deplibs_F77=no
 
14806
      else
 
14807
        ld_shlibs_F77=no
 
14808
      fi
 
14809
      ;;
 
14810
 
 
14811
    netbsd* | netbsdelf*-gnu)
13706
14812
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13707
14813
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13708
14814
        wlarc=
13712
14818
      fi
13713
14819
      ;;
13714
14820
 
13715
 
    solaris* | sysv5*)
 
14821
    solaris*)
13716
14822
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13717
14823
        ld_shlibs_F77=no
13718
14824
        cat <<EOF 1>&2
13733
14839
      fi
13734
14840
      ;;
13735
14841
 
 
14842
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
14843
      case `$LD -v 2>&1` in
 
14844
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
14845
        ld_shlibs_F77=no
 
14846
        cat <<_LT_EOF 1>&2
 
14847
 
 
14848
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
14849
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
14850
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
14851
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
14852
*** your PATH or compiler configuration so that the native linker is
 
14853
*** used, and then restart.
 
14854
 
 
14855
_LT_EOF
 
14856
        ;;
 
14857
        *)
 
14858
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
14859
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
14860
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
14861
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
14862
          else
 
14863
            ld_shlibs_F77=no
 
14864
          fi
 
14865
        ;;
 
14866
      esac
 
14867
      ;;
 
14868
 
13736
14869
    sunos4*)
13737
14870
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13738
14871
      wlarc=
13740
14873
      hardcode_shlibpath_var_F77=no
13741
14874
      ;;
13742
14875
 
13743
 
  linux*)
13744
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13745
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13746
 
        archive_cmds_F77="$tmp_archive_cmds"
13747
 
      supports_anon_versioning=no
13748
 
      case `$LD -v 2>/dev/null` in
13749
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13750
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13751
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13752
 
        *\ 2.11.*) ;; # other 2.11 versions
13753
 
        *) supports_anon_versioning=yes ;;
13754
 
      esac
13755
 
      if test $supports_anon_versioning = yes; then
13756
 
        archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13757
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13758
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
13759
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13760
 
      else
13761
 
        archive_expsym_cmds_F77="$tmp_archive_cmds"
13762
 
      fi
13763
 
      link_all_deplibs_F77=no
13764
 
    else
13765
 
      ld_shlibs_F77=no
13766
 
    fi
13767
 
    ;;
13768
 
 
13769
14876
    *)
13770
14877
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13771
14878
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13776
14883
      ;;
13777
14884
    esac
13778
14885
 
13779
 
    if test "$ld_shlibs_F77" = yes; then
13780
 
      runpath_var=LD_RUN_PATH
13781
 
      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13782
 
      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13783
 
      # ancient GNU ld didn't support --whole-archive et. al.
13784
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13785
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13786
 
      else
13787
 
        whole_archive_flag_spec_F77=
13788
 
      fi
 
14886
    if test "$ld_shlibs_F77" = no; then
 
14887
      runpath_var=
 
14888
      hardcode_libdir_flag_spec_F77=
 
14889
      export_dynamic_flag_spec_F77=
 
14890
      whole_archive_flag_spec_F77=
13789
14891
    fi
13790
14892
  else
13791
14893
    # PORTME fill in a description of your system's linker (not GNU ld)
13797
14899
      # Note: this linker hardcodes the directories in LIBPATH if there
13798
14900
      # are no directories specified by -L.
13799
14901
      hardcode_minus_L_F77=yes
13800
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
14902
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13801
14903
        # Neither direct hardcoding nor static linking is supported with a
13802
14904
        # broken collect2.
13803
14905
        hardcode_direct_F77=unsupported
13831
14933
            break
13832
14934
          fi
13833
14935
          done
 
14936
          ;;
13834
14937
        esac
13835
14938
 
13836
14939
        exp_sym_flag='-bexport'
13849
14952
      link_all_deplibs_F77=yes
13850
14953
 
13851
14954
      if test "$GCC" = yes; then
13852
 
        case $host_os in aix4.012|aix4.012.*)
 
14955
        case $host_os in aix4.[012]|aix4.[012].*)
13853
14956
        # We only want to do this on AIX 4.2 and lower, the check
13854
14957
        # below for broken collect2 doesn't work under 4.3+
13855
14958
          collect2name=`${CC} -print-prog-name=collect2`
13868
14971
          hardcode_libdir_flag_spec_F77='-L$libdir'
13869
14972
          hardcode_libdir_separator_F77=
13870
14973
          fi
 
14974
          ;;
13871
14975
        esac
13872
14976
        shared_flag='-shared'
 
14977
        if test "$aix_use_runtimelinking" = yes; then
 
14978
          shared_flag="$shared_flag "'${wl}-G'
 
14979
        fi
13873
14980
      else
13874
14981
        # not using gcc
13875
14982
        if test "$host_cpu" = ia64; then
13877
14984
        # chokes on -Wl,-G. The following line is correct:
13878
14985
          shared_flag='-G'
13879
14986
        else
13880
 
        if test "$aix_use_runtimelinking" = yes; then
 
14987
          if test "$aix_use_runtimelinking" = yes; then
13881
14988
            shared_flag='${wl}-G'
13882
14989
          else
13883
14990
            shared_flag='${wl}-bM:SRE'
13884
 
        fi
 
14991
          fi
13885
14992
        fi
13886
14993
      fi
13887
14994
 
13899
15006
      end
13900
15007
_ACEOF
13901
15008
rm -f conftest.$ac_objext conftest$ac_exeext
13902
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13903
 
  (eval $ac_link) 2>conftest.er1
 
15009
if { (ac_try="$ac_link"
 
15010
case "(($ac_try" in
 
15011
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15012
  *) ac_try_echo=$ac_try;;
 
15013
esac
 
15014
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15015
  (eval "$ac_link") 2>conftest.er1
13904
15016
  ac_status=$?
13905
15017
  grep -v '^ *+' conftest.er1 >conftest.err
13906
15018
  rm -f conftest.er1
13907
15019
  cat conftest.err >&5
13908
15020
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909
15021
  (exit $ac_status); } &&
13910
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
13911
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13912
 
  (eval $ac_try) 2>&5
 
15022
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
15023
  { (case "(($ac_try" in
 
15024
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15025
  *) ac_try_echo=$ac_try;;
 
15026
esac
 
15027
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15028
  (eval "$ac_try") 2>&5
13913
15029
  ac_status=$?
13914
15030
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915
15031
  (exit $ac_status); }; } &&
13916
15032
         { ac_try='test -s conftest$ac_exeext'
13917
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13918
 
  (eval $ac_try) 2>&5
 
15033
  { (case "(($ac_try" in
 
15034
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15035
  *) ac_try_echo=$ac_try;;
 
15036
esac
 
15037
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15038
  (eval "$ac_try") 2>&5
13919
15039
  ac_status=$?
13920
15040
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921
15041
  (exit $ac_status); }; }; then
13929
15049
  echo "$as_me: failed program was:" >&5
13930
15050
sed 's/^/| /' conftest.$ac_ext >&5
13931
15051
 
 
15052
 
13932
15053
fi
13933
 
rm -f conftest.err conftest.$ac_objext \
 
15054
 
 
15055
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13934
15056
      conftest$ac_exeext conftest.$ac_ext
13935
15057
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13936
15058
 
13937
15059
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13938
 
        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"
 
15060
        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"
13939
15061
       else
13940
15062
        if test "$host_cpu" = ia64; then
13941
15063
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13942
15064
          allow_undefined_flag_F77="-z nodefs"
13943
 
          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"
 
15065
          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"
13944
15066
        else
13945
15067
         # Determine the default libpath from the value encoded in an empty executable.
13946
15068
         cat >conftest.$ac_ext <<_ACEOF
13949
15071
      end
13950
15072
_ACEOF
13951
15073
rm -f conftest.$ac_objext conftest$ac_exeext
13952
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13953
 
  (eval $ac_link) 2>conftest.er1
 
15074
if { (ac_try="$ac_link"
 
15075
case "(($ac_try" in
 
15076
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15077
  *) ac_try_echo=$ac_try;;
 
15078
esac
 
15079
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15080
  (eval "$ac_link") 2>conftest.er1
13954
15081
  ac_status=$?
13955
15082
  grep -v '^ *+' conftest.er1 >conftest.err
13956
15083
  rm -f conftest.er1
13957
15084
  cat conftest.err >&5
13958
15085
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959
15086
  (exit $ac_status); } &&
13960
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
13961
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13962
 
  (eval $ac_try) 2>&5
 
15087
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
 
15088
  { (case "(($ac_try" in
 
15089
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15090
  *) ac_try_echo=$ac_try;;
 
15091
esac
 
15092
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15093
  (eval "$ac_try") 2>&5
13963
15094
  ac_status=$?
13964
15095
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965
15096
  (exit $ac_status); }; } &&
13966
15097
         { ac_try='test -s conftest$ac_exeext'
13967
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13968
 
  (eval $ac_try) 2>&5
 
15098
  { (case "(($ac_try" in
 
15099
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15100
  *) ac_try_echo=$ac_try;;
 
15101
esac
 
15102
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15103
  (eval "$ac_try") 2>&5
13969
15104
  ac_status=$?
13970
15105
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971
15106
  (exit $ac_status); }; }; then
13979
15114
  echo "$as_me: failed program was:" >&5
13980
15115
sed 's/^/| /' conftest.$ac_ext >&5
13981
15116
 
 
15117
 
13982
15118
fi
13983
 
rm -f conftest.err conftest.$ac_objext \
 
15119
 
 
15120
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13984
15121
      conftest$ac_exeext conftest.$ac_ext
13985
15122
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13986
15123
 
13989
15126
          # -berok will link without error, but may produce a broken library.
13990
15127
          no_undefined_flag_F77=' ${wl}-bernotok'
13991
15128
          allow_undefined_flag_F77=' ${wl}-berok'
13992
 
          # -bexpall does not export symbols beginning with underscore (_)
13993
 
          always_export_symbols_F77=yes
13994
15129
          # Exported symbols can be pulled into shared objects from archives
13995
 
          whole_archive_flag_spec_F77=' '
 
15130
          whole_archive_flag_spec_F77='$convenience'
13996
15131
          archive_cmds_need_lc_F77=yes
13997
 
          # This is similar to how AIX traditionally builds it's shared libraries.
13998
 
          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'
 
15132
          # This is similar to how AIX traditionally builds its shared libraries.
 
15133
          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'
13999
15134
        fi
14000
15135
      fi
14001
15136
      ;;
14008
15143
      ld_shlibs_F77=no
14009
15144
      ;;
14010
15145
 
14011
 
    bsdi4*)
 
15146
    bsdi[45]*)
14012
15147
      export_dynamic_flag_spec_F77=-rdynamic
14013
15148
      ;;
14014
15149
 
14029
15164
      old_archive_From_new_cmds_F77='true'
14030
15165
      # FIXME: Should let the user specify the lib program.
14031
15166
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
14032
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
15167
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14033
15168
      enable_shared_with_static_runtimes_F77=yes
14034
15169
      ;;
14035
15170
 
14036
15171
    darwin* | rhapsody*)
14037
 
    if test "$GXX" = yes ; then
 
15172
      case $host_os in
 
15173
        rhapsody* | darwin1.[012])
 
15174
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
 
15175
         ;;
 
15176
       *) # Darwin 1.3 on
 
15177
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
15178
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
15179
         else
 
15180
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
15181
             10.[012])
 
15182
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
15183
               ;;
 
15184
             10.*)
 
15185
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
 
15186
               ;;
 
15187
           esac
 
15188
         fi
 
15189
         ;;
 
15190
      esac
14038
15191
      archive_cmds_need_lc_F77=no
14039
 
      case "$host_os" in
14040
 
      rhapsody* | darwin1.[012])
14041
 
        allow_undefined_flag_F77='-undefined suppress'
14042
 
        ;;
14043
 
      *) # Darwin 1.3 on
14044
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14045
 
        allow_undefined_flag_F77='-flat_namespace -undefined suppress'
14046
 
      else
14047
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
14048
 
          10.[012])
14049
 
            allow_undefined_flag_F77='-flat_namespace -undefined suppress'
14050
 
            ;;
14051
 
          10.*)
14052
 
            allow_undefined_flag_F77='-undefined dynamic_lookup'
14053
 
            ;;
14054
 
        esac
14055
 
      fi
14056
 
        ;;
14057
 
      esac
14058
 
        lt_int_apple_cc_single_mod=no
14059
 
        output_verbose_link_cmd='echo'
14060
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
14061
 
          lt_int_apple_cc_single_mod=yes
14062
 
        fi
14063
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14064
 
          archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14065
 
        else
14066
 
        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'
14067
 
      fi
14068
 
      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14069
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14070
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14071
 
          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}'
14072
 
        else
14073
 
          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}'
14074
 
        fi
14075
 
          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}'
14076
15192
      hardcode_direct_F77=no
14077
15193
      hardcode_automatic_F77=yes
14078
15194
      hardcode_shlibpath_var_F77=unsupported
14079
 
      whole_archive_flag_spec_F77='-all_load $convenience'
 
15195
      whole_archive_flag_spec_F77=''
14080
15196
      link_all_deplibs_F77=yes
 
15197
    if test "$GCC" = yes ; then
 
15198
        output_verbose_link_cmd='echo'
 
15199
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
15200
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
15201
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
15202
      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}'
 
15203
      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}'
14081
15204
    else
14082
 
      ld_shlibs_F77=no
 
15205
      case $cc_basename in
 
15206
        xlc*)
 
15207
         output_verbose_link_cmd='echo'
 
15208
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
15209
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
15210
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
15211
         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}'
 
15212
          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}'
 
15213
          ;;
 
15214
       *)
 
15215
         ld_shlibs_F77=no
 
15216
          ;;
 
15217
      esac
14083
15218
    fi
14084
15219
      ;;
14085
15220
 
14113
15248
      ;;
14114
15249
 
14115
15250
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14116
 
    freebsd* | kfreebsd*-gnu)
 
15251
    freebsd* | dragonfly*)
14117
15252
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14118
15253
      hardcode_libdir_flag_spec_F77='-R$libdir'
14119
15254
      hardcode_direct_F77=yes
14136
15271
      export_dynamic_flag_spec_F77='${wl}-E'
14137
15272
      ;;
14138
15273
 
14139
 
    hpux10* | hpux11*)
14140
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14141
 
        case "$host_cpu" in
14142
 
        hppa*64*|ia64*)
 
15274
    hpux10*)
 
15275
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
15276
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
15277
      else
 
15278
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
15279
      fi
 
15280
      if test "$with_gnu_ld" = no; then
 
15281
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15282
        hardcode_libdir_separator_F77=:
 
15283
 
 
15284
        hardcode_direct_F77=yes
 
15285
        export_dynamic_flag_spec_F77='${wl}-E'
 
15286
 
 
15287
        # hardcode_minus_L: Not really in the search PATH,
 
15288
        # but as the default location of the library.
 
15289
        hardcode_minus_L_F77=yes
 
15290
      fi
 
15291
      ;;
 
15292
 
 
15293
    hpux11*)
 
15294
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
15295
        case $host_cpu in
 
15296
        hppa*64*)
14143
15297
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14144
15298
          ;;
 
15299
        ia64*)
 
15300
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
15301
          ;;
14145
15302
        *)
14146
15303
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14147
15304
          ;;
14148
15305
        esac
14149
15306
      else
14150
 
        case "$host_cpu" in
14151
 
        hppa*64*|ia64*)
14152
 
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
15307
        case $host_cpu in
 
15308
        hppa*64*)
 
15309
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15310
          ;;
 
15311
        ia64*)
 
15312
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14153
15313
          ;;
14154
15314
        *)
14155
 
          archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
15315
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14156
15316
          ;;
14157
15317
        esac
14158
15318
      fi
14159
15319
      if test "$with_gnu_ld" = no; then
14160
 
        case "$host_cpu" in
14161
 
        hppa*64*)
14162
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15320
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 
15321
        hardcode_libdir_separator_F77=:
 
15322
 
 
15323
        case $host_cpu in
 
15324
        hppa*64*|ia64*)
14163
15325
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14164
 
          hardcode_libdir_separator_F77=:
14165
 
          hardcode_direct_F77=no
14166
 
          hardcode_shlibpath_var_F77=no
14167
 
          ;;
14168
 
        ia64*)
14169
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14170
 
          hardcode_direct_F77=no
14171
 
          hardcode_shlibpath_var_F77=no
14172
 
 
14173
 
          # hardcode_minus_L: Not really in the search PATH,
14174
 
          # but as the default location of the library.
14175
 
          hardcode_minus_L_F77=yes
 
15326
          hardcode_direct_F77=no
 
15327
          hardcode_shlibpath_var_F77=no
14176
15328
          ;;
14177
15329
        *)
14178
 
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14179
 
          hardcode_libdir_separator_F77=:
14180
15330
          hardcode_direct_F77=yes
14181
15331
          export_dynamic_flag_spec_F77='${wl}-E'
14182
15332
 
14200
15350
      link_all_deplibs_F77=yes
14201
15351
      ;;
14202
15352
 
14203
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
15353
    netbsd* | netbsdelf*-gnu)
14204
15354
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14205
15355
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14206
15356
      else
14224
15374
      hardcode_shlibpath_var_F77=no
14225
15375
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14226
15376
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15377
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14227
15378
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14228
15379
        export_dynamic_flag_spec_F77='${wl}-E'
14229
15380
      else
14269
15420
        allow_undefined_flag_F77=' -expect_unresolved \*'
14270
15421
        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'
14271
15422
        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~
14272
 
        $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'
 
15423
        $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'
14273
15424
 
14274
15425
        # Both c and cxx compiler support -rpath directly
14275
15426
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
14277
15428
      hardcode_libdir_separator_F77=:
14278
15429
      ;;
14279
15430
 
14280
 
    sco3.2v5*)
14281
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14282
 
      hardcode_shlibpath_var_F77=no
14283
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
14284
 
      runpath_var=LD_RUN_PATH
14285
 
      hardcode_runpath_var=yes
14286
 
      ;;
14287
 
 
14288
15431
    solaris*)
14289
15432
      no_undefined_flag_F77=' -z text'
14290
15433
      if test "$GCC" = yes; then
 
15434
        wlarc='${wl}'
14291
15435
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14292
15436
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14293
15437
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14294
15438
      else
 
15439
        wlarc=''
14295
15440
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14296
15441
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14297
15442
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14300
15445
      hardcode_shlibpath_var_F77=no
14301
15446
      case $host_os in
14302
15447
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14303
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14304
 
        whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 
15448
      *)
 
15449
        # The compiler driver will combine linker options so we
 
15450
        # cannot just pass the convience library names through
 
15451
        # without $wl, iff we do not link with $LD.
 
15452
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
15453
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
15454
        case $wlarc in
 
15455
        '')
 
15456
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 
15457
        *)
 
15458
          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' ;;
 
15459
        esac ;;
14305
15460
      esac
14306
15461
      link_all_deplibs_F77=yes
14307
15462
      ;;
14358
15513
      fi
14359
15514
      ;;
14360
15515
 
14361
 
    sysv4.2uw2*)
14362
 
      archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14363
 
      hardcode_direct_F77=yes
14364
 
      hardcode_minus_L_F77=no
14365
 
      hardcode_shlibpath_var_F77=no
14366
 
      hardcode_runpath_var=yes
14367
 
      runpath_var=LD_RUN_PATH
14368
 
      ;;
14369
 
 
14370
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
14371
 
      no_undefined_flag_F77='${wl}-z ${wl}text'
14372
 
      if test "$GCC" = yes; then
14373
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14374
 
      else
14375
 
        archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14376
 
      fi
14377
 
      runpath_var='LD_RUN_PATH'
14378
 
      hardcode_shlibpath_var_F77=no
14379
 
      ;;
14380
 
 
14381
 
    sysv5*)
14382
 
      no_undefined_flag_F77=' -z text'
14383
 
      # $CC -shared without GNU ld will not create a library from C++
14384
 
      # object files and a static libstdc++, better avoid it by now
14385
 
      archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14386
 
      archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14387
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14388
 
      hardcode_libdir_flag_spec_F77=
14389
 
      hardcode_shlibpath_var_F77=no
14390
 
      runpath_var='LD_RUN_PATH'
 
15516
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
15517
      no_undefined_flag_F77='${wl}-z,text'
 
15518
      archive_cmds_need_lc_F77=no
 
15519
      hardcode_shlibpath_var_F77=no
 
15520
      runpath_var='LD_RUN_PATH'
 
15521
 
 
15522
      if test "$GCC" = yes; then
 
15523
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15524
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15525
      else
 
15526
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15527
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15528
      fi
 
15529
      ;;
 
15530
 
 
15531
    sysv5* | sco3.2v5* | sco5v6*)
 
15532
      # Note: We can NOT use -z defs as we might desire, because we do not
 
15533
      # link with -lc, and that would cause any symbols used from libc to
 
15534
      # always be unresolved, which means just about no library would
 
15535
      # ever link correctly.  If we're not using GNU ld we use -z text
 
15536
      # though, which does catch some bad symbols but isn't as heavy-handed
 
15537
      # as -z defs.
 
15538
      no_undefined_flag_F77='${wl}-z,text'
 
15539
      allow_undefined_flag_F77='${wl}-z,nodefs'
 
15540
      archive_cmds_need_lc_F77=no
 
15541
      hardcode_shlibpath_var_F77=no
 
15542
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
15543
      hardcode_libdir_separator_F77=':'
 
15544
      link_all_deplibs_F77=yes
 
15545
      export_dynamic_flag_spec_F77='${wl}-Bexport'
 
15546
      runpath_var='LD_RUN_PATH'
 
15547
 
 
15548
      if test "$GCC" = yes; then
 
15549
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15550
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15551
      else
 
15552
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15553
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15554
      fi
14391
15555
      ;;
14392
15556
 
14393
15557
    uts4*)
14402
15566
    esac
14403
15567
  fi
14404
15568
 
14405
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14406
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
15569
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15570
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14407
15571
test "$ld_shlibs_F77" = no && can_build_shared=no
14408
15572
 
14409
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14410
 
if test "$GCC" = yes; then
14411
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14412
 
fi
14413
 
 
14414
15573
#
14415
15574
# Do we need to explicitly link libc?
14416
15575
#
14428
15587
      # Test whether the compiler implicitly links with -lc since on some
14429
15588
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14430
15589
      # to ld, don't add -lc before -lgcc.
14431
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14432
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15590
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15591
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14433
15592
      $rm conftest*
14434
15593
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14435
15594
 
14443
15602
        libobjs=conftest.$ac_objext
14444
15603
        deplibs=
14445
15604
        wl=$lt_prog_compiler_wl_F77
 
15605
        pic_flag=$lt_prog_compiler_pic_F77
14446
15606
        compiler_flags=-v
14447
15607
        linker_flags=-v
14448
15608
        verstring=
14465
15625
        cat conftest.err 1>&5
14466
15626
      fi
14467
15627
      $rm conftest*
14468
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14469
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
15628
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15629
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14470
15630
      ;;
14471
15631
    esac
14472
15632
  fi
14473
15633
  ;;
14474
15634
esac
14475
15635
 
14476
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14477
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15636
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15637
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14478
15638
library_names_spec=
14479
15639
libname_spec='lib$name'
14480
15640
soname_spec=
14575
15735
  shlibpath_var=LIBRARY_PATH
14576
15736
  ;;
14577
15737
 
14578
 
bsdi4*)
 
15738
bsdi[45]*)
14579
15739
  version_type=linux
14580
15740
  need_version=no
14581
15741
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14603
15763
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14604
15764
      dldir=$destdir/`dirname \$dlpath`~
14605
15765
      test -d \$dldir || mkdir -p \$dldir~
14606
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
15766
      $install_prog $dir/$dlname \$dldir/$dlname~
 
15767
      chmod a+x \$dldir/$dlname'
14607
15768
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14608
15769
      dlpath=$dir/\$dldll~
14609
15770
       $rm \$dlpath'
14633
15794
      ;;
14634
15795
    pw32*)
14635
15796
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14636
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
15797
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14637
15798
      ;;
14638
15799
    esac
14639
15800
    ;;
14656
15817
  soname_spec='${libname}${release}${major}$shared_ext'
14657
15818
  shlibpath_overrides_runpath=yes
14658
15819
  shlibpath_var=DYLD_LIBRARY_PATH
14659
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
15820
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14660
15821
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14661
15822
  if test "$GCC" = yes; then
14662
15823
    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"`
14679
15840
  dynamic_linker=no
14680
15841
  ;;
14681
15842
 
14682
 
kfreebsd*-gnu)
14683
 
  version_type=linux
14684
 
  need_lib_prefix=no
14685
 
  need_version=no
14686
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14687
 
  soname_spec='${libname}${release}${shared_ext}$major'
14688
 
  shlibpath_var=LD_LIBRARY_PATH
14689
 
  shlibpath_overrides_runpath=no
14690
 
  hardcode_into_libs=yes
14691
 
  dynamic_linker='GNU ld.so'
14692
 
  ;;
14693
 
 
14694
 
freebsd*)
14695
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
15843
freebsd* | dragonfly*)
 
15844
  # DragonFly does not have aout.  When/if they implement a new
 
15845
  # versioning mechanism, adjust this.
 
15846
  if test -x /usr/bin/objformat; then
 
15847
    objformat=`/usr/bin/objformat`
 
15848
  else
 
15849
    case $host_os in
 
15850
    freebsd[123]*) objformat=aout ;;
 
15851
    *) objformat=elf ;;
 
15852
    esac
 
15853
  fi
14696
15854
  version_type=freebsd-$objformat
14697
15855
  case $version_type in
14698
15856
    freebsd-elf*)
14710
15868
  freebsd2*)
14711
15869
    shlibpath_overrides_runpath=yes
14712
15870
    ;;
14713
 
  freebsd3.01* | freebsdelf3.01*)
 
15871
  freebsd3.[01]* | freebsdelf3.[01]*)
14714
15872
    shlibpath_overrides_runpath=yes
14715
15873
    hardcode_into_libs=yes
14716
15874
    ;;
14717
 
  *) # from 3.2 on
 
15875
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
15876
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14718
15877
    shlibpath_overrides_runpath=no
14719
15878
    hardcode_into_libs=yes
14720
15879
    ;;
 
15880
  freebsd*) # from 4.6 on
 
15881
    shlibpath_overrides_runpath=yes
 
15882
    hardcode_into_libs=yes
 
15883
    ;;
14721
15884
  esac
14722
15885
  ;;
14723
15886
 
14737
15900
  version_type=sunos
14738
15901
  need_lib_prefix=no
14739
15902
  need_version=no
14740
 
  case "$host_cpu" in
 
15903
  case $host_cpu in
14741
15904
  ia64*)
14742
15905
    shrext_cmds='.so'
14743
15906
    hardcode_into_libs=yes
14777
15940
  postinstall_cmds='chmod 555 $lib'
14778
15941
  ;;
14779
15942
 
 
15943
interix3*)
 
15944
  version_type=linux
 
15945
  need_lib_prefix=no
 
15946
  need_version=no
 
15947
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
15948
  soname_spec='${libname}${release}${shared_ext}$major'
 
15949
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
15950
  shlibpath_var=LD_LIBRARY_PATH
 
15951
  shlibpath_overrides_runpath=no
 
15952
  hardcode_into_libs=yes
 
15953
  ;;
 
15954
 
14780
15955
irix5* | irix6* | nonstopux*)
14781
15956
  case $host_os in
14782
15957
    nonstopux*) version_type=nonstopux ;;
14820
15995
  ;;
14821
15996
 
14822
15997
# This must be Linux ELF.
14823
 
linux*)
 
15998
linux* | k*bsd*-gnu)
14824
15999
  version_type=linux
14825
16000
  need_lib_prefix=no
14826
16001
  need_version=no
14836
16011
 
14837
16012
  # Append ld.so.conf contents to the search path
14838
16013
  if test -f /etc/ld.so.conf; then
14839
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
16014
    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' ' '`
14840
16015
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14841
16016
  fi
14842
16017
 
14861
16036
  dynamic_linker='NetBSD ld.elf_so'
14862
16037
  ;;
14863
16038
 
14864
 
knetbsd*-gnu)
14865
 
  version_type=linux
14866
 
  need_lib_prefix=no
14867
 
  need_version=no
14868
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14869
 
  soname_spec='${libname}${release}${shared_ext}$major'
14870
 
  shlibpath_var=LD_LIBRARY_PATH
14871
 
  shlibpath_overrides_runpath=no
14872
 
  hardcode_into_libs=yes
14873
 
  dynamic_linker='GNU ld.so'
14874
 
  ;;
14875
 
 
14876
16039
netbsd*)
14877
16040
  version_type=sunos
14878
16041
  need_lib_prefix=no
14910
16073
 
14911
16074
openbsd*)
14912
16075
  version_type=sunos
 
16076
  sys_lib_dlsearch_path_spec="/usr/lib"
14913
16077
  need_lib_prefix=no
14914
 
  need_version=yes
 
16078
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
16079
  case $host_os in
 
16080
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
16081
    *)                         need_version=no  ;;
 
16082
  esac
14915
16083
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14916
16084
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14917
16085
  shlibpath_var=LD_LIBRARY_PATH
14949
16117
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14950
16118
  ;;
14951
16119
 
14952
 
sco3.2v5*)
14953
 
  version_type=osf
14954
 
  soname_spec='${libname}${release}${shared_ext}$major'
14955
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14956
 
  shlibpath_var=LD_LIBRARY_PATH
14957
 
  ;;
14958
 
 
14959
16120
solaris*)
14960
16121
  version_type=linux
14961
16122
  need_lib_prefix=no
14981
16142
  need_version=yes
14982
16143
  ;;
14983
16144
 
14984
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
16145
sysv4 | sysv4.3*)
14985
16146
  version_type=linux
14986
16147
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14987
16148
  soname_spec='${libname}${release}${shared_ext}$major'
15014
16175
  fi
15015
16176
  ;;
15016
16177
 
 
16178
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
16179
  version_type=freebsd-elf
 
16180
  need_lib_prefix=no
 
16181
  need_version=no
 
16182
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
16183
  soname_spec='${libname}${release}${shared_ext}$major'
 
16184
  shlibpath_var=LD_LIBRARY_PATH
 
16185
  hardcode_into_libs=yes
 
16186
  if test "$with_gnu_ld" = yes; then
 
16187
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
16188
    shlibpath_overrides_runpath=no
 
16189
  else
 
16190
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
16191
    shlibpath_overrides_runpath=yes
 
16192
    case $host_os in
 
16193
      sco3.2v5*)
 
16194
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
16195
        ;;
 
16196
    esac
 
16197
  fi
 
16198
  sys_lib_dlsearch_path_spec='/usr/lib'
 
16199
  ;;
 
16200
 
15017
16201
uts4*)
15018
16202
  version_type=linux
15019
16203
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15025
16209
  dynamic_linker=no
15026
16210
  ;;
15027
16211
esac
15028
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15029
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16212
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16213
echo "${ECHO_T}$dynamic_linker" >&6; }
15030
16214
test "$dynamic_linker" = no && can_build_shared=no
15031
16215
 
15032
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15033
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16216
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
16217
if test "$GCC" = yes; then
 
16218
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
16219
fi
 
16220
 
 
16221
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16222
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15034
16223
hardcode_action_F77=
15035
16224
if test -n "$hardcode_libdir_flag_spec_F77" || \
15036
 
   test -n "$runpath_var F77" || \
15037
 
   test "X$hardcode_automatic_F77"="Xyes" ; then
 
16225
   test -n "$runpath_var_F77" || \
 
16226
   test "X$hardcode_automatic_F77" = "Xyes" ; then
15038
16227
 
15039
16228
  # We can hardcode non-existant directories.
15040
16229
  if test "$hardcode_direct_F77" != no &&
15054
16243
  # directories.
15055
16244
  hardcode_action_F77=unsupported
15056
16245
fi
15057
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15058
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
16246
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
16247
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15059
16248
 
15060
16249
if test "$hardcode_action_F77" = relink; then
15061
16250
  # Fast installation is not supported
15066
16255
  enable_fast_install=needless
15067
16256
fi
15068
16257
 
15069
 
striplib=
15070
 
old_striplib=
15071
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15072
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15073
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15074
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15075
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15076
 
  echo "$as_me:$LINENO: result: yes" >&5
15077
 
echo "${ECHO_T}yes" >&6
15078
 
else
15079
 
# FIXME - insert some real tests, host_os isn't really good enough
15080
 
  case $host_os in
15081
 
   darwin*)
15082
 
       if test -n "$STRIP" ; then
15083
 
         striplib="$STRIP -x"
15084
 
         echo "$as_me:$LINENO: result: yes" >&5
15085
 
echo "${ECHO_T}yes" >&6
15086
 
       else
15087
 
  echo "$as_me:$LINENO: result: no" >&5
15088
 
echo "${ECHO_T}no" >&6
15089
 
fi
15090
 
       ;;
15091
 
   *)
15092
 
  echo "$as_me:$LINENO: result: no" >&5
15093
 
echo "${ECHO_T}no" >&6
15094
 
    ;;
15095
 
  esac
15096
 
fi
15097
 
 
15098
 
 
15099
16258
 
15100
16259
# The else clause should only fire when bootstrapping the
15101
16260
# libtool distribution, otherwise you forgot to ship ltmain.sh
15110
16269
  # Now quote all the things that may contain metacharacters while being
15111
16270
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15112
16271
  # variables and quote the copies for generation of the libtool script.
15113
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
16272
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15114
16273
    SED SHELL STRIP \
15115
16274
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15116
16275
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15211
16370
# The host system.
15212
16371
host_alias=$host_alias
15213
16372
host=$host
 
16373
host_os=$host_os
 
16374
 
 
16375
# The build system.
 
16376
build_alias=$build_alias
 
16377
build=$build
 
16378
build_os=$build_os
15214
16379
 
15215
16380
# An echo program that does not interpret backslashes.
15216
16381
echo=$lt_echo
15222
16387
# A C compiler.
15223
16388
LTCC=$lt_LTCC
15224
16389
 
 
16390
# LTCC compiler flags.
 
16391
LTCFLAGS=$lt_LTCFLAGS
 
16392
 
15225
16393
# A language-specific compiler.
15226
16394
CC=$lt_compiler_F77
15227
16395
 
15287
16455
# Does compiler simultaneously support -c and -o options?
15288
16456
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15289
16457
 
15290
 
# Must we lock files when doing compilation ?
 
16458
# Must we lock files when doing compilation?
15291
16459
need_locks=$lt_need_locks
15292
16460
 
15293
16461
# Do we need the lib prefix for modules?
15513
16681
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15514
16682
 
15515
16683
 
15516
 
 
15517
16684
# Source file extension for Java test sources.
15518
16685
ac_ext=java
15519
16686
 
15525
16692
lt_simple_compile_test_code="class foo {}\n"
15526
16693
 
15527
16694
# Code to be used in simple link tests
15528
 
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
 
16695
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
15529
16696
 
15530
16697
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15531
16698
 
15532
16699
# If no C compiler was specified, use CC.
15533
16700
LTCC=${LTCC-"$CC"}
15534
16701
 
 
16702
# If no C compiler flags were specified, use CFLAGS.
 
16703
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
16704
 
15535
16705
# Allow CC to be a program name with arguments.
15536
16706
compiler=$CC
15537
16707
 
15538
16708
 
 
16709
# save warnings/boilerplate of simple test code
 
16710
ac_outfile=conftest.$ac_objext
 
16711
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16712
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
16713
_lt_compiler_boilerplate=`cat conftest.err`
 
16714
$rm conftest*
 
16715
 
 
16716
ac_outfile=conftest.$ac_objext
 
16717
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
16718
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
16719
_lt_linker_boilerplate=`cat conftest.err`
 
16720
$rm conftest*
 
16721
 
 
16722
 
15539
16723
# Allow CC to be a program name with arguments.
15540
16724
lt_save_CC="$CC"
15541
16725
CC=${GCJ-"gcj"}
15542
16726
compiler=$CC
15543
16727
compiler_GCJ=$CC
 
16728
for cc_temp in $compiler""; do
 
16729
  case $cc_temp in
 
16730
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
16731
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
16732
    \-*) ;;
 
16733
    *) break;;
 
16734
  esac
 
16735
done
 
16736
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
16737
 
15544
16738
 
15545
16739
# GCJ did not exist at the time GCC didn't implicitly link libc in.
15546
16740
archive_cmds_need_lc_GCJ=no
15547
16741
 
 
16742
old_archive_cmds_GCJ=$old_archive_cmds
 
16743
 
15548
16744
 
15549
16745
lt_prog_compiler_no_builtin_flag_GCJ=
15550
16746
 
15552
16748
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15553
16749
 
15554
16750
 
15555
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15556
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
16751
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
16752
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15557
16753
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15558
16754
  echo $ECHO_N "(cached) $ECHO_C" >&6
15559
16755
else
15567
16763
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15568
16764
   # The option is referenced via a variable to avoid confusing sed.
15569
16765
   lt_compile=`echo "$ac_compile" | $SED \
15570
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
16766
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15571
16767
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15572
16768
   -e 's:$: $lt_compiler_flag:'`
15573
 
   (eval echo "\"\$as_me:15573: $lt_compile\"" >&5)
 
16769
   (eval echo "\"\$as_me:16769: $lt_compile\"" >&5)
15574
16770
   (eval "$lt_compile" 2>conftest.err)
15575
16771
   ac_status=$?
15576
16772
   cat conftest.err >&5
15577
 
   echo "$as_me:15577: \$? = $ac_status" >&5
 
16773
   echo "$as_me:16773: \$? = $ac_status" >&5
15578
16774
   if (exit $ac_status) && test -s "$ac_outfile"; then
15579
16775
     # The compiler can only warn and ignore the option if not recognized
15580
 
     # So say no if there are warnings
15581
 
     if test ! -s conftest.err; then
 
16776
     # So say no if there are warnings other than the usual output.
 
16777
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
16778
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
16779
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15582
16780
       lt_cv_prog_compiler_rtti_exceptions=yes
15583
16781
     fi
15584
16782
   fi
15585
16783
   $rm conftest*
15586
16784
 
15587
16785
fi
15588
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15589
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
16786
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
16787
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15590
16788
 
15591
16789
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15592
16790
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15600
16798
lt_prog_compiler_pic_GCJ=
15601
16799
lt_prog_compiler_static_GCJ=
15602
16800
 
15603
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15604
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16801
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16802
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15605
16803
 
15606
16804
  if test "$GCC" = yes; then
15607
16805
    lt_prog_compiler_wl_GCJ='-Wl,'
15639
16837
      lt_prog_compiler_pic_GCJ='-fno-common'
15640
16838
      ;;
15641
16839
 
 
16840
    interix3*)
 
16841
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
16842
      # Instead, we relocate shared libraries at runtime.
 
16843
      ;;
 
16844
 
15642
16845
    msdosdjgpp*)
15643
16846
      # Just because we use GCC doesn't mean we suddenly get shared libraries
15644
16847
      # on systems that don't support them.
15655
16858
    hpux*)
15656
16859
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15657
16860
      # not for PA HP-UX.
15658
 
      case "$host_cpu" in
 
16861
      case $host_cpu in
15659
16862
      hppa*64*|ia64*)
15660
16863
        # +Z the default
15661
16864
        ;;
15681
16884
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15682
16885
      fi
15683
16886
      ;;
 
16887
      darwin*)
 
16888
        # PIC is the default on this platform
 
16889
        # Common symbols not allowed in MH_DYLIB files
 
16890
       case $cc_basename in
 
16891
         xlc*)
 
16892
         lt_prog_compiler_pic_GCJ='-qnocommon'
 
16893
         lt_prog_compiler_wl_GCJ='-Wl,'
 
16894
         ;;
 
16895
       esac
 
16896
       ;;
15684
16897
 
15685
16898
    mingw* | pw32* | os2*)
15686
16899
      # This hack is so that the source file can tell whether it is being
15692
16905
      lt_prog_compiler_wl_GCJ='-Wl,'
15693
16906
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15694
16907
      # not for PA HP-UX.
15695
 
      case "$host_cpu" in
 
16908
      case $host_cpu in
15696
16909
      hppa*64*|ia64*)
15697
16910
        # +Z the default
15698
16911
        ;;
15715
16928
      lt_prog_compiler_static_GCJ='-Bstatic'
15716
16929
      ;;
15717
16930
 
15718
 
    linux*)
15719
 
      case $CC in
 
16931
    linux* | k*bsd*-gnu)
 
16932
      case $cc_basename in
15720
16933
      icc* | ecc*)
15721
16934
        lt_prog_compiler_wl_GCJ='-Wl,'
15722
16935
        lt_prog_compiler_pic_GCJ='-KPIC'
15723
16936
        lt_prog_compiler_static_GCJ='-static'
15724
16937
        ;;
 
16938
      pgcc* | pgf77* | pgf90* | pgf95*)
 
16939
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
16940
        # which looks to be a dead project)
 
16941
        lt_prog_compiler_wl_GCJ='-Wl,'
 
16942
        lt_prog_compiler_pic_GCJ='-fpic'
 
16943
        lt_prog_compiler_static_GCJ='-Bstatic'
 
16944
        ;;
15725
16945
      ccc*)
15726
16946
        lt_prog_compiler_wl_GCJ='-Wl,'
15727
16947
        # All Alpha code is PIC.
15736
16956
      lt_prog_compiler_static_GCJ='-non_shared'
15737
16957
      ;;
15738
16958
 
15739
 
    sco3.2v5*)
15740
 
      lt_prog_compiler_pic_GCJ='-Kpic'
15741
 
      lt_prog_compiler_static_GCJ='-dn'
15742
 
      ;;
15743
 
 
15744
16959
    solaris*)
15745
 
      lt_prog_compiler_wl_GCJ='-Wl,'
15746
16960
      lt_prog_compiler_pic_GCJ='-KPIC'
15747
16961
      lt_prog_compiler_static_GCJ='-Bstatic'
 
16962
      case $cc_basename in
 
16963
      f77* | f90* | f95*)
 
16964
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
 
16965
      *)
 
16966
        lt_prog_compiler_wl_GCJ='-Wl,';;
 
16967
      esac
15748
16968
      ;;
15749
16969
 
15750
16970
    sunos4*)
15753
16973
      lt_prog_compiler_static_GCJ='-Bstatic'
15754
16974
      ;;
15755
16975
 
15756
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
16976
    sysv4 | sysv4.2uw2* | sysv4.3*)
15757
16977
      lt_prog_compiler_wl_GCJ='-Wl,'
15758
16978
      lt_prog_compiler_pic_GCJ='-KPIC'
15759
16979
      lt_prog_compiler_static_GCJ='-Bstatic'
15766
16986
      fi
15767
16987
      ;;
15768
16988
 
 
16989
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
16990
      lt_prog_compiler_wl_GCJ='-Wl,'
 
16991
      lt_prog_compiler_pic_GCJ='-KPIC'
 
16992
      lt_prog_compiler_static_GCJ='-Bstatic'
 
16993
      ;;
 
16994
 
 
16995
    unicos*)
 
16996
      lt_prog_compiler_wl_GCJ='-Wl,'
 
16997
      lt_prog_compiler_can_build_shared_GCJ=no
 
16998
      ;;
 
16999
 
15769
17000
    uts4*)
15770
17001
      lt_prog_compiler_pic_GCJ='-pic'
15771
17002
      lt_prog_compiler_static_GCJ='-Bstatic'
15777
17008
    esac
15778
17009
  fi
15779
17010
 
15780
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15781
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
17011
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
17012
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
15782
17013
 
15783
17014
#
15784
17015
# Check to make sure the PIC flag actually works.
15785
17016
#
15786
17017
if test -n "$lt_prog_compiler_pic_GCJ"; then
15787
17018
 
15788
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15789
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
17019
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
17020
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
15790
17021
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15791
17022
  echo $ECHO_N "(cached) $ECHO_C" >&6
15792
17023
else
15800
17031
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15801
17032
   # The option is referenced via a variable to avoid confusing sed.
15802
17033
   lt_compile=`echo "$ac_compile" | $SED \
15803
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17034
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15804
17035
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15805
17036
   -e 's:$: $lt_compiler_flag:'`
15806
 
   (eval echo "\"\$as_me:15806: $lt_compile\"" >&5)
 
17037
   (eval echo "\"\$as_me:17037: $lt_compile\"" >&5)
15807
17038
   (eval "$lt_compile" 2>conftest.err)
15808
17039
   ac_status=$?
15809
17040
   cat conftest.err >&5
15810
 
   echo "$as_me:15810: \$? = $ac_status" >&5
 
17041
   echo "$as_me:17041: \$? = $ac_status" >&5
15811
17042
   if (exit $ac_status) && test -s "$ac_outfile"; then
15812
17043
     # The compiler can only warn and ignore the option if not recognized
15813
 
     # So say no if there are warnings
15814
 
     if test ! -s conftest.err; then
 
17044
     # So say no if there are warnings other than the usual output.
 
17045
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
17046
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17047
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15815
17048
       lt_prog_compiler_pic_works_GCJ=yes
15816
17049
     fi
15817
17050
   fi
15818
17051
   $rm conftest*
15819
17052
 
15820
17053
fi
15821
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15822
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
17054
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
17055
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
15823
17056
 
15824
17057
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15825
17058
    case $lt_prog_compiler_pic_GCJ in
15832
17065
fi
15833
17066
 
15834
17067
fi
15835
 
case "$host_os" in
 
17068
case $host_os in
15836
17069
  # For platforms which do not support PIC, -DPIC is meaningless:
15837
17070
  *djgpp*)
15838
17071
    lt_prog_compiler_pic_GCJ=
15842
17075
    ;;
15843
17076
esac
15844
17077
 
15845
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15846
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
17078
#
 
17079
# Check to make sure the static flag actually works.
 
17080
#
 
17081
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
 
17082
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
17083
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
17084
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
17085
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17086
else
 
17087
  lt_prog_compiler_static_works_GCJ=no
 
17088
   save_LDFLAGS="$LDFLAGS"
 
17089
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
17090
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
17091
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
17092
     # The linker can only warn and ignore the option if not recognized
 
17093
     # So say no if there are warnings
 
17094
     if test -s conftest.err; then
 
17095
       # Append any errors to the config.log.
 
17096
       cat conftest.err 1>&5
 
17097
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
17098
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
17099
       if diff conftest.exp conftest.er2 >/dev/null; then
 
17100
         lt_prog_compiler_static_works_GCJ=yes
 
17101
       fi
 
17102
     else
 
17103
       lt_prog_compiler_static_works_GCJ=yes
 
17104
     fi
 
17105
   fi
 
17106
   $rm conftest*
 
17107
   LDFLAGS="$save_LDFLAGS"
 
17108
 
 
17109
fi
 
17110
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
17111
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
17112
 
 
17113
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
17114
    :
 
17115
else
 
17116
    lt_prog_compiler_static_GCJ=
 
17117
fi
 
17118
 
 
17119
 
 
17120
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17121
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15847
17122
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15848
17123
  echo $ECHO_N "(cached) $ECHO_C" >&6
15849
17124
else
15860
17135
   # Note that $ac_compile itself does not contain backslashes and begins
15861
17136
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15862
17137
   lt_compile=`echo "$ac_compile" | $SED \
15863
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
17138
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15864
17139
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15865
17140
   -e 's:$: $lt_compiler_flag:'`
15866
 
   (eval echo "\"\$as_me:15866: $lt_compile\"" >&5)
 
17141
   (eval echo "\"\$as_me:17141: $lt_compile\"" >&5)
15867
17142
   (eval "$lt_compile" 2>out/conftest.err)
15868
17143
   ac_status=$?
15869
17144
   cat out/conftest.err >&5
15870
 
   echo "$as_me:15870: \$? = $ac_status" >&5
 
17145
   echo "$as_me:17145: \$? = $ac_status" >&5
15871
17146
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15872
17147
   then
15873
17148
     # The compiler can only warn and ignore the option if not recognized
15874
17149
     # So say no if there are warnings
15875
 
     if test ! -s out/conftest.err; then
 
17150
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
17151
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
17152
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15876
17153
       lt_cv_prog_compiler_c_o_GCJ=yes
15877
17154
     fi
15878
17155
   fi
15879
 
   chmod u+w .
 
17156
   chmod u+w . 2>&5
15880
17157
   $rm conftest*
15881
17158
   # SGI C++ compiler will create directory out/ii_files/ for
15882
17159
   # template instantiation
15887
17164
   $rm conftest*
15888
17165
 
15889
17166
fi
15890
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15891
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
17167
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
17168
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
15892
17169
 
15893
17170
 
15894
17171
hard_links="nottested"
15895
17172
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15896
17173
  # do not overwrite the value of need_locks provided by the user
15897
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15898
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17174
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17175
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15899
17176
  hard_links=yes
15900
17177
  $rm conftest*
15901
17178
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15902
17179
  touch conftest.a
15903
17180
  ln conftest.a conftest.b 2>&5 || hard_links=no
15904
17181
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15905
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
15906
 
echo "${ECHO_T}$hard_links" >&6
 
17182
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
17183
echo "${ECHO_T}$hard_links" >&6; }
15907
17184
  if test "$hard_links" = no; then
15908
17185
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15909
17186
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15913
17190
  need_locks=no
15914
17191
fi
15915
17192
 
15916
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15917
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17193
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17194
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15918
17195
 
15919
17196
  runpath_var=
15920
17197
  allow_undefined_flag_GCJ=
15952
17229
  # rely on this symbol name, it's probably fine to never include it in
15953
17230
  # preloaded symbol tables.
15954
17231
  extract_expsyms_cmds=
 
17232
  # Just being paranoid about ensuring that cc_basename is set.
 
17233
  for cc_temp in $compiler""; do
 
17234
  case $cc_temp in
 
17235
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
17236
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
17237
    \-*) ;;
 
17238
    *) break;;
 
17239
  esac
 
17240
done
 
17241
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15955
17242
 
15956
17243
  case $host_os in
15957
17244
  cygwin* | mingw* | pw32*)
15962
17249
      with_gnu_ld=no
15963
17250
    fi
15964
17251
    ;;
 
17252
  interix*)
 
17253
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
17254
    with_gnu_ld=yes
 
17255
    ;;
15965
17256
  openbsd*)
15966
17257
    with_gnu_ld=no
15967
17258
    ;;
15972
17263
    # If archive_cmds runs LD, not CC, wlarc should be empty
15973
17264
    wlarc='${wl}'
15974
17265
 
 
17266
    # Set some defaults for GNU ld with shared library support. These
 
17267
    # are reset later if shared libraries are not supported. Putting them
 
17268
    # here allows them to be overridden if necessary.
 
17269
    runpath_var=LD_RUN_PATH
 
17270
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
 
17271
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
 
17272
    # ancient GNU ld didn't support --whole-archive et. al.
 
17273
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
17274
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
17275
      else
 
17276
        whole_archive_flag_spec_GCJ=
 
17277
    fi
 
17278
    supports_anon_versioning=no
 
17279
    case `$LD -v 2>/dev/null` in
 
17280
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
17281
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
17282
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
17283
      *\ 2.11.*) ;; # other 2.11 versions
 
17284
      *) supports_anon_versioning=yes ;;
 
17285
    esac
 
17286
 
15975
17287
    # See if GNU ld supports shared libraries.
15976
17288
    case $host_os in
15977
17289
    aix3* | aix4* | aix5*)
16022
17334
      allow_undefined_flag_GCJ=unsupported
16023
17335
      always_export_symbols_GCJ=no
16024
17336
      enable_shared_with_static_runtimes_GCJ=yes
16025
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17337
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16026
17338
 
16027
17339
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16028
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
 
17340
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16029
17341
        # If the export-symbols file already is a .def file (1st line
16030
17342
        # is EXPORTS), use it as is; otherwise, prepend...
16031
17343
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16034
17346
          echo EXPORTS > $output_objdir/$soname.def;
16035
17347
          cat $export_symbols >> $output_objdir/$soname.def;
16036
17348
        fi~
16037
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
16038
 
      else
16039
 
        ld_shlibs=no
16040
 
      fi
16041
 
      ;;
16042
 
 
16043
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
17349
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
17350
      else
 
17351
        ld_shlibs_GCJ=no
 
17352
      fi
 
17353
      ;;
 
17354
 
 
17355
    interix3*)
 
17356
      hardcode_direct_GCJ=no
 
17357
      hardcode_shlibpath_var_GCJ=no
 
17358
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17359
      export_dynamic_flag_spec_GCJ='${wl}-E'
 
17360
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
17361
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
17362
      # default) and relocated if they conflict, which is a slow very memory
 
17363
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
17364
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
17365
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
17366
      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'
 
17367
      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'
 
17368
      ;;
 
17369
 
 
17370
    linux* | k*bsd*-gnu)
 
17371
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
17372
        tmp_addflag=
 
17373
        case $cc_basename,$host_cpu in
 
17374
        pgcc*)                          # Portland Group C compiler
 
17375
          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'
 
17376
          tmp_addflag=' $pic_flag'
 
17377
          ;;
 
17378
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
17379
          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'
 
17380
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
17381
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
17382
          tmp_addflag=' -i_dynamic' ;;
 
17383
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
17384
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
17385
        ifc* | ifort*)                  # Intel Fortran compiler
 
17386
          tmp_addflag=' -nofor_main' ;;
 
17387
        esac
 
17388
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17389
 
 
17390
        if test $supports_anon_versioning = yes; then
 
17391
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
 
17392
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
17393
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
17394
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17395
        fi
 
17396
        link_all_deplibs_GCJ=no
 
17397
      else
 
17398
        ld_shlibs_GCJ=no
 
17399
      fi
 
17400
      ;;
 
17401
 
 
17402
    netbsd* | netbsdelf*-gnu)
16044
17403
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16045
17404
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16046
17405
        wlarc=
16050
17409
      fi
16051
17410
      ;;
16052
17411
 
16053
 
    solaris* | sysv5*)
 
17412
    solaris*)
16054
17413
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16055
17414
        ld_shlibs_GCJ=no
16056
17415
        cat <<EOF 1>&2
16071
17430
      fi
16072
17431
      ;;
16073
17432
 
 
17433
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
17434
      case `$LD -v 2>&1` in
 
17435
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
17436
        ld_shlibs_GCJ=no
 
17437
        cat <<_LT_EOF 1>&2
 
17438
 
 
17439
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
17440
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
17441
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
17442
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
17443
*** your PATH or compiler configuration so that the native linker is
 
17444
*** used, and then restart.
 
17445
 
 
17446
_LT_EOF
 
17447
        ;;
 
17448
        *)
 
17449
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
17450
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 
17451
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 
17452
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
17453
          else
 
17454
            ld_shlibs_GCJ=no
 
17455
          fi
 
17456
        ;;
 
17457
      esac
 
17458
      ;;
 
17459
 
16074
17460
    sunos4*)
16075
17461
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16076
17462
      wlarc=
16078
17464
      hardcode_shlibpath_var_GCJ=no
16079
17465
      ;;
16080
17466
 
16081
 
  linux*)
16082
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16083
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16084
 
        archive_cmds_GCJ="$tmp_archive_cmds"
16085
 
      supports_anon_versioning=no
16086
 
      case `$LD -v 2>/dev/null` in
16087
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16088
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16089
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16090
 
        *\ 2.11.*) ;; # other 2.11 versions
16091
 
        *) supports_anon_versioning=yes ;;
16092
 
      esac
16093
 
      if test $supports_anon_versioning = yes; then
16094
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16095
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16096
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
16097
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16098
 
      else
16099
 
        archive_expsym_cmds_GCJ="$tmp_archive_cmds"
16100
 
      fi
16101
 
      link_all_deplibs_GCJ=no
16102
 
    else
16103
 
      ld_shlibs_GCJ=no
16104
 
    fi
16105
 
    ;;
16106
 
 
16107
17467
    *)
16108
17468
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16109
17469
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16114
17474
      ;;
16115
17475
    esac
16116
17476
 
16117
 
    if test "$ld_shlibs_GCJ" = yes; then
16118
 
      runpath_var=LD_RUN_PATH
16119
 
      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16120
 
      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16121
 
      # ancient GNU ld didn't support --whole-archive et. al.
16122
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16123
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16124
 
      else
16125
 
        whole_archive_flag_spec_GCJ=
16126
 
      fi
 
17477
    if test "$ld_shlibs_GCJ" = no; then
 
17478
      runpath_var=
 
17479
      hardcode_libdir_flag_spec_GCJ=
 
17480
      export_dynamic_flag_spec_GCJ=
 
17481
      whole_archive_flag_spec_GCJ=
16127
17482
    fi
16128
17483
  else
16129
17484
    # PORTME fill in a description of your system's linker (not GNU ld)
16135
17490
      # Note: this linker hardcodes the directories in LIBPATH if there
16136
17491
      # are no directories specified by -L.
16137
17492
      hardcode_minus_L_GCJ=yes
16138
 
      if test "$GCC" = yes && test -z "$link_static_flag"; then
 
17493
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16139
17494
        # Neither direct hardcoding nor static linking is supported with a
16140
17495
        # broken collect2.
16141
17496
        hardcode_direct_GCJ=unsupported
16169
17524
            break
16170
17525
          fi
16171
17526
          done
 
17527
          ;;
16172
17528
        esac
16173
17529
 
16174
17530
        exp_sym_flag='-bexport'
16187
17543
      link_all_deplibs_GCJ=yes
16188
17544
 
16189
17545
      if test "$GCC" = yes; then
16190
 
        case $host_os in aix4.012|aix4.012.*)
 
17546
        case $host_os in aix4.[012]|aix4.[012].*)
16191
17547
        # We only want to do this on AIX 4.2 and lower, the check
16192
17548
        # below for broken collect2 doesn't work under 4.3+
16193
17549
          collect2name=`${CC} -print-prog-name=collect2`
16206
17562
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
16207
17563
          hardcode_libdir_separator_GCJ=
16208
17564
          fi
 
17565
          ;;
16209
17566
        esac
16210
17567
        shared_flag='-shared'
 
17568
        if test "$aix_use_runtimelinking" = yes; then
 
17569
          shared_flag="$shared_flag "'${wl}-G'
 
17570
        fi
16211
17571
      else
16212
17572
        # not using gcc
16213
17573
        if test "$host_cpu" = ia64; then
16215
17575
        # chokes on -Wl,-G. The following line is correct:
16216
17576
          shared_flag='-G'
16217
17577
        else
16218
 
        if test "$aix_use_runtimelinking" = yes; then
 
17578
          if test "$aix_use_runtimelinking" = yes; then
16219
17579
            shared_flag='${wl}-G'
16220
17580
          else
16221
17581
            shared_flag='${wl}-bM:SRE'
16222
 
        fi
 
17582
          fi
16223
17583
        fi
16224
17584
      fi
16225
17585
 
16247
17607
}
16248
17608
_ACEOF
16249
17609
rm -f conftest.$ac_objext conftest$ac_exeext
16250
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16251
 
  (eval $ac_link) 2>conftest.er1
 
17610
if { (ac_try="$ac_link"
 
17611
case "(($ac_try" in
 
17612
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17613
  *) ac_try_echo=$ac_try;;
 
17614
esac
 
17615
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17616
  (eval "$ac_link") 2>conftest.er1
16252
17617
  ac_status=$?
16253
17618
  grep -v '^ *+' conftest.er1 >conftest.err
16254
17619
  rm -f conftest.er1
16255
17620
  cat conftest.err >&5
16256
17621
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257
17622
  (exit $ac_status); } &&
16258
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16259
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16260
 
  (eval $ac_try) 2>&5
 
17623
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17624
  { (case "(($ac_try" in
 
17625
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17626
  *) ac_try_echo=$ac_try;;
 
17627
esac
 
17628
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17629
  (eval "$ac_try") 2>&5
16261
17630
  ac_status=$?
16262
17631
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263
17632
  (exit $ac_status); }; } &&
16264
17633
         { ac_try='test -s conftest$ac_exeext'
16265
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16266
 
  (eval $ac_try) 2>&5
 
17634
  { (case "(($ac_try" in
 
17635
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17636
  *) ac_try_echo=$ac_try;;
 
17637
esac
 
17638
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17639
  (eval "$ac_try") 2>&5
16267
17640
  ac_status=$?
16268
17641
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269
17642
  (exit $ac_status); }; }; then
16277
17650
  echo "$as_me: failed program was:" >&5
16278
17651
sed 's/^/| /' conftest.$ac_ext >&5
16279
17652
 
 
17653
 
16280
17654
fi
16281
 
rm -f conftest.err conftest.$ac_objext \
 
17655
 
 
17656
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16282
17657
      conftest$ac_exeext conftest.$ac_ext
16283
17658
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16284
17659
 
16285
17660
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16286
 
        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"
 
17661
        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"
16287
17662
       else
16288
17663
        if test "$host_cpu" = ia64; then
16289
17664
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
16290
17665
          allow_undefined_flag_GCJ="-z nodefs"
16291
 
          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"
 
17666
          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"
16292
17667
        else
16293
17668
         # Determine the default libpath from the value encoded in an empty executable.
16294
17669
         cat >conftest.$ac_ext <<_ACEOF
16307
17682
}
16308
17683
_ACEOF
16309
17684
rm -f conftest.$ac_objext conftest$ac_exeext
16310
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16311
 
  (eval $ac_link) 2>conftest.er1
 
17685
if { (ac_try="$ac_link"
 
17686
case "(($ac_try" in
 
17687
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17688
  *) ac_try_echo=$ac_try;;
 
17689
esac
 
17690
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17691
  (eval "$ac_link") 2>conftest.er1
16312
17692
  ac_status=$?
16313
17693
  grep -v '^ *+' conftest.er1 >conftest.err
16314
17694
  rm -f conftest.er1
16315
17695
  cat conftest.err >&5
16316
17696
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317
17697
  (exit $ac_status); } &&
16318
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16319
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16320
 
  (eval $ac_try) 2>&5
 
17698
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17699
  { (case "(($ac_try" in
 
17700
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17701
  *) ac_try_echo=$ac_try;;
 
17702
esac
 
17703
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17704
  (eval "$ac_try") 2>&5
16321
17705
  ac_status=$?
16322
17706
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323
17707
  (exit $ac_status); }; } &&
16324
17708
         { ac_try='test -s conftest$ac_exeext'
16325
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16326
 
  (eval $ac_try) 2>&5
 
17709
  { (case "(($ac_try" in
 
17710
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17711
  *) ac_try_echo=$ac_try;;
 
17712
esac
 
17713
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17714
  (eval "$ac_try") 2>&5
16327
17715
  ac_status=$?
16328
17716
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329
17717
  (exit $ac_status); }; }; then
16337
17725
  echo "$as_me: failed program was:" >&5
16338
17726
sed 's/^/| /' conftest.$ac_ext >&5
16339
17727
 
 
17728
 
16340
17729
fi
16341
 
rm -f conftest.err conftest.$ac_objext \
 
17730
 
 
17731
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16342
17732
      conftest$ac_exeext conftest.$ac_ext
16343
17733
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16344
17734
 
16347
17737
          # -berok will link without error, but may produce a broken library.
16348
17738
          no_undefined_flag_GCJ=' ${wl}-bernotok'
16349
17739
          allow_undefined_flag_GCJ=' ${wl}-berok'
16350
 
          # -bexpall does not export symbols beginning with underscore (_)
16351
 
          always_export_symbols_GCJ=yes
16352
17740
          # Exported symbols can be pulled into shared objects from archives
16353
 
          whole_archive_flag_spec_GCJ=' '
 
17741
          whole_archive_flag_spec_GCJ='$convenience'
16354
17742
          archive_cmds_need_lc_GCJ=yes
16355
 
          # This is similar to how AIX traditionally builds it's shared libraries.
16356
 
          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'
 
17743
          # This is similar to how AIX traditionally builds its shared libraries.
 
17744
          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'
16357
17745
        fi
16358
17746
      fi
16359
17747
      ;;
16366
17754
      ld_shlibs_GCJ=no
16367
17755
      ;;
16368
17756
 
16369
 
    bsdi4*)
 
17757
    bsdi[45]*)
16370
17758
      export_dynamic_flag_spec_GCJ=-rdynamic
16371
17759
      ;;
16372
17760
 
16387
17775
      old_archive_From_new_cmds_GCJ='true'
16388
17776
      # FIXME: Should let the user specify the lib program.
16389
17777
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
16390
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
17778
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16391
17779
      enable_shared_with_static_runtimes_GCJ=yes
16392
17780
      ;;
16393
17781
 
16394
17782
    darwin* | rhapsody*)
16395
 
    if test "$GXX" = yes ; then
 
17783
      case $host_os in
 
17784
        rhapsody* | darwin1.[012])
 
17785
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
 
17786
         ;;
 
17787
       *) # Darwin 1.3 on
 
17788
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
17789
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
17790
         else
 
17791
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
17792
             10.[012])
 
17793
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
17794
               ;;
 
17795
             10.*)
 
17796
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
 
17797
               ;;
 
17798
           esac
 
17799
         fi
 
17800
         ;;
 
17801
      esac
16396
17802
      archive_cmds_need_lc_GCJ=no
16397
 
      case "$host_os" in
16398
 
      rhapsody* | darwin1.[012])
16399
 
        allow_undefined_flag_GCJ='-undefined suppress'
16400
 
        ;;
16401
 
      *) # Darwin 1.3 on
16402
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16403
 
        allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16404
 
      else
16405
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
16406
 
          10.[012])
16407
 
            allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16408
 
            ;;
16409
 
          10.*)
16410
 
            allow_undefined_flag_GCJ='-undefined dynamic_lookup'
16411
 
            ;;
16412
 
        esac
16413
 
      fi
16414
 
        ;;
16415
 
      esac
16416
 
        lt_int_apple_cc_single_mod=no
16417
 
        output_verbose_link_cmd='echo'
16418
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
16419
 
          lt_int_apple_cc_single_mod=yes
16420
 
        fi
16421
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16422
 
          archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16423
 
        else
16424
 
        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'
16425
 
      fi
16426
 
      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16427
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16428
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16429
 
          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}'
16430
 
        else
16431
 
          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}'
16432
 
        fi
16433
 
          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}'
16434
17803
      hardcode_direct_GCJ=no
16435
17804
      hardcode_automatic_GCJ=yes
16436
17805
      hardcode_shlibpath_var_GCJ=unsupported
16437
 
      whole_archive_flag_spec_GCJ='-all_load $convenience'
 
17806
      whole_archive_flag_spec_GCJ=''
16438
17807
      link_all_deplibs_GCJ=yes
 
17808
    if test "$GCC" = yes ; then
 
17809
        output_verbose_link_cmd='echo'
 
17810
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
17811
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
17812
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
17813
      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}'
 
17814
      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}'
16439
17815
    else
16440
 
      ld_shlibs_GCJ=no
 
17816
      case $cc_basename in
 
17817
        xlc*)
 
17818
         output_verbose_link_cmd='echo'
 
17819
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
17820
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
17821
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
17822
         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}'
 
17823
          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}'
 
17824
          ;;
 
17825
       *)
 
17826
         ld_shlibs_GCJ=no
 
17827
          ;;
 
17828
      esac
16441
17829
    fi
16442
17830
      ;;
16443
17831
 
16471
17859
      ;;
16472
17860
 
16473
17861
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16474
 
    freebsd* | kfreebsd*-gnu)
 
17862
    freebsd* | dragonfly*)
16475
17863
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16476
17864
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16477
17865
      hardcode_direct_GCJ=yes
16494
17882
      export_dynamic_flag_spec_GCJ='${wl}-E'
16495
17883
      ;;
16496
17884
 
16497
 
    hpux10* | hpux11*)
16498
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16499
 
        case "$host_cpu" in
16500
 
        hppa*64*|ia64*)
 
17885
    hpux10*)
 
17886
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
17887
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
17888
      else
 
17889
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
17890
      fi
 
17891
      if test "$with_gnu_ld" = no; then
 
17892
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17893
        hardcode_libdir_separator_GCJ=:
 
17894
 
 
17895
        hardcode_direct_GCJ=yes
 
17896
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
17897
 
 
17898
        # hardcode_minus_L: Not really in the search PATH,
 
17899
        # but as the default location of the library.
 
17900
        hardcode_minus_L_GCJ=yes
 
17901
      fi
 
17902
      ;;
 
17903
 
 
17904
    hpux11*)
 
17905
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
17906
        case $host_cpu in
 
17907
        hppa*64*)
16501
17908
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16502
17909
          ;;
 
17910
        ia64*)
 
17911
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
17912
          ;;
16503
17913
        *)
16504
17914
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16505
17915
          ;;
16506
17916
        esac
16507
17917
      else
16508
 
        case "$host_cpu" in
16509
 
        hppa*64*|ia64*)
16510
 
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
 
17918
        case $host_cpu in
 
17919
        hppa*64*)
 
17920
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
17921
          ;;
 
17922
        ia64*)
 
17923
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16511
17924
          ;;
16512
17925
        *)
16513
 
          archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
17926
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16514
17927
          ;;
16515
17928
        esac
16516
17929
      fi
16517
17930
      if test "$with_gnu_ld" = no; then
16518
 
        case "$host_cpu" in
16519
 
        hppa*64*)
16520
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17931
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 
17932
        hardcode_libdir_separator_GCJ=:
 
17933
 
 
17934
        case $host_cpu in
 
17935
        hppa*64*|ia64*)
16521
17936
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
16522
 
          hardcode_libdir_separator_GCJ=:
16523
 
          hardcode_direct_GCJ=no
16524
 
          hardcode_shlibpath_var_GCJ=no
16525
 
          ;;
16526
 
        ia64*)
16527
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
16528
 
          hardcode_direct_GCJ=no
16529
 
          hardcode_shlibpath_var_GCJ=no
16530
 
 
16531
 
          # hardcode_minus_L: Not really in the search PATH,
16532
 
          # but as the default location of the library.
16533
 
          hardcode_minus_L_GCJ=yes
 
17937
          hardcode_direct_GCJ=no
 
17938
          hardcode_shlibpath_var_GCJ=no
16534
17939
          ;;
16535
17940
        *)
16536
 
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16537
 
          hardcode_libdir_separator_GCJ=:
16538
17941
          hardcode_direct_GCJ=yes
16539
17942
          export_dynamic_flag_spec_GCJ='${wl}-E'
16540
17943
 
16558
17961
      link_all_deplibs_GCJ=yes
16559
17962
      ;;
16560
17963
 
16561
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
17964
    netbsd* | netbsdelf*-gnu)
16562
17965
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16563
17966
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16564
17967
      else
16582
17985
      hardcode_shlibpath_var_GCJ=no
16583
17986
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16584
17987
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17988
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16585
17989
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16586
17990
        export_dynamic_flag_spec_GCJ='${wl}-E'
16587
17991
      else
16627
18031
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
16628
18032
        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'
16629
18033
        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~
16630
 
        $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'
 
18034
        $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'
16631
18035
 
16632
18036
        # Both c and cxx compiler support -rpath directly
16633
18037
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16635
18039
      hardcode_libdir_separator_GCJ=:
16636
18040
      ;;
16637
18041
 
16638
 
    sco3.2v5*)
16639
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16640
 
      hardcode_shlibpath_var_GCJ=no
16641
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16642
 
      runpath_var=LD_RUN_PATH
16643
 
      hardcode_runpath_var=yes
16644
 
      ;;
16645
 
 
16646
18042
    solaris*)
16647
18043
      no_undefined_flag_GCJ=' -z text'
16648
18044
      if test "$GCC" = yes; then
 
18045
        wlarc='${wl}'
16649
18046
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16650
18047
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16651
18048
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16652
18049
      else
 
18050
        wlarc=''
16653
18051
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16654
18052
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16655
18053
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16658
18056
      hardcode_shlibpath_var_GCJ=no
16659
18057
      case $host_os in
16660
18058
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16661
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16662
 
        whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 
18059
      *)
 
18060
        # The compiler driver will combine linker options so we
 
18061
        # cannot just pass the convience library names through
 
18062
        # without $wl, iff we do not link with $LD.
 
18063
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
18064
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
18065
        case $wlarc in
 
18066
        '')
 
18067
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 
18068
        *)
 
18069
          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' ;;
 
18070
        esac ;;
16663
18071
      esac
16664
18072
      link_all_deplibs_GCJ=yes
16665
18073
      ;;
16716
18124
      fi
16717
18125
      ;;
16718
18126
 
16719
 
    sysv4.2uw2*)
16720
 
      archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16721
 
      hardcode_direct_GCJ=yes
16722
 
      hardcode_minus_L_GCJ=no
16723
 
      hardcode_shlibpath_var_GCJ=no
16724
 
      hardcode_runpath_var=yes
16725
 
      runpath_var=LD_RUN_PATH
16726
 
      ;;
16727
 
 
16728
 
   sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
16729
 
      no_undefined_flag_GCJ='${wl}-z ${wl}text'
16730
 
      if test "$GCC" = yes; then
16731
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16732
 
      else
16733
 
        archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16734
 
      fi
16735
 
      runpath_var='LD_RUN_PATH'
16736
 
      hardcode_shlibpath_var_GCJ=no
16737
 
      ;;
16738
 
 
16739
 
    sysv5*)
16740
 
      no_undefined_flag_GCJ=' -z text'
16741
 
      # $CC -shared without GNU ld will not create a library from C++
16742
 
      # object files and a static libstdc++, better avoid it by now
16743
 
      archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16744
 
      archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16745
 
                $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16746
 
      hardcode_libdir_flag_spec_GCJ=
16747
 
      hardcode_shlibpath_var_GCJ=no
16748
 
      runpath_var='LD_RUN_PATH'
 
18127
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
18128
      no_undefined_flag_GCJ='${wl}-z,text'
 
18129
      archive_cmds_need_lc_GCJ=no
 
18130
      hardcode_shlibpath_var_GCJ=no
 
18131
      runpath_var='LD_RUN_PATH'
 
18132
 
 
18133
      if test "$GCC" = yes; then
 
18134
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18135
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18136
      else
 
18137
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18138
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18139
      fi
 
18140
      ;;
 
18141
 
 
18142
    sysv5* | sco3.2v5* | sco5v6*)
 
18143
      # Note: We can NOT use -z defs as we might desire, because we do not
 
18144
      # link with -lc, and that would cause any symbols used from libc to
 
18145
      # always be unresolved, which means just about no library would
 
18146
      # ever link correctly.  If we're not using GNU ld we use -z text
 
18147
      # though, which does catch some bad symbols but isn't as heavy-handed
 
18148
      # as -z defs.
 
18149
      no_undefined_flag_GCJ='${wl}-z,text'
 
18150
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
 
18151
      archive_cmds_need_lc_GCJ=no
 
18152
      hardcode_shlibpath_var_GCJ=no
 
18153
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
18154
      hardcode_libdir_separator_GCJ=':'
 
18155
      link_all_deplibs_GCJ=yes
 
18156
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 
18157
      runpath_var='LD_RUN_PATH'
 
18158
 
 
18159
      if test "$GCC" = yes; then
 
18160
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18161
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18162
      else
 
18163
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18164
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
18165
      fi
16749
18166
      ;;
16750
18167
 
16751
18168
    uts4*)
16760
18177
    esac
16761
18178
  fi
16762
18179
 
16763
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16764
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
18180
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
18181
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
16765
18182
test "$ld_shlibs_GCJ" = no && can_build_shared=no
16766
18183
 
16767
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16768
 
if test "$GCC" = yes; then
16769
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16770
 
fi
16771
 
 
16772
18184
#
16773
18185
# Do we need to explicitly link libc?
16774
18186
#
16786
18198
      # Test whether the compiler implicitly links with -lc since on some
16787
18199
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16788
18200
      # to ld, don't add -lc before -lgcc.
16789
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16790
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
18201
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18202
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16791
18203
      $rm conftest*
16792
18204
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16793
18205
 
16801
18213
        libobjs=conftest.$ac_objext
16802
18214
        deplibs=
16803
18215
        wl=$lt_prog_compiler_wl_GCJ
 
18216
        pic_flag=$lt_prog_compiler_pic_GCJ
16804
18217
        compiler_flags=-v
16805
18218
        linker_flags=-v
16806
18219
        verstring=
16823
18236
        cat conftest.err 1>&5
16824
18237
      fi
16825
18238
      $rm conftest*
16826
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16827
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
18239
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
18240
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
16828
18241
      ;;
16829
18242
    esac
16830
18243
  fi
16831
18244
  ;;
16832
18245
esac
16833
18246
 
16834
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16835
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18247
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18248
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16836
18249
library_names_spec=
16837
18250
libname_spec='lib$name'
16838
18251
soname_spec=
16933
18346
  shlibpath_var=LIBRARY_PATH
16934
18347
  ;;
16935
18348
 
16936
 
bsdi4*)
 
18349
bsdi[45]*)
16937
18350
  version_type=linux
16938
18351
  need_version=no
16939
18352
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16961
18374
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16962
18375
      dldir=$destdir/`dirname \$dlpath`~
16963
18376
      test -d \$dldir || mkdir -p \$dldir~
16964
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
18377
      $install_prog $dir/$dlname \$dldir/$dlname~
 
18378
      chmod a+x \$dldir/$dlname'
16965
18379
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16966
18380
      dlpath=$dir/\$dldll~
16967
18381
       $rm \$dlpath'
16991
18405
      ;;
16992
18406
    pw32*)
16993
18407
      # pw32 DLLs use 'pw' prefix rather than 'lib'
16994
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
18408
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16995
18409
      ;;
16996
18410
    esac
16997
18411
    ;;
17014
18428
  soname_spec='${libname}${release}${major}$shared_ext'
17015
18429
  shlibpath_overrides_runpath=yes
17016
18430
  shlibpath_var=DYLD_LIBRARY_PATH
17017
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
18431
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17018
18432
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17019
18433
  if test "$GCC" = yes; then
17020
18434
    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"`
17037
18451
  dynamic_linker=no
17038
18452
  ;;
17039
18453
 
17040
 
kfreebsd*-gnu)
17041
 
  version_type=linux
17042
 
  need_lib_prefix=no
17043
 
  need_version=no
17044
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17045
 
  soname_spec='${libname}${release}${shared_ext}$major'
17046
 
  shlibpath_var=LD_LIBRARY_PATH
17047
 
  shlibpath_overrides_runpath=no
17048
 
  hardcode_into_libs=yes
17049
 
  dynamic_linker='GNU ld.so'
17050
 
  ;;
17051
 
 
17052
 
freebsd*)
17053
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
18454
freebsd* | dragonfly*)
 
18455
  # DragonFly does not have aout.  When/if they implement a new
 
18456
  # versioning mechanism, adjust this.
 
18457
  if test -x /usr/bin/objformat; then
 
18458
    objformat=`/usr/bin/objformat`
 
18459
  else
 
18460
    case $host_os in
 
18461
    freebsd[123]*) objformat=aout ;;
 
18462
    *) objformat=elf ;;
 
18463
    esac
 
18464
  fi
17054
18465
  version_type=freebsd-$objformat
17055
18466
  case $version_type in
17056
18467
    freebsd-elf*)
17068
18479
  freebsd2*)
17069
18480
    shlibpath_overrides_runpath=yes
17070
18481
    ;;
17071
 
  freebsd3.01* | freebsdelf3.01*)
 
18482
  freebsd3.[01]* | freebsdelf3.[01]*)
17072
18483
    shlibpath_overrides_runpath=yes
17073
18484
    hardcode_into_libs=yes
17074
18485
    ;;
17075
 
  *) # from 3.2 on
 
18486
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
18487
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17076
18488
    shlibpath_overrides_runpath=no
17077
18489
    hardcode_into_libs=yes
17078
18490
    ;;
 
18491
  freebsd*) # from 4.6 on
 
18492
    shlibpath_overrides_runpath=yes
 
18493
    hardcode_into_libs=yes
 
18494
    ;;
17079
18495
  esac
17080
18496
  ;;
17081
18497
 
17095
18511
  version_type=sunos
17096
18512
  need_lib_prefix=no
17097
18513
  need_version=no
17098
 
  case "$host_cpu" in
 
18514
  case $host_cpu in
17099
18515
  ia64*)
17100
18516
    shrext_cmds='.so'
17101
18517
    hardcode_into_libs=yes
17135
18551
  postinstall_cmds='chmod 555 $lib'
17136
18552
  ;;
17137
18553
 
 
18554
interix3*)
 
18555
  version_type=linux
 
18556
  need_lib_prefix=no
 
18557
  need_version=no
 
18558
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
18559
  soname_spec='${libname}${release}${shared_ext}$major'
 
18560
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
18561
  shlibpath_var=LD_LIBRARY_PATH
 
18562
  shlibpath_overrides_runpath=no
 
18563
  hardcode_into_libs=yes
 
18564
  ;;
 
18565
 
17138
18566
irix5* | irix6* | nonstopux*)
17139
18567
  case $host_os in
17140
18568
    nonstopux*) version_type=nonstopux ;;
17178
18606
  ;;
17179
18607
 
17180
18608
# This must be Linux ELF.
17181
 
linux*)
 
18609
linux* | k*bsd*-gnu)
17182
18610
  version_type=linux
17183
18611
  need_lib_prefix=no
17184
18612
  need_version=no
17194
18622
 
17195
18623
  # Append ld.so.conf contents to the search path
17196
18624
  if test -f /etc/ld.so.conf; then
17197
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
18625
    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' ' '`
17198
18626
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17199
18627
  fi
17200
18628
 
17219
18647
  dynamic_linker='NetBSD ld.elf_so'
17220
18648
  ;;
17221
18649
 
17222
 
knetbsd*-gnu)
17223
 
  version_type=linux
17224
 
  need_lib_prefix=no
17225
 
  need_version=no
17226
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17227
 
  soname_spec='${libname}${release}${shared_ext}$major'
17228
 
  shlibpath_var=LD_LIBRARY_PATH
17229
 
  shlibpath_overrides_runpath=no
17230
 
  hardcode_into_libs=yes
17231
 
  dynamic_linker='GNU ld.so'
17232
 
  ;;
17233
 
 
17234
18650
netbsd*)
17235
18651
  version_type=sunos
17236
18652
  need_lib_prefix=no
17268
18684
 
17269
18685
openbsd*)
17270
18686
  version_type=sunos
 
18687
  sys_lib_dlsearch_path_spec="/usr/lib"
17271
18688
  need_lib_prefix=no
17272
 
  need_version=yes
 
18689
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
18690
  case $host_os in
 
18691
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
18692
    *)                         need_version=no  ;;
 
18693
  esac
17273
18694
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17274
18695
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17275
18696
  shlibpath_var=LD_LIBRARY_PATH
17307
18728
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17308
18729
  ;;
17309
18730
 
17310
 
sco3.2v5*)
17311
 
  version_type=osf
17312
 
  soname_spec='${libname}${release}${shared_ext}$major'
17313
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17314
 
  shlibpath_var=LD_LIBRARY_PATH
17315
 
  ;;
17316
 
 
17317
18731
solaris*)
17318
18732
  version_type=linux
17319
18733
  need_lib_prefix=no
17339
18753
  need_version=yes
17340
18754
  ;;
17341
18755
 
17342
 
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
18756
sysv4 | sysv4.3*)
17343
18757
  version_type=linux
17344
18758
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17345
18759
  soname_spec='${libname}${release}${shared_ext}$major'
17372
18786
  fi
17373
18787
  ;;
17374
18788
 
 
18789
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
18790
  version_type=freebsd-elf
 
18791
  need_lib_prefix=no
 
18792
  need_version=no
 
18793
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
18794
  soname_spec='${libname}${release}${shared_ext}$major'
 
18795
  shlibpath_var=LD_LIBRARY_PATH
 
18796
  hardcode_into_libs=yes
 
18797
  if test "$with_gnu_ld" = yes; then
 
18798
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
18799
    shlibpath_overrides_runpath=no
 
18800
  else
 
18801
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
18802
    shlibpath_overrides_runpath=yes
 
18803
    case $host_os in
 
18804
      sco3.2v5*)
 
18805
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
18806
        ;;
 
18807
    esac
 
18808
  fi
 
18809
  sys_lib_dlsearch_path_spec='/usr/lib'
 
18810
  ;;
 
18811
 
17375
18812
uts4*)
17376
18813
  version_type=linux
17377
18814
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17383
18820
  dynamic_linker=no
17384
18821
  ;;
17385
18822
esac
17386
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17387
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18823
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18824
echo "${ECHO_T}$dynamic_linker" >&6; }
17388
18825
test "$dynamic_linker" = no && can_build_shared=no
17389
18826
 
17390
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17391
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18827
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
18828
if test "$GCC" = yes; then
 
18829
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
18830
fi
 
18831
 
 
18832
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18833
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17392
18834
hardcode_action_GCJ=
17393
18835
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17394
 
   test -n "$runpath_var GCJ" || \
17395
 
   test "X$hardcode_automatic_GCJ"="Xyes" ; then
 
18836
   test -n "$runpath_var_GCJ" || \
 
18837
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17396
18838
 
17397
18839
  # We can hardcode non-existant directories.
17398
18840
  if test "$hardcode_direct_GCJ" != no &&
17412
18854
  # directories.
17413
18855
  hardcode_action_GCJ=unsupported
17414
18856
fi
17415
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17416
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
18857
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
18858
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17417
18859
 
17418
18860
if test "$hardcode_action_GCJ" = relink; then
17419
18861
  # Fast installation is not supported
17424
18866
  enable_fast_install=needless
17425
18867
fi
17426
18868
 
17427
 
striplib=
17428
 
old_striplib=
17429
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17430
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17431
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17432
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17433
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17434
 
  echo "$as_me:$LINENO: result: yes" >&5
17435
 
echo "${ECHO_T}yes" >&6
17436
 
else
17437
 
# FIXME - insert some real tests, host_os isn't really good enough
17438
 
  case $host_os in
17439
 
   darwin*)
17440
 
       if test -n "$STRIP" ; then
17441
 
         striplib="$STRIP -x"
17442
 
         echo "$as_me:$LINENO: result: yes" >&5
17443
 
echo "${ECHO_T}yes" >&6
17444
 
       else
17445
 
  echo "$as_me:$LINENO: result: no" >&5
17446
 
echo "${ECHO_T}no" >&6
17447
 
fi
17448
 
       ;;
17449
 
   *)
17450
 
  echo "$as_me:$LINENO: result: no" >&5
17451
 
echo "${ECHO_T}no" >&6
17452
 
    ;;
17453
 
  esac
17454
 
fi
17455
 
 
17456
 
if test "x$enable_dlopen" != xyes; then
17457
 
  enable_dlopen=unknown
17458
 
  enable_dlopen_self=unknown
17459
 
  enable_dlopen_self_static=unknown
17460
 
else
17461
 
  lt_cv_dlopen=no
17462
 
  lt_cv_dlopen_libs=
17463
 
 
17464
 
  case $host_os in
17465
 
  beos*)
17466
 
    lt_cv_dlopen="load_add_on"
17467
 
    lt_cv_dlopen_libs=
17468
 
    lt_cv_dlopen_self=yes
17469
 
    ;;
17470
 
 
17471
 
  mingw* | pw32*)
17472
 
    lt_cv_dlopen="LoadLibrary"
17473
 
    lt_cv_dlopen_libs=
17474
 
   ;;
17475
 
 
17476
 
  cygwin*)
17477
 
    lt_cv_dlopen="dlopen"
17478
 
    lt_cv_dlopen_libs=
17479
 
   ;;
17480
 
 
17481
 
  darwin*)
17482
 
  # if libdl is installed we need to link against it
17483
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17484
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17485
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17486
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17487
 
else
17488
 
  ac_check_lib_save_LIBS=$LIBS
17489
 
LIBS="-ldl  $LIBS"
17490
 
cat >conftest.$ac_ext <<_ACEOF
17491
 
/* confdefs.h.  */
17492
 
_ACEOF
17493
 
cat confdefs.h >>conftest.$ac_ext
17494
 
cat >>conftest.$ac_ext <<_ACEOF
17495
 
/* end confdefs.h.  */
17496
 
 
17497
 
/* Override any gcc2 internal prototype to avoid an error.  */
17498
 
#ifdef __cplusplus
17499
 
extern "C"
17500
 
#endif
17501
 
/* We use char because int might match the return type of a gcc2
17502
 
   builtin and then its argument prototype would still apply.  */
17503
 
char dlopen ();
17504
 
int
17505
 
main ()
17506
 
{
17507
 
dlopen ();
17508
 
  ;
17509
 
  return 0;
17510
 
}
17511
 
_ACEOF
17512
 
rm -f conftest.$ac_objext conftest$ac_exeext
17513
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17514
 
  (eval $ac_link) 2>conftest.er1
17515
 
  ac_status=$?
17516
 
  grep -v '^ *+' conftest.er1 >conftest.err
17517
 
  rm -f conftest.er1
17518
 
  cat conftest.err >&5
17519
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520
 
  (exit $ac_status); } &&
17521
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17522
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17523
 
  (eval $ac_try) 2>&5
17524
 
  ac_status=$?
17525
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526
 
  (exit $ac_status); }; } &&
17527
 
         { ac_try='test -s conftest$ac_exeext'
17528
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17529
 
  (eval $ac_try) 2>&5
17530
 
  ac_status=$?
17531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532
 
  (exit $ac_status); }; }; then
17533
 
  ac_cv_lib_dl_dlopen=yes
17534
 
else
17535
 
  echo "$as_me: failed program was:" >&5
17536
 
sed 's/^/| /' conftest.$ac_ext >&5
17537
 
 
17538
 
ac_cv_lib_dl_dlopen=no
17539
 
fi
17540
 
rm -f conftest.err conftest.$ac_objext \
17541
 
      conftest$ac_exeext conftest.$ac_ext
17542
 
LIBS=$ac_check_lib_save_LIBS
17543
 
fi
17544
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17545
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17546
 
if test $ac_cv_lib_dl_dlopen = yes; then
17547
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17548
 
else
17549
 
 
17550
 
    lt_cv_dlopen="dyld"
17551
 
    lt_cv_dlopen_libs=
17552
 
    lt_cv_dlopen_self=yes
17553
 
 
17554
 
fi
17555
 
 
17556
 
   ;;
17557
 
 
17558
 
  *)
17559
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
17560
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17561
 
if test "${ac_cv_func_shl_load+set}" = set; then
17562
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17563
 
else
17564
 
  cat >conftest.$ac_ext <<_ACEOF
17565
 
/* confdefs.h.  */
17566
 
_ACEOF
17567
 
cat confdefs.h >>conftest.$ac_ext
17568
 
cat >>conftest.$ac_ext <<_ACEOF
17569
 
/* end confdefs.h.  */
17570
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17571
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17572
 
#define shl_load innocuous_shl_load
17573
 
 
17574
 
/* System header to define __stub macros and hopefully few prototypes,
17575
 
    which can conflict with char shl_load (); below.
17576
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17577
 
    <limits.h> exists even on freestanding compilers.  */
17578
 
 
17579
 
#ifdef __STDC__
17580
 
# include <limits.h>
17581
 
#else
17582
 
# include <assert.h>
17583
 
#endif
17584
 
 
17585
 
#undef shl_load
17586
 
 
17587
 
/* Override any gcc2 internal prototype to avoid an error.  */
17588
 
#ifdef __cplusplus
17589
 
extern "C"
17590
 
{
17591
 
#endif
17592
 
/* We use char because int might match the return type of a gcc2
17593
 
   builtin and then its argument prototype would still apply.  */
17594
 
char shl_load ();
17595
 
/* The GNU C library defines this for functions which it implements
17596
 
    to always fail with ENOSYS.  Some functions are actually named
17597
 
    something starting with __ and the normal name is an alias.  */
17598
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
17599
 
choke me
17600
 
#else
17601
 
char (*f) () = shl_load;
17602
 
#endif
17603
 
#ifdef __cplusplus
17604
 
}
17605
 
#endif
17606
 
 
17607
 
int
17608
 
main ()
17609
 
{
17610
 
return f != shl_load;
17611
 
  ;
17612
 
  return 0;
17613
 
}
17614
 
_ACEOF
17615
 
rm -f conftest.$ac_objext conftest$ac_exeext
17616
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17617
 
  (eval $ac_link) 2>conftest.er1
17618
 
  ac_status=$?
17619
 
  grep -v '^ *+' conftest.er1 >conftest.err
17620
 
  rm -f conftest.er1
17621
 
  cat conftest.err >&5
17622
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623
 
  (exit $ac_status); } &&
17624
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17625
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626
 
  (eval $ac_try) 2>&5
17627
 
  ac_status=$?
17628
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629
 
  (exit $ac_status); }; } &&
17630
 
         { ac_try='test -s conftest$ac_exeext'
17631
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632
 
  (eval $ac_try) 2>&5
17633
 
  ac_status=$?
17634
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635
 
  (exit $ac_status); }; }; then
17636
 
  ac_cv_func_shl_load=yes
17637
 
else
17638
 
  echo "$as_me: failed program was:" >&5
17639
 
sed 's/^/| /' conftest.$ac_ext >&5
17640
 
 
17641
 
ac_cv_func_shl_load=no
17642
 
fi
17643
 
rm -f conftest.err conftest.$ac_objext \
17644
 
      conftest$ac_exeext conftest.$ac_ext
17645
 
fi
17646
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17647
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17648
 
if test $ac_cv_func_shl_load = yes; then
17649
 
  lt_cv_dlopen="shl_load"
17650
 
else
17651
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17652
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17653
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17654
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17655
 
else
17656
 
  ac_check_lib_save_LIBS=$LIBS
17657
 
LIBS="-ldld  $LIBS"
17658
 
cat >conftest.$ac_ext <<_ACEOF
17659
 
/* confdefs.h.  */
17660
 
_ACEOF
17661
 
cat confdefs.h >>conftest.$ac_ext
17662
 
cat >>conftest.$ac_ext <<_ACEOF
17663
 
/* end confdefs.h.  */
17664
 
 
17665
 
/* Override any gcc2 internal prototype to avoid an error.  */
17666
 
#ifdef __cplusplus
17667
 
extern "C"
17668
 
#endif
17669
 
/* We use char because int might match the return type of a gcc2
17670
 
   builtin and then its argument prototype would still apply.  */
17671
 
char shl_load ();
17672
 
int
17673
 
main ()
17674
 
{
17675
 
shl_load ();
17676
 
  ;
17677
 
  return 0;
17678
 
}
17679
 
_ACEOF
17680
 
rm -f conftest.$ac_objext conftest$ac_exeext
17681
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17682
 
  (eval $ac_link) 2>conftest.er1
17683
 
  ac_status=$?
17684
 
  grep -v '^ *+' conftest.er1 >conftest.err
17685
 
  rm -f conftest.er1
17686
 
  cat conftest.err >&5
17687
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688
 
  (exit $ac_status); } &&
17689
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17690
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17691
 
  (eval $ac_try) 2>&5
17692
 
  ac_status=$?
17693
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17694
 
  (exit $ac_status); }; } &&
17695
 
         { ac_try='test -s conftest$ac_exeext'
17696
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17697
 
  (eval $ac_try) 2>&5
17698
 
  ac_status=$?
17699
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700
 
  (exit $ac_status); }; }; then
17701
 
  ac_cv_lib_dld_shl_load=yes
17702
 
else
17703
 
  echo "$as_me: failed program was:" >&5
17704
 
sed 's/^/| /' conftest.$ac_ext >&5
17705
 
 
17706
 
ac_cv_lib_dld_shl_load=no
17707
 
fi
17708
 
rm -f conftest.err conftest.$ac_objext \
17709
 
      conftest$ac_exeext conftest.$ac_ext
17710
 
LIBS=$ac_check_lib_save_LIBS
17711
 
fi
17712
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17713
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17714
 
if test $ac_cv_lib_dld_shl_load = yes; then
17715
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17716
 
else
17717
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
17718
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17719
 
if test "${ac_cv_func_dlopen+set}" = set; then
17720
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17721
 
else
17722
 
  cat >conftest.$ac_ext <<_ACEOF
17723
 
/* confdefs.h.  */
17724
 
_ACEOF
17725
 
cat confdefs.h >>conftest.$ac_ext
17726
 
cat >>conftest.$ac_ext <<_ACEOF
17727
 
/* end confdefs.h.  */
17728
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17729
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17730
 
#define dlopen innocuous_dlopen
17731
 
 
17732
 
/* System header to define __stub macros and hopefully few prototypes,
17733
 
    which can conflict with char dlopen (); below.
17734
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17735
 
    <limits.h> exists even on freestanding compilers.  */
17736
 
 
17737
 
#ifdef __STDC__
17738
 
# include <limits.h>
17739
 
#else
17740
 
# include <assert.h>
17741
 
#endif
17742
 
 
17743
 
#undef dlopen
17744
 
 
17745
 
/* Override any gcc2 internal prototype to avoid an error.  */
17746
 
#ifdef __cplusplus
17747
 
extern "C"
17748
 
{
17749
 
#endif
17750
 
/* We use char because int might match the return type of a gcc2
17751
 
   builtin and then its argument prototype would still apply.  */
17752
 
char dlopen ();
17753
 
/* The GNU C library defines this for functions which it implements
17754
 
    to always fail with ENOSYS.  Some functions are actually named
17755
 
    something starting with __ and the normal name is an alias.  */
17756
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
17757
 
choke me
17758
 
#else
17759
 
char (*f) () = dlopen;
17760
 
#endif
17761
 
#ifdef __cplusplus
17762
 
}
17763
 
#endif
17764
 
 
17765
 
int
17766
 
main ()
17767
 
{
17768
 
return f != dlopen;
17769
 
  ;
17770
 
  return 0;
17771
 
}
17772
 
_ACEOF
17773
 
rm -f conftest.$ac_objext conftest$ac_exeext
17774
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17775
 
  (eval $ac_link) 2>conftest.er1
17776
 
  ac_status=$?
17777
 
  grep -v '^ *+' conftest.er1 >conftest.err
17778
 
  rm -f conftest.er1
17779
 
  cat conftest.err >&5
17780
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781
 
  (exit $ac_status); } &&
17782
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17783
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784
 
  (eval $ac_try) 2>&5
17785
 
  ac_status=$?
17786
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787
 
  (exit $ac_status); }; } &&
17788
 
         { ac_try='test -s conftest$ac_exeext'
17789
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790
 
  (eval $ac_try) 2>&5
17791
 
  ac_status=$?
17792
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793
 
  (exit $ac_status); }; }; then
17794
 
  ac_cv_func_dlopen=yes
17795
 
else
17796
 
  echo "$as_me: failed program was:" >&5
17797
 
sed 's/^/| /' conftest.$ac_ext >&5
17798
 
 
17799
 
ac_cv_func_dlopen=no
17800
 
fi
17801
 
rm -f conftest.err conftest.$ac_objext \
17802
 
      conftest$ac_exeext conftest.$ac_ext
17803
 
fi
17804
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17805
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17806
 
if test $ac_cv_func_dlopen = yes; then
17807
 
  lt_cv_dlopen="dlopen"
17808
 
else
17809
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17810
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17811
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17812
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17813
 
else
17814
 
  ac_check_lib_save_LIBS=$LIBS
17815
 
LIBS="-ldl  $LIBS"
17816
 
cat >conftest.$ac_ext <<_ACEOF
17817
 
/* confdefs.h.  */
17818
 
_ACEOF
17819
 
cat confdefs.h >>conftest.$ac_ext
17820
 
cat >>conftest.$ac_ext <<_ACEOF
17821
 
/* end confdefs.h.  */
17822
 
 
17823
 
/* Override any gcc2 internal prototype to avoid an error.  */
17824
 
#ifdef __cplusplus
17825
 
extern "C"
17826
 
#endif
17827
 
/* We use char because int might match the return type of a gcc2
17828
 
   builtin and then its argument prototype would still apply.  */
17829
 
char dlopen ();
17830
 
int
17831
 
main ()
17832
 
{
17833
 
dlopen ();
17834
 
  ;
17835
 
  return 0;
17836
 
}
17837
 
_ACEOF
17838
 
rm -f conftest.$ac_objext conftest$ac_exeext
17839
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17840
 
  (eval $ac_link) 2>conftest.er1
17841
 
  ac_status=$?
17842
 
  grep -v '^ *+' conftest.er1 >conftest.err
17843
 
  rm -f conftest.er1
17844
 
  cat conftest.err >&5
17845
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846
 
  (exit $ac_status); } &&
17847
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17848
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17849
 
  (eval $ac_try) 2>&5
17850
 
  ac_status=$?
17851
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852
 
  (exit $ac_status); }; } &&
17853
 
         { ac_try='test -s conftest$ac_exeext'
17854
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17855
 
  (eval $ac_try) 2>&5
17856
 
  ac_status=$?
17857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858
 
  (exit $ac_status); }; }; then
17859
 
  ac_cv_lib_dl_dlopen=yes
17860
 
else
17861
 
  echo "$as_me: failed program was:" >&5
17862
 
sed 's/^/| /' conftest.$ac_ext >&5
17863
 
 
17864
 
ac_cv_lib_dl_dlopen=no
17865
 
fi
17866
 
rm -f conftest.err conftest.$ac_objext \
17867
 
      conftest$ac_exeext conftest.$ac_ext
17868
 
LIBS=$ac_check_lib_save_LIBS
17869
 
fi
17870
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17871
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17872
 
if test $ac_cv_lib_dl_dlopen = yes; then
17873
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17874
 
else
17875
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17876
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17877
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17878
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17879
 
else
17880
 
  ac_check_lib_save_LIBS=$LIBS
17881
 
LIBS="-lsvld  $LIBS"
17882
 
cat >conftest.$ac_ext <<_ACEOF
17883
 
/* confdefs.h.  */
17884
 
_ACEOF
17885
 
cat confdefs.h >>conftest.$ac_ext
17886
 
cat >>conftest.$ac_ext <<_ACEOF
17887
 
/* end confdefs.h.  */
17888
 
 
17889
 
/* Override any gcc2 internal prototype to avoid an error.  */
17890
 
#ifdef __cplusplus
17891
 
extern "C"
17892
 
#endif
17893
 
/* We use char because int might match the return type of a gcc2
17894
 
   builtin and then its argument prototype would still apply.  */
17895
 
char dlopen ();
17896
 
int
17897
 
main ()
17898
 
{
17899
 
dlopen ();
17900
 
  ;
17901
 
  return 0;
17902
 
}
17903
 
_ACEOF
17904
 
rm -f conftest.$ac_objext conftest$ac_exeext
17905
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17906
 
  (eval $ac_link) 2>conftest.er1
17907
 
  ac_status=$?
17908
 
  grep -v '^ *+' conftest.er1 >conftest.err
17909
 
  rm -f conftest.er1
17910
 
  cat conftest.err >&5
17911
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912
 
  (exit $ac_status); } &&
17913
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17914
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17915
 
  (eval $ac_try) 2>&5
17916
 
  ac_status=$?
17917
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918
 
  (exit $ac_status); }; } &&
17919
 
         { ac_try='test -s conftest$ac_exeext'
17920
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17921
 
  (eval $ac_try) 2>&5
17922
 
  ac_status=$?
17923
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924
 
  (exit $ac_status); }; }; then
17925
 
  ac_cv_lib_svld_dlopen=yes
17926
 
else
17927
 
  echo "$as_me: failed program was:" >&5
17928
 
sed 's/^/| /' conftest.$ac_ext >&5
17929
 
 
17930
 
ac_cv_lib_svld_dlopen=no
17931
 
fi
17932
 
rm -f conftest.err conftest.$ac_objext \
17933
 
      conftest$ac_exeext conftest.$ac_ext
17934
 
LIBS=$ac_check_lib_save_LIBS
17935
 
fi
17936
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17937
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17938
 
if test $ac_cv_lib_svld_dlopen = yes; then
17939
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17940
 
else
17941
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17942
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17943
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17944
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17945
 
else
17946
 
  ac_check_lib_save_LIBS=$LIBS
17947
 
LIBS="-ldld  $LIBS"
17948
 
cat >conftest.$ac_ext <<_ACEOF
17949
 
/* confdefs.h.  */
17950
 
_ACEOF
17951
 
cat confdefs.h >>conftest.$ac_ext
17952
 
cat >>conftest.$ac_ext <<_ACEOF
17953
 
/* end confdefs.h.  */
17954
 
 
17955
 
/* Override any gcc2 internal prototype to avoid an error.  */
17956
 
#ifdef __cplusplus
17957
 
extern "C"
17958
 
#endif
17959
 
/* We use char because int might match the return type of a gcc2
17960
 
   builtin and then its argument prototype would still apply.  */
17961
 
char dld_link ();
17962
 
int
17963
 
main ()
17964
 
{
17965
 
dld_link ();
17966
 
  ;
17967
 
  return 0;
17968
 
}
17969
 
_ACEOF
17970
 
rm -f conftest.$ac_objext conftest$ac_exeext
17971
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17972
 
  (eval $ac_link) 2>conftest.er1
17973
 
  ac_status=$?
17974
 
  grep -v '^ *+' conftest.er1 >conftest.err
17975
 
  rm -f conftest.er1
17976
 
  cat conftest.err >&5
17977
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978
 
  (exit $ac_status); } &&
17979
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17980
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17981
 
  (eval $ac_try) 2>&5
17982
 
  ac_status=$?
17983
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984
 
  (exit $ac_status); }; } &&
17985
 
         { ac_try='test -s conftest$ac_exeext'
17986
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17987
 
  (eval $ac_try) 2>&5
17988
 
  ac_status=$?
17989
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17990
 
  (exit $ac_status); }; }; then
17991
 
  ac_cv_lib_dld_dld_link=yes
17992
 
else
17993
 
  echo "$as_me: failed program was:" >&5
17994
 
sed 's/^/| /' conftest.$ac_ext >&5
17995
 
 
17996
 
ac_cv_lib_dld_dld_link=no
17997
 
fi
17998
 
rm -f conftest.err conftest.$ac_objext \
17999
 
      conftest$ac_exeext conftest.$ac_ext
18000
 
LIBS=$ac_check_lib_save_LIBS
18001
 
fi
18002
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18003
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18004
 
if test $ac_cv_lib_dld_dld_link = yes; then
18005
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18006
 
fi
18007
 
 
18008
 
 
18009
 
fi
18010
 
 
18011
 
 
18012
 
fi
18013
 
 
18014
 
 
18015
 
fi
18016
 
 
18017
 
 
18018
 
fi
18019
 
 
18020
 
 
18021
 
fi
18022
 
 
18023
 
    ;;
18024
 
  esac
18025
 
 
18026
 
  if test "x$lt_cv_dlopen" != xno; then
18027
 
    enable_dlopen=yes
18028
 
  else
18029
 
    enable_dlopen=no
18030
 
  fi
18031
 
 
18032
 
  case $lt_cv_dlopen in
18033
 
  dlopen)
18034
 
    save_CPPFLAGS="$CPPFLAGS"
18035
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18036
 
 
18037
 
    save_LDFLAGS="$LDFLAGS"
18038
 
    eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18039
 
 
18040
 
    save_LIBS="$LIBS"
18041
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
18042
 
 
18043
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18044
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18045
 
if test "${lt_cv_dlopen_self+set}" = set; then
18046
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18047
 
else
18048
 
          if test "$cross_compiling" = yes; then :
18049
 
  lt_cv_dlopen_self=cross
18050
 
else
18051
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18052
 
  lt_status=$lt_dlunknown
18053
 
  cat > conftest.$ac_ext <<EOF
18054
 
#line 18054 "configure"
18055
 
#include "confdefs.h"
18056
 
 
18057
 
#if HAVE_DLFCN_H
18058
 
#include <dlfcn.h>
18059
 
#endif
18060
 
 
18061
 
#include <stdio.h>
18062
 
 
18063
 
#ifdef RTLD_GLOBAL
18064
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
18065
 
#else
18066
 
#  ifdef DL_GLOBAL
18067
 
#    define LT_DLGLOBAL         DL_GLOBAL
18068
 
#  else
18069
 
#    define LT_DLGLOBAL         0
18070
 
#  endif
18071
 
#endif
18072
 
 
18073
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18074
 
   find out it does not work in some platform. */
18075
 
#ifndef LT_DLLAZY_OR_NOW
18076
 
#  ifdef RTLD_LAZY
18077
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
18078
 
#  else
18079
 
#    ifdef DL_LAZY
18080
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
18081
 
#    else
18082
 
#      ifdef RTLD_NOW
18083
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
18084
 
#      else
18085
 
#        ifdef DL_NOW
18086
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
18087
 
#        else
18088
 
#          define LT_DLLAZY_OR_NOW      0
18089
 
#        endif
18090
 
#      endif
18091
 
#    endif
18092
 
#  endif
18093
 
#endif
18094
 
 
18095
 
#ifdef __cplusplus
18096
 
extern "C" void exit (int);
18097
 
#endif
18098
 
 
18099
 
void fnord() { int i=42;}
18100
 
int main ()
18101
 
{
18102
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18103
 
  int status = $lt_dlunknown;
18104
 
 
18105
 
  if (self)
18106
 
    {
18107
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
18108
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18109
 
      /* dlclose (self); */
18110
 
    }
18111
 
 
18112
 
    exit (status);
18113
 
}
18114
 
EOF
18115
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18116
 
  (eval $ac_link) 2>&5
18117
 
  ac_status=$?
18118
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18120
 
    (./conftest; exit; ) 2>/dev/null
18121
 
    lt_status=$?
18122
 
    case x$lt_status in
18123
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18124
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18125
 
      x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18126
 
    esac
18127
 
  else :
18128
 
    # compilation failed
18129
 
    lt_cv_dlopen_self=no
18130
 
  fi
18131
 
fi
18132
 
rm -fr conftest*
18133
 
 
18134
 
 
18135
 
fi
18136
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18137
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18138
 
 
18139
 
    if test "x$lt_cv_dlopen_self" = xyes; then
18140
 
      LDFLAGS="$LDFLAGS $link_static_flag"
18141
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18142
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18143
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
18144
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18145
 
else
18146
 
          if test "$cross_compiling" = yes; then :
18147
 
  lt_cv_dlopen_self_static=cross
18148
 
else
18149
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18150
 
  lt_status=$lt_dlunknown
18151
 
  cat > conftest.$ac_ext <<EOF
18152
 
#line 18152 "configure"
18153
 
#include "confdefs.h"
18154
 
 
18155
 
#if HAVE_DLFCN_H
18156
 
#include <dlfcn.h>
18157
 
#endif
18158
 
 
18159
 
#include <stdio.h>
18160
 
 
18161
 
#ifdef RTLD_GLOBAL
18162
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
18163
 
#else
18164
 
#  ifdef DL_GLOBAL
18165
 
#    define LT_DLGLOBAL         DL_GLOBAL
18166
 
#  else
18167
 
#    define LT_DLGLOBAL         0
18168
 
#  endif
18169
 
#endif
18170
 
 
18171
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18172
 
   find out it does not work in some platform. */
18173
 
#ifndef LT_DLLAZY_OR_NOW
18174
 
#  ifdef RTLD_LAZY
18175
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
18176
 
#  else
18177
 
#    ifdef DL_LAZY
18178
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
18179
 
#    else
18180
 
#      ifdef RTLD_NOW
18181
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
18182
 
#      else
18183
 
#        ifdef DL_NOW
18184
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
18185
 
#        else
18186
 
#          define LT_DLLAZY_OR_NOW      0
18187
 
#        endif
18188
 
#      endif
18189
 
#    endif
18190
 
#  endif
18191
 
#endif
18192
 
 
18193
 
#ifdef __cplusplus
18194
 
extern "C" void exit (int);
18195
 
#endif
18196
 
 
18197
 
void fnord() { int i=42;}
18198
 
int main ()
18199
 
{
18200
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18201
 
  int status = $lt_dlunknown;
18202
 
 
18203
 
  if (self)
18204
 
    {
18205
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
18206
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18207
 
      /* dlclose (self); */
18208
 
    }
18209
 
 
18210
 
    exit (status);
18211
 
}
18212
 
EOF
18213
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18214
 
  (eval $ac_link) 2>&5
18215
 
  ac_status=$?
18216
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18218
 
    (./conftest; exit; ) 2>/dev/null
18219
 
    lt_status=$?
18220
 
    case x$lt_status in
18221
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18222
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18223
 
      x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18224
 
    esac
18225
 
  else :
18226
 
    # compilation failed
18227
 
    lt_cv_dlopen_self_static=no
18228
 
  fi
18229
 
fi
18230
 
rm -fr conftest*
18231
 
 
18232
 
 
18233
 
fi
18234
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18235
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18236
 
    fi
18237
 
 
18238
 
    CPPFLAGS="$save_CPPFLAGS"
18239
 
    LDFLAGS="$save_LDFLAGS"
18240
 
    LIBS="$save_LIBS"
18241
 
    ;;
18242
 
  esac
18243
 
 
18244
 
  case $lt_cv_dlopen_self in
18245
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18246
 
  *) enable_dlopen_self=unknown ;;
18247
 
  esac
18248
 
 
18249
 
  case $lt_cv_dlopen_self_static in
18250
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18251
 
  *) enable_dlopen_self_static=unknown ;;
18252
 
  esac
18253
 
fi
18254
 
 
18255
18869
 
18256
18870
# The else clause should only fire when bootstrapping the
18257
18871
# libtool distribution, otherwise you forgot to ship ltmain.sh
18266
18880
  # Now quote all the things that may contain metacharacters while being
18267
18881
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18268
18882
  # variables and quote the copies for generation of the libtool script.
18269
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
18883
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18270
18884
    SED SHELL STRIP \
18271
18885
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18272
18886
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18367
18981
# The host system.
18368
18982
host_alias=$host_alias
18369
18983
host=$host
 
18984
host_os=$host_os
 
18985
 
 
18986
# The build system.
 
18987
build_alias=$build_alias
 
18988
build=$build
 
18989
build_os=$build_os
18370
18990
 
18371
18991
# An echo program that does not interpret backslashes.
18372
18992
echo=$lt_echo
18378
18998
# A C compiler.
18379
18999
LTCC=$lt_LTCC
18380
19000
 
 
19001
# LTCC compiler flags.
 
19002
LTCFLAGS=$lt_LTCFLAGS
 
19003
 
18381
19004
# A language-specific compiler.
18382
19005
CC=$lt_compiler_GCJ
18383
19006
 
18443
19066
# Does compiler simultaneously support -c and -o options?
18444
19067
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18445
19068
 
18446
 
# Must we lock files when doing compilation ?
 
19069
# Must we lock files when doing compilation?
18447
19070
need_locks=$lt_need_locks
18448
19071
 
18449
19072
# Do we need the lib prefix for modules?
18668
19291
      RC)
18669
19292
 
18670
19293
 
18671
 
 
18672
19294
# Source file extension for RC test sources.
18673
19295
ac_ext=rc
18674
19296
 
18687
19309
# If no C compiler was specified, use CC.
18688
19310
LTCC=${LTCC-"$CC"}
18689
19311
 
 
19312
# If no C compiler flags were specified, use CFLAGS.
 
19313
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
19314
 
18690
19315
# Allow CC to be a program name with arguments.
18691
19316
compiler=$CC
18692
19317
 
18693
19318
 
 
19319
# save warnings/boilerplate of simple test code
 
19320
ac_outfile=conftest.$ac_objext
 
19321
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
19322
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
19323
_lt_compiler_boilerplate=`cat conftest.err`
 
19324
$rm conftest*
 
19325
 
 
19326
ac_outfile=conftest.$ac_objext
 
19327
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
19328
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
19329
_lt_linker_boilerplate=`cat conftest.err`
 
19330
$rm conftest*
 
19331
 
 
19332
 
18694
19333
# Allow CC to be a program name with arguments.
18695
19334
lt_save_CC="$CC"
18696
19335
CC=${RC-"windres"}
18697
19336
compiler=$CC
18698
19337
compiler_RC=$CC
 
19338
for cc_temp in $compiler""; do
 
19339
  case $cc_temp in
 
19340
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
19341
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
19342
    \-*) ;;
 
19343
    *) break;;
 
19344
  esac
 
19345
done
 
19346
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
19347
 
18699
19348
lt_cv_prog_compiler_c_o_RC=yes
18700
19349
 
18701
19350
# The else clause should only fire when bootstrapping the
18711
19360
  # Now quote all the things that may contain metacharacters while being
18712
19361
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18713
19362
  # variables and quote the copies for generation of the libtool script.
18714
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
19363
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18715
19364
    SED SHELL STRIP \
18716
19365
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18717
19366
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18812
19461
# The host system.
18813
19462
host_alias=$host_alias
18814
19463
host=$host
 
19464
host_os=$host_os
 
19465
 
 
19466
# The build system.
 
19467
build_alias=$build_alias
 
19468
build=$build
 
19469
build_os=$build_os
18815
19470
 
18816
19471
# An echo program that does not interpret backslashes.
18817
19472
echo=$lt_echo
18823
19478
# A C compiler.
18824
19479
LTCC=$lt_LTCC
18825
19480
 
 
19481
# LTCC compiler flags.
 
19482
LTCFLAGS=$lt_LTCFLAGS
 
19483
 
18826
19484
# A language-specific compiler.
18827
19485
CC=$lt_compiler_RC
18828
19486
 
18888
19546
# Does compiler simultaneously support -c and -o options?
18889
19547
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18890
19548
 
18891
 
# Must we lock files when doing compilation ?
 
19549
# Must we lock files when doing compilation?
18892
19550
need_locks=$lt_need_locks
18893
19551
 
18894
19552
# Do we need the lib prefix for modules?
19164
19822
 
19165
19823
 
19166
19824
 
 
19825
case "$am__api_version" in
 
19826
    1.01234)
 
19827
        { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
 
19828
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
 
19829
   { (exit 1); exit 1; }; }
 
19830
    ;;
 
19831
    *)
 
19832
    ;;
 
19833
esac
19167
19834
 
19168
19835
if test -n ""; then
19169
 
    echo "$as_me:$LINENO: checking for intltool >= " >&5
19170
 
echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6
19171
 
 
19172
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ printf "%d", $1 * 100 + $2; }'`
19173
 
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { printf $2; }'  < ${ac_aux_dir}/intltool-update.in`
19174
 
 
19175
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($2, VERSION, "."); printf "%d\n", VERSION[1] * 100 + VERSION[2];}' < ${ac_aux_dir}/intltool-update.in`
19176
 
 
19177
 
 
19178
 
    if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT"; then
19179
 
        echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
19180
 
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6
19181
 
    else
19182
 
        echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found. Your intltool is too old.  You need intltool  or later." >&5
19183
 
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found. Your intltool is too old.  You need intltool  or later." >&6
19184
 
        exit 1
19185
 
    fi
 
19836
    { echo "$as_me:$LINENO: checking for intltool >= " >&5
 
19837
echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6; }
 
19838
 
 
19839
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
19840
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
 
19841
    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`
 
19842
 
 
19843
    { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
19844
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
 
19845
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
19846
        { { echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool  or later." >&5
 
19847
echo "$as_me: error: Your intltool is too old.  You need intltool  or later." >&2;}
 
19848
   { (exit 1); exit 1; }; }
19186
19849
fi
19187
19850
 
19188
19851
  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 $< $@'
19202
19865
    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 $< $@'
19203
19866
  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 $< $@'
19204
19867
    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 $< $@'
 
19868
    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 $< $@'
 
19869
 
19205
19870
 
19206
19871
 
19207
19872
 
19222
19887
 
19223
19888
 
19224
19889
# Use the tools built into the package, not the ones that are installed.
19225
 
 
19226
19890
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
 
19891
 
19227
19892
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
 
19893
 
19228
19894
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
19229
19895
 
19230
19896
 
19231
 
 
19232
 
 
19233
 
 
19234
19897
# Extract the first word of "perl", so it can be a program name with args.
19235
19898
set dummy perl; ac_word=$2
19236
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19237
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19899
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19900
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19238
19901
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
19239
19902
  echo $ECHO_N "(cached) $ECHO_C" >&6
19240
19903
else
19249
19912
  IFS=$as_save_IFS
19250
19913
  test -z "$as_dir" && as_dir=.
19251
19914
  for ac_exec_ext in '' $ac_executable_extensions; do
19252
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19915
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19253
19916
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
19254
19917
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19255
19918
    break 2
19256
19919
  fi
19257
19920
done
19258
19921
done
 
19922
IFS=$as_save_IFS
19259
19923
 
19260
19924
  ;;
19261
19925
esac
19262
19926
fi
19263
19927
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
19264
 
 
19265
19928
if test -n "$INTLTOOL_PERL"; then
19266
 
  echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
19267
 
echo "${ECHO_T}$INTLTOOL_PERL" >&6
 
19929
  { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
19930
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
19268
19931
else
19269
 
  echo "$as_me:$LINENO: result: no" >&5
19270
 
echo "${ECHO_T}no" >&6
 
19932
  { echo "$as_me:$LINENO: result: no" >&5
 
19933
echo "${ECHO_T}no" >&6; }
19271
19934
fi
19272
19935
 
 
19936
 
19273
19937
if test -z "$INTLTOOL_PERL"; then
19274
19938
   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
19275
19939
echo "$as_me: error: perl not found; required for intltool" >&2;}
19281
19945
   { (exit 1); exit 1; }; }
19282
19946
fi
19283
19947
if test "x" != "xno-xml"; then
19284
 
   echo "$as_me:$LINENO: checking for XML::Parser" >&5
19285
 
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6
 
19948
   { echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
19949
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
19286
19950
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
19287
 
       echo "$as_me:$LINENO: result: ok" >&5
19288
 
echo "${ECHO_T}ok" >&6
 
19951
       { echo "$as_me:$LINENO: result: ok" >&5
 
19952
echo "${ECHO_T}ok" >&6; }
19289
19953
   else
19290
19954
       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
19291
19955
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
19295
19959
 
19296
19960
# Extract the first word of "iconv", so it can be a program name with args.
19297
19961
set dummy iconv; ac_word=$2
19298
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19299
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19962
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19963
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19300
19964
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
19301
19965
  echo $ECHO_N "(cached) $ECHO_C" >&6
19302
19966
else
19311
19975
  IFS=$as_save_IFS
19312
19976
  test -z "$as_dir" && as_dir=.
19313
19977
  for ac_exec_ext in '' $ac_executable_extensions; do
19314
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19978
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19315
19979
    ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
19316
19980
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19317
19981
    break 2
19318
19982
  fi
19319
19983
done
19320
19984
done
 
19985
IFS=$as_save_IFS
19321
19986
 
19322
19987
  test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
19323
19988
  ;;
19324
19989
esac
19325
19990
fi
19326
19991
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
19327
 
 
19328
19992
if test -n "$INTLTOOL_ICONV"; then
19329
 
  echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
19330
 
echo "${ECHO_T}$INTLTOOL_ICONV" >&6
 
19993
  { echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
 
19994
echo "${ECHO_T}$INTLTOOL_ICONV" >&6; }
19331
19995
else
19332
 
  echo "$as_me:$LINENO: result: no" >&5
19333
 
echo "${ECHO_T}no" >&6
 
19996
  { echo "$as_me:$LINENO: result: no" >&5
 
19997
echo "${ECHO_T}no" >&6; }
19334
19998
fi
19335
19999
 
 
20000
 
19336
20001
# Extract the first word of "msgfmt", so it can be a program name with args.
19337
20002
set dummy msgfmt; ac_word=$2
19338
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19339
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20003
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20004
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19340
20005
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
19341
20006
  echo $ECHO_N "(cached) $ECHO_C" >&6
19342
20007
else
19351
20016
  IFS=$as_save_IFS
19352
20017
  test -z "$as_dir" && as_dir=.
19353
20018
  for ac_exec_ext in '' $ac_executable_extensions; do
19354
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20019
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19355
20020
    ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
19356
20021
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19357
20022
    break 2
19358
20023
  fi
19359
20024
done
19360
20025
done
 
20026
IFS=$as_save_IFS
19361
20027
 
19362
20028
  test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
19363
20029
  ;;
19364
20030
esac
19365
20031
fi
19366
20032
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
19367
 
 
19368
20033
if test -n "$INTLTOOL_MSGFMT"; then
19369
 
  echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
19370
 
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6
 
20034
  { echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
 
20035
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6; }
19371
20036
else
19372
 
  echo "$as_me:$LINENO: result: no" >&5
19373
 
echo "${ECHO_T}no" >&6
 
20037
  { echo "$as_me:$LINENO: result: no" >&5
 
20038
echo "${ECHO_T}no" >&6; }
19374
20039
fi
19375
20040
 
 
20041
 
19376
20042
# Extract the first word of "msgmerge", so it can be a program name with args.
19377
20043
set dummy msgmerge; ac_word=$2
19378
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19379
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20044
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20045
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19380
20046
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
19381
20047
  echo $ECHO_N "(cached) $ECHO_C" >&6
19382
20048
else
19391
20057
  IFS=$as_save_IFS
19392
20058
  test -z "$as_dir" && as_dir=.
19393
20059
  for ac_exec_ext in '' $ac_executable_extensions; do
19394
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20060
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19395
20061
    ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
19396
20062
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19397
20063
    break 2
19398
20064
  fi
19399
20065
done
19400
20066
done
 
20067
IFS=$as_save_IFS
19401
20068
 
19402
20069
  test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
19403
20070
  ;;
19404
20071
esac
19405
20072
fi
19406
20073
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
19407
 
 
19408
20074
if test -n "$INTLTOOL_MSGMERGE"; then
19409
 
  echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
19410
 
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6
 
20075
  { echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
 
20076
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6; }
19411
20077
else
19412
 
  echo "$as_me:$LINENO: result: no" >&5
19413
 
echo "${ECHO_T}no" >&6
 
20078
  { echo "$as_me:$LINENO: result: no" >&5
 
20079
echo "${ECHO_T}no" >&6; }
19414
20080
fi
19415
20081
 
 
20082
 
19416
20083
# Extract the first word of "xgettext", so it can be a program name with args.
19417
20084
set dummy xgettext; ac_word=$2
19418
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19419
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20085
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20086
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19420
20087
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
19421
20088
  echo $ECHO_N "(cached) $ECHO_C" >&6
19422
20089
else
19431
20098
  IFS=$as_save_IFS
19432
20099
  test -z "$as_dir" && as_dir=.
19433
20100
  for ac_exec_ext in '' $ac_executable_extensions; do
19434
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20101
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19435
20102
    ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
19436
20103
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19437
20104
    break 2
19438
20105
  fi
19439
20106
done
19440
20107
done
 
20108
IFS=$as_save_IFS
19441
20109
 
19442
20110
  test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
19443
20111
  ;;
19444
20112
esac
19445
20113
fi
19446
20114
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
19447
 
 
19448
20115
if test -n "$INTLTOOL_XGETTEXT"; then
19449
 
  echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
19450
 
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6
19451
 
else
19452
 
  echo "$as_me:$LINENO: result: no" >&5
19453
 
echo "${ECHO_T}no" >&6
19454
 
fi
19455
 
 
19456
 
 
19457
 
# Remove file type tags (using []) from po/POTFILES.
19458
 
 
19459
 
 
19460
 
 
19461
 
 
19462
 
 
19463
 
 
19464
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
19465
 
  # Keeping the `.' argument allows $(mkdir_p) to be used without
19466
 
  # argument.  Indeed, we sometimes output rules like
19467
 
  #   $(mkdir_p) $(somedir)
19468
 
  # where $(somedir) is conditionally defined.
19469
 
  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
19470
 
  # expensive solution, as it forces Make to start a sub-shell.)
19471
 
  mkdir_p='mkdir -p -- .'
19472
 
else
19473
 
  # On NextStep and OpenStep, the `mkdir' command does not
19474
 
  # recognize any option.  It will interpret all options as
19475
 
  # directories to create, and then abort because `.' already
19476
 
  # exists.
19477
 
  for d in ./-p ./--version;
19478
 
  do
19479
 
    test -d $d && rmdir $d
19480
 
  done
19481
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
19482
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
19483
 
    mkdir_p='$(mkinstalldirs)'
19484
 
  else
19485
 
    mkdir_p='$(install_sh) -d'
19486
 
  fi
19487
 
fi
19488
 
 
19489
 
 
19490
 
 
19491
 
# Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT.
19492
 
 
19493
 
          ac_config_commands="$ac_config_commands intltool"
19494
 
 
19495
 
 
19496
 
 
19497
 
 
19498
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19499
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
20116
  { echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
 
20117
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6; }
 
20118
else
 
20119
  { echo "$as_me:$LINENO: result: no" >&5
 
20120
echo "${ECHO_T}no" >&6; }
 
20121
fi
 
20122
 
 
20123
 
 
20124
 
 
20125
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
20126
 
 
20127
 
 
20128
# Set DATADIRNAME correctly if it is not set yet
 
20129
# (copied from glib-gettext.m4)
 
20130
if test -z "$DATADIRNAME"; then
 
20131
  cat >conftest.$ac_ext <<_ACEOF
 
20132
/* confdefs.h.  */
 
20133
_ACEOF
 
20134
cat confdefs.h >>conftest.$ac_ext
 
20135
cat >>conftest.$ac_ext <<_ACEOF
 
20136
/* end confdefs.h.  */
 
20137
 
 
20138
int
 
20139
main ()
 
20140
{
 
20141
extern int _nl_msg_cat_cntr;
 
20142
                 return _nl_msg_cat_cntr
 
20143
  ;
 
20144
  return 0;
 
20145
}
 
20146
_ACEOF
 
20147
rm -f conftest.$ac_objext conftest$ac_exeext
 
20148
if { (ac_try="$ac_link"
 
20149
case "(($ac_try" in
 
20150
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20151
  *) ac_try_echo=$ac_try;;
 
20152
esac
 
20153
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20154
  (eval "$ac_link") 2>conftest.er1
 
20155
  ac_status=$?
 
20156
  grep -v '^ *+' conftest.er1 >conftest.err
 
20157
  rm -f conftest.er1
 
20158
  cat conftest.err >&5
 
20159
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20160
  (exit $ac_status); } &&
 
20161
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20162
  { (case "(($ac_try" in
 
20163
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20164
  *) ac_try_echo=$ac_try;;
 
20165
esac
 
20166
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20167
  (eval "$ac_try") 2>&5
 
20168
  ac_status=$?
 
20169
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20170
  (exit $ac_status); }; } &&
 
20171
         { ac_try='test -s conftest$ac_exeext'
 
20172
  { (case "(($ac_try" in
 
20173
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20174
  *) ac_try_echo=$ac_try;;
 
20175
esac
 
20176
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20177
  (eval "$ac_try") 2>&5
 
20178
  ac_status=$?
 
20179
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20180
  (exit $ac_status); }; }; then
 
20181
  DATADIRNAME=share
 
20182
else
 
20183
  echo "$as_me: failed program was:" >&5
 
20184
sed 's/^/| /' conftest.$ac_ext >&5
 
20185
 
 
20186
        case $host in
 
20187
    *-*-solaris*)
 
20188
                        { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
20189
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
 
20190
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
 
20191
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20192
else
 
20193
  cat >conftest.$ac_ext <<_ACEOF
 
20194
/* confdefs.h.  */
 
20195
_ACEOF
 
20196
cat confdefs.h >>conftest.$ac_ext
 
20197
cat >>conftest.$ac_ext <<_ACEOF
 
20198
/* end confdefs.h.  */
 
20199
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 
20200
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
20201
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 
20202
 
 
20203
/* System header to define __stub macros and hopefully few prototypes,
 
20204
    which can conflict with char bind_textdomain_codeset (); below.
 
20205
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
20206
    <limits.h> exists even on freestanding compilers.  */
 
20207
 
 
20208
#ifdef __STDC__
 
20209
# include <limits.h>
 
20210
#else
 
20211
# include <assert.h>
 
20212
#endif
 
20213
 
 
20214
#undef bind_textdomain_codeset
 
20215
 
 
20216
/* Override any GCC internal prototype to avoid an error.
 
20217
   Use char because int might match the return type of a GCC
 
20218
   builtin and then its argument prototype would still apply.  */
 
20219
#ifdef __cplusplus
 
20220
extern "C"
 
20221
#endif
 
20222
char bind_textdomain_codeset ();
 
20223
/* The GNU C library defines this for functions which it implements
 
20224
    to always fail with ENOSYS.  Some functions are actually named
 
20225
    something starting with __ and the normal name is an alias.  */
 
20226
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
 
20227
choke me
 
20228
#endif
 
20229
 
 
20230
int
 
20231
main ()
 
20232
{
 
20233
return bind_textdomain_codeset ();
 
20234
  ;
 
20235
  return 0;
 
20236
}
 
20237
_ACEOF
 
20238
rm -f conftest.$ac_objext conftest$ac_exeext
 
20239
if { (ac_try="$ac_link"
 
20240
case "(($ac_try" in
 
20241
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20242
  *) ac_try_echo=$ac_try;;
 
20243
esac
 
20244
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20245
  (eval "$ac_link") 2>conftest.er1
 
20246
  ac_status=$?
 
20247
  grep -v '^ *+' conftest.er1 >conftest.err
 
20248
  rm -f conftest.er1
 
20249
  cat conftest.err >&5
 
20250
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20251
  (exit $ac_status); } &&
 
20252
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20253
  { (case "(($ac_try" in
 
20254
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20255
  *) ac_try_echo=$ac_try;;
 
20256
esac
 
20257
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20258
  (eval "$ac_try") 2>&5
 
20259
  ac_status=$?
 
20260
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20261
  (exit $ac_status); }; } &&
 
20262
         { ac_try='test -s conftest$ac_exeext'
 
20263
  { (case "(($ac_try" in
 
20264
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20265
  *) ac_try_echo=$ac_try;;
 
20266
esac
 
20267
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20268
  (eval "$ac_try") 2>&5
 
20269
  ac_status=$?
 
20270
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20271
  (exit $ac_status); }; }; then
 
20272
  ac_cv_func_bind_textdomain_codeset=yes
 
20273
else
 
20274
  echo "$as_me: failed program was:" >&5
 
20275
sed 's/^/| /' conftest.$ac_ext >&5
 
20276
 
 
20277
        ac_cv_func_bind_textdomain_codeset=no
 
20278
fi
 
20279
 
 
20280
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20281
      conftest$ac_exeext conftest.$ac_ext
 
20282
fi
 
20283
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
20284
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
 
20285
if test $ac_cv_func_bind_textdomain_codeset = yes; then
 
20286
  DATADIRNAME=share
 
20287
else
 
20288
  DATADIRNAME=lib
 
20289
fi
 
20290
 
 
20291
    ;;
 
20292
    *)
 
20293
    DATADIRNAME=lib
 
20294
    ;;
 
20295
    esac
 
20296
fi
 
20297
 
 
20298
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20299
      conftest$ac_exeext conftest.$ac_ext
 
20300
fi
 
20301
 
 
20302
 
 
20303
 
 
20304
 
 
20305
 
 
20306
ac_config_commands="$ac_config_commands intltool"
 
20307
 
 
20308
 
 
20309
 
 
20310
 
 
20311
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
20312
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19500
20313
if test "${ac_cv_header_stdc+set}" = set; then
19501
20314
  echo $ECHO_N "(cached) $ECHO_C" >&6
19502
20315
else
19520
20333
}
19521
20334
_ACEOF
19522
20335
rm -f conftest.$ac_objext
19523
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19524
 
  (eval $ac_compile) 2>conftest.er1
 
20336
if { (ac_try="$ac_compile"
 
20337
case "(($ac_try" in
 
20338
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20339
  *) ac_try_echo=$ac_try;;
 
20340
esac
 
20341
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20342
  (eval "$ac_compile") 2>conftest.er1
19525
20343
  ac_status=$?
19526
20344
  grep -v '^ *+' conftest.er1 >conftest.err
19527
20345
  rm -f conftest.er1
19528
20346
  cat conftest.err >&5
19529
20347
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530
20348
  (exit $ac_status); } &&
19531
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19532
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19533
 
  (eval $ac_try) 2>&5
 
20349
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20350
  { (case "(($ac_try" in
 
20351
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20352
  *) ac_try_echo=$ac_try;;
 
20353
esac
 
20354
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20355
  (eval "$ac_try") 2>&5
19534
20356
  ac_status=$?
19535
20357
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536
20358
  (exit $ac_status); }; } &&
19537
20359
         { ac_try='test -s conftest.$ac_objext'
19538
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19539
 
  (eval $ac_try) 2>&5
 
20360
  { (case "(($ac_try" in
 
20361
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20362
  *) ac_try_echo=$ac_try;;
 
20363
esac
 
20364
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20365
  (eval "$ac_try") 2>&5
19540
20366
  ac_status=$?
19541
20367
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542
20368
  (exit $ac_status); }; }; then
19545
20371
  echo "$as_me: failed program was:" >&5
19546
20372
sed 's/^/| /' conftest.$ac_ext >&5
19547
20373
 
19548
 
ac_cv_header_stdc=no
 
20374
        ac_cv_header_stdc=no
19549
20375
fi
19550
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20376
 
 
20377
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19551
20378
 
19552
20379
if test $ac_cv_header_stdc = yes; then
19553
20380
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19603
20430
cat >>conftest.$ac_ext <<_ACEOF
19604
20431
/* end confdefs.h.  */
19605
20432
#include <ctype.h>
 
20433
#include <stdlib.h>
19606
20434
#if ((' ' & 0x0FF) == 0x020)
19607
20435
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19608
20436
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19622
20450
  for (i = 0; i < 256; i++)
19623
20451
    if (XOR (islower (i), ISLOWER (i))
19624
20452
        || toupper (i) != TOUPPER (i))
19625
 
      exit(2);
19626
 
  exit (0);
 
20453
      return 2;
 
20454
  return 0;
19627
20455
}
19628
20456
_ACEOF
19629
20457
rm -f conftest$ac_exeext
19630
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19631
 
  (eval $ac_link) 2>&5
 
20458
if { (ac_try="$ac_link"
 
20459
case "(($ac_try" in
 
20460
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20461
  *) ac_try_echo=$ac_try;;
 
20462
esac
 
20463
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20464
  (eval "$ac_link") 2>&5
19632
20465
  ac_status=$?
19633
20466
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634
20467
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19635
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19636
 
  (eval $ac_try) 2>&5
 
20468
  { (case "(($ac_try" in
 
20469
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20470
  *) ac_try_echo=$ac_try;;
 
20471
esac
 
20472
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20473
  (eval "$ac_try") 2>&5
19637
20474
  ac_status=$?
19638
20475
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639
20476
  (exit $ac_status); }; }; then
19646
20483
( exit $ac_status )
19647
20484
ac_cv_header_stdc=no
19648
20485
fi
19649
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19650
 
fi
19651
 
fi
19652
 
fi
19653
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19654
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
20486
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
20487
fi
 
20488
 
 
20489
 
 
20490
fi
 
20491
fi
 
20492
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
20493
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19655
20494
if test $ac_cv_header_stdc = yes; then
19656
20495
 
19657
20496
cat >>confdefs.h <<\_ACEOF
19662
20501
 
19663
20502
 
19664
20503
 
19665
 
echo "$as_me:$LINENO: checking for sin in -lm" >&5
19666
 
echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
 
20504
{ echo "$as_me:$LINENO: checking for sin in -lm" >&5
 
20505
echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
19667
20506
if test "${ac_cv_lib_m_sin+set}" = set; then
19668
20507
  echo $ECHO_N "(cached) $ECHO_C" >&6
19669
20508
else
19676
20515
cat >>conftest.$ac_ext <<_ACEOF
19677
20516
/* end confdefs.h.  */
19678
20517
 
19679
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20518
/* Override any GCC internal prototype to avoid an error.
 
20519
   Use char because int might match the return type of a GCC
 
20520
   builtin and then its argument prototype would still apply.  */
19680
20521
#ifdef __cplusplus
19681
20522
extern "C"
19682
20523
#endif
19683
 
/* We use char because int might match the return type of a gcc2
19684
 
   builtin and then its argument prototype would still apply.  */
19685
20524
char sin ();
19686
20525
int
19687
20526
main ()
19688
20527
{
19689
 
sin ();
 
20528
return sin ();
19690
20529
  ;
19691
20530
  return 0;
19692
20531
}
19693
20532
_ACEOF
19694
20533
rm -f conftest.$ac_objext conftest$ac_exeext
19695
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19696
 
  (eval $ac_link) 2>conftest.er1
 
20534
if { (ac_try="$ac_link"
 
20535
case "(($ac_try" in
 
20536
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20537
  *) ac_try_echo=$ac_try;;
 
20538
esac
 
20539
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20540
  (eval "$ac_link") 2>conftest.er1
19697
20541
  ac_status=$?
19698
20542
  grep -v '^ *+' conftest.er1 >conftest.err
19699
20543
  rm -f conftest.er1
19700
20544
  cat conftest.err >&5
19701
20545
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702
20546
  (exit $ac_status); } &&
19703
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19704
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19705
 
  (eval $ac_try) 2>&5
 
20547
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20548
  { (case "(($ac_try" in
 
20549
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20550
  *) ac_try_echo=$ac_try;;
 
20551
esac
 
20552
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20553
  (eval "$ac_try") 2>&5
19706
20554
  ac_status=$?
19707
20555
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708
20556
  (exit $ac_status); }; } &&
19709
20557
         { ac_try='test -s conftest$ac_exeext'
19710
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711
 
  (eval $ac_try) 2>&5
 
20558
  { (case "(($ac_try" in
 
20559
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20560
  *) ac_try_echo=$ac_try;;
 
20561
esac
 
20562
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20563
  (eval "$ac_try") 2>&5
19712
20564
  ac_status=$?
19713
20565
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714
20566
  (exit $ac_status); }; }; then
19717
20569
  echo "$as_me: failed program was:" >&5
19718
20570
sed 's/^/| /' conftest.$ac_ext >&5
19719
20571
 
19720
 
ac_cv_lib_m_sin=no
 
20572
        ac_cv_lib_m_sin=no
19721
20573
fi
19722
 
rm -f conftest.err conftest.$ac_objext \
 
20574
 
 
20575
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19723
20576
      conftest$ac_exeext conftest.$ac_ext
19724
20577
LIBS=$ac_check_lib_save_LIBS
19725
20578
fi
19726
 
echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
19727
 
echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
 
20579
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
 
20580
echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
19728
20581
if test $ac_cv_lib_m_sin = yes; then
19729
20582
  cat >>confdefs.h <<_ACEOF
19730
20583
#define HAVE_LIBM 1
19744
20597
 
19745
20598
 
19746
20599
 
19747
 
    ALL_LINGUAS="de hu"
 
20600
    ALL_LINGUAS="de fr hu pt_BR"
19748
20601
 
19749
20602
 
19750
20603
for ac_header in locale.h
19751
20604
do
19752
20605
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19753
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19754
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
19755
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19756
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
20606
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20607
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20608
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20609
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19757
20610
  echo $ECHO_N "(cached) $ECHO_C" >&6
19758
20611
fi
19759
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19760
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20612
ac_res=`eval echo '${'$as_ac_Header'}'`
 
20613
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20614
echo "${ECHO_T}$ac_res" >&6; }
19761
20615
else
19762
20616
  # Is the header compilable?
19763
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
19764
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
20617
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20618
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19765
20619
cat >conftest.$ac_ext <<_ACEOF
19766
20620
/* confdefs.h.  */
19767
20621
_ACEOF
19772
20626
#include <$ac_header>
19773
20627
_ACEOF
19774
20628
rm -f conftest.$ac_objext
19775
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19776
 
  (eval $ac_compile) 2>conftest.er1
 
20629
if { (ac_try="$ac_compile"
 
20630
case "(($ac_try" in
 
20631
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20632
  *) ac_try_echo=$ac_try;;
 
20633
esac
 
20634
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20635
  (eval "$ac_compile") 2>conftest.er1
19777
20636
  ac_status=$?
19778
20637
  grep -v '^ *+' conftest.er1 >conftest.err
19779
20638
  rm -f conftest.er1
19780
20639
  cat conftest.err >&5
19781
20640
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782
20641
  (exit $ac_status); } &&
19783
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19784
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19785
 
  (eval $ac_try) 2>&5
 
20642
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20643
  { (case "(($ac_try" in
 
20644
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20645
  *) ac_try_echo=$ac_try;;
 
20646
esac
 
20647
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20648
  (eval "$ac_try") 2>&5
19786
20649
  ac_status=$?
19787
20650
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788
20651
  (exit $ac_status); }; } &&
19789
20652
         { ac_try='test -s conftest.$ac_objext'
19790
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19791
 
  (eval $ac_try) 2>&5
 
20653
  { (case "(($ac_try" in
 
20654
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20655
  *) ac_try_echo=$ac_try;;
 
20656
esac
 
20657
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20658
  (eval "$ac_try") 2>&5
19792
20659
  ac_status=$?
19793
20660
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794
20661
  (exit $ac_status); }; }; then
19797
20664
  echo "$as_me: failed program was:" >&5
19798
20665
sed 's/^/| /' conftest.$ac_ext >&5
19799
20666
 
19800
 
ac_header_compiler=no
 
20667
        ac_header_compiler=no
19801
20668
fi
19802
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19803
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19804
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
20669
 
 
20670
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20671
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20672
echo "${ECHO_T}$ac_header_compiler" >&6; }
19805
20673
 
19806
20674
# Is the header present?
19807
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
19808
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
20675
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20676
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19809
20677
cat >conftest.$ac_ext <<_ACEOF
19810
20678
/* confdefs.h.  */
19811
20679
_ACEOF
19814
20682
/* end confdefs.h.  */
19815
20683
#include <$ac_header>
19816
20684
_ACEOF
19817
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19818
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20685
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
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_cpp conftest.$ac_ext") 2>conftest.er1
19819
20692
  ac_status=$?
19820
20693
  grep -v '^ *+' conftest.er1 >conftest.err
19821
20694
  rm -f conftest.er1
19839
20712
 
19840
20713
  ac_header_preproc=no
19841
20714
fi
 
20715
 
19842
20716
rm -f conftest.err conftest.$ac_ext
19843
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19844
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
20717
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20718
echo "${ECHO_T}$ac_header_preproc" >&6; }
19845
20719
 
19846
20720
# So?  What about this header?
19847
20721
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19865
20739
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19866
20740
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19867
20741
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19868
 
    (
19869
 
      cat <<\_ASBOX
 
20742
    ( cat <<\_ASBOX
19870
20743
## ----------------------------------- ##
19871
20744
## Report this to goodies-dev@xfce.org ##
19872
20745
## ----------------------------------- ##
19873
20746
_ASBOX
19874
 
    ) |
19875
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
20747
     ) | sed "s/^/$as_me: WARNING:     /" >&2
19876
20748
    ;;
19877
20749
esac
19878
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
19879
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19880
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
20750
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20751
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20752
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19881
20753
  echo $ECHO_N "(cached) $ECHO_C" >&6
19882
20754
else
19883
20755
  eval "$as_ac_Header=\$ac_header_preproc"
19884
20756
fi
19885
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19886
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20757
ac_res=`eval echo '${'$as_ac_Header'}'`
 
20758
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20759
echo "${ECHO_T}$ac_res" >&6; }
19887
20760
 
19888
20761
fi
19889
20762
if test `eval echo '${'$as_ac_Header'}'` = yes; then
19896
20769
done
19897
20770
 
19898
20771
    if test $ac_cv_header_locale_h = yes; then
19899
 
    echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
19900
 
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
 
20772
    { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
20773
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
19901
20774
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
19902
20775
  echo $ECHO_N "(cached) $ECHO_C" >&6
19903
20776
else
19917
20790
}
19918
20791
_ACEOF
19919
20792
rm -f conftest.$ac_objext conftest$ac_exeext
19920
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19921
 
  (eval $ac_link) 2>conftest.er1
 
20793
if { (ac_try="$ac_link"
 
20794
case "(($ac_try" in
 
20795
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20796
  *) ac_try_echo=$ac_try;;
 
20797
esac
 
20798
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20799
  (eval "$ac_link") 2>conftest.er1
19922
20800
  ac_status=$?
19923
20801
  grep -v '^ *+' conftest.er1 >conftest.err
19924
20802
  rm -f conftest.er1
19925
20803
  cat conftest.err >&5
19926
20804
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927
20805
  (exit $ac_status); } &&
19928
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19929
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19930
 
  (eval $ac_try) 2>&5
 
20806
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20807
  { (case "(($ac_try" in
 
20808
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20809
  *) ac_try_echo=$ac_try;;
 
20810
esac
 
20811
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20812
  (eval "$ac_try") 2>&5
19931
20813
  ac_status=$?
19932
20814
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933
20815
  (exit $ac_status); }; } &&
19934
20816
         { ac_try='test -s conftest$ac_exeext'
19935
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936
 
  (eval $ac_try) 2>&5
 
20817
  { (case "(($ac_try" in
 
20818
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20819
  *) ac_try_echo=$ac_try;;
 
20820
esac
 
20821
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20822
  (eval "$ac_try") 2>&5
19937
20823
  ac_status=$?
19938
20824
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939
20825
  (exit $ac_status); }; }; then
19942
20828
  echo "$as_me: failed program was:" >&5
19943
20829
sed 's/^/| /' conftest.$ac_ext >&5
19944
20830
 
19945
 
am_cv_val_LC_MESSAGES=no
 
20831
        am_cv_val_LC_MESSAGES=no
19946
20832
fi
19947
 
rm -f conftest.err conftest.$ac_objext \
 
20833
 
 
20834
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19948
20835
      conftest$ac_exeext conftest.$ac_ext
19949
20836
fi
19950
 
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
19951
 
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
 
20837
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
20838
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
19952
20839
    if test $am_cv_val_LC_MESSAGES = yes; then
19953
20840
 
19954
20841
cat >>confdefs.h <<\_ACEOF
19967
20854
    INTLLIBS=
19968
20855
 
19969
20856
    if test "${ac_cv_header_libintl_h+set}" = set; then
19970
 
  echo "$as_me:$LINENO: checking for libintl.h" >&5
19971
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
 
20857
  { echo "$as_me:$LINENO: checking for libintl.h" >&5
 
20858
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
19972
20859
if test "${ac_cv_header_libintl_h+set}" = set; then
19973
20860
  echo $ECHO_N "(cached) $ECHO_C" >&6
19974
20861
fi
19975
 
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
19976
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
 
20862
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
20863
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
19977
20864
else
19978
20865
  # Is the header compilable?
19979
 
echo "$as_me:$LINENO: checking libintl.h usability" >&5
19980
 
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
 
20866
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
 
20867
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
19981
20868
cat >conftest.$ac_ext <<_ACEOF
19982
20869
/* confdefs.h.  */
19983
20870
_ACEOF
19988
20875
#include <libintl.h>
19989
20876
_ACEOF
19990
20877
rm -f conftest.$ac_objext
19991
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19992
 
  (eval $ac_compile) 2>conftest.er1
 
20878
if { (ac_try="$ac_compile"
 
20879
case "(($ac_try" in
 
20880
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20881
  *) ac_try_echo=$ac_try;;
 
20882
esac
 
20883
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20884
  (eval "$ac_compile") 2>conftest.er1
19993
20885
  ac_status=$?
19994
20886
  grep -v '^ *+' conftest.er1 >conftest.err
19995
20887
  rm -f conftest.er1
19996
20888
  cat conftest.err >&5
19997
20889
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998
20890
  (exit $ac_status); } &&
19999
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20000
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001
 
  (eval $ac_try) 2>&5
 
20891
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20892
  { (case "(($ac_try" in
 
20893
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20894
  *) ac_try_echo=$ac_try;;
 
20895
esac
 
20896
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20897
  (eval "$ac_try") 2>&5
20002
20898
  ac_status=$?
20003
20899
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004
20900
  (exit $ac_status); }; } &&
20005
20901
         { ac_try='test -s conftest.$ac_objext'
20006
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007
 
  (eval $ac_try) 2>&5
 
20902
  { (case "(($ac_try" in
 
20903
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20904
  *) ac_try_echo=$ac_try;;
 
20905
esac
 
20906
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20907
  (eval "$ac_try") 2>&5
20008
20908
  ac_status=$?
20009
20909
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010
20910
  (exit $ac_status); }; }; then
20013
20913
  echo "$as_me: failed program was:" >&5
20014
20914
sed 's/^/| /' conftest.$ac_ext >&5
20015
20915
 
20016
 
ac_header_compiler=no
 
20916
        ac_header_compiler=no
20017
20917
fi
20018
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20019
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20020
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
20918
 
 
20919
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20920
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20921
echo "${ECHO_T}$ac_header_compiler" >&6; }
20021
20922
 
20022
20923
# Is the header present?
20023
 
echo "$as_me:$LINENO: checking libintl.h presence" >&5
20024
 
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
 
20924
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
 
20925
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
20025
20926
cat >conftest.$ac_ext <<_ACEOF
20026
20927
/* confdefs.h.  */
20027
20928
_ACEOF
20030
20931
/* end confdefs.h.  */
20031
20932
#include <libintl.h>
20032
20933
_ACEOF
20033
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20034
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20934
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20935
case "(($ac_try" in
 
20936
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20937
  *) ac_try_echo=$ac_try;;
 
20938
esac
 
20939
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20940
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20035
20941
  ac_status=$?
20036
20942
  grep -v '^ *+' conftest.er1 >conftest.err
20037
20943
  rm -f conftest.er1
20055
20961
 
20056
20962
  ac_header_preproc=no
20057
20963
fi
 
20964
 
20058
20965
rm -f conftest.err conftest.$ac_ext
20059
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20060
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
20966
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20967
echo "${ECHO_T}$ac_header_preproc" >&6; }
20061
20968
 
20062
20969
# So?  What about this header?
20063
20970
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20081
20988
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
20082
20989
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
20083
20990
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
20084
 
    (
20085
 
      cat <<\_ASBOX
 
20991
    ( cat <<\_ASBOX
20086
20992
## ----------------------------------- ##
20087
20993
## Report this to goodies-dev@xfce.org ##
20088
20994
## ----------------------------------- ##
20089
20995
_ASBOX
20090
 
    ) |
20091
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
20996
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20092
20997
    ;;
20093
20998
esac
20094
 
echo "$as_me:$LINENO: checking for libintl.h" >&5
20095
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
 
20999
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
 
21000
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
20096
21001
if test "${ac_cv_header_libintl_h+set}" = set; then
20097
21002
  echo $ECHO_N "(cached) $ECHO_C" >&6
20098
21003
else
20099
21004
  ac_cv_header_libintl_h=$ac_header_preproc
20100
21005
fi
20101
 
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
20102
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
 
21006
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
21007
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
20103
21008
 
20104
21009
fi
20105
21010
if test $ac_cv_header_libintl_h = yes; then
20109
21014
      #
20110
21015
      # First check in libc
20111
21016
      #
20112
 
      echo "$as_me:$LINENO: checking for ngettext in libc" >&5
20113
 
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6
 
21017
      { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
21018
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
20114
21019
if test "${gt_cv_func_ngettext_libc+set}" = set; then
20115
21020
  echo $ECHO_N "(cached) $ECHO_C" >&6
20116
21021
else
20132
21037
}
20133
21038
_ACEOF
20134
21039
rm -f conftest.$ac_objext conftest$ac_exeext
20135
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20136
 
  (eval $ac_link) 2>conftest.er1
 
21040
if { (ac_try="$ac_link"
 
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_link") 2>conftest.er1
20137
21047
  ac_status=$?
20138
21048
  grep -v '^ *+' conftest.er1 >conftest.err
20139
21049
  rm -f conftest.er1
20140
21050
  cat conftest.err >&5
20141
21051
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142
21052
  (exit $ac_status); } &&
20143
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20144
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20145
 
  (eval $ac_try) 2>&5
 
21053
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21054
  { (case "(($ac_try" in
 
21055
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21056
  *) ac_try_echo=$ac_try;;
 
21057
esac
 
21058
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21059
  (eval "$ac_try") 2>&5
20146
21060
  ac_status=$?
20147
21061
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148
21062
  (exit $ac_status); }; } &&
20149
21063
         { ac_try='test -s conftest$ac_exeext'
20150
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151
 
  (eval $ac_try) 2>&5
 
21064
  { (case "(($ac_try" in
 
21065
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21066
  *) ac_try_echo=$ac_try;;
 
21067
esac
 
21068
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21069
  (eval "$ac_try") 2>&5
20152
21070
  ac_status=$?
20153
21071
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154
21072
  (exit $ac_status); }; }; then
20157
21075
  echo "$as_me: failed program was:" >&5
20158
21076
sed 's/^/| /' conftest.$ac_ext >&5
20159
21077
 
20160
 
gt_cv_func_ngettext_libc=no
 
21078
        gt_cv_func_ngettext_libc=no
20161
21079
fi
20162
 
rm -f conftest.err conftest.$ac_objext \
 
21080
 
 
21081
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20163
21082
      conftest$ac_exeext conftest.$ac_ext
20164
21083
 
20165
21084
fi
20166
 
echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
20167
 
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6
 
21085
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
21086
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
20168
21087
 
20169
21088
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20170
 
              echo "$as_me:$LINENO: checking for dgettext in libc" >&5
20171
 
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
 
21089
              { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
21090
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
20172
21091
if test "${gt_cv_func_dgettext_libc+set}" = set; then
20173
21092
  echo $ECHO_N "(cached) $ECHO_C" >&6
20174
21093
else
20190
21109
}
20191
21110
_ACEOF
20192
21111
rm -f conftest.$ac_objext conftest$ac_exeext
20193
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20194
 
  (eval $ac_link) 2>conftest.er1
 
21112
if { (ac_try="$ac_link"
 
21113
case "(($ac_try" in
 
21114
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21115
  *) ac_try_echo=$ac_try;;
 
21116
esac
 
21117
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21118
  (eval "$ac_link") 2>conftest.er1
20195
21119
  ac_status=$?
20196
21120
  grep -v '^ *+' conftest.er1 >conftest.err
20197
21121
  rm -f conftest.er1
20198
21122
  cat conftest.err >&5
20199
21123
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200
21124
  (exit $ac_status); } &&
20201
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20202
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203
 
  (eval $ac_try) 2>&5
 
21125
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21126
  { (case "(($ac_try" in
 
21127
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21128
  *) ac_try_echo=$ac_try;;
 
21129
esac
 
21130
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21131
  (eval "$ac_try") 2>&5
20204
21132
  ac_status=$?
20205
21133
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206
21134
  (exit $ac_status); }; } &&
20207
21135
         { ac_try='test -s conftest$ac_exeext'
20208
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20209
 
  (eval $ac_try) 2>&5
 
21136
  { (case "(($ac_try" in
 
21137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21138
  *) ac_try_echo=$ac_try;;
 
21139
esac
 
21140
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21141
  (eval "$ac_try") 2>&5
20210
21142
  ac_status=$?
20211
21143
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212
21144
  (exit $ac_status); }; }; then
20215
21147
  echo "$as_me: failed program was:" >&5
20216
21148
sed 's/^/| /' conftest.$ac_ext >&5
20217
21149
 
20218
 
gt_cv_func_dgettext_libc=no
 
21150
        gt_cv_func_dgettext_libc=no
20219
21151
fi
20220
 
rm -f conftest.err conftest.$ac_objext \
 
21152
 
 
21153
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20221
21154
      conftest$ac_exeext conftest.$ac_ext
20222
21155
 
20223
21156
fi
20224
 
echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
20225
 
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
 
21157
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
21158
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
20226
21159
      fi
20227
21160
 
20228
21161
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20230
21163
for ac_func in bind_textdomain_codeset
20231
21164
do
20232
21165
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20233
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
20234
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20235
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
21166
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21167
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
21168
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20236
21169
  echo $ECHO_N "(cached) $ECHO_C" >&6
20237
21170
else
20238
21171
  cat >conftest.$ac_ext <<_ACEOF
20258
21191
 
20259
21192
#undef $ac_func
20260
21193
 
20261
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21194
/* Override any GCC internal prototype to avoid an error.
 
21195
   Use char because int might match the return type of a GCC
 
21196
   builtin and then its argument prototype would still apply.  */
20262
21197
#ifdef __cplusplus
20263
21198
extern "C"
20264
 
{
20265
21199
#endif
20266
 
/* We use char because int might match the return type of a gcc2
20267
 
   builtin and then its argument prototype would still apply.  */
20268
21200
char $ac_func ();
20269
21201
/* The GNU C library defines this for functions which it implements
20270
21202
    to always fail with ENOSYS.  Some functions are actually named
20271
21203
    something starting with __ and the normal name is an alias.  */
20272
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21204
#if defined __stub_$ac_func || defined __stub___$ac_func
20273
21205
choke me
20274
 
#else
20275
 
char (*f) () = $ac_func;
20276
 
#endif
20277
 
#ifdef __cplusplus
20278
 
}
20279
21206
#endif
20280
21207
 
20281
21208
int
20282
21209
main ()
20283
21210
{
20284
 
return f != $ac_func;
 
21211
return $ac_func ();
20285
21212
  ;
20286
21213
  return 0;
20287
21214
}
20288
21215
_ACEOF
20289
21216
rm -f conftest.$ac_objext conftest$ac_exeext
20290
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20291
 
  (eval $ac_link) 2>conftest.er1
 
21217
if { (ac_try="$ac_link"
 
21218
case "(($ac_try" in
 
21219
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21220
  *) ac_try_echo=$ac_try;;
 
21221
esac
 
21222
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21223
  (eval "$ac_link") 2>conftest.er1
20292
21224
  ac_status=$?
20293
21225
  grep -v '^ *+' conftest.er1 >conftest.err
20294
21226
  rm -f conftest.er1
20295
21227
  cat conftest.err >&5
20296
21228
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297
21229
  (exit $ac_status); } &&
20298
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20299
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20300
 
  (eval $ac_try) 2>&5
 
21230
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21231
  { (case "(($ac_try" in
 
21232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21233
  *) ac_try_echo=$ac_try;;
 
21234
esac
 
21235
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21236
  (eval "$ac_try") 2>&5
20301
21237
  ac_status=$?
20302
21238
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303
21239
  (exit $ac_status); }; } &&
20304
21240
         { ac_try='test -s conftest$ac_exeext'
20305
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20306
 
  (eval $ac_try) 2>&5
 
21241
  { (case "(($ac_try" in
 
21242
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21243
  *) ac_try_echo=$ac_try;;
 
21244
esac
 
21245
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21246
  (eval "$ac_try") 2>&5
20307
21247
  ac_status=$?
20308
21248
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309
21249
  (exit $ac_status); }; }; then
20312
21252
  echo "$as_me: failed program was:" >&5
20313
21253
sed 's/^/| /' conftest.$ac_ext >&5
20314
21254
 
20315
 
eval "$as_ac_var=no"
 
21255
        eval "$as_ac_var=no"
20316
21256
fi
20317
 
rm -f conftest.err conftest.$ac_objext \
 
21257
 
 
21258
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20318
21259
      conftest$ac_exeext conftest.$ac_ext
20319
21260
fi
20320
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20321
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
21261
ac_res=`eval echo '${'$as_ac_var'}'`
 
21262
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21263
echo "${ECHO_T}$ac_res" >&6; }
20322
21264
if test `eval echo '${'$as_ac_var'}'` = yes; then
20323
21265
  cat >>confdefs.h <<_ACEOF
20324
21266
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20336
21278
         || test "$gt_cv_func_ngettext_libc" != "yes" \
20337
21279
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
20338
21280
 
20339
 
        echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
20340
 
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
 
21281
        { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
21282
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
20341
21283
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
20342
21284
  echo $ECHO_N "(cached) $ECHO_C" >&6
20343
21285
else
20350
21292
cat >>conftest.$ac_ext <<_ACEOF
20351
21293
/* end confdefs.h.  */
20352
21294
 
20353
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21295
/* Override any GCC internal prototype to avoid an error.
 
21296
   Use char because int might match the return type of a GCC
 
21297
   builtin and then its argument prototype would still apply.  */
20354
21298
#ifdef __cplusplus
20355
21299
extern "C"
20356
21300
#endif
20357
 
/* We use char because int might match the return type of a gcc2
20358
 
   builtin and then its argument prototype would still apply.  */
20359
21301
char bindtextdomain ();
20360
21302
int
20361
21303
main ()
20362
21304
{
20363
 
bindtextdomain ();
 
21305
return bindtextdomain ();
20364
21306
  ;
20365
21307
  return 0;
20366
21308
}
20367
21309
_ACEOF
20368
21310
rm -f conftest.$ac_objext conftest$ac_exeext
20369
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20370
 
  (eval $ac_link) 2>conftest.er1
 
21311
if { (ac_try="$ac_link"
 
21312
case "(($ac_try" in
 
21313
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21314
  *) ac_try_echo=$ac_try;;
 
21315
esac
 
21316
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21317
  (eval "$ac_link") 2>conftest.er1
20371
21318
  ac_status=$?
20372
21319
  grep -v '^ *+' conftest.er1 >conftest.err
20373
21320
  rm -f conftest.er1
20374
21321
  cat conftest.err >&5
20375
21322
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20376
21323
  (exit $ac_status); } &&
20377
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20378
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20379
 
  (eval $ac_try) 2>&5
 
21324
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21325
  { (case "(($ac_try" in
 
21326
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21327
  *) ac_try_echo=$ac_try;;
 
21328
esac
 
21329
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21330
  (eval "$ac_try") 2>&5
20380
21331
  ac_status=$?
20381
21332
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382
21333
  (exit $ac_status); }; } &&
20383
21334
         { ac_try='test -s conftest$ac_exeext'
20384
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20385
 
  (eval $ac_try) 2>&5
 
21335
  { (case "(($ac_try" in
 
21336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21337
  *) ac_try_echo=$ac_try;;
 
21338
esac
 
21339
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21340
  (eval "$ac_try") 2>&5
20386
21341
  ac_status=$?
20387
21342
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20388
21343
  (exit $ac_status); }; }; then
20391
21346
  echo "$as_me: failed program was:" >&5
20392
21347
sed 's/^/| /' conftest.$ac_ext >&5
20393
21348
 
20394
 
ac_cv_lib_intl_bindtextdomain=no
 
21349
        ac_cv_lib_intl_bindtextdomain=no
20395
21350
fi
20396
 
rm -f conftest.err conftest.$ac_objext \
 
21351
 
 
21352
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20397
21353
      conftest$ac_exeext conftest.$ac_ext
20398
21354
LIBS=$ac_check_lib_save_LIBS
20399
21355
fi
20400
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
20401
 
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
 
21356
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
21357
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
20402
21358
if test $ac_cv_lib_intl_bindtextdomain = yes; then
20403
 
  echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
20404
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
 
21359
  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
21360
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
20405
21361
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
20406
21362
  echo $ECHO_N "(cached) $ECHO_C" >&6
20407
21363
else
20414
21370
cat >>conftest.$ac_ext <<_ACEOF
20415
21371
/* end confdefs.h.  */
20416
21372
 
20417
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21373
/* Override any GCC internal prototype to avoid an error.
 
21374
   Use char because int might match the return type of a GCC
 
21375
   builtin and then its argument prototype would still apply.  */
20418
21376
#ifdef __cplusplus
20419
21377
extern "C"
20420
21378
#endif
20421
 
/* We use char because int might match the return type of a gcc2
20422
 
   builtin and then its argument prototype would still apply.  */
20423
21379
char ngettext ();
20424
21380
int
20425
21381
main ()
20426
21382
{
20427
 
ngettext ();
 
21383
return ngettext ();
20428
21384
  ;
20429
21385
  return 0;
20430
21386
}
20431
21387
_ACEOF
20432
21388
rm -f conftest.$ac_objext conftest$ac_exeext
20433
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20434
 
  (eval $ac_link) 2>conftest.er1
 
21389
if { (ac_try="$ac_link"
 
21390
case "(($ac_try" in
 
21391
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21392
  *) ac_try_echo=$ac_try;;
 
21393
esac
 
21394
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21395
  (eval "$ac_link") 2>conftest.er1
20435
21396
  ac_status=$?
20436
21397
  grep -v '^ *+' conftest.er1 >conftest.err
20437
21398
  rm -f conftest.er1
20438
21399
  cat conftest.err >&5
20439
21400
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440
21401
  (exit $ac_status); } &&
20441
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20442
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20443
 
  (eval $ac_try) 2>&5
 
21402
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21403
  { (case "(($ac_try" in
 
21404
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21405
  *) ac_try_echo=$ac_try;;
 
21406
esac
 
21407
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21408
  (eval "$ac_try") 2>&5
20444
21409
  ac_status=$?
20445
21410
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446
21411
  (exit $ac_status); }; } &&
20447
21412
         { ac_try='test -s conftest$ac_exeext'
20448
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20449
 
  (eval $ac_try) 2>&5
 
21413
  { (case "(($ac_try" in
 
21414
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21415
  *) ac_try_echo=$ac_try;;
 
21416
esac
 
21417
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21418
  (eval "$ac_try") 2>&5
20450
21419
  ac_status=$?
20451
21420
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452
21421
  (exit $ac_status); }; }; then
20455
21424
  echo "$as_me: failed program was:" >&5
20456
21425
sed 's/^/| /' conftest.$ac_ext >&5
20457
21426
 
20458
 
ac_cv_lib_intl_ngettext=no
 
21427
        ac_cv_lib_intl_ngettext=no
20459
21428
fi
20460
 
rm -f conftest.err conftest.$ac_objext \
 
21429
 
 
21430
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20461
21431
      conftest$ac_exeext conftest.$ac_ext
20462
21432
LIBS=$ac_check_lib_save_LIBS
20463
21433
fi
20464
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
20465
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
 
21434
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
21435
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
20466
21436
if test $ac_cv_lib_intl_ngettext = yes; then
20467
 
  echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
20468
 
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
 
21437
  { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
21438
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
20469
21439
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
20470
21440
  echo $ECHO_N "(cached) $ECHO_C" >&6
20471
21441
else
20478
21448
cat >>conftest.$ac_ext <<_ACEOF
20479
21449
/* end confdefs.h.  */
20480
21450
 
20481
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21451
/* Override any GCC internal prototype to avoid an error.
 
21452
   Use char because int might match the return type of a GCC
 
21453
   builtin and then its argument prototype would still apply.  */
20482
21454
#ifdef __cplusplus
20483
21455
extern "C"
20484
21456
#endif
20485
 
/* We use char because int might match the return type of a gcc2
20486
 
   builtin and then its argument prototype would still apply.  */
20487
21457
char dgettext ();
20488
21458
int
20489
21459
main ()
20490
21460
{
20491
 
dgettext ();
 
21461
return dgettext ();
20492
21462
  ;
20493
21463
  return 0;
20494
21464
}
20495
21465
_ACEOF
20496
21466
rm -f conftest.$ac_objext conftest$ac_exeext
20497
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20498
 
  (eval $ac_link) 2>conftest.er1
 
21467
if { (ac_try="$ac_link"
 
21468
case "(($ac_try" in
 
21469
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21470
  *) ac_try_echo=$ac_try;;
 
21471
esac
 
21472
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21473
  (eval "$ac_link") 2>conftest.er1
20499
21474
  ac_status=$?
20500
21475
  grep -v '^ *+' conftest.er1 >conftest.err
20501
21476
  rm -f conftest.er1
20502
21477
  cat conftest.err >&5
20503
21478
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20504
21479
  (exit $ac_status); } &&
20505
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20506
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507
 
  (eval $ac_try) 2>&5
 
21480
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21481
  { (case "(($ac_try" in
 
21482
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21483
  *) ac_try_echo=$ac_try;;
 
21484
esac
 
21485
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21486
  (eval "$ac_try") 2>&5
20508
21487
  ac_status=$?
20509
21488
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510
21489
  (exit $ac_status); }; } &&
20511
21490
         { ac_try='test -s conftest$ac_exeext'
20512
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513
 
  (eval $ac_try) 2>&5
 
21491
  { (case "(($ac_try" in
 
21492
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21493
  *) ac_try_echo=$ac_try;;
 
21494
esac
 
21495
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21496
  (eval "$ac_try") 2>&5
20514
21497
  ac_status=$?
20515
21498
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516
21499
  (exit $ac_status); }; }; then
20519
21502
  echo "$as_me: failed program was:" >&5
20520
21503
sed 's/^/| /' conftest.$ac_ext >&5
20521
21504
 
20522
 
ac_cv_lib_intl_dgettext=no
 
21505
        ac_cv_lib_intl_dgettext=no
20523
21506
fi
20524
 
rm -f conftest.err conftest.$ac_objext \
 
21507
 
 
21508
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20525
21509
      conftest$ac_exeext conftest.$ac_ext
20526
21510
LIBS=$ac_check_lib_save_LIBS
20527
21511
fi
20528
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
20529
 
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
 
21512
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
21513
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
20530
21514
if test $ac_cv_lib_intl_dgettext = yes; then
20531
21515
  gt_cv_func_dgettext_libintl=yes
20532
21516
fi
20537
21521
 
20538
21522
 
20539
21523
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
20540
 
          echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
20541
 
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
20542
 
          echo "$as_me:$LINENO: result: " >&5
20543
 
echo "${ECHO_T}" >&6
20544
 
          echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
20545
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
 
21524
          { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
21525
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
 
21526
          { echo "$as_me:$LINENO: result: " >&5
 
21527
echo "${ECHO_T}" >&6; }
 
21528
          { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
21529
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
20546
21530
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
20547
21531
  echo $ECHO_N "(cached) $ECHO_C" >&6
20548
21532
else
20555
21539
cat >>conftest.$ac_ext <<_ACEOF
20556
21540
/* end confdefs.h.  */
20557
21541
 
20558
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21542
/* Override any GCC internal prototype to avoid an error.
 
21543
   Use char because int might match the return type of a GCC
 
21544
   builtin and then its argument prototype would still apply.  */
20559
21545
#ifdef __cplusplus
20560
21546
extern "C"
20561
21547
#endif
20562
 
/* We use char because int might match the return type of a gcc2
20563
 
   builtin and then its argument prototype would still apply.  */
20564
21548
char ngettext ();
20565
21549
int
20566
21550
main ()
20567
21551
{
20568
 
ngettext ();
 
21552
return ngettext ();
20569
21553
  ;
20570
21554
  return 0;
20571
21555
}
20572
21556
_ACEOF
20573
21557
rm -f conftest.$ac_objext conftest$ac_exeext
20574
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20575
 
  (eval $ac_link) 2>conftest.er1
 
21558
if { (ac_try="$ac_link"
 
21559
case "(($ac_try" in
 
21560
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21561
  *) ac_try_echo=$ac_try;;
 
21562
esac
 
21563
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21564
  (eval "$ac_link") 2>conftest.er1
20576
21565
  ac_status=$?
20577
21566
  grep -v '^ *+' conftest.er1 >conftest.err
20578
21567
  rm -f conftest.er1
20579
21568
  cat conftest.err >&5
20580
21569
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581
21570
  (exit $ac_status); } &&
20582
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20583
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20584
 
  (eval $ac_try) 2>&5
 
21571
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21572
  { (case "(($ac_try" in
 
21573
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21574
  *) ac_try_echo=$ac_try;;
 
21575
esac
 
21576
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21577
  (eval "$ac_try") 2>&5
20585
21578
  ac_status=$?
20586
21579
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587
21580
  (exit $ac_status); }; } &&
20588
21581
         { ac_try='test -s conftest$ac_exeext'
20589
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590
 
  (eval $ac_try) 2>&5
 
21582
  { (case "(($ac_try" in
 
21583
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21584
  *) ac_try_echo=$ac_try;;
 
21585
esac
 
21586
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21587
  (eval "$ac_try") 2>&5
20591
21588
  ac_status=$?
20592
21589
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593
21590
  (exit $ac_status); }; }; then
20596
21593
  echo "$as_me: failed program was:" >&5
20597
21594
sed 's/^/| /' conftest.$ac_ext >&5
20598
21595
 
20599
 
ac_cv_lib_intl_ngettext=no
 
21596
        ac_cv_lib_intl_ngettext=no
20600
21597
fi
20601
 
rm -f conftest.err conftest.$ac_objext \
 
21598
 
 
21599
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20602
21600
      conftest$ac_exeext conftest.$ac_ext
20603
21601
LIBS=$ac_check_lib_save_LIBS
20604
21602
fi
20605
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
20606
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
 
21603
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
21604
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
20607
21605
if test $ac_cv_lib_intl_ngettext = yes; then
20608
 
  echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
20609
 
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
 
21606
  { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
21607
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
20610
21608
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
20611
21609
  echo $ECHO_N "(cached) $ECHO_C" >&6
20612
21610
else
20619
21617
cat >>conftest.$ac_ext <<_ACEOF
20620
21618
/* end confdefs.h.  */
20621
21619
 
20622
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21620
/* Override any GCC internal prototype to avoid an error.
 
21621
   Use char because int might match the return type of a GCC
 
21622
   builtin and then its argument prototype would still apply.  */
20623
21623
#ifdef __cplusplus
20624
21624
extern "C"
20625
21625
#endif
20626
 
/* We use char because int might match the return type of a gcc2
20627
 
   builtin and then its argument prototype would still apply.  */
20628
21626
char dcgettext ();
20629
21627
int
20630
21628
main ()
20631
21629
{
20632
 
dcgettext ();
 
21630
return dcgettext ();
20633
21631
  ;
20634
21632
  return 0;
20635
21633
}
20636
21634
_ACEOF
20637
21635
rm -f conftest.$ac_objext conftest$ac_exeext
20638
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20639
 
  (eval $ac_link) 2>conftest.er1
 
21636
if { (ac_try="$ac_link"
 
21637
case "(($ac_try" in
 
21638
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21639
  *) ac_try_echo=$ac_try;;
 
21640
esac
 
21641
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21642
  (eval "$ac_link") 2>conftest.er1
20640
21643
  ac_status=$?
20641
21644
  grep -v '^ *+' conftest.er1 >conftest.err
20642
21645
  rm -f conftest.er1
20643
21646
  cat conftest.err >&5
20644
21647
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645
21648
  (exit $ac_status); } &&
20646
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20647
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648
 
  (eval $ac_try) 2>&5
 
21649
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21650
  { (case "(($ac_try" in
 
21651
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21652
  *) ac_try_echo=$ac_try;;
 
21653
esac
 
21654
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21655
  (eval "$ac_try") 2>&5
20649
21656
  ac_status=$?
20650
21657
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651
21658
  (exit $ac_status); }; } &&
20652
21659
         { ac_try='test -s conftest$ac_exeext'
20653
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654
 
  (eval $ac_try) 2>&5
 
21660
  { (case "(($ac_try" in
 
21661
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21662
  *) ac_try_echo=$ac_try;;
 
21663
esac
 
21664
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21665
  (eval "$ac_try") 2>&5
20655
21666
  ac_status=$?
20656
21667
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657
21668
  (exit $ac_status); }; }; then
20660
21671
  echo "$as_me: failed program was:" >&5
20661
21672
sed 's/^/| /' conftest.$ac_ext >&5
20662
21673
 
20663
 
ac_cv_lib_intl_dcgettext=no
 
21674
        ac_cv_lib_intl_dcgettext=no
20664
21675
fi
20665
 
rm -f conftest.err conftest.$ac_objext \
 
21676
 
 
21677
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20666
21678
      conftest$ac_exeext conftest.$ac_ext
20667
21679
LIBS=$ac_check_lib_save_LIBS
20668
21680
fi
20669
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
20670
 
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
 
21681
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
21682
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
20671
21683
if test $ac_cv_lib_intl_dcgettext = yes; then
20672
21684
  gt_cv_func_dgettext_libintl=yes
20673
21685
                        libintl_extra_libs=-liconv
20694
21706
for ac_func in bind_textdomain_codeset
20695
21707
do
20696
21708
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20697
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
20698
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20699
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
21709
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21710
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
21711
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20700
21712
  echo $ECHO_N "(cached) $ECHO_C" >&6
20701
21713
else
20702
21714
  cat >conftest.$ac_ext <<_ACEOF
20722
21734
 
20723
21735
#undef $ac_func
20724
21736
 
20725
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21737
/* Override any GCC internal prototype to avoid an error.
 
21738
   Use char because int might match the return type of a GCC
 
21739
   builtin and then its argument prototype would still apply.  */
20726
21740
#ifdef __cplusplus
20727
21741
extern "C"
20728
 
{
20729
21742
#endif
20730
 
/* We use char because int might match the return type of a gcc2
20731
 
   builtin and then its argument prototype would still apply.  */
20732
21743
char $ac_func ();
20733
21744
/* The GNU C library defines this for functions which it implements
20734
21745
    to always fail with ENOSYS.  Some functions are actually named
20735
21746
    something starting with __ and the normal name is an alias.  */
20736
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21747
#if defined __stub_$ac_func || defined __stub___$ac_func
20737
21748
choke me
20738
 
#else
20739
 
char (*f) () = $ac_func;
20740
 
#endif
20741
 
#ifdef __cplusplus
20742
 
}
20743
21749
#endif
20744
21750
 
20745
21751
int
20746
21752
main ()
20747
21753
{
20748
 
return f != $ac_func;
 
21754
return $ac_func ();
20749
21755
  ;
20750
21756
  return 0;
20751
21757
}
20752
21758
_ACEOF
20753
21759
rm -f conftest.$ac_objext conftest$ac_exeext
20754
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20755
 
  (eval $ac_link) 2>conftest.er1
 
21760
if { (ac_try="$ac_link"
 
21761
case "(($ac_try" in
 
21762
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21763
  *) ac_try_echo=$ac_try;;
 
21764
esac
 
21765
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21766
  (eval "$ac_link") 2>conftest.er1
20756
21767
  ac_status=$?
20757
21768
  grep -v '^ *+' conftest.er1 >conftest.err
20758
21769
  rm -f conftest.er1
20759
21770
  cat conftest.err >&5
20760
21771
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761
21772
  (exit $ac_status); } &&
20762
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20763
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764
 
  (eval $ac_try) 2>&5
 
21773
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21774
  { (case "(($ac_try" in
 
21775
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21776
  *) ac_try_echo=$ac_try;;
 
21777
esac
 
21778
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21779
  (eval "$ac_try") 2>&5
20765
21780
  ac_status=$?
20766
21781
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767
21782
  (exit $ac_status); }; } &&
20768
21783
         { ac_try='test -s conftest$ac_exeext'
20769
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20770
 
  (eval $ac_try) 2>&5
 
21784
  { (case "(($ac_try" in
 
21785
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21786
  *) ac_try_echo=$ac_try;;
 
21787
esac
 
21788
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21789
  (eval "$ac_try") 2>&5
20771
21790
  ac_status=$?
20772
21791
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773
21792
  (exit $ac_status); }; }; then
20776
21795
  echo "$as_me: failed program was:" >&5
20777
21796
sed 's/^/| /' conftest.$ac_ext >&5
20778
21797
 
20779
 
eval "$as_ac_var=no"
 
21798
        eval "$as_ac_var=no"
20780
21799
fi
20781
 
rm -f conftest.err conftest.$ac_objext \
 
21800
 
 
21801
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20782
21802
      conftest$ac_exeext conftest.$ac_ext
20783
21803
fi
20784
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20785
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
21804
ac_res=`eval echo '${'$as_ac_var'}'`
 
21805
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21806
echo "${ECHO_T}$ac_res" >&6; }
20786
21807
if test `eval echo '${'$as_ac_var'}'` = yes; then
20787
21808
  cat >>confdefs.h <<_ACEOF
20788
21809
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20821
21842
 
20822
21843
        # Extract the first word of "msgfmt", so it can be a program name with args.
20823
21844
set dummy msgfmt; ac_word=$2
20824
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20825
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21845
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21846
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20826
21847
if test "${ac_cv_path_MSGFMT+set}" = set; then
20827
21848
  echo $ECHO_N "(cached) $ECHO_C" >&6
20828
21849
else
20848
21869
fi
20849
21870
MSGFMT="$ac_cv_path_MSGFMT"
20850
21871
if test "$MSGFMT" != "no"; then
20851
 
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
20852
 
echo "${ECHO_T}$MSGFMT" >&6
 
21872
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
21873
echo "${ECHO_T}$MSGFMT" >&6; }
20853
21874
else
20854
 
  echo "$as_me:$LINENO: result: no" >&5
20855
 
echo "${ECHO_T}no" >&6
 
21875
  { echo "$as_me:$LINENO: result: no" >&5
 
21876
echo "${ECHO_T}no" >&6; }
20856
21877
fi
20857
21878
        if test "$MSGFMT" != "no"; then
20858
21879
          glib_save_LIBS="$LIBS"
20861
21882
for ac_func in dcgettext
20862
21883
do
20863
21884
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20864
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
20865
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20866
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
21885
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21886
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
21887
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20867
21888
  echo $ECHO_N "(cached) $ECHO_C" >&6
20868
21889
else
20869
21890
  cat >conftest.$ac_ext <<_ACEOF
20889
21910
 
20890
21911
#undef $ac_func
20891
21912
 
20892
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21913
/* Override any GCC internal prototype to avoid an error.
 
21914
   Use char because int might match the return type of a GCC
 
21915
   builtin and then its argument prototype would still apply.  */
20893
21916
#ifdef __cplusplus
20894
21917
extern "C"
20895
 
{
20896
21918
#endif
20897
 
/* We use char because int might match the return type of a gcc2
20898
 
   builtin and then its argument prototype would still apply.  */
20899
21919
char $ac_func ();
20900
21920
/* The GNU C library defines this for functions which it implements
20901
21921
    to always fail with ENOSYS.  Some functions are actually named
20902
21922
    something starting with __ and the normal name is an alias.  */
20903
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21923
#if defined __stub_$ac_func || defined __stub___$ac_func
20904
21924
choke me
20905
 
#else
20906
 
char (*f) () = $ac_func;
20907
 
#endif
20908
 
#ifdef __cplusplus
20909
 
}
20910
21925
#endif
20911
21926
 
20912
21927
int
20913
21928
main ()
20914
21929
{
20915
 
return f != $ac_func;
 
21930
return $ac_func ();
20916
21931
  ;
20917
21932
  return 0;
20918
21933
}
20919
21934
_ACEOF
20920
21935
rm -f conftest.$ac_objext conftest$ac_exeext
20921
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20922
 
  (eval $ac_link) 2>conftest.er1
 
21936
if { (ac_try="$ac_link"
 
21937
case "(($ac_try" in
 
21938
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21939
  *) ac_try_echo=$ac_try;;
 
21940
esac
 
21941
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21942
  (eval "$ac_link") 2>conftest.er1
20923
21943
  ac_status=$?
20924
21944
  grep -v '^ *+' conftest.er1 >conftest.err
20925
21945
  rm -f conftest.er1
20926
21946
  cat conftest.err >&5
20927
21947
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928
21948
  (exit $ac_status); } &&
20929
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20930
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931
 
  (eval $ac_try) 2>&5
 
21949
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21950
  { (case "(($ac_try" in
 
21951
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21952
  *) ac_try_echo=$ac_try;;
 
21953
esac
 
21954
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21955
  (eval "$ac_try") 2>&5
20932
21956
  ac_status=$?
20933
21957
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934
21958
  (exit $ac_status); }; } &&
20935
21959
         { ac_try='test -s conftest$ac_exeext'
20936
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20937
 
  (eval $ac_try) 2>&5
 
21960
  { (case "(($ac_try" in
 
21961
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21962
  *) ac_try_echo=$ac_try;;
 
21963
esac
 
21964
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21965
  (eval "$ac_try") 2>&5
20938
21966
  ac_status=$?
20939
21967
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940
21968
  (exit $ac_status); }; }; then
20943
21971
  echo "$as_me: failed program was:" >&5
20944
21972
sed 's/^/| /' conftest.$ac_ext >&5
20945
21973
 
20946
 
eval "$as_ac_var=no"
 
21974
        eval "$as_ac_var=no"
20947
21975
fi
20948
 
rm -f conftest.err conftest.$ac_objext \
 
21976
 
 
21977
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20949
21978
      conftest$ac_exeext conftest.$ac_ext
20950
21979
fi
20951
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20952
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
21980
ac_res=`eval echo '${'$as_ac_var'}'`
 
21981
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21982
echo "${ECHO_T}$ac_res" >&6; }
20953
21983
if test `eval echo '${'$as_ac_var'}'` = yes; then
20954
21984
  cat >>confdefs.h <<_ACEOF
20955
21985
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20960
21990
 
20961
21991
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
20962
21992
set dummy gmsgfmt; ac_word=$2
20963
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20964
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21993
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21994
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20965
21995
if test "${ac_cv_path_GMSGFMT+set}" = set; then
20966
21996
  echo $ECHO_N "(cached) $ECHO_C" >&6
20967
21997
else
20976
22006
  IFS=$as_save_IFS
20977
22007
  test -z "$as_dir" && as_dir=.
20978
22008
  for ac_exec_ext in '' $ac_executable_extensions; do
20979
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22009
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
20980
22010
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
20981
22011
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20982
22012
    break 2
20983
22013
  fi
20984
22014
done
20985
22015
done
 
22016
IFS=$as_save_IFS
20986
22017
 
20987
22018
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
20988
22019
  ;;
20989
22020
esac
20990
22021
fi
20991
22022
GMSGFMT=$ac_cv_path_GMSGFMT
20992
 
 
20993
22023
if test -n "$GMSGFMT"; then
20994
 
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
20995
 
echo "${ECHO_T}$GMSGFMT" >&6
 
22024
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
22025
echo "${ECHO_T}$GMSGFMT" >&6; }
20996
22026
else
20997
 
  echo "$as_me:$LINENO: result: no" >&5
20998
 
echo "${ECHO_T}no" >&6
 
22027
  { echo "$as_me:$LINENO: result: no" >&5
 
22028
echo "${ECHO_T}no" >&6; }
20999
22029
fi
21000
22030
 
 
22031
 
21001
22032
          # Extract the first word of "xgettext", so it can be a program name with args.
21002
22033
set dummy xgettext; ac_word=$2
21003
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21004
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22034
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22035
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21005
22036
if test "${ac_cv_path_XGETTEXT+set}" = set; then
21006
22037
  echo $ECHO_N "(cached) $ECHO_C" >&6
21007
22038
else
21027
22058
fi
21028
22059
XGETTEXT="$ac_cv_path_XGETTEXT"
21029
22060
if test "$XGETTEXT" != ":"; then
21030
 
  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
21031
 
echo "${ECHO_T}$XGETTEXT" >&6
 
22061
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
22062
echo "${ECHO_T}$XGETTEXT" >&6; }
21032
22063
else
21033
 
  echo "$as_me:$LINENO: result: no" >&5
21034
 
echo "${ECHO_T}no" >&6
 
22064
  { echo "$as_me:$LINENO: result: no" >&5
 
22065
echo "${ECHO_T}no" >&6; }
21035
22066
fi
21036
22067
 
21037
22068
          cat >conftest.$ac_ext <<_ACEOF
21051
22082
}
21052
22083
_ACEOF
21053
22084
rm -f conftest.$ac_objext conftest$ac_exeext
21054
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21055
 
  (eval $ac_link) 2>conftest.er1
 
22085
if { (ac_try="$ac_link"
 
22086
case "(($ac_try" in
 
22087
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22088
  *) ac_try_echo=$ac_try;;
 
22089
esac
 
22090
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22091
  (eval "$ac_link") 2>conftest.er1
21056
22092
  ac_status=$?
21057
22093
  grep -v '^ *+' conftest.er1 >conftest.err
21058
22094
  rm -f conftest.er1
21059
22095
  cat conftest.err >&5
21060
22096
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061
22097
  (exit $ac_status); } &&
21062
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21063
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21064
 
  (eval $ac_try) 2>&5
 
22098
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22099
  { (case "(($ac_try" in
 
22100
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22101
  *) ac_try_echo=$ac_try;;
 
22102
esac
 
22103
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22104
  (eval "$ac_try") 2>&5
21065
22105
  ac_status=$?
21066
22106
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067
22107
  (exit $ac_status); }; } &&
21068
22108
         { ac_try='test -s conftest$ac_exeext'
21069
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21070
 
  (eval $ac_try) 2>&5
 
22109
  { (case "(($ac_try" in
 
22110
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22111
  *) ac_try_echo=$ac_try;;
 
22112
esac
 
22113
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22114
  (eval "$ac_try") 2>&5
21071
22115
  ac_status=$?
21072
22116
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073
22117
  (exit $ac_status); }; }; then
21077
22121
  echo "$as_me: failed program was:" >&5
21078
22122
sed 's/^/| /' conftest.$ac_ext >&5
21079
22123
 
21080
 
case $host in
 
22124
        case $host in
21081
22125
            *-*-solaris*)
21082
 
                                                                echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
21083
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
 
22126
                                                                { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
22127
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
21084
22128
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
21085
22129
  echo $ECHO_N "(cached) $ECHO_C" >&6
21086
22130
else
21107
22151
 
21108
22152
#undef bind_textdomain_codeset
21109
22153
 
21110
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22154
/* Override any GCC internal prototype to avoid an error.
 
22155
   Use char because int might match the return type of a GCC
 
22156
   builtin and then its argument prototype would still apply.  */
21111
22157
#ifdef __cplusplus
21112
22158
extern "C"
21113
 
{
21114
22159
#endif
21115
 
/* We use char because int might match the return type of a gcc2
21116
 
   builtin and then its argument prototype would still apply.  */
21117
22160
char bind_textdomain_codeset ();
21118
22161
/* The GNU C library defines this for functions which it implements
21119
22162
    to always fail with ENOSYS.  Some functions are actually named
21120
22163
    something starting with __ and the normal name is an alias.  */
21121
 
#if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
 
22164
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
21122
22165
choke me
21123
 
#else
21124
 
char (*f) () = bind_textdomain_codeset;
21125
 
#endif
21126
 
#ifdef __cplusplus
21127
 
}
21128
22166
#endif
21129
22167
 
21130
22168
int
21131
22169
main ()
21132
22170
{
21133
 
return f != bind_textdomain_codeset;
 
22171
return bind_textdomain_codeset ();
21134
22172
  ;
21135
22173
  return 0;
21136
22174
}
21137
22175
_ACEOF
21138
22176
rm -f conftest.$ac_objext conftest$ac_exeext
21139
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21140
 
  (eval $ac_link) 2>conftest.er1
 
22177
if { (ac_try="$ac_link"
 
22178
case "(($ac_try" in
 
22179
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22180
  *) ac_try_echo=$ac_try;;
 
22181
esac
 
22182
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22183
  (eval "$ac_link") 2>conftest.er1
21141
22184
  ac_status=$?
21142
22185
  grep -v '^ *+' conftest.er1 >conftest.err
21143
22186
  rm -f conftest.er1
21144
22187
  cat conftest.err >&5
21145
22188
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146
22189
  (exit $ac_status); } &&
21147
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21148
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21149
 
  (eval $ac_try) 2>&5
 
22190
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22191
  { (case "(($ac_try" in
 
22192
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22193
  *) ac_try_echo=$ac_try;;
 
22194
esac
 
22195
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22196
  (eval "$ac_try") 2>&5
21150
22197
  ac_status=$?
21151
22198
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152
22199
  (exit $ac_status); }; } &&
21153
22200
         { ac_try='test -s conftest$ac_exeext'
21154
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21155
 
  (eval $ac_try) 2>&5
 
22201
  { (case "(($ac_try" in
 
22202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22203
  *) ac_try_echo=$ac_try;;
 
22204
esac
 
22205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22206
  (eval "$ac_try") 2>&5
21156
22207
  ac_status=$?
21157
22208
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158
22209
  (exit $ac_status); }; }; then
21161
22212
  echo "$as_me: failed program was:" >&5
21162
22213
sed 's/^/| /' conftest.$ac_ext >&5
21163
22214
 
21164
 
ac_cv_func_bind_textdomain_codeset=no
 
22215
        ac_cv_func_bind_textdomain_codeset=no
21165
22216
fi
21166
 
rm -f conftest.err conftest.$ac_objext \
 
22217
 
 
22218
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21167
22219
      conftest$ac_exeext conftest.$ac_ext
21168
22220
fi
21169
 
echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
21170
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
 
22221
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
22222
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
21171
22223
if test $ac_cv_func_bind_textdomain_codeset = yes; then
21172
22224
  CATOBJEXT=.gmo
21173
22225
               DATADIRNAME=share
21183
22235
            ;;
21184
22236
            esac
21185
22237
fi
21186
 
rm -f conftest.err conftest.$ac_objext \
 
22238
 
 
22239
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21187
22240
      conftest$ac_exeext conftest.$ac_ext
21188
22241
          LIBS="$glib_save_LIBS"
21189
22242
          INSTOBJEXT=.mo
21208
22261
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
21209
22262
        : ;
21210
22263
      else
21211
 
        echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
21212
 
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
 
22264
        { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
22265
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
21213
22266
        XGETTEXT=":"
21214
22267
      fi
21215
22268
    fi
21217
22270
    # We need to process the po/ directory.
21218
22271
    POSUB=po
21219
22272
 
21220
 
              ac_config_commands="$ac_config_commands default-1"
 
22273
    ac_config_commands="$ac_config_commands default-1"
21221
22274
 
21222
22275
 
21223
22276
                for lang in $ALL_LINGUAS; do
21241
22294
     if test "x$ALL_LINGUAS" = "x"; then
21242
22295
       LINGUAS=
21243
22296
     else
21244
 
       echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
21245
 
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
 
22297
       { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
22298
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
21246
22299
       NEW_LINGUAS=
21247
22300
       for presentlang in $ALL_LINGUAS; do
21248
22301
         useit=no
21266
22319
         fi
21267
22320
       done
21268
22321
       LINGUAS=$NEW_LINGUAS
21269
 
       echo "$as_me:$LINENO: result: $LINGUAS" >&5
21270
 
echo "${ECHO_T}$LINGUAS" >&6
 
22322
       { echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
22323
echo "${ECHO_T}$LINGUAS" >&6; }
21271
22324
     fi
21272
22325
 
21273
22326
          if test -n "$LINGUAS"; then
21299
22352
        < $srcdir/po/POTFILES.in > po/POTFILES
21300
22353
 
21301
22354
 
21302
 
    echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
21303
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
 
22355
    { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
22356
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
21304
22357
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
21305
22358
  echo $ECHO_N "(cached) $ECHO_C" >&6
21306
22359
else
21327
22380
 
21328
22381
#undef bind_textdomain_codeset
21329
22382
 
21330
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22383
/* Override any GCC internal prototype to avoid an error.
 
22384
   Use char because int might match the return type of a GCC
 
22385
   builtin and then its argument prototype would still apply.  */
21331
22386
#ifdef __cplusplus
21332
22387
extern "C"
21333
 
{
21334
22388
#endif
21335
 
/* We use char because int might match the return type of a gcc2
21336
 
   builtin and then its argument prototype would still apply.  */
21337
22389
char bind_textdomain_codeset ();
21338
22390
/* The GNU C library defines this for functions which it implements
21339
22391
    to always fail with ENOSYS.  Some functions are actually named
21340
22392
    something starting with __ and the normal name is an alias.  */
21341
 
#if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
 
22393
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
21342
22394
choke me
21343
 
#else
21344
 
char (*f) () = bind_textdomain_codeset;
21345
 
#endif
21346
 
#ifdef __cplusplus
21347
 
}
21348
22395
#endif
21349
22396
 
21350
22397
int
21351
22398
main ()
21352
22399
{
21353
 
return f != bind_textdomain_codeset;
 
22400
return bind_textdomain_codeset ();
21354
22401
  ;
21355
22402
  return 0;
21356
22403
}
21357
22404
_ACEOF
21358
22405
rm -f conftest.$ac_objext conftest$ac_exeext
21359
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21360
 
  (eval $ac_link) 2>conftest.er1
 
22406
if { (ac_try="$ac_link"
 
22407
case "(($ac_try" in
 
22408
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22409
  *) ac_try_echo=$ac_try;;
 
22410
esac
 
22411
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22412
  (eval "$ac_link") 2>conftest.er1
21361
22413
  ac_status=$?
21362
22414
  grep -v '^ *+' conftest.er1 >conftest.err
21363
22415
  rm -f conftest.er1
21364
22416
  cat conftest.err >&5
21365
22417
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366
22418
  (exit $ac_status); } &&
21367
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21368
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21369
 
  (eval $ac_try) 2>&5
 
22419
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22420
  { (case "(($ac_try" in
 
22421
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22422
  *) ac_try_echo=$ac_try;;
 
22423
esac
 
22424
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22425
  (eval "$ac_try") 2>&5
21370
22426
  ac_status=$?
21371
22427
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372
22428
  (exit $ac_status); }; } &&
21373
22429
         { ac_try='test -s conftest$ac_exeext'
21374
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21375
 
  (eval $ac_try) 2>&5
 
22430
  { (case "(($ac_try" in
 
22431
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22432
  *) ac_try_echo=$ac_try;;
 
22433
esac
 
22434
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22435
  (eval "$ac_try") 2>&5
21376
22436
  ac_status=$?
21377
22437
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378
22438
  (exit $ac_status); }; }; then
21381
22441
  echo "$as_me: failed program was:" >&5
21382
22442
sed 's/^/| /' conftest.$ac_ext >&5
21383
22443
 
21384
 
ac_cv_func_bind_textdomain_codeset=no
 
22444
        ac_cv_func_bind_textdomain_codeset=no
21385
22445
fi
21386
 
rm -f conftest.err conftest.$ac_objext \
 
22446
 
 
22447
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21387
22448
      conftest$ac_exeext conftest.$ac_ext
21388
22449
fi
21389
 
echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
21390
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
21391
 
 
21392
 
 
21393
 
    echo "$as_me:$LINENO: checking for locales directory" >&5
21394
 
echo $ECHO_N "checking for locales directory... $ECHO_C" >&6
21395
 
 
21396
 
# Check whether --with-locales-dir or --without-locales-dir was given.
 
22450
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
22451
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
 
22452
 
 
22453
 
 
22454
    { echo "$as_me:$LINENO: checking for locales directory" >&5
 
22455
echo $ECHO_N "checking for locales directory... $ECHO_C" >&6; }
 
22456
 
 
22457
# Check whether --with-locales-dir was given.
21397
22458
if test "${with_locales_dir+set}" = set; then
21398
 
  withval="$with_locales_dir"
21399
 
  localedir=$withval
 
22459
  withval=$with_locales_dir; localedir=$withval
21400
22460
else
21401
22461
 
21402
22462
    if test x"$CATOBJEXT" = x".mo"; then
21405
22465
      localedir=$datadir/locale
21406
22466
    fi
21407
22467
 
21408
 
fi;
21409
 
  echo "$as_me:$LINENO: result: $localedir" >&5
21410
 
echo "${ECHO_T}$localedir" >&6
21411
 
 
21412
 
 
21413
 
    echo "$as_me:$LINENO: checking for additional xgettext flags" >&5
21414
 
echo $ECHO_N "checking for additional xgettext flags... $ECHO_C" >&6
 
22468
fi
 
22469
 
 
22470
  { echo "$as_me:$LINENO: result: $localedir" >&5
 
22471
echo "${ECHO_T}$localedir" >&6; }
 
22472
 
 
22473
 
 
22474
    { echo "$as_me:$LINENO: checking for additional xgettext flags" >&5
 
22475
echo $ECHO_N "checking for additional xgettext flags... $ECHO_C" >&6; }
21415
22476
  if test x"$XGETTEXT_ARGS" = x""; then
21416
22477
    XGETTEXT_ARGS="--keyword=Q_";
21417
22478
  else
21418
22479
    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_";
21419
22480
  fi
21420
22481
 
21421
 
  echo "$as_me:$LINENO: result: $XGETTEXT_ARGS" >&5
21422
 
echo "${ECHO_T}$XGETTEXT_ARGS" >&6
 
22482
  { echo "$as_me:$LINENO: result: $XGETTEXT_ARGS" >&5
 
22483
echo "${ECHO_T}$XGETTEXT_ARGS" >&6; }
21423
22484
 
21424
22485
 
21425
22486
 
21431
22492
  if test x"$PKG_CONFIG" = x""; then
21432
22493
    # Extract the first word of "pkg-config", so it can be a program name with args.
21433
22494
set dummy pkg-config; ac_word=$2
21434
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21435
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22495
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22496
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21436
22497
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21437
22498
  echo $ECHO_N "(cached) $ECHO_C" >&6
21438
22499
else
21447
22508
  IFS=$as_save_IFS
21448
22509
  test -z "$as_dir" && as_dir=.
21449
22510
  for ac_exec_ext in '' $ac_executable_extensions; do
21450
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22511
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
21451
22512
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21452
22513
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21453
22514
    break 2
21454
22515
  fi
21455
22516
done
21456
22517
done
 
22518
IFS=$as_save_IFS
21457
22519
 
21458
22520
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21459
22521
  ;;
21460
22522
esac
21461
22523
fi
21462
22524
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21463
 
 
21464
22525
if test -n "$PKG_CONFIG"; then
21465
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21466
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
22526
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
22527
echo "${ECHO_T}$PKG_CONFIG" >&6; }
21467
22528
else
21468
 
  echo "$as_me:$LINENO: result: no" >&5
21469
 
echo "${ECHO_T}no" >&6
 
22529
  { echo "$as_me:$LINENO: result: no" >&5
 
22530
echo "${ECHO_T}no" >&6; }
21470
22531
fi
21471
22532
 
21472
22533
 
 
22534
 
21473
22535
    if test x"$PKG_CONFIG" = x"no"; then
21474
22536
      echo "*** The pkg-config utility could not be found on your system."
21475
22537
      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
21483
22545
    fi
21484
22546
 
21485
22547
    # check pkg-config version
21486
 
    echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
21487
 
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6
 
22548
    { echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
22549
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6; }
21488
22550
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
21489
22551
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
21490
 
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
21491
 
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
22552
      { echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
22553
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
21492
22554
    else
21493
22555
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
21494
 
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
21495
 
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
22556
      { echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
22557
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
21496
22558
      echo "*** Your version of pkg-config is too old. You need atleast"
21497
22559
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
21498
22560
      echo "*** from the freedesktop.org software repository at"
21504
22566
  fi
21505
22567
 
21506
22568
 
21507
 
  echo "$as_me:$LINENO: checking for gthread-2.0 >= 2.6.0" >&5
21508
 
echo $ECHO_N "checking for gthread-2.0 >= 2.6.0... $ECHO_C" >&6
 
22569
  { echo "$as_me:$LINENO: checking for gthread-2.0 >= 2.6.0" >&5
 
22570
echo $ECHO_N "checking for gthread-2.0 >= 2.6.0... $ECHO_C" >&6; }
21509
22571
  if $PKG_CONFIG "--atleast-version=2.6.0" "gthread-2.0" >/dev/null 2>&1; then
21510
22572
    GTHREAD_VERSION=`$PKG_CONFIG --modversion "gthread-2.0"`
21511
 
    echo "$as_me:$LINENO: result: $GTHREAD_VERSION" >&5
21512
 
echo "${ECHO_T}$GTHREAD_VERSION" >&6
 
22573
    { echo "$as_me:$LINENO: result: $GTHREAD_VERSION" >&5
 
22574
echo "${ECHO_T}$GTHREAD_VERSION" >&6; }
21513
22575
 
21514
 
    echo "$as_me:$LINENO: checking GTHREAD_CFLAGS" >&5
21515
 
echo $ECHO_N "checking GTHREAD_CFLAGS... $ECHO_C" >&6
 
22576
    { echo "$as_me:$LINENO: checking GTHREAD_CFLAGS" >&5
 
22577
echo $ECHO_N "checking GTHREAD_CFLAGS... $ECHO_C" >&6; }
21516
22578
    GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0"`
21517
 
    echo "$as_me:$LINENO: result: $GTHREAD_CFLAGS" >&5
21518
 
echo "${ECHO_T}$GTHREAD_CFLAGS" >&6
 
22579
    { echo "$as_me:$LINENO: result: $GTHREAD_CFLAGS" >&5
 
22580
echo "${ECHO_T}$GTHREAD_CFLAGS" >&6; }
21519
22581
 
21520
 
    echo "$as_me:$LINENO: checking GTHREAD_LIBS" >&5
21521
 
echo $ECHO_N "checking GTHREAD_LIBS... $ECHO_C" >&6
 
22582
    { echo "$as_me:$LINENO: checking GTHREAD_LIBS" >&5
 
22583
echo $ECHO_N "checking GTHREAD_LIBS... $ECHO_C" >&6; }
21522
22584
    GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0"`
21523
 
    echo "$as_me:$LINENO: result: $GTHREAD_LIBS" >&5
21524
 
echo "${ECHO_T}$GTHREAD_LIBS" >&6
 
22585
    { echo "$as_me:$LINENO: result: $GTHREAD_LIBS" >&5
 
22586
echo "${ECHO_T}$GTHREAD_LIBS" >&6; }
21525
22587
 
21526
22588
    GTHREAD_REQUIRED_VERSION=2.6.0
21527
22589
 
21533
22595
 
21534
22596
  elif $PKG_CONFIG --exists "gthread-2.0" >/dev/null 2>&1; then
21535
22597
    xdt_cv_version=`$PKG_CONFIG --modversion "gthread-2.0"`
21536
 
    echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
21537
 
echo "${ECHO_T}found, but $xdt_cv_version" >&6
 
22598
    { echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
22599
echo "${ECHO_T}found, but $xdt_cv_version" >&6; }
21538
22600
 
21539
22601
 
21540
22602
      echo "*** The required package gthread-2.0 was found on your system,"
21546
22608
      exit 1
21547
22609
 
21548
22610
  else
21549
 
    echo "$as_me:$LINENO: result: not found" >&5
21550
 
echo "${ECHO_T}not found" >&6
 
22611
    { echo "$as_me:$LINENO: result: not found" >&5
 
22612
echo "${ECHO_T}not found" >&6; }
21551
22613
 
21552
22614
 
21553
22615
      echo "*** The required package gthread-2.0 was not found on your system."
21568
22630
  if test x"$PKG_CONFIG" = x""; then
21569
22631
    # Extract the first word of "pkg-config", so it can be a program name with args.
21570
22632
set dummy pkg-config; ac_word=$2
21571
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21572
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22633
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22634
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21573
22635
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21574
22636
  echo $ECHO_N "(cached) $ECHO_C" >&6
21575
22637
else
21584
22646
  IFS=$as_save_IFS
21585
22647
  test -z "$as_dir" && as_dir=.
21586
22648
  for ac_exec_ext in '' $ac_executable_extensions; do
21587
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22649
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
21588
22650
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21589
22651
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21590
22652
    break 2
21591
22653
  fi
21592
22654
done
21593
22655
done
 
22656
IFS=$as_save_IFS
21594
22657
 
21595
22658
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21596
22659
  ;;
21597
22660
esac
21598
22661
fi
21599
22662
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21600
 
 
21601
22663
if test -n "$PKG_CONFIG"; then
21602
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21603
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
22664
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
22665
echo "${ECHO_T}$PKG_CONFIG" >&6; }
21604
22666
else
21605
 
  echo "$as_me:$LINENO: result: no" >&5
21606
 
echo "${ECHO_T}no" >&6
 
22667
  { echo "$as_me:$LINENO: result: no" >&5
 
22668
echo "${ECHO_T}no" >&6; }
21607
22669
fi
21608
22670
 
21609
22671
 
 
22672
 
21610
22673
    if test x"$PKG_CONFIG" = x"no"; then
21611
22674
      echo "*** The pkg-config utility could not be found on your system."
21612
22675
      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
21620
22683
    fi
21621
22684
 
21622
22685
    # check pkg-config version
21623
 
    echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
21624
 
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6
 
22686
    { echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
22687
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6; }
21625
22688
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
21626
22689
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
21627
 
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
21628
 
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
22690
      { echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
22691
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
21629
22692
    else
21630
22693
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
21631
 
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
21632
 
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
22694
      { echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
22695
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
21633
22696
      echo "*** Your version of pkg-config is too old. You need atleast"
21634
22697
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
21635
22698
      echo "*** from the freedesktop.org software repository at"
21641
22704
  fi
21642
22705
 
21643
22706
 
21644
 
  echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.6.0" >&5
21645
 
echo $ECHO_N "checking for gtk+-2.0 >= 2.6.0... $ECHO_C" >&6
 
22707
  { echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.6.0" >&5
 
22708
echo $ECHO_N "checking for gtk+-2.0 >= 2.6.0... $ECHO_C" >&6; }
21646
22709
  if $PKG_CONFIG "--atleast-version=2.6.0" "gtk+-2.0" >/dev/null 2>&1; then
21647
22710
    GTK_VERSION=`$PKG_CONFIG --modversion "gtk+-2.0"`
21648
 
    echo "$as_me:$LINENO: result: $GTK_VERSION" >&5
21649
 
echo "${ECHO_T}$GTK_VERSION" >&6
 
22711
    { echo "$as_me:$LINENO: result: $GTK_VERSION" >&5
 
22712
echo "${ECHO_T}$GTK_VERSION" >&6; }
21650
22713
 
21651
 
    echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
21652
 
echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
 
22714
    { echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
 
22715
echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6; }
21653
22716
    GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0"`
21654
 
    echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
21655
 
echo "${ECHO_T}$GTK_CFLAGS" >&6
 
22717
    { echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
 
22718
echo "${ECHO_T}$GTK_CFLAGS" >&6; }
21656
22719
 
21657
 
    echo "$as_me:$LINENO: checking GTK_LIBS" >&5
21658
 
echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
 
22720
    { echo "$as_me:$LINENO: checking GTK_LIBS" >&5
 
22721
echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6; }
21659
22722
    GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0"`
21660
 
    echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
21661
 
echo "${ECHO_T}$GTK_LIBS" >&6
 
22723
    { echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
 
22724
echo "${ECHO_T}$GTK_LIBS" >&6; }
21662
22725
 
21663
22726
    GTK_REQUIRED_VERSION=2.6.0
21664
22727
 
21670
22733
 
21671
22734
  elif $PKG_CONFIG --exists "gtk+-2.0" >/dev/null 2>&1; then
21672
22735
    xdt_cv_version=`$PKG_CONFIG --modversion "gtk+-2.0"`
21673
 
    echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
21674
 
echo "${ECHO_T}found, but $xdt_cv_version" >&6
 
22736
    { echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
22737
echo "${ECHO_T}found, but $xdt_cv_version" >&6; }
21675
22738
 
21676
22739
 
21677
22740
      echo "*** The required package gtk+-2.0 was found on your system,"
21683
22746
      exit 1
21684
22747
 
21685
22748
  else
21686
 
    echo "$as_me:$LINENO: result: not found" >&5
21687
 
echo "${ECHO_T}not found" >&6
 
22749
    { echo "$as_me:$LINENO: result: not found" >&5
 
22750
echo "${ECHO_T}not found" >&6; }
21688
22751
 
21689
22752
 
21690
22753
      echo "*** The required package gtk+-2.0 was not found on your system."
21705
22768
  if test x"$PKG_CONFIG" = x""; then
21706
22769
    # Extract the first word of "pkg-config", so it can be a program name with args.
21707
22770
set dummy pkg-config; ac_word=$2
21708
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21709
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22771
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22772
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21710
22773
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21711
22774
  echo $ECHO_N "(cached) $ECHO_C" >&6
21712
22775
else
21721
22784
  IFS=$as_save_IFS
21722
22785
  test -z "$as_dir" && as_dir=.
21723
22786
  for ac_exec_ext in '' $ac_executable_extensions; do
21724
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22787
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
21725
22788
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21726
22789
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21727
22790
    break 2
21728
22791
  fi
21729
22792
done
21730
22793
done
 
22794
IFS=$as_save_IFS
21731
22795
 
21732
22796
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21733
22797
  ;;
21734
22798
esac
21735
22799
fi
21736
22800
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21737
 
 
21738
22801
if test -n "$PKG_CONFIG"; then
21739
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21740
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
22802
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
22803
echo "${ECHO_T}$PKG_CONFIG" >&6; }
21741
22804
else
21742
 
  echo "$as_me:$LINENO: result: no" >&5
21743
 
echo "${ECHO_T}no" >&6
 
22805
  { echo "$as_me:$LINENO: result: no" >&5
 
22806
echo "${ECHO_T}no" >&6; }
21744
22807
fi
21745
22808
 
21746
22809
 
 
22810
 
21747
22811
    if test x"$PKG_CONFIG" = x"no"; then
21748
22812
      echo "*** The pkg-config utility could not be found on your system."
21749
22813
      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
21757
22821
    fi
21758
22822
 
21759
22823
    # check pkg-config version
21760
 
    echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
21761
 
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6
 
22824
    { echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
22825
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6; }
21762
22826
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
21763
22827
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
21764
 
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
21765
 
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
22828
      { echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
22829
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
21766
22830
    else
21767
22831
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
21768
 
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
21769
 
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
22832
      { echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
22833
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
21770
22834
      echo "*** Your version of pkg-config is too old. You need atleast"
21771
22835
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
21772
22836
      echo "*** from the freedesktop.org software repository at"
21778
22842
  fi
21779
22843
 
21780
22844
 
21781
 
  echo "$as_me:$LINENO: checking for libxfcegui4-1.0 >= 4.3.90.2" >&5
21782
 
echo $ECHO_N "checking for libxfcegui4-1.0 >= 4.3.90.2... $ECHO_C" >&6
 
22845
  { echo "$as_me:$LINENO: checking for libxfcegui4-1.0 >= 4.3.90.2" >&5
 
22846
echo $ECHO_N "checking for libxfcegui4-1.0 >= 4.3.90.2... $ECHO_C" >&6; }
21783
22847
  if $PKG_CONFIG "--atleast-version=4.3.90.2" "libxfcegui4-1.0" >/dev/null 2>&1; then
21784
22848
    LIBXFCEGUI4_VERSION=`$PKG_CONFIG --modversion "libxfcegui4-1.0"`
21785
 
    echo "$as_me:$LINENO: result: $LIBXFCEGUI4_VERSION" >&5
21786
 
echo "${ECHO_T}$LIBXFCEGUI4_VERSION" >&6
 
22849
    { echo "$as_me:$LINENO: result: $LIBXFCEGUI4_VERSION" >&5
 
22850
echo "${ECHO_T}$LIBXFCEGUI4_VERSION" >&6; }
21787
22851
 
21788
 
    echo "$as_me:$LINENO: checking LIBXFCEGUI4_CFLAGS" >&5
21789
 
echo $ECHO_N "checking LIBXFCEGUI4_CFLAGS... $ECHO_C" >&6
 
22852
    { echo "$as_me:$LINENO: checking LIBXFCEGUI4_CFLAGS" >&5
 
22853
echo $ECHO_N "checking LIBXFCEGUI4_CFLAGS... $ECHO_C" >&6; }
21790
22854
    LIBXFCEGUI4_CFLAGS=`$PKG_CONFIG --cflags "libxfcegui4-1.0"`
21791
 
    echo "$as_me:$LINENO: result: $LIBXFCEGUI4_CFLAGS" >&5
21792
 
echo "${ECHO_T}$LIBXFCEGUI4_CFLAGS" >&6
 
22855
    { echo "$as_me:$LINENO: result: $LIBXFCEGUI4_CFLAGS" >&5
 
22856
echo "${ECHO_T}$LIBXFCEGUI4_CFLAGS" >&6; }
21793
22857
 
21794
 
    echo "$as_me:$LINENO: checking LIBXFCEGUI4_LIBS" >&5
21795
 
echo $ECHO_N "checking LIBXFCEGUI4_LIBS... $ECHO_C" >&6
 
22858
    { echo "$as_me:$LINENO: checking LIBXFCEGUI4_LIBS" >&5
 
22859
echo $ECHO_N "checking LIBXFCEGUI4_LIBS... $ECHO_C" >&6; }
21796
22860
    LIBXFCEGUI4_LIBS=`$PKG_CONFIG --libs "libxfcegui4-1.0"`
21797
 
    echo "$as_me:$LINENO: result: $LIBXFCEGUI4_LIBS" >&5
21798
 
echo "${ECHO_T}$LIBXFCEGUI4_LIBS" >&6
 
22861
    { echo "$as_me:$LINENO: result: $LIBXFCEGUI4_LIBS" >&5
 
22862
echo "${ECHO_T}$LIBXFCEGUI4_LIBS" >&6; }
21799
22863
 
21800
22864
    LIBXFCEGUI4_REQUIRED_VERSION=4.3.90.2
21801
22865
 
21807
22871
 
21808
22872
  elif $PKG_CONFIG --exists "libxfcegui4-1.0" >/dev/null 2>&1; then
21809
22873
    xdt_cv_version=`$PKG_CONFIG --modversion "libxfcegui4-1.0"`
21810
 
    echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
21811
 
echo "${ECHO_T}found, but $xdt_cv_version" >&6
 
22874
    { echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
22875
echo "${ECHO_T}found, but $xdt_cv_version" >&6; }
21812
22876
 
21813
22877
 
21814
22878
      echo "*** The required package libxfcegui4-1.0 was found on your system,"
21820
22884
      exit 1
21821
22885
 
21822
22886
  else
21823
 
    echo "$as_me:$LINENO: result: not found" >&5
21824
 
echo "${ECHO_T}not found" >&6
 
22887
    { echo "$as_me:$LINENO: result: not found" >&5
 
22888
echo "${ECHO_T}not found" >&6; }
21825
22889
 
21826
22890
 
21827
22891
      echo "*** The required package libxfcegui4-1.0 was not found on your system."
21842
22906
  if test x"$PKG_CONFIG" = x""; then
21843
22907
    # Extract the first word of "pkg-config", so it can be a program name with args.
21844
22908
set dummy pkg-config; ac_word=$2
21845
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21846
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
22909
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22910
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21847
22911
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21848
22912
  echo $ECHO_N "(cached) $ECHO_C" >&6
21849
22913
else
21858
22922
  IFS=$as_save_IFS
21859
22923
  test -z "$as_dir" && as_dir=.
21860
22924
  for ac_exec_ext in '' $ac_executable_extensions; do
21861
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
22925
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
21862
22926
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21863
22927
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21864
22928
    break 2
21865
22929
  fi
21866
22930
done
21867
22931
done
 
22932
IFS=$as_save_IFS
21868
22933
 
21869
22934
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21870
22935
  ;;
21871
22936
esac
21872
22937
fi
21873
22938
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21874
 
 
21875
22939
if test -n "$PKG_CONFIG"; then
21876
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21877
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
22940
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
22941
echo "${ECHO_T}$PKG_CONFIG" >&6; }
21878
22942
else
21879
 
  echo "$as_me:$LINENO: result: no" >&5
21880
 
echo "${ECHO_T}no" >&6
 
22943
  { echo "$as_me:$LINENO: result: no" >&5
 
22944
echo "${ECHO_T}no" >&6; }
21881
22945
fi
21882
22946
 
21883
22947
 
 
22948
 
21884
22949
    if test x"$PKG_CONFIG" = x"no"; then
21885
22950
      echo "*** The pkg-config utility could not be found on your system."
21886
22951
      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
21894
22959
    fi
21895
22960
 
21896
22961
    # check pkg-config version
21897
 
    echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
21898
 
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6
 
22962
    { echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
22963
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6; }
21899
22964
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
21900
22965
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
21901
 
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
21902
 
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
22966
      { echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
22967
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
21903
22968
    else
21904
22969
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
21905
 
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
21906
 
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
22970
      { echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
22971
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
21907
22972
      echo "*** Your version of pkg-config is too old. You need atleast"
21908
22973
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
21909
22974
      echo "*** from the freedesktop.org software repository at"
21915
22980
  fi
21916
22981
 
21917
22982
 
21918
 
  echo "$as_me:$LINENO: checking for libxfce4util-1.0 >= 4.3.90.2" >&5
21919
 
echo $ECHO_N "checking for libxfce4util-1.0 >= 4.3.90.2... $ECHO_C" >&6
 
22983
  { echo "$as_me:$LINENO: checking for libxfce4util-1.0 >= 4.3.90.2" >&5
 
22984
echo $ECHO_N "checking for libxfce4util-1.0 >= 4.3.90.2... $ECHO_C" >&6; }
21920
22985
  if $PKG_CONFIG "--atleast-version=4.3.90.2" "libxfce4util-1.0" >/dev/null 2>&1; then
21921
22986
    LIBXFCE4UTIL_VERSION=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
21922
 
    echo "$as_me:$LINENO: result: $LIBXFCE4UTIL_VERSION" >&5
21923
 
echo "${ECHO_T}$LIBXFCE4UTIL_VERSION" >&6
 
22987
    { echo "$as_me:$LINENO: result: $LIBXFCE4UTIL_VERSION" >&5
 
22988
echo "${ECHO_T}$LIBXFCE4UTIL_VERSION" >&6; }
21924
22989
 
21925
 
    echo "$as_me:$LINENO: checking LIBXFCE4UTIL_CFLAGS" >&5
21926
 
echo $ECHO_N "checking LIBXFCE4UTIL_CFLAGS... $ECHO_C" >&6
 
22990
    { echo "$as_me:$LINENO: checking LIBXFCE4UTIL_CFLAGS" >&5
 
22991
echo $ECHO_N "checking LIBXFCE4UTIL_CFLAGS... $ECHO_C" >&6; }
21927
22992
    LIBXFCE4UTIL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4util-1.0"`
21928
 
    echo "$as_me:$LINENO: result: $LIBXFCE4UTIL_CFLAGS" >&5
21929
 
echo "${ECHO_T}$LIBXFCE4UTIL_CFLAGS" >&6
 
22993
    { echo "$as_me:$LINENO: result: $LIBXFCE4UTIL_CFLAGS" >&5
 
22994
echo "${ECHO_T}$LIBXFCE4UTIL_CFLAGS" >&6; }
21930
22995
 
21931
 
    echo "$as_me:$LINENO: checking LIBXFCE4UTIL_LIBS" >&5
21932
 
echo $ECHO_N "checking LIBXFCE4UTIL_LIBS... $ECHO_C" >&6
 
22996
    { echo "$as_me:$LINENO: checking LIBXFCE4UTIL_LIBS" >&5
 
22997
echo $ECHO_N "checking LIBXFCE4UTIL_LIBS... $ECHO_C" >&6; }
21933
22998
    LIBXFCE4UTIL_LIBS=`$PKG_CONFIG --libs "libxfce4util-1.0"`
21934
 
    echo "$as_me:$LINENO: result: $LIBXFCE4UTIL_LIBS" >&5
21935
 
echo "${ECHO_T}$LIBXFCE4UTIL_LIBS" >&6
 
22999
    { echo "$as_me:$LINENO: result: $LIBXFCE4UTIL_LIBS" >&5
 
23000
echo "${ECHO_T}$LIBXFCE4UTIL_LIBS" >&6; }
21936
23001
 
21937
23002
    LIBXFCE4UTIL_REQUIRED_VERSION=4.3.90.2
21938
23003
 
21944
23009
 
21945
23010
  elif $PKG_CONFIG --exists "libxfce4util-1.0" >/dev/null 2>&1; then
21946
23011
    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
21947
 
    echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
21948
 
echo "${ECHO_T}found, but $xdt_cv_version" >&6
 
23012
    { echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
23013
echo "${ECHO_T}found, but $xdt_cv_version" >&6; }
21949
23014
 
21950
23015
 
21951
23016
      echo "*** The required package libxfce4util-1.0 was found on your system,"
21957
23022
      exit 1
21958
23023
 
21959
23024
  else
21960
 
    echo "$as_me:$LINENO: result: not found" >&5
21961
 
echo "${ECHO_T}not found" >&6
 
23025
    { echo "$as_me:$LINENO: result: not found" >&5
 
23026
echo "${ECHO_T}not found" >&6; }
21962
23027
 
21963
23028
 
21964
23029
      echo "*** The required package libxfce4util-1.0 was not found on your system."
21979
23044
  if test x"$PKG_CONFIG" = x""; then
21980
23045
    # Extract the first word of "pkg-config", so it can be a program name with args.
21981
23046
set dummy pkg-config; ac_word=$2
21982
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21983
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
23047
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
23048
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21984
23049
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21985
23050
  echo $ECHO_N "(cached) $ECHO_C" >&6
21986
23051
else
21995
23060
  IFS=$as_save_IFS
21996
23061
  test -z "$as_dir" && as_dir=.
21997
23062
  for ac_exec_ext in '' $ac_executable_extensions; do
21998
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
23063
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
21999
23064
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22000
23065
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22001
23066
    break 2
22002
23067
  fi
22003
23068
done
22004
23069
done
 
23070
IFS=$as_save_IFS
22005
23071
 
22006
23072
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22007
23073
  ;;
22008
23074
esac
22009
23075
fi
22010
23076
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22011
 
 
22012
23077
if test -n "$PKG_CONFIG"; then
22013
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22014
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
23078
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
23079
echo "${ECHO_T}$PKG_CONFIG" >&6; }
22015
23080
else
22016
 
  echo "$as_me:$LINENO: result: no" >&5
22017
 
echo "${ECHO_T}no" >&6
 
23081
  { echo "$as_me:$LINENO: result: no" >&5
 
23082
echo "${ECHO_T}no" >&6; }
22018
23083
fi
22019
23084
 
22020
23085
 
 
23086
 
22021
23087
    if test x"$PKG_CONFIG" = x"no"; then
22022
23088
      echo "*** The pkg-config utility could not be found on your system."
22023
23089
      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
22031
23097
    fi
22032
23098
 
22033
23099
    # check pkg-config version
22034
 
    echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
22035
 
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6
 
23100
    { echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
 
23101
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6; }
22036
23102
    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
22037
23103
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
22038
 
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
22039
 
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
23104
      { echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
23105
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
22040
23106
    else
22041
23107
      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
22042
 
      echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
22043
 
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6
 
23108
      { echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
 
23109
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
22044
23110
      echo "*** Your version of pkg-config is too old. You need atleast"
22045
23111
      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
22046
23112
      echo "*** from the freedesktop.org software repository at"
22052
23118
  fi
22053
23119
 
22054
23120
 
22055
 
  echo "$as_me:$LINENO: checking for libxfce4panel-1.0 >= 4.3.99.1" >&5
22056
 
echo $ECHO_N "checking for libxfce4panel-1.0 >= 4.3.99.1... $ECHO_C" >&6
 
23121
  { echo "$as_me:$LINENO: checking for libxfce4panel-1.0 >= 4.3.99.1" >&5
 
23122
echo $ECHO_N "checking for libxfce4panel-1.0 >= 4.3.99.1... $ECHO_C" >&6; }
22057
23123
  if $PKG_CONFIG "--atleast-version=4.3.99.1" "libxfce4panel-1.0" >/dev/null 2>&1; then
22058
23124
    LIBXFCE4PANEL_VERSION=`$PKG_CONFIG --modversion "libxfce4panel-1.0"`
22059
 
    echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_VERSION" >&5
22060
 
echo "${ECHO_T}$LIBXFCE4PANEL_VERSION" >&6
 
23125
    { echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_VERSION" >&5
 
23126
echo "${ECHO_T}$LIBXFCE4PANEL_VERSION" >&6; }
22061
23127
 
22062
 
    echo "$as_me:$LINENO: checking LIBXFCE4PANEL_CFLAGS" >&5
22063
 
echo $ECHO_N "checking LIBXFCE4PANEL_CFLAGS... $ECHO_C" >&6
 
23128
    { echo "$as_me:$LINENO: checking LIBXFCE4PANEL_CFLAGS" >&5
 
23129
echo $ECHO_N "checking LIBXFCE4PANEL_CFLAGS... $ECHO_C" >&6; }
22064
23130
    LIBXFCE4PANEL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4panel-1.0"`
22065
 
    echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_CFLAGS" >&5
22066
 
echo "${ECHO_T}$LIBXFCE4PANEL_CFLAGS" >&6
 
23131
    { echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_CFLAGS" >&5
 
23132
echo "${ECHO_T}$LIBXFCE4PANEL_CFLAGS" >&6; }
22067
23133
 
22068
 
    echo "$as_me:$LINENO: checking LIBXFCE4PANEL_LIBS" >&5
22069
 
echo $ECHO_N "checking LIBXFCE4PANEL_LIBS... $ECHO_C" >&6
 
23134
    { echo "$as_me:$LINENO: checking LIBXFCE4PANEL_LIBS" >&5
 
23135
echo $ECHO_N "checking LIBXFCE4PANEL_LIBS... $ECHO_C" >&6; }
22070
23136
    LIBXFCE4PANEL_LIBS=`$PKG_CONFIG --libs "libxfce4panel-1.0"`
22071
 
    echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_LIBS" >&5
22072
 
echo "${ECHO_T}$LIBXFCE4PANEL_LIBS" >&6
 
23137
    { echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_LIBS" >&5
 
23138
echo "${ECHO_T}$LIBXFCE4PANEL_LIBS" >&6; }
22073
23139
 
22074
23140
    LIBXFCE4PANEL_REQUIRED_VERSION=4.3.99.1
22075
23141
 
22081
23147
 
22082
23148
  elif $PKG_CONFIG --exists "libxfce4panel-1.0" >/dev/null 2>&1; then
22083
23149
    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4panel-1.0"`
22084
 
    echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
22085
 
echo "${ECHO_T}found, but $xdt_cv_version" >&6
 
23150
    { echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
 
23151
echo "${ECHO_T}found, but $xdt_cv_version" >&6; }
22086
23152
 
22087
23153
 
22088
23154
      echo "*** The required package libxfce4panel-1.0 was found on your system,"
22094
23160
      exit 1
22095
23161
 
22096
23162
  else
22097
 
    echo "$as_me:$LINENO: result: not found" >&5
22098
 
echo "${ECHO_T}not found" >&6
 
23163
    { echo "$as_me:$LINENO: result: not found" >&5
 
23164
echo "${ECHO_T}not found" >&6; }
22099
23165
 
22100
23166
 
22101
23167
      echo "*** The required package libxfce4panel-1.0 was not found on your system."
22109
23175
 
22110
23176
 
22111
23177
 
22112
 
  # Check whether --enable-debug or --disable-debug was given.
 
23178
  # Check whether --enable-debug was given.
22113
23179
if test "${enable_debug+set}" = set; then
22114
 
  enableval="$enable_debug"
22115
 
 
 
23180
  enableval=$enable_debug;
22116
23181
else
22117
23182
  enable_debug=no
22118
 
fi;
22119
 
 
22120
 
  echo "$as_me:$LINENO: checking whether to build with debugging support" >&5
22121
 
echo $ECHO_N "checking whether to build with debugging support... $ECHO_C" >&6
 
23183
fi
 
23184
 
 
23185
 
 
23186
  { echo "$as_me:$LINENO: checking whether to build with debugging support" >&5
 
23187
echo $ECHO_N "checking whether to build with debugging support... $ECHO_C" >&6; }
22122
23188
  if test x"$enable_debug" != x"no"; then
22123
23189
 
22124
23190
cat >>confdefs.h <<\_ACEOF
22140
23206
      if test x"$GCC" = x"yes"; then
22141
23207
        xdt_cv_additional_CFLAGS="-g3 -Werror $xdt_cv_additional_CFLAGS"
22142
23208
      fi
22143
 
      echo "$as_me:$LINENO: result: full" >&5
22144
 
echo "${ECHO_T}full" >&6
 
23209
      { echo "$as_me:$LINENO: result: full" >&5
 
23210
echo "${ECHO_T}full" >&6; }
22145
23211
    else
22146
23212
      if test x"$GCC" = x"yes"; then
22147
23213
        xdt_cv_additional_CFLAGS="-g $xdt_cv_additional_CFLAGS"
22148
23214
      fi
22149
 
      echo "$as_me:$LINENO: result: yes" >&5
22150
 
echo "${ECHO_T}yes" >&6
 
23215
      { echo "$as_me:$LINENO: result: yes" >&5
 
23216
echo "${ECHO_T}yes" >&6; }
22151
23217
    fi
22152
23218
 
22153
23219
    CFLAGS="$CFLAGS $xdt_cv_additional_CFLAGS"
22154
23220
    CXXFLAGS="$CXXFLAGS $xdt_cv_additional_CFLAGS"
22155
23221
  else
22156
 
    echo "$as_me:$LINENO: result: no" >&5
22157
 
echo "${ECHO_T}no" >&6
 
23222
    { echo "$as_me:$LINENO: result: no" >&5
 
23223
echo "${ECHO_T}no" >&6; }
22158
23224
  fi
22159
23225
 
22160
23226
 
22161
 
                              ac_config_files="$ac_config_files Makefile po/Makefile.in panel-plugin/Makefile"
 
23227
ac_config_files="$ac_config_files Makefile po/Makefile.in panel-plugin/Makefile"
 
23228
 
22162
23229
cat >confcache <<\_ACEOF
22163
23230
# This file is a shell script that caches the results of configure
22164
23231
# tests run on this system so they can be shared between configure
22177
23244
 
22178
23245
# The following way of writing the cache mishandles newlines in values,
22179
23246
# but we know of no workaround that is simple, portable, and efficient.
22180
 
# So, don't put newlines in cache variables' values.
 
23247
# So, we kill variables containing newlines.
22181
23248
# Ultrix sh set writes to stderr and can't be redirected directly,
22182
23249
# and sets the high bit in the cache file unless we assign to the vars.
22183
 
{
 
23250
(
 
23251
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
23252
    eval ac_val=\$$ac_var
 
23253
    case $ac_val in #(
 
23254
    *${as_nl}*)
 
23255
      case $ac_var in #(
 
23256
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
23257
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
23258
      esac
 
23259
      case $ac_var in #(
 
23260
      _ | IFS | as_nl) ;; #(
 
23261
      *) $as_unset $ac_var ;;
 
23262
      esac ;;
 
23263
    esac
 
23264
  done
 
23265
 
22184
23266
  (set) 2>&1 |
22185
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
22186
 
    *ac_space=\ *)
 
23267
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
23268
    *${as_nl}ac_space=\ *)
22187
23269
      # `set' does not quote correctly, so add quotes (double-quote
22188
23270
      # substitution turns \\\\ into \\, and sed turns \\ into \).
22189
23271
      sed -n \
22190
23272
        "s/'/'\\\\''/g;
22191
23273
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22192
 
      ;;
 
23274
      ;; #(
22193
23275
    *)
22194
23276
      # `set' quotes correctly as required by POSIX, so do not add quotes.
22195
 
      sed -n \
22196
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
23277
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22197
23278
      ;;
22198
 
    esac;
22199
 
} |
 
23279
    esac |
 
23280
    sort
 
23281
) |
22200
23282
  sed '
 
23283
     /^ac_cv_env_/b end
22201
23284
     t clear
22202
 
     : clear
 
23285
     :clear
22203
23286
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22204
23287
     t end
22205
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22206
 
     : end' >>confcache
22207
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
22208
 
  if test -w $cache_file; then
22209
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
23288
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
23289
     :end' >>confcache
 
23290
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
23291
  if test -w "$cache_file"; then
 
23292
    test "x$cache_file" != "x/dev/null" &&
 
23293
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
23294
echo "$as_me: updating cache $cache_file" >&6;}
22210
23295
    cat confcache >$cache_file
22211
23296
  else
22212
 
    echo "not updating unwritable cache $cache_file"
 
23297
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
23298
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22213
23299
  fi
22214
23300
fi
22215
23301
rm -f confcache
22218
23304
# Let make expand exec_prefix.
22219
23305
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22220
23306
 
22221
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
22222
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22223
 
# trailing colons and then remove the whole line if VPATH becomes empty
22224
 
# (actually we leave an empty line to preserve line numbers).
22225
 
if test "x$srcdir" = x.; then
22226
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
22227
 
s/:*\$(srcdir):*/:/;
22228
 
s/:*\${srcdir}:*/:/;
22229
 
s/:*@srcdir@:*/:/;
22230
 
s/^\([^=]*=[     ]*\):*/\1/;
22231
 
s/:*$//;
22232
 
s/^[^=]*=[       ]*$//;
22233
 
}'
22234
 
fi
22235
 
 
22236
23307
DEFS=-DHAVE_CONFIG_H
22237
23308
 
22238
23309
ac_libobjs=
22239
23310
ac_ltlibobjs=
22240
23311
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22241
23312
  # 1. Remove the extension, and $U if already installed.
22242
 
  ac_i=`echo "$ac_i" |
22243
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22244
 
  # 2. Add them.
22245
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22246
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
23313
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
23314
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
23315
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
23316
  #    will be set to the directory where LIBOBJS objects are built.
 
23317
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
23318
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22247
23319
done
22248
23320
LIBOBJS=$ac_libobjs
22249
23321
 
22279
23351
   { (exit 1); exit 1; }; }
22280
23352
fi
22281
23353
 
22282
 
 
22283
 
        mv -f po/POTFILES po/POTFILES.tmp
22284
 
        sed -e '/\[encoding.*\]/d' -e 's/\[.*\] *//' < po/POTFILES.tmp > po/POTFILES
22285
 
        rm -f po/POTFILES.tmp
 
23354
  ac_config_commands="$ac_config_commands po/stamp-it"
22286
23355
 
22287
23356
 
22288
23357
 
22316
23385
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22317
23386
  # is contrary to our usage.  Disable this feature.
22318
23387
  alias -g '${1+"$@"}'='"$@"'
22319
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22320
 
  set -o posix
 
23388
  setopt NO_GLOB_SUBST
 
23389
else
 
23390
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
22321
23391
fi
 
23392
BIN_SH=xpg4; export BIN_SH # for Tru64
22322
23393
DUALCASE=1; export DUALCASE # for MKS sh
22323
23394
 
 
23395
 
 
23396
# PATH needs CR
 
23397
# Avoid depending upon Character Ranges.
 
23398
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
23399
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
23400
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
23401
as_cr_digits='0123456789'
 
23402
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
23403
 
 
23404
# The user is always right.
 
23405
if test "${PATH_SEPARATOR+set}" != set; then
 
23406
  echo "#! /bin/sh" >conf$$.sh
 
23407
  echo  "exit 0"   >>conf$$.sh
 
23408
  chmod +x conf$$.sh
 
23409
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
23410
    PATH_SEPARATOR=';'
 
23411
  else
 
23412
    PATH_SEPARATOR=:
 
23413
  fi
 
23414
  rm -f conf$$.sh
 
23415
fi
 
23416
 
22324
23417
# Support unset when possible.
22325
23418
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22326
23419
  as_unset=unset
22329
23422
fi
22330
23423
 
22331
23424
 
 
23425
# IFS
 
23426
# We need space, tab and new line, in precisely that order.  Quoting is
 
23427
# there to prevent editors from complaining about space-tab.
 
23428
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
23429
# splitting by setting IFS to empty value.)
 
23430
as_nl='
 
23431
'
 
23432
IFS=" ""        $as_nl"
 
23433
 
 
23434
# Find who we are.  Look in the path if we contain no directory separator.
 
23435
case $0 in
 
23436
  *[\\/]* ) as_myself=$0 ;;
 
23437
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
23438
for as_dir in $PATH
 
23439
do
 
23440
  IFS=$as_save_IFS
 
23441
  test -z "$as_dir" && as_dir=.
 
23442
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
23443
done
 
23444
IFS=$as_save_IFS
 
23445
 
 
23446
     ;;
 
23447
esac
 
23448
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
23449
# in which case we are not to be found in the path.
 
23450
if test "x$as_myself" = x; then
 
23451
  as_myself=$0
 
23452
fi
 
23453
if test ! -f "$as_myself"; then
 
23454
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
23455
  { (exit 1); exit 1; }
 
23456
fi
 
23457
 
22332
23458
# Work around bugs in pre-3.0 UWIN ksh.
22333
 
$as_unset ENV MAIL MAILPATH
 
23459
for as_var in ENV MAIL MAILPATH
 
23460
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
23461
done
22334
23462
PS1='$ '
22335
23463
PS2='> '
22336
23464
PS4='+ '
22344
23472
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22345
23473
    eval $as_var=C; export $as_var
22346
23474
  else
22347
 
    $as_unset $as_var
 
23475
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22348
23476
  fi
22349
23477
done
22350
23478
 
22351
23479
# Required to use basename.
22352
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
23480
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
23481
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22353
23482
  as_expr=expr
22354
23483
else
22355
23484
  as_expr=false
22356
23485
fi
22357
23486
 
22358
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
23487
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22359
23488
  as_basename=basename
22360
23489
else
22361
23490
  as_basename=false
22363
23492
 
22364
23493
 
22365
23494
# Name of the executable.
22366
 
as_me=`$as_basename "$0" ||
 
23495
as_me=`$as_basename -- "$0" ||
22367
23496
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22368
23497
         X"$0" : 'X\(//\)$' \| \
22369
 
         X"$0" : 'X\(/\)$' \| \
22370
 
         .     : '\(.\)' 2>/dev/null ||
 
23498
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22371
23499
echo X/"$0" |
22372
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22373
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
22374
 
          /^X\/\(\/\).*/{ s//\1/; q; }
22375
 
          s/.*/./; q'`
22376
 
 
22377
 
 
22378
 
# PATH needs CR, and LINENO needs CR and PATH.
22379
 
# Avoid depending upon Character Ranges.
22380
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22381
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22382
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22383
 
as_cr_digits='0123456789'
22384
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
22385
 
 
22386
 
# The user is always right.
22387
 
if test "${PATH_SEPARATOR+set}" != set; then
22388
 
  echo "#! /bin/sh" >conf$$.sh
22389
 
  echo  "exit 0"   >>conf$$.sh
22390
 
  chmod +x conf$$.sh
22391
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22392
 
    PATH_SEPARATOR=';'
22393
 
  else
22394
 
    PATH_SEPARATOR=:
22395
 
  fi
22396
 
  rm -f conf$$.sh
22397
 
fi
22398
 
 
22399
 
 
22400
 
  as_lineno_1=$LINENO
22401
 
  as_lineno_2=$LINENO
22402
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22403
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
22404
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
22405
 
  # Find who we are.  Look in the path if we contain no path at all
22406
 
  # relative or not.
22407
 
  case $0 in
22408
 
    *[\\/]* ) as_myself=$0 ;;
22409
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22410
 
for as_dir in $PATH
22411
 
do
22412
 
  IFS=$as_save_IFS
22413
 
  test -z "$as_dir" && as_dir=.
22414
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22415
 
done
22416
 
 
22417
 
       ;;
22418
 
  esac
22419
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
22420
 
  # in which case we are not to be found in the path.
22421
 
  if test "x$as_myself" = x; then
22422
 
    as_myself=$0
22423
 
  fi
22424
 
  if test ! -f "$as_myself"; then
22425
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22426
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22427
 
   { (exit 1); exit 1; }; }
22428
 
  fi
22429
 
  case $CONFIG_SHELL in
22430
 
  '')
22431
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22432
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22433
 
do
22434
 
  IFS=$as_save_IFS
22435
 
  test -z "$as_dir" && as_dir=.
22436
 
  for as_base in sh bash ksh sh5; do
22437
 
         case $as_dir in
22438
 
         /*)
22439
 
           if ("$as_dir/$as_base" -c '
22440
 
  as_lineno_1=$LINENO
22441
 
  as_lineno_2=$LINENO
22442
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22443
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
22444
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
22445
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22446
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22447
 
             CONFIG_SHELL=$as_dir/$as_base
22448
 
             export CONFIG_SHELL
22449
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22450
 
           fi;;
22451
 
         esac
22452
 
       done
22453
 
done
22454
 
;;
22455
 
  esac
 
23500
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
23501
            s//\1/
 
23502
            q
 
23503
          }
 
23504
          /^X\/\(\/\/\)$/{
 
23505
            s//\1/
 
23506
            q
 
23507
          }
 
23508
          /^X\/\(\/\).*/{
 
23509
            s//\1/
 
23510
            q
 
23511
          }
 
23512
          s/.*/./; q'`
 
23513
 
 
23514
# CDPATH.
 
23515
$as_unset CDPATH
 
23516
 
 
23517
 
 
23518
 
 
23519
  as_lineno_1=$LINENO
 
23520
  as_lineno_2=$LINENO
 
23521
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
23522
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22456
23523
 
22457
23524
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22458
23525
  # uniformly replaced by the line number.  The first 'sed' inserts a
22459
 
  # line-number line before each line; the second 'sed' does the real
22460
 
  # work.  The second script uses 'N' to pair each line-number line
22461
 
  # with the numbered line, and appends trailing '-' during
22462
 
  # substitution so that $LINENO is not a special case at line end.
 
23526
  # line-number line after each line using $LINENO; the second 'sed'
 
23527
  # does the real work.  The second script uses 'N' to pair each
 
23528
  # line-number line with the line containing $LINENO, and appends
 
23529
  # trailing '-' during substitution so that $LINENO is not a special
 
23530
  # case at line end.
22463
23531
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22464
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
22465
 
  sed '=' <$as_myself |
 
23532
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
23533
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
23534
  sed -n '
 
23535
    p
 
23536
    /[$]LINENO/=
 
23537
  ' <$as_myself |
22466
23538
    sed '
 
23539
      s/[$]LINENO.*/&-/
 
23540
      t lineno
 
23541
      b
 
23542
      :lineno
22467
23543
      N
22468
 
      s,$,-,
22469
 
      : loop
22470
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
23544
      :loop
 
23545
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22471
23546
      t loop
22472
 
      s,-$,,
22473
 
      s,^['$as_cr_digits']*\n,,
 
23547
      s/-\n.*//
22474
23548
    ' >$as_me.lineno &&
22475
 
  chmod +x $as_me.lineno ||
22476
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22477
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
23549
  chmod +x "$as_me.lineno" ||
 
23550
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22478
23551
   { (exit 1); exit 1; }; }
22479
23552
 
22480
23553
  # Don't try to exec as it changes $[0], causing all sort of problems
22481
23554
  # (the dirname of $[0] is not the place where we might find the
22482
 
  # original and so on.  Autoconf is especially sensible to this).
22483
 
  . ./$as_me.lineno
 
23555
  # original and so on.  Autoconf is especially sensitive to this).
 
23556
  . "./$as_me.lineno"
22484
23557
  # Exit status is that of the last command.
22485
23558
  exit
22486
23559
}
22487
23560
 
22488
23561
 
22489
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22490
 
  *c*,-n*) ECHO_N= ECHO_C='
22491
 
' ECHO_T='      ' ;;
22492
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
22493
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
23562
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
23563
  as_dirname=dirname
 
23564
else
 
23565
  as_dirname=false
 
23566
fi
 
23567
 
 
23568
ECHO_C= ECHO_N= ECHO_T=
 
23569
case `echo -n x` in
 
23570
-n*)
 
23571
  case `echo 'x\c'` in
 
23572
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
23573
  *)   ECHO_C='\c';;
 
23574
  esac;;
 
23575
*)
 
23576
  ECHO_N='-n';;
22494
23577
esac
22495
23578
 
22496
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
23579
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
23580
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22497
23581
  as_expr=expr
22498
23582
else
22499
23583
  as_expr=false
22500
23584
fi
22501
23585
 
22502
23586
rm -f conf$$ conf$$.exe conf$$.file
 
23587
if test -d conf$$.dir; then
 
23588
  rm -f conf$$.dir/conf$$.file
 
23589
else
 
23590
  rm -f conf$$.dir
 
23591
  mkdir conf$$.dir
 
23592
fi
22503
23593
echo >conf$$.file
22504
23594
if ln -s conf$$.file conf$$ 2>/dev/null; then
22505
 
  # We could just check for DJGPP; but this test a) works b) is more generic
22506
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22507
 
  if test -f conf$$.exe; then
22508
 
    # Don't use ln at all; we don't have any links
 
23595
  as_ln_s='ln -s'
 
23596
  # ... but there are two gotchas:
 
23597
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
23598
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
23599
  # In both cases, we have to default to `cp -p'.
 
23600
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22509
23601
    as_ln_s='cp -p'
22510
 
  else
22511
 
    as_ln_s='ln -s'
22512
 
  fi
22513
23602
elif ln conf$$.file conf$$ 2>/dev/null; then
22514
23603
  as_ln_s=ln
22515
23604
else
22516
23605
  as_ln_s='cp -p'
22517
23606
fi
22518
 
rm -f conf$$ conf$$.exe conf$$.file
 
23607
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
23608
rmdir conf$$.dir 2>/dev/null
22519
23609
 
22520
23610
if mkdir -p . 2>/dev/null; then
22521
23611
  as_mkdir_p=:
22524
23614
  as_mkdir_p=false
22525
23615
fi
22526
23616
 
22527
 
as_executable_p="test -f"
 
23617
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
23618
# systems may use methods other than mode bits to determine executability.
 
23619
cat >conf$$.file <<_ASEOF
 
23620
#! /bin/sh
 
23621
exit 0
 
23622
_ASEOF
 
23623
chmod +x conf$$.file
 
23624
if test -x conf$$.file >/dev/null 2>&1; then
 
23625
  as_executable_p="test -x"
 
23626
else
 
23627
  as_executable_p=:
 
23628
fi
 
23629
rm -f conf$$.file
22528
23630
 
22529
23631
# Sed expression to map a string onto a valid CPP name.
22530
23632
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22533
23635
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22534
23636
 
22535
23637
 
22536
 
# IFS
22537
 
# We need space, tab and new line, in precisely that order.
22538
 
as_nl='
22539
 
'
22540
 
IFS="   $as_nl"
22541
 
 
22542
 
# CDPATH.
22543
 
$as_unset CDPATH
22544
 
 
22545
23638
exec 6>&1
22546
23639
 
22547
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
23640
# Save the log message, to keep $[0] and so on meaningful, and to
22548
23641
# report actual input values of CONFIG_FILES etc. instead of their
22549
 
# values after options handling.  Logging --version etc. is OK.
22550
 
exec 5>>config.log
22551
 
{
22552
 
  echo
22553
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22554
 
## Running $as_me. ##
22555
 
_ASBOX
22556
 
} >&5
22557
 
cat >&5 <<_CSEOF
22558
 
 
22559
 
This file was extended by xfce4-dict-plugin $as_me 0.2.0, which was
22560
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
23642
# values after options handling.
 
23643
ac_log="
 
23644
This file was extended by xfce4-dict-plugin $as_me 0.2.1, which was
 
23645
generated by GNU Autoconf 2.60a.  Invocation command line was
22561
23646
 
22562
23647
  CONFIG_FILES    = $CONFIG_FILES
22563
23648
  CONFIG_HEADERS  = $CONFIG_HEADERS
22565
23650
  CONFIG_COMMANDS = $CONFIG_COMMANDS
22566
23651
  $ $0 $@
22567
23652
 
22568
 
_CSEOF
22569
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22570
 
echo >&5
 
23653
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
23654
"
 
23655
 
22571
23656
_ACEOF
22572
23657
 
 
23658
cat >>$CONFIG_STATUS <<_ACEOF
22573
23659
# Files that config.status was made for.
22574
 
if test -n "$ac_config_files"; then
22575
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22576
 
fi
22577
 
 
22578
 
if test -n "$ac_config_headers"; then
22579
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22580
 
fi
22581
 
 
22582
 
if test -n "$ac_config_links"; then
22583
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22584
 
fi
22585
 
 
22586
 
if test -n "$ac_config_commands"; then
22587
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22588
 
fi
 
23660
config_files="$ac_config_files"
 
23661
config_headers="$ac_config_headers"
 
23662
config_commands="$ac_config_commands"
 
23663
 
 
23664
_ACEOF
22589
23665
 
22590
23666
cat >>$CONFIG_STATUS <<\_ACEOF
22591
 
 
22592
23667
ac_cs_usage="\
22593
23668
\`$as_me' instantiates files from templates according to the
22594
23669
current configuration.
22596
23671
Usage: $0 [OPTIONS] [FILE]...
22597
23672
 
22598
23673
  -h, --help       print this help, then exit
22599
 
  -V, --version    print version number, then exit
 
23674
  -V, --version    print version number and configuration settings, then exit
22600
23675
  -q, --quiet      do not print progress messages
22601
23676
  -d, --debug      don't remove temporary files
22602
23677
      --recheck    update $as_me by reconfiguring in the same conditions
22615
23690
$config_commands
22616
23691
 
22617
23692
Report bugs to <bug-autoconf@gnu.org>."
 
23693
 
22618
23694
_ACEOF
22619
 
 
22620
23695
cat >>$CONFIG_STATUS <<_ACEOF
22621
23696
ac_cs_version="\\
22622
 
xfce4-dict-plugin config.status 0.2.0
22623
 
configured by $0, generated by GNU Autoconf 2.59,
22624
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
23697
xfce4-dict-plugin config.status 0.2.1
 
23698
configured by $0, generated by GNU Autoconf 2.60a,
 
23699
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22625
23700
 
22626
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
23701
Copyright (C) 2006 Free Software Foundation, Inc.
22627
23702
This config.status script is free software; the Free Software Foundation
22628
23703
gives unlimited permission to copy, distribute and modify it."
22629
 
srcdir=$srcdir
22630
 
INSTALL="$INSTALL"
 
23704
 
 
23705
ac_pwd='$ac_pwd'
 
23706
srcdir='$srcdir'
 
23707
INSTALL='$INSTALL'
22631
23708
_ACEOF
22632
23709
 
22633
23710
cat >>$CONFIG_STATUS <<\_ACEOF
22638
23715
do
22639
23716
  case $1 in
22640
23717
  --*=*)
22641
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
22642
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
23718
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
23719
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22643
23720
    ac_shift=:
22644
23721
    ;;
22645
 
  -*)
 
23722
  *)
22646
23723
    ac_option=$1
22647
23724
    ac_optarg=$2
22648
23725
    ac_shift=shift
22649
23726
    ;;
22650
 
  *) # This is not an option, so the user has probably given explicit
22651
 
     # arguments.
22652
 
     ac_option=$1
22653
 
     ac_need_defaults=false;;
22654
23727
  esac
22655
23728
 
22656
23729
  case $ac_option in
22657
23730
  # Handling of the options.
22658
 
_ACEOF
22659
 
cat >>$CONFIG_STATUS <<\_ACEOF
22660
23731
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22661
23732
    ac_cs_recheck=: ;;
22662
 
  --version | --vers* | -V )
22663
 
    echo "$ac_cs_version"; exit 0 ;;
22664
 
  --he | --h)
22665
 
    # Conflict between --help and --header
22666
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
22667
 
Try \`$0 --help' for more information." >&5
22668
 
echo "$as_me: error: ambiguous option: $1
22669
 
Try \`$0 --help' for more information." >&2;}
22670
 
   { (exit 1); exit 1; }; };;
22671
 
  --help | --hel | -h )
22672
 
    echo "$ac_cs_usage"; exit 0 ;;
22673
 
  --debug | --d* | -d )
 
23733
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
23734
    echo "$ac_cs_version"; exit ;;
 
23735
  --debug | --debu | --deb | --de | --d | -d )
22674
23736
    debug=: ;;
22675
23737
  --file | --fil | --fi | --f )
22676
23738
    $ac_shift
22680
23742
    $ac_shift
22681
23743
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22682
23744
    ac_need_defaults=false;;
 
23745
  --he | --h)
 
23746
    # Conflict between --help and --header
 
23747
    { echo "$as_me: error: ambiguous option: $1
 
23748
Try \`$0 --help' for more information." >&2
 
23749
   { (exit 1); exit 1; }; };;
 
23750
  --help | --hel | -h )
 
23751
    echo "$ac_cs_usage"; exit ;;
22683
23752
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22684
23753
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
22685
23754
    ac_cs_silent=: ;;
22686
23755
 
22687
23756
  # This is an error.
22688
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22689
 
Try \`$0 --help' for more information." >&5
22690
 
echo "$as_me: error: unrecognized option: $1
22691
 
Try \`$0 --help' for more information." >&2;}
 
23757
  -*) { echo "$as_me: error: unrecognized option: $1
 
23758
Try \`$0 --help' for more information." >&2
22692
23759
   { (exit 1); exit 1; }; } ;;
22693
23760
 
22694
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
23761
  *) ac_config_targets="$ac_config_targets $1"
 
23762
     ac_need_defaults=false ;;
22695
23763
 
22696
23764
  esac
22697
23765
  shift
22707
23775
_ACEOF
22708
23776
cat >>$CONFIG_STATUS <<_ACEOF
22709
23777
if \$ac_cs_recheck; then
22710
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22711
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
23778
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
23779
  CONFIG_SHELL=$SHELL
 
23780
  export CONFIG_SHELL
 
23781
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22712
23782
fi
22713
23783
 
22714
23784
_ACEOF
 
23785
cat >>$CONFIG_STATUS <<\_ACEOF
 
23786
exec 5>>config.log
 
23787
{
 
23788
  echo
 
23789
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
23790
## Running $as_me. ##
 
23791
_ASBOX
 
23792
  echo "$ac_log"
 
23793
} >&5
22715
23794
 
 
23795
_ACEOF
22716
23796
cat >>$CONFIG_STATUS <<_ACEOF
22717
23797
#
22718
 
# INIT-COMMANDS section.
 
23798
# INIT-COMMANDS
22719
23799
#
22720
 
 
22721
23800
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22722
 
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir=${ac_aux_dir}
22723
 
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' ICONV='${INTLTOOL_ICONV}'
22724
 
MSGFMT='${INTLTOOL_MSGFMT}' MSGMERGE='${INTLTOOL_MSGMERGE}'
22725
 
XGETTEXT='${INTLTOOL_XGETTEXT}'
 
23801
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
 
23802
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
 
23803
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}'
 
23804
INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}'
 
23805
INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}'
22726
23806
 
22727
23807
 
22728
23808
_ACEOF
22729
23809
 
22730
 
 
22731
 
 
22732
23810
cat >>$CONFIG_STATUS <<\_ACEOF
 
23811
 
 
23812
# Handling of arguments.
22733
23813
for ac_config_target in $ac_config_targets
22734
23814
do
22735
 
  case "$ac_config_target" in
22736
 
  # Handling of arguments.
22737
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22738
 
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
22739
 
  "panel-plugin/Makefile" ) CONFIG_FILES="$CONFIG_FILES panel-plugin/Makefile" ;;
22740
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22741
 
  "intltool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
22742
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
22743
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
23815
  case $ac_config_target in
 
23816
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
23817
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
23818
    "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
 
23819
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
23820
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
23821
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
23822
    "panel-plugin/Makefile") CONFIG_FILES="$CONFIG_FILES panel-plugin/Makefile" ;;
 
23823
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
23824
 
22744
23825
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22745
23826
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22746
23827
   { (exit 1); exit 1; }; };;
22747
23828
  esac
22748
23829
done
22749
23830
 
 
23831
 
22750
23832
# If the user did not use the arguments to specify the items to instantiate,
22751
23833
# then the envvar interface is used.  Set only those that are not.
22752
23834
# We use the long form for the default assignment because of an extremely
22758
23840
fi
22759
23841
 
22760
23842
# Have a temporary directory for convenience.  Make it in the build tree
22761
 
# simply because there is no reason to put it here, and in addition,
 
23843
# simply because there is no reason against having it here, and in addition,
22762
23844
# creating and moving files from /tmp can sometimes cause problems.
22763
 
# Create a temporary directory, and hook for its removal unless debugging.
 
23845
# Hook for its removal unless debugging.
 
23846
# Note that there is a small window in which the directory will not be cleaned:
 
23847
# after its creation but before its name has been assigned to `$tmp'.
22764
23848
$debug ||
22765
23849
{
22766
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
23850
  tmp=
 
23851
  trap 'exit_status=$?
 
23852
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
23853
' 0
22767
23854
  trap '{ (exit 1); exit 1; }' 1 2 13 15
22768
23855
}
22769
 
 
22770
23856
# Create a (secure) tmp directory for tmp files.
22771
23857
 
22772
23858
{
22773
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
23859
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22774
23860
  test -n "$tmp" && test -d "$tmp"
22775
23861
}  ||
22776
23862
{
22777
 
  tmp=./confstat$$-$RANDOM
22778
 
  (umask 077 && mkdir $tmp)
 
23863
  tmp=./conf$$-$RANDOM
 
23864
  (umask 077 && mkdir "$tmp")
22779
23865
} ||
22780
23866
{
22781
23867
   echo "$me: cannot create a temporary directory in ." >&2
22782
23868
   { (exit 1); exit 1; }
22783
23869
}
22784
23870
 
22785
 
_ACEOF
22786
 
 
22787
 
cat >>$CONFIG_STATUS <<_ACEOF
22788
 
 
22789
23871
#
22790
 
# CONFIG_FILES section.
 
23872
# Set up the sed scripts for CONFIG_FILES section.
22791
23873
#
22792
23874
 
22793
23875
# No need to generate the scripts if there are no CONFIG_FILES.
22794
23876
# This happens for instance when ./config.status config.h
22795
 
if test -n "\$CONFIG_FILES"; then
22796
 
  # Protect against being on the right side of a sed subst in config.status.
22797
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22798
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22799
 
s,@SHELL@,$SHELL,;t t
22800
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22801
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22802
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22803
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22804
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22805
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22806
 
s,@exec_prefix@,$exec_prefix,;t t
22807
 
s,@prefix@,$prefix,;t t
22808
 
s,@program_transform_name@,$program_transform_name,;t t
22809
 
s,@bindir@,$bindir,;t t
22810
 
s,@sbindir@,$sbindir,;t t
22811
 
s,@libexecdir@,$libexecdir,;t t
22812
 
s,@datadir@,$datadir,;t t
22813
 
s,@sysconfdir@,$sysconfdir,;t t
22814
 
s,@sharedstatedir@,$sharedstatedir,;t t
22815
 
s,@localstatedir@,$localstatedir,;t t
22816
 
s,@libdir@,$libdir,;t t
22817
 
s,@includedir@,$includedir,;t t
22818
 
s,@oldincludedir@,$oldincludedir,;t t
22819
 
s,@infodir@,$infodir,;t t
22820
 
s,@mandir@,$mandir,;t t
22821
 
s,@build_alias@,$build_alias,;t t
22822
 
s,@host_alias@,$host_alias,;t t
22823
 
s,@target_alias@,$target_alias,;t t
22824
 
s,@DEFS@,$DEFS,;t t
22825
 
s,@ECHO_C@,$ECHO_C,;t t
22826
 
s,@ECHO_N@,$ECHO_N,;t t
22827
 
s,@ECHO_T@,$ECHO_T,;t t
22828
 
s,@LIBS@,$LIBS,;t t
22829
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22830
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22831
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22832
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
22833
 
s,@PACKAGE@,$PACKAGE,;t t
22834
 
s,@VERSION@,$VERSION,;t t
22835
 
s,@ACLOCAL@,$ACLOCAL,;t t
22836
 
s,@AUTOCONF@,$AUTOCONF,;t t
22837
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
22838
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
22839
 
s,@MAKEINFO@,$MAKEINFO,;t t
22840
 
s,@install_sh@,$install_sh,;t t
22841
 
s,@STRIP@,$STRIP,;t t
22842
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
22843
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
22844
 
s,@mkdir_p@,$mkdir_p,;t t
22845
 
s,@AWK@,$AWK,;t t
22846
 
s,@SET_MAKE@,$SET_MAKE,;t t
22847
 
s,@am__leading_dot@,$am__leading_dot,;t t
22848
 
s,@AMTAR@,$AMTAR,;t t
22849
 
s,@am__tar@,$am__tar,;t t
22850
 
s,@am__untar@,$am__untar,;t t
22851
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22852
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22853
 
s,@MAINT@,$MAINT,;t t
22854
 
s,@CC@,$CC,;t t
22855
 
s,@CFLAGS@,$CFLAGS,;t t
22856
 
s,@LDFLAGS@,$LDFLAGS,;t t
22857
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
22858
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
22859
 
s,@EXEEXT@,$EXEEXT,;t t
22860
 
s,@OBJEXT@,$OBJEXT,;t t
22861
 
s,@DEPDIR@,$DEPDIR,;t t
22862
 
s,@am__include@,$am__include,;t t
22863
 
s,@am__quote@,$am__quote,;t t
22864
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
22865
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
22866
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
22867
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
22868
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
22869
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
22870
 
s,@build@,$build,;t t
22871
 
s,@build_cpu@,$build_cpu,;t t
22872
 
s,@build_vendor@,$build_vendor,;t t
22873
 
s,@build_os@,$build_os,;t t
22874
 
s,@host@,$host,;t t
22875
 
s,@host_cpu@,$host_cpu,;t t
22876
 
s,@host_vendor@,$host_vendor,;t t
22877
 
s,@host_os@,$host_os,;t t
22878
 
s,@EGREP@,$EGREP,;t t
22879
 
s,@LN_S@,$LN_S,;t t
22880
 
s,@ECHO@,$ECHO,;t t
22881
 
s,@AR@,$AR,;t t
22882
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
22883
 
s,@RANLIB@,$RANLIB,;t t
22884
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22885
 
s,@CPP@,$CPP,;t t
22886
 
s,@CXX@,$CXX,;t t
22887
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
22888
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
22889
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
22890
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
22891
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
22892
 
s,@CXXCPP@,$CXXCPP,;t t
22893
 
s,@F77@,$F77,;t t
22894
 
s,@FFLAGS@,$FFLAGS,;t t
22895
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
22896
 
s,@LIBTOOL@,$LIBTOOL,;t t
22897
 
s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t
22898
 
s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t
22899
 
s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t
22900
 
s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t
22901
 
s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t
22902
 
s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t
22903
 
s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t
22904
 
s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t
22905
 
s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t
22906
 
s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t
22907
 
s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t
22908
 
s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t
22909
 
s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t
22910
 
s,@INTLTOOL_XML_NOMERGE_RULE@,$INTLTOOL_XML_NOMERGE_RULE,;t t
22911
 
s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t
22912
 
s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t
22913
 
s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t
22914
 
s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
22915
 
s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
22916
 
s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
22917
 
s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t
22918
 
s,@INTLTOOL_ICONV@,$INTLTOOL_ICONV,;t t
22919
 
s,@INTLTOOL_MSGFMT@,$INTLTOOL_MSGFMT,;t t
22920
 
s,@INTLTOOL_MSGMERGE@,$INTLTOOL_MSGMERGE,;t t
22921
 
s,@INTLTOOL_XGETTEXT@,$INTLTOOL_XGETTEXT,;t t
22922
 
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
22923
 
s,@USE_NLS@,$USE_NLS,;t t
22924
 
s,@MSGFMT@,$MSGFMT,;t t
22925
 
s,@GMSGFMT@,$GMSGFMT,;t t
22926
 
s,@XGETTEXT@,$XGETTEXT,;t t
22927
 
s,@CATALOGS@,$CATALOGS,;t t
22928
 
s,@CATOBJEXT@,$CATOBJEXT,;t t
22929
 
s,@DATADIRNAME@,$DATADIRNAME,;t t
22930
 
s,@GMOFILES@,$GMOFILES,;t t
22931
 
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
22932
 
s,@INTLLIBS@,$INTLLIBS,;t t
22933
 
s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
22934
 
s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
22935
 
s,@POFILES@,$POFILES,;t t
22936
 
s,@POSUB@,$POSUB,;t t
22937
 
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
22938
 
s,@localedir@,$localedir,;t t
22939
 
s,@XGETTEXT_ARGS@,$XGETTEXT_ARGS,;t t
22940
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
22941
 
s,@GTHREAD_VERSION@,$GTHREAD_VERSION,;t t
22942
 
s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t
22943
 
s,@GTHREAD_LIBS@,$GTHREAD_LIBS,;t t
22944
 
s,@GTHREAD_REQUIRED_VERSION@,$GTHREAD_REQUIRED_VERSION,;t t
22945
 
s,@GTK_VERSION@,$GTK_VERSION,;t t
22946
 
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
22947
 
s,@GTK_LIBS@,$GTK_LIBS,;t t
22948
 
s,@GTK_REQUIRED_VERSION@,$GTK_REQUIRED_VERSION,;t t
22949
 
s,@LIBXFCEGUI4_VERSION@,$LIBXFCEGUI4_VERSION,;t t
22950
 
s,@LIBXFCEGUI4_CFLAGS@,$LIBXFCEGUI4_CFLAGS,;t t
22951
 
s,@LIBXFCEGUI4_LIBS@,$LIBXFCEGUI4_LIBS,;t t
22952
 
s,@LIBXFCEGUI4_REQUIRED_VERSION@,$LIBXFCEGUI4_REQUIRED_VERSION,;t t
22953
 
s,@LIBXFCE4UTIL_VERSION@,$LIBXFCE4UTIL_VERSION,;t t
22954
 
s,@LIBXFCE4UTIL_CFLAGS@,$LIBXFCE4UTIL_CFLAGS,;t t
22955
 
s,@LIBXFCE4UTIL_LIBS@,$LIBXFCE4UTIL_LIBS,;t t
22956
 
s,@LIBXFCE4UTIL_REQUIRED_VERSION@,$LIBXFCE4UTIL_REQUIRED_VERSION,;t t
22957
 
s,@LIBXFCE4PANEL_VERSION@,$LIBXFCE4PANEL_VERSION,;t t
22958
 
s,@LIBXFCE4PANEL_CFLAGS@,$LIBXFCE4PANEL_CFLAGS,;t t
22959
 
s,@LIBXFCE4PANEL_LIBS@,$LIBXFCE4PANEL_LIBS,;t t
22960
 
s,@LIBXFCE4PANEL_REQUIRED_VERSION@,$LIBXFCE4PANEL_REQUIRED_VERSION,;t t
22961
 
s,@LIBOBJS@,$LIBOBJS,;t t
22962
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22963
 
CEOF
22964
 
 
22965
 
_ACEOF
22966
 
 
22967
 
  cat >>$CONFIG_STATUS <<\_ACEOF
22968
 
  # Split the substitutions into bite-sized pieces for seds with
22969
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
22970
 
  ac_max_sed_lines=48
22971
 
  ac_sed_frag=1 # Number of current file.
22972
 
  ac_beg=1 # First line for current file.
22973
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
22974
 
  ac_more_lines=:
22975
 
  ac_sed_cmds=
22976
 
  while $ac_more_lines; do
22977
 
    if test $ac_beg -gt 1; then
22978
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22979
 
    else
22980
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22981
 
    fi
22982
 
    if test ! -s $tmp/subs.frag; then
22983
 
      ac_more_lines=false
22984
 
    else
22985
 
      # The purpose of the label and of the branching condition is to
22986
 
      # speed up the sed processing (if there are no `@' at all, there
22987
 
      # is no need to browse any of the substitutions).
22988
 
      # These are the two extra sed commands mentioned above.
22989
 
      (echo ':t
22990
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
22991
 
      if test -z "$ac_sed_cmds"; then
22992
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
22993
 
      else
22994
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22995
 
      fi
22996
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
22997
 
      ac_beg=$ac_end
22998
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
22999
 
    fi
23000
 
  done
23001
 
  if test -z "$ac_sed_cmds"; then
23002
 
    ac_sed_cmds=cat
23003
 
  fi
 
23877
if test -n "$CONFIG_FILES"; then
 
23878
 
 
23879
_ACEOF
 
23880
 
 
23881
 
 
23882
 
 
23883
ac_delim='%!_!# '
 
23884
for ac_last_try in false false false false false :; do
 
23885
  cat >conf$$subs.sed <<_ACEOF
 
23886
SHELL!$SHELL$ac_delim
 
23887
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
23888
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
23889
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
23890
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
23891
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
23892
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
23893
exec_prefix!$exec_prefix$ac_delim
 
23894
prefix!$prefix$ac_delim
 
23895
program_transform_name!$program_transform_name$ac_delim
 
23896
bindir!$bindir$ac_delim
 
23897
sbindir!$sbindir$ac_delim
 
23898
libexecdir!$libexecdir$ac_delim
 
23899
datarootdir!$datarootdir$ac_delim
 
23900
datadir!$datadir$ac_delim
 
23901
sysconfdir!$sysconfdir$ac_delim
 
23902
sharedstatedir!$sharedstatedir$ac_delim
 
23903
localstatedir!$localstatedir$ac_delim
 
23904
includedir!$includedir$ac_delim
 
23905
oldincludedir!$oldincludedir$ac_delim
 
23906
docdir!$docdir$ac_delim
 
23907
infodir!$infodir$ac_delim
 
23908
htmldir!$htmldir$ac_delim
 
23909
dvidir!$dvidir$ac_delim
 
23910
pdfdir!$pdfdir$ac_delim
 
23911
psdir!$psdir$ac_delim
 
23912
libdir!$libdir$ac_delim
 
23913
localedir!$localedir$ac_delim
 
23914
mandir!$mandir$ac_delim
 
23915
DEFS!$DEFS$ac_delim
 
23916
ECHO_C!$ECHO_C$ac_delim
 
23917
ECHO_N!$ECHO_N$ac_delim
 
23918
ECHO_T!$ECHO_T$ac_delim
 
23919
LIBS!$LIBS$ac_delim
 
23920
build_alias!$build_alias$ac_delim
 
23921
host_alias!$host_alias$ac_delim
 
23922
target_alias!$target_alias$ac_delim
 
23923
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
23924
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
23925
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
23926
CYGPATH_W!$CYGPATH_W$ac_delim
 
23927
PACKAGE!$PACKAGE$ac_delim
 
23928
VERSION!$VERSION$ac_delim
 
23929
ACLOCAL!$ACLOCAL$ac_delim
 
23930
AUTOCONF!$AUTOCONF$ac_delim
 
23931
AUTOMAKE!$AUTOMAKE$ac_delim
 
23932
AUTOHEADER!$AUTOHEADER$ac_delim
 
23933
MAKEINFO!$MAKEINFO$ac_delim
 
23934
install_sh!$install_sh$ac_delim
 
23935
STRIP!$STRIP$ac_delim
 
23936
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
23937
mkdir_p!$mkdir_p$ac_delim
 
23938
AWK!$AWK$ac_delim
 
23939
SET_MAKE!$SET_MAKE$ac_delim
 
23940
am__leading_dot!$am__leading_dot$ac_delim
 
23941
AMTAR!$AMTAR$ac_delim
 
23942
am__tar!$am__tar$ac_delim
 
23943
am__untar!$am__untar$ac_delim
 
23944
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
23945
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
23946
MAINT!$MAINT$ac_delim
 
23947
CC!$CC$ac_delim
 
23948
CFLAGS!$CFLAGS$ac_delim
 
23949
LDFLAGS!$LDFLAGS$ac_delim
 
23950
CPPFLAGS!$CPPFLAGS$ac_delim
 
23951
ac_ct_CC!$ac_ct_CC$ac_delim
 
23952
EXEEXT!$EXEEXT$ac_delim
 
23953
OBJEXT!$OBJEXT$ac_delim
 
23954
DEPDIR!$DEPDIR$ac_delim
 
23955
am__include!$am__include$ac_delim
 
23956
am__quote!$am__quote$ac_delim
 
23957
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
23958
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
23959
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
23960
CCDEPMODE!$CCDEPMODE$ac_delim
 
23961
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
23962
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
23963
build!$build$ac_delim
 
23964
build_cpu!$build_cpu$ac_delim
 
23965
build_vendor!$build_vendor$ac_delim
 
23966
build_os!$build_os$ac_delim
 
23967
host!$host$ac_delim
 
23968
host_cpu!$host_cpu$ac_delim
 
23969
host_vendor!$host_vendor$ac_delim
 
23970
host_os!$host_os$ac_delim
 
23971
GREP!$GREP$ac_delim
 
23972
EGREP!$EGREP$ac_delim
 
23973
LN_S!$LN_S$ac_delim
 
23974
ECHO!$ECHO$ac_delim
 
23975
AR!$AR$ac_delim
 
23976
RANLIB!$RANLIB$ac_delim
 
23977
CPP!$CPP$ac_delim
 
23978
CXX!$CXX$ac_delim
 
23979
CXXFLAGS!$CXXFLAGS$ac_delim
 
23980
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
23981
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
23982
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
23983
_ACEOF
 
23984
 
 
23985
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
23986
    break
 
23987
  elif $ac_last_try; then
 
23988
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
23989
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
23990
   { (exit 1); exit 1; }; }
 
23991
  else
 
23992
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23993
  fi
 
23994
done
 
23995
 
 
23996
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
23997
if test -n "$ac_eof"; then
 
23998
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
23999
  ac_eof=`expr $ac_eof + 1`
 
24000
fi
 
24001
 
 
24002
cat >>$CONFIG_STATUS <<_ACEOF
 
24003
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
24004
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
24005
_ACEOF
 
24006
sed '
 
24007
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
24008
s/^/s,@/; s/!/@,|#_!!_#|/
 
24009
:n
 
24010
t n
 
24011
s/'"$ac_delim"'$/,g/; t
 
24012
s/$/\\/; p
 
24013
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
24014
' >>$CONFIG_STATUS <conf$$subs.sed
 
24015
rm -f conf$$subs.sed
 
24016
cat >>$CONFIG_STATUS <<_ACEOF
 
24017
CEOF$ac_eof
 
24018
_ACEOF
 
24019
 
 
24020
 
 
24021
ac_delim='%!_!# '
 
24022
for ac_last_try in false false false false false :; do
 
24023
  cat >conf$$subs.sed <<_ACEOF
 
24024
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
24025
CXXCPP!$CXXCPP$ac_delim
 
24026
F77!$F77$ac_delim
 
24027
FFLAGS!$FFLAGS$ac_delim
 
24028
ac_ct_F77!$ac_ct_F77$ac_delim
 
24029
LIBTOOL!$LIBTOOL$ac_delim
 
24030
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
 
24031
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
 
24032
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
 
24033
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
 
24034
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
 
24035
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
 
24036
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
 
24037
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
 
24038
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
 
24039
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
 
24040
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
 
24041
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
 
24042
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
 
24043
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
 
24044
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
 
24045
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
 
24046
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
 
24047
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
 
24048
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
 
24049
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
 
24050
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
 
24051
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
 
24052
INTLTOOL_ICONV!$INTLTOOL_ICONV$ac_delim
 
24053
INTLTOOL_MSGFMT!$INTLTOOL_MSGFMT$ac_delim
 
24054
INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim
 
24055
INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim
 
24056
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
 
24057
DATADIRNAME!$DATADIRNAME$ac_delim
 
24058
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
 
24059
USE_NLS!$USE_NLS$ac_delim
 
24060
MSGFMT!$MSGFMT$ac_delim
 
24061
GMSGFMT!$GMSGFMT$ac_delim
 
24062
XGETTEXT!$XGETTEXT$ac_delim
 
24063
CATALOGS!$CATALOGS$ac_delim
 
24064
CATOBJEXT!$CATOBJEXT$ac_delim
 
24065
GMOFILES!$GMOFILES$ac_delim
 
24066
INSTOBJEXT!$INSTOBJEXT$ac_delim
 
24067
INTLLIBS!$INTLLIBS$ac_delim
 
24068
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
 
24069
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
 
24070
POFILES!$POFILES$ac_delim
 
24071
POSUB!$POSUB$ac_delim
 
24072
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
 
24073
XGETTEXT_ARGS!$XGETTEXT_ARGS$ac_delim
 
24074
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
24075
GTHREAD_VERSION!$GTHREAD_VERSION$ac_delim
 
24076
GTHREAD_CFLAGS!$GTHREAD_CFLAGS$ac_delim
 
24077
GTHREAD_LIBS!$GTHREAD_LIBS$ac_delim
 
24078
GTHREAD_REQUIRED_VERSION!$GTHREAD_REQUIRED_VERSION$ac_delim
 
24079
GTK_VERSION!$GTK_VERSION$ac_delim
 
24080
GTK_CFLAGS!$GTK_CFLAGS$ac_delim
 
24081
GTK_LIBS!$GTK_LIBS$ac_delim
 
24082
GTK_REQUIRED_VERSION!$GTK_REQUIRED_VERSION$ac_delim
 
24083
LIBXFCEGUI4_VERSION!$LIBXFCEGUI4_VERSION$ac_delim
 
24084
LIBXFCEGUI4_CFLAGS!$LIBXFCEGUI4_CFLAGS$ac_delim
 
24085
LIBXFCEGUI4_LIBS!$LIBXFCEGUI4_LIBS$ac_delim
 
24086
LIBXFCEGUI4_REQUIRED_VERSION!$LIBXFCEGUI4_REQUIRED_VERSION$ac_delim
 
24087
LIBXFCE4UTIL_VERSION!$LIBXFCE4UTIL_VERSION$ac_delim
 
24088
LIBXFCE4UTIL_CFLAGS!$LIBXFCE4UTIL_CFLAGS$ac_delim
 
24089
LIBXFCE4UTIL_LIBS!$LIBXFCE4UTIL_LIBS$ac_delim
 
24090
LIBXFCE4UTIL_REQUIRED_VERSION!$LIBXFCE4UTIL_REQUIRED_VERSION$ac_delim
 
24091
LIBXFCE4PANEL_VERSION!$LIBXFCE4PANEL_VERSION$ac_delim
 
24092
LIBXFCE4PANEL_CFLAGS!$LIBXFCE4PANEL_CFLAGS$ac_delim
 
24093
LIBXFCE4PANEL_LIBS!$LIBXFCE4PANEL_LIBS$ac_delim
 
24094
LIBXFCE4PANEL_REQUIRED_VERSION!$LIBXFCE4PANEL_REQUIRED_VERSION$ac_delim
 
24095
LIBOBJS!$LIBOBJS$ac_delim
 
24096
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
24097
_ACEOF
 
24098
 
 
24099
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
 
24100
    break
 
24101
  elif $ac_last_try; then
 
24102
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
24103
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
24104
   { (exit 1); exit 1; }; }
 
24105
  else
 
24106
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
24107
  fi
 
24108
done
 
24109
 
 
24110
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
24111
if test -n "$ac_eof"; then
 
24112
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
24113
  ac_eof=`expr $ac_eof + 1`
 
24114
fi
 
24115
 
 
24116
cat >>$CONFIG_STATUS <<_ACEOF
 
24117
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
24118
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
24119
_ACEOF
 
24120
sed '
 
24121
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
24122
s/^/s,@/; s/!/@,|#_!!_#|/
 
24123
:n
 
24124
t n
 
24125
s/'"$ac_delim"'$/,g/; t
 
24126
s/$/\\/; p
 
24127
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
24128
' >>$CONFIG_STATUS <conf$$subs.sed
 
24129
rm -f conf$$subs.sed
 
24130
cat >>$CONFIG_STATUS <<_ACEOF
 
24131
:end
 
24132
s/|#_!!_#|//g
 
24133
CEOF$ac_eof
 
24134
_ACEOF
 
24135
 
 
24136
 
 
24137
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
24138
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
24139
# trailing colons and then remove the whole line if VPATH becomes empty
 
24140
# (actually we leave an empty line to preserve line numbers).
 
24141
if test "x$srcdir" = x.; then
 
24142
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
24143
s/:*\$(srcdir):*/:/
 
24144
s/:*\${srcdir}:*/:/
 
24145
s/:*@srcdir@:*/:/
 
24146
s/^\([^=]*=[     ]*\):*/\1/
 
24147
s/:*$//
 
24148
s/^[^=]*=[       ]*$//
 
24149
}'
 
24150
fi
 
24151
 
 
24152
cat >>$CONFIG_STATUS <<\_ACEOF
23004
24153
fi # test -n "$CONFIG_FILES"
23005
24154
 
23006
 
_ACEOF
23007
 
cat >>$CONFIG_STATUS <<\_ACEOF
23008
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23009
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23010
 
  case $ac_file in
23011
 
  - | *:- | *:-:* ) # input from stdin
23012
 
        cat >$tmp/stdin
23013
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23014
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23015
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23016
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23017
 
  * )   ac_file_in=$ac_file.in ;;
23018
 
  esac
23019
 
 
23020
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23021
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
24155
 
 
24156
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
24157
do
 
24158
  case $ac_tag in
 
24159
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
24160
  esac
 
24161
  case $ac_mode$ac_tag in
 
24162
  :[FHL]*:*);;
 
24163
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
24164
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
24165
   { (exit 1); exit 1; }; };;
 
24166
  :[FH]-) ac_tag=-:-;;
 
24167
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
24168
  esac
 
24169
  ac_save_IFS=$IFS
 
24170
  IFS=:
 
24171
  set x $ac_tag
 
24172
  IFS=$ac_save_IFS
 
24173
  shift
 
24174
  ac_file=$1
 
24175
  shift
 
24176
 
 
24177
  case $ac_mode in
 
24178
  :L) ac_source=$1;;
 
24179
  :[FH])
 
24180
    ac_file_inputs=
 
24181
    for ac_f
 
24182
    do
 
24183
      case $ac_f in
 
24184
      -) ac_f="$tmp/stdin";;
 
24185
      *) # Look for the file first in the build tree, then in the source tree
 
24186
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
24187
         # because $ac_f cannot contain `:'.
 
24188
         test -f "$ac_f" ||
 
24189
           case $ac_f in
 
24190
           [\\/$]*) false;;
 
24191
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
24192
           esac ||
 
24193
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
24194
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
24195
   { (exit 1); exit 1; }; };;
 
24196
      esac
 
24197
      ac_file_inputs="$ac_file_inputs $ac_f"
 
24198
    done
 
24199
 
 
24200
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
24201
    # use $as_me), people would be surprised to read:
 
24202
    #    /* config.h.  Generated by config.status.  */
 
24203
    configure_input="Generated from "`IFS=:
 
24204
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
24205
    if test x"$ac_file" != x-; then
 
24206
      configure_input="$ac_file.  $configure_input"
 
24207
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
24208
echo "$as_me: creating $ac_file" >&6;}
 
24209
    fi
 
24210
 
 
24211
    case $ac_tag in
 
24212
    *:-:* | *:-) cat >"$tmp/stdin";;
 
24213
    esac
 
24214
    ;;
 
24215
  esac
 
24216
 
 
24217
  ac_dir=`$as_dirname -- "$ac_file" ||
23022
24218
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23023
24219
         X"$ac_file" : 'X\(//\)[^/]' \| \
23024
24220
         X"$ac_file" : 'X\(//\)$' \| \
23025
 
         X"$ac_file" : 'X\(/\)' \| \
23026
 
         .     : '\(.\)' 2>/dev/null ||
 
24221
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23027
24222
echo X"$ac_file" |
23028
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23029
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23030
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23031
 
          /^X\(\/\).*/{ s//\1/; q; }
23032
 
          s/.*/./; q'`
23033
 
  { if $as_mkdir_p; then
23034
 
    mkdir -p "$ac_dir"
23035
 
  else
23036
 
    as_dir="$ac_dir"
 
24223
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24224
            s//\1/
 
24225
            q
 
24226
          }
 
24227
          /^X\(\/\/\)[^/].*/{
 
24228
            s//\1/
 
24229
            q
 
24230
          }
 
24231
          /^X\(\/\/\)$/{
 
24232
            s//\1/
 
24233
            q
 
24234
          }
 
24235
          /^X\(\/\).*/{
 
24236
            s//\1/
 
24237
            q
 
24238
          }
 
24239
          s/.*/./; q'`
 
24240
  { as_dir="$ac_dir"
 
24241
  case $as_dir in #(
 
24242
  -*) as_dir=./$as_dir;;
 
24243
  esac
 
24244
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23037
24245
    as_dirs=
23038
 
    while test ! -d "$as_dir"; do
23039
 
      as_dirs="$as_dir $as_dirs"
23040
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
24246
    while :; do
 
24247
      case $as_dir in #(
 
24248
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
24249
      *) as_qdir=$as_dir;;
 
24250
      esac
 
24251
      as_dirs="'$as_qdir' $as_dirs"
 
24252
      as_dir=`$as_dirname -- "$as_dir" ||
23041
24253
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23042
24254
         X"$as_dir" : 'X\(//\)[^/]' \| \
23043
24255
         X"$as_dir" : 'X\(//\)$' \| \
23044
 
         X"$as_dir" : 'X\(/\)' \| \
23045
 
         .     : '\(.\)' 2>/dev/null ||
 
24256
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23046
24257
echo X"$as_dir" |
23047
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23048
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23049
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23050
 
          /^X\(\/\).*/{ s//\1/; q; }
23051
 
          s/.*/./; q'`
 
24258
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24259
            s//\1/
 
24260
            q
 
24261
          }
 
24262
          /^X\(\/\/\)[^/].*/{
 
24263
            s//\1/
 
24264
            q
 
24265
          }
 
24266
          /^X\(\/\/\)$/{
 
24267
            s//\1/
 
24268
            q
 
24269
          }
 
24270
          /^X\(\/\).*/{
 
24271
            s//\1/
 
24272
            q
 
24273
          }
 
24274
          s/.*/./; q'`
 
24275
      test -d "$as_dir" && break
23052
24276
    done
23053
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23054
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23055
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
24277
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
24278
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
24279
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23056
24280
   { (exit 1); exit 1; }; }; }
23057
 
 
23058
24281
  ac_builddir=.
23059
24282
 
23060
 
if test "$ac_dir" != .; then
 
24283
case "$ac_dir" in
 
24284
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
24285
*)
23061
24286
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23062
 
  # A "../" for each directory in $ac_dir_suffix.
23063
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23064
 
else
23065
 
  ac_dir_suffix= ac_top_builddir=
23066
 
fi
 
24287
  # A ".." for each directory in $ac_dir_suffix.
 
24288
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
24289
  case $ac_top_builddir_sub in
 
24290
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
24291
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
24292
  esac ;;
 
24293
esac
 
24294
ac_abs_top_builddir=$ac_pwd
 
24295
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
24296
# for backward compatibility:
 
24297
ac_top_builddir=$ac_top_build_prefix
23067
24298
 
23068
24299
case $srcdir in
23069
 
  .)  # No --srcdir option.  We are building in place.
 
24300
  .)  # We are building in place.
23070
24301
    ac_srcdir=.
23071
 
    if test -z "$ac_top_builddir"; then
23072
 
       ac_top_srcdir=.
23073
 
    else
23074
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23075
 
    fi ;;
23076
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
24302
    ac_top_srcdir=$ac_top_builddir_sub
 
24303
    ac_abs_top_srcdir=$ac_pwd ;;
 
24304
  [\\/]* | ?:[\\/]* )  # Absolute name.
23077
24305
    ac_srcdir=$srcdir$ac_dir_suffix;
23078
 
    ac_top_srcdir=$srcdir ;;
23079
 
  *) # Relative path.
23080
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23081
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
23082
 
esac
23083
 
 
23084
 
# Do not use `cd foo && pwd` to compute absolute paths, because
23085
 
# the directories may not exist.
23086
 
case `pwd` in
23087
 
.) ac_abs_builddir="$ac_dir";;
23088
 
*)
23089
 
  case "$ac_dir" in
23090
 
  .) ac_abs_builddir=`pwd`;;
23091
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23092
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
23093
 
  esac;;
23094
 
esac
23095
 
case $ac_abs_builddir in
23096
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
23097
 
*)
23098
 
  case ${ac_top_builddir}. in
23099
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
23100
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23101
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23102
 
  esac;;
23103
 
esac
23104
 
case $ac_abs_builddir in
23105
 
.) ac_abs_srcdir=$ac_srcdir;;
23106
 
*)
23107
 
  case $ac_srcdir in
23108
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
23109
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23110
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23111
 
  esac;;
23112
 
esac
23113
 
case $ac_abs_builddir in
23114
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
23115
 
*)
23116
 
  case $ac_top_srcdir in
23117
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
23118
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23119
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23120
 
  esac;;
23121
 
esac
23122
 
 
 
24306
    ac_top_srcdir=$srcdir
 
24307
    ac_abs_top_srcdir=$srcdir ;;
 
24308
  *) # Relative name.
 
24309
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
24310
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
24311
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
24312
esac
 
24313
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
24314
 
 
24315
 
 
24316
  case $ac_mode in
 
24317
  :F)
 
24318
  #
 
24319
  # CONFIG_FILE
 
24320
  #
23123
24321
 
23124
24322
  case $INSTALL in
23125
24323
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23126
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
24324
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23127
24325
  esac
23128
 
 
23129
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
23130
 
  # use $as_me), people would be surprised to read:
23131
 
  #    /* config.h.  Generated by config.status.  */
23132
 
  if test x"$ac_file" = x-; then
23133
 
    configure_input=
23134
 
  else
23135
 
    configure_input="$ac_file.  "
23136
 
  fi
23137
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
23138
 
                                     sed 's,.*/,,'` by configure."
23139
 
 
23140
 
  # First look for the input files in the build tree, otherwise in the
23141
 
  # src tree.
23142
 
  ac_file_inputs=`IFS=:
23143
 
    for f in $ac_file_in; do
23144
 
      case $f in
23145
 
      -) echo $tmp/stdin ;;
23146
 
      [\\/$]*)
23147
 
         # Absolute (can't be DOS-style, as IFS=:)
23148
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23149
 
echo "$as_me: error: cannot find input file: $f" >&2;}
23150
 
   { (exit 1); exit 1; }; }
23151
 
         echo "$f";;
23152
 
      *) # Relative
23153
 
         if test -f "$f"; then
23154
 
           # Build tree
23155
 
           echo "$f"
23156
 
         elif test -f "$srcdir/$f"; then
23157
 
           # Source tree
23158
 
           echo "$srcdir/$f"
23159
 
         else
23160
 
           # /dev/null tree
23161
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23162
 
echo "$as_me: error: cannot find input file: $f" >&2;}
23163
 
   { (exit 1); exit 1; }; }
23164
 
         fi;;
23165
 
      esac
23166
 
    done` || { (exit 1); exit 1; }
23167
 
 
23168
 
  if test x"$ac_file" != x-; then
23169
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
23170
 
echo "$as_me: creating $ac_file" >&6;}
23171
 
    rm -f "$ac_file"
23172
 
  fi
23173
 
_ACEOF
 
24326
_ACEOF
 
24327
 
 
24328
cat >>$CONFIG_STATUS <<\_ACEOF
 
24329
# If the template does not know about datarootdir, expand it.
 
24330
# FIXME: This hack should be removed a few years after 2.60.
 
24331
ac_datarootdir_hack=; ac_datarootdir_seen=
 
24332
 
 
24333
case `sed -n '/datarootdir/ {
 
24334
  p
 
24335
  q
 
24336
}
 
24337
/@datadir@/p
 
24338
/@docdir@/p
 
24339
/@infodir@/p
 
24340
/@localedir@/p
 
24341
/@mandir@/p
 
24342
' $ac_file_inputs` in
 
24343
*datarootdir*) ac_datarootdir_seen=yes;;
 
24344
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
24345
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
24346
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
24347
_ACEOF
 
24348
cat >>$CONFIG_STATUS <<_ACEOF
 
24349
  ac_datarootdir_hack='
 
24350
  s&@datadir@&$datadir&g
 
24351
  s&@docdir@&$docdir&g
 
24352
  s&@infodir@&$infodir&g
 
24353
  s&@localedir@&$localedir&g
 
24354
  s&@mandir@&$mandir&g
 
24355
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
24356
esac
 
24357
_ACEOF
 
24358
 
 
24359
# Neutralize VPATH when `$srcdir' = `.'.
 
24360
# Shell code in configure.ac might set extrasub.
 
24361
# FIXME: do we really want to maintain this feature?
23174
24362
cat >>$CONFIG_STATUS <<_ACEOF
23175
24363
  sed "$ac_vpsub
23176
24364
$extrasub
23178
24366
cat >>$CONFIG_STATUS <<\_ACEOF
23179
24367
:t
23180
24368
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23181
 
s,@configure_input@,$configure_input,;t t
23182
 
s,@srcdir@,$ac_srcdir,;t t
23183
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
23184
 
s,@top_srcdir@,$ac_top_srcdir,;t t
23185
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23186
 
s,@builddir@,$ac_builddir,;t t
23187
 
s,@abs_builddir@,$ac_abs_builddir,;t t
23188
 
s,@top_builddir@,$ac_top_builddir,;t t
23189
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23190
 
s,@INSTALL@,$ac_INSTALL,;t t
23191
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23192
 
  rm -f $tmp/stdin
23193
 
  if test x"$ac_file" != x-; then
23194
 
    mv $tmp/out $ac_file
23195
 
  else
23196
 
    cat $tmp/out
23197
 
    rm -f $tmp/out
23198
 
  fi
23199
 
 
23200
 
done
 
24369
s&@configure_input@&$configure_input&;t t
 
24370
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
24371
s&@srcdir@&$ac_srcdir&;t t
 
24372
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
24373
s&@top_srcdir@&$ac_top_srcdir&;t t
 
24374
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
24375
s&@builddir@&$ac_builddir&;t t
 
24376
s&@abs_builddir@&$ac_abs_builddir&;t t
 
24377
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
24378
s&@INSTALL@&$ac_INSTALL&;t t
 
24379
$ac_datarootdir_hack
 
24380
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
24381
 
 
24382
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
24383
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
24384
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
24385
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
24386
which seems to be undefined.  Please make sure it is defined." >&5
 
24387
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
24388
which seems to be undefined.  Please make sure it is defined." >&2;}
 
24389
 
 
24390
  rm -f "$tmp/stdin"
 
24391
  case $ac_file in
 
24392
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
24393
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
24394
  esac
 
24395
 ;;
 
24396
  :H)
 
24397
  #
 
24398
  # CONFIG_HEADER
 
24399
  #
23201
24400
_ACEOF
23202
 
cat >>$CONFIG_STATUS <<\_ACEOF
23203
 
 
23204
 
#
23205
 
# CONFIG_HEADER section.
23206
 
#
23207
 
 
23208
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23209
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
23210
 
#
23211
 
# ac_d sets the value in "#define NAME VALUE" lines.
23212
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
23213
 
ac_dB='[         ].*$,\1#\2'
 
24401
 
 
24402
# Transform confdefs.h into a sed script `conftest.defines', that
 
24403
# substitutes the proper values into config.h.in to produce config.h.
 
24404
rm -f conftest.defines conftest.tail
 
24405
# First, append a space to every undef/define line, to ease matching.
 
24406
echo 's/$/ /' >conftest.defines
 
24407
# Then, protect against being on the right side of a sed subst, or in
 
24408
# an unquoted here document, in config.status.  If some macros were
 
24409
# called several times there might be several #defines for the same
 
24410
# symbol, which is useless.  But do not sort them, since the last
 
24411
# AC_DEFINE must be honored.
 
24412
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
24413
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
24414
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
24415
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
24416
# just an empty string.
 
24417
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
24418
ac_dB='\\)[      (].*,\\1define\\2'
23214
24419
ac_dC=' '
23215
 
ac_dD=',;t'
23216
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23217
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
23218
 
ac_uB='$,\1#\2define\3'
23219
 
ac_uC=' '
23220
 
ac_uD=',;t'
23221
 
 
23222
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
23223
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23224
 
  case $ac_file in
23225
 
  - | *:- | *:-:* ) # input from stdin
23226
 
        cat >$tmp/stdin
23227
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23228
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23229
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23230
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23231
 
  * )   ac_file_in=$ac_file.in ;;
23232
 
  esac
23233
 
 
23234
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
23235
 
echo "$as_me: creating $ac_file" >&6;}
23236
 
 
23237
 
  # First look for the input files in the build tree, otherwise in the
23238
 
  # src tree.
23239
 
  ac_file_inputs=`IFS=:
23240
 
    for f in $ac_file_in; do
23241
 
      case $f in
23242
 
      -) echo $tmp/stdin ;;
23243
 
      [\\/$]*)
23244
 
         # Absolute (can't be DOS-style, as IFS=:)
23245
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23246
 
echo "$as_me: error: cannot find input file: $f" >&2;}
23247
 
   { (exit 1); exit 1; }; }
23248
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
23249
 
         echo "$f";;
23250
 
      *) # Relative
23251
 
         if test -f "$f"; then
23252
 
           # Build tree
23253
 
           echo "$f"
23254
 
         elif test -f "$srcdir/$f"; then
23255
 
           # Source tree
23256
 
           echo "$srcdir/$f"
23257
 
         else
23258
 
           # /dev/null tree
23259
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23260
 
echo "$as_me: error: cannot find input file: $f" >&2;}
23261
 
   { (exit 1); exit 1; }; }
23262
 
         fi;;
23263
 
      esac
23264
 
    done` || { (exit 1); exit 1; }
23265
 
  # Remove the trailing spaces.
23266
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
23267
 
 
23268
 
_ACEOF
23269
 
 
23270
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
23271
 
# `conftest.undefs', that substitutes the proper values into
23272
 
# config.h.in to produce config.h.  The first handles `#define'
23273
 
# templates, and the second `#undef' templates.
23274
 
# And first: Protect against being on the right side of a sed subst in
23275
 
# config.status.  Protect against being in an unquoted here document
23276
 
# in config.status.
23277
 
rm -f conftest.defines conftest.undefs
23278
 
# Using a here document instead of a string reduces the quoting nightmare.
23279
 
# Putting comments in sed scripts is not portable.
23280
 
#
23281
 
# `end' is used to avoid that the second main sed command (meant for
23282
 
# 0-ary CPP macros) applies to n-ary macro definitions.
23283
 
# See the Autoconf documentation for `clear'.
23284
 
cat >confdef2sed.sed <<\_ACEOF
23285
 
s/[\\&,]/\\&/g
23286
 
s,[\\$`],\\&,g
23287
 
t clear
23288
 
: clear
23289
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23290
 
t end
23291
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23292
 
: end
23293
 
_ACEOF
23294
 
# If some macros were called several times there might be several times
23295
 
# the same #defines, which is useless.  Nevertheless, we may not want to
23296
 
# sort them, since we want the *last* AC-DEFINE to be honored.
23297
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23298
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23299
 
rm -f confdef2sed.sed
23300
 
 
23301
 
# This sed command replaces #undef with comments.  This is necessary, for
 
24420
ac_dD=' ,'
 
24421
 
 
24422
uniq confdefs.h |
 
24423
  sed -n '
 
24424
        t rset
 
24425
        :rset
 
24426
        s/^[     ]*#[    ]*define[       ][      ]*//
 
24427
        t ok
 
24428
        d
 
24429
        :ok
 
24430
        s/[\\&,]/\\&/g
 
24431
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
24432
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
24433
  ' >>conftest.defines
 
24434
 
 
24435
# Remove the space that was appended to ease matching.
 
24436
# Then replace #undef with comments.  This is necessary, for
23302
24437
# example, in the case of _POSIX_SOURCE, which is predefined and required
23303
24438
# on some systems where configure will not decide to define it.
23304
 
cat >>conftest.undefs <<\_ACEOF
23305
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
24439
# (The regexp can be short, since the line contains either #define or #undef.)
 
24440
echo 's/ $//
 
24441
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
24442
 
 
24443
# Break up conftest.defines:
 
24444
ac_max_sed_lines=50
 
24445
 
 
24446
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
24447
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
24448
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
24449
# et cetera.
 
24450
ac_in='$ac_file_inputs'
 
24451
ac_out='"$tmp/out1"'
 
24452
ac_nxt='"$tmp/out2"'
 
24453
 
 
24454
while :
 
24455
do
 
24456
  # Write a here document:
 
24457
    cat >>$CONFIG_STATUS <<_ACEOF
 
24458
    # First, check the format of the line:
 
24459
    cat >"\$tmp/defines.sed" <<\\CEOF
 
24460
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
24461
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
24462
b
 
24463
:def
23306
24464
_ACEOF
23307
 
 
23308
 
# Break up conftest.defines because some shells have a limit on the size
23309
 
# of here documents, and old seds have small limits too (100 cmds).
23310
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23311
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23312
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23313
 
echo '  :' >>$CONFIG_STATUS
23314
 
rm -f conftest.tail
23315
 
while grep . conftest.defines >/dev/null
23316
 
do
23317
 
  # Write a limited-size here document to $tmp/defines.sed.
23318
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23319
 
  # Speed up: don't consider the non `#define' lines.
23320
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
23321
 
  # Work around the forget-to-reset-the-flag bug.
23322
 
  echo 't clr' >>$CONFIG_STATUS
23323
 
  echo ': clr' >>$CONFIG_STATUS
23324
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
24465
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23325
24466
  echo 'CEOF
23326
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
23327
 
  rm -f $tmp/in
23328
 
  mv $tmp/out $tmp/in
23329
 
' >>$CONFIG_STATUS
23330
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
24467
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
24468
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
24469
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
24470
  grep . conftest.tail >/dev/null || break
23331
24471
  rm -f conftest.defines
23332
24472
  mv conftest.tail conftest.defines
23333
24473
done
23334
 
rm -f conftest.defines
23335
 
echo '  fi # grep' >>$CONFIG_STATUS
23336
 
echo >>$CONFIG_STATUS
23337
 
 
23338
 
# Break up conftest.undefs because some shells have a limit on the size
23339
 
# of here documents, and old seds have small limits too (100 cmds).
23340
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
23341
 
rm -f conftest.tail
23342
 
while grep . conftest.undefs >/dev/null
23343
 
do
23344
 
  # Write a limited-size here document to $tmp/undefs.sed.
23345
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23346
 
  # Speed up: don't consider the non `#undef'
23347
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
23348
 
  # Work around the forget-to-reset-the-flag bug.
23349
 
  echo 't clr' >>$CONFIG_STATUS
23350
 
  echo ': clr' >>$CONFIG_STATUS
23351
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23352
 
  echo 'CEOF
23353
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23354
 
  rm -f $tmp/in
23355
 
  mv $tmp/out $tmp/in
23356
 
' >>$CONFIG_STATUS
23357
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23358
 
  rm -f conftest.undefs
23359
 
  mv conftest.tail conftest.undefs
23360
 
done
23361
 
rm -f conftest.undefs
23362
 
 
 
24474
rm -f conftest.defines conftest.tail
 
24475
 
 
24476
echo "ac_result=$ac_in" >>$CONFIG_STATUS
23363
24477
cat >>$CONFIG_STATUS <<\_ACEOF
23364
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
23365
 
  # use $as_me), people would be surprised to read:
23366
 
  #    /* config.h.  Generated by config.status.  */
23367
 
  if test x"$ac_file" = x-; then
23368
 
    echo "/* Generated by configure.  */" >$tmp/config.h
23369
 
  else
23370
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
23371
 
  fi
23372
 
  cat $tmp/in >>$tmp/config.h
23373
 
  rm -f $tmp/in
23374
24478
  if test x"$ac_file" != x-; then
23375
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
24479
    echo "/* $configure_input  */" >"$tmp/config.h"
 
24480
    cat "$ac_result" >>"$tmp/config.h"
 
24481
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23376
24482
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23377
24483
echo "$as_me: $ac_file is unchanged" >&6;}
23378
24484
    else
23379
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23380
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23381
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
23382
 
         X"$ac_file" : 'X\(//\)$' \| \
23383
 
         X"$ac_file" : 'X\(/\)' \| \
23384
 
         .     : '\(.\)' 2>/dev/null ||
23385
 
echo X"$ac_file" |
23386
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23387
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23388
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23389
 
          /^X\(\/\).*/{ s//\1/; q; }
23390
 
          s/.*/./; q'`
23391
 
      { if $as_mkdir_p; then
23392
 
    mkdir -p "$ac_dir"
23393
 
  else
23394
 
    as_dir="$ac_dir"
23395
 
    as_dirs=
23396
 
    while test ! -d "$as_dir"; do
23397
 
      as_dirs="$as_dir $as_dirs"
23398
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
23399
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23400
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
23401
 
         X"$as_dir" : 'X\(//\)$' \| \
23402
 
         X"$as_dir" : 'X\(/\)' \| \
23403
 
         .     : '\(.\)' 2>/dev/null ||
23404
 
echo X"$as_dir" |
23405
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23406
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23407
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23408
 
          /^X\(\/\).*/{ s//\1/; q; }
23409
 
          s/.*/./; q'`
23410
 
    done
23411
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23412
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23413
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23414
 
   { (exit 1); exit 1; }; }; }
23415
 
 
23416
24485
      rm -f $ac_file
23417
 
      mv $tmp/config.h $ac_file
 
24486
      mv "$tmp/config.h" $ac_file
23418
24487
    fi
23419
24488
  else
23420
 
    cat $tmp/config.h
23421
 
    rm -f $tmp/config.h
 
24489
    echo "/* $configure_input  */"
 
24490
    cat "$ac_result"
23422
24491
  fi
 
24492
  rm -f "$tmp/out12"
23423
24493
# Compute $ac_file's index in $config_headers.
23424
24494
_am_stamp_count=1
23425
24495
for _am_header in $config_headers :; do
23430
24500
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
23431
24501
  esac
23432
24502
done
23433
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
24503
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
23434
24504
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23435
24505
         X$ac_file : 'X\(//\)[^/]' \| \
23436
24506
         X$ac_file : 'X\(//\)$' \| \
23437
 
         X$ac_file : 'X\(/\)' \| \
23438
 
         .     : '\(.\)' 2>/dev/null ||
 
24507
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
23439
24508
echo X$ac_file |
23440
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23441
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23442
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23443
 
          /^X\(\/\).*/{ s//\1/; q; }
23444
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
23445
 
done
23446
 
_ACEOF
23447
 
cat >>$CONFIG_STATUS <<\_ACEOF
23448
 
 
23449
 
#
23450
 
# CONFIG_COMMANDS section.
23451
 
#
23452
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
23453
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
23454
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
23455
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
23456
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23457
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
23458
 
         X"$ac_dest" : 'X\(//\)$' \| \
23459
 
         X"$ac_dest" : 'X\(/\)' \| \
23460
 
         .     : '\(.\)' 2>/dev/null ||
23461
 
echo X"$ac_dest" |
23462
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23463
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23464
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23465
 
          /^X\(\/\).*/{ s//\1/; q; }
23466
 
          s/.*/./; q'`
23467
 
  { if $as_mkdir_p; then
23468
 
    mkdir -p "$ac_dir"
23469
 
  else
23470
 
    as_dir="$ac_dir"
23471
 
    as_dirs=
23472
 
    while test ! -d "$as_dir"; do
23473
 
      as_dirs="$as_dir $as_dirs"
23474
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
23475
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23476
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
23477
 
         X"$as_dir" : 'X\(//\)$' \| \
23478
 
         X"$as_dir" : 'X\(/\)' \| \
23479
 
         .     : '\(.\)' 2>/dev/null ||
23480
 
echo X"$as_dir" |
23481
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23482
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23483
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23484
 
          /^X\(\/\).*/{ s//\1/; q; }
23485
 
          s/.*/./; q'`
23486
 
    done
23487
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23488
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23489
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23490
 
   { (exit 1); exit 1; }; }; }
23491
 
 
23492
 
  ac_builddir=.
23493
 
 
23494
 
if test "$ac_dir" != .; then
23495
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23496
 
  # A "../" for each directory in $ac_dir_suffix.
23497
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23498
 
else
23499
 
  ac_dir_suffix= ac_top_builddir=
23500
 
fi
23501
 
 
23502
 
case $srcdir in
23503
 
  .)  # No --srcdir option.  We are building in place.
23504
 
    ac_srcdir=.
23505
 
    if test -z "$ac_top_builddir"; then
23506
 
       ac_top_srcdir=.
23507
 
    else
23508
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23509
 
    fi ;;
23510
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
23511
 
    ac_srcdir=$srcdir$ac_dir_suffix;
23512
 
    ac_top_srcdir=$srcdir ;;
23513
 
  *) # Relative path.
23514
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23515
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
23516
 
esac
23517
 
 
23518
 
# Do not use `cd foo && pwd` to compute absolute paths, because
23519
 
# the directories may not exist.
23520
 
case `pwd` in
23521
 
.) ac_abs_builddir="$ac_dir";;
23522
 
*)
23523
 
  case "$ac_dir" in
23524
 
  .) ac_abs_builddir=`pwd`;;
23525
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23526
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
23527
 
  esac;;
23528
 
esac
23529
 
case $ac_abs_builddir in
23530
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
23531
 
*)
23532
 
  case ${ac_top_builddir}. in
23533
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
23534
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23535
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23536
 
  esac;;
23537
 
esac
23538
 
case $ac_abs_builddir in
23539
 
.) ac_abs_srcdir=$ac_srcdir;;
23540
 
*)
23541
 
  case $ac_srcdir in
23542
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
23543
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23544
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23545
 
  esac;;
23546
 
esac
23547
 
case $ac_abs_builddir in
23548
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
23549
 
*)
23550
 
  case $ac_top_srcdir in
23551
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
23552
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23553
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23554
 
  esac;;
23555
 
esac
23556
 
 
23557
 
 
23558
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23559
 
echo "$as_me: executing $ac_dest commands" >&6;}
23560
 
  case $ac_dest in
23561
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
24509
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24510
            s//\1/
 
24511
            q
 
24512
          }
 
24513
          /^X\(\/\/\)[^/].*/{
 
24514
            s//\1/
 
24515
            q
 
24516
          }
 
24517
          /^X\(\/\/\)$/{
 
24518
            s//\1/
 
24519
            q
 
24520
          }
 
24521
          /^X\(\/\).*/{
 
24522
            s//\1/
 
24523
            q
 
24524
          }
 
24525
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
24526
 ;;
 
24527
 
 
24528
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
24529
echo "$as_me: executing $ac_file commands" >&6;}
 
24530
 ;;
 
24531
  esac
 
24532
 
 
24533
 
 
24534
  case $ac_file$ac_mode in
 
24535
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23562
24536
  # Strip MF so we end up with the name of the file.
23563
24537
  mf=`echo "$mf" | sed -e 's/:.*$//'`
23564
24538
  # Check whether this is an Automake generated Makefile or not.
23568
24542
  # each Makefile.in and add a new line on top of each file to say so.
23569
24543
  # So let's grep whole file.
23570
24544
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
23571
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
24545
    dirpart=`$as_dirname -- "$mf" ||
23572
24546
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23573
24547
         X"$mf" : 'X\(//\)[^/]' \| \
23574
24548
         X"$mf" : 'X\(//\)$' \| \
23575
 
         X"$mf" : 'X\(/\)' \| \
23576
 
         .     : '\(.\)' 2>/dev/null ||
 
24549
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23577
24550
echo X"$mf" |
23578
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23579
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23580
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23581
 
          /^X\(\/\).*/{ s//\1/; q; }
23582
 
          s/.*/./; q'`
 
24551
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24552
            s//\1/
 
24553
            q
 
24554
          }
 
24555
          /^X\(\/\/\)[^/].*/{
 
24556
            s//\1/
 
24557
            q
 
24558
          }
 
24559
          /^X\(\/\/\)$/{
 
24560
            s//\1/
 
24561
            q
 
24562
          }
 
24563
          /^X\(\/\).*/{
 
24564
            s//\1/
 
24565
            q
 
24566
          }
 
24567
          s/.*/./; q'`
23583
24568
  else
23584
24569
    continue
23585
24570
  fi
23601
24586
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23602
24587
    # Make sure the directory exists.
23603
24588
    test -f "$dirpart/$file" && continue
23604
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
24589
    fdir=`$as_dirname -- "$file" ||
23605
24590
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23606
24591
         X"$file" : 'X\(//\)[^/]' \| \
23607
24592
         X"$file" : 'X\(//\)$' \| \
23608
 
         X"$file" : 'X\(/\)' \| \
23609
 
         .     : '\(.\)' 2>/dev/null ||
 
24593
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23610
24594
echo X"$file" |
23611
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23612
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23613
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23614
 
          /^X\(\/\).*/{ s//\1/; q; }
23615
 
          s/.*/./; q'`
23616
 
    { if $as_mkdir_p; then
23617
 
    mkdir -p $dirpart/$fdir
23618
 
  else
23619
 
    as_dir=$dirpart/$fdir
 
24595
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24596
            s//\1/
 
24597
            q
 
24598
          }
 
24599
          /^X\(\/\/\)[^/].*/{
 
24600
            s//\1/
 
24601
            q
 
24602
          }
 
24603
          /^X\(\/\/\)$/{
 
24604
            s//\1/
 
24605
            q
 
24606
          }
 
24607
          /^X\(\/\).*/{
 
24608
            s//\1/
 
24609
            q
 
24610
          }
 
24611
          s/.*/./; q'`
 
24612
    { as_dir=$dirpart/$fdir
 
24613
  case $as_dir in #(
 
24614
  -*) as_dir=./$as_dir;;
 
24615
  esac
 
24616
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23620
24617
    as_dirs=
23621
 
    while test ! -d "$as_dir"; do
23622
 
      as_dirs="$as_dir $as_dirs"
23623
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
24618
    while :; do
 
24619
      case $as_dir in #(
 
24620
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
24621
      *) as_qdir=$as_dir;;
 
24622
      esac
 
24623
      as_dirs="'$as_qdir' $as_dirs"
 
24624
      as_dir=`$as_dirname -- "$as_dir" ||
23624
24625
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23625
24626
         X"$as_dir" : 'X\(//\)[^/]' \| \
23626
24627
         X"$as_dir" : 'X\(//\)$' \| \
23627
 
         X"$as_dir" : 'X\(/\)' \| \
23628
 
         .     : '\(.\)' 2>/dev/null ||
 
24628
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23629
24629
echo X"$as_dir" |
23630
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23631
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23632
 
          /^X\(\/\/\)$/{ s//\1/; q; }
23633
 
          /^X\(\/\).*/{ s//\1/; q; }
23634
 
          s/.*/./; q'`
 
24630
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24631
            s//\1/
 
24632
            q
 
24633
          }
 
24634
          /^X\(\/\/\)[^/].*/{
 
24635
            s//\1/
 
24636
            q
 
24637
          }
 
24638
          /^X\(\/\/\)$/{
 
24639
            s//\1/
 
24640
            q
 
24641
          }
 
24642
          /^X\(\/\).*/{
 
24643
            s//\1/
 
24644
            q
 
24645
          }
 
24646
          s/.*/./; q'`
 
24647
      test -d "$as_dir" && break
23635
24648
    done
23636
 
    test ! -n "$as_dirs" || mkdir $as_dirs
23637
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
23638
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
24649
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
24650
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
24651
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23639
24652
   { (exit 1); exit 1; }; }; }
23640
 
 
23641
24653
    # echo "creating $dirpart/$file"
23642
24654
    echo '# dummy' > "$dirpart/$file"
23643
24655
  done
23644
24656
done
23645
24657
 ;;
23646
 
    intltool )
23647
 
 
23648
 
intltool_edit="-e 's#@INTLTOOL_EXTRACT@#`pwd`/intltool-extract#g' \
23649
 
               -e 's#@INTLTOOL_ICONV@#${INTLTOOL_ICONV}#g' \
23650
 
               -e 's#@INTLTOOL_MSGFMT@#${INTLTOOL_MSGFMT}#g' \
23651
 
               -e 's#@INTLTOOL_MSGMERGE@#${INTLTOOL_MSGMERGE}#g' \
23652
 
               -e 's#@INTLTOOL_XGETTEXT@#${INTLTOOL_XGETTEXT}#g' \
23653
 
               -e 's#@INTLTOOL_PERL@#${INTLTOOL_PERL}#g'"
23654
 
 
23655
 
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-extract.in \
23656
 
  > intltool-extract.out
23657
 
if cmp -s intltool-extract intltool-extract.out 2>/dev/null; then
23658
 
  rm -f intltool-extract.out
23659
 
else
23660
 
  mv -f intltool-extract.out intltool-extract
23661
 
fi
23662
 
chmod ugo+x intltool-extract
23663
 
chmod u+w intltool-extract
23664
 
 
23665
 
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-merge.in \
23666
 
  > intltool-merge.out
23667
 
if cmp -s intltool-merge intltool-merge.out 2>/dev/null; then
23668
 
  rm -f intltool-merge.out
23669
 
else
23670
 
  mv -f intltool-merge.out intltool-merge
23671
 
fi
23672
 
chmod ugo+x intltool-merge
23673
 
chmod u+w intltool-merge
23674
 
 
23675
 
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-update.in \
23676
 
  > intltool-update.out
23677
 
if cmp -s intltool-update intltool-update.out 2>/dev/null; then
23678
 
  rm -f intltool-update.out
23679
 
else
23680
 
  mv -f intltool-update.out intltool-update
23681
 
fi
23682
 
chmod ugo+x intltool-update
23683
 
chmod u+w intltool-update
 
24658
    "intltool":C)
 
24659
 
 
24660
for file in intltool-extract intltool-merge intltool-update; do
 
24661
  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
 
24662
      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
 
24663
      -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
 
24664
      -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
 
24665
      -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
 
24666
      -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
 
24667
      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
 
24668
        < ${ac_aux_dir}/${file}.in > ${file}.out
 
24669
  if cmp -s ${file} ${file}.out 2>/dev/null; then
 
24670
    rm -f ${file}.out
 
24671
  else
 
24672
    mv -f ${file}.out ${file}
 
24673
  fi
 
24674
  chmod ugo+x ${file}
 
24675
  chmod u+w ${file}
 
24676
done
23684
24677
 
23685
24678
 ;;
23686
 
    default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*)
 
24679
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
23687
24680
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
23688
24681
      esac ;;
 
24682
    "po/stamp-it":C)
 
24683
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
24684
    >"po/stamp-it.tmp"
 
24685
    sed '/^#/d
 
24686
         s/^[[].*] *//
 
24687
         /^[    ]*$/d
 
24688
        '"s|^|  $ac_top_srcdir/|" \
 
24689
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
24690
 
 
24691
    if test ! -f "po/Makefile"; then
 
24692
      { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
 
24693
echo "$as_me: error: po/Makefile is not ready." >&2;}
 
24694
   { (exit 1); exit 1; }; }
 
24695
    fi
 
24696
    mv "po/Makefile" "po/Makefile.tmp"
 
24697
    sed '/^POTFILES =/,/[^\\]$/ {
 
24698
                /^POTFILES =/!d
 
24699
                r po/POTFILES
 
24700
          }
 
24701
         ' "po/Makefile.tmp" >"po/Makefile"
 
24702
    rm -f "po/Makefile.tmp"
 
24703
    mv "po/stamp-it.tmp" "po/stamp-it"
 
24704
   ;;
 
24705
 
23689
24706
  esac
23690
 
done
23691
 
_ACEOF
 
24707
done # for ac_tag
23692
24708
 
23693
 
cat >>$CONFIG_STATUS <<\_ACEOF
23694
24709
 
23695
24710
{ (exit 0); exit 0; }
23696
24711
_ACEOF