~ubuntu-branches/ubuntu/raring/codeblocks/raring-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-08-09 04:38:38 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100809043838-a59ygguym4eg0jgw
Tags: 10.05-0ubuntu1
* New upstream release. Closes (LP: #322350)
 - Switch to dpkg-source 3.0 (quilt) format
 - Remove unneeded README.source
 - Add debian/get-source-orig script that removes all
   Windows prebuilt binaries
* Bump Standards-Version to 3.9.1
 - Stop shipping *.la files
* debian/control
 - Add cdbs package as Build-Depend
 - Add libbz2-dev and zlib1g-dev packages as
   Build-Depends (needed by libhelp_plugin.so)
 - Remove dpatch package of Build-Depends
 - Add codeblocks-contrib-debug package
 - Split architecture-independent files of codeblocks
   package in codeblocks-common package
* debian/rules
 - Switch to CDBS rules system
 - Add parallel build support
 - Add a call to debian/get-source-orig script
 - Use lzma compression (saves 23,5 MB of free space)
* debian/patches
 - Refresh 01_codeblocks_plugin_path
 - Add 02_no_Makefiles_in_debian_dir to remove any link
   in codeblocks build system to deleted Makefiles of debian directory
 - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
* debian/watch
 - Update to use the new host (berlios.de)

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.61 for codeblocks 1.0svn.
 
3
# Generated by GNU Autoconf 2.65 for codeblocks 10.05-release.
 
4
#
4
5
#
5
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
8
# Inc.
 
9
#
 
10
#
7
11
# This configure script is free software; the Free Software Foundation
8
12
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
12
16
 
13
17
# Be more Bourne compatible
14
18
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16
20
  emulate sh
17
21
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
23
  # is contrary to our usage.  Disable this feature.
20
24
  alias -g '${1+"$@"}'='"$@"'
21
25
  setopt NO_GLOB_SUBST
22
26
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
25
32
esac
26
 
 
27
 
fi
28
 
 
29
 
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
33
fi
 
34
 
 
35
 
 
36
as_nl='
 
37
'
 
38
export as_nl
 
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
44
# but without wasting forks for bash or zsh.
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in #(
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
39
73
 
40
74
# The user is always right.
41
75
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
51
 
fi
52
 
 
53
 
# Support unset when possible.
54
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55
 
  as_unset=unset
56
 
else
57
 
  as_unset=false
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
58
81
fi
59
82
 
60
83
 
63
86
# there to prevent editors from complaining about space-tab.
64
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
88
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
89
IFS=" ""        $as_nl"
69
90
 
70
91
# Find who we are.  Look in the path if we contain no directory separator.
71
 
case $0 in
 
92
case $0 in #((
72
93
  *[\\/]* ) as_myself=$0 ;;
73
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74
95
for as_dir in $PATH
75
96
do
76
97
  IFS=$as_save_IFS
77
98
  test -z "$as_dir" && as_dir=.
78
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79
 
done
 
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
100
  done
80
101
IFS=$as_save_IFS
81
102
 
82
103
     ;;
87
108
  as_myself=$0
88
109
fi
89
110
if test ! -f "$as_myself"; then
90
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
 
  { (exit 1); exit 1; }
 
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
112
  exit 1
92
113
fi
93
114
 
94
 
# Work around bugs in pre-3.0 UWIN ksh.
95
 
for as_var in ENV MAIL MAILPATH
96
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
115
# Unset variables that we do not need and which cause bugs (e.g. in
 
116
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
117
# suppresses any "Segmentation fault" message there.  '((' could
 
118
# trigger a bug in pdksh 5.2.14.
 
119
for as_var in BASH_ENV ENV MAIL MAILPATH
 
120
do eval test x\${$as_var+set} = xset \
 
121
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
97
122
done
98
123
PS1='$ '
99
124
PS2='> '
100
125
PS4='+ '
101
126
 
102
127
# NLS nuisances.
103
 
for as_var in \
104
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
 
  LC_TELEPHONE LC_TIME
107
 
do
108
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
 
    eval $as_var=C; export $as_var
110
 
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
 
  fi
113
 
done
114
 
 
115
 
# Required to use basename.
116
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118
 
  as_expr=expr
119
 
else
120
 
  as_expr=false
121
 
fi
122
 
 
123
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124
 
  as_basename=basename
125
 
else
126
 
  as_basename=false
127
 
fi
128
 
 
129
 
 
130
 
# Name of the executable.
131
 
as_me=`$as_basename -- "$0" ||
132
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
 
         X"$0" : 'X\(//\)$' \| \
134
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
 
echo X/"$0" |
136
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
 
            s//\1/
138
 
            q
139
 
          }
140
 
          /^X\/\(\/\/\)$/{
141
 
            s//\1/
142
 
            q
143
 
          }
144
 
          /^X\/\(\/\).*/{
145
 
            s//\1/
146
 
            q
147
 
          }
148
 
          s/.*/./; q'`
 
128
LC_ALL=C
 
129
export LC_ALL
 
130
LANGUAGE=C
 
131
export LANGUAGE
149
132
 
150
133
# CDPATH.
151
 
$as_unset CDPATH
152
 
 
 
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
153
135
 
154
136
if test "x$CONFIG_SHELL" = x; then
155
 
  if (eval ":") 2>/dev/null; then
 
137
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
138
  emulate sh
 
139
  NULLCMD=:
 
140
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
141
  # is contrary to our usage.  Disable this feature.
 
142
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
143
  setopt NO_GLOB_SUBST
 
144
else
 
145
  case \`(set -o) 2>/dev/null\` in #(
 
146
  *posix*) :
 
147
    set -o posix ;; #(
 
148
  *) :
 
149
     ;;
 
150
esac
 
151
fi
 
152
"
 
153
  as_required="as_fn_return () { (exit \$1); }
 
154
as_fn_success () { as_fn_return 0; }
 
155
as_fn_failure () { as_fn_return 1; }
 
156
as_fn_ret_success () { return 0; }
 
157
as_fn_ret_failure () { return 1; }
 
158
 
 
159
exitcode=0
 
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
165
 
 
166
else
 
167
  exitcode=1; echo positional parameters were not saved.
 
168
fi
 
169
test x\$exitcode = x0 || exit 1"
 
170
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
171
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
172
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
173
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
174
test \$(( 1 + 1 )) = 2 || exit 1"
 
175
  if (eval "$as_required") 2>/dev/null; then :
156
176
  as_have_required=yes
157
177
else
158
178
  as_have_required=no
159
179
fi
160
 
 
161
 
  if test $as_have_required = yes &&     (eval ":
162
 
(as_func_return () {
163
 
  (exit \$1)
164
 
}
165
 
as_func_success () {
166
 
  as_func_return 0
167
 
}
168
 
as_func_failure () {
169
 
  as_func_return 1
170
 
}
171
 
as_func_ret_success () {
172
 
  return 0
173
 
}
174
 
as_func_ret_failure () {
175
 
  return 1
176
 
}
177
 
 
178
 
exitcode=0
179
 
if as_func_success; then
180
 
  :
181
 
else
182
 
  exitcode=1
183
 
  echo as_func_success failed.
184
 
fi
185
 
 
186
 
if as_func_failure; then
187
 
  exitcode=1
188
 
  echo as_func_failure succeeded.
189
 
fi
190
 
 
191
 
if as_func_ret_success; then
192
 
  :
193
 
else
194
 
  exitcode=1
195
 
  echo as_func_ret_success failed.
196
 
fi
197
 
 
198
 
if as_func_ret_failure; then
199
 
  exitcode=1
200
 
  echo as_func_ret_failure succeeded.
201
 
fi
202
 
 
203
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204
 
  :
205
 
else
206
 
  exitcode=1
207
 
  echo positional parameters were not saved.
208
 
fi
209
 
 
210
 
test \$exitcode = 0) || { (exit 1); exit 1; }
211
 
 
212
 
(
213
 
  as_lineno_1=\$LINENO
214
 
  as_lineno_2=\$LINENO
215
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
 
") 2> /dev/null; then
218
 
  :
219
 
else
220
 
  as_candidate_shells=
221
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
180
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
181
 
 
182
else
 
183
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
184
as_found=false
222
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
186
do
224
187
  IFS=$as_save_IFS
225
188
  test -z "$as_dir" && as_dir=.
226
 
  case $as_dir in
 
189
  as_found=:
 
190
  case $as_dir in #(
227
191
         /*)
228
192
           for as_base in sh bash ksh sh5; do
229
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
193
             # Try only shells that exist, to save several forks.
 
194
             as_shell=$as_dir/$as_base
 
195
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
196
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
197
  CONFIG_SHELL=$as_shell as_have_required=yes
 
198
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  break 2
 
200
fi
 
201
fi
230
202
           done;;
231
203
       esac
 
204
  as_found=false
232
205
done
 
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
207
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
208
  CONFIG_SHELL=$SHELL as_have_required=yes
 
209
fi; }
233
210
IFS=$as_save_IFS
234
211
 
235
212
 
236
 
      for as_shell in $as_candidate_shells $SHELL; do
237
 
         # Try only shells that exist, to save several forks.
238
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
240
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
 
  emulate sh
242
 
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
 
  # is contrary to our usage.  Disable this feature.
245
 
  alias -g '${1+"$@"}'='"$@"'
246
 
  setopt NO_GLOB_SUBST
247
 
else
248
 
  case `(set -o) 2>/dev/null` in
249
 
  *posix*) set -o posix ;;
250
 
esac
251
 
 
252
 
fi
253
 
 
254
 
 
255
 
:
256
 
_ASEOF
257
 
}; then
258
 
  CONFIG_SHELL=$as_shell
259
 
               as_have_required=yes
260
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
(as_func_return () {
278
 
  (exit $1)
279
 
}
280
 
as_func_success () {
281
 
  as_func_return 0
282
 
}
283
 
as_func_failure () {
284
 
  as_func_return 1
285
 
}
286
 
as_func_ret_success () {
287
 
  return 0
288
 
}
289
 
as_func_ret_failure () {
290
 
  return 1
291
 
}
292
 
 
293
 
exitcode=0
294
 
if as_func_success; then
295
 
  :
296
 
else
297
 
  exitcode=1
298
 
  echo as_func_success failed.
299
 
fi
300
 
 
301
 
if as_func_failure; then
302
 
  exitcode=1
303
 
  echo as_func_failure succeeded.
304
 
fi
305
 
 
306
 
if as_func_ret_success; then
307
 
  :
308
 
else
309
 
  exitcode=1
310
 
  echo as_func_ret_success failed.
311
 
fi
312
 
 
313
 
if as_func_ret_failure; then
314
 
  exitcode=1
315
 
  echo as_func_ret_failure succeeded.
316
 
fi
317
 
 
318
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
319
 
  :
320
 
else
321
 
  exitcode=1
322
 
  echo positional parameters were not saved.
323
 
fi
324
 
 
325
 
test $exitcode = 0) || { (exit 1); exit 1; }
326
 
 
327
 
(
328
 
  as_lineno_1=$LINENO
329
 
  as_lineno_2=$LINENO
330
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
331
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
 
 
333
 
_ASEOF
334
 
}; then
335
 
  break
336
 
fi
337
 
 
338
 
fi
339
 
 
340
 
      done
341
 
 
342
 
      if test "x$CONFIG_SHELL" != x; then
343
 
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
 
fi
349
 
 
350
 
 
351
 
    if test $as_have_required = no; then
352
 
  echo This script requires a shell more modern than all the
353
 
      echo shells that I found on your system.  Please install a
354
 
      echo modern shell, or manually run the script under such a
355
 
      echo shell if you do have one.
356
 
      { (exit 1); exit 1; }
357
 
fi
358
 
 
359
 
 
360
 
fi
361
 
 
362
 
fi
363
 
 
364
 
 
365
 
 
366
 
(eval "as_func_return () {
367
 
  (exit \$1)
368
 
}
369
 
as_func_success () {
370
 
  as_func_return 0
371
 
}
372
 
as_func_failure () {
373
 
  as_func_return 1
374
 
}
375
 
as_func_ret_success () {
376
 
  return 0
377
 
}
378
 
as_func_ret_failure () {
379
 
  return 1
380
 
}
381
 
 
382
 
exitcode=0
383
 
if as_func_success; then
384
 
  :
385
 
else
386
 
  exitcode=1
387
 
  echo as_func_success failed.
388
 
fi
389
 
 
390
 
if as_func_failure; then
391
 
  exitcode=1
392
 
  echo as_func_failure succeeded.
393
 
fi
394
 
 
395
 
if as_func_ret_success; then
396
 
  :
397
 
else
398
 
  exitcode=1
399
 
  echo as_func_ret_success failed.
400
 
fi
401
 
 
402
 
if as_func_ret_failure; then
403
 
  exitcode=1
404
 
  echo as_func_ret_failure succeeded.
405
 
fi
406
 
 
407
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408
 
  :
409
 
else
410
 
  exitcode=1
411
 
  echo positional parameters were not saved.
412
 
fi
413
 
 
414
 
test \$exitcode = 0") || {
415
 
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
419
 
}
420
 
 
421
 
 
422
 
 
423
 
  as_lineno_1=$LINENO
424
 
  as_lineno_2=$LINENO
425
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
426
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
 
 
428
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
430
 
  # line-number line after each line using $LINENO; the second 'sed'
431
 
  # does the real work.  The second script uses 'N' to pair each
432
 
  # line-number line with the line containing $LINENO, and appends
433
 
  # trailing '-' during substitution so that $LINENO is not a special
434
 
  # case at line end.
435
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
213
      if test "x$CONFIG_SHELL" != x; then :
 
214
  # We cannot yet assume a decent shell, so we have to provide a
 
215
        # neutralization value for shells without unset; and this also
 
216
        # works around shells that cannot unset nonexistent variables.
 
217
        BASH_ENV=/dev/null
 
218
        ENV=/dev/null
 
219
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
220
        export CONFIG_SHELL
 
221
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
222
fi
 
223
 
 
224
    if test x$as_have_required = xno; then :
 
225
  $as_echo "$0: This script requires a shell more modern than all"
 
226
  $as_echo "$0: the shells that I found on your system."
 
227
  if test x${ZSH_VERSION+set} = xset ; then
 
228
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
229
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
230
  else
 
231
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
232
$0: including any error possibly output before this
 
233
$0: message. Then install a modern shell, or manually run
 
234
$0: the script under such a shell if you do have one."
 
235
  fi
 
236
  exit 1
 
237
fi
 
238
fi
 
239
fi
 
240
SHELL=${CONFIG_SHELL-/bin/sh}
 
241
export SHELL
 
242
# Unset more variables known to interfere with behavior of common tools.
 
243
CLICOLOR_FORCE= GREP_OPTIONS=
 
244
unset CLICOLOR_FORCE GREP_OPTIONS
 
245
 
 
246
## --------------------- ##
 
247
## M4sh Shell Functions. ##
 
248
## --------------------- ##
 
249
# as_fn_unset VAR
 
250
# ---------------
 
251
# Portably unset VAR.
 
252
as_fn_unset ()
 
253
{
 
254
  { eval $1=; unset $1;}
 
255
}
 
256
as_unset=as_fn_unset
 
257
 
 
258
# as_fn_set_status STATUS
 
259
# -----------------------
 
260
# Set $? to STATUS, without forking.
 
261
as_fn_set_status ()
 
262
{
 
263
  return $1
 
264
} # as_fn_set_status
 
265
 
 
266
# as_fn_exit STATUS
 
267
# -----------------
 
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
269
as_fn_exit ()
 
270
{
 
271
  set +e
 
272
  as_fn_set_status $1
 
273
  exit $1
 
274
} # as_fn_exit
 
275
 
 
276
# as_fn_mkdir_p
 
277
# -------------
 
278
# Create "$as_dir" as a directory, including parents if necessary.
 
279
as_fn_mkdir_p ()
 
280
{
 
281
 
 
282
  case $as_dir in #(
 
283
  -*) as_dir=./$as_dir;;
 
284
  esac
 
285
  test -d "$as_dir" || eval $as_mkdir_p || {
 
286
    as_dirs=
 
287
    while :; do
 
288
      case $as_dir in #(
 
289
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
290
      *) as_qdir=$as_dir;;
 
291
      esac
 
292
      as_dirs="'$as_qdir' $as_dirs"
 
293
      as_dir=`$as_dirname -- "$as_dir" ||
 
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
295
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
296
         X"$as_dir" : 'X\(//\)$' \| \
 
297
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
298
$as_echo X"$as_dir" |
 
299
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
300
            s//\1/
 
301
            q
 
302
          }
 
303
          /^X\(\/\/\)[^/].*/{
 
304
            s//\1/
 
305
            q
 
306
          }
 
307
          /^X\(\/\/\)$/{
 
308
            s//\1/
 
309
            q
 
310
          }
 
311
          /^X\(\/\).*/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          s/.*/./; q'`
 
316
      test -d "$as_dir" && break
 
317
    done
 
318
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
319
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
320
 
 
321
 
 
322
} # as_fn_mkdir_p
 
323
# as_fn_append VAR VALUE
 
324
# ----------------------
 
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
326
# advantage of any shell optimizations that allow amortized linear growth over
 
327
# repeated appends, instead of the typical quadratic growth present in naive
 
328
# implementations.
 
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
330
  eval 'as_fn_append ()
 
331
  {
 
332
    eval $1+=\$2
 
333
  }'
 
334
else
 
335
  as_fn_append ()
 
336
  {
 
337
    eval $1=\$$1\$2
 
338
  }
 
339
fi # as_fn_append
 
340
 
 
341
# as_fn_arith ARG...
 
342
# ------------------
 
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
345
# must be portable across $(()) and expr.
 
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
347
  eval 'as_fn_arith ()
 
348
  {
 
349
    as_val=$(( $* ))
 
350
  }'
 
351
else
 
352
  as_fn_arith ()
 
353
  {
 
354
    as_val=`expr "$@" || test $? -eq 1`
 
355
  }
 
356
fi # as_fn_arith
 
357
 
 
358
 
 
359
# as_fn_error ERROR [LINENO LOG_FD]
 
360
# ---------------------------------
 
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
363
# script with status $?, using 1 if that was 0.
 
364
as_fn_error ()
 
365
{
 
366
  as_status=$?; test $as_status -eq 0 && as_status=1
 
367
  if test "$3"; then
 
368
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
369
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
370
  fi
 
371
  $as_echo "$as_me: error: $1" >&2
 
372
  as_fn_exit $as_status
 
373
} # as_fn_error
 
374
 
 
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
376
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
377
  as_expr=expr
 
378
else
 
379
  as_expr=false
 
380
fi
 
381
 
 
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
383
  as_basename=basename
 
384
else
 
385
  as_basename=false
 
386
fi
 
387
 
 
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
389
  as_dirname=dirname
 
390
else
 
391
  as_dirname=false
 
392
fi
 
393
 
 
394
as_me=`$as_basename -- "$0" ||
 
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
396
         X"$0" : 'X\(//\)$' \| \
 
397
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
398
$as_echo X/"$0" |
 
399
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
400
            s//\1/
 
401
            q
 
402
          }
 
403
          /^X\/\(\/\/\)$/{
 
404
            s//\1/
 
405
            q
 
406
          }
 
407
          /^X\/\(\/\).*/{
 
408
            s//\1/
 
409
            q
 
410
          }
 
411
          s/.*/./; q'`
 
412
 
 
413
# Avoid depending upon Character Ranges.
 
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
417
as_cr_digits='0123456789'
 
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
419
 
 
420
 
 
421
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
422
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
423
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
424
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
425
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
438
426
  sed -n '
439
427
    p
440
428
    /[$]LINENO/=
451
439
      s/-\n.*//
452
440
    ' >$as_me.lineno &&
453
441
  chmod +x "$as_me.lineno" ||
454
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
 
   { (exit 1); exit 1; }; }
 
442
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
456
443
 
457
444
  # Don't try to exec as it changes $[0], causing all sort of problems
458
445
  # (the dirname of $[0] is not the place where we might find the
462
449
  exit
463
450
}
464
451
 
465
 
 
466
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467
 
  as_dirname=dirname
468
 
else
469
 
  as_dirname=false
470
 
fi
471
 
 
472
452
ECHO_C= ECHO_N= ECHO_T=
473
 
case `echo -n x` in
 
453
case `echo -n x` in #(((((
474
454
-n*)
475
 
  case `echo 'x\c'` in
 
455
  case `echo 'xy\c'` in
476
456
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477
 
  *)   ECHO_C='\c';;
 
457
  xy)  ECHO_C='\c';;
 
458
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
459
       ECHO_T=' ';;
478
460
  esac;;
479
461
*)
480
462
  ECHO_N='-n';;
481
463
esac
482
464
 
483
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
 
  as_expr=expr
486
 
else
487
 
  as_expr=false
488
 
fi
489
 
 
490
465
rm -f conf$$ conf$$.exe conf$$.file
491
466
if test -d conf$$.dir; then
492
467
  rm -f conf$$.dir/conf$$.file
493
468
else
494
469
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
 
470
  mkdir conf$$.dir 2>/dev/null
496
471
fi
497
 
echo >conf$$.file
498
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
472
if (echo >conf$$.file) 2>/dev/null; then
 
473
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
474
    as_ln_s='ln -s'
 
475
    # ... but there are two gotchas:
 
476
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
477
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
478
    # In both cases, we have to default to `cp -p'.
 
479
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
480
      as_ln_s='cp -p'
 
481
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
482
    as_ln_s=ln
 
483
  else
505
484
    as_ln_s='cp -p'
506
 
elif ln conf$$.file conf$$ 2>/dev/null; then
507
 
  as_ln_s=ln
 
485
  fi
508
486
else
509
487
  as_ln_s='cp -p'
510
488
fi
512
490
rmdir conf$$.dir 2>/dev/null
513
491
 
514
492
if mkdir -p . 2>/dev/null; then
515
 
  as_mkdir_p=:
 
493
  as_mkdir_p='mkdir -p "$as_dir"'
516
494
else
517
495
  test -d ./-p && rmdir ./-p
518
496
  as_mkdir_p=false
529
507
  as_test_x='
530
508
    eval sh -c '\''
531
509
      if test -d "$1"; then
532
 
        test -d "$1/.";
 
510
        test -d "$1/.";
533
511
      else
534
 
        case $1 in
535
 
        -*)set "./$1";;
 
512
        case $1 in #(
 
513
        -*)set "./$1";;
536
514
        esac;
537
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
515
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
538
516
        ???[sx]*):;;*)false;;esac;fi
539
517
    '\'' sh
540
518
  '
549
527
 
550
528
 
551
529
 
552
 
 
553
530
# Check that we are running under the correct shell.
554
531
SHELL=${CONFIG_SHELL-/bin/sh}
555
532
 
556
 
case X$ECHO in
 
533
case X$lt_ECHO in
557
534
X*--fallback-echo)
558
535
  # Remove one level of quotation (which was required for Make).
559
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
536
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
560
537
  ;;
561
538
esac
562
539
 
563
 
echo=${ECHO-echo}
 
540
ECHO=${lt_ECHO-echo}
564
541
if test "X$1" = X--no-reexec; then
565
542
  # Discard the --no-reexec flag, and continue.
566
543
  shift
567
544
elif test "X$1" = X--fallback-echo; then
568
545
  # Avoid inline document here, it may be left over
569
546
  :
570
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571
 
  # Yippee, $echo works!
 
547
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
548
  # Yippee, $ECHO works!
572
549
  :
573
550
else
574
551
  # Restart under the correct shell.
578
555
if test "X$1" = X--fallback-echo; then
579
556
  # used as fallback echo
580
557
  shift
581
 
  cat <<EOF
 
558
  cat <<_LT_EOF
582
559
$*
583
 
EOF
 
560
_LT_EOF
584
561
  exit 0
585
562
fi
586
563
 
588
565
# if CDPATH is set.
589
566
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
590
567
 
591
 
if test -z "$ECHO"; then
592
 
if test "X${echo_test_string+set}" != Xset; then
593
 
# find a string as large as possible, as long as the shell can cope with it
594
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597
 
       echo_test_string=`eval $cmd` &&
598
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
599
 
    then
600
 
      break
601
 
    fi
602
 
  done
603
 
fi
604
 
 
605
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
608
 
  :
609
 
else
610
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
611
 
  # backslashes.  This makes it impossible to quote backslashes using
612
 
  #   echo "$something" | sed 's/\\/\\\\/g'
613
 
  #
614
 
  # So, first we look for a working echo in the user's PATH.
615
 
 
616
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617
 
  for dir in $PATH /usr/ucb; do
 
568
if test -z "$lt_ECHO"; then
 
569
  if test "X${echo_test_string+set}" != Xset; then
 
570
    # find a string as large as possible, as long as the shell can cope with it
 
571
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
572
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
573
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
574
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
575
      then
 
576
        break
 
577
      fi
 
578
    done
 
579
  fi
 
580
 
 
581
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
582
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
583
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
584
    :
 
585
  else
 
586
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
587
    # backslashes.  This makes it impossible to quote backslashes using
 
588
    #   echo "$something" | sed 's/\\/\\\\/g'
 
589
    #
 
590
    # So, first we look for a working echo in the user's PATH.
 
591
 
 
592
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
593
    for dir in $PATH /usr/ucb; do
 
594
      IFS="$lt_save_ifs"
 
595
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
596
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
597
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
598
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
599
        ECHO="$dir/echo"
 
600
        break
 
601
      fi
 
602
    done
618
603
    IFS="$lt_save_ifs"
619
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
623
 
      echo="$dir/echo"
624
 
      break
625
 
    fi
626
 
  done
627
 
  IFS="$lt_save_ifs"
628
604
 
629
 
  if test "X$echo" = Xecho; then
630
 
    # We didn't find a better echo, so look for alternatives.
631
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
634
 
      # This shell has a builtin print -r that does the trick.
635
 
      echo='print -r'
636
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
638
 
      # If we have ksh, try running configure again with it.
639
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640
 
      export ORIGINAL_CONFIG_SHELL
641
 
      CONFIG_SHELL=/bin/ksh
642
 
      export CONFIG_SHELL
643
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
644
 
    else
645
 
      # Try using printf.
646
 
      echo='printf %s\n'
647
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
650
 
        # Cool, printf works
651
 
        :
652
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653
 
           test "X$echo_testing_string" = 'X\t' &&
654
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
656
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657
 
        export CONFIG_SHELL
658
 
        SHELL="$CONFIG_SHELL"
659
 
        export SHELL
660
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
661
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662
 
           test "X$echo_testing_string" = 'X\t' &&
663
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
665
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
605
    if test "X$ECHO" = Xecho; then
 
606
      # We didn't find a better echo, so look for alternatives.
 
607
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
608
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
609
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
610
        # This shell has a builtin print -r that does the trick.
 
611
        ECHO='print -r'
 
612
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
613
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
614
        # If we have ksh, try running configure again with it.
 
615
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
616
        export ORIGINAL_CONFIG_SHELL
 
617
        CONFIG_SHELL=/bin/ksh
 
618
        export CONFIG_SHELL
 
619
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
666
620
      else
667
 
        # maybe with a smaller string...
668
 
        prev=:
669
 
 
670
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
672
 
          then
673
 
            break
 
621
        # Try using printf.
 
622
        ECHO='printf %s\n'
 
623
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
624
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
625
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
626
          # Cool, printf works
 
627
          :
 
628
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
629
             test "X$echo_testing_string" = 'X\t' &&
 
630
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
631
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
632
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
633
          export CONFIG_SHELL
 
634
          SHELL="$CONFIG_SHELL"
 
635
          export SHELL
 
636
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
637
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
638
             test "X$echo_testing_string" = 'X\t' &&
 
639
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
640
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
641
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
642
        else
 
643
          # maybe with a smaller string...
 
644
          prev=:
 
645
 
 
646
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
647
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
648
            then
 
649
              break
 
650
            fi
 
651
            prev="$cmd"
 
652
          done
 
653
 
 
654
          if test "$prev" != 'sed 50q "$0"'; then
 
655
            echo_test_string=`eval $prev`
 
656
            export echo_test_string
 
657
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
658
          else
 
659
            # Oops.  We lost completely, so just stick with echo.
 
660
            ECHO=echo
674
661
          fi
675
 
          prev="$cmd"
676
 
        done
677
 
 
678
 
        if test "$prev" != 'sed 50q "$0"'; then
679
 
          echo_test_string=`eval $prev`
680
 
          export echo_test_string
681
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682
 
        else
683
 
          # Oops.  We lost completely, so just stick with echo.
684
 
          echo=echo
685
 
        fi
 
662
        fi
686
663
      fi
687
664
    fi
688
665
  fi
689
666
fi
690
 
fi
691
667
 
692
668
# Copy echo and quote the copy suitably for passing to libtool from
693
669
# the Makefile, instead of quoting the original, which is used later.
694
 
ECHO=$echo
695
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
670
lt_ECHO=$ECHO
 
671
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
672
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
697
673
fi
698
674
 
699
675
 
700
676
 
701
677
 
702
 
tagnames=${tagnames+${tagnames},}CXX
703
 
 
704
 
tagnames=${tagnames+${tagnames},}F77
705
 
 
706
 
exec 7<&0 </dev/null 6>&1
 
678
test -n "$DJDIR" || exec 7<&0 </dev/null
 
679
exec 6>&1
707
680
 
708
681
# Name of the host.
709
682
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
721
694
subdirs=
722
695
MFLAGS=
723
696
MAKEFLAGS=
724
 
SHELL=${CONFIG_SHELL-/bin/sh}
725
697
 
726
698
# Identity of this package.
727
699
PACKAGE_NAME='codeblocks'
728
700
PACKAGE_TARNAME='codeblocks'
729
 
PACKAGE_VERSION='1.0svn'
730
 
PACKAGE_STRING='codeblocks 1.0svn'
 
701
PACKAGE_VERSION='10.05-release'
 
702
PACKAGE_STRING='codeblocks 10.05-release'
731
703
PACKAGE_BUGREPORT=''
 
704
PACKAGE_URL=''
732
705
 
733
706
# Factoring default headers for most tests.
734
707
ac_includes_default="\
766
739
# include <unistd.h>
767
740
#endif"
768
741
 
769
 
ac_subst_vars='SHELL
770
 
PATH_SEPARATOR
771
 
PACKAGE_NAME
772
 
PACKAGE_TARNAME
773
 
PACKAGE_VERSION
774
 
PACKAGE_STRING
775
 
PACKAGE_BUGREPORT
776
 
exec_prefix
777
 
prefix
778
 
program_transform_name
779
 
bindir
780
 
sbindir
781
 
libexecdir
782
 
datarootdir
783
 
datadir
784
 
sysconfdir
785
 
sharedstatedir
786
 
localstatedir
787
 
includedir
788
 
oldincludedir
789
 
docdir
790
 
infodir
791
 
htmldir
792
 
dvidir
793
 
pdfdir
794
 
psdir
795
 
libdir
796
 
localedir
797
 
mandir
798
 
DEFS
799
 
ECHO_C
800
 
ECHO_N
801
 
ECHO_T
802
 
LIBS
803
 
build_alias
804
 
host_alias
805
 
target_alias
806
 
build
807
 
build_cpu
808
 
build_vendor
809
 
build_os
810
 
host
811
 
host_cpu
812
 
host_vendor
813
 
host_os
814
 
target
815
 
target_cpu
816
 
target_vendor
817
 
target_os
818
 
INSTALL_PROGRAM
819
 
INSTALL_SCRIPT
820
 
INSTALL_DATA
821
 
am__isrc
822
 
CYGPATH_W
823
 
PACKAGE
824
 
VERSION
825
 
ACLOCAL
826
 
AUTOCONF
827
 
AUTOMAKE
828
 
AUTOHEADER
829
 
MAKEINFO
830
 
install_sh
831
 
STRIP
832
 
INSTALL_STRIP_PROGRAM
833
 
mkdir_p
834
 
AWK
835
 
SET_MAKE
836
 
am__leading_dot
837
 
AMTAR
838
 
am__tar
839
 
am__untar
840
 
CXX
841
 
CXXFLAGS
842
 
LDFLAGS
843
 
CPPFLAGS
844
 
ac_ct_CXX
845
 
EXEEXT
846
 
OBJEXT
847
 
DEPDIR
848
 
am__include
849
 
am__quote
850
 
AMDEP_TRUE
851
 
AMDEP_FALSE
852
 
AMDEPBACKSLASH
853
 
CXXDEPMODE
854
 
am__fastdepCXX_TRUE
855
 
am__fastdepCXX_FALSE
856
 
CC
857
 
CFLAGS
858
 
ac_ct_CC
859
 
CCDEPMODE
860
 
am__fastdepCC_TRUE
861
 
am__fastdepCC_FALSE
862
 
CPP
863
 
LN_S
864
 
SHARED_FLAGS
865
 
PLUGIN_FLAGS
866
 
RC
867
 
CODEBLOCKS_NT_TRUE
868
 
CODEBLOCKS_NT_FALSE
869
 
CODEBLOCKS_LINUX_TRUE
870
 
CODEBLOCKS_LINUX_FALSE
871
 
CODEBLOCKS_DARWIN_TRUE
872
 
CODEBLOCKS_DARWIN_FALSE
 
742
ac_subst_vars='am__EXEEXT_FALSE
 
743
am__EXEEXT_TRUE
 
744
LTLIBOBJS
 
745
DATE
 
746
REVISION
 
747
DARWIN_FALSE
 
748
DARWIN_TRUE
 
749
LINUX_FALSE
 
750
LINUX_TRUE
 
751
codeblocks_PCH_FLAGS
 
752
PLUGIN_WX_LIBS
 
753
MACSETFILE
 
754
POSTLINK_COMMAND
 
755
WX_GTK2_LIBS
 
756
WX_GTK2_CFLAGS
 
757
SETFILE
 
758
REZ
 
759
GTK2_LIBS
 
760
GTK2_CFLAGS
 
761
PKG_CONFIG_LIBDIR
 
762
PKG_CONFIG_PATH
 
763
PKG_CONFIG
 
764
HAVE_PKG_CONFIG
 
765
WX_RESCOMP
 
766
WX_VERSION
 
767
WX_LIBS_STATIC
 
768
WX_LIBS
 
769
WX_CXXFLAGS_ONLY
 
770
WX_CFLAGS_ONLY
 
771
WX_CXXFLAGS
 
772
WX_CFLAGS
 
773
WX_CPPFLAGS
 
774
WX_CONFIG_PATH
 
775
PRECOMPILE_HEADERS_FALSE
 
776
PRECOMPILE_HEADERS_TRUE
 
777
BUILD_CPPCHECK
 
778
BUILD_CCCC
 
779
BUILD_MOUSESAP
 
780
BUILD_INCSEARCH
 
781
BUILD_HEXEDITOR
 
782
BUILD_WXSMITHAUI
 
783
BUILD_WXSMITHCONTRIB
 
784
BUILD_WXSMITH
 
785
BUILD_VALGRIND
 
786
BUILD_THREADSEARCH
 
787
BUILD_SYMTAB
 
788
BUILD_EXPORTER
 
789
BUILD_REGEX
 
790
BUILD_PROFILER
 
791
BUILD_LIBFINDER
 
792
BUILD_KEYBINDER
 
793
BUILD_HELP
 
794
BUILD_HEADERFIXUP
 
795
BUILD_ENVVARS
 
796
BUILD_DRAGSCROLL
 
797
BUILD_COPYSTRINGS
 
798
BUILD_CODESTAT
 
799
BUILD_CODESNIPPETS
 
800
BUILD_CBKODERS
 
801
BUILD_BYOGAMES
 
802
BUILD_BROWSETRACKER
 
803
BUILD_AUTOVERSIONING
 
804
BUILD_CPPCHECK_FALSE
 
805
BUILD_CPPCHECK_TRUE
 
806
BUILD_CCCC_FALSE
 
807
BUILD_CCCC_TRUE
 
808
BUILD_MOUSESAP_FALSE
 
809
BUILD_MOUSESAP_TRUE
 
810
BUILD_INCSEARCH_FALSE
 
811
BUILD_INCSEARCH_TRUE
 
812
BUILD_HEXEDITOR_FALSE
 
813
BUILD_HEXEDITOR_TRUE
 
814
BUILD_WXSMITHAUI_FALSE
 
815
BUILD_WXSMITHAUI_TRUE
 
816
BUILD_WXSMITHCONTRIB_FALSE
 
817
BUILD_WXSMITHCONTRIB_TRUE
 
818
BUILD_WXSMITH_FALSE
 
819
BUILD_WXSMITH_TRUE
 
820
BUILD_VALGRIND_FALSE
 
821
BUILD_VALGRIND_TRUE
 
822
BUILD_THREADSEARCH_FALSE
 
823
BUILD_THREADSEARCH_TRUE
 
824
BUILD_SYMTAB_FALSE
 
825
BUILD_SYMTAB_TRUE
 
826
BUILD_EXPORTER_FALSE
 
827
BUILD_EXPORTER_TRUE
 
828
BUILD_REGEX_FALSE
 
829
BUILD_REGEX_TRUE
 
830
BUILD_PROFILER_FALSE
 
831
BUILD_PROFILER_TRUE
 
832
BUILD_LIBFINDER_FALSE
 
833
BUILD_LIBFINDER_TRUE
 
834
BUILD_KEYBINDER_FALSE
 
835
BUILD_KEYBINDER_TRUE
 
836
BUILD_HELP_FALSE
 
837
BUILD_HELP_TRUE
 
838
BUILD_HEADERFIXUP_FALSE
 
839
BUILD_HEADERFIXUP_TRUE
 
840
BUILD_ENVVARS_FALSE
 
841
BUILD_ENVVARS_TRUE
 
842
BUILD_DRAGSCROLL_FALSE
 
843
BUILD_DRAGSCROLL_TRUE
 
844
BUILD_COPYSTRINGS_FALSE
 
845
BUILD_COPYSTRINGS_TRUE
 
846
BUILD_CODESTAT_FALSE
 
847
BUILD_CODESTAT_TRUE
 
848
BUILD_CODESNIPPETS_FALSE
 
849
BUILD_CODESNIPPETS_TRUE
 
850
BUILD_CBKODERS_FALSE
 
851
BUILD_CBKODERS_TRUE
 
852
BUILD_BYOGAMES_FALSE
 
853
BUILD_BYOGAMES_TRUE
 
854
BUILD_BROWSETRACKER_FALSE
 
855
BUILD_BROWSETRACKER_TRUE
 
856
BUILD_AUTOVERSIONING_FALSE
 
857
BUILD_AUTOVERSIONING_TRUE
 
858
BUILD_MANIFEST_FALSE
 
859
BUILD_MANIFEST_TRUE
 
860
BUILD_TODO_FALSE
 
861
BUILD_TODO_TRUE
 
862
BUILD_SCRIPTEDWIZARD_FALSE
 
863
BUILD_SCRIPTEDWIZARD_TRUE
 
864
BUILD_PROJECTSIMPORTER_FALSE
 
865
BUILD_PROJECTSIMPORTER_TRUE
 
866
BUILD_OPENFILESLIST_FALSE
 
867
BUILD_OPENFILESLIST_TRUE
 
868
BUILD_MIMEHANDLER_FALSE
 
869
BUILD_MIMEHANDLER_TRUE
 
870
BUILD_DEBUGGER_FALSE
 
871
BUILD_DEBUGGER_TRUE
 
872
BUILD_COMPILER_FALSE
 
873
BUILD_COMPILER_TRUE
 
874
BUILD_CODECOMPLETION_FALSE
 
875
BUILD_CODECOMPLETION_TRUE
 
876
BUILD_CLASSWIZARD_FALSE
 
877
BUILD_CLASSWIZARD_TRUE
 
878
BUILD_AUTOSAVE_FALSE
 
879
BUILD_AUTOSAVE_TRUE
 
880
BUILD_ASTYLE_FALSE
 
881
BUILD_ASTYLE_TRUE
 
882
CODEBLOCKS_PLATFORM
 
883
PLATFORM_LIBS
 
884
PLATFORM_CFLAGS
 
885
CODEBLOCKS_VERSION_INFO
 
886
HAVE_BZIP2_FALSE
 
887
HAVE_BZIP2_TRUE
 
888
HAVE_ZLIB_FALSE
 
889
HAVE_ZLIB_TRUE
 
890
LIBOBJS
 
891
CXXCPP
 
892
OTOOL64
 
893
OTOOL
 
894
LIPO
 
895
NMEDIT
 
896
DSYMUTIL
 
897
lt_ECHO
 
898
RANLIB
 
899
AR
 
900
OBJDUMP
 
901
NM
 
902
ac_ct_DUMPBIN
 
903
DUMPBIN
 
904
LD
 
905
FGREP
 
906
EGREP
 
907
GREP
873
908
SED
874
 
GREP
875
 
EGREP
876
 
ECHO
877
 
AR
878
 
RANLIB
879
 
CXXCPP
880
 
F77
881
 
FFLAGS
882
 
ac_ct_F77
883
909
LIBTOOL
884
 
LIBOBJS
885
 
HAVE_ZLIB_TRUE
886
 
HAVE_ZLIB_FALSE
887
 
HAVE_BZIP2_TRUE
888
 
HAVE_BZIP2_FALSE
889
 
CODEBLOCKS_VERSION_INFO
890
 
PLATFORM_CFLAGS
891
 
PLATFORM_LIBS
892
 
CODEBLOCKS_PLATFORM
893
 
BUILD_ASTYLE_TRUE
894
 
BUILD_ASTYLE_FALSE
895
 
BUILD_AUTOSAVE_TRUE
896
 
BUILD_AUTOSAVE_FALSE
897
 
BUILD_CLASSWIZARD_TRUE
898
 
BUILD_CLASSWIZARD_FALSE
899
 
BUILD_CODECOMPLETION_TRUE
900
 
BUILD_CODECOMPLETION_FALSE
901
 
BUILD_COMPILER_TRUE
902
 
BUILD_COMPILER_FALSE
903
 
BUILD_DEBUGGER_TRUE
904
 
BUILD_DEBUGGER_FALSE
905
 
BUILD_MIMEHANDLER_TRUE
906
 
BUILD_MIMEHANDLER_FALSE
907
 
BUILD_OPENFILESLIST_TRUE
908
 
BUILD_OPENFILESLIST_FALSE
909
 
BUILD_PROJECTSIMPORTER_TRUE
910
 
BUILD_PROJECTSIMPORTER_FALSE
911
 
BUILD_SCRIPTEDWIZARD_TRUE
912
 
BUILD_SCRIPTEDWIZARD_FALSE
913
 
BUILD_TODO_TRUE
914
 
BUILD_TODO_FALSE
915
 
BUILD_MANIFEST_TRUE
916
 
BUILD_MANIFEST_FALSE
917
 
BUILD_AUTOVERSIONING_TRUE
918
 
BUILD_AUTOVERSIONING_FALSE
919
 
BUILD_BROWSETRACKER_TRUE
920
 
BUILD_BROWSETRACKER_FALSE
921
 
BUILD_BYOGAMES_TRUE
922
 
BUILD_BYOGAMES_FALSE
923
 
BUILD_CBKODERS_TRUE
924
 
BUILD_CBKODERS_FALSE
925
 
BUILD_CODESNIPPETS_TRUE
926
 
BUILD_CODESNIPPETS_FALSE
927
 
BUILD_CODESTAT_TRUE
928
 
BUILD_CODESTAT_FALSE
929
 
BUILD_DRAGSCROLL_TRUE
930
 
BUILD_DRAGSCROLL_FALSE
931
 
BUILD_ENVVARS_TRUE
932
 
BUILD_ENVVARS_FALSE
933
 
BUILD_HELP_TRUE
934
 
BUILD_HELP_FALSE
935
 
BUILD_KEYBINDER_TRUE
936
 
BUILD_KEYBINDER_FALSE
937
 
BUILD_LIBFINDER_TRUE
938
 
BUILD_LIBFINDER_FALSE
939
 
BUILD_PROFILER_TRUE
940
 
BUILD_PROFILER_FALSE
941
 
BUILD_REGEX_TRUE
942
 
BUILD_REGEX_FALSE
943
 
BUILD_EXPORTER_TRUE
944
 
BUILD_EXPORTER_FALSE
945
 
BUILD_SYMTAB_TRUE
946
 
BUILD_SYMTAB_FALSE
947
 
BUILD_THREADSEARCH_TRUE
948
 
BUILD_THREADSEARCH_FALSE
949
 
BUILD_WXSMITH_TRUE
950
 
BUILD_WXSMITH_FALSE
951
 
BUILD_AUTOVERSIONING
952
 
BUILD_BROWSETRACKER
953
 
BUILD_BYOGAMES
954
 
BUILD_CBKODERS
955
 
BUILD_CODESNIPPETS
956
 
BUILD_CODESTAT
957
 
BUILD_COPYSTRINGS
958
 
BUILD_DRAGSCROLL
959
 
BUILD_ENVVARS
960
 
BUILD_HELP
961
 
BUILD_KEYBINDER
962
 
BUILD_LIBFINDER
963
 
BUILD_PROFILER
964
 
BUILD_REGEX
965
 
BUILD_EXPORTER
966
 
BUILD_SYMTAB
967
 
BUILD_THREADSEARCH
968
 
BUILD_WXSMITH
969
 
PRECOMPILE_HEADERS_TRUE
970
 
PRECOMPILE_HEADERS_FALSE
971
 
WX_CONFIG_PATH
972
 
WX_CPPFLAGS
973
 
WX_CFLAGS
974
 
WX_CXXFLAGS
975
 
WX_CFLAGS_ONLY
976
 
WX_CXXFLAGS_ONLY
977
 
WX_LIBS
978
 
WX_LIBS_STATIC
979
 
WX_VERSION
980
 
WX_RESCOMP
981
 
HAVE_PKG_CONFIG
982
 
PKG_CONFIG
983
 
GTK2_CFLAGS
984
 
GTK2_LIBS
985
 
REZ
986
 
SETFILE
987
 
WX_GTK2_CFLAGS
988
 
WX_GTK2_LIBS
989
 
POSTLINK_COMMAND
990
 
MACSETFILE
991
 
PLUGIN_WX_LIBS
992
 
codeblocks_PCH_FLAGS
993
 
LINUX_TRUE
994
 
LINUX_FALSE
995
 
DARWIN_TRUE
996
 
DARWIN_FALSE
997
 
REVISION
998
 
DATE
999
 
LTLIBOBJS'
 
910
CODEBLOCKS_DARWIN_FALSE
 
911
CODEBLOCKS_DARWIN_TRUE
 
912
CODEBLOCKS_LINUX_FALSE
 
913
CODEBLOCKS_LINUX_TRUE
 
914
CODEBLOCKS_NT_FALSE
 
915
CODEBLOCKS_NT_TRUE
 
916
RC
 
917
PLUGIN_FLAGS
 
918
SHARED_FLAGS
 
919
LN_S
 
920
CPP
 
921
am__fastdepCC_FALSE
 
922
am__fastdepCC_TRUE
 
923
CCDEPMODE
 
924
ac_ct_CC
 
925
CFLAGS
 
926
CC
 
927
am__fastdepCXX_FALSE
 
928
am__fastdepCXX_TRUE
 
929
CXXDEPMODE
 
930
AMDEPBACKSLASH
 
931
AMDEP_FALSE
 
932
AMDEP_TRUE
 
933
am__quote
 
934
am__include
 
935
DEPDIR
 
936
OBJEXT
 
937
EXEEXT
 
938
ac_ct_CXX
 
939
CPPFLAGS
 
940
LDFLAGS
 
941
CXXFLAGS
 
942
CXX
 
943
am__untar
 
944
am__tar
 
945
AMTAR
 
946
am__leading_dot
 
947
SET_MAKE
 
948
AWK
 
949
mkdir_p
 
950
MKDIR_P
 
951
INSTALL_STRIP_PROGRAM
 
952
STRIP
 
953
install_sh
 
954
MAKEINFO
 
955
AUTOHEADER
 
956
AUTOMAKE
 
957
AUTOCONF
 
958
ACLOCAL
 
959
VERSION
 
960
PACKAGE
 
961
CYGPATH_W
 
962
am__isrc
 
963
INSTALL_DATA
 
964
INSTALL_SCRIPT
 
965
INSTALL_PROGRAM
 
966
target_os
 
967
target_vendor
 
968
target_cpu
 
969
target
 
970
host_os
 
971
host_vendor
 
972
host_cpu
 
973
host
 
974
build_os
 
975
build_vendor
 
976
build_cpu
 
977
build
 
978
target_alias
 
979
host_alias
 
980
build_alias
 
981
LIBS
 
982
ECHO_T
 
983
ECHO_N
 
984
ECHO_C
 
985
DEFS
 
986
mandir
 
987
localedir
 
988
libdir
 
989
psdir
 
990
pdfdir
 
991
dvidir
 
992
htmldir
 
993
infodir
 
994
docdir
 
995
oldincludedir
 
996
includedir
 
997
localstatedir
 
998
sharedstatedir
 
999
sysconfdir
 
1000
datadir
 
1001
datarootdir
 
1002
libexecdir
 
1003
sbindir
 
1004
bindir
 
1005
program_transform_name
 
1006
prefix
 
1007
exec_prefix
 
1008
PACKAGE_URL
 
1009
PACKAGE_BUGREPORT
 
1010
PACKAGE_STRING
 
1011
PACKAGE_VERSION
 
1012
PACKAGE_TARNAME
 
1013
PACKAGE_NAME
 
1014
PATH_SEPARATOR
 
1015
SHELL'
1000
1016
ac_subst_files=''
 
1017
ac_user_opts='
 
1018
enable_option_checking
 
1019
enable_dependency_tracking
 
1020
enable_static
 
1021
enable_shared
 
1022
with_pic
 
1023
enable_fast_install
 
1024
with_gnu_ld
 
1025
enable_libtool_lock
 
1026
with_platform
 
1027
enable_debug
 
1028
enable_source_formatter
 
1029
enable_autosave
 
1030
enable_class_wizard
 
1031
enable_code_completion
 
1032
enable_compiler
 
1033
enable_debugger
 
1034
enable_mime_handler
 
1035
enable_open_files_list
 
1036
enable_projects_importer
 
1037
enable_scripted_wizard
 
1038
enable_todo
 
1039
with_contrib_plugins
 
1040
enable_pch
 
1041
with_wxdir
 
1042
with_wx_config
 
1043
with_wx_prefix
 
1044
with_wx_exec_prefix
 
1045
'
1001
1046
      ac_precious_vars='build_alias
1002
1047
host_alias
1003
1048
target_alias
1011
1056
CFLAGS
1012
1057
CPP
1013
1058
CXXCPP
1014
 
F77
1015
 
FFLAGS
1016
1059
PKG_CONFIG
 
1060
PKG_CONFIG_PATH
 
1061
PKG_CONFIG_LIBDIR
1017
1062
GTK2_CFLAGS
1018
1063
GTK2_LIBS'
1019
1064
 
1021
1066
# Initialize some variables set by options.
1022
1067
ac_init_help=
1023
1068
ac_init_version=false
 
1069
ac_unrecognized_opts=
 
1070
ac_unrecognized_sep=
1024
1071
# The variables have the same names as the options, with
1025
1072
# dashes changed to underlines.
1026
1073
cache_file=/dev/null
1119
1166
    datarootdir=$ac_optarg ;;
1120
1167
 
1121
1168
  -disable-* | --disable-*)
1122
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1169
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1123
1170
    # Reject names that are not valid shell variable names.
1124
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1126
 
   { (exit 1); exit 1; }; }
1127
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1128
 
    eval enable_$ac_feature=no ;;
 
1171
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1172
      as_fn_error "invalid feature name: $ac_useropt"
 
1173
    ac_useropt_orig=$ac_useropt
 
1174
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1175
    case $ac_user_opts in
 
1176
      *"
 
1177
"enable_$ac_useropt"
 
1178
"*) ;;
 
1179
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1180
         ac_unrecognized_sep=', ';;
 
1181
    esac
 
1182
    eval enable_$ac_useropt=no ;;
1129
1183
 
1130
1184
  -docdir | --docdir | --docdi | --doc | --do)
1131
1185
    ac_prev=docdir ;;
1138
1192
    dvidir=$ac_optarg ;;
1139
1193
 
1140
1194
  -enable-* | --enable-*)
1141
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1195
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1142
1196
    # Reject names that are not valid shell variable names.
1143
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1144
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1145
 
   { (exit 1); exit 1; }; }
1146
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1147
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1197
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1198
      as_fn_error "invalid feature name: $ac_useropt"
 
1199
    ac_useropt_orig=$ac_useropt
 
1200
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1201
    case $ac_user_opts in
 
1202
      *"
 
1203
"enable_$ac_useropt"
 
1204
"*) ;;
 
1205
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1206
         ac_unrecognized_sep=', ';;
 
1207
    esac
 
1208
    eval enable_$ac_useropt=\$ac_optarg ;;
1148
1209
 
1149
1210
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1150
1211
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1335
1396
    ac_init_version=: ;;
1336
1397
 
1337
1398
  -with-* | --with-*)
1338
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1399
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1339
1400
    # Reject names that are not valid shell variable names.
1340
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1341
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1342
 
   { (exit 1); exit 1; }; }
1343
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1344
 
    eval with_$ac_package=\$ac_optarg ;;
 
1401
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1402
      as_fn_error "invalid package name: $ac_useropt"
 
1403
    ac_useropt_orig=$ac_useropt
 
1404
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1405
    case $ac_user_opts in
 
1406
      *"
 
1407
"with_$ac_useropt"
 
1408
"*) ;;
 
1409
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1410
         ac_unrecognized_sep=', ';;
 
1411
    esac
 
1412
    eval with_$ac_useropt=\$ac_optarg ;;
1345
1413
 
1346
1414
  -without-* | --without-*)
1347
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1415
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1348
1416
    # Reject names that are not valid shell variable names.
1349
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1350
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1351
 
   { (exit 1); exit 1; }; }
1352
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1353
 
    eval with_$ac_package=no ;;
 
1417
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1418
      as_fn_error "invalid package name: $ac_useropt"
 
1419
    ac_useropt_orig=$ac_useropt
 
1420
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1421
    case $ac_user_opts in
 
1422
      *"
 
1423
"with_$ac_useropt"
 
1424
"*) ;;
 
1425
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1426
         ac_unrecognized_sep=', ';;
 
1427
    esac
 
1428
    eval with_$ac_useropt=no ;;
1354
1429
 
1355
1430
  --x)
1356
1431
    # Obsolete; use --with-x.
1370
1445
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1371
1446
    x_libraries=$ac_optarg ;;
1372
1447
 
1373
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1374
 
Try \`$0 --help' for more information." >&2
1375
 
   { (exit 1); exit 1; }; }
 
1448
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1449
Try \`$0 --help' for more information."
1376
1450
    ;;
1377
1451
 
1378
1452
  *=*)
1379
1453
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1380
1454
    # Reject names that are not valid shell variable names.
1381
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1382
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1383
 
   { (exit 1); exit 1; }; }
 
1455
    case $ac_envvar in #(
 
1456
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1457
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1458
    esac
1384
1459
    eval $ac_envvar=\$ac_optarg
1385
1460
    export $ac_envvar ;;
1386
1461
 
1387
1462
  *)
1388
1463
    # FIXME: should be removed in autoconf 3.0.
1389
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1464
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1390
1465
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1391
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1466
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1392
1467
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1393
1468
    ;;
1394
1469
 
1397
1472
 
1398
1473
if test -n "$ac_prev"; then
1399
1474
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1400
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1401
 
   { (exit 1); exit 1; }; }
1402
 
fi
1403
 
 
1404
 
# Be sure to have absolute directory names.
 
1475
  as_fn_error "missing argument to $ac_option"
 
1476
fi
 
1477
 
 
1478
if test -n "$ac_unrecognized_opts"; then
 
1479
  case $enable_option_checking in
 
1480
    no) ;;
 
1481
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1482
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1483
  esac
 
1484
fi
 
1485
 
 
1486
# Check all directory arguments for consistency.
1405
1487
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1406
1488
                datadir sysconfdir sharedstatedir localstatedir includedir \
1407
1489
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1408
1490
                libdir localedir mandir
1409
1491
do
1410
1492
  eval ac_val=\$$ac_var
 
1493
  # Remove trailing slashes.
 
1494
  case $ac_val in
 
1495
    */ )
 
1496
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1497
      eval $ac_var=\$ac_val;;
 
1498
  esac
 
1499
  # Be sure to have absolute directory names.
1411
1500
  case $ac_val in
1412
1501
    [\\/$]* | ?:[\\/]* )  continue;;
1413
1502
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1414
1503
  esac
1415
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1416
 
   { (exit 1); exit 1; }; }
 
1504
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1417
1505
done
1418
1506
 
1419
1507
# There might be people who depend on the old broken behavior: `$host'
1427
1515
if test "x$host_alias" != x; then
1428
1516
  if test "x$build_alias" = x; then
1429
1517
    cross_compiling=maybe
1430
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1518
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1431
1519
    If a cross compiler is detected then cross compile mode will be used." >&2
1432
1520
  elif test "x$build_alias" != "x$host_alias"; then
1433
1521
    cross_compiling=yes
1443
1531
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1444
1532
ac_ls_di=`ls -di .` &&
1445
1533
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1446
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1447
 
   { (exit 1); exit 1; }; }
 
1534
  as_fn_error "working directory cannot be determined"
1448
1535
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1449
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1450
 
   { (exit 1); exit 1; }; }
 
1536
  as_fn_error "pwd does not report name of working directory"
1451
1537
 
1452
1538
 
1453
1539
# Find the source files, if location was not specified.
1454
1540
if test -z "$srcdir"; then
1455
1541
  ac_srcdir_defaulted=yes
1456
1542
  # Try the directory containing this script, then the parent directory.
1457
 
  ac_confdir=`$as_dirname -- "$0" ||
1458
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1459
 
         X"$0" : 'X\(//\)[^/]' \| \
1460
 
         X"$0" : 'X\(//\)$' \| \
1461
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1462
 
echo X"$0" |
 
1543
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1544
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1545
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1546
         X"$as_myself" : 'X\(//\)$' \| \
 
1547
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1548
$as_echo X"$as_myself" |
1463
1549
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1464
1550
            s//\1/
1465
1551
            q
1486
1572
fi
1487
1573
if test ! -r "$srcdir/$ac_unique_file"; then
1488
1574
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1489
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1490
 
   { (exit 1); exit 1; }; }
 
1575
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1491
1576
fi
1492
1577
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1493
1578
ac_abs_confdir=`(
1494
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1495
 
   { (exit 1); exit 1; }; }
 
1579
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1496
1580
        pwd)`
1497
1581
# When building in place, set srcdir=.
1498
1582
if test "$ac_abs_confdir" = "$ac_pwd"; then
1518
1602
  # Omit some internal or obsolete options to make the list less imposing.
1519
1603
  # This message is too long to be a string in the A/UX 3.1 sh.
1520
1604
  cat <<_ACEOF
1521
 
\`configure' configures codeblocks 1.0svn to adapt to many kinds of systems.
 
1605
\`configure' configures codeblocks 10.05-release to adapt to many kinds of systems.
1522
1606
 
1523
1607
Usage: $0 [OPTION]... [VAR=VALUE]...
1524
1608
 
1540
1624
 
1541
1625
Installation directories:
1542
1626
  --prefix=PREFIX         install architecture-independent files in PREFIX
1543
 
                          [$ac_default_prefix]
 
1627
                          [$ac_default_prefix]
1544
1628
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1545
 
                          [PREFIX]
 
1629
                          [PREFIX]
1546
1630
 
1547
1631
By default, \`make install' will install all the files in
1548
1632
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1552
1636
For better control, use the options below.
1553
1637
 
1554
1638
Fine tuning of the installation directories:
1555
 
  --bindir=DIR           user executables [EPREFIX/bin]
1556
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1557
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1558
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1559
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1560
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1561
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1562
 
  --includedir=DIR       C header files [PREFIX/include]
1563
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1564
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1565
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1566
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1567
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1568
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1569
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/codeblocks]
1570
 
  --htmldir=DIR          html documentation [DOCDIR]
1571
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1572
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1573
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1639
  --bindir=DIR            user executables [EPREFIX/bin]
 
1640
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1641
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1642
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1643
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1644
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1645
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1646
  --includedir=DIR        C header files [PREFIX/include]
 
1647
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1648
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1649
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1650
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1651
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1652
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1653
  --docdir=DIR            documentation root [DATAROOTDIR/doc/codeblocks]
 
1654
  --htmldir=DIR           html documentation [DOCDIR]
 
1655
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1656
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1657
  --psdir=DIR             ps documentation [DOCDIR]
1574
1658
_ACEOF
1575
1659
 
1576
1660
  cat <<\_ACEOF
1589
1673
 
1590
1674
if test -n "$ac_init_help"; then
1591
1675
  case $ac_init_help in
1592
 
     short | recursive ) echo "Configuration of codeblocks 1.0svn:";;
 
1676
     short | recursive ) echo "Configuration of codeblocks 10.05-release:";;
1593
1677
   esac
1594
1678
  cat <<\_ACEOF
1595
1679
 
1596
1680
Optional Features:
 
1681
  --disable-option-checking  ignore unrecognized --enable/--with options
1597
1682
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1598
1683
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1599
1684
  --disable-dependency-tracking  speeds up one-time build
1627
1712
Optional Packages:
1628
1713
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1629
1714
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1630
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1631
1715
  --with-pic              try to use only PIC/non-PIC objects [default=use
1632
1716
                          both]
1633
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1717
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1634
1718
  --with-platform=PLATFORM
1635
1719
                          the platform to build, win32, macosx or gtk(default)
1636
1720
  --with-contrib-plugins=<list>     compile contrib plugins in <list>.
1638
1722
                          "all" compiles all contrib plugins
1639
1723
                          "all,-help" compiles all contrib plugins except the help plugin
1640
1724
                          By default, no contrib plugins are compiled
1641
 
                          Plugin names are: AutoVersioning,BrowseTracker,byogames,cbkoders,codesnippets,
1642
 
                                             codestat,dragscroll,envvars,
1643
 
                                             help,keybinder,libfinder,profiler,
1644
 
                                             regex,exporter,symtab,wxsmith
 
1725
                          Plugin names are: AutoVersioning,BrowseTracker,byogames,Cccc,CppCheck,cbkoders,codesnippets,
 
1726
                                             codestat,copystrings, dragscroll,envvars,headerfixup,
 
1727
                                             help,hexeditor,incsearch,keybinder,libfinder,MouseSap,
 
1728
                                             profiler,regex,exporter,symtab,ThreadSearch,Valgrind,wxsmith,
 
1729
                                             wxsmithcontrib,wxsmithaui
1645
1730
  --with-wxdir=PATH       Use uninstalled version of wxWidgets in PATH
1646
1731
  --with-wx-config=CONFIG wx-config script to use (optional)
1647
1732
  --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1654
1739
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1655
1740
              nonstandard directory <lib dir>
1656
1741
  LIBS        libraries to pass to the linker, e.g. -l<library>
1657
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1742
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1658
1743
              you have headers in a nonstandard directory <include dir>
1659
1744
  CC          C compiler command
1660
1745
  CFLAGS      C compiler flags
1661
1746
  CPP         C preprocessor
1662
1747
  CXXCPP      C++ preprocessor
1663
 
  F77         Fortran 77 compiler command
1664
 
  FFLAGS      Fortran 77 compiler flags
1665
1748
  PKG_CONFIG  path to pkg-config utility
 
1749
  PKG_CONFIG_PATH
 
1750
              directories to add to pkg-config's search path
 
1751
  PKG_CONFIG_LIBDIR
 
1752
              path overriding pkg-config's built-in search path
1666
1753
  GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
1667
1754
  GTK2_LIBS   linker flags for GTK2, overriding pkg-config
1668
1755
 
1669
1756
Use these variables to override the choices made by `configure' or to help
1670
1757
it to find libraries and programs with nonstandard names/locations.
1671
1758
 
 
1759
Report bugs to the package provider.
1672
1760
_ACEOF
1673
1761
ac_status=$?
1674
1762
fi
1676
1764
if test "$ac_init_help" = "recursive"; then
1677
1765
  # If there are subdirs, report their specific --help.
1678
1766
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1679
 
    test -d "$ac_dir" || continue
 
1767
    test -d "$ac_dir" ||
 
1768
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1769
      continue
1680
1770
    ac_builddir=.
1681
1771
 
1682
1772
case "$ac_dir" in
1683
1773
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1684
1774
*)
1685
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1775
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1686
1776
  # A ".." for each directory in $ac_dir_suffix.
1687
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1777
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1688
1778
  case $ac_top_builddir_sub in
1689
1779
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1690
1780
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1720
1810
      echo &&
1721
1811
      $SHELL "$ac_srcdir/configure" --help=recursive
1722
1812
    else
1723
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1813
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1724
1814
    fi || ac_status=$?
1725
1815
    cd "$ac_pwd" || { ac_status=$?; break; }
1726
1816
  done
1729
1819
test -n "$ac_init_help" && exit $ac_status
1730
1820
if $ac_init_version; then
1731
1821
  cat <<\_ACEOF
1732
 
codeblocks configure 1.0svn
1733
 
generated by GNU Autoconf 2.61
 
1822
codeblocks configure 10.05-release
 
1823
generated by GNU Autoconf 2.65
1734
1824
 
1735
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1736
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1825
Copyright (C) 2009 Free Software Foundation, Inc.
1737
1826
This configure script is free software; the Free Software Foundation
1738
1827
gives unlimited permission to copy, distribute and modify it.
1739
1828
_ACEOF
1740
1829
  exit
1741
1830
fi
 
1831
 
 
1832
## ------------------------ ##
 
1833
## Autoconf initialization. ##
 
1834
## ------------------------ ##
 
1835
 
 
1836
# ac_fn_cxx_try_compile LINENO
 
1837
# ----------------------------
 
1838
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1839
ac_fn_cxx_try_compile ()
 
1840
{
 
1841
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1842
  rm -f conftest.$ac_objext
 
1843
  if { { ac_try="$ac_compile"
 
1844
case "(($ac_try" in
 
1845
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1846
  *) ac_try_echo=$ac_try;;
 
1847
esac
 
1848
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1849
$as_echo "$ac_try_echo"; } >&5
 
1850
  (eval "$ac_compile") 2>conftest.err
 
1851
  ac_status=$?
 
1852
  if test -s conftest.err; then
 
1853
    grep -v '^ *+' conftest.err >conftest.er1
 
1854
    cat conftest.er1 >&5
 
1855
    mv -f conftest.er1 conftest.err
 
1856
  fi
 
1857
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1858
  test $ac_status = 0; } && {
 
1859
         test -z "$ac_cxx_werror_flag" ||
 
1860
         test ! -s conftest.err
 
1861
       } && test -s conftest.$ac_objext; then :
 
1862
  ac_retval=0
 
1863
else
 
1864
  $as_echo "$as_me: failed program was:" >&5
 
1865
sed 's/^/| /' conftest.$ac_ext >&5
 
1866
 
 
1867
        ac_retval=1
 
1868
fi
 
1869
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1870
  as_fn_set_status $ac_retval
 
1871
 
 
1872
} # ac_fn_cxx_try_compile
 
1873
 
 
1874
# ac_fn_c_try_compile LINENO
 
1875
# --------------------------
 
1876
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1877
ac_fn_c_try_compile ()
 
1878
{
 
1879
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1880
  rm -f conftest.$ac_objext
 
1881
  if { { ac_try="$ac_compile"
 
1882
case "(($ac_try" in
 
1883
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1884
  *) ac_try_echo=$ac_try;;
 
1885
esac
 
1886
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1887
$as_echo "$ac_try_echo"; } >&5
 
1888
  (eval "$ac_compile") 2>conftest.err
 
1889
  ac_status=$?
 
1890
  if test -s conftest.err; then
 
1891
    grep -v '^ *+' conftest.err >conftest.er1
 
1892
    cat conftest.er1 >&5
 
1893
    mv -f conftest.er1 conftest.err
 
1894
  fi
 
1895
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1896
  test $ac_status = 0; } && {
 
1897
         test -z "$ac_c_werror_flag" ||
 
1898
         test ! -s conftest.err
 
1899
       } && test -s conftest.$ac_objext; then :
 
1900
  ac_retval=0
 
1901
else
 
1902
  $as_echo "$as_me: failed program was:" >&5
 
1903
sed 's/^/| /' conftest.$ac_ext >&5
 
1904
 
 
1905
        ac_retval=1
 
1906
fi
 
1907
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1908
  as_fn_set_status $ac_retval
 
1909
 
 
1910
} # ac_fn_c_try_compile
 
1911
 
 
1912
# ac_fn_c_try_cpp LINENO
 
1913
# ----------------------
 
1914
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1915
ac_fn_c_try_cpp ()
 
1916
{
 
1917
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1918
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1919
case "(($ac_try" in
 
1920
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1921
  *) ac_try_echo=$ac_try;;
 
1922
esac
 
1923
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1924
$as_echo "$ac_try_echo"; } >&5
 
1925
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1926
  ac_status=$?
 
1927
  if test -s conftest.err; then
 
1928
    grep -v '^ *+' conftest.err >conftest.er1
 
1929
    cat conftest.er1 >&5
 
1930
    mv -f conftest.er1 conftest.err
 
1931
  fi
 
1932
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1933
  test $ac_status = 0; } >/dev/null && {
 
1934
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1935
         test ! -s conftest.err
 
1936
       }; then :
 
1937
  ac_retval=0
 
1938
else
 
1939
  $as_echo "$as_me: failed program was:" >&5
 
1940
sed 's/^/| /' conftest.$ac_ext >&5
 
1941
 
 
1942
    ac_retval=1
 
1943
fi
 
1944
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1945
  as_fn_set_status $ac_retval
 
1946
 
 
1947
} # ac_fn_c_try_cpp
 
1948
 
 
1949
# ac_fn_c_try_link LINENO
 
1950
# -----------------------
 
1951
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1952
ac_fn_c_try_link ()
 
1953
{
 
1954
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1955
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1956
  if { { ac_try="$ac_link"
 
1957
case "(($ac_try" in
 
1958
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1959
  *) ac_try_echo=$ac_try;;
 
1960
esac
 
1961
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1962
$as_echo "$ac_try_echo"; } >&5
 
1963
  (eval "$ac_link") 2>conftest.err
 
1964
  ac_status=$?
 
1965
  if test -s conftest.err; then
 
1966
    grep -v '^ *+' conftest.err >conftest.er1
 
1967
    cat conftest.er1 >&5
 
1968
    mv -f conftest.er1 conftest.err
 
1969
  fi
 
1970
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1971
  test $ac_status = 0; } && {
 
1972
         test -z "$ac_c_werror_flag" ||
 
1973
         test ! -s conftest.err
 
1974
       } && test -s conftest$ac_exeext && {
 
1975
         test "$cross_compiling" = yes ||
 
1976
         $as_test_x conftest$ac_exeext
 
1977
       }; then :
 
1978
  ac_retval=0
 
1979
else
 
1980
  $as_echo "$as_me: failed program was:" >&5
 
1981
sed 's/^/| /' conftest.$ac_ext >&5
 
1982
 
 
1983
        ac_retval=1
 
1984
fi
 
1985
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1986
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1987
  # interfere with the next link command; also delete a directory that is
 
1988
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1989
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1990
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1991
  as_fn_set_status $ac_retval
 
1992
 
 
1993
} # ac_fn_c_try_link
 
1994
 
 
1995
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1996
# -------------------------------------------------------
 
1997
# Tests whether HEADER exists and can be compiled using the include files in
 
1998
# INCLUDES, setting the cache variable VAR accordingly.
 
1999
ac_fn_c_check_header_compile ()
 
2000
{
 
2001
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2002
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2003
$as_echo_n "checking for $2... " >&6; }
 
2004
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2005
  $as_echo_n "(cached) " >&6
 
2006
else
 
2007
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2008
/* end confdefs.h.  */
 
2009
$4
 
2010
#include <$2>
 
2011
_ACEOF
 
2012
if ac_fn_c_try_compile "$LINENO"; then :
 
2013
  eval "$3=yes"
 
2014
else
 
2015
  eval "$3=no"
 
2016
fi
 
2017
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2018
fi
 
2019
eval ac_res=\$$3
 
2020
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2021
$as_echo "$ac_res" >&6; }
 
2022
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2023
 
 
2024
} # ac_fn_c_check_header_compile
 
2025
 
 
2026
# ac_fn_c_try_run LINENO
 
2027
# ----------------------
 
2028
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
2029
# that executables *can* be run.
 
2030
ac_fn_c_try_run ()
 
2031
{
 
2032
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2033
  if { { ac_try="$ac_link"
 
2034
case "(($ac_try" in
 
2035
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2036
  *) ac_try_echo=$ac_try;;
 
2037
esac
 
2038
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2039
$as_echo "$ac_try_echo"; } >&5
 
2040
  (eval "$ac_link") 2>&5
 
2041
  ac_status=$?
 
2042
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2043
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
2044
  { { case "(($ac_try" in
 
2045
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2046
  *) ac_try_echo=$ac_try;;
 
2047
esac
 
2048
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2049
$as_echo "$ac_try_echo"; } >&5
 
2050
  (eval "$ac_try") 2>&5
 
2051
  ac_status=$?
 
2052
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2053
  test $ac_status = 0; }; }; then :
 
2054
  ac_retval=0
 
2055
else
 
2056
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
2057
       $as_echo "$as_me: failed program was:" >&5
 
2058
sed 's/^/| /' conftest.$ac_ext >&5
 
2059
 
 
2060
       ac_retval=$ac_status
 
2061
fi
 
2062
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2063
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2064
  as_fn_set_status $ac_retval
 
2065
 
 
2066
} # ac_fn_c_try_run
 
2067
 
 
2068
# ac_fn_c_check_func LINENO FUNC VAR
 
2069
# ----------------------------------
 
2070
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2071
ac_fn_c_check_func ()
 
2072
{
 
2073
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2074
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2075
$as_echo_n "checking for $2... " >&6; }
 
2076
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2077
  $as_echo_n "(cached) " >&6
 
2078
else
 
2079
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2080
/* end confdefs.h.  */
 
2081
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2082
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2083
#define $2 innocuous_$2
 
2084
 
 
2085
/* System header to define __stub macros and hopefully few prototypes,
 
2086
    which can conflict with char $2 (); below.
 
2087
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2088
    <limits.h> exists even on freestanding compilers.  */
 
2089
 
 
2090
#ifdef __STDC__
 
2091
# include <limits.h>
 
2092
#else
 
2093
# include <assert.h>
 
2094
#endif
 
2095
 
 
2096
#undef $2
 
2097
 
 
2098
/* Override any GCC internal prototype to avoid an error.
 
2099
   Use char because int might match the return type of a GCC
 
2100
   builtin and then its argument prototype would still apply.  */
 
2101
#ifdef __cplusplus
 
2102
extern "C"
 
2103
#endif
 
2104
char $2 ();
 
2105
/* The GNU C library defines this for functions which it implements
 
2106
    to always fail with ENOSYS.  Some functions are actually named
 
2107
    something starting with __ and the normal name is an alias.  */
 
2108
#if defined __stub_$2 || defined __stub___$2
 
2109
choke me
 
2110
#endif
 
2111
 
 
2112
int
 
2113
main ()
 
2114
{
 
2115
return $2 ();
 
2116
  ;
 
2117
  return 0;
 
2118
}
 
2119
_ACEOF
 
2120
if ac_fn_c_try_link "$LINENO"; then :
 
2121
  eval "$3=yes"
 
2122
else
 
2123
  eval "$3=no"
 
2124
fi
 
2125
rm -f core conftest.err conftest.$ac_objext \
 
2126
    conftest$ac_exeext conftest.$ac_ext
 
2127
fi
 
2128
eval ac_res=\$$3
 
2129
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2130
$as_echo "$ac_res" >&6; }
 
2131
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2132
 
 
2133
} # ac_fn_c_check_func
 
2134
 
 
2135
# ac_fn_cxx_try_cpp LINENO
 
2136
# ------------------------
 
2137
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
2138
ac_fn_cxx_try_cpp ()
 
2139
{
 
2140
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2141
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
2142
case "(($ac_try" in
 
2143
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2144
  *) ac_try_echo=$ac_try;;
 
2145
esac
 
2146
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2147
$as_echo "$ac_try_echo"; } >&5
 
2148
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
2149
  ac_status=$?
 
2150
  if test -s conftest.err; then
 
2151
    grep -v '^ *+' conftest.err >conftest.er1
 
2152
    cat conftest.er1 >&5
 
2153
    mv -f conftest.er1 conftest.err
 
2154
  fi
 
2155
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2156
  test $ac_status = 0; } >/dev/null && {
 
2157
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
2158
         test ! -s conftest.err
 
2159
       }; then :
 
2160
  ac_retval=0
 
2161
else
 
2162
  $as_echo "$as_me: failed program was:" >&5
 
2163
sed 's/^/| /' conftest.$ac_ext >&5
 
2164
 
 
2165
    ac_retval=1
 
2166
fi
 
2167
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2168
  as_fn_set_status $ac_retval
 
2169
 
 
2170
} # ac_fn_cxx_try_cpp
 
2171
 
 
2172
# ac_fn_cxx_try_link LINENO
 
2173
# -------------------------
 
2174
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
2175
ac_fn_cxx_try_link ()
 
2176
{
 
2177
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2178
  rm -f conftest.$ac_objext conftest$ac_exeext
 
2179
  if { { ac_try="$ac_link"
 
2180
case "(($ac_try" in
 
2181
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2182
  *) ac_try_echo=$ac_try;;
 
2183
esac
 
2184
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2185
$as_echo "$ac_try_echo"; } >&5
 
2186
  (eval "$ac_link") 2>conftest.err
 
2187
  ac_status=$?
 
2188
  if test -s conftest.err; then
 
2189
    grep -v '^ *+' conftest.err >conftest.er1
 
2190
    cat conftest.er1 >&5
 
2191
    mv -f conftest.er1 conftest.err
 
2192
  fi
 
2193
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2194
  test $ac_status = 0; } && {
 
2195
         test -z "$ac_cxx_werror_flag" ||
 
2196
         test ! -s conftest.err
 
2197
       } && test -s conftest$ac_exeext && {
 
2198
         test "$cross_compiling" = yes ||
 
2199
         $as_test_x conftest$ac_exeext
 
2200
       }; then :
 
2201
  ac_retval=0
 
2202
else
 
2203
  $as_echo "$as_me: failed program was:" >&5
 
2204
sed 's/^/| /' conftest.$ac_ext >&5
 
2205
 
 
2206
        ac_retval=1
 
2207
fi
 
2208
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2209
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2210
  # interfere with the next link command; also delete a directory that is
 
2211
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2212
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2213
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2214
  as_fn_set_status $ac_retval
 
2215
 
 
2216
} # ac_fn_cxx_try_link
 
2217
 
 
2218
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2219
# -------------------------------------------------------
 
2220
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2221
# the include files in INCLUDES and setting the cache variable VAR
 
2222
# accordingly.
 
2223
ac_fn_c_check_header_mongrel ()
 
2224
{
 
2225
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2226
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2227
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2228
$as_echo_n "checking for $2... " >&6; }
 
2229
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2230
  $as_echo_n "(cached) " >&6
 
2231
fi
 
2232
eval ac_res=\$$3
 
2233
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2234
$as_echo "$ac_res" >&6; }
 
2235
else
 
2236
  # Is the header compilable?
 
2237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2238
$as_echo_n "checking $2 usability... " >&6; }
 
2239
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2240
/* end confdefs.h.  */
 
2241
$4
 
2242
#include <$2>
 
2243
_ACEOF
 
2244
if ac_fn_c_try_compile "$LINENO"; then :
 
2245
  ac_header_compiler=yes
 
2246
else
 
2247
  ac_header_compiler=no
 
2248
fi
 
2249
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2251
$as_echo "$ac_header_compiler" >&6; }
 
2252
 
 
2253
# Is the header present?
 
2254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2255
$as_echo_n "checking $2 presence... " >&6; }
 
2256
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2257
/* end confdefs.h.  */
 
2258
#include <$2>
 
2259
_ACEOF
 
2260
if ac_fn_c_try_cpp "$LINENO"; then :
 
2261
  ac_header_preproc=yes
 
2262
else
 
2263
  ac_header_preproc=no
 
2264
fi
 
2265
rm -f conftest.err conftest.$ac_ext
 
2266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2267
$as_echo "$ac_header_preproc" >&6; }
 
2268
 
 
2269
# So?  What about this header?
 
2270
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2271
  yes:no: )
 
2272
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2273
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2274
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2275
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2276
    ;;
 
2277
  no:yes:* )
 
2278
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2279
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2280
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2281
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2282
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2283
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2284
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2285
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2286
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2287
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2288
    ;;
 
2289
esac
 
2290
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2291
$as_echo_n "checking for $2... " >&6; }
 
2292
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2293
  $as_echo_n "(cached) " >&6
 
2294
else
 
2295
  eval "$3=\$ac_header_compiler"
 
2296
fi
 
2297
eval ac_res=\$$3
 
2298
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2299
$as_echo "$ac_res" >&6; }
 
2300
fi
 
2301
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2302
 
 
2303
} # ac_fn_c_check_header_mongrel
 
2304
 
 
2305
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
2306
# -------------------------------------------
 
2307
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
2308
# variable VAR accordingly.
 
2309
ac_fn_c_check_type ()
 
2310
{
 
2311
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2312
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2313
$as_echo_n "checking for $2... " >&6; }
 
2314
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2315
  $as_echo_n "(cached) " >&6
 
2316
else
 
2317
  eval "$3=no"
 
2318
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2319
/* end confdefs.h.  */
 
2320
$4
 
2321
int
 
2322
main ()
 
2323
{
 
2324
if (sizeof ($2))
 
2325
         return 0;
 
2326
  ;
 
2327
  return 0;
 
2328
}
 
2329
_ACEOF
 
2330
if ac_fn_c_try_compile "$LINENO"; then :
 
2331
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2332
/* end confdefs.h.  */
 
2333
$4
 
2334
int
 
2335
main ()
 
2336
{
 
2337
if (sizeof (($2)))
 
2338
            return 0;
 
2339
  ;
 
2340
  return 0;
 
2341
}
 
2342
_ACEOF
 
2343
if ac_fn_c_try_compile "$LINENO"; then :
 
2344
 
 
2345
else
 
2346
  eval "$3=yes"
 
2347
fi
 
2348
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2349
fi
 
2350
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2351
fi
 
2352
eval ac_res=\$$3
 
2353
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2354
$as_echo "$ac_res" >&6; }
 
2355
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2356
 
 
2357
} # ac_fn_c_check_type
1742
2358
cat >config.log <<_ACEOF
1743
2359
This file contains any messages produced by compilers while
1744
2360
running configure, to aid debugging if configure makes a mistake.
1745
2361
 
1746
 
It was created by codeblocks $as_me 1.0svn, which was
1747
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
2362
It was created by codeblocks $as_me 10.05-release, which was
 
2363
generated by GNU Autoconf 2.65.  Invocation command line was
1748
2364
 
1749
2365
  $ $0 $@
1750
2366
 
1780
2396
do
1781
2397
  IFS=$as_save_IFS
1782
2398
  test -z "$as_dir" && as_dir=.
1783
 
  echo "PATH: $as_dir"
1784
 
done
 
2399
    $as_echo "PATH: $as_dir"
 
2400
  done
1785
2401
IFS=$as_save_IFS
1786
2402
 
1787
2403
} >&5
1815
2431
    | -silent | --silent | --silen | --sile | --sil)
1816
2432
      continue ;;
1817
2433
    *\'*)
1818
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2434
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1819
2435
    esac
1820
2436
    case $ac_pass in
1821
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2437
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1822
2438
    2)
1823
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2439
      as_fn_append ac_configure_args1 " '$ac_arg'"
1824
2440
      if test $ac_must_keep_next = true; then
1825
2441
        ac_must_keep_next=false # Got value, back to normal.
1826
2442
      else
1836
2452
          -* ) ac_must_keep_next=true ;;
1837
2453
        esac
1838
2454
      fi
1839
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2455
      as_fn_append ac_configure_args " '$ac_arg'"
1840
2456
      ;;
1841
2457
    esac
1842
2458
  done
1843
2459
done
1844
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1845
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2460
{ ac_configure_args0=; unset ac_configure_args0;}
 
2461
{ ac_configure_args1=; unset ac_configure_args1;}
1846
2462
 
1847
2463
# When interrupted or exit'd, cleanup temporary files, and complete
1848
2464
# config.log.  We remove comments because anyway the quotes in there
1867
2483
    case $ac_val in #(
1868
2484
    *${as_nl}*)
1869
2485
      case $ac_var in #(
1870
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1871
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
2486
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2487
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1872
2488
      esac
1873
2489
      case $ac_var in #(
1874
2490
      _ | IFS | as_nl) ;; #(
1875
 
      *) $as_unset $ac_var ;;
 
2491
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2492
      *) { eval $ac_var=; unset $ac_var;} ;;
1876
2493
      esac ;;
1877
2494
    esac
1878
2495
  done
1901
2518
    do
1902
2519
      eval ac_val=\$$ac_var
1903
2520
      case $ac_val in
1904
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2521
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1905
2522
      esac
1906
 
      echo "$ac_var='\''$ac_val'\''"
 
2523
      $as_echo "$ac_var='\''$ac_val'\''"
1907
2524
    done | sort
1908
2525
    echo
1909
2526
 
1918
2535
      do
1919
2536
        eval ac_val=\$$ac_var
1920
2537
        case $ac_val in
1921
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2538
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1922
2539
        esac
1923
 
        echo "$ac_var='\''$ac_val'\''"
 
2540
        $as_echo "$ac_var='\''$ac_val'\''"
1924
2541
      done | sort
1925
2542
      echo
1926
2543
    fi
1936
2553
      echo
1937
2554
    fi
1938
2555
    test "$ac_signal" != 0 &&
1939
 
      echo "$as_me: caught signal $ac_signal"
1940
 
    echo "$as_me: exit $exit_status"
 
2556
      $as_echo "$as_me: caught signal $ac_signal"
 
2557
    $as_echo "$as_me: exit $exit_status"
1941
2558
  } >&5
1942
2559
  rm -f core *.core core.conftest.* &&
1943
2560
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1944
2561
    exit $exit_status
1945
2562
' 0
1946
2563
for ac_signal in 1 2 13 15; do
1947
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2564
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1948
2565
done
1949
2566
ac_signal=0
1950
2567
 
1951
2568
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1952
2569
rm -f -r conftest* confdefs.h
1953
2570
 
 
2571
$as_echo "/* confdefs.h */" > confdefs.h
 
2572
 
1954
2573
# Predefined preprocessor variables.
1955
2574
 
1956
2575
cat >>confdefs.h <<_ACEOF
1957
2576
#define PACKAGE_NAME "$PACKAGE_NAME"
1958
2577
_ACEOF
1959
2578
 
1960
 
 
1961
2579
cat >>confdefs.h <<_ACEOF
1962
2580
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1963
2581
_ACEOF
1964
2582
 
1965
 
 
1966
2583
cat >>confdefs.h <<_ACEOF
1967
2584
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1968
2585
_ACEOF
1969
2586
 
1970
 
 
1971
2587
cat >>confdefs.h <<_ACEOF
1972
2588
#define PACKAGE_STRING "$PACKAGE_STRING"
1973
2589
_ACEOF
1974
2590
 
1975
 
 
1976
2591
cat >>confdefs.h <<_ACEOF
1977
2592
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1978
2593
_ACEOF
1979
2594
 
 
2595
cat >>confdefs.h <<_ACEOF
 
2596
#define PACKAGE_URL "$PACKAGE_URL"
 
2597
_ACEOF
 
2598
 
1980
2599
 
1981
2600
# Let the site file select an alternate cache file if it wants to.
1982
 
# Prefer explicitly selected file to automatically selected ones.
 
2601
# Prefer an explicitly selected file to automatically selected ones.
 
2602
ac_site_file1=NONE
 
2603
ac_site_file2=NONE
1983
2604
if test -n "$CONFIG_SITE"; then
1984
 
  set x "$CONFIG_SITE"
 
2605
  ac_site_file1=$CONFIG_SITE
1985
2606
elif test "x$prefix" != xNONE; then
1986
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
2607
  ac_site_file1=$prefix/share/config.site
 
2608
  ac_site_file2=$prefix/etc/config.site
1987
2609
else
1988
 
  set x "$ac_default_prefix/share/config.site" \
1989
 
        "$ac_default_prefix/etc/config.site"
 
2610
  ac_site_file1=$ac_default_prefix/share/config.site
 
2611
  ac_site_file2=$ac_default_prefix/etc/config.site
1990
2612
fi
1991
 
shift
1992
 
for ac_site_file
 
2613
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1993
2614
do
1994
 
  if test -r "$ac_site_file"; then
1995
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1996
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2615
  test "x$ac_site_file" = xNONE && continue
 
2616
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2617
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2618
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1997
2619
    sed 's/^/| /' "$ac_site_file" >&5
1998
2620
    . "$ac_site_file"
1999
2621
  fi
2000
2622
done
2001
2623
 
2002
2624
if test -r "$cache_file"; then
2003
 
  # Some versions of bash will fail to source /dev/null (special
2004
 
  # files actually), so we avoid doing that.
2005
 
  if test -f "$cache_file"; then
2006
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2007
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2625
  # Some versions of bash will fail to source /dev/null (special files
 
2626
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2627
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2628
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2629
$as_echo "$as_me: loading cache $cache_file" >&6;}
2008
2630
    case $cache_file in
2009
2631
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2010
2632
      *)                      . "./$cache_file";;
2011
2633
    esac
2012
2634
  fi
2013
2635
else
2014
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2015
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2636
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2637
$as_echo "$as_me: creating cache $cache_file" >&6;}
2016
2638
  >$cache_file
2017
2639
fi
2018
2640
 
2026
2648
  eval ac_new_val=\$ac_env_${ac_var}_value
2027
2649
  case $ac_old_set,$ac_new_set in
2028
2650
    set,)
2029
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2030
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2651
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2652
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2031
2653
      ac_cache_corrupted=: ;;
2032
2654
    ,set)
2033
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2034
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2655
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2656
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2035
2657
      ac_cache_corrupted=: ;;
2036
2658
    ,);;
2037
2659
    *)
2038
2660
      if test "x$ac_old_val" != "x$ac_new_val"; then
2039
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2040
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2041
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2042
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
2043
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2044
 
echo "$as_me:   current value: $ac_new_val" >&2;}
2045
 
        ac_cache_corrupted=:
 
2661
        # differences in whitespace do not lead to failure.
 
2662
        ac_old_val_w=`echo x $ac_old_val`
 
2663
        ac_new_val_w=`echo x $ac_new_val`
 
2664
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2665
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2666
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2667
          ac_cache_corrupted=:
 
2668
        else
 
2669
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2670
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2671
          eval $ac_var=\$ac_old_val
 
2672
        fi
 
2673
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2674
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2675
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2676
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2046
2677
      fi;;
2047
2678
  esac
2048
2679
  # Pass precious variables to config.status.
2049
2680
  if test "$ac_new_set" = set; then
2050
2681
    case $ac_new_val in
2051
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2682
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2052
2683
    *) ac_arg=$ac_var=$ac_new_val ;;
2053
2684
    esac
2054
2685
    case " $ac_configure_args " in
2055
2686
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2056
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2687
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2057
2688
    esac
2058
2689
  fi
2059
2690
done
2060
2691
if $ac_cache_corrupted; then
2061
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2062
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2063
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2064
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2065
 
   { (exit 1); exit 1; }; }
 
2692
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2693
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2694
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2695
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2696
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2066
2697
fi
2067
 
 
2068
 
 
2069
 
 
2070
 
 
2071
 
 
2072
 
 
2073
 
 
2074
 
 
2075
 
 
2076
 
 
2077
 
 
2078
 
 
2079
 
 
2080
 
 
2081
 
 
2082
 
 
2083
 
 
2084
 
 
2085
 
 
2086
 
 
2087
 
 
2088
 
 
2089
 
 
2090
 
 
 
2698
## -------------------- ##
 
2699
## Main body of script. ##
 
2700
## -------------------- ##
2091
2701
 
2092
2702
ac_ext=c
2093
2703
ac_cpp='$CPP $CPPFLAGS'
2099
2709
 
2100
2710
ac_aux_dir=
2101
2711
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2102
 
  if test -f "$ac_dir/install-sh"; then
2103
 
    ac_aux_dir=$ac_dir
2104
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2105
 
    break
2106
 
  elif test -f "$ac_dir/install.sh"; then
2107
 
    ac_aux_dir=$ac_dir
2108
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2109
 
    break
2110
 
  elif test -f "$ac_dir/shtool"; then
2111
 
    ac_aux_dir=$ac_dir
2112
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2113
 
    break
2114
 
  fi
 
2712
  for ac_t in install-sh install.sh shtool; do
 
2713
    if test -f "$ac_dir/$ac_t"; then
 
2714
      ac_aux_dir=$ac_dir
 
2715
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2716
      break 2
 
2717
    fi
 
2718
  done
2115
2719
done
2116
2720
if test -z "$ac_aux_dir"; then
2117
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2118
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2119
 
   { (exit 1); exit 1; }; }
 
2721
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2120
2722
fi
2121
2723
 
2122
2724
# These three variables are undocumented and unsupported,
2130
2732
 
2131
2733
# Make sure we can run config.sub.
2132
2734
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2133
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2134
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2135
 
   { (exit 1); exit 1; }; }
 
2735
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2136
2736
 
2137
 
{ echo "$as_me:$LINENO: checking build system type" >&5
2138
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2139
 
if test "${ac_cv_build+set}" = set; then
2140
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
2738
$as_echo_n "checking build system type... " >&6; }
 
2739
if test "${ac_cv_build+set}" = set; then :
 
2740
  $as_echo_n "(cached) " >&6
2141
2741
else
2142
2742
  ac_build_alias=$build_alias
2143
2743
test "x$ac_build_alias" = x &&
2144
2744
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2145
2745
test "x$ac_build_alias" = x &&
2146
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2147
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2148
 
   { (exit 1); exit 1; }; }
 
2746
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2149
2747
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2150
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2151
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2152
 
   { (exit 1); exit 1; }; }
 
2748
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2153
2749
 
2154
2750
fi
2155
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2156
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2752
$as_echo "$ac_cv_build" >&6; }
2157
2753
case $ac_cv_build in
2158
2754
*-*-*) ;;
2159
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2160
 
echo "$as_me: error: invalid value of canonical build" >&2;}
2161
 
   { (exit 1); exit 1; }; };;
 
2755
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2162
2756
esac
2163
2757
build=$ac_cv_build
2164
2758
ac_save_IFS=$IFS; IFS='-'
2174
2768
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2175
2769
 
2176
2770
 
2177
 
{ echo "$as_me:$LINENO: checking host system type" >&5
2178
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2179
 
if test "${ac_cv_host+set}" = set; then
2180
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
2772
$as_echo_n "checking host system type... " >&6; }
 
2773
if test "${ac_cv_host+set}" = set; then :
 
2774
  $as_echo_n "(cached) " >&6
2181
2775
else
2182
2776
  if test "x$host_alias" = x; then
2183
2777
  ac_cv_host=$ac_cv_build
2184
2778
else
2185
2779
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2186
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2187
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2188
 
   { (exit 1); exit 1; }; }
 
2780
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2189
2781
fi
2190
2782
 
2191
2783
fi
2192
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2193
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
2785
$as_echo "$ac_cv_host" >&6; }
2194
2786
case $ac_cv_host in
2195
2787
*-*-*) ;;
2196
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2197
 
echo "$as_me: error: invalid value of canonical host" >&2;}
2198
 
   { (exit 1); exit 1; }; };;
 
2788
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2199
2789
esac
2200
2790
host=$ac_cv_host
2201
2791
ac_save_IFS=$IFS; IFS='-'
2211
2801
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2212
2802
 
2213
2803
 
2214
 
{ echo "$as_me:$LINENO: checking target system type" >&5
2215
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2216
 
if test "${ac_cv_target+set}" = set; then
2217
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 
2805
$as_echo_n "checking target system type... " >&6; }
 
2806
if test "${ac_cv_target+set}" = set; then :
 
2807
  $as_echo_n "(cached) " >&6
2218
2808
else
2219
2809
  if test "x$target_alias" = x; then
2220
2810
  ac_cv_target=$ac_cv_host
2221
2811
else
2222
2812
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2223
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2224
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2225
 
   { (exit 1); exit 1; }; }
 
2813
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2226
2814
fi
2227
2815
 
2228
2816
fi
2229
 
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2230
 
echo "${ECHO_T}$ac_cv_target" >&6; }
 
2817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 
2818
$as_echo "$ac_cv_target" >&6; }
2231
2819
case $ac_cv_target in
2232
2820
*-*-*) ;;
2233
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2234
 
echo "$as_me: error: invalid value of canonical target" >&2;}
2235
 
   { (exit 1); exit 1; }; };;
 
2821
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2236
2822
esac
2237
2823
target=$ac_cv_target
2238
2824
ac_save_IFS=$IFS; IFS='-'
2255
2841
    NONENONEs,x,x, &&
2256
2842
  program_prefix=${target_alias}-
2257
2843
 
2258
 
am__api_version='1.10'
 
2844
am__api_version='1.11'
2259
2845
 
2260
2846
# Find a good install program.  We prefer a C program (faster),
2261
2847
# so one script is as good as another.  But avoid the broken or
2270
2856
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2271
2857
# OS/2's system install, which has a completely different semantic
2272
2858
# ./install, which can be erroneously created by make from ./install.sh.
2273
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2274
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2859
# Reject install programs that cannot install multiple files.
 
2860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2861
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2275
2862
if test -z "$INSTALL"; then
2276
 
if test "${ac_cv_path_install+set}" = set; then
2277
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2863
if test "${ac_cv_path_install+set}" = set; then :
 
2864
  $as_echo_n "(cached) " >&6
2278
2865
else
2279
2866
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280
2867
for as_dir in $PATH
2281
2868
do
2282
2869
  IFS=$as_save_IFS
2283
2870
  test -z "$as_dir" && as_dir=.
2284
 
  # Account for people who put trailing slashes in PATH elements.
2285
 
case $as_dir/ in
2286
 
  ./ | .// | /cC/* | \
 
2871
    # Account for people who put trailing slashes in PATH elements.
 
2872
case $as_dir/ in #((
 
2873
  ./ | .// | /[cC]/* | \
2287
2874
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2288
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2875
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2289
2876
  /usr/ucb/* ) ;;
2290
2877
  *)
2291
2878
    # OSF1 and SCO ODT 3.0 have their own names for install.
2303
2890
            # program-specific install script used by HP pwplus--don't use.
2304
2891
            :
2305
2892
          else
2306
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2307
 
            break 3
 
2893
            rm -rf conftest.one conftest.two conftest.dir
 
2894
            echo one > conftest.one
 
2895
            echo two > conftest.two
 
2896
            mkdir conftest.dir
 
2897
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2898
              test -s conftest.one && test -s conftest.two &&
 
2899
              test -s conftest.dir/conftest.one &&
 
2900
              test -s conftest.dir/conftest.two
 
2901
            then
 
2902
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2903
              break 3
 
2904
            fi
2308
2905
          fi
2309
2906
        fi
2310
2907
      done
2311
2908
    done
2312
2909
    ;;
2313
2910
esac
2314
 
done
 
2911
 
 
2912
  done
2315
2913
IFS=$as_save_IFS
2316
2914
 
 
2915
rm -rf conftest.one conftest.two conftest.dir
2317
2916
 
2318
2917
fi
2319
2918
  if test "${ac_cv_path_install+set}" = set; then
2326
2925
    INSTALL=$ac_install_sh
2327
2926
  fi
2328
2927
fi
2329
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2330
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2929
$as_echo "$INSTALL" >&6; }
2331
2930
 
2332
2931
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2333
2932
# It thinks the first close brace ends the variable substitution.
2337
2936
 
2338
2937
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2339
2938
 
2340
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2341
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2940
$as_echo_n "checking whether build environment is sane... " >&6; }
2342
2941
# Just in case
2343
2942
sleep 1
2344
2943
echo timestamp > conftest.file
 
2944
# Reject unsafe characters in $srcdir or the absolute working directory
 
2945
# name.  Accept space and tab only in the latter.
 
2946
am_lf='
 
2947
'
 
2948
case `pwd` in
 
2949
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2950
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2951
esac
 
2952
case $srcdir in
 
2953
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2954
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2955
esac
 
2956
 
2345
2957
# Do `set' in a subshell so we don't clobber the current shell's
2346
2958
# arguments.  Must try -L first in case configure is actually a
2347
2959
# symlink; some systems play weird games with the mod time of symlinks
2348
2960
# (eg FreeBSD returns the mod time of the symlink's containing
2349
2961
# directory).
2350
2962
if (
2351
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2963
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2352
2964
   if test "$*" = "X"; then
2353
2965
      # -L didn't work.
2354
 
      set X `ls -t $srcdir/configure conftest.file`
 
2966
      set X `ls -t "$srcdir/configure" conftest.file`
2355
2967
   fi
2356
2968
   rm -f conftest.file
2357
2969
   if test "$*" != "X $srcdir/configure conftest.file" \
2361
2973
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2362
2974
      # broken ls alias from the environment.  This has actually
2363
2975
      # happened.  Such a system could not be considered "sane".
2364
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2365
 
alias in your environment" >&5
2366
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2367
 
alias in your environment" >&2;}
2368
 
   { (exit 1); exit 1; }; }
 
2976
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2977
alias in your environment" "$LINENO" 5
2369
2978
   fi
2370
2979
 
2371
2980
   test "$2" = conftest.file
2374
2983
   # Ok.
2375
2984
   :
2376
2985
else
2377
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2378
 
Check your system clock" >&5
2379
 
echo "$as_me: error: newly created file is older than distributed files!
2380
 
Check your system clock" >&2;}
2381
 
   { (exit 1); exit 1; }; }
 
2986
   as_fn_error "newly created file is older than distributed files!
 
2987
Check your system clock" "$LINENO" 5
2382
2988
fi
2383
 
{ echo "$as_me:$LINENO: result: yes" >&5
2384
 
echo "${ECHO_T}yes" >&6; }
 
2989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2990
$as_echo "yes" >&6; }
2385
2991
test "$program_prefix" != NONE &&
2386
2992
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2387
2993
# Use a double $ so make ignores it.
2388
2994
test "$program_suffix" != NONE &&
2389
2995
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2390
 
# Double any \ or $.  echo might interpret backslashes.
 
2996
# Double any \ or $.
2391
2997
# By default was `s,x,x', remove it if useless.
2392
 
cat <<\_ACEOF >conftest.sed
2393
 
s/[\\$]/&&/g;s/;s,x,x,$//
2394
 
_ACEOF
2395
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2396
 
rm -f conftest.sed
 
2998
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2999
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2397
3000
 
2398
3001
# expand $ac_aux_dir to an absolute path
2399
3002
am_aux_dir=`cd $ac_aux_dir && pwd`
2400
3003
 
2401
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
3004
if test x"${MISSING+set}" != xset; then
 
3005
  case $am_aux_dir in
 
3006
  *\ * | *\     *)
 
3007
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
3008
  *)
 
3009
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
3010
  esac
 
3011
fi
2402
3012
# Use eval to expand $SHELL
2403
3013
if eval "$MISSING --run true"; then
2404
3014
  am_missing_run="$MISSING --run "
2405
3015
else
2406
3016
  am_missing_run=
2407
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2408
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2409
 
fi
2410
 
 
2411
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2412
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
3017
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
3018
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
3019
fi
 
3020
 
 
3021
if test x"${install_sh}" != xset; then
 
3022
  case $am_aux_dir in
 
3023
  *\ * | *\     *)
 
3024
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
3025
  *)
 
3026
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
3027
  esac
 
3028
fi
 
3029
 
 
3030
# Installed binaries are usually stripped using `strip' when the user
 
3031
# run `make install-strip'.  However `strip' might not be the right
 
3032
# tool to use in cross-compilation environments, therefore Automake
 
3033
# will honor the `STRIP' environment variable to overrule this program.
 
3034
if test "$cross_compiling" != no; then
 
3035
  if test -n "$ac_tool_prefix"; then
 
3036
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
3037
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
3038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3039
$as_echo_n "checking for $ac_word... " >&6; }
 
3040
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
3041
  $as_echo_n "(cached) " >&6
 
3042
else
 
3043
  if test -n "$STRIP"; then
 
3044
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
3045
else
 
3046
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3047
for as_dir in $PATH
 
3048
do
 
3049
  IFS=$as_save_IFS
 
3050
  test -z "$as_dir" && as_dir=.
 
3051
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3052
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3053
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
3054
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3055
    break 2
 
3056
  fi
 
3057
done
 
3058
  done
 
3059
IFS=$as_save_IFS
 
3060
 
 
3061
fi
 
3062
fi
 
3063
STRIP=$ac_cv_prog_STRIP
 
3064
if test -n "$STRIP"; then
 
3065
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
3066
$as_echo "$STRIP" >&6; }
 
3067
else
 
3068
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3069
$as_echo "no" >&6; }
 
3070
fi
 
3071
 
 
3072
 
 
3073
fi
 
3074
if test -z "$ac_cv_prog_STRIP"; then
 
3075
  ac_ct_STRIP=$STRIP
 
3076
  # Extract the first word of "strip", so it can be a program name with args.
 
3077
set dummy strip; ac_word=$2
 
3078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3079
$as_echo_n "checking for $ac_word... " >&6; }
 
3080
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
3081
  $as_echo_n "(cached) " >&6
 
3082
else
 
3083
  if test -n "$ac_ct_STRIP"; then
 
3084
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
3085
else
 
3086
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3087
for as_dir in $PATH
 
3088
do
 
3089
  IFS=$as_save_IFS
 
3090
  test -z "$as_dir" && as_dir=.
 
3091
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3092
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3093
    ac_cv_prog_ac_ct_STRIP="strip"
 
3094
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3095
    break 2
 
3096
  fi
 
3097
done
 
3098
  done
 
3099
IFS=$as_save_IFS
 
3100
 
 
3101
fi
 
3102
fi
 
3103
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
3104
if test -n "$ac_ct_STRIP"; then
 
3105
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
3106
$as_echo "$ac_ct_STRIP" >&6; }
 
3107
else
 
3108
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3109
$as_echo "no" >&6; }
 
3110
fi
 
3111
 
 
3112
  if test "x$ac_ct_STRIP" = x; then
 
3113
    STRIP=":"
 
3114
  else
 
3115
    case $cross_compiling:$ac_tool_warned in
 
3116
yes:)
 
3117
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3118
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3119
ac_tool_warned=yes ;;
 
3120
esac
 
3121
    STRIP=$ac_ct_STRIP
 
3122
  fi
 
3123
else
 
3124
  STRIP="$ac_cv_prog_STRIP"
 
3125
fi
 
3126
 
 
3127
fi
 
3128
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
3129
 
 
3130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
3131
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2413
3132
if test -z "$MKDIR_P"; then
2414
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2415
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3133
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
3134
  $as_echo_n "(cached) " >&6
2416
3135
else
2417
3136
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2418
3137
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2419
3138
do
2420
3139
  IFS=$as_save_IFS
2421
3140
  test -z "$as_dir" && as_dir=.
2422
 
  for ac_prog in mkdir gmkdir; do
 
3141
    for ac_prog in mkdir gmkdir; do
2423
3142
         for ac_exec_ext in '' $ac_executable_extensions; do
2424
3143
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2425
3144
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2431
3150
           esac
2432
3151
         done
2433
3152
       done
2434
 
done
 
3153
  done
2435
3154
IFS=$as_save_IFS
2436
3155
 
2437
3156
fi
2438
3157
 
 
3158
  test -d ./--version && rmdir ./--version
2439
3159
  if test "${ac_cv_path_mkdir+set}" = set; then
2440
3160
    MKDIR_P="$ac_cv_path_mkdir -p"
2441
3161
  else
2443
3163
    # value for MKDIR_P within a source directory, because that will
2444
3164
    # break other packages using the cache if that directory is
2445
3165
    # removed, or if the value is a relative name.
2446
 
    test -d ./--version && rmdir ./--version
2447
3166
    MKDIR_P="$ac_install_sh -d"
2448
3167
  fi
2449
3168
fi
2450
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2451
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
3169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
3170
$as_echo "$MKDIR_P" >&6; }
2452
3171
 
2453
3172
mkdir_p="$MKDIR_P"
2454
3173
case $mkdir_p in
2460
3179
do
2461
3180
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2462
3181
set dummy $ac_prog; ac_word=$2
2463
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2464
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2465
 
if test "${ac_cv_prog_AWK+set}" = set; then
2466
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3182
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3183
$as_echo_n "checking for $ac_word... " >&6; }
 
3184
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3185
  $as_echo_n "(cached) " >&6
2467
3186
else
2468
3187
  if test -n "$AWK"; then
2469
3188
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2473
3192
do
2474
3193
  IFS=$as_save_IFS
2475
3194
  test -z "$as_dir" && as_dir=.
2476
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3195
    for ac_exec_ext in '' $ac_executable_extensions; do
2477
3196
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2478
3197
    ac_cv_prog_AWK="$ac_prog"
2479
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3198
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2480
3199
    break 2
2481
3200
  fi
2482
3201
done
2483
 
done
 
3202
  done
2484
3203
IFS=$as_save_IFS
2485
3204
 
2486
3205
fi
2487
3206
fi
2488
3207
AWK=$ac_cv_prog_AWK
2489
3208
if test -n "$AWK"; then
2490
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2491
 
echo "${ECHO_T}$AWK" >&6; }
 
3209
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
3210
$as_echo "$AWK" >&6; }
2492
3211
else
2493
 
  { echo "$as_me:$LINENO: result: no" >&5
2494
 
echo "${ECHO_T}no" >&6; }
 
3212
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3213
$as_echo "no" >&6; }
2495
3214
fi
2496
3215
 
2497
3216
 
2498
3217
  test -n "$AWK" && break
2499
3218
done
2500
3219
 
2501
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2502
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2503
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2504
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2505
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3221
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
3222
set x ${MAKE-make}
 
3223
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3224
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3225
  $as_echo_n "(cached) " >&6
2506
3226
else
2507
3227
  cat >conftest.make <<\_ACEOF
2508
3228
SHELL = /bin/sh
2519
3239
rm -f conftest.make
2520
3240
fi
2521
3241
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2522
 
  { echo "$as_me:$LINENO: result: yes" >&5
2523
 
echo "${ECHO_T}yes" >&6; }
 
3242
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3243
$as_echo "yes" >&6; }
2524
3244
  SET_MAKE=
2525
3245
else
2526
 
  { echo "$as_me:$LINENO: result: no" >&5
2527
 
echo "${ECHO_T}no" >&6; }
 
3246
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3247
$as_echo "no" >&6; }
2528
3248
  SET_MAKE="MAKE=${MAKE-make}"
2529
3249
fi
2530
3250
 
2543
3263
  am__isrc=' -I$(srcdir)'
2544
3264
  # test to see if srcdir already configured
2545
3265
  if test -f $srcdir/config.status; then
2546
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2547
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2548
 
   { (exit 1); exit 1; }; }
 
3266
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2549
3267
  fi
2550
3268
fi
2551
3269
 
2561
3279
 
2562
3280
# Define the identity of the package.
2563
3281
 PACKAGE='codeblocks'
2564
 
 VERSION='1.0svn'
 
3282
 VERSION='10.05-release'
2565
3283
 
2566
3284
 
2567
3285
cat >>confdefs.h <<_ACEOF
2589
3307
 
2590
3308
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2591
3309
 
2592
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2593
 
 
2594
 
# Installed binaries are usually stripped using `strip' when the user
2595
 
# run `make install-strip'.  However `strip' might not be the right
2596
 
# tool to use in cross-compilation environments, therefore Automake
2597
 
# will honor the `STRIP' environment variable to overrule this program.
2598
 
if test "$cross_compiling" != no; then
2599
 
  if test -n "$ac_tool_prefix"; then
2600
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2601
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2602
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2603
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2604
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2605
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2606
 
else
2607
 
  if test -n "$STRIP"; then
2608
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2609
 
else
2610
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611
 
for as_dir in $PATH
2612
 
do
2613
 
  IFS=$as_save_IFS
2614
 
  test -z "$as_dir" && as_dir=.
2615
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2616
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2617
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2618
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2619
 
    break 2
2620
 
  fi
2621
 
done
2622
 
done
2623
 
IFS=$as_save_IFS
2624
 
 
2625
 
fi
2626
 
fi
2627
 
STRIP=$ac_cv_prog_STRIP
2628
 
if test -n "$STRIP"; then
2629
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2630
 
echo "${ECHO_T}$STRIP" >&6; }
2631
 
else
2632
 
  { echo "$as_me:$LINENO: result: no" >&5
2633
 
echo "${ECHO_T}no" >&6; }
2634
 
fi
2635
 
 
2636
 
 
2637
 
fi
2638
 
if test -z "$ac_cv_prog_STRIP"; then
2639
 
  ac_ct_STRIP=$STRIP
2640
 
  # Extract the first word of "strip", so it can be a program name with args.
2641
 
set dummy strip; ac_word=$2
2642
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2643
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2644
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2645
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2646
 
else
2647
 
  if test -n "$ac_ct_STRIP"; then
2648
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2649
 
else
2650
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651
 
for as_dir in $PATH
2652
 
do
2653
 
  IFS=$as_save_IFS
2654
 
  test -z "$as_dir" && as_dir=.
2655
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2656
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2657
 
    ac_cv_prog_ac_ct_STRIP="strip"
2658
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2659
 
    break 2
2660
 
  fi
2661
 
done
2662
 
done
2663
 
IFS=$as_save_IFS
2664
 
 
2665
 
fi
2666
 
fi
2667
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2668
 
if test -n "$ac_ct_STRIP"; then
2669
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2670
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2671
 
else
2672
 
  { echo "$as_me:$LINENO: result: no" >&5
2673
 
echo "${ECHO_T}no" >&6; }
2674
 
fi
2675
 
 
2676
 
  if test "x$ac_ct_STRIP" = x; then
2677
 
    STRIP=":"
2678
 
  else
2679
 
    case $cross_compiling:$ac_tool_warned in
2680
 
yes:)
2681
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2682
 
whose name does not start with the host triplet.  If you think this
2683
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2684
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2685
 
whose name does not start with the host triplet.  If you think this
2686
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2687
 
ac_tool_warned=yes ;;
2688
 
esac
2689
 
    STRIP=$ac_ct_STRIP
2690
 
  fi
2691
 
else
2692
 
  STRIP="$ac_cv_prog_STRIP"
2693
 
fi
2694
 
 
2695
 
fi
2696
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2697
 
 
2698
3310
# We need awk for the "check" target.  The system "awk" is bad on
2699
3311
# some platforms.
2700
3312
# Always define AMTAR for backward compatibility.
2724
3336
  do
2725
3337
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2726
3338
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2727
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2728
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2729
 
if test "${ac_cv_prog_CXX+set}" = set; then
2730
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3340
$as_echo_n "checking for $ac_word... " >&6; }
 
3341
if test "${ac_cv_prog_CXX+set}" = set; then :
 
3342
  $as_echo_n "(cached) " >&6
2731
3343
else
2732
3344
  if test -n "$CXX"; then
2733
3345
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2737
3349
do
2738
3350
  IFS=$as_save_IFS
2739
3351
  test -z "$as_dir" && as_dir=.
2740
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3352
    for ac_exec_ext in '' $ac_executable_extensions; do
2741
3353
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2742
3354
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2743
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3355
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2744
3356
    break 2
2745
3357
  fi
2746
3358
done
2747
 
done
 
3359
  done
2748
3360
IFS=$as_save_IFS
2749
3361
 
2750
3362
fi
2751
3363
fi
2752
3364
CXX=$ac_cv_prog_CXX
2753
3365
if test -n "$CXX"; then
2754
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
2755
 
echo "${ECHO_T}$CXX" >&6; }
 
3366
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
3367
$as_echo "$CXX" >&6; }
2756
3368
else
2757
 
  { echo "$as_me:$LINENO: result: no" >&5
2758
 
echo "${ECHO_T}no" >&6; }
 
3369
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3370
$as_echo "no" >&6; }
2759
3371
fi
2760
3372
 
2761
3373
 
2768
3380
do
2769
3381
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2770
3382
set dummy $ac_prog; ac_word=$2
2771
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2772
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2773
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2774
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3384
$as_echo_n "checking for $ac_word... " >&6; }
 
3385
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
3386
  $as_echo_n "(cached) " >&6
2775
3387
else
2776
3388
  if test -n "$ac_ct_CXX"; then
2777
3389
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2781
3393
do
2782
3394
  IFS=$as_save_IFS
2783
3395
  test -z "$as_dir" && as_dir=.
2784
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3396
    for ac_exec_ext in '' $ac_executable_extensions; do
2785
3397
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2786
3398
    ac_cv_prog_ac_ct_CXX="$ac_prog"
2787
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3399
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2788
3400
    break 2
2789
3401
  fi
2790
3402
done
2791
 
done
 
3403
  done
2792
3404
IFS=$as_save_IFS
2793
3405
 
2794
3406
fi
2795
3407
fi
2796
3408
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2797
3409
if test -n "$ac_ct_CXX"; then
2798
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2799
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
3410
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
3411
$as_echo "$ac_ct_CXX" >&6; }
2800
3412
else
2801
 
  { echo "$as_me:$LINENO: result: no" >&5
2802
 
echo "${ECHO_T}no" >&6; }
 
3413
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3414
$as_echo "no" >&6; }
2803
3415
fi
2804
3416
 
2805
3417
 
2811
3423
  else
2812
3424
    case $cross_compiling:$ac_tool_warned in
2813
3425
yes:)
2814
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2815
 
whose name does not start with the host triplet.  If you think this
2816
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2817
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2818
 
whose name does not start with the host triplet.  If you think this
2819
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3426
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3427
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2820
3428
ac_tool_warned=yes ;;
2821
3429
esac
2822
3430
    CXX=$ac_ct_CXX
2826
3434
  fi
2827
3435
fi
2828
3436
# Provide some information about the compiler.
2829
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2830
 
ac_compiler=`set X $ac_compile; echo $2`
2831
 
{ (ac_try="$ac_compiler --version >&5"
2832
 
case "(($ac_try" in
2833
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834
 
  *) ac_try_echo=$ac_try;;
2835
 
esac
2836
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2837
 
  (eval "$ac_compiler --version >&5") 2>&5
2838
 
  ac_status=$?
2839
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840
 
  (exit $ac_status); }
2841
 
{ (ac_try="$ac_compiler -v >&5"
2842
 
case "(($ac_try" in
2843
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844
 
  *) ac_try_echo=$ac_try;;
2845
 
esac
2846
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2847
 
  (eval "$ac_compiler -v >&5") 2>&5
2848
 
  ac_status=$?
2849
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850
 
  (exit $ac_status); }
2851
 
{ (ac_try="$ac_compiler -V >&5"
2852
 
case "(($ac_try" in
2853
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854
 
  *) ac_try_echo=$ac_try;;
2855
 
esac
2856
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2857
 
  (eval "$ac_compiler -V >&5") 2>&5
2858
 
  ac_status=$?
2859
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860
 
  (exit $ac_status); }
 
3437
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
3438
set X $ac_compile
 
3439
ac_compiler=$2
 
3440
for ac_option in --version -v -V -qversion; do
 
3441
  { { ac_try="$ac_compiler $ac_option >&5"
 
3442
case "(($ac_try" in
 
3443
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3444
  *) ac_try_echo=$ac_try;;
 
3445
esac
 
3446
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3447
$as_echo "$ac_try_echo"; } >&5
 
3448
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3449
  ac_status=$?
 
3450
  if test -s conftest.err; then
 
3451
    sed '10a\
 
3452
... rest of stderr output deleted ...
 
3453
         10q' conftest.err >conftest.er1
 
3454
    cat conftest.er1 >&5
 
3455
  fi
 
3456
  rm -f conftest.er1 conftest.err
 
3457
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3458
  test $ac_status = 0; }
 
3459
done
2861
3460
 
2862
 
cat >conftest.$ac_ext <<_ACEOF
2863
 
/* confdefs.h.  */
2864
 
_ACEOF
2865
 
cat confdefs.h >>conftest.$ac_ext
2866
 
cat >>conftest.$ac_ext <<_ACEOF
 
3461
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867
3462
/* end confdefs.h.  */
2868
3463
 
2869
3464
int
2875
3470
}
2876
3471
_ACEOF
2877
3472
ac_clean_files_save=$ac_clean_files
2878
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3473
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2879
3474
# Try to create an executable without -o first, disregard a.out.
2880
3475
# It will help us diagnose broken compilers, and finding out an intuition
2881
3476
# of exeext.
2882
 
{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2883
 
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2884
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2885
 
#
2886
 
# List of possible output files, starting from the most likely.
2887
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2888
 
# only as a last resort.  b.out is created by i960 compilers.
2889
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2890
 
#
2891
 
# The IRIX 6 linker writes into existing files which may not be
2892
 
# executable, retaining their permissions.  Remove them first so a
2893
 
# subsequent execution test works.
 
3477
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
 
3478
$as_echo_n "checking whether the C++ compiler works... " >&6; }
 
3479
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3480
 
 
3481
# The possible output files:
 
3482
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3483
 
2894
3484
ac_rmfiles=
2895
3485
for ac_file in $ac_files
2896
3486
do
2897
3487
  case $ac_file in
2898
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3488
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2899
3489
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2900
3490
  esac
2901
3491
done
2902
3492
rm -f $ac_rmfiles
2903
3493
 
2904
 
if { (ac_try="$ac_link_default"
 
3494
if { { ac_try="$ac_link_default"
2905
3495
case "(($ac_try" in
2906
3496
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907
3497
  *) ac_try_echo=$ac_try;;
2908
3498
esac
2909
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3499
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3500
$as_echo "$ac_try_echo"; } >&5
2910
3501
  (eval "$ac_link_default") 2>&5
2911
3502
  ac_status=$?
2912
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913
 
  (exit $ac_status); }; then
 
3503
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3504
  test $ac_status = 0; }; then :
2914
3505
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2915
3506
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2916
3507
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2920
3511
do
2921
3512
  test -f "$ac_file" || continue
2922
3513
  case $ac_file in
2923
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3514
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2924
3515
        ;;
2925
3516
    [ab].out )
2926
3517
        # We found the default executable, but exeext='' is most
2927
3518
        # certainly right.
2928
3519
        break;;
2929
3520
    *.* )
2930
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3521
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2931
3522
        then :; else
2932
3523
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2933
3524
        fi
2946
3537
else
2947
3538
  ac_file=''
2948
3539
fi
2949
 
 
2950
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2951
 
echo "${ECHO_T}$ac_file" >&6; }
2952
 
if test -z "$ac_file"; then
2953
 
  echo "$as_me: failed program was:" >&5
 
3540
if test -z "$ac_file"; then :
 
3541
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3542
$as_echo "no" >&6; }
 
3543
$as_echo "$as_me: failed program was:" >&5
2954
3544
sed 's/^/| /' conftest.$ac_ext >&5
2955
3545
 
2956
 
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2957
 
See \`config.log' for more details." >&5
2958
 
echo "$as_me: error: C++ compiler cannot create executables
2959
 
See \`config.log' for more details." >&2;}
2960
 
   { (exit 77); exit 77; }; }
 
3546
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3547
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3548
{ as_fn_set_status 77
 
3549
as_fn_error "C++ compiler cannot create executables
 
3550
See \`config.log' for more details." "$LINENO" 5; }; }
 
3551
else
 
3552
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3553
$as_echo "yes" >&6; }
2961
3554
fi
2962
 
 
 
3555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
 
3556
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
 
3557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3558
$as_echo "$ac_file" >&6; }
2963
3559
ac_exeext=$ac_cv_exeext
2964
3560
 
2965
 
# Check that the compiler produces executables we can run.  If not, either
2966
 
# the compiler is broken, or we cross compile.
2967
 
{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2968
 
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2969
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2970
 
# If not cross compiling, check that we can run a simple program.
2971
 
if test "$cross_compiling" != yes; then
2972
 
  if { ac_try='./$ac_file'
2973
 
  { (case "(($ac_try" in
2974
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975
 
  *) ac_try_echo=$ac_try;;
2976
 
esac
2977
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2978
 
  (eval "$ac_try") 2>&5
2979
 
  ac_status=$?
2980
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981
 
  (exit $ac_status); }; }; then
2982
 
    cross_compiling=no
2983
 
  else
2984
 
    if test "$cross_compiling" = maybe; then
2985
 
        cross_compiling=yes
2986
 
    else
2987
 
        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2988
 
If you meant to cross compile, use \`--host'.
2989
 
See \`config.log' for more details." >&5
2990
 
echo "$as_me: error: cannot run C++ compiled programs.
2991
 
If you meant to cross compile, use \`--host'.
2992
 
See \`config.log' for more details." >&2;}
2993
 
   { (exit 1); exit 1; }; }
2994
 
    fi
2995
 
  fi
2996
 
fi
2997
 
{ echo "$as_me:$LINENO: result: yes" >&5
2998
 
echo "${ECHO_T}yes" >&6; }
2999
 
 
3000
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3561
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3001
3562
ac_clean_files=$ac_clean_files_save
3002
 
# Check that the compiler produces executables we can run.  If not, either
3003
 
# the compiler is broken, or we cross compile.
3004
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3005
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3006
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3007
 
echo "${ECHO_T}$cross_compiling" >&6; }
3008
 
 
3009
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3010
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3011
 
if { (ac_try="$ac_link"
 
3563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3564
$as_echo_n "checking for suffix of executables... " >&6; }
 
3565
if { { ac_try="$ac_link"
3012
3566
case "(($ac_try" in
3013
3567
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014
3568
  *) ac_try_echo=$ac_try;;
3015
3569
esac
3016
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3570
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3571
$as_echo "$ac_try_echo"; } >&5
3017
3572
  (eval "$ac_link") 2>&5
3018
3573
  ac_status=$?
3019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020
 
  (exit $ac_status); }; then
 
3574
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3575
  test $ac_status = 0; }; then :
3021
3576
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3022
3577
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3023
3578
# work properly (i.e., refer to `conftest.exe'), while it won't with
3025
3580
for ac_file in conftest.exe conftest conftest.*; do
3026
3581
  test -f "$ac_file" || continue
3027
3582
  case $ac_file in
3028
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3583
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3029
3584
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3030
3585
          break;;
3031
3586
    * ) break;;
3032
3587
  esac
3033
3588
done
3034
3589
else
3035
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3036
 
See \`config.log' for more details." >&5
3037
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3038
 
See \`config.log' for more details." >&2;}
3039
 
   { (exit 1); exit 1; }; }
 
3590
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3591
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3592
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3593
See \`config.log' for more details." "$LINENO" 5; }
3040
3594
fi
3041
 
 
3042
 
rm -f conftest$ac_cv_exeext
3043
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3044
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3595
rm -f conftest conftest$ac_cv_exeext
 
3596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3597
$as_echo "$ac_cv_exeext" >&6; }
3045
3598
 
3046
3599
rm -f conftest.$ac_ext
3047
3600
EXEEXT=$ac_cv_exeext
3048
3601
ac_exeext=$EXEEXT
3049
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3050
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3051
 
if test "${ac_cv_objext+set}" = set; then
3052
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3602
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3603
/* end confdefs.h.  */
 
3604
#include <stdio.h>
 
3605
int
 
3606
main ()
 
3607
{
 
3608
FILE *f = fopen ("conftest.out", "w");
 
3609
 return ferror (f) || fclose (f) != 0;
 
3610
 
 
3611
  ;
 
3612
  return 0;
 
3613
}
 
3614
_ACEOF
 
3615
ac_clean_files="$ac_clean_files conftest.out"
 
3616
# Check that the compiler produces executables we can run.  If not, either
 
3617
# the compiler is broken, or we cross compile.
 
3618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3619
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3620
if test "$cross_compiling" != yes; then
 
3621
  { { ac_try="$ac_link"
 
3622
case "(($ac_try" in
 
3623
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3624
  *) ac_try_echo=$ac_try;;
 
3625
esac
 
3626
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3627
$as_echo "$ac_try_echo"; } >&5
 
3628
  (eval "$ac_link") 2>&5
 
3629
  ac_status=$?
 
3630
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3631
  test $ac_status = 0; }
 
3632
  if { ac_try='./conftest$ac_cv_exeext'
 
3633
  { { case "(($ac_try" in
 
3634
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3635
  *) ac_try_echo=$ac_try;;
 
3636
esac
 
3637
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3638
$as_echo "$ac_try_echo"; } >&5
 
3639
  (eval "$ac_try") 2>&5
 
3640
  ac_status=$?
 
3641
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3642
  test $ac_status = 0; }; }; then
 
3643
    cross_compiling=no
 
3644
  else
 
3645
    if test "$cross_compiling" = maybe; then
 
3646
        cross_compiling=yes
 
3647
    else
 
3648
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3649
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3650
as_fn_error "cannot run C++ compiled programs.
 
3651
If you meant to cross compile, use \`--host'.
 
3652
See \`config.log' for more details." "$LINENO" 5; }
 
3653
    fi
 
3654
  fi
 
3655
fi
 
3656
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3657
$as_echo "$cross_compiling" >&6; }
 
3658
 
 
3659
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3660
ac_clean_files=$ac_clean_files_save
 
3661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3662
$as_echo_n "checking for suffix of object files... " >&6; }
 
3663
if test "${ac_cv_objext+set}" = set; then :
 
3664
  $as_echo_n "(cached) " >&6
3053
3665
else
3054
 
  cat >conftest.$ac_ext <<_ACEOF
3055
 
/* confdefs.h.  */
3056
 
_ACEOF
3057
 
cat confdefs.h >>conftest.$ac_ext
3058
 
cat >>conftest.$ac_ext <<_ACEOF
 
3666
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059
3667
/* end confdefs.h.  */
3060
3668
 
3061
3669
int
3067
3675
}
3068
3676
_ACEOF
3069
3677
rm -f conftest.o conftest.obj
3070
 
if { (ac_try="$ac_compile"
 
3678
if { { ac_try="$ac_compile"
3071
3679
case "(($ac_try" in
3072
3680
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073
3681
  *) ac_try_echo=$ac_try;;
3074
3682
esac
3075
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3683
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3684
$as_echo "$ac_try_echo"; } >&5
3076
3685
  (eval "$ac_compile") 2>&5
3077
3686
  ac_status=$?
3078
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079
 
  (exit $ac_status); }; then
 
3687
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3688
  test $ac_status = 0; }; then :
3080
3689
  for ac_file in conftest.o conftest.obj conftest.*; do
3081
3690
  test -f "$ac_file" || continue;
3082
3691
  case $ac_file in
3083
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3692
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3084
3693
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3085
3694
       break;;
3086
3695
  esac
3087
3696
done
3088
3697
else
3089
 
  echo "$as_me: failed program was:" >&5
 
3698
  $as_echo "$as_me: failed program was:" >&5
3090
3699
sed 's/^/| /' conftest.$ac_ext >&5
3091
3700
 
3092
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3093
 
See \`config.log' for more details." >&5
3094
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3095
 
See \`config.log' for more details." >&2;}
3096
 
   { (exit 1); exit 1; }; }
 
3701
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3702
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3703
as_fn_error "cannot compute suffix of object files: cannot compile
 
3704
See \`config.log' for more details." "$LINENO" 5; }
3097
3705
fi
3098
 
 
3099
3706
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3100
3707
fi
3101
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3102
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3709
$as_echo "$ac_cv_objext" >&6; }
3103
3710
OBJEXT=$ac_cv_objext
3104
3711
ac_objext=$OBJEXT
3105
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3106
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3107
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3108
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
3713
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
3714
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
3715
  $as_echo_n "(cached) " >&6
3109
3716
else
3110
 
  cat >conftest.$ac_ext <<_ACEOF
3111
 
/* confdefs.h.  */
3112
 
_ACEOF
3113
 
cat confdefs.h >>conftest.$ac_ext
3114
 
cat >>conftest.$ac_ext <<_ACEOF
 
3717
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3115
3718
/* end confdefs.h.  */
3116
3719
 
3117
3720
int
3125
3728
  return 0;
3126
3729
}
3127
3730
_ACEOF
3128
 
rm -f conftest.$ac_objext
3129
 
if { (ac_try="$ac_compile"
3130
 
case "(($ac_try" in
3131
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3132
 
  *) ac_try_echo=$ac_try;;
3133
 
esac
3134
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3135
 
  (eval "$ac_compile") 2>conftest.er1
3136
 
  ac_status=$?
3137
 
  grep -v '^ *+' conftest.er1 >conftest.err
3138
 
  rm -f conftest.er1
3139
 
  cat conftest.err >&5
3140
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141
 
  (exit $ac_status); } && {
3142
 
         test -z "$ac_cxx_werror_flag" ||
3143
 
         test ! -s conftest.err
3144
 
       } && test -s conftest.$ac_objext; then
 
3731
if ac_fn_cxx_try_compile "$LINENO"; then :
3145
3732
  ac_compiler_gnu=yes
3146
3733
else
3147
 
  echo "$as_me: failed program was:" >&5
3148
 
sed 's/^/| /' conftest.$ac_ext >&5
3149
 
 
3150
 
        ac_compiler_gnu=no
 
3734
  ac_compiler_gnu=no
3151
3735
fi
3152
 
 
3153
3736
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154
3737
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3155
3738
 
3156
3739
fi
3157
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3158
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3159
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
3740
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
3741
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
3742
if test $ac_compiler_gnu = yes; then
 
3743
  GXX=yes
 
3744
else
 
3745
  GXX=
 
3746
fi
3160
3747
ac_test_CXXFLAGS=${CXXFLAGS+set}
3161
3748
ac_save_CXXFLAGS=$CXXFLAGS
3162
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3163
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3164
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
3165
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
3750
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
3751
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
3752
  $as_echo_n "(cached) " >&6
3166
3753
else
3167
3754
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3168
3755
   ac_cxx_werror_flag=yes
3169
3756
   ac_cv_prog_cxx_g=no
3170
3757
   CXXFLAGS="-g"
3171
 
   cat >conftest.$ac_ext <<_ACEOF
3172
 
/* confdefs.h.  */
3173
 
_ACEOF
3174
 
cat confdefs.h >>conftest.$ac_ext
3175
 
cat >>conftest.$ac_ext <<_ACEOF
 
3758
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3176
3759
/* end confdefs.h.  */
3177
3760
 
3178
3761
int
3183
3766
  return 0;
3184
3767
}
3185
3768
_ACEOF
3186
 
rm -f conftest.$ac_objext
3187
 
if { (ac_try="$ac_compile"
3188
 
case "(($ac_try" in
3189
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3190
 
  *) ac_try_echo=$ac_try;;
3191
 
esac
3192
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3193
 
  (eval "$ac_compile") 2>conftest.er1
3194
 
  ac_status=$?
3195
 
  grep -v '^ *+' conftest.er1 >conftest.err
3196
 
  rm -f conftest.er1
3197
 
  cat conftest.err >&5
3198
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199
 
  (exit $ac_status); } && {
3200
 
         test -z "$ac_cxx_werror_flag" ||
3201
 
         test ! -s conftest.err
3202
 
       } && test -s conftest.$ac_objext; then
 
3769
if ac_fn_cxx_try_compile "$LINENO"; then :
3203
3770
  ac_cv_prog_cxx_g=yes
3204
3771
else
3205
 
  echo "$as_me: failed program was:" >&5
3206
 
sed 's/^/| /' conftest.$ac_ext >&5
3207
 
 
3208
 
        CXXFLAGS=""
3209
 
      cat >conftest.$ac_ext <<_ACEOF
3210
 
/* confdefs.h.  */
3211
 
_ACEOF
3212
 
cat confdefs.h >>conftest.$ac_ext
3213
 
cat >>conftest.$ac_ext <<_ACEOF
 
3772
  CXXFLAGS=""
 
3773
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3214
3774
/* end confdefs.h.  */
3215
3775
 
3216
3776
int
3221
3781
  return 0;
3222
3782
}
3223
3783
_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
 
         test -z "$ac_cxx_werror_flag" ||
3239
 
         test ! -s conftest.err
3240
 
       } && test -s conftest.$ac_objext; then
3241
 
  :
 
3784
if ac_fn_cxx_try_compile "$LINENO"; then :
 
3785
 
3242
3786
else
3243
 
  echo "$as_me: failed program was:" >&5
3244
 
sed 's/^/| /' conftest.$ac_ext >&5
3245
 
 
3246
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3787
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3247
3788
         CXXFLAGS="-g"
3248
 
         cat >conftest.$ac_ext <<_ACEOF
3249
 
/* confdefs.h.  */
3250
 
_ACEOF
3251
 
cat confdefs.h >>conftest.$ac_ext
3252
 
cat >>conftest.$ac_ext <<_ACEOF
 
3789
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3253
3790
/* end confdefs.h.  */
3254
3791
 
3255
3792
int
3260
3797
  return 0;
3261
3798
}
3262
3799
_ACEOF
3263
 
rm -f conftest.$ac_objext
3264
 
if { (ac_try="$ac_compile"
3265
 
case "(($ac_try" in
3266
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3267
 
  *) ac_try_echo=$ac_try;;
3268
 
esac
3269
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3270
 
  (eval "$ac_compile") 2>conftest.er1
3271
 
  ac_status=$?
3272
 
  grep -v '^ *+' conftest.er1 >conftest.err
3273
 
  rm -f conftest.er1
3274
 
  cat conftest.err >&5
3275
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276
 
  (exit $ac_status); } && {
3277
 
         test -z "$ac_cxx_werror_flag" ||
3278
 
         test ! -s conftest.err
3279
 
       } && test -s conftest.$ac_objext; then
 
3800
if ac_fn_cxx_try_compile "$LINENO"; then :
3280
3801
  ac_cv_prog_cxx_g=yes
3281
 
else
3282
 
  echo "$as_me: failed program was:" >&5
3283
 
sed 's/^/| /' conftest.$ac_ext >&5
3284
 
 
3285
 
 
3286
 
fi
3287
 
 
3288
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289
 
fi
3290
 
 
3291
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292
 
fi
3293
 
 
 
3802
fi
 
3803
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3804
fi
 
3805
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3806
fi
3294
3807
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295
3808
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3296
3809
fi
3297
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3298
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
3810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
3811
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3299
3812
if test "$ac_test_CXXFLAGS" = set; then
3300
3813
  CXXFLAGS=$ac_save_CXXFLAGS
3301
3814
elif test $ac_cv_prog_cxx_g = yes; then
3324
3837
am_make=${MAKE-make}
3325
3838
cat > confinc << 'END'
3326
3839
am__doit:
3327
 
        @echo done
 
3840
        @echo this is the am__doit target
3328
3841
.PHONY: am__doit
3329
3842
END
3330
3843
# If we don't find an include directive, just comment out the code.
3331
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3332
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3845
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3333
3846
am__include="#"
3334
3847
am__quote=
3335
3848
_am_result=none
3336
3849
# First try GNU make style include.
3337
3850
echo "include confinc" > confmf
3338
 
# We grep out `Entering directory' and `Leaving directory'
3339
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3340
 
# In particular we don't look at `^make:' because GNU make might
3341
 
# be invoked under some other name (usually "gmake"), in which
3342
 
# case it prints its new name instead of `make'.
3343
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3344
 
   am__include=include
3345
 
   am__quote=
3346
 
   _am_result=GNU
3347
 
fi
 
3851
# Ignore all kinds of additional output from `make'.
 
3852
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3853
*the\ am__doit\ target*)
 
3854
  am__include=include
 
3855
  am__quote=
 
3856
  _am_result=GNU
 
3857
  ;;
 
3858
esac
3348
3859
# Now try BSD make style include.
3349
3860
if test "$am__include" = "#"; then
3350
3861
   echo '.include "confinc"' > confmf
3351
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3352
 
      am__include=.include
3353
 
      am__quote="\""
3354
 
      _am_result=BSD
3355
 
   fi
 
3862
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3863
   *the\ am__doit\ target*)
 
3864
     am__include=.include
 
3865
     am__quote="\""
 
3866
     _am_result=BSD
 
3867
     ;;
 
3868
   esac
3356
3869
fi
3357
3870
 
3358
3871
 
3359
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3360
 
echo "${ECHO_T}$_am_result" >&6; }
 
3872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3873
$as_echo "$_am_result" >&6; }
3361
3874
rm -f confinc confmf
3362
3875
 
3363
3876
# Check whether --enable-dependency-tracking was given.
3364
 
if test "${enable_dependency_tracking+set}" = set; then
 
3877
if test "${enable_dependency_tracking+set}" = set; then :
3365
3878
  enableval=$enable_dependency_tracking;
3366
3879
fi
3367
3880
 
3381
3894
 
3382
3895
depcc="$CXX"  am_compiler_list=
3383
3896
 
3384
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3385
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3386
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3387
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3898
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3899
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
3900
  $as_echo_n "(cached) " >&6
3388
3901
else
3389
3902
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3390
3903
  # We make a subdir and do the tests there.  Otherwise we can end up
3409
3922
  if test "$am_compiler_list" = ""; then
3410
3923
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3411
3924
  fi
 
3925
  am__universal=false
 
3926
  case " $depcc " in #(
 
3927
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3928
     esac
 
3929
 
3412
3930
  for depmode in $am_compiler_list; do
3413
3931
    # Setup a source with many dependencies, because some compilers
3414
3932
    # like to wrap large dependency lists on column 80 (with \), and
3426
3944
    done
3427
3945
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3428
3946
 
 
3947
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3948
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3949
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3950
    # versions had trouble with output in subdirs
 
3951
    am__obj=sub/conftest.${OBJEXT-o}
 
3952
    am__minus_obj="-o $am__obj"
3429
3953
    case $depmode in
 
3954
    gcc)
 
3955
      # This depmode causes a compiler race in universal mode.
 
3956
      test "$am__universal" = false || continue
 
3957
      ;;
3430
3958
    nosideeffect)
3431
3959
      # after this tag, mechanisms are not by side-effect, so they'll
3432
3960
      # only be used when explicitly requested
3436
3964
        break
3437
3965
      fi
3438
3966
      ;;
 
3967
    msvisualcpp | msvcmsys)
 
3968
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3969
      # not run yet.  These depmodes are late enough in the game, and
 
3970
      # so weak that their functioning should not be impacted.
 
3971
      am__obj=conftest.${OBJEXT-o}
 
3972
      am__minus_obj=
 
3973
      ;;
3439
3974
    none) break ;;
3440
3975
    esac
3441
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3442
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3443
 
    # handle `-M -o', and we need to detect this.
3444
3976
    if depmode=$depmode \
3445
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3977
       source=sub/conftest.c object=$am__obj \
3446
3978
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3447
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3979
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3448
3980
         >/dev/null 2>conftest.err &&
3449
3981
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3450
3982
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3451
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3983
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3452
3984
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3453
3985
      # icc doesn't choke on unknown options, it will just issue warnings
3454
3986
      # or remarks (even with -Werror).  So we grep stderr for any message
3472
4004
fi
3473
4005
 
3474
4006
fi
3475
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3476
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
4007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
4008
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3477
4009
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3478
4010
 
3479
4011
 if
3495
4027
if test -n "$ac_tool_prefix"; then
3496
4028
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3497
4029
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3498
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3499
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3500
 
if test "${ac_cv_prog_CC+set}" = set; then
3501
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4031
$as_echo_n "checking for $ac_word... " >&6; }
 
4032
if test "${ac_cv_prog_CC+set}" = set; then :
 
4033
  $as_echo_n "(cached) " >&6
3502
4034
else
3503
4035
  if test -n "$CC"; then
3504
4036
  ac_cv_prog_CC="$CC" # Let the user override the test.
3508
4040
do
3509
4041
  IFS=$as_save_IFS
3510
4042
  test -z "$as_dir" && as_dir=.
3511
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4043
    for ac_exec_ext in '' $ac_executable_extensions; do
3512
4044
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3513
4045
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3514
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4046
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3515
4047
    break 2
3516
4048
  fi
3517
4049
done
3518
 
done
 
4050
  done
3519
4051
IFS=$as_save_IFS
3520
4052
 
3521
4053
fi
3522
4054
fi
3523
4055
CC=$ac_cv_prog_CC
3524
4056
if test -n "$CC"; then
3525
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3526
 
echo "${ECHO_T}$CC" >&6; }
 
4057
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4058
$as_echo "$CC" >&6; }
3527
4059
else
3528
 
  { echo "$as_me:$LINENO: result: no" >&5
3529
 
echo "${ECHO_T}no" >&6; }
 
4060
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4061
$as_echo "no" >&6; }
3530
4062
fi
3531
4063
 
3532
4064
 
3535
4067
  ac_ct_CC=$CC
3536
4068
  # Extract the first word of "gcc", so it can be a program name with args.
3537
4069
set dummy gcc; ac_word=$2
3538
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3539
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3540
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3541
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4071
$as_echo_n "checking for $ac_word... " >&6; }
 
4072
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4073
  $as_echo_n "(cached) " >&6
3542
4074
else
3543
4075
  if test -n "$ac_ct_CC"; then
3544
4076
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3548
4080
do
3549
4081
  IFS=$as_save_IFS
3550
4082
  test -z "$as_dir" && as_dir=.
3551
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4083
    for ac_exec_ext in '' $ac_executable_extensions; do
3552
4084
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3553
4085
    ac_cv_prog_ac_ct_CC="gcc"
3554
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4086
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3555
4087
    break 2
3556
4088
  fi
3557
4089
done
3558
 
done
 
4090
  done
3559
4091
IFS=$as_save_IFS
3560
4092
 
3561
4093
fi
3562
4094
fi
3563
4095
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3564
4096
if test -n "$ac_ct_CC"; then
3565
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3566
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
4097
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4098
$as_echo "$ac_ct_CC" >&6; }
3567
4099
else
3568
 
  { echo "$as_me:$LINENO: result: no" >&5
3569
 
echo "${ECHO_T}no" >&6; }
 
4100
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4101
$as_echo "no" >&6; }
3570
4102
fi
3571
4103
 
3572
4104
  if test "x$ac_ct_CC" = x; then
3574
4106
  else
3575
4107
    case $cross_compiling:$ac_tool_warned in
3576
4108
yes:)
3577
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3578
 
whose name does not start with the host triplet.  If you think this
3579
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3580
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3581
 
whose name does not start with the host triplet.  If you think this
3582
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4109
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4110
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3583
4111
ac_tool_warned=yes ;;
3584
4112
esac
3585
4113
    CC=$ac_ct_CC
3592
4120
          if test -n "$ac_tool_prefix"; then
3593
4121
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3594
4122
set dummy ${ac_tool_prefix}cc; ac_word=$2
3595
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3596
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3597
 
if test "${ac_cv_prog_CC+set}" = set; then
3598
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4124
$as_echo_n "checking for $ac_word... " >&6; }
 
4125
if test "${ac_cv_prog_CC+set}" = set; then :
 
4126
  $as_echo_n "(cached) " >&6
3599
4127
else
3600
4128
  if test -n "$CC"; then
3601
4129
  ac_cv_prog_CC="$CC" # Let the user override the test.
3605
4133
do
3606
4134
  IFS=$as_save_IFS
3607
4135
  test -z "$as_dir" && as_dir=.
3608
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4136
    for ac_exec_ext in '' $ac_executable_extensions; do
3609
4137
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3610
4138
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3611
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4139
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3612
4140
    break 2
3613
4141
  fi
3614
4142
done
3615
 
done
 
4143
  done
3616
4144
IFS=$as_save_IFS
3617
4145
 
3618
4146
fi
3619
4147
fi
3620
4148
CC=$ac_cv_prog_CC
3621
4149
if test -n "$CC"; then
3622
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3623
 
echo "${ECHO_T}$CC" >&6; }
 
4150
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4151
$as_echo "$CC" >&6; }
3624
4152
else
3625
 
  { echo "$as_me:$LINENO: result: no" >&5
3626
 
echo "${ECHO_T}no" >&6; }
 
4153
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4154
$as_echo "no" >&6; }
3627
4155
fi
3628
4156
 
3629
4157
 
3632
4160
if test -z "$CC"; then
3633
4161
  # Extract the first word of "cc", so it can be a program name with args.
3634
4162
set dummy cc; ac_word=$2
3635
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3636
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3637
 
if test "${ac_cv_prog_CC+set}" = set; then
3638
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4164
$as_echo_n "checking for $ac_word... " >&6; }
 
4165
if test "${ac_cv_prog_CC+set}" = set; then :
 
4166
  $as_echo_n "(cached) " >&6
3639
4167
else
3640
4168
  if test -n "$CC"; then
3641
4169
  ac_cv_prog_CC="$CC" # Let the user override the test.
3646
4174
do
3647
4175
  IFS=$as_save_IFS
3648
4176
  test -z "$as_dir" && as_dir=.
3649
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4177
    for ac_exec_ext in '' $ac_executable_extensions; do
3650
4178
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651
4179
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3652
4180
       ac_prog_rejected=yes
3653
4181
       continue
3654
4182
     fi
3655
4183
    ac_cv_prog_CC="cc"
3656
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4184
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3657
4185
    break 2
3658
4186
  fi
3659
4187
done
3660
 
done
 
4188
  done
3661
4189
IFS=$as_save_IFS
3662
4190
 
3663
4191
if test $ac_prog_rejected = yes; then
3676
4204
fi
3677
4205
CC=$ac_cv_prog_CC
3678
4206
if test -n "$CC"; then
3679
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3680
 
echo "${ECHO_T}$CC" >&6; }
 
4207
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4208
$as_echo "$CC" >&6; }
3681
4209
else
3682
 
  { echo "$as_me:$LINENO: result: no" >&5
3683
 
echo "${ECHO_T}no" >&6; }
 
4210
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4211
$as_echo "no" >&6; }
3684
4212
fi
3685
4213
 
3686
4214
 
3691
4219
  do
3692
4220
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3693
4221
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3694
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3695
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3696
 
if test "${ac_cv_prog_CC+set}" = set; then
3697
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4222
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4223
$as_echo_n "checking for $ac_word... " >&6; }
 
4224
if test "${ac_cv_prog_CC+set}" = set; then :
 
4225
  $as_echo_n "(cached) " >&6
3698
4226
else
3699
4227
  if test -n "$CC"; then
3700
4228
  ac_cv_prog_CC="$CC" # Let the user override the test.
3704
4232
do
3705
4233
  IFS=$as_save_IFS
3706
4234
  test -z "$as_dir" && as_dir=.
3707
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4235
    for ac_exec_ext in '' $ac_executable_extensions; do
3708
4236
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3709
4237
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3710
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4238
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3711
4239
    break 2
3712
4240
  fi
3713
4241
done
3714
 
done
 
4242
  done
3715
4243
IFS=$as_save_IFS
3716
4244
 
3717
4245
fi
3718
4246
fi
3719
4247
CC=$ac_cv_prog_CC
3720
4248
if test -n "$CC"; then
3721
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3722
 
echo "${ECHO_T}$CC" >&6; }
 
4249
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4250
$as_echo "$CC" >&6; }
3723
4251
else
3724
 
  { echo "$as_me:$LINENO: result: no" >&5
3725
 
echo "${ECHO_T}no" >&6; }
 
4252
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4253
$as_echo "no" >&6; }
3726
4254
fi
3727
4255
 
3728
4256
 
3735
4263
do
3736
4264
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3737
4265
set dummy $ac_prog; ac_word=$2
3738
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3739
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3740
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3741
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4266
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4267
$as_echo_n "checking for $ac_word... " >&6; }
 
4268
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4269
  $as_echo_n "(cached) " >&6
3742
4270
else
3743
4271
  if test -n "$ac_ct_CC"; then
3744
4272
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3748
4276
do
3749
4277
  IFS=$as_save_IFS
3750
4278
  test -z "$as_dir" && as_dir=.
3751
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4279
    for ac_exec_ext in '' $ac_executable_extensions; do
3752
4280
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753
4281
    ac_cv_prog_ac_ct_CC="$ac_prog"
3754
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4282
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3755
4283
    break 2
3756
4284
  fi
3757
4285
done
3758
 
done
 
4286
  done
3759
4287
IFS=$as_save_IFS
3760
4288
 
3761
4289
fi
3762
4290
fi
3763
4291
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3764
4292
if test -n "$ac_ct_CC"; then
3765
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3766
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
4293
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4294
$as_echo "$ac_ct_CC" >&6; }
3767
4295
else
3768
 
  { echo "$as_me:$LINENO: result: no" >&5
3769
 
echo "${ECHO_T}no" >&6; }
 
4296
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4297
$as_echo "no" >&6; }
3770
4298
fi
3771
4299
 
3772
4300
 
3778
4306
  else
3779
4307
    case $cross_compiling:$ac_tool_warned in
3780
4308
yes:)
3781
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3782
 
whose name does not start with the host triplet.  If you think this
3783
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3784
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3785
 
whose name does not start with the host triplet.  If you think this
3786
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4309
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4310
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3787
4311
ac_tool_warned=yes ;;
3788
4312
esac
3789
4313
    CC=$ac_ct_CC
3793
4317
fi
3794
4318
 
3795
4319
 
3796
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3797
 
See \`config.log' for more details." >&5
3798
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
3799
 
See \`config.log' for more details." >&2;}
3800
 
   { (exit 1); exit 1; }; }
 
4320
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4321
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4322
as_fn_error "no acceptable C compiler found in \$PATH
 
4323
See \`config.log' for more details." "$LINENO" 5; }
3801
4324
 
3802
4325
# Provide some information about the compiler.
3803
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
3804
 
ac_compiler=`set X $ac_compile; echo $2`
3805
 
{ (ac_try="$ac_compiler --version >&5"
3806
 
case "(($ac_try" in
3807
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3808
 
  *) ac_try_echo=$ac_try;;
3809
 
esac
3810
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3811
 
  (eval "$ac_compiler --version >&5") 2>&5
3812
 
  ac_status=$?
3813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814
 
  (exit $ac_status); }
3815
 
{ (ac_try="$ac_compiler -v >&5"
3816
 
case "(($ac_try" in
3817
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3818
 
  *) ac_try_echo=$ac_try;;
3819
 
esac
3820
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3821
 
  (eval "$ac_compiler -v >&5") 2>&5
3822
 
  ac_status=$?
3823
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824
 
  (exit $ac_status); }
3825
 
{ (ac_try="$ac_compiler -V >&5"
3826
 
case "(($ac_try" in
3827
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3828
 
  *) ac_try_echo=$ac_try;;
3829
 
esac
3830
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3831
 
  (eval "$ac_compiler -V >&5") 2>&5
3832
 
  ac_status=$?
3833
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834
 
  (exit $ac_status); }
 
4326
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
4327
set X $ac_compile
 
4328
ac_compiler=$2
 
4329
for ac_option in --version -v -V -qversion; do
 
4330
  { { ac_try="$ac_compiler $ac_option >&5"
 
4331
case "(($ac_try" in
 
4332
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4333
  *) ac_try_echo=$ac_try;;
 
4334
esac
 
4335
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4336
$as_echo "$ac_try_echo"; } >&5
 
4337
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4338
  ac_status=$?
 
4339
  if test -s conftest.err; then
 
4340
    sed '10a\
 
4341
... rest of stderr output deleted ...
 
4342
         10q' conftest.err >conftest.er1
 
4343
    cat conftest.er1 >&5
 
4344
  fi
 
4345
  rm -f conftest.er1 conftest.err
 
4346
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4347
  test $ac_status = 0; }
 
4348
done
3835
4349
 
3836
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3837
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3838
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3839
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4350
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4351
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4352
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4353
  $as_echo_n "(cached) " >&6
3840
4354
else
3841
 
  cat >conftest.$ac_ext <<_ACEOF
3842
 
/* confdefs.h.  */
3843
 
_ACEOF
3844
 
cat confdefs.h >>conftest.$ac_ext
3845
 
cat >>conftest.$ac_ext <<_ACEOF
 
4355
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3846
4356
/* end confdefs.h.  */
3847
4357
 
3848
4358
int
3856
4366
  return 0;
3857
4367
}
3858
4368
_ACEOF
3859
 
rm -f conftest.$ac_objext
3860
 
if { (ac_try="$ac_compile"
3861
 
case "(($ac_try" in
3862
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863
 
  *) ac_try_echo=$ac_try;;
3864
 
esac
3865
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3866
 
  (eval "$ac_compile") 2>conftest.er1
3867
 
  ac_status=$?
3868
 
  grep -v '^ *+' conftest.er1 >conftest.err
3869
 
  rm -f conftest.er1
3870
 
  cat conftest.err >&5
3871
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872
 
  (exit $ac_status); } && {
3873
 
         test -z "$ac_c_werror_flag" ||
3874
 
         test ! -s conftest.err
3875
 
       } && test -s conftest.$ac_objext; then
 
4369
if ac_fn_c_try_compile "$LINENO"; then :
3876
4370
  ac_compiler_gnu=yes
3877
4371
else
3878
 
  echo "$as_me: failed program was:" >&5
3879
 
sed 's/^/| /' conftest.$ac_ext >&5
3880
 
 
3881
 
        ac_compiler_gnu=no
 
4372
  ac_compiler_gnu=no
3882
4373
fi
3883
 
 
3884
4374
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3885
4375
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3886
4376
 
3887
4377
fi
3888
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3889
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3890
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
4378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4379
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4380
if test $ac_compiler_gnu = yes; then
 
4381
  GCC=yes
 
4382
else
 
4383
  GCC=
 
4384
fi
3891
4385
ac_test_CFLAGS=${CFLAGS+set}
3892
4386
ac_save_CFLAGS=$CFLAGS
3893
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3894
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3895
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3896
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4388
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4389
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4390
  $as_echo_n "(cached) " >&6
3897
4391
else
3898
4392
  ac_save_c_werror_flag=$ac_c_werror_flag
3899
4393
   ac_c_werror_flag=yes
3900
4394
   ac_cv_prog_cc_g=no
3901
4395
   CFLAGS="-g"
3902
 
   cat >conftest.$ac_ext <<_ACEOF
3903
 
/* confdefs.h.  */
3904
 
_ACEOF
3905
 
cat confdefs.h >>conftest.$ac_ext
3906
 
cat >>conftest.$ac_ext <<_ACEOF
 
4396
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3907
4397
/* end confdefs.h.  */
3908
4398
 
3909
4399
int
3914
4404
  return 0;
3915
4405
}
3916
4406
_ACEOF
3917
 
rm -f conftest.$ac_objext
3918
 
if { (ac_try="$ac_compile"
3919
 
case "(($ac_try" in
3920
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3921
 
  *) ac_try_echo=$ac_try;;
3922
 
esac
3923
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3924
 
  (eval "$ac_compile") 2>conftest.er1
3925
 
  ac_status=$?
3926
 
  grep -v '^ *+' conftest.er1 >conftest.err
3927
 
  rm -f conftest.er1
3928
 
  cat conftest.err >&5
3929
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930
 
  (exit $ac_status); } && {
3931
 
         test -z "$ac_c_werror_flag" ||
3932
 
         test ! -s conftest.err
3933
 
       } && test -s conftest.$ac_objext; then
 
4407
if ac_fn_c_try_compile "$LINENO"; then :
3934
4408
  ac_cv_prog_cc_g=yes
3935
4409
else
3936
 
  echo "$as_me: failed program was:" >&5
3937
 
sed 's/^/| /' conftest.$ac_ext >&5
3938
 
 
3939
 
        CFLAGS=""
3940
 
      cat >conftest.$ac_ext <<_ACEOF
3941
 
/* confdefs.h.  */
3942
 
_ACEOF
3943
 
cat confdefs.h >>conftest.$ac_ext
3944
 
cat >>conftest.$ac_ext <<_ACEOF
 
4410
  CFLAGS=""
 
4411
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945
4412
/* end confdefs.h.  */
3946
4413
 
3947
4414
int
3952
4419
  return 0;
3953
4420
}
3954
4421
_ACEOF
3955
 
rm -f conftest.$ac_objext
3956
 
if { (ac_try="$ac_compile"
3957
 
case "(($ac_try" in
3958
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959
 
  *) ac_try_echo=$ac_try;;
3960
 
esac
3961
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3962
 
  (eval "$ac_compile") 2>conftest.er1
3963
 
  ac_status=$?
3964
 
  grep -v '^ *+' conftest.er1 >conftest.err
3965
 
  rm -f conftest.er1
3966
 
  cat conftest.err >&5
3967
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968
 
  (exit $ac_status); } && {
3969
 
         test -z "$ac_c_werror_flag" ||
3970
 
         test ! -s conftest.err
3971
 
       } && test -s conftest.$ac_objext; then
3972
 
  :
 
4422
if ac_fn_c_try_compile "$LINENO"; then :
 
4423
 
3973
4424
else
3974
 
  echo "$as_me: failed program was:" >&5
3975
 
sed 's/^/| /' conftest.$ac_ext >&5
3976
 
 
3977
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
4425
  ac_c_werror_flag=$ac_save_c_werror_flag
3978
4426
         CFLAGS="-g"
3979
 
         cat >conftest.$ac_ext <<_ACEOF
3980
 
/* confdefs.h.  */
3981
 
_ACEOF
3982
 
cat confdefs.h >>conftest.$ac_ext
3983
 
cat >>conftest.$ac_ext <<_ACEOF
 
4427
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3984
4428
/* end confdefs.h.  */
3985
4429
 
3986
4430
int
3991
4435
  return 0;
3992
4436
}
3993
4437
_ACEOF
3994
 
rm -f conftest.$ac_objext
3995
 
if { (ac_try="$ac_compile"
3996
 
case "(($ac_try" in
3997
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998
 
  *) ac_try_echo=$ac_try;;
3999
 
esac
4000
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4001
 
  (eval "$ac_compile") 2>conftest.er1
4002
 
  ac_status=$?
4003
 
  grep -v '^ *+' conftest.er1 >conftest.err
4004
 
  rm -f conftest.er1
4005
 
  cat conftest.err >&5
4006
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007
 
  (exit $ac_status); } && {
4008
 
         test -z "$ac_c_werror_flag" ||
4009
 
         test ! -s conftest.err
4010
 
       } && test -s conftest.$ac_objext; then
 
4438
if ac_fn_c_try_compile "$LINENO"; then :
4011
4439
  ac_cv_prog_cc_g=yes
4012
 
else
4013
 
  echo "$as_me: failed program was:" >&5
4014
 
sed 's/^/| /' conftest.$ac_ext >&5
4015
 
 
4016
 
 
4017
 
fi
4018
 
 
4019
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4020
 
fi
4021
 
 
4022
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4023
 
fi
4024
 
 
 
4440
fi
 
4441
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4442
fi
 
4443
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4444
fi
4025
4445
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4026
4446
   ac_c_werror_flag=$ac_save_c_werror_flag
4027
4447
fi
4028
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4029
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
4448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4449
$as_echo "$ac_cv_prog_cc_g" >&6; }
4030
4450
if test "$ac_test_CFLAGS" = set; then
4031
4451
  CFLAGS=$ac_save_CFLAGS
4032
4452
elif test $ac_cv_prog_cc_g = yes; then
4042
4462
    CFLAGS=
4043
4463
  fi
4044
4464
fi
4045
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4046
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4047
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
4048
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4465
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4466
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4467
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4468
  $as_echo_n "(cached) " >&6
4049
4469
else
4050
4470
  ac_cv_prog_cc_c89=no
4051
4471
ac_save_CC=$CC
4052
 
cat >conftest.$ac_ext <<_ACEOF
4053
 
/* confdefs.h.  */
4054
 
_ACEOF
4055
 
cat confdefs.h >>conftest.$ac_ext
4056
 
cat >>conftest.$ac_ext <<_ACEOF
 
4472
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4057
4473
/* end confdefs.h.  */
4058
4474
#include <stdarg.h>
4059
4475
#include <stdio.h>
4110
4526
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4111
4527
do
4112
4528
  CC="$ac_save_CC $ac_arg"
4113
 
  rm -f conftest.$ac_objext
4114
 
if { (ac_try="$ac_compile"
4115
 
case "(($ac_try" in
4116
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4117
 
  *) ac_try_echo=$ac_try;;
4118
 
esac
4119
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4120
 
  (eval "$ac_compile") 2>conftest.er1
4121
 
  ac_status=$?
4122
 
  grep -v '^ *+' conftest.er1 >conftest.err
4123
 
  rm -f conftest.er1
4124
 
  cat conftest.err >&5
4125
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126
 
  (exit $ac_status); } && {
4127
 
         test -z "$ac_c_werror_flag" ||
4128
 
         test ! -s conftest.err
4129
 
       } && test -s conftest.$ac_objext; then
 
4529
  if ac_fn_c_try_compile "$LINENO"; then :
4130
4530
  ac_cv_prog_cc_c89=$ac_arg
4131
 
else
4132
 
  echo "$as_me: failed program was:" >&5
4133
 
sed 's/^/| /' conftest.$ac_ext >&5
4134
 
 
4135
 
 
4136
4531
fi
4137
 
 
4138
4532
rm -f core conftest.err conftest.$ac_objext
4139
4533
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4140
4534
done
4145
4539
# AC_CACHE_VAL
4146
4540
case "x$ac_cv_prog_cc_c89" in
4147
4541
  x)
4148
 
    { echo "$as_me:$LINENO: result: none needed" >&5
4149
 
echo "${ECHO_T}none needed" >&6; } ;;
 
4542
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4543
$as_echo "none needed" >&6; } ;;
4150
4544
  xno)
4151
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
4152
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
4545
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4546
$as_echo "unsupported" >&6; } ;;
4153
4547
  *)
4154
4548
    CC="$CC $ac_cv_prog_cc_c89"
4155
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4156
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
4549
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4550
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4157
4551
esac
 
4552
if test "x$ac_cv_prog_cc_c89" != xno; then :
4158
4553
 
 
4554
fi
4159
4555
 
4160
4556
ac_ext=c
4161
4557
ac_cpp='$CPP $CPPFLAGS'
4165
4561
 
4166
4562
depcc="$CC"   am_compiler_list=
4167
4563
 
4168
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4169
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4170
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4171
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4565
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4566
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4567
  $as_echo_n "(cached) " >&6
4172
4568
else
4173
4569
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4174
4570
  # We make a subdir and do the tests there.  Otherwise we can end up
4193
4589
  if test "$am_compiler_list" = ""; then
4194
4590
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4195
4591
  fi
 
4592
  am__universal=false
 
4593
  case " $depcc " in #(
 
4594
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4595
     esac
 
4596
 
4196
4597
  for depmode in $am_compiler_list; do
4197
4598
    # Setup a source with many dependencies, because some compilers
4198
4599
    # like to wrap large dependency lists on column 80 (with \), and
4210
4611
    done
4211
4612
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4212
4613
 
 
4614
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4615
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4616
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4617
    # versions had trouble with output in subdirs
 
4618
    am__obj=sub/conftest.${OBJEXT-o}
 
4619
    am__minus_obj="-o $am__obj"
4213
4620
    case $depmode in
 
4621
    gcc)
 
4622
      # This depmode causes a compiler race in universal mode.
 
4623
      test "$am__universal" = false || continue
 
4624
      ;;
4214
4625
    nosideeffect)
4215
4626
      # after this tag, mechanisms are not by side-effect, so they'll
4216
4627
      # only be used when explicitly requested
4220
4631
        break
4221
4632
      fi
4222
4633
      ;;
 
4634
    msvisualcpp | msvcmsys)
 
4635
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4636
      # not run yet.  These depmodes are late enough in the game, and
 
4637
      # so weak that their functioning should not be impacted.
 
4638
      am__obj=conftest.${OBJEXT-o}
 
4639
      am__minus_obj=
 
4640
      ;;
4223
4641
    none) break ;;
4224
4642
    esac
4225
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4226
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4227
 
    # handle `-M -o', and we need to detect this.
4228
4643
    if depmode=$depmode \
4229
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4644
       source=sub/conftest.c object=$am__obj \
4230
4645
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4231
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4646
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4232
4647
         >/dev/null 2>conftest.err &&
4233
4648
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4234
4649
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4235
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4650
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4236
4651
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4237
4652
      # icc doesn't choke on unknown options, it will just issue warnings
4238
4653
      # or remarks (even with -Werror).  So we grep stderr for any message
4256
4671
fi
4257
4672
 
4258
4673
fi
4259
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4260
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
4674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4675
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4261
4676
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4262
4677
 
4263
4678
 if
4276
4691
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4277
4692
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4278
4693
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4279
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4280
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
4694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
4695
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4281
4696
# On Suns, sometimes $CPP names a directory.
4282
4697
if test -n "$CPP" && test -d "$CPP"; then
4283
4698
  CPP=
4284
4699
fi
4285
4700
if test -z "$CPP"; then
4286
 
  if test "${ac_cv_prog_CPP+set}" = set; then
4287
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4701
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4702
  $as_echo_n "(cached) " >&6
4288
4703
else
4289
4704
      # Double quotes because CPP needs to be expanded
4290
4705
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4298
4713
  # <limits.h> exists even on freestanding compilers.
4299
4714
  # On the NeXT, cc -E runs the code through the compiler's parser,
4300
4715
  # not just through cpp. "Syntax error" is here to catch this case.
4301
 
  cat >conftest.$ac_ext <<_ACEOF
4302
 
/* confdefs.h.  */
4303
 
_ACEOF
4304
 
cat confdefs.h >>conftest.$ac_ext
4305
 
cat >>conftest.$ac_ext <<_ACEOF
 
4716
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306
4717
/* end confdefs.h.  */
4307
4718
#ifdef __STDC__
4308
4719
# include <limits.h>
4311
4722
#endif
4312
4723
                     Syntax error
4313
4724
_ACEOF
4314
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4315
 
case "(($ac_try" in
4316
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4317
 
  *) ac_try_echo=$ac_try;;
4318
 
esac
4319
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4320
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4321
 
  ac_status=$?
4322
 
  grep -v '^ *+' conftest.er1 >conftest.err
4323
 
  rm -f conftest.er1
4324
 
  cat conftest.err >&5
4325
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326
 
  (exit $ac_status); } >/dev/null && {
4327
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4328
 
         test ! -s conftest.err
4329
 
       }; then
4330
 
  :
 
4725
if ac_fn_c_try_cpp "$LINENO"; then :
 
4726
 
4331
4727
else
4332
 
  echo "$as_me: failed program was:" >&5
4333
 
sed 's/^/| /' conftest.$ac_ext >&5
4334
 
 
4335
4728
  # Broken: fails on valid input.
4336
4729
continue
4337
4730
fi
4338
 
 
4339
4731
rm -f conftest.err conftest.$ac_ext
4340
4732
 
4341
4733
  # OK, works on sane cases.  Now check whether nonexistent headers
4342
4734
  # can be detected and how.
4343
 
  cat >conftest.$ac_ext <<_ACEOF
4344
 
/* confdefs.h.  */
4345
 
_ACEOF
4346
 
cat confdefs.h >>conftest.$ac_ext
4347
 
cat >>conftest.$ac_ext <<_ACEOF
 
4735
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4348
4736
/* end confdefs.h.  */
4349
4737
#include <ac_nonexistent.h>
4350
4738
_ACEOF
4351
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4352
 
case "(($ac_try" in
4353
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354
 
  *) ac_try_echo=$ac_try;;
4355
 
esac
4356
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4357
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4358
 
  ac_status=$?
4359
 
  grep -v '^ *+' conftest.er1 >conftest.err
4360
 
  rm -f conftest.er1
4361
 
  cat conftest.err >&5
4362
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363
 
  (exit $ac_status); } >/dev/null && {
4364
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4365
 
         test ! -s conftest.err
4366
 
       }; then
 
4739
if ac_fn_c_try_cpp "$LINENO"; then :
4367
4740
  # Broken: success on invalid input.
4368
4741
continue
4369
4742
else
4370
 
  echo "$as_me: failed program was:" >&5
4371
 
sed 's/^/| /' conftest.$ac_ext >&5
4372
 
 
4373
4743
  # Passes both tests.
4374
4744
ac_preproc_ok=:
4375
4745
break
4376
4746
fi
4377
 
 
4378
4747
rm -f conftest.err conftest.$ac_ext
4379
4748
 
4380
4749
done
4381
4750
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4382
4751
rm -f conftest.err conftest.$ac_ext
4383
 
if $ac_preproc_ok; then
 
4752
if $ac_preproc_ok; then :
4384
4753
  break
4385
4754
fi
4386
4755
 
4392
4761
else
4393
4762
  ac_cv_prog_CPP=$CPP
4394
4763
fi
4395
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
4396
 
echo "${ECHO_T}$CPP" >&6; }
 
4764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
4765
$as_echo "$CPP" >&6; }
4397
4766
ac_preproc_ok=false
4398
4767
for ac_c_preproc_warn_flag in '' yes
4399
4768
do
4403
4772
  # <limits.h> exists even on freestanding compilers.
4404
4773
  # On the NeXT, cc -E runs the code through the compiler's parser,
4405
4774
  # not just through cpp. "Syntax error" is here to catch this case.
4406
 
  cat >conftest.$ac_ext <<_ACEOF
4407
 
/* confdefs.h.  */
4408
 
_ACEOF
4409
 
cat confdefs.h >>conftest.$ac_ext
4410
 
cat >>conftest.$ac_ext <<_ACEOF
 
4775
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4411
4776
/* end confdefs.h.  */
4412
4777
#ifdef __STDC__
4413
4778
# include <limits.h>
4416
4781
#endif
4417
4782
                     Syntax error
4418
4783
_ACEOF
4419
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4420
 
case "(($ac_try" in
4421
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4422
 
  *) ac_try_echo=$ac_try;;
4423
 
esac
4424
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4425
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4426
 
  ac_status=$?
4427
 
  grep -v '^ *+' conftest.er1 >conftest.err
4428
 
  rm -f conftest.er1
4429
 
  cat conftest.err >&5
4430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431
 
  (exit $ac_status); } >/dev/null && {
4432
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4433
 
         test ! -s conftest.err
4434
 
       }; then
4435
 
  :
 
4784
if ac_fn_c_try_cpp "$LINENO"; then :
 
4785
 
4436
4786
else
4437
 
  echo "$as_me: failed program was:" >&5
4438
 
sed 's/^/| /' conftest.$ac_ext >&5
4439
 
 
4440
4787
  # Broken: fails on valid input.
4441
4788
continue
4442
4789
fi
4443
 
 
4444
4790
rm -f conftest.err conftest.$ac_ext
4445
4791
 
4446
4792
  # OK, works on sane cases.  Now check whether nonexistent headers
4447
4793
  # can be detected and how.
4448
 
  cat >conftest.$ac_ext <<_ACEOF
4449
 
/* confdefs.h.  */
4450
 
_ACEOF
4451
 
cat confdefs.h >>conftest.$ac_ext
4452
 
cat >>conftest.$ac_ext <<_ACEOF
 
4794
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4453
4795
/* end confdefs.h.  */
4454
4796
#include <ac_nonexistent.h>
4455
4797
_ACEOF
4456
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4457
 
case "(($ac_try" in
4458
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459
 
  *) ac_try_echo=$ac_try;;
4460
 
esac
4461
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4462
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4463
 
  ac_status=$?
4464
 
  grep -v '^ *+' conftest.er1 >conftest.err
4465
 
  rm -f conftest.er1
4466
 
  cat conftest.err >&5
4467
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468
 
  (exit $ac_status); } >/dev/null && {
4469
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4470
 
         test ! -s conftest.err
4471
 
       }; then
 
4798
if ac_fn_c_try_cpp "$LINENO"; then :
4472
4799
  # Broken: success on invalid input.
4473
4800
continue
4474
4801
else
4475
 
  echo "$as_me: failed program was:" >&5
4476
 
sed 's/^/| /' conftest.$ac_ext >&5
4477
 
 
4478
4802
  # Passes both tests.
4479
4803
ac_preproc_ok=:
4480
4804
break
4481
4805
fi
4482
 
 
4483
4806
rm -f conftest.err conftest.$ac_ext
4484
4807
 
4485
4808
done
4486
4809
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4487
4810
rm -f conftest.err conftest.$ac_ext
4488
 
if $ac_preproc_ok; then
4489
 
  :
 
4811
if $ac_preproc_ok; then :
 
4812
 
4490
4813
else
4491
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4492
 
See \`config.log' for more details." >&5
4493
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4494
 
See \`config.log' for more details." >&2;}
4495
 
   { (exit 1); exit 1; }; }
 
4814
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4815
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4816
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
4817
See \`config.log' for more details." "$LINENO" 5; }
4496
4818
fi
4497
4819
 
4498
4820
ac_ext=c
4509
4831
if test -n "$ac_tool_prefix"; then
4510
4832
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4511
4833
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4512
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4513
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4514
 
if test "${ac_cv_prog_CC+set}" = set; then
4515
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4835
$as_echo_n "checking for $ac_word... " >&6; }
 
4836
if test "${ac_cv_prog_CC+set}" = set; then :
 
4837
  $as_echo_n "(cached) " >&6
4516
4838
else
4517
4839
  if test -n "$CC"; then
4518
4840
  ac_cv_prog_CC="$CC" # Let the user override the test.
4522
4844
do
4523
4845
  IFS=$as_save_IFS
4524
4846
  test -z "$as_dir" && as_dir=.
4525
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4847
    for ac_exec_ext in '' $ac_executable_extensions; do
4526
4848
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4527
4849
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4528
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4850
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4529
4851
    break 2
4530
4852
  fi
4531
4853
done
4532
 
done
 
4854
  done
4533
4855
IFS=$as_save_IFS
4534
4856
 
4535
4857
fi
4536
4858
fi
4537
4859
CC=$ac_cv_prog_CC
4538
4860
if test -n "$CC"; then
4539
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4540
 
echo "${ECHO_T}$CC" >&6; }
 
4861
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4862
$as_echo "$CC" >&6; }
4541
4863
else
4542
 
  { echo "$as_me:$LINENO: result: no" >&5
4543
 
echo "${ECHO_T}no" >&6; }
 
4864
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4865
$as_echo "no" >&6; }
4544
4866
fi
4545
4867
 
4546
4868
 
4549
4871
  ac_ct_CC=$CC
4550
4872
  # Extract the first word of "gcc", so it can be a program name with args.
4551
4873
set dummy gcc; ac_word=$2
4552
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4553
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4554
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4555
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4875
$as_echo_n "checking for $ac_word... " >&6; }
 
4876
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4877
  $as_echo_n "(cached) " >&6
4556
4878
else
4557
4879
  if test -n "$ac_ct_CC"; then
4558
4880
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4562
4884
do
4563
4885
  IFS=$as_save_IFS
4564
4886
  test -z "$as_dir" && as_dir=.
4565
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4887
    for ac_exec_ext in '' $ac_executable_extensions; do
4566
4888
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4567
4889
    ac_cv_prog_ac_ct_CC="gcc"
4568
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4890
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4569
4891
    break 2
4570
4892
  fi
4571
4893
done
4572
 
done
 
4894
  done
4573
4895
IFS=$as_save_IFS
4574
4896
 
4575
4897
fi
4576
4898
fi
4577
4899
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4578
4900
if test -n "$ac_ct_CC"; then
4579
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4580
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
4901
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4902
$as_echo "$ac_ct_CC" >&6; }
4581
4903
else
4582
 
  { echo "$as_me:$LINENO: result: no" >&5
4583
 
echo "${ECHO_T}no" >&6; }
 
4904
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4905
$as_echo "no" >&6; }
4584
4906
fi
4585
4907
 
4586
4908
  if test "x$ac_ct_CC" = x; then
4588
4910
  else
4589
4911
    case $cross_compiling:$ac_tool_warned in
4590
4912
yes:)
4591
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4592
 
whose name does not start with the host triplet.  If you think this
4593
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4594
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4595
 
whose name does not start with the host triplet.  If you think this
4596
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4913
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4914
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4597
4915
ac_tool_warned=yes ;;
4598
4916
esac
4599
4917
    CC=$ac_ct_CC
4606
4924
          if test -n "$ac_tool_prefix"; then
4607
4925
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4608
4926
set dummy ${ac_tool_prefix}cc; ac_word=$2
4609
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4610
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4611
 
if test "${ac_cv_prog_CC+set}" = set; then
4612
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4928
$as_echo_n "checking for $ac_word... " >&6; }
 
4929
if test "${ac_cv_prog_CC+set}" = set; then :
 
4930
  $as_echo_n "(cached) " >&6
4613
4931
else
4614
4932
  if test -n "$CC"; then
4615
4933
  ac_cv_prog_CC="$CC" # Let the user override the test.
4619
4937
do
4620
4938
  IFS=$as_save_IFS
4621
4939
  test -z "$as_dir" && as_dir=.
4622
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4940
    for ac_exec_ext in '' $ac_executable_extensions; do
4623
4941
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4624
4942
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4625
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4943
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4626
4944
    break 2
4627
4945
  fi
4628
4946
done
4629
 
done
 
4947
  done
4630
4948
IFS=$as_save_IFS
4631
4949
 
4632
4950
fi
4633
4951
fi
4634
4952
CC=$ac_cv_prog_CC
4635
4953
if test -n "$CC"; then
4636
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4637
 
echo "${ECHO_T}$CC" >&6; }
 
4954
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4955
$as_echo "$CC" >&6; }
4638
4956
else
4639
 
  { echo "$as_me:$LINENO: result: no" >&5
4640
 
echo "${ECHO_T}no" >&6; }
 
4957
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4958
$as_echo "no" >&6; }
4641
4959
fi
4642
4960
 
4643
4961
 
4646
4964
if test -z "$CC"; then
4647
4965
  # Extract the first word of "cc", so it can be a program name with args.
4648
4966
set dummy cc; ac_word=$2
4649
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4650
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4651
 
if test "${ac_cv_prog_CC+set}" = set; then
4652
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4968
$as_echo_n "checking for $ac_word... " >&6; }
 
4969
if test "${ac_cv_prog_CC+set}" = set; then :
 
4970
  $as_echo_n "(cached) " >&6
4653
4971
else
4654
4972
  if test -n "$CC"; then
4655
4973
  ac_cv_prog_CC="$CC" # Let the user override the test.
4660
4978
do
4661
4979
  IFS=$as_save_IFS
4662
4980
  test -z "$as_dir" && as_dir=.
4663
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4981
    for ac_exec_ext in '' $ac_executable_extensions; do
4664
4982
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4665
4983
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4666
4984
       ac_prog_rejected=yes
4667
4985
       continue
4668
4986
     fi
4669
4987
    ac_cv_prog_CC="cc"
4670
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4988
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4671
4989
    break 2
4672
4990
  fi
4673
4991
done
4674
 
done
 
4992
  done
4675
4993
IFS=$as_save_IFS
4676
4994
 
4677
4995
if test $ac_prog_rejected = yes; then
4690
5008
fi
4691
5009
CC=$ac_cv_prog_CC
4692
5010
if test -n "$CC"; then
4693
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4694
 
echo "${ECHO_T}$CC" >&6; }
 
5011
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
5012
$as_echo "$CC" >&6; }
4695
5013
else
4696
 
  { echo "$as_me:$LINENO: result: no" >&5
4697
 
echo "${ECHO_T}no" >&6; }
 
5014
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5015
$as_echo "no" >&6; }
4698
5016
fi
4699
5017
 
4700
5018
 
4705
5023
  do
4706
5024
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4707
5025
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4708
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4709
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4710
 
if test "${ac_cv_prog_CC+set}" = set; then
4711
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5026
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5027
$as_echo_n "checking for $ac_word... " >&6; }
 
5028
if test "${ac_cv_prog_CC+set}" = set; then :
 
5029
  $as_echo_n "(cached) " >&6
4712
5030
else
4713
5031
  if test -n "$CC"; then
4714
5032
  ac_cv_prog_CC="$CC" # Let the user override the test.
4718
5036
do
4719
5037
  IFS=$as_save_IFS
4720
5038
  test -z "$as_dir" && as_dir=.
4721
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5039
    for ac_exec_ext in '' $ac_executable_extensions; do
4722
5040
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4723
5041
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4724
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5042
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4725
5043
    break 2
4726
5044
  fi
4727
5045
done
4728
 
done
 
5046
  done
4729
5047
IFS=$as_save_IFS
4730
5048
 
4731
5049
fi
4732
5050
fi
4733
5051
CC=$ac_cv_prog_CC
4734
5052
if test -n "$CC"; then
4735
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4736
 
echo "${ECHO_T}$CC" >&6; }
 
5053
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
5054
$as_echo "$CC" >&6; }
4737
5055
else
4738
 
  { echo "$as_me:$LINENO: result: no" >&5
4739
 
echo "${ECHO_T}no" >&6; }
 
5056
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5057
$as_echo "no" >&6; }
4740
5058
fi
4741
5059
 
4742
5060
 
4749
5067
do
4750
5068
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4751
5069
set dummy $ac_prog; ac_word=$2
4752
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4753
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4754
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4755
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5071
$as_echo_n "checking for $ac_word... " >&6; }
 
5072
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
5073
  $as_echo_n "(cached) " >&6
4756
5074
else
4757
5075
  if test -n "$ac_ct_CC"; then
4758
5076
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4762
5080
do
4763
5081
  IFS=$as_save_IFS
4764
5082
  test -z "$as_dir" && as_dir=.
4765
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5083
    for ac_exec_ext in '' $ac_executable_extensions; do
4766
5084
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4767
5085
    ac_cv_prog_ac_ct_CC="$ac_prog"
4768
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5086
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4769
5087
    break 2
4770
5088
  fi
4771
5089
done
4772
 
done
 
5090
  done
4773
5091
IFS=$as_save_IFS
4774
5092
 
4775
5093
fi
4776
5094
fi
4777
5095
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4778
5096
if test -n "$ac_ct_CC"; then
4779
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4780
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
5097
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
5098
$as_echo "$ac_ct_CC" >&6; }
4781
5099
else
4782
 
  { echo "$as_me:$LINENO: result: no" >&5
4783
 
echo "${ECHO_T}no" >&6; }
 
5100
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5101
$as_echo "no" >&6; }
4784
5102
fi
4785
5103
 
4786
5104
 
4792
5110
  else
4793
5111
    case $cross_compiling:$ac_tool_warned in
4794
5112
yes:)
4795
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4796
 
whose name does not start with the host triplet.  If you think this
4797
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4798
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4799
 
whose name does not start with the host triplet.  If you think this
4800
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5113
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5114
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4801
5115
ac_tool_warned=yes ;;
4802
5116
esac
4803
5117
    CC=$ac_ct_CC
4807
5121
fi
4808
5122
 
4809
5123
 
4810
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4811
 
See \`config.log' for more details." >&5
4812
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
4813
 
See \`config.log' for more details." >&2;}
4814
 
   { (exit 1); exit 1; }; }
 
5124
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
5125
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5126
as_fn_error "no acceptable C compiler found in \$PATH
 
5127
See \`config.log' for more details." "$LINENO" 5; }
4815
5128
 
4816
5129
# Provide some information about the compiler.
4817
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
4818
 
ac_compiler=`set X $ac_compile; echo $2`
4819
 
{ (ac_try="$ac_compiler --version >&5"
4820
 
case "(($ac_try" in
4821
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4822
 
  *) ac_try_echo=$ac_try;;
4823
 
esac
4824
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4825
 
  (eval "$ac_compiler --version >&5") 2>&5
4826
 
  ac_status=$?
4827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828
 
  (exit $ac_status); }
4829
 
{ (ac_try="$ac_compiler -v >&5"
4830
 
case "(($ac_try" in
4831
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4832
 
  *) ac_try_echo=$ac_try;;
4833
 
esac
4834
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4835
 
  (eval "$ac_compiler -v >&5") 2>&5
4836
 
  ac_status=$?
4837
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838
 
  (exit $ac_status); }
4839
 
{ (ac_try="$ac_compiler -V >&5"
4840
 
case "(($ac_try" in
4841
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4842
 
  *) ac_try_echo=$ac_try;;
4843
 
esac
4844
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4845
 
  (eval "$ac_compiler -V >&5") 2>&5
4846
 
  ac_status=$?
4847
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848
 
  (exit $ac_status); }
 
5130
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
5131
set X $ac_compile
 
5132
ac_compiler=$2
 
5133
for ac_option in --version -v -V -qversion; do
 
5134
  { { ac_try="$ac_compiler $ac_option >&5"
 
5135
case "(($ac_try" in
 
5136
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5137
  *) ac_try_echo=$ac_try;;
 
5138
esac
 
5139
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5140
$as_echo "$ac_try_echo"; } >&5
 
5141
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
5142
  ac_status=$?
 
5143
  if test -s conftest.err; then
 
5144
    sed '10a\
 
5145
... rest of stderr output deleted ...
 
5146
         10q' conftest.err >conftest.er1
 
5147
    cat conftest.er1 >&5
 
5148
  fi
 
5149
  rm -f conftest.er1 conftest.err
 
5150
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5151
  test $ac_status = 0; }
 
5152
done
4849
5153
 
4850
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4851
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4852
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4853
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
5155
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
5156
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
5157
  $as_echo_n "(cached) " >&6
4854
5158
else
4855
 
  cat >conftest.$ac_ext <<_ACEOF
4856
 
/* confdefs.h.  */
4857
 
_ACEOF
4858
 
cat confdefs.h >>conftest.$ac_ext
4859
 
cat >>conftest.$ac_ext <<_ACEOF
 
5159
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4860
5160
/* end confdefs.h.  */
4861
5161
 
4862
5162
int
4870
5170
  return 0;
4871
5171
}
4872
5172
_ACEOF
4873
 
rm -f conftest.$ac_objext
4874
 
if { (ac_try="$ac_compile"
4875
 
case "(($ac_try" in
4876
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4877
 
  *) ac_try_echo=$ac_try;;
4878
 
esac
4879
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4880
 
  (eval "$ac_compile") 2>conftest.er1
4881
 
  ac_status=$?
4882
 
  grep -v '^ *+' conftest.er1 >conftest.err
4883
 
  rm -f conftest.er1
4884
 
  cat conftest.err >&5
4885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886
 
  (exit $ac_status); } && {
4887
 
         test -z "$ac_c_werror_flag" ||
4888
 
         test ! -s conftest.err
4889
 
       } && test -s conftest.$ac_objext; then
 
5173
if ac_fn_c_try_compile "$LINENO"; then :
4890
5174
  ac_compiler_gnu=yes
4891
5175
else
4892
 
  echo "$as_me: failed program was:" >&5
4893
 
sed 's/^/| /' conftest.$ac_ext >&5
4894
 
 
4895
 
        ac_compiler_gnu=no
 
5176
  ac_compiler_gnu=no
4896
5177
fi
4897
 
 
4898
5178
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899
5179
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4900
5180
 
4901
5181
fi
4902
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4903
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4904
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
5182
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
5183
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
5184
if test $ac_compiler_gnu = yes; then
 
5185
  GCC=yes
 
5186
else
 
5187
  GCC=
 
5188
fi
4905
5189
ac_test_CFLAGS=${CFLAGS+set}
4906
5190
ac_save_CFLAGS=$CFLAGS
4907
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4908
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4909
 
if test "${ac_cv_prog_cc_g+set}" = set; then
4910
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
5192
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
5193
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
5194
  $as_echo_n "(cached) " >&6
4911
5195
else
4912
5196
  ac_save_c_werror_flag=$ac_c_werror_flag
4913
5197
   ac_c_werror_flag=yes
4914
5198
   ac_cv_prog_cc_g=no
4915
5199
   CFLAGS="-g"
4916
 
   cat >conftest.$ac_ext <<_ACEOF
4917
 
/* confdefs.h.  */
4918
 
_ACEOF
4919
 
cat confdefs.h >>conftest.$ac_ext
4920
 
cat >>conftest.$ac_ext <<_ACEOF
 
5200
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4921
5201
/* end confdefs.h.  */
4922
5202
 
4923
5203
int
4928
5208
  return 0;
4929
5209
}
4930
5210
_ACEOF
4931
 
rm -f conftest.$ac_objext
4932
 
if { (ac_try="$ac_compile"
4933
 
case "(($ac_try" in
4934
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4935
 
  *) ac_try_echo=$ac_try;;
4936
 
esac
4937
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4938
 
  (eval "$ac_compile") 2>conftest.er1
4939
 
  ac_status=$?
4940
 
  grep -v '^ *+' conftest.er1 >conftest.err
4941
 
  rm -f conftest.er1
4942
 
  cat conftest.err >&5
4943
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944
 
  (exit $ac_status); } && {
4945
 
         test -z "$ac_c_werror_flag" ||
4946
 
         test ! -s conftest.err
4947
 
       } && test -s conftest.$ac_objext; then
 
5211
if ac_fn_c_try_compile "$LINENO"; then :
4948
5212
  ac_cv_prog_cc_g=yes
4949
5213
else
4950
 
  echo "$as_me: failed program was:" >&5
4951
 
sed 's/^/| /' conftest.$ac_ext >&5
4952
 
 
4953
 
        CFLAGS=""
4954
 
      cat >conftest.$ac_ext <<_ACEOF
4955
 
/* confdefs.h.  */
4956
 
_ACEOF
4957
 
cat confdefs.h >>conftest.$ac_ext
4958
 
cat >>conftest.$ac_ext <<_ACEOF
 
5214
  CFLAGS=""
 
5215
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4959
5216
/* end confdefs.h.  */
4960
5217
 
4961
5218
int
4966
5223
  return 0;
4967
5224
}
4968
5225
_ACEOF
4969
 
rm -f conftest.$ac_objext
4970
 
if { (ac_try="$ac_compile"
4971
 
case "(($ac_try" in
4972
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4973
 
  *) ac_try_echo=$ac_try;;
4974
 
esac
4975
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4976
 
  (eval "$ac_compile") 2>conftest.er1
4977
 
  ac_status=$?
4978
 
  grep -v '^ *+' conftest.er1 >conftest.err
4979
 
  rm -f conftest.er1
4980
 
  cat conftest.err >&5
4981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4982
 
  (exit $ac_status); } && {
4983
 
         test -z "$ac_c_werror_flag" ||
4984
 
         test ! -s conftest.err
4985
 
       } && test -s conftest.$ac_objext; then
4986
 
  :
 
5226
if ac_fn_c_try_compile "$LINENO"; then :
 
5227
 
4987
5228
else
4988
 
  echo "$as_me: failed program was:" >&5
4989
 
sed 's/^/| /' conftest.$ac_ext >&5
4990
 
 
4991
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
5229
  ac_c_werror_flag=$ac_save_c_werror_flag
4992
5230
         CFLAGS="-g"
4993
 
         cat >conftest.$ac_ext <<_ACEOF
4994
 
/* confdefs.h.  */
4995
 
_ACEOF
4996
 
cat confdefs.h >>conftest.$ac_ext
4997
 
cat >>conftest.$ac_ext <<_ACEOF
 
5231
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998
5232
/* end confdefs.h.  */
4999
5233
 
5000
5234
int
5005
5239
  return 0;
5006
5240
}
5007
5241
_ACEOF
5008
 
rm -f conftest.$ac_objext
5009
 
if { (ac_try="$ac_compile"
5010
 
case "(($ac_try" in
5011
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5012
 
  *) ac_try_echo=$ac_try;;
5013
 
esac
5014
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5015
 
  (eval "$ac_compile") 2>conftest.er1
5016
 
  ac_status=$?
5017
 
  grep -v '^ *+' conftest.er1 >conftest.err
5018
 
  rm -f conftest.er1
5019
 
  cat conftest.err >&5
5020
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021
 
  (exit $ac_status); } && {
5022
 
         test -z "$ac_c_werror_flag" ||
5023
 
         test ! -s conftest.err
5024
 
       } && test -s conftest.$ac_objext; then
 
5242
if ac_fn_c_try_compile "$LINENO"; then :
5025
5243
  ac_cv_prog_cc_g=yes
5026
 
else
5027
 
  echo "$as_me: failed program was:" >&5
5028
 
sed 's/^/| /' conftest.$ac_ext >&5
5029
 
 
5030
 
 
5031
 
fi
5032
 
 
5033
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5034
 
fi
5035
 
 
5036
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037
 
fi
5038
 
 
 
5244
fi
 
5245
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5246
fi
 
5247
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5248
fi
5039
5249
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5040
5250
   ac_c_werror_flag=$ac_save_c_werror_flag
5041
5251
fi
5042
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5043
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
5252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
5253
$as_echo "$ac_cv_prog_cc_g" >&6; }
5044
5254
if test "$ac_test_CFLAGS" = set; then
5045
5255
  CFLAGS=$ac_save_CFLAGS
5046
5256
elif test $ac_cv_prog_cc_g = yes; then
5056
5266
    CFLAGS=
5057
5267
  fi
5058
5268
fi
5059
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5060
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5061
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
5062
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
5270
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
5271
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
5272
  $as_echo_n "(cached) " >&6
5063
5273
else
5064
5274
  ac_cv_prog_cc_c89=no
5065
5275
ac_save_CC=$CC
5066
 
cat >conftest.$ac_ext <<_ACEOF
5067
 
/* confdefs.h.  */
5068
 
_ACEOF
5069
 
cat confdefs.h >>conftest.$ac_ext
5070
 
cat >>conftest.$ac_ext <<_ACEOF
 
5276
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5071
5277
/* end confdefs.h.  */
5072
5278
#include <stdarg.h>
5073
5279
#include <stdio.h>
5124
5330
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5125
5331
do
5126
5332
  CC="$ac_save_CC $ac_arg"
5127
 
  rm -f conftest.$ac_objext
5128
 
if { (ac_try="$ac_compile"
5129
 
case "(($ac_try" in
5130
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5131
 
  *) ac_try_echo=$ac_try;;
5132
 
esac
5133
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5134
 
  (eval "$ac_compile") 2>conftest.er1
5135
 
  ac_status=$?
5136
 
  grep -v '^ *+' conftest.er1 >conftest.err
5137
 
  rm -f conftest.er1
5138
 
  cat conftest.err >&5
5139
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5140
 
  (exit $ac_status); } && {
5141
 
         test -z "$ac_c_werror_flag" ||
5142
 
         test ! -s conftest.err
5143
 
       } && test -s conftest.$ac_objext; then
 
5333
  if ac_fn_c_try_compile "$LINENO"; then :
5144
5334
  ac_cv_prog_cc_c89=$ac_arg
5145
 
else
5146
 
  echo "$as_me: failed program was:" >&5
5147
 
sed 's/^/| /' conftest.$ac_ext >&5
5148
 
 
5149
 
 
5150
5335
fi
5151
 
 
5152
5336
rm -f core conftest.err conftest.$ac_objext
5153
5337
  test "x$ac_cv_prog_cc_c89" != "xno" && break
5154
5338
done
5159
5343
# AC_CACHE_VAL
5160
5344
case "x$ac_cv_prog_cc_c89" in
5161
5345
  x)
5162
 
    { echo "$as_me:$LINENO: result: none needed" >&5
5163
 
echo "${ECHO_T}none needed" >&6; } ;;
 
5346
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
5347
$as_echo "none needed" >&6; } ;;
5164
5348
  xno)
5165
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
5166
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
5349
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
5350
$as_echo "unsupported" >&6; } ;;
5167
5351
  *)
5168
5352
    CC="$CC $ac_cv_prog_cc_c89"
5169
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5170
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
5353
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
5354
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5171
5355
esac
 
5356
if test "x$ac_cv_prog_cc_c89" != xno; then :
5172
5357
 
 
5358
fi
5173
5359
 
5174
5360
ac_ext=c
5175
5361
ac_cpp='$CPP $CPPFLAGS'
5179
5365
 
5180
5366
depcc="$CC"   am_compiler_list=
5181
5367
 
5182
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5183
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5184
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5185
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
5369
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
5370
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
5371
  $as_echo_n "(cached) " >&6
5186
5372
else
5187
5373
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5188
5374
  # We make a subdir and do the tests there.  Otherwise we can end up
5207
5393
  if test "$am_compiler_list" = ""; then
5208
5394
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5209
5395
  fi
 
5396
  am__universal=false
 
5397
  case " $depcc " in #(
 
5398
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
5399
     esac
 
5400
 
5210
5401
  for depmode in $am_compiler_list; do
5211
5402
    # Setup a source with many dependencies, because some compilers
5212
5403
    # like to wrap large dependency lists on column 80 (with \), and
5224
5415
    done
5225
5416
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5226
5417
 
 
5418
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5419
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5420
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
5421
    # versions had trouble with output in subdirs
 
5422
    am__obj=sub/conftest.${OBJEXT-o}
 
5423
    am__minus_obj="-o $am__obj"
5227
5424
    case $depmode in
 
5425
    gcc)
 
5426
      # This depmode causes a compiler race in universal mode.
 
5427
      test "$am__universal" = false || continue
 
5428
      ;;
5228
5429
    nosideeffect)
5229
5430
      # after this tag, mechanisms are not by side-effect, so they'll
5230
5431
      # only be used when explicitly requested
5234
5435
        break
5235
5436
      fi
5236
5437
      ;;
 
5438
    msvisualcpp | msvcmsys)
 
5439
      # This compiler won't grok `-c -o', but also, the minuso test has
 
5440
      # not run yet.  These depmodes are late enough in the game, and
 
5441
      # so weak that their functioning should not be impacted.
 
5442
      am__obj=conftest.${OBJEXT-o}
 
5443
      am__minus_obj=
 
5444
      ;;
5237
5445
    none) break ;;
5238
5446
    esac
5239
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5240
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5241
 
    # handle `-M -o', and we need to detect this.
5242
5447
    if depmode=$depmode \
5243
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
5448
       source=sub/conftest.c object=$am__obj \
5244
5449
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5245
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
5450
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5246
5451
         >/dev/null 2>conftest.err &&
5247
5452
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5248
5453
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5249
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
5454
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5250
5455
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5251
5456
      # icc doesn't choke on unknown options, it will just issue warnings
5252
5457
      # or remarks (even with -Werror).  So we grep stderr for any message
5270
5475
fi
5271
5476
 
5272
5477
fi
5273
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5274
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
5478
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5479
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5275
5480
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5276
5481
 
5277
5482
 if
5286
5491
 
5287
5492
 
5288
5493
if test "x$CC" != xcc; then
5289
 
  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
5290
 
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
 
5494
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 
5495
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5291
5496
else
5292
 
  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
5293
 
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
 
5497
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 
5498
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5294
5499
fi
5295
 
set dummy $CC; ac_cc=`echo $2 |
 
5500
set dummy $CC; ac_cc=`$as_echo "$2" |
5296
5501
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5297
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
5298
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5502
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
 
5503
  $as_echo_n "(cached) " >&6
5299
5504
else
5300
 
  cat >conftest.$ac_ext <<_ACEOF
5301
 
/* confdefs.h.  */
5302
 
_ACEOF
5303
 
cat confdefs.h >>conftest.$ac_ext
5304
 
cat >>conftest.$ac_ext <<_ACEOF
 
5505
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5305
5506
/* end confdefs.h.  */
5306
5507
 
5307
5508
int
5317
5518
# existing .o file with -o, though they will create one.
5318
5519
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5319
5520
rm -f conftest2.*
5320
 
if { (case "(($ac_try" in
5321
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5322
 
  *) ac_try_echo=$ac_try;;
5323
 
esac
5324
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5325
 
  (eval "$ac_try") 2>&5
5326
 
  ac_status=$?
5327
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328
 
  (exit $ac_status); } &&
5329
 
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
5330
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5331
 
  *) ac_try_echo=$ac_try;;
5332
 
esac
5333
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5334
 
  (eval "$ac_try") 2>&5
5335
 
  ac_status=$?
5336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337
 
  (exit $ac_status); };
 
5521
if { { case "(($ac_try" in
 
5522
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5523
  *) ac_try_echo=$ac_try;;
 
5524
esac
 
5525
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5526
$as_echo "$ac_try_echo"; } >&5
 
5527
  (eval "$ac_try") 2>&5
 
5528
  ac_status=$?
 
5529
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5530
  test $ac_status = 0; } &&
 
5531
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
5532
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5533
  *) ac_try_echo=$ac_try;;
 
5534
esac
 
5535
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5536
$as_echo "$ac_try_echo"; } >&5
 
5537
  (eval "$ac_try") 2>&5
 
5538
  ac_status=$?
 
5539
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5540
  test $ac_status = 0; };
5338
5541
then
5339
5542
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5340
5543
  if test "x$CC" != xcc; then
5341
5544
    # Test first that cc exists at all.
5342
5545
    if { ac_try='cc -c conftest.$ac_ext >&5'
5343
 
  { (case "(($ac_try" in
 
5546
  { { case "(($ac_try" in
5344
5547
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5345
5548
  *) ac_try_echo=$ac_try;;
5346
5549
esac
5347
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5550
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5551
$as_echo "$ac_try_echo"; } >&5
5348
5552
  (eval "$ac_try") 2>&5
5349
5553
  ac_status=$?
5350
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351
 
  (exit $ac_status); }; }; then
 
5554
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5555
  test $ac_status = 0; }; }; then
5352
5556
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5353
5557
      rm -f conftest2.*
5354
 
      if { (case "(($ac_try" in
5355
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5356
 
  *) ac_try_echo=$ac_try;;
5357
 
esac
5358
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5359
 
  (eval "$ac_try") 2>&5
5360
 
  ac_status=$?
5361
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362
 
  (exit $ac_status); } &&
5363
 
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
5364
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5365
 
  *) ac_try_echo=$ac_try;;
5366
 
esac
5367
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5368
 
  (eval "$ac_try") 2>&5
5369
 
  ac_status=$?
5370
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371
 
  (exit $ac_status); };
 
5558
      if { { case "(($ac_try" in
 
5559
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5560
  *) ac_try_echo=$ac_try;;
 
5561
esac
 
5562
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5563
$as_echo "$ac_try_echo"; } >&5
 
5564
  (eval "$ac_try") 2>&5
 
5565
  ac_status=$?
 
5566
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5567
  test $ac_status = 0; } &&
 
5568
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
5569
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5570
  *) ac_try_echo=$ac_try;;
 
5571
esac
 
5572
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5573
$as_echo "$ac_try_echo"; } >&5
 
5574
  (eval "$ac_try") 2>&5
 
5575
  ac_status=$?
 
5576
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5577
  test $ac_status = 0; };
5372
5578
      then
5373
5579
        # cc works too.
5374
5580
        :
5385
5591
 
5386
5592
fi
5387
5593
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5388
 
  { echo "$as_me:$LINENO: result: yes" >&5
5389
 
echo "${ECHO_T}yes" >&6; }
5390
 
else
5391
 
  { echo "$as_me:$LINENO: result: no" >&5
5392
 
echo "${ECHO_T}no" >&6; }
5393
 
 
5394
 
cat >>confdefs.h <<\_ACEOF
5395
 
#define NO_MINUS_C_MINUS_O 1
5396
 
_ACEOF
5397
 
 
5398
 
fi
5399
 
 
5400
 
# Find a good install program.  We prefer a C program (faster),
5401
 
# so one script is as good as another.  But avoid the broken or
5402
 
# incompatible versions:
5403
 
# SysV /etc/install, /usr/sbin/install
5404
 
# SunOS /usr/etc/install
5405
 
# IRIX /sbin/install
5406
 
# AIX /bin/install
5407
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
5408
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5409
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5410
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5411
 
# OS/2's system install, which has a completely different semantic
5412
 
# ./install, which can be erroneously created by make from ./install.sh.
5413
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5414
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5415
 
if test -z "$INSTALL"; then
5416
 
if test "${ac_cv_path_install+set}" = set; then
5417
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5418
 
else
5419
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5420
 
for as_dir in $PATH
5421
 
do
5422
 
  IFS=$as_save_IFS
5423
 
  test -z "$as_dir" && as_dir=.
5424
 
  # Account for people who put trailing slashes in PATH elements.
5425
 
case $as_dir/ in
5426
 
  ./ | .// | /cC/* | \
5427
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5428
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5429
 
  /usr/ucb/* ) ;;
5430
 
  *)
5431
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
5432
 
    # Don't use installbsd from OSF since it installs stuff as root
5433
 
    # by default.
5434
 
    for ac_prog in ginstall scoinst install; do
5435
 
      for ac_exec_ext in '' $ac_executable_extensions; do
5436
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5437
 
          if test $ac_prog = install &&
5438
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5439
 
            # AIX install.  It has an incompatible calling convention.
5440
 
            :
5441
 
          elif test $ac_prog = install &&
5442
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5443
 
            # program-specific install script used by HP pwplus--don't use.
5444
 
            :
5445
 
          else
5446
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5447
 
            break 3
5448
 
          fi
5449
 
        fi
5450
 
      done
5451
 
    done
5452
 
    ;;
5453
 
esac
5454
 
done
5455
 
IFS=$as_save_IFS
5456
 
 
5457
 
 
5458
 
fi
5459
 
  if test "${ac_cv_path_install+set}" = set; then
5460
 
    INSTALL=$ac_cv_path_install
5461
 
  else
5462
 
    # As a last resort, use the slow shell script.  Don't cache a
5463
 
    # value for INSTALL within a source directory, because that will
5464
 
    # break other packages using the cache if that directory is
5465
 
    # removed, or if the value is a relative name.
5466
 
    INSTALL=$ac_install_sh
5467
 
  fi
5468
 
fi
5469
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
5470
 
echo "${ECHO_T}$INSTALL" >&6; }
5471
 
 
5472
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5473
 
# It thinks the first close brace ends the variable substitution.
5474
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5475
 
 
5476
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5477
 
 
5478
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5479
 
 
5480
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
5481
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
5594
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5595
$as_echo "yes" >&6; }
 
5596
else
 
5597
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5598
$as_echo "no" >&6; }
 
5599
 
 
5600
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 
5601
 
 
5602
fi
 
5603
 
 
5604
 
 
5605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
5606
$as_echo_n "checking whether ln -s works... " >&6; }
5482
5607
LN_S=$as_ln_s
5483
5608
if test "$LN_S" = "ln -s"; then
5484
 
  { echo "$as_me:$LINENO: result: yes" >&5
5485
 
echo "${ECHO_T}yes" >&6; }
 
5609
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5610
$as_echo "yes" >&6; }
5486
5611
else
5487
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5488
 
echo "${ECHO_T}no, using $LN_S" >&6; }
 
5612
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
5613
$as_echo "no, using $LN_S" >&6; }
5489
5614
fi
5490
5615
 
5491
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5492
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
5493
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5494
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
5495
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
5617
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
5618
set x ${MAKE-make}
 
5619
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
5620
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
5621
  $as_echo_n "(cached) " >&6
5496
5622
else
5497
5623
  cat >conftest.make <<\_ACEOF
5498
5624
SHELL = /bin/sh
5509
5635
rm -f conftest.make
5510
5636
fi
5511
5637
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5512
 
  { echo "$as_me:$LINENO: result: yes" >&5
5513
 
echo "${ECHO_T}yes" >&6; }
 
5638
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5639
$as_echo "yes" >&6; }
5514
5640
  SET_MAKE=
5515
5641
else
5516
 
  { echo "$as_me:$LINENO: result: no" >&5
5517
 
echo "${ECHO_T}no" >&6; }
 
5642
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5643
$as_echo "no" >&6; }
5518
5644
  SET_MAKE="MAKE=${MAKE-make}"
5519
5645
fi
5520
5646
 
5522
5648
do
5523
5649
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5524
5650
set dummy $ac_prog; ac_word=$2
5525
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5526
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5527
 
if test "${ac_cv_prog_AWK+set}" = set; then
5528
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5652
$as_echo_n "checking for $ac_word... " >&6; }
 
5653
if test "${ac_cv_prog_AWK+set}" = set; then :
 
5654
  $as_echo_n "(cached) " >&6
5529
5655
else
5530
5656
  if test -n "$AWK"; then
5531
5657
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
5535
5661
do
5536
5662
  IFS=$as_save_IFS
5537
5663
  test -z "$as_dir" && as_dir=.
5538
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5664
    for ac_exec_ext in '' $ac_executable_extensions; do
5539
5665
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5540
5666
    ac_cv_prog_AWK="$ac_prog"
5541
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5667
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542
5668
    break 2
5543
5669
  fi
5544
5670
done
5545
 
done
 
5671
  done
5546
5672
IFS=$as_save_IFS
5547
5673
 
5548
5674
fi
5549
5675
fi
5550
5676
AWK=$ac_cv_prog_AWK
5551
5677
if test -n "$AWK"; then
5552
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
5553
 
echo "${ECHO_T}$AWK" >&6; }
 
5678
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
5679
$as_echo "$AWK" >&6; }
5554
5680
else
5555
 
  { echo "$as_me:$LINENO: result: no" >&5
5556
 
echo "${ECHO_T}no" >&6; }
 
5681
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5682
$as_echo "no" >&6; }
5557
5683
fi
5558
5684
 
5559
5685
 
5570
5696
        if test -n "$ac_tool_prefix"; then
5571
5697
  # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5572
5698
set dummy ${ac_tool_prefix}windres; ac_word=$2
5573
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5574
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5575
 
if test "${ac_cv_prog_RC+set}" = set; then
5576
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5700
$as_echo_n "checking for $ac_word... " >&6; }
 
5701
if test "${ac_cv_prog_RC+set}" = set; then :
 
5702
  $as_echo_n "(cached) " >&6
5577
5703
else
5578
5704
  if test -n "$RC"; then
5579
5705
  ac_cv_prog_RC="$RC" # Let the user override the test.
5583
5709
do
5584
5710
  IFS=$as_save_IFS
5585
5711
  test -z "$as_dir" && as_dir=.
5586
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5712
    for ac_exec_ext in '' $ac_executable_extensions; do
5587
5713
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5588
5714
    ac_cv_prog_RC="${ac_tool_prefix}windres"
5589
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5715
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590
5716
    break 2
5591
5717
  fi
5592
5718
done
5593
 
done
 
5719
  done
5594
5720
IFS=$as_save_IFS
5595
5721
 
5596
5722
fi
5597
5723
fi
5598
5724
RC=$ac_cv_prog_RC
5599
5725
if test -n "$RC"; then
5600
 
  { echo "$as_me:$LINENO: result: $RC" >&5
5601
 
echo "${ECHO_T}$RC" >&6; }
 
5726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
 
5727
$as_echo "$RC" >&6; }
5602
5728
else
5603
 
  { echo "$as_me:$LINENO: result: no" >&5
5604
 
echo "${ECHO_T}no" >&6; }
 
5729
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5730
$as_echo "no" >&6; }
5605
5731
fi
5606
5732
 
5607
5733
 
5610
5736
  ac_ct_RC=$RC
5611
5737
  # Extract the first word of "windres", so it can be a program name with args.
5612
5738
set dummy windres; ac_word=$2
5613
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5614
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5615
 
if test "${ac_cv_prog_ac_ct_RC+set}" = set; then
5616
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5740
$as_echo_n "checking for $ac_word... " >&6; }
 
5741
if test "${ac_cv_prog_ac_ct_RC+set}" = set; then :
 
5742
  $as_echo_n "(cached) " >&6
5617
5743
else
5618
5744
  if test -n "$ac_ct_RC"; then
5619
5745
  ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
5623
5749
do
5624
5750
  IFS=$as_save_IFS
5625
5751
  test -z "$as_dir" && as_dir=.
5626
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5752
    for ac_exec_ext in '' $ac_executable_extensions; do
5627
5753
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5628
5754
    ac_cv_prog_ac_ct_RC="windres"
5629
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5755
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630
5756
    break 2
5631
5757
  fi
5632
5758
done
5633
 
done
 
5759
  done
5634
5760
IFS=$as_save_IFS
5635
5761
 
5636
5762
fi
5637
5763
fi
5638
5764
ac_ct_RC=$ac_cv_prog_ac_ct_RC
5639
5765
if test -n "$ac_ct_RC"; then
5640
 
  { echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
5641
 
echo "${ECHO_T}$ac_ct_RC" >&6; }
 
5766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
 
5767
$as_echo "$ac_ct_RC" >&6; }
5642
5768
else
5643
 
  { echo "$as_me:$LINENO: result: no" >&5
5644
 
echo "${ECHO_T}no" >&6; }
 
5769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5770
$as_echo "no" >&6; }
5645
5771
fi
5646
5772
 
5647
5773
  if test "x$ac_ct_RC" = x; then
5649
5775
  else
5650
5776
    case $cross_compiling:$ac_tool_warned in
5651
5777
yes:)
5652
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5653
 
whose name does not start with the host triplet.  If you think this
5654
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5655
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5656
 
whose name does not start with the host triplet.  If you think this
5657
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5778
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5779
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5658
5780
ac_tool_warned=yes ;;
5659
5781
esac
5660
5782
    RC=$ac_ct_RC
5705
5827
 
5706
5828
 
5707
5829
# Check whether --enable-static was given.
5708
 
if test "${enable_static+set}" = set; then
 
5830
if test "${enable_static+set}" = set; then :
5709
5831
  enableval=$enable_static; p=${PACKAGE-default}
5710
5832
    case $enableval in
5711
5833
    yes) enable_static=yes ;;
5729
5851
 
5730
5852
 
5731
5853
 
5732
 
# Check whether --enable-shared was given.
5733
 
if test "${enable_shared+set}" = set; then
5734
 
  enableval=$enable_shared; p=${PACKAGE-default}
5735
 
    case $enableval in
5736
 
    yes) enable_shared=yes ;;
5737
 
    no) enable_shared=no ;;
5738
 
    *)
5739
 
      enable_shared=no
5740
 
      # Look at the argument we got.  We use all the common list separators.
5741
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5742
 
      for pkg in $enableval; do
5743
 
        IFS="$lt_save_ifs"
5744
 
        if test "X$pkg" = "X$p"; then
5745
 
          enable_shared=yes
5746
 
        fi
5747
 
      done
5748
 
      IFS="$lt_save_ifs"
5749
 
      ;;
5750
 
    esac
5751
 
else
5752
 
  enable_shared=yes
5753
 
fi
5754
 
 
5755
 
 
5756
 
# Check whether --enable-fast-install was given.
5757
 
if test "${enable_fast_install+set}" = set; then
5758
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
5759
 
    case $enableval in
5760
 
    yes) enable_fast_install=yes ;;
5761
 
    no) enable_fast_install=no ;;
5762
 
    *)
5763
 
      enable_fast_install=no
5764
 
      # Look at the argument we got.  We use all the common list separators.
5765
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5766
 
      for pkg in $enableval; do
5767
 
        IFS="$lt_save_ifs"
5768
 
        if test "X$pkg" = "X$p"; then
5769
 
          enable_fast_install=yes
5770
 
        fi
5771
 
      done
5772
 
      IFS="$lt_save_ifs"
5773
 
      ;;
5774
 
    esac
5775
 
else
5776
 
  enable_fast_install=yes
5777
 
fi
5778
 
 
5779
 
 
5780
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5781
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5782
 
if test "${lt_cv_path_SED+set}" = set; then
5783
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5784
 
else
5785
 
  # Loop through the user's path and test for sed and gsed.
5786
 
# Then use that list of sed's as ones to test for truncation.
5787
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5854
 
 
5855
 
 
5856
 
 
5857
 
 
5858
 
 
5859
 
 
5860
case `pwd` in
 
5861
  *\ * | *\     *)
 
5862
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5863
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
5864
esac
 
5865
 
 
5866
 
 
5867
 
 
5868
macro_version='2.2.6b'
 
5869
macro_revision='1.3017'
 
5870
 
 
5871
 
 
5872
 
 
5873
 
 
5874
 
 
5875
 
 
5876
 
 
5877
 
 
5878
 
 
5879
 
 
5880
 
 
5881
 
 
5882
 
 
5883
ltmain="$ac_aux_dir/ltmain.sh"
 
5884
 
 
5885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
5886
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
5887
if test "${ac_cv_path_SED+set}" = set; then :
 
5888
  $as_echo_n "(cached) " >&6
 
5889
else
 
5890
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
5891
     for ac_i in 1 2 3 4 5 6 7; do
 
5892
       ac_script="$ac_script$as_nl$ac_script"
 
5893
     done
 
5894
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
5895
     { ac_script=; unset ac_script;}
 
5896
     if test -z "$SED"; then
 
5897
  ac_path_SED_found=false
 
5898
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5899
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788
5900
for as_dir in $PATH
5789
5901
do
5790
5902
  IFS=$as_save_IFS
5791
5903
  test -z "$as_dir" && as_dir=.
5792
 
  for lt_ac_prog in sed gsed; do
 
5904
    for ac_prog in sed gsed; do
5793
5905
    for ac_exec_ext in '' $ac_executable_extensions; do
5794
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
5795
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5796
 
      fi
 
5906
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
5907
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5908
# Check for GNU ac_path_SED and select it if it is found.
 
5909
  # Check for GNU $ac_path_SED
 
5910
case `"$ac_path_SED" --version 2>&1` in
 
5911
*GNU*)
 
5912
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
5913
*)
 
5914
  ac_count=0
 
5915
  $as_echo_n 0123456789 >"conftest.in"
 
5916
  while :
 
5917
  do
 
5918
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5919
    mv "conftest.tmp" "conftest.in"
 
5920
    cp "conftest.in" "conftest.nl"
 
5921
    $as_echo '' >> "conftest.nl"
 
5922
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5923
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5924
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5925
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
5926
      # Best one so far, save it but keep looking for a better one
 
5927
      ac_cv_path_SED="$ac_path_SED"
 
5928
      ac_path_SED_max=$ac_count
 
5929
    fi
 
5930
    # 10*(2^10) chars as input seems more than enough
 
5931
    test $ac_count -gt 10 && break
 
5932
  done
 
5933
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5934
esac
 
5935
 
 
5936
      $ac_path_SED_found && break 3
5797
5937
    done
5798
5938
  done
5799
 
done
 
5939
  done
5800
5940
IFS=$as_save_IFS
5801
 
lt_ac_max=0
5802
 
lt_ac_count=0
5803
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
5804
 
# along with /bin/sed that truncates output.
5805
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5806
 
  test ! -f $lt_ac_sed && continue
5807
 
  cat /dev/null > conftest.in
5808
 
  lt_ac_count=0
5809
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5810
 
  # Check for GNU sed and select it if it is found.
5811
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5812
 
    lt_cv_path_SED=$lt_ac_sed
5813
 
    break
 
5941
  if test -z "$ac_cv_path_SED"; then
 
5942
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5814
5943
  fi
5815
 
  while true; do
5816
 
    cat conftest.in conftest.in >conftest.tmp
5817
 
    mv conftest.tmp conftest.in
5818
 
    cp conftest.in conftest.nl
5819
 
    echo >>conftest.nl
5820
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5821
 
    cmp -s conftest.out conftest.nl || break
5822
 
    # 10000 chars as input seems more than enough
5823
 
    test $lt_ac_count -gt 10 && break
5824
 
    lt_ac_count=`expr $lt_ac_count + 1`
5825
 
    if test $lt_ac_count -gt $lt_ac_max; then
5826
 
      lt_ac_max=$lt_ac_count
5827
 
      lt_cv_path_SED=$lt_ac_sed
5828
 
    fi
5829
 
  done
5830
 
done
5831
 
 
5832
 
fi
5833
 
 
5834
 
SED=$lt_cv_path_SED
5835
 
 
5836
 
{ echo "$as_me:$LINENO: result: $SED" >&5
5837
 
echo "${ECHO_T}$SED" >&6; }
5838
 
 
5839
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5840
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5841
 
if test "${ac_cv_path_GREP+set}" = set; then
5842
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5843
 
else
5844
 
  # Extract the first word of "grep ggrep" to use in msg output
5845
 
if test -z "$GREP"; then
5846
 
set dummy grep ggrep; ac_prog_name=$2
5847
 
if test "${ac_cv_path_GREP+set}" = set; then
5848
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5849
 
else
 
5944
else
 
5945
  ac_cv_path_SED=$SED
 
5946
fi
 
5947
 
 
5948
fi
 
5949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
5950
$as_echo "$ac_cv_path_SED" >&6; }
 
5951
 SED="$ac_cv_path_SED"
 
5952
  rm -f conftest.sed
 
5953
 
 
5954
test -z "$SED" && SED=sed
 
5955
Xsed="$SED -e 1s/^X//"
 
5956
 
 
5957
 
 
5958
 
 
5959
 
 
5960
 
 
5961
 
 
5962
 
 
5963
 
 
5964
 
 
5965
 
 
5966
 
 
5967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
5968
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
5969
if test "${ac_cv_path_GREP+set}" = set; then :
 
5970
  $as_echo_n "(cached) " >&6
 
5971
else
 
5972
  if test -z "$GREP"; then
5850
5973
  ac_path_GREP_found=false
5851
 
# Loop through the user's path and test for each of PROGNAME-LIST
5852
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5974
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5975
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853
5976
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5854
5977
do
5855
5978
  IFS=$as_save_IFS
5856
5979
  test -z "$as_dir" && as_dir=.
5857
 
  for ac_prog in grep ggrep; do
5858
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5859
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5860
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5861
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
5980
    for ac_prog in grep ggrep; do
 
5981
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5982
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
5983
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5984
# Check for GNU ac_path_GREP and select it if it is found.
5862
5985
  # Check for GNU $ac_path_GREP
5863
5986
case `"$ac_path_GREP" --version 2>&1` in
5864
5987
*GNU*)
5865
5988
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5866
5989
*)
5867
5990
  ac_count=0
5868
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5991
  $as_echo_n 0123456789 >"conftest.in"
5869
5992
  while :
5870
5993
  do
5871
5994
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5872
5995
    mv "conftest.tmp" "conftest.in"
5873
5996
    cp "conftest.in" "conftest.nl"
5874
 
    echo 'GREP' >> "conftest.nl"
 
5997
    $as_echo 'GREP' >> "conftest.nl"
5875
5998
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5876
5999
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5877
 
    ac_count=`expr $ac_count + 1`
 
6000
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5878
6001
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5879
6002
      # Best one so far, save it but keep looking for a better one
5880
6003
      ac_cv_path_GREP="$ac_path_GREP"
5886
6009
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5887
6010
esac
5888
6011
 
5889
 
 
5890
 
    $ac_path_GREP_found && break 3
5891
 
  done
5892
 
done
5893
 
 
5894
 
done
 
6012
      $ac_path_GREP_found && break 3
 
6013
    done
 
6014
  done
 
6015
  done
5895
6016
IFS=$as_save_IFS
5896
 
 
5897
 
 
5898
 
fi
5899
 
 
5900
 
GREP="$ac_cv_path_GREP"
5901
 
if test -z "$GREP"; then
5902
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5903
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5904
 
   { (exit 1); exit 1; }; }
5905
 
fi
5906
 
 
 
6017
  if test -z "$ac_cv_path_GREP"; then
 
6018
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6019
  fi
5907
6020
else
5908
6021
  ac_cv_path_GREP=$GREP
5909
6022
fi
5910
6023
 
5911
 
 
5912
6024
fi
5913
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5914
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
6025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
6026
$as_echo "$ac_cv_path_GREP" >&6; }
5915
6027
 GREP="$ac_cv_path_GREP"
5916
6028
 
5917
6029
 
5918
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
5919
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5920
 
if test "${ac_cv_path_EGREP+set}" = set; then
5921
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
6031
$as_echo_n "checking for egrep... " >&6; }
 
6032
if test "${ac_cv_path_EGREP+set}" = set; then :
 
6033
  $as_echo_n "(cached) " >&6
5922
6034
else
5923
6035
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5924
6036
   then ac_cv_path_EGREP="$GREP -E"
5925
6037
   else
5926
 
     # Extract the first word of "egrep" to use in msg output
5927
 
if test -z "$EGREP"; then
5928
 
set dummy egrep; ac_prog_name=$2
5929
 
if test "${ac_cv_path_EGREP+set}" = set; then
5930
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5931
 
else
 
6038
     if test -z "$EGREP"; then
5932
6039
  ac_path_EGREP_found=false
5933
 
# Loop through the user's path and test for each of PROGNAME-LIST
5934
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6040
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6041
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935
6042
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5936
6043
do
5937
6044
  IFS=$as_save_IFS
5938
6045
  test -z "$as_dir" && as_dir=.
5939
 
  for ac_prog in egrep; do
5940
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5941
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5942
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5943
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
6046
    for ac_prog in egrep; do
 
6047
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6048
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
6049
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
6050
# Check for GNU ac_path_EGREP and select it if it is found.
5944
6051
  # Check for GNU $ac_path_EGREP
5945
6052
case `"$ac_path_EGREP" --version 2>&1` in
5946
6053
*GNU*)
5947
6054
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5948
6055
*)
5949
6056
  ac_count=0
5950
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
6057
  $as_echo_n 0123456789 >"conftest.in"
5951
6058
  while :
5952
6059
  do
5953
6060
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5954
6061
    mv "conftest.tmp" "conftest.in"
5955
6062
    cp "conftest.in" "conftest.nl"
5956
 
    echo 'EGREP' >> "conftest.nl"
 
6063
    $as_echo 'EGREP' >> "conftest.nl"
5957
6064
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5958
6065
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5959
 
    ac_count=`expr $ac_count + 1`
 
6066
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5960
6067
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5961
6068
      # Best one so far, save it but keep looking for a better one
5962
6069
      ac_cv_path_EGREP="$ac_path_EGREP"
5968
6075
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5969
6076
esac
5970
6077
 
5971
 
 
5972
 
    $ac_path_EGREP_found && break 3
5973
 
  done
5974
 
done
5975
 
 
5976
 
done
 
6078
      $ac_path_EGREP_found && break 3
 
6079
    done
 
6080
  done
 
6081
  done
5977
6082
IFS=$as_save_IFS
5978
 
 
5979
 
 
5980
 
fi
5981
 
 
5982
 
EGREP="$ac_cv_path_EGREP"
5983
 
if test -z "$EGREP"; then
5984
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5985
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5986
 
   { (exit 1); exit 1; }; }
5987
 
fi
5988
 
 
 
6083
  if test -z "$ac_cv_path_EGREP"; then
 
6084
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6085
  fi
5989
6086
else
5990
6087
  ac_cv_path_EGREP=$EGREP
5991
6088
fi
5992
6089
 
5993
 
 
5994
6090
   fi
5995
6091
fi
5996
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5997
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
6092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
6093
$as_echo "$ac_cv_path_EGREP" >&6; }
5998
6094
 EGREP="$ac_cv_path_EGREP"
5999
6095
 
6000
6096
 
 
6097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
6098
$as_echo_n "checking for fgrep... " >&6; }
 
6099
if test "${ac_cv_path_FGREP+set}" = set; then :
 
6100
  $as_echo_n "(cached) " >&6
 
6101
else
 
6102
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
6103
   then ac_cv_path_FGREP="$GREP -F"
 
6104
   else
 
6105
     if test -z "$FGREP"; then
 
6106
  ac_path_FGREP_found=false
 
6107
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6108
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6109
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
6110
do
 
6111
  IFS=$as_save_IFS
 
6112
  test -z "$as_dir" && as_dir=.
 
6113
    for ac_prog in fgrep; do
 
6114
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6115
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
6116
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
6117
# Check for GNU ac_path_FGREP and select it if it is found.
 
6118
  # Check for GNU $ac_path_FGREP
 
6119
case `"$ac_path_FGREP" --version 2>&1` in
 
6120
*GNU*)
 
6121
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
6122
*)
 
6123
  ac_count=0
 
6124
  $as_echo_n 0123456789 >"conftest.in"
 
6125
  while :
 
6126
  do
 
6127
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6128
    mv "conftest.tmp" "conftest.in"
 
6129
    cp "conftest.in" "conftest.nl"
 
6130
    $as_echo 'FGREP' >> "conftest.nl"
 
6131
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6132
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6133
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
6134
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
6135
      # Best one so far, save it but keep looking for a better one
 
6136
      ac_cv_path_FGREP="$ac_path_FGREP"
 
6137
      ac_path_FGREP_max=$ac_count
 
6138
    fi
 
6139
    # 10*(2^10) chars as input seems more than enough
 
6140
    test $ac_count -gt 10 && break
 
6141
  done
 
6142
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6143
esac
 
6144
 
 
6145
      $ac_path_FGREP_found && break 3
 
6146
    done
 
6147
  done
 
6148
  done
 
6149
IFS=$as_save_IFS
 
6150
  if test -z "$ac_cv_path_FGREP"; then
 
6151
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6152
  fi
 
6153
else
 
6154
  ac_cv_path_FGREP=$FGREP
 
6155
fi
 
6156
 
 
6157
   fi
 
6158
fi
 
6159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
6160
$as_echo "$ac_cv_path_FGREP" >&6; }
 
6161
 FGREP="$ac_cv_path_FGREP"
 
6162
 
 
6163
 
 
6164
test -z "$GREP" && GREP=grep
 
6165
 
 
6166
 
 
6167
 
 
6168
 
 
6169
 
 
6170
 
 
6171
 
 
6172
 
 
6173
 
 
6174
 
 
6175
 
 
6176
 
 
6177
 
 
6178
 
 
6179
 
 
6180
 
 
6181
 
 
6182
 
6001
6183
 
6002
6184
# Check whether --with-gnu-ld was given.
6003
 
if test "${with_gnu_ld+set}" = set; then
 
6185
if test "${with_gnu_ld+set}" = set; then :
6004
6186
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6005
6187
else
6006
6188
  with_gnu_ld=no
6009
6191
ac_prog=ld
6010
6192
if test "$GCC" = yes; then
6011
6193
  # Check if gcc -print-prog-name=ld gives a path.
6012
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6013
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
6194
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
6195
$as_echo_n "checking for ld used by $CC... " >&6; }
6014
6196
  case $host in
6015
6197
  *-*-mingw*)
6016
6198
    # gcc leaves a trailing carriage return which upsets mingw
6023
6205
    [\\/]* | ?:[\\/]*)
6024
6206
      re_direlt='/[^/][^/]*/\.\./'
6025
6207
      # Canonicalize the pathname of ld
6026
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
6027
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6028
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
6208
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
6209
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
6210
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6029
6211
      done
6030
6212
      test -z "$LD" && LD="$ac_prog"
6031
6213
      ;;
6039
6221
    ;;
6040
6222
  esac
6041
6223
elif test "$with_gnu_ld" = yes; then
6042
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
6043
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
6224
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
6225
$as_echo_n "checking for GNU ld... " >&6; }
6044
6226
else
6045
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6046
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
6227
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
6228
$as_echo_n "checking for non-GNU ld... " >&6; }
6047
6229
fi
6048
 
if test "${lt_cv_path_LD+set}" = set; then
6049
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6230
if test "${lt_cv_path_LD+set}" = set; then :
 
6231
  $as_echo_n "(cached) " >&6
6050
6232
else
6051
6233
  if test -z "$LD"; then
6052
6234
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6076
6258
 
6077
6259
LD="$lt_cv_path_LD"
6078
6260
if test -n "$LD"; then
6079
 
  { echo "$as_me:$LINENO: result: $LD" >&5
6080
 
echo "${ECHO_T}$LD" >&6; }
 
6261
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
6262
$as_echo "$LD" >&6; }
6081
6263
else
6082
 
  { echo "$as_me:$LINENO: result: no" >&5
6083
 
echo "${ECHO_T}no" >&6; }
 
6264
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6265
$as_echo "no" >&6; }
6084
6266
fi
6085
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6086
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6087
 
   { (exit 1); exit 1; }; }
6088
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6089
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6090
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
6091
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6267
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
6268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
6269
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
6270
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
6271
  $as_echo_n "(cached) " >&6
6092
6272
else
6093
6273
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6094
6274
case `$LD -v 2>&1 </dev/null` in
6100
6280
  ;;
6101
6281
esac
6102
6282
fi
6103
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6104
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
6283
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
6284
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6105
6285
with_gnu_ld=$lt_cv_prog_gnu_ld
6106
6286
 
6107
6287
 
6108
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6109
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6110
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
6111
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6112
 
else
6113
 
  lt_cv_ld_reload_flag='-r'
6114
 
fi
6115
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6116
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6117
 
reload_flag=$lt_cv_ld_reload_flag
6118
 
case $reload_flag in
6119
 
"" | " "*) ;;
6120
 
*) reload_flag=" $reload_flag" ;;
6121
 
esac
6122
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6123
 
case $host_os in
6124
 
  darwin*)
6125
 
    if test "$GCC" = yes; then
6126
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6127
 
    else
6128
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6129
 
    fi
6130
 
    ;;
6131
 
esac
6132
 
 
6133
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6134
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6135
 
if test "${lt_cv_path_NM+set}" = set; then
6136
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6288
 
 
6289
 
 
6290
 
 
6291
 
 
6292
 
 
6293
 
 
6294
 
 
6295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
6296
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
6297
if test "${lt_cv_path_NM+set}" = set; then :
 
6298
  $as_echo_n "(cached) " >&6
6137
6299
else
6138
6300
  if test -n "$NM"; then
6139
6301
  # Let the user override the test.
6176
6338
    done
6177
6339
    IFS="$lt_save_ifs"
6178
6340
  done
6179
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6180
 
fi
6181
 
fi
6182
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6183
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6184
 
NM="$lt_cv_path_NM"
6185
 
 
6186
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6187
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
6188
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
6189
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6341
  : ${lt_cv_path_NM=no}
 
6342
fi
 
6343
fi
 
6344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
6345
$as_echo "$lt_cv_path_NM" >&6; }
 
6346
if test "$lt_cv_path_NM" != "no"; then
 
6347
  NM="$lt_cv_path_NM"
 
6348
else
 
6349
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
6350
  if test -n "$ac_tool_prefix"; then
 
6351
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6352
  do
 
6353
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6354
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6356
$as_echo_n "checking for $ac_word... " >&6; }
 
6357
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
6358
  $as_echo_n "(cached) " >&6
 
6359
else
 
6360
  if test -n "$DUMPBIN"; then
 
6361
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
6362
else
 
6363
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6364
for as_dir in $PATH
 
6365
do
 
6366
  IFS=$as_save_IFS
 
6367
  test -z "$as_dir" && as_dir=.
 
6368
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6369
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6370
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
6371
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6372
    break 2
 
6373
  fi
 
6374
done
 
6375
  done
 
6376
IFS=$as_save_IFS
 
6377
 
 
6378
fi
 
6379
fi
 
6380
DUMPBIN=$ac_cv_prog_DUMPBIN
 
6381
if test -n "$DUMPBIN"; then
 
6382
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
6383
$as_echo "$DUMPBIN" >&6; }
 
6384
else
 
6385
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6386
$as_echo "no" >&6; }
 
6387
fi
 
6388
 
 
6389
 
 
6390
    test -n "$DUMPBIN" && break
 
6391
  done
 
6392
fi
 
6393
if test -z "$DUMPBIN"; then
 
6394
  ac_ct_DUMPBIN=$DUMPBIN
 
6395
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6396
do
 
6397
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6398
set dummy $ac_prog; ac_word=$2
 
6399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6400
$as_echo_n "checking for $ac_word... " >&6; }
 
6401
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
6402
  $as_echo_n "(cached) " >&6
 
6403
else
 
6404
  if test -n "$ac_ct_DUMPBIN"; then
 
6405
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
6406
else
 
6407
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6408
for as_dir in $PATH
 
6409
do
 
6410
  IFS=$as_save_IFS
 
6411
  test -z "$as_dir" && as_dir=.
 
6412
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6413
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6414
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
6415
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6416
    break 2
 
6417
  fi
 
6418
done
 
6419
  done
 
6420
IFS=$as_save_IFS
 
6421
 
 
6422
fi
 
6423
fi
 
6424
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
6425
if test -n "$ac_ct_DUMPBIN"; then
 
6426
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
6427
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
6428
else
 
6429
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6430
$as_echo "no" >&6; }
 
6431
fi
 
6432
 
 
6433
 
 
6434
  test -n "$ac_ct_DUMPBIN" && break
 
6435
done
 
6436
 
 
6437
  if test "x$ac_ct_DUMPBIN" = x; then
 
6438
    DUMPBIN=":"
 
6439
  else
 
6440
    case $cross_compiling:$ac_tool_warned in
 
6441
yes:)
 
6442
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6443
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6444
ac_tool_warned=yes ;;
 
6445
esac
 
6446
    DUMPBIN=$ac_ct_DUMPBIN
 
6447
  fi
 
6448
fi
 
6449
 
 
6450
 
 
6451
  if test "$DUMPBIN" != ":"; then
 
6452
    NM="$DUMPBIN"
 
6453
  fi
 
6454
fi
 
6455
test -z "$NM" && NM=nm
 
6456
 
 
6457
 
 
6458
 
 
6459
 
 
6460
 
 
6461
 
 
6462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
6463
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
6464
if test "${lt_cv_nm_interface+set}" = set; then :
 
6465
  $as_echo_n "(cached) " >&6
 
6466
else
 
6467
  lt_cv_nm_interface="BSD nm"
 
6468
  echo "int some_variable = 0;" > conftest.$ac_ext
 
6469
  (eval echo "\"\$as_me:6469: $ac_compile\"" >&5)
 
6470
  (eval "$ac_compile" 2>conftest.err)
 
6471
  cat conftest.err >&5
 
6472
  (eval echo "\"\$as_me:6472: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6473
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
6474
  cat conftest.err >&5
 
6475
  (eval echo "\"\$as_me:6475: output\"" >&5)
 
6476
  cat conftest.out >&5
 
6477
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
6478
    lt_cv_nm_interface="MS dumpbin"
 
6479
  fi
 
6480
  rm -f conftest*
 
6481
fi
 
6482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
6483
$as_echo "$lt_cv_nm_interface" >&6; }
 
6484
 
 
6485
# find the maximum length of command line arguments
 
6486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
6487
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
6488
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
6489
  $as_echo_n "(cached) " >&6
 
6490
else
 
6491
    i=0
 
6492
  teststring="ABCD"
 
6493
 
 
6494
  case $build_os in
 
6495
  msdosdjgpp*)
 
6496
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
6497
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
6498
    # during glob expansion).  Even if it were fixed, the result of this
 
6499
    # check would be larger than it should be.
 
6500
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
6501
    ;;
 
6502
 
 
6503
  gnu*)
 
6504
    # Under GNU Hurd, this test is not required because there is
 
6505
    # no limit to the length of command line arguments.
 
6506
    # Libtool will interpret -1 as no limit whatsoever
 
6507
    lt_cv_sys_max_cmd_len=-1;
 
6508
    ;;
 
6509
 
 
6510
  cygwin* | mingw* | cegcc*)
 
6511
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
6512
    # about 5 minutes as the teststring grows exponentially.
 
6513
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
6514
    # you end up with a "frozen" computer, even though with patience
 
6515
    # the test eventually succeeds (with a max line length of 256k).
 
6516
    # Instead, let's just punt: use the minimum linelength reported by
 
6517
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
6518
    lt_cv_sys_max_cmd_len=8192;
 
6519
    ;;
 
6520
 
 
6521
  amigaos*)
 
6522
    # On AmigaOS with pdksh, this test takes hours, literally.
 
6523
    # So we just punt and use a minimum line length of 8192.
 
6524
    lt_cv_sys_max_cmd_len=8192;
 
6525
    ;;
 
6526
 
 
6527
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6528
    # This has been around since 386BSD, at least.  Likely further.
 
6529
    if test -x /sbin/sysctl; then
 
6530
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6531
    elif test -x /usr/sbin/sysctl; then
 
6532
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6533
    else
 
6534
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6535
    fi
 
6536
    # And add a safety zone
 
6537
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6538
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6539
    ;;
 
6540
 
 
6541
  interix*)
 
6542
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6543
    lt_cv_sys_max_cmd_len=196608
 
6544
    ;;
 
6545
 
 
6546
  osf*)
 
6547
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6548
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6549
    # nice to cause kernel panics so lets avoid the loop below.
 
6550
    # First set a reasonable default.
 
6551
    lt_cv_sys_max_cmd_len=16384
 
6552
    #
 
6553
    if test -x /sbin/sysconfig; then
 
6554
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6555
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6556
      esac
 
6557
    fi
 
6558
    ;;
 
6559
  sco3.2v5*)
 
6560
    lt_cv_sys_max_cmd_len=102400
 
6561
    ;;
 
6562
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6563
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6564
    if test -n "$kargmax"; then
 
6565
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
6566
    else
 
6567
      lt_cv_sys_max_cmd_len=32768
 
6568
    fi
 
6569
    ;;
 
6570
  *)
 
6571
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6572
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6573
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6574
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6575
    else
 
6576
      # Make teststring a little bigger before we do anything with it.
 
6577
      # a 1K string should be a reasonable start.
 
6578
      for i in 1 2 3 4 5 6 7 8 ; do
 
6579
        teststring=$teststring$teststring
 
6580
      done
 
6581
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6582
      # If test is not a shell built-in, we'll probably end up computing a
 
6583
      # maximum length that is only half of the actual maximum length, but
 
6584
      # we can't tell.
 
6585
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
6586
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
6587
              test $i != 17 # 1/2 MB should be enough
 
6588
      do
 
6589
        i=`expr $i + 1`
 
6590
        teststring=$teststring$teststring
 
6591
      done
 
6592
      # Only check the string length outside the loop.
 
6593
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
6594
      teststring=
 
6595
      # Add a significant safety factor because C++ compilers can tack on
 
6596
      # massive amounts of additional arguments before passing them to the
 
6597
      # linker.  It appears as though 1/2 is a usable value.
 
6598
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6599
    fi
 
6600
    ;;
 
6601
  esac
 
6602
 
 
6603
fi
 
6604
 
 
6605
if test -n $lt_cv_sys_max_cmd_len ; then
 
6606
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
6607
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
6608
else
 
6609
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
6610
$as_echo "none" >&6; }
 
6611
fi
 
6612
max_cmd_len=$lt_cv_sys_max_cmd_len
 
6613
 
 
6614
 
 
6615
 
 
6616
 
 
6617
 
 
6618
 
 
6619
: ${CP="cp -f"}
 
6620
: ${MV="mv -f"}
 
6621
: ${RM="rm -f"}
 
6622
 
 
6623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
6624
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
6625
# Try some XSI features
 
6626
xsi_shell=no
 
6627
( _lt_dummy="a/b/c"
 
6628
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
6629
      = c,a/b,, \
 
6630
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
6631
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
6632
  && xsi_shell=yes
 
6633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
6634
$as_echo "$xsi_shell" >&6; }
 
6635
 
 
6636
 
 
6637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
6638
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
6639
lt_shell_append=no
 
6640
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
6641
    >/dev/null 2>&1 \
 
6642
  && lt_shell_append=yes
 
6643
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
6644
$as_echo "$lt_shell_append" >&6; }
 
6645
 
 
6646
 
 
6647
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
6648
  lt_unset=unset
 
6649
else
 
6650
  lt_unset=false
 
6651
fi
 
6652
 
 
6653
 
 
6654
 
 
6655
 
 
6656
 
 
6657
# test EBCDIC or ASCII
 
6658
case `echo X|tr X '\101'` in
 
6659
 A) # ASCII based system
 
6660
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
6661
  lt_SP2NL='tr \040 \012'
 
6662
  lt_NL2SP='tr \015\012 \040\040'
 
6663
  ;;
 
6664
 *) # EBCDIC based system
 
6665
  lt_SP2NL='tr \100 \n'
 
6666
  lt_NL2SP='tr \r\n \100\100'
 
6667
  ;;
 
6668
esac
 
6669
 
 
6670
 
 
6671
 
 
6672
 
 
6673
 
 
6674
 
 
6675
 
 
6676
 
 
6677
 
 
6678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
6679
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
6680
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
6681
  $as_echo_n "(cached) " >&6
 
6682
else
 
6683
  lt_cv_ld_reload_flag='-r'
 
6684
fi
 
6685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
6686
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
6687
reload_flag=$lt_cv_ld_reload_flag
 
6688
case $reload_flag in
 
6689
"" | " "*) ;;
 
6690
*) reload_flag=" $reload_flag" ;;
 
6691
esac
 
6692
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6693
case $host_os in
 
6694
  darwin*)
 
6695
    if test "$GCC" = yes; then
 
6696
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
6697
    else
 
6698
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6699
    fi
 
6700
    ;;
 
6701
esac
 
6702
 
 
6703
 
 
6704
 
 
6705
 
 
6706
 
 
6707
 
 
6708
 
 
6709
 
 
6710
 
 
6711
if test -n "$ac_tool_prefix"; then
 
6712
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
6713
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
6714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6715
$as_echo_n "checking for $ac_word... " >&6; }
 
6716
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
6717
  $as_echo_n "(cached) " >&6
 
6718
else
 
6719
  if test -n "$OBJDUMP"; then
 
6720
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
6721
else
 
6722
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6723
for as_dir in $PATH
 
6724
do
 
6725
  IFS=$as_save_IFS
 
6726
  test -z "$as_dir" && as_dir=.
 
6727
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6728
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6729
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
6730
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6731
    break 2
 
6732
  fi
 
6733
done
 
6734
  done
 
6735
IFS=$as_save_IFS
 
6736
 
 
6737
fi
 
6738
fi
 
6739
OBJDUMP=$ac_cv_prog_OBJDUMP
 
6740
if test -n "$OBJDUMP"; then
 
6741
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
6742
$as_echo "$OBJDUMP" >&6; }
 
6743
else
 
6744
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6745
$as_echo "no" >&6; }
 
6746
fi
 
6747
 
 
6748
 
 
6749
fi
 
6750
if test -z "$ac_cv_prog_OBJDUMP"; then
 
6751
  ac_ct_OBJDUMP=$OBJDUMP
 
6752
  # Extract the first word of "objdump", so it can be a program name with args.
 
6753
set dummy objdump; ac_word=$2
 
6754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6755
$as_echo_n "checking for $ac_word... " >&6; }
 
6756
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
6757
  $as_echo_n "(cached) " >&6
 
6758
else
 
6759
  if test -n "$ac_ct_OBJDUMP"; then
 
6760
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
6761
else
 
6762
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6763
for as_dir in $PATH
 
6764
do
 
6765
  IFS=$as_save_IFS
 
6766
  test -z "$as_dir" && as_dir=.
 
6767
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6768
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6769
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
6770
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6771
    break 2
 
6772
  fi
 
6773
done
 
6774
  done
 
6775
IFS=$as_save_IFS
 
6776
 
 
6777
fi
 
6778
fi
 
6779
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
6780
if test -n "$ac_ct_OBJDUMP"; then
 
6781
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
6782
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
6783
else
 
6784
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6785
$as_echo "no" >&6; }
 
6786
fi
 
6787
 
 
6788
  if test "x$ac_ct_OBJDUMP" = x; then
 
6789
    OBJDUMP="false"
 
6790
  else
 
6791
    case $cross_compiling:$ac_tool_warned in
 
6792
yes:)
 
6793
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6794
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6795
ac_tool_warned=yes ;;
 
6796
esac
 
6797
    OBJDUMP=$ac_ct_OBJDUMP
 
6798
  fi
 
6799
else
 
6800
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
6801
fi
 
6802
 
 
6803
test -z "$OBJDUMP" && OBJDUMP=objdump
 
6804
 
 
6805
 
 
6806
 
 
6807
 
 
6808
 
 
6809
 
 
6810
 
 
6811
 
 
6812
 
 
6813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
6814
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
6815
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
6816
  $as_echo_n "(cached) " >&6
6190
6817
else
6191
6818
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6192
6819
lt_cv_file_magic_test_file=
6203
6830
# whether `pass_all' will *always* work, you probably want this one.
6204
6831
 
6205
6832
case $host_os in
6206
 
aix4* | aix5*)
 
6833
aix[4-9]*)
6207
6834
  lt_cv_deplibs_check_method=pass_all
6208
6835
  ;;
6209
6836
 
6236
6863
  fi
6237
6864
  ;;
6238
6865
 
 
6866
cegcc)
 
6867
  # use the weaker test based on 'objdump'. See mingw*.
 
6868
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
6869
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6870
  ;;
 
6871
 
6239
6872
darwin* | rhapsody*)
6240
6873
  lt_cv_deplibs_check_method=pass_all
6241
6874
  ;;
6242
6875
 
6243
6876
freebsd* | dragonfly*)
6244
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6877
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6245
6878
    case $host_cpu in
6246
6879
    i*86 )
6247
6880
      # Not sure whether the presence of OpenBSD here was a mistake.
6294
6927
  ;;
6295
6928
 
6296
6929
# This must be Linux ELF.
6297
 
linux* | k*bsd*-gnu)
 
6930
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6298
6931
  lt_cv_deplibs_check_method=pass_all
6299
6932
  ;;
6300
6933
 
6301
6934
netbsd* | netbsdelf*-gnu)
6302
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6935
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6303
6936
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6304
6937
  else
6305
6938
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6312
6945
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6313
6946
  ;;
6314
6947
 
6315
 
nto-qnx*)
6316
 
  lt_cv_deplibs_check_method=unknown
 
6948
*nto* | *qnx*)
 
6949
  lt_cv_deplibs_check_method=pass_all
6317
6950
  ;;
6318
6951
 
6319
6952
openbsd*)
6320
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
6953
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6321
6954
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6322
6955
  else
6323
6956
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6336
6969
  lt_cv_deplibs_check_method=pass_all
6337
6970
  ;;
6338
6971
 
 
6972
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6973
  lt_cv_deplibs_check_method=pass_all
 
6974
  ;;
 
6975
 
6339
6976
sysv4 | sysv4.3*)
6340
6977
  case $host_vendor in
6341
6978
  motorola)
6363
7000
  esac
6364
7001
  ;;
6365
7002
 
6366
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
7003
tpf*)
6367
7004
  lt_cv_deplibs_check_method=pass_all
6368
7005
  ;;
6369
7006
esac
6370
7007
 
6371
7008
fi
6372
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6373
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
7009
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
7010
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6374
7011
file_magic_cmd=$lt_cv_file_magic_cmd
6375
7012
deplibs_check_method=$lt_cv_deplibs_check_method
6376
7013
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6378
7015
 
6379
7016
 
6380
7017
 
 
7018
 
 
7019
 
 
7020
 
 
7021
 
 
7022
 
 
7023
 
 
7024
 
 
7025
 
 
7026
if test -n "$ac_tool_prefix"; then
 
7027
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
7028
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
7029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7030
$as_echo_n "checking for $ac_word... " >&6; }
 
7031
if test "${ac_cv_prog_AR+set}" = set; then :
 
7032
  $as_echo_n "(cached) " >&6
 
7033
else
 
7034
  if test -n "$AR"; then
 
7035
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
7036
else
 
7037
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7038
for as_dir in $PATH
 
7039
do
 
7040
  IFS=$as_save_IFS
 
7041
  test -z "$as_dir" && as_dir=.
 
7042
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7043
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7044
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
7045
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7046
    break 2
 
7047
  fi
 
7048
done
 
7049
  done
 
7050
IFS=$as_save_IFS
 
7051
 
 
7052
fi
 
7053
fi
 
7054
AR=$ac_cv_prog_AR
 
7055
if test -n "$AR"; then
 
7056
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
7057
$as_echo "$AR" >&6; }
 
7058
else
 
7059
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7060
$as_echo "no" >&6; }
 
7061
fi
 
7062
 
 
7063
 
 
7064
fi
 
7065
if test -z "$ac_cv_prog_AR"; then
 
7066
  ac_ct_AR=$AR
 
7067
  # Extract the first word of "ar", so it can be a program name with args.
 
7068
set dummy ar; ac_word=$2
 
7069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7070
$as_echo_n "checking for $ac_word... " >&6; }
 
7071
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
7072
  $as_echo_n "(cached) " >&6
 
7073
else
 
7074
  if test -n "$ac_ct_AR"; then
 
7075
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
7076
else
 
7077
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7078
for as_dir in $PATH
 
7079
do
 
7080
  IFS=$as_save_IFS
 
7081
  test -z "$as_dir" && as_dir=.
 
7082
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7083
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7084
    ac_cv_prog_ac_ct_AR="ar"
 
7085
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7086
    break 2
 
7087
  fi
 
7088
done
 
7089
  done
 
7090
IFS=$as_save_IFS
 
7091
 
 
7092
fi
 
7093
fi
 
7094
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
7095
if test -n "$ac_ct_AR"; then
 
7096
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
7097
$as_echo "$ac_ct_AR" >&6; }
 
7098
else
 
7099
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7100
$as_echo "no" >&6; }
 
7101
fi
 
7102
 
 
7103
  if test "x$ac_ct_AR" = x; then
 
7104
    AR="false"
 
7105
  else
 
7106
    case $cross_compiling:$ac_tool_warned in
 
7107
yes:)
 
7108
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7109
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7110
ac_tool_warned=yes ;;
 
7111
esac
 
7112
    AR=$ac_ct_AR
 
7113
  fi
 
7114
else
 
7115
  AR="$ac_cv_prog_AR"
 
7116
fi
 
7117
 
 
7118
test -z "$AR" && AR=ar
 
7119
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
7120
 
 
7121
 
 
7122
 
 
7123
 
 
7124
 
 
7125
 
 
7126
 
 
7127
 
 
7128
 
 
7129
 
 
7130
 
 
7131
if test -n "$ac_tool_prefix"; then
 
7132
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
7133
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
7134
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7135
$as_echo_n "checking for $ac_word... " >&6; }
 
7136
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
7137
  $as_echo_n "(cached) " >&6
 
7138
else
 
7139
  if test -n "$STRIP"; then
 
7140
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
7141
else
 
7142
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7143
for as_dir in $PATH
 
7144
do
 
7145
  IFS=$as_save_IFS
 
7146
  test -z "$as_dir" && as_dir=.
 
7147
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7148
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7149
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
7150
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7151
    break 2
 
7152
  fi
 
7153
done
 
7154
  done
 
7155
IFS=$as_save_IFS
 
7156
 
 
7157
fi
 
7158
fi
 
7159
STRIP=$ac_cv_prog_STRIP
 
7160
if test -n "$STRIP"; then
 
7161
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
7162
$as_echo "$STRIP" >&6; }
 
7163
else
 
7164
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7165
$as_echo "no" >&6; }
 
7166
fi
 
7167
 
 
7168
 
 
7169
fi
 
7170
if test -z "$ac_cv_prog_STRIP"; then
 
7171
  ac_ct_STRIP=$STRIP
 
7172
  # Extract the first word of "strip", so it can be a program name with args.
 
7173
set dummy strip; ac_word=$2
 
7174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7175
$as_echo_n "checking for $ac_word... " >&6; }
 
7176
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
7177
  $as_echo_n "(cached) " >&6
 
7178
else
 
7179
  if test -n "$ac_ct_STRIP"; then
 
7180
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
7181
else
 
7182
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7183
for as_dir in $PATH
 
7184
do
 
7185
  IFS=$as_save_IFS
 
7186
  test -z "$as_dir" && as_dir=.
 
7187
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7188
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7189
    ac_cv_prog_ac_ct_STRIP="strip"
 
7190
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7191
    break 2
 
7192
  fi
 
7193
done
 
7194
  done
 
7195
IFS=$as_save_IFS
 
7196
 
 
7197
fi
 
7198
fi
 
7199
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
7200
if test -n "$ac_ct_STRIP"; then
 
7201
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
7202
$as_echo "$ac_ct_STRIP" >&6; }
 
7203
else
 
7204
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7205
$as_echo "no" >&6; }
 
7206
fi
 
7207
 
 
7208
  if test "x$ac_ct_STRIP" = x; then
 
7209
    STRIP=":"
 
7210
  else
 
7211
    case $cross_compiling:$ac_tool_warned in
 
7212
yes:)
 
7213
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7214
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7215
ac_tool_warned=yes ;;
 
7216
esac
 
7217
    STRIP=$ac_ct_STRIP
 
7218
  fi
 
7219
else
 
7220
  STRIP="$ac_cv_prog_STRIP"
 
7221
fi
 
7222
 
 
7223
test -z "$STRIP" && STRIP=:
 
7224
 
 
7225
 
 
7226
 
 
7227
 
 
7228
 
 
7229
 
 
7230
if test -n "$ac_tool_prefix"; then
 
7231
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
7232
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
7233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7234
$as_echo_n "checking for $ac_word... " >&6; }
 
7235
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
7236
  $as_echo_n "(cached) " >&6
 
7237
else
 
7238
  if test -n "$RANLIB"; then
 
7239
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
7240
else
 
7241
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7242
for as_dir in $PATH
 
7243
do
 
7244
  IFS=$as_save_IFS
 
7245
  test -z "$as_dir" && as_dir=.
 
7246
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7247
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7248
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
7249
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7250
    break 2
 
7251
  fi
 
7252
done
 
7253
  done
 
7254
IFS=$as_save_IFS
 
7255
 
 
7256
fi
 
7257
fi
 
7258
RANLIB=$ac_cv_prog_RANLIB
 
7259
if test -n "$RANLIB"; then
 
7260
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
7261
$as_echo "$RANLIB" >&6; }
 
7262
else
 
7263
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7264
$as_echo "no" >&6; }
 
7265
fi
 
7266
 
 
7267
 
 
7268
fi
 
7269
if test -z "$ac_cv_prog_RANLIB"; then
 
7270
  ac_ct_RANLIB=$RANLIB
 
7271
  # Extract the first word of "ranlib", so it can be a program name with args.
 
7272
set dummy ranlib; ac_word=$2
 
7273
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7274
$as_echo_n "checking for $ac_word... " >&6; }
 
7275
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
7276
  $as_echo_n "(cached) " >&6
 
7277
else
 
7278
  if test -n "$ac_ct_RANLIB"; then
 
7279
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
7280
else
 
7281
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7282
for as_dir in $PATH
 
7283
do
 
7284
  IFS=$as_save_IFS
 
7285
  test -z "$as_dir" && as_dir=.
 
7286
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7287
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7288
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
7289
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7290
    break 2
 
7291
  fi
 
7292
done
 
7293
  done
 
7294
IFS=$as_save_IFS
 
7295
 
 
7296
fi
 
7297
fi
 
7298
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
7299
if test -n "$ac_ct_RANLIB"; then
 
7300
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
7301
$as_echo "$ac_ct_RANLIB" >&6; }
 
7302
else
 
7303
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7304
$as_echo "no" >&6; }
 
7305
fi
 
7306
 
 
7307
  if test "x$ac_ct_RANLIB" = x; then
 
7308
    RANLIB=":"
 
7309
  else
 
7310
    case $cross_compiling:$ac_tool_warned in
 
7311
yes:)
 
7312
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7313
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7314
ac_tool_warned=yes ;;
 
7315
esac
 
7316
    RANLIB=$ac_ct_RANLIB
 
7317
  fi
 
7318
else
 
7319
  RANLIB="$ac_cv_prog_RANLIB"
 
7320
fi
 
7321
 
 
7322
test -z "$RANLIB" && RANLIB=:
 
7323
 
 
7324
 
 
7325
 
 
7326
 
 
7327
 
 
7328
 
 
7329
# Determine commands to create old-style static archives.
 
7330
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
7331
old_postinstall_cmds='chmod 644 $oldlib'
 
7332
old_postuninstall_cmds=
 
7333
 
 
7334
if test -n "$RANLIB"; then
 
7335
  case $host_os in
 
7336
  openbsd*)
 
7337
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
7338
    ;;
 
7339
  *)
 
7340
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
7341
    ;;
 
7342
  esac
 
7343
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
7344
fi
 
7345
 
 
7346
 
 
7347
 
 
7348
 
 
7349
 
 
7350
 
 
7351
 
 
7352
 
 
7353
 
 
7354
 
 
7355
 
 
7356
 
 
7357
 
 
7358
 
 
7359
 
 
7360
 
 
7361
 
 
7362
 
 
7363
 
 
7364
 
 
7365
 
 
7366
 
 
7367
 
 
7368
 
 
7369
 
 
7370
 
 
7371
 
 
7372
 
 
7373
 
 
7374
 
 
7375
 
 
7376
 
 
7377
 
 
7378
 
6381
7379
# If no C compiler was specified, use CC.
6382
7380
LTCC=${LTCC-"$CC"}
6383
7381
 
6388
7386
compiler=$CC
6389
7387
 
6390
7388
 
6391
 
# Check whether --enable-libtool-lock was given.
6392
 
if test "${enable_libtool_lock+set}" = set; then
6393
 
  enableval=$enable_libtool_lock;
6394
 
fi
6395
 
 
6396
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6397
 
 
6398
 
# Some flags need to be propagated to the compiler or linker for good
6399
 
# libtool support.
6400
 
case $host in
6401
 
ia64-*-hpux*)
6402
 
  # Find out which ABI we are using.
6403
 
  echo 'int i;' > conftest.$ac_ext
6404
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6405
 
  (eval $ac_compile) 2>&5
6406
 
  ac_status=$?
6407
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408
 
  (exit $ac_status); }; then
6409
 
    case `/usr/bin/file conftest.$ac_objext` in
6410
 
    *ELF-32*)
6411
 
      HPUX_IA64_MODE="32"
6412
 
      ;;
6413
 
    *ELF-64*)
6414
 
      HPUX_IA64_MODE="64"
6415
 
      ;;
6416
 
    esac
6417
 
  fi
6418
 
  rm -rf conftest*
6419
 
  ;;
6420
 
*-*-irix6*)
6421
 
  # Find out which ABI we are using.
6422
 
  echo '#line 6422 "configure"' > conftest.$ac_ext
6423
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6424
 
  (eval $ac_compile) 2>&5
6425
 
  ac_status=$?
6426
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427
 
  (exit $ac_status); }; then
6428
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
6429
 
    case `/usr/bin/file conftest.$ac_objext` in
6430
 
    *32-bit*)
6431
 
      LD="${LD-ld} -melf32bsmip"
6432
 
      ;;
6433
 
    *N32*)
6434
 
      LD="${LD-ld} -melf32bmipn32"
6435
 
      ;;
6436
 
    *64-bit*)
6437
 
      LD="${LD-ld} -melf64bmip"
6438
 
      ;;
6439
 
    esac
6440
 
   else
6441
 
    case `/usr/bin/file conftest.$ac_objext` in
6442
 
    *32-bit*)
6443
 
      LD="${LD-ld} -32"
6444
 
      ;;
6445
 
    *N32*)
6446
 
      LD="${LD-ld} -n32"
6447
 
      ;;
6448
 
    *64-bit*)
6449
 
      LD="${LD-ld} -64"
6450
 
      ;;
6451
 
    esac
6452
 
   fi
6453
 
  fi
6454
 
  rm -rf conftest*
6455
 
  ;;
6456
 
 
6457
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6458
 
s390*-*linux*|sparc*-*linux*)
6459
 
  # Find out which ABI we are using.
6460
 
  echo 'int i;' > conftest.$ac_ext
6461
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6462
 
  (eval $ac_compile) 2>&5
6463
 
  ac_status=$?
6464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465
 
  (exit $ac_status); }; then
6466
 
    case `/usr/bin/file conftest.o` in
6467
 
    *32-bit*)
6468
 
      case $host in
6469
 
        x86_64-*kfreebsd*-gnu)
6470
 
          LD="${LD-ld} -m elf_i386_fbsd"
6471
 
          ;;
6472
 
        x86_64-*linux*)
6473
 
          LD="${LD-ld} -m elf_i386"
6474
 
          ;;
6475
 
        ppc64-*linux*|powerpc64-*linux*)
6476
 
          LD="${LD-ld} -m elf32ppclinux"
6477
 
          ;;
6478
 
        s390x-*linux*)
6479
 
          LD="${LD-ld} -m elf_s390"
6480
 
          ;;
6481
 
        sparc64-*linux*)
6482
 
          LD="${LD-ld} -m elf32_sparc"
6483
 
          ;;
6484
 
      esac
6485
 
      ;;
6486
 
    *64-bit*)
6487
 
      case $host in
6488
 
        x86_64-*kfreebsd*-gnu)
6489
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
6490
 
          ;;
6491
 
        x86_64-*linux*)
6492
 
          LD="${LD-ld} -m elf_x86_64"
6493
 
          ;;
6494
 
        ppc*-*linux*|powerpc*-*linux*)
6495
 
          LD="${LD-ld} -m elf64ppc"
6496
 
          ;;
6497
 
        s390*-*linux*)
6498
 
          LD="${LD-ld} -m elf64_s390"
6499
 
          ;;
6500
 
        sparc*-*linux*)
6501
 
          LD="${LD-ld} -m elf64_sparc"
6502
 
          ;;
6503
 
      esac
6504
 
      ;;
6505
 
    esac
6506
 
  fi
6507
 
  rm -rf conftest*
6508
 
  ;;
6509
 
 
6510
 
*-*-sco3.2v5*)
6511
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6512
 
  SAVE_CFLAGS="$CFLAGS"
6513
 
  CFLAGS="$CFLAGS -belf"
6514
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6515
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
6516
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
6517
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6518
 
else
6519
 
  ac_ext=c
6520
 
ac_cpp='$CPP $CPPFLAGS'
6521
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6522
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6523
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6524
 
 
6525
 
     cat >conftest.$ac_ext <<_ACEOF
6526
 
/* confdefs.h.  */
6527
 
_ACEOF
6528
 
cat confdefs.h >>conftest.$ac_ext
6529
 
cat >>conftest.$ac_ext <<_ACEOF
6530
 
/* end confdefs.h.  */
6531
 
 
6532
 
int
6533
 
main ()
6534
 
{
6535
 
 
6536
 
  ;
6537
 
  return 0;
6538
 
}
6539
 
_ACEOF
6540
 
rm -f conftest.$ac_objext conftest$ac_exeext
6541
 
if { (ac_try="$ac_link"
6542
 
case "(($ac_try" in
6543
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6544
 
  *) ac_try_echo=$ac_try;;
6545
 
esac
6546
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6547
 
  (eval "$ac_link") 2>conftest.er1
6548
 
  ac_status=$?
6549
 
  grep -v '^ *+' conftest.er1 >conftest.err
6550
 
  rm -f conftest.er1
6551
 
  cat conftest.err >&5
6552
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553
 
  (exit $ac_status); } && {
6554
 
         test -z "$ac_c_werror_flag" ||
6555
 
         test ! -s conftest.err
6556
 
       } && test -s conftest$ac_exeext &&
6557
 
       $as_test_x conftest$ac_exeext; then
6558
 
  lt_cv_cc_needs_belf=yes
6559
 
else
6560
 
  echo "$as_me: failed program was:" >&5
6561
 
sed 's/^/| /' conftest.$ac_ext >&5
6562
 
 
6563
 
        lt_cv_cc_needs_belf=no
6564
 
fi
6565
 
 
6566
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6567
 
      conftest$ac_exeext conftest.$ac_ext
6568
 
     ac_ext=c
6569
 
ac_cpp='$CPP $CPPFLAGS'
6570
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6571
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6572
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6573
 
 
6574
 
fi
6575
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6576
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6577
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6578
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6579
 
    CFLAGS="$SAVE_CFLAGS"
6580
 
  fi
6581
 
  ;;
6582
 
sparc*-*solaris*)
6583
 
  # Find out which ABI we are using.
6584
 
  echo 'int i;' > conftest.$ac_ext
6585
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6586
 
  (eval $ac_compile) 2>&5
6587
 
  ac_status=$?
6588
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589
 
  (exit $ac_status); }; then
6590
 
    case `/usr/bin/file conftest.o` in
6591
 
    *64-bit*)
6592
 
      case $lt_cv_prog_gnu_ld in
6593
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6594
 
      *)    LD="${LD-ld} -64" ;;
6595
 
      esac
6596
 
      ;;
6597
 
    esac
6598
 
  fi
6599
 
  rm -rf conftest*
6600
 
  ;;
6601
 
 
6602
 
 
6603
 
esac
6604
 
 
6605
 
need_locks="$enable_libtool_lock"
6606
 
 
6607
 
 
6608
 
 
6609
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6610
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6611
 
if test "${ac_cv_header_stdc+set}" = set; then
6612
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6613
 
else
6614
 
  cat >conftest.$ac_ext <<_ACEOF
6615
 
/* confdefs.h.  */
6616
 
_ACEOF
6617
 
cat confdefs.h >>conftest.$ac_ext
6618
 
cat >>conftest.$ac_ext <<_ACEOF
6619
 
/* end confdefs.h.  */
6620
 
#include <stdlib.h>
6621
 
#include <stdarg.h>
6622
 
#include <string.h>
6623
 
#include <float.h>
6624
 
 
6625
 
int
6626
 
main ()
6627
 
{
6628
 
 
6629
 
  ;
6630
 
  return 0;
6631
 
}
6632
 
_ACEOF
6633
 
rm -f conftest.$ac_objext
6634
 
if { (ac_try="$ac_compile"
6635
 
case "(($ac_try" in
6636
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6637
 
  *) ac_try_echo=$ac_try;;
6638
 
esac
6639
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6640
 
  (eval "$ac_compile") 2>conftest.er1
6641
 
  ac_status=$?
6642
 
  grep -v '^ *+' conftest.er1 >conftest.err
6643
 
  rm -f conftest.er1
6644
 
  cat conftest.err >&5
6645
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646
 
  (exit $ac_status); } && {
6647
 
         test -z "$ac_c_werror_flag" ||
6648
 
         test ! -s conftest.err
6649
 
       } && test -s conftest.$ac_objext; then
6650
 
  ac_cv_header_stdc=yes
6651
 
else
6652
 
  echo "$as_me: failed program was:" >&5
6653
 
sed 's/^/| /' conftest.$ac_ext >&5
6654
 
 
6655
 
        ac_cv_header_stdc=no
6656
 
fi
6657
 
 
6658
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6659
 
 
6660
 
if test $ac_cv_header_stdc = yes; then
6661
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6662
 
  cat >conftest.$ac_ext <<_ACEOF
6663
 
/* confdefs.h.  */
6664
 
_ACEOF
6665
 
cat confdefs.h >>conftest.$ac_ext
6666
 
cat >>conftest.$ac_ext <<_ACEOF
6667
 
/* end confdefs.h.  */
6668
 
#include <string.h>
6669
 
 
6670
 
_ACEOF
6671
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6672
 
  $EGREP "memchr" >/dev/null 2>&1; then
6673
 
  :
6674
 
else
6675
 
  ac_cv_header_stdc=no
6676
 
fi
6677
 
rm -f conftest*
6678
 
 
6679
 
fi
6680
 
 
6681
 
if test $ac_cv_header_stdc = yes; then
6682
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6683
 
  cat >conftest.$ac_ext <<_ACEOF
6684
 
/* confdefs.h.  */
6685
 
_ACEOF
6686
 
cat confdefs.h >>conftest.$ac_ext
6687
 
cat >>conftest.$ac_ext <<_ACEOF
6688
 
/* end confdefs.h.  */
6689
 
#include <stdlib.h>
6690
 
 
6691
 
_ACEOF
6692
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6693
 
  $EGREP "free" >/dev/null 2>&1; then
6694
 
  :
6695
 
else
6696
 
  ac_cv_header_stdc=no
6697
 
fi
6698
 
rm -f conftest*
6699
 
 
6700
 
fi
6701
 
 
6702
 
if test $ac_cv_header_stdc = yes; then
6703
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6704
 
  if test "$cross_compiling" = yes; then
6705
 
  :
6706
 
else
6707
 
  cat >conftest.$ac_ext <<_ACEOF
6708
 
/* confdefs.h.  */
6709
 
_ACEOF
6710
 
cat confdefs.h >>conftest.$ac_ext
6711
 
cat >>conftest.$ac_ext <<_ACEOF
6712
 
/* end confdefs.h.  */
6713
 
#include <ctype.h>
6714
 
#include <stdlib.h>
6715
 
#if ((' ' & 0x0FF) == 0x020)
6716
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6717
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6718
 
#else
6719
 
# define ISLOWER(c) \
6720
 
                   (('a' <= (c) && (c) <= 'i') \
6721
 
                     || ('j' <= (c) && (c) <= 'r') \
6722
 
                     || ('s' <= (c) && (c) <= 'z'))
6723
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6724
 
#endif
6725
 
 
6726
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6727
 
int
6728
 
main ()
6729
 
{
6730
 
  int i;
6731
 
  for (i = 0; i < 256; i++)
6732
 
    if (XOR (islower (i), ISLOWER (i))
6733
 
        || toupper (i) != TOUPPER (i))
6734
 
      return 2;
6735
 
  return 0;
6736
 
}
6737
 
_ACEOF
6738
 
rm -f conftest$ac_exeext
6739
 
if { (ac_try="$ac_link"
6740
 
case "(($ac_try" in
6741
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6742
 
  *) ac_try_echo=$ac_try;;
6743
 
esac
6744
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6745
 
  (eval "$ac_link") 2>&5
6746
 
  ac_status=$?
6747
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6749
 
  { (case "(($ac_try" in
6750
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6751
 
  *) ac_try_echo=$ac_try;;
6752
 
esac
6753
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6754
 
  (eval "$ac_try") 2>&5
6755
 
  ac_status=$?
6756
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757
 
  (exit $ac_status); }; }; then
6758
 
  :
6759
 
else
6760
 
  echo "$as_me: program exited with status $ac_status" >&5
6761
 
echo "$as_me: failed program was:" >&5
6762
 
sed 's/^/| /' conftest.$ac_ext >&5
6763
 
 
6764
 
( exit $ac_status )
6765
 
ac_cv_header_stdc=no
6766
 
fi
6767
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6768
 
fi
6769
 
 
6770
 
 
6771
 
fi
6772
 
fi
6773
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6774
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6775
 
if test $ac_cv_header_stdc = yes; then
6776
 
 
6777
 
cat >>confdefs.h <<\_ACEOF
6778
 
#define STDC_HEADERS 1
6779
 
_ACEOF
6780
 
 
6781
 
fi
6782
 
 
6783
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6784
 
 
6785
 
 
6786
 
 
6787
 
 
6788
 
 
6789
 
 
6790
 
 
6791
 
 
6792
 
 
6793
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6794
 
                  inttypes.h stdint.h unistd.h
6795
 
do
6796
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6797
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6798
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6799
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6800
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6801
 
else
6802
 
  cat >conftest.$ac_ext <<_ACEOF
6803
 
/* confdefs.h.  */
6804
 
_ACEOF
6805
 
cat confdefs.h >>conftest.$ac_ext
6806
 
cat >>conftest.$ac_ext <<_ACEOF
6807
 
/* end confdefs.h.  */
6808
 
$ac_includes_default
6809
 
 
6810
 
#include <$ac_header>
6811
 
_ACEOF
6812
 
rm -f conftest.$ac_objext
6813
 
if { (ac_try="$ac_compile"
6814
 
case "(($ac_try" in
6815
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6816
 
  *) ac_try_echo=$ac_try;;
6817
 
esac
6818
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6819
 
  (eval "$ac_compile") 2>conftest.er1
6820
 
  ac_status=$?
6821
 
  grep -v '^ *+' conftest.er1 >conftest.err
6822
 
  rm -f conftest.er1
6823
 
  cat conftest.err >&5
6824
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825
 
  (exit $ac_status); } && {
6826
 
         test -z "$ac_c_werror_flag" ||
6827
 
         test ! -s conftest.err
6828
 
       } && test -s conftest.$ac_objext; then
6829
 
  eval "$as_ac_Header=yes"
6830
 
else
6831
 
  echo "$as_me: failed program was:" >&5
6832
 
sed 's/^/| /' conftest.$ac_ext >&5
6833
 
 
6834
 
        eval "$as_ac_Header=no"
6835
 
fi
6836
 
 
6837
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6838
 
fi
6839
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6840
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6841
 
echo "${ECHO_T}$ac_res" >&6; }
6842
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6843
 
  cat >>confdefs.h <<_ACEOF
6844
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6845
 
_ACEOF
6846
 
 
6847
 
fi
6848
 
 
6849
 
done
6850
 
 
6851
 
 
6852
 
 
6853
 
for ac_header in dlfcn.h
6854
 
do
6855
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6856
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6857
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6858
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6859
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6860
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6861
 
fi
6862
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6863
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6864
 
echo "${ECHO_T}$ac_res" >&6; }
6865
 
else
6866
 
  # Is the header compilable?
6867
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6868
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6869
 
cat >conftest.$ac_ext <<_ACEOF
6870
 
/* confdefs.h.  */
6871
 
_ACEOF
6872
 
cat confdefs.h >>conftest.$ac_ext
6873
 
cat >>conftest.$ac_ext <<_ACEOF
6874
 
/* end confdefs.h.  */
6875
 
$ac_includes_default
6876
 
#include <$ac_header>
6877
 
_ACEOF
6878
 
rm -f conftest.$ac_objext
6879
 
if { (ac_try="$ac_compile"
6880
 
case "(($ac_try" in
6881
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6882
 
  *) ac_try_echo=$ac_try;;
6883
 
esac
6884
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6885
 
  (eval "$ac_compile") 2>conftest.er1
6886
 
  ac_status=$?
6887
 
  grep -v '^ *+' conftest.er1 >conftest.err
6888
 
  rm -f conftest.er1
6889
 
  cat conftest.err >&5
6890
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891
 
  (exit $ac_status); } && {
6892
 
         test -z "$ac_c_werror_flag" ||
6893
 
         test ! -s conftest.err
6894
 
       } && test -s conftest.$ac_objext; then
6895
 
  ac_header_compiler=yes
6896
 
else
6897
 
  echo "$as_me: failed program was:" >&5
6898
 
sed 's/^/| /' conftest.$ac_ext >&5
6899
 
 
6900
 
        ac_header_compiler=no
6901
 
fi
6902
 
 
6903
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6904
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6905
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
6906
 
 
6907
 
# Is the header present?
6908
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6909
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6910
 
cat >conftest.$ac_ext <<_ACEOF
6911
 
/* confdefs.h.  */
6912
 
_ACEOF
6913
 
cat confdefs.h >>conftest.$ac_ext
6914
 
cat >>conftest.$ac_ext <<_ACEOF
6915
 
/* end confdefs.h.  */
6916
 
#include <$ac_header>
6917
 
_ACEOF
6918
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6919
 
case "(($ac_try" in
6920
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6921
 
  *) ac_try_echo=$ac_try;;
6922
 
esac
6923
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6924
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6925
 
  ac_status=$?
6926
 
  grep -v '^ *+' conftest.er1 >conftest.err
6927
 
  rm -f conftest.er1
6928
 
  cat conftest.err >&5
6929
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6930
 
  (exit $ac_status); } >/dev/null && {
6931
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6932
 
         test ! -s conftest.err
6933
 
       }; then
6934
 
  ac_header_preproc=yes
6935
 
else
6936
 
  echo "$as_me: failed program was:" >&5
6937
 
sed 's/^/| /' conftest.$ac_ext >&5
6938
 
 
6939
 
  ac_header_preproc=no
6940
 
fi
6941
 
 
6942
 
rm -f conftest.err conftest.$ac_ext
6943
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6944
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
6945
 
 
6946
 
# So?  What about this header?
6947
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6948
 
  yes:no: )
6949
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6950
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6951
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6952
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6953
 
    ac_header_preproc=yes
6954
 
    ;;
6955
 
  no:yes:* )
6956
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6957
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6958
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6959
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6960
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6961
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6962
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6963
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6964
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6965
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6966
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6967
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6968
 
 
6969
 
    ;;
6970
 
esac
6971
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6972
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6973
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6974
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6975
 
else
6976
 
  eval "$as_ac_Header=\$ac_header_preproc"
6977
 
fi
6978
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6979
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6980
 
echo "${ECHO_T}$ac_res" >&6; }
6981
 
 
6982
 
fi
6983
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6984
 
  cat >>confdefs.h <<_ACEOF
6985
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6986
 
_ACEOF
6987
 
 
6988
 
fi
6989
 
 
6990
 
done
6991
 
 
6992
 
 
6993
 
 
6994
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6995
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6996
 
    (test "X$CXX" != "Xg++"))) ; then
6997
 
  ac_ext=cpp
6998
 
ac_cpp='$CXXCPP $CPPFLAGS'
6999
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7000
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7001
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7002
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7003
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7004
 
if test -z "$CXXCPP"; then
7005
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
7006
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7007
 
else
7008
 
      # Double quotes because CXXCPP needs to be expanded
7009
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
7010
 
    do
7011
 
      ac_preproc_ok=false
7012
 
for ac_cxx_preproc_warn_flag in '' yes
7013
 
do
7014
 
  # Use a header file that comes with gcc, so configuring glibc
7015
 
  # with a fresh cross-compiler works.
7016
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7017
 
  # <limits.h> exists even on freestanding compilers.
7018
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7019
 
  # not just through cpp. "Syntax error" is here to catch this case.
7020
 
  cat >conftest.$ac_ext <<_ACEOF
7021
 
/* confdefs.h.  */
7022
 
_ACEOF
7023
 
cat confdefs.h >>conftest.$ac_ext
7024
 
cat >>conftest.$ac_ext <<_ACEOF
7025
 
/* end confdefs.h.  */
7026
 
#ifdef __STDC__
7027
 
# include <limits.h>
7028
 
#else
7029
 
# include <assert.h>
7030
 
#endif
7031
 
                     Syntax error
7032
 
_ACEOF
7033
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7034
 
case "(($ac_try" in
7035
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7036
 
  *) ac_try_echo=$ac_try;;
7037
 
esac
7038
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7039
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7040
 
  ac_status=$?
7041
 
  grep -v '^ *+' conftest.er1 >conftest.err
7042
 
  rm -f conftest.er1
7043
 
  cat conftest.err >&5
7044
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045
 
  (exit $ac_status); } >/dev/null && {
7046
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7047
 
         test ! -s conftest.err
7048
 
       }; then
7049
 
  :
7050
 
else
7051
 
  echo "$as_me: failed program was:" >&5
7052
 
sed 's/^/| /' conftest.$ac_ext >&5
7053
 
 
7054
 
  # Broken: fails on valid input.
7055
 
continue
7056
 
fi
7057
 
 
7058
 
rm -f conftest.err conftest.$ac_ext
7059
 
 
7060
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7061
 
  # can be detected and how.
7062
 
  cat >conftest.$ac_ext <<_ACEOF
7063
 
/* confdefs.h.  */
7064
 
_ACEOF
7065
 
cat confdefs.h >>conftest.$ac_ext
7066
 
cat >>conftest.$ac_ext <<_ACEOF
7067
 
/* end confdefs.h.  */
7068
 
#include <ac_nonexistent.h>
7069
 
_ACEOF
7070
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7071
 
case "(($ac_try" in
7072
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7073
 
  *) ac_try_echo=$ac_try;;
7074
 
esac
7075
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7076
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7077
 
  ac_status=$?
7078
 
  grep -v '^ *+' conftest.er1 >conftest.err
7079
 
  rm -f conftest.er1
7080
 
  cat conftest.err >&5
7081
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082
 
  (exit $ac_status); } >/dev/null && {
7083
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7084
 
         test ! -s conftest.err
7085
 
       }; then
7086
 
  # Broken: success on invalid input.
7087
 
continue
7088
 
else
7089
 
  echo "$as_me: failed program was:" >&5
7090
 
sed 's/^/| /' conftest.$ac_ext >&5
7091
 
 
7092
 
  # Passes both tests.
7093
 
ac_preproc_ok=:
7094
 
break
7095
 
fi
7096
 
 
7097
 
rm -f conftest.err conftest.$ac_ext
7098
 
 
7099
 
done
7100
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7101
 
rm -f conftest.err conftest.$ac_ext
7102
 
if $ac_preproc_ok; then
7103
 
  break
7104
 
fi
7105
 
 
7106
 
    done
7107
 
    ac_cv_prog_CXXCPP=$CXXCPP
7108
 
 
7109
 
fi
7110
 
  CXXCPP=$ac_cv_prog_CXXCPP
7111
 
else
7112
 
  ac_cv_prog_CXXCPP=$CXXCPP
7113
 
fi
7114
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
7115
 
echo "${ECHO_T}$CXXCPP" >&6; }
7116
 
ac_preproc_ok=false
7117
 
for ac_cxx_preproc_warn_flag in '' yes
7118
 
do
7119
 
  # Use a header file that comes with gcc, so configuring glibc
7120
 
  # with a fresh cross-compiler works.
7121
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7122
 
  # <limits.h> exists even on freestanding compilers.
7123
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7124
 
  # not just through cpp. "Syntax error" is here to catch this case.
7125
 
  cat >conftest.$ac_ext <<_ACEOF
7126
 
/* confdefs.h.  */
7127
 
_ACEOF
7128
 
cat confdefs.h >>conftest.$ac_ext
7129
 
cat >>conftest.$ac_ext <<_ACEOF
7130
 
/* end confdefs.h.  */
7131
 
#ifdef __STDC__
7132
 
# include <limits.h>
7133
 
#else
7134
 
# include <assert.h>
7135
 
#endif
7136
 
                     Syntax error
7137
 
_ACEOF
7138
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7139
 
case "(($ac_try" in
7140
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7141
 
  *) ac_try_echo=$ac_try;;
7142
 
esac
7143
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7144
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7145
 
  ac_status=$?
7146
 
  grep -v '^ *+' conftest.er1 >conftest.err
7147
 
  rm -f conftest.er1
7148
 
  cat conftest.err >&5
7149
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150
 
  (exit $ac_status); } >/dev/null && {
7151
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7152
 
         test ! -s conftest.err
7153
 
       }; then
7154
 
  :
7155
 
else
7156
 
  echo "$as_me: failed program was:" >&5
7157
 
sed 's/^/| /' conftest.$ac_ext >&5
7158
 
 
7159
 
  # Broken: fails on valid input.
7160
 
continue
7161
 
fi
7162
 
 
7163
 
rm -f conftest.err conftest.$ac_ext
7164
 
 
7165
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7166
 
  # can be detected and how.
7167
 
  cat >conftest.$ac_ext <<_ACEOF
7168
 
/* confdefs.h.  */
7169
 
_ACEOF
7170
 
cat confdefs.h >>conftest.$ac_ext
7171
 
cat >>conftest.$ac_ext <<_ACEOF
7172
 
/* end confdefs.h.  */
7173
 
#include <ac_nonexistent.h>
7174
 
_ACEOF
7175
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7176
 
case "(($ac_try" in
7177
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7178
 
  *) ac_try_echo=$ac_try;;
7179
 
esac
7180
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7181
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7182
 
  ac_status=$?
7183
 
  grep -v '^ *+' conftest.er1 >conftest.err
7184
 
  rm -f conftest.er1
7185
 
  cat conftest.err >&5
7186
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187
 
  (exit $ac_status); } >/dev/null && {
7188
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7189
 
         test ! -s conftest.err
7190
 
       }; then
7191
 
  # Broken: success on invalid input.
7192
 
continue
7193
 
else
7194
 
  echo "$as_me: failed program was:" >&5
7195
 
sed 's/^/| /' conftest.$ac_ext >&5
7196
 
 
7197
 
  # Passes both tests.
7198
 
ac_preproc_ok=:
7199
 
break
7200
 
fi
7201
 
 
7202
 
rm -f conftest.err conftest.$ac_ext
7203
 
 
7204
 
done
7205
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7206
 
rm -f conftest.err conftest.$ac_ext
7207
 
if $ac_preproc_ok; then
7208
 
  :
7209
 
else
7210
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7211
 
See \`config.log' for more details." >&5
7212
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7213
 
See \`config.log' for more details." >&2;}
7214
 
   { (exit 1); exit 1; }; }
7215
 
fi
7216
 
 
7217
 
ac_ext=cpp
7218
 
ac_cpp='$CXXCPP $CPPFLAGS'
7219
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7220
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7221
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7222
 
 
7223
 
fi
7224
 
 
7225
 
 
7226
 
ac_ext=f
7227
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7228
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7229
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7230
 
if test -n "$ac_tool_prefix"; then
7231
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7232
 
  do
7233
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7234
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7235
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7236
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7237
 
if test "${ac_cv_prog_F77+set}" = set; then
7238
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7239
 
else
7240
 
  if test -n "$F77"; then
7241
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
7242
 
else
7243
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7244
 
for as_dir in $PATH
7245
 
do
7246
 
  IFS=$as_save_IFS
7247
 
  test -z "$as_dir" && as_dir=.
7248
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7249
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7250
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7251
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7252
 
    break 2
7253
 
  fi
7254
 
done
7255
 
done
7256
 
IFS=$as_save_IFS
7257
 
 
7258
 
fi
7259
 
fi
7260
 
F77=$ac_cv_prog_F77
7261
 
if test -n "$F77"; then
7262
 
  { echo "$as_me:$LINENO: result: $F77" >&5
7263
 
echo "${ECHO_T}$F77" >&6; }
7264
 
else
7265
 
  { echo "$as_me:$LINENO: result: no" >&5
7266
 
echo "${ECHO_T}no" >&6; }
7267
 
fi
7268
 
 
7269
 
 
7270
 
    test -n "$F77" && break
7271
 
  done
7272
 
fi
7273
 
if test -z "$F77"; then
7274
 
  ac_ct_F77=$F77
7275
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7276
 
do
7277
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7278
 
set dummy $ac_prog; ac_word=$2
7279
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7280
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7281
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7282
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7283
 
else
7284
 
  if test -n "$ac_ct_F77"; then
7285
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7286
 
else
7287
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7288
 
for as_dir in $PATH
7289
 
do
7290
 
  IFS=$as_save_IFS
7291
 
  test -z "$as_dir" && as_dir=.
7292
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7293
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7294
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
7295
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7296
 
    break 2
7297
 
  fi
7298
 
done
7299
 
done
7300
 
IFS=$as_save_IFS
7301
 
 
7302
 
fi
7303
 
fi
7304
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7305
 
if test -n "$ac_ct_F77"; then
7306
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7307
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
7308
 
else
7309
 
  { echo "$as_me:$LINENO: result: no" >&5
7310
 
echo "${ECHO_T}no" >&6; }
7311
 
fi
7312
 
 
7313
 
 
7314
 
  test -n "$ac_ct_F77" && break
7315
 
done
7316
 
 
7317
 
  if test "x$ac_ct_F77" = x; then
7318
 
    F77=""
7319
 
  else
7320
 
    case $cross_compiling:$ac_tool_warned in
7321
 
yes:)
7322
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7323
 
whose name does not start with the host triplet.  If you think this
7324
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7325
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7326
 
whose name does not start with the host triplet.  If you think this
7327
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7328
 
ac_tool_warned=yes ;;
7329
 
esac
7330
 
    F77=$ac_ct_F77
7331
 
  fi
7332
 
fi
7333
 
 
7334
 
 
7335
 
# Provide some information about the compiler.
7336
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7337
 
ac_compiler=`set X $ac_compile; echo $2`
7338
 
{ (ac_try="$ac_compiler --version >&5"
7339
 
case "(($ac_try" in
7340
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7341
 
  *) ac_try_echo=$ac_try;;
7342
 
esac
7343
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7344
 
  (eval "$ac_compiler --version >&5") 2>&5
7345
 
  ac_status=$?
7346
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347
 
  (exit $ac_status); }
7348
 
{ (ac_try="$ac_compiler -v >&5"
7349
 
case "(($ac_try" in
7350
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7351
 
  *) ac_try_echo=$ac_try;;
7352
 
esac
7353
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7354
 
  (eval "$ac_compiler -v >&5") 2>&5
7355
 
  ac_status=$?
7356
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357
 
  (exit $ac_status); }
7358
 
{ (ac_try="$ac_compiler -V >&5"
7359
 
case "(($ac_try" in
7360
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7361
 
  *) ac_try_echo=$ac_try;;
7362
 
esac
7363
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7364
 
  (eval "$ac_compiler -V >&5") 2>&5
7365
 
  ac_status=$?
7366
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7367
 
  (exit $ac_status); }
7368
 
rm -f a.out
7369
 
 
7370
 
# If we don't use `.F' as extension, the preprocessor is not run on the
7371
 
# input file.  (Note that this only needs to work for GNU compilers.)
7372
 
ac_save_ext=$ac_ext
7373
 
ac_ext=F
7374
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7375
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7376
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7377
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7378
 
else
7379
 
  cat >conftest.$ac_ext <<_ACEOF
7380
 
      program main
7381
 
#ifndef __GNUC__
7382
 
       choke me
7383
 
#endif
7384
 
 
7385
 
      end
7386
 
_ACEOF
7387
 
rm -f conftest.$ac_objext
7388
 
if { (ac_try="$ac_compile"
7389
 
case "(($ac_try" in
7390
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7391
 
  *) ac_try_echo=$ac_try;;
7392
 
esac
7393
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7394
 
  (eval "$ac_compile") 2>conftest.er1
7395
 
  ac_status=$?
7396
 
  grep -v '^ *+' conftest.er1 >conftest.err
7397
 
  rm -f conftest.er1
7398
 
  cat conftest.err >&5
7399
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7400
 
  (exit $ac_status); } && {
7401
 
         test -z "$ac_f77_werror_flag" ||
7402
 
         test ! -s conftest.err
7403
 
       } && test -s conftest.$ac_objext; then
7404
 
  ac_compiler_gnu=yes
7405
 
else
7406
 
  echo "$as_me: failed program was:" >&5
7407
 
sed 's/^/| /' conftest.$ac_ext >&5
7408
 
 
7409
 
        ac_compiler_gnu=no
7410
 
fi
7411
 
 
7412
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7413
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7414
 
 
7415
 
fi
7416
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7417
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7418
 
ac_ext=$ac_save_ext
7419
 
ac_test_FFLAGS=${FFLAGS+set}
7420
 
ac_save_FFLAGS=$FFLAGS
7421
 
FFLAGS=
7422
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7423
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7424
 
if test "${ac_cv_prog_f77_g+set}" = set; then
7425
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7426
 
else
7427
 
  FFLAGS=-g
7428
 
cat >conftest.$ac_ext <<_ACEOF
7429
 
      program main
7430
 
 
7431
 
      end
7432
 
_ACEOF
7433
 
rm -f conftest.$ac_objext
7434
 
if { (ac_try="$ac_compile"
7435
 
case "(($ac_try" in
7436
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7437
 
  *) ac_try_echo=$ac_try;;
7438
 
esac
7439
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7440
 
  (eval "$ac_compile") 2>conftest.er1
7441
 
  ac_status=$?
7442
 
  grep -v '^ *+' conftest.er1 >conftest.err
7443
 
  rm -f conftest.er1
7444
 
  cat conftest.err >&5
7445
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446
 
  (exit $ac_status); } && {
7447
 
         test -z "$ac_f77_werror_flag" ||
7448
 
         test ! -s conftest.err
7449
 
       } && test -s conftest.$ac_objext; then
7450
 
  ac_cv_prog_f77_g=yes
7451
 
else
7452
 
  echo "$as_me: failed program was:" >&5
7453
 
sed 's/^/| /' conftest.$ac_ext >&5
7454
 
 
7455
 
        ac_cv_prog_f77_g=no
7456
 
fi
7457
 
 
7458
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7459
 
 
7460
 
fi
7461
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7462
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7463
 
if test "$ac_test_FFLAGS" = set; then
7464
 
  FFLAGS=$ac_save_FFLAGS
7465
 
elif test $ac_cv_prog_f77_g = yes; then
7466
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7467
 
    FFLAGS="-g -O2"
7468
 
  else
7469
 
    FFLAGS="-g"
7470
 
  fi
7471
 
else
7472
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7473
 
    FFLAGS="-O2"
7474
 
  else
7475
 
    FFLAGS=
7476
 
  fi
7477
 
fi
7478
 
 
7479
 
G77=`test $ac_compiler_gnu = yes && echo yes`
7480
 
ac_ext=c
7481
 
ac_cpp='$CPP $CPPFLAGS'
7482
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7483
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7484
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7485
 
 
7486
 
 
7487
 
 
7488
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7489
 
 
7490
 
# find the maximum length of command line arguments
7491
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7492
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7493
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7494
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7495
 
else
7496
 
    i=0
7497
 
  teststring="ABCD"
7498
 
 
7499
 
  case $build_os in
7500
 
  msdosdjgpp*)
7501
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
7502
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
7503
 
    # during glob expansion).  Even if it were fixed, the result of this
7504
 
    # check would be larger than it should be.
7505
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7506
 
    ;;
7507
 
 
7508
 
  gnu*)
7509
 
    # Under GNU Hurd, this test is not required because there is
7510
 
    # no limit to the length of command line arguments.
7511
 
    # Libtool will interpret -1 as no limit whatsoever
7512
 
    lt_cv_sys_max_cmd_len=-1;
7513
 
    ;;
7514
 
 
7515
 
  cygwin* | mingw*)
7516
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
7517
 
    # about 5 minutes as the teststring grows exponentially.
7518
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
7519
 
    # you end up with a "frozen" computer, even though with patience
7520
 
    # the test eventually succeeds (with a max line length of 256k).
7521
 
    # Instead, let's just punt: use the minimum linelength reported by
7522
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
7523
 
    lt_cv_sys_max_cmd_len=8192;
7524
 
    ;;
7525
 
 
7526
 
  amigaos*)
7527
 
    # On AmigaOS with pdksh, this test takes hours, literally.
7528
 
    # So we just punt and use a minimum line length of 8192.
7529
 
    lt_cv_sys_max_cmd_len=8192;
7530
 
    ;;
7531
 
 
7532
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7533
 
    # This has been around since 386BSD, at least.  Likely further.
7534
 
    if test -x /sbin/sysctl; then
7535
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7536
 
    elif test -x /usr/sbin/sysctl; then
7537
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7538
 
    else
7539
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
7540
 
    fi
7541
 
    # And add a safety zone
7542
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7543
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7544
 
    ;;
7545
 
 
7546
 
  interix*)
7547
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
7548
 
    lt_cv_sys_max_cmd_len=196608
7549
 
    ;;
7550
 
 
7551
 
  osf*)
7552
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7553
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7554
 
    # nice to cause kernel panics so lets avoid the loop below.
7555
 
    # First set a reasonable default.
7556
 
    lt_cv_sys_max_cmd_len=16384
7557
 
    #
7558
 
    if test -x /sbin/sysconfig; then
7559
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7560
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7561
 
      esac
7562
 
    fi
7563
 
    ;;
7564
 
  sco3.2v5*)
7565
 
    lt_cv_sys_max_cmd_len=102400
7566
 
    ;;
7567
 
  sysv5* | sco5v6* | sysv4.2uw2*)
7568
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7569
 
    if test -n "$kargmax"; then
7570
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
7571
 
    else
7572
 
      lt_cv_sys_max_cmd_len=32768
7573
 
    fi
7574
 
    ;;
7575
 
  *)
7576
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7577
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
7578
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7579
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7580
 
    else
7581
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7582
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7583
 
               = "XX$teststring") >/dev/null 2>&1 &&
7584
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
7585
 
              lt_cv_sys_max_cmd_len=$new_result &&
7586
 
              test $i != 17 # 1/2 MB should be enough
7587
 
      do
7588
 
        i=`expr $i + 1`
7589
 
        teststring=$teststring$teststring
7590
 
      done
7591
 
      teststring=
7592
 
      # Add a significant safety factor because C++ compilers can tack on massive
7593
 
      # amounts of additional arguments before passing them to the linker.
7594
 
      # It appears as though 1/2 is a usable value.
7595
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7596
 
    fi
7597
 
    ;;
7598
 
  esac
7599
 
 
7600
 
fi
7601
 
 
7602
 
if test -n $lt_cv_sys_max_cmd_len ; then
7603
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7604
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7605
 
else
7606
 
  { echo "$as_me:$LINENO: result: none" >&5
7607
 
echo "${ECHO_T}none" >&6; }
7608
 
fi
7609
 
 
7610
 
 
7611
 
 
7612
 
 
7613
 
 
7614
7389
# Check for command to grab the raw symbol name followed by C symbol from nm.
7615
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7616
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7617
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7618
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
7391
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
7392
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
7393
  $as_echo_n "(cached) " >&6
7619
7394
else
7620
7395
 
7621
7396
# These are sane defaults that work on at least a few old systems.
7627
7402
# Regexp to match symbols that can be accessed directly from C.
7628
7403
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7629
7404
 
7630
 
# Transform an extracted symbol line into a proper C declaration
7631
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7632
 
 
7633
 
# Transform an extracted symbol line into symbol name and symbol address
7634
 
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'"
7635
 
 
7636
7405
# Define system-specific variables.
7637
7406
case $host_os in
7638
7407
aix*)
7639
7408
  symcode='[BCDT]'
7640
7409
  ;;
7641
 
cygwin* | mingw* | pw32*)
 
7410
cygwin* | mingw* | pw32* | cegcc*)
7642
7411
  symcode='[ABCDGISTW]'
7643
7412
  ;;
7644
 
hpux*) # Its linker distinguishes data from code symbols
 
7413
hpux*)
7645
7414
  if test "$host_cpu" = ia64; then
7646
7415
    symcode='[ABCDEGRST]'
7647
7416
  fi
7648
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7649
 
  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'"
7650
 
  ;;
7651
 
linux* | k*bsd*-gnu)
7652
 
  if test "$host_cpu" = ia64; then
7653
 
    symcode='[ABCDGIRSTW]'
7654
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7655
 
    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'"
7656
 
  fi
7657
7417
  ;;
7658
7418
irix* | nonstopux*)
7659
7419
  symcode='[BCDEGRST]'
7678
7438
  ;;
7679
7439
esac
7680
7440
 
 
7441
# If we're using GNU nm, then use its standard symbol codes.
 
7442
case `$NM -V 2>&1` in
 
7443
*GNU* | *'with BFD'*)
 
7444
  symcode='[ABCDGIRSTW]' ;;
 
7445
esac
 
7446
 
 
7447
# Transform an extracted symbol line into a proper C declaration.
 
7448
# Some systems (esp. on ia64) link data and code symbols differently,
 
7449
# so use this general approach.
 
7450
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
7451
 
 
7452
# Transform an extracted symbol line into symbol name and symbol address
 
7453
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7454
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
7455
 
7681
7456
# Handle CRLF in mingw tool chain
7682
7457
opt_cr=
7683
7458
case $build_os in
7684
7459
mingw*)
7685
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
7460
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7686
7461
  ;;
7687
7462
esac
7688
7463
 
7689
 
# If we're using GNU nm, then use its standard symbol codes.
7690
 
case `$NM -V 2>&1` in
7691
 
*GNU* | *'with BFD'*)
7692
 
  symcode='[ABCDGIRSTW]' ;;
7693
 
esac
7694
 
 
7695
 
# Try without a prefix undercore, then with it.
 
7464
# Try without a prefix underscore, then with it.
7696
7465
for ac_symprfx in "" "_"; do
7697
7466
 
7698
7467
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7699
7468
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7700
7469
 
7701
7470
  # Write the raw and C identifiers.
7702
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7471
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7472
    # Fake it for dumpbin and say T for any non-static function
 
7473
    # and D for any global variable.
 
7474
    # Also find C++ and __fastcall symbols from MSVC++,
 
7475
    # which start with @ or ?.
 
7476
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
7477
"     {last_section=section; section=\$ 3};"\
 
7478
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
7479
"     \$ 0!~/External *\|/{next};"\
 
7480
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
7481
"     {if(hide[section]) next};"\
 
7482
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
7483
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
7484
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
7485
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
7486
"     ' prfx=^$ac_symprfx"
 
7487
  else
 
7488
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7489
  fi
7703
7490
 
7704
7491
  # Check to see that the pipe works correctly.
7705
7492
  pipe_works=no
7706
7493
 
7707
7494
  rm -f conftest*
7708
 
  cat > conftest.$ac_ext <<EOF
 
7495
  cat > conftest.$ac_ext <<_LT_EOF
7709
7496
#ifdef __cplusplus
7710
7497
extern "C" {
7711
7498
#endif
7712
7499
char nm_test_var;
7713
 
void nm_test_func(){}
 
7500
void nm_test_func(void);
 
7501
void nm_test_func(void){}
7714
7502
#ifdef __cplusplus
7715
7503
}
7716
7504
#endif
7717
7505
int main(){nm_test_var='a';nm_test_func();return(0);}
7718
 
EOF
 
7506
_LT_EOF
7719
7507
 
7720
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7508
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7721
7509
  (eval $ac_compile) 2>&5
7722
7510
  ac_status=$?
7723
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7724
 
  (exit $ac_status); }; then
 
7511
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7512
  test $ac_status = 0; }; then
7725
7513
    # Now try to grab the symbols.
7726
7514
    nlist=conftest.nm
7727
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
7515
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7728
7516
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7729
7517
  ac_status=$?
7730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731
 
  (exit $ac_status); } && test -s "$nlist"; then
 
7518
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7519
  test $ac_status = 0; } && test -s "$nlist"; then
7732
7520
      # Try sorting and uniquifying the output.
7733
7521
      if sort "$nlist" | uniq > "$nlist"T; then
7734
7522
        mv -f "$nlist"T "$nlist"
7737
7525
      fi
7738
7526
 
7739
7527
      # Make sure that we snagged all the symbols we need.
7740
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
7741
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
7742
 
          cat <<EOF > conftest.$ac_ext
 
7528
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
7529
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
7530
          cat <<_LT_EOF > conftest.$ac_ext
7743
7531
#ifdef __cplusplus
7744
7532
extern "C" {
7745
7533
#endif
7746
7534
 
7747
 
EOF
 
7535
_LT_EOF
7748
7536
          # Now generate the symbol file.
7749
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7750
 
 
7751
 
          cat <<EOF >> conftest.$ac_ext
7752
 
#if defined (__STDC__) && __STDC__
7753
 
# define lt_ptr_t void *
7754
 
#else
7755
 
# define lt_ptr_t char *
7756
 
# define const
7757
 
#endif
7758
 
 
7759
 
/* The mapping between symbol names and symbols. */
 
7537
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
7538
 
 
7539
          cat <<_LT_EOF >> conftest.$ac_ext
 
7540
 
 
7541
/* The mapping between symbol names and symbols.  */
7760
7542
const struct {
7761
7543
  const char *name;
7762
 
  lt_ptr_t address;
 
7544
  void       *address;
7763
7545
}
7764
 
lt_preloaded_symbols[] =
 
7546
lt__PROGRAM__LTX_preloaded_symbols[] =
7765
7547
{
7766
 
EOF
7767
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7768
 
          cat <<\EOF >> conftest.$ac_ext
7769
 
  {0, (lt_ptr_t) 0}
 
7548
  { "@PROGRAM@", (void *) 0 },
 
7549
_LT_EOF
 
7550
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
7551
          cat <<\_LT_EOF >> conftest.$ac_ext
 
7552
  {0, (void *) 0}
7770
7553
};
7771
7554
 
 
7555
/* This works around a problem in FreeBSD linker */
 
7556
#ifdef FREEBSD_WORKAROUND
 
7557
static const void *lt_preloaded_setup() {
 
7558
  return lt__PROGRAM__LTX_preloaded_symbols;
 
7559
}
 
7560
#endif
 
7561
 
7772
7562
#ifdef __cplusplus
7773
7563
}
7774
7564
#endif
7775
 
EOF
 
7565
_LT_EOF
7776
7566
          # Now try linking the two files.
7777
7567
          mv conftest.$ac_objext conftstm.$ac_objext
7778
7568
          lt_save_LIBS="$LIBS"
7779
7569
          lt_save_CFLAGS="$CFLAGS"
7780
7570
          LIBS="conftstm.$ac_objext"
7781
7571
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7782
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7572
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7783
7573
  (eval $ac_link) 2>&5
7784
7574
  ac_status=$?
7785
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
7575
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7576
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7787
7577
            pipe_works=yes
7788
7578
          fi
7789
7579
          LIBS="$lt_save_LIBS"
7801
7591
    echo "$progname: failed program was:" >&5
7802
7592
    cat conftest.$ac_ext >&5
7803
7593
  fi
7804
 
  rm -f conftest* conftst*
 
7594
  rm -rf conftest* conftst*
7805
7595
 
7806
7596
  # Do not use the global_symbol_pipe unless it works.
7807
7597
  if test "$pipe_works" = yes; then
7817
7607
  lt_cv_sys_global_symbol_to_cdecl=
7818
7608
fi
7819
7609
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7820
 
  { echo "$as_me:$LINENO: result: failed" >&5
7821
 
echo "${ECHO_T}failed" >&6; }
7822
 
else
7823
 
  { echo "$as_me:$LINENO: result: ok" >&5
7824
 
echo "${ECHO_T}ok" >&6; }
7825
 
fi
7826
 
 
7827
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
7828
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7829
 
if test "${lt_cv_objdir+set}" = set; then
7830
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7610
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
7611
$as_echo "failed" >&6; }
 
7612
else
 
7613
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
7614
$as_echo "ok" >&6; }
 
7615
fi
 
7616
 
 
7617
 
 
7618
 
 
7619
 
 
7620
 
 
7621
 
 
7622
 
 
7623
 
 
7624
 
 
7625
 
 
7626
 
 
7627
 
 
7628
 
 
7629
 
 
7630
 
 
7631
 
 
7632
 
 
7633
 
 
7634
 
 
7635
 
 
7636
 
 
7637
 
 
7638
 
 
7639
# Check whether --enable-libtool-lock was given.
 
7640
if test "${enable_libtool_lock+set}" = set; then :
 
7641
  enableval=$enable_libtool_lock;
 
7642
fi
 
7643
 
 
7644
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
7645
 
 
7646
# Some flags need to be propagated to the compiler or linker for good
 
7647
# libtool support.
 
7648
case $host in
 
7649
ia64-*-hpux*)
 
7650
  # Find out which ABI we are using.
 
7651
  echo 'int i;' > conftest.$ac_ext
 
7652
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7653
  (eval $ac_compile) 2>&5
 
7654
  ac_status=$?
 
7655
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7656
  test $ac_status = 0; }; then
 
7657
    case `/usr/bin/file conftest.$ac_objext` in
 
7658
      *ELF-32*)
 
7659
        HPUX_IA64_MODE="32"
 
7660
        ;;
 
7661
      *ELF-64*)
 
7662
        HPUX_IA64_MODE="64"
 
7663
        ;;
 
7664
    esac
 
7665
  fi
 
7666
  rm -rf conftest*
 
7667
  ;;
 
7668
*-*-irix6*)
 
7669
  # Find out which ABI we are using.
 
7670
  echo '#line 7670 "configure"' > conftest.$ac_ext
 
7671
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7672
  (eval $ac_compile) 2>&5
 
7673
  ac_status=$?
 
7674
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7675
  test $ac_status = 0; }; then
 
7676
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
7677
      case `/usr/bin/file conftest.$ac_objext` in
 
7678
        *32-bit*)
 
7679
          LD="${LD-ld} -melf32bsmip"
 
7680
          ;;
 
7681
        *N32*)
 
7682
          LD="${LD-ld} -melf32bmipn32"
 
7683
          ;;
 
7684
        *64-bit*)
 
7685
          LD="${LD-ld} -melf64bmip"
 
7686
        ;;
 
7687
      esac
 
7688
    else
 
7689
      case `/usr/bin/file conftest.$ac_objext` in
 
7690
        *32-bit*)
 
7691
          LD="${LD-ld} -32"
 
7692
          ;;
 
7693
        *N32*)
 
7694
          LD="${LD-ld} -n32"
 
7695
          ;;
 
7696
        *64-bit*)
 
7697
          LD="${LD-ld} -64"
 
7698
          ;;
 
7699
      esac
 
7700
    fi
 
7701
  fi
 
7702
  rm -rf conftest*
 
7703
  ;;
 
7704
 
 
7705
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
7706
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
7707
  # Find out which ABI we are using.
 
7708
  echo 'int i;' > conftest.$ac_ext
 
7709
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7710
  (eval $ac_compile) 2>&5
 
7711
  ac_status=$?
 
7712
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7713
  test $ac_status = 0; }; then
 
7714
    case `/usr/bin/file conftest.o` in
 
7715
      *32-bit*)
 
7716
        case $host in
 
7717
          x86_64-*kfreebsd*-gnu)
 
7718
            LD="${LD-ld} -m elf_i386_fbsd"
 
7719
            ;;
 
7720
          x86_64-*linux*)
 
7721
            LD="${LD-ld} -m elf_i386"
 
7722
            ;;
 
7723
          ppc64-*linux*|powerpc64-*linux*)
 
7724
            LD="${LD-ld} -m elf32ppclinux"
 
7725
            ;;
 
7726
          s390x-*linux*)
 
7727
            LD="${LD-ld} -m elf_s390"
 
7728
            ;;
 
7729
          sparc64-*linux*)
 
7730
            LD="${LD-ld} -m elf32_sparc"
 
7731
            ;;
 
7732
        esac
 
7733
        ;;
 
7734
      *64-bit*)
 
7735
        case $host in
 
7736
          x86_64-*kfreebsd*-gnu)
 
7737
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
7738
            ;;
 
7739
          x86_64-*linux*)
 
7740
            LD="${LD-ld} -m elf_x86_64"
 
7741
            ;;
 
7742
          ppc*-*linux*|powerpc*-*linux*)
 
7743
            LD="${LD-ld} -m elf64ppc"
 
7744
            ;;
 
7745
          s390*-*linux*|s390*-*tpf*)
 
7746
            LD="${LD-ld} -m elf64_s390"
 
7747
            ;;
 
7748
          sparc*-*linux*)
 
7749
            LD="${LD-ld} -m elf64_sparc"
 
7750
            ;;
 
7751
        esac
 
7752
        ;;
 
7753
    esac
 
7754
  fi
 
7755
  rm -rf conftest*
 
7756
  ;;
 
7757
 
 
7758
*-*-sco3.2v5*)
 
7759
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
7760
  SAVE_CFLAGS="$CFLAGS"
 
7761
  CFLAGS="$CFLAGS -belf"
 
7762
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
7763
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
7764
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
7765
  $as_echo_n "(cached) " >&6
 
7766
else
 
7767
  ac_ext=c
 
7768
ac_cpp='$CPP $CPPFLAGS'
 
7769
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7770
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7771
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7772
 
 
7773
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7774
/* end confdefs.h.  */
 
7775
 
 
7776
int
 
7777
main ()
 
7778
{
 
7779
 
 
7780
  ;
 
7781
  return 0;
 
7782
}
 
7783
_ACEOF
 
7784
if ac_fn_c_try_link "$LINENO"; then :
 
7785
  lt_cv_cc_needs_belf=yes
 
7786
else
 
7787
  lt_cv_cc_needs_belf=no
 
7788
fi
 
7789
rm -f core conftest.err conftest.$ac_objext \
 
7790
    conftest$ac_exeext conftest.$ac_ext
 
7791
     ac_ext=c
 
7792
ac_cpp='$CPP $CPPFLAGS'
 
7793
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7794
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7795
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7796
 
 
7797
fi
 
7798
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
7799
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
7800
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
7801
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
7802
    CFLAGS="$SAVE_CFLAGS"
 
7803
  fi
 
7804
  ;;
 
7805
sparc*-*solaris*)
 
7806
  # Find out which ABI we are using.
 
7807
  echo 'int i;' > conftest.$ac_ext
 
7808
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7809
  (eval $ac_compile) 2>&5
 
7810
  ac_status=$?
 
7811
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7812
  test $ac_status = 0; }; then
 
7813
    case `/usr/bin/file conftest.o` in
 
7814
    *64-bit*)
 
7815
      case $lt_cv_prog_gnu_ld in
 
7816
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
7817
      *)
 
7818
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
7819
          LD="${LD-ld} -64"
 
7820
        fi
 
7821
        ;;
 
7822
      esac
 
7823
      ;;
 
7824
    esac
 
7825
  fi
 
7826
  rm -rf conftest*
 
7827
  ;;
 
7828
esac
 
7829
 
 
7830
need_locks="$enable_libtool_lock"
 
7831
 
 
7832
 
 
7833
  case $host_os in
 
7834
    rhapsody* | darwin*)
 
7835
    if test -n "$ac_tool_prefix"; then
 
7836
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
7837
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
7838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7839
$as_echo_n "checking for $ac_word... " >&6; }
 
7840
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
7841
  $as_echo_n "(cached) " >&6
 
7842
else
 
7843
  if test -n "$DSYMUTIL"; then
 
7844
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
7845
else
 
7846
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7847
for as_dir in $PATH
 
7848
do
 
7849
  IFS=$as_save_IFS
 
7850
  test -z "$as_dir" && as_dir=.
 
7851
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7852
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7853
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7854
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7855
    break 2
 
7856
  fi
 
7857
done
 
7858
  done
 
7859
IFS=$as_save_IFS
 
7860
 
 
7861
fi
 
7862
fi
 
7863
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7864
if test -n "$DSYMUTIL"; then
 
7865
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
7866
$as_echo "$DSYMUTIL" >&6; }
 
7867
else
 
7868
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7869
$as_echo "no" >&6; }
 
7870
fi
 
7871
 
 
7872
 
 
7873
fi
 
7874
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7875
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7876
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7877
set dummy dsymutil; ac_word=$2
 
7878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7879
$as_echo_n "checking for $ac_word... " >&6; }
 
7880
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
7881
  $as_echo_n "(cached) " >&6
 
7882
else
 
7883
  if test -n "$ac_ct_DSYMUTIL"; then
 
7884
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7885
else
 
7886
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7887
for as_dir in $PATH
 
7888
do
 
7889
  IFS=$as_save_IFS
 
7890
  test -z "$as_dir" && as_dir=.
 
7891
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7892
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7893
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7894
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7895
    break 2
 
7896
  fi
 
7897
done
 
7898
  done
 
7899
IFS=$as_save_IFS
 
7900
 
 
7901
fi
 
7902
fi
 
7903
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7904
if test -n "$ac_ct_DSYMUTIL"; then
 
7905
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
7906
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
7907
else
 
7908
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7909
$as_echo "no" >&6; }
 
7910
fi
 
7911
 
 
7912
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7913
    DSYMUTIL=":"
 
7914
  else
 
7915
    case $cross_compiling:$ac_tool_warned in
 
7916
yes:)
 
7917
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7918
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7919
ac_tool_warned=yes ;;
 
7920
esac
 
7921
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7922
  fi
 
7923
else
 
7924
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7925
fi
 
7926
 
 
7927
    if test -n "$ac_tool_prefix"; then
 
7928
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7929
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7931
$as_echo_n "checking for $ac_word... " >&6; }
 
7932
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
7933
  $as_echo_n "(cached) " >&6
 
7934
else
 
7935
  if test -n "$NMEDIT"; then
 
7936
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7937
else
 
7938
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7939
for as_dir in $PATH
 
7940
do
 
7941
  IFS=$as_save_IFS
 
7942
  test -z "$as_dir" && as_dir=.
 
7943
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7944
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7945
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7946
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7947
    break 2
 
7948
  fi
 
7949
done
 
7950
  done
 
7951
IFS=$as_save_IFS
 
7952
 
 
7953
fi
 
7954
fi
 
7955
NMEDIT=$ac_cv_prog_NMEDIT
 
7956
if test -n "$NMEDIT"; then
 
7957
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
7958
$as_echo "$NMEDIT" >&6; }
 
7959
else
 
7960
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7961
$as_echo "no" >&6; }
 
7962
fi
 
7963
 
 
7964
 
 
7965
fi
 
7966
if test -z "$ac_cv_prog_NMEDIT"; then
 
7967
  ac_ct_NMEDIT=$NMEDIT
 
7968
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7969
set dummy nmedit; ac_word=$2
 
7970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7971
$as_echo_n "checking for $ac_word... " >&6; }
 
7972
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
7973
  $as_echo_n "(cached) " >&6
 
7974
else
 
7975
  if test -n "$ac_ct_NMEDIT"; then
 
7976
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7977
else
 
7978
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7979
for as_dir in $PATH
 
7980
do
 
7981
  IFS=$as_save_IFS
 
7982
  test -z "$as_dir" && as_dir=.
 
7983
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7984
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7985
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7986
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7987
    break 2
 
7988
  fi
 
7989
done
 
7990
  done
 
7991
IFS=$as_save_IFS
 
7992
 
 
7993
fi
 
7994
fi
 
7995
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7996
if test -n "$ac_ct_NMEDIT"; then
 
7997
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
7998
$as_echo "$ac_ct_NMEDIT" >&6; }
 
7999
else
 
8000
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8001
$as_echo "no" >&6; }
 
8002
fi
 
8003
 
 
8004
  if test "x$ac_ct_NMEDIT" = x; then
 
8005
    NMEDIT=":"
 
8006
  else
 
8007
    case $cross_compiling:$ac_tool_warned in
 
8008
yes:)
 
8009
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8010
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8011
ac_tool_warned=yes ;;
 
8012
esac
 
8013
    NMEDIT=$ac_ct_NMEDIT
 
8014
  fi
 
8015
else
 
8016
  NMEDIT="$ac_cv_prog_NMEDIT"
 
8017
fi
 
8018
 
 
8019
    if test -n "$ac_tool_prefix"; then
 
8020
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
8021
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
8022
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8023
$as_echo_n "checking for $ac_word... " >&6; }
 
8024
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
8025
  $as_echo_n "(cached) " >&6
 
8026
else
 
8027
  if test -n "$LIPO"; then
 
8028
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
8029
else
 
8030
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8031
for as_dir in $PATH
 
8032
do
 
8033
  IFS=$as_save_IFS
 
8034
  test -z "$as_dir" && as_dir=.
 
8035
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8036
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8037
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
8038
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8039
    break 2
 
8040
  fi
 
8041
done
 
8042
  done
 
8043
IFS=$as_save_IFS
 
8044
 
 
8045
fi
 
8046
fi
 
8047
LIPO=$ac_cv_prog_LIPO
 
8048
if test -n "$LIPO"; then
 
8049
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
8050
$as_echo "$LIPO" >&6; }
 
8051
else
 
8052
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8053
$as_echo "no" >&6; }
 
8054
fi
 
8055
 
 
8056
 
 
8057
fi
 
8058
if test -z "$ac_cv_prog_LIPO"; then
 
8059
  ac_ct_LIPO=$LIPO
 
8060
  # Extract the first word of "lipo", so it can be a program name with args.
 
8061
set dummy lipo; ac_word=$2
 
8062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8063
$as_echo_n "checking for $ac_word... " >&6; }
 
8064
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
8065
  $as_echo_n "(cached) " >&6
 
8066
else
 
8067
  if test -n "$ac_ct_LIPO"; then
 
8068
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
8069
else
 
8070
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8071
for as_dir in $PATH
 
8072
do
 
8073
  IFS=$as_save_IFS
 
8074
  test -z "$as_dir" && as_dir=.
 
8075
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8076
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8077
    ac_cv_prog_ac_ct_LIPO="lipo"
 
8078
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8079
    break 2
 
8080
  fi
 
8081
done
 
8082
  done
 
8083
IFS=$as_save_IFS
 
8084
 
 
8085
fi
 
8086
fi
 
8087
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
8088
if test -n "$ac_ct_LIPO"; then
 
8089
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
8090
$as_echo "$ac_ct_LIPO" >&6; }
 
8091
else
 
8092
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8093
$as_echo "no" >&6; }
 
8094
fi
 
8095
 
 
8096
  if test "x$ac_ct_LIPO" = x; then
 
8097
    LIPO=":"
 
8098
  else
 
8099
    case $cross_compiling:$ac_tool_warned in
 
8100
yes:)
 
8101
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8102
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8103
ac_tool_warned=yes ;;
 
8104
esac
 
8105
    LIPO=$ac_ct_LIPO
 
8106
  fi
 
8107
else
 
8108
  LIPO="$ac_cv_prog_LIPO"
 
8109
fi
 
8110
 
 
8111
    if test -n "$ac_tool_prefix"; then
 
8112
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
8113
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
8114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8115
$as_echo_n "checking for $ac_word... " >&6; }
 
8116
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
8117
  $as_echo_n "(cached) " >&6
 
8118
else
 
8119
  if test -n "$OTOOL"; then
 
8120
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
8121
else
 
8122
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8123
for as_dir in $PATH
 
8124
do
 
8125
  IFS=$as_save_IFS
 
8126
  test -z "$as_dir" && as_dir=.
 
8127
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8128
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8129
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
8130
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8131
    break 2
 
8132
  fi
 
8133
done
 
8134
  done
 
8135
IFS=$as_save_IFS
 
8136
 
 
8137
fi
 
8138
fi
 
8139
OTOOL=$ac_cv_prog_OTOOL
 
8140
if test -n "$OTOOL"; then
 
8141
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
8142
$as_echo "$OTOOL" >&6; }
 
8143
else
 
8144
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8145
$as_echo "no" >&6; }
 
8146
fi
 
8147
 
 
8148
 
 
8149
fi
 
8150
if test -z "$ac_cv_prog_OTOOL"; then
 
8151
  ac_ct_OTOOL=$OTOOL
 
8152
  # Extract the first word of "otool", so it can be a program name with args.
 
8153
set dummy otool; ac_word=$2
 
8154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8155
$as_echo_n "checking for $ac_word... " >&6; }
 
8156
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
8157
  $as_echo_n "(cached) " >&6
 
8158
else
 
8159
  if test -n "$ac_ct_OTOOL"; then
 
8160
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
8161
else
 
8162
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8163
for as_dir in $PATH
 
8164
do
 
8165
  IFS=$as_save_IFS
 
8166
  test -z "$as_dir" && as_dir=.
 
8167
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8168
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8169
    ac_cv_prog_ac_ct_OTOOL="otool"
 
8170
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8171
    break 2
 
8172
  fi
 
8173
done
 
8174
  done
 
8175
IFS=$as_save_IFS
 
8176
 
 
8177
fi
 
8178
fi
 
8179
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
8180
if test -n "$ac_ct_OTOOL"; then
 
8181
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
8182
$as_echo "$ac_ct_OTOOL" >&6; }
 
8183
else
 
8184
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8185
$as_echo "no" >&6; }
 
8186
fi
 
8187
 
 
8188
  if test "x$ac_ct_OTOOL" = x; then
 
8189
    OTOOL=":"
 
8190
  else
 
8191
    case $cross_compiling:$ac_tool_warned in
 
8192
yes:)
 
8193
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8194
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8195
ac_tool_warned=yes ;;
 
8196
esac
 
8197
    OTOOL=$ac_ct_OTOOL
 
8198
  fi
 
8199
else
 
8200
  OTOOL="$ac_cv_prog_OTOOL"
 
8201
fi
 
8202
 
 
8203
    if test -n "$ac_tool_prefix"; then
 
8204
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
8205
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
8206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8207
$as_echo_n "checking for $ac_word... " >&6; }
 
8208
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
8209
  $as_echo_n "(cached) " >&6
 
8210
else
 
8211
  if test -n "$OTOOL64"; then
 
8212
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
8213
else
 
8214
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8215
for as_dir in $PATH
 
8216
do
 
8217
  IFS=$as_save_IFS
 
8218
  test -z "$as_dir" && as_dir=.
 
8219
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8220
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8221
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
8222
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8223
    break 2
 
8224
  fi
 
8225
done
 
8226
  done
 
8227
IFS=$as_save_IFS
 
8228
 
 
8229
fi
 
8230
fi
 
8231
OTOOL64=$ac_cv_prog_OTOOL64
 
8232
if test -n "$OTOOL64"; then
 
8233
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
8234
$as_echo "$OTOOL64" >&6; }
 
8235
else
 
8236
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8237
$as_echo "no" >&6; }
 
8238
fi
 
8239
 
 
8240
 
 
8241
fi
 
8242
if test -z "$ac_cv_prog_OTOOL64"; then
 
8243
  ac_ct_OTOOL64=$OTOOL64
 
8244
  # Extract the first word of "otool64", so it can be a program name with args.
 
8245
set dummy otool64; ac_word=$2
 
8246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8247
$as_echo_n "checking for $ac_word... " >&6; }
 
8248
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
8249
  $as_echo_n "(cached) " >&6
 
8250
else
 
8251
  if test -n "$ac_ct_OTOOL64"; then
 
8252
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
8253
else
 
8254
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8255
for as_dir in $PATH
 
8256
do
 
8257
  IFS=$as_save_IFS
 
8258
  test -z "$as_dir" && as_dir=.
 
8259
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8260
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8261
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
8262
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8263
    break 2
 
8264
  fi
 
8265
done
 
8266
  done
 
8267
IFS=$as_save_IFS
 
8268
 
 
8269
fi
 
8270
fi
 
8271
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
8272
if test -n "$ac_ct_OTOOL64"; then
 
8273
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
8274
$as_echo "$ac_ct_OTOOL64" >&6; }
 
8275
else
 
8276
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8277
$as_echo "no" >&6; }
 
8278
fi
 
8279
 
 
8280
  if test "x$ac_ct_OTOOL64" = x; then
 
8281
    OTOOL64=":"
 
8282
  else
 
8283
    case $cross_compiling:$ac_tool_warned in
 
8284
yes:)
 
8285
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8286
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8287
ac_tool_warned=yes ;;
 
8288
esac
 
8289
    OTOOL64=$ac_ct_OTOOL64
 
8290
  fi
 
8291
else
 
8292
  OTOOL64="$ac_cv_prog_OTOOL64"
 
8293
fi
 
8294
 
 
8295
 
 
8296
 
 
8297
 
 
8298
 
 
8299
 
 
8300
 
 
8301
 
 
8302
 
 
8303
 
 
8304
 
 
8305
 
 
8306
 
 
8307
 
 
8308
 
 
8309
 
 
8310
 
 
8311
 
 
8312
 
 
8313
 
 
8314
 
 
8315
 
 
8316
 
 
8317
 
 
8318
 
 
8319
 
 
8320
 
 
8321
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
8322
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
8323
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
8324
  $as_echo_n "(cached) " >&6
 
8325
else
 
8326
  lt_cv_apple_cc_single_mod=no
 
8327
      if test -z "${LT_MULTI_MODULE}"; then
 
8328
        # By default we will add the -single_module flag. You can override
 
8329
        # by either setting the environment variable LT_MULTI_MODULE
 
8330
        # non-empty at configure time, or by adding -multi_module to the
 
8331
        # link flags.
 
8332
        rm -rf libconftest.dylib*
 
8333
        echo "int foo(void){return 1;}" > conftest.c
 
8334
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8335
-dynamiclib -Wl,-single_module conftest.c" >&5
 
8336
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8337
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
8338
        _lt_result=$?
 
8339
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
8340
          lt_cv_apple_cc_single_mod=yes
 
8341
        else
 
8342
          cat conftest.err >&5
 
8343
        fi
 
8344
        rm -rf libconftest.dylib*
 
8345
        rm -f conftest.*
 
8346
      fi
 
8347
fi
 
8348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
8349
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
8350
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
8351
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
8352
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
8353
  $as_echo_n "(cached) " >&6
 
8354
else
 
8355
  lt_cv_ld_exported_symbols_list=no
 
8356
      save_LDFLAGS=$LDFLAGS
 
8357
      echo "_main" > conftest.sym
 
8358
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
8359
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8360
/* end confdefs.h.  */
 
8361
 
 
8362
int
 
8363
main ()
 
8364
{
 
8365
 
 
8366
  ;
 
8367
  return 0;
 
8368
}
 
8369
_ACEOF
 
8370
if ac_fn_c_try_link "$LINENO"; then :
 
8371
  lt_cv_ld_exported_symbols_list=yes
 
8372
else
 
8373
  lt_cv_ld_exported_symbols_list=no
 
8374
fi
 
8375
rm -f core conftest.err conftest.$ac_objext \
 
8376
    conftest$ac_exeext conftest.$ac_ext
 
8377
        LDFLAGS="$save_LDFLAGS"
 
8378
 
 
8379
fi
 
8380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
8381
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
8382
    case $host_os in
 
8383
    rhapsody* | darwin1.[012])
 
8384
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
8385
    darwin1.*)
 
8386
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8387
    darwin*) # darwin 5.x on
 
8388
      # if running on 10.5 or later, the deployment target defaults
 
8389
      # to the OS version, if on x86, and 10.4, the deployment
 
8390
      # target defaults to 10.4. Don't you love it?
 
8391
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
8392
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
8393
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8394
        10.[012]*)
 
8395
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8396
        10.*)
 
8397
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8398
      esac
 
8399
    ;;
 
8400
  esac
 
8401
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
8402
      _lt_dar_single_mod='$single_module'
 
8403
    fi
 
8404
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
8405
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
8406
    else
 
8407
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8408
    fi
 
8409
    if test "$DSYMUTIL" != ":"; then
 
8410
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
8411
    else
 
8412
      _lt_dsymutil=
 
8413
    fi
 
8414
    ;;
 
8415
  esac
 
8416
 
 
8417
 
 
8418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
8419
$as_echo_n "checking for ANSI C header files... " >&6; }
 
8420
if test "${ac_cv_header_stdc+set}" = set; then :
 
8421
  $as_echo_n "(cached) " >&6
 
8422
else
 
8423
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8424
/* end confdefs.h.  */
 
8425
#include <stdlib.h>
 
8426
#include <stdarg.h>
 
8427
#include <string.h>
 
8428
#include <float.h>
 
8429
 
 
8430
int
 
8431
main ()
 
8432
{
 
8433
 
 
8434
  ;
 
8435
  return 0;
 
8436
}
 
8437
_ACEOF
 
8438
if ac_fn_c_try_compile "$LINENO"; then :
 
8439
  ac_cv_header_stdc=yes
 
8440
else
 
8441
  ac_cv_header_stdc=no
 
8442
fi
 
8443
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8444
 
 
8445
if test $ac_cv_header_stdc = yes; then
 
8446
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
8447
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8448
/* end confdefs.h.  */
 
8449
#include <string.h>
 
8450
 
 
8451
_ACEOF
 
8452
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
8453
  $EGREP "memchr" >/dev/null 2>&1; then :
 
8454
 
 
8455
else
 
8456
  ac_cv_header_stdc=no
 
8457
fi
 
8458
rm -f conftest*
 
8459
 
 
8460
fi
 
8461
 
 
8462
if test $ac_cv_header_stdc = yes; then
 
8463
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
8464
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8465
/* end confdefs.h.  */
 
8466
#include <stdlib.h>
 
8467
 
 
8468
_ACEOF
 
8469
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
8470
  $EGREP "free" >/dev/null 2>&1; then :
 
8471
 
 
8472
else
 
8473
  ac_cv_header_stdc=no
 
8474
fi
 
8475
rm -f conftest*
 
8476
 
 
8477
fi
 
8478
 
 
8479
if test $ac_cv_header_stdc = yes; then
 
8480
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
8481
  if test "$cross_compiling" = yes; then :
 
8482
  :
 
8483
else
 
8484
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8485
/* end confdefs.h.  */
 
8486
#include <ctype.h>
 
8487
#include <stdlib.h>
 
8488
#if ((' ' & 0x0FF) == 0x020)
 
8489
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
8490
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
8491
#else
 
8492
# define ISLOWER(c) \
 
8493
                   (('a' <= (c) && (c) <= 'i') \
 
8494
                     || ('j' <= (c) && (c) <= 'r') \
 
8495
                     || ('s' <= (c) && (c) <= 'z'))
 
8496
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
8497
#endif
 
8498
 
 
8499
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
8500
int
 
8501
main ()
 
8502
{
 
8503
  int i;
 
8504
  for (i = 0; i < 256; i++)
 
8505
    if (XOR (islower (i), ISLOWER (i))
 
8506
        || toupper (i) != TOUPPER (i))
 
8507
      return 2;
 
8508
  return 0;
 
8509
}
 
8510
_ACEOF
 
8511
if ac_fn_c_try_run "$LINENO"; then :
 
8512
 
 
8513
else
 
8514
  ac_cv_header_stdc=no
 
8515
fi
 
8516
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
8517
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
8518
fi
 
8519
 
 
8520
fi
 
8521
fi
 
8522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
8523
$as_echo "$ac_cv_header_stdc" >&6; }
 
8524
if test $ac_cv_header_stdc = yes; then
 
8525
 
 
8526
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
8527
 
 
8528
fi
 
8529
 
 
8530
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
8531
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
8532
                  inttypes.h stdint.h unistd.h
 
8533
do :
 
8534
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
8535
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
8536
"
 
8537
eval as_val=\$$as_ac_Header
 
8538
   if test "x$as_val" = x""yes; then :
 
8539
  cat >>confdefs.h <<_ACEOF
 
8540
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8541
_ACEOF
 
8542
 
 
8543
fi
 
8544
 
 
8545
done
 
8546
 
 
8547
 
 
8548
for ac_header in dlfcn.h
 
8549
do :
 
8550
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
8551
"
 
8552
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
8553
  cat >>confdefs.h <<_ACEOF
 
8554
#define HAVE_DLFCN_H 1
 
8555
_ACEOF
 
8556
 
 
8557
fi
 
8558
 
 
8559
done
 
8560
 
 
8561
 
 
8562
 
 
8563
ac_ext=cpp
 
8564
ac_cpp='$CXXCPP $CPPFLAGS'
 
8565
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8566
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8567
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
8568
if test -z "$CXX"; then
 
8569
  if test -n "$CCC"; then
 
8570
    CXX=$CCC
 
8571
  else
 
8572
    if test -n "$ac_tool_prefix"; then
 
8573
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
8574
  do
 
8575
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
8576
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
8577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8578
$as_echo_n "checking for $ac_word... " >&6; }
 
8579
if test "${ac_cv_prog_CXX+set}" = set; then :
 
8580
  $as_echo_n "(cached) " >&6
 
8581
else
 
8582
  if test -n "$CXX"; then
 
8583
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
8584
else
 
8585
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8586
for as_dir in $PATH
 
8587
do
 
8588
  IFS=$as_save_IFS
 
8589
  test -z "$as_dir" && as_dir=.
 
8590
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8591
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8592
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
8593
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8594
    break 2
 
8595
  fi
 
8596
done
 
8597
  done
 
8598
IFS=$as_save_IFS
 
8599
 
 
8600
fi
 
8601
fi
 
8602
CXX=$ac_cv_prog_CXX
 
8603
if test -n "$CXX"; then
 
8604
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
8605
$as_echo "$CXX" >&6; }
 
8606
else
 
8607
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8608
$as_echo "no" >&6; }
 
8609
fi
 
8610
 
 
8611
 
 
8612
    test -n "$CXX" && break
 
8613
  done
 
8614
fi
 
8615
if test -z "$CXX"; then
 
8616
  ac_ct_CXX=$CXX
 
8617
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
8618
do
 
8619
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
8620
set dummy $ac_prog; ac_word=$2
 
8621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8622
$as_echo_n "checking for $ac_word... " >&6; }
 
8623
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
8624
  $as_echo_n "(cached) " >&6
 
8625
else
 
8626
  if test -n "$ac_ct_CXX"; then
 
8627
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
8628
else
 
8629
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8630
for as_dir in $PATH
 
8631
do
 
8632
  IFS=$as_save_IFS
 
8633
  test -z "$as_dir" && as_dir=.
 
8634
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8635
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8636
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
8637
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8638
    break 2
 
8639
  fi
 
8640
done
 
8641
  done
 
8642
IFS=$as_save_IFS
 
8643
 
 
8644
fi
 
8645
fi
 
8646
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
8647
if test -n "$ac_ct_CXX"; then
 
8648
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
8649
$as_echo "$ac_ct_CXX" >&6; }
 
8650
else
 
8651
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8652
$as_echo "no" >&6; }
 
8653
fi
 
8654
 
 
8655
 
 
8656
  test -n "$ac_ct_CXX" && break
 
8657
done
 
8658
 
 
8659
  if test "x$ac_ct_CXX" = x; then
 
8660
    CXX="g++"
 
8661
  else
 
8662
    case $cross_compiling:$ac_tool_warned in
 
8663
yes:)
 
8664
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8665
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8666
ac_tool_warned=yes ;;
 
8667
esac
 
8668
    CXX=$ac_ct_CXX
 
8669
  fi
 
8670
fi
 
8671
 
 
8672
  fi
 
8673
fi
 
8674
# Provide some information about the compiler.
 
8675
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
8676
set X $ac_compile
 
8677
ac_compiler=$2
 
8678
for ac_option in --version -v -V -qversion; do
 
8679
  { { ac_try="$ac_compiler $ac_option >&5"
 
8680
case "(($ac_try" in
 
8681
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8682
  *) ac_try_echo=$ac_try;;
 
8683
esac
 
8684
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
8685
$as_echo "$ac_try_echo"; } >&5
 
8686
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
8687
  ac_status=$?
 
8688
  if test -s conftest.err; then
 
8689
    sed '10a\
 
8690
... rest of stderr output deleted ...
 
8691
         10q' conftest.err >conftest.er1
 
8692
    cat conftest.er1 >&5
 
8693
  fi
 
8694
  rm -f conftest.er1 conftest.err
 
8695
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8696
  test $ac_status = 0; }
 
8697
done
 
8698
 
 
8699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
8700
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
8701
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
8702
  $as_echo_n "(cached) " >&6
 
8703
else
 
8704
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8705
/* end confdefs.h.  */
 
8706
 
 
8707
int
 
8708
main ()
 
8709
{
 
8710
#ifndef __GNUC__
 
8711
       choke me
 
8712
#endif
 
8713
 
 
8714
  ;
 
8715
  return 0;
 
8716
}
 
8717
_ACEOF
 
8718
if ac_fn_cxx_try_compile "$LINENO"; then :
 
8719
  ac_compiler_gnu=yes
 
8720
else
 
8721
  ac_compiler_gnu=no
 
8722
fi
 
8723
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8724
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
8725
 
 
8726
fi
 
8727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
8728
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
8729
if test $ac_compiler_gnu = yes; then
 
8730
  GXX=yes
 
8731
else
 
8732
  GXX=
 
8733
fi
 
8734
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
8735
ac_save_CXXFLAGS=$CXXFLAGS
 
8736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
8737
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
8738
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
8739
  $as_echo_n "(cached) " >&6
 
8740
else
 
8741
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
8742
   ac_cxx_werror_flag=yes
 
8743
   ac_cv_prog_cxx_g=no
 
8744
   CXXFLAGS="-g"
 
8745
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8746
/* end confdefs.h.  */
 
8747
 
 
8748
int
 
8749
main ()
 
8750
{
 
8751
 
 
8752
  ;
 
8753
  return 0;
 
8754
}
 
8755
_ACEOF
 
8756
if ac_fn_cxx_try_compile "$LINENO"; then :
 
8757
  ac_cv_prog_cxx_g=yes
 
8758
else
 
8759
  CXXFLAGS=""
 
8760
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8761
/* end confdefs.h.  */
 
8762
 
 
8763
int
 
8764
main ()
 
8765
{
 
8766
 
 
8767
  ;
 
8768
  return 0;
 
8769
}
 
8770
_ACEOF
 
8771
if ac_fn_cxx_try_compile "$LINENO"; then :
 
8772
 
 
8773
else
 
8774
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
8775
         CXXFLAGS="-g"
 
8776
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8777
/* end confdefs.h.  */
 
8778
 
 
8779
int
 
8780
main ()
 
8781
{
 
8782
 
 
8783
  ;
 
8784
  return 0;
 
8785
}
 
8786
_ACEOF
 
8787
if ac_fn_cxx_try_compile "$LINENO"; then :
 
8788
  ac_cv_prog_cxx_g=yes
 
8789
fi
 
8790
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8791
fi
 
8792
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8793
fi
 
8794
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8795
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
8796
fi
 
8797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
8798
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
8799
if test "$ac_test_CXXFLAGS" = set; then
 
8800
  CXXFLAGS=$ac_save_CXXFLAGS
 
8801
elif test $ac_cv_prog_cxx_g = yes; then
 
8802
  if test "$GXX" = yes; then
 
8803
    CXXFLAGS="-g -O2"
 
8804
  else
 
8805
    CXXFLAGS="-g"
 
8806
  fi
 
8807
else
 
8808
  if test "$GXX" = yes; then
 
8809
    CXXFLAGS="-O2"
 
8810
  else
 
8811
    CXXFLAGS=
 
8812
  fi
 
8813
fi
 
8814
ac_ext=c
 
8815
ac_cpp='$CPP $CPPFLAGS'
 
8816
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8817
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8818
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8819
 
 
8820
depcc="$CXX"  am_compiler_list=
 
8821
 
 
8822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
8823
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
8824
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
8825
  $as_echo_n "(cached) " >&6
 
8826
else
 
8827
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
8828
  # We make a subdir and do the tests there.  Otherwise we can end up
 
8829
  # making bogus files that we don't know about and never remove.  For
 
8830
  # instance it was reported that on HP-UX the gcc test will end up
 
8831
  # making a dummy file named `D' -- because `-MD' means `put the output
 
8832
  # in D'.
 
8833
  mkdir conftest.dir
 
8834
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
8835
  # using a relative directory.
 
8836
  cp "$am_depcomp" conftest.dir
 
8837
  cd conftest.dir
 
8838
  # We will build objects and dependencies in a subdirectory because
 
8839
  # it helps to detect inapplicable dependency modes.  For instance
 
8840
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
8841
  # side effect of compilation, but ICC will put the dependencies in
 
8842
  # the current directory while Tru64 will put them in the object
 
8843
  # directory.
 
8844
  mkdir sub
 
8845
 
 
8846
  am_cv_CXX_dependencies_compiler_type=none
 
8847
  if test "$am_compiler_list" = ""; then
 
8848
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
8849
  fi
 
8850
  am__universal=false
 
8851
  case " $depcc " in #(
 
8852
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
8853
     esac
 
8854
 
 
8855
  for depmode in $am_compiler_list; do
 
8856
    # Setup a source with many dependencies, because some compilers
 
8857
    # like to wrap large dependency lists on column 80 (with \), and
 
8858
    # we should not choose a depcomp mode which is confused by this.
 
8859
    #
 
8860
    # We need to recreate these files for each test, as the compiler may
 
8861
    # overwrite some of them when testing with obscure command lines.
 
8862
    # This happens at least with the AIX C compiler.
 
8863
    : > sub/conftest.c
 
8864
    for i in 1 2 3 4 5 6; do
 
8865
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
8866
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
8867
      # Solaris 8's {/usr,}/bin/sh.
 
8868
      touch sub/conftst$i.h
 
8869
    done
 
8870
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
8871
 
 
8872
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
8873
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
8874
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
8875
    # versions had trouble with output in subdirs
 
8876
    am__obj=sub/conftest.${OBJEXT-o}
 
8877
    am__minus_obj="-o $am__obj"
 
8878
    case $depmode in
 
8879
    gcc)
 
8880
      # This depmode causes a compiler race in universal mode.
 
8881
      test "$am__universal" = false || continue
 
8882
      ;;
 
8883
    nosideeffect)
 
8884
      # after this tag, mechanisms are not by side-effect, so they'll
 
8885
      # only be used when explicitly requested
 
8886
      if test "x$enable_dependency_tracking" = xyes; then
 
8887
        continue
 
8888
      else
 
8889
        break
 
8890
      fi
 
8891
      ;;
 
8892
    msvisualcpp | msvcmsys)
 
8893
      # This compiler won't grok `-c -o', but also, the minuso test has
 
8894
      # not run yet.  These depmodes are late enough in the game, and
 
8895
      # so weak that their functioning should not be impacted.
 
8896
      am__obj=conftest.${OBJEXT-o}
 
8897
      am__minus_obj=
 
8898
      ;;
 
8899
    none) break ;;
 
8900
    esac
 
8901
    if depmode=$depmode \
 
8902
       source=sub/conftest.c object=$am__obj \
 
8903
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
8904
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
8905
         >/dev/null 2>conftest.err &&
 
8906
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
8907
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
8908
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
8909
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
8910
      # icc doesn't choke on unknown options, it will just issue warnings
 
8911
      # or remarks (even with -Werror).  So we grep stderr for any message
 
8912
      # that says an option was ignored or not supported.
 
8913
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
8914
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
8915
      # The diagnosis changed in icc 8.0:
 
8916
      #   icc: Command line remark: option '-MP' not supported
 
8917
      if (grep 'ignoring option' conftest.err ||
 
8918
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
8919
        am_cv_CXX_dependencies_compiler_type=$depmode
 
8920
        break
 
8921
      fi
 
8922
    fi
 
8923
  done
 
8924
 
 
8925
  cd ..
 
8926
  rm -rf conftest.dir
 
8927
else
 
8928
  am_cv_CXX_dependencies_compiler_type=none
 
8929
fi
 
8930
 
 
8931
fi
 
8932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
8933
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
8934
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
8935
 
 
8936
 if
 
8937
  test "x$enable_dependency_tracking" != xno \
 
8938
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
8939
  am__fastdepCXX_TRUE=
 
8940
  am__fastdepCXX_FALSE='#'
 
8941
else
 
8942
  am__fastdepCXX_TRUE='#'
 
8943
  am__fastdepCXX_FALSE=
 
8944
fi
 
8945
 
 
8946
 
 
8947
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
8948
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
8949
    (test "X$CXX" != "Xg++"))) ; then
 
8950
  ac_ext=cpp
 
8951
ac_cpp='$CXXCPP $CPPFLAGS'
 
8952
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8953
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8954
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
8955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
8956
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
8957
if test -z "$CXXCPP"; then
 
8958
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
8959
  $as_echo_n "(cached) " >&6
 
8960
else
 
8961
      # Double quotes because CXXCPP needs to be expanded
 
8962
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
8963
    do
 
8964
      ac_preproc_ok=false
 
8965
for ac_cxx_preproc_warn_flag in '' yes
 
8966
do
 
8967
  # Use a header file that comes with gcc, so configuring glibc
 
8968
  # with a fresh cross-compiler works.
 
8969
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
8970
  # <limits.h> exists even on freestanding compilers.
 
8971
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
8972
  # not just through cpp. "Syntax error" is here to catch this case.
 
8973
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8974
/* end confdefs.h.  */
 
8975
#ifdef __STDC__
 
8976
# include <limits.h>
 
8977
#else
 
8978
# include <assert.h>
 
8979
#endif
 
8980
                     Syntax error
 
8981
_ACEOF
 
8982
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
8983
 
 
8984
else
 
8985
  # Broken: fails on valid input.
 
8986
continue
 
8987
fi
 
8988
rm -f conftest.err conftest.$ac_ext
 
8989
 
 
8990
  # OK, works on sane cases.  Now check whether nonexistent headers
 
8991
  # can be detected and how.
 
8992
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8993
/* end confdefs.h.  */
 
8994
#include <ac_nonexistent.h>
 
8995
_ACEOF
 
8996
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
8997
  # Broken: success on invalid input.
 
8998
continue
 
8999
else
 
9000
  # Passes both tests.
 
9001
ac_preproc_ok=:
 
9002
break
 
9003
fi
 
9004
rm -f conftest.err conftest.$ac_ext
 
9005
 
 
9006
done
 
9007
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
9008
rm -f conftest.err conftest.$ac_ext
 
9009
if $ac_preproc_ok; then :
 
9010
  break
 
9011
fi
 
9012
 
 
9013
    done
 
9014
    ac_cv_prog_CXXCPP=$CXXCPP
 
9015
 
 
9016
fi
 
9017
  CXXCPP=$ac_cv_prog_CXXCPP
 
9018
else
 
9019
  ac_cv_prog_CXXCPP=$CXXCPP
 
9020
fi
 
9021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
9022
$as_echo "$CXXCPP" >&6; }
 
9023
ac_preproc_ok=false
 
9024
for ac_cxx_preproc_warn_flag in '' yes
 
9025
do
 
9026
  # Use a header file that comes with gcc, so configuring glibc
 
9027
  # with a fresh cross-compiler works.
 
9028
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
9029
  # <limits.h> exists even on freestanding compilers.
 
9030
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
9031
  # not just through cpp. "Syntax error" is here to catch this case.
 
9032
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9033
/* end confdefs.h.  */
 
9034
#ifdef __STDC__
 
9035
# include <limits.h>
 
9036
#else
 
9037
# include <assert.h>
 
9038
#endif
 
9039
                     Syntax error
 
9040
_ACEOF
 
9041
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
9042
 
 
9043
else
 
9044
  # Broken: fails on valid input.
 
9045
continue
 
9046
fi
 
9047
rm -f conftest.err conftest.$ac_ext
 
9048
 
 
9049
  # OK, works on sane cases.  Now check whether nonexistent headers
 
9050
  # can be detected and how.
 
9051
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9052
/* end confdefs.h.  */
 
9053
#include <ac_nonexistent.h>
 
9054
_ACEOF
 
9055
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
9056
  # Broken: success on invalid input.
 
9057
continue
 
9058
else
 
9059
  # Passes both tests.
 
9060
ac_preproc_ok=:
 
9061
break
 
9062
fi
 
9063
rm -f conftest.err conftest.$ac_ext
 
9064
 
 
9065
done
 
9066
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
9067
rm -f conftest.err conftest.$ac_ext
 
9068
if $ac_preproc_ok; then :
 
9069
 
 
9070
else
 
9071
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
9072
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
9073
_lt_caught_CXX_error=yes; }
 
9074
fi
 
9075
 
 
9076
ac_ext=c
 
9077
ac_cpp='$CPP $CPPFLAGS'
 
9078
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
9079
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
9080
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
9081
 
 
9082
else
 
9083
  _lt_caught_CXX_error=yes
 
9084
fi
 
9085
 
 
9086
 
 
9087
 
 
9088
 
 
9089
 
 
9090
# Set options
 
9091
 
 
9092
 
 
9093
 
 
9094
        enable_dlopen=no
 
9095
 
 
9096
 
 
9097
  enable_win32_dll=no
 
9098
 
 
9099
 
 
9100
            # Check whether --enable-shared was given.
 
9101
if test "${enable_shared+set}" = set; then :
 
9102
  enableval=$enable_shared; p=${PACKAGE-default}
 
9103
    case $enableval in
 
9104
    yes) enable_shared=yes ;;
 
9105
    no) enable_shared=no ;;
 
9106
    *)
 
9107
      enable_shared=no
 
9108
      # Look at the argument we got.  We use all the common list separators.
 
9109
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9110
      for pkg in $enableval; do
 
9111
        IFS="$lt_save_ifs"
 
9112
        if test "X$pkg" = "X$p"; then
 
9113
          enable_shared=yes
 
9114
        fi
 
9115
      done
 
9116
      IFS="$lt_save_ifs"
 
9117
      ;;
 
9118
    esac
 
9119
else
 
9120
  enable_shared=yes
 
9121
fi
 
9122
 
 
9123
 
 
9124
 
 
9125
 
 
9126
 
 
9127
 
 
9128
 
 
9129
 
 
9130
 
 
9131
 
 
9132
 
 
9133
# Check whether --with-pic was given.
 
9134
if test "${with_pic+set}" = set; then :
 
9135
  withval=$with_pic; pic_mode="$withval"
 
9136
else
 
9137
  pic_mode=default
 
9138
fi
 
9139
 
 
9140
 
 
9141
test -z "$pic_mode" && pic_mode=default
 
9142
 
 
9143
 
 
9144
 
 
9145
 
 
9146
 
 
9147
 
 
9148
 
 
9149
  # Check whether --enable-fast-install was given.
 
9150
if test "${enable_fast_install+set}" = set; then :
 
9151
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
9152
    case $enableval in
 
9153
    yes) enable_fast_install=yes ;;
 
9154
    no) enable_fast_install=no ;;
 
9155
    *)
 
9156
      enable_fast_install=no
 
9157
      # Look at the argument we got.  We use all the common list separators.
 
9158
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9159
      for pkg in $enableval; do
 
9160
        IFS="$lt_save_ifs"
 
9161
        if test "X$pkg" = "X$p"; then
 
9162
          enable_fast_install=yes
 
9163
        fi
 
9164
      done
 
9165
      IFS="$lt_save_ifs"
 
9166
      ;;
 
9167
    esac
 
9168
else
 
9169
  enable_fast_install=yes
 
9170
fi
 
9171
 
 
9172
 
 
9173
 
 
9174
 
 
9175
 
 
9176
 
 
9177
 
 
9178
 
 
9179
 
 
9180
 
 
9181
 
 
9182
# This can be used to rebuild libtool when needed
 
9183
LIBTOOL_DEPS="$ltmain"
 
9184
 
 
9185
# Always use our own libtool.
 
9186
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
9187
 
 
9188
 
 
9189
 
 
9190
 
 
9191
 
 
9192
 
 
9193
 
 
9194
 
 
9195
 
 
9196
 
 
9197
 
 
9198
 
 
9199
 
 
9200
 
 
9201
 
 
9202
 
 
9203
 
 
9204
 
 
9205
 
 
9206
 
 
9207
 
 
9208
 
 
9209
 
 
9210
 
 
9211
 
 
9212
test -z "$LN_S" && LN_S="ln -s"
 
9213
 
 
9214
 
 
9215
 
 
9216
 
 
9217
 
 
9218
 
 
9219
 
 
9220
 
 
9221
 
 
9222
 
 
9223
 
 
9224
 
 
9225
 
 
9226
 
 
9227
if test -n "${ZSH_VERSION+set}" ; then
 
9228
   setopt NO_GLOB_SUBST
 
9229
fi
 
9230
 
 
9231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
9232
$as_echo_n "checking for objdir... " >&6; }
 
9233
if test "${lt_cv_objdir+set}" = set; then :
 
9234
  $as_echo_n "(cached) " >&6
7831
9235
else
7832
9236
  rm -f .libs 2>/dev/null
7833
9237
mkdir .libs 2>/dev/null
7839
9243
fi
7840
9244
rmdir .libs 2>/dev/null
7841
9245
fi
7842
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7843
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
9246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
9247
$as_echo "$lt_cv_objdir" >&6; }
7844
9248
objdir=$lt_cv_objdir
7845
9249
 
7846
9250
 
7847
9251
 
7848
9252
 
7849
9253
 
 
9254
cat >>confdefs.h <<_ACEOF
 
9255
#define LT_OBJDIR "$lt_cv_objdir/"
 
9256
_ACEOF
 
9257
 
 
9258
 
 
9259
 
 
9260
 
 
9261
 
 
9262
 
 
9263
 
 
9264
 
 
9265
 
 
9266
 
 
9267
 
 
9268
 
 
9269
 
 
9270
 
 
9271
 
 
9272
 
 
9273
 
7850
9274
case $host_os in
7851
9275
aix3*)
7852
9276
  # AIX sometimes has problems with the GCC collect2 program.  For some
7861
9285
 
7862
9286
# Sed substitution that helps us do robust quoting.  It backslashifies
7863
9287
# metacharacters that are still active within double-quoted strings.
7864
 
Xsed='sed -e 1s/^X//'
7865
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 
9288
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7866
9289
 
7867
9290
# Same as above, but do not quote variable references.
7868
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 
9291
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7869
9292
 
7870
9293
# Sed substitution to delay expansion of an escaped shell variable in a
7871
9294
# double_quote_subst'ed string.
7872
9295
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7873
9296
 
 
9297
# Sed substitution to delay expansion of an escaped single quote.
 
9298
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
9299
 
7874
9300
# Sed substitution to avoid accidental globbing in evaled expressions
7875
9301
no_glob_subst='s/\*/\\\*/g'
7876
9302
 
7877
 
# Constants:
7878
 
rm="rm -f"
7879
 
 
7880
9303
# Global variables:
7881
 
default_ofile=libtool
 
9304
ofile=libtool
7882
9305
can_build_shared=yes
7883
9306
 
7884
9307
# All known linkers require a `.a' archive for static linking (except MSVC,
7885
9308
# which needs '.lib').
7886
9309
libext=a
7887
 
ltmain="$ac_aux_dir/ltmain.sh"
7888
 
ofile="$default_ofile"
 
9310
 
7889
9311
with_gnu_ld="$lt_cv_prog_gnu_ld"
7890
9312
 
7891
 
if test -n "$ac_tool_prefix"; then
7892
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7893
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
7894
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7895
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7896
 
if test "${ac_cv_prog_AR+set}" = set; then
7897
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7898
 
else
7899
 
  if test -n "$AR"; then
7900
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
7901
 
else
7902
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7903
 
for as_dir in $PATH
7904
 
do
7905
 
  IFS=$as_save_IFS
7906
 
  test -z "$as_dir" && as_dir=.
7907
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7908
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7909
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7910
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7911
 
    break 2
7912
 
  fi
7913
 
done
7914
 
done
7915
 
IFS=$as_save_IFS
7916
 
 
7917
 
fi
7918
 
fi
7919
 
AR=$ac_cv_prog_AR
7920
 
if test -n "$AR"; then
7921
 
  { echo "$as_me:$LINENO: result: $AR" >&5
7922
 
echo "${ECHO_T}$AR" >&6; }
7923
 
else
7924
 
  { echo "$as_me:$LINENO: result: no" >&5
7925
 
echo "${ECHO_T}no" >&6; }
7926
 
fi
7927
 
 
7928
 
 
7929
 
fi
7930
 
if test -z "$ac_cv_prog_AR"; then
7931
 
  ac_ct_AR=$AR
7932
 
  # Extract the first word of "ar", so it can be a program name with args.
7933
 
set dummy ar; ac_word=$2
7934
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7935
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7936
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7937
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7938
 
else
7939
 
  if test -n "$ac_ct_AR"; then
7940
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7941
 
else
7942
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7943
 
for as_dir in $PATH
7944
 
do
7945
 
  IFS=$as_save_IFS
7946
 
  test -z "$as_dir" && as_dir=.
7947
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7948
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7949
 
    ac_cv_prog_ac_ct_AR="ar"
7950
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7951
 
    break 2
7952
 
  fi
7953
 
done
7954
 
done
7955
 
IFS=$as_save_IFS
7956
 
 
7957
 
fi
7958
 
fi
7959
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7960
 
if test -n "$ac_ct_AR"; then
7961
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7962
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
7963
 
else
7964
 
  { echo "$as_me:$LINENO: result: no" >&5
7965
 
echo "${ECHO_T}no" >&6; }
7966
 
fi
7967
 
 
7968
 
  if test "x$ac_ct_AR" = x; then
7969
 
    AR="false"
7970
 
  else
7971
 
    case $cross_compiling:$ac_tool_warned in
7972
 
yes:)
7973
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7974
 
whose name does not start with the host triplet.  If you think this
7975
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7976
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7977
 
whose name does not start with the host triplet.  If you think this
7978
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7979
 
ac_tool_warned=yes ;;
7980
 
esac
7981
 
    AR=$ac_ct_AR
7982
 
  fi
7983
 
else
7984
 
  AR="$ac_cv_prog_AR"
7985
 
fi
7986
 
 
7987
 
if test -n "$ac_tool_prefix"; then
7988
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7989
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7990
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7991
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7992
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
7993
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7994
 
else
7995
 
  if test -n "$RANLIB"; then
7996
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7997
 
else
7998
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7999
 
for as_dir in $PATH
8000
 
do
8001
 
  IFS=$as_save_IFS
8002
 
  test -z "$as_dir" && as_dir=.
8003
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8004
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8005
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8006
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8007
 
    break 2
8008
 
  fi
8009
 
done
8010
 
done
8011
 
IFS=$as_save_IFS
8012
 
 
8013
 
fi
8014
 
fi
8015
 
RANLIB=$ac_cv_prog_RANLIB
8016
 
if test -n "$RANLIB"; then
8017
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
8018
 
echo "${ECHO_T}$RANLIB" >&6; }
8019
 
else
8020
 
  { echo "$as_me:$LINENO: result: no" >&5
8021
 
echo "${ECHO_T}no" >&6; }
8022
 
fi
8023
 
 
8024
 
 
8025
 
fi
8026
 
if test -z "$ac_cv_prog_RANLIB"; then
8027
 
  ac_ct_RANLIB=$RANLIB
8028
 
  # Extract the first word of "ranlib", so it can be a program name with args.
8029
 
set dummy ranlib; ac_word=$2
8030
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8031
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8032
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8033
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8034
 
else
8035
 
  if test -n "$ac_ct_RANLIB"; then
8036
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8037
 
else
8038
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8039
 
for as_dir in $PATH
8040
 
do
8041
 
  IFS=$as_save_IFS
8042
 
  test -z "$as_dir" && as_dir=.
8043
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8044
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8045
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
8046
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8047
 
    break 2
8048
 
  fi
8049
 
done
8050
 
done
8051
 
IFS=$as_save_IFS
8052
 
 
8053
 
fi
8054
 
fi
8055
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8056
 
if test -n "$ac_ct_RANLIB"; then
8057
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8058
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8059
 
else
8060
 
  { echo "$as_me:$LINENO: result: no" >&5
8061
 
echo "${ECHO_T}no" >&6; }
8062
 
fi
8063
 
 
8064
 
  if test "x$ac_ct_RANLIB" = x; then
8065
 
    RANLIB=":"
8066
 
  else
8067
 
    case $cross_compiling:$ac_tool_warned in
8068
 
yes:)
8069
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8070
 
whose name does not start with the host triplet.  If you think this
8071
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8072
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8073
 
whose name does not start with the host triplet.  If you think this
8074
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8075
 
ac_tool_warned=yes ;;
8076
 
esac
8077
 
    RANLIB=$ac_ct_RANLIB
8078
 
  fi
8079
 
else
8080
 
  RANLIB="$ac_cv_prog_RANLIB"
8081
 
fi
8082
 
 
8083
 
if test -n "$ac_tool_prefix"; then
8084
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8085
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
8086
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8087
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8088
 
if test "${ac_cv_prog_STRIP+set}" = set; then
8089
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8090
 
else
8091
 
  if test -n "$STRIP"; then
8092
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8093
 
else
8094
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8095
 
for as_dir in $PATH
8096
 
do
8097
 
  IFS=$as_save_IFS
8098
 
  test -z "$as_dir" && as_dir=.
8099
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8100
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8101
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8102
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8103
 
    break 2
8104
 
  fi
8105
 
done
8106
 
done
8107
 
IFS=$as_save_IFS
8108
 
 
8109
 
fi
8110
 
fi
8111
 
STRIP=$ac_cv_prog_STRIP
8112
 
if test -n "$STRIP"; then
8113
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
8114
 
echo "${ECHO_T}$STRIP" >&6; }
8115
 
else
8116
 
  { echo "$as_me:$LINENO: result: no" >&5
8117
 
echo "${ECHO_T}no" >&6; }
8118
 
fi
8119
 
 
8120
 
 
8121
 
fi
8122
 
if test -z "$ac_cv_prog_STRIP"; then
8123
 
  ac_ct_STRIP=$STRIP
8124
 
  # Extract the first word of "strip", so it can be a program name with args.
8125
 
set dummy strip; ac_word=$2
8126
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8127
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8128
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8129
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8130
 
else
8131
 
  if test -n "$ac_ct_STRIP"; then
8132
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8133
 
else
8134
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8135
 
for as_dir in $PATH
8136
 
do
8137
 
  IFS=$as_save_IFS
8138
 
  test -z "$as_dir" && as_dir=.
8139
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8140
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8141
 
    ac_cv_prog_ac_ct_STRIP="strip"
8142
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8143
 
    break 2
8144
 
  fi
8145
 
done
8146
 
done
8147
 
IFS=$as_save_IFS
8148
 
 
8149
 
fi
8150
 
fi
8151
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8152
 
if test -n "$ac_ct_STRIP"; then
8153
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8154
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8155
 
else
8156
 
  { echo "$as_me:$LINENO: result: no" >&5
8157
 
echo "${ECHO_T}no" >&6; }
8158
 
fi
8159
 
 
8160
 
  if test "x$ac_ct_STRIP" = x; then
8161
 
    STRIP=":"
8162
 
  else
8163
 
    case $cross_compiling:$ac_tool_warned in
8164
 
yes:)
8165
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8166
 
whose name does not start with the host triplet.  If you think this
8167
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8168
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8169
 
whose name does not start with the host triplet.  If you think this
8170
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8171
 
ac_tool_warned=yes ;;
8172
 
esac
8173
 
    STRIP=$ac_ct_STRIP
8174
 
  fi
8175
 
else
8176
 
  STRIP="$ac_cv_prog_STRIP"
8177
 
fi
8178
 
 
8179
 
 
8180
9313
old_CC="$CC"
8181
9314
old_CFLAGS="$CFLAGS"
8182
9315
 
8183
9316
# Set sane defaults for various variables
8184
 
test -z "$AR" && AR=ar
8185
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
8186
 
test -z "$AS" && AS=as
8187
9317
test -z "$CC" && CC=cc
8188
9318
test -z "$LTCC" && LTCC=$CC
8189
9319
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8190
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
8191
9320
test -z "$LD" && LD=ld
8192
 
test -z "$LN_S" && LN_S="ln -s"
8193
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8194
 
test -z "$NM" && NM=nm
8195
 
test -z "$SED" && SED=sed
8196
 
test -z "$OBJDUMP" && OBJDUMP=objdump
8197
 
test -z "$RANLIB" && RANLIB=:
8198
 
test -z "$STRIP" && STRIP=:
8199
9321
test -z "$ac_objext" && ac_objext=o
8200
9322
 
8201
 
# Determine commands to create old-style static archives.
8202
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8203
 
old_postinstall_cmds='chmod 644 $oldlib'
8204
 
old_postuninstall_cmds=
8205
 
 
8206
 
if test -n "$RANLIB"; then
8207
 
  case $host_os in
8208
 
  openbsd*)
8209
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8210
 
    ;;
8211
 
  *)
8212
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8213
 
    ;;
8214
 
  esac
8215
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8216
 
fi
8217
 
 
8218
9323
for cc_temp in $compiler""; do
8219
9324
  case $cc_temp in
8220
9325
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8223
9328
    *) break;;
8224
9329
  esac
8225
9330
done
8226
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
9331
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8227
9332
 
8228
9333
 
8229
9334
# Only perform the check for file, if the check method requires it
 
9335
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8230
9336
case $deplibs_check_method in
8231
9337
file_magic*)
8232
9338
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8233
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8234
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8235
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8236
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9339
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
9340
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
9341
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
9342
  $as_echo_n "(cached) " >&6
8237
9343
else
8238
9344
  case $MAGIC_CMD in
8239
9345
[\\/*] |  ?:[\\/]*)
8257
9363
            $EGREP "$file_magic_regex" > /dev/null; then
8258
9364
            :
8259
9365
          else
8260
 
            cat <<EOF 1>&2
 
9366
            cat <<_LT_EOF 1>&2
8261
9367
 
8262
9368
*** Warning: the command libtool uses to detect shared libraries,
8263
9369
*** $file_magic_cmd, produces output that libtool cannot recognize.
8268
9374
*** may want to report the problem to your system manager and/or to
8269
9375
*** bug-libtool@gnu.org
8270
9376
 
8271
 
EOF
 
9377
_LT_EOF
8272
9378
          fi ;;
8273
9379
        esac
8274
9380
      fi
8283
9389
 
8284
9390
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8285
9391
if test -n "$MAGIC_CMD"; then
8286
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8287
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
9392
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
9393
$as_echo "$MAGIC_CMD" >&6; }
8288
9394
else
8289
 
  { echo "$as_me:$LINENO: result: no" >&5
8290
 
echo "${ECHO_T}no" >&6; }
 
9395
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9396
$as_echo "no" >&6; }
8291
9397
fi
8292
9398
 
 
9399
 
 
9400
 
 
9401
 
 
9402
 
8293
9403
if test -z "$lt_cv_path_MAGIC_CMD"; then
8294
9404
  if test -n "$ac_tool_prefix"; then
8295
 
    { echo "$as_me:$LINENO: checking for file" >&5
8296
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8297
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8298
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9405
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
9406
$as_echo_n "checking for file... " >&6; }
 
9407
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
9408
  $as_echo_n "(cached) " >&6
8299
9409
else
8300
9410
  case $MAGIC_CMD in
8301
9411
[\\/*] |  ?:[\\/]*)
8319
9429
            $EGREP "$file_magic_regex" > /dev/null; then
8320
9430
            :
8321
9431
          else
8322
 
            cat <<EOF 1>&2
 
9432
            cat <<_LT_EOF 1>&2
8323
9433
 
8324
9434
*** Warning: the command libtool uses to detect shared libraries,
8325
9435
*** $file_magic_cmd, produces output that libtool cannot recognize.
8330
9440
*** may want to report the problem to your system manager and/or to
8331
9441
*** bug-libtool@gnu.org
8332
9442
 
8333
 
EOF
 
9443
_LT_EOF
8334
9444
          fi ;;
8335
9445
        esac
8336
9446
      fi
8345
9455
 
8346
9456
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8347
9457
if test -n "$MAGIC_CMD"; then
8348
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8349
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
9458
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
9459
$as_echo "$MAGIC_CMD" >&6; }
8350
9460
else
8351
 
  { echo "$as_me:$LINENO: result: no" >&5
8352
 
echo "${ECHO_T}no" >&6; }
 
9461
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9462
$as_echo "no" >&6; }
8353
9463
fi
8354
9464
 
 
9465
 
8355
9466
  else
8356
9467
    MAGIC_CMD=:
8357
9468
  fi
8361
9472
  ;;
8362
9473
esac
8363
9474
 
8364
 
enable_dlopen=no
8365
 
enable_win32_dll=no
8366
 
 
8367
 
# Check whether --enable-libtool-lock was given.
8368
 
if test "${enable_libtool_lock+set}" = set; then
8369
 
  enableval=$enable_libtool_lock;
8370
 
fi
8371
 
 
8372
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8373
 
 
8374
 
 
8375
 
# Check whether --with-pic was given.
8376
 
if test "${with_pic+set}" = set; then
8377
 
  withval=$with_pic; pic_mode="$withval"
8378
 
else
8379
 
  pic_mode=default
8380
 
fi
8381
 
 
8382
 
test -z "$pic_mode" && pic_mode=default
8383
 
 
8384
9475
# Use C for the default configuration in the libtool script
8385
 
tagname=
 
9476
 
8386
9477
lt_save_CC="$CC"
8387
9478
ac_ext=c
8388
9479
ac_cpp='$CPP $CPPFLAGS'
8405
9496
lt_simple_link_test_code='int main(){return(0);}'
8406
9497
 
8407
9498
 
 
9499
 
 
9500
 
 
9501
 
 
9502
 
 
9503
 
8408
9504
# If no C compiler was specified, use CC.
8409
9505
LTCC=${LTCC-"$CC"}
8410
9506
 
8414
9510
# Allow CC to be a program name with arguments.
8415
9511
compiler=$CC
8416
9512
 
 
9513
# Save the default compiler, since it gets overwritten when the other
 
9514
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
9515
compiler_DEFAULT=$CC
8417
9516
 
8418
9517
# save warnings/boilerplate of simple test code
8419
9518
ac_outfile=conftest.$ac_objext
8420
9519
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8421
9520
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8422
9521
_lt_compiler_boilerplate=`cat conftest.err`
8423
 
$rm conftest*
 
9522
$RM conftest*
8424
9523
 
8425
9524
ac_outfile=conftest.$ac_objext
8426
9525
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8427
9526
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8428
9527
_lt_linker_boilerplate=`cat conftest.err`
8429
 
$rm conftest*
8430
 
 
8431
 
 
 
9528
$RM -r conftest*
 
9529
 
 
9530
 
 
9531
if test -n "$compiler"; then
8432
9532
 
8433
9533
lt_prog_compiler_no_builtin_flag=
8434
9534
 
8435
9535
if test "$GCC" = yes; then
8436
9536
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8437
9537
 
8438
 
 
8439
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8440
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8441
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8442
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9538
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
9539
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
9540
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
9541
  $as_echo_n "(cached) " >&6
8443
9542
else
8444
9543
  lt_cv_prog_compiler_rtti_exceptions=no
8445
 
  ac_outfile=conftest.$ac_objext
 
9544
   ac_outfile=conftest.$ac_objext
8446
9545
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8447
9546
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8448
9547
   # Insert the option either (1) after the last *FLAGS variable, or
8454
9553
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8455
9554
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8456
9555
   -e 's:$: $lt_compiler_flag:'`
8457
 
   (eval echo "\"\$as_me:8457: $lt_compile\"" >&5)
 
9556
   (eval echo "\"\$as_me:9556: $lt_compile\"" >&5)
8458
9557
   (eval "$lt_compile" 2>conftest.err)
8459
9558
   ac_status=$?
8460
9559
   cat conftest.err >&5
8461
 
   echo "$as_me:8461: \$? = $ac_status" >&5
 
9560
   echo "$as_me:9560: \$? = $ac_status" >&5
8462
9561
   if (exit $ac_status) && test -s "$ac_outfile"; then
8463
9562
     # The compiler can only warn and ignore the option if not recognized
8464
9563
     # So say no if there are warnings other than the usual output.
8465
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9564
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8466
9565
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8467
9566
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8468
9567
       lt_cv_prog_compiler_rtti_exceptions=yes
8469
9568
     fi
8470
9569
   fi
8471
 
   $rm conftest*
 
9570
   $RM conftest*
8472
9571
 
8473
9572
fi
8474
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8475
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
9573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
9574
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8476
9575
 
8477
9576
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8478
9577
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8482
9581
 
8483
9582
fi
8484
9583
 
8485
 
lt_prog_compiler_wl=
 
9584
 
 
9585
 
 
9586
 
 
9587
 
 
9588
 
 
9589
  lt_prog_compiler_wl=
8486
9590
lt_prog_compiler_pic=
8487
9591
lt_prog_compiler_static=
8488
9592
 
8489
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8490
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
9593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
9594
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8491
9595
 
8492
9596
  if test "$GCC" = yes; then
8493
9597
    lt_prog_compiler_wl='-Wl,'
8503
9607
      ;;
8504
9608
 
8505
9609
    amigaos*)
8506
 
      # FIXME: we need at least 68020 code to build shared libraries, but
8507
 
      # adding the `-m68020' flag to GCC prevents building anything better,
8508
 
      # like `-m68040'.
8509
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
9610
      case $host_cpu in
 
9611
      powerpc)
 
9612
            # see comment about AmigaOS4 .so support
 
9613
            lt_prog_compiler_pic='-fPIC'
 
9614
        ;;
 
9615
      m68k)
 
9616
            # FIXME: we need at least 68020 code to build shared libraries, but
 
9617
            # adding the `-m68020' flag to GCC prevents building anything better,
 
9618
            # like `-m68040'.
 
9619
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
9620
        ;;
 
9621
      esac
8510
9622
      ;;
8511
9623
 
8512
9624
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8513
9625
      # PIC is the default for these OSes.
8514
9626
      ;;
8515
9627
 
8516
 
    mingw* | cygwin* | pw32* | os2*)
 
9628
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8517
9629
      # This hack is so that the source file can tell whether it is being
8518
9630
      # built for inclusion in a dll (and should export symbols for example).
8519
9631
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8527
9639
      lt_prog_compiler_pic='-fno-common'
8528
9640
      ;;
8529
9641
 
 
9642
    hpux*)
 
9643
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
9644
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
9645
      # sets the default TLS model and affects inlining.
 
9646
      case $host_cpu in
 
9647
      hppa*64*)
 
9648
        # +Z the default
 
9649
        ;;
 
9650
      *)
 
9651
        lt_prog_compiler_pic='-fPIC'
 
9652
        ;;
 
9653
      esac
 
9654
      ;;
 
9655
 
8530
9656
    interix[3-9]*)
8531
9657
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8532
9658
      # Instead, we relocate shared libraries at runtime.
8539
9665
      enable_shared=no
8540
9666
      ;;
8541
9667
 
 
9668
    *nto* | *qnx*)
 
9669
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9670
      # it will coredump.
 
9671
      lt_prog_compiler_pic='-fPIC -shared'
 
9672
      ;;
 
9673
 
8542
9674
    sysv4*MP*)
8543
9675
      if test -d /usr/nec; then
8544
9676
        lt_prog_compiler_pic=-Kconform_pic
8545
9677
      fi
8546
9678
      ;;
8547
9679
 
8548
 
    hpux*)
8549
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8550
 
      # not for PA HP-UX.
8551
 
      case $host_cpu in
8552
 
      hppa*64*|ia64*)
8553
 
        # +Z the default
8554
 
        ;;
8555
 
      *)
8556
 
        lt_prog_compiler_pic='-fPIC'
8557
 
        ;;
8558
 
      esac
8559
 
      ;;
8560
 
 
8561
9680
    *)
8562
9681
      lt_prog_compiler_pic='-fPIC'
8563
9682
      ;;
8574
9693
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8575
9694
      fi
8576
9695
      ;;
8577
 
      darwin*)
8578
 
        # PIC is the default on this platform
8579
 
        # Common symbols not allowed in MH_DYLIB files
8580
 
       case $cc_basename in
8581
 
         xlc*)
8582
 
         lt_prog_compiler_pic='-qnocommon'
8583
 
         lt_prog_compiler_wl='-Wl,'
8584
 
         ;;
8585
 
       esac
8586
 
       ;;
8587
9696
 
8588
 
    mingw* | cygwin* | pw32* | os2*)
 
9697
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8589
9698
      # This hack is so that the source file can tell whether it is being
8590
9699
      # built for inclusion in a dll (and should export symbols for example).
8591
9700
      lt_prog_compiler_pic='-DDLL_EXPORT'
8613
9722
      lt_prog_compiler_static='-non_shared'
8614
9723
      ;;
8615
9724
 
8616
 
    newsos6)
8617
 
      lt_prog_compiler_pic='-KPIC'
8618
 
      lt_prog_compiler_static='-Bstatic'
8619
 
      ;;
8620
 
 
8621
 
    linux* | k*bsd*-gnu)
 
9725
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8622
9726
      case $cc_basename in
8623
 
      icc* | ecc*)
 
9727
      # old Intel for x86_64 which still supported -KPIC.
 
9728
      ecc*)
8624
9729
        lt_prog_compiler_wl='-Wl,'
8625
9730
        lt_prog_compiler_pic='-KPIC'
8626
9731
        lt_prog_compiler_static='-static'
8627
9732
        ;;
 
9733
      # icc used to be incompatible with GCC.
 
9734
      # ICC 10 doesn't accept -KPIC any more.
 
9735
      icc* | ifort*)
 
9736
        lt_prog_compiler_wl='-Wl,'
 
9737
        lt_prog_compiler_pic='-fPIC'
 
9738
        lt_prog_compiler_static='-static'
 
9739
        ;;
 
9740
      # Lahey Fortran 8.1.
 
9741
      lf95*)
 
9742
        lt_prog_compiler_wl='-Wl,'
 
9743
        lt_prog_compiler_pic='--shared'
 
9744
        lt_prog_compiler_static='--static'
 
9745
        ;;
8628
9746
      pgcc* | pgf77* | pgf90* | pgf95*)
8629
9747
        # Portland Group compilers (*not* the Pentium gcc compiler,
8630
9748
        # which looks to be a dead project)
8637
9755
        # All Alpha code is PIC.
8638
9756
        lt_prog_compiler_static='-non_shared'
8639
9757
        ;;
 
9758
      xl*)
 
9759
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
9760
        lt_prog_compiler_wl='-Wl,'
 
9761
        lt_prog_compiler_pic='-qpic'
 
9762
        lt_prog_compiler_static='-qstaticlink'
 
9763
        ;;
8640
9764
      *)
8641
 
        case `$CC -V 2>&1 | sed 5q` in
 
9765
        case `$CC -V 2>&1 | sed 5q` in
8642
9766
        *Sun\ C*)
8643
9767
          # Sun C 5.9
8644
9768
          lt_prog_compiler_pic='-KPIC'
8656
9780
      esac
8657
9781
      ;;
8658
9782
 
 
9783
    newsos6)
 
9784
      lt_prog_compiler_pic='-KPIC'
 
9785
      lt_prog_compiler_static='-Bstatic'
 
9786
      ;;
 
9787
 
 
9788
    *nto* | *qnx*)
 
9789
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9790
      # it will coredump.
 
9791
      lt_prog_compiler_pic='-fPIC -shared'
 
9792
      ;;
 
9793
 
8659
9794
    osf3* | osf4* | osf5*)
8660
9795
      lt_prog_compiler_wl='-Wl,'
8661
9796
      # All OSF/1 code is PIC.
8718
9853
    esac
8719
9854
  fi
8720
9855
 
8721
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8722
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
9856
case $host_os in
 
9857
  # For platforms which do not support PIC, -DPIC is meaningless:
 
9858
  *djgpp*)
 
9859
    lt_prog_compiler_pic=
 
9860
    ;;
 
9861
  *)
 
9862
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
9863
    ;;
 
9864
esac
 
9865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
9866
$as_echo "$lt_prog_compiler_pic" >&6; }
 
9867
 
 
9868
 
 
9869
 
 
9870
 
 
9871
 
8723
9872
 
8724
9873
#
8725
9874
# Check to make sure the PIC flag actually works.
8726
9875
#
8727
9876
if test -n "$lt_prog_compiler_pic"; then
8728
 
 
8729
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8730
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8731
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
8732
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9877
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9878
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
9879
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
9880
  $as_echo_n "(cached) " >&6
8733
9881
else
8734
 
  lt_prog_compiler_pic_works=no
8735
 
  ac_outfile=conftest.$ac_objext
 
9882
  lt_cv_prog_compiler_pic_works=no
 
9883
   ac_outfile=conftest.$ac_objext
8736
9884
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8737
9885
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8738
9886
   # Insert the option either (1) after the last *FLAGS variable, or
8744
9892
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8745
9893
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8746
9894
   -e 's:$: $lt_compiler_flag:'`
8747
 
   (eval echo "\"\$as_me:8747: $lt_compile\"" >&5)
 
9895
   (eval echo "\"\$as_me:9895: $lt_compile\"" >&5)
8748
9896
   (eval "$lt_compile" 2>conftest.err)
8749
9897
   ac_status=$?
8750
9898
   cat conftest.err >&5
8751
 
   echo "$as_me:8751: \$? = $ac_status" >&5
 
9899
   echo "$as_me:9899: \$? = $ac_status" >&5
8752
9900
   if (exit $ac_status) && test -s "$ac_outfile"; then
8753
9901
     # The compiler can only warn and ignore the option if not recognized
8754
9902
     # So say no if there are warnings other than the usual output.
8755
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9903
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8756
9904
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8757
9905
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8758
 
       lt_prog_compiler_pic_works=yes
 
9906
       lt_cv_prog_compiler_pic_works=yes
8759
9907
     fi
8760
9908
   fi
8761
 
   $rm conftest*
 
9909
   $RM conftest*
8762
9910
 
8763
9911
fi
8764
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8765
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
9912
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
9913
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8766
9914
 
8767
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
9915
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8768
9916
    case $lt_prog_compiler_pic in
8769
9917
     "" | " "*) ;;
8770
9918
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8775
9923
fi
8776
9924
 
8777
9925
fi
8778
 
case $host_os in
8779
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8780
 
  *djgpp*)
8781
 
    lt_prog_compiler_pic=
8782
 
    ;;
8783
 
  *)
8784
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8785
 
    ;;
8786
 
esac
 
9926
 
 
9927
 
 
9928
 
 
9929
 
 
9930
 
8787
9931
 
8788
9932
#
8789
9933
# Check to make sure the static flag actually works.
8790
9934
#
8791
9935
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8792
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8793
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8794
 
if test "${lt_prog_compiler_static_works+set}" = set; then
8795
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9937
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
9938
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
9939
  $as_echo_n "(cached) " >&6
8796
9940
else
8797
 
  lt_prog_compiler_static_works=no
 
9941
  lt_cv_prog_compiler_static_works=no
8798
9942
   save_LDFLAGS="$LDFLAGS"
8799
9943
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8800
9944
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8804
9948
     if test -s conftest.err; then
8805
9949
       # Append any errors to the config.log.
8806
9950
       cat conftest.err 1>&5
8807
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
9951
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8808
9952
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8809
9953
       if diff conftest.exp conftest.er2 >/dev/null; then
8810
 
         lt_prog_compiler_static_works=yes
 
9954
         lt_cv_prog_compiler_static_works=yes
8811
9955
       fi
8812
9956
     else
8813
 
       lt_prog_compiler_static_works=yes
 
9957
       lt_cv_prog_compiler_static_works=yes
8814
9958
     fi
8815
9959
   fi
8816
 
   $rm conftest*
 
9960
   $RM -r conftest*
8817
9961
   LDFLAGS="$save_LDFLAGS"
8818
9962
 
8819
9963
fi
8820
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8821
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
9964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
9965
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8822
9966
 
8823
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
9967
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8824
9968
    :
8825
9969
else
8826
9970
    lt_prog_compiler_static=
8827
9971
fi
8828
9972
 
8829
9973
 
8830
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8831
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8832
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8833
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8834
 
else
8835
 
  lt_cv_prog_compiler_c_o=no
8836
 
   $rm -r conftest 2>/dev/null
8837
 
   mkdir conftest
8838
 
   cd conftest
8839
 
   mkdir out
8840
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8841
 
 
8842
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8843
 
   # Insert the option either (1) after the last *FLAGS variable, or
8844
 
   # (2) before a word containing "conftest.", or (3) at the end.
8845
 
   # Note that $ac_compile itself does not contain backslashes and begins
8846
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8847
 
   lt_compile=`echo "$ac_compile" | $SED \
8848
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8849
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8850
 
   -e 's:$: $lt_compiler_flag:'`
8851
 
   (eval echo "\"\$as_me:8851: $lt_compile\"" >&5)
8852
 
   (eval "$lt_compile" 2>out/conftest.err)
8853
 
   ac_status=$?
8854
 
   cat out/conftest.err >&5
8855
 
   echo "$as_me:8855: \$? = $ac_status" >&5
8856
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8857
 
   then
8858
 
     # The compiler can only warn and ignore the option if not recognized
8859
 
     # So say no if there are warnings
8860
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8861
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8862
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8863
 
       lt_cv_prog_compiler_c_o=yes
8864
 
     fi
8865
 
   fi
8866
 
   chmod u+w . 2>&5
8867
 
   $rm conftest*
8868
 
   # SGI C++ compiler will create directory out/ii_files/ for
8869
 
   # template instantiation
8870
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8871
 
   $rm out/* && rmdir out
8872
 
   cd ..
8873
 
   rmdir conftest
8874
 
   $rm conftest*
8875
 
 
8876
 
fi
8877
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8878
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
9974
 
 
9975
 
 
9976
 
 
9977
 
 
9978
 
 
9979
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9980
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9981
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9982
  $as_echo_n "(cached) " >&6
 
9983
else
 
9984
  lt_cv_prog_compiler_c_o=no
 
9985
   $RM -r conftest 2>/dev/null
 
9986
   mkdir conftest
 
9987
   cd conftest
 
9988
   mkdir out
 
9989
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9990
 
 
9991
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9992
   # Insert the option either (1) after the last *FLAGS variable, or
 
9993
   # (2) before a word containing "conftest.", or (3) at the end.
 
9994
   # Note that $ac_compile itself does not contain backslashes and begins
 
9995
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9996
   lt_compile=`echo "$ac_compile" | $SED \
 
9997
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9998
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9999
   -e 's:$: $lt_compiler_flag:'`
 
10000
   (eval echo "\"\$as_me:10000: $lt_compile\"" >&5)
 
10001
   (eval "$lt_compile" 2>out/conftest.err)
 
10002
   ac_status=$?
 
10003
   cat out/conftest.err >&5
 
10004
   echo "$as_me:10004: \$? = $ac_status" >&5
 
10005
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10006
   then
 
10007
     # The compiler can only warn and ignore the option if not recognized
 
10008
     # So say no if there are warnings
 
10009
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
10010
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10011
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10012
       lt_cv_prog_compiler_c_o=yes
 
10013
     fi
 
10014
   fi
 
10015
   chmod u+w . 2>&5
 
10016
   $RM conftest*
 
10017
   # SGI C++ compiler will create directory out/ii_files/ for
 
10018
   # template instantiation
 
10019
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10020
   $RM out/* && rmdir out
 
10021
   cd ..
 
10022
   $RM -r conftest
 
10023
   $RM conftest*
 
10024
 
 
10025
fi
 
10026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
10027
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10028
 
 
10029
 
 
10030
 
 
10031
 
 
10032
 
 
10033
 
 
10034
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10035
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10036
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
10037
  $as_echo_n "(cached) " >&6
 
10038
else
 
10039
  lt_cv_prog_compiler_c_o=no
 
10040
   $RM -r conftest 2>/dev/null
 
10041
   mkdir conftest
 
10042
   cd conftest
 
10043
   mkdir out
 
10044
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10045
 
 
10046
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10047
   # Insert the option either (1) after the last *FLAGS variable, or
 
10048
   # (2) before a word containing "conftest.", or (3) at the end.
 
10049
   # Note that $ac_compile itself does not contain backslashes and begins
 
10050
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10051
   lt_compile=`echo "$ac_compile" | $SED \
 
10052
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10053
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10054
   -e 's:$: $lt_compiler_flag:'`
 
10055
   (eval echo "\"\$as_me:10055: $lt_compile\"" >&5)
 
10056
   (eval "$lt_compile" 2>out/conftest.err)
 
10057
   ac_status=$?
 
10058
   cat out/conftest.err >&5
 
10059
   echo "$as_me:10059: \$? = $ac_status" >&5
 
10060
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10061
   then
 
10062
     # The compiler can only warn and ignore the option if not recognized
 
10063
     # So say no if there are warnings
 
10064
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
10065
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10066
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10067
       lt_cv_prog_compiler_c_o=yes
 
10068
     fi
 
10069
   fi
 
10070
   chmod u+w . 2>&5
 
10071
   $RM conftest*
 
10072
   # SGI C++ compiler will create directory out/ii_files/ for
 
10073
   # template instantiation
 
10074
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10075
   $RM out/* && rmdir out
 
10076
   cd ..
 
10077
   $RM -r conftest
 
10078
   $RM conftest*
 
10079
 
 
10080
fi
 
10081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
10082
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10083
 
 
10084
 
8879
10085
 
8880
10086
 
8881
10087
hard_links="nottested"
8882
10088
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8883
10089
  # do not overwrite the value of need_locks provided by the user
8884
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8885
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
10090
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
10091
$as_echo_n "checking if we can lock with hard links... " >&6; }
8886
10092
  hard_links=yes
8887
 
  $rm conftest*
 
10093
  $RM conftest*
8888
10094
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8889
10095
  touch conftest.a
8890
10096
  ln conftest.a conftest.b 2>&5 || hard_links=no
8891
10097
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8892
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
8893
 
echo "${ECHO_T}$hard_links" >&6; }
 
10098
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
10099
$as_echo "$hard_links" >&6; }
8894
10100
  if test "$hard_links" = no; then
8895
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8896
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
10101
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
10102
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8897
10103
    need_locks=warn
8898
10104
  fi
8899
10105
else
8900
10106
  need_locks=no
8901
10107
fi
8902
10108
 
8903
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8904
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
10109
 
 
10110
 
 
10111
 
 
10112
 
 
10113
 
 
10114
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10115
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8905
10116
 
8906
10117
  runpath_var=
8907
10118
  allow_undefined_flag=
8908
 
  enable_shared_with_static_runtimes=no
 
10119
  always_export_symbols=no
8909
10120
  archive_cmds=
8910
10121
  archive_expsym_cmds=
8911
 
  old_archive_From_new_cmds=
8912
 
  old_archive_from_expsyms_cmds=
 
10122
  compiler_needs_object=no
 
10123
  enable_shared_with_static_runtimes=no
8913
10124
  export_dynamic_flag_spec=
8914
 
  whole_archive_flag_spec=
8915
 
  thread_safe_flag_spec=
 
10125
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
10126
  hardcode_automatic=no
 
10127
  hardcode_direct=no
 
10128
  hardcode_direct_absolute=no
8916
10129
  hardcode_libdir_flag_spec=
8917
10130
  hardcode_libdir_flag_spec_ld=
8918
10131
  hardcode_libdir_separator=
8919
 
  hardcode_direct=no
8920
10132
  hardcode_minus_L=no
8921
10133
  hardcode_shlibpath_var=unsupported
 
10134
  inherit_rpath=no
8922
10135
  link_all_deplibs=unknown
8923
 
  hardcode_automatic=no
8924
10136
  module_cmds=
8925
10137
  module_expsym_cmds=
8926
 
  always_export_symbols=no
8927
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
10138
  old_archive_from_new_cmds=
 
10139
  old_archive_from_expsyms_cmds=
 
10140
  thread_safe_flag_spec=
 
10141
  whole_archive_flag_spec=
8928
10142
  # include_expsyms should be a list of space-separated symbols to be *always*
8929
10143
  # included in the symbol list
8930
10144
  include_expsyms=
8932
10146
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8933
10147
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8934
10148
  # as well as any symbol that contains `d'.
8935
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
10149
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8936
10150
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8937
10151
  # platforms (ab)use it in PIC code, but their linkers get confused if
8938
10152
  # the symbol is explicitly referenced.  Since portable code cannot
8939
10153
  # rely on this symbol name, it's probably fine to never include it in
8940
10154
  # preloaded symbol tables.
 
10155
  # Exclude shared library initialization/finalization symbols.
8941
10156
  extract_expsyms_cmds=
8942
 
  # Just being paranoid about ensuring that cc_basename is set.
8943
 
  for cc_temp in $compiler""; do
8944
 
  case $cc_temp in
8945
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8946
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8947
 
    \-*) ;;
8948
 
    *) break;;
8949
 
  esac
8950
 
done
8951
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8952
10157
 
8953
10158
  case $host_os in
8954
 
  cygwin* | mingw* | pw32*)
 
10159
  cygwin* | mingw* | pw32* | cegcc*)
8955
10160
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8956
10161
    # When not using gcc, we currently assume that we are using
8957
10162
    # Microsoft Visual C++.
8966
10171
  openbsd*)
8967
10172
    with_gnu_ld=no
8968
10173
    ;;
 
10174
  linux* | k*bsd*-gnu)
 
10175
    link_all_deplibs=no
 
10176
    ;;
8969
10177
  esac
8970
10178
 
8971
10179
  ld_shlibs=yes
8977
10185
    # are reset later if shared libraries are not supported. Putting them
8978
10186
    # here allows them to be overridden if necessary.
8979
10187
    runpath_var=LD_RUN_PATH
8980
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
10188
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8981
10189
    export_dynamic_flag_spec='${wl}--export-dynamic'
8982
10190
    # ancient GNU ld didn't support --whole-archive et. al.
8983
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8984
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8985
 
      else
8986
 
        whole_archive_flag_spec=
 
10191
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
10192
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
10193
    else
 
10194
      whole_archive_flag_spec=
8987
10195
    fi
8988
10196
    supports_anon_versioning=no
8989
 
    case `$LD -v 2>/dev/null` in
 
10197
    case `$LD -v 2>&1` in
 
10198
      *GNU\ gold*) supports_anon_versioning=yes ;;
8990
10199
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8991
10200
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8992
10201
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8996
10205
 
8997
10206
    # See if GNU ld supports shared libraries.
8998
10207
    case $host_os in
8999
 
    aix3* | aix4* | aix5*)
 
10208
    aix[3-9]*)
9000
10209
      # On AIX/PPC, the GNU linker is very broken
9001
10210
      if test "$host_cpu" != ia64; then
9002
10211
        ld_shlibs=no
9003
 
        cat <<EOF 1>&2
 
10212
        cat <<_LT_EOF 1>&2
9004
10213
 
9005
10214
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9006
10215
*** to be unable to reliably create shared libraries on AIX.
9008
10217
*** really care for shared libraries, you may want to modify your PATH
9009
10218
*** so that a non-GNU linker is found, and then restart.
9010
10219
 
9011
 
EOF
 
10220
_LT_EOF
9012
10221
      fi
9013
10222
      ;;
9014
10223
 
9015
10224
    amigaos*)
9016
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9017
 
      hardcode_libdir_flag_spec='-L$libdir'
9018
 
      hardcode_minus_L=yes
9019
 
 
9020
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9021
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
9022
 
      # to version 4, is to share data among multiple programs linked
9023
 
      # with the same dynamic library.  Since this doesn't match the
9024
 
      # behavior of shared libraries on other platforms, we can't use
9025
 
      # them.
9026
 
      ld_shlibs=no
 
10225
      case $host_cpu in
 
10226
      powerpc)
 
10227
            # see comment about AmigaOS4 .so support
 
10228
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10229
            archive_expsym_cmds=''
 
10230
        ;;
 
10231
      m68k)
 
10232
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
10233
            hardcode_libdir_flag_spec='-L$libdir'
 
10234
            hardcode_minus_L=yes
 
10235
        ;;
 
10236
      esac
9027
10237
      ;;
9028
10238
 
9029
10239
    beos*)
9030
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
10240
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9031
10241
        allow_undefined_flag=unsupported
9032
10242
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9033
10243
        # support --undefined.  This deserves some investigation.  FIXME
9037
10247
      fi
9038
10248
      ;;
9039
10249
 
9040
 
    cygwin* | mingw* | pw32*)
9041
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
10250
    cygwin* | mingw* | pw32* | cegcc*)
 
10251
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9042
10252
      # as there is no search path for DLLs.
9043
10253
      hardcode_libdir_flag_spec='-L$libdir'
9044
10254
      allow_undefined_flag=unsupported
9045
10255
      always_export_symbols=no
9046
10256
      enable_shared_with_static_runtimes=yes
9047
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10257
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9048
10258
 
9049
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
10259
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9050
10260
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9051
10261
        # If the export-symbols file already is a .def file (1st line
9052
10262
        # is EXPORTS), use it as is; otherwise, prepend...
9077
10287
      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'
9078
10288
      ;;
9079
10289
 
9080
 
    gnu* | linux* | k*bsd*-gnu)
9081
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
10290
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
10291
      tmp_diet=no
 
10292
      if test "$host_os" = linux-dietlibc; then
 
10293
        case $cc_basename in
 
10294
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
10295
        esac
 
10296
      fi
 
10297
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
10298
         && test "$tmp_diet" = no
 
10299
      then
9082
10300
        tmp_addflag=
 
10301
        tmp_sharedflag='-shared'
9083
10302
        case $cc_basename,$host_cpu in
9084
 
        pgcc*)                          # Portland Group C compiler
9085
 
          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'
 
10303
        pgcc*)                          # Portland Group C compiler
 
10304
          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'
9086
10305
          tmp_addflag=' $pic_flag'
9087
10306
          ;;
9088
10307
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9089
 
          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'
 
10308
          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'
9090
10309
          tmp_addflag=' $pic_flag -Mnomain' ;;
9091
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
10310
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9092
10311
          tmp_addflag=' -i_dynamic' ;;
9093
10312
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9094
10313
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9095
10314
        ifc* | ifort*)                  # Intel Fortran compiler
9096
10315
          tmp_addflag=' -nofor_main' ;;
 
10316
        lf95*)                          # Lahey Fortran 8.1
 
10317
          whole_archive_flag_spec=
 
10318
          tmp_sharedflag='--shared' ;;
 
10319
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
10320
          tmp_sharedflag='-qmkshrobj'
 
10321
          tmp_addflag= ;;
9097
10322
        esac
9098
10323
        case `$CC -V 2>&1 | sed 5q` in
9099
10324
        *Sun\ C*)                       # Sun C 5.9
9100
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
10325
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
10326
          compiler_needs_object=yes
9101
10327
          tmp_sharedflag='-G' ;;
9102
10328
        *Sun\ F*)                       # Sun Fortran 8.3
9103
10329
          tmp_sharedflag='-G' ;;
9104
 
        *)
9105
 
          tmp_sharedflag='-shared' ;;
9106
10330
        esac
9107
10331
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9108
10332
 
9109
 
        if test $supports_anon_versioning = yes; then
9110
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9111
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9112
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
9113
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9114
 
        fi
9115
 
        link_all_deplibs=no
 
10333
        if test "x$supports_anon_versioning" = xyes; then
 
10334
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
10335
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
10336
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
10337
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
10338
        fi
 
10339
 
 
10340
        case $cc_basename in
 
10341
        xlf*)
 
10342
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
10343
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
10344
          hardcode_libdir_flag_spec=
 
10345
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
10346
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
10347
          if test "x$supports_anon_versioning" = xyes; then
 
10348
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
10349
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
10350
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
10351
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
10352
          fi
 
10353
          ;;
 
10354
        esac
9116
10355
      else
9117
 
        ld_shlibs=no
 
10356
        ld_shlibs=no
9118
10357
      fi
9119
10358
      ;;
9120
10359
 
9121
10360
    netbsd* | netbsdelf*-gnu)
9122
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10361
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9123
10362
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9124
10363
        wlarc=
9125
10364
      else
9129
10368
      ;;
9130
10369
 
9131
10370
    solaris*)
9132
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
10371
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9133
10372
        ld_shlibs=no
9134
 
        cat <<EOF 1>&2
 
10373
        cat <<_LT_EOF 1>&2
9135
10374
 
9136
10375
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9137
10376
*** create shared libraries on Solaris systems.  Therefore, libtool
9140
10379
*** your PATH or compiler configuration so that the native linker is
9141
10380
*** used, and then restart.
9142
10381
 
9143
 
EOF
9144
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
10382
_LT_EOF
 
10383
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9145
10384
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9146
10385
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9147
10386
      else
9165
10404
_LT_EOF
9166
10405
        ;;
9167
10406
        *)
9168
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9169
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9170
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9171
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
10407
          # For security reasons, it is highly recommended that you always
 
10408
          # use absolute paths for naming shared libraries, and exclude the
 
10409
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
10410
          # requires that you compile everything twice, which is a pain.
 
10411
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10412
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10413
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10414
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9172
10415
          else
9173
10416
            ld_shlibs=no
9174
10417
          fi
9184
10427
      ;;
9185
10428
 
9186
10429
    *)
9187
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
10430
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9188
10431
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9189
10432
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9190
10433
      else
9216
10459
      fi
9217
10460
      ;;
9218
10461
 
9219
 
    aix4* | aix5*)
 
10462
    aix[4-9]*)
9220
10463
      if test "$host_cpu" = ia64; then
9221
10464
        # On IA64, the linker does run time linking by default, so we don't
9222
10465
        # have to do anything special.
9226
10469
      else
9227
10470
        # If we're using GNU nm, then we don't want the "-C" option.
9228
10471
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9229
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
9230
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 
10472
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
10473
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9231
10474
        else
9232
 
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 
10475
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9233
10476
        fi
9234
10477
        aix_use_runtimelinking=no
9235
10478
 
9236
10479
        # Test if we are trying to use run time linking or normal
9237
10480
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9238
10481
        # need to do runtime linking.
9239
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
10482
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9240
10483
          for ld_flag in $LDFLAGS; do
9241
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9242
 
            aix_use_runtimelinking=yes
9243
 
            break
9244
 
          fi
 
10484
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
10485
            aix_use_runtimelinking=yes
 
10486
            break
 
10487
          fi
9245
10488
          done
9246
10489
          ;;
9247
10490
        esac
9258
10501
 
9259
10502
      archive_cmds=''
9260
10503
      hardcode_direct=yes
 
10504
      hardcode_direct_absolute=yes
9261
10505
      hardcode_libdir_separator=':'
9262
10506
      link_all_deplibs=yes
 
10507
      file_list_spec='${wl}-f,'
9263
10508
 
9264
10509
      if test "$GCC" = yes; then
9265
10510
        case $host_os in aix4.[012]|aix4.[012].*)
9266
10511
        # We only want to do this on AIX 4.2 and lower, the check
9267
10512
        # below for broken collect2 doesn't work under 4.3+
9268
10513
          collect2name=`${CC} -print-prog-name=collect2`
9269
 
          if test -f "$collect2name" && \
9270
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
10514
          if test -f "$collect2name" &&
 
10515
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9271
10516
          then
9272
 
          # We have reworked collect2
9273
 
          :
 
10517
          # We have reworked collect2
 
10518
          :
9274
10519
          else
9275
 
          # We have old collect2
9276
 
          hardcode_direct=unsupported
9277
 
          # It fails to find uninstalled libraries when the uninstalled
9278
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9279
 
          # to unsupported forces relinking
9280
 
          hardcode_minus_L=yes
9281
 
          hardcode_libdir_flag_spec='-L$libdir'
9282
 
          hardcode_libdir_separator=
 
10520
          # We have old collect2
 
10521
          hardcode_direct=unsupported
 
10522
          # It fails to find uninstalled libraries when the uninstalled
 
10523
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
10524
          # to unsupported forces relinking
 
10525
          hardcode_minus_L=yes
 
10526
          hardcode_libdir_flag_spec='-L$libdir'
 
10527
          hardcode_libdir_separator=
9283
10528
          fi
9284
10529
          ;;
9285
10530
        esac
9287
10532
        if test "$aix_use_runtimelinking" = yes; then
9288
10533
          shared_flag="$shared_flag "'${wl}-G'
9289
10534
        fi
 
10535
        link_all_deplibs=no
9290
10536
      else
9291
10537
        # not using gcc
9292
10538
        if test "$host_cpu" = ia64; then
9293
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9294
 
        # chokes on -Wl,-G. The following line is correct:
 
10539
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
10540
        # chokes on -Wl,-G. The following line is correct:
9295
10541
          shared_flag='-G'
9296
10542
        else
9297
10543
          if test "$aix_use_runtimelinking" = yes; then
9302
10548
        fi
9303
10549
      fi
9304
10550
 
 
10551
      export_dynamic_flag_spec='${wl}-bexpall'
9305
10552
      # It seems that -bexpall does not export symbols beginning with
9306
10553
      # underscore (_), so it is better to generate a list of symbols to export.
9307
10554
      always_export_symbols=yes
9309
10556
        # Warning - without using the other runtime loading flags (-brtl),
9310
10557
        # -berok will link without error, but may produce a broken library.
9311
10558
        allow_undefined_flag='-berok'
9312
 
       # Determine the default libpath from the value encoded in an empty executable.
9313
 
       cat >conftest.$ac_ext <<_ACEOF
9314
 
/* confdefs.h.  */
9315
 
_ACEOF
9316
 
cat confdefs.h >>conftest.$ac_ext
9317
 
cat >>conftest.$ac_ext <<_ACEOF
 
10559
        # Determine the default libpath from the value encoded in an
 
10560
        # empty executable.
 
10561
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9318
10562
/* end confdefs.h.  */
9319
10563
 
9320
10564
int
9325
10569
  return 0;
9326
10570
}
9327
10571
_ACEOF
9328
 
rm -f conftest.$ac_objext conftest$ac_exeext
9329
 
if { (ac_try="$ac_link"
9330
 
case "(($ac_try" in
9331
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9332
 
  *) ac_try_echo=$ac_try;;
9333
 
esac
9334
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9335
 
  (eval "$ac_link") 2>conftest.er1
9336
 
  ac_status=$?
9337
 
  grep -v '^ *+' conftest.er1 >conftest.err
9338
 
  rm -f conftest.er1
9339
 
  cat conftest.err >&5
9340
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341
 
  (exit $ac_status); } && {
9342
 
         test -z "$ac_c_werror_flag" ||
9343
 
         test ! -s conftest.err
9344
 
       } && test -s conftest$ac_exeext &&
9345
 
       $as_test_x conftest$ac_exeext; then
 
10572
if ac_fn_c_try_link "$LINENO"; then :
9346
10573
 
9347
10574
lt_aix_libpath_sed='
9348
10575
    /Import File Strings/,/^$/ {
9356
10583
if test -z "$aix_libpath"; then
9357
10584
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9358
10585
fi
9359
 
else
9360
 
  echo "$as_me: failed program was:" >&5
9361
 
sed 's/^/| /' conftest.$ac_ext >&5
9362
 
 
9363
 
 
9364
10586
fi
9365
 
 
9366
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9367
 
      conftest$ac_exeext conftest.$ac_ext
 
10587
rm -f core conftest.err conftest.$ac_objext \
 
10588
    conftest$ac_exeext conftest.$ac_ext
9368
10589
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9369
10590
 
9370
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9371
 
        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"
9372
 
       else
 
10591
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
10592
        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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
10593
      else
9373
10594
        if test "$host_cpu" = ia64; then
9374
10595
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9375
10596
          allow_undefined_flag="-z nodefs"
9376
10597
          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"
9377
10598
        else
9378
 
         # Determine the default libpath from the value encoded in an empty executable.
9379
 
         cat >conftest.$ac_ext <<_ACEOF
9380
 
/* confdefs.h.  */
9381
 
_ACEOF
9382
 
cat confdefs.h >>conftest.$ac_ext
9383
 
cat >>conftest.$ac_ext <<_ACEOF
 
10599
         # Determine the default libpath from the value encoded in an
 
10600
         # empty executable.
 
10601
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9384
10602
/* end confdefs.h.  */
9385
10603
 
9386
10604
int
9391
10609
  return 0;
9392
10610
}
9393
10611
_ACEOF
9394
 
rm -f conftest.$ac_objext conftest$ac_exeext
9395
 
if { (ac_try="$ac_link"
9396
 
case "(($ac_try" in
9397
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9398
 
  *) ac_try_echo=$ac_try;;
9399
 
esac
9400
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9401
 
  (eval "$ac_link") 2>conftest.er1
9402
 
  ac_status=$?
9403
 
  grep -v '^ *+' conftest.er1 >conftest.err
9404
 
  rm -f conftest.er1
9405
 
  cat conftest.err >&5
9406
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407
 
  (exit $ac_status); } && {
9408
 
         test -z "$ac_c_werror_flag" ||
9409
 
         test ! -s conftest.err
9410
 
       } && test -s conftest$ac_exeext &&
9411
 
       $as_test_x conftest$ac_exeext; then
 
10612
if ac_fn_c_try_link "$LINENO"; then :
9412
10613
 
9413
10614
lt_aix_libpath_sed='
9414
10615
    /Import File Strings/,/^$/ {
9422
10623
if test -z "$aix_libpath"; then
9423
10624
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9424
10625
fi
9425
 
else
9426
 
  echo "$as_me: failed program was:" >&5
9427
 
sed 's/^/| /' conftest.$ac_ext >&5
9428
 
 
9429
 
 
9430
10626
fi
9431
 
 
9432
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9433
 
      conftest$ac_exeext conftest.$ac_ext
 
10627
rm -f core conftest.err conftest.$ac_objext \
 
10628
    conftest$ac_exeext conftest.$ac_ext
9434
10629
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9435
10630
 
9436
10631
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9448
10643
      ;;
9449
10644
 
9450
10645
    amigaos*)
9451
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9452
 
      hardcode_libdir_flag_spec='-L$libdir'
9453
 
      hardcode_minus_L=yes
9454
 
      # see comment about different semantics on the GNU ld section
9455
 
      ld_shlibs=no
 
10646
      case $host_cpu in
 
10647
      powerpc)
 
10648
            # see comment about AmigaOS4 .so support
 
10649
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10650
            archive_expsym_cmds=''
 
10651
        ;;
 
10652
      m68k)
 
10653
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
10654
            hardcode_libdir_flag_spec='-L$libdir'
 
10655
            hardcode_minus_L=yes
 
10656
        ;;
 
10657
      esac
9456
10658
      ;;
9457
10659
 
9458
10660
    bsdi[45]*)
9459
10661
      export_dynamic_flag_spec=-rdynamic
9460
10662
      ;;
9461
10663
 
9462
 
    cygwin* | mingw* | pw32*)
 
10664
    cygwin* | mingw* | pw32* | cegcc*)
9463
10665
      # When not using gcc, we currently assume that we are using
9464
10666
      # Microsoft Visual C++.
9465
10667
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9471
10673
      # Tell ltmain to make .dll files, not .so files.
9472
10674
      shrext_cmds=".dll"
9473
10675
      # FIXME: Setting linknames here is a bad hack.
9474
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
10676
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9475
10677
      # The linker will automatically build a .lib file if we build a DLL.
9476
 
      old_archive_From_new_cmds='true'
 
10678
      old_archive_from_new_cmds='true'
9477
10679
      # FIXME: Should let the user specify the lib program.
9478
10680
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9479
10681
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9481
10683
      ;;
9482
10684
 
9483
10685
    darwin* | rhapsody*)
9484
 
      case $host_os in
9485
 
        rhapsody* | darwin1.[012])
9486
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
9487
 
         ;;
9488
 
       *) # Darwin 1.3 on
9489
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9490
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9491
 
         else
9492
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
9493
 
             10.[012])
9494
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9495
 
               ;;
9496
 
             10.*)
9497
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
9498
 
               ;;
9499
 
           esac
9500
 
         fi
9501
 
         ;;
9502
 
      esac
9503
 
      archive_cmds_need_lc=no
9504
 
      hardcode_direct=no
9505
 
      hardcode_automatic=yes
9506
 
      hardcode_shlibpath_var=unsupported
9507
 
      whole_archive_flag_spec=''
9508
 
      link_all_deplibs=yes
9509
 
    if test "$GCC" = yes ; then
9510
 
        output_verbose_link_cmd='echo'
9511
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9512
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9513
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9514
 
      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}'
9515
 
      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}'
9516
 
    else
9517
 
      case $cc_basename in
9518
 
        xlc*)
9519
 
         output_verbose_link_cmd='echo'
9520
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9521
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9522
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9523
 
         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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9524
 
          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}'
9525
 
          ;;
9526
 
       *)
9527
 
         ld_shlibs=no
9528
 
          ;;
9529
 
      esac
9530
 
    fi
 
10686
 
 
10687
 
 
10688
  archive_cmds_need_lc=no
 
10689
  hardcode_direct=no
 
10690
  hardcode_automatic=yes
 
10691
  hardcode_shlibpath_var=unsupported
 
10692
  whole_archive_flag_spec=''
 
10693
  link_all_deplibs=yes
 
10694
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
10695
  case $cc_basename in
 
10696
     ifort*) _lt_dar_can_shared=yes ;;
 
10697
     *) _lt_dar_can_shared=$GCC ;;
 
10698
  esac
 
10699
  if test "$_lt_dar_can_shared" = "yes"; then
 
10700
    output_verbose_link_cmd=echo
 
10701
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
10702
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
10703
    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
10704
    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
10705
 
 
10706
  else
 
10707
  ld_shlibs=no
 
10708
  fi
 
10709
 
9531
10710
      ;;
9532
10711
 
9533
10712
    dgux*)
9569
10748
 
9570
10749
    hpux9*)
9571
10750
      if test "$GCC" = yes; then
9572
 
        archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
10751
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9573
10752
      else
9574
 
        archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
10753
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9575
10754
      fi
9576
10755
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9577
10756
      hardcode_libdir_separator=:
9591
10770
      fi
9592
10771
      if test "$with_gnu_ld" = no; then
9593
10772
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
10773
        hardcode_libdir_flag_spec_ld='+b $libdir'
9594
10774
        hardcode_libdir_separator=:
9595
 
 
9596
10775
        hardcode_direct=yes
 
10776
        hardcode_direct_absolute=yes
9597
10777
        export_dynamic_flag_spec='${wl}-E'
9598
 
 
9599
10778
        # hardcode_minus_L: Not really in the search PATH,
9600
10779
        # but as the default location of the library.
9601
10780
        hardcode_minus_L=yes
9609
10788
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9610
10789
          ;;
9611
10790
        ia64*)
9612
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10791
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9613
10792
          ;;
9614
10793
        *)
9615
10794
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9634
10813
 
9635
10814
        case $host_cpu in
9636
10815
        hppa*64*|ia64*)
9637
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
9638
10816
          hardcode_direct=no
9639
10817
          hardcode_shlibpath_var=no
9640
10818
          ;;
9641
10819
        *)
9642
10820
          hardcode_direct=yes
 
10821
          hardcode_direct_absolute=yes
9643
10822
          export_dynamic_flag_spec='${wl}-E'
9644
10823
 
9645
10824
          # hardcode_minus_L: Not really in the search PATH,
9652
10831
 
9653
10832
    irix5* | irix6* | nonstopux*)
9654
10833
      if test "$GCC" = yes; then
9655
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10834
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10835
        # Try to use the -exported_symbol ld option, if it does not
 
10836
        # work, assume that -exports_file does not work either and
 
10837
        # implicitly export all symbols.
 
10838
        save_LDFLAGS="$LDFLAGS"
 
10839
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
10840
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10841
/* end confdefs.h.  */
 
10842
int foo(void) {}
 
10843
_ACEOF
 
10844
if ac_fn_c_try_link "$LINENO"; then :
 
10845
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
10846
 
 
10847
fi
 
10848
rm -f core conftest.err conftest.$ac_objext \
 
10849
    conftest$ac_exeext conftest.$ac_ext
 
10850
        LDFLAGS="$save_LDFLAGS"
9656
10851
      else
9657
 
        archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9658
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
10852
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
10853
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9659
10854
      fi
 
10855
      archive_cmds_need_lc='no'
9660
10856
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9661
10857
      hardcode_libdir_separator=:
 
10858
      inherit_rpath=yes
9662
10859
      link_all_deplibs=yes
9663
10860
      ;;
9664
10861
 
9665
10862
    netbsd* | netbsdelf*-gnu)
9666
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10863
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9667
10864
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9668
10865
      else
9669
10866
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9681
10878
      hardcode_shlibpath_var=no
9682
10879
      ;;
9683
10880
 
 
10881
    *nto* | *qnx*)
 
10882
      ;;
 
10883
 
9684
10884
    openbsd*)
9685
10885
      if test -f /usr/libexec/ld.so; then
9686
10886
        hardcode_direct=yes
9687
10887
        hardcode_shlibpath_var=no
9688
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10888
        hardcode_direct_absolute=yes
 
10889
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9689
10890
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9690
10891
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9691
10892
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9701
10902
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9702
10903
             ;;
9703
10904
          esac
9704
 
        fi
 
10905
        fi
9705
10906
      else
9706
10907
        ld_shlibs=no
9707
10908
      fi
9711
10912
      hardcode_libdir_flag_spec='-L$libdir'
9712
10913
      hardcode_minus_L=yes
9713
10914
      allow_undefined_flag=unsupported
9714
 
      archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9715
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
10915
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
10916
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9716
10917
      ;;
9717
10918
 
9718
10919
    osf3*)
9719
10920
      if test "$GCC" = yes; then
9720
10921
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9721
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10922
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9722
10923
      else
9723
10924
        allow_undefined_flag=' -expect_unresolved \*'
9724
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 
10925
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9725
10926
      fi
 
10927
      archive_cmds_need_lc='no'
9726
10928
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9727
10929
      hardcode_libdir_separator=:
9728
10930
      ;;
9730
10932
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9731
10933
      if test "$GCC" = yes; then
9732
10934
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9733
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $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'
 
10935
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9734
10936
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9735
10937
      else
9736
10938
        allow_undefined_flag=' -expect_unresolved \*'
9737
 
        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'
9738
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9739
 
        $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'
 
10939
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
10940
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
 
10941
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9740
10942
 
9741
10943
        # Both c and cxx compiler support -rpath directly
9742
10944
        hardcode_libdir_flag_spec='-rpath $libdir'
9743
10945
      fi
 
10946
      archive_cmds_need_lc='no'
9744
10947
      hardcode_libdir_separator=:
9745
10948
      ;;
9746
10949
 
9747
10950
    solaris*)
9748
 
      no_undefined_flag=' -z text'
 
10951
      no_undefined_flag=' -z defs'
9749
10952
      if test "$GCC" = yes; then
9750
10953
        wlarc='${wl}'
9751
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9752
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9753
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
10954
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10955
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10956
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9754
10957
      else
9755
 
        wlarc=''
9756
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9757
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9758
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
10958
        case `$CC -V 2>&1` in
 
10959
        *"Compilers 5.0"*)
 
10960
          wlarc=''
 
10961
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10962
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10963
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
10964
          ;;
 
10965
        *)
 
10966
          wlarc='${wl}'
 
10967
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
10968
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10969
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10970
          ;;
 
10971
        esac
9759
10972
      fi
9760
10973
      hardcode_libdir_flag_spec='-R$libdir'
9761
10974
      hardcode_shlibpath_var=no
9765
10978
        # The compiler driver will combine and reorder linker options,
9766
10979
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9767
10980
        # but is careful enough not to reorder.
9768
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
10981
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9769
10982
        if test "$GCC" = yes; then
9770
10983
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9771
10984
        else
9854
11067
      allow_undefined_flag='${wl}-z,nodefs'
9855
11068
      archive_cmds_need_lc=no
9856
11069
      hardcode_shlibpath_var=no
9857
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
11070
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9858
11071
      hardcode_libdir_separator=':'
9859
11072
      link_all_deplibs=yes
9860
11073
      export_dynamic_flag_spec='${wl}-Bexport'
9861
11074
      runpath_var='LD_RUN_PATH'
9862
11075
 
9863
11076
      if test "$GCC" = yes; then
9864
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9865
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11077
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11078
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9866
11079
      else
9867
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9868
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11080
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11081
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9869
11082
      fi
9870
11083
      ;;
9871
11084
 
9879
11092
      ld_shlibs=no
9880
11093
      ;;
9881
11094
    esac
 
11095
 
 
11096
    if test x$host_vendor = xsni; then
 
11097
      case $host in
 
11098
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
11099
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
11100
        ;;
 
11101
      esac
 
11102
    fi
9882
11103
  fi
9883
11104
 
9884
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9885
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
11105
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
11106
$as_echo "$ld_shlibs" >&6; }
9886
11107
test "$ld_shlibs" = no && can_build_shared=no
9887
11108
 
 
11109
with_gnu_ld=$with_gnu_ld
 
11110
 
 
11111
 
 
11112
 
 
11113
 
 
11114
 
 
11115
 
 
11116
 
 
11117
 
 
11118
 
 
11119
 
 
11120
 
 
11121
 
 
11122
 
 
11123
 
 
11124
 
9888
11125
#
9889
11126
# Do we need to explicitly link libc?
9890
11127
#
9902
11139
      # Test whether the compiler implicitly links with -lc since on some
9903
11140
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9904
11141
      # to ld, don't add -lc before -lgcc.
9905
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9906
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9907
 
      $rm conftest*
 
11142
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
11143
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
11144
      $RM conftest*
9908
11145
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9909
11146
 
9910
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
11147
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9911
11148
  (eval $ac_compile) 2>&5
9912
11149
  ac_status=$?
9913
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914
 
  (exit $ac_status); } 2>conftest.err; then
 
11150
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11151
  test $ac_status = 0; } 2>conftest.err; then
9915
11152
        soname=conftest
9916
11153
        lib=conftest
9917
11154
        libobjs=conftest.$ac_objext
9925
11162
        libname=conftest
9926
11163
        lt_save_allow_undefined_flag=$allow_undefined_flag
9927
11164
        allow_undefined_flag=
9928
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9929
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
11165
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
11166
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9930
11167
  ac_status=$?
9931
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932
 
  (exit $ac_status); }
 
11168
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11169
  test $ac_status = 0; }
9933
11170
        then
9934
11171
          archive_cmds_need_lc=no
9935
11172
        else
9939
11176
      else
9940
11177
        cat conftest.err 1>&5
9941
11178
      fi
9942
 
      $rm conftest*
9943
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9944
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
11179
      $RM conftest*
 
11180
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
11181
$as_echo "$archive_cmds_need_lc" >&6; }
9945
11182
      ;;
9946
11183
    esac
9947
11184
  fi
9948
11185
  ;;
9949
11186
esac
9950
11187
 
9951
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9952
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9953
 
library_names_spec=
9954
 
libname_spec='lib$name'
9955
 
soname_spec=
9956
 
shrext_cmds=".so"
9957
 
postinstall_cmds=
9958
 
postuninstall_cmds=
9959
 
finish_cmds=
9960
 
finish_eval=
9961
 
shlibpath_var=
9962
 
shlibpath_overrides_runpath=unknown
9963
 
version_type=none
9964
 
dynamic_linker="$host_os ld.so"
9965
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
11188
 
 
11189
 
 
11190
 
 
11191
 
 
11192
 
 
11193
 
 
11194
 
 
11195
 
 
11196
 
 
11197
 
 
11198
 
 
11199
 
 
11200
 
 
11201
 
 
11202
 
 
11203
 
 
11204
 
 
11205
 
 
11206
 
 
11207
 
 
11208
 
 
11209
 
 
11210
 
 
11211
 
 
11212
 
 
11213
 
 
11214
 
 
11215
 
 
11216
 
 
11217
 
 
11218
 
 
11219
 
 
11220
 
 
11221
 
 
11222
 
 
11223
 
 
11224
 
 
11225
 
 
11226
 
 
11227
 
 
11228
 
 
11229
 
 
11230
 
 
11231
 
 
11232
 
 
11233
 
 
11234
 
 
11235
 
 
11236
 
 
11237
 
 
11238
 
 
11239
 
 
11240
 
 
11241
 
 
11242
 
 
11243
 
 
11244
 
 
11245
 
 
11246
 
 
11247
 
 
11248
 
 
11249
 
 
11250
 
 
11251
 
 
11252
 
 
11253
 
 
11254
 
 
11255
 
 
11256
 
 
11257
 
 
11258
 
 
11259
 
 
11260
 
 
11261
 
 
11262
 
 
11263
 
 
11264
 
 
11265
 
 
11266
 
 
11267
 
 
11268
 
 
11269
 
 
11270
 
 
11271
 
 
11272
 
 
11273
 
 
11274
 
 
11275
 
 
11276
 
 
11277
 
 
11278
 
 
11279
 
 
11280
 
 
11281
 
 
11282
 
 
11283
 
 
11284
 
 
11285
 
 
11286
 
 
11287
 
 
11288
 
 
11289
 
 
11290
 
 
11291
 
 
11292
 
 
11293
 
 
11294
 
 
11295
 
 
11296
 
 
11297
 
 
11298
 
 
11299
 
 
11300
 
 
11301
 
 
11302
 
 
11303
 
 
11304
 
 
11305
 
 
11306
 
 
11307
 
 
11308
 
 
11309
 
 
11310
 
 
11311
 
 
11312
 
 
11313
 
 
11314
 
 
11315
 
 
11316
 
 
11317
 
 
11318
 
 
11319
 
 
11320
 
 
11321
 
 
11322
 
 
11323
 
 
11324
 
 
11325
 
 
11326
 
 
11327
 
 
11328
 
 
11329
 
 
11330
 
 
11331
 
 
11332
 
 
11333
 
 
11334
 
 
11335
 
 
11336
 
 
11337
 
 
11338
 
 
11339
 
 
11340
 
 
11341
 
 
11342
 
 
11343
 
 
11344
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
11345
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9966
11346
 
9967
11347
if test "$GCC" = yes; then
9968
11348
  case $host_os in
9970
11350
    *) lt_awk_arg="/^libraries:/" ;;
9971
11351
  esac
9972
11352
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9973
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
11353
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9974
11354
    # if the path contains ";" then we assume it to be the separator
9975
11355
    # otherwise default to the standard path separator (i.e. ":") - it is
9976
11356
    # assumed that no part of a normal pathname contains ";" but that should
9977
11357
    # okay in the real world where ";" in dirpaths is itself problematic.
9978
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
11358
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9979
11359
  else
9980
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
11360
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9981
11361
  fi
9982
11362
  # Ok, now we have the path, separated by spaces, we can step through it
9983
11363
  # and add multilib dir if necessary.
9991
11371
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9992
11372
    fi
9993
11373
  done
9994
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
11374
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9995
11375
BEGIN {RS=" "; FS="/|\n";} {
9996
11376
  lt_foo="";
9997
11377
  lt_count=0;
10011
11391
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10012
11392
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10013
11393
}'`
10014
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
11394
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10015
11395
else
10016
11396
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10017
11397
fi
 
11398
library_names_spec=
 
11399
libname_spec='lib$name'
 
11400
soname_spec=
 
11401
shrext_cmds=".so"
 
11402
postinstall_cmds=
 
11403
postuninstall_cmds=
 
11404
finish_cmds=
 
11405
finish_eval=
 
11406
shlibpath_var=
 
11407
shlibpath_overrides_runpath=unknown
 
11408
version_type=none
 
11409
dynamic_linker="$host_os ld.so"
 
11410
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10018
11411
need_lib_prefix=unknown
10019
11412
hardcode_into_libs=no
10020
11413
 
10032
11425
  soname_spec='${libname}${release}${shared_ext}$major'
10033
11426
  ;;
10034
11427
 
10035
 
aix4* | aix5*)
 
11428
aix[4-9]*)
10036
11429
  version_type=linux
10037
11430
  need_lib_prefix=no
10038
11431
  need_version=no
10051
11444
      aix4 | aix4.[01] | aix4.[01].*)
10052
11445
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10053
11446
           echo ' yes '
10054
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
11447
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10055
11448
        :
10056
11449
      else
10057
11450
        can_build_shared=no
10077
11470
  ;;
10078
11471
 
10079
11472
amigaos*)
10080
 
  library_names_spec='$libname.ixlibrary $libname.a'
10081
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
10082
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
11473
  case $host_cpu in
 
11474
  powerpc)
 
11475
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
11476
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
11477
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11478
    ;;
 
11479
  m68k)
 
11480
    library_names_spec='$libname.ixlibrary $libname.a'
 
11481
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
11482
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
11483
    ;;
 
11484
  esac
10083
11485
  ;;
10084
11486
 
10085
11487
beos*)
10102
11504
  # libtool to hard-code these into programs
10103
11505
  ;;
10104
11506
 
10105
 
cygwin* | mingw* | pw32*)
 
11507
cygwin* | mingw* | pw32* | cegcc*)
10106
11508
  version_type=windows
10107
11509
  shrext_cmds=".dll"
10108
11510
  need_version=no
10109
11511
  need_lib_prefix=no
10110
11512
 
10111
11513
  case $GCC,$host_os in
10112
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
11514
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10113
11515
    library_names_spec='$libname.dll.a'
10114
11516
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10115
11517
    postinstall_cmds='base_file=`basename \${file}`~
10116
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
11518
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10117
11519
      dldir=$destdir/`dirname \$dlpath`~
10118
11520
      test -d \$dldir || mkdir -p \$dldir~
10119
11521
      $install_prog $dir/$dlname \$dldir/$dlname~
10120
 
      chmod a+x \$dldir/$dlname'
 
11522
      chmod a+x \$dldir/$dlname~
 
11523
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
11524
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
11525
      fi'
10121
11526
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10122
11527
      dlpath=$dir/\$dldll~
10123
 
       $rm \$dlpath'
 
11528
       $RM \$dlpath'
10124
11529
    shlibpath_overrides_runpath=yes
10125
11530
 
10126
11531
    case $host_os in
10129
11534
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10130
11535
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10131
11536
      ;;
10132
 
    mingw*)
 
11537
    mingw* | cegcc*)
10133
11538
      # MinGW DLLs use traditional 'lib' prefix
10134
11539
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10135
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10136
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
11540
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
11541
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10137
11542
        # It is most probably a Windows format PATH printed by
10138
11543
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10139
11544
        # path with ; separators, and with drive letters. We can handle the
10140
11545
        # drive letters (cygwin fileutils understands them), so leave them,
10141
11546
        # especially as we might pass files found there to a mingw objdump,
10142
11547
        # which wouldn't understand a cygwinified path. Ahh.
10143
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11548
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10144
11549
      else
10145
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
11550
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10146
11551
      fi
10147
11552
      ;;
10148
11553
    pw32*)
10166
11571
  version_type=darwin
10167
11572
  need_lib_prefix=no
10168
11573
  need_version=no
10169
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
11574
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10170
11575
  soname_spec='${libname}${release}${major}$shared_ext'
10171
11576
  shlibpath_overrides_runpath=yes
10172
11577
  shlibpath_var=DYLD_LIBRARY_PATH
10265
11670
    fi
10266
11671
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10267
11672
    ;;
10268
 
   hppa*64*)
10269
 
     shrext_cmds='.sl'
10270
 
     hardcode_into_libs=yes
10271
 
     dynamic_linker="$host_os dld.sl"
10272
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10273
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10274
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10275
 
     soname_spec='${libname}${release}${shared_ext}$major'
10276
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10277
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10278
 
     ;;
10279
 
   *)
 
11673
  hppa*64*)
 
11674
    shrext_cmds='.sl'
 
11675
    hardcode_into_libs=yes
 
11676
    dynamic_linker="$host_os dld.sl"
 
11677
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
11678
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
11679
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11680
    soname_spec='${libname}${release}${shared_ext}$major'
 
11681
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
11682
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
11683
    ;;
 
11684
  *)
10280
11685
    shrext_cmds='.sl'
10281
11686
    dynamic_linker="$host_os dld.sl"
10282
11687
    shlibpath_var=SHLIB_PATH
10344
11749
  ;;
10345
11750
 
10346
11751
# This must be Linux ELF.
10347
 
linux* | k*bsd*-gnu)
 
11752
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10348
11753
  version_type=linux
10349
11754
  need_lib_prefix=no
10350
11755
  need_version=no
10353
11758
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10354
11759
  shlibpath_var=LD_LIBRARY_PATH
10355
11760
  shlibpath_overrides_runpath=no
 
11761
  # Some binutils ld are patched to set DT_RUNPATH
 
11762
  save_LDFLAGS=$LDFLAGS
 
11763
  save_libdir=$libdir
 
11764
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
11765
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
11766
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11767
/* end confdefs.h.  */
 
11768
 
 
11769
int
 
11770
main ()
 
11771
{
 
11772
 
 
11773
  ;
 
11774
  return 0;
 
11775
}
 
11776
_ACEOF
 
11777
if ac_fn_c_try_link "$LINENO"; then :
 
11778
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
11779
  shlibpath_overrides_runpath=yes
 
11780
fi
 
11781
fi
 
11782
rm -f core conftest.err conftest.$ac_objext \
 
11783
    conftest$ac_exeext conftest.$ac_ext
 
11784
  LDFLAGS=$save_LDFLAGS
 
11785
  libdir=$save_libdir
 
11786
 
10356
11787
  # This implies no fast_install, which is unacceptable.
10357
11788
  # Some rework will be needed to allow for fast_install
10358
11789
  # before this can be enabled.
10360
11791
 
10361
11792
  # Append ld.so.conf contents to the search path
10362
11793
  if test -f /etc/ld.so.conf; then
10363
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
11794
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10364
11795
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10365
11796
  fi
10366
11797
 
10389
11820
  version_type=sunos
10390
11821
  need_lib_prefix=no
10391
11822
  need_version=no
10392
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
11823
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10393
11824
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10394
11825
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10395
11826
    dynamic_linker='NetBSD (a.out) ld.so'
10410
11841
  shlibpath_overrides_runpath=yes
10411
11842
  ;;
10412
11843
 
10413
 
nto-qnx*)
10414
 
  version_type=linux
 
11844
*nto* | *qnx*)
 
11845
  version_type=qnx
10415
11846
  need_lib_prefix=no
10416
11847
  need_version=no
10417
11848
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10418
11849
  soname_spec='${libname}${release}${shared_ext}$major'
10419
11850
  shlibpath_var=LD_LIBRARY_PATH
10420
 
  shlibpath_overrides_runpath=yes
 
11851
  shlibpath_overrides_runpath=no
 
11852
  hardcode_into_libs=yes
 
11853
  dynamic_linker='ldqnx.so'
10421
11854
  ;;
10422
11855
 
10423
11856
openbsd*)
10426
11859
  need_lib_prefix=no
10427
11860
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10428
11861
  case $host_os in
10429
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10430
 
    *)                         need_version=no  ;;
 
11862
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
11863
    *)                          need_version=no  ;;
10431
11864
  esac
10432
11865
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10433
11866
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10434
11867
  shlibpath_var=LD_LIBRARY_PATH
10435
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11868
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10436
11869
    case $host_os in
10437
11870
      openbsd2.[89] | openbsd2.[89].*)
10438
11871
        shlibpath_overrides_runpath=no
10504
11937
    sni)
10505
11938
      shlibpath_overrides_runpath=no
10506
11939
      need_lib_prefix=no
10507
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
10508
11940
      runpath_var=LD_RUN_PATH
10509
11941
      ;;
10510
11942
    siemens)
10535
11967
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10536
11968
  soname_spec='${libname}${release}${shared_ext}$major'
10537
11969
  shlibpath_var=LD_LIBRARY_PATH
 
11970
  shlibpath_overrides_runpath=yes
10538
11971
  hardcode_into_libs=yes
10539
11972
  if test "$with_gnu_ld" = yes; then
10540
11973
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10541
 
    shlibpath_overrides_runpath=no
10542
11974
  else
10543
11975
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10544
 
    shlibpath_overrides_runpath=yes
10545
11976
    case $host_os in
10546
11977
      sco3.2v5*)
10547
11978
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10551
11982
  sys_lib_dlsearch_path_spec='/usr/lib'
10552
11983
  ;;
10553
11984
 
 
11985
tpf*)
 
11986
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
11987
  version_type=linux
 
11988
  need_lib_prefix=no
 
11989
  need_version=no
 
11990
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11991
  shlibpath_var=LD_LIBRARY_PATH
 
11992
  shlibpath_overrides_runpath=no
 
11993
  hardcode_into_libs=yes
 
11994
  ;;
 
11995
 
10554
11996
uts4*)
10555
11997
  version_type=linux
10556
11998
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10562
12004
  dynamic_linker=no
10563
12005
  ;;
10564
12006
esac
10565
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10566
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
12007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
12008
$as_echo "$dynamic_linker" >&6; }
10567
12009
test "$dynamic_linker" = no && can_build_shared=no
10568
12010
 
10569
12011
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10571
12013
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10572
12014
fi
10573
12015
 
10574
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10575
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
12016
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
12017
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
12018
fi
 
12019
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
12020
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
12021
fi
 
12022
 
 
12023
 
 
12024
 
 
12025
 
 
12026
 
 
12027
 
 
12028
 
 
12029
 
 
12030
 
 
12031
 
 
12032
 
 
12033
 
 
12034
 
 
12035
 
 
12036
 
 
12037
 
 
12038
 
 
12039
 
 
12040
 
 
12041
 
 
12042
 
 
12043
 
 
12044
 
 
12045
 
 
12046
 
 
12047
 
 
12048
 
 
12049
 
 
12050
 
 
12051
 
 
12052
 
 
12053
 
 
12054
 
 
12055
 
 
12056
 
 
12057
 
 
12058
 
 
12059
 
 
12060
 
 
12061
 
 
12062
 
 
12063
 
 
12064
 
 
12065
 
 
12066
 
 
12067
 
 
12068
 
 
12069
 
 
12070
 
 
12071
 
 
12072
 
 
12073
 
 
12074
 
 
12075
 
 
12076
 
 
12077
 
 
12078
 
 
12079
 
 
12080
 
 
12081
 
 
12082
 
 
12083
 
 
12084
 
 
12085
 
 
12086
 
 
12087
 
 
12088
 
 
12089
 
 
12090
 
 
12091
 
 
12092
 
 
12093
 
 
12094
 
 
12095
 
 
12096
 
 
12097
 
 
12098
 
 
12099
 
 
12100
 
 
12101
 
 
12102
 
 
12103
 
 
12104
 
 
12105
 
 
12106
 
 
12107
 
 
12108
 
 
12109
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
12110
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10576
12111
hardcode_action=
10577
 
if test -n "$hardcode_libdir_flag_spec" || \
10578
 
   test -n "$runpath_var" || \
 
12112
if test -n "$hardcode_libdir_flag_spec" ||
 
12113
   test -n "$runpath_var" ||
10579
12114
   test "X$hardcode_automatic" = "Xyes" ; then
10580
12115
 
10581
 
  # We can hardcode non-existant directories.
 
12116
  # We can hardcode non-existent directories.
10582
12117
  if test "$hardcode_direct" != no &&
10583
12118
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10584
12119
     # have to relink, otherwise we might link with an installed library
10585
12120
     # when we should be linking with a yet-to-be-installed one
10586
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
12121
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10587
12122
     test "$hardcode_minus_L" != no; then
10588
12123
    # Linking always hardcodes the temporary library directory.
10589
12124
    hardcode_action=relink
10596
12131
  # directories.
10597
12132
  hardcode_action=unsupported
10598
12133
fi
10599
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10600
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
12134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
12135
$as_echo "$hardcode_action" >&6; }
10601
12136
 
10602
 
if test "$hardcode_action" = relink; then
 
12137
if test "$hardcode_action" = relink ||
 
12138
   test "$inherit_rpath" = yes; then
10603
12139
  # Fast installation is not supported
10604
12140
  enable_fast_install=no
10605
12141
elif test "$shlibpath_overrides_runpath" = yes ||
10608
12144
  enable_fast_install=needless
10609
12145
fi
10610
12146
 
10611
 
striplib=
10612
 
old_striplib=
10613
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10614
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10615
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10616
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10617
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10618
 
  { echo "$as_me:$LINENO: result: yes" >&5
10619
 
echo "${ECHO_T}yes" >&6; }
10620
 
else
10621
 
# FIXME - insert some real tests, host_os isn't really good enough
10622
 
  case $host_os in
10623
 
   darwin*)
10624
 
       if test -n "$STRIP" ; then
10625
 
         striplib="$STRIP -x"
10626
 
         old_striplib="$STRIP -S"
10627
 
         { echo "$as_me:$LINENO: result: yes" >&5
10628
 
echo "${ECHO_T}yes" >&6; }
10629
 
       else
10630
 
  { echo "$as_me:$LINENO: result: no" >&5
10631
 
echo "${ECHO_T}no" >&6; }
10632
 
fi
10633
 
       ;;
10634
 
   *)
10635
 
  { echo "$as_me:$LINENO: result: no" >&5
10636
 
echo "${ECHO_T}no" >&6; }
10637
 
    ;;
10638
 
  esac
10639
 
fi
10640
 
 
10641
 
if test "x$enable_dlopen" != xyes; then
 
12147
 
 
12148
 
 
12149
 
 
12150
 
 
12151
 
 
12152
  if test "x$enable_dlopen" != xyes; then
10642
12153
  enable_dlopen=unknown
10643
12154
  enable_dlopen_self=unknown
10644
12155
  enable_dlopen_self_static=unknown
10653
12164
    lt_cv_dlopen_self=yes
10654
12165
    ;;
10655
12166
 
10656
 
  mingw* | pw32*)
 
12167
  mingw* | pw32* | cegcc*)
10657
12168
    lt_cv_dlopen="LoadLibrary"
10658
12169
    lt_cv_dlopen_libs=
10659
 
   ;;
 
12170
    ;;
10660
12171
 
10661
12172
  cygwin*)
10662
12173
    lt_cv_dlopen="dlopen"
10663
12174
    lt_cv_dlopen_libs=
10664
 
   ;;
 
12175
    ;;
10665
12176
 
10666
12177
  darwin*)
10667
12178
  # if libdl is installed we need to link against it
10668
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10669
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10670
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10671
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12179
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
12180
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
12181
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12182
  $as_echo_n "(cached) " >&6
10672
12183
else
10673
12184
  ac_check_lib_save_LIBS=$LIBS
10674
12185
LIBS="-ldl  $LIBS"
10675
 
cat >conftest.$ac_ext <<_ACEOF
10676
 
/* confdefs.h.  */
10677
 
_ACEOF
10678
 
cat confdefs.h >>conftest.$ac_ext
10679
 
cat >>conftest.$ac_ext <<_ACEOF
 
12186
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10680
12187
/* end confdefs.h.  */
10681
12188
 
10682
12189
/* Override any GCC internal prototype to avoid an error.
10694
12201
  return 0;
10695
12202
}
10696
12203
_ACEOF
10697
 
rm -f conftest.$ac_objext conftest$ac_exeext
10698
 
if { (ac_try="$ac_link"
10699
 
case "(($ac_try" in
10700
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10701
 
  *) ac_try_echo=$ac_try;;
10702
 
esac
10703
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10704
 
  (eval "$ac_link") 2>conftest.er1
10705
 
  ac_status=$?
10706
 
  grep -v '^ *+' conftest.er1 >conftest.err
10707
 
  rm -f conftest.er1
10708
 
  cat conftest.err >&5
10709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10710
 
  (exit $ac_status); } && {
10711
 
         test -z "$ac_c_werror_flag" ||
10712
 
         test ! -s conftest.err
10713
 
       } && test -s conftest$ac_exeext &&
10714
 
       $as_test_x conftest$ac_exeext; then
 
12204
if ac_fn_c_try_link "$LINENO"; then :
10715
12205
  ac_cv_lib_dl_dlopen=yes
10716
12206
else
10717
 
  echo "$as_me: failed program was:" >&5
10718
 
sed 's/^/| /' conftest.$ac_ext >&5
10719
 
 
10720
 
        ac_cv_lib_dl_dlopen=no
 
12207
  ac_cv_lib_dl_dlopen=no
10721
12208
fi
10722
 
 
10723
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10724
 
      conftest$ac_exeext conftest.$ac_ext
 
12209
rm -f core conftest.err conftest.$ac_objext \
 
12210
    conftest$ac_exeext conftest.$ac_ext
10725
12211
LIBS=$ac_check_lib_save_LIBS
10726
12212
fi
10727
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10728
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10729
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
12213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
12214
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
12215
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10730
12216
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10731
12217
else
10732
12218
 
10736
12222
 
10737
12223
fi
10738
12224
 
10739
 
   ;;
 
12225
    ;;
10740
12226
 
10741
12227
  *)
10742
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
10743
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10744
 
if test "${ac_cv_func_shl_load+set}" = set; then
10745
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10746
 
else
10747
 
  cat >conftest.$ac_ext <<_ACEOF
10748
 
/* confdefs.h.  */
10749
 
_ACEOF
10750
 
cat confdefs.h >>conftest.$ac_ext
10751
 
cat >>conftest.$ac_ext <<_ACEOF
10752
 
/* end confdefs.h.  */
10753
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10754
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10755
 
#define shl_load innocuous_shl_load
10756
 
 
10757
 
/* System header to define __stub macros and hopefully few prototypes,
10758
 
    which can conflict with char shl_load (); below.
10759
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10760
 
    <limits.h> exists even on freestanding compilers.  */
10761
 
 
10762
 
#ifdef __STDC__
10763
 
# include <limits.h>
10764
 
#else
10765
 
# include <assert.h>
10766
 
#endif
10767
 
 
10768
 
#undef shl_load
10769
 
 
10770
 
/* Override any GCC internal prototype to avoid an error.
10771
 
   Use char because int might match the return type of a GCC
10772
 
   builtin and then its argument prototype would still apply.  */
10773
 
#ifdef __cplusplus
10774
 
extern "C"
10775
 
#endif
10776
 
char shl_load ();
10777
 
/* The GNU C library defines this for functions which it implements
10778
 
    to always fail with ENOSYS.  Some functions are actually named
10779
 
    something starting with __ and the normal name is an alias.  */
10780
 
#if defined __stub_shl_load || defined __stub___shl_load
10781
 
choke me
10782
 
#endif
10783
 
 
10784
 
int
10785
 
main ()
10786
 
{
10787
 
return shl_load ();
10788
 
  ;
10789
 
  return 0;
10790
 
}
10791
 
_ACEOF
10792
 
rm -f conftest.$ac_objext conftest$ac_exeext
10793
 
if { (ac_try="$ac_link"
10794
 
case "(($ac_try" in
10795
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10796
 
  *) ac_try_echo=$ac_try;;
10797
 
esac
10798
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10799
 
  (eval "$ac_link") 2>conftest.er1
10800
 
  ac_status=$?
10801
 
  grep -v '^ *+' conftest.er1 >conftest.err
10802
 
  rm -f conftest.er1
10803
 
  cat conftest.err >&5
10804
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805
 
  (exit $ac_status); } && {
10806
 
         test -z "$ac_c_werror_flag" ||
10807
 
         test ! -s conftest.err
10808
 
       } && test -s conftest$ac_exeext &&
10809
 
       $as_test_x conftest$ac_exeext; then
10810
 
  ac_cv_func_shl_load=yes
10811
 
else
10812
 
  echo "$as_me: failed program was:" >&5
10813
 
sed 's/^/| /' conftest.$ac_ext >&5
10814
 
 
10815
 
        ac_cv_func_shl_load=no
10816
 
fi
10817
 
 
10818
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10819
 
      conftest$ac_exeext conftest.$ac_ext
10820
 
fi
10821
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10822
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10823
 
if test $ac_cv_func_shl_load = yes; then
 
12228
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
12229
if test "x$ac_cv_func_shl_load" = x""yes; then :
10824
12230
  lt_cv_dlopen="shl_load"
10825
12231
else
10826
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10827
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10828
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10829
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12232
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
12233
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
12234
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
12235
  $as_echo_n "(cached) " >&6
10830
12236
else
10831
12237
  ac_check_lib_save_LIBS=$LIBS
10832
12238
LIBS="-ldld  $LIBS"
10833
 
cat >conftest.$ac_ext <<_ACEOF
10834
 
/* confdefs.h.  */
10835
 
_ACEOF
10836
 
cat confdefs.h >>conftest.$ac_ext
10837
 
cat >>conftest.$ac_ext <<_ACEOF
 
12239
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838
12240
/* end confdefs.h.  */
10839
12241
 
10840
12242
/* Override any GCC internal prototype to avoid an error.
10852
12254
  return 0;
10853
12255
}
10854
12256
_ACEOF
10855
 
rm -f conftest.$ac_objext conftest$ac_exeext
10856
 
if { (ac_try="$ac_link"
10857
 
case "(($ac_try" in
10858
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10859
 
  *) ac_try_echo=$ac_try;;
10860
 
esac
10861
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10862
 
  (eval "$ac_link") 2>conftest.er1
10863
 
  ac_status=$?
10864
 
  grep -v '^ *+' conftest.er1 >conftest.err
10865
 
  rm -f conftest.er1
10866
 
  cat conftest.err >&5
10867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868
 
  (exit $ac_status); } && {
10869
 
         test -z "$ac_c_werror_flag" ||
10870
 
         test ! -s conftest.err
10871
 
       } && test -s conftest$ac_exeext &&
10872
 
       $as_test_x conftest$ac_exeext; then
 
12257
if ac_fn_c_try_link "$LINENO"; then :
10873
12258
  ac_cv_lib_dld_shl_load=yes
10874
12259
else
10875
 
  echo "$as_me: failed program was:" >&5
10876
 
sed 's/^/| /' conftest.$ac_ext >&5
10877
 
 
10878
 
        ac_cv_lib_dld_shl_load=no
 
12260
  ac_cv_lib_dld_shl_load=no
10879
12261
fi
10880
 
 
10881
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10882
 
      conftest$ac_exeext conftest.$ac_ext
 
12262
rm -f core conftest.err conftest.$ac_objext \
 
12263
    conftest$ac_exeext conftest.$ac_ext
10883
12264
LIBS=$ac_check_lib_save_LIBS
10884
12265
fi
10885
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10886
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10887
 
if test $ac_cv_lib_dld_shl_load = yes; then
10888
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10889
 
else
10890
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
10891
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10892
 
if test "${ac_cv_func_dlopen+set}" = set; then
10893
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10894
 
else
10895
 
  cat >conftest.$ac_ext <<_ACEOF
10896
 
/* confdefs.h.  */
10897
 
_ACEOF
10898
 
cat confdefs.h >>conftest.$ac_ext
10899
 
cat >>conftest.$ac_ext <<_ACEOF
10900
 
/* end confdefs.h.  */
10901
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10902
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10903
 
#define dlopen innocuous_dlopen
10904
 
 
10905
 
/* System header to define __stub macros and hopefully few prototypes,
10906
 
    which can conflict with char dlopen (); below.
10907
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10908
 
    <limits.h> exists even on freestanding compilers.  */
10909
 
 
10910
 
#ifdef __STDC__
10911
 
# include <limits.h>
10912
 
#else
10913
 
# include <assert.h>
10914
 
#endif
10915
 
 
10916
 
#undef dlopen
10917
 
 
10918
 
/* Override any GCC internal prototype to avoid an error.
10919
 
   Use char because int might match the return type of a GCC
10920
 
   builtin and then its argument prototype would still apply.  */
10921
 
#ifdef __cplusplus
10922
 
extern "C"
10923
 
#endif
10924
 
char dlopen ();
10925
 
/* The GNU C library defines this for functions which it implements
10926
 
    to always fail with ENOSYS.  Some functions are actually named
10927
 
    something starting with __ and the normal name is an alias.  */
10928
 
#if defined __stub_dlopen || defined __stub___dlopen
10929
 
choke me
10930
 
#endif
10931
 
 
10932
 
int
10933
 
main ()
10934
 
{
10935
 
return dlopen ();
10936
 
  ;
10937
 
  return 0;
10938
 
}
10939
 
_ACEOF
10940
 
rm -f conftest.$ac_objext conftest$ac_exeext
10941
 
if { (ac_try="$ac_link"
10942
 
case "(($ac_try" in
10943
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10944
 
  *) ac_try_echo=$ac_try;;
10945
 
esac
10946
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10947
 
  (eval "$ac_link") 2>conftest.er1
10948
 
  ac_status=$?
10949
 
  grep -v '^ *+' conftest.er1 >conftest.err
10950
 
  rm -f conftest.er1
10951
 
  cat conftest.err >&5
10952
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10953
 
  (exit $ac_status); } && {
10954
 
         test -z "$ac_c_werror_flag" ||
10955
 
         test ! -s conftest.err
10956
 
       } && test -s conftest$ac_exeext &&
10957
 
       $as_test_x conftest$ac_exeext; then
10958
 
  ac_cv_func_dlopen=yes
10959
 
else
10960
 
  echo "$as_me: failed program was:" >&5
10961
 
sed 's/^/| /' conftest.$ac_ext >&5
10962
 
 
10963
 
        ac_cv_func_dlopen=no
10964
 
fi
10965
 
 
10966
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10967
 
      conftest$ac_exeext conftest.$ac_ext
10968
 
fi
10969
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10970
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10971
 
if test $ac_cv_func_dlopen = yes; then
 
12266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
12267
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
12268
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
12269
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
12270
else
 
12271
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
12272
if test "x$ac_cv_func_dlopen" = x""yes; then :
10972
12273
  lt_cv_dlopen="dlopen"
10973
12274
else
10974
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10975
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10976
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10977
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12275
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
12276
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
12277
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12278
  $as_echo_n "(cached) " >&6
10978
12279
else
10979
12280
  ac_check_lib_save_LIBS=$LIBS
10980
12281
LIBS="-ldl  $LIBS"
10981
 
cat >conftest.$ac_ext <<_ACEOF
10982
 
/* confdefs.h.  */
10983
 
_ACEOF
10984
 
cat confdefs.h >>conftest.$ac_ext
10985
 
cat >>conftest.$ac_ext <<_ACEOF
 
12282
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10986
12283
/* end confdefs.h.  */
10987
12284
 
10988
12285
/* Override any GCC internal prototype to avoid an error.
11000
12297
  return 0;
11001
12298
}
11002
12299
_ACEOF
11003
 
rm -f conftest.$ac_objext conftest$ac_exeext
11004
 
if { (ac_try="$ac_link"
11005
 
case "(($ac_try" in
11006
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11007
 
  *) ac_try_echo=$ac_try;;
11008
 
esac
11009
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11010
 
  (eval "$ac_link") 2>conftest.er1
11011
 
  ac_status=$?
11012
 
  grep -v '^ *+' conftest.er1 >conftest.err
11013
 
  rm -f conftest.er1
11014
 
  cat conftest.err >&5
11015
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016
 
  (exit $ac_status); } && {
11017
 
         test -z "$ac_c_werror_flag" ||
11018
 
         test ! -s conftest.err
11019
 
       } && test -s conftest$ac_exeext &&
11020
 
       $as_test_x conftest$ac_exeext; then
 
12300
if ac_fn_c_try_link "$LINENO"; then :
11021
12301
  ac_cv_lib_dl_dlopen=yes
11022
12302
else
11023
 
  echo "$as_me: failed program was:" >&5
11024
 
sed 's/^/| /' conftest.$ac_ext >&5
11025
 
 
11026
 
        ac_cv_lib_dl_dlopen=no
 
12303
  ac_cv_lib_dl_dlopen=no
11027
12304
fi
11028
 
 
11029
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11030
 
      conftest$ac_exeext conftest.$ac_ext
 
12305
rm -f core conftest.err conftest.$ac_objext \
 
12306
    conftest$ac_exeext conftest.$ac_ext
11031
12307
LIBS=$ac_check_lib_save_LIBS
11032
12308
fi
11033
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11034
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11035
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
12309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
12310
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
12311
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11036
12312
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11037
12313
else
11038
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11039
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11040
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11041
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12314
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
12315
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
12316
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
12317
  $as_echo_n "(cached) " >&6
11042
12318
else
11043
12319
  ac_check_lib_save_LIBS=$LIBS
11044
12320
LIBS="-lsvld  $LIBS"
11045
 
cat >conftest.$ac_ext <<_ACEOF
11046
 
/* confdefs.h.  */
11047
 
_ACEOF
11048
 
cat confdefs.h >>conftest.$ac_ext
11049
 
cat >>conftest.$ac_ext <<_ACEOF
 
12321
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050
12322
/* end confdefs.h.  */
11051
12323
 
11052
12324
/* Override any GCC internal prototype to avoid an error.
11064
12336
  return 0;
11065
12337
}
11066
12338
_ACEOF
11067
 
rm -f conftest.$ac_objext conftest$ac_exeext
11068
 
if { (ac_try="$ac_link"
11069
 
case "(($ac_try" in
11070
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11071
 
  *) ac_try_echo=$ac_try;;
11072
 
esac
11073
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11074
 
  (eval "$ac_link") 2>conftest.er1
11075
 
  ac_status=$?
11076
 
  grep -v '^ *+' conftest.er1 >conftest.err
11077
 
  rm -f conftest.er1
11078
 
  cat conftest.err >&5
11079
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080
 
  (exit $ac_status); } && {
11081
 
         test -z "$ac_c_werror_flag" ||
11082
 
         test ! -s conftest.err
11083
 
       } && test -s conftest$ac_exeext &&
11084
 
       $as_test_x conftest$ac_exeext; then
 
12339
if ac_fn_c_try_link "$LINENO"; then :
11085
12340
  ac_cv_lib_svld_dlopen=yes
11086
12341
else
11087
 
  echo "$as_me: failed program was:" >&5
11088
 
sed 's/^/| /' conftest.$ac_ext >&5
11089
 
 
11090
 
        ac_cv_lib_svld_dlopen=no
 
12342
  ac_cv_lib_svld_dlopen=no
11091
12343
fi
11092
 
 
11093
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11094
 
      conftest$ac_exeext conftest.$ac_ext
 
12344
rm -f core conftest.err conftest.$ac_objext \
 
12345
    conftest$ac_exeext conftest.$ac_ext
11095
12346
LIBS=$ac_check_lib_save_LIBS
11096
12347
fi
11097
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11098
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11099
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
12348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
12349
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
12350
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11100
12351
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11101
12352
else
11102
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11103
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11104
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11105
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12353
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
12354
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
12355
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
12356
  $as_echo_n "(cached) " >&6
11106
12357
else
11107
12358
  ac_check_lib_save_LIBS=$LIBS
11108
12359
LIBS="-ldld  $LIBS"
11109
 
cat >conftest.$ac_ext <<_ACEOF
11110
 
/* confdefs.h.  */
11111
 
_ACEOF
11112
 
cat confdefs.h >>conftest.$ac_ext
11113
 
cat >>conftest.$ac_ext <<_ACEOF
 
12360
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11114
12361
/* end confdefs.h.  */
11115
12362
 
11116
12363
/* Override any GCC internal prototype to avoid an error.
11128
12375
  return 0;
11129
12376
}
11130
12377
_ACEOF
11131
 
rm -f conftest.$ac_objext conftest$ac_exeext
11132
 
if { (ac_try="$ac_link"
11133
 
case "(($ac_try" in
11134
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11135
 
  *) ac_try_echo=$ac_try;;
11136
 
esac
11137
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11138
 
  (eval "$ac_link") 2>conftest.er1
11139
 
  ac_status=$?
11140
 
  grep -v '^ *+' conftest.er1 >conftest.err
11141
 
  rm -f conftest.er1
11142
 
  cat conftest.err >&5
11143
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11144
 
  (exit $ac_status); } && {
11145
 
         test -z "$ac_c_werror_flag" ||
11146
 
         test ! -s conftest.err
11147
 
       } && test -s conftest$ac_exeext &&
11148
 
       $as_test_x conftest$ac_exeext; then
 
12378
if ac_fn_c_try_link "$LINENO"; then :
11149
12379
  ac_cv_lib_dld_dld_link=yes
11150
12380
else
11151
 
  echo "$as_me: failed program was:" >&5
11152
 
sed 's/^/| /' conftest.$ac_ext >&5
11153
 
 
11154
 
        ac_cv_lib_dld_dld_link=no
 
12381
  ac_cv_lib_dld_dld_link=no
11155
12382
fi
11156
 
 
11157
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11158
 
      conftest$ac_exeext conftest.$ac_ext
 
12383
rm -f core conftest.err conftest.$ac_objext \
 
12384
    conftest$ac_exeext conftest.$ac_ext
11159
12385
LIBS=$ac_check_lib_save_LIBS
11160
12386
fi
11161
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11162
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11163
 
if test $ac_cv_lib_dld_dld_link = yes; then
11164
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
12387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
12388
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
12389
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
12390
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11165
12391
fi
11166
12392
 
11167
12393
 
11199
12425
    save_LIBS="$LIBS"
11200
12426
    LIBS="$lt_cv_dlopen_libs $LIBS"
11201
12427
 
11202
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11203
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11204
 
if test "${lt_cv_dlopen_self+set}" = set; then
11205
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12428
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
12429
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
12430
if test "${lt_cv_dlopen_self+set}" = set; then :
 
12431
  $as_echo_n "(cached) " >&6
11206
12432
else
11207
12433
          if test "$cross_compiling" = yes; then :
11208
12434
  lt_cv_dlopen_self=cross
11209
12435
else
11210
12436
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11211
12437
  lt_status=$lt_dlunknown
11212
 
  cat > conftest.$ac_ext <<EOF
11213
 
#line 11213 "configure"
 
12438
  cat > conftest.$ac_ext <<_LT_EOF
 
12439
#line 12439 "configure"
11214
12440
#include "confdefs.h"
11215
12441
 
11216
12442
#if HAVE_DLFCN_H
11251
12477
#  endif
11252
12478
#endif
11253
12479
 
11254
 
#ifdef __cplusplus
11255
 
extern "C" void exit (int);
11256
 
#endif
11257
 
 
11258
12480
void fnord() { int i=42;}
11259
12481
int main ()
11260
12482
{
11270
12492
  else
11271
12493
    puts (dlerror ());
11272
12494
 
11273
 
    exit (status);
 
12495
  return status;
11274
12496
}
11275
 
EOF
11276
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
12497
_LT_EOF
 
12498
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11277
12499
  (eval $ac_link) 2>&5
11278
12500
  ac_status=$?
11279
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12501
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12502
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11281
12503
    (./conftest; exit; ) >&5 2>/dev/null
11282
12504
    lt_status=$?
11283
12505
    case x$lt_status in
11294
12516
 
11295
12517
 
11296
12518
fi
11297
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11298
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
12519
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
12520
$as_echo "$lt_cv_dlopen_self" >&6; }
11299
12521
 
11300
12522
    if test "x$lt_cv_dlopen_self" = xyes; then
11301
12523
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11302
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11303
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11304
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
11305
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12524
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
12525
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
12526
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
12527
  $as_echo_n "(cached) " >&6
11306
12528
else
11307
12529
          if test "$cross_compiling" = yes; then :
11308
12530
  lt_cv_dlopen_self_static=cross
11309
12531
else
11310
12532
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11311
12533
  lt_status=$lt_dlunknown
11312
 
  cat > conftest.$ac_ext <<EOF
11313
 
#line 11313 "configure"
 
12534
  cat > conftest.$ac_ext <<_LT_EOF
 
12535
#line 12535 "configure"
11314
12536
#include "confdefs.h"
11315
12537
 
11316
12538
#if HAVE_DLFCN_H
11351
12573
#  endif
11352
12574
#endif
11353
12575
 
11354
 
#ifdef __cplusplus
11355
 
extern "C" void exit (int);
11356
 
#endif
11357
 
 
11358
12576
void fnord() { int i=42;}
11359
12577
int main ()
11360
12578
{
11370
12588
  else
11371
12589
    puts (dlerror ());
11372
12590
 
11373
 
    exit (status);
 
12591
  return status;
11374
12592
}
11375
 
EOF
11376
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
12593
_LT_EOF
 
12594
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11377
12595
  (eval $ac_link) 2>&5
11378
12596
  ac_status=$?
11379
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12597
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12598
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11381
12599
    (./conftest; exit; ) >&5 2>/dev/null
11382
12600
    lt_status=$?
11383
12601
    case x$lt_status in
11394
12612
 
11395
12613
 
11396
12614
fi
11397
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11398
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
12615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
12616
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11399
12617
    fi
11400
12618
 
11401
12619
    CPPFLAGS="$save_CPPFLAGS"
11416
12634
fi
11417
12635
 
11418
12636
 
11419
 
# Report which library types will actually be built
11420
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11421
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11422
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11423
 
echo "${ECHO_T}$can_build_shared" >&6; }
11424
 
 
11425
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11426
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11427
 
test "$can_build_shared" = "no" && enable_shared=no
11428
 
 
11429
 
# On AIX, shared libraries and static libraries use the same namespace, and
11430
 
# are all built from PIC.
11431
 
case $host_os in
11432
 
aix3*)
11433
 
  test "$enable_shared" = yes && enable_static=no
11434
 
  if test -n "$RANLIB"; then
11435
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
11436
 
    postinstall_cmds='$RANLIB $lib'
11437
 
  fi
11438
 
  ;;
11439
 
 
11440
 
aix4* | aix5*)
11441
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
12637
 
 
12638
 
 
12639
 
 
12640
 
 
12641
 
 
12642
 
 
12643
 
 
12644
 
 
12645
 
 
12646
 
 
12647
 
 
12648
 
 
12649
 
 
12650
 
 
12651
 
 
12652
striplib=
 
12653
old_striplib=
 
12654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
12655
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
12656
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
12657
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
12658
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
12659
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12660
$as_echo "yes" >&6; }
 
12661
else
 
12662
# FIXME - insert some real tests, host_os isn't really good enough
 
12663
  case $host_os in
 
12664
  darwin*)
 
12665
    if test -n "$STRIP" ; then
 
12666
      striplib="$STRIP -x"
 
12667
      old_striplib="$STRIP -S"
 
12668
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12669
$as_echo "yes" >&6; }
 
12670
    else
 
12671
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12672
$as_echo "no" >&6; }
 
12673
    fi
 
12674
    ;;
 
12675
  *)
 
12676
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12677
$as_echo "no" >&6; }
 
12678
    ;;
 
12679
  esac
 
12680
fi
 
12681
 
 
12682
 
 
12683
 
 
12684
 
 
12685
 
 
12686
 
 
12687
 
 
12688
 
 
12689
 
 
12690
 
 
12691
 
 
12692
 
 
12693
  # Report which library types will actually be built
 
12694
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
12695
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
12696
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
12697
$as_echo "$can_build_shared" >&6; }
 
12698
 
 
12699
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
12700
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
12701
  test "$can_build_shared" = "no" && enable_shared=no
 
12702
 
 
12703
  # On AIX, shared libraries and static libraries use the same namespace, and
 
12704
  # are all built from PIC.
 
12705
  case $host_os in
 
12706
  aix3*)
11442
12707
    test "$enable_shared" = yes && enable_static=no
11443
 
  fi
11444
 
    ;;
11445
 
esac
11446
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11447
 
echo "${ECHO_T}$enable_shared" >&6; }
11448
 
 
11449
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11450
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11451
 
# Make sure either enable_shared or enable_static is yes.
11452
 
test "$enable_shared" = yes || enable_static=yes
11453
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
11454
 
echo "${ECHO_T}$enable_static" >&6; }
11455
 
 
11456
 
# The else clause should only fire when bootstrapping the
11457
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
11458
 
# with your package, and you will get complaints that there are
11459
 
# no rules to generate ltmain.sh.
11460
 
if test -f "$ltmain"; then
11461
 
  # See if we are running on zsh, and set the options which allow our commands through
11462
 
  # without removal of \ escapes.
11463
 
  if test -n "${ZSH_VERSION+set}" ; then
11464
 
    setopt NO_GLOB_SUBST
11465
 
  fi
11466
 
  # Now quote all the things that may contain metacharacters while being
11467
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
11468
 
  # variables and quote the copies for generation of the libtool script.
11469
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11470
 
    SED SHELL STRIP \
11471
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11472
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11473
 
    deplibs_check_method reload_flag reload_cmds need_locks \
11474
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11475
 
    lt_cv_sys_global_symbol_to_c_name_address \
11476
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11477
 
    old_postinstall_cmds old_postuninstall_cmds \
11478
 
    compiler \
11479
 
    CC \
11480
 
    LD \
11481
 
    lt_prog_compiler_wl \
11482
 
    lt_prog_compiler_pic \
11483
 
    lt_prog_compiler_static \
11484
 
    lt_prog_compiler_no_builtin_flag \
11485
 
    export_dynamic_flag_spec \
11486
 
    thread_safe_flag_spec \
11487
 
    whole_archive_flag_spec \
11488
 
    enable_shared_with_static_runtimes \
11489
 
    old_archive_cmds \
11490
 
    old_archive_from_new_cmds \
11491
 
    predep_objects \
11492
 
    postdep_objects \
11493
 
    predeps \
11494
 
    postdeps \
11495
 
    compiler_lib_search_path \
11496
 
    archive_cmds \
11497
 
    archive_expsym_cmds \
11498
 
    postinstall_cmds \
11499
 
    postuninstall_cmds \
11500
 
    old_archive_from_expsyms_cmds \
11501
 
    allow_undefined_flag \
11502
 
    no_undefined_flag \
11503
 
    export_symbols_cmds \
11504
 
    hardcode_libdir_flag_spec \
11505
 
    hardcode_libdir_flag_spec_ld \
11506
 
    hardcode_libdir_separator \
11507
 
    hardcode_automatic \
11508
 
    module_cmds \
11509
 
    module_expsym_cmds \
11510
 
    lt_cv_prog_compiler_c_o \
11511
 
    fix_srcfile_path \
11512
 
    exclude_expsyms \
11513
 
    include_expsyms; do
11514
 
 
11515
 
    case $var in
11516
 
    old_archive_cmds | \
11517
 
    old_archive_from_new_cmds | \
11518
 
    archive_cmds | \
11519
 
    archive_expsym_cmds | \
11520
 
    module_cmds | \
11521
 
    module_expsym_cmds | \
11522
 
    old_archive_from_expsyms_cmds | \
11523
 
    export_symbols_cmds | \
11524
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
11525
 
    postinstall_cmds | postuninstall_cmds | \
11526
 
    old_postinstall_cmds | old_postuninstall_cmds | \
11527
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11528
 
      # Double-quote double-evaled strings.
11529
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11530
 
      ;;
11531
 
    *)
11532
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11533
 
      ;;
11534
 
    esac
11535
 
  done
11536
 
 
11537
 
  case $lt_echo in
11538
 
  *'\$0 --fallback-echo"')
11539
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11540
 
    ;;
11541
 
  esac
11542
 
 
11543
 
cfgfile="${ofile}T"
11544
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11545
 
  $rm -f "$cfgfile"
11546
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
11547
 
echo "$as_me: creating $ofile" >&6;}
11548
 
 
11549
 
  cat <<__EOF__ >> "$cfgfile"
11550
 
#! $SHELL
11551
 
 
11552
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11553
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11554
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11555
 
#
11556
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
11557
 
# Free Software Foundation, Inc.
11558
 
#
11559
 
# This file is part of GNU Libtool:
11560
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11561
 
#
11562
 
# This program is free software; you can redistribute it and/or modify
11563
 
# it under the terms of the GNU General Public License as published by
11564
 
# the Free Software Foundation; either version 2 of the License, or
11565
 
# (at your option) any later version.
11566
 
#
11567
 
# This program is distributed in the hope that it will be useful, but
11568
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
11569
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11570
 
# General Public License for more details.
11571
 
#
11572
 
# You should have received a copy of the GNU General Public License
11573
 
# along with this program; if not, write to the Free Software
11574
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11575
 
#
11576
 
# As a special exception to the GNU General Public License, if you
11577
 
# distribute this file as part of a program that contains a
11578
 
# configuration script generated by Autoconf, you may include it under
11579
 
# the same distribution terms that you use for the rest of that program.
11580
 
 
11581
 
# A sed program that does not truncate output.
11582
 
SED=$lt_SED
11583
 
 
11584
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11585
 
Xsed="$SED -e 1s/^X//"
11586
 
 
11587
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
11588
 
# if CDPATH is set.
11589
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11590
 
 
11591
 
# The names of the tagged configurations supported by this script.
11592
 
available_tags=
11593
 
 
11594
 
# ### BEGIN LIBTOOL CONFIG
11595
 
 
11596
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11597
 
 
11598
 
# Shell to use when invoking shell scripts.
11599
 
SHELL=$lt_SHELL
11600
 
 
11601
 
# Whether or not to build shared libraries.
11602
 
build_libtool_libs=$enable_shared
11603
 
 
11604
 
# Whether or not to build static libraries.
11605
 
build_old_libs=$enable_static
11606
 
 
11607
 
# Whether or not to add -lc for building shared libraries.
11608
 
build_libtool_need_lc=$archive_cmds_need_lc
11609
 
 
11610
 
# Whether or not to disallow shared libs when runtime libs are static
11611
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11612
 
 
11613
 
# Whether or not to optimize for fast installation.
11614
 
fast_install=$enable_fast_install
11615
 
 
11616
 
# The host system.
11617
 
host_alias=$host_alias
11618
 
host=$host
11619
 
host_os=$host_os
11620
 
 
11621
 
# The build system.
11622
 
build_alias=$build_alias
11623
 
build=$build
11624
 
build_os=$build_os
11625
 
 
11626
 
# An echo program that does not interpret backslashes.
11627
 
echo=$lt_echo
11628
 
 
11629
 
# The archiver.
11630
 
AR=$lt_AR
11631
 
AR_FLAGS=$lt_AR_FLAGS
11632
 
 
11633
 
# A C compiler.
11634
 
LTCC=$lt_LTCC
11635
 
 
11636
 
# LTCC compiler flags.
11637
 
LTCFLAGS=$lt_LTCFLAGS
11638
 
 
11639
 
# A language-specific compiler.
11640
 
CC=$lt_compiler
11641
 
 
11642
 
# Is the compiler the GNU C compiler?
11643
 
with_gcc=$GCC
11644
 
 
11645
 
# An ERE matcher.
11646
 
EGREP=$lt_EGREP
11647
 
 
11648
 
# The linker used to build libraries.
11649
 
LD=$lt_LD
11650
 
 
11651
 
# Whether we need hard or soft links.
11652
 
LN_S=$lt_LN_S
11653
 
 
11654
 
# A BSD-compatible nm program.
11655
 
NM=$lt_NM
11656
 
 
11657
 
# A symbol stripping program
11658
 
STRIP=$lt_STRIP
11659
 
 
11660
 
# Used to examine libraries when file_magic_cmd begins "file"
11661
 
MAGIC_CMD=$MAGIC_CMD
11662
 
 
11663
 
# Used on cygwin: DLL creation program.
11664
 
DLLTOOL="$DLLTOOL"
11665
 
 
11666
 
# Used on cygwin: object dumper.
11667
 
OBJDUMP="$OBJDUMP"
11668
 
 
11669
 
# Used on cygwin: assembler.
11670
 
AS="$AS"
11671
 
 
11672
 
# The name of the directory that contains temporary libtool files.
11673
 
objdir=$objdir
11674
 
 
11675
 
# How to create reloadable object files.
11676
 
reload_flag=$lt_reload_flag
11677
 
reload_cmds=$lt_reload_cmds
11678
 
 
11679
 
# How to pass a linker flag through the compiler.
11680
 
wl=$lt_lt_prog_compiler_wl
11681
 
 
11682
 
# Object file suffix (normally "o").
11683
 
objext="$ac_objext"
11684
 
 
11685
 
# Old archive suffix (normally "a").
11686
 
libext="$libext"
11687
 
 
11688
 
# Shared library suffix (normally ".so").
11689
 
shrext_cmds='$shrext_cmds'
11690
 
 
11691
 
# Executable file suffix (normally "").
11692
 
exeext="$exeext"
11693
 
 
11694
 
# Additional compiler flags for building library objects.
11695
 
pic_flag=$lt_lt_prog_compiler_pic
11696
 
pic_mode=$pic_mode
11697
 
 
11698
 
# What is the maximum length of a command?
11699
 
max_cmd_len=$lt_cv_sys_max_cmd_len
11700
 
 
11701
 
# Does compiler simultaneously support -c and -o options?
11702
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11703
 
 
11704
 
# Must we lock files when doing compilation?
11705
 
need_locks=$lt_need_locks
11706
 
 
11707
 
# Do we need the lib prefix for modules?
11708
 
need_lib_prefix=$need_lib_prefix
11709
 
 
11710
 
# Do we need a version for libraries?
11711
 
need_version=$need_version
11712
 
 
11713
 
# Whether dlopen is supported.
11714
 
dlopen_support=$enable_dlopen
11715
 
 
11716
 
# Whether dlopen of programs is supported.
11717
 
dlopen_self=$enable_dlopen_self
11718
 
 
11719
 
# Whether dlopen of statically linked programs is supported.
11720
 
dlopen_self_static=$enable_dlopen_self_static
11721
 
 
11722
 
# Compiler flag to prevent dynamic linking.
11723
 
link_static_flag=$lt_lt_prog_compiler_static
11724
 
 
11725
 
# Compiler flag to turn off builtin functions.
11726
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11727
 
 
11728
 
# Compiler flag to allow reflexive dlopens.
11729
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11730
 
 
11731
 
# Compiler flag to generate shared objects directly from archives.
11732
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
11733
 
 
11734
 
# Compiler flag to generate thread-safe objects.
11735
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
11736
 
 
11737
 
# Library versioning type.
11738
 
version_type=$version_type
11739
 
 
11740
 
# Format of library name prefix.
11741
 
libname_spec=$lt_libname_spec
11742
 
 
11743
 
# List of archive names.  First name is the real one, the rest are links.
11744
 
# The last name is the one that the linker finds with -lNAME.
11745
 
library_names_spec=$lt_library_names_spec
11746
 
 
11747
 
# The coded name of the library, if different from the real name.
11748
 
soname_spec=$lt_soname_spec
11749
 
 
11750
 
# Commands used to build and install an old-style archive.
11751
 
RANLIB=$lt_RANLIB
11752
 
old_archive_cmds=$lt_old_archive_cmds
11753
 
old_postinstall_cmds=$lt_old_postinstall_cmds
11754
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
11755
 
 
11756
 
# Create an old-style archive from a shared archive.
11757
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11758
 
 
11759
 
# Create a temporary old-style archive to link instead of a shared archive.
11760
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11761
 
 
11762
 
# Commands used to build and install a shared archive.
11763
 
archive_cmds=$lt_archive_cmds
11764
 
archive_expsym_cmds=$lt_archive_expsym_cmds
11765
 
postinstall_cmds=$lt_postinstall_cmds
11766
 
postuninstall_cmds=$lt_postuninstall_cmds
11767
 
 
11768
 
# Commands used to build a loadable module (assumed same as above if empty)
11769
 
module_cmds=$lt_module_cmds
11770
 
module_expsym_cmds=$lt_module_expsym_cmds
11771
 
 
11772
 
# Commands to strip libraries.
11773
 
old_striplib=$lt_old_striplib
11774
 
striplib=$lt_striplib
11775
 
 
11776
 
# Dependencies to place before the objects being linked to create a
11777
 
# shared library.
11778
 
predep_objects=$lt_predep_objects
11779
 
 
11780
 
# Dependencies to place after the objects being linked to create a
11781
 
# shared library.
11782
 
postdep_objects=$lt_postdep_objects
11783
 
 
11784
 
# Dependencies to place before the objects being linked to create a
11785
 
# shared library.
11786
 
predeps=$lt_predeps
11787
 
 
11788
 
# Dependencies to place after the objects being linked to create a
11789
 
# shared library.
11790
 
postdeps=$lt_postdeps
11791
 
 
11792
 
# The library search path used internally by the compiler when linking
11793
 
# a shared library.
11794
 
compiler_lib_search_path=$lt_compiler_lib_search_path
11795
 
 
11796
 
# Method to check whether dependent libraries are shared objects.
11797
 
deplibs_check_method=$lt_deplibs_check_method
11798
 
 
11799
 
# Command to use when deplibs_check_method == file_magic.
11800
 
file_magic_cmd=$lt_file_magic_cmd
11801
 
 
11802
 
# Flag that allows shared libraries with undefined symbols to be built.
11803
 
allow_undefined_flag=$lt_allow_undefined_flag
11804
 
 
11805
 
# Flag that forces no undefined symbols.
11806
 
no_undefined_flag=$lt_no_undefined_flag
11807
 
 
11808
 
# Commands used to finish a libtool library installation in a directory.
11809
 
finish_cmds=$lt_finish_cmds
11810
 
 
11811
 
# Same as above, but a single script fragment to be evaled but not shown.
11812
 
finish_eval=$lt_finish_eval
11813
 
 
11814
 
# Take the output of nm and produce a listing of raw symbols and C names.
11815
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11816
 
 
11817
 
# Transform the output of nm in a proper C declaration
11818
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11819
 
 
11820
 
# Transform the output of nm in a C name address pair
11821
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11822
 
 
11823
 
# This is the shared library runtime path variable.
11824
 
runpath_var=$runpath_var
11825
 
 
11826
 
# This is the shared library path variable.
11827
 
shlibpath_var=$shlibpath_var
11828
 
 
11829
 
# Is shlibpath searched before the hard-coded library search path?
11830
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11831
 
 
11832
 
# How to hardcode a shared library path into an executable.
11833
 
hardcode_action=$hardcode_action
11834
 
 
11835
 
# Whether we should hardcode library paths into libraries.
11836
 
hardcode_into_libs=$hardcode_into_libs
11837
 
 
11838
 
# Flag to hardcode \$libdir into a binary during linking.
11839
 
# This must work even if \$libdir does not exist.
11840
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11841
 
 
11842
 
# If ld is used when linking, flag to hardcode \$libdir into
11843
 
# a binary during linking. This must work even if \$libdir does
11844
 
# not exist.
11845
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11846
 
 
11847
 
# Whether we need a single -rpath flag with a separated argument.
11848
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
11849
 
 
11850
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11851
 
# resulting binary.
11852
 
hardcode_direct=$hardcode_direct
11853
 
 
11854
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11855
 
# resulting binary.
11856
 
hardcode_minus_L=$hardcode_minus_L
11857
 
 
11858
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11859
 
# the resulting binary.
11860
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
11861
 
 
11862
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
11863
 
# and all subsequent libraries and executables linked against it.
11864
 
hardcode_automatic=$hardcode_automatic
11865
 
 
11866
 
# Variables whose values should be saved in libtool wrapper scripts and
11867
 
# restored at relink time.
11868
 
variables_saved_for_relink="$variables_saved_for_relink"
11869
 
 
11870
 
# Whether libtool must link a program against all its dependency libraries.
11871
 
link_all_deplibs=$link_all_deplibs
11872
 
 
11873
 
# Compile-time system search path for libraries
11874
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11875
 
 
11876
 
# Run-time system search path for libraries
11877
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11878
 
 
11879
 
# Fix the shell variable \$srcfile for the compiler.
11880
 
fix_srcfile_path=$lt_fix_srcfile_path
11881
 
 
11882
 
# Set to yes if exported symbols are required.
11883
 
always_export_symbols=$always_export_symbols
11884
 
 
11885
 
# The commands to list exported symbols.
11886
 
export_symbols_cmds=$lt_export_symbols_cmds
11887
 
 
11888
 
# The commands to extract the exported symbol list from a shared archive.
11889
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
11890
 
 
11891
 
# Symbols that should not be listed in the preloaded symbols.
11892
 
exclude_expsyms=$lt_exclude_expsyms
11893
 
 
11894
 
# Symbols that must always be exported.
11895
 
include_expsyms=$lt_include_expsyms
11896
 
 
11897
 
# ### END LIBTOOL CONFIG
11898
 
 
11899
 
__EOF__
11900
 
 
11901
 
 
11902
 
  case $host_os in
11903
 
  aix3*)
11904
 
    cat <<\EOF >> "$cfgfile"
11905
 
 
11906
 
# AIX sometimes has problems with the GCC collect2 program.  For some
11907
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
11908
 
# vanish in a puff of smoke.
11909
 
if test "X${COLLECT_NAMES+set}" != Xset; then
11910
 
  COLLECT_NAMES=
11911
 
  export COLLECT_NAMES
11912
 
fi
11913
 
EOF
11914
 
    ;;
11915
 
  esac
11916
 
 
11917
 
  # We use sed instead of cat because bash on DJGPP gets confused if
11918
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
11919
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
11920
 
  # is reportedly fixed, but why not run on old versions too?
11921
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11922
 
 
11923
 
  mv -f "$cfgfile" "$ofile" || \
11924
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11925
 
  chmod +x "$ofile"
11926
 
 
11927
 
else
11928
 
  # If there is no Makefile yet, we rely on a make rule to execute
11929
 
  # `config.status --recheck' to rerun these tests and create the
11930
 
  # libtool script then.
11931
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11932
 
  if test -f "$ltmain_in"; then
11933
 
    test -f Makefile && make "$ltmain"
11934
 
  fi
11935
 
fi
11936
 
 
11937
 
 
 
12708
    if test -n "$RANLIB"; then
 
12709
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
12710
      postinstall_cmds='$RANLIB $lib'
 
12711
    fi
 
12712
    ;;
 
12713
 
 
12714
  aix[4-9]*)
 
12715
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
12716
      test "$enable_shared" = yes && enable_static=no
 
12717
    fi
 
12718
    ;;
 
12719
  esac
 
12720
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
12721
$as_echo "$enable_shared" >&6; }
 
12722
 
 
12723
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
12724
$as_echo_n "checking whether to build static libraries... " >&6; }
 
12725
  # Make sure either enable_shared or enable_static is yes.
 
12726
  test "$enable_shared" = yes || enable_static=yes
 
12727
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
12728
$as_echo "$enable_static" >&6; }
 
12729
 
 
12730
 
 
12731
 
 
12732
 
 
12733
fi
11938
12734
ac_ext=c
11939
12735
ac_cpp='$CPP $CPPFLAGS'
11940
12736
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11944
12740
CC="$lt_save_CC"
11945
12741
 
11946
12742
 
11947
 
# Check whether --with-tags was given.
11948
 
if test "${with_tags+set}" = set; then
11949
 
  withval=$with_tags; tagnames="$withval"
11950
 
fi
11951
 
 
11952
 
 
11953
 
if test -f "$ltmain" && test -n "$tagnames"; then
11954
 
  if test ! -f "${ofile}"; then
11955
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11956
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11957
 
  fi
11958
 
 
11959
 
  if test -z "$LTCC"; then
11960
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11961
 
    if test -z "$LTCC"; then
11962
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11963
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11964
 
    else
11965
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11966
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11967
 
    fi
11968
 
  fi
11969
 
  if test -z "$LTCFLAGS"; then
11970
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11971
 
  fi
11972
 
 
11973
 
  # Extract list of available tagged configurations in $ofile.
11974
 
  # Note that this assumes the entire list is on one line.
11975
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11976
 
 
11977
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11978
 
  for tagname in $tagnames; do
11979
 
    IFS="$lt_save_ifs"
11980
 
    # Check whether tagname contains only valid characters
11981
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11982
 
    "") ;;
11983
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11984
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
11985
 
   { (exit 1); exit 1; }; }
11986
 
        ;;
11987
 
    esac
11988
 
 
11989
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11990
 
    then
11991
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11992
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11993
 
   { (exit 1); exit 1; }; }
11994
 
    fi
11995
 
 
11996
 
    # Update the list of available tags.
11997
 
    if test -n "$tagname"; then
11998
 
      echo appending configuration tag \"$tagname\" to $ofile
11999
 
 
12000
 
      case $tagname in
12001
 
      CXX)
12002
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12003
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12004
 
            (test "X$CXX" != "Xg++"))) ; then
12005
 
          ac_ext=cpp
 
12743
ac_ext=cpp
12006
12744
ac_cpp='$CXXCPP $CPPFLAGS'
12007
12745
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12008
12746
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12009
12747
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12010
12748
 
12011
 
 
12012
 
 
12013
 
 
12014
12749
archive_cmds_need_lc_CXX=no
12015
12750
allow_undefined_flag_CXX=
12016
12751
always_export_symbols_CXX=no
12017
12752
archive_expsym_cmds_CXX=
 
12753
compiler_needs_object_CXX=no
12018
12754
export_dynamic_flag_spec_CXX=
12019
12755
hardcode_direct_CXX=no
 
12756
hardcode_direct_absolute_CXX=no
12020
12757
hardcode_libdir_flag_spec_CXX=
12021
12758
hardcode_libdir_flag_spec_ld_CXX=
12022
12759
hardcode_libdir_separator_CXX=
12023
12760
hardcode_minus_L_CXX=no
12024
12761
hardcode_shlibpath_var_CXX=unsupported
12025
12762
hardcode_automatic_CXX=no
 
12763
inherit_rpath_CXX=no
12026
12764
module_cmds_CXX=
12027
12765
module_expsym_cmds_CXX=
12028
12766
link_all_deplibs_CXX=unknown
12031
12769
whole_archive_flag_spec_CXX=
12032
12770
enable_shared_with_static_runtimes_CXX=no
12033
12771
 
12034
 
# Dependencies to place before and after the object being linked:
12035
 
predep_objects_CXX=
12036
 
postdep_objects_CXX=
12037
 
predeps_CXX=
12038
 
postdeps_CXX=
12039
 
compiler_lib_search_path_CXX=
12040
 
 
12041
12772
# Source file extension for C++ test sources.
12042
12773
ac_ext=cpp
12043
12774
 
12045
12776
objext=o
12046
12777
objext_CXX=$objext
12047
12778
 
12048
 
# Code to be used in simple compile tests
12049
 
lt_simple_compile_test_code="int some_variable = 0;"
12050
 
 
12051
 
# Code to be used in simple link tests
12052
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12053
 
 
12054
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
12779
# No sense in running all these tests if we already determined that
 
12780
# the CXX compiler isn't working.  Some variables (like enable_shared)
 
12781
# are currently assumed to apply to all compilers on this platform,
 
12782
# and will be corrupted by setting them based on a non-working compiler.
 
12783
if test "$_lt_caught_CXX_error" != yes; then
 
12784
  # Code to be used in simple compile tests
 
12785
  lt_simple_compile_test_code="int some_variable = 0;"
 
12786
 
 
12787
  # Code to be used in simple link tests
 
12788
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 
12789
 
 
12790
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
12791
 
 
12792
 
 
12793
 
 
12794
 
 
12795
 
12055
12796
 
12056
12797
# If no C compiler was specified, use CC.
12057
12798
LTCC=${LTCC-"$CC"}
12063
12804
compiler=$CC
12064
12805
 
12065
12806
 
12066
 
# save warnings/boilerplate of simple test code
12067
 
ac_outfile=conftest.$ac_objext
 
12807
  # save warnings/boilerplate of simple test code
 
12808
  ac_outfile=conftest.$ac_objext
12068
12809
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12069
12810
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12070
12811
_lt_compiler_boilerplate=`cat conftest.err`
12071
 
$rm conftest*
 
12812
$RM conftest*
12072
12813
 
12073
 
ac_outfile=conftest.$ac_objext
 
12814
  ac_outfile=conftest.$ac_objext
12074
12815
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12075
12816
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12076
12817
_lt_linker_boilerplate=`cat conftest.err`
12077
 
$rm conftest*
12078
 
 
12079
 
 
12080
 
# Allow CC to be a program name with arguments.
12081
 
lt_save_CC=$CC
12082
 
lt_save_LD=$LD
12083
 
lt_save_GCC=$GCC
12084
 
GCC=$GXX
12085
 
lt_save_with_gnu_ld=$with_gnu_ld
12086
 
lt_save_path_LD=$lt_cv_path_LD
12087
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12088
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12089
 
else
12090
 
  $as_unset lt_cv_prog_gnu_ld
12091
 
fi
12092
 
if test -n "${lt_cv_path_LDCXX+set}"; then
12093
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
12094
 
else
12095
 
  $as_unset lt_cv_path_LD
12096
 
fi
12097
 
test -z "${LDCXX+set}" || LD=$LDCXX
12098
 
CC=${CXX-"c++"}
12099
 
compiler=$CC
12100
 
compiler_CXX=$CC
12101
 
for cc_temp in $compiler""; do
 
12818
$RM -r conftest*
 
12819
 
 
12820
 
 
12821
  # Allow CC to be a program name with arguments.
 
12822
  lt_save_CC=$CC
 
12823
  lt_save_LD=$LD
 
12824
  lt_save_GCC=$GCC
 
12825
  GCC=$GXX
 
12826
  lt_save_with_gnu_ld=$with_gnu_ld
 
12827
  lt_save_path_LD=$lt_cv_path_LD
 
12828
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
12829
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
12830
  else
 
12831
    $as_unset lt_cv_prog_gnu_ld
 
12832
  fi
 
12833
  if test -n "${lt_cv_path_LDCXX+set}"; then
 
12834
    lt_cv_path_LD=$lt_cv_path_LDCXX
 
12835
  else
 
12836
    $as_unset lt_cv_path_LD
 
12837
  fi
 
12838
  test -z "${LDCXX+set}" || LD=$LDCXX
 
12839
  CC=${CXX-"c++"}
 
12840
  compiler=$CC
 
12841
  compiler_CXX=$CC
 
12842
  for cc_temp in $compiler""; do
12102
12843
  case $cc_temp in
12103
12844
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12104
12845
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12106
12847
    *) break;;
12107
12848
  esac
12108
12849
done
12109
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12110
 
 
12111
 
 
12112
 
# We don't want -fno-exception wen compiling C++ code, so set the
12113
 
# no_builtin_flag separately
12114
 
if test "$GXX" = yes; then
12115
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12116
 
else
12117
 
  lt_prog_compiler_no_builtin_flag_CXX=
12118
 
fi
12119
 
 
12120
 
if test "$GXX" = yes; then
12121
 
  # Set up default GNU C++ configuration
 
12850
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
12851
 
 
12852
 
 
12853
  if test -n "$compiler"; then
 
12854
    # We don't want -fno-exception when compiling C++ code, so set the
 
12855
    # no_builtin_flag separately
 
12856
    if test "$GXX" = yes; then
 
12857
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 
12858
    else
 
12859
      lt_prog_compiler_no_builtin_flag_CXX=
 
12860
    fi
 
12861
 
 
12862
    if test "$GXX" = yes; then
 
12863
      # Set up default GNU C++ configuration
 
12864
 
12122
12865
 
12123
12866
 
12124
12867
# Check whether --with-gnu-ld was given.
12125
 
if test "${with_gnu_ld+set}" = set; then
 
12868
if test "${with_gnu_ld+set}" = set; then :
12126
12869
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12127
12870
else
12128
12871
  with_gnu_ld=no
12131
12874
ac_prog=ld
12132
12875
if test "$GCC" = yes; then
12133
12876
  # Check if gcc -print-prog-name=ld gives a path.
12134
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12135
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
12877
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
12878
$as_echo_n "checking for ld used by $CC... " >&6; }
12136
12879
  case $host in
12137
12880
  *-*-mingw*)
12138
12881
    # gcc leaves a trailing carriage return which upsets mingw
12145
12888
    [\\/]* | ?:[\\/]*)
12146
12889
      re_direlt='/[^/][^/]*/\.\./'
12147
12890
      # Canonicalize the pathname of ld
12148
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12149
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12150
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
12891
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
12892
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
12893
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12151
12894
      done
12152
12895
      test -z "$LD" && LD="$ac_prog"
12153
12896
      ;;
12161
12904
    ;;
12162
12905
  esac
12163
12906
elif test "$with_gnu_ld" = yes; then
12164
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
12165
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
12907
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
12908
$as_echo_n "checking for GNU ld... " >&6; }
12166
12909
else
12167
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12168
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
12910
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
12911
$as_echo_n "checking for non-GNU ld... " >&6; }
12169
12912
fi
12170
 
if test "${lt_cv_path_LD+set}" = set; then
12171
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12913
if test "${lt_cv_path_LD+set}" = set; then :
 
12914
  $as_echo_n "(cached) " >&6
12172
12915
else
12173
12916
  if test -z "$LD"; then
12174
12917
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12198
12941
 
12199
12942
LD="$lt_cv_path_LD"
12200
12943
if test -n "$LD"; then
12201
 
  { echo "$as_me:$LINENO: result: $LD" >&5
12202
 
echo "${ECHO_T}$LD" >&6; }
 
12944
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
12945
$as_echo "$LD" >&6; }
12203
12946
else
12204
 
  { echo "$as_me:$LINENO: result: no" >&5
12205
 
echo "${ECHO_T}no" >&6; }
 
12947
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12948
$as_echo "no" >&6; }
12206
12949
fi
12207
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12208
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12209
 
   { (exit 1); exit 1; }; }
12210
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12211
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12212
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12213
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12950
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
12951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
12952
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
12953
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
12954
  $as_echo_n "(cached) " >&6
12214
12955
else
12215
12956
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12216
12957
case `$LD -v 2>&1 </dev/null` in
12222
12963
  ;;
12223
12964
esac
12224
12965
fi
12225
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12226
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
12966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
12967
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12227
12968
with_gnu_ld=$lt_cv_prog_gnu_ld
12228
12969
 
12229
12970
 
12230
12971
 
12231
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
12232
 
  # archiving commands below assume that GNU ld is being used.
12233
 
  if test "$with_gnu_ld" = yes; then
12234
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12235
 
    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12236
 
 
12237
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12238
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12239
 
 
12240
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
12241
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12242
 
    #     investigate it a little bit more. (MM)
12243
 
    wlarc='${wl}'
12244
 
 
12245
 
    # ancient GNU ld didn't support --whole-archive et. al.
12246
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
12247
 
        grep 'no-whole-archive' > /dev/null; then
12248
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12249
 
    else
12250
 
      whole_archive_flag_spec_CXX=
12251
 
    fi
12252
 
  else
12253
 
    with_gnu_ld=no
12254
 
    wlarc=
12255
 
 
12256
 
    # A generic and very simple default shared library creation
12257
 
    # command for GNU C++ for the case where it uses the native
12258
 
    # linker, instead of GNU ld.  If possible, this setting should
12259
 
    # overridden to take advantage of the native linker features on
12260
 
    # the platform it is being used on.
12261
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12262
 
  fi
12263
 
 
12264
 
  # Commands to make compiler produce verbose output that lists
12265
 
  # what "hidden" libraries, object files and flags are used when
12266
 
  # linking a shared library.
12267
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12268
 
 
12269
 
else
12270
 
  GXX=no
12271
 
  with_gnu_ld=no
12272
 
  wlarc=
12273
 
fi
12274
 
 
12275
 
# PORTME: fill in a description of your system's C++ link characteristics
12276
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12277
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12278
 
ld_shlibs_CXX=yes
12279
 
case $host_os in
12280
 
  aix3*)
12281
 
    # FIXME: insert proper C++ library support
12282
 
    ld_shlibs_CXX=no
12283
 
    ;;
12284
 
  aix4* | aix5*)
12285
 
    if test "$host_cpu" = ia64; then
12286
 
      # On IA64, the linker does run time linking by default, so we don't
12287
 
      # have to do anything special.
12288
 
      aix_use_runtimelinking=no
12289
 
      exp_sym_flag='-Bexport'
12290
 
      no_entry_flag=""
12291
 
    else
12292
 
      aix_use_runtimelinking=no
12293
 
 
12294
 
      # Test if we are trying to use run time linking or normal
12295
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12296
 
      # need to do runtime linking.
12297
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12298
 
        for ld_flag in $LDFLAGS; do
12299
 
          case $ld_flag in
12300
 
          *-brtl*)
12301
 
            aix_use_runtimelinking=yes
12302
 
            break
12303
 
            ;;
12304
 
          esac
12305
 
        done
12306
 
        ;;
12307
 
      esac
12308
 
 
12309
 
      exp_sym_flag='-bexport'
12310
 
      no_entry_flag='-bnoentry'
12311
 
    fi
12312
 
 
12313
 
    # When large executables or shared objects are built, AIX ld can
12314
 
    # have problems creating the table of contents.  If linking a library
12315
 
    # or program results in "error TOC overflow" add -mminimal-toc to
12316
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12317
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12318
 
 
12319
 
    archive_cmds_CXX=''
12320
 
    hardcode_direct_CXX=yes
12321
 
    hardcode_libdir_separator_CXX=':'
12322
 
    link_all_deplibs_CXX=yes
12323
 
 
12324
 
    if test "$GXX" = yes; then
12325
 
      case $host_os in aix4.[012]|aix4.[012].*)
12326
 
      # We only want to do this on AIX 4.2 and lower, the check
12327
 
      # below for broken collect2 doesn't work under 4.3+
12328
 
        collect2name=`${CC} -print-prog-name=collect2`
12329
 
        if test -f "$collect2name" && \
12330
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
12331
 
        then
12332
 
          # We have reworked collect2
12333
 
          :
12334
 
        else
12335
 
          # We have old collect2
12336
 
          hardcode_direct_CXX=unsupported
12337
 
          # It fails to find uninstalled libraries when the uninstalled
12338
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
12339
 
          # to unsupported forces relinking
12340
 
          hardcode_minus_L_CXX=yes
12341
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
12342
 
          hardcode_libdir_separator_CXX=
12343
 
        fi
12344
 
        ;;
12345
 
      esac
12346
 
      shared_flag='-shared'
12347
 
      if test "$aix_use_runtimelinking" = yes; then
12348
 
        shared_flag="$shared_flag "'${wl}-G'
12349
 
      fi
12350
 
    else
12351
 
      # not using gcc
12352
 
      if test "$host_cpu" = ia64; then
12353
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12354
 
        # chokes on -Wl,-G. The following line is correct:
12355
 
        shared_flag='-G'
12356
 
      else
12357
 
        if test "$aix_use_runtimelinking" = yes; then
12358
 
          shared_flag='${wl}-G'
12359
 
        else
12360
 
          shared_flag='${wl}-bM:SRE'
12361
 
        fi
12362
 
      fi
12363
 
    fi
12364
 
 
12365
 
    # It seems that -bexpall does not export symbols beginning with
12366
 
    # underscore (_), so it is better to generate a list of symbols to export.
12367
 
    always_export_symbols_CXX=yes
12368
 
    if test "$aix_use_runtimelinking" = yes; then
12369
 
      # Warning - without using the other runtime loading flags (-brtl),
12370
 
      # -berok will link without error, but may produce a broken library.
12371
 
      allow_undefined_flag_CXX='-berok'
12372
 
      # Determine the default libpath from the value encoded in an empty executable.
12373
 
      cat >conftest.$ac_ext <<_ACEOF
12374
 
/* confdefs.h.  */
12375
 
_ACEOF
12376
 
cat confdefs.h >>conftest.$ac_ext
12377
 
cat >>conftest.$ac_ext <<_ACEOF
12378
 
/* end confdefs.h.  */
12379
 
 
12380
 
int
12381
 
main ()
12382
 
{
12383
 
 
12384
 
  ;
12385
 
  return 0;
12386
 
}
12387
 
_ACEOF
12388
 
rm -f conftest.$ac_objext conftest$ac_exeext
12389
 
if { (ac_try="$ac_link"
12390
 
case "(($ac_try" in
12391
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12392
 
  *) ac_try_echo=$ac_try;;
12393
 
esac
12394
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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
 
         test -z "$ac_cxx_werror_flag" ||
12403
 
         test ! -s conftest.err
12404
 
       } && test -s conftest$ac_exeext &&
12405
 
       $as_test_x conftest$ac_exeext; then
12406
 
 
12407
 
lt_aix_libpath_sed='
12408
 
    /Import File Strings/,/^$/ {
12409
 
        /^0/ {
12410
 
            s/^0  *\(.*\)$/\1/
12411
 
            p
12412
 
        }
12413
 
    }'
12414
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12415
 
# Check for a 64-bit object if we didn't find anything.
12416
 
if test -z "$aix_libpath"; then
12417
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12418
 
fi
12419
 
else
12420
 
  echo "$as_me: failed program was:" >&5
12421
 
sed 's/^/| /' conftest.$ac_ext >&5
12422
 
 
12423
 
 
12424
 
fi
12425
 
 
12426
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12427
 
      conftest$ac_exeext conftest.$ac_ext
12428
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12429
 
 
12430
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12431
 
 
12432
 
      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"
12433
 
     else
12434
 
      if test "$host_cpu" = ia64; then
12435
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12436
 
        allow_undefined_flag_CXX="-z nodefs"
12437
 
        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"
12438
 
      else
12439
 
        # Determine the default libpath from the value encoded in an empty executable.
12440
 
        cat >conftest.$ac_ext <<_ACEOF
12441
 
/* confdefs.h.  */
12442
 
_ACEOF
12443
 
cat confdefs.h >>conftest.$ac_ext
12444
 
cat >>conftest.$ac_ext <<_ACEOF
12445
 
/* end confdefs.h.  */
12446
 
 
12447
 
int
12448
 
main ()
12449
 
{
12450
 
 
12451
 
  ;
12452
 
  return 0;
12453
 
}
12454
 
_ACEOF
12455
 
rm -f conftest.$ac_objext conftest$ac_exeext
12456
 
if { (ac_try="$ac_link"
12457
 
case "(($ac_try" in
12458
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12459
 
  *) ac_try_echo=$ac_try;;
12460
 
esac
12461
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12462
 
  (eval "$ac_link") 2>conftest.er1
12463
 
  ac_status=$?
12464
 
  grep -v '^ *+' conftest.er1 >conftest.err
12465
 
  rm -f conftest.er1
12466
 
  cat conftest.err >&5
12467
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468
 
  (exit $ac_status); } && {
12469
 
         test -z "$ac_cxx_werror_flag" ||
12470
 
         test ! -s conftest.err
12471
 
       } && test -s conftest$ac_exeext &&
12472
 
       $as_test_x conftest$ac_exeext; then
12473
 
 
12474
 
lt_aix_libpath_sed='
12475
 
    /Import File Strings/,/^$/ {
12476
 
        /^0/ {
12477
 
            s/^0  *\(.*\)$/\1/
12478
 
            p
12479
 
        }
12480
 
    }'
12481
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12482
 
# Check for a 64-bit object if we didn't find anything.
12483
 
if test -z "$aix_libpath"; then
12484
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12485
 
fi
12486
 
else
12487
 
  echo "$as_me: failed program was:" >&5
12488
 
sed 's/^/| /' conftest.$ac_ext >&5
12489
 
 
12490
 
 
12491
 
fi
12492
 
 
12493
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12494
 
      conftest$ac_exeext conftest.$ac_ext
12495
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12496
 
 
12497
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12498
 
        # Warning - without using the other run time loading flags,
12499
 
        # -berok will link without error, but may produce a broken library.
12500
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
12501
 
        allow_undefined_flag_CXX=' ${wl}-berok'
12502
 
        # Exported symbols can be pulled into shared objects from archives
12503
 
        whole_archive_flag_spec_CXX='$convenience'
12504
 
        archive_cmds_need_lc_CXX=yes
12505
 
        # This is similar to how AIX traditionally builds its shared libraries.
12506
 
        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'
12507
 
      fi
12508
 
    fi
12509
 
    ;;
12510
 
 
12511
 
  beos*)
12512
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12513
 
      allow_undefined_flag_CXX=unsupported
12514
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12515
 
      # support --undefined.  This deserves some investigation.  FIXME
12516
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12517
 
    else
12518
 
      ld_shlibs_CXX=no
12519
 
    fi
12520
 
    ;;
12521
 
 
12522
 
  chorus*)
12523
 
    case $cc_basename in
12524
 
      *)
12525
 
        # FIXME: insert proper C++ library support
12526
 
        ld_shlibs_CXX=no
12527
 
        ;;
12528
 
    esac
12529
 
    ;;
12530
 
 
12531
 
  cygwin* | mingw* | pw32*)
12532
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12533
 
    # as there is no search path for DLLs.
12534
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
12535
 
    allow_undefined_flag_CXX=unsupported
12536
 
    always_export_symbols_CXX=no
12537
 
    enable_shared_with_static_runtimes_CXX=yes
12538
 
 
12539
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12540
 
      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'
12541
 
      # If the export-symbols file already is a .def file (1st line
12542
 
      # is EXPORTS), use it as is; otherwise, prepend...
12543
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12544
 
        cp $export_symbols $output_objdir/$soname.def;
12545
 
      else
12546
 
        echo EXPORTS > $output_objdir/$soname.def;
12547
 
        cat $export_symbols >> $output_objdir/$soname.def;
12548
 
      fi~
12549
 
      $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'
12550
 
    else
12551
 
      ld_shlibs_CXX=no
12552
 
    fi
12553
 
  ;;
12554
 
      darwin* | rhapsody*)
12555
 
        case $host_os in
12556
 
        rhapsody* | darwin1.[012])
12557
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12558
 
         ;;
12559
 
       *) # Darwin 1.3 on
12560
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12561
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12562
 
         else
12563
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
12564
 
             10.[012])
12565
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12566
 
               ;;
12567
 
             10.*)
12568
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12569
 
               ;;
12570
 
           esac
12571
 
         fi
12572
 
         ;;
12573
 
        esac
12574
 
      archive_cmds_need_lc_CXX=no
12575
 
      hardcode_direct_CXX=no
12576
 
      hardcode_automatic_CXX=yes
12577
 
      hardcode_shlibpath_var_CXX=unsupported
12578
 
      whole_archive_flag_spec_CXX=''
12579
 
      link_all_deplibs_CXX=yes
12580
 
 
12581
 
    if test "$GXX" = yes ; then
12582
 
      lt_int_apple_cc_single_mod=no
12583
 
      output_verbose_link_cmd='echo'
12584
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12585
 
       lt_int_apple_cc_single_mod=yes
12586
 
      fi
12587
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12588
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12589
 
      else
12590
 
          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'
 
12972
 
 
12973
 
 
12974
 
 
12975
 
 
12976
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
12977
      # archiving commands below assume that GNU ld is being used.
 
12978
      if test "$with_gnu_ld" = yes; then
 
12979
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12980
        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
12981
 
 
12982
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12983
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12984
 
 
12985
        # If archive_cmds runs LD, not CC, wlarc should be empty
 
12986
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
12987
        #     investigate it a little bit more. (MM)
 
12988
        wlarc='${wl}'
 
12989
 
 
12990
        # ancient GNU ld didn't support --whole-archive et. al.
 
12991
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
 
12992
          $GREP 'no-whole-archive' > /dev/null; then
 
12993
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12994
        else
 
12995
          whole_archive_flag_spec_CXX=
12591
12996
        fi
12592
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12593
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12594
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12595
 
            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}'
12596
 
          else
12597
 
            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}'
12598
 
          fi
12599
 
            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}'
12600
12997
      else
12601
 
      case $cc_basename in
12602
 
        xlc*)
12603
 
         output_verbose_link_cmd='echo'
12604
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12605
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12606
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12607
 
          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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12608
 
          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}'
12609
 
          ;;
12610
 
       *)
12611
 
         ld_shlibs_CXX=no
12612
 
          ;;
12613
 
      esac
 
12998
        with_gnu_ld=no
 
12999
        wlarc=
 
13000
 
 
13001
        # A generic and very simple default shared library creation
 
13002
        # command for GNU C++ for the case where it uses the native
 
13003
        # linker, instead of GNU ld.  If possible, this setting should
 
13004
        # overridden to take advantage of the native linker features on
 
13005
        # the platform it is being used on.
 
13006
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12614
13007
      fi
12615
 
        ;;
12616
 
 
12617
 
  dgux*)
12618
 
    case $cc_basename in
12619
 
      ec++*)
12620
 
        # FIXME: insert proper C++ library support
12621
 
        ld_shlibs_CXX=no
12622
 
        ;;
12623
 
      ghcx*)
12624
 
        # Green Hills C++ Compiler
12625
 
        # FIXME: insert proper C++ library support
12626
 
        ld_shlibs_CXX=no
12627
 
        ;;
12628
 
      *)
12629
 
        # FIXME: insert proper C++ library support
12630
 
        ld_shlibs_CXX=no
12631
 
        ;;
12632
 
    esac
12633
 
    ;;
12634
 
  freebsd[12]*)
12635
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
12636
 
    ld_shlibs_CXX=no
12637
 
    ;;
12638
 
  freebsd-elf*)
12639
 
    archive_cmds_need_lc_CXX=no
12640
 
    ;;
12641
 
  freebsd* | dragonfly*)
12642
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12643
 
    # conventions
12644
 
    ld_shlibs_CXX=yes
12645
 
    ;;
12646
 
  gnu*)
12647
 
    ;;
12648
 
  hpux9*)
12649
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12650
 
    hardcode_libdir_separator_CXX=:
12651
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12652
 
    hardcode_direct_CXX=yes
12653
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
12654
 
                                # but as the default
12655
 
                                # location of the library.
12656
 
 
12657
 
    case $cc_basename in
12658
 
    CC*)
12659
 
      # FIXME: insert proper C++ library support
12660
 
      ld_shlibs_CXX=no
12661
 
      ;;
12662
 
    aCC*)
12663
 
      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'
 
13008
 
12664
13009
      # Commands to make compiler produce verbose output that lists
12665
13010
      # what "hidden" libraries, object files and flags are used when
12666
13011
      # linking a shared library.
12667
 
      #
12668
 
      # There doesn't appear to be a way to prevent this compiler from
12669
 
      # explicitly linking system object files so we need to strip them
12670
 
      # from the output so that they don't get included in the library
12671
 
      # dependencies.
12672
 
      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'
12673
 
      ;;
12674
 
    *)
12675
 
      if test "$GXX" = yes; then
12676
 
        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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'
12677
 
      else
 
13012
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13013
 
 
13014
    else
 
13015
      GXX=no
 
13016
      with_gnu_ld=no
 
13017
      wlarc=
 
13018
    fi
 
13019
 
 
13020
    # PORTME: fill in a description of your system's C++ link characteristics
 
13021
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13022
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
13023
    ld_shlibs_CXX=yes
 
13024
    case $host_os in
 
13025
      aix3*)
12678
13026
        # FIXME: insert proper C++ library support
12679
13027
        ld_shlibs_CXX=no
12680
 
      fi
12681
 
      ;;
12682
 
    esac
12683
 
    ;;
12684
 
  hpux10*|hpux11*)
12685
 
    if test $with_gnu_ld = no; then
12686
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12687
 
      hardcode_libdir_separator_CXX=:
12688
 
 
12689
 
      case $host_cpu in
12690
 
      hppa*64*|ia64*) ;;
12691
 
      *)
 
13028
        ;;
 
13029
      aix[4-9]*)
 
13030
        if test "$host_cpu" = ia64; then
 
13031
          # On IA64, the linker does run time linking by default, so we don't
 
13032
          # have to do anything special.
 
13033
          aix_use_runtimelinking=no
 
13034
          exp_sym_flag='-Bexport'
 
13035
          no_entry_flag=""
 
13036
        else
 
13037
          aix_use_runtimelinking=no
 
13038
 
 
13039
          # Test if we are trying to use run time linking or normal
 
13040
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
13041
          # need to do runtime linking.
 
13042
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
13043
            for ld_flag in $LDFLAGS; do
 
13044
              case $ld_flag in
 
13045
              *-brtl*)
 
13046
                aix_use_runtimelinking=yes
 
13047
                break
 
13048
                ;;
 
13049
              esac
 
13050
            done
 
13051
            ;;
 
13052
          esac
 
13053
 
 
13054
          exp_sym_flag='-bexport'
 
13055
          no_entry_flag='-bnoentry'
 
13056
        fi
 
13057
 
 
13058
        # When large executables or shared objects are built, AIX ld can
 
13059
        # have problems creating the table of contents.  If linking a library
 
13060
        # or program results in "error TOC overflow" add -mminimal-toc to
 
13061
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
13062
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
13063
 
 
13064
        archive_cmds_CXX=''
 
13065
        hardcode_direct_CXX=yes
 
13066
        hardcode_direct_absolute_CXX=yes
 
13067
        hardcode_libdir_separator_CXX=':'
 
13068
        link_all_deplibs_CXX=yes
 
13069
        file_list_spec_CXX='${wl}-f,'
 
13070
 
 
13071
        if test "$GXX" = yes; then
 
13072
          case $host_os in aix4.[012]|aix4.[012].*)
 
13073
          # We only want to do this on AIX 4.2 and lower, the check
 
13074
          # below for broken collect2 doesn't work under 4.3+
 
13075
          collect2name=`${CC} -print-prog-name=collect2`
 
13076
          if test -f "$collect2name" &&
 
13077
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
13078
          then
 
13079
            # We have reworked collect2
 
13080
            :
 
13081
          else
 
13082
            # We have old collect2
 
13083
            hardcode_direct_CXX=unsupported
 
13084
            # It fails to find uninstalled libraries when the uninstalled
 
13085
            # path is not listed in the libpath.  Setting hardcode_minus_L
 
13086
            # to unsupported forces relinking
 
13087
            hardcode_minus_L_CXX=yes
 
13088
            hardcode_libdir_flag_spec_CXX='-L$libdir'
 
13089
            hardcode_libdir_separator_CXX=
 
13090
          fi
 
13091
          esac
 
13092
          shared_flag='-shared'
 
13093
          if test "$aix_use_runtimelinking" = yes; then
 
13094
            shared_flag="$shared_flag "'${wl}-G'
 
13095
          fi
 
13096
        else
 
13097
          # not using gcc
 
13098
          if test "$host_cpu" = ia64; then
 
13099
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
13100
          # chokes on -Wl,-G. The following line is correct:
 
13101
          shared_flag='-G'
 
13102
          else
 
13103
            if test "$aix_use_runtimelinking" = yes; then
 
13104
              shared_flag='${wl}-G'
 
13105
            else
 
13106
              shared_flag='${wl}-bM:SRE'
 
13107
            fi
 
13108
          fi
 
13109
        fi
 
13110
 
 
13111
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
 
13112
        # It seems that -bexpall does not export symbols beginning with
 
13113
        # underscore (_), so it is better to generate a list of symbols to
 
13114
        # export.
 
13115
        always_export_symbols_CXX=yes
 
13116
        if test "$aix_use_runtimelinking" = yes; then
 
13117
          # Warning - without using the other runtime loading flags (-brtl),
 
13118
          # -berok will link without error, but may produce a broken library.
 
13119
          allow_undefined_flag_CXX='-berok'
 
13120
          # Determine the default libpath from the value encoded in an empty
 
13121
          # executable.
 
13122
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13123
/* end confdefs.h.  */
 
13124
 
 
13125
int
 
13126
main ()
 
13127
{
 
13128
 
 
13129
  ;
 
13130
  return 0;
 
13131
}
 
13132
_ACEOF
 
13133
if ac_fn_cxx_try_link "$LINENO"; then :
 
13134
 
 
13135
lt_aix_libpath_sed='
 
13136
    /Import File Strings/,/^$/ {
 
13137
        /^0/ {
 
13138
            s/^0  *\(.*\)$/\1/
 
13139
            p
 
13140
        }
 
13141
    }'
 
13142
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13143
# Check for a 64-bit object if we didn't find anything.
 
13144
if test -z "$aix_libpath"; then
 
13145
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13146
fi
 
13147
fi
 
13148
rm -f core conftest.err conftest.$ac_objext \
 
13149
    conftest$ac_exeext conftest.$ac_ext
 
13150
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
13151
 
 
13152
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
13153
 
 
13154
          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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
13155
        else
 
13156
          if test "$host_cpu" = ia64; then
 
13157
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 
13158
            allow_undefined_flag_CXX="-z nodefs"
 
13159
            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"
 
13160
          else
 
13161
            # Determine the default libpath from the value encoded in an
 
13162
            # empty executable.
 
13163
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13164
/* end confdefs.h.  */
 
13165
 
 
13166
int
 
13167
main ()
 
13168
{
 
13169
 
 
13170
  ;
 
13171
  return 0;
 
13172
}
 
13173
_ACEOF
 
13174
if ac_fn_cxx_try_link "$LINENO"; then :
 
13175
 
 
13176
lt_aix_libpath_sed='
 
13177
    /Import File Strings/,/^$/ {
 
13178
        /^0/ {
 
13179
            s/^0  *\(.*\)$/\1/
 
13180
            p
 
13181
        }
 
13182
    }'
 
13183
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13184
# Check for a 64-bit object if we didn't find anything.
 
13185
if test -z "$aix_libpath"; then
 
13186
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13187
fi
 
13188
fi
 
13189
rm -f core conftest.err conftest.$ac_objext \
 
13190
    conftest$ac_exeext conftest.$ac_ext
 
13191
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
13192
 
 
13193
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
13194
            # Warning - without using the other run time loading flags,
 
13195
            # -berok will link without error, but may produce a broken library.
 
13196
            no_undefined_flag_CXX=' ${wl}-bernotok'
 
13197
            allow_undefined_flag_CXX=' ${wl}-berok'
 
13198
            # Exported symbols can be pulled into shared objects from archives
 
13199
            whole_archive_flag_spec_CXX='$convenience'
 
13200
            archive_cmds_need_lc_CXX=yes
 
13201
            # This is similar to how AIX traditionally builds its shared
 
13202
            # libraries.
 
13203
            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'
 
13204
          fi
 
13205
        fi
 
13206
        ;;
 
13207
 
 
13208
      beos*)
 
13209
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
13210
          allow_undefined_flag_CXX=unsupported
 
13211
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
13212
          # support --undefined.  This deserves some investigation.  FIXME
 
13213
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13214
        else
 
13215
          ld_shlibs_CXX=no
 
13216
        fi
 
13217
        ;;
 
13218
 
 
13219
      chorus*)
 
13220
        case $cc_basename in
 
13221
          *)
 
13222
          # FIXME: insert proper C++ library support
 
13223
          ld_shlibs_CXX=no
 
13224
          ;;
 
13225
        esac
 
13226
        ;;
 
13227
 
 
13228
      cygwin* | mingw* | pw32* | cegcc*)
 
13229
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
13230
        # as there is no search path for DLLs.
 
13231
        hardcode_libdir_flag_spec_CXX='-L$libdir'
 
13232
        allow_undefined_flag_CXX=unsupported
 
13233
        always_export_symbols_CXX=no
 
13234
        enable_shared_with_static_runtimes_CXX=yes
 
13235
 
 
13236
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
13237
          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'
 
13238
          # If the export-symbols file already is a .def file (1st line
 
13239
          # is EXPORTS), use it as is; otherwise, prepend...
 
13240
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
13241
            cp $export_symbols $output_objdir/$soname.def;
 
13242
          else
 
13243
            echo EXPORTS > $output_objdir/$soname.def;
 
13244
            cat $export_symbols >> $output_objdir/$soname.def;
 
13245
          fi~
 
13246
          $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'
 
13247
        else
 
13248
          ld_shlibs_CXX=no
 
13249
        fi
 
13250
        ;;
 
13251
      darwin* | rhapsody*)
 
13252
 
 
13253
 
 
13254
  archive_cmds_need_lc_CXX=no
 
13255
  hardcode_direct_CXX=no
 
13256
  hardcode_automatic_CXX=yes
 
13257
  hardcode_shlibpath_var_CXX=unsupported
 
13258
  whole_archive_flag_spec_CXX=''
 
13259
  link_all_deplibs_CXX=yes
 
13260
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
13261
  case $cc_basename in
 
13262
     ifort*) _lt_dar_can_shared=yes ;;
 
13263
     *) _lt_dar_can_shared=$GCC ;;
 
13264
  esac
 
13265
  if test "$_lt_dar_can_shared" = "yes"; then
 
13266
    output_verbose_link_cmd=echo
 
13267
    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
13268
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
13269
    archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
13270
    module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
13271
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
13272
      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${_lt_dsymutil}"
 
13273
      archive_expsym_cmds_CXX="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
 
13274
    fi
 
13275
 
 
13276
  else
 
13277
  ld_shlibs_CXX=no
 
13278
  fi
 
13279
 
 
13280
        ;;
 
13281
 
 
13282
      dgux*)
 
13283
        case $cc_basename in
 
13284
          ec++*)
 
13285
            # FIXME: insert proper C++ library support
 
13286
            ld_shlibs_CXX=no
 
13287
            ;;
 
13288
          ghcx*)
 
13289
            # Green Hills C++ Compiler
 
13290
            # FIXME: insert proper C++ library support
 
13291
            ld_shlibs_CXX=no
 
13292
            ;;
 
13293
          *)
 
13294
            # FIXME: insert proper C++ library support
 
13295
            ld_shlibs_CXX=no
 
13296
            ;;
 
13297
        esac
 
13298
        ;;
 
13299
 
 
13300
      freebsd[12]*)
 
13301
        # C++ shared libraries reported to be fairly broken before
 
13302
        # switch to ELF
 
13303
        ld_shlibs_CXX=no
 
13304
        ;;
 
13305
 
 
13306
      freebsd-elf*)
 
13307
        archive_cmds_need_lc_CXX=no
 
13308
        ;;
 
13309
 
 
13310
      freebsd* | dragonfly*)
 
13311
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
13312
        # conventions
 
13313
        ld_shlibs_CXX=yes
 
13314
        ;;
 
13315
 
 
13316
      gnu*)
 
13317
        ;;
 
13318
 
 
13319
      hpux9*)
 
13320
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
13321
        hardcode_libdir_separator_CXX=:
 
13322
        export_dynamic_flag_spec_CXX='${wl}-E'
 
13323
        hardcode_direct_CXX=yes
 
13324
        hardcode_minus_L_CXX=yes # Not in the search PATH,
 
13325
                                             # but as the default
 
13326
                                             # location of the library.
 
13327
 
 
13328
        case $cc_basename in
 
13329
          CC*)
 
13330
            # FIXME: insert proper C++ library support
 
13331
            ld_shlibs_CXX=no
 
13332
            ;;
 
13333
          aCC*)
 
13334
            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'
 
13335
            # Commands to make compiler produce verbose output that lists
 
13336
            # what "hidden" libraries, object files and flags are used when
 
13337
            # linking a shared library.
 
13338
            #
 
13339
            # There doesn't appear to be a way to prevent this compiler from
 
13340
            # explicitly linking system object files so we need to strip them
 
13341
            # from the output so that they don't get included in the library
 
13342
            # dependencies.
 
13343
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
13344
            ;;
 
13345
          *)
 
13346
            if test "$GXX" = yes; then
 
13347
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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'
 
13348
            else
 
13349
              # FIXME: insert proper C++ library support
 
13350
              ld_shlibs_CXX=no
 
13351
            fi
 
13352
            ;;
 
13353
        esac
 
13354
        ;;
 
13355
 
 
13356
      hpux10*|hpux11*)
 
13357
        if test $with_gnu_ld = no; then
 
13358
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
13359
          hardcode_libdir_separator_CXX=:
 
13360
 
 
13361
          case $host_cpu in
 
13362
            hppa*64*|ia64*)
 
13363
              ;;
 
13364
            *)
 
13365
              export_dynamic_flag_spec_CXX='${wl}-E'
 
13366
              ;;
 
13367
          esac
 
13368
        fi
 
13369
        case $host_cpu in
 
13370
          hppa*64*|ia64*)
 
13371
            hardcode_direct_CXX=no
 
13372
            hardcode_shlibpath_var_CXX=no
 
13373
            ;;
 
13374
          *)
 
13375
            hardcode_direct_CXX=yes
 
13376
            hardcode_direct_absolute_CXX=yes
 
13377
            hardcode_minus_L_CXX=yes # Not in the search PATH,
 
13378
                                                 # but as the default
 
13379
                                                 # location of the library.
 
13380
            ;;
 
13381
        esac
 
13382
 
 
13383
        case $cc_basename in
 
13384
          CC*)
 
13385
            # FIXME: insert proper C++ library support
 
13386
            ld_shlibs_CXX=no
 
13387
            ;;
 
13388
          aCC*)
 
13389
            case $host_cpu in
 
13390
              hppa*64*)
 
13391
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13392
                ;;
 
13393
              ia64*)
 
13394
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13395
                ;;
 
13396
              *)
 
13397
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13398
                ;;
 
13399
            esac
 
13400
            # Commands to make compiler produce verbose output that lists
 
13401
            # what "hidden" libraries, object files and flags are used when
 
13402
            # linking a shared library.
 
13403
            #
 
13404
            # There doesn't appear to be a way to prevent this compiler from
 
13405
            # explicitly linking system object files so we need to strip them
 
13406
            # from the output so that they don't get included in the library
 
13407
            # dependencies.
 
13408
            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 "X$list" | $Xsed'
 
13409
            ;;
 
13410
          *)
 
13411
            if test "$GXX" = yes; then
 
13412
              if test $with_gnu_ld = no; then
 
13413
                case $host_cpu in
 
13414
                  hppa*64*)
 
13415
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13416
                    ;;
 
13417
                  ia64*)
 
13418
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13419
                    ;;
 
13420
                  *)
 
13421
                    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'
 
13422
                    ;;
 
13423
                esac
 
13424
              fi
 
13425
            else
 
13426
              # FIXME: insert proper C++ library support
 
13427
              ld_shlibs_CXX=no
 
13428
            fi
 
13429
            ;;
 
13430
        esac
 
13431
        ;;
 
13432
 
 
13433
      interix[3-9]*)
 
13434
        hardcode_direct_CXX=no
 
13435
        hardcode_shlibpath_var_CXX=no
 
13436
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12692
13437
        export_dynamic_flag_spec_CXX='${wl}-E'
12693
 
        ;;
12694
 
      esac
12695
 
    fi
12696
 
    case $host_cpu in
12697
 
    hppa*64*|ia64*)
12698
 
      hardcode_direct_CXX=no
 
13438
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
13439
        # Instead, shared libraries are loaded at an image base (0x10000000 by
 
13440
        # default) and relocated if they conflict, which is a slow very memory
 
13441
        # consuming and fragmenting process.  To avoid this, we pick a random,
 
13442
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
13443
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
13444
        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'
 
13445
        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'
 
13446
        ;;
 
13447
      irix5* | irix6*)
 
13448
        case $cc_basename in
 
13449
          CC*)
 
13450
            # SGI C++
 
13451
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
13452
 
 
13453
            # Archives containing C++ object files must be created using
 
13454
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
13455
            # necessary to make sure instantiated templates are included
 
13456
            # in the archive.
 
13457
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
13458
            ;;
 
13459
          *)
 
13460
            if test "$GXX" = yes; then
 
13461
              if test "$with_gnu_ld" = no; then
 
13462
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
13463
              else
 
13464
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
 
13465
              fi
 
13466
            fi
 
13467
            link_all_deplibs_CXX=yes
 
13468
            ;;
 
13469
        esac
 
13470
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13471
        hardcode_libdir_separator_CXX=:
 
13472
        inherit_rpath_CXX=yes
 
13473
        ;;
 
13474
 
 
13475
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
13476
        case $cc_basename in
 
13477
          KCC*)
 
13478
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
13479
 
 
13480
            # KCC will only create a shared library if the output file
 
13481
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
13482
            # to its proper name (with version) after linking.
 
13483
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
13484
            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
 
13485
            # Commands to make compiler produce verbose output that lists
 
13486
            # what "hidden" libraries, object files and flags are used when
 
13487
            # linking a shared library.
 
13488
            #
 
13489
            # There doesn't appear to be a way to prevent this compiler from
 
13490
            # explicitly linking system object files so we need to strip them
 
13491
            # from the output so that they don't get included in the library
 
13492
            # dependencies.
 
13493
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
13494
 
 
13495
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13496
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13497
 
 
13498
            # Archives containing C++ object files must be created using
 
13499
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
13500
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
13501
            ;;
 
13502
          icpc* | ecpc* )
 
13503
            # Intel C++
 
13504
            with_gnu_ld=yes
 
13505
            # version 8.0 and above of icpc choke on multiply defined symbols
 
13506
            # if we add $predep_objects and $postdep_objects, however 7.1 and
 
13507
            # earlier do not add the objects themselves.
 
13508
            case `$CC -V 2>&1` in
 
13509
              *"Version 7."*)
 
13510
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13511
                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'
 
13512
                ;;
 
13513
              *)  # Version 8.0 or newer
 
13514
                tmp_idyn=
 
13515
                case $host_cpu in
 
13516
                  ia64*) tmp_idyn=' -i_dynamic';;
 
13517
                esac
 
13518
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13519
                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'
 
13520
                ;;
 
13521
            esac
 
13522
            archive_cmds_need_lc_CXX=no
 
13523
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13524
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13525
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
13526
            ;;
 
13527
          pgCC* | pgcpp*)
 
13528
            # Portland Group C++ compiler
 
13529
            case `$CC -V` in
 
13530
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
13531
              prelink_cmds_CXX='tpldir=Template.dir~
 
13532
                rm -rf $tpldir~
 
13533
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
 
13534
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
13535
              old_archive_cmds_CXX='tpldir=Template.dir~
 
13536
                rm -rf $tpldir~
 
13537
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
 
13538
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
13539
                $RANLIB $oldlib'
 
13540
              archive_cmds_CXX='tpldir=Template.dir~
 
13541
                rm -rf $tpldir~
 
13542
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
13543
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
13544
              archive_expsym_cmds_CXX='tpldir=Template.dir~
 
13545
                rm -rf $tpldir~
 
13546
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
13547
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
13548
              ;;
 
13549
            *) # Version 6 will use weak symbols
 
13550
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
13551
              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'
 
13552
              ;;
 
13553
            esac
 
13554
 
 
13555
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
13556
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13557
            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'
 
13558
            ;;
 
13559
          cxx*)
 
13560
            # Compaq C++
 
13561
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13562
            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'
 
13563
 
 
13564
            runpath_var=LD_RUN_PATH
 
13565
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
13566
            hardcode_libdir_separator_CXX=:
 
13567
 
 
13568
            # Commands to make compiler produce verbose output that lists
 
13569
            # what "hidden" libraries, object files and flags are used when
 
13570
            # linking a shared library.
 
13571
            #
 
13572
            # There doesn't appear to be a way to prevent this compiler from
 
13573
            # explicitly linking system object files so we need to strip them
 
13574
            # from the output so that they don't get included in the library
 
13575
            # dependencies.
 
13576
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
13577
            ;;
 
13578
          xl*)
 
13579
            # IBM XL 8.0 on PPC, with GNU ld
 
13580
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13581
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13582
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13583
            if test "x$supports_anon_versioning" = xyes; then
 
13584
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
 
13585
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
13586
                echo "local: *; };" >> $output_objdir/$libname.ver~
 
13587
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
13588
            fi
 
13589
            ;;
 
13590
          *)
 
13591
            case `$CC -V 2>&1 | sed 5q` in
 
13592
            *Sun\ C*)
 
13593
              # Sun C++ 5.9
 
13594
              no_undefined_flag_CXX=' -zdefs'
 
13595
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13596
              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
13597
              hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13598
              whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
13599
              compiler_needs_object_CXX=yes
 
13600
 
 
13601
              # Not sure whether something based on
 
13602
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
13603
              # would be better.
 
13604
              output_verbose_link_cmd='echo'
 
13605
 
 
13606
              # Archives containing C++ object files must be created using
 
13607
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
13608
              # necessary to make sure instantiated templates are included
 
13609
              # in the archive.
 
13610
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
13611
              ;;
 
13612
            esac
 
13613
            ;;
 
13614
        esac
 
13615
        ;;
 
13616
 
 
13617
      lynxos*)
 
13618
        # FIXME: insert proper C++ library support
 
13619
        ld_shlibs_CXX=no
 
13620
        ;;
 
13621
 
 
13622
      m88k*)
 
13623
        # FIXME: insert proper C++ library support
 
13624
        ld_shlibs_CXX=no
 
13625
        ;;
 
13626
 
 
13627
      mvs*)
 
13628
        case $cc_basename in
 
13629
          cxx*)
 
13630
            # FIXME: insert proper C++ library support
 
13631
            ld_shlibs_CXX=no
 
13632
            ;;
 
13633
          *)
 
13634
            # FIXME: insert proper C++ library support
 
13635
            ld_shlibs_CXX=no
 
13636
            ;;
 
13637
        esac
 
13638
        ;;
 
13639
 
 
13640
      netbsd*)
 
13641
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
13642
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
13643
          wlarc=
 
13644
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13645
          hardcode_direct_CXX=yes
 
13646
          hardcode_shlibpath_var_CXX=no
 
13647
        fi
 
13648
        # Workaround some broken pre-1.5 toolchains
 
13649
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
13650
        ;;
 
13651
 
 
13652
      *nto* | *qnx*)
 
13653
        ld_shlibs_CXX=yes
 
13654
        ;;
 
13655
 
 
13656
      openbsd2*)
 
13657
        # C++ shared libraries are fairly broken
 
13658
        ld_shlibs_CXX=no
 
13659
        ;;
 
13660
 
 
13661
      openbsd*)
 
13662
        if test -f /usr/libexec/ld.so; then
 
13663
          hardcode_direct_CXX=yes
 
13664
          hardcode_shlibpath_var_CXX=no
 
13665
          hardcode_direct_absolute_CXX=yes
 
13666
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
13667
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13668
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13669
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
13670
            export_dynamic_flag_spec_CXX='${wl}-E'
 
13671
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13672
          fi
 
13673
          output_verbose_link_cmd=echo
 
13674
        else
 
13675
          ld_shlibs_CXX=no
 
13676
        fi
 
13677
        ;;
 
13678
 
 
13679
      osf3* | osf4* | osf5*)
 
13680
        case $cc_basename in
 
13681
          KCC*)
 
13682
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
13683
 
 
13684
            # KCC will only create a shared library if the output file
 
13685
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
13686
            # to its proper name (with version) after linking.
 
13687
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
13688
 
 
13689
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13690
            hardcode_libdir_separator_CXX=:
 
13691
 
 
13692
            # Archives containing C++ object files must be created using
 
13693
            # the KAI C++ compiler.
 
13694
            case $host in
 
13695
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
 
13696
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
 
13697
            esac
 
13698
            ;;
 
13699
          RCC*)
 
13700
            # Rational C++ 2.4.1
 
13701
            # FIXME: insert proper C++ library support
 
13702
            ld_shlibs_CXX=no
 
13703
            ;;
 
13704
          cxx*)
 
13705
            case $host in
 
13706
              osf3*)
 
13707
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
13708
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
13709
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13710
                ;;
 
13711
              *)
 
13712
                allow_undefined_flag_CXX=' -expect_unresolved \*'
 
13713
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
13714
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
13715
                  echo "-hidden">> $lib.exp~
 
13716
                  $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
 
13717
                  $RM $lib.exp'
 
13718
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
13719
                ;;
 
13720
            esac
 
13721
 
 
13722
            hardcode_libdir_separator_CXX=:
 
13723
 
 
13724
            # Commands to make compiler produce verbose output that lists
 
13725
            # what "hidden" libraries, object files and flags are used when
 
13726
            # linking a shared library.
 
13727
            #
 
13728
            # There doesn't appear to be a way to prevent this compiler from
 
13729
            # explicitly linking system object files so we need to strip them
 
13730
            # from the output so that they don't get included in the library
 
13731
            # dependencies.
 
13732
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
13733
            ;;
 
13734
          *)
 
13735
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
13736
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
13737
              case $host in
 
13738
                osf3*)
 
13739
                  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 "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
13740
                  ;;
 
13741
                *)
 
13742
                  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" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
13743
                  ;;
 
13744
              esac
 
13745
 
 
13746
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13747
              hardcode_libdir_separator_CXX=:
 
13748
 
 
13749
              # Commands to make compiler produce verbose output that lists
 
13750
              # what "hidden" libraries, object files and flags are used when
 
13751
              # linking a shared library.
 
13752
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13753
 
 
13754
            else
 
13755
              # FIXME: insert proper C++ library support
 
13756
              ld_shlibs_CXX=no
 
13757
            fi
 
13758
            ;;
 
13759
        esac
 
13760
        ;;
 
13761
 
 
13762
      psos*)
 
13763
        # FIXME: insert proper C++ library support
 
13764
        ld_shlibs_CXX=no
 
13765
        ;;
 
13766
 
 
13767
      sunos4*)
 
13768
        case $cc_basename in
 
13769
          CC*)
 
13770
            # Sun C++ 4.x
 
13771
            # FIXME: insert proper C++ library support
 
13772
            ld_shlibs_CXX=no
 
13773
            ;;
 
13774
          lcc*)
 
13775
            # Lucid
 
13776
            # FIXME: insert proper C++ library support
 
13777
            ld_shlibs_CXX=no
 
13778
            ;;
 
13779
          *)
 
13780
            # FIXME: insert proper C++ library support
 
13781
            ld_shlibs_CXX=no
 
13782
            ;;
 
13783
        esac
 
13784
        ;;
 
13785
 
 
13786
      solaris*)
 
13787
        case $cc_basename in
 
13788
          CC*)
 
13789
            # Sun C++ 4.2, 5.x and Centerline C++
 
13790
            archive_cmds_need_lc_CXX=yes
 
13791
            no_undefined_flag_CXX=' -zdefs'
 
13792
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13793
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13794
              $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'
 
13795
 
 
13796
            hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13797
            hardcode_shlibpath_var_CXX=no
 
13798
            case $host_os in
 
13799
              solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13800
              *)
 
13801
                # The compiler driver will combine and reorder linker options,
 
13802
                # but understands `-z linker_flag'.
 
13803
                # Supported since Solaris 2.6 (maybe 2.5.1?)
 
13804
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 
13805
                ;;
 
13806
            esac
 
13807
            link_all_deplibs_CXX=yes
 
13808
 
 
13809
            output_verbose_link_cmd='echo'
 
13810
 
 
13811
            # Archives containing C++ object files must be created using
 
13812
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
13813
            # necessary to make sure instantiated templates are included
 
13814
            # in the archive.
 
13815
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
13816
            ;;
 
13817
          gcx*)
 
13818
            # Green Hills C++ Compiler
 
13819
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13820
 
 
13821
            # The C++ compiler must be used to create the archive.
 
13822
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
13823
            ;;
 
13824
          *)
 
13825
            # GNU C++ compiler with Solaris linker
 
13826
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
13827
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 
13828
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 
13829
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13830
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13831
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13832
 
 
13833
                # Commands to make compiler produce verbose output that lists
 
13834
                # what "hidden" libraries, object files and flags are used when
 
13835
                # linking a shared library.
 
13836
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13837
              else
 
13838
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
13839
                # platform.
 
13840
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13841
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13842
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13843
 
 
13844
                # Commands to make compiler produce verbose output that lists
 
13845
                # what "hidden" libraries, object files and flags are used when
 
13846
                # linking a shared library.
 
13847
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13848
              fi
 
13849
 
 
13850
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
13851
              case $host_os in
 
13852
                solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13853
                *)
 
13854
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
13855
                  ;;
 
13856
              esac
 
13857
            fi
 
13858
            ;;
 
13859
        esac
 
13860
        ;;
 
13861
 
 
13862
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
13863
      no_undefined_flag_CXX='${wl}-z,text'
 
13864
      archive_cmds_need_lc_CXX=no
12699
13865
      hardcode_shlibpath_var_CXX=no
12700
 
      ;;
12701
 
    *)
12702
 
      hardcode_direct_CXX=yes
12703
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
12704
 
                                              # but as the default
12705
 
                                              # location of the library.
12706
 
      ;;
12707
 
    esac
 
13866
      runpath_var='LD_RUN_PATH'
12708
13867
 
12709
 
    case $cc_basename in
12710
 
      CC*)
12711
 
        # FIXME: insert proper C++ library support
12712
 
        ld_shlibs_CXX=no
12713
 
        ;;
12714
 
      aCC*)
12715
 
        case $host_cpu in
12716
 
        hppa*64*)
12717
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12718
 
          ;;
12719
 
        ia64*)
12720
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13868
      case $cc_basename in
 
13869
        CC*)
 
13870
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13871
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12721
13872
          ;;
12722
13873
        *)
12723
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12724
 
          ;;
12725
 
        esac
12726
 
        # Commands to make compiler produce verbose output that lists
12727
 
        # what "hidden" libraries, object files and flags are used when
12728
 
        # linking a shared library.
12729
 
        #
12730
 
        # There doesn't appear to be a way to prevent this compiler from
12731
 
        # explicitly linking system object files so we need to strip them
12732
 
        # from the output so that they don't get included in the library
12733
 
        # dependencies.
12734
 
        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'
12735
 
        ;;
12736
 
      *)
12737
 
        if test "$GXX" = yes; then
12738
 
          if test $with_gnu_ld = no; then
12739
 
            case $host_cpu in
12740
 
            hppa*64*)
12741
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12742
 
              ;;
12743
 
            ia64*)
12744
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12745
 
              ;;
12746
 
            *)
12747
 
              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'
12748
 
              ;;
12749
 
            esac
12750
 
          fi
12751
 
        else
12752
 
          # FIXME: insert proper C++ library support
12753
 
          ld_shlibs_CXX=no
12754
 
        fi
12755
 
        ;;
12756
 
    esac
12757
 
    ;;
12758
 
  interix[3-9]*)
12759
 
    hardcode_direct_CXX=no
12760
 
    hardcode_shlibpath_var_CXX=no
12761
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12762
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12763
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12764
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
12765
 
    # default) and relocated if they conflict, which is a slow very memory
12766
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
12767
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12768
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12769
 
    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'
12770
 
    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'
12771
 
    ;;
12772
 
  irix5* | irix6*)
12773
 
    case $cc_basename in
12774
 
      CC*)
12775
 
        # SGI C++
12776
 
        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'
12777
 
 
12778
 
        # Archives containing C++ object files must be created using
12779
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12780
 
        # necessary to make sure instantiated templates are included
12781
 
        # in the archive.
12782
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12783
 
        ;;
12784
 
      *)
12785
 
        if test "$GXX" = yes; then
12786
 
          if test "$with_gnu_ld" = no; then
12787
 
            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'
12788
 
          else
12789
 
            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'
12790
 
          fi
12791
 
        fi
12792
 
        link_all_deplibs_CXX=yes
12793
 
        ;;
12794
 
    esac
12795
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12796
 
    hardcode_libdir_separator_CXX=:
12797
 
    ;;
12798
 
  linux* | k*bsd*-gnu)
12799
 
    case $cc_basename in
12800
 
      KCC*)
12801
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12802
 
 
12803
 
        # KCC will only create a shared library if the output file
12804
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12805
 
        # to its proper name (with version) after linking.
12806
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12807
 
        archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12808
 
        # Commands to make compiler produce verbose output that lists
12809
 
        # what "hidden" libraries, object files and flags are used when
12810
 
        # linking a shared library.
12811
 
        #
12812
 
        # There doesn't appear to be a way to prevent this compiler from
12813
 
        # explicitly linking system object files so we need to strip them
12814
 
        # from the output so that they don't get included in the library
12815
 
        # dependencies.
12816
 
        output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12817
 
 
12818
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12819
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12820
 
 
12821
 
        # Archives containing C++ object files must be created using
12822
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12823
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12824
 
        ;;
12825
 
      icpc*)
12826
 
        # Intel C++
12827
 
        with_gnu_ld=yes
12828
 
        # version 8.0 and above of icpc choke on multiply defined symbols
12829
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
12830
 
        # earlier do not add the objects themselves.
12831
 
        case `$CC -V 2>&1` in
12832
 
        *"Version 7."*)
12833
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12834
 
          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'
12835
 
          ;;
12836
 
        *)  # Version 8.0 or newer
12837
 
          tmp_idyn=
12838
 
          case $host_cpu in
12839
 
            ia64*) tmp_idyn=' -i_dynamic';;
12840
 
          esac
12841
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842
 
          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'
12843
 
          ;;
12844
 
        esac
 
13874
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13875
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13876
          ;;
 
13877
      esac
 
13878
      ;;
 
13879
 
 
13880
      sysv5* | sco3.2v5* | sco5v6*)
 
13881
        # Note: We can NOT use -z defs as we might desire, because we do not
 
13882
        # link with -lc, and that would cause any symbols used from libc to
 
13883
        # always be unresolved, which means just about no library would
 
13884
        # ever link correctly.  If we're not using GNU ld we use -z text
 
13885
        # though, which does catch some bad symbols but isn't as heavy-handed
 
13886
        # as -z defs.
 
13887
        no_undefined_flag_CXX='${wl}-z,text'
 
13888
        allow_undefined_flag_CXX='${wl}-z,nodefs'
12845
13889
        archive_cmds_need_lc_CXX=no
12846
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12847
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12848
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12849
 
        ;;
12850
 
      pgCC*)
12851
 
        # Portland Group C++ compiler
12852
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12853
 
        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'
12854
 
 
12855
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12856
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12857
 
        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'
12858
 
        ;;
12859
 
      cxx*)
12860
 
        # Compaq C++
12861
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12862
 
        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'
12863
 
 
12864
 
        runpath_var=LD_RUN_PATH
12865
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12866
 
        hardcode_libdir_separator_CXX=:
12867
 
 
12868
 
        # Commands to make compiler produce verbose output that lists
12869
 
        # what "hidden" libraries, object files and flags are used when
12870
 
        # linking a shared library.
12871
 
        #
12872
 
        # There doesn't appear to be a way to prevent this compiler from
12873
 
        # explicitly linking system object files so we need to strip them
12874
 
        # from the output so that they don't get included in the library
12875
 
        # dependencies.
12876
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12877
 
        ;;
12878
 
      *)
12879
 
        case `$CC -V 2>&1 | sed 5q` in
12880
 
        *Sun\ C*)
12881
 
          # Sun C++ 5.9
12882
 
          no_undefined_flag_CXX=' -zdefs'
12883
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12884
 
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12885
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
12886
 
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12887
 
 
12888
 
          # Not sure whether something based on
12889
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12890
 
          # would be better.
12891
 
          output_verbose_link_cmd='echo'
12892
 
 
12893
 
          # Archives containing C++ object files must be created using
12894
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12895
 
          # necessary to make sure instantiated templates are included
12896
 
          # in the archive.
12897
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12898
 
          ;;
12899
 
        esac
12900
 
        ;;
12901
 
    esac
12902
 
    ;;
12903
 
  lynxos*)
12904
 
    # FIXME: insert proper C++ library support
12905
 
    ld_shlibs_CXX=no
12906
 
    ;;
12907
 
  m88k*)
12908
 
    # FIXME: insert proper C++ library support
12909
 
    ld_shlibs_CXX=no
12910
 
    ;;
12911
 
  mvs*)
12912
 
    case $cc_basename in
12913
 
      cxx*)
12914
 
        # FIXME: insert proper C++ library support
12915
 
        ld_shlibs_CXX=no
12916
 
        ;;
12917
 
      *)
12918
 
        # FIXME: insert proper C++ library support
12919
 
        ld_shlibs_CXX=no
12920
 
        ;;
12921
 
    esac
12922
 
    ;;
12923
 
  netbsd* | netbsdelf*-gnu)
12924
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12925
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12926
 
      wlarc=
12927
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
12928
 
      hardcode_direct_CXX=yes
12929
 
      hardcode_shlibpath_var_CXX=no
12930
 
    fi
12931
 
    # Workaround some broken pre-1.5 toolchains
12932
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12933
 
    ;;
12934
 
  openbsd2*)
12935
 
    # C++ shared libraries are fairly broken
12936
 
    ld_shlibs_CXX=no
12937
 
    ;;
12938
 
  openbsd*)
12939
 
    if test -f /usr/libexec/ld.so; then
12940
 
      hardcode_direct_CXX=yes
12941
 
      hardcode_shlibpath_var_CXX=no
12942
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12943
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12944
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12945
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12946
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12947
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12948
 
      fi
12949
 
      output_verbose_link_cmd='echo'
12950
 
    else
12951
 
      ld_shlibs_CXX=no
12952
 
    fi
12953
 
    ;;
12954
 
  osf3*)
12955
 
    case $cc_basename in
12956
 
      KCC*)
12957
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12958
 
 
12959
 
        # KCC will only create a shared library if the output file
12960
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12961
 
        # to its proper name (with version) after linking.
12962
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12963
 
 
12964
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12965
 
        hardcode_libdir_separator_CXX=:
12966
 
 
12967
 
        # Archives containing C++ object files must be created using
12968
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12969
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12970
 
 
12971
 
        ;;
12972
 
      RCC*)
12973
 
        # Rational C++ 2.4.1
12974
 
        # FIXME: insert proper C++ library support
12975
 
        ld_shlibs_CXX=no
12976
 
        ;;
12977
 
      cxx*)
12978
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12979
 
        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'
12980
 
 
12981
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12982
 
        hardcode_libdir_separator_CXX=:
12983
 
 
12984
 
        # Commands to make compiler produce verbose output that lists
12985
 
        # what "hidden" libraries, object files and flags are used when
12986
 
        # linking a shared library.
12987
 
        #
12988
 
        # There doesn't appear to be a way to prevent this compiler from
12989
 
        # explicitly linking system object files so we need to strip them
12990
 
        # from the output so that they don't get included in the library
12991
 
        # dependencies.
12992
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12993
 
        ;;
12994
 
      *)
12995
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12996
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12997
 
          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'
12998
 
 
12999
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13000
 
          hardcode_libdir_separator_CXX=:
13001
 
 
13002
 
          # Commands to make compiler produce verbose output that lists
13003
 
          # what "hidden" libraries, object files and flags are used when
13004
 
          # linking a shared library.
13005
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13006
 
 
13007
 
        else
13008
 
          # FIXME: insert proper C++ library support
13009
 
          ld_shlibs_CXX=no
13010
 
        fi
13011
 
        ;;
13012
 
    esac
13013
 
    ;;
13014
 
  osf4* | osf5*)
13015
 
    case $cc_basename in
13016
 
      KCC*)
13017
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13018
 
 
13019
 
        # KCC will only create a shared library if the output file
13020
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13021
 
        # to its proper name (with version) after linking.
13022
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13023
 
 
13024
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13025
 
        hardcode_libdir_separator_CXX=:
13026
 
 
13027
 
        # Archives containing C++ object files must be created using
13028
 
        # the KAI C++ compiler.
13029
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13030
 
        ;;
13031
 
      RCC*)
13032
 
        # Rational C++ 2.4.1
13033
 
        # FIXME: insert proper C++ library support
13034
 
        ld_shlibs_CXX=no
13035
 
        ;;
13036
 
      cxx*)
13037
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
13038
 
        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'
13039
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13040
 
          echo "-hidden">> $lib.exp~
13041
 
          $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~
13042
 
          $rm $lib.exp'
13043
 
 
13044
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13045
 
        hardcode_libdir_separator_CXX=:
13046
 
 
13047
 
        # Commands to make compiler produce verbose output that lists
13048
 
        # what "hidden" libraries, object files and flags are used when
13049
 
        # linking a shared library.
13050
 
        #
13051
 
        # There doesn't appear to be a way to prevent this compiler from
13052
 
        # explicitly linking system object files so we need to strip them
13053
 
        # from the output so that they don't get included in the library
13054
 
        # dependencies.
13055
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13056
 
        ;;
13057
 
      *)
13058
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13059
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13060
 
         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'
13061
 
 
13062
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13063
 
          hardcode_libdir_separator_CXX=:
13064
 
 
13065
 
          # Commands to make compiler produce verbose output that lists
13066
 
          # what "hidden" libraries, object files and flags are used when
13067
 
          # linking a shared library.
13068
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13069
 
 
13070
 
        else
13071
 
          # FIXME: insert proper C++ library support
13072
 
          ld_shlibs_CXX=no
13073
 
        fi
13074
 
        ;;
13075
 
    esac
13076
 
    ;;
13077
 
  psos*)
13078
 
    # FIXME: insert proper C++ library support
13079
 
    ld_shlibs_CXX=no
13080
 
    ;;
13081
 
  sunos4*)
13082
 
    case $cc_basename in
13083
 
      CC*)
13084
 
        # Sun C++ 4.x
13085
 
        # FIXME: insert proper C++ library support
13086
 
        ld_shlibs_CXX=no
13087
 
        ;;
13088
 
      lcc*)
13089
 
        # Lucid
13090
 
        # FIXME: insert proper C++ library support
13091
 
        ld_shlibs_CXX=no
13092
 
        ;;
13093
 
      *)
13094
 
        # FIXME: insert proper C++ library support
13095
 
        ld_shlibs_CXX=no
13096
 
        ;;
13097
 
    esac
13098
 
    ;;
13099
 
  solaris*)
13100
 
    case $cc_basename in
13101
 
      CC*)
13102
 
        # Sun C++ 4.2, 5.x and Centerline C++
13103
 
        archive_cmds_need_lc_CXX=yes
13104
 
        no_undefined_flag_CXX=' -zdefs'
13105
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13106
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13107
 
        $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'
13108
 
 
13109
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
13110
13890
        hardcode_shlibpath_var_CXX=no
13111
 
        case $host_os in
13112
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13113
 
          *)
13114
 
            # The compiler driver will combine and reorder linker options,
13115
 
            # but understands `-z linker_flag'.
13116
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
13117
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13118
 
            ;;
13119
 
        esac
 
13891
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
 
13892
        hardcode_libdir_separator_CXX=':'
13120
13893
        link_all_deplibs_CXX=yes
13121
 
 
13122
 
        output_verbose_link_cmd='echo'
13123
 
 
13124
 
        # Archives containing C++ object files must be created using
13125
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13126
 
        # necessary to make sure instantiated templates are included
13127
 
        # in the archive.
13128
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13129
 
        ;;
13130
 
      gcx*)
13131
 
        # Green Hills C++ Compiler
13132
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13133
 
 
13134
 
        # The C++ compiler must be used to create the archive.
13135
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13136
 
        ;;
13137
 
      *)
13138
 
        # GNU C++ compiler with Solaris linker
13139
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13140
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13141
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
13142
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13143
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13144
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13145
 
 
13146
 
            # Commands to make compiler produce verbose output that lists
13147
 
            # what "hidden" libraries, object files and flags are used when
13148
 
            # linking a shared library.
13149
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13150
 
          else
13151
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
13152
 
            # platform.
13153
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13154
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13155
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13156
 
 
13157
 
            # Commands to make compiler produce verbose output that lists
13158
 
            # what "hidden" libraries, object files and flags are used when
13159
 
            # linking a shared library.
13160
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13161
 
          fi
13162
 
 
13163
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13164
 
          case $host_os in
13165
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13894
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
13895
        runpath_var='LD_RUN_PATH'
 
13896
 
 
13897
        case $cc_basename in
 
13898
          CC*)
 
13899
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13900
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13901
            ;;
13166
13902
          *)
13167
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13168
 
            ;;
13169
 
          esac
13170
 
        fi
13171
 
        ;;
13172
 
    esac
13173
 
    ;;
13174
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13175
 
    no_undefined_flag_CXX='${wl}-z,text'
13176
 
    archive_cmds_need_lc_CXX=no
13177
 
    hardcode_shlibpath_var_CXX=no
13178
 
    runpath_var='LD_RUN_PATH'
13179
 
 
13180
 
    case $cc_basename in
13181
 
      CC*)
13182
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13183
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13184
 
        ;;
13185
 
      *)
13186
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13187
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13188
 
        ;;
13189
 
    esac
13190
 
    ;;
13191
 
  sysv5* | sco3.2v5* | sco5v6*)
13192
 
    # Note: We can NOT use -z defs as we might desire, because we do not
13193
 
    # link with -lc, and that would cause any symbols used from libc to
13194
 
    # always be unresolved, which means just about no library would
13195
 
    # ever link correctly.  If we're not using GNU ld we use -z text
13196
 
    # though, which does catch some bad symbols but isn't as heavy-handed
13197
 
    # as -z defs.
13198
 
    # For security reasons, it is highly recommended that you always
13199
 
    # use absolute paths for naming shared libraries, and exclude the
13200
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
13201
 
    # requires that you compile everything twice, which is a pain.
13202
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
13203
 
    # non-empty value in the environment.  Most likely only useful for
13204
 
    # creating official distributions of packages.
13205
 
    # This is a hack until libtool officially supports absolute path
13206
 
    # names for shared libraries.
13207
 
    no_undefined_flag_CXX='${wl}-z,text'
13208
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
13209
 
    archive_cmds_need_lc_CXX=no
13210
 
    hardcode_shlibpath_var_CXX=no
13211
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13212
 
    hardcode_libdir_separator_CXX=':'
13213
 
    link_all_deplibs_CXX=yes
13214
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
13215
 
    runpath_var='LD_RUN_PATH'
13216
 
 
13217
 
    case $cc_basename in
13218
 
      CC*)
13219
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13220
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13221
 
        ;;
13222
 
      *)
13223
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13224
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13225
 
        ;;
13226
 
    esac
13227
 
    ;;
13228
 
  tandem*)
13229
 
    case $cc_basename in
13230
 
      NCC*)
13231
 
        # NonStop-UX NCC 3.20
13232
 
        # FIXME: insert proper C++ library support
13233
 
        ld_shlibs_CXX=no
13234
 
        ;;
13235
 
      *)
13236
 
        # FIXME: insert proper C++ library support
13237
 
        ld_shlibs_CXX=no
13238
 
        ;;
13239
 
    esac
13240
 
    ;;
13241
 
  vxworks*)
13242
 
    # FIXME: insert proper C++ library support
13243
 
    ld_shlibs_CXX=no
13244
 
    ;;
13245
 
  *)
13246
 
    # FIXME: insert proper C++ library support
13247
 
    ld_shlibs_CXX=no
13248
 
    ;;
13249
 
esac
13250
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13251
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13252
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13253
 
 
13254
 
GCC_CXX="$GXX"
13255
 
LD_CXX="$LD"
13256
 
 
13257
 
 
13258
 
cat > conftest.$ac_ext <<EOF
 
13903
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13904
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13905
            ;;
 
13906
        esac
 
13907
      ;;
 
13908
 
 
13909
      tandem*)
 
13910
        case $cc_basename in
 
13911
          NCC*)
 
13912
            # NonStop-UX NCC 3.20
 
13913
            # FIXME: insert proper C++ library support
 
13914
            ld_shlibs_CXX=no
 
13915
            ;;
 
13916
          *)
 
13917
            # FIXME: insert proper C++ library support
 
13918
            ld_shlibs_CXX=no
 
13919
            ;;
 
13920
        esac
 
13921
        ;;
 
13922
 
 
13923
      vxworks*)
 
13924
        # FIXME: insert proper C++ library support
 
13925
        ld_shlibs_CXX=no
 
13926
        ;;
 
13927
 
 
13928
      *)
 
13929
        # FIXME: insert proper C++ library support
 
13930
        ld_shlibs_CXX=no
 
13931
        ;;
 
13932
    esac
 
13933
 
 
13934
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
13935
$as_echo "$ld_shlibs_CXX" >&6; }
 
13936
    test "$ld_shlibs_CXX" = no && can_build_shared=no
 
13937
 
 
13938
    GCC_CXX="$GXX"
 
13939
    LD_CXX="$LD"
 
13940
 
 
13941
    ## CAVEAT EMPTOR:
 
13942
    ## There is no encapsulation within the following macros, do not change
 
13943
    ## the running order or otherwise move them around unless you know exactly
 
13944
    ## what you are doing...
 
13945
    # Dependencies to place before and after the object being linked:
 
13946
predep_objects_CXX=
 
13947
postdep_objects_CXX=
 
13948
predeps_CXX=
 
13949
postdeps_CXX=
 
13950
compiler_lib_search_path_CXX=
 
13951
 
 
13952
cat > conftest.$ac_ext <<_LT_EOF
13259
13953
class Foo
13260
13954
{
13261
13955
public:
13263
13957
private:
13264
13958
  int a;
13265
13959
};
13266
 
EOF
 
13960
_LT_EOF
13267
13961
 
13268
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13962
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13269
13963
  (eval $ac_compile) 2>&5
13270
13964
  ac_status=$?
13271
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272
 
  (exit $ac_status); }; then
 
13965
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13966
  test $ac_status = 0; }; then
13273
13967
  # Parse the compiler output and extract the necessary
13274
13968
  # objects, libraries and library flags.
13275
13969
 
13277
13971
  # the conftest object file.
13278
13972
  pre_test_object_deps_done=no
13279
13973
 
13280
 
  # The `*' in the case matches for architectures that use `case' in
13281
 
  # $output_verbose_cmd can trigger glob expansion during the loop
13282
 
  # eval without this substitution.
13283
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13284
 
 
13285
 
  for p in `eval $output_verbose_link_cmd`; do
 
13974
  for p in `eval "$output_verbose_link_cmd"`; do
13286
13975
    case $p in
13287
13976
 
13288
13977
    -L* | -R* | -l*)
13289
13978
       # Some compilers place space between "-{L,R}" and the path.
13290
13979
       # Remove the space.
13291
 
       if test $p = "-L" \
13292
 
          || test $p = "-R"; then
 
13980
       if test $p = "-L" ||
 
13981
          test $p = "-R"; then
13293
13982
         prev=$p
13294
13983
         continue
13295
13984
       else
13354
14043
  echo "libtool.m4: error: problem compiling CXX test program"
13355
14044
fi
13356
14045
 
13357
 
$rm -f confest.$objext
 
14046
$RM -f confest.$objext
13358
14047
 
13359
14048
# PORTME: override above test on systems where it is broken
13360
14049
case $host_os in
13370
14059
  case `$CC -V 2>&1 | sed 5q` in
13371
14060
  *Sun\ C*)
13372
14061
    # Sun C++ 5.9
13373
 
    #
 
14062
 
13374
14063
    # The more standards-conforming stlport4 library is
13375
14064
    # incompatible with the Cstd library. Avoid specifying
13376
14065
    # it if it's in CXXFLAGS. Ignore libCrun as
13380
14069
      solaris_use_stlport4=yes
13381
14070
      ;;
13382
14071
    esac
 
14072
 
13383
14073
    if test "$solaris_use_stlport4" != yes; then
13384
14074
      postdeps_CXX='-library=Cstd -library=Crun'
13385
14075
    fi
13415
14105
case " $postdeps_CXX " in
13416
14106
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13417
14107
esac
13418
 
 
13419
 
lt_prog_compiler_wl_CXX=
 
14108
 compiler_lib_search_dirs_CXX=
 
14109
if test -n "${compiler_lib_search_path_CXX}"; then
 
14110
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
14111
fi
 
14112
 
 
14113
 
 
14114
 
 
14115
 
 
14116
 
 
14117
 
 
14118
 
 
14119
 
 
14120
 
 
14121
 
 
14122
 
 
14123
 
 
14124
 
 
14125
 
 
14126
 
 
14127
 
 
14128
 
 
14129
 
 
14130
 
 
14131
 
 
14132
 
 
14133
 
 
14134
 
 
14135
 
 
14136
 
 
14137
 
 
14138
 
 
14139
 
 
14140
 
 
14141
 
 
14142
 
 
14143
    lt_prog_compiler_wl_CXX=
13420
14144
lt_prog_compiler_pic_CXX=
13421
14145
lt_prog_compiler_static_CXX=
13422
14146
 
13423
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13424
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
14147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
14148
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13425
14149
 
13426
14150
  # C++ specific cases for pic, static, wl, etc.
13427
14151
  if test "$GXX" = yes; then
13436
14160
        lt_prog_compiler_static_CXX='-Bstatic'
13437
14161
      fi
13438
14162
      ;;
 
14163
 
13439
14164
    amigaos*)
13440
 
      # FIXME: we need at least 68020 code to build shared libraries, but
13441
 
      # adding the `-m68020' flag to GCC prevents building anything better,
13442
 
      # like `-m68040'.
13443
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
14165
      case $host_cpu in
 
14166
      powerpc)
 
14167
            # see comment about AmigaOS4 .so support
 
14168
            lt_prog_compiler_pic_CXX='-fPIC'
 
14169
        ;;
 
14170
      m68k)
 
14171
            # FIXME: we need at least 68020 code to build shared libraries, but
 
14172
            # adding the `-m68020' flag to GCC prevents building anything better,
 
14173
            # like `-m68040'.
 
14174
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
14175
        ;;
 
14176
      esac
13444
14177
      ;;
 
14178
 
13445
14179
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13446
14180
      # PIC is the default for these OSes.
13447
14181
      ;;
13448
 
    mingw* | cygwin* | os2* | pw32*)
 
14182
    mingw* | cygwin* | os2* | pw32* | cegcc*)
13449
14183
      # This hack is so that the source file can tell whether it is being
13450
14184
      # built for inclusion in a dll (and should export symbols for example).
13451
14185
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13471
14205
      fi
13472
14206
      ;;
13473
14207
    hpux*)
13474
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13475
 
      # not for PA HP-UX.
 
14208
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
14209
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
14210
      # sets the default TLS model and affects inlining.
13476
14211
      case $host_cpu in
13477
 
      hppa*64*|ia64*)
 
14212
      hppa*64*)
13478
14213
        ;;
13479
14214
      *)
13480
14215
        lt_prog_compiler_pic_CXX='-fPIC'
13481
14216
        ;;
13482
14217
      esac
13483
14218
      ;;
 
14219
    *qnx* | *nto*)
 
14220
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
14221
      # it will coredump.
 
14222
      lt_prog_compiler_pic_CXX='-fPIC -shared'
 
14223
      ;;
13484
14224
    *)
13485
14225
      lt_prog_compiler_pic_CXX='-fPIC'
13486
14226
      ;;
13487
14227
    esac
13488
14228
  else
13489
14229
    case $host_os in
13490
 
      aix4* | aix5*)
 
14230
      aix[4-9]*)
13491
14231
        # All AIX code is PIC.
13492
14232
        if test "$host_cpu" = ia64; then
13493
14233
          # AIX 5 now supports IA64 processor
13500
14240
        case $cc_basename in
13501
14241
        cxch68*)
13502
14242
          # Green Hills C++ Compiler
13503
 
          # _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"
 
14243
          # _LT_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"
13504
14244
          ;;
13505
14245
        esac
13506
14246
        ;;
13507
 
       darwin*)
13508
 
         # PIC is the default on this platform
13509
 
         # Common symbols not allowed in MH_DYLIB files
13510
 
         case $cc_basename in
13511
 
           xlc*)
13512
 
           lt_prog_compiler_pic_CXX='-qnocommon'
13513
 
           lt_prog_compiler_wl_CXX='-Wl,'
13514
 
           ;;
13515
 
         esac
13516
 
       ;;
13517
14247
      dgux*)
13518
14248
        case $cc_basename in
13519
14249
          ec++*)
13570
14300
            ;;
13571
14301
        esac
13572
14302
        ;;
13573
 
      linux* | k*bsd*-gnu)
 
14303
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13574
14304
        case $cc_basename in
13575
14305
          KCC*)
13576
14306
            # KAI C++ Compiler
13577
14307
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13578
14308
            lt_prog_compiler_pic_CXX='-fPIC'
13579
14309
            ;;
13580
 
          icpc* | ecpc*)
13581
 
            # Intel C++
 
14310
          ecpc* )
 
14311
            # old Intel C++ for x86_64 which still supported -KPIC.
13582
14312
            lt_prog_compiler_wl_CXX='-Wl,'
13583
14313
            lt_prog_compiler_pic_CXX='-KPIC'
13584
14314
            lt_prog_compiler_static_CXX='-static'
13585
14315
            ;;
13586
 
          pgCC*)
13587
 
            # Portland Group C++ compiler.
 
14316
          icpc* )
 
14317
            # Intel C++, used to be incompatible with GCC.
 
14318
            # ICC 10 doesn't accept -KPIC any more.
 
14319
            lt_prog_compiler_wl_CXX='-Wl,'
 
14320
            lt_prog_compiler_pic_CXX='-fPIC'
 
14321
            lt_prog_compiler_static_CXX='-static'
 
14322
            ;;
 
14323
          pgCC* | pgcpp*)
 
14324
            # Portland Group C++ compiler
13588
14325
            lt_prog_compiler_wl_CXX='-Wl,'
13589
14326
            lt_prog_compiler_pic_CXX='-fpic'
13590
14327
            lt_prog_compiler_static_CXX='-Bstatic'
13596
14333
            lt_prog_compiler_pic_CXX=
13597
14334
            lt_prog_compiler_static_CXX='-non_shared'
13598
14335
            ;;
 
14336
          xlc* | xlC*)
 
14337
            # IBM XL 8.0 on PPC
 
14338
            lt_prog_compiler_wl_CXX='-Wl,'
 
14339
            lt_prog_compiler_pic_CXX='-qpic'
 
14340
            lt_prog_compiler_static_CXX='-qstaticlink'
 
14341
            ;;
13599
14342
          *)
13600
14343
            case `$CC -V 2>&1 | sed 5q` in
13601
14344
            *Sun\ C*)
13623
14366
        ;;
13624
14367
      netbsd* | netbsdelf*-gnu)
13625
14368
        ;;
 
14369
      *qnx* | *nto*)
 
14370
        # QNX uses GNU C++, but need to define -shared option too, otherwise
 
14371
        # it will coredump.
 
14372
        lt_prog_compiler_pic_CXX='-fPIC -shared'
 
14373
        ;;
13626
14374
      osf3* | osf4* | osf5*)
13627
14375
        case $cc_basename in
13628
14376
          KCC*)
13677
14425
            ;;
13678
14426
        esac
13679
14427
        ;;
 
14428
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
14429
        case $cc_basename in
 
14430
          CC*)
 
14431
            lt_prog_compiler_wl_CXX='-Wl,'
 
14432
            lt_prog_compiler_pic_CXX='-KPIC'
 
14433
            lt_prog_compiler_static_CXX='-Bstatic'
 
14434
            ;;
 
14435
        esac
 
14436
        ;;
13680
14437
      tandem*)
13681
14438
        case $cc_basename in
13682
14439
          NCC*)
13687
14444
            ;;
13688
14445
        esac
13689
14446
        ;;
13690
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13691
 
        case $cc_basename in
13692
 
          CC*)
13693
 
            lt_prog_compiler_wl_CXX='-Wl,'
13694
 
            lt_prog_compiler_pic_CXX='-KPIC'
13695
 
            lt_prog_compiler_static_CXX='-Bstatic'
13696
 
            ;;
13697
 
        esac
13698
 
        ;;
13699
14447
      vxworks*)
13700
14448
        ;;
13701
14449
      *)
13704
14452
    esac
13705
14453
  fi
13706
14454
 
13707
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13708
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
 
14455
case $host_os in
 
14456
  # For platforms which do not support PIC, -DPIC is meaningless:
 
14457
  *djgpp*)
 
14458
    lt_prog_compiler_pic_CXX=
 
14459
    ;;
 
14460
  *)
 
14461
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 
14462
    ;;
 
14463
esac
 
14464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
 
14465
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 
14466
 
 
14467
 
13709
14468
 
13710
14469
#
13711
14470
# Check to make sure the PIC flag actually works.
13712
14471
#
13713
14472
if test -n "$lt_prog_compiler_pic_CXX"; then
13714
 
 
13715
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13716
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13717
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13718
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14473
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
14474
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
14475
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
14476
  $as_echo_n "(cached) " >&6
13719
14477
else
13720
 
  lt_prog_compiler_pic_works_CXX=no
13721
 
  ac_outfile=conftest.$ac_objext
 
14478
  lt_cv_prog_compiler_pic_works_CXX=no
 
14479
   ac_outfile=conftest.$ac_objext
13722
14480
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13723
14481
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13724
14482
   # Insert the option either (1) after the last *FLAGS variable, or
13730
14488
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13731
14489
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13732
14490
   -e 's:$: $lt_compiler_flag:'`
13733
 
   (eval echo "\"\$as_me:13733: $lt_compile\"" >&5)
 
14491
   (eval echo "\"\$as_me:14491: $lt_compile\"" >&5)
13734
14492
   (eval "$lt_compile" 2>conftest.err)
13735
14493
   ac_status=$?
13736
14494
   cat conftest.err >&5
13737
 
   echo "$as_me:13737: \$? = $ac_status" >&5
 
14495
   echo "$as_me:14495: \$? = $ac_status" >&5
13738
14496
   if (exit $ac_status) && test -s "$ac_outfile"; then
13739
14497
     # The compiler can only warn and ignore the option if not recognized
13740
14498
     # So say no if there are warnings other than the usual output.
13741
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
14499
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13742
14500
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13743
14501
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13744
 
       lt_prog_compiler_pic_works_CXX=yes
 
14502
       lt_cv_prog_compiler_pic_works_CXX=yes
13745
14503
     fi
13746
14504
   fi
13747
 
   $rm conftest*
 
14505
   $RM conftest*
13748
14506
 
13749
14507
fi
13750
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13751
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
 
14508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
14509
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13752
14510
 
13753
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
14511
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13754
14512
    case $lt_prog_compiler_pic_CXX in
13755
14513
     "" | " "*) ;;
13756
14514
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13761
14519
fi
13762
14520
 
13763
14521
fi
13764
 
case $host_os in
13765
 
  # For platforms which do not support PIC, -DPIC is meaningless:
13766
 
  *djgpp*)
13767
 
    lt_prog_compiler_pic_CXX=
13768
 
    ;;
13769
 
  *)
13770
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13771
 
    ;;
13772
 
esac
 
14522
 
 
14523
 
13773
14524
 
13774
14525
#
13775
14526
# Check to make sure the static flag actually works.
13776
14527
#
13777
14528
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13778
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13779
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13780
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13781
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14529
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14530
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
14531
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
14532
  $as_echo_n "(cached) " >&6
13782
14533
else
13783
 
  lt_prog_compiler_static_works_CXX=no
 
14534
  lt_cv_prog_compiler_static_works_CXX=no
13784
14535
   save_LDFLAGS="$LDFLAGS"
13785
14536
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13786
14537
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13790
14541
     if test -s conftest.err; then
13791
14542
       # Append any errors to the config.log.
13792
14543
       cat conftest.err 1>&5
13793
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
14544
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13794
14545
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13795
14546
       if diff conftest.exp conftest.er2 >/dev/null; then
13796
 
         lt_prog_compiler_static_works_CXX=yes
 
14547
         lt_cv_prog_compiler_static_works_CXX=yes
13797
14548
       fi
13798
14549
     else
13799
 
       lt_prog_compiler_static_works_CXX=yes
 
14550
       lt_cv_prog_compiler_static_works_CXX=yes
13800
14551
     fi
13801
14552
   fi
13802
 
   $rm conftest*
 
14553
   $RM -r conftest*
13803
14554
   LDFLAGS="$save_LDFLAGS"
13804
14555
 
13805
14556
fi
13806
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13807
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
14557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
14558
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13808
14559
 
13809
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
14560
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13810
14561
    :
13811
14562
else
13812
14563
    lt_prog_compiler_static_CXX=
13813
14564
fi
13814
14565
 
13815
14566
 
13816
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13817
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13818
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13819
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13820
 
else
13821
 
  lt_cv_prog_compiler_c_o_CXX=no
13822
 
   $rm -r conftest 2>/dev/null
13823
 
   mkdir conftest
13824
 
   cd conftest
13825
 
   mkdir out
13826
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13827
 
 
13828
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13829
 
   # Insert the option either (1) after the last *FLAGS variable, or
13830
 
   # (2) before a word containing "conftest.", or (3) at the end.
13831
 
   # Note that $ac_compile itself does not contain backslashes and begins
13832
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13833
 
   lt_compile=`echo "$ac_compile" | $SED \
13834
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13835
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13836
 
   -e 's:$: $lt_compiler_flag:'`
13837
 
   (eval echo "\"\$as_me:13837: $lt_compile\"" >&5)
13838
 
   (eval "$lt_compile" 2>out/conftest.err)
13839
 
   ac_status=$?
13840
 
   cat out/conftest.err >&5
13841
 
   echo "$as_me:13841: \$? = $ac_status" >&5
13842
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13843
 
   then
13844
 
     # The compiler can only warn and ignore the option if not recognized
13845
 
     # So say no if there are warnings
13846
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13847
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13848
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13849
 
       lt_cv_prog_compiler_c_o_CXX=yes
13850
 
     fi
13851
 
   fi
13852
 
   chmod u+w . 2>&5
13853
 
   $rm conftest*
13854
 
   # SGI C++ compiler will create directory out/ii_files/ for
13855
 
   # template instantiation
13856
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13857
 
   $rm out/* && rmdir out
13858
 
   cd ..
13859
 
   rmdir conftest
13860
 
   $rm conftest*
13861
 
 
13862
 
fi
13863
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13864
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14567
 
 
14568
 
 
14569
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14570
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
14571
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
14572
  $as_echo_n "(cached) " >&6
 
14573
else
 
14574
  lt_cv_prog_compiler_c_o_CXX=no
 
14575
   $RM -r conftest 2>/dev/null
 
14576
   mkdir conftest
 
14577
   cd conftest
 
14578
   mkdir out
 
14579
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14580
 
 
14581
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
14582
   # Insert the option either (1) after the last *FLAGS variable, or
 
14583
   # (2) before a word containing "conftest.", or (3) at the end.
 
14584
   # Note that $ac_compile itself does not contain backslashes and begins
 
14585
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
14586
   lt_compile=`echo "$ac_compile" | $SED \
 
14587
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14588
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14589
   -e 's:$: $lt_compiler_flag:'`
 
14590
   (eval echo "\"\$as_me:14590: $lt_compile\"" >&5)
 
14591
   (eval "$lt_compile" 2>out/conftest.err)
 
14592
   ac_status=$?
 
14593
   cat out/conftest.err >&5
 
14594
   echo "$as_me:14594: \$? = $ac_status" >&5
 
14595
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
14596
   then
 
14597
     # The compiler can only warn and ignore the option if not recognized
 
14598
     # So say no if there are warnings
 
14599
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14600
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14601
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14602
       lt_cv_prog_compiler_c_o_CXX=yes
 
14603
     fi
 
14604
   fi
 
14605
   chmod u+w . 2>&5
 
14606
   $RM conftest*
 
14607
   # SGI C++ compiler will create directory out/ii_files/ for
 
14608
   # template instantiation
 
14609
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
14610
   $RM out/* && rmdir out
 
14611
   cd ..
 
14612
   $RM -r conftest
 
14613
   $RM conftest*
 
14614
 
 
14615
fi
 
14616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14617
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14618
 
 
14619
 
 
14620
 
 
14621
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14622
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
14623
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
14624
  $as_echo_n "(cached) " >&6
 
14625
else
 
14626
  lt_cv_prog_compiler_c_o_CXX=no
 
14627
   $RM -r conftest 2>/dev/null
 
14628
   mkdir conftest
 
14629
   cd conftest
 
14630
   mkdir out
 
14631
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14632
 
 
14633
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
14634
   # Insert the option either (1) after the last *FLAGS variable, or
 
14635
   # (2) before a word containing "conftest.", or (3) at the end.
 
14636
   # Note that $ac_compile itself does not contain backslashes and begins
 
14637
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
14638
   lt_compile=`echo "$ac_compile" | $SED \
 
14639
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14640
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14641
   -e 's:$: $lt_compiler_flag:'`
 
14642
   (eval echo "\"\$as_me:14642: $lt_compile\"" >&5)
 
14643
   (eval "$lt_compile" 2>out/conftest.err)
 
14644
   ac_status=$?
 
14645
   cat out/conftest.err >&5
 
14646
   echo "$as_me:14646: \$? = $ac_status" >&5
 
14647
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
14648
   then
 
14649
     # The compiler can only warn and ignore the option if not recognized
 
14650
     # So say no if there are warnings
 
14651
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14652
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14653
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14654
       lt_cv_prog_compiler_c_o_CXX=yes
 
14655
     fi
 
14656
   fi
 
14657
   chmod u+w . 2>&5
 
14658
   $RM conftest*
 
14659
   # SGI C++ compiler will create directory out/ii_files/ for
 
14660
   # template instantiation
 
14661
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
14662
   $RM out/* && rmdir out
 
14663
   cd ..
 
14664
   $RM -r conftest
 
14665
   $RM conftest*
 
14666
 
 
14667
fi
 
14668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14669
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14670
 
 
14671
 
13865
14672
 
13866
14673
 
13867
14674
hard_links="nottested"
13868
14675
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13869
14676
  # do not overwrite the value of need_locks provided by the user
13870
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13871
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
14677
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
14678
$as_echo_n "checking if we can lock with hard links... " >&6; }
13872
14679
  hard_links=yes
13873
 
  $rm conftest*
 
14680
  $RM conftest*
13874
14681
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13875
14682
  touch conftest.a
13876
14683
  ln conftest.a conftest.b 2>&5 || hard_links=no
13877
14684
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13878
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
13879
 
echo "${ECHO_T}$hard_links" >&6; }
 
14685
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
14686
$as_echo "$hard_links" >&6; }
13880
14687
  if test "$hard_links" = no; then
13881
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13882
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
14688
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
14689
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13883
14690
    need_locks=warn
13884
14691
  fi
13885
14692
else
13886
14693
  need_locks=no
13887
14694
fi
13888
14695
 
13889
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13890
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
14696
 
 
14697
 
 
14698
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14699
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13891
14700
 
13892
14701
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13893
14702
  case $host_os in
13894
 
  aix4* | aix5*)
 
14703
  aix[4-9]*)
13895
14704
    # If we're using GNU nm, then we don't want the "-C" option.
13896
14705
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13897
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13898
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 
14706
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
14707
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13899
14708
    else
13900
 
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 
14709
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13901
14710
    fi
13902
14711
    ;;
13903
14712
  pw32*)
13904
14713
    export_symbols_cmds_CXX="$ltdll_cmds"
13905
14714
  ;;
13906
 
  cygwin* | mingw*)
13907
 
    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'
 
14715
  cygwin* | mingw* | cegcc*)
 
14716
    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'
13908
14717
  ;;
13909
14718
  linux* | k*bsd*-gnu)
13910
14719
    link_all_deplibs_CXX=no
13913
14722
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13914
14723
  ;;
13915
14724
  esac
 
14725
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13916
14726
 
13917
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13918
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
14727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
14728
$as_echo "$ld_shlibs_CXX" >&6; }
13919
14729
test "$ld_shlibs_CXX" = no && can_build_shared=no
13920
14730
 
 
14731
with_gnu_ld_CXX=$with_gnu_ld
 
14732
 
 
14733
 
 
14734
 
 
14735
 
 
14736
 
 
14737
 
13921
14738
#
13922
14739
# Do we need to explicitly link libc?
13923
14740
#
13935
14752
      # Test whether the compiler implicitly links with -lc since on some
13936
14753
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13937
14754
      # to ld, don't add -lc before -lgcc.
13938
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13939
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13940
 
      $rm conftest*
 
14755
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
14756
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
14757
      $RM conftest*
13941
14758
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13942
14759
 
13943
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14760
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13944
14761
  (eval $ac_compile) 2>&5
13945
14762
  ac_status=$?
13946
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947
 
  (exit $ac_status); } 2>conftest.err; then
 
14763
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14764
  test $ac_status = 0; } 2>conftest.err; then
13948
14765
        soname=conftest
13949
14766
        lib=conftest
13950
14767
        libobjs=conftest.$ac_objext
13958
14775
        libname=conftest
13959
14776
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13960
14777
        allow_undefined_flag_CXX=
13961
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13962
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
14778
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
14779
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13963
14780
  ac_status=$?
13964
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965
 
  (exit $ac_status); }
 
14781
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14782
  test $ac_status = 0; }
13966
14783
        then
13967
14784
          archive_cmds_need_lc_CXX=no
13968
14785
        else
13972
14789
      else
13973
14790
        cat conftest.err 1>&5
13974
14791
      fi
13975
 
      $rm conftest*
13976
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13977
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
 
14792
      $RM conftest*
 
14793
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
 
14794
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
13978
14795
      ;;
13979
14796
    esac
13980
14797
  fi
13981
14798
  ;;
13982
14799
esac
13983
14800
 
13984
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13985
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
14801
 
 
14802
 
 
14803
 
 
14804
 
 
14805
 
 
14806
 
 
14807
 
 
14808
 
 
14809
 
 
14810
 
 
14811
 
 
14812
 
 
14813
 
 
14814
 
 
14815
 
 
14816
 
 
14817
 
 
14818
 
 
14819
 
 
14820
 
 
14821
 
 
14822
 
 
14823
 
 
14824
 
 
14825
 
 
14826
 
 
14827
 
 
14828
 
 
14829
 
 
14830
 
 
14831
 
 
14832
 
 
14833
 
 
14834
 
 
14835
 
 
14836
 
 
14837
 
 
14838
 
 
14839
 
 
14840
 
 
14841
 
 
14842
 
 
14843
 
 
14844
 
 
14845
 
 
14846
 
 
14847
 
 
14848
 
 
14849
 
 
14850
 
 
14851
 
 
14852
 
 
14853
 
 
14854
 
 
14855
 
 
14856
 
 
14857
 
 
14858
 
 
14859
 
 
14860
 
 
14861
 
 
14862
 
 
14863
 
 
14864
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
14865
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
14866
 
13986
14867
library_names_spec=
13987
14868
libname_spec='lib$name'
13988
14869
soname_spec=
13996
14877
version_type=none
13997
14878
dynamic_linker="$host_os ld.so"
13998
14879
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13999
 
 
14000
14880
need_lib_prefix=unknown
14001
14881
hardcode_into_libs=no
14002
14882
 
14014
14894
  soname_spec='${libname}${release}${shared_ext}$major'
14015
14895
  ;;
14016
14896
 
14017
 
aix4* | aix5*)
 
14897
aix[4-9]*)
14018
14898
  version_type=linux
14019
14899
  need_lib_prefix=no
14020
14900
  need_version=no
14033
14913
      aix4 | aix4.[01] | aix4.[01].*)
14034
14914
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14035
14915
           echo ' yes '
14036
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
14916
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14037
14917
        :
14038
14918
      else
14039
14919
        can_build_shared=no
14059
14939
  ;;
14060
14940
 
14061
14941
amigaos*)
14062
 
  library_names_spec='$libname.ixlibrary $libname.a'
14063
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
14064
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
14942
  case $host_cpu in
 
14943
  powerpc)
 
14944
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
14945
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
14946
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14947
    ;;
 
14948
  m68k)
 
14949
    library_names_spec='$libname.ixlibrary $libname.a'
 
14950
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
14951
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
14952
    ;;
 
14953
  esac
14065
14954
  ;;
14066
14955
 
14067
14956
beos*)
14084
14973
  # libtool to hard-code these into programs
14085
14974
  ;;
14086
14975
 
14087
 
cygwin* | mingw* | pw32*)
 
14976
cygwin* | mingw* | pw32* | cegcc*)
14088
14977
  version_type=windows
14089
14978
  shrext_cmds=".dll"
14090
14979
  need_version=no
14091
14980
  need_lib_prefix=no
14092
14981
 
14093
14982
  case $GCC,$host_os in
14094
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
14983
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14095
14984
    library_names_spec='$libname.dll.a'
14096
14985
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14097
14986
    postinstall_cmds='base_file=`basename \${file}`~
14098
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
14987
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14099
14988
      dldir=$destdir/`dirname \$dlpath`~
14100
14989
      test -d \$dldir || mkdir -p \$dldir~
14101
14990
      $install_prog $dir/$dlname \$dldir/$dlname~
14102
 
      chmod a+x \$dldir/$dlname'
 
14991
      chmod a+x \$dldir/$dlname~
 
14992
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
14993
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
14994
      fi'
14103
14995
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14104
14996
      dlpath=$dir/\$dldll~
14105
 
       $rm \$dlpath'
 
14997
       $RM \$dlpath'
14106
14998
    shlibpath_overrides_runpath=yes
14107
14999
 
14108
15000
    case $host_os in
14111
15003
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14112
15004
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14113
15005
      ;;
14114
 
    mingw*)
 
15006
    mingw* | cegcc*)
14115
15007
      # MinGW DLLs use traditional 'lib' prefix
14116
15008
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14117
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14118
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
15009
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
15010
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14119
15011
        # It is most probably a Windows format PATH printed by
14120
15012
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
14121
15013
        # path with ; separators, and with drive letters. We can handle the
14122
15014
        # drive letters (cygwin fileutils understands them), so leave them,
14123
15015
        # especially as we might pass files found there to a mingw objdump,
14124
15016
        # which wouldn't understand a cygwinified path. Ahh.
14125
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
15017
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14126
15018
      else
14127
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
15019
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14128
15020
      fi
14129
15021
      ;;
14130
15022
    pw32*)
14148
15040
  version_type=darwin
14149
15041
  need_lib_prefix=no
14150
15042
  need_version=no
14151
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
15043
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14152
15044
  soname_spec='${libname}${release}${major}$shared_ext'
14153
15045
  shlibpath_overrides_runpath=yes
14154
15046
  shlibpath_var=DYLD_LIBRARY_PATH
14246
15138
    fi
14247
15139
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14248
15140
    ;;
14249
 
   hppa*64*)
14250
 
     shrext_cmds='.sl'
14251
 
     hardcode_into_libs=yes
14252
 
     dynamic_linker="$host_os dld.sl"
14253
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14254
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14255
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14256
 
     soname_spec='${libname}${release}${shared_ext}$major'
14257
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14258
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14259
 
     ;;
14260
 
   *)
 
15141
  hppa*64*)
 
15142
    shrext_cmds='.sl'
 
15143
    hardcode_into_libs=yes
 
15144
    dynamic_linker="$host_os dld.sl"
 
15145
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
15146
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
15147
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15148
    soname_spec='${libname}${release}${shared_ext}$major'
 
15149
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
15150
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
15151
    ;;
 
15152
  *)
14261
15153
    shrext_cmds='.sl'
14262
15154
    dynamic_linker="$host_os dld.sl"
14263
15155
    shlibpath_var=SHLIB_PATH
14325
15217
  ;;
14326
15218
 
14327
15219
# This must be Linux ELF.
14328
 
linux* | k*bsd*-gnu)
 
15220
linux* | k*bsd*-gnu | kopensolaris*-gnu)
14329
15221
  version_type=linux
14330
15222
  need_lib_prefix=no
14331
15223
  need_version=no
14334
15226
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14335
15227
  shlibpath_var=LD_LIBRARY_PATH
14336
15228
  shlibpath_overrides_runpath=no
 
15229
  # Some binutils ld are patched to set DT_RUNPATH
 
15230
  save_LDFLAGS=$LDFLAGS
 
15231
  save_libdir=$libdir
 
15232
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
15233
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
15234
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15235
/* end confdefs.h.  */
 
15236
 
 
15237
int
 
15238
main ()
 
15239
{
 
15240
 
 
15241
  ;
 
15242
  return 0;
 
15243
}
 
15244
_ACEOF
 
15245
if ac_fn_cxx_try_link "$LINENO"; then :
 
15246
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
15247
  shlibpath_overrides_runpath=yes
 
15248
fi
 
15249
fi
 
15250
rm -f core conftest.err conftest.$ac_objext \
 
15251
    conftest$ac_exeext conftest.$ac_ext
 
15252
  LDFLAGS=$save_LDFLAGS
 
15253
  libdir=$save_libdir
 
15254
 
14337
15255
  # This implies no fast_install, which is unacceptable.
14338
15256
  # Some rework will be needed to allow for fast_install
14339
15257
  # before this can be enabled.
14341
15259
 
14342
15260
  # Append ld.so.conf contents to the search path
14343
15261
  if test -f /etc/ld.so.conf; then
14344
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
15262
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14345
15263
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14346
15264
  fi
14347
15265
 
14370
15288
  version_type=sunos
14371
15289
  need_lib_prefix=no
14372
15290
  need_version=no
14373
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
15291
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14374
15292
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14375
15293
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14376
15294
    dynamic_linker='NetBSD (a.out) ld.so'
14391
15309
  shlibpath_overrides_runpath=yes
14392
15310
  ;;
14393
15311
 
14394
 
nto-qnx*)
14395
 
  version_type=linux
 
15312
*nto* | *qnx*)
 
15313
  version_type=qnx
14396
15314
  need_lib_prefix=no
14397
15315
  need_version=no
14398
15316
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14399
15317
  soname_spec='${libname}${release}${shared_ext}$major'
14400
15318
  shlibpath_var=LD_LIBRARY_PATH
14401
 
  shlibpath_overrides_runpath=yes
 
15319
  shlibpath_overrides_runpath=no
 
15320
  hardcode_into_libs=yes
 
15321
  dynamic_linker='ldqnx.so'
14402
15322
  ;;
14403
15323
 
14404
15324
openbsd*)
14407
15327
  need_lib_prefix=no
14408
15328
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14409
15329
  case $host_os in
14410
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14411
 
    *)                         need_version=no  ;;
 
15330
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
15331
    *)                          need_version=no  ;;
14412
15332
  esac
14413
15333
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14414
15334
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14415
15335
  shlibpath_var=LD_LIBRARY_PATH
14416
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15336
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14417
15337
    case $host_os in
14418
15338
      openbsd2.[89] | openbsd2.[89].*)
14419
15339
        shlibpath_overrides_runpath=no
14485
15405
    sni)
14486
15406
      shlibpath_overrides_runpath=no
14487
15407
      need_lib_prefix=no
14488
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
14489
15408
      runpath_var=LD_RUN_PATH
14490
15409
      ;;
14491
15410
    siemens)
14516
15435
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14517
15436
  soname_spec='${libname}${release}${shared_ext}$major'
14518
15437
  shlibpath_var=LD_LIBRARY_PATH
 
15438
  shlibpath_overrides_runpath=yes
14519
15439
  hardcode_into_libs=yes
14520
15440
  if test "$with_gnu_ld" = yes; then
14521
15441
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14522
 
    shlibpath_overrides_runpath=no
14523
15442
  else
14524
15443
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14525
 
    shlibpath_overrides_runpath=yes
14526
15444
    case $host_os in
14527
15445
      sco3.2v5*)
14528
15446
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14532
15450
  sys_lib_dlsearch_path_spec='/usr/lib'
14533
15451
  ;;
14534
15452
 
 
15453
tpf*)
 
15454
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
15455
  version_type=linux
 
15456
  need_lib_prefix=no
 
15457
  need_version=no
 
15458
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15459
  shlibpath_var=LD_LIBRARY_PATH
 
15460
  shlibpath_overrides_runpath=no
 
15461
  hardcode_into_libs=yes
 
15462
  ;;
 
15463
 
14535
15464
uts4*)
14536
15465
  version_type=linux
14537
15466
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14543
15472
  dynamic_linker=no
14544
15473
  ;;
14545
15474
esac
14546
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14547
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
15475
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
15476
$as_echo "$dynamic_linker" >&6; }
14548
15477
test "$dynamic_linker" = no && can_build_shared=no
14549
15478
 
14550
15479
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14552
15481
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14553
15482
fi
14554
15483
 
14555
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14556
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
15484
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
15485
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
15486
fi
 
15487
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
15488
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
15489
fi
 
15490
 
 
15491
 
 
15492
 
 
15493
 
 
15494
 
 
15495
 
 
15496
 
 
15497
 
 
15498
 
 
15499
 
 
15500
 
 
15501
 
 
15502
 
 
15503
 
 
15504
 
 
15505
 
 
15506
 
 
15507
 
 
15508
 
 
15509
 
 
15510
 
 
15511
 
 
15512
 
 
15513
 
 
15514
 
 
15515
 
 
15516
 
 
15517
 
 
15518
 
 
15519
 
 
15520
 
 
15521
 
 
15522
 
 
15523
 
 
15524
 
 
15525
 
 
15526
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
15527
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14557
15528
hardcode_action_CXX=
14558
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14559
 
   test -n "$runpath_var_CXX" || \
 
15529
if test -n "$hardcode_libdir_flag_spec_CXX" ||
 
15530
   test -n "$runpath_var_CXX" ||
14560
15531
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
14561
15532
 
14562
 
  # We can hardcode non-existant directories.
 
15533
  # We can hardcode non-existent directories.
14563
15534
  if test "$hardcode_direct_CXX" != no &&
14564
15535
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14565
15536
     # have to relink, otherwise we might link with an installed library
14566
15537
     # when we should be linking with a yet-to-be-installed one
14567
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 
15538
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14568
15539
     test "$hardcode_minus_L_CXX" != no; then
14569
15540
    # Linking always hardcodes the temporary library directory.
14570
15541
    hardcode_action_CXX=relink
14577
15548
  # directories.
14578
15549
  hardcode_action_CXX=unsupported
14579
15550
fi
14580
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14581
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14582
 
 
14583
 
if test "$hardcode_action_CXX" = relink; then
14584
 
  # Fast installation is not supported
14585
 
  enable_fast_install=no
14586
 
elif test "$shlibpath_overrides_runpath" = yes ||
14587
 
     test "$enable_shared" = no; then
14588
 
  # Fast installation is not necessary
14589
 
  enable_fast_install=needless
14590
 
fi
14591
 
 
14592
 
 
14593
 
# The else clause should only fire when bootstrapping the
14594
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
14595
 
# with your package, and you will get complaints that there are
14596
 
# no rules to generate ltmain.sh.
14597
 
if test -f "$ltmain"; then
14598
 
  # See if we are running on zsh, and set the options which allow our commands through
14599
 
  # without removal of \ escapes.
14600
 
  if test -n "${ZSH_VERSION+set}" ; then
14601
 
    setopt NO_GLOB_SUBST
14602
 
  fi
14603
 
  # Now quote all the things that may contain metacharacters while being
14604
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
14605
 
  # variables and quote the copies for generation of the libtool script.
14606
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14607
 
    SED SHELL STRIP \
14608
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14609
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14610
 
    deplibs_check_method reload_flag reload_cmds need_locks \
14611
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14612
 
    lt_cv_sys_global_symbol_to_c_name_address \
14613
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14614
 
    old_postinstall_cmds old_postuninstall_cmds \
14615
 
    compiler_CXX \
14616
 
    CC_CXX \
14617
 
    LD_CXX \
14618
 
    lt_prog_compiler_wl_CXX \
14619
 
    lt_prog_compiler_pic_CXX \
14620
 
    lt_prog_compiler_static_CXX \
14621
 
    lt_prog_compiler_no_builtin_flag_CXX \
14622
 
    export_dynamic_flag_spec_CXX \
14623
 
    thread_safe_flag_spec_CXX \
14624
 
    whole_archive_flag_spec_CXX \
14625
 
    enable_shared_with_static_runtimes_CXX \
14626
 
    old_archive_cmds_CXX \
14627
 
    old_archive_from_new_cmds_CXX \
14628
 
    predep_objects_CXX \
14629
 
    postdep_objects_CXX \
14630
 
    predeps_CXX \
14631
 
    postdeps_CXX \
14632
 
    compiler_lib_search_path_CXX \
14633
 
    archive_cmds_CXX \
14634
 
    archive_expsym_cmds_CXX \
14635
 
    postinstall_cmds_CXX \
14636
 
    postuninstall_cmds_CXX \
14637
 
    old_archive_from_expsyms_cmds_CXX \
14638
 
    allow_undefined_flag_CXX \
14639
 
    no_undefined_flag_CXX \
14640
 
    export_symbols_cmds_CXX \
14641
 
    hardcode_libdir_flag_spec_CXX \
14642
 
    hardcode_libdir_flag_spec_ld_CXX \
14643
 
    hardcode_libdir_separator_CXX \
14644
 
    hardcode_automatic_CXX \
14645
 
    module_cmds_CXX \
14646
 
    module_expsym_cmds_CXX \
14647
 
    lt_cv_prog_compiler_c_o_CXX \
14648
 
    fix_srcfile_path_CXX \
14649
 
    exclude_expsyms_CXX \
14650
 
    include_expsyms_CXX; do
14651
 
 
14652
 
    case $var in
14653
 
    old_archive_cmds_CXX | \
14654
 
    old_archive_from_new_cmds_CXX | \
14655
 
    archive_cmds_CXX | \
14656
 
    archive_expsym_cmds_CXX | \
14657
 
    module_cmds_CXX | \
14658
 
    module_expsym_cmds_CXX | \
14659
 
    old_archive_from_expsyms_cmds_CXX | \
14660
 
    export_symbols_cmds_CXX | \
14661
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
14662
 
    postinstall_cmds | postuninstall_cmds | \
14663
 
    old_postinstall_cmds | old_postuninstall_cmds | \
14664
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14665
 
      # Double-quote double-evaled strings.
14666
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14667
 
      ;;
14668
 
    *)
14669
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14670
 
      ;;
14671
 
    esac
14672
 
  done
14673
 
 
14674
 
  case $lt_echo in
14675
 
  *'\$0 --fallback-echo"')
14676
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14677
 
    ;;
14678
 
  esac
14679
 
 
14680
 
cfgfile="$ofile"
14681
 
 
14682
 
  cat <<__EOF__ >> "$cfgfile"
14683
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
14684
 
 
14685
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14686
 
 
14687
 
# Shell to use when invoking shell scripts.
14688
 
SHELL=$lt_SHELL
14689
 
 
14690
 
# Whether or not to build shared libraries.
14691
 
build_libtool_libs=$enable_shared
14692
 
 
14693
 
# Whether or not to build static libraries.
14694
 
build_old_libs=$enable_static
14695
 
 
14696
 
# Whether or not to add -lc for building shared libraries.
14697
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
14698
 
 
14699
 
# Whether or not to disallow shared libs when runtime libs are static
14700
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14701
 
 
14702
 
# Whether or not to optimize for fast installation.
14703
 
fast_install=$enable_fast_install
14704
 
 
14705
 
# The host system.
14706
 
host_alias=$host_alias
14707
 
host=$host
14708
 
host_os=$host_os
14709
 
 
14710
 
# The build system.
14711
 
build_alias=$build_alias
14712
 
build=$build
14713
 
build_os=$build_os
14714
 
 
14715
 
# An echo program that does not interpret backslashes.
14716
 
echo=$lt_echo
14717
 
 
14718
 
# The archiver.
14719
 
AR=$lt_AR
14720
 
AR_FLAGS=$lt_AR_FLAGS
14721
 
 
14722
 
# A C compiler.
14723
 
LTCC=$lt_LTCC
14724
 
 
14725
 
# LTCC compiler flags.
14726
 
LTCFLAGS=$lt_LTCFLAGS
14727
 
 
14728
 
# A language-specific compiler.
14729
 
CC=$lt_compiler_CXX
14730
 
 
14731
 
# Is the compiler the GNU C compiler?
14732
 
with_gcc=$GCC_CXX
14733
 
 
14734
 
# An ERE matcher.
14735
 
EGREP=$lt_EGREP
14736
 
 
14737
 
# The linker used to build libraries.
14738
 
LD=$lt_LD_CXX
14739
 
 
14740
 
# Whether we need hard or soft links.
14741
 
LN_S=$lt_LN_S
14742
 
 
14743
 
# A BSD-compatible nm program.
14744
 
NM=$lt_NM
14745
 
 
14746
 
# A symbol stripping program
14747
 
STRIP=$lt_STRIP
14748
 
 
14749
 
# Used to examine libraries when file_magic_cmd begins "file"
14750
 
MAGIC_CMD=$MAGIC_CMD
14751
 
 
14752
 
# Used on cygwin: DLL creation program.
14753
 
DLLTOOL="$DLLTOOL"
14754
 
 
14755
 
# Used on cygwin: object dumper.
14756
 
OBJDUMP="$OBJDUMP"
14757
 
 
14758
 
# Used on cygwin: assembler.
14759
 
AS="$AS"
14760
 
 
14761
 
# The name of the directory that contains temporary libtool files.
14762
 
objdir=$objdir
14763
 
 
14764
 
# How to create reloadable object files.
14765
 
reload_flag=$lt_reload_flag
14766
 
reload_cmds=$lt_reload_cmds
14767
 
 
14768
 
# How to pass a linker flag through the compiler.
14769
 
wl=$lt_lt_prog_compiler_wl_CXX
14770
 
 
14771
 
# Object file suffix (normally "o").
14772
 
objext="$ac_objext"
14773
 
 
14774
 
# Old archive suffix (normally "a").
14775
 
libext="$libext"
14776
 
 
14777
 
# Shared library suffix (normally ".so").
14778
 
shrext_cmds='$shrext_cmds'
14779
 
 
14780
 
# Executable file suffix (normally "").
14781
 
exeext="$exeext"
14782
 
 
14783
 
# Additional compiler flags for building library objects.
14784
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
14785
 
pic_mode=$pic_mode
14786
 
 
14787
 
# What is the maximum length of a command?
14788
 
max_cmd_len=$lt_cv_sys_max_cmd_len
14789
 
 
14790
 
# Does compiler simultaneously support -c and -o options?
14791
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14792
 
 
14793
 
# Must we lock files when doing compilation?
14794
 
need_locks=$lt_need_locks
14795
 
 
14796
 
# Do we need the lib prefix for modules?
14797
 
need_lib_prefix=$need_lib_prefix
14798
 
 
14799
 
# Do we need a version for libraries?
14800
 
need_version=$need_version
14801
 
 
14802
 
# Whether dlopen is supported.
14803
 
dlopen_support=$enable_dlopen
14804
 
 
14805
 
# Whether dlopen of programs is supported.
14806
 
dlopen_self=$enable_dlopen_self
14807
 
 
14808
 
# Whether dlopen of statically linked programs is supported.
14809
 
dlopen_self_static=$enable_dlopen_self_static
14810
 
 
14811
 
# Compiler flag to prevent dynamic linking.
14812
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
14813
 
 
14814
 
# Compiler flag to turn off builtin functions.
14815
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14816
 
 
14817
 
# Compiler flag to allow reflexive dlopens.
14818
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14819
 
 
14820
 
# Compiler flag to generate shared objects directly from archives.
14821
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14822
 
 
14823
 
# Compiler flag to generate thread-safe objects.
14824
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14825
 
 
14826
 
# Library versioning type.
14827
 
version_type=$version_type
14828
 
 
14829
 
# Format of library name prefix.
14830
 
libname_spec=$lt_libname_spec
14831
 
 
14832
 
# List of archive names.  First name is the real one, the rest are links.
14833
 
# The last name is the one that the linker finds with -lNAME.
14834
 
library_names_spec=$lt_library_names_spec
14835
 
 
14836
 
# The coded name of the library, if different from the real name.
14837
 
soname_spec=$lt_soname_spec
14838
 
 
14839
 
# Commands used to build and install an old-style archive.
14840
 
RANLIB=$lt_RANLIB
14841
 
old_archive_cmds=$lt_old_archive_cmds_CXX
14842
 
old_postinstall_cmds=$lt_old_postinstall_cmds
14843
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14844
 
 
14845
 
# Create an old-style archive from a shared archive.
14846
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14847
 
 
14848
 
# Create a temporary old-style archive to link instead of a shared archive.
14849
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14850
 
 
14851
 
# Commands used to build and install a shared archive.
14852
 
archive_cmds=$lt_archive_cmds_CXX
14853
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14854
 
postinstall_cmds=$lt_postinstall_cmds
14855
 
postuninstall_cmds=$lt_postuninstall_cmds
14856
 
 
14857
 
# Commands used to build a loadable module (assumed same as above if empty)
14858
 
module_cmds=$lt_module_cmds_CXX
14859
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
14860
 
 
14861
 
# Commands to strip libraries.
14862
 
old_striplib=$lt_old_striplib
14863
 
striplib=$lt_striplib
14864
 
 
14865
 
# Dependencies to place before the objects being linked to create a
14866
 
# shared library.
14867
 
predep_objects=$lt_predep_objects_CXX
14868
 
 
14869
 
# Dependencies to place after the objects being linked to create a
14870
 
# shared library.
14871
 
postdep_objects=$lt_postdep_objects_CXX
14872
 
 
14873
 
# Dependencies to place before the objects being linked to create a
14874
 
# shared library.
14875
 
predeps=$lt_predeps_CXX
14876
 
 
14877
 
# Dependencies to place after the objects being linked to create a
14878
 
# shared library.
14879
 
postdeps=$lt_postdeps_CXX
14880
 
 
14881
 
# The library search path used internally by the compiler when linking
14882
 
# a shared library.
14883
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14884
 
 
14885
 
# Method to check whether dependent libraries are shared objects.
14886
 
deplibs_check_method=$lt_deplibs_check_method
14887
 
 
14888
 
# Command to use when deplibs_check_method == file_magic.
14889
 
file_magic_cmd=$lt_file_magic_cmd
14890
 
 
14891
 
# Flag that allows shared libraries with undefined symbols to be built.
14892
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
14893
 
 
14894
 
# Flag that forces no undefined symbols.
14895
 
no_undefined_flag=$lt_no_undefined_flag_CXX
14896
 
 
14897
 
# Commands used to finish a libtool library installation in a directory.
14898
 
finish_cmds=$lt_finish_cmds
14899
 
 
14900
 
# Same as above, but a single script fragment to be evaled but not shown.
14901
 
finish_eval=$lt_finish_eval
14902
 
 
14903
 
# Take the output of nm and produce a listing of raw symbols and C names.
14904
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14905
 
 
14906
 
# Transform the output of nm in a proper C declaration
14907
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14908
 
 
14909
 
# Transform the output of nm in a C name address pair
14910
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14911
 
 
14912
 
# This is the shared library runtime path variable.
14913
 
runpath_var=$runpath_var
14914
 
 
14915
 
# This is the shared library path variable.
14916
 
shlibpath_var=$shlibpath_var
14917
 
 
14918
 
# Is shlibpath searched before the hard-coded library search path?
14919
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14920
 
 
14921
 
# How to hardcode a shared library path into an executable.
14922
 
hardcode_action=$hardcode_action_CXX
14923
 
 
14924
 
# Whether we should hardcode library paths into libraries.
14925
 
hardcode_into_libs=$hardcode_into_libs
14926
 
 
14927
 
# Flag to hardcode \$libdir into a binary during linking.
14928
 
# This must work even if \$libdir does not exist.
14929
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14930
 
 
14931
 
# If ld is used when linking, flag to hardcode \$libdir into
14932
 
# a binary during linking. This must work even if \$libdir does
14933
 
# not exist.
14934
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14935
 
 
14936
 
# Whether we need a single -rpath flag with a separated argument.
14937
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14938
 
 
14939
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14940
 
# resulting binary.
14941
 
hardcode_direct=$hardcode_direct_CXX
14942
 
 
14943
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14944
 
# resulting binary.
14945
 
hardcode_minus_L=$hardcode_minus_L_CXX
14946
 
 
14947
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14948
 
# the resulting binary.
14949
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14950
 
 
14951
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
14952
 
# and all subsequent libraries and executables linked against it.
14953
 
hardcode_automatic=$hardcode_automatic_CXX
14954
 
 
14955
 
# Variables whose values should be saved in libtool wrapper scripts and
14956
 
# restored at relink time.
14957
 
variables_saved_for_relink="$variables_saved_for_relink"
14958
 
 
14959
 
# Whether libtool must link a program against all its dependency libraries.
14960
 
link_all_deplibs=$link_all_deplibs_CXX
14961
 
 
14962
 
# Compile-time system search path for libraries
14963
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14964
 
 
14965
 
# Run-time system search path for libraries
14966
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14967
 
 
14968
 
# Fix the shell variable \$srcfile for the compiler.
14969
 
fix_srcfile_path=$lt_fix_srcfile_path
14970
 
 
14971
 
# Set to yes if exported symbols are required.
14972
 
always_export_symbols=$always_export_symbols_CXX
14973
 
 
14974
 
# The commands to list exported symbols.
14975
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
14976
 
 
14977
 
# The commands to extract the exported symbol list from a shared archive.
14978
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14979
 
 
14980
 
# Symbols that should not be listed in the preloaded symbols.
14981
 
exclude_expsyms=$lt_exclude_expsyms_CXX
14982
 
 
14983
 
# Symbols that must always be exported.
14984
 
include_expsyms=$lt_include_expsyms_CXX
14985
 
 
14986
 
# ### END LIBTOOL TAG CONFIG: $tagname
14987
 
 
14988
 
__EOF__
14989
 
 
14990
 
 
14991
 
else
14992
 
  # If there is no Makefile yet, we rely on a make rule to execute
14993
 
  # `config.status --recheck' to rerun these tests and create the
14994
 
  # libtool script then.
14995
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14996
 
  if test -f "$ltmain_in"; then
14997
 
    test -f Makefile && make "$ltmain"
14998
 
  fi
14999
 
fi
15000
 
 
15001
 
 
15002
 
ac_ext=c
15003
 
ac_cpp='$CPP $CPPFLAGS'
15004
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15005
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15006
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15007
 
 
15008
 
CC=$lt_save_CC
15009
 
LDCXX=$LD
15010
 
LD=$lt_save_LD
15011
 
GCC=$lt_save_GCC
15012
 
with_gnu_ldcxx=$with_gnu_ld
15013
 
with_gnu_ld=$lt_save_with_gnu_ld
15014
 
lt_cv_path_LDCXX=$lt_cv_path_LD
15015
 
lt_cv_path_LD=$lt_save_path_LD
15016
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15017
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15018
 
 
15019
 
        else
15020
 
          tagname=""
15021
 
        fi
15022
 
        ;;
15023
 
 
15024
 
      F77)
15025
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
15026
 
 
15027
 
ac_ext=f
15028
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15029
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15030
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15031
 
 
15032
 
 
15033
 
archive_cmds_need_lc_F77=no
15034
 
allow_undefined_flag_F77=
15035
 
always_export_symbols_F77=no
15036
 
archive_expsym_cmds_F77=
15037
 
export_dynamic_flag_spec_F77=
15038
 
hardcode_direct_F77=no
15039
 
hardcode_libdir_flag_spec_F77=
15040
 
hardcode_libdir_flag_spec_ld_F77=
15041
 
hardcode_libdir_separator_F77=
15042
 
hardcode_minus_L_F77=no
15043
 
hardcode_automatic_F77=no
15044
 
module_cmds_F77=
15045
 
module_expsym_cmds_F77=
15046
 
link_all_deplibs_F77=unknown
15047
 
old_archive_cmds_F77=$old_archive_cmds
15048
 
no_undefined_flag_F77=
15049
 
whole_archive_flag_spec_F77=
15050
 
enable_shared_with_static_runtimes_F77=no
15051
 
 
15052
 
# Source file extension for f77 test sources.
15053
 
ac_ext=f
15054
 
 
15055
 
# Object file extension for compiled f77 test sources.
15056
 
objext=o
15057
 
objext_F77=$objext
15058
 
 
15059
 
# Code to be used in simple compile tests
15060
 
lt_simple_compile_test_code="\
15061
 
      subroutine t
15062
 
      return
15063
 
      end
15064
 
"
15065
 
 
15066
 
# Code to be used in simple link tests
15067
 
lt_simple_link_test_code="\
15068
 
      program t
15069
 
      end
15070
 
"
15071
 
 
15072
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15073
 
 
15074
 
# If no C compiler was specified, use CC.
15075
 
LTCC=${LTCC-"$CC"}
15076
 
 
15077
 
# If no C compiler flags were specified, use CFLAGS.
15078
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15079
 
 
15080
 
# Allow CC to be a program name with arguments.
15081
 
compiler=$CC
15082
 
 
15083
 
 
15084
 
# save warnings/boilerplate of simple test code
15085
 
ac_outfile=conftest.$ac_objext
15086
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15087
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15088
 
_lt_compiler_boilerplate=`cat conftest.err`
15089
 
$rm conftest*
15090
 
 
15091
 
ac_outfile=conftest.$ac_objext
15092
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15093
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15094
 
_lt_linker_boilerplate=`cat conftest.err`
15095
 
$rm conftest*
15096
 
 
15097
 
 
15098
 
# Allow CC to be a program name with arguments.
15099
 
lt_save_CC="$CC"
15100
 
CC=${F77-"f77"}
15101
 
compiler=$CC
15102
 
compiler_F77=$CC
15103
 
for cc_temp in $compiler""; do
15104
 
  case $cc_temp in
15105
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15106
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15107
 
    \-*) ;;
15108
 
    *) break;;
15109
 
  esac
15110
 
done
15111
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15112
 
 
15113
 
 
15114
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15115
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15116
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
15117
 
echo "${ECHO_T}$can_build_shared" >&6; }
15118
 
 
15119
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15120
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15121
 
test "$can_build_shared" = "no" && enable_shared=no
15122
 
 
15123
 
# On AIX, shared libraries and static libraries use the same namespace, and
15124
 
# are all built from PIC.
15125
 
case $host_os in
15126
 
aix3*)
15127
 
  test "$enable_shared" = yes && enable_static=no
15128
 
  if test -n "$RANLIB"; then
15129
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
15130
 
    postinstall_cmds='$RANLIB $lib'
15131
 
  fi
15132
 
  ;;
15133
 
aix4* | aix5*)
15134
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15135
 
    test "$enable_shared" = yes && enable_static=no
15136
 
  fi
15137
 
  ;;
15138
 
esac
15139
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
15140
 
echo "${ECHO_T}$enable_shared" >&6; }
15141
 
 
15142
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15143
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15144
 
# Make sure either enable_shared or enable_static is yes.
15145
 
test "$enable_shared" = yes || enable_static=yes
15146
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
15147
 
echo "${ECHO_T}$enable_static" >&6; }
15148
 
 
15149
 
GCC_F77="$G77"
15150
 
LD_F77="$LD"
15151
 
 
15152
 
lt_prog_compiler_wl_F77=
15153
 
lt_prog_compiler_pic_F77=
15154
 
lt_prog_compiler_static_F77=
15155
 
 
15156
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15157
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15158
 
 
15159
 
  if test "$GCC" = yes; then
15160
 
    lt_prog_compiler_wl_F77='-Wl,'
15161
 
    lt_prog_compiler_static_F77='-static'
15162
 
 
15163
 
    case $host_os in
15164
 
      aix*)
15165
 
      # All AIX code is PIC.
15166
 
      if test "$host_cpu" = ia64; then
15167
 
        # AIX 5 now supports IA64 processor
15168
 
        lt_prog_compiler_static_F77='-Bstatic'
15169
 
      fi
15170
 
      ;;
15171
 
 
15172
 
    amigaos*)
15173
 
      # FIXME: we need at least 68020 code to build shared libraries, but
15174
 
      # adding the `-m68020' flag to GCC prevents building anything better,
15175
 
      # like `-m68040'.
15176
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15177
 
      ;;
15178
 
 
15179
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15180
 
      # PIC is the default for these OSes.
15181
 
      ;;
15182
 
 
15183
 
    mingw* | cygwin* | pw32* | os2*)
15184
 
      # This hack is so that the source file can tell whether it is being
15185
 
      # built for inclusion in a dll (and should export symbols for example).
15186
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15187
 
      # (--disable-auto-import) libraries
15188
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15189
 
      ;;
15190
 
 
15191
 
    darwin* | rhapsody*)
15192
 
      # PIC is the default on this platform
15193
 
      # Common symbols not allowed in MH_DYLIB files
15194
 
      lt_prog_compiler_pic_F77='-fno-common'
15195
 
      ;;
15196
 
 
15197
 
    interix[3-9]*)
15198
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15199
 
      # Instead, we relocate shared libraries at runtime.
15200
 
      ;;
15201
 
 
15202
 
    msdosdjgpp*)
15203
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
15204
 
      # on systems that don't support them.
15205
 
      lt_prog_compiler_can_build_shared_F77=no
15206
 
      enable_shared=no
15207
 
      ;;
15208
 
 
15209
 
    sysv4*MP*)
15210
 
      if test -d /usr/nec; then
15211
 
        lt_prog_compiler_pic_F77=-Kconform_pic
15212
 
      fi
15213
 
      ;;
15214
 
 
15215
 
    hpux*)
15216
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15217
 
      # not for PA HP-UX.
15218
 
      case $host_cpu in
15219
 
      hppa*64*|ia64*)
15220
 
        # +Z the default
15221
 
        ;;
15222
 
      *)
15223
 
        lt_prog_compiler_pic_F77='-fPIC'
15224
 
        ;;
15225
 
      esac
15226
 
      ;;
15227
 
 
15228
 
    *)
15229
 
      lt_prog_compiler_pic_F77='-fPIC'
15230
 
      ;;
15231
 
    esac
15232
 
  else
15233
 
    # PORTME Check for flag to pass linker flags through the system compiler.
15234
 
    case $host_os in
15235
 
    aix*)
15236
 
      lt_prog_compiler_wl_F77='-Wl,'
15237
 
      if test "$host_cpu" = ia64; then
15238
 
        # AIX 5 now supports IA64 processor
15239
 
        lt_prog_compiler_static_F77='-Bstatic'
15240
 
      else
15241
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
15242
 
      fi
15243
 
      ;;
15244
 
      darwin*)
15245
 
        # PIC is the default on this platform
15246
 
        # Common symbols not allowed in MH_DYLIB files
15247
 
       case $cc_basename in
15248
 
         xlc*)
15249
 
         lt_prog_compiler_pic_F77='-qnocommon'
15250
 
         lt_prog_compiler_wl_F77='-Wl,'
15251
 
         ;;
15252
 
       esac
15253
 
       ;;
15254
 
 
15255
 
    mingw* | cygwin* | pw32* | os2*)
15256
 
      # This hack is so that the source file can tell whether it is being
15257
 
      # built for inclusion in a dll (and should export symbols for example).
15258
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15259
 
      ;;
15260
 
 
15261
 
    hpux9* | hpux10* | hpux11*)
15262
 
      lt_prog_compiler_wl_F77='-Wl,'
15263
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15264
 
      # not for PA HP-UX.
15265
 
      case $host_cpu in
15266
 
      hppa*64*|ia64*)
15267
 
        # +Z the default
15268
 
        ;;
15269
 
      *)
15270
 
        lt_prog_compiler_pic_F77='+Z'
15271
 
        ;;
15272
 
      esac
15273
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
15274
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15275
 
      ;;
15276
 
 
15277
 
    irix5* | irix6* | nonstopux*)
15278
 
      lt_prog_compiler_wl_F77='-Wl,'
15279
 
      # PIC (with -KPIC) is the default.
15280
 
      lt_prog_compiler_static_F77='-non_shared'
15281
 
      ;;
15282
 
 
15283
 
    newsos6)
15284
 
      lt_prog_compiler_pic_F77='-KPIC'
15285
 
      lt_prog_compiler_static_F77='-Bstatic'
15286
 
      ;;
15287
 
 
15288
 
    linux* | k*bsd*-gnu)
15289
 
      case $cc_basename in
15290
 
      icc* | ecc*)
15291
 
        lt_prog_compiler_wl_F77='-Wl,'
15292
 
        lt_prog_compiler_pic_F77='-KPIC'
15293
 
        lt_prog_compiler_static_F77='-static'
15294
 
        ;;
15295
 
      pgcc* | pgf77* | pgf90* | pgf95*)
15296
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
15297
 
        # which looks to be a dead project)
15298
 
        lt_prog_compiler_wl_F77='-Wl,'
15299
 
        lt_prog_compiler_pic_F77='-fpic'
15300
 
        lt_prog_compiler_static_F77='-Bstatic'
15301
 
        ;;
15302
 
      ccc*)
15303
 
        lt_prog_compiler_wl_F77='-Wl,'
15304
 
        # All Alpha code is PIC.
15305
 
        lt_prog_compiler_static_F77='-non_shared'
15306
 
        ;;
15307
 
      *)
15308
 
        case `$CC -V 2>&1 | sed 5q` in
15309
 
        *Sun\ C*)
15310
 
          # Sun C 5.9
15311
 
          lt_prog_compiler_pic_F77='-KPIC'
15312
 
          lt_prog_compiler_static_F77='-Bstatic'
15313
 
          lt_prog_compiler_wl_F77='-Wl,'
15314
 
          ;;
15315
 
        *Sun\ F*)
15316
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
15317
 
          lt_prog_compiler_pic_F77='-KPIC'
15318
 
          lt_prog_compiler_static_F77='-Bstatic'
15319
 
          lt_prog_compiler_wl_F77=''
15320
 
          ;;
15321
 
        esac
15322
 
        ;;
15323
 
      esac
15324
 
      ;;
15325
 
 
15326
 
    osf3* | osf4* | osf5*)
15327
 
      lt_prog_compiler_wl_F77='-Wl,'
15328
 
      # All OSF/1 code is PIC.
15329
 
      lt_prog_compiler_static_F77='-non_shared'
15330
 
      ;;
15331
 
 
15332
 
    rdos*)
15333
 
      lt_prog_compiler_static_F77='-non_shared'
15334
 
      ;;
15335
 
 
15336
 
    solaris*)
15337
 
      lt_prog_compiler_pic_F77='-KPIC'
15338
 
      lt_prog_compiler_static_F77='-Bstatic'
15339
 
      case $cc_basename in
15340
 
      f77* | f90* | f95*)
15341
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
15342
 
      *)
15343
 
        lt_prog_compiler_wl_F77='-Wl,';;
15344
 
      esac
15345
 
      ;;
15346
 
 
15347
 
    sunos4*)
15348
 
      lt_prog_compiler_wl_F77='-Qoption ld '
15349
 
      lt_prog_compiler_pic_F77='-PIC'
15350
 
      lt_prog_compiler_static_F77='-Bstatic'
15351
 
      ;;
15352
 
 
15353
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
15354
 
      lt_prog_compiler_wl_F77='-Wl,'
15355
 
      lt_prog_compiler_pic_F77='-KPIC'
15356
 
      lt_prog_compiler_static_F77='-Bstatic'
15357
 
      ;;
15358
 
 
15359
 
    sysv4*MP*)
15360
 
      if test -d /usr/nec ;then
15361
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
15362
 
        lt_prog_compiler_static_F77='-Bstatic'
15363
 
      fi
15364
 
      ;;
15365
 
 
15366
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15367
 
      lt_prog_compiler_wl_F77='-Wl,'
15368
 
      lt_prog_compiler_pic_F77='-KPIC'
15369
 
      lt_prog_compiler_static_F77='-Bstatic'
15370
 
      ;;
15371
 
 
15372
 
    unicos*)
15373
 
      lt_prog_compiler_wl_F77='-Wl,'
15374
 
      lt_prog_compiler_can_build_shared_F77=no
15375
 
      ;;
15376
 
 
15377
 
    uts4*)
15378
 
      lt_prog_compiler_pic_F77='-pic'
15379
 
      lt_prog_compiler_static_F77='-Bstatic'
15380
 
      ;;
15381
 
 
15382
 
    *)
15383
 
      lt_prog_compiler_can_build_shared_F77=no
15384
 
      ;;
15385
 
    esac
15386
 
  fi
15387
 
 
15388
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15389
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15390
 
 
15391
 
#
15392
 
# Check to make sure the PIC flag actually works.
15393
 
#
15394
 
if test -n "$lt_prog_compiler_pic_F77"; then
15395
 
 
15396
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15397
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15398
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15399
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15400
 
else
15401
 
  lt_prog_compiler_pic_works_F77=no
15402
 
  ac_outfile=conftest.$ac_objext
15403
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15404
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15405
 
   # Insert the option either (1) after the last *FLAGS variable, or
15406
 
   # (2) before a word containing "conftest.", or (3) at the end.
15407
 
   # Note that $ac_compile itself does not contain backslashes and begins
15408
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15409
 
   # The option is referenced via a variable to avoid confusing sed.
15410
 
   lt_compile=`echo "$ac_compile" | $SED \
15411
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15412
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15413
 
   -e 's:$: $lt_compiler_flag:'`
15414
 
   (eval echo "\"\$as_me:15414: $lt_compile\"" >&5)
15415
 
   (eval "$lt_compile" 2>conftest.err)
15416
 
   ac_status=$?
15417
 
   cat conftest.err >&5
15418
 
   echo "$as_me:15418: \$? = $ac_status" >&5
15419
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
15420
 
     # The compiler can only warn and ignore the option if not recognized
15421
 
     # So say no if there are warnings other than the usual output.
15422
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15423
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15424
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15425
 
       lt_prog_compiler_pic_works_F77=yes
15426
 
     fi
15427
 
   fi
15428
 
   $rm conftest*
15429
 
 
15430
 
fi
15431
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15432
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
15433
 
 
15434
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15435
 
    case $lt_prog_compiler_pic_F77 in
15436
 
     "" | " "*) ;;
15437
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15438
 
     esac
15439
 
else
15440
 
    lt_prog_compiler_pic_F77=
15441
 
     lt_prog_compiler_can_build_shared_F77=no
15442
 
fi
15443
 
 
15444
 
fi
15445
 
case $host_os in
15446
 
  # For platforms which do not support PIC, -DPIC is meaningless:
15447
 
  *djgpp*)
15448
 
    lt_prog_compiler_pic_F77=
15449
 
    ;;
15450
 
  *)
15451
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15452
 
    ;;
15453
 
esac
15454
 
 
15455
 
#
15456
 
# Check to make sure the static flag actually works.
15457
 
#
15458
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15459
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15460
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15461
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15462
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15463
 
else
15464
 
  lt_prog_compiler_static_works_F77=no
15465
 
   save_LDFLAGS="$LDFLAGS"
15466
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15467
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15468
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15469
 
     # The linker can only warn and ignore the option if not recognized
15470
 
     # So say no if there are warnings
15471
 
     if test -s conftest.err; then
15472
 
       # Append any errors to the config.log.
15473
 
       cat conftest.err 1>&5
15474
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15475
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15476
 
       if diff conftest.exp conftest.er2 >/dev/null; then
15477
 
         lt_prog_compiler_static_works_F77=yes
15478
 
       fi
15479
 
     else
15480
 
       lt_prog_compiler_static_works_F77=yes
15481
 
     fi
15482
 
   fi
15483
 
   $rm conftest*
15484
 
   LDFLAGS="$save_LDFLAGS"
15485
 
 
15486
 
fi
15487
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15488
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
15489
 
 
15490
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
15491
 
    :
15492
 
else
15493
 
    lt_prog_compiler_static_F77=
15494
 
fi
15495
 
 
15496
 
 
15497
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15498
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15499
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15500
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15501
 
else
15502
 
  lt_cv_prog_compiler_c_o_F77=no
15503
 
   $rm -r conftest 2>/dev/null
15504
 
   mkdir conftest
15505
 
   cd conftest
15506
 
   mkdir out
15507
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15508
 
 
15509
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15510
 
   # Insert the option either (1) after the last *FLAGS variable, or
15511
 
   # (2) before a word containing "conftest.", or (3) at the end.
15512
 
   # Note that $ac_compile itself does not contain backslashes and begins
15513
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15514
 
   lt_compile=`echo "$ac_compile" | $SED \
15515
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15516
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15517
 
   -e 's:$: $lt_compiler_flag:'`
15518
 
   (eval echo "\"\$as_me:15518: $lt_compile\"" >&5)
15519
 
   (eval "$lt_compile" 2>out/conftest.err)
15520
 
   ac_status=$?
15521
 
   cat out/conftest.err >&5
15522
 
   echo "$as_me:15522: \$? = $ac_status" >&5
15523
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15524
 
   then
15525
 
     # The compiler can only warn and ignore the option if not recognized
15526
 
     # So say no if there are warnings
15527
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15528
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15529
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15530
 
       lt_cv_prog_compiler_c_o_F77=yes
15531
 
     fi
15532
 
   fi
15533
 
   chmod u+w . 2>&5
15534
 
   $rm conftest*
15535
 
   # SGI C++ compiler will create directory out/ii_files/ for
15536
 
   # template instantiation
15537
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15538
 
   $rm out/* && rmdir out
15539
 
   cd ..
15540
 
   rmdir conftest
15541
 
   $rm conftest*
15542
 
 
15543
 
fi
15544
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15545
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15546
 
 
15547
 
 
15548
 
hard_links="nottested"
15549
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15550
 
  # do not overwrite the value of need_locks provided by the user
15551
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15552
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15553
 
  hard_links=yes
15554
 
  $rm conftest*
15555
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15556
 
  touch conftest.a
15557
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
15558
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15559
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
15560
 
echo "${ECHO_T}$hard_links" >&6; }
15561
 
  if test "$hard_links" = no; then
15562
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15563
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15564
 
    need_locks=warn
15565
 
  fi
15566
 
else
15567
 
  need_locks=no
15568
 
fi
15569
 
 
15570
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15571
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15572
 
 
15573
 
  runpath_var=
15574
 
  allow_undefined_flag_F77=
15575
 
  enable_shared_with_static_runtimes_F77=no
15576
 
  archive_cmds_F77=
15577
 
  archive_expsym_cmds_F77=
15578
 
  old_archive_From_new_cmds_F77=
15579
 
  old_archive_from_expsyms_cmds_F77=
15580
 
  export_dynamic_flag_spec_F77=
15581
 
  whole_archive_flag_spec_F77=
15582
 
  thread_safe_flag_spec_F77=
15583
 
  hardcode_libdir_flag_spec_F77=
15584
 
  hardcode_libdir_flag_spec_ld_F77=
15585
 
  hardcode_libdir_separator_F77=
15586
 
  hardcode_direct_F77=no
15587
 
  hardcode_minus_L_F77=no
15588
 
  hardcode_shlibpath_var_F77=unsupported
15589
 
  link_all_deplibs_F77=unknown
15590
 
  hardcode_automatic_F77=no
15591
 
  module_cmds_F77=
15592
 
  module_expsym_cmds_F77=
15593
 
  always_export_symbols_F77=no
15594
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15595
 
  # include_expsyms should be a list of space-separated symbols to be *always*
15596
 
  # included in the symbol list
15597
 
  include_expsyms_F77=
15598
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
15599
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15600
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15601
 
  # as well as any symbol that contains `d'.
15602
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
15603
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15604
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
15605
 
  # the symbol is explicitly referenced.  Since portable code cannot
15606
 
  # rely on this symbol name, it's probably fine to never include it in
15607
 
  # preloaded symbol tables.
15608
 
  extract_expsyms_cmds=
15609
 
  # Just being paranoid about ensuring that cc_basename is set.
15610
 
  for cc_temp in $compiler""; do
15611
 
  case $cc_temp in
15612
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15613
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15614
 
    \-*) ;;
15615
 
    *) break;;
15616
 
  esac
15617
 
done
15618
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15619
 
 
15620
 
  case $host_os in
15621
 
  cygwin* | mingw* | pw32*)
15622
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
15623
 
    # When not using gcc, we currently assume that we are using
15624
 
    # Microsoft Visual C++.
15625
 
    if test "$GCC" != yes; then
15626
 
      with_gnu_ld=no
15627
 
    fi
15628
 
    ;;
15629
 
  interix*)
15630
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
15631
 
    with_gnu_ld=yes
15632
 
    ;;
15633
 
  openbsd*)
15634
 
    with_gnu_ld=no
15635
 
    ;;
15636
 
  esac
15637
 
 
15638
 
  ld_shlibs_F77=yes
15639
 
  if test "$with_gnu_ld" = yes; then
15640
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
15641
 
    wlarc='${wl}'
15642
 
 
15643
 
    # Set some defaults for GNU ld with shared library support. These
15644
 
    # are reset later if shared libraries are not supported. Putting them
15645
 
    # here allows them to be overridden if necessary.
15646
 
    runpath_var=LD_RUN_PATH
15647
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15648
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15649
 
    # ancient GNU ld didn't support --whole-archive et. al.
15650
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15651
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15652
 
      else
15653
 
        whole_archive_flag_spec_F77=
15654
 
    fi
15655
 
    supports_anon_versioning=no
15656
 
    case `$LD -v 2>/dev/null` in
15657
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15658
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15659
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15660
 
      *\ 2.11.*) ;; # other 2.11 versions
15661
 
      *) supports_anon_versioning=yes ;;
15662
 
    esac
15663
 
 
15664
 
    # See if GNU ld supports shared libraries.
15665
 
    case $host_os in
15666
 
    aix3* | aix4* | aix5*)
15667
 
      # On AIX/PPC, the GNU linker is very broken
15668
 
      if test "$host_cpu" != ia64; then
15669
 
        ld_shlibs_F77=no
15670
 
        cat <<EOF 1>&2
15671
 
 
15672
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15673
 
*** to be unable to reliably create shared libraries on AIX.
15674
 
*** Therefore, libtool is disabling shared libraries support.  If you
15675
 
*** really care for shared libraries, you may want to modify your PATH
15676
 
*** so that a non-GNU linker is found, and then restart.
15677
 
 
15678
 
EOF
15679
 
      fi
15680
 
      ;;
15681
 
 
15682
 
    amigaos*)
15683
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
15684
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15685
 
      hardcode_minus_L_F77=yes
15686
 
 
15687
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15688
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
15689
 
      # to version 4, is to share data among multiple programs linked
15690
 
      # with the same dynamic library.  Since this doesn't match the
15691
 
      # behavior of shared libraries on other platforms, we can't use
15692
 
      # them.
15693
 
      ld_shlibs_F77=no
15694
 
      ;;
15695
 
 
15696
 
    beos*)
15697
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15698
 
        allow_undefined_flag_F77=unsupported
15699
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15700
 
        # support --undefined.  This deserves some investigation.  FIXME
15701
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15702
 
      else
15703
 
        ld_shlibs_F77=no
15704
 
      fi
15705
 
      ;;
15706
 
 
15707
 
    cygwin* | mingw* | pw32*)
15708
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15709
 
      # as there is no search path for DLLs.
15710
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15711
 
      allow_undefined_flag_F77=unsupported
15712
 
      always_export_symbols_F77=no
15713
 
      enable_shared_with_static_runtimes_F77=yes
15714
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15715
 
 
15716
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15717
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15718
 
        # If the export-symbols file already is a .def file (1st line
15719
 
        # is EXPORTS), use it as is; otherwise, prepend...
15720
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15721
 
          cp $export_symbols $output_objdir/$soname.def;
15722
 
        else
15723
 
          echo EXPORTS > $output_objdir/$soname.def;
15724
 
          cat $export_symbols >> $output_objdir/$soname.def;
15725
 
        fi~
15726
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15727
 
      else
15728
 
        ld_shlibs_F77=no
15729
 
      fi
15730
 
      ;;
15731
 
 
15732
 
    interix[3-9]*)
15733
 
      hardcode_direct_F77=no
15734
 
      hardcode_shlibpath_var_F77=no
15735
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15736
 
      export_dynamic_flag_spec_F77='${wl}-E'
15737
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15738
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
15739
 
      # default) and relocated if they conflict, which is a slow very memory
15740
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
15741
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15742
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15743
 
      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'
15744
 
      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'
15745
 
      ;;
15746
 
 
15747
 
    gnu* | linux* | k*bsd*-gnu)
15748
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15749
 
        tmp_addflag=
15750
 
        case $cc_basename,$host_cpu in
15751
 
        pgcc*)                          # Portland Group C compiler
15752
 
          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'
15753
 
          tmp_addflag=' $pic_flag'
15754
 
          ;;
15755
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
15756
 
          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'
15757
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
15758
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
15759
 
          tmp_addflag=' -i_dynamic' ;;
15760
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
15761
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
15762
 
        ifc* | ifort*)                  # Intel Fortran compiler
15763
 
          tmp_addflag=' -nofor_main' ;;
15764
 
        esac
15765
 
        case `$CC -V 2>&1 | sed 5q` in
15766
 
        *Sun\ C*)                       # Sun C 5.9
15767
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15768
 
          tmp_sharedflag='-G' ;;
15769
 
        *Sun\ F*)                       # Sun Fortran 8.3
15770
 
          tmp_sharedflag='-G' ;;
15771
 
        *)
15772
 
          tmp_sharedflag='-shared' ;;
15773
 
        esac
15774
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15775
 
 
15776
 
        if test $supports_anon_versioning = yes; then
15777
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15778
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15779
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15780
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15781
 
        fi
15782
 
        link_all_deplibs_F77=no
15783
 
      else
15784
 
        ld_shlibs_F77=no
15785
 
      fi
15786
 
      ;;
15787
 
 
15788
 
    netbsd* | netbsdelf*-gnu)
15789
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15790
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15791
 
        wlarc=
15792
 
      else
15793
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15794
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15795
 
      fi
15796
 
      ;;
15797
 
 
15798
 
    solaris*)
15799
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15800
 
        ld_shlibs_F77=no
15801
 
        cat <<EOF 1>&2
15802
 
 
15803
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15804
 
*** create shared libraries on Solaris systems.  Therefore, libtool
15805
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15806
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
15807
 
*** your PATH or compiler configuration so that the native linker is
15808
 
*** used, and then restart.
15809
 
 
15810
 
EOF
15811
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15812
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15813
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15814
 
      else
15815
 
        ld_shlibs_F77=no
15816
 
      fi
15817
 
      ;;
15818
 
 
15819
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15820
 
      case `$LD -v 2>&1` in
15821
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15822
 
        ld_shlibs_F77=no
15823
 
        cat <<_LT_EOF 1>&2
15824
 
 
15825
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15826
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
15827
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15828
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
15829
 
*** your PATH or compiler configuration so that the native linker is
15830
 
*** used, and then restart.
15831
 
 
15832
 
_LT_EOF
15833
 
        ;;
15834
 
        *)
15835
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15836
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15837
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15838
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15839
 
          else
15840
 
            ld_shlibs_F77=no
15841
 
          fi
15842
 
        ;;
15843
 
      esac
15844
 
      ;;
15845
 
 
15846
 
    sunos4*)
15847
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15848
 
      wlarc=
15849
 
      hardcode_direct_F77=yes
15850
 
      hardcode_shlibpath_var_F77=no
15851
 
      ;;
15852
 
 
15853
 
    *)
15854
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15855
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15856
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15857
 
      else
15858
 
        ld_shlibs_F77=no
15859
 
      fi
15860
 
      ;;
15861
 
    esac
15862
 
 
15863
 
    if test "$ld_shlibs_F77" = no; then
15864
 
      runpath_var=
15865
 
      hardcode_libdir_flag_spec_F77=
15866
 
      export_dynamic_flag_spec_F77=
15867
 
      whole_archive_flag_spec_F77=
15868
 
    fi
15869
 
  else
15870
 
    # PORTME fill in a description of your system's linker (not GNU ld)
15871
 
    case $host_os in
15872
 
    aix3*)
15873
 
      allow_undefined_flag_F77=unsupported
15874
 
      always_export_symbols_F77=yes
15875
 
      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
15876
 
      # Note: this linker hardcodes the directories in LIBPATH if there
15877
 
      # are no directories specified by -L.
15878
 
      hardcode_minus_L_F77=yes
15879
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15880
 
        # Neither direct hardcoding nor static linking is supported with a
15881
 
        # broken collect2.
15882
 
        hardcode_direct_F77=unsupported
15883
 
      fi
15884
 
      ;;
15885
 
 
15886
 
    aix4* | aix5*)
15887
 
      if test "$host_cpu" = ia64; then
15888
 
        # On IA64, the linker does run time linking by default, so we don't
15889
 
        # have to do anything special.
15890
 
        aix_use_runtimelinking=no
15891
 
        exp_sym_flag='-Bexport'
15892
 
        no_entry_flag=""
15893
 
      else
15894
 
        # If we're using GNU nm, then we don't want the "-C" option.
15895
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
15896
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15897
 
          export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15898
 
        else
15899
 
          export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15900
 
        fi
15901
 
        aix_use_runtimelinking=no
15902
 
 
15903
 
        # Test if we are trying to use run time linking or normal
15904
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15905
 
        # need to do runtime linking.
15906
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15907
 
          for ld_flag in $LDFLAGS; do
15908
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15909
 
            aix_use_runtimelinking=yes
15910
 
            break
15911
 
          fi
15912
 
          done
15913
 
          ;;
15914
 
        esac
15915
 
 
15916
 
        exp_sym_flag='-bexport'
15917
 
        no_entry_flag='-bnoentry'
15918
 
      fi
15919
 
 
15920
 
      # When large executables or shared objects are built, AIX ld can
15921
 
      # have problems creating the table of contents.  If linking a library
15922
 
      # or program results in "error TOC overflow" add -mminimal-toc to
15923
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15924
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15925
 
 
15926
 
      archive_cmds_F77=''
15927
 
      hardcode_direct_F77=yes
15928
 
      hardcode_libdir_separator_F77=':'
15929
 
      link_all_deplibs_F77=yes
15930
 
 
15931
 
      if test "$GCC" = yes; then
15932
 
        case $host_os in aix4.[012]|aix4.[012].*)
15933
 
        # We only want to do this on AIX 4.2 and lower, the check
15934
 
        # below for broken collect2 doesn't work under 4.3+
15935
 
          collect2name=`${CC} -print-prog-name=collect2`
15936
 
          if test -f "$collect2name" && \
15937
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
15938
 
          then
15939
 
          # We have reworked collect2
15940
 
          :
15941
 
          else
15942
 
          # We have old collect2
15943
 
          hardcode_direct_F77=unsupported
15944
 
          # It fails to find uninstalled libraries when the uninstalled
15945
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
15946
 
          # to unsupported forces relinking
15947
 
          hardcode_minus_L_F77=yes
15948
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
15949
 
          hardcode_libdir_separator_F77=
15950
 
          fi
15951
 
          ;;
15952
 
        esac
15953
 
        shared_flag='-shared'
15954
 
        if test "$aix_use_runtimelinking" = yes; then
15955
 
          shared_flag="$shared_flag "'${wl}-G'
15956
 
        fi
15957
 
      else
15958
 
        # not using gcc
15959
 
        if test "$host_cpu" = ia64; then
15960
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15961
 
        # chokes on -Wl,-G. The following line is correct:
15962
 
          shared_flag='-G'
15963
 
        else
15964
 
          if test "$aix_use_runtimelinking" = yes; then
15965
 
            shared_flag='${wl}-G'
15966
 
          else
15967
 
            shared_flag='${wl}-bM:SRE'
15968
 
          fi
15969
 
        fi
15970
 
      fi
15971
 
 
15972
 
      # It seems that -bexpall does not export symbols beginning with
15973
 
      # underscore (_), so it is better to generate a list of symbols to export.
15974
 
      always_export_symbols_F77=yes
15975
 
      if test "$aix_use_runtimelinking" = yes; then
15976
 
        # Warning - without using the other runtime loading flags (-brtl),
15977
 
        # -berok will link without error, but may produce a broken library.
15978
 
        allow_undefined_flag_F77='-berok'
15979
 
       # Determine the default libpath from the value encoded in an empty executable.
15980
 
       cat >conftest.$ac_ext <<_ACEOF
15981
 
      program main
15982
 
 
15983
 
      end
15984
 
_ACEOF
15985
 
rm -f conftest.$ac_objext conftest$ac_exeext
15986
 
if { (ac_try="$ac_link"
15987
 
case "(($ac_try" in
15988
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15989
 
  *) ac_try_echo=$ac_try;;
15990
 
esac
15991
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15992
 
  (eval "$ac_link") 2>conftest.er1
15993
 
  ac_status=$?
15994
 
  grep -v '^ *+' conftest.er1 >conftest.err
15995
 
  rm -f conftest.er1
15996
 
  cat conftest.err >&5
15997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998
 
  (exit $ac_status); } && {
15999
 
         test -z "$ac_f77_werror_flag" ||
16000
 
         test ! -s conftest.err
16001
 
       } && test -s conftest$ac_exeext &&
16002
 
       $as_test_x conftest$ac_exeext; then
16003
 
 
16004
 
lt_aix_libpath_sed='
16005
 
    /Import File Strings/,/^$/ {
16006
 
        /^0/ {
16007
 
            s/^0  *\(.*\)$/\1/
16008
 
            p
16009
 
        }
16010
 
    }'
16011
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16012
 
# Check for a 64-bit object if we didn't find anything.
16013
 
if test -z "$aix_libpath"; then
16014
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16015
 
fi
16016
 
else
16017
 
  echo "$as_me: failed program was:" >&5
16018
 
sed 's/^/| /' conftest.$ac_ext >&5
16019
 
 
16020
 
 
16021
 
fi
16022
 
 
16023
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16024
 
      conftest$ac_exeext conftest.$ac_ext
16025
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16026
 
 
16027
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16028
 
        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"
16029
 
       else
16030
 
        if test "$host_cpu" = ia64; then
16031
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16032
 
          allow_undefined_flag_F77="-z nodefs"
16033
 
          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"
16034
 
        else
16035
 
         # Determine the default libpath from the value encoded in an empty executable.
16036
 
         cat >conftest.$ac_ext <<_ACEOF
16037
 
      program main
16038
 
 
16039
 
      end
16040
 
_ACEOF
16041
 
rm -f conftest.$ac_objext conftest$ac_exeext
16042
 
if { (ac_try="$ac_link"
16043
 
case "(($ac_try" in
16044
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16045
 
  *) ac_try_echo=$ac_try;;
16046
 
esac
16047
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16048
 
  (eval "$ac_link") 2>conftest.er1
16049
 
  ac_status=$?
16050
 
  grep -v '^ *+' conftest.er1 >conftest.err
16051
 
  rm -f conftest.er1
16052
 
  cat conftest.err >&5
16053
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054
 
  (exit $ac_status); } && {
16055
 
         test -z "$ac_f77_werror_flag" ||
16056
 
         test ! -s conftest.err
16057
 
       } && test -s conftest$ac_exeext &&
16058
 
       $as_test_x conftest$ac_exeext; then
16059
 
 
16060
 
lt_aix_libpath_sed='
16061
 
    /Import File Strings/,/^$/ {
16062
 
        /^0/ {
16063
 
            s/^0  *\(.*\)$/\1/
16064
 
            p
16065
 
        }
16066
 
    }'
16067
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16068
 
# Check for a 64-bit object if we didn't find anything.
16069
 
if test -z "$aix_libpath"; then
16070
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16071
 
fi
16072
 
else
16073
 
  echo "$as_me: failed program was:" >&5
16074
 
sed 's/^/| /' conftest.$ac_ext >&5
16075
 
 
16076
 
 
16077
 
fi
16078
 
 
16079
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16080
 
      conftest$ac_exeext conftest.$ac_ext
16081
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16082
 
 
16083
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16084
 
          # Warning - without using the other run time loading flags,
16085
 
          # -berok will link without error, but may produce a broken library.
16086
 
          no_undefined_flag_F77=' ${wl}-bernotok'
16087
 
          allow_undefined_flag_F77=' ${wl}-berok'
16088
 
          # Exported symbols can be pulled into shared objects from archives
16089
 
          whole_archive_flag_spec_F77='$convenience'
16090
 
          archive_cmds_need_lc_F77=yes
16091
 
          # This is similar to how AIX traditionally builds its shared libraries.
16092
 
          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'
16093
 
        fi
16094
 
      fi
16095
 
      ;;
16096
 
 
16097
 
    amigaos*)
16098
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16099
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16100
 
      hardcode_minus_L_F77=yes
16101
 
      # see comment about different semantics on the GNU ld section
16102
 
      ld_shlibs_F77=no
16103
 
      ;;
16104
 
 
16105
 
    bsdi[45]*)
16106
 
      export_dynamic_flag_spec_F77=-rdynamic
16107
 
      ;;
16108
 
 
16109
 
    cygwin* | mingw* | pw32*)
16110
 
      # When not using gcc, we currently assume that we are using
16111
 
      # Microsoft Visual C++.
16112
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
16113
 
      # no search path for DLLs.
16114
 
      hardcode_libdir_flag_spec_F77=' '
16115
 
      allow_undefined_flag_F77=unsupported
16116
 
      # Tell ltmain to make .lib files, not .a files.
16117
 
      libext=lib
16118
 
      # Tell ltmain to make .dll files, not .so files.
16119
 
      shrext_cmds=".dll"
16120
 
      # FIXME: Setting linknames here is a bad hack.
16121
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16122
 
      # The linker will automatically build a .lib file if we build a DLL.
16123
 
      old_archive_From_new_cmds_F77='true'
16124
 
      # FIXME: Should let the user specify the lib program.
16125
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
16126
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
16127
 
      enable_shared_with_static_runtimes_F77=yes
16128
 
      ;;
16129
 
 
16130
 
    darwin* | rhapsody*)
16131
 
      case $host_os in
16132
 
        rhapsody* | darwin1.[012])
16133
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
16134
 
         ;;
16135
 
       *) # Darwin 1.3 on
16136
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16137
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16138
 
         else
16139
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
16140
 
             10.[012])
16141
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16142
 
               ;;
16143
 
             10.*)
16144
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
16145
 
               ;;
16146
 
           esac
16147
 
         fi
16148
 
         ;;
16149
 
      esac
16150
 
      archive_cmds_need_lc_F77=no
16151
 
      hardcode_direct_F77=no
16152
 
      hardcode_automatic_F77=yes
16153
 
      hardcode_shlibpath_var_F77=unsupported
16154
 
      whole_archive_flag_spec_F77=''
16155
 
      link_all_deplibs_F77=yes
16156
 
    if test "$GCC" = yes ; then
16157
 
        output_verbose_link_cmd='echo'
16158
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16159
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16160
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16161
 
      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}'
16162
 
      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}'
16163
 
    else
16164
 
      case $cc_basename in
16165
 
        xlc*)
16166
 
         output_verbose_link_cmd='echo'
16167
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16168
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16169
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16170
 
         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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16171
 
          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}'
16172
 
          ;;
16173
 
       *)
16174
 
         ld_shlibs_F77=no
16175
 
          ;;
16176
 
      esac
16177
 
    fi
16178
 
      ;;
16179
 
 
16180
 
    dgux*)
16181
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16182
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16183
 
      hardcode_shlibpath_var_F77=no
16184
 
      ;;
16185
 
 
16186
 
    freebsd1*)
16187
 
      ld_shlibs_F77=no
16188
 
      ;;
16189
 
 
16190
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16191
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
16192
 
    # does not break anything, and helps significantly (at the cost of a little
16193
 
    # extra space).
16194
 
    freebsd2.2*)
16195
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16196
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16197
 
      hardcode_direct_F77=yes
16198
 
      hardcode_shlibpath_var_F77=no
16199
 
      ;;
16200
 
 
16201
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16202
 
    freebsd2*)
16203
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16204
 
      hardcode_direct_F77=yes
16205
 
      hardcode_minus_L_F77=yes
16206
 
      hardcode_shlibpath_var_F77=no
16207
 
      ;;
16208
 
 
16209
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16210
 
    freebsd* | dragonfly*)
16211
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16212
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16213
 
      hardcode_direct_F77=yes
16214
 
      hardcode_shlibpath_var_F77=no
16215
 
      ;;
16216
 
 
16217
 
    hpux9*)
16218
 
      if test "$GCC" = yes; then
16219
 
        archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16220
 
      else
16221
 
        archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16222
 
      fi
16223
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16224
 
      hardcode_libdir_separator_F77=:
16225
 
      hardcode_direct_F77=yes
16226
 
 
16227
 
      # hardcode_minus_L: Not really in the search PATH,
16228
 
      # but as the default location of the library.
16229
 
      hardcode_minus_L_F77=yes
16230
 
      export_dynamic_flag_spec_F77='${wl}-E'
16231
 
      ;;
16232
 
 
16233
 
    hpux10*)
16234
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16235
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16236
 
      else
16237
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16238
 
      fi
16239
 
      if test "$with_gnu_ld" = no; then
16240
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16241
 
        hardcode_libdir_separator_F77=:
16242
 
 
16243
 
        hardcode_direct_F77=yes
16244
 
        export_dynamic_flag_spec_F77='${wl}-E'
16245
 
 
16246
 
        # hardcode_minus_L: Not really in the search PATH,
16247
 
        # but as the default location of the library.
16248
 
        hardcode_minus_L_F77=yes
16249
 
      fi
16250
 
      ;;
16251
 
 
16252
 
    hpux11*)
16253
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16254
 
        case $host_cpu in
16255
 
        hppa*64*)
16256
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16257
 
          ;;
16258
 
        ia64*)
16259
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16260
 
          ;;
16261
 
        *)
16262
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16263
 
          ;;
16264
 
        esac
16265
 
      else
16266
 
        case $host_cpu in
16267
 
        hppa*64*)
16268
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16269
 
          ;;
16270
 
        ia64*)
16271
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16272
 
          ;;
16273
 
        *)
16274
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16275
 
          ;;
16276
 
        esac
16277
 
      fi
16278
 
      if test "$with_gnu_ld" = no; then
16279
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16280
 
        hardcode_libdir_separator_F77=:
16281
 
 
16282
 
        case $host_cpu in
16283
 
        hppa*64*|ia64*)
16284
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16285
 
          hardcode_direct_F77=no
16286
 
          hardcode_shlibpath_var_F77=no
16287
 
          ;;
16288
 
        *)
16289
 
          hardcode_direct_F77=yes
16290
 
          export_dynamic_flag_spec_F77='${wl}-E'
16291
 
 
16292
 
          # hardcode_minus_L: Not really in the search PATH,
16293
 
          # but as the default location of the library.
16294
 
          hardcode_minus_L_F77=yes
16295
 
          ;;
16296
 
        esac
16297
 
      fi
16298
 
      ;;
16299
 
 
16300
 
    irix5* | irix6* | nonstopux*)
16301
 
      if test "$GCC" = yes; then
16302
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16303
 
      else
16304
 
        archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16305
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16306
 
      fi
16307
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16308
 
      hardcode_libdir_separator_F77=:
16309
 
      link_all_deplibs_F77=yes
16310
 
      ;;
16311
 
 
16312
 
    netbsd* | netbsdelf*-gnu)
16313
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16314
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16315
 
      else
16316
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
16317
 
      fi
16318
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16319
 
      hardcode_direct_F77=yes
16320
 
      hardcode_shlibpath_var_F77=no
16321
 
      ;;
16322
 
 
16323
 
    newsos6)
16324
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16325
 
      hardcode_direct_F77=yes
16326
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16327
 
      hardcode_libdir_separator_F77=:
16328
 
      hardcode_shlibpath_var_F77=no
16329
 
      ;;
16330
 
 
16331
 
    openbsd*)
16332
 
      if test -f /usr/libexec/ld.so; then
16333
 
        hardcode_direct_F77=yes
16334
 
        hardcode_shlibpath_var_F77=no
16335
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16336
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16337
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16338
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16339
 
          export_dynamic_flag_spec_F77='${wl}-E'
16340
 
        else
16341
 
          case $host_os in
16342
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16343
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16344
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
16345
 
             ;;
16346
 
           *)
16347
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16348
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16349
 
             ;;
16350
 
          esac
16351
 
        fi
16352
 
      else
16353
 
        ld_shlibs_F77=no
16354
 
      fi
16355
 
      ;;
16356
 
 
16357
 
    os2*)
16358
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16359
 
      hardcode_minus_L_F77=yes
16360
 
      allow_undefined_flag_F77=unsupported
16361
 
      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
16362
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16363
 
      ;;
16364
 
 
16365
 
    osf3*)
16366
 
      if test "$GCC" = yes; then
16367
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16368
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16369
 
      else
16370
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
16371
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16372
 
      fi
16373
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16374
 
      hardcode_libdir_separator_F77=:
16375
 
      ;;
16376
 
 
16377
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
16378
 
      if test "$GCC" = yes; then
16379
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16380
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $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'
16381
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16382
 
      else
16383
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
16384
 
        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'
16385
 
        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~
16386
 
        $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'
16387
 
 
16388
 
        # Both c and cxx compiler support -rpath directly
16389
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
16390
 
      fi
16391
 
      hardcode_libdir_separator_F77=:
16392
 
      ;;
16393
 
 
16394
 
    solaris*)
16395
 
      no_undefined_flag_F77=' -z text'
16396
 
      if test "$GCC" = yes; then
16397
 
        wlarc='${wl}'
16398
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16399
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16400
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16401
 
      else
16402
 
        wlarc=''
16403
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16404
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16405
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16406
 
      fi
16407
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16408
 
      hardcode_shlibpath_var_F77=no
16409
 
      case $host_os in
16410
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16411
 
      *)
16412
 
        # The compiler driver will combine and reorder linker options,
16413
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
16414
 
        # but is careful enough not to reorder.
16415
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16416
 
        if test "$GCC" = yes; then
16417
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16418
 
        else
16419
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
16420
 
        fi
16421
 
        ;;
16422
 
      esac
16423
 
      link_all_deplibs_F77=yes
16424
 
      ;;
16425
 
 
16426
 
    sunos4*)
16427
 
      if test "x$host_vendor" = xsequent; then
16428
 
        # Use $CC to link under sequent, because it throws in some extra .o
16429
 
        # files that make .init and .fini sections work.
16430
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16431
 
      else
16432
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16433
 
      fi
16434
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16435
 
      hardcode_direct_F77=yes
16436
 
      hardcode_minus_L_F77=yes
16437
 
      hardcode_shlibpath_var_F77=no
16438
 
      ;;
16439
 
 
16440
 
    sysv4)
16441
 
      case $host_vendor in
16442
 
        sni)
16443
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16444
 
          hardcode_direct_F77=yes # is this really true???
16445
 
        ;;
16446
 
        siemens)
16447
 
          ## LD is ld it makes a PLAMLIB
16448
 
          ## CC just makes a GrossModule.
16449
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16450
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
16451
 
          hardcode_direct_F77=no
16452
 
        ;;
16453
 
        motorola)
16454
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16455
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16456
 
        ;;
16457
 
      esac
16458
 
      runpath_var='LD_RUN_PATH'
16459
 
      hardcode_shlibpath_var_F77=no
16460
 
      ;;
16461
 
 
16462
 
    sysv4.3*)
16463
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16464
 
      hardcode_shlibpath_var_F77=no
16465
 
      export_dynamic_flag_spec_F77='-Bexport'
16466
 
      ;;
16467
 
 
16468
 
    sysv4*MP*)
16469
 
      if test -d /usr/nec; then
16470
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16471
 
        hardcode_shlibpath_var_F77=no
16472
 
        runpath_var=LD_RUN_PATH
16473
 
        hardcode_runpath_var=yes
16474
 
        ld_shlibs_F77=yes
16475
 
      fi
16476
 
      ;;
16477
 
 
16478
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16479
 
      no_undefined_flag_F77='${wl}-z,text'
16480
 
      archive_cmds_need_lc_F77=no
16481
 
      hardcode_shlibpath_var_F77=no
16482
 
      runpath_var='LD_RUN_PATH'
16483
 
 
16484
 
      if test "$GCC" = yes; then
16485
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16486
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16487
 
      else
16488
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16489
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16490
 
      fi
16491
 
      ;;
16492
 
 
16493
 
    sysv5* | sco3.2v5* | sco5v6*)
16494
 
      # Note: We can NOT use -z defs as we might desire, because we do not
16495
 
      # link with -lc, and that would cause any symbols used from libc to
16496
 
      # always be unresolved, which means just about no library would
16497
 
      # ever link correctly.  If we're not using GNU ld we use -z text
16498
 
      # though, which does catch some bad symbols but isn't as heavy-handed
16499
 
      # as -z defs.
16500
 
      no_undefined_flag_F77='${wl}-z,text'
16501
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
16502
 
      archive_cmds_need_lc_F77=no
16503
 
      hardcode_shlibpath_var_F77=no
16504
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16505
 
      hardcode_libdir_separator_F77=':'
16506
 
      link_all_deplibs_F77=yes
16507
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
16508
 
      runpath_var='LD_RUN_PATH'
16509
 
 
16510
 
      if test "$GCC" = yes; then
16511
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16512
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16513
 
      else
16514
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16515
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16516
 
      fi
16517
 
      ;;
16518
 
 
16519
 
    uts4*)
16520
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16521
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16522
 
      hardcode_shlibpath_var_F77=no
16523
 
      ;;
16524
 
 
16525
 
    *)
16526
 
      ld_shlibs_F77=no
16527
 
      ;;
16528
 
    esac
16529
 
  fi
16530
 
 
16531
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16532
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16533
 
test "$ld_shlibs_F77" = no && can_build_shared=no
16534
 
 
16535
 
#
16536
 
# Do we need to explicitly link libc?
16537
 
#
16538
 
case "x$archive_cmds_need_lc_F77" in
16539
 
x|xyes)
16540
 
  # Assume -lc should be added
16541
 
  archive_cmds_need_lc_F77=yes
16542
 
 
16543
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
16544
 
    case $archive_cmds_F77 in
16545
 
    *'~'*)
16546
 
      # FIXME: we may have to deal with multi-command sequences.
16547
 
      ;;
16548
 
    '$CC '*)
16549
 
      # Test whether the compiler implicitly links with -lc since on some
16550
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16551
 
      # to ld, don't add -lc before -lgcc.
16552
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16553
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16554
 
      $rm conftest*
16555
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16556
 
 
16557
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16558
 
  (eval $ac_compile) 2>&5
16559
 
  ac_status=$?
16560
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561
 
  (exit $ac_status); } 2>conftest.err; then
16562
 
        soname=conftest
16563
 
        lib=conftest
16564
 
        libobjs=conftest.$ac_objext
16565
 
        deplibs=
16566
 
        wl=$lt_prog_compiler_wl_F77
16567
 
        pic_flag=$lt_prog_compiler_pic_F77
16568
 
        compiler_flags=-v
16569
 
        linker_flags=-v
16570
 
        verstring=
16571
 
        output_objdir=.
16572
 
        libname=conftest
16573
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16574
 
        allow_undefined_flag_F77=
16575
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16576
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16577
 
  ac_status=$?
16578
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579
 
  (exit $ac_status); }
16580
 
        then
16581
 
          archive_cmds_need_lc_F77=no
16582
 
        else
16583
 
          archive_cmds_need_lc_F77=yes
16584
 
        fi
16585
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16586
 
      else
16587
 
        cat conftest.err 1>&5
16588
 
      fi
16589
 
      $rm conftest*
16590
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16591
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16592
 
      ;;
16593
 
    esac
16594
 
  fi
16595
 
  ;;
16596
 
esac
16597
 
 
16598
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16599
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16600
 
library_names_spec=
16601
 
libname_spec='lib$name'
16602
 
soname_spec=
16603
 
shrext_cmds=".so"
16604
 
postinstall_cmds=
16605
 
postuninstall_cmds=
16606
 
finish_cmds=
16607
 
finish_eval=
16608
 
shlibpath_var=
16609
 
shlibpath_overrides_runpath=unknown
16610
 
version_type=none
16611
 
dynamic_linker="$host_os ld.so"
16612
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16613
 
 
16614
 
need_lib_prefix=unknown
16615
 
hardcode_into_libs=no
16616
 
 
16617
 
# when you set need_version to no, make sure it does not cause -set_version
16618
 
# flags to be left without arguments
16619
 
need_version=unknown
16620
 
 
16621
 
case $host_os in
16622
 
aix3*)
16623
 
  version_type=linux
16624
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16625
 
  shlibpath_var=LIBPATH
16626
 
 
16627
 
  # AIX 3 has no versioning support, so we append a major version to the name.
16628
 
  soname_spec='${libname}${release}${shared_ext}$major'
16629
 
  ;;
16630
 
 
16631
 
aix4* | aix5*)
16632
 
  version_type=linux
16633
 
  need_lib_prefix=no
16634
 
  need_version=no
16635
 
  hardcode_into_libs=yes
16636
 
  if test "$host_cpu" = ia64; then
16637
 
    # AIX 5 supports IA64
16638
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16639
 
    shlibpath_var=LD_LIBRARY_PATH
16640
 
  else
16641
 
    # With GCC up to 2.95.x, collect2 would create an import file
16642
 
    # for dependence libraries.  The import file would start with
16643
 
    # the line `#! .'.  This would cause the generated library to
16644
 
    # depend on `.', always an invalid library.  This was fixed in
16645
 
    # development snapshots of GCC prior to 3.0.
16646
 
    case $host_os in
16647
 
      aix4 | aix4.[01] | aix4.[01].*)
16648
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16649
 
           echo ' yes '
16650
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16651
 
        :
16652
 
      else
16653
 
        can_build_shared=no
16654
 
      fi
16655
 
      ;;
16656
 
    esac
16657
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16658
 
    # soname into executable. Probably we can add versioning support to
16659
 
    # collect2, so additional links can be useful in future.
16660
 
    if test "$aix_use_runtimelinking" = yes; then
16661
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16662
 
      # instead of lib<name>.a to let people know that these are not
16663
 
      # typical AIX shared libraries.
16664
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16665
 
    else
16666
 
      # We preserve .a as extension for shared libraries through AIX4.2
16667
 
      # and later when we are not doing run time linking.
16668
 
      library_names_spec='${libname}${release}.a $libname.a'
16669
 
      soname_spec='${libname}${release}${shared_ext}$major'
16670
 
    fi
16671
 
    shlibpath_var=LIBPATH
16672
 
  fi
16673
 
  ;;
16674
 
 
16675
 
amigaos*)
16676
 
  library_names_spec='$libname.ixlibrary $libname.a'
16677
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
16678
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16679
 
  ;;
16680
 
 
16681
 
beos*)
16682
 
  library_names_spec='${libname}${shared_ext}'
16683
 
  dynamic_linker="$host_os ld.so"
16684
 
  shlibpath_var=LIBRARY_PATH
16685
 
  ;;
16686
 
 
16687
 
bsdi[45]*)
16688
 
  version_type=linux
16689
 
  need_version=no
16690
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16691
 
  soname_spec='${libname}${release}${shared_ext}$major'
16692
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16693
 
  shlibpath_var=LD_LIBRARY_PATH
16694
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16695
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16696
 
  # the default ld.so.conf also contains /usr/contrib/lib and
16697
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16698
 
  # libtool to hard-code these into programs
16699
 
  ;;
16700
 
 
16701
 
cygwin* | mingw* | pw32*)
16702
 
  version_type=windows
16703
 
  shrext_cmds=".dll"
16704
 
  need_version=no
16705
 
  need_lib_prefix=no
16706
 
 
16707
 
  case $GCC,$host_os in
16708
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
16709
 
    library_names_spec='$libname.dll.a'
16710
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16711
 
    postinstall_cmds='base_file=`basename \${file}`~
16712
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16713
 
      dldir=$destdir/`dirname \$dlpath`~
16714
 
      test -d \$dldir || mkdir -p \$dldir~
16715
 
      $install_prog $dir/$dlname \$dldir/$dlname~
16716
 
      chmod a+x \$dldir/$dlname'
16717
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16718
 
      dlpath=$dir/\$dldll~
16719
 
       $rm \$dlpath'
16720
 
    shlibpath_overrides_runpath=yes
16721
 
 
16722
 
    case $host_os in
16723
 
    cygwin*)
16724
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16725
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16726
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16727
 
      ;;
16728
 
    mingw*)
16729
 
      # MinGW DLLs use traditional 'lib' prefix
16730
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16731
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16732
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16733
 
        # It is most probably a Windows format PATH printed by
16734
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
16735
 
        # path with ; separators, and with drive letters. We can handle the
16736
 
        # drive letters (cygwin fileutils understands them), so leave them,
16737
 
        # especially as we might pass files found there to a mingw objdump,
16738
 
        # which wouldn't understand a cygwinified path. Ahh.
16739
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16740
 
      else
16741
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16742
 
      fi
16743
 
      ;;
16744
 
    pw32*)
16745
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
16746
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16747
 
      ;;
16748
 
    esac
16749
 
    ;;
16750
 
 
16751
 
  *)
16752
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16753
 
    ;;
16754
 
  esac
16755
 
  dynamic_linker='Win32 ld.exe'
16756
 
  # FIXME: first we should search . and the directory the executable is in
16757
 
  shlibpath_var=PATH
16758
 
  ;;
16759
 
 
16760
 
darwin* | rhapsody*)
16761
 
  dynamic_linker="$host_os dyld"
16762
 
  version_type=darwin
16763
 
  need_lib_prefix=no
16764
 
  need_version=no
16765
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16766
 
  soname_spec='${libname}${release}${major}$shared_ext'
16767
 
  shlibpath_overrides_runpath=yes
16768
 
  shlibpath_var=DYLD_LIBRARY_PATH
16769
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16770
 
 
16771
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16772
 
  ;;
16773
 
 
16774
 
dgux*)
16775
 
  version_type=linux
16776
 
  need_lib_prefix=no
16777
 
  need_version=no
16778
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16779
 
  soname_spec='${libname}${release}${shared_ext}$major'
16780
 
  shlibpath_var=LD_LIBRARY_PATH
16781
 
  ;;
16782
 
 
16783
 
freebsd1*)
16784
 
  dynamic_linker=no
16785
 
  ;;
16786
 
 
16787
 
freebsd* | dragonfly*)
16788
 
  # DragonFly does not have aout.  When/if they implement a new
16789
 
  # versioning mechanism, adjust this.
16790
 
  if test -x /usr/bin/objformat; then
16791
 
    objformat=`/usr/bin/objformat`
16792
 
  else
16793
 
    case $host_os in
16794
 
    freebsd[123]*) objformat=aout ;;
16795
 
    *) objformat=elf ;;
16796
 
    esac
16797
 
  fi
16798
 
  version_type=freebsd-$objformat
16799
 
  case $version_type in
16800
 
    freebsd-elf*)
16801
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16802
 
      need_version=no
16803
 
      need_lib_prefix=no
16804
 
      ;;
16805
 
    freebsd-*)
16806
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16807
 
      need_version=yes
16808
 
      ;;
16809
 
  esac
16810
 
  shlibpath_var=LD_LIBRARY_PATH
16811
 
  case $host_os in
16812
 
  freebsd2*)
16813
 
    shlibpath_overrides_runpath=yes
16814
 
    ;;
16815
 
  freebsd3.[01]* | freebsdelf3.[01]*)
16816
 
    shlibpath_overrides_runpath=yes
16817
 
    hardcode_into_libs=yes
16818
 
    ;;
16819
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16820
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16821
 
    shlibpath_overrides_runpath=no
16822
 
    hardcode_into_libs=yes
16823
 
    ;;
16824
 
  *) # from 4.6 on, and DragonFly
16825
 
    shlibpath_overrides_runpath=yes
16826
 
    hardcode_into_libs=yes
16827
 
    ;;
16828
 
  esac
16829
 
  ;;
16830
 
 
16831
 
gnu*)
16832
 
  version_type=linux
16833
 
  need_lib_prefix=no
16834
 
  need_version=no
16835
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16836
 
  soname_spec='${libname}${release}${shared_ext}$major'
16837
 
  shlibpath_var=LD_LIBRARY_PATH
16838
 
  hardcode_into_libs=yes
16839
 
  ;;
16840
 
 
16841
 
hpux9* | hpux10* | hpux11*)
16842
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
16843
 
  # link against other versions.
16844
 
  version_type=sunos
16845
 
  need_lib_prefix=no
16846
 
  need_version=no
16847
 
  case $host_cpu in
16848
 
  ia64*)
16849
 
    shrext_cmds='.so'
16850
 
    hardcode_into_libs=yes
16851
 
    dynamic_linker="$host_os dld.so"
16852
 
    shlibpath_var=LD_LIBRARY_PATH
16853
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16854
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16855
 
    soname_spec='${libname}${release}${shared_ext}$major'
16856
 
    if test "X$HPUX_IA64_MODE" = X32; then
16857
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16858
 
    else
16859
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16860
 
    fi
16861
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16862
 
    ;;
16863
 
   hppa*64*)
16864
 
     shrext_cmds='.sl'
16865
 
     hardcode_into_libs=yes
16866
 
     dynamic_linker="$host_os dld.sl"
16867
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16868
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16869
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16870
 
     soname_spec='${libname}${release}${shared_ext}$major'
16871
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16872
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16873
 
     ;;
16874
 
   *)
16875
 
    shrext_cmds='.sl'
16876
 
    dynamic_linker="$host_os dld.sl"
16877
 
    shlibpath_var=SHLIB_PATH
16878
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16879
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16880
 
    soname_spec='${libname}${release}${shared_ext}$major'
16881
 
    ;;
16882
 
  esac
16883
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
16884
 
  postinstall_cmds='chmod 555 $lib'
16885
 
  ;;
16886
 
 
16887
 
interix[3-9]*)
16888
 
  version_type=linux
16889
 
  need_lib_prefix=no
16890
 
  need_version=no
16891
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16892
 
  soname_spec='${libname}${release}${shared_ext}$major'
16893
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16894
 
  shlibpath_var=LD_LIBRARY_PATH
16895
 
  shlibpath_overrides_runpath=no
16896
 
  hardcode_into_libs=yes
16897
 
  ;;
16898
 
 
16899
 
irix5* | irix6* | nonstopux*)
16900
 
  case $host_os in
16901
 
    nonstopux*) version_type=nonstopux ;;
16902
 
    *)
16903
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
16904
 
                version_type=linux
16905
 
        else
16906
 
                version_type=irix
16907
 
        fi ;;
16908
 
  esac
16909
 
  need_lib_prefix=no
16910
 
  need_version=no
16911
 
  soname_spec='${libname}${release}${shared_ext}$major'
16912
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16913
 
  case $host_os in
16914
 
  irix5* | nonstopux*)
16915
 
    libsuff= shlibsuff=
16916
 
    ;;
16917
 
  *)
16918
 
    case $LD in # libtool.m4 will add one of these switches to LD
16919
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16920
 
      libsuff= shlibsuff= libmagic=32-bit;;
16921
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16922
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
16923
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16924
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16925
 
    *) libsuff= shlibsuff= libmagic=never-match;;
16926
 
    esac
16927
 
    ;;
16928
 
  esac
16929
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16930
 
  shlibpath_overrides_runpath=no
16931
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16932
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16933
 
  hardcode_into_libs=yes
16934
 
  ;;
16935
 
 
16936
 
# No shared lib support for Linux oldld, aout, or coff.
16937
 
linux*oldld* | linux*aout* | linux*coff*)
16938
 
  dynamic_linker=no
16939
 
  ;;
16940
 
 
16941
 
# This must be Linux ELF.
16942
 
linux* | k*bsd*-gnu)
16943
 
  version_type=linux
16944
 
  need_lib_prefix=no
16945
 
  need_version=no
16946
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16947
 
  soname_spec='${libname}${release}${shared_ext}$major'
16948
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16949
 
  shlibpath_var=LD_LIBRARY_PATH
16950
 
  shlibpath_overrides_runpath=no
16951
 
  # This implies no fast_install, which is unacceptable.
16952
 
  # Some rework will be needed to allow for fast_install
16953
 
  # before this can be enabled.
16954
 
  hardcode_into_libs=yes
16955
 
 
16956
 
  # Append ld.so.conf contents to the search path
16957
 
  if test -f /etc/ld.so.conf; then
16958
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16959
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16960
 
  fi
16961
 
 
16962
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
16963
 
  # powerpc, because MkLinux only supported shared libraries with the
16964
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
16965
 
  # most powerpc-linux boxes support dynamic linking these days and
16966
 
  # people can always --disable-shared, the test was removed, and we
16967
 
  # assume the GNU/Linux dynamic linker is in use.
16968
 
  dynamic_linker='GNU/Linux ld.so'
16969
 
  ;;
16970
 
 
16971
 
netbsdelf*-gnu)
16972
 
  version_type=linux
16973
 
  need_lib_prefix=no
16974
 
  need_version=no
16975
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16976
 
  soname_spec='${libname}${release}${shared_ext}$major'
16977
 
  shlibpath_var=LD_LIBRARY_PATH
16978
 
  shlibpath_overrides_runpath=no
16979
 
  hardcode_into_libs=yes
16980
 
  dynamic_linker='NetBSD ld.elf_so'
16981
 
  ;;
16982
 
 
16983
 
netbsd*)
16984
 
  version_type=sunos
16985
 
  need_lib_prefix=no
16986
 
  need_version=no
16987
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16988
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16989
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16990
 
    dynamic_linker='NetBSD (a.out) ld.so'
16991
 
  else
16992
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16993
 
    soname_spec='${libname}${release}${shared_ext}$major'
16994
 
    dynamic_linker='NetBSD ld.elf_so'
16995
 
  fi
16996
 
  shlibpath_var=LD_LIBRARY_PATH
16997
 
  shlibpath_overrides_runpath=yes
16998
 
  hardcode_into_libs=yes
16999
 
  ;;
17000
 
 
17001
 
newsos6)
17002
 
  version_type=linux
17003
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17004
 
  shlibpath_var=LD_LIBRARY_PATH
17005
 
  shlibpath_overrides_runpath=yes
17006
 
  ;;
17007
 
 
17008
 
nto-qnx*)
17009
 
  version_type=linux
17010
 
  need_lib_prefix=no
17011
 
  need_version=no
17012
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17013
 
  soname_spec='${libname}${release}${shared_ext}$major'
17014
 
  shlibpath_var=LD_LIBRARY_PATH
17015
 
  shlibpath_overrides_runpath=yes
17016
 
  ;;
17017
 
 
17018
 
openbsd*)
17019
 
  version_type=sunos
17020
 
  sys_lib_dlsearch_path_spec="/usr/lib"
17021
 
  need_lib_prefix=no
17022
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17023
 
  case $host_os in
17024
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17025
 
    *)                         need_version=no  ;;
17026
 
  esac
17027
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17028
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17029
 
  shlibpath_var=LD_LIBRARY_PATH
17030
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17031
 
    case $host_os in
17032
 
      openbsd2.[89] | openbsd2.[89].*)
17033
 
        shlibpath_overrides_runpath=no
17034
 
        ;;
17035
 
      *)
17036
 
        shlibpath_overrides_runpath=yes
17037
 
        ;;
17038
 
      esac
17039
 
  else
17040
 
    shlibpath_overrides_runpath=yes
17041
 
  fi
17042
 
  ;;
17043
 
 
17044
 
os2*)
17045
 
  libname_spec='$name'
17046
 
  shrext_cmds=".dll"
17047
 
  need_lib_prefix=no
17048
 
  library_names_spec='$libname${shared_ext} $libname.a'
17049
 
  dynamic_linker='OS/2 ld.exe'
17050
 
  shlibpath_var=LIBPATH
17051
 
  ;;
17052
 
 
17053
 
osf3* | osf4* | osf5*)
17054
 
  version_type=osf
17055
 
  need_lib_prefix=no
17056
 
  need_version=no
17057
 
  soname_spec='${libname}${release}${shared_ext}$major'
17058
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17059
 
  shlibpath_var=LD_LIBRARY_PATH
17060
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17061
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17062
 
  ;;
17063
 
 
17064
 
rdos*)
17065
 
  dynamic_linker=no
17066
 
  ;;
17067
 
 
17068
 
solaris*)
17069
 
  version_type=linux
17070
 
  need_lib_prefix=no
17071
 
  need_version=no
17072
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17073
 
  soname_spec='${libname}${release}${shared_ext}$major'
17074
 
  shlibpath_var=LD_LIBRARY_PATH
17075
 
  shlibpath_overrides_runpath=yes
17076
 
  hardcode_into_libs=yes
17077
 
  # ldd complains unless libraries are executable
17078
 
  postinstall_cmds='chmod +x $lib'
17079
 
  ;;
17080
 
 
17081
 
sunos4*)
17082
 
  version_type=sunos
17083
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17084
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17085
 
  shlibpath_var=LD_LIBRARY_PATH
17086
 
  shlibpath_overrides_runpath=yes
17087
 
  if test "$with_gnu_ld" = yes; then
17088
 
    need_lib_prefix=no
17089
 
  fi
17090
 
  need_version=yes
17091
 
  ;;
17092
 
 
17093
 
sysv4 | sysv4.3*)
17094
 
  version_type=linux
17095
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17096
 
  soname_spec='${libname}${release}${shared_ext}$major'
17097
 
  shlibpath_var=LD_LIBRARY_PATH
17098
 
  case $host_vendor in
17099
 
    sni)
17100
 
      shlibpath_overrides_runpath=no
17101
 
      need_lib_prefix=no
17102
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
17103
 
      runpath_var=LD_RUN_PATH
17104
 
      ;;
17105
 
    siemens)
17106
 
      need_lib_prefix=no
17107
 
      ;;
17108
 
    motorola)
17109
 
      need_lib_prefix=no
17110
 
      need_version=no
17111
 
      shlibpath_overrides_runpath=no
17112
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17113
 
      ;;
17114
 
  esac
17115
 
  ;;
17116
 
 
17117
 
sysv4*MP*)
17118
 
  if test -d /usr/nec ;then
17119
 
    version_type=linux
17120
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17121
 
    soname_spec='$libname${shared_ext}.$major'
17122
 
    shlibpath_var=LD_LIBRARY_PATH
17123
 
  fi
17124
 
  ;;
17125
 
 
17126
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17127
 
  version_type=freebsd-elf
17128
 
  need_lib_prefix=no
17129
 
  need_version=no
17130
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17131
 
  soname_spec='${libname}${release}${shared_ext}$major'
17132
 
  shlibpath_var=LD_LIBRARY_PATH
17133
 
  hardcode_into_libs=yes
17134
 
  if test "$with_gnu_ld" = yes; then
17135
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17136
 
    shlibpath_overrides_runpath=no
17137
 
  else
17138
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17139
 
    shlibpath_overrides_runpath=yes
17140
 
    case $host_os in
17141
 
      sco3.2v5*)
17142
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17143
 
        ;;
17144
 
    esac
17145
 
  fi
17146
 
  sys_lib_dlsearch_path_spec='/usr/lib'
17147
 
  ;;
17148
 
 
17149
 
uts4*)
17150
 
  version_type=linux
17151
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17152
 
  soname_spec='${libname}${release}${shared_ext}$major'
17153
 
  shlibpath_var=LD_LIBRARY_PATH
17154
 
  ;;
17155
 
 
17156
 
*)
17157
 
  dynamic_linker=no
17158
 
  ;;
17159
 
esac
17160
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17161
 
echo "${ECHO_T}$dynamic_linker" >&6; }
17162
 
test "$dynamic_linker" = no && can_build_shared=no
17163
 
 
17164
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17165
 
if test "$GCC" = yes; then
17166
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17167
 
fi
17168
 
 
17169
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17170
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17171
 
hardcode_action_F77=
17172
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
17173
 
   test -n "$runpath_var_F77" || \
17174
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
17175
 
 
17176
 
  # We can hardcode non-existant directories.
17177
 
  if test "$hardcode_direct_F77" != no &&
17178
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17179
 
     # have to relink, otherwise we might link with an installed library
17180
 
     # when we should be linking with a yet-to-be-installed one
17181
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17182
 
     test "$hardcode_minus_L_F77" != no; then
17183
 
    # Linking always hardcodes the temporary library directory.
17184
 
    hardcode_action_F77=relink
17185
 
  else
17186
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17187
 
    hardcode_action_F77=immediate
17188
 
  fi
17189
 
else
17190
 
  # We cannot hardcode anything, or else we can only hardcode existing
17191
 
  # directories.
17192
 
  hardcode_action_F77=unsupported
17193
 
fi
17194
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17195
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
17196
 
 
17197
 
if test "$hardcode_action_F77" = relink; then
17198
 
  # Fast installation is not supported
17199
 
  enable_fast_install=no
17200
 
elif test "$shlibpath_overrides_runpath" = yes ||
17201
 
     test "$enable_shared" = no; then
17202
 
  # Fast installation is not necessary
17203
 
  enable_fast_install=needless
17204
 
fi
17205
 
 
17206
 
 
17207
 
# The else clause should only fire when bootstrapping the
17208
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
17209
 
# with your package, and you will get complaints that there are
17210
 
# no rules to generate ltmain.sh.
17211
 
if test -f "$ltmain"; then
17212
 
  # See if we are running on zsh, and set the options which allow our commands through
17213
 
  # without removal of \ escapes.
17214
 
  if test -n "${ZSH_VERSION+set}" ; then
17215
 
    setopt NO_GLOB_SUBST
17216
 
  fi
17217
 
  # Now quote all the things that may contain metacharacters while being
17218
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
17219
 
  # variables and quote the copies for generation of the libtool script.
17220
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17221
 
    SED SHELL STRIP \
17222
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17223
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17224
 
    deplibs_check_method reload_flag reload_cmds need_locks \
17225
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17226
 
    lt_cv_sys_global_symbol_to_c_name_address \
17227
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17228
 
    old_postinstall_cmds old_postuninstall_cmds \
17229
 
    compiler_F77 \
17230
 
    CC_F77 \
17231
 
    LD_F77 \
17232
 
    lt_prog_compiler_wl_F77 \
17233
 
    lt_prog_compiler_pic_F77 \
17234
 
    lt_prog_compiler_static_F77 \
17235
 
    lt_prog_compiler_no_builtin_flag_F77 \
17236
 
    export_dynamic_flag_spec_F77 \
17237
 
    thread_safe_flag_spec_F77 \
17238
 
    whole_archive_flag_spec_F77 \
17239
 
    enable_shared_with_static_runtimes_F77 \
17240
 
    old_archive_cmds_F77 \
17241
 
    old_archive_from_new_cmds_F77 \
17242
 
    predep_objects_F77 \
17243
 
    postdep_objects_F77 \
17244
 
    predeps_F77 \
17245
 
    postdeps_F77 \
17246
 
    compiler_lib_search_path_F77 \
17247
 
    archive_cmds_F77 \
17248
 
    archive_expsym_cmds_F77 \
17249
 
    postinstall_cmds_F77 \
17250
 
    postuninstall_cmds_F77 \
17251
 
    old_archive_from_expsyms_cmds_F77 \
17252
 
    allow_undefined_flag_F77 \
17253
 
    no_undefined_flag_F77 \
17254
 
    export_symbols_cmds_F77 \
17255
 
    hardcode_libdir_flag_spec_F77 \
17256
 
    hardcode_libdir_flag_spec_ld_F77 \
17257
 
    hardcode_libdir_separator_F77 \
17258
 
    hardcode_automatic_F77 \
17259
 
    module_cmds_F77 \
17260
 
    module_expsym_cmds_F77 \
17261
 
    lt_cv_prog_compiler_c_o_F77 \
17262
 
    fix_srcfile_path_F77 \
17263
 
    exclude_expsyms_F77 \
17264
 
    include_expsyms_F77; do
17265
 
 
17266
 
    case $var in
17267
 
    old_archive_cmds_F77 | \
17268
 
    old_archive_from_new_cmds_F77 | \
17269
 
    archive_cmds_F77 | \
17270
 
    archive_expsym_cmds_F77 | \
17271
 
    module_cmds_F77 | \
17272
 
    module_expsym_cmds_F77 | \
17273
 
    old_archive_from_expsyms_cmds_F77 | \
17274
 
    export_symbols_cmds_F77 | \
17275
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
17276
 
    postinstall_cmds | postuninstall_cmds | \
17277
 
    old_postinstall_cmds | old_postuninstall_cmds | \
17278
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17279
 
      # Double-quote double-evaled strings.
17280
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17281
 
      ;;
17282
 
    *)
17283
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17284
 
      ;;
17285
 
    esac
17286
 
  done
17287
 
 
17288
 
  case $lt_echo in
17289
 
  *'\$0 --fallback-echo"')
17290
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17291
 
    ;;
17292
 
  esac
17293
 
 
17294
 
cfgfile="$ofile"
17295
 
 
17296
 
  cat <<__EOF__ >> "$cfgfile"
17297
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17298
 
 
17299
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17300
 
 
17301
 
# Shell to use when invoking shell scripts.
17302
 
SHELL=$lt_SHELL
17303
 
 
17304
 
# Whether or not to build shared libraries.
17305
 
build_libtool_libs=$enable_shared
17306
 
 
17307
 
# Whether or not to build static libraries.
17308
 
build_old_libs=$enable_static
17309
 
 
17310
 
# Whether or not to add -lc for building shared libraries.
17311
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
17312
 
 
17313
 
# Whether or not to disallow shared libs when runtime libs are static
17314
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17315
 
 
17316
 
# Whether or not to optimize for fast installation.
17317
 
fast_install=$enable_fast_install
17318
 
 
17319
 
# The host system.
17320
 
host_alias=$host_alias
17321
 
host=$host
17322
 
host_os=$host_os
17323
 
 
17324
 
# The build system.
17325
 
build_alias=$build_alias
17326
 
build=$build
17327
 
build_os=$build_os
17328
 
 
17329
 
# An echo program that does not interpret backslashes.
17330
 
echo=$lt_echo
17331
 
 
17332
 
# The archiver.
17333
 
AR=$lt_AR
17334
 
AR_FLAGS=$lt_AR_FLAGS
17335
 
 
17336
 
# A C compiler.
17337
 
LTCC=$lt_LTCC
17338
 
 
17339
 
# LTCC compiler flags.
17340
 
LTCFLAGS=$lt_LTCFLAGS
17341
 
 
17342
 
# A language-specific compiler.
17343
 
CC=$lt_compiler_F77
17344
 
 
17345
 
# Is the compiler the GNU C compiler?
17346
 
with_gcc=$GCC_F77
17347
 
 
17348
 
# An ERE matcher.
17349
 
EGREP=$lt_EGREP
17350
 
 
17351
 
# The linker used to build libraries.
17352
 
LD=$lt_LD_F77
17353
 
 
17354
 
# Whether we need hard or soft links.
17355
 
LN_S=$lt_LN_S
17356
 
 
17357
 
# A BSD-compatible nm program.
17358
 
NM=$lt_NM
17359
 
 
17360
 
# A symbol stripping program
17361
 
STRIP=$lt_STRIP
17362
 
 
17363
 
# Used to examine libraries when file_magic_cmd begins "file"
17364
 
MAGIC_CMD=$MAGIC_CMD
17365
 
 
17366
 
# Used on cygwin: DLL creation program.
17367
 
DLLTOOL="$DLLTOOL"
17368
 
 
17369
 
# Used on cygwin: object dumper.
17370
 
OBJDUMP="$OBJDUMP"
17371
 
 
17372
 
# Used on cygwin: assembler.
17373
 
AS="$AS"
17374
 
 
17375
 
# The name of the directory that contains temporary libtool files.
17376
 
objdir=$objdir
17377
 
 
17378
 
# How to create reloadable object files.
17379
 
reload_flag=$lt_reload_flag
17380
 
reload_cmds=$lt_reload_cmds
17381
 
 
17382
 
# How to pass a linker flag through the compiler.
17383
 
wl=$lt_lt_prog_compiler_wl_F77
17384
 
 
17385
 
# Object file suffix (normally "o").
17386
 
objext="$ac_objext"
17387
 
 
17388
 
# Old archive suffix (normally "a").
17389
 
libext="$libext"
17390
 
 
17391
 
# Shared library suffix (normally ".so").
17392
 
shrext_cmds='$shrext_cmds'
17393
 
 
17394
 
# Executable file suffix (normally "").
17395
 
exeext="$exeext"
17396
 
 
17397
 
# Additional compiler flags for building library objects.
17398
 
pic_flag=$lt_lt_prog_compiler_pic_F77
17399
 
pic_mode=$pic_mode
17400
 
 
17401
 
# What is the maximum length of a command?
17402
 
max_cmd_len=$lt_cv_sys_max_cmd_len
17403
 
 
17404
 
# Does compiler simultaneously support -c and -o options?
17405
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17406
 
 
17407
 
# Must we lock files when doing compilation?
17408
 
need_locks=$lt_need_locks
17409
 
 
17410
 
# Do we need the lib prefix for modules?
17411
 
need_lib_prefix=$need_lib_prefix
17412
 
 
17413
 
# Do we need a version for libraries?
17414
 
need_version=$need_version
17415
 
 
17416
 
# Whether dlopen is supported.
17417
 
dlopen_support=$enable_dlopen
17418
 
 
17419
 
# Whether dlopen of programs is supported.
17420
 
dlopen_self=$enable_dlopen_self
17421
 
 
17422
 
# Whether dlopen of statically linked programs is supported.
17423
 
dlopen_self_static=$enable_dlopen_self_static
17424
 
 
17425
 
# Compiler flag to prevent dynamic linking.
17426
 
link_static_flag=$lt_lt_prog_compiler_static_F77
17427
 
 
17428
 
# Compiler flag to turn off builtin functions.
17429
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17430
 
 
17431
 
# Compiler flag to allow reflexive dlopens.
17432
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17433
 
 
17434
 
# Compiler flag to generate shared objects directly from archives.
17435
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17436
 
 
17437
 
# Compiler flag to generate thread-safe objects.
17438
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17439
 
 
17440
 
# Library versioning type.
17441
 
version_type=$version_type
17442
 
 
17443
 
# Format of library name prefix.
17444
 
libname_spec=$lt_libname_spec
17445
 
 
17446
 
# List of archive names.  First name is the real one, the rest are links.
17447
 
# The last name is the one that the linker finds with -lNAME.
17448
 
library_names_spec=$lt_library_names_spec
17449
 
 
17450
 
# The coded name of the library, if different from the real name.
17451
 
soname_spec=$lt_soname_spec
17452
 
 
17453
 
# Commands used to build and install an old-style archive.
17454
 
RANLIB=$lt_RANLIB
17455
 
old_archive_cmds=$lt_old_archive_cmds_F77
17456
 
old_postinstall_cmds=$lt_old_postinstall_cmds
17457
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17458
 
 
17459
 
# Create an old-style archive from a shared archive.
17460
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17461
 
 
17462
 
# Create a temporary old-style archive to link instead of a shared archive.
17463
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17464
 
 
17465
 
# Commands used to build and install a shared archive.
17466
 
archive_cmds=$lt_archive_cmds_F77
17467
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17468
 
postinstall_cmds=$lt_postinstall_cmds
17469
 
postuninstall_cmds=$lt_postuninstall_cmds
17470
 
 
17471
 
# Commands used to build a loadable module (assumed same as above if empty)
17472
 
module_cmds=$lt_module_cmds_F77
17473
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
17474
 
 
17475
 
# Commands to strip libraries.
17476
 
old_striplib=$lt_old_striplib
17477
 
striplib=$lt_striplib
17478
 
 
17479
 
# Dependencies to place before the objects being linked to create a
17480
 
# shared library.
17481
 
predep_objects=$lt_predep_objects_F77
17482
 
 
17483
 
# Dependencies to place after the objects being linked to create a
17484
 
# shared library.
17485
 
postdep_objects=$lt_postdep_objects_F77
17486
 
 
17487
 
# Dependencies to place before the objects being linked to create a
17488
 
# shared library.
17489
 
predeps=$lt_predeps_F77
17490
 
 
17491
 
# Dependencies to place after the objects being linked to create a
17492
 
# shared library.
17493
 
postdeps=$lt_postdeps_F77
17494
 
 
17495
 
# The library search path used internally by the compiler when linking
17496
 
# a shared library.
17497
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17498
 
 
17499
 
# Method to check whether dependent libraries are shared objects.
17500
 
deplibs_check_method=$lt_deplibs_check_method
17501
 
 
17502
 
# Command to use when deplibs_check_method == file_magic.
17503
 
file_magic_cmd=$lt_file_magic_cmd
17504
 
 
17505
 
# Flag that allows shared libraries with undefined symbols to be built.
17506
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
17507
 
 
17508
 
# Flag that forces no undefined symbols.
17509
 
no_undefined_flag=$lt_no_undefined_flag_F77
17510
 
 
17511
 
# Commands used to finish a libtool library installation in a directory.
17512
 
finish_cmds=$lt_finish_cmds
17513
 
 
17514
 
# Same as above, but a single script fragment to be evaled but not shown.
17515
 
finish_eval=$lt_finish_eval
17516
 
 
17517
 
# Take the output of nm and produce a listing of raw symbols and C names.
17518
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17519
 
 
17520
 
# Transform the output of nm in a proper C declaration
17521
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17522
 
 
17523
 
# Transform the output of nm in a C name address pair
17524
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17525
 
 
17526
 
# This is the shared library runtime path variable.
17527
 
runpath_var=$runpath_var
17528
 
 
17529
 
# This is the shared library path variable.
17530
 
shlibpath_var=$shlibpath_var
17531
 
 
17532
 
# Is shlibpath searched before the hard-coded library search path?
17533
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17534
 
 
17535
 
# How to hardcode a shared library path into an executable.
17536
 
hardcode_action=$hardcode_action_F77
17537
 
 
17538
 
# Whether we should hardcode library paths into libraries.
17539
 
hardcode_into_libs=$hardcode_into_libs
17540
 
 
17541
 
# Flag to hardcode \$libdir into a binary during linking.
17542
 
# This must work even if \$libdir does not exist.
17543
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17544
 
 
17545
 
# If ld is used when linking, flag to hardcode \$libdir into
17546
 
# a binary during linking. This must work even if \$libdir does
17547
 
# not exist.
17548
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17549
 
 
17550
 
# Whether we need a single -rpath flag with a separated argument.
17551
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17552
 
 
17553
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17554
 
# resulting binary.
17555
 
hardcode_direct=$hardcode_direct_F77
17556
 
 
17557
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17558
 
# resulting binary.
17559
 
hardcode_minus_L=$hardcode_minus_L_F77
17560
 
 
17561
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17562
 
# the resulting binary.
17563
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17564
 
 
17565
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
17566
 
# and all subsequent libraries and executables linked against it.
17567
 
hardcode_automatic=$hardcode_automatic_F77
17568
 
 
17569
 
# Variables whose values should be saved in libtool wrapper scripts and
17570
 
# restored at relink time.
17571
 
variables_saved_for_relink="$variables_saved_for_relink"
17572
 
 
17573
 
# Whether libtool must link a program against all its dependency libraries.
17574
 
link_all_deplibs=$link_all_deplibs_F77
17575
 
 
17576
 
# Compile-time system search path for libraries
17577
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17578
 
 
17579
 
# Run-time system search path for libraries
17580
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17581
 
 
17582
 
# Fix the shell variable \$srcfile for the compiler.
17583
 
fix_srcfile_path=$lt_fix_srcfile_path
17584
 
 
17585
 
# Set to yes if exported symbols are required.
17586
 
always_export_symbols=$always_export_symbols_F77
17587
 
 
17588
 
# The commands to list exported symbols.
17589
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
17590
 
 
17591
 
# The commands to extract the exported symbol list from a shared archive.
17592
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17593
 
 
17594
 
# Symbols that should not be listed in the preloaded symbols.
17595
 
exclude_expsyms=$lt_exclude_expsyms_F77
17596
 
 
17597
 
# Symbols that must always be exported.
17598
 
include_expsyms=$lt_include_expsyms_F77
17599
 
 
17600
 
# ### END LIBTOOL TAG CONFIG: $tagname
17601
 
 
17602
 
__EOF__
17603
 
 
17604
 
 
17605
 
else
17606
 
  # If there is no Makefile yet, we rely on a make rule to execute
17607
 
  # `config.status --recheck' to rerun these tests and create the
17608
 
  # libtool script then.
17609
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17610
 
  if test -f "$ltmain_in"; then
17611
 
    test -f Makefile && make "$ltmain"
17612
 
  fi
17613
 
fi
17614
 
 
17615
 
 
17616
 
ac_ext=c
17617
 
ac_cpp='$CPP $CPPFLAGS'
17618
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17619
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17620
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17621
 
 
17622
 
CC="$lt_save_CC"
17623
 
 
17624
 
        else
17625
 
          tagname=""
17626
 
        fi
17627
 
        ;;
17628
 
 
17629
 
      GCJ)
17630
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17631
 
 
17632
 
 
17633
 
# Source file extension for Java test sources.
17634
 
ac_ext=java
17635
 
 
17636
 
# Object file extension for compiled Java test sources.
17637
 
objext=o
17638
 
objext_GCJ=$objext
17639
 
 
17640
 
# Code to be used in simple compile tests
17641
 
lt_simple_compile_test_code="class foo {}"
17642
 
 
17643
 
# Code to be used in simple link tests
17644
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17645
 
 
17646
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17647
 
 
17648
 
# If no C compiler was specified, use CC.
17649
 
LTCC=${LTCC-"$CC"}
17650
 
 
17651
 
# If no C compiler flags were specified, use CFLAGS.
17652
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17653
 
 
17654
 
# Allow CC to be a program name with arguments.
17655
 
compiler=$CC
17656
 
 
17657
 
 
17658
 
# save warnings/boilerplate of simple test code
17659
 
ac_outfile=conftest.$ac_objext
17660
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17661
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17662
 
_lt_compiler_boilerplate=`cat conftest.err`
17663
 
$rm conftest*
17664
 
 
17665
 
ac_outfile=conftest.$ac_objext
17666
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17667
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17668
 
_lt_linker_boilerplate=`cat conftest.err`
17669
 
$rm conftest*
17670
 
 
17671
 
 
17672
 
# Allow CC to be a program name with arguments.
17673
 
lt_save_CC="$CC"
17674
 
CC=${GCJ-"gcj"}
17675
 
compiler=$CC
17676
 
compiler_GCJ=$CC
17677
 
for cc_temp in $compiler""; do
17678
 
  case $cc_temp in
17679
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17680
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17681
 
    \-*) ;;
17682
 
    *) break;;
17683
 
  esac
17684
 
done
17685
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17686
 
 
17687
 
 
17688
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
17689
 
archive_cmds_need_lc_GCJ=no
17690
 
 
17691
 
old_archive_cmds_GCJ=$old_archive_cmds
17692
 
 
17693
 
 
17694
 
lt_prog_compiler_no_builtin_flag_GCJ=
17695
 
 
17696
 
if test "$GCC" = yes; then
17697
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17698
 
 
17699
 
 
17700
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17701
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17702
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17703
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17704
 
else
17705
 
  lt_cv_prog_compiler_rtti_exceptions=no
17706
 
  ac_outfile=conftest.$ac_objext
17707
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17708
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
17709
 
   # Insert the option either (1) after the last *FLAGS variable, or
17710
 
   # (2) before a word containing "conftest.", or (3) at the end.
17711
 
   # Note that $ac_compile itself does not contain backslashes and begins
17712
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17713
 
   # The option is referenced via a variable to avoid confusing sed.
17714
 
   lt_compile=`echo "$ac_compile" | $SED \
17715
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17716
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17717
 
   -e 's:$: $lt_compiler_flag:'`
17718
 
   (eval echo "\"\$as_me:17718: $lt_compile\"" >&5)
17719
 
   (eval "$lt_compile" 2>conftest.err)
17720
 
   ac_status=$?
17721
 
   cat conftest.err >&5
17722
 
   echo "$as_me:17722: \$? = $ac_status" >&5
17723
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17724
 
     # The compiler can only warn and ignore the option if not recognized
17725
 
     # So say no if there are warnings other than the usual output.
17726
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17727
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17728
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17729
 
       lt_cv_prog_compiler_rtti_exceptions=yes
17730
 
     fi
17731
 
   fi
17732
 
   $rm conftest*
17733
 
 
17734
 
fi
17735
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17736
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17737
 
 
17738
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17739
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17740
 
else
17741
 
    :
17742
 
fi
17743
 
 
17744
 
fi
17745
 
 
17746
 
lt_prog_compiler_wl_GCJ=
17747
 
lt_prog_compiler_pic_GCJ=
17748
 
lt_prog_compiler_static_GCJ=
17749
 
 
17750
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17751
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17752
 
 
17753
 
  if test "$GCC" = yes; then
17754
 
    lt_prog_compiler_wl_GCJ='-Wl,'
17755
 
    lt_prog_compiler_static_GCJ='-static'
17756
 
 
17757
 
    case $host_os in
17758
 
      aix*)
17759
 
      # All AIX code is PIC.
17760
 
      if test "$host_cpu" = ia64; then
17761
 
        # AIX 5 now supports IA64 processor
17762
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17763
 
      fi
17764
 
      ;;
17765
 
 
17766
 
    amigaos*)
17767
 
      # FIXME: we need at least 68020 code to build shared libraries, but
17768
 
      # adding the `-m68020' flag to GCC prevents building anything better,
17769
 
      # like `-m68040'.
17770
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17771
 
      ;;
17772
 
 
17773
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17774
 
      # PIC is the default for these OSes.
17775
 
      ;;
17776
 
 
17777
 
    mingw* | cygwin* | pw32* | os2*)
17778
 
      # This hack is so that the source file can tell whether it is being
17779
 
      # built for inclusion in a dll (and should export symbols for example).
17780
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
17781
 
      # (--disable-auto-import) libraries
17782
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17783
 
      ;;
17784
 
 
17785
 
    darwin* | rhapsody*)
17786
 
      # PIC is the default on this platform
17787
 
      # Common symbols not allowed in MH_DYLIB files
17788
 
      lt_prog_compiler_pic_GCJ='-fno-common'
17789
 
      ;;
17790
 
 
17791
 
    interix[3-9]*)
17792
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17793
 
      # Instead, we relocate shared libraries at runtime.
17794
 
      ;;
17795
 
 
17796
 
    msdosdjgpp*)
17797
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
17798
 
      # on systems that don't support them.
17799
 
      lt_prog_compiler_can_build_shared_GCJ=no
17800
 
      enable_shared=no
17801
 
      ;;
17802
 
 
17803
 
    sysv4*MP*)
17804
 
      if test -d /usr/nec; then
17805
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
17806
 
      fi
17807
 
      ;;
17808
 
 
17809
 
    hpux*)
17810
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17811
 
      # not for PA HP-UX.
17812
 
      case $host_cpu in
17813
 
      hppa*64*|ia64*)
17814
 
        # +Z the default
17815
 
        ;;
17816
 
      *)
17817
 
        lt_prog_compiler_pic_GCJ='-fPIC'
17818
 
        ;;
17819
 
      esac
17820
 
      ;;
17821
 
 
17822
 
    *)
17823
 
      lt_prog_compiler_pic_GCJ='-fPIC'
17824
 
      ;;
17825
 
    esac
17826
 
  else
17827
 
    # PORTME Check for flag to pass linker flags through the system compiler.
17828
 
    case $host_os in
17829
 
    aix*)
17830
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17831
 
      if test "$host_cpu" = ia64; then
17832
 
        # AIX 5 now supports IA64 processor
17833
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17834
 
      else
17835
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17836
 
      fi
17837
 
      ;;
17838
 
      darwin*)
17839
 
        # PIC is the default on this platform
17840
 
        # Common symbols not allowed in MH_DYLIB files
17841
 
       case $cc_basename in
17842
 
         xlc*)
17843
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
17844
 
         lt_prog_compiler_wl_GCJ='-Wl,'
17845
 
         ;;
17846
 
       esac
17847
 
       ;;
17848
 
 
17849
 
    mingw* | cygwin* | pw32* | os2*)
17850
 
      # This hack is so that the source file can tell whether it is being
17851
 
      # built for inclusion in a dll (and should export symbols for example).
17852
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17853
 
      ;;
17854
 
 
17855
 
    hpux9* | hpux10* | hpux11*)
17856
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17857
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17858
 
      # not for PA HP-UX.
17859
 
      case $host_cpu in
17860
 
      hppa*64*|ia64*)
17861
 
        # +Z the default
17862
 
        ;;
17863
 
      *)
17864
 
        lt_prog_compiler_pic_GCJ='+Z'
17865
 
        ;;
17866
 
      esac
17867
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
17868
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17869
 
      ;;
17870
 
 
17871
 
    irix5* | irix6* | nonstopux*)
17872
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17873
 
      # PIC (with -KPIC) is the default.
17874
 
      lt_prog_compiler_static_GCJ='-non_shared'
17875
 
      ;;
17876
 
 
17877
 
    newsos6)
17878
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17879
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17880
 
      ;;
17881
 
 
17882
 
    linux* | k*bsd*-gnu)
17883
 
      case $cc_basename in
17884
 
      icc* | ecc*)
17885
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17886
 
        lt_prog_compiler_pic_GCJ='-KPIC'
17887
 
        lt_prog_compiler_static_GCJ='-static'
17888
 
        ;;
17889
 
      pgcc* | pgf77* | pgf90* | pgf95*)
17890
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
17891
 
        # which looks to be a dead project)
17892
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17893
 
        lt_prog_compiler_pic_GCJ='-fpic'
17894
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17895
 
        ;;
17896
 
      ccc*)
17897
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17898
 
        # All Alpha code is PIC.
17899
 
        lt_prog_compiler_static_GCJ='-non_shared'
17900
 
        ;;
17901
 
      *)
17902
 
        case `$CC -V 2>&1 | sed 5q` in
17903
 
        *Sun\ C*)
17904
 
          # Sun C 5.9
17905
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17906
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17907
 
          lt_prog_compiler_wl_GCJ='-Wl,'
17908
 
          ;;
17909
 
        *Sun\ F*)
17910
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
17911
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17912
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17913
 
          lt_prog_compiler_wl_GCJ=''
17914
 
          ;;
17915
 
        esac
17916
 
        ;;
17917
 
      esac
17918
 
      ;;
17919
 
 
17920
 
    osf3* | osf4* | osf5*)
17921
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17922
 
      # All OSF/1 code is PIC.
17923
 
      lt_prog_compiler_static_GCJ='-non_shared'
17924
 
      ;;
17925
 
 
17926
 
    rdos*)
17927
 
      lt_prog_compiler_static_GCJ='-non_shared'
17928
 
      ;;
17929
 
 
17930
 
    solaris*)
17931
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17932
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17933
 
      case $cc_basename in
17934
 
      f77* | f90* | f95*)
17935
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17936
 
      *)
17937
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
17938
 
      esac
17939
 
      ;;
17940
 
 
17941
 
    sunos4*)
17942
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
17943
 
      lt_prog_compiler_pic_GCJ='-PIC'
17944
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17945
 
      ;;
17946
 
 
17947
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
17948
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17949
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17950
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17951
 
      ;;
17952
 
 
17953
 
    sysv4*MP*)
17954
 
      if test -d /usr/nec ;then
17955
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
17956
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17957
 
      fi
17958
 
      ;;
17959
 
 
17960
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17961
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17962
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17963
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17964
 
      ;;
17965
 
 
17966
 
    unicos*)
17967
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17968
 
      lt_prog_compiler_can_build_shared_GCJ=no
17969
 
      ;;
17970
 
 
17971
 
    uts4*)
17972
 
      lt_prog_compiler_pic_GCJ='-pic'
17973
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17974
 
      ;;
17975
 
 
17976
 
    *)
17977
 
      lt_prog_compiler_can_build_shared_GCJ=no
17978
 
      ;;
17979
 
    esac
17980
 
  fi
17981
 
 
17982
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17983
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17984
 
 
17985
 
#
17986
 
# Check to make sure the PIC flag actually works.
17987
 
#
17988
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
17989
 
 
17990
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17991
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17992
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17993
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17994
 
else
17995
 
  lt_prog_compiler_pic_works_GCJ=no
17996
 
  ac_outfile=conftest.$ac_objext
17997
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17998
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17999
 
   # Insert the option either (1) after the last *FLAGS variable, or
18000
 
   # (2) before a word containing "conftest.", or (3) at the end.
18001
 
   # Note that $ac_compile itself does not contain backslashes and begins
18002
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18003
 
   # The option is referenced via a variable to avoid confusing sed.
18004
 
   lt_compile=`echo "$ac_compile" | $SED \
18005
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18006
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18007
 
   -e 's:$: $lt_compiler_flag:'`
18008
 
   (eval echo "\"\$as_me:18008: $lt_compile\"" >&5)
18009
 
   (eval "$lt_compile" 2>conftest.err)
18010
 
   ac_status=$?
18011
 
   cat conftest.err >&5
18012
 
   echo "$as_me:18012: \$? = $ac_status" >&5
18013
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
18014
 
     # The compiler can only warn and ignore the option if not recognized
18015
 
     # So say no if there are warnings other than the usual output.
18016
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18017
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18018
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18019
 
       lt_prog_compiler_pic_works_GCJ=yes
18020
 
     fi
18021
 
   fi
18022
 
   $rm conftest*
18023
 
 
18024
 
fi
18025
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18026
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
18027
 
 
18028
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
18029
 
    case $lt_prog_compiler_pic_GCJ in
18030
 
     "" | " "*) ;;
18031
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
18032
 
     esac
18033
 
else
18034
 
    lt_prog_compiler_pic_GCJ=
18035
 
     lt_prog_compiler_can_build_shared_GCJ=no
18036
 
fi
18037
 
 
18038
 
fi
18039
 
case $host_os in
18040
 
  # For platforms which do not support PIC, -DPIC is meaningless:
18041
 
  *djgpp*)
18042
 
    lt_prog_compiler_pic_GCJ=
18043
 
    ;;
18044
 
  *)
18045
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
18046
 
    ;;
18047
 
esac
18048
 
 
18049
 
#
18050
 
# Check to make sure the static flag actually works.
18051
 
#
18052
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
18053
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18054
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18055
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
18056
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18057
 
else
18058
 
  lt_prog_compiler_static_works_GCJ=no
18059
 
   save_LDFLAGS="$LDFLAGS"
18060
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18061
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
18062
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18063
 
     # The linker can only warn and ignore the option if not recognized
18064
 
     # So say no if there are warnings
18065
 
     if test -s conftest.err; then
18066
 
       # Append any errors to the config.log.
18067
 
       cat conftest.err 1>&5
18068
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18069
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18070
 
       if diff conftest.exp conftest.er2 >/dev/null; then
18071
 
         lt_prog_compiler_static_works_GCJ=yes
18072
 
       fi
18073
 
     else
18074
 
       lt_prog_compiler_static_works_GCJ=yes
18075
 
     fi
18076
 
   fi
18077
 
   $rm conftest*
18078
 
   LDFLAGS="$save_LDFLAGS"
18079
 
 
18080
 
fi
18081
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
18082
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
18083
 
 
18084
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
18085
 
    :
18086
 
else
18087
 
    lt_prog_compiler_static_GCJ=
18088
 
fi
18089
 
 
18090
 
 
18091
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18092
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18093
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18094
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18095
 
else
18096
 
  lt_cv_prog_compiler_c_o_GCJ=no
18097
 
   $rm -r conftest 2>/dev/null
18098
 
   mkdir conftest
18099
 
   cd conftest
18100
 
   mkdir out
18101
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18102
 
 
18103
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
18104
 
   # Insert the option either (1) after the last *FLAGS variable, or
18105
 
   # (2) before a word containing "conftest.", or (3) at the end.
18106
 
   # Note that $ac_compile itself does not contain backslashes and begins
18107
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18108
 
   lt_compile=`echo "$ac_compile" | $SED \
18109
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18110
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18111
 
   -e 's:$: $lt_compiler_flag:'`
18112
 
   (eval echo "\"\$as_me:18112: $lt_compile\"" >&5)
18113
 
   (eval "$lt_compile" 2>out/conftest.err)
18114
 
   ac_status=$?
18115
 
   cat out/conftest.err >&5
18116
 
   echo "$as_me:18116: \$? = $ac_status" >&5
18117
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18118
 
   then
18119
 
     # The compiler can only warn and ignore the option if not recognized
18120
 
     # So say no if there are warnings
18121
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18122
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18123
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18124
 
       lt_cv_prog_compiler_c_o_GCJ=yes
18125
 
     fi
18126
 
   fi
18127
 
   chmod u+w . 2>&5
18128
 
   $rm conftest*
18129
 
   # SGI C++ compiler will create directory out/ii_files/ for
18130
 
   # template instantiation
18131
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
18132
 
   $rm out/* && rmdir out
18133
 
   cd ..
18134
 
   rmdir conftest
18135
 
   $rm conftest*
18136
 
 
18137
 
fi
18138
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18139
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18140
 
 
18141
 
 
18142
 
hard_links="nottested"
18143
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18144
 
  # do not overwrite the value of need_locks provided by the user
18145
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18146
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18147
 
  hard_links=yes
18148
 
  $rm conftest*
18149
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18150
 
  touch conftest.a
18151
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
18152
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18153
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
18154
 
echo "${ECHO_T}$hard_links" >&6; }
18155
 
  if test "$hard_links" = no; then
18156
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18157
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18158
 
    need_locks=warn
18159
 
  fi
18160
 
else
18161
 
  need_locks=no
18162
 
fi
18163
 
 
18164
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18165
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18166
 
 
18167
 
  runpath_var=
18168
 
  allow_undefined_flag_GCJ=
18169
 
  enable_shared_with_static_runtimes_GCJ=no
18170
 
  archive_cmds_GCJ=
18171
 
  archive_expsym_cmds_GCJ=
18172
 
  old_archive_From_new_cmds_GCJ=
18173
 
  old_archive_from_expsyms_cmds_GCJ=
18174
 
  export_dynamic_flag_spec_GCJ=
18175
 
  whole_archive_flag_spec_GCJ=
18176
 
  thread_safe_flag_spec_GCJ=
18177
 
  hardcode_libdir_flag_spec_GCJ=
18178
 
  hardcode_libdir_flag_spec_ld_GCJ=
18179
 
  hardcode_libdir_separator_GCJ=
18180
 
  hardcode_direct_GCJ=no
18181
 
  hardcode_minus_L_GCJ=no
18182
 
  hardcode_shlibpath_var_GCJ=unsupported
18183
 
  link_all_deplibs_GCJ=unknown
18184
 
  hardcode_automatic_GCJ=no
18185
 
  module_cmds_GCJ=
18186
 
  module_expsym_cmds_GCJ=
18187
 
  always_export_symbols_GCJ=no
18188
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18189
 
  # include_expsyms should be a list of space-separated symbols to be *always*
18190
 
  # included in the symbol list
18191
 
  include_expsyms_GCJ=
18192
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
18193
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
18194
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18195
 
  # as well as any symbol that contains `d'.
18196
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
18197
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18198
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
18199
 
  # the symbol is explicitly referenced.  Since portable code cannot
18200
 
  # rely on this symbol name, it's probably fine to never include it in
18201
 
  # preloaded symbol tables.
18202
 
  extract_expsyms_cmds=
18203
 
  # Just being paranoid about ensuring that cc_basename is set.
18204
 
  for cc_temp in $compiler""; do
18205
 
  case $cc_temp in
18206
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18207
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18208
 
    \-*) ;;
18209
 
    *) break;;
18210
 
  esac
18211
 
done
18212
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18213
 
 
18214
 
  case $host_os in
18215
 
  cygwin* | mingw* | pw32*)
18216
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
18217
 
    # When not using gcc, we currently assume that we are using
18218
 
    # Microsoft Visual C++.
18219
 
    if test "$GCC" != yes; then
18220
 
      with_gnu_ld=no
18221
 
    fi
18222
 
    ;;
18223
 
  interix*)
18224
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
18225
 
    with_gnu_ld=yes
18226
 
    ;;
18227
 
  openbsd*)
18228
 
    with_gnu_ld=no
18229
 
    ;;
18230
 
  esac
18231
 
 
18232
 
  ld_shlibs_GCJ=yes
18233
 
  if test "$with_gnu_ld" = yes; then
18234
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
18235
 
    wlarc='${wl}'
18236
 
 
18237
 
    # Set some defaults for GNU ld with shared library support. These
18238
 
    # are reset later if shared libraries are not supported. Putting them
18239
 
    # here allows them to be overridden if necessary.
18240
 
    runpath_var=LD_RUN_PATH
18241
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
18242
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
18243
 
    # ancient GNU ld didn't support --whole-archive et. al.
18244
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18245
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18246
 
      else
18247
 
        whole_archive_flag_spec_GCJ=
18248
 
    fi
18249
 
    supports_anon_versioning=no
18250
 
    case `$LD -v 2>/dev/null` in
18251
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18252
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18253
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18254
 
      *\ 2.11.*) ;; # other 2.11 versions
18255
 
      *) supports_anon_versioning=yes ;;
18256
 
    esac
18257
 
 
18258
 
    # See if GNU ld supports shared libraries.
18259
 
    case $host_os in
18260
 
    aix3* | aix4* | aix5*)
18261
 
      # On AIX/PPC, the GNU linker is very broken
18262
 
      if test "$host_cpu" != ia64; then
18263
 
        ld_shlibs_GCJ=no
18264
 
        cat <<EOF 1>&2
18265
 
 
18266
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
18267
 
*** to be unable to reliably create shared libraries on AIX.
18268
 
*** Therefore, libtool is disabling shared libraries support.  If you
18269
 
*** really care for shared libraries, you may want to modify your PATH
18270
 
*** so that a non-GNU linker is found, and then restart.
18271
 
 
18272
 
EOF
18273
 
      fi
18274
 
      ;;
18275
 
 
18276
 
    amigaos*)
18277
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
18278
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18279
 
      hardcode_minus_L_GCJ=yes
18280
 
 
18281
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18282
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
18283
 
      # to version 4, is to share data among multiple programs linked
18284
 
      # with the same dynamic library.  Since this doesn't match the
18285
 
      # behavior of shared libraries on other platforms, we can't use
18286
 
      # them.
18287
 
      ld_shlibs_GCJ=no
18288
 
      ;;
18289
 
 
18290
 
    beos*)
18291
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18292
 
        allow_undefined_flag_GCJ=unsupported
18293
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18294
 
        # support --undefined.  This deserves some investigation.  FIXME
18295
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18296
 
      else
18297
 
        ld_shlibs_GCJ=no
18298
 
      fi
18299
 
      ;;
18300
 
 
18301
 
    cygwin* | mingw* | pw32*)
18302
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18303
 
      # as there is no search path for DLLs.
18304
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18305
 
      allow_undefined_flag_GCJ=unsupported
18306
 
      always_export_symbols_GCJ=no
18307
 
      enable_shared_with_static_runtimes_GCJ=yes
18308
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18309
 
 
18310
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18311
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18312
 
        # If the export-symbols file already is a .def file (1st line
18313
 
        # is EXPORTS), use it as is; otherwise, prepend...
18314
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18315
 
          cp $export_symbols $output_objdir/$soname.def;
18316
 
        else
18317
 
          echo EXPORTS > $output_objdir/$soname.def;
18318
 
          cat $export_symbols >> $output_objdir/$soname.def;
18319
 
        fi~
18320
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18321
 
      else
18322
 
        ld_shlibs_GCJ=no
18323
 
      fi
18324
 
      ;;
18325
 
 
18326
 
    interix[3-9]*)
18327
 
      hardcode_direct_GCJ=no
18328
 
      hardcode_shlibpath_var_GCJ=no
18329
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18330
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18331
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18332
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
18333
 
      # default) and relocated if they conflict, which is a slow very memory
18334
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
18335
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18336
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
18337
 
      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'
18338
 
      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'
18339
 
      ;;
18340
 
 
18341
 
    gnu* | linux* | k*bsd*-gnu)
18342
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18343
 
        tmp_addflag=
18344
 
        case $cc_basename,$host_cpu in
18345
 
        pgcc*)                          # Portland Group C compiler
18346
 
          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'
18347
 
          tmp_addflag=' $pic_flag'
18348
 
          ;;
18349
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
18350
 
          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'
18351
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
18352
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
18353
 
          tmp_addflag=' -i_dynamic' ;;
18354
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
18355
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
18356
 
        ifc* | ifort*)                  # Intel Fortran compiler
18357
 
          tmp_addflag=' -nofor_main' ;;
18358
 
        esac
18359
 
        case `$CC -V 2>&1 | sed 5q` in
18360
 
        *Sun\ C*)                       # Sun C 5.9
18361
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18362
 
          tmp_sharedflag='-G' ;;
18363
 
        *Sun\ F*)                       # Sun Fortran 8.3
18364
 
          tmp_sharedflag='-G' ;;
18365
 
        *)
18366
 
          tmp_sharedflag='-shared' ;;
18367
 
        esac
18368
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18369
 
 
18370
 
        if test $supports_anon_versioning = yes; then
18371
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18372
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18373
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18374
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18375
 
        fi
18376
 
        link_all_deplibs_GCJ=no
18377
 
      else
18378
 
        ld_shlibs_GCJ=no
18379
 
      fi
18380
 
      ;;
18381
 
 
18382
 
    netbsd* | netbsdelf*-gnu)
18383
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18384
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18385
 
        wlarc=
18386
 
      else
18387
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18388
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18389
 
      fi
18390
 
      ;;
18391
 
 
18392
 
    solaris*)
18393
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18394
 
        ld_shlibs_GCJ=no
18395
 
        cat <<EOF 1>&2
18396
 
 
18397
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18398
 
*** create shared libraries on Solaris systems.  Therefore, libtool
18399
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18400
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
18401
 
*** your PATH or compiler configuration so that the native linker is
18402
 
*** used, and then restart.
18403
 
 
18404
 
EOF
18405
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18406
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18407
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18408
 
      else
18409
 
        ld_shlibs_GCJ=no
18410
 
      fi
18411
 
      ;;
18412
 
 
18413
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18414
 
      case `$LD -v 2>&1` in
18415
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
18416
 
        ld_shlibs_GCJ=no
18417
 
        cat <<_LT_EOF 1>&2
18418
 
 
18419
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18420
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
18421
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18422
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
18423
 
*** your PATH or compiler configuration so that the native linker is
18424
 
*** used, and then restart.
18425
 
 
18426
 
_LT_EOF
18427
 
        ;;
18428
 
        *)
18429
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18430
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18431
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18432
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18433
 
          else
18434
 
            ld_shlibs_GCJ=no
18435
 
          fi
18436
 
        ;;
18437
 
      esac
18438
 
      ;;
18439
 
 
18440
 
    sunos4*)
18441
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18442
 
      wlarc=
18443
 
      hardcode_direct_GCJ=yes
18444
 
      hardcode_shlibpath_var_GCJ=no
18445
 
      ;;
18446
 
 
18447
 
    *)
18448
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18449
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18450
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18451
 
      else
18452
 
        ld_shlibs_GCJ=no
18453
 
      fi
18454
 
      ;;
18455
 
    esac
18456
 
 
18457
 
    if test "$ld_shlibs_GCJ" = no; then
18458
 
      runpath_var=
18459
 
      hardcode_libdir_flag_spec_GCJ=
18460
 
      export_dynamic_flag_spec_GCJ=
18461
 
      whole_archive_flag_spec_GCJ=
18462
 
    fi
18463
 
  else
18464
 
    # PORTME fill in a description of your system's linker (not GNU ld)
18465
 
    case $host_os in
18466
 
    aix3*)
18467
 
      allow_undefined_flag_GCJ=unsupported
18468
 
      always_export_symbols_GCJ=yes
18469
 
      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
18470
 
      # Note: this linker hardcodes the directories in LIBPATH if there
18471
 
      # are no directories specified by -L.
18472
 
      hardcode_minus_L_GCJ=yes
18473
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18474
 
        # Neither direct hardcoding nor static linking is supported with a
18475
 
        # broken collect2.
18476
 
        hardcode_direct_GCJ=unsupported
18477
 
      fi
18478
 
      ;;
18479
 
 
18480
 
    aix4* | aix5*)
18481
 
      if test "$host_cpu" = ia64; then
18482
 
        # On IA64, the linker does run time linking by default, so we don't
18483
 
        # have to do anything special.
18484
 
        aix_use_runtimelinking=no
18485
 
        exp_sym_flag='-Bexport'
18486
 
        no_entry_flag=""
18487
 
      else
18488
 
        # If we're using GNU nm, then we don't want the "-C" option.
18489
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
18490
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18491
 
          export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18492
 
        else
18493
 
          export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18494
 
        fi
18495
 
        aix_use_runtimelinking=no
18496
 
 
18497
 
        # Test if we are trying to use run time linking or normal
18498
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18499
 
        # need to do runtime linking.
18500
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18501
 
          for ld_flag in $LDFLAGS; do
18502
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18503
 
            aix_use_runtimelinking=yes
18504
 
            break
18505
 
          fi
18506
 
          done
18507
 
          ;;
18508
 
        esac
18509
 
 
18510
 
        exp_sym_flag='-bexport'
18511
 
        no_entry_flag='-bnoentry'
18512
 
      fi
18513
 
 
18514
 
      # When large executables or shared objects are built, AIX ld can
18515
 
      # have problems creating the table of contents.  If linking a library
18516
 
      # or program results in "error TOC overflow" add -mminimal-toc to
18517
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18518
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18519
 
 
18520
 
      archive_cmds_GCJ=''
18521
 
      hardcode_direct_GCJ=yes
18522
 
      hardcode_libdir_separator_GCJ=':'
18523
 
      link_all_deplibs_GCJ=yes
18524
 
 
18525
 
      if test "$GCC" = yes; then
18526
 
        case $host_os in aix4.[012]|aix4.[012].*)
18527
 
        # We only want to do this on AIX 4.2 and lower, the check
18528
 
        # below for broken collect2 doesn't work under 4.3+
18529
 
          collect2name=`${CC} -print-prog-name=collect2`
18530
 
          if test -f "$collect2name" && \
18531
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18532
 
          then
18533
 
          # We have reworked collect2
18534
 
          :
18535
 
          else
18536
 
          # We have old collect2
18537
 
          hardcode_direct_GCJ=unsupported
18538
 
          # It fails to find uninstalled libraries when the uninstalled
18539
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
18540
 
          # to unsupported forces relinking
18541
 
          hardcode_minus_L_GCJ=yes
18542
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
18543
 
          hardcode_libdir_separator_GCJ=
18544
 
          fi
18545
 
          ;;
18546
 
        esac
18547
 
        shared_flag='-shared'
18548
 
        if test "$aix_use_runtimelinking" = yes; then
18549
 
          shared_flag="$shared_flag "'${wl}-G'
18550
 
        fi
18551
 
      else
18552
 
        # not using gcc
18553
 
        if test "$host_cpu" = ia64; then
18554
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18555
 
        # chokes on -Wl,-G. The following line is correct:
18556
 
          shared_flag='-G'
18557
 
        else
18558
 
          if test "$aix_use_runtimelinking" = yes; then
18559
 
            shared_flag='${wl}-G'
18560
 
          else
18561
 
            shared_flag='${wl}-bM:SRE'
18562
 
          fi
18563
 
        fi
18564
 
      fi
18565
 
 
18566
 
      # It seems that -bexpall does not export symbols beginning with
18567
 
      # underscore (_), so it is better to generate a list of symbols to export.
18568
 
      always_export_symbols_GCJ=yes
18569
 
      if test "$aix_use_runtimelinking" = yes; then
18570
 
        # Warning - without using the other runtime loading flags (-brtl),
18571
 
        # -berok will link without error, but may produce a broken library.
18572
 
        allow_undefined_flag_GCJ='-berok'
18573
 
       # Determine the default libpath from the value encoded in an empty executable.
18574
 
       cat >conftest.$ac_ext <<_ACEOF
18575
 
/* confdefs.h.  */
18576
 
_ACEOF
18577
 
cat confdefs.h >>conftest.$ac_ext
18578
 
cat >>conftest.$ac_ext <<_ACEOF
18579
 
/* end confdefs.h.  */
18580
 
 
18581
 
int
18582
 
main ()
18583
 
{
18584
 
 
18585
 
  ;
18586
 
  return 0;
18587
 
}
18588
 
_ACEOF
18589
 
rm -f conftest.$ac_objext conftest$ac_exeext
18590
 
if { (ac_try="$ac_link"
18591
 
case "(($ac_try" in
18592
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18593
 
  *) ac_try_echo=$ac_try;;
18594
 
esac
18595
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18596
 
  (eval "$ac_link") 2>conftest.er1
18597
 
  ac_status=$?
18598
 
  grep -v '^ *+' conftest.er1 >conftest.err
18599
 
  rm -f conftest.er1
18600
 
  cat conftest.err >&5
18601
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602
 
  (exit $ac_status); } && {
18603
 
         test -z "$ac_c_werror_flag" ||
18604
 
         test ! -s conftest.err
18605
 
       } && test -s conftest$ac_exeext &&
18606
 
       $as_test_x conftest$ac_exeext; then
18607
 
 
18608
 
lt_aix_libpath_sed='
18609
 
    /Import File Strings/,/^$/ {
18610
 
        /^0/ {
18611
 
            s/^0  *\(.*\)$/\1/
18612
 
            p
18613
 
        }
18614
 
    }'
18615
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18616
 
# Check for a 64-bit object if we didn't find anything.
18617
 
if test -z "$aix_libpath"; then
18618
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18619
 
fi
18620
 
else
18621
 
  echo "$as_me: failed program was:" >&5
18622
 
sed 's/^/| /' conftest.$ac_ext >&5
18623
 
 
18624
 
 
18625
 
fi
18626
 
 
18627
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18628
 
      conftest$ac_exeext conftest.$ac_ext
18629
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18630
 
 
18631
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18632
 
        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"
18633
 
       else
18634
 
        if test "$host_cpu" = ia64; then
18635
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18636
 
          allow_undefined_flag_GCJ="-z nodefs"
18637
 
          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"
18638
 
        else
18639
 
         # Determine the default libpath from the value encoded in an empty executable.
18640
 
         cat >conftest.$ac_ext <<_ACEOF
18641
 
/* confdefs.h.  */
18642
 
_ACEOF
18643
 
cat confdefs.h >>conftest.$ac_ext
18644
 
cat >>conftest.$ac_ext <<_ACEOF
18645
 
/* end confdefs.h.  */
18646
 
 
18647
 
int
18648
 
main ()
18649
 
{
18650
 
 
18651
 
  ;
18652
 
  return 0;
18653
 
}
18654
 
_ACEOF
18655
 
rm -f conftest.$ac_objext conftest$ac_exeext
18656
 
if { (ac_try="$ac_link"
18657
 
case "(($ac_try" in
18658
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18659
 
  *) ac_try_echo=$ac_try;;
18660
 
esac
18661
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18662
 
  (eval "$ac_link") 2>conftest.er1
18663
 
  ac_status=$?
18664
 
  grep -v '^ *+' conftest.er1 >conftest.err
18665
 
  rm -f conftest.er1
18666
 
  cat conftest.err >&5
18667
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668
 
  (exit $ac_status); } && {
18669
 
         test -z "$ac_c_werror_flag" ||
18670
 
         test ! -s conftest.err
18671
 
       } && test -s conftest$ac_exeext &&
18672
 
       $as_test_x conftest$ac_exeext; then
18673
 
 
18674
 
lt_aix_libpath_sed='
18675
 
    /Import File Strings/,/^$/ {
18676
 
        /^0/ {
18677
 
            s/^0  *\(.*\)$/\1/
18678
 
            p
18679
 
        }
18680
 
    }'
18681
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18682
 
# Check for a 64-bit object if we didn't find anything.
18683
 
if test -z "$aix_libpath"; then
18684
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18685
 
fi
18686
 
else
18687
 
  echo "$as_me: failed program was:" >&5
18688
 
sed 's/^/| /' conftest.$ac_ext >&5
18689
 
 
18690
 
 
18691
 
fi
18692
 
 
18693
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18694
 
      conftest$ac_exeext conftest.$ac_ext
18695
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18696
 
 
18697
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18698
 
          # Warning - without using the other run time loading flags,
18699
 
          # -berok will link without error, but may produce a broken library.
18700
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
18701
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
18702
 
          # Exported symbols can be pulled into shared objects from archives
18703
 
          whole_archive_flag_spec_GCJ='$convenience'
18704
 
          archive_cmds_need_lc_GCJ=yes
18705
 
          # This is similar to how AIX traditionally builds its shared libraries.
18706
 
          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'
18707
 
        fi
18708
 
      fi
18709
 
      ;;
18710
 
 
18711
 
    amigaos*)
18712
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
18713
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18714
 
      hardcode_minus_L_GCJ=yes
18715
 
      # see comment about different semantics on the GNU ld section
18716
 
      ld_shlibs_GCJ=no
18717
 
      ;;
18718
 
 
18719
 
    bsdi[45]*)
18720
 
      export_dynamic_flag_spec_GCJ=-rdynamic
18721
 
      ;;
18722
 
 
18723
 
    cygwin* | mingw* | pw32*)
18724
 
      # When not using gcc, we currently assume that we are using
18725
 
      # Microsoft Visual C++.
18726
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
18727
 
      # no search path for DLLs.
18728
 
      hardcode_libdir_flag_spec_GCJ=' '
18729
 
      allow_undefined_flag_GCJ=unsupported
18730
 
      # Tell ltmain to make .lib files, not .a files.
18731
 
      libext=lib
18732
 
      # Tell ltmain to make .dll files, not .so files.
18733
 
      shrext_cmds=".dll"
18734
 
      # FIXME: Setting linknames here is a bad hack.
18735
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18736
 
      # The linker will automatically build a .lib file if we build a DLL.
18737
 
      old_archive_From_new_cmds_GCJ='true'
18738
 
      # FIXME: Should let the user specify the lib program.
18739
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18740
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18741
 
      enable_shared_with_static_runtimes_GCJ=yes
18742
 
      ;;
18743
 
 
18744
 
    darwin* | rhapsody*)
18745
 
      case $host_os in
18746
 
        rhapsody* | darwin1.[012])
18747
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
18748
 
         ;;
18749
 
       *) # Darwin 1.3 on
18750
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18751
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18752
 
         else
18753
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
18754
 
             10.[012])
18755
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18756
 
               ;;
18757
 
             10.*)
18758
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
18759
 
               ;;
18760
 
           esac
18761
 
         fi
18762
 
         ;;
18763
 
      esac
18764
 
      archive_cmds_need_lc_GCJ=no
18765
 
      hardcode_direct_GCJ=no
18766
 
      hardcode_automatic_GCJ=yes
18767
 
      hardcode_shlibpath_var_GCJ=unsupported
18768
 
      whole_archive_flag_spec_GCJ=''
18769
 
      link_all_deplibs_GCJ=yes
18770
 
    if test "$GCC" = yes ; then
18771
 
        output_verbose_link_cmd='echo'
18772
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18773
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18774
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18775
 
      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}'
18776
 
      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}'
18777
 
    else
18778
 
      case $cc_basename in
18779
 
        xlc*)
18780
 
         output_verbose_link_cmd='echo'
18781
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18782
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18783
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18784
 
         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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18785
 
          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}'
18786
 
          ;;
18787
 
       *)
18788
 
         ld_shlibs_GCJ=no
18789
 
          ;;
18790
 
      esac
18791
 
    fi
18792
 
      ;;
18793
 
 
18794
 
    dgux*)
18795
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18796
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18797
 
      hardcode_shlibpath_var_GCJ=no
18798
 
      ;;
18799
 
 
18800
 
    freebsd1*)
18801
 
      ld_shlibs_GCJ=no
18802
 
      ;;
18803
 
 
18804
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18805
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
18806
 
    # does not break anything, and helps significantly (at the cost of a little
18807
 
    # extra space).
18808
 
    freebsd2.2*)
18809
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18810
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18811
 
      hardcode_direct_GCJ=yes
18812
 
      hardcode_shlibpath_var_GCJ=no
18813
 
      ;;
18814
 
 
18815
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18816
 
    freebsd2*)
18817
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18818
 
      hardcode_direct_GCJ=yes
18819
 
      hardcode_minus_L_GCJ=yes
18820
 
      hardcode_shlibpath_var_GCJ=no
18821
 
      ;;
18822
 
 
18823
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18824
 
    freebsd* | dragonfly*)
18825
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18826
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18827
 
      hardcode_direct_GCJ=yes
18828
 
      hardcode_shlibpath_var_GCJ=no
18829
 
      ;;
18830
 
 
18831
 
    hpux9*)
18832
 
      if test "$GCC" = yes; then
18833
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18834
 
      else
18835
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18836
 
      fi
18837
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18838
 
      hardcode_libdir_separator_GCJ=:
18839
 
      hardcode_direct_GCJ=yes
18840
 
 
18841
 
      # hardcode_minus_L: Not really in the search PATH,
18842
 
      # but as the default location of the library.
18843
 
      hardcode_minus_L_GCJ=yes
18844
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18845
 
      ;;
18846
 
 
18847
 
    hpux10*)
18848
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18849
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18850
 
      else
18851
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18852
 
      fi
18853
 
      if test "$with_gnu_ld" = no; then
18854
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18855
 
        hardcode_libdir_separator_GCJ=:
18856
 
 
18857
 
        hardcode_direct_GCJ=yes
18858
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
18859
 
 
18860
 
        # hardcode_minus_L: Not really in the search PATH,
18861
 
        # but as the default location of the library.
18862
 
        hardcode_minus_L_GCJ=yes
18863
 
      fi
18864
 
      ;;
18865
 
 
18866
 
    hpux11*)
18867
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18868
 
        case $host_cpu in
18869
 
        hppa*64*)
18870
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18871
 
          ;;
18872
 
        ia64*)
18873
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18874
 
          ;;
18875
 
        *)
18876
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18877
 
          ;;
18878
 
        esac
18879
 
      else
18880
 
        case $host_cpu in
18881
 
        hppa*64*)
18882
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18883
 
          ;;
18884
 
        ia64*)
18885
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18886
 
          ;;
18887
 
        *)
18888
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18889
 
          ;;
18890
 
        esac
18891
 
      fi
18892
 
      if test "$with_gnu_ld" = no; then
18893
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18894
 
        hardcode_libdir_separator_GCJ=:
18895
 
 
18896
 
        case $host_cpu in
18897
 
        hppa*64*|ia64*)
18898
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18899
 
          hardcode_direct_GCJ=no
18900
 
          hardcode_shlibpath_var_GCJ=no
18901
 
          ;;
18902
 
        *)
18903
 
          hardcode_direct_GCJ=yes
18904
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18905
 
 
18906
 
          # hardcode_minus_L: Not really in the search PATH,
18907
 
          # but as the default location of the library.
18908
 
          hardcode_minus_L_GCJ=yes
18909
 
          ;;
18910
 
        esac
18911
 
      fi
18912
 
      ;;
18913
 
 
18914
 
    irix5* | irix6* | nonstopux*)
18915
 
      if test "$GCC" = yes; then
18916
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18917
 
      else
18918
 
        archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18919
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18920
 
      fi
18921
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18922
 
      hardcode_libdir_separator_GCJ=:
18923
 
      link_all_deplibs_GCJ=yes
18924
 
      ;;
18925
 
 
18926
 
    netbsd* | netbsdelf*-gnu)
18927
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18928
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18929
 
      else
18930
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
18931
 
      fi
18932
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18933
 
      hardcode_direct_GCJ=yes
18934
 
      hardcode_shlibpath_var_GCJ=no
18935
 
      ;;
18936
 
 
18937
 
    newsos6)
18938
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18939
 
      hardcode_direct_GCJ=yes
18940
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18941
 
      hardcode_libdir_separator_GCJ=:
18942
 
      hardcode_shlibpath_var_GCJ=no
18943
 
      ;;
18944
 
 
18945
 
    openbsd*)
18946
 
      if test -f /usr/libexec/ld.so; then
18947
 
        hardcode_direct_GCJ=yes
18948
 
        hardcode_shlibpath_var_GCJ=no
18949
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18950
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18951
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18952
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18953
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18954
 
        else
18955
 
          case $host_os in
18956
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18957
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18958
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
18959
 
             ;;
18960
 
           *)
18961
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18962
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18963
 
             ;;
18964
 
          esac
18965
 
        fi
18966
 
      else
18967
 
        ld_shlibs_GCJ=no
18968
 
      fi
18969
 
      ;;
18970
 
 
18971
 
    os2*)
18972
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18973
 
      hardcode_minus_L_GCJ=yes
18974
 
      allow_undefined_flag_GCJ=unsupported
18975
 
      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
18976
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18977
 
      ;;
18978
 
 
18979
 
    osf3*)
18980
 
      if test "$GCC" = yes; then
18981
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18982
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18983
 
      else
18984
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18985
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18986
 
      fi
18987
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18988
 
      hardcode_libdir_separator_GCJ=:
18989
 
      ;;
18990
 
 
18991
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
18992
 
      if test "$GCC" = yes; then
18993
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18994
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $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'
18995
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18996
 
      else
18997
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18998
 
        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'
18999
 
        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~
19000
 
        $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'
19001
 
 
19002
 
        # Both c and cxx compiler support -rpath directly
19003
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
19004
 
      fi
19005
 
      hardcode_libdir_separator_GCJ=:
19006
 
      ;;
19007
 
 
19008
 
    solaris*)
19009
 
      no_undefined_flag_GCJ=' -z text'
19010
 
      if test "$GCC" = yes; then
19011
 
        wlarc='${wl}'
19012
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19013
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19014
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19015
 
      else
19016
 
        wlarc=''
19017
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19018
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19019
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19020
 
      fi
19021
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19022
 
      hardcode_shlibpath_var_GCJ=no
19023
 
      case $host_os in
19024
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
19025
 
      *)
19026
 
        # The compiler driver will combine and reorder linker options,
19027
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
19028
 
        # but is careful enough not to reorder.
19029
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
19030
 
        if test "$GCC" = yes; then
19031
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19032
 
        else
19033
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
19034
 
        fi
19035
 
        ;;
19036
 
      esac
19037
 
      link_all_deplibs_GCJ=yes
19038
 
      ;;
19039
 
 
19040
 
    sunos4*)
19041
 
      if test "x$host_vendor" = xsequent; then
19042
 
        # Use $CC to link under sequent, because it throws in some extra .o
19043
 
        # files that make .init and .fini sections work.
19044
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19045
 
      else
19046
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19047
 
      fi
19048
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19049
 
      hardcode_direct_GCJ=yes
19050
 
      hardcode_minus_L_GCJ=yes
19051
 
      hardcode_shlibpath_var_GCJ=no
19052
 
      ;;
19053
 
 
19054
 
    sysv4)
19055
 
      case $host_vendor in
19056
 
        sni)
19057
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19058
 
          hardcode_direct_GCJ=yes # is this really true???
19059
 
        ;;
19060
 
        siemens)
19061
 
          ## LD is ld it makes a PLAMLIB
19062
 
          ## CC just makes a GrossModule.
19063
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19064
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
19065
 
          hardcode_direct_GCJ=no
19066
 
        ;;
19067
 
        motorola)
19068
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19069
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
19070
 
        ;;
19071
 
      esac
19072
 
      runpath_var='LD_RUN_PATH'
19073
 
      hardcode_shlibpath_var_GCJ=no
19074
 
      ;;
19075
 
 
19076
 
    sysv4.3*)
19077
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19078
 
      hardcode_shlibpath_var_GCJ=no
19079
 
      export_dynamic_flag_spec_GCJ='-Bexport'
19080
 
      ;;
19081
 
 
19082
 
    sysv4*MP*)
19083
 
      if test -d /usr/nec; then
19084
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19085
 
        hardcode_shlibpath_var_GCJ=no
19086
 
        runpath_var=LD_RUN_PATH
19087
 
        hardcode_runpath_var=yes
19088
 
        ld_shlibs_GCJ=yes
19089
 
      fi
19090
 
      ;;
19091
 
 
19092
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19093
 
      no_undefined_flag_GCJ='${wl}-z,text'
19094
 
      archive_cmds_need_lc_GCJ=no
19095
 
      hardcode_shlibpath_var_GCJ=no
19096
 
      runpath_var='LD_RUN_PATH'
19097
 
 
19098
 
      if test "$GCC" = yes; then
19099
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19100
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19101
 
      else
19102
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19103
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19104
 
      fi
19105
 
      ;;
19106
 
 
19107
 
    sysv5* | sco3.2v5* | sco5v6*)
19108
 
      # Note: We can NOT use -z defs as we might desire, because we do not
19109
 
      # link with -lc, and that would cause any symbols used from libc to
19110
 
      # always be unresolved, which means just about no library would
19111
 
      # ever link correctly.  If we're not using GNU ld we use -z text
19112
 
      # though, which does catch some bad symbols but isn't as heavy-handed
19113
 
      # as -z defs.
19114
 
      no_undefined_flag_GCJ='${wl}-z,text'
19115
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
19116
 
      archive_cmds_need_lc_GCJ=no
19117
 
      hardcode_shlibpath_var_GCJ=no
19118
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19119
 
      hardcode_libdir_separator_GCJ=':'
19120
 
      link_all_deplibs_GCJ=yes
19121
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
19122
 
      runpath_var='LD_RUN_PATH'
19123
 
 
19124
 
      if test "$GCC" = yes; then
19125
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19126
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19127
 
      else
19128
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19129
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19130
 
      fi
19131
 
      ;;
19132
 
 
19133
 
    uts4*)
19134
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19135
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19136
 
      hardcode_shlibpath_var_GCJ=no
19137
 
      ;;
19138
 
 
19139
 
    *)
19140
 
      ld_shlibs_GCJ=no
19141
 
      ;;
19142
 
    esac
19143
 
  fi
19144
 
 
19145
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19146
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19147
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
19148
 
 
19149
 
#
19150
 
# Do we need to explicitly link libc?
19151
 
#
19152
 
case "x$archive_cmds_need_lc_GCJ" in
19153
 
x|xyes)
19154
 
  # Assume -lc should be added
19155
 
  archive_cmds_need_lc_GCJ=yes
19156
 
 
19157
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
19158
 
    case $archive_cmds_GCJ in
19159
 
    *'~'*)
19160
 
      # FIXME: we may have to deal with multi-command sequences.
19161
 
      ;;
19162
 
    '$CC '*)
19163
 
      # Test whether the compiler implicitly links with -lc since on some
19164
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
19165
 
      # to ld, don't add -lc before -lgcc.
19166
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19167
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19168
 
      $rm conftest*
19169
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19170
 
 
19171
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19172
 
  (eval $ac_compile) 2>&5
19173
 
  ac_status=$?
19174
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175
 
  (exit $ac_status); } 2>conftest.err; then
19176
 
        soname=conftest
19177
 
        lib=conftest
19178
 
        libobjs=conftest.$ac_objext
19179
 
        deplibs=
19180
 
        wl=$lt_prog_compiler_wl_GCJ
19181
 
        pic_flag=$lt_prog_compiler_pic_GCJ
19182
 
        compiler_flags=-v
19183
 
        linker_flags=-v
19184
 
        verstring=
19185
 
        output_objdir=.
19186
 
        libname=conftest
19187
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
19188
 
        allow_undefined_flag_GCJ=
19189
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19190
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19191
 
  ac_status=$?
19192
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193
 
  (exit $ac_status); }
19194
 
        then
19195
 
          archive_cmds_need_lc_GCJ=no
19196
 
        else
19197
 
          archive_cmds_need_lc_GCJ=yes
19198
 
        fi
19199
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
19200
 
      else
19201
 
        cat conftest.err 1>&5
19202
 
      fi
19203
 
      $rm conftest*
19204
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19205
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19206
 
      ;;
19207
 
    esac
19208
 
  fi
19209
 
  ;;
19210
 
esac
19211
 
 
19212
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19213
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19214
 
library_names_spec=
19215
 
libname_spec='lib$name'
19216
 
soname_spec=
19217
 
shrext_cmds=".so"
19218
 
postinstall_cmds=
19219
 
postuninstall_cmds=
19220
 
finish_cmds=
19221
 
finish_eval=
19222
 
shlibpath_var=
19223
 
shlibpath_overrides_runpath=unknown
19224
 
version_type=none
19225
 
dynamic_linker="$host_os ld.so"
19226
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19227
 
 
19228
 
need_lib_prefix=unknown
19229
 
hardcode_into_libs=no
19230
 
 
19231
 
# when you set need_version to no, make sure it does not cause -set_version
19232
 
# flags to be left without arguments
19233
 
need_version=unknown
19234
 
 
19235
 
case $host_os in
19236
 
aix3*)
19237
 
  version_type=linux
19238
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19239
 
  shlibpath_var=LIBPATH
19240
 
 
19241
 
  # AIX 3 has no versioning support, so we append a major version to the name.
19242
 
  soname_spec='${libname}${release}${shared_ext}$major'
19243
 
  ;;
19244
 
 
19245
 
aix4* | aix5*)
19246
 
  version_type=linux
19247
 
  need_lib_prefix=no
19248
 
  need_version=no
19249
 
  hardcode_into_libs=yes
19250
 
  if test "$host_cpu" = ia64; then
19251
 
    # AIX 5 supports IA64
19252
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19253
 
    shlibpath_var=LD_LIBRARY_PATH
19254
 
  else
19255
 
    # With GCC up to 2.95.x, collect2 would create an import file
19256
 
    # for dependence libraries.  The import file would start with
19257
 
    # the line `#! .'.  This would cause the generated library to
19258
 
    # depend on `.', always an invalid library.  This was fixed in
19259
 
    # development snapshots of GCC prior to 3.0.
19260
 
    case $host_os in
19261
 
      aix4 | aix4.[01] | aix4.[01].*)
19262
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19263
 
           echo ' yes '
19264
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19265
 
        :
19266
 
      else
19267
 
        can_build_shared=no
19268
 
      fi
19269
 
      ;;
19270
 
    esac
19271
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19272
 
    # soname into executable. Probably we can add versioning support to
19273
 
    # collect2, so additional links can be useful in future.
19274
 
    if test "$aix_use_runtimelinking" = yes; then
19275
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19276
 
      # instead of lib<name>.a to let people know that these are not
19277
 
      # typical AIX shared libraries.
19278
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19279
 
    else
19280
 
      # We preserve .a as extension for shared libraries through AIX4.2
19281
 
      # and later when we are not doing run time linking.
19282
 
      library_names_spec='${libname}${release}.a $libname.a'
19283
 
      soname_spec='${libname}${release}${shared_ext}$major'
19284
 
    fi
19285
 
    shlibpath_var=LIBPATH
19286
 
  fi
19287
 
  ;;
19288
 
 
19289
 
amigaos*)
19290
 
  library_names_spec='$libname.ixlibrary $libname.a'
19291
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
19292
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
19293
 
  ;;
19294
 
 
19295
 
beos*)
19296
 
  library_names_spec='${libname}${shared_ext}'
19297
 
  dynamic_linker="$host_os ld.so"
19298
 
  shlibpath_var=LIBRARY_PATH
19299
 
  ;;
19300
 
 
19301
 
bsdi[45]*)
19302
 
  version_type=linux
19303
 
  need_version=no
19304
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19305
 
  soname_spec='${libname}${release}${shared_ext}$major'
19306
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19307
 
  shlibpath_var=LD_LIBRARY_PATH
19308
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19309
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19310
 
  # the default ld.so.conf also contains /usr/contrib/lib and
19311
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19312
 
  # libtool to hard-code these into programs
19313
 
  ;;
19314
 
 
19315
 
cygwin* | mingw* | pw32*)
19316
 
  version_type=windows
19317
 
  shrext_cmds=".dll"
19318
 
  need_version=no
19319
 
  need_lib_prefix=no
19320
 
 
19321
 
  case $GCC,$host_os in
19322
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
19323
 
    library_names_spec='$libname.dll.a'
19324
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
19325
 
    postinstall_cmds='base_file=`basename \${file}`~
19326
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19327
 
      dldir=$destdir/`dirname \$dlpath`~
19328
 
      test -d \$dldir || mkdir -p \$dldir~
19329
 
      $install_prog $dir/$dlname \$dldir/$dlname~
19330
 
      chmod a+x \$dldir/$dlname'
19331
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19332
 
      dlpath=$dir/\$dldll~
19333
 
       $rm \$dlpath'
19334
 
    shlibpath_overrides_runpath=yes
19335
 
 
19336
 
    case $host_os in
19337
 
    cygwin*)
19338
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19339
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19340
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19341
 
      ;;
19342
 
    mingw*)
19343
 
      # MinGW DLLs use traditional 'lib' prefix
19344
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19345
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19346
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19347
 
        # It is most probably a Windows format PATH printed by
19348
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
19349
 
        # path with ; separators, and with drive letters. We can handle the
19350
 
        # drive letters (cygwin fileutils understands them), so leave them,
19351
 
        # especially as we might pass files found there to a mingw objdump,
19352
 
        # which wouldn't understand a cygwinified path. Ahh.
19353
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19354
 
      else
19355
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19356
 
      fi
19357
 
      ;;
19358
 
    pw32*)
19359
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
19360
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19361
 
      ;;
19362
 
    esac
19363
 
    ;;
19364
 
 
19365
 
  *)
19366
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19367
 
    ;;
19368
 
  esac
19369
 
  dynamic_linker='Win32 ld.exe'
19370
 
  # FIXME: first we should search . and the directory the executable is in
19371
 
  shlibpath_var=PATH
19372
 
  ;;
19373
 
 
19374
 
darwin* | rhapsody*)
19375
 
  dynamic_linker="$host_os dyld"
19376
 
  version_type=darwin
19377
 
  need_lib_prefix=no
19378
 
  need_version=no
19379
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19380
 
  soname_spec='${libname}${release}${major}$shared_ext'
19381
 
  shlibpath_overrides_runpath=yes
19382
 
  shlibpath_var=DYLD_LIBRARY_PATH
19383
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19384
 
 
19385
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19386
 
  ;;
19387
 
 
19388
 
dgux*)
19389
 
  version_type=linux
19390
 
  need_lib_prefix=no
19391
 
  need_version=no
19392
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19393
 
  soname_spec='${libname}${release}${shared_ext}$major'
19394
 
  shlibpath_var=LD_LIBRARY_PATH
19395
 
  ;;
19396
 
 
19397
 
freebsd1*)
19398
 
  dynamic_linker=no
19399
 
  ;;
19400
 
 
19401
 
freebsd* | dragonfly*)
19402
 
  # DragonFly does not have aout.  When/if they implement a new
19403
 
  # versioning mechanism, adjust this.
19404
 
  if test -x /usr/bin/objformat; then
19405
 
    objformat=`/usr/bin/objformat`
19406
 
  else
19407
 
    case $host_os in
19408
 
    freebsd[123]*) objformat=aout ;;
19409
 
    *) objformat=elf ;;
19410
 
    esac
19411
 
  fi
19412
 
  version_type=freebsd-$objformat
19413
 
  case $version_type in
19414
 
    freebsd-elf*)
19415
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19416
 
      need_version=no
19417
 
      need_lib_prefix=no
19418
 
      ;;
19419
 
    freebsd-*)
19420
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19421
 
      need_version=yes
19422
 
      ;;
19423
 
  esac
19424
 
  shlibpath_var=LD_LIBRARY_PATH
19425
 
  case $host_os in
19426
 
  freebsd2*)
19427
 
    shlibpath_overrides_runpath=yes
19428
 
    ;;
19429
 
  freebsd3.[01]* | freebsdelf3.[01]*)
19430
 
    shlibpath_overrides_runpath=yes
19431
 
    hardcode_into_libs=yes
19432
 
    ;;
19433
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19434
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19435
 
    shlibpath_overrides_runpath=no
19436
 
    hardcode_into_libs=yes
19437
 
    ;;
19438
 
  *) # from 4.6 on, and DragonFly
19439
 
    shlibpath_overrides_runpath=yes
19440
 
    hardcode_into_libs=yes
19441
 
    ;;
19442
 
  esac
19443
 
  ;;
19444
 
 
19445
 
gnu*)
19446
 
  version_type=linux
19447
 
  need_lib_prefix=no
19448
 
  need_version=no
19449
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19450
 
  soname_spec='${libname}${release}${shared_ext}$major'
19451
 
  shlibpath_var=LD_LIBRARY_PATH
19452
 
  hardcode_into_libs=yes
19453
 
  ;;
19454
 
 
19455
 
hpux9* | hpux10* | hpux11*)
19456
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
19457
 
  # link against other versions.
19458
 
  version_type=sunos
19459
 
  need_lib_prefix=no
19460
 
  need_version=no
19461
 
  case $host_cpu in
19462
 
  ia64*)
19463
 
    shrext_cmds='.so'
19464
 
    hardcode_into_libs=yes
19465
 
    dynamic_linker="$host_os dld.so"
19466
 
    shlibpath_var=LD_LIBRARY_PATH
19467
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19468
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19469
 
    soname_spec='${libname}${release}${shared_ext}$major'
19470
 
    if test "X$HPUX_IA64_MODE" = X32; then
19471
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19472
 
    else
19473
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19474
 
    fi
19475
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19476
 
    ;;
19477
 
   hppa*64*)
19478
 
     shrext_cmds='.sl'
19479
 
     hardcode_into_libs=yes
19480
 
     dynamic_linker="$host_os dld.sl"
19481
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19482
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19483
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19484
 
     soname_spec='${libname}${release}${shared_ext}$major'
19485
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19486
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19487
 
     ;;
19488
 
   *)
19489
 
    shrext_cmds='.sl'
19490
 
    dynamic_linker="$host_os dld.sl"
19491
 
    shlibpath_var=SHLIB_PATH
19492
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19493
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19494
 
    soname_spec='${libname}${release}${shared_ext}$major'
19495
 
    ;;
19496
 
  esac
19497
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
19498
 
  postinstall_cmds='chmod 555 $lib'
19499
 
  ;;
19500
 
 
19501
 
interix[3-9]*)
19502
 
  version_type=linux
19503
 
  need_lib_prefix=no
19504
 
  need_version=no
19505
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19506
 
  soname_spec='${libname}${release}${shared_ext}$major'
19507
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19508
 
  shlibpath_var=LD_LIBRARY_PATH
19509
 
  shlibpath_overrides_runpath=no
19510
 
  hardcode_into_libs=yes
19511
 
  ;;
19512
 
 
19513
 
irix5* | irix6* | nonstopux*)
19514
 
  case $host_os in
19515
 
    nonstopux*) version_type=nonstopux ;;
19516
 
    *)
19517
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
19518
 
                version_type=linux
19519
 
        else
19520
 
                version_type=irix
19521
 
        fi ;;
19522
 
  esac
19523
 
  need_lib_prefix=no
19524
 
  need_version=no
19525
 
  soname_spec='${libname}${release}${shared_ext}$major'
19526
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19527
 
  case $host_os in
19528
 
  irix5* | nonstopux*)
19529
 
    libsuff= shlibsuff=
19530
 
    ;;
19531
 
  *)
19532
 
    case $LD in # libtool.m4 will add one of these switches to LD
19533
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19534
 
      libsuff= shlibsuff= libmagic=32-bit;;
19535
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19536
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
19537
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19538
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
19539
 
    *) libsuff= shlibsuff= libmagic=never-match;;
19540
 
    esac
19541
 
    ;;
19542
 
  esac
19543
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19544
 
  shlibpath_overrides_runpath=no
19545
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19546
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19547
 
  hardcode_into_libs=yes
19548
 
  ;;
19549
 
 
19550
 
# No shared lib support for Linux oldld, aout, or coff.
19551
 
linux*oldld* | linux*aout* | linux*coff*)
19552
 
  dynamic_linker=no
19553
 
  ;;
19554
 
 
19555
 
# This must be Linux ELF.
19556
 
linux* | k*bsd*-gnu)
19557
 
  version_type=linux
19558
 
  need_lib_prefix=no
19559
 
  need_version=no
19560
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19561
 
  soname_spec='${libname}${release}${shared_ext}$major'
19562
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19563
 
  shlibpath_var=LD_LIBRARY_PATH
19564
 
  shlibpath_overrides_runpath=no
19565
 
  # This implies no fast_install, which is unacceptable.
19566
 
  # Some rework will be needed to allow for fast_install
19567
 
  # before this can be enabled.
19568
 
  hardcode_into_libs=yes
19569
 
 
19570
 
  # Append ld.so.conf contents to the search path
19571
 
  if test -f /etc/ld.so.conf; then
19572
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19573
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19574
 
  fi
19575
 
 
19576
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
19577
 
  # powerpc, because MkLinux only supported shared libraries with the
19578
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
19579
 
  # most powerpc-linux boxes support dynamic linking these days and
19580
 
  # people can always --disable-shared, the test was removed, and we
19581
 
  # assume the GNU/Linux dynamic linker is in use.
19582
 
  dynamic_linker='GNU/Linux ld.so'
19583
 
  ;;
19584
 
 
19585
 
netbsdelf*-gnu)
19586
 
  version_type=linux
19587
 
  need_lib_prefix=no
19588
 
  need_version=no
19589
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19590
 
  soname_spec='${libname}${release}${shared_ext}$major'
19591
 
  shlibpath_var=LD_LIBRARY_PATH
19592
 
  shlibpath_overrides_runpath=no
19593
 
  hardcode_into_libs=yes
19594
 
  dynamic_linker='NetBSD ld.elf_so'
19595
 
  ;;
19596
 
 
19597
 
netbsd*)
19598
 
  version_type=sunos
19599
 
  need_lib_prefix=no
19600
 
  need_version=no
19601
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19602
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19603
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19604
 
    dynamic_linker='NetBSD (a.out) ld.so'
19605
 
  else
19606
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19607
 
    soname_spec='${libname}${release}${shared_ext}$major'
19608
 
    dynamic_linker='NetBSD ld.elf_so'
19609
 
  fi
19610
 
  shlibpath_var=LD_LIBRARY_PATH
19611
 
  shlibpath_overrides_runpath=yes
19612
 
  hardcode_into_libs=yes
19613
 
  ;;
19614
 
 
19615
 
newsos6)
19616
 
  version_type=linux
19617
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19618
 
  shlibpath_var=LD_LIBRARY_PATH
19619
 
  shlibpath_overrides_runpath=yes
19620
 
  ;;
19621
 
 
19622
 
nto-qnx*)
19623
 
  version_type=linux
19624
 
  need_lib_prefix=no
19625
 
  need_version=no
19626
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19627
 
  soname_spec='${libname}${release}${shared_ext}$major'
19628
 
  shlibpath_var=LD_LIBRARY_PATH
19629
 
  shlibpath_overrides_runpath=yes
19630
 
  ;;
19631
 
 
19632
 
openbsd*)
19633
 
  version_type=sunos
19634
 
  sys_lib_dlsearch_path_spec="/usr/lib"
19635
 
  need_lib_prefix=no
19636
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19637
 
  case $host_os in
19638
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19639
 
    *)                         need_version=no  ;;
19640
 
  esac
19641
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19642
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19643
 
  shlibpath_var=LD_LIBRARY_PATH
19644
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19645
 
    case $host_os in
19646
 
      openbsd2.[89] | openbsd2.[89].*)
19647
 
        shlibpath_overrides_runpath=no
19648
 
        ;;
19649
 
      *)
19650
 
        shlibpath_overrides_runpath=yes
19651
 
        ;;
19652
 
      esac
19653
 
  else
19654
 
    shlibpath_overrides_runpath=yes
19655
 
  fi
19656
 
  ;;
19657
 
 
19658
 
os2*)
19659
 
  libname_spec='$name'
19660
 
  shrext_cmds=".dll"
19661
 
  need_lib_prefix=no
19662
 
  library_names_spec='$libname${shared_ext} $libname.a'
19663
 
  dynamic_linker='OS/2 ld.exe'
19664
 
  shlibpath_var=LIBPATH
19665
 
  ;;
19666
 
 
19667
 
osf3* | osf4* | osf5*)
19668
 
  version_type=osf
19669
 
  need_lib_prefix=no
19670
 
  need_version=no
19671
 
  soname_spec='${libname}${release}${shared_ext}$major'
19672
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19673
 
  shlibpath_var=LD_LIBRARY_PATH
19674
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19675
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19676
 
  ;;
19677
 
 
19678
 
rdos*)
19679
 
  dynamic_linker=no
19680
 
  ;;
19681
 
 
19682
 
solaris*)
19683
 
  version_type=linux
19684
 
  need_lib_prefix=no
19685
 
  need_version=no
19686
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19687
 
  soname_spec='${libname}${release}${shared_ext}$major'
19688
 
  shlibpath_var=LD_LIBRARY_PATH
19689
 
  shlibpath_overrides_runpath=yes
19690
 
  hardcode_into_libs=yes
19691
 
  # ldd complains unless libraries are executable
19692
 
  postinstall_cmds='chmod +x $lib'
19693
 
  ;;
19694
 
 
19695
 
sunos4*)
19696
 
  version_type=sunos
19697
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19698
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19699
 
  shlibpath_var=LD_LIBRARY_PATH
19700
 
  shlibpath_overrides_runpath=yes
19701
 
  if test "$with_gnu_ld" = yes; then
19702
 
    need_lib_prefix=no
19703
 
  fi
19704
 
  need_version=yes
19705
 
  ;;
19706
 
 
19707
 
sysv4 | sysv4.3*)
19708
 
  version_type=linux
19709
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19710
 
  soname_spec='${libname}${release}${shared_ext}$major'
19711
 
  shlibpath_var=LD_LIBRARY_PATH
19712
 
  case $host_vendor in
19713
 
    sni)
19714
 
      shlibpath_overrides_runpath=no
19715
 
      need_lib_prefix=no
19716
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
19717
 
      runpath_var=LD_RUN_PATH
19718
 
      ;;
19719
 
    siemens)
19720
 
      need_lib_prefix=no
19721
 
      ;;
19722
 
    motorola)
19723
 
      need_lib_prefix=no
19724
 
      need_version=no
19725
 
      shlibpath_overrides_runpath=no
19726
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19727
 
      ;;
19728
 
  esac
19729
 
  ;;
19730
 
 
19731
 
sysv4*MP*)
19732
 
  if test -d /usr/nec ;then
19733
 
    version_type=linux
19734
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19735
 
    soname_spec='$libname${shared_ext}.$major'
19736
 
    shlibpath_var=LD_LIBRARY_PATH
19737
 
  fi
19738
 
  ;;
19739
 
 
19740
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19741
 
  version_type=freebsd-elf
19742
 
  need_lib_prefix=no
19743
 
  need_version=no
19744
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19745
 
  soname_spec='${libname}${release}${shared_ext}$major'
19746
 
  shlibpath_var=LD_LIBRARY_PATH
19747
 
  hardcode_into_libs=yes
19748
 
  if test "$with_gnu_ld" = yes; then
19749
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19750
 
    shlibpath_overrides_runpath=no
19751
 
  else
19752
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19753
 
    shlibpath_overrides_runpath=yes
19754
 
    case $host_os in
19755
 
      sco3.2v5*)
19756
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19757
 
        ;;
19758
 
    esac
19759
 
  fi
19760
 
  sys_lib_dlsearch_path_spec='/usr/lib'
19761
 
  ;;
19762
 
 
19763
 
uts4*)
19764
 
  version_type=linux
19765
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19766
 
  soname_spec='${libname}${release}${shared_ext}$major'
19767
 
  shlibpath_var=LD_LIBRARY_PATH
19768
 
  ;;
19769
 
 
19770
 
*)
19771
 
  dynamic_linker=no
19772
 
  ;;
19773
 
esac
19774
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19775
 
echo "${ECHO_T}$dynamic_linker" >&6; }
19776
 
test "$dynamic_linker" = no && can_build_shared=no
19777
 
 
19778
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19779
 
if test "$GCC" = yes; then
19780
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19781
 
fi
19782
 
 
19783
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19784
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19785
 
hardcode_action_GCJ=
19786
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19787
 
   test -n "$runpath_var_GCJ" || \
19788
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19789
 
 
19790
 
  # We can hardcode non-existant directories.
19791
 
  if test "$hardcode_direct_GCJ" != no &&
19792
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
19793
 
     # have to relink, otherwise we might link with an installed library
19794
 
     # when we should be linking with a yet-to-be-installed one
19795
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19796
 
     test "$hardcode_minus_L_GCJ" != no; then
19797
 
    # Linking always hardcodes the temporary library directory.
19798
 
    hardcode_action_GCJ=relink
19799
 
  else
19800
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
19801
 
    hardcode_action_GCJ=immediate
19802
 
  fi
19803
 
else
19804
 
  # We cannot hardcode anything, or else we can only hardcode existing
19805
 
  # directories.
19806
 
  hardcode_action_GCJ=unsupported
19807
 
fi
19808
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19809
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19810
 
 
19811
 
if test "$hardcode_action_GCJ" = relink; then
19812
 
  # Fast installation is not supported
19813
 
  enable_fast_install=no
19814
 
elif test "$shlibpath_overrides_runpath" = yes ||
19815
 
     test "$enable_shared" = no; then
19816
 
  # Fast installation is not necessary
19817
 
  enable_fast_install=needless
19818
 
fi
19819
 
 
19820
 
 
19821
 
# The else clause should only fire when bootstrapping the
19822
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19823
 
# with your package, and you will get complaints that there are
19824
 
# no rules to generate ltmain.sh.
19825
 
if test -f "$ltmain"; then
19826
 
  # See if we are running on zsh, and set the options which allow our commands through
19827
 
  # without removal of \ escapes.
19828
 
  if test -n "${ZSH_VERSION+set}" ; then
19829
 
    setopt NO_GLOB_SUBST
19830
 
  fi
19831
 
  # Now quote all the things that may contain metacharacters while being
19832
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19833
 
  # variables and quote the copies for generation of the libtool script.
19834
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19835
 
    SED SHELL STRIP \
19836
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19837
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19838
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19839
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19840
 
    lt_cv_sys_global_symbol_to_c_name_address \
19841
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19842
 
    old_postinstall_cmds old_postuninstall_cmds \
19843
 
    compiler_GCJ \
19844
 
    CC_GCJ \
19845
 
    LD_GCJ \
19846
 
    lt_prog_compiler_wl_GCJ \
19847
 
    lt_prog_compiler_pic_GCJ \
19848
 
    lt_prog_compiler_static_GCJ \
19849
 
    lt_prog_compiler_no_builtin_flag_GCJ \
19850
 
    export_dynamic_flag_spec_GCJ \
19851
 
    thread_safe_flag_spec_GCJ \
19852
 
    whole_archive_flag_spec_GCJ \
19853
 
    enable_shared_with_static_runtimes_GCJ \
19854
 
    old_archive_cmds_GCJ \
19855
 
    old_archive_from_new_cmds_GCJ \
19856
 
    predep_objects_GCJ \
19857
 
    postdep_objects_GCJ \
19858
 
    predeps_GCJ \
19859
 
    postdeps_GCJ \
19860
 
    compiler_lib_search_path_GCJ \
19861
 
    archive_cmds_GCJ \
19862
 
    archive_expsym_cmds_GCJ \
19863
 
    postinstall_cmds_GCJ \
19864
 
    postuninstall_cmds_GCJ \
19865
 
    old_archive_from_expsyms_cmds_GCJ \
19866
 
    allow_undefined_flag_GCJ \
19867
 
    no_undefined_flag_GCJ \
19868
 
    export_symbols_cmds_GCJ \
19869
 
    hardcode_libdir_flag_spec_GCJ \
19870
 
    hardcode_libdir_flag_spec_ld_GCJ \
19871
 
    hardcode_libdir_separator_GCJ \
19872
 
    hardcode_automatic_GCJ \
19873
 
    module_cmds_GCJ \
19874
 
    module_expsym_cmds_GCJ \
19875
 
    lt_cv_prog_compiler_c_o_GCJ \
19876
 
    fix_srcfile_path_GCJ \
19877
 
    exclude_expsyms_GCJ \
19878
 
    include_expsyms_GCJ; do
19879
 
 
19880
 
    case $var in
19881
 
    old_archive_cmds_GCJ | \
19882
 
    old_archive_from_new_cmds_GCJ | \
19883
 
    archive_cmds_GCJ | \
19884
 
    archive_expsym_cmds_GCJ | \
19885
 
    module_cmds_GCJ | \
19886
 
    module_expsym_cmds_GCJ | \
19887
 
    old_archive_from_expsyms_cmds_GCJ | \
19888
 
    export_symbols_cmds_GCJ | \
19889
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19890
 
    postinstall_cmds | postuninstall_cmds | \
19891
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19892
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19893
 
      # Double-quote double-evaled strings.
19894
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19895
 
      ;;
19896
 
    *)
19897
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19898
 
      ;;
19899
 
    esac
19900
 
  done
19901
 
 
19902
 
  case $lt_echo in
19903
 
  *'\$0 --fallback-echo"')
19904
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19905
 
    ;;
19906
 
  esac
19907
 
 
19908
 
cfgfile="$ofile"
19909
 
 
19910
 
  cat <<__EOF__ >> "$cfgfile"
19911
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19912
 
 
19913
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19914
 
 
19915
 
# Shell to use when invoking shell scripts.
19916
 
SHELL=$lt_SHELL
19917
 
 
19918
 
# Whether or not to build shared libraries.
19919
 
build_libtool_libs=$enable_shared
19920
 
 
19921
 
# Whether or not to build static libraries.
19922
 
build_old_libs=$enable_static
19923
 
 
19924
 
# Whether or not to add -lc for building shared libraries.
19925
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19926
 
 
19927
 
# Whether or not to disallow shared libs when runtime libs are static
19928
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19929
 
 
19930
 
# Whether or not to optimize for fast installation.
19931
 
fast_install=$enable_fast_install
19932
 
 
19933
 
# The host system.
19934
 
host_alias=$host_alias
19935
 
host=$host
19936
 
host_os=$host_os
19937
 
 
19938
 
# The build system.
19939
 
build_alias=$build_alias
19940
 
build=$build
19941
 
build_os=$build_os
19942
 
 
19943
 
# An echo program that does not interpret backslashes.
19944
 
echo=$lt_echo
19945
 
 
19946
 
# The archiver.
19947
 
AR=$lt_AR
19948
 
AR_FLAGS=$lt_AR_FLAGS
19949
 
 
19950
 
# A C compiler.
19951
 
LTCC=$lt_LTCC
19952
 
 
19953
 
# LTCC compiler flags.
19954
 
LTCFLAGS=$lt_LTCFLAGS
19955
 
 
19956
 
# A language-specific compiler.
19957
 
CC=$lt_compiler_GCJ
19958
 
 
19959
 
# Is the compiler the GNU C compiler?
19960
 
with_gcc=$GCC_GCJ
19961
 
 
19962
 
# An ERE matcher.
19963
 
EGREP=$lt_EGREP
19964
 
 
19965
 
# The linker used to build libraries.
19966
 
LD=$lt_LD_GCJ
19967
 
 
19968
 
# Whether we need hard or soft links.
19969
 
LN_S=$lt_LN_S
19970
 
 
19971
 
# A BSD-compatible nm program.
19972
 
NM=$lt_NM
19973
 
 
19974
 
# A symbol stripping program
19975
 
STRIP=$lt_STRIP
19976
 
 
19977
 
# Used to examine libraries when file_magic_cmd begins "file"
19978
 
MAGIC_CMD=$MAGIC_CMD
19979
 
 
19980
 
# Used on cygwin: DLL creation program.
19981
 
DLLTOOL="$DLLTOOL"
19982
 
 
19983
 
# Used on cygwin: object dumper.
19984
 
OBJDUMP="$OBJDUMP"
19985
 
 
19986
 
# Used on cygwin: assembler.
19987
 
AS="$AS"
19988
 
 
19989
 
# The name of the directory that contains temporary libtool files.
19990
 
objdir=$objdir
19991
 
 
19992
 
# How to create reloadable object files.
19993
 
reload_flag=$lt_reload_flag
19994
 
reload_cmds=$lt_reload_cmds
19995
 
 
19996
 
# How to pass a linker flag through the compiler.
19997
 
wl=$lt_lt_prog_compiler_wl_GCJ
19998
 
 
19999
 
# Object file suffix (normally "o").
20000
 
objext="$ac_objext"
20001
 
 
20002
 
# Old archive suffix (normally "a").
20003
 
libext="$libext"
20004
 
 
20005
 
# Shared library suffix (normally ".so").
20006
 
shrext_cmds='$shrext_cmds'
20007
 
 
20008
 
# Executable file suffix (normally "").
20009
 
exeext="$exeext"
20010
 
 
20011
 
# Additional compiler flags for building library objects.
20012
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
20013
 
pic_mode=$pic_mode
20014
 
 
20015
 
# What is the maximum length of a command?
20016
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20017
 
 
20018
 
# Does compiler simultaneously support -c and -o options?
20019
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20020
 
 
20021
 
# Must we lock files when doing compilation?
20022
 
need_locks=$lt_need_locks
20023
 
 
20024
 
# Do we need the lib prefix for modules?
20025
 
need_lib_prefix=$need_lib_prefix
20026
 
 
20027
 
# Do we need a version for libraries?
20028
 
need_version=$need_version
20029
 
 
20030
 
# Whether dlopen is supported.
20031
 
dlopen_support=$enable_dlopen
20032
 
 
20033
 
# Whether dlopen of programs is supported.
20034
 
dlopen_self=$enable_dlopen_self
20035
 
 
20036
 
# Whether dlopen of statically linked programs is supported.
20037
 
dlopen_self_static=$enable_dlopen_self_static
20038
 
 
20039
 
# Compiler flag to prevent dynamic linking.
20040
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
20041
 
 
20042
 
# Compiler flag to turn off builtin functions.
20043
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20044
 
 
20045
 
# Compiler flag to allow reflexive dlopens.
20046
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20047
 
 
20048
 
# Compiler flag to generate shared objects directly from archives.
20049
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20050
 
 
20051
 
# Compiler flag to generate thread-safe objects.
20052
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20053
 
 
20054
 
# Library versioning type.
20055
 
version_type=$version_type
20056
 
 
20057
 
# Format of library name prefix.
20058
 
libname_spec=$lt_libname_spec
20059
 
 
20060
 
# List of archive names.  First name is the real one, the rest are links.
20061
 
# The last name is the one that the linker finds with -lNAME.
20062
 
library_names_spec=$lt_library_names_spec
20063
 
 
20064
 
# The coded name of the library, if different from the real name.
20065
 
soname_spec=$lt_soname_spec
20066
 
 
20067
 
# Commands used to build and install an old-style archive.
20068
 
RANLIB=$lt_RANLIB
20069
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
20070
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20071
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20072
 
 
20073
 
# Create an old-style archive from a shared archive.
20074
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20075
 
 
20076
 
# Create a temporary old-style archive to link instead of a shared archive.
20077
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20078
 
 
20079
 
# Commands used to build and install a shared archive.
20080
 
archive_cmds=$lt_archive_cmds_GCJ
20081
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20082
 
postinstall_cmds=$lt_postinstall_cmds
20083
 
postuninstall_cmds=$lt_postuninstall_cmds
20084
 
 
20085
 
# Commands used to build a loadable module (assumed same as above if empty)
20086
 
module_cmds=$lt_module_cmds_GCJ
20087
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20088
 
 
20089
 
# Commands to strip libraries.
20090
 
old_striplib=$lt_old_striplib
20091
 
striplib=$lt_striplib
20092
 
 
20093
 
# Dependencies to place before the objects being linked to create a
20094
 
# shared library.
20095
 
predep_objects=$lt_predep_objects_GCJ
20096
 
 
20097
 
# Dependencies to place after the objects being linked to create a
20098
 
# shared library.
20099
 
postdep_objects=$lt_postdep_objects_GCJ
20100
 
 
20101
 
# Dependencies to place before the objects being linked to create a
20102
 
# shared library.
20103
 
predeps=$lt_predeps_GCJ
20104
 
 
20105
 
# Dependencies to place after the objects being linked to create a
20106
 
# shared library.
20107
 
postdeps=$lt_postdeps_GCJ
20108
 
 
20109
 
# The library search path used internally by the compiler when linking
20110
 
# a shared library.
20111
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20112
 
 
20113
 
# Method to check whether dependent libraries are shared objects.
20114
 
deplibs_check_method=$lt_deplibs_check_method
20115
 
 
20116
 
# Command to use when deplibs_check_method == file_magic.
20117
 
file_magic_cmd=$lt_file_magic_cmd
20118
 
 
20119
 
# Flag that allows shared libraries with undefined symbols to be built.
20120
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20121
 
 
20122
 
# Flag that forces no undefined symbols.
20123
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
20124
 
 
20125
 
# Commands used to finish a libtool library installation in a directory.
20126
 
finish_cmds=$lt_finish_cmds
20127
 
 
20128
 
# Same as above, but a single script fragment to be evaled but not shown.
20129
 
finish_eval=$lt_finish_eval
20130
 
 
20131
 
# Take the output of nm and produce a listing of raw symbols and C names.
20132
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20133
 
 
20134
 
# Transform the output of nm in a proper C declaration
20135
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20136
 
 
20137
 
# Transform the output of nm in a C name address pair
20138
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20139
 
 
20140
 
# This is the shared library runtime path variable.
20141
 
runpath_var=$runpath_var
20142
 
 
20143
 
# This is the shared library path variable.
20144
 
shlibpath_var=$shlibpath_var
20145
 
 
20146
 
# Is shlibpath searched before the hard-coded library search path?
20147
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20148
 
 
20149
 
# How to hardcode a shared library path into an executable.
20150
 
hardcode_action=$hardcode_action_GCJ
20151
 
 
20152
 
# Whether we should hardcode library paths into libraries.
20153
 
hardcode_into_libs=$hardcode_into_libs
20154
 
 
20155
 
# Flag to hardcode \$libdir into a binary during linking.
20156
 
# This must work even if \$libdir does not exist.
20157
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20158
 
 
20159
 
# If ld is used when linking, flag to hardcode \$libdir into
20160
 
# a binary during linking. This must work even if \$libdir does
20161
 
# not exist.
20162
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20163
 
 
20164
 
# Whether we need a single -rpath flag with a separated argument.
20165
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20166
 
 
20167
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20168
 
# resulting binary.
20169
 
hardcode_direct=$hardcode_direct_GCJ
20170
 
 
20171
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20172
 
# resulting binary.
20173
 
hardcode_minus_L=$hardcode_minus_L_GCJ
20174
 
 
20175
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20176
 
# the resulting binary.
20177
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20178
 
 
20179
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20180
 
# and all subsequent libraries and executables linked against it.
20181
 
hardcode_automatic=$hardcode_automatic_GCJ
20182
 
 
20183
 
# Variables whose values should be saved in libtool wrapper scripts and
20184
 
# restored at relink time.
20185
 
variables_saved_for_relink="$variables_saved_for_relink"
20186
 
 
20187
 
# Whether libtool must link a program against all its dependency libraries.
20188
 
link_all_deplibs=$link_all_deplibs_GCJ
20189
 
 
20190
 
# Compile-time system search path for libraries
20191
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20192
 
 
20193
 
# Run-time system search path for libraries
20194
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20195
 
 
20196
 
# Fix the shell variable \$srcfile for the compiler.
20197
 
fix_srcfile_path=$lt_fix_srcfile_path
20198
 
 
20199
 
# Set to yes if exported symbols are required.
20200
 
always_export_symbols=$always_export_symbols_GCJ
20201
 
 
20202
 
# The commands to list exported symbols.
20203
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20204
 
 
20205
 
# The commands to extract the exported symbol list from a shared archive.
20206
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20207
 
 
20208
 
# Symbols that should not be listed in the preloaded symbols.
20209
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
20210
 
 
20211
 
# Symbols that must always be exported.
20212
 
include_expsyms=$lt_include_expsyms_GCJ
20213
 
 
20214
 
# ### END LIBTOOL TAG CONFIG: $tagname
20215
 
 
20216
 
__EOF__
20217
 
 
20218
 
 
20219
 
else
20220
 
  # If there is no Makefile yet, we rely on a make rule to execute
20221
 
  # `config.status --recheck' to rerun these tests and create the
20222
 
  # libtool script then.
20223
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20224
 
  if test -f "$ltmain_in"; then
20225
 
    test -f Makefile && make "$ltmain"
20226
 
  fi
20227
 
fi
20228
 
 
20229
 
 
20230
 
ac_ext=c
20231
 
ac_cpp='$CPP $CPPFLAGS'
20232
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20233
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20234
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20235
 
 
20236
 
CC="$lt_save_CC"
20237
 
 
20238
 
        else
20239
 
          tagname=""
20240
 
        fi
20241
 
        ;;
20242
 
 
20243
 
      RC)
20244
 
 
20245
 
 
20246
 
# Source file extension for RC test sources.
20247
 
ac_ext=rc
20248
 
 
20249
 
# Object file extension for compiled RC test sources.
20250
 
objext=o
20251
 
objext_RC=$objext
20252
 
 
20253
 
# Code to be used in simple compile tests
20254
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20255
 
 
20256
 
# Code to be used in simple link tests
20257
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
20258
 
 
20259
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
20260
 
 
20261
 
# If no C compiler was specified, use CC.
20262
 
LTCC=${LTCC-"$CC"}
20263
 
 
20264
 
# If no C compiler flags were specified, use CFLAGS.
20265
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20266
 
 
20267
 
# Allow CC to be a program name with arguments.
20268
 
compiler=$CC
20269
 
 
20270
 
 
20271
 
# save warnings/boilerplate of simple test code
20272
 
ac_outfile=conftest.$ac_objext
20273
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20274
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20275
 
_lt_compiler_boilerplate=`cat conftest.err`
20276
 
$rm conftest*
20277
 
 
20278
 
ac_outfile=conftest.$ac_objext
20279
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20280
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20281
 
_lt_linker_boilerplate=`cat conftest.err`
20282
 
$rm conftest*
20283
 
 
20284
 
 
20285
 
# Allow CC to be a program name with arguments.
20286
 
lt_save_CC="$CC"
20287
 
CC=${RC-"windres"}
20288
 
compiler=$CC
20289
 
compiler_RC=$CC
20290
 
for cc_temp in $compiler""; do
20291
 
  case $cc_temp in
20292
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20293
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20294
 
    \-*) ;;
20295
 
    *) break;;
20296
 
  esac
20297
 
done
20298
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20299
 
 
20300
 
lt_cv_prog_compiler_c_o_RC=yes
20301
 
 
20302
 
# The else clause should only fire when bootstrapping the
20303
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
20304
 
# with your package, and you will get complaints that there are
20305
 
# no rules to generate ltmain.sh.
20306
 
if test -f "$ltmain"; then
20307
 
  # See if we are running on zsh, and set the options which allow our commands through
20308
 
  # without removal of \ escapes.
20309
 
  if test -n "${ZSH_VERSION+set}" ; then
20310
 
    setopt NO_GLOB_SUBST
20311
 
  fi
20312
 
  # Now quote all the things that may contain metacharacters while being
20313
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
20314
 
  # variables and quote the copies for generation of the libtool script.
20315
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20316
 
    SED SHELL STRIP \
20317
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20318
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20319
 
    deplibs_check_method reload_flag reload_cmds need_locks \
20320
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20321
 
    lt_cv_sys_global_symbol_to_c_name_address \
20322
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20323
 
    old_postinstall_cmds old_postuninstall_cmds \
20324
 
    compiler_RC \
20325
 
    CC_RC \
20326
 
    LD_RC \
20327
 
    lt_prog_compiler_wl_RC \
20328
 
    lt_prog_compiler_pic_RC \
20329
 
    lt_prog_compiler_static_RC \
20330
 
    lt_prog_compiler_no_builtin_flag_RC \
20331
 
    export_dynamic_flag_spec_RC \
20332
 
    thread_safe_flag_spec_RC \
20333
 
    whole_archive_flag_spec_RC \
20334
 
    enable_shared_with_static_runtimes_RC \
20335
 
    old_archive_cmds_RC \
20336
 
    old_archive_from_new_cmds_RC \
20337
 
    predep_objects_RC \
20338
 
    postdep_objects_RC \
20339
 
    predeps_RC \
20340
 
    postdeps_RC \
20341
 
    compiler_lib_search_path_RC \
20342
 
    archive_cmds_RC \
20343
 
    archive_expsym_cmds_RC \
20344
 
    postinstall_cmds_RC \
20345
 
    postuninstall_cmds_RC \
20346
 
    old_archive_from_expsyms_cmds_RC \
20347
 
    allow_undefined_flag_RC \
20348
 
    no_undefined_flag_RC \
20349
 
    export_symbols_cmds_RC \
20350
 
    hardcode_libdir_flag_spec_RC \
20351
 
    hardcode_libdir_flag_spec_ld_RC \
20352
 
    hardcode_libdir_separator_RC \
20353
 
    hardcode_automatic_RC \
20354
 
    module_cmds_RC \
20355
 
    module_expsym_cmds_RC \
20356
 
    lt_cv_prog_compiler_c_o_RC \
20357
 
    fix_srcfile_path_RC \
20358
 
    exclude_expsyms_RC \
20359
 
    include_expsyms_RC; do
20360
 
 
20361
 
    case $var in
20362
 
    old_archive_cmds_RC | \
20363
 
    old_archive_from_new_cmds_RC | \
20364
 
    archive_cmds_RC | \
20365
 
    archive_expsym_cmds_RC | \
20366
 
    module_cmds_RC | \
20367
 
    module_expsym_cmds_RC | \
20368
 
    old_archive_from_expsyms_cmds_RC | \
20369
 
    export_symbols_cmds_RC | \
20370
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
20371
 
    postinstall_cmds | postuninstall_cmds | \
20372
 
    old_postinstall_cmds | old_postuninstall_cmds | \
20373
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20374
 
      # Double-quote double-evaled strings.
20375
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20376
 
      ;;
20377
 
    *)
20378
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20379
 
      ;;
20380
 
    esac
20381
 
  done
20382
 
 
20383
 
  case $lt_echo in
20384
 
  *'\$0 --fallback-echo"')
20385
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20386
 
    ;;
20387
 
  esac
20388
 
 
20389
 
cfgfile="$ofile"
20390
 
 
20391
 
  cat <<__EOF__ >> "$cfgfile"
20392
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20393
 
 
20394
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20395
 
 
20396
 
# Shell to use when invoking shell scripts.
20397
 
SHELL=$lt_SHELL
20398
 
 
20399
 
# Whether or not to build shared libraries.
20400
 
build_libtool_libs=$enable_shared
20401
 
 
20402
 
# Whether or not to build static libraries.
20403
 
build_old_libs=$enable_static
20404
 
 
20405
 
# Whether or not to add -lc for building shared libraries.
20406
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
20407
 
 
20408
 
# Whether or not to disallow shared libs when runtime libs are static
20409
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20410
 
 
20411
 
# Whether or not to optimize for fast installation.
20412
 
fast_install=$enable_fast_install
20413
 
 
20414
 
# The host system.
20415
 
host_alias=$host_alias
20416
 
host=$host
20417
 
host_os=$host_os
20418
 
 
20419
 
# The build system.
20420
 
build_alias=$build_alias
20421
 
build=$build
20422
 
build_os=$build_os
20423
 
 
20424
 
# An echo program that does not interpret backslashes.
20425
 
echo=$lt_echo
20426
 
 
20427
 
# The archiver.
20428
 
AR=$lt_AR
20429
 
AR_FLAGS=$lt_AR_FLAGS
20430
 
 
20431
 
# A C compiler.
20432
 
LTCC=$lt_LTCC
20433
 
 
20434
 
# LTCC compiler flags.
20435
 
LTCFLAGS=$lt_LTCFLAGS
20436
 
 
20437
 
# A language-specific compiler.
20438
 
CC=$lt_compiler_RC
20439
 
 
20440
 
# Is the compiler the GNU C compiler?
20441
 
with_gcc=$GCC_RC
20442
 
 
20443
 
# An ERE matcher.
20444
 
EGREP=$lt_EGREP
20445
 
 
20446
 
# The linker used to build libraries.
20447
 
LD=$lt_LD_RC
20448
 
 
20449
 
# Whether we need hard or soft links.
20450
 
LN_S=$lt_LN_S
20451
 
 
20452
 
# A BSD-compatible nm program.
20453
 
NM=$lt_NM
20454
 
 
20455
 
# A symbol stripping program
20456
 
STRIP=$lt_STRIP
20457
 
 
20458
 
# Used to examine libraries when file_magic_cmd begins "file"
20459
 
MAGIC_CMD=$MAGIC_CMD
20460
 
 
20461
 
# Used on cygwin: DLL creation program.
20462
 
DLLTOOL="$DLLTOOL"
20463
 
 
20464
 
# Used on cygwin: object dumper.
20465
 
OBJDUMP="$OBJDUMP"
20466
 
 
20467
 
# Used on cygwin: assembler.
20468
 
AS="$AS"
20469
 
 
20470
 
# The name of the directory that contains temporary libtool files.
20471
 
objdir=$objdir
20472
 
 
20473
 
# How to create reloadable object files.
20474
 
reload_flag=$lt_reload_flag
20475
 
reload_cmds=$lt_reload_cmds
20476
 
 
20477
 
# How to pass a linker flag through the compiler.
20478
 
wl=$lt_lt_prog_compiler_wl_RC
20479
 
 
20480
 
# Object file suffix (normally "o").
20481
 
objext="$ac_objext"
20482
 
 
20483
 
# Old archive suffix (normally "a").
20484
 
libext="$libext"
20485
 
 
20486
 
# Shared library suffix (normally ".so").
20487
 
shrext_cmds='$shrext_cmds'
20488
 
 
20489
 
# Executable file suffix (normally "").
20490
 
exeext="$exeext"
20491
 
 
20492
 
# Additional compiler flags for building library objects.
20493
 
pic_flag=$lt_lt_prog_compiler_pic_RC
20494
 
pic_mode=$pic_mode
20495
 
 
20496
 
# What is the maximum length of a command?
20497
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20498
 
 
20499
 
# Does compiler simultaneously support -c and -o options?
20500
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20501
 
 
20502
 
# Must we lock files when doing compilation?
20503
 
need_locks=$lt_need_locks
20504
 
 
20505
 
# Do we need the lib prefix for modules?
20506
 
need_lib_prefix=$need_lib_prefix
20507
 
 
20508
 
# Do we need a version for libraries?
20509
 
need_version=$need_version
20510
 
 
20511
 
# Whether dlopen is supported.
20512
 
dlopen_support=$enable_dlopen
20513
 
 
20514
 
# Whether dlopen of programs is supported.
20515
 
dlopen_self=$enable_dlopen_self
20516
 
 
20517
 
# Whether dlopen of statically linked programs is supported.
20518
 
dlopen_self_static=$enable_dlopen_self_static
20519
 
 
20520
 
# Compiler flag to prevent dynamic linking.
20521
 
link_static_flag=$lt_lt_prog_compiler_static_RC
20522
 
 
20523
 
# Compiler flag to turn off builtin functions.
20524
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20525
 
 
20526
 
# Compiler flag to allow reflexive dlopens.
20527
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20528
 
 
20529
 
# Compiler flag to generate shared objects directly from archives.
20530
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20531
 
 
20532
 
# Compiler flag to generate thread-safe objects.
20533
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20534
 
 
20535
 
# Library versioning type.
20536
 
version_type=$version_type
20537
 
 
20538
 
# Format of library name prefix.
20539
 
libname_spec=$lt_libname_spec
20540
 
 
20541
 
# List of archive names.  First name is the real one, the rest are links.
20542
 
# The last name is the one that the linker finds with -lNAME.
20543
 
library_names_spec=$lt_library_names_spec
20544
 
 
20545
 
# The coded name of the library, if different from the real name.
20546
 
soname_spec=$lt_soname_spec
20547
 
 
20548
 
# Commands used to build and install an old-style archive.
20549
 
RANLIB=$lt_RANLIB
20550
 
old_archive_cmds=$lt_old_archive_cmds_RC
20551
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20552
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20553
 
 
20554
 
# Create an old-style archive from a shared archive.
20555
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20556
 
 
20557
 
# Create a temporary old-style archive to link instead of a shared archive.
20558
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20559
 
 
20560
 
# Commands used to build and install a shared archive.
20561
 
archive_cmds=$lt_archive_cmds_RC
20562
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20563
 
postinstall_cmds=$lt_postinstall_cmds
20564
 
postuninstall_cmds=$lt_postuninstall_cmds
20565
 
 
20566
 
# Commands used to build a loadable module (assumed same as above if empty)
20567
 
module_cmds=$lt_module_cmds_RC
20568
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
20569
 
 
20570
 
# Commands to strip libraries.
20571
 
old_striplib=$lt_old_striplib
20572
 
striplib=$lt_striplib
20573
 
 
20574
 
# Dependencies to place before the objects being linked to create a
20575
 
# shared library.
20576
 
predep_objects=$lt_predep_objects_RC
20577
 
 
20578
 
# Dependencies to place after the objects being linked to create a
20579
 
# shared library.
20580
 
postdep_objects=$lt_postdep_objects_RC
20581
 
 
20582
 
# Dependencies to place before the objects being linked to create a
20583
 
# shared library.
20584
 
predeps=$lt_predeps_RC
20585
 
 
20586
 
# Dependencies to place after the objects being linked to create a
20587
 
# shared library.
20588
 
postdeps=$lt_postdeps_RC
20589
 
 
20590
 
# The library search path used internally by the compiler when linking
20591
 
# a shared library.
20592
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20593
 
 
20594
 
# Method to check whether dependent libraries are shared objects.
20595
 
deplibs_check_method=$lt_deplibs_check_method
20596
 
 
20597
 
# Command to use when deplibs_check_method == file_magic.
20598
 
file_magic_cmd=$lt_file_magic_cmd
20599
 
 
20600
 
# Flag that allows shared libraries with undefined symbols to be built.
20601
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
20602
 
 
20603
 
# Flag that forces no undefined symbols.
20604
 
no_undefined_flag=$lt_no_undefined_flag_RC
20605
 
 
20606
 
# Commands used to finish a libtool library installation in a directory.
20607
 
finish_cmds=$lt_finish_cmds
20608
 
 
20609
 
# Same as above, but a single script fragment to be evaled but not shown.
20610
 
finish_eval=$lt_finish_eval
20611
 
 
20612
 
# Take the output of nm and produce a listing of raw symbols and C names.
20613
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20614
 
 
20615
 
# Transform the output of nm in a proper C declaration
20616
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20617
 
 
20618
 
# Transform the output of nm in a C name address pair
20619
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20620
 
 
20621
 
# This is the shared library runtime path variable.
20622
 
runpath_var=$runpath_var
20623
 
 
20624
 
# This is the shared library path variable.
20625
 
shlibpath_var=$shlibpath_var
20626
 
 
20627
 
# Is shlibpath searched before the hard-coded library search path?
20628
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20629
 
 
20630
 
# How to hardcode a shared library path into an executable.
20631
 
hardcode_action=$hardcode_action_RC
20632
 
 
20633
 
# Whether we should hardcode library paths into libraries.
20634
 
hardcode_into_libs=$hardcode_into_libs
20635
 
 
20636
 
# Flag to hardcode \$libdir into a binary during linking.
20637
 
# This must work even if \$libdir does not exist.
20638
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20639
 
 
20640
 
# If ld is used when linking, flag to hardcode \$libdir into
20641
 
# a binary during linking. This must work even if \$libdir does
20642
 
# not exist.
20643
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20644
 
 
20645
 
# Whether we need a single -rpath flag with a separated argument.
20646
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20647
 
 
20648
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20649
 
# resulting binary.
20650
 
hardcode_direct=$hardcode_direct_RC
20651
 
 
20652
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20653
 
# resulting binary.
20654
 
hardcode_minus_L=$hardcode_minus_L_RC
20655
 
 
20656
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20657
 
# the resulting binary.
20658
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20659
 
 
20660
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20661
 
# and all subsequent libraries and executables linked against it.
20662
 
hardcode_automatic=$hardcode_automatic_RC
20663
 
 
20664
 
# Variables whose values should be saved in libtool wrapper scripts and
20665
 
# restored at relink time.
20666
 
variables_saved_for_relink="$variables_saved_for_relink"
20667
 
 
20668
 
# Whether libtool must link a program against all its dependency libraries.
20669
 
link_all_deplibs=$link_all_deplibs_RC
20670
 
 
20671
 
# Compile-time system search path for libraries
20672
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20673
 
 
20674
 
# Run-time system search path for libraries
20675
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20676
 
 
20677
 
# Fix the shell variable \$srcfile for the compiler.
20678
 
fix_srcfile_path=$lt_fix_srcfile_path
20679
 
 
20680
 
# Set to yes if exported symbols are required.
20681
 
always_export_symbols=$always_export_symbols_RC
20682
 
 
20683
 
# The commands to list exported symbols.
20684
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
20685
 
 
20686
 
# The commands to extract the exported symbol list from a shared archive.
20687
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20688
 
 
20689
 
# Symbols that should not be listed in the preloaded symbols.
20690
 
exclude_expsyms=$lt_exclude_expsyms_RC
20691
 
 
20692
 
# Symbols that must always be exported.
20693
 
include_expsyms=$lt_include_expsyms_RC
20694
 
 
20695
 
# ### END LIBTOOL TAG CONFIG: $tagname
20696
 
 
20697
 
__EOF__
20698
 
 
20699
 
 
20700
 
else
20701
 
  # If there is no Makefile yet, we rely on a make rule to execute
20702
 
  # `config.status --recheck' to rerun these tests and create the
20703
 
  # libtool script then.
20704
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20705
 
  if test -f "$ltmain_in"; then
20706
 
    test -f Makefile && make "$ltmain"
20707
 
  fi
20708
 
fi
20709
 
 
20710
 
 
20711
 
ac_ext=c
20712
 
ac_cpp='$CPP $CPPFLAGS'
20713
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20714
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20715
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20716
 
 
20717
 
CC="$lt_save_CC"
20718
 
 
20719
 
        ;;
20720
 
 
20721
 
      *)
20722
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20723
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20724
 
   { (exit 1); exit 1; }; }
20725
 
        ;;
20726
 
      esac
20727
 
 
20728
 
      # Append the new tag name to the list of available tags.
20729
 
      if test -n "$tagname" ; then
20730
 
      available_tags="$available_tags $tagname"
20731
 
    fi
20732
 
    fi
20733
 
  done
20734
 
  IFS="$lt_save_ifs"
20735
 
 
20736
 
  # Now substitute the updated list of available tags.
20737
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20738
 
    mv "${ofile}T" "$ofile"
20739
 
    chmod +x "$ofile"
20740
 
  else
20741
 
    rm -f "${ofile}T"
20742
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20743
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20744
 
   { (exit 1); exit 1; }; }
20745
 
  fi
20746
 
fi
20747
 
 
20748
 
 
20749
 
 
20750
 
# This can be used to rebuild libtool when needed
20751
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
20752
 
 
20753
 
# Always use our own libtool.
20754
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20755
 
 
20756
 
# Prevent multiple expansion
20757
 
 
20758
 
 
20759
 
 
20760
 
 
20761
 
 
20762
 
 
20763
 
 
20764
 
 
20765
 
 
20766
 
 
20767
 
 
20768
 
 
20769
 
 
20770
 
 
20771
 
 
20772
 
 
20773
 
 
20774
 
 
20775
 
 
20776
 
 
20777
 
 
20778
 
 
20779
 
 
 
15551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
 
15552
$as_echo "$hardcode_action_CXX" >&6; }
 
15553
 
 
15554
if test "$hardcode_action_CXX" = relink ||
 
15555
   test "$inherit_rpath_CXX" = yes; then
 
15556
  # Fast installation is not supported
 
15557
  enable_fast_install=no
 
15558
elif test "$shlibpath_overrides_runpath" = yes ||
 
15559
     test "$enable_shared" = no; then
 
15560
  # Fast installation is not necessary
 
15561
  enable_fast_install=needless
 
15562
fi
 
15563
 
 
15564
 
 
15565
 
 
15566
 
 
15567
 
 
15568
 
 
15569
 
 
15570
  fi # test -n "$compiler"
 
15571
 
 
15572
  CC=$lt_save_CC
 
15573
  LDCXX=$LD
 
15574
  LD=$lt_save_LD
 
15575
  GCC=$lt_save_GCC
 
15576
  with_gnu_ld=$lt_save_with_gnu_ld
 
15577
  lt_cv_path_LDCXX=$lt_cv_path_LD
 
15578
  lt_cv_path_LD=$lt_save_path_LD
 
15579
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
15580
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
15581
fi # test "$_lt_caught_CXX_error" != yes
 
15582
 
 
15583
ac_ext=c
 
15584
ac_cpp='$CPP $CPPFLAGS'
 
15585
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15586
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15587
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15588
 
 
15589
 
 
15590
 
 
15591
 
 
15592
 
 
15593
 
 
15594
 
 
15595
 
 
15596
 
 
15597
 
 
15598
 
 
15599
 
 
15600
 
 
15601
        ac_config_commands="$ac_config_commands libtool"
 
15602
 
 
15603
 
 
15604
 
 
15605
 
 
15606
# Only expand once:
20780
15607
 
20781
15608
 
20782
15609
 
20783
15610
ac_header_dirent=no
20784
15611
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
20785
 
  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
20786
 
{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
20787
 
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
20788
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20789
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15612
  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 
15613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
 
15614
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
 
15615
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
 
15616
  $as_echo_n "(cached) " >&6
20790
15617
else
20791
 
  cat >conftest.$ac_ext <<_ACEOF
20792
 
/* confdefs.h.  */
20793
 
_ACEOF
20794
 
cat confdefs.h >>conftest.$ac_ext
20795
 
cat >>conftest.$ac_ext <<_ACEOF
 
15618
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20796
15619
/* end confdefs.h.  */
20797
15620
#include <sys/types.h>
20798
15621
#include <$ac_hdr>
20806
15629
  return 0;
20807
15630
}
20808
15631
_ACEOF
20809
 
rm -f conftest.$ac_objext
20810
 
if { (ac_try="$ac_compile"
20811
 
case "(($ac_try" in
20812
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20813
 
  *) ac_try_echo=$ac_try;;
20814
 
esac
20815
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20816
 
  (eval "$ac_compile") 2>conftest.er1
20817
 
  ac_status=$?
20818
 
  grep -v '^ *+' conftest.er1 >conftest.err
20819
 
  rm -f conftest.er1
20820
 
  cat conftest.err >&5
20821
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822
 
  (exit $ac_status); } && {
20823
 
         test -z "$ac_c_werror_flag" ||
20824
 
         test ! -s conftest.err
20825
 
       } && test -s conftest.$ac_objext; then
 
15632
if ac_fn_c_try_compile "$LINENO"; then :
20826
15633
  eval "$as_ac_Header=yes"
20827
15634
else
20828
 
  echo "$as_me: failed program was:" >&5
20829
 
sed 's/^/| /' conftest.$ac_ext >&5
20830
 
 
20831
 
        eval "$as_ac_Header=no"
 
15635
  eval "$as_ac_Header=no"
20832
15636
fi
20833
 
 
20834
15637
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20835
15638
fi
20836
 
ac_res=`eval echo '${'$as_ac_Header'}'`
20837
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20838
 
echo "${ECHO_T}$ac_res" >&6; }
20839
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
15639
eval ac_res=\$$as_ac_Header
 
15640
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
15641
$as_echo "$ac_res" >&6; }
 
15642
eval as_val=\$$as_ac_Header
 
15643
   if test "x$as_val" = x""yes; then :
20840
15644
  cat >>confdefs.h <<_ACEOF
20841
 
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 
15645
#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
20842
15646
_ACEOF
20843
15647
 
20844
15648
ac_header_dirent=$ac_hdr; break
20847
15651
done
20848
15652
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20849
15653
if test $ac_header_dirent = dirent.h; then
20850
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
20851
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
20852
 
if test "${ac_cv_search_opendir+set}" = set; then
20853
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15654
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 
15655
$as_echo_n "checking for library containing opendir... " >&6; }
 
15656
if test "${ac_cv_search_opendir+set}" = set; then :
 
15657
  $as_echo_n "(cached) " >&6
20854
15658
else
20855
15659
  ac_func_search_save_LIBS=$LIBS
20856
 
cat >conftest.$ac_ext <<_ACEOF
20857
 
/* confdefs.h.  */
20858
 
_ACEOF
20859
 
cat confdefs.h >>conftest.$ac_ext
20860
 
cat >>conftest.$ac_ext <<_ACEOF
 
15660
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20861
15661
/* end confdefs.h.  */
20862
15662
 
20863
15663
/* Override any GCC internal prototype to avoid an error.
20882
15682
    ac_res=-l$ac_lib
20883
15683
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20884
15684
  fi
20885
 
  rm -f conftest.$ac_objext conftest$ac_exeext
20886
 
if { (ac_try="$ac_link"
20887
 
case "(($ac_try" in
20888
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20889
 
  *) ac_try_echo=$ac_try;;
20890
 
esac
20891
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20892
 
  (eval "$ac_link") 2>conftest.er1
20893
 
  ac_status=$?
20894
 
  grep -v '^ *+' conftest.er1 >conftest.err
20895
 
  rm -f conftest.er1
20896
 
  cat conftest.err >&5
20897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898
 
  (exit $ac_status); } && {
20899
 
         test -z "$ac_c_werror_flag" ||
20900
 
         test ! -s conftest.err
20901
 
       } && test -s conftest$ac_exeext &&
20902
 
       $as_test_x conftest$ac_exeext; then
 
15685
  if ac_fn_c_try_link "$LINENO"; then :
20903
15686
  ac_cv_search_opendir=$ac_res
20904
 
else
20905
 
  echo "$as_me: failed program was:" >&5
20906
 
sed 's/^/| /' conftest.$ac_ext >&5
20907
 
 
20908
 
 
20909
15687
fi
20910
 
 
20911
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20912
 
      conftest$ac_exeext
20913
 
  if test "${ac_cv_search_opendir+set}" = set; then
 
15688
rm -f core conftest.err conftest.$ac_objext \
 
15689
    conftest$ac_exeext
 
15690
  if test "${ac_cv_search_opendir+set}" = set; then :
20914
15691
  break
20915
15692
fi
20916
15693
done
20917
 
if test "${ac_cv_search_opendir+set}" = set; then
20918
 
  :
 
15694
if test "${ac_cv_search_opendir+set}" = set; then :
 
15695
 
20919
15696
else
20920
15697
  ac_cv_search_opendir=no
20921
15698
fi
20922
15699
rm conftest.$ac_ext
20923
15700
LIBS=$ac_func_search_save_LIBS
20924
15701
fi
20925
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
20926
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
 
15702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 
15703
$as_echo "$ac_cv_search_opendir" >&6; }
20927
15704
ac_res=$ac_cv_search_opendir
20928
 
if test "$ac_res" != no; then
 
15705
if test "$ac_res" != no; then :
20929
15706
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20930
15707
 
20931
15708
fi
20932
15709
 
20933
15710
else
20934
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
20935
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
20936
 
if test "${ac_cv_search_opendir+set}" = set; then
20937
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15711
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 
15712
$as_echo_n "checking for library containing opendir... " >&6; }
 
15713
if test "${ac_cv_search_opendir+set}" = set; then :
 
15714
  $as_echo_n "(cached) " >&6
20938
15715
else
20939
15716
  ac_func_search_save_LIBS=$LIBS
20940
 
cat >conftest.$ac_ext <<_ACEOF
20941
 
/* confdefs.h.  */
20942
 
_ACEOF
20943
 
cat confdefs.h >>conftest.$ac_ext
20944
 
cat >>conftest.$ac_ext <<_ACEOF
 
15717
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20945
15718
/* end confdefs.h.  */
20946
15719
 
20947
15720
/* Override any GCC internal prototype to avoid an error.
20966
15739
    ac_res=-l$ac_lib
20967
15740
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20968
15741
  fi
20969
 
  rm -f conftest.$ac_objext conftest$ac_exeext
20970
 
if { (ac_try="$ac_link"
20971
 
case "(($ac_try" in
20972
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20973
 
  *) ac_try_echo=$ac_try;;
20974
 
esac
20975
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20976
 
  (eval "$ac_link") 2>conftest.er1
20977
 
  ac_status=$?
20978
 
  grep -v '^ *+' conftest.er1 >conftest.err
20979
 
  rm -f conftest.er1
20980
 
  cat conftest.err >&5
20981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982
 
  (exit $ac_status); } && {
20983
 
         test -z "$ac_c_werror_flag" ||
20984
 
         test ! -s conftest.err
20985
 
       } && test -s conftest$ac_exeext &&
20986
 
       $as_test_x conftest$ac_exeext; then
 
15742
  if ac_fn_c_try_link "$LINENO"; then :
20987
15743
  ac_cv_search_opendir=$ac_res
20988
 
else
20989
 
  echo "$as_me: failed program was:" >&5
20990
 
sed 's/^/| /' conftest.$ac_ext >&5
20991
 
 
20992
 
 
20993
15744
fi
20994
 
 
20995
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20996
 
      conftest$ac_exeext
20997
 
  if test "${ac_cv_search_opendir+set}" = set; then
 
15745
rm -f core conftest.err conftest.$ac_objext \
 
15746
    conftest$ac_exeext
 
15747
  if test "${ac_cv_search_opendir+set}" = set; then :
20998
15748
  break
20999
15749
fi
21000
15750
done
21001
 
if test "${ac_cv_search_opendir+set}" = set; then
21002
 
  :
 
15751
if test "${ac_cv_search_opendir+set}" = set; then :
 
15752
 
21003
15753
else
21004
15754
  ac_cv_search_opendir=no
21005
15755
fi
21006
15756
rm conftest.$ac_ext
21007
15757
LIBS=$ac_func_search_save_LIBS
21008
15758
fi
21009
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
21010
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
 
15759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 
15760
$as_echo "$ac_cv_search_opendir" >&6; }
21011
15761
ac_res=$ac_cv_search_opendir
21012
 
if test "$ac_res" != no; then
 
15762
if test "$ac_res" != no; then :
21013
15763
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21014
15764
 
21015
15765
fi
21016
15766
 
21017
15767
fi
21018
15768
 
21019
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21020
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21021
 
if test "${ac_cv_header_stdc+set}" = set; then
21022
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
15770
$as_echo_n "checking for ANSI C header files... " >&6; }
 
15771
if test "${ac_cv_header_stdc+set}" = set; then :
 
15772
  $as_echo_n "(cached) " >&6
21023
15773
else
21024
 
  cat >conftest.$ac_ext <<_ACEOF
21025
 
/* confdefs.h.  */
21026
 
_ACEOF
21027
 
cat confdefs.h >>conftest.$ac_ext
21028
 
cat >>conftest.$ac_ext <<_ACEOF
 
15774
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21029
15775
/* end confdefs.h.  */
21030
15776
#include <stdlib.h>
21031
15777
#include <stdarg.h>
21040
15786
  return 0;
21041
15787
}
21042
15788
_ACEOF
21043
 
rm -f conftest.$ac_objext
21044
 
if { (ac_try="$ac_compile"
21045
 
case "(($ac_try" in
21046
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21047
 
  *) ac_try_echo=$ac_try;;
21048
 
esac
21049
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21050
 
  (eval "$ac_compile") 2>conftest.er1
21051
 
  ac_status=$?
21052
 
  grep -v '^ *+' conftest.er1 >conftest.err
21053
 
  rm -f conftest.er1
21054
 
  cat conftest.err >&5
21055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056
 
  (exit $ac_status); } && {
21057
 
         test -z "$ac_c_werror_flag" ||
21058
 
         test ! -s conftest.err
21059
 
       } && test -s conftest.$ac_objext; then
 
15789
if ac_fn_c_try_compile "$LINENO"; then :
21060
15790
  ac_cv_header_stdc=yes
21061
15791
else
21062
 
  echo "$as_me: failed program was:" >&5
21063
 
sed 's/^/| /' conftest.$ac_ext >&5
21064
 
 
21065
 
        ac_cv_header_stdc=no
 
15792
  ac_cv_header_stdc=no
21066
15793
fi
21067
 
 
21068
15794
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21069
15795
 
21070
15796
if test $ac_cv_header_stdc = yes; then
21071
15797
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21072
 
  cat >conftest.$ac_ext <<_ACEOF
21073
 
/* confdefs.h.  */
21074
 
_ACEOF
21075
 
cat confdefs.h >>conftest.$ac_ext
21076
 
cat >>conftest.$ac_ext <<_ACEOF
 
15798
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21077
15799
/* end confdefs.h.  */
21078
15800
#include <string.h>
21079
15801
 
21080
15802
_ACEOF
21081
15803
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21082
 
  $EGREP "memchr" >/dev/null 2>&1; then
21083
 
  :
 
15804
  $EGREP "memchr" >/dev/null 2>&1; then :
 
15805
 
21084
15806
else
21085
15807
  ac_cv_header_stdc=no
21086
15808
fi
21090
15812
 
21091
15813
if test $ac_cv_header_stdc = yes; then
21092
15814
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21093
 
  cat >conftest.$ac_ext <<_ACEOF
21094
 
/* confdefs.h.  */
21095
 
_ACEOF
21096
 
cat confdefs.h >>conftest.$ac_ext
21097
 
cat >>conftest.$ac_ext <<_ACEOF
 
15815
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21098
15816
/* end confdefs.h.  */
21099
15817
#include <stdlib.h>
21100
15818
 
21101
15819
_ACEOF
21102
15820
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21103
 
  $EGREP "free" >/dev/null 2>&1; then
21104
 
  :
 
15821
  $EGREP "free" >/dev/null 2>&1; then :
 
15822
 
21105
15823
else
21106
15824
  ac_cv_header_stdc=no
21107
15825
fi
21111
15829
 
21112
15830
if test $ac_cv_header_stdc = yes; then
21113
15831
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21114
 
  if test "$cross_compiling" = yes; then
 
15832
  if test "$cross_compiling" = yes; then :
21115
15833
  :
21116
15834
else
21117
 
  cat >conftest.$ac_ext <<_ACEOF
21118
 
/* confdefs.h.  */
21119
 
_ACEOF
21120
 
cat confdefs.h >>conftest.$ac_ext
21121
 
cat >>conftest.$ac_ext <<_ACEOF
 
15835
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21122
15836
/* end confdefs.h.  */
21123
15837
#include <ctype.h>
21124
15838
#include <stdlib.h>
21145
15859
  return 0;
21146
15860
}
21147
15861
_ACEOF
21148
 
rm -f conftest$ac_exeext
21149
 
if { (ac_try="$ac_link"
21150
 
case "(($ac_try" in
21151
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21152
 
  *) ac_try_echo=$ac_try;;
21153
 
esac
21154
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21155
 
  (eval "$ac_link") 2>&5
21156
 
  ac_status=$?
21157
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21159
 
  { (case "(($ac_try" in
21160
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21161
 
  *) ac_try_echo=$ac_try;;
21162
 
esac
21163
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21164
 
  (eval "$ac_try") 2>&5
21165
 
  ac_status=$?
21166
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167
 
  (exit $ac_status); }; }; then
21168
 
  :
 
15862
if ac_fn_c_try_run "$LINENO"; then :
 
15863
 
21169
15864
else
21170
 
  echo "$as_me: program exited with status $ac_status" >&5
21171
 
echo "$as_me: failed program was:" >&5
21172
 
sed 's/^/| /' conftest.$ac_ext >&5
21173
 
 
21174
 
( exit $ac_status )
21175
 
ac_cv_header_stdc=no
21176
 
fi
21177
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21178
 
fi
21179
 
 
21180
 
 
21181
 
fi
21182
 
fi
21183
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21184
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
15865
  ac_cv_header_stdc=no
 
15866
fi
 
15867
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
15868
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
15869
fi
 
15870
 
 
15871
fi
 
15872
fi
 
15873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
15874
$as_echo "$ac_cv_header_stdc" >&6; }
21185
15875
if test $ac_cv_header_stdc = yes; then
21186
15876
 
21187
 
cat >>confdefs.h <<\_ACEOF
21188
 
#define STDC_HEADERS 1
21189
 
_ACEOF
 
15877
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
21190
15878
 
21191
15879
fi
21192
15880
 
21193
 
 
21194
 
 
21195
 
 
21196
 
 
21197
 
 
21198
 
 
21199
 
 
21200
15881
for ac_header in fcntl.h limits.h stdlib.h string.h sys/param.h unistd.h malloc.h
21201
 
do
21202
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21203
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21204
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21205
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21206
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21207
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21208
 
fi
21209
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21210
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21211
 
echo "${ECHO_T}$ac_res" >&6; }
21212
 
else
21213
 
  # Is the header compilable?
21214
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21215
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21216
 
cat >conftest.$ac_ext <<_ACEOF
21217
 
/* confdefs.h.  */
21218
 
_ACEOF
21219
 
cat confdefs.h >>conftest.$ac_ext
21220
 
cat >>conftest.$ac_ext <<_ACEOF
21221
 
/* end confdefs.h.  */
21222
 
$ac_includes_default
21223
 
#include <$ac_header>
21224
 
_ACEOF
21225
 
rm -f conftest.$ac_objext
21226
 
if { (ac_try="$ac_compile"
21227
 
case "(($ac_try" in
21228
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21229
 
  *) ac_try_echo=$ac_try;;
21230
 
esac
21231
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232
 
  (eval "$ac_compile") 2>conftest.er1
21233
 
  ac_status=$?
21234
 
  grep -v '^ *+' conftest.er1 >conftest.err
21235
 
  rm -f conftest.er1
21236
 
  cat conftest.err >&5
21237
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238
 
  (exit $ac_status); } && {
21239
 
         test -z "$ac_c_werror_flag" ||
21240
 
         test ! -s conftest.err
21241
 
       } && test -s conftest.$ac_objext; then
21242
 
  ac_header_compiler=yes
21243
 
else
21244
 
  echo "$as_me: failed program was:" >&5
21245
 
sed 's/^/| /' conftest.$ac_ext >&5
21246
 
 
21247
 
        ac_header_compiler=no
21248
 
fi
21249
 
 
21250
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21251
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21252
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
21253
 
 
21254
 
# Is the header present?
21255
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21256
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21257
 
cat >conftest.$ac_ext <<_ACEOF
21258
 
/* confdefs.h.  */
21259
 
_ACEOF
21260
 
cat confdefs.h >>conftest.$ac_ext
21261
 
cat >>conftest.$ac_ext <<_ACEOF
21262
 
/* end confdefs.h.  */
21263
 
#include <$ac_header>
21264
 
_ACEOF
21265
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21266
 
case "(($ac_try" in
21267
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21268
 
  *) ac_try_echo=$ac_try;;
21269
 
esac
21270
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21271
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21272
 
  ac_status=$?
21273
 
  grep -v '^ *+' conftest.er1 >conftest.err
21274
 
  rm -f conftest.er1
21275
 
  cat conftest.err >&5
21276
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277
 
  (exit $ac_status); } >/dev/null && {
21278
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21279
 
         test ! -s conftest.err
21280
 
       }; then
21281
 
  ac_header_preproc=yes
21282
 
else
21283
 
  echo "$as_me: failed program was:" >&5
21284
 
sed 's/^/| /' conftest.$ac_ext >&5
21285
 
 
21286
 
  ac_header_preproc=no
21287
 
fi
21288
 
 
21289
 
rm -f conftest.err conftest.$ac_ext
21290
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21291
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
21292
 
 
21293
 
# So?  What about this header?
21294
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21295
 
  yes:no: )
21296
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21297
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21298
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21299
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21300
 
    ac_header_preproc=yes
21301
 
    ;;
21302
 
  no:yes:* )
21303
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21304
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21305
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21306
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21307
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21308
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21309
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21310
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21311
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21312
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21313
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21314
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21315
 
 
21316
 
    ;;
21317
 
esac
21318
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21319
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21320
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21321
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21322
 
else
21323
 
  eval "$as_ac_Header=\$ac_header_preproc"
21324
 
fi
21325
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21326
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21327
 
echo "${ECHO_T}$ac_res" >&6; }
21328
 
 
21329
 
fi
21330
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
15882
do :
 
15883
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
15884
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
15885
eval as_val=\$$as_ac_Header
 
15886
   if test "x$as_val" = x""yes; then :
21331
15887
  cat >>confdefs.h <<_ACEOF
21332
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
15888
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21333
15889
_ACEOF
21334
15890
 
21335
15891
fi
21337
15893
done
21338
15894
 
21339
15895
 
21340
 
{ echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
21341
 
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
21342
 
if test "${ac_cv_header_stdbool_h+set}" = set; then
21343
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
 
15897
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
 
15898
if test "${ac_cv_header_stdbool_h+set}" = set; then :
 
15899
  $as_echo_n "(cached) " >&6
21344
15900
else
21345
 
  cat >conftest.$ac_ext <<_ACEOF
21346
 
/* confdefs.h.  */
21347
 
_ACEOF
21348
 
cat confdefs.h >>conftest.$ac_ext
21349
 
cat >>conftest.$ac_ext <<_ACEOF
 
15901
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21350
15902
/* end confdefs.h.  */
21351
15903
 
21352
15904
#include <stdbool.h>
21381
15933
        char h[sizeof (_Bool)];
21382
15934
        char i[sizeof s.t];
21383
15935
        enum { j = false, k = true, l = false * true, m = true * 256 };
 
15936
        /* The following fails for
 
15937
           HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
21384
15938
        _Bool n[m];
21385
15939
        char o[sizeof n == m * sizeof n[0] ? 1 : -1];
21386
15940
        char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
21424
15978
  return 0;
21425
15979
}
21426
15980
_ACEOF
21427
 
rm -f conftest.$ac_objext
21428
 
if { (ac_try="$ac_compile"
21429
 
case "(($ac_try" in
21430
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21431
 
  *) ac_try_echo=$ac_try;;
21432
 
esac
21433
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21434
 
  (eval "$ac_compile") 2>conftest.er1
21435
 
  ac_status=$?
21436
 
  grep -v '^ *+' conftest.er1 >conftest.err
21437
 
  rm -f conftest.er1
21438
 
  cat conftest.err >&5
21439
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440
 
  (exit $ac_status); } && {
21441
 
         test -z "$ac_c_werror_flag" ||
21442
 
         test ! -s conftest.err
21443
 
       } && test -s conftest.$ac_objext; then
 
15981
if ac_fn_c_try_compile "$LINENO"; then :
21444
15982
  ac_cv_header_stdbool_h=yes
21445
15983
else
21446
 
  echo "$as_me: failed program was:" >&5
21447
 
sed 's/^/| /' conftest.$ac_ext >&5
21448
 
 
21449
 
        ac_cv_header_stdbool_h=no
21450
 
fi
21451
 
 
21452
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21453
 
fi
21454
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
21455
 
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
21456
 
{ echo "$as_me:$LINENO: checking for _Bool" >&5
21457
 
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
21458
 
if test "${ac_cv_type__Bool+set}" = set; then
21459
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21460
 
else
21461
 
  cat >conftest.$ac_ext <<_ACEOF
21462
 
/* confdefs.h.  */
21463
 
_ACEOF
21464
 
cat confdefs.h >>conftest.$ac_ext
21465
 
cat >>conftest.$ac_ext <<_ACEOF
21466
 
/* end confdefs.h.  */
21467
 
$ac_includes_default
21468
 
typedef _Bool ac__type_new_;
21469
 
int
21470
 
main ()
21471
 
{
21472
 
if ((ac__type_new_ *) 0)
21473
 
  return 0;
21474
 
if (sizeof (ac__type_new_))
21475
 
  return 0;
21476
 
  ;
21477
 
  return 0;
21478
 
}
21479
 
_ACEOF
21480
 
rm -f conftest.$ac_objext
21481
 
if { (ac_try="$ac_compile"
21482
 
case "(($ac_try" in
21483
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21484
 
  *) ac_try_echo=$ac_try;;
21485
 
esac
21486
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21487
 
  (eval "$ac_compile") 2>conftest.er1
21488
 
  ac_status=$?
21489
 
  grep -v '^ *+' conftest.er1 >conftest.err
21490
 
  rm -f conftest.er1
21491
 
  cat conftest.err >&5
21492
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493
 
  (exit $ac_status); } && {
21494
 
         test -z "$ac_c_werror_flag" ||
21495
 
         test ! -s conftest.err
21496
 
       } && test -s conftest.$ac_objext; then
21497
 
  ac_cv_type__Bool=yes
21498
 
else
21499
 
  echo "$as_me: failed program was:" >&5
21500
 
sed 's/^/| /' conftest.$ac_ext >&5
21501
 
 
21502
 
        ac_cv_type__Bool=no
21503
 
fi
21504
 
 
21505
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21506
 
fi
21507
 
{ echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
21508
 
echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
21509
 
if test $ac_cv_type__Bool = yes; then
 
15984
  ac_cv_header_stdbool_h=no
 
15985
fi
 
15986
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15987
fi
 
15988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
 
15989
$as_echo "$ac_cv_header_stdbool_h" >&6; }
 
15990
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
 
15991
if test "x$ac_cv_type__Bool" = x""yes; then :
21510
15992
 
21511
15993
cat >>confdefs.h <<_ACEOF
21512
15994
#define HAVE__BOOL 1
21517
15999
 
21518
16000
if test $ac_cv_header_stdbool_h = yes; then
21519
16001
 
21520
 
cat >>confdefs.h <<\_ACEOF
21521
 
#define HAVE_STDBOOL_H 1
21522
 
_ACEOF
 
16002
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
21523
16003
 
21524
16004
fi
21525
16005
 
21526
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21527
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21528
 
if test "${ac_cv_c_const+set}" = set; then
21529
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 
16007
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 
16008
if test "${ac_cv_c_const+set}" = set; then :
 
16009
  $as_echo_n "(cached) " >&6
21530
16010
else
21531
 
  cat >conftest.$ac_ext <<_ACEOF
21532
 
/* confdefs.h.  */
21533
 
_ACEOF
21534
 
cat confdefs.h >>conftest.$ac_ext
21535
 
cat >>conftest.$ac_ext <<_ACEOF
 
16011
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21536
16012
/* end confdefs.h.  */
21537
16013
 
21538
16014
int
21592
16068
  return 0;
21593
16069
}
21594
16070
_ACEOF
21595
 
rm -f conftest.$ac_objext
21596
 
if { (ac_try="$ac_compile"
21597
 
case "(($ac_try" in
21598
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21599
 
  *) ac_try_echo=$ac_try;;
21600
 
esac
21601
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21602
 
  (eval "$ac_compile") 2>conftest.er1
21603
 
  ac_status=$?
21604
 
  grep -v '^ *+' conftest.er1 >conftest.err
21605
 
  rm -f conftest.er1
21606
 
  cat conftest.err >&5
21607
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608
 
  (exit $ac_status); } && {
21609
 
         test -z "$ac_c_werror_flag" ||
21610
 
         test ! -s conftest.err
21611
 
       } && test -s conftest.$ac_objext; then
 
16071
if ac_fn_c_try_compile "$LINENO"; then :
21612
16072
  ac_cv_c_const=yes
21613
16073
else
21614
 
  echo "$as_me: failed program was:" >&5
21615
 
sed 's/^/| /' conftest.$ac_ext >&5
21616
 
 
21617
 
        ac_cv_c_const=no
 
16074
  ac_cv_c_const=no
21618
16075
fi
21619
 
 
21620
16076
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21621
16077
fi
21622
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21623
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
 
16078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 
16079
$as_echo "$ac_cv_c_const" >&6; }
21624
16080
if test $ac_cv_c_const = no; then
21625
16081
 
21626
 
cat >>confdefs.h <<\_ACEOF
21627
 
#define const
21628
 
_ACEOF
 
16082
$as_echo "#define const /**/" >>confdefs.h
21629
16083
 
21630
16084
fi
21631
16085
 
21632
 
{ echo "$as_me:$LINENO: checking for inline" >&5
21633
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21634
 
if test "${ac_cv_c_inline+set}" = set; then
21635
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 
16087
$as_echo_n "checking for inline... " >&6; }
 
16088
if test "${ac_cv_c_inline+set}" = set; then :
 
16089
  $as_echo_n "(cached) " >&6
21636
16090
else
21637
16091
  ac_cv_c_inline=no
21638
16092
for ac_kw in inline __inline__ __inline; do
21639
 
  cat >conftest.$ac_ext <<_ACEOF
21640
 
/* confdefs.h.  */
21641
 
_ACEOF
21642
 
cat confdefs.h >>conftest.$ac_ext
21643
 
cat >>conftest.$ac_ext <<_ACEOF
 
16093
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21644
16094
/* end confdefs.h.  */
21645
16095
#ifndef __cplusplus
21646
16096
typedef int foo_t;
21649
16099
#endif
21650
16100
 
21651
16101
_ACEOF
21652
 
rm -f conftest.$ac_objext
21653
 
if { (ac_try="$ac_compile"
21654
 
case "(($ac_try" in
21655
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21656
 
  *) ac_try_echo=$ac_try;;
21657
 
esac
21658
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21659
 
  (eval "$ac_compile") 2>conftest.er1
21660
 
  ac_status=$?
21661
 
  grep -v '^ *+' conftest.er1 >conftest.err
21662
 
  rm -f conftest.er1
21663
 
  cat conftest.err >&5
21664
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665
 
  (exit $ac_status); } && {
21666
 
         test -z "$ac_c_werror_flag" ||
21667
 
         test ! -s conftest.err
21668
 
       } && test -s conftest.$ac_objext; then
 
16102
if ac_fn_c_try_compile "$LINENO"; then :
21669
16103
  ac_cv_c_inline=$ac_kw
21670
 
else
21671
 
  echo "$as_me: failed program was:" >&5
21672
 
sed 's/^/| /' conftest.$ac_ext >&5
21673
 
 
21674
 
 
21675
16104
fi
21676
 
 
21677
16105
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21678
16106
  test "$ac_cv_c_inline" != no && break
21679
16107
done
21680
16108
 
21681
16109
fi
21682
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21683
 
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21684
 
 
 
16110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
 
16111
$as_echo "$ac_cv_c_inline" >&6; }
21685
16112
 
21686
16113
case $ac_cv_c_inline in
21687
16114
  inline | yes) ;;
21698
16125
    ;;
21699
16126
esac
21700
16127
 
21701
 
{ echo "$as_me:$LINENO: checking for size_t" >&5
21702
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21703
 
if test "${ac_cv_type_size_t+set}" = set; then
21704
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21705
 
else
21706
 
  cat >conftest.$ac_ext <<_ACEOF
21707
 
/* confdefs.h.  */
21708
 
_ACEOF
21709
 
cat confdefs.h >>conftest.$ac_ext
21710
 
cat >>conftest.$ac_ext <<_ACEOF
21711
 
/* end confdefs.h.  */
21712
 
$ac_includes_default
21713
 
typedef size_t ac__type_new_;
21714
 
int
21715
 
main ()
21716
 
{
21717
 
if ((ac__type_new_ *) 0)
21718
 
  return 0;
21719
 
if (sizeof (ac__type_new_))
21720
 
  return 0;
21721
 
  ;
21722
 
  return 0;
21723
 
}
21724
 
_ACEOF
21725
 
rm -f conftest.$ac_objext
21726
 
if { (ac_try="$ac_compile"
21727
 
case "(($ac_try" in
21728
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21729
 
  *) ac_try_echo=$ac_try;;
21730
 
esac
21731
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21732
 
  (eval "$ac_compile") 2>conftest.er1
21733
 
  ac_status=$?
21734
 
  grep -v '^ *+' conftest.er1 >conftest.err
21735
 
  rm -f conftest.er1
21736
 
  cat conftest.err >&5
21737
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738
 
  (exit $ac_status); } && {
21739
 
         test -z "$ac_c_werror_flag" ||
21740
 
         test ! -s conftest.err
21741
 
       } && test -s conftest.$ac_objext; then
21742
 
  ac_cv_type_size_t=yes
21743
 
else
21744
 
  echo "$as_me: failed program was:" >&5
21745
 
sed 's/^/| /' conftest.$ac_ext >&5
21746
 
 
21747
 
        ac_cv_type_size_t=no
21748
 
fi
21749
 
 
21750
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21751
 
fi
21752
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21753
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21754
 
if test $ac_cv_type_size_t = yes; then
21755
 
  :
 
16128
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 
16129
if test "x$ac_cv_type_size_t" = x""yes; then :
 
16130
 
21756
16131
else
21757
16132
 
21758
16133
cat >>confdefs.h <<_ACEOF
21761
16136
 
21762
16137
fi
21763
16138
 
21764
 
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
21765
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
21766
 
if test "${ac_cv_header_time+set}" = set; then
21767
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 
16140
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 
16141
if test "${ac_cv_header_time+set}" = set; then :
 
16142
  $as_echo_n "(cached) " >&6
21768
16143
else
21769
 
  cat >conftest.$ac_ext <<_ACEOF
21770
 
/* confdefs.h.  */
21771
 
_ACEOF
21772
 
cat confdefs.h >>conftest.$ac_ext
21773
 
cat >>conftest.$ac_ext <<_ACEOF
 
16144
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21774
16145
/* end confdefs.h.  */
21775
16146
#include <sys/types.h>
21776
16147
#include <sys/time.h>
21785
16156
  return 0;
21786
16157
}
21787
16158
_ACEOF
21788
 
rm -f conftest.$ac_objext
21789
 
if { (ac_try="$ac_compile"
21790
 
case "(($ac_try" in
21791
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21792
 
  *) ac_try_echo=$ac_try;;
21793
 
esac
21794
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21795
 
  (eval "$ac_compile") 2>conftest.er1
21796
 
  ac_status=$?
21797
 
  grep -v '^ *+' conftest.er1 >conftest.err
21798
 
  rm -f conftest.er1
21799
 
  cat conftest.err >&5
21800
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21801
 
  (exit $ac_status); } && {
21802
 
         test -z "$ac_c_werror_flag" ||
21803
 
         test ! -s conftest.err
21804
 
       } && test -s conftest.$ac_objext; then
 
16159
if ac_fn_c_try_compile "$LINENO"; then :
21805
16160
  ac_cv_header_time=yes
21806
16161
else
21807
 
  echo "$as_me: failed program was:" >&5
21808
 
sed 's/^/| /' conftest.$ac_ext >&5
21809
 
 
21810
 
        ac_cv_header_time=no
 
16162
  ac_cv_header_time=no
21811
16163
fi
21812
 
 
21813
16164
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21814
16165
fi
21815
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
21816
 
echo "${ECHO_T}$ac_cv_header_time" >&6; }
 
16166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 
16167
$as_echo "$ac_cv_header_time" >&6; }
21817
16168
if test $ac_cv_header_time = yes; then
21818
16169
 
21819
 
cat >>confdefs.h <<\_ACEOF
21820
 
#define TIME_WITH_SYS_TIME 1
21821
 
_ACEOF
 
16170
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
21822
16171
 
21823
16172
fi
21824
16173
 
21825
 
{ echo "$as_me:$LINENO: checking for working volatile" >&5
21826
 
echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
21827
 
if test "${ac_cv_c_volatile+set}" = set; then
21828
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
 
16175
$as_echo_n "checking for working volatile... " >&6; }
 
16176
if test "${ac_cv_c_volatile+set}" = set; then :
 
16177
  $as_echo_n "(cached) " >&6
21829
16178
else
21830
 
  cat >conftest.$ac_ext <<_ACEOF
21831
 
/* confdefs.h.  */
21832
 
_ACEOF
21833
 
cat confdefs.h >>conftest.$ac_ext
21834
 
cat >>conftest.$ac_ext <<_ACEOF
 
16179
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21835
16180
/* end confdefs.h.  */
21836
16181
 
21837
16182
int
21845
16190
  return 0;
21846
16191
}
21847
16192
_ACEOF
21848
 
rm -f conftest.$ac_objext
21849
 
if { (ac_try="$ac_compile"
21850
 
case "(($ac_try" in
21851
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21852
 
  *) ac_try_echo=$ac_try;;
21853
 
esac
21854
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21855
 
  (eval "$ac_compile") 2>conftest.er1
21856
 
  ac_status=$?
21857
 
  grep -v '^ *+' conftest.er1 >conftest.err
21858
 
  rm -f conftest.er1
21859
 
  cat conftest.err >&5
21860
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861
 
  (exit $ac_status); } && {
21862
 
         test -z "$ac_c_werror_flag" ||
21863
 
         test ! -s conftest.err
21864
 
       } && test -s conftest.$ac_objext; then
 
16193
if ac_fn_c_try_compile "$LINENO"; then :
21865
16194
  ac_cv_c_volatile=yes
21866
16195
else
21867
 
  echo "$as_me: failed program was:" >&5
21868
 
sed 's/^/| /' conftest.$ac_ext >&5
21869
 
 
21870
 
        ac_cv_c_volatile=no
 
16196
  ac_cv_c_volatile=no
21871
16197
fi
21872
 
 
21873
16198
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21874
16199
fi
21875
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
21876
 
echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
 
16200
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
 
16201
$as_echo "$ac_cv_c_volatile" >&6; }
21877
16202
if test $ac_cv_c_volatile = no; then
21878
16203
 
21879
 
cat >>confdefs.h <<\_ACEOF
21880
 
#define volatile
21881
 
_ACEOF
 
16204
$as_echo "#define volatile /**/" >>confdefs.h
21882
16205
 
21883
16206
fi
21884
16207
 
21885
16208
 
21886
 
{ echo "$as_me:$LINENO: checking whether closedir returns void" >&5
21887
 
echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
21888
 
if test "${ac_cv_func_closedir_void+set}" = set; then
21889
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16209
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
 
16210
$as_echo_n "checking whether closedir returns void... " >&6; }
 
16211
if test "${ac_cv_func_closedir_void+set}" = set; then :
 
16212
  $as_echo_n "(cached) " >&6
21890
16213
else
21891
 
  if test "$cross_compiling" = yes; then
 
16214
  if test "$cross_compiling" = yes; then :
21892
16215
  ac_cv_func_closedir_void=yes
21893
16216
else
21894
 
  cat >conftest.$ac_ext <<_ACEOF
21895
 
/* confdefs.h.  */
21896
 
_ACEOF
21897
 
cat confdefs.h >>conftest.$ac_ext
21898
 
cat >>conftest.$ac_ext <<_ACEOF
 
16217
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21899
16218
/* end confdefs.h.  */
21900
16219
$ac_includes_default
21901
16220
#include <$ac_header_dirent>
21911
16230
  return 0;
21912
16231
}
21913
16232
_ACEOF
21914
 
rm -f conftest$ac_exeext
21915
 
if { (ac_try="$ac_link"
21916
 
case "(($ac_try" in
21917
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21918
 
  *) ac_try_echo=$ac_try;;
21919
 
esac
21920
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21921
 
  (eval "$ac_link") 2>&5
21922
 
  ac_status=$?
21923
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21925
 
  { (case "(($ac_try" in
21926
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21927
 
  *) ac_try_echo=$ac_try;;
21928
 
esac
21929
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21930
 
  (eval "$ac_try") 2>&5
21931
 
  ac_status=$?
21932
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933
 
  (exit $ac_status); }; }; then
 
16233
if ac_fn_c_try_run "$LINENO"; then :
21934
16234
  ac_cv_func_closedir_void=no
21935
16235
else
21936
 
  echo "$as_me: program exited with status $ac_status" >&5
21937
 
echo "$as_me: failed program was:" >&5
21938
 
sed 's/^/| /' conftest.$ac_ext >&5
21939
 
 
21940
 
( exit $ac_status )
21941
 
ac_cv_func_closedir_void=yes
21942
 
fi
21943
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21944
 
fi
21945
 
 
21946
 
 
21947
 
fi
21948
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
21949
 
echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
 
16236
  ac_cv_func_closedir_void=yes
 
16237
fi
 
16238
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
16239
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
16240
fi
 
16241
 
 
16242
fi
 
16243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
 
16244
$as_echo "$ac_cv_func_closedir_void" >&6; }
21950
16245
if test $ac_cv_func_closedir_void = yes; then
21951
16246
 
21952
 
cat >>confdefs.h <<\_ACEOF
21953
 
#define CLOSEDIR_VOID 1
21954
 
_ACEOF
 
16247
$as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
21955
16248
 
21956
16249
fi
21957
16250
 
21958
 
 
21959
16251
for ac_header in stdlib.h
21960
 
do
21961
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21962
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21963
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21964
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21965
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21966
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21967
 
fi
21968
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21969
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21970
 
echo "${ECHO_T}$ac_res" >&6; }
21971
 
else
21972
 
  # Is the header compilable?
21973
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21974
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21975
 
cat >conftest.$ac_ext <<_ACEOF
21976
 
/* confdefs.h.  */
21977
 
_ACEOF
21978
 
cat confdefs.h >>conftest.$ac_ext
21979
 
cat >>conftest.$ac_ext <<_ACEOF
21980
 
/* end confdefs.h.  */
21981
 
$ac_includes_default
21982
 
#include <$ac_header>
21983
 
_ACEOF
21984
 
rm -f conftest.$ac_objext
21985
 
if { (ac_try="$ac_compile"
21986
 
case "(($ac_try" in
21987
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21988
 
  *) ac_try_echo=$ac_try;;
21989
 
esac
21990
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21991
 
  (eval "$ac_compile") 2>conftest.er1
21992
 
  ac_status=$?
21993
 
  grep -v '^ *+' conftest.er1 >conftest.err
21994
 
  rm -f conftest.er1
21995
 
  cat conftest.err >&5
21996
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997
 
  (exit $ac_status); } && {
21998
 
         test -z "$ac_c_werror_flag" ||
21999
 
         test ! -s conftest.err
22000
 
       } && test -s conftest.$ac_objext; then
22001
 
  ac_header_compiler=yes
22002
 
else
22003
 
  echo "$as_me: failed program was:" >&5
22004
 
sed 's/^/| /' conftest.$ac_ext >&5
22005
 
 
22006
 
        ac_header_compiler=no
22007
 
fi
22008
 
 
22009
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22010
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22011
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
22012
 
 
22013
 
# Is the header present?
22014
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22015
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22016
 
cat >conftest.$ac_ext <<_ACEOF
22017
 
/* confdefs.h.  */
22018
 
_ACEOF
22019
 
cat confdefs.h >>conftest.$ac_ext
22020
 
cat >>conftest.$ac_ext <<_ACEOF
22021
 
/* end confdefs.h.  */
22022
 
#include <$ac_header>
22023
 
_ACEOF
22024
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
22025
 
case "(($ac_try" in
22026
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22027
 
  *) ac_try_echo=$ac_try;;
22028
 
esac
22029
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22030
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22031
 
  ac_status=$?
22032
 
  grep -v '^ *+' conftest.er1 >conftest.err
22033
 
  rm -f conftest.er1
22034
 
  cat conftest.err >&5
22035
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036
 
  (exit $ac_status); } >/dev/null && {
22037
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22038
 
         test ! -s conftest.err
22039
 
       }; then
22040
 
  ac_header_preproc=yes
22041
 
else
22042
 
  echo "$as_me: failed program was:" >&5
22043
 
sed 's/^/| /' conftest.$ac_ext >&5
22044
 
 
22045
 
  ac_header_preproc=no
22046
 
fi
22047
 
 
22048
 
rm -f conftest.err conftest.$ac_ext
22049
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22050
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
22051
 
 
22052
 
# So?  What about this header?
22053
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22054
 
  yes:no: )
22055
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22056
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22057
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22058
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22059
 
    ac_header_preproc=yes
22060
 
    ;;
22061
 
  no:yes:* )
22062
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22063
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22064
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22065
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22066
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22067
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22068
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22069
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22070
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22071
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22072
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22073
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22074
 
 
22075
 
    ;;
22076
 
esac
22077
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22078
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22079
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22080
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22081
 
else
22082
 
  eval "$as_ac_Header=\$ac_header_preproc"
22083
 
fi
22084
 
ac_res=`eval echo '${'$as_ac_Header'}'`
22085
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22086
 
echo "${ECHO_T}$ac_res" >&6; }
22087
 
 
22088
 
fi
22089
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
16252
do :
 
16253
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
 
16254
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
22090
16255
  cat >>confdefs.h <<_ACEOF
22091
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
16256
#define HAVE_STDLIB_H 1
22092
16257
_ACEOF
22093
16258
 
22094
16259
fi
22095
16260
 
22096
16261
done
22097
16262
 
22098
 
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
22099
 
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
22100
 
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
22101
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
 
16264
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
 
16265
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
 
16266
  $as_echo_n "(cached) " >&6
22102
16267
else
22103
 
  if test "$cross_compiling" = yes; then
 
16268
  if test "$cross_compiling" = yes; then :
22104
16269
  ac_cv_func_malloc_0_nonnull=no
22105
16270
else
22106
 
  cat >conftest.$ac_ext <<_ACEOF
22107
 
/* confdefs.h.  */
22108
 
_ACEOF
22109
 
cat confdefs.h >>conftest.$ac_ext
22110
 
cat >>conftest.$ac_ext <<_ACEOF
 
16271
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22111
16272
/* end confdefs.h.  */
22112
16273
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
22113
16274
# include <stdlib.h>
22123
16284
  return 0;
22124
16285
}
22125
16286
_ACEOF
22126
 
rm -f conftest$ac_exeext
22127
 
if { (ac_try="$ac_link"
22128
 
case "(($ac_try" in
22129
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22130
 
  *) ac_try_echo=$ac_try;;
22131
 
esac
22132
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22133
 
  (eval "$ac_link") 2>&5
22134
 
  ac_status=$?
22135
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22137
 
  { (case "(($ac_try" in
22138
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22139
 
  *) ac_try_echo=$ac_try;;
22140
 
esac
22141
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22142
 
  (eval "$ac_try") 2>&5
22143
 
  ac_status=$?
22144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145
 
  (exit $ac_status); }; }; then
 
16287
if ac_fn_c_try_run "$LINENO"; then :
22146
16288
  ac_cv_func_malloc_0_nonnull=yes
22147
16289
else
22148
 
  echo "$as_me: program exited with status $ac_status" >&5
22149
 
echo "$as_me: failed program was:" >&5
22150
 
sed 's/^/| /' conftest.$ac_ext >&5
22151
 
 
22152
 
( exit $ac_status )
22153
 
ac_cv_func_malloc_0_nonnull=no
22154
 
fi
22155
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22156
 
fi
22157
 
 
22158
 
 
22159
 
fi
22160
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
22161
 
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
22162
 
if test $ac_cv_func_malloc_0_nonnull = yes; then
22163
 
 
22164
 
cat >>confdefs.h <<\_ACEOF
22165
 
#define HAVE_MALLOC 1
22166
 
_ACEOF
 
16290
  ac_cv_func_malloc_0_nonnull=no
 
16291
fi
 
16292
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
16293
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
16294
fi
 
16295
 
 
16296
fi
 
16297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
 
16298
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
 
16299
if test $ac_cv_func_malloc_0_nonnull = yes; then :
 
16300
 
 
16301
$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
22167
16302
 
22168
16303
else
22169
 
  cat >>confdefs.h <<\_ACEOF
22170
 
#define HAVE_MALLOC 0
22171
 
_ACEOF
 
16304
  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
22172
16305
 
22173
16306
   case " $LIBOBJS " in
22174
16307
  *" malloc.$ac_objext "* ) ;;
22177
16310
esac
22178
16311
 
22179
16312
 
22180
 
cat >>confdefs.h <<\_ACEOF
22181
 
#define malloc rpl_malloc
22182
 
_ACEOF
 
16313
$as_echo "#define malloc rpl_malloc" >>confdefs.h
22183
16314
 
22184
16315
fi
22185
16316
 
22186
16317
 
22187
 
 
22188
 
{ echo "$as_me:$LINENO: checking for working memcmp" >&5
22189
 
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
22190
 
if test "${ac_cv_func_memcmp_working+set}" = set; then
22191
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16318
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
 
16319
$as_echo_n "checking for working memcmp... " >&6; }
 
16320
if test "${ac_cv_func_memcmp_working+set}" = set; then :
 
16321
  $as_echo_n "(cached) " >&6
22192
16322
else
22193
 
  if test "$cross_compiling" = yes; then
 
16323
  if test "$cross_compiling" = yes; then :
22194
16324
  ac_cv_func_memcmp_working=no
22195
16325
else
22196
 
  cat >conftest.$ac_ext <<_ACEOF
22197
 
/* confdefs.h.  */
22198
 
_ACEOF
22199
 
cat confdefs.h >>conftest.$ac_ext
22200
 
cat >>conftest.$ac_ext <<_ACEOF
 
16326
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22201
16327
/* end confdefs.h.  */
22202
16328
$ac_includes_default
22203
16329
int
22232
16358
  return 0;
22233
16359
}
22234
16360
_ACEOF
22235
 
rm -f conftest$ac_exeext
22236
 
if { (ac_try="$ac_link"
22237
 
case "(($ac_try" in
22238
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22239
 
  *) ac_try_echo=$ac_try;;
22240
 
esac
22241
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22242
 
  (eval "$ac_link") 2>&5
22243
 
  ac_status=$?
22244
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22246
 
  { (case "(($ac_try" in
22247
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22248
 
  *) ac_try_echo=$ac_try;;
22249
 
esac
22250
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22251
 
  (eval "$ac_try") 2>&5
22252
 
  ac_status=$?
22253
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254
 
  (exit $ac_status); }; }; then
 
16361
if ac_fn_c_try_run "$LINENO"; then :
22255
16362
  ac_cv_func_memcmp_working=yes
22256
16363
else
22257
 
  echo "$as_me: program exited with status $ac_status" >&5
22258
 
echo "$as_me: failed program was:" >&5
22259
 
sed 's/^/| /' conftest.$ac_ext >&5
22260
 
 
22261
 
( exit $ac_status )
22262
 
ac_cv_func_memcmp_working=no
22263
 
fi
22264
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22265
 
fi
22266
 
 
22267
 
 
22268
 
fi
22269
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
22270
 
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
 
16364
  ac_cv_func_memcmp_working=no
 
16365
fi
 
16366
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
16367
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
16368
fi
 
16369
 
 
16370
fi
 
16371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
 
16372
$as_echo "$ac_cv_func_memcmp_working" >&6; }
22271
16373
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
22272
16374
  *" memcmp.$ac_objext "* ) ;;
22273
16375
  *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
22275
16377
esac
22276
16378
 
22277
16379
 
22278
 
{ echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
22279
 
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
22280
 
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
22281
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
 
16381
$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
 
16382
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
 
16383
  $as_echo_n "(cached) " >&6
22282
16384
else
22283
16385
  rm -f conftest.sym conftest.file
22284
16386
echo >conftest.file
22285
16387
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
22286
 
  if test "$cross_compiling" = yes; then
 
16388
  if test "$cross_compiling" = yes; then :
22287
16389
  ac_cv_func_lstat_dereferences_slashed_symlink=no
22288
16390
else
22289
 
  cat >conftest.$ac_ext <<_ACEOF
22290
 
/* confdefs.h.  */
22291
 
_ACEOF
22292
 
cat confdefs.h >>conftest.$ac_ext
22293
 
cat >>conftest.$ac_ext <<_ACEOF
 
16391
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22294
16392
/* end confdefs.h.  */
22295
16393
$ac_includes_default
22296
16394
int
22297
16395
main ()
22298
16396
{
22299
16397
struct stat sbuf;
22300
 
     /* Linux will dereference the symlink and fail.
 
16398
     /* Linux will dereference the symlink and fail, as required by POSIX.
22301
16399
        That is better in the sense that it means we will not
22302
16400
        have to compile and use the lstat wrapper.  */
22303
16401
     return lstat ("conftest.sym/", &sbuf) == 0;
22305
16403
  return 0;
22306
16404
}
22307
16405
_ACEOF
22308
 
rm -f conftest$ac_exeext
22309
 
if { (ac_try="$ac_link"
22310
 
case "(($ac_try" in
22311
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22312
 
  *) ac_try_echo=$ac_try;;
22313
 
esac
22314
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22315
 
  (eval "$ac_link") 2>&5
22316
 
  ac_status=$?
22317
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22319
 
  { (case "(($ac_try" in
22320
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22321
 
  *) ac_try_echo=$ac_try;;
22322
 
esac
22323
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22324
 
  (eval "$ac_try") 2>&5
22325
 
  ac_status=$?
22326
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327
 
  (exit $ac_status); }; }; then
 
16406
if ac_fn_c_try_run "$LINENO"; then :
22328
16407
  ac_cv_func_lstat_dereferences_slashed_symlink=yes
22329
16408
else
22330
 
  echo "$as_me: program exited with status $ac_status" >&5
22331
 
echo "$as_me: failed program was:" >&5
22332
 
sed 's/^/| /' conftest.$ac_ext >&5
22333
 
 
22334
 
( exit $ac_status )
22335
 
ac_cv_func_lstat_dereferences_slashed_symlink=no
22336
 
fi
22337
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22338
 
fi
22339
 
 
 
16409
  ac_cv_func_lstat_dereferences_slashed_symlink=no
 
16410
fi
 
16411
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
16412
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
16413
fi
22340
16414
 
22341
16415
else
22342
16416
  # If the `ln -s' command failed, then we probably don't even
22346
16420
rm -f conftest.sym conftest.file
22347
16421
 
22348
16422
fi
22349
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
22350
 
echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
 
16423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
 
16424
$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
22351
16425
 
22352
16426
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
22353
16427
 
22356
16430
_ACEOF
22357
16431
 
22358
16432
 
22359
 
if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
 
16433
if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
22360
16434
  case " $LIBOBJS " in
22361
16435
  *" lstat.$ac_objext "* ) ;;
22362
16436
  *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
22365
16439
 
22366
16440
fi
22367
16441
 
22368
 
{ echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
22369
 
echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
22370
 
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
22371
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
 
16443
$as_echo_n "checking whether stat accepts an empty string... " >&6; }
 
16444
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
 
16445
  $as_echo_n "(cached) " >&6
22372
16446
else
22373
 
  if test "$cross_compiling" = yes; then
 
16447
  if test "$cross_compiling" = yes; then :
22374
16448
  ac_cv_func_stat_empty_string_bug=yes
22375
16449
else
22376
 
  cat >conftest.$ac_ext <<_ACEOF
22377
 
/* confdefs.h.  */
22378
 
_ACEOF
22379
 
cat confdefs.h >>conftest.$ac_ext
22380
 
cat >>conftest.$ac_ext <<_ACEOF
 
16450
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22381
16451
/* end confdefs.h.  */
22382
16452
$ac_includes_default
22383
16453
int
22389
16459
  return 0;
22390
16460
}
22391
16461
_ACEOF
22392
 
rm -f conftest$ac_exeext
22393
 
if { (ac_try="$ac_link"
22394
 
case "(($ac_try" in
22395
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22396
 
  *) ac_try_echo=$ac_try;;
22397
 
esac
22398
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22399
 
  (eval "$ac_link") 2>&5
22400
 
  ac_status=$?
22401
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22403
 
  { (case "(($ac_try" in
22404
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22405
 
  *) ac_try_echo=$ac_try;;
22406
 
esac
22407
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22408
 
  (eval "$ac_try") 2>&5
22409
 
  ac_status=$?
22410
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411
 
  (exit $ac_status); }; }; then
 
16462
if ac_fn_c_try_run "$LINENO"; then :
22412
16463
  ac_cv_func_stat_empty_string_bug=no
22413
16464
else
22414
 
  echo "$as_me: program exited with status $ac_status" >&5
22415
 
echo "$as_me: failed program was:" >&5
22416
 
sed 's/^/| /' conftest.$ac_ext >&5
22417
 
 
22418
 
( exit $ac_status )
22419
 
ac_cv_func_stat_empty_string_bug=yes
22420
 
fi
22421
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22422
 
fi
22423
 
 
22424
 
 
22425
 
fi
22426
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
22427
 
echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
 
16465
  ac_cv_func_stat_empty_string_bug=yes
 
16466
fi
 
16467
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
16468
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
16469
fi
 
16470
 
 
16471
fi
 
16472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
 
16473
$as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
22428
16474
if test $ac_cv_func_stat_empty_string_bug = yes; then
22429
16475
  case " $LIBOBJS " in
22430
16476
  *" stat.$ac_objext "* ) ;;
22439
16485
 
22440
16486
fi
22441
16487
 
22442
 
 
22443
16488
for ac_func in vprintf
22444
 
do
22445
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22446
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22447
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22448
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22449
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22450
 
else
22451
 
  cat >conftest.$ac_ext <<_ACEOF
22452
 
/* confdefs.h.  */
22453
 
_ACEOF
22454
 
cat confdefs.h >>conftest.$ac_ext
22455
 
cat >>conftest.$ac_ext <<_ACEOF
22456
 
/* end confdefs.h.  */
22457
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22458
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22459
 
#define $ac_func innocuous_$ac_func
22460
 
 
22461
 
/* System header to define __stub macros and hopefully few prototypes,
22462
 
    which can conflict with char $ac_func (); below.
22463
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22464
 
    <limits.h> exists even on freestanding compilers.  */
22465
 
 
22466
 
#ifdef __STDC__
22467
 
# include <limits.h>
22468
 
#else
22469
 
# include <assert.h>
22470
 
#endif
22471
 
 
22472
 
#undef $ac_func
22473
 
 
22474
 
/* Override any GCC internal prototype to avoid an error.
22475
 
   Use char because int might match the return type of a GCC
22476
 
   builtin and then its argument prototype would still apply.  */
22477
 
#ifdef __cplusplus
22478
 
extern "C"
22479
 
#endif
22480
 
char $ac_func ();
22481
 
/* The GNU C library defines this for functions which it implements
22482
 
    to always fail with ENOSYS.  Some functions are actually named
22483
 
    something starting with __ and the normal name is an alias.  */
22484
 
#if defined __stub_$ac_func || defined __stub___$ac_func
22485
 
choke me
22486
 
#endif
22487
 
 
22488
 
int
22489
 
main ()
22490
 
{
22491
 
return $ac_func ();
22492
 
  ;
22493
 
  return 0;
22494
 
}
22495
 
_ACEOF
22496
 
rm -f conftest.$ac_objext conftest$ac_exeext
22497
 
if { (ac_try="$ac_link"
22498
 
case "(($ac_try" in
22499
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22500
 
  *) ac_try_echo=$ac_try;;
22501
 
esac
22502
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22503
 
  (eval "$ac_link") 2>conftest.er1
22504
 
  ac_status=$?
22505
 
  grep -v '^ *+' conftest.er1 >conftest.err
22506
 
  rm -f conftest.er1
22507
 
  cat conftest.err >&5
22508
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509
 
  (exit $ac_status); } && {
22510
 
         test -z "$ac_c_werror_flag" ||
22511
 
         test ! -s conftest.err
22512
 
       } && test -s conftest$ac_exeext &&
22513
 
       $as_test_x conftest$ac_exeext; then
22514
 
  eval "$as_ac_var=yes"
22515
 
else
22516
 
  echo "$as_me: failed program was:" >&5
22517
 
sed 's/^/| /' conftest.$ac_ext >&5
22518
 
 
22519
 
        eval "$as_ac_var=no"
22520
 
fi
22521
 
 
22522
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22523
 
      conftest$ac_exeext conftest.$ac_ext
22524
 
fi
22525
 
ac_res=`eval echo '${'$as_ac_var'}'`
22526
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22527
 
echo "${ECHO_T}$ac_res" >&6; }
22528
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
16489
do :
 
16490
  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
 
16491
if test "x$ac_cv_func_vprintf" = x""yes; then :
22529
16492
  cat >>confdefs.h <<_ACEOF
22530
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22531
 
_ACEOF
22532
 
 
22533
 
{ echo "$as_me:$LINENO: checking for _doprnt" >&5
22534
 
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
22535
 
if test "${ac_cv_func__doprnt+set}" = set; then
22536
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22537
 
else
22538
 
  cat >conftest.$ac_ext <<_ACEOF
22539
 
/* confdefs.h.  */
22540
 
_ACEOF
22541
 
cat confdefs.h >>conftest.$ac_ext
22542
 
cat >>conftest.$ac_ext <<_ACEOF
22543
 
/* end confdefs.h.  */
22544
 
/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
22545
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22546
 
#define _doprnt innocuous__doprnt
22547
 
 
22548
 
/* System header to define __stub macros and hopefully few prototypes,
22549
 
    which can conflict with char _doprnt (); below.
22550
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22551
 
    <limits.h> exists even on freestanding compilers.  */
22552
 
 
22553
 
#ifdef __STDC__
22554
 
# include <limits.h>
22555
 
#else
22556
 
# include <assert.h>
22557
 
#endif
22558
 
 
22559
 
#undef _doprnt
22560
 
 
22561
 
/* Override any GCC internal prototype to avoid an error.
22562
 
   Use char because int might match the return type of a GCC
22563
 
   builtin and then its argument prototype would still apply.  */
22564
 
#ifdef __cplusplus
22565
 
extern "C"
22566
 
#endif
22567
 
char _doprnt ();
22568
 
/* The GNU C library defines this for functions which it implements
22569
 
    to always fail with ENOSYS.  Some functions are actually named
22570
 
    something starting with __ and the normal name is an alias.  */
22571
 
#if defined __stub__doprnt || defined __stub____doprnt
22572
 
choke me
22573
 
#endif
22574
 
 
22575
 
int
22576
 
main ()
22577
 
{
22578
 
return _doprnt ();
22579
 
  ;
22580
 
  return 0;
22581
 
}
22582
 
_ACEOF
22583
 
rm -f conftest.$ac_objext conftest$ac_exeext
22584
 
if { (ac_try="$ac_link"
22585
 
case "(($ac_try" in
22586
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22587
 
  *) ac_try_echo=$ac_try;;
22588
 
esac
22589
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22590
 
  (eval "$ac_link") 2>conftest.er1
22591
 
  ac_status=$?
22592
 
  grep -v '^ *+' conftest.er1 >conftest.err
22593
 
  rm -f conftest.er1
22594
 
  cat conftest.err >&5
22595
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22596
 
  (exit $ac_status); } && {
22597
 
         test -z "$ac_c_werror_flag" ||
22598
 
         test ! -s conftest.err
22599
 
       } && test -s conftest$ac_exeext &&
22600
 
       $as_test_x conftest$ac_exeext; then
22601
 
  ac_cv_func__doprnt=yes
22602
 
else
22603
 
  echo "$as_me: failed program was:" >&5
22604
 
sed 's/^/| /' conftest.$ac_ext >&5
22605
 
 
22606
 
        ac_cv_func__doprnt=no
22607
 
fi
22608
 
 
22609
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22610
 
      conftest$ac_exeext conftest.$ac_ext
22611
 
fi
22612
 
{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
22613
 
echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
22614
 
if test $ac_cv_func__doprnt = yes; then
22615
 
 
22616
 
cat >>confdefs.h <<\_ACEOF
22617
 
#define HAVE_DOPRNT 1
22618
 
_ACEOF
 
16493
#define HAVE_VPRINTF 1
 
16494
_ACEOF
 
16495
 
 
16496
ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
 
16497
if test "x$ac_cv_func__doprnt" = x""yes; then :
 
16498
 
 
16499
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
22619
16500
 
22620
16501
fi
22621
16502
 
22623
16504
done
22624
16505
 
22625
16506
 
22626
 
 
22627
 
 
22628
 
 
22629
 
 
22630
 
 
22631
 
 
22632
 
 
22633
 
 
22634
 
 
22635
 
 
22636
 
 
22637
 
 
22638
16507
for ac_func in atexit getcwd isascii memchr memmove memset strcasecmp strchr strcspn strdup strrchr strstr
22639
 
do
22640
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22641
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22642
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22643
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22644
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22645
 
else
22646
 
  cat >conftest.$ac_ext <<_ACEOF
22647
 
/* confdefs.h.  */
22648
 
_ACEOF
22649
 
cat confdefs.h >>conftest.$ac_ext
22650
 
cat >>conftest.$ac_ext <<_ACEOF
22651
 
/* end confdefs.h.  */
22652
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22653
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22654
 
#define $ac_func innocuous_$ac_func
22655
 
 
22656
 
/* System header to define __stub macros and hopefully few prototypes,
22657
 
    which can conflict with char $ac_func (); below.
22658
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22659
 
    <limits.h> exists even on freestanding compilers.  */
22660
 
 
22661
 
#ifdef __STDC__
22662
 
# include <limits.h>
22663
 
#else
22664
 
# include <assert.h>
22665
 
#endif
22666
 
 
22667
 
#undef $ac_func
22668
 
 
22669
 
/* Override any GCC internal prototype to avoid an error.
22670
 
   Use char because int might match the return type of a GCC
22671
 
   builtin and then its argument prototype would still apply.  */
22672
 
#ifdef __cplusplus
22673
 
extern "C"
22674
 
#endif
22675
 
char $ac_func ();
22676
 
/* The GNU C library defines this for functions which it implements
22677
 
    to always fail with ENOSYS.  Some functions are actually named
22678
 
    something starting with __ and the normal name is an alias.  */
22679
 
#if defined __stub_$ac_func || defined __stub___$ac_func
22680
 
choke me
22681
 
#endif
22682
 
 
22683
 
int
22684
 
main ()
22685
 
{
22686
 
return $ac_func ();
22687
 
  ;
22688
 
  return 0;
22689
 
}
22690
 
_ACEOF
22691
 
rm -f conftest.$ac_objext conftest$ac_exeext
22692
 
if { (ac_try="$ac_link"
22693
 
case "(($ac_try" in
22694
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22695
 
  *) ac_try_echo=$ac_try;;
22696
 
esac
22697
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22698
 
  (eval "$ac_link") 2>conftest.er1
22699
 
  ac_status=$?
22700
 
  grep -v '^ *+' conftest.er1 >conftest.err
22701
 
  rm -f conftest.er1
22702
 
  cat conftest.err >&5
22703
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704
 
  (exit $ac_status); } && {
22705
 
         test -z "$ac_c_werror_flag" ||
22706
 
         test ! -s conftest.err
22707
 
       } && test -s conftest$ac_exeext &&
22708
 
       $as_test_x conftest$ac_exeext; then
22709
 
  eval "$as_ac_var=yes"
22710
 
else
22711
 
  echo "$as_me: failed program was:" >&5
22712
 
sed 's/^/| /' conftest.$ac_ext >&5
22713
 
 
22714
 
        eval "$as_ac_var=no"
22715
 
fi
22716
 
 
22717
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22718
 
      conftest$ac_exeext conftest.$ac_ext
22719
 
fi
22720
 
ac_res=`eval echo '${'$as_ac_var'}'`
22721
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22722
 
echo "${ECHO_T}$ac_res" >&6; }
22723
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
16508
do :
 
16509
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
16510
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
16511
eval as_val=\$$as_ac_var
 
16512
   if test "x$as_val" = x""yes; then :
22724
16513
  cat >>confdefs.h <<_ACEOF
22725
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
16514
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22726
16515
_ACEOF
22727
16516
 
22728
16517
fi
22729
16518
done
22730
16519
 
22731
 
 
22732
 
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
22733
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
22734
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
22735
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16520
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
16521
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
16522
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
16523
  $as_echo_n "(cached) " >&6
22736
16524
else
22737
16525
  ac_check_lib_save_LIBS=$LIBS
22738
16526
LIBS="-ldl  $LIBS"
22739
 
cat >conftest.$ac_ext <<_ACEOF
22740
 
/* confdefs.h.  */
22741
 
_ACEOF
22742
 
cat confdefs.h >>conftest.$ac_ext
22743
 
cat >>conftest.$ac_ext <<_ACEOF
 
16527
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22744
16528
/* end confdefs.h.  */
22745
16529
 
22746
16530
/* Override any GCC internal prototype to avoid an error.
22758
16542
  return 0;
22759
16543
}
22760
16544
_ACEOF
22761
 
rm -f conftest.$ac_objext conftest$ac_exeext
22762
 
if { (ac_try="$ac_link"
22763
 
case "(($ac_try" in
22764
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22765
 
  *) ac_try_echo=$ac_try;;
22766
 
esac
22767
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22768
 
  (eval "$ac_link") 2>conftest.er1
22769
 
  ac_status=$?
22770
 
  grep -v '^ *+' conftest.er1 >conftest.err
22771
 
  rm -f conftest.er1
22772
 
  cat conftest.err >&5
22773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774
 
  (exit $ac_status); } && {
22775
 
         test -z "$ac_c_werror_flag" ||
22776
 
         test ! -s conftest.err
22777
 
       } && test -s conftest$ac_exeext &&
22778
 
       $as_test_x conftest$ac_exeext; then
 
16545
if ac_fn_c_try_link "$LINENO"; then :
22779
16546
  ac_cv_lib_dl_dlopen=yes
22780
16547
else
22781
 
  echo "$as_me: failed program was:" >&5
22782
 
sed 's/^/| /' conftest.$ac_ext >&5
22783
 
 
22784
 
        ac_cv_lib_dl_dlopen=no
 
16548
  ac_cv_lib_dl_dlopen=no
22785
16549
fi
22786
 
 
22787
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22788
 
      conftest$ac_exeext conftest.$ac_ext
 
16550
rm -f core conftest.err conftest.$ac_objext \
 
16551
    conftest$ac_exeext conftest.$ac_ext
22789
16552
LIBS=$ac_check_lib_save_LIBS
22790
16553
fi
22791
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
22792
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
22793
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
16554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
16555
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
16556
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
22794
16557
  cat >>confdefs.h <<_ACEOF
22795
16558
#define HAVE_LIBDL 1
22796
16559
_ACEOF
22799
16562
 
22800
16563
fi
22801
16564
 
22802
 
 
22803
 
{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
22804
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
22805
 
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
22806
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
 
16566
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
 
16567
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
 
16568
  $as_echo_n "(cached) " >&6
22807
16569
else
22808
16570
  ac_check_lib_save_LIBS=$LIBS
22809
16571
LIBS="-lpthread  $LIBS"
22810
 
cat >conftest.$ac_ext <<_ACEOF
22811
 
/* confdefs.h.  */
22812
 
_ACEOF
22813
 
cat confdefs.h >>conftest.$ac_ext
22814
 
cat >>conftest.$ac_ext <<_ACEOF
 
16572
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22815
16573
/* end confdefs.h.  */
22816
16574
 
22817
16575
/* Override any GCC internal prototype to avoid an error.
22829
16587
  return 0;
22830
16588
}
22831
16589
_ACEOF
22832
 
rm -f conftest.$ac_objext conftest$ac_exeext
22833
 
if { (ac_try="$ac_link"
22834
 
case "(($ac_try" in
22835
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22836
 
  *) ac_try_echo=$ac_try;;
22837
 
esac
22838
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22839
 
  (eval "$ac_link") 2>conftest.er1
22840
 
  ac_status=$?
22841
 
  grep -v '^ *+' conftest.er1 >conftest.err
22842
 
  rm -f conftest.er1
22843
 
  cat conftest.err >&5
22844
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845
 
  (exit $ac_status); } && {
22846
 
         test -z "$ac_c_werror_flag" ||
22847
 
         test ! -s conftest.err
22848
 
       } && test -s conftest$ac_exeext &&
22849
 
       $as_test_x conftest$ac_exeext; then
 
16590
if ac_fn_c_try_link "$LINENO"; then :
22850
16591
  ac_cv_lib_pthread_pthread_create=yes
22851
16592
else
22852
 
  echo "$as_me: failed program was:" >&5
22853
 
sed 's/^/| /' conftest.$ac_ext >&5
22854
 
 
22855
 
        ac_cv_lib_pthread_pthread_create=no
 
16593
  ac_cv_lib_pthread_pthread_create=no
22856
16594
fi
22857
 
 
22858
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22859
 
      conftest$ac_exeext conftest.$ac_ext
 
16595
rm -f core conftest.err conftest.$ac_objext \
 
16596
    conftest$ac_exeext conftest.$ac_ext
22860
16597
LIBS=$ac_check_lib_save_LIBS
22861
16598
fi
22862
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
22863
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
22864
 
if test $ac_cv_lib_pthread_pthread_create = yes; then
 
16599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
 
16600
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
 
16601
if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
22865
16602
  cat >>confdefs.h <<_ACEOF
22866
16603
#define HAVE_LIBPTHREAD 1
22867
16604
_ACEOF
22870
16607
 
22871
16608
fi
22872
16609
 
22873
 
{ echo "$as_me:$LINENO: checking for snprintf" >&5
22874
 
echo $ECHO_N "checking for snprintf... $ECHO_C" >&6; }
22875
 
if test "${ac_cv_func_snprintf+set}" = set; then
22876
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22877
 
else
22878
 
  cat >conftest.$ac_ext <<_ACEOF
22879
 
/* confdefs.h.  */
22880
 
_ACEOF
22881
 
cat confdefs.h >>conftest.$ac_ext
22882
 
cat >>conftest.$ac_ext <<_ACEOF
22883
 
/* end confdefs.h.  */
22884
 
/* Define snprintf to an innocuous variant, in case <limits.h> declares snprintf.
22885
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22886
 
#define snprintf innocuous_snprintf
22887
 
 
22888
 
/* System header to define __stub macros and hopefully few prototypes,
22889
 
    which can conflict with char snprintf (); below.
22890
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22891
 
    <limits.h> exists even on freestanding compilers.  */
22892
 
 
22893
 
#ifdef __STDC__
22894
 
# include <limits.h>
22895
 
#else
22896
 
# include <assert.h>
22897
 
#endif
22898
 
 
22899
 
#undef snprintf
22900
 
 
22901
 
/* Override any GCC internal prototype to avoid an error.
22902
 
   Use char because int might match the return type of a GCC
22903
 
   builtin and then its argument prototype would still apply.  */
22904
 
#ifdef __cplusplus
22905
 
extern "C"
22906
 
#endif
22907
 
char snprintf ();
22908
 
/* The GNU C library defines this for functions which it implements
22909
 
    to always fail with ENOSYS.  Some functions are actually named
22910
 
    something starting with __ and the normal name is an alias.  */
22911
 
#if defined __stub_snprintf || defined __stub___snprintf
22912
 
choke me
22913
 
#endif
22914
 
 
22915
 
int
22916
 
main ()
22917
 
{
22918
 
return snprintf ();
22919
 
  ;
22920
 
  return 0;
22921
 
}
22922
 
_ACEOF
22923
 
rm -f conftest.$ac_objext conftest$ac_exeext
22924
 
if { (ac_try="$ac_link"
22925
 
case "(($ac_try" in
22926
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22927
 
  *) ac_try_echo=$ac_try;;
22928
 
esac
22929
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22930
 
  (eval "$ac_link") 2>conftest.er1
22931
 
  ac_status=$?
22932
 
  grep -v '^ *+' conftest.er1 >conftest.err
22933
 
  rm -f conftest.er1
22934
 
  cat conftest.err >&5
22935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936
 
  (exit $ac_status); } && {
22937
 
         test -z "$ac_c_werror_flag" ||
22938
 
         test ! -s conftest.err
22939
 
       } && test -s conftest$ac_exeext &&
22940
 
       $as_test_x conftest$ac_exeext; then
22941
 
  ac_cv_func_snprintf=yes
22942
 
else
22943
 
  echo "$as_me: failed program was:" >&5
22944
 
sed 's/^/| /' conftest.$ac_ext >&5
22945
 
 
22946
 
        ac_cv_func_snprintf=no
22947
 
fi
22948
 
 
22949
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22950
 
      conftest$ac_exeext conftest.$ac_ext
22951
 
fi
22952
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_snprintf" >&5
22953
 
echo "${ECHO_T}$ac_cv_func_snprintf" >&6; }
22954
 
if test $ac_cv_func_snprintf = yes; then
22955
 
 
22956
 
cat >>confdefs.h <<\_ACEOF
22957
 
#define HAVE_SNPRINTF
22958
 
_ACEOF
22959
 
 
22960
 
fi
22961
 
 
22962
 
{ echo "$as_me:$LINENO: checking for vsnprintf" >&5
22963
 
echo $ECHO_N "checking for vsnprintf... $ECHO_C" >&6; }
22964
 
if test "${ac_cv_func_vsnprintf+set}" = set; then
22965
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22966
 
else
22967
 
  cat >conftest.$ac_ext <<_ACEOF
22968
 
/* confdefs.h.  */
22969
 
_ACEOF
22970
 
cat confdefs.h >>conftest.$ac_ext
22971
 
cat >>conftest.$ac_ext <<_ACEOF
22972
 
/* end confdefs.h.  */
22973
 
/* Define vsnprintf to an innocuous variant, in case <limits.h> declares vsnprintf.
22974
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22975
 
#define vsnprintf innocuous_vsnprintf
22976
 
 
22977
 
/* System header to define __stub macros and hopefully few prototypes,
22978
 
    which can conflict with char vsnprintf (); below.
22979
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22980
 
    <limits.h> exists even on freestanding compilers.  */
22981
 
 
22982
 
#ifdef __STDC__
22983
 
# include <limits.h>
22984
 
#else
22985
 
# include <assert.h>
22986
 
#endif
22987
 
 
22988
 
#undef vsnprintf
22989
 
 
22990
 
/* Override any GCC internal prototype to avoid an error.
22991
 
   Use char because int might match the return type of a GCC
22992
 
   builtin and then its argument prototype would still apply.  */
22993
 
#ifdef __cplusplus
22994
 
extern "C"
22995
 
#endif
22996
 
char vsnprintf ();
22997
 
/* The GNU C library defines this for functions which it implements
22998
 
    to always fail with ENOSYS.  Some functions are actually named
22999
 
    something starting with __ and the normal name is an alias.  */
23000
 
#if defined __stub_vsnprintf || defined __stub___vsnprintf
23001
 
choke me
23002
 
#endif
23003
 
 
23004
 
int
23005
 
main ()
23006
 
{
23007
 
return vsnprintf ();
23008
 
  ;
23009
 
  return 0;
23010
 
}
23011
 
_ACEOF
23012
 
rm -f conftest.$ac_objext conftest$ac_exeext
23013
 
if { (ac_try="$ac_link"
23014
 
case "(($ac_try" in
23015
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23016
 
  *) ac_try_echo=$ac_try;;
23017
 
esac
23018
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23019
 
  (eval "$ac_link") 2>conftest.er1
23020
 
  ac_status=$?
23021
 
  grep -v '^ *+' conftest.er1 >conftest.err
23022
 
  rm -f conftest.er1
23023
 
  cat conftest.err >&5
23024
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025
 
  (exit $ac_status); } && {
23026
 
         test -z "$ac_c_werror_flag" ||
23027
 
         test ! -s conftest.err
23028
 
       } && test -s conftest$ac_exeext &&
23029
 
       $as_test_x conftest$ac_exeext; then
23030
 
  ac_cv_func_vsnprintf=yes
23031
 
else
23032
 
  echo "$as_me: failed program was:" >&5
23033
 
sed 's/^/| /' conftest.$ac_ext >&5
23034
 
 
23035
 
        ac_cv_func_vsnprintf=no
23036
 
fi
23037
 
 
23038
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23039
 
      conftest$ac_exeext conftest.$ac_ext
23040
 
fi
23041
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf" >&5
23042
 
echo "${ECHO_T}$ac_cv_func_vsnprintf" >&6; }
23043
 
if test $ac_cv_func_vsnprintf = yes; then
23044
 
 
23045
 
cat >>confdefs.h <<\_ACEOF
23046
 
#define HAVE_VSNPRINTF
23047
 
_ACEOF
 
16610
ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
 
16611
if test "x$ac_cv_func_snprintf" = x""yes; then :
 
16612
 
 
16613
$as_echo "#define HAVE_SNPRINTF /**/" >>confdefs.h
 
16614
 
 
16615
fi
 
16616
 
 
16617
ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
 
16618
if test "x$ac_cv_func_vsnprintf" = x""yes; then :
 
16619
 
 
16620
$as_echo "#define HAVE_VSNPRINTF /**/" >>confdefs.h
23048
16621
 
23049
16622
fi
23050
16623
 
23051
16624
 
23052
16625
save_LIBS=$LIBS
23053
 
{ echo "$as_me:$LINENO: checking for library containing gzopen" >&5
23054
 
echo $ECHO_N "checking for library containing gzopen... $ECHO_C" >&6; }
23055
 
if test "${ac_cv_search_gzopen+set}" = set; then
23056
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16626
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gzopen" >&5
 
16627
$as_echo_n "checking for library containing gzopen... " >&6; }
 
16628
if test "${ac_cv_search_gzopen+set}" = set; then :
 
16629
  $as_echo_n "(cached) " >&6
23057
16630
else
23058
16631
  ac_func_search_save_LIBS=$LIBS
23059
 
cat >conftest.$ac_ext <<_ACEOF
23060
 
/* confdefs.h.  */
23061
 
_ACEOF
23062
 
cat confdefs.h >>conftest.$ac_ext
23063
 
cat >>conftest.$ac_ext <<_ACEOF
 
16632
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23064
16633
/* end confdefs.h.  */
23065
16634
 
23066
16635
/* Override any GCC internal prototype to avoid an error.
23085
16654
    ac_res=-l$ac_lib
23086
16655
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
23087
16656
  fi
23088
 
  rm -f conftest.$ac_objext conftest$ac_exeext
23089
 
if { (ac_try="$ac_link"
23090
 
case "(($ac_try" in
23091
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23092
 
  *) ac_try_echo=$ac_try;;
23093
 
esac
23094
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23095
 
  (eval "$ac_link") 2>conftest.er1
23096
 
  ac_status=$?
23097
 
  grep -v '^ *+' conftest.er1 >conftest.err
23098
 
  rm -f conftest.er1
23099
 
  cat conftest.err >&5
23100
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101
 
  (exit $ac_status); } && {
23102
 
         test -z "$ac_c_werror_flag" ||
23103
 
         test ! -s conftest.err
23104
 
       } && test -s conftest$ac_exeext &&
23105
 
       $as_test_x conftest$ac_exeext; then
 
16657
  if ac_fn_c_try_link "$LINENO"; then :
23106
16658
  ac_cv_search_gzopen=$ac_res
23107
 
else
23108
 
  echo "$as_me: failed program was:" >&5
23109
 
sed 's/^/| /' conftest.$ac_ext >&5
23110
 
 
23111
 
 
23112
16659
fi
23113
 
 
23114
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23115
 
      conftest$ac_exeext
23116
 
  if test "${ac_cv_search_gzopen+set}" = set; then
 
16660
rm -f core conftest.err conftest.$ac_objext \
 
16661
    conftest$ac_exeext
 
16662
  if test "${ac_cv_search_gzopen+set}" = set; then :
23117
16663
  break
23118
16664
fi
23119
16665
done
23120
 
if test "${ac_cv_search_gzopen+set}" = set; then
23121
 
  :
 
16666
if test "${ac_cv_search_gzopen+set}" = set; then :
 
16667
 
23122
16668
else
23123
16669
  ac_cv_search_gzopen=no
23124
16670
fi
23125
16671
rm conftest.$ac_ext
23126
16672
LIBS=$ac_func_search_save_LIBS
23127
16673
fi
23128
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_gzopen" >&5
23129
 
echo "${ECHO_T}$ac_cv_search_gzopen" >&6; }
 
16674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gzopen" >&5
 
16675
$as_echo "$ac_cv_search_gzopen" >&6; }
23130
16676
ac_res=$ac_cv_search_gzopen
23131
 
if test "$ac_res" != no; then
 
16677
if test "$ac_res" != no; then :
23132
16678
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23133
16679
  HAVE_ZLIB=yes
23134
16680
else
23136
16682
fi
23137
16683
 
23138
16684
LIBS=$save_LIBS
23139
 
{ echo "$as_me:$LINENO: checking for library containing BZ2_bzopen" >&5
23140
 
echo $ECHO_N "checking for library containing BZ2_bzopen... $ECHO_C" >&6; }
23141
 
if test "${ac_cv_search_BZ2_bzopen+set}" = set; then
23142
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16685
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing BZ2_bzopen" >&5
 
16686
$as_echo_n "checking for library containing BZ2_bzopen... " >&6; }
 
16687
if test "${ac_cv_search_BZ2_bzopen+set}" = set; then :
 
16688
  $as_echo_n "(cached) " >&6
23143
16689
else
23144
16690
  ac_func_search_save_LIBS=$LIBS
23145
 
cat >conftest.$ac_ext <<_ACEOF
23146
 
/* confdefs.h.  */
23147
 
_ACEOF
23148
 
cat confdefs.h >>conftest.$ac_ext
23149
 
cat >>conftest.$ac_ext <<_ACEOF
 
16691
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23150
16692
/* end confdefs.h.  */
23151
16693
 
23152
16694
/* Override any GCC internal prototype to avoid an error.
23171
16713
    ac_res=-l$ac_lib
23172
16714
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
23173
16715
  fi
23174
 
  rm -f conftest.$ac_objext conftest$ac_exeext
23175
 
if { (ac_try="$ac_link"
23176
 
case "(($ac_try" in
23177
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23178
 
  *) ac_try_echo=$ac_try;;
23179
 
esac
23180
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23181
 
  (eval "$ac_link") 2>conftest.er1
23182
 
  ac_status=$?
23183
 
  grep -v '^ *+' conftest.er1 >conftest.err
23184
 
  rm -f conftest.er1
23185
 
  cat conftest.err >&5
23186
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23187
 
  (exit $ac_status); } && {
23188
 
         test -z "$ac_c_werror_flag" ||
23189
 
         test ! -s conftest.err
23190
 
       } && test -s conftest$ac_exeext &&
23191
 
       $as_test_x conftest$ac_exeext; then
 
16716
  if ac_fn_c_try_link "$LINENO"; then :
23192
16717
  ac_cv_search_BZ2_bzopen=$ac_res
23193
 
else
23194
 
  echo "$as_me: failed program was:" >&5
23195
 
sed 's/^/| /' conftest.$ac_ext >&5
23196
 
 
23197
 
 
23198
16718
fi
23199
 
 
23200
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23201
 
      conftest$ac_exeext
23202
 
  if test "${ac_cv_search_BZ2_bzopen+set}" = set; then
 
16719
rm -f core conftest.err conftest.$ac_objext \
 
16720
    conftest$ac_exeext
 
16721
  if test "${ac_cv_search_BZ2_bzopen+set}" = set; then :
23203
16722
  break
23204
16723
fi
23205
16724
done
23206
 
if test "${ac_cv_search_BZ2_bzopen+set}" = set; then
23207
 
  :
 
16725
if test "${ac_cv_search_BZ2_bzopen+set}" = set; then :
 
16726
 
23208
16727
else
23209
16728
  ac_cv_search_BZ2_bzopen=no
23210
16729
fi
23211
16730
rm conftest.$ac_ext
23212
16731
LIBS=$ac_func_search_save_LIBS
23213
16732
fi
23214
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_BZ2_bzopen" >&5
23215
 
echo "${ECHO_T}$ac_cv_search_BZ2_bzopen" >&6; }
 
16733
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_BZ2_bzopen" >&5
 
16734
$as_echo "$ac_cv_search_BZ2_bzopen" >&6; }
23216
16735
ac_res=$ac_cv_search_BZ2_bzopen
23217
 
if test "$ac_res" != no; then
 
16736
if test "$ac_res" != no; then :
23218
16737
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23219
16738
  HAVE_BZIP2=yes
23220
16739
else
23261
16780
CODEBLOCKS_PLATFORM=gtk
23262
16781
 
23263
16782
# Check whether --with-platform was given.
23264
 
if test "${with_platform+set}" = set; then
 
16783
if test "${with_platform+set}" = set; then :
23265
16784
  withval=$with_platform; CODEBLOCKS_PLATFORM=$withval
23266
16785
else
23267
16786
  CODEBLOCKS_PLATFORM=gtk
23292
16811
 
23293
16812
 
23294
16813
 
23295
 
{ echo "$as_me:$LINENO: checking whether to enable debugging" >&5
23296
 
echo $ECHO_N "checking whether to enable debugging... $ECHO_C" >&6; }
 
16814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debugging" >&5
 
16815
$as_echo_n "checking whether to enable debugging... " >&6; }
23297
16816
debug_default="no"
23298
16817
# Check whether --enable-debug was given.
23299
 
if test "${enable_debug+set}" = set; then
 
16818
if test "${enable_debug+set}" = set; then :
23300
16819
  enableval=$enable_debug;
23301
16820
else
23302
16821
  enable_debug=$debug_default
23303
16822
fi
23304
16823
 
23305
16824
if test "x$enable_debug" = "xyes"; then
23306
 
         CFLAGS="-g -DDEBUG $CFLAGS"
23307
 
         CXXFLAGS="-g -DDEBUG $CXXFLAGS"
23308
 
        { echo "$as_me:$LINENO: result: yes" >&5
23309
 
echo "${ECHO_T}yes" >&6; }
 
16825
         CFLAGS="-g -DDEBUG -DCB_AUTOCONF $CFLAGS"
 
16826
         CXXFLAGS="-g -DDEBUG -DCB_AUTOCONF $CXXFLAGS"
 
16827
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16828
$as_echo "yes" >&6; }
23310
16829
else
23311
 
        CFLAGS="-O2 -ffast-math $CFLAGS"
23312
 
        CXXFLAGS="-O2 -ffast-math $CXXFLAGS"
23313
 
        { echo "$as_me:$LINENO: result: no" >&5
23314
 
echo "${ECHO_T}no" >&6; }
 
16830
        CFLAGS="-O2 -ffast-math -DCB_AUTOCONF $CFLAGS"
 
16831
        CXXFLAGS="-O2 -ffast-math -DCB_AUTOCONF $CXXFLAGS"
 
16832
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16833
$as_echo "no" >&6; }
23315
16834
fi
23316
16835
 
23317
 
{ echo "$as_me:$LINENO: checking whether to build the source formatter plugin" >&5
23318
 
echo $ECHO_N "checking whether to build the source formatter plugin... $ECHO_C" >&6; }
 
16836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the source formatter plugin" >&5
 
16837
$as_echo_n "checking whether to build the source formatter plugin... " >&6; }
23319
16838
astyle_default="yes"
23320
16839
# Check whether --enable-source-formatter was given.
23321
 
if test "${enable_source_formatter+set}" = set; then
 
16840
if test "${enable_source_formatter+set}" = set; then :
23322
16841
  enableval=$enable_source_formatter;
23323
16842
else
23324
16843
  enable_astyle=$astyle_default
23333
16852
fi
23334
16853
 
23335
16854
if test "x$enable_astyle" = "xyes"; then
23336
 
        { echo "$as_me:$LINENO: result: yes" >&5
23337
 
echo "${ECHO_T}yes" >&6; }
 
16855
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16856
$as_echo "yes" >&6; }
23338
16857
else
23339
 
        { echo "$as_me:$LINENO: result: no" >&5
23340
 
echo "${ECHO_T}no" >&6; }
 
16858
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16859
$as_echo "no" >&6; }
23341
16860
fi
23342
16861
 
23343
 
{ echo "$as_me:$LINENO: checking whether to build the autosave plugin" >&5
23344
 
echo $ECHO_N "checking whether to build the autosave plugin... $ECHO_C" >&6; }
 
16862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the autosave plugin" >&5
 
16863
$as_echo_n "checking whether to build the autosave plugin... " >&6; }
23345
16864
autosave_default="yes"
23346
16865
# Check whether --enable-autosave was given.
23347
 
if test "${enable_autosave+set}" = set; then
 
16866
if test "${enable_autosave+set}" = set; then :
23348
16867
  enableval=$enable_autosave;
23349
16868
else
23350
16869
  enable_autosave=$autosave_default
23359
16878
fi
23360
16879
 
23361
16880
if test "x$enable_autosave" = "xyes"; then
23362
 
        { echo "$as_me:$LINENO: result: yes" >&5
23363
 
echo "${ECHO_T}yes" >&6; }
 
16881
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16882
$as_echo "yes" >&6; }
23364
16883
else
23365
 
        { echo "$as_me:$LINENO: result: no" >&5
23366
 
echo "${ECHO_T}no" >&6; }
 
16884
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16885
$as_echo "no" >&6; }
23367
16886
fi
23368
16887
 
23369
 
{ echo "$as_me:$LINENO: checking whether to build the class wizard plugin" >&5
23370
 
echo $ECHO_N "checking whether to build the class wizard plugin... $ECHO_C" >&6; }
 
16888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the class wizard plugin" >&5
 
16889
$as_echo_n "checking whether to build the class wizard plugin... " >&6; }
23371
16890
cw_default="yes"
23372
16891
# Check whether --enable-class-wizard was given.
23373
 
if test "${enable_class_wizard+set}" = set; then
 
16892
if test "${enable_class_wizard+set}" = set; then :
23374
16893
  enableval=$enable_class_wizard;
23375
16894
else
23376
16895
  enable_cw=$cw_default
23385
16904
fi
23386
16905
 
23387
16906
if test "x$enable_cw" = "xyes"; then
23388
 
        { echo "$as_me:$LINENO: result: yes" >&5
23389
 
echo "${ECHO_T}yes" >&6; }
 
16907
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16908
$as_echo "yes" >&6; }
23390
16909
else
23391
 
        { echo "$as_me:$LINENO: result: no" >&5
23392
 
echo "${ECHO_T}no" >&6; }
 
16910
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16911
$as_echo "no" >&6; }
23393
16912
fi
23394
16913
 
23395
 
{ echo "$as_me:$LINENO: checking whether to build the code completion plugin" >&5
23396
 
echo $ECHO_N "checking whether to build the code completion plugin... $ECHO_C" >&6; }
 
16914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the code completion plugin" >&5
 
16915
$as_echo_n "checking whether to build the code completion plugin... " >&6; }
23397
16916
cc_default="yes"
23398
16917
# Check whether --enable-code-completion was given.
23399
 
if test "${enable_code_completion+set}" = set; then
 
16918
if test "${enable_code_completion+set}" = set; then :
23400
16919
  enableval=$enable_code_completion;
23401
16920
else
23402
16921
  enable_cc=$cc_default
23411
16930
fi
23412
16931
 
23413
16932
if test "x$enable_cc" = "xyes"; then
23414
 
        { echo "$as_me:$LINENO: result: yes" >&5
23415
 
echo "${ECHO_T}yes" >&6; }
 
16933
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16934
$as_echo "yes" >&6; }
23416
16935
else
23417
 
        { echo "$as_me:$LINENO: result: no" >&5
23418
 
echo "${ECHO_T}no" >&6; }
 
16936
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16937
$as_echo "no" >&6; }
23419
16938
fi
23420
16939
 
23421
 
{ echo "$as_me:$LINENO: checking whether to build the compiler plugin" >&5
23422
 
echo $ECHO_N "checking whether to build the compiler plugin... $ECHO_C" >&6; }
 
16940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the compiler plugin" >&5
 
16941
$as_echo_n "checking whether to build the compiler plugin... " >&6; }
23423
16942
gcc_default="yes"
23424
16943
# Check whether --enable-compiler was given.
23425
 
if test "${enable_compiler+set}" = set; then
 
16944
if test "${enable_compiler+set}" = set; then :
23426
16945
  enableval=$enable_compiler;
23427
16946
else
23428
16947
  enable_gcc=$gcc_default
23437
16956
fi
23438
16957
 
23439
16958
if test "x$enable_gcc" = "xyes"; then
23440
 
        { echo "$as_me:$LINENO: result: yes" >&5
23441
 
echo "${ECHO_T}yes" >&6; }
 
16959
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16960
$as_echo "yes" >&6; }
23442
16961
else
23443
 
        { echo "$as_me:$LINENO: result: no" >&5
23444
 
echo "${ECHO_T}no" >&6; }
 
16962
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16963
$as_echo "no" >&6; }
23445
16964
fi
23446
16965
 
23447
 
{ echo "$as_me:$LINENO: checking whether to build the debugger plugin" >&5
23448
 
echo $ECHO_N "checking whether to build the debugger plugin... $ECHO_C" >&6; }
 
16966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the debugger plugin" >&5
 
16967
$as_echo_n "checking whether to build the debugger plugin... " >&6; }
23449
16968
dbg_default="yes"
23450
16969
# Check whether --enable-debugger was given.
23451
 
if test "${enable_debugger+set}" = set; then
 
16970
if test "${enable_debugger+set}" = set; then :
23452
16971
  enableval=$enable_debugger;
23453
16972
else
23454
16973
  enable_dbg=$dbg_default
23463
16982
fi
23464
16983
 
23465
16984
if test "x$enable_dbg" = "xyes"; then
23466
 
        { echo "$as_me:$LINENO: result: yes" >&5
23467
 
echo "${ECHO_T}yes" >&6; }
 
16985
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16986
$as_echo "yes" >&6; }
23468
16987
else
23469
 
        { echo "$as_me:$LINENO: result: no" >&5
23470
 
echo "${ECHO_T}no" >&6; }
 
16988
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16989
$as_echo "no" >&6; }
23471
16990
fi
23472
16991
 
23473
 
{ echo "$as_me:$LINENO: checking whether to build the default MIME handler plugin" >&5
23474
 
echo $ECHO_N "checking whether to build the default MIME handler plugin... $ECHO_C" >&6; }
 
16992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the default MIME handler plugin" >&5
 
16993
$as_echo_n "checking whether to build the default MIME handler plugin... " >&6; }
23475
16994
mime_default="yes"
23476
16995
# Check whether --enable-mime-handler was given.
23477
 
if test "${enable_mime_handler+set}" = set; then
 
16996
if test "${enable_mime_handler+set}" = set; then :
23478
16997
  enableval=$enable_mime_handler;
23479
16998
else
23480
16999
  enable_mime=$mime_default
23489
17008
fi
23490
17009
 
23491
17010
if test "x$enable_mime" = "xyes"; then
23492
 
        { echo "$as_me:$LINENO: result: yes" >&5
23493
 
echo "${ECHO_T}yes" >&6; }
 
17011
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17012
$as_echo "yes" >&6; }
23494
17013
else
23495
 
        { echo "$as_me:$LINENO: result: no" >&5
23496
 
echo "${ECHO_T}no" >&6; }
 
17014
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17015
$as_echo "no" >&6; }
23497
17016
fi
23498
17017
 
23499
 
{ echo "$as_me:$LINENO: checking whether to build the open files list plugin" >&5
23500
 
echo $ECHO_N "checking whether to build the open files list plugin... $ECHO_C" >&6; }
 
17018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the open files list plugin" >&5
 
17019
$as_echo_n "checking whether to build the open files list plugin... " >&6; }
23501
17020
openfiles_default="yes"
23502
17021
# Check whether --enable-open-files-list was given.
23503
 
if test "${enable_open_files_list+set}" = set; then
 
17022
if test "${enable_open_files_list+set}" = set; then :
23504
17023
  enableval=$enable_open_files_list;
23505
17024
else
23506
17025
  enable_openfiles=$openfiles_default
23515
17034
fi
23516
17035
 
23517
17036
if test "x$enable_openfiles" = "xyes"; then
23518
 
        { echo "$as_me:$LINENO: result: yes" >&5
23519
 
echo "${ECHO_T}yes" >&6; }
 
17037
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17038
$as_echo "yes" >&6; }
23520
17039
else
23521
 
        { echo "$as_me:$LINENO: result: no" >&5
23522
 
echo "${ECHO_T}no" >&6; }
 
17040
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17041
$as_echo "no" >&6; }
23523
17042
fi
23524
17043
 
23525
 
{ echo "$as_me:$LINENO: checking whether to build the foreign projects importer plugin" >&5
23526
 
echo $ECHO_N "checking whether to build the foreign projects importer plugin... $ECHO_C" >&6; }
 
17044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the foreign projects importer plugin" >&5
 
17045
$as_echo_n "checking whether to build the foreign projects importer plugin... " >&6; }
23527
17046
pimport_default="yes"
23528
17047
# Check whether --enable-projects-importer was given.
23529
 
if test "${enable_projects_importer+set}" = set; then
 
17048
if test "${enable_projects_importer+set}" = set; then :
23530
17049
  enableval=$enable_projects_importer;
23531
17050
else
23532
17051
  enable_pimport=$pimport_default
23541
17060
fi
23542
17061
 
23543
17062
if test "x$enable_pimport" = "xyes"; then
23544
 
        { echo "$as_me:$LINENO: result: yes" >&5
23545
 
echo "${ECHO_T}yes" >&6; }
 
17063
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17064
$as_echo "yes" >&6; }
23546
17065
else
23547
 
        { echo "$as_me:$LINENO: result: no" >&5
23548
 
echo "${ECHO_T}no" >&6; }
 
17066
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17067
$as_echo "no" >&6; }
23549
17068
fi
23550
17069
 
23551
 
{ echo "$as_me:$LINENO: checking whether to build the scripted wizard plugin" >&5
23552
 
echo $ECHO_N "checking whether to build the scripted wizard plugin... $ECHO_C" >&6; }
 
17070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the scripted wizard plugin" >&5
 
17071
$as_echo_n "checking whether to build the scripted wizard plugin... " >&6; }
23553
17072
prw_default="yes"
23554
17073
# Check whether --enable-scripted-wizard was given.
23555
 
if test "${enable_scripted_wizard+set}" = set; then
 
17074
if test "${enable_scripted_wizard+set}" = set; then :
23556
17075
  enableval=$enable_scripted_wizard;
23557
17076
else
23558
17077
  enable_prw=$prw_default
23567
17086
fi
23568
17087
 
23569
17088
if test "x$enable_prw" = "xyes"; then
23570
 
        { echo "$as_me:$LINENO: result: yes" >&5
23571
 
echo "${ECHO_T}yes" >&6; }
 
17089
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17090
$as_echo "yes" >&6; }
23572
17091
else
23573
 
        { echo "$as_me:$LINENO: result: no" >&5
23574
 
echo "${ECHO_T}no" >&6; }
 
17092
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17093
$as_echo "no" >&6; }
23575
17094
fi
23576
17095
 
23577
 
{ echo "$as_me:$LINENO: checking whether to build the to-do plugin" >&5
23578
 
echo $ECHO_N "checking whether to build the to-do plugin... $ECHO_C" >&6; }
 
17096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the to-do plugin" >&5
 
17097
$as_echo_n "checking whether to build the to-do plugin... " >&6; }
23579
17098
todo_default="yes"
23580
17099
# Check whether --enable-todo was given.
23581
 
if test "${enable_todo+set}" = set; then
 
17100
if test "${enable_todo+set}" = set; then :
23582
17101
  enableval=$enable_todo;
23583
17102
else
23584
17103
  enable_todo=$todo_default
23593
17112
fi
23594
17113
 
23595
17114
if test "x$enable_todo" = "xyes"; then
23596
 
        { echo "$as_me:$LINENO: result: yes" >&5
23597
 
echo "${ECHO_T}yes" >&6; }
 
17115
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17116
$as_echo "yes" >&6; }
23598
17117
else
23599
 
        { echo "$as_me:$LINENO: result: no" >&5
23600
 
echo "${ECHO_T}no" >&6; }
 
17118
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17119
$as_echo "no" >&6; }
23601
17120
fi
23602
17121
 
23603
17122
 
23604
17123
case $host in
23605
17124
        *-*-cygwin* | *-*-mingw*)
23606
 
                { echo "$as_me:$LINENO: checking whether to build the xp-manifest plugin" >&5
23607
 
echo $ECHO_N "checking whether to build the xp-manifest plugin... $ECHO_C" >&6; }
 
17125
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the xp-manifest plugin" >&5
 
17126
$as_echo_n "checking whether to build the xp-manifest plugin... " >&6; }
23608
17127
                xpmanifest_default="yes"
23609
17128
                # Check whether --enable-todo was given.
23610
 
if test "${enable_todo+set}" = set; then
 
17129
if test "${enable_todo+set}" = set; then :
23611
17130
  enableval=$enable_todo;
23612
17131
else
23613
17132
  enable_xpmanifest=$xpmanifest_default
23622
17141
fi
23623
17142
 
23624
17143
                if test "x$enable_xpmanifest" = "xyes"; then
23625
 
                        { echo "$as_me:$LINENO: result: yes" >&5
23626
 
echo "${ECHO_T}yes" >&6; }
 
17144
                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17145
$as_echo "yes" >&6; }
23627
17146
                else
23628
 
                        { echo "$as_me:$LINENO: result: no" >&5
23629
 
echo "${ECHO_T}no" >&6; }
 
17147
                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17148
$as_echo "no" >&6; }
23630
17149
                fi
23631
17150
                ;;
23632
17151
        *)
23696
17215
fi
23697
17216
 
23698
17217
         if false; then
 
17218
  BUILD_COPYSTRINGS_TRUE=
 
17219
  BUILD_COPYSTRINGS_FALSE='#'
 
17220
else
 
17221
  BUILD_COPYSTRINGS_TRUE='#'
 
17222
  BUILD_COPYSTRINGS_FALSE=
 
17223
fi
 
17224
 
 
17225
         if false; then
23699
17226
  BUILD_DRAGSCROLL_TRUE=
23700
17227
  BUILD_DRAGSCROLL_FALSE='#'
23701
17228
else
23712
17239
fi
23713
17240
 
23714
17241
         if false; then
 
17242
  BUILD_HEADERFIXUP_TRUE=
 
17243
  BUILD_HEADERFIXUP_FALSE='#'
 
17244
else
 
17245
  BUILD_HEADERFIXUP_TRUE='#'
 
17246
  BUILD_HEADERFIXUP_FALSE=
 
17247
fi
 
17248
 
 
17249
         if false; then
23715
17250
  BUILD_HELP_TRUE=
23716
17251
  BUILD_HELP_FALSE='#'
23717
17252
else
23776
17311
fi
23777
17312
 
23778
17313
         if false; then
 
17314
  BUILD_VALGRIND_TRUE=
 
17315
  BUILD_VALGRIND_FALSE='#'
 
17316
else
 
17317
  BUILD_VALGRIND_TRUE='#'
 
17318
  BUILD_VALGRIND_FALSE=
 
17319
fi
 
17320
 
 
17321
         if false; then
23779
17322
  BUILD_WXSMITH_TRUE=
23780
17323
  BUILD_WXSMITH_FALSE='#'
23781
17324
else
23783
17326
  BUILD_WXSMITH_FALSE=
23784
17327
fi
23785
17328
 
23786
 
 
23787
 
 
23788
 
{ echo "$as_me:$LINENO: checking which (if any) contrib plugins to build" >&5
23789
 
echo $ECHO_N "checking which (if any) contrib plugins to build... $ECHO_C" >&6; }
 
17329
         if false; then
 
17330
  BUILD_WXSMITHCONTRIB_TRUE=
 
17331
  BUILD_WXSMITHCONTRIB_FALSE='#'
 
17332
else
 
17333
  BUILD_WXSMITHCONTRIB_TRUE='#'
 
17334
  BUILD_WXSMITHCONTRIB_FALSE=
 
17335
fi
 
17336
 
 
17337
         if false; then
 
17338
  BUILD_WXSMITHAUI_TRUE=
 
17339
  BUILD_WXSMITHAUI_FALSE='#'
 
17340
else
 
17341
  BUILD_WXSMITHAUI_TRUE='#'
 
17342
  BUILD_WXSMITHAUI_FALSE=
 
17343
fi
 
17344
 
 
17345
         if false; then
 
17346
  BUILD_HEXEDITOR_TRUE=
 
17347
  BUILD_HEXEDITOR_FALSE='#'
 
17348
else
 
17349
  BUILD_HEXEDITOR_TRUE='#'
 
17350
  BUILD_HEXEDITOR_FALSE=
 
17351
fi
 
17352
 
 
17353
         if false; then
 
17354
  BUILD_INCSEARCH_TRUE=
 
17355
  BUILD_INCSEARCH_FALSE='#'
 
17356
else
 
17357
  BUILD_INCSEARCH_TRUE='#'
 
17358
  BUILD_INCSEARCH_FALSE=
 
17359
fi
 
17360
 
 
17361
         if false; then
 
17362
  BUILD_MOUSESAP_TRUE=
 
17363
  BUILD_MOUSESAP_FALSE='#'
 
17364
else
 
17365
  BUILD_MOUSESAP_TRUE='#'
 
17366
  BUILD_MOUSESAP_FALSE=
 
17367
fi
 
17368
 
 
17369
         if false; then
 
17370
  BUILD_CCCC_TRUE=
 
17371
  BUILD_CCCC_FALSE='#'
 
17372
else
 
17373
  BUILD_CCCC_TRUE='#'
 
17374
  BUILD_CCCC_FALSE=
 
17375
fi
 
17376
 
 
17377
         if false; then
 
17378
  BUILD_CPPCHECK_TRUE=
 
17379
  BUILD_CPPCHECK_FALSE='#'
 
17380
else
 
17381
  BUILD_CPPCHECK_TRUE='#'
 
17382
  BUILD_CPPCHECK_FALSE=
 
17383
fi
 
17384
 
 
17385
 
 
17386
 
 
17387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which (if any) contrib plugins to build" >&5
 
17388
$as_echo_n "checking which (if any) contrib plugins to build... " >&6; }
23790
17389
 
23791
17390
# Check whether --with-contrib-plugins was given.
23792
 
if test "${with_contrib_plugins+set}" = set; then
 
17391
if test "${with_contrib_plugins+set}" = set; then :
23793
17392
  withval=$with_contrib_plugins; plugins="$withval"
23794
17393
else
23795
17394
  plugins="none"
23851
17450
fi
23852
17451
 
23853
17452
         if true; then
 
17453
  BUILD_COPYSTRINGS_TRUE=
 
17454
  BUILD_COPYSTRINGS_FALSE='#'
 
17455
else
 
17456
  BUILD_COPYSTRINGS_TRUE='#'
 
17457
  BUILD_COPYSTRINGS_FALSE=
 
17458
fi
 
17459
 
 
17460
         if true; then
23854
17461
  BUILD_DRAGSCROLL_TRUE=
23855
17462
  BUILD_DRAGSCROLL_FALSE='#'
23856
17463
else
23867
17474
fi
23868
17475
 
23869
17476
         if true; then
 
17477
  BUILD_HEADERFIXUP_TRUE=
 
17478
  BUILD_HEADERFIXUP_FALSE='#'
 
17479
else
 
17480
  BUILD_HEADERFIXUP_TRUE='#'
 
17481
  BUILD_HEADERFIXUP_FALSE=
 
17482
fi
 
17483
 
 
17484
         if true; then
23870
17485
  BUILD_HELP_TRUE=
23871
17486
  BUILD_HELP_FALSE='#'
23872
17487
else
23931
17546
fi
23932
17547
 
23933
17548
         if true; then
 
17549
  BUILD_VALGRIND_TRUE=
 
17550
  BUILD_VALGRIND_FALSE='#'
 
17551
else
 
17552
  BUILD_VALGRIND_TRUE='#'
 
17553
  BUILD_VALGRIND_FALSE=
 
17554
fi
 
17555
 
 
17556
         if true; then
23934
17557
  BUILD_WXSMITH_TRUE=
23935
17558
  BUILD_WXSMITH_FALSE='#'
23936
17559
else
23938
17561
  BUILD_WXSMITH_FALSE=
23939
17562
fi
23940
17563
 
 
17564
         if true; then
 
17565
  BUILD_WXSMITHCONTRIB_TRUE=
 
17566
  BUILD_WXSMITHCONTRIB_FALSE='#'
 
17567
else
 
17568
  BUILD_WXSMITHCONTRIB_TRUE='#'
 
17569
  BUILD_WXSMITHCONTRIB_FALSE=
 
17570
fi
 
17571
 
 
17572
         if true; then
 
17573
  BUILD_WXSMITHAUI_TRUE=
 
17574
  BUILD_WXSMITHAUI_FALSE='#'
 
17575
else
 
17576
  BUILD_WXSMITHAUI_TRUE='#'
 
17577
  BUILD_WXSMITHAUI_FALSE=
 
17578
fi
 
17579
 
 
17580
         if true; then
 
17581
  BUILD_HEXEDITOR_TRUE=
 
17582
  BUILD_HEXEDITOR_FALSE='#'
 
17583
else
 
17584
  BUILD_HEXEDITOR_TRUE='#'
 
17585
  BUILD_HEXEDITOR_FALSE=
 
17586
fi
 
17587
 
 
17588
         if true; then
 
17589
  BUILD_INCSEARCH_TRUE=
 
17590
  BUILD_INCSEARCH_FALSE='#'
 
17591
else
 
17592
  BUILD_INCSEARCH_TRUE='#'
 
17593
  BUILD_INCSEARCH_FALSE=
 
17594
fi
 
17595
 
 
17596
         if true; then
 
17597
  BUILD_MOUSESAP_TRUE=
 
17598
  BUILD_MOUSESAP_FALSE='#'
 
17599
else
 
17600
  BUILD_MOUSESAP_TRUE='#'
 
17601
  BUILD_MOUSESAP_FALSE=
 
17602
fi
 
17603
 
 
17604
         if true; then
 
17605
  BUILD_CCCC_TRUE=
 
17606
  BUILD_CCCC_FALSE='#'
 
17607
else
 
17608
  BUILD_CCCC_TRUE='#'
 
17609
  BUILD_CCCC_FALSE=
 
17610
fi
 
17611
 
 
17612
         if true; then
 
17613
  BUILD_CPPCHECK_TRUE=
 
17614
  BUILD_CPPCHECK_FALSE='#'
 
17615
else
 
17616
  BUILD_CPPCHECK_TRUE='#'
 
17617
  BUILD_CPPCHECK_FALSE=
 
17618
fi
 
17619
 
23941
17620
 
23942
17621
                ;;
23943
17622
        AutoVersioning)
24000
17679
fi
24001
17680
 
24002
17681
                ;;
 
17682
        copystrings)
 
17683
                 if true; then
 
17684
  BUILD_COPYSTRINGS_TRUE=
 
17685
  BUILD_COPYSTRINGS_FALSE='#'
 
17686
else
 
17687
  BUILD_COPYSTRINGS_TRUE='#'
 
17688
  BUILD_COPYSTRINGS_FALSE=
 
17689
fi
 
17690
 
 
17691
                ;;
24003
17692
        dragscroll)
24004
17693
                 if true; then
24005
17694
  BUILD_DRAGSCROLL_TRUE=
24020
17709
fi
24021
17710
 
24022
17711
                ;;
 
17712
        headerfixup)
 
17713
                 if true; then
 
17714
  BUILD_HEADERFIXUP_TRUE=
 
17715
  BUILD_HEADERFIXUP_FALSE='#'
 
17716
else
 
17717
  BUILD_HEADERFIXUP_TRUE='#'
 
17718
  BUILD_HEADERFIXUP_FALSE=
 
17719
fi
 
17720
 
 
17721
                ;;
24023
17722
        help)
24024
17723
                 if true; then
24025
17724
  BUILD_HELP_TRUE=
24100
17799
fi
24101
17800
 
24102
17801
                ;;
 
17802
        Valgrind)
 
17803
                 if true; then
 
17804
  BUILD_VALGRIND_TRUE=
 
17805
  BUILD_VALGRIND_FALSE='#'
 
17806
else
 
17807
  BUILD_VALGRIND_TRUE='#'
 
17808
  BUILD_VALGRIND_FALSE=
 
17809
fi
 
17810
 
 
17811
                ;;
24103
17812
        wxsmith)
24104
17813
                 if true; then
24105
17814
  BUILD_WXSMITH_TRUE=
24110
17819
fi
24111
17820
 
24112
17821
                ;;
 
17822
        wxsmithcontrib)
 
17823
                 if true; then
 
17824
  BUILD_WXSMITHCONTRIB_TRUE=
 
17825
  BUILD_WXSMITHCONTRIB_FALSE='#'
 
17826
else
 
17827
  BUILD_WXSMITHCONTRIB_TRUE='#'
 
17828
  BUILD_WXSMITHCONTRIB_FALSE=
 
17829
fi
 
17830
 
 
17831
                ;;
 
17832
        wxsmithaui)
 
17833
                 if true; then
 
17834
  BUILD_WXSMITHAUI_TRUE=
 
17835
  BUILD_WXSMITHAUI_FALSE='#'
 
17836
else
 
17837
  BUILD_WXSMITHAUI_TRUE='#'
 
17838
  BUILD_WXSMITHAUI_FALSE=
 
17839
fi
 
17840
 
 
17841
                ;;
 
17842
        hexeditor)
 
17843
                 if true; then
 
17844
  BUILD_HEXEDITOR_TRUE=
 
17845
  BUILD_HEXEDITOR_FALSE='#'
 
17846
else
 
17847
  BUILD_HEXEDITOR_TRUE='#'
 
17848
  BUILD_HEXEDITOR_FALSE=
 
17849
fi
 
17850
 
 
17851
                ;;
 
17852
        incsearch)
 
17853
                 if true; then
 
17854
  BUILD_INCSEARCH_TRUE=
 
17855
  BUILD_INCSEARCH_FALSE='#'
 
17856
else
 
17857
  BUILD_INCSEARCH_TRUE='#'
 
17858
  BUILD_INCSEARCH_FALSE=
 
17859
fi
 
17860
 
 
17861
                ;;
 
17862
        MouseSap)
 
17863
                 if true; then
 
17864
  BUILD_MOUSESAP_TRUE=
 
17865
  BUILD_MOUSESAP_FALSE='#'
 
17866
else
 
17867
  BUILD_MOUSESAP_TRUE='#'
 
17868
  BUILD_MOUSESAP_FALSE=
 
17869
fi
 
17870
 
 
17871
                ;;
 
17872
        Cccc)
 
17873
                 if true; then
 
17874
  BUILD_CCCC_TRUE=
 
17875
  BUILD_CCCC_FALSE='#'
 
17876
else
 
17877
  BUILD_CCCC_TRUE='#'
 
17878
  BUILD_CCCC_FALSE=
 
17879
fi
 
17880
 
 
17881
                ;;
 
17882
        CppCheck)
 
17883
                 if true; then
 
17884
  BUILD_CPPCHECK_TRUE=
 
17885
  BUILD_CPPCHECK_FALSE='#'
 
17886
else
 
17887
  BUILD_CPPCHECK_TRUE='#'
 
17888
  BUILD_CPPCHECK_FALSE=
 
17889
fi
 
17890
 
 
17891
                ;;
24113
17892
        -AutoVersioning)
24114
17893
                 if false; then
24115
17894
  BUILD_AUTOVERSIONING_TRUE=
24170
17949
fi
24171
17950
 
24172
17951
                ;;
 
17952
        -copystrings)
 
17953
                 if false; then
 
17954
  BUILD_COPYSTRINGS_TRUE=
 
17955
  BUILD_COPYSTRINGS_FALSE='#'
 
17956
else
 
17957
  BUILD_COPYSTRINGS_TRUE='#'
 
17958
  BUILD_COPYSTRINGS_FALSE=
 
17959
fi
 
17960
 
 
17961
                ;;
24173
17962
        -dragscroll)
24174
17963
                 if false; then
24175
17964
  BUILD_DRAGSCROLL_TRUE=
24190
17979
fi
24191
17980
 
24192
17981
                ;;
 
17982
        -headerfixup)
 
17983
                 if false; then
 
17984
  BUILD_HEADERFIXUP_TRUE=
 
17985
  BUILD_HEADERFIXUP_FALSE='#'
 
17986
else
 
17987
  BUILD_HEADERFIXUP_TRUE='#'
 
17988
  BUILD_HEADERFIXUP_FALSE=
 
17989
fi
 
17990
 
 
17991
                ;;
24193
17992
        -help)
24194
17993
                 if false; then
24195
17994
  BUILD_HELP_TRUE=
24270
18069
fi
24271
18070
 
24272
18071
                ;;
 
18072
        -Valgrind)
 
18073
                 if false; then
 
18074
  BUILD_VALGRIND_TRUE=
 
18075
  BUILD_VALGRIND_FALSE='#'
 
18076
else
 
18077
  BUILD_VALGRIND_TRUE='#'
 
18078
  BUILD_VALGRIND_FALSE=
 
18079
fi
 
18080
 
 
18081
                ;;
24273
18082
        -wxsmith)
24274
18083
                 if false; then
24275
18084
  BUILD_WXSMITH_TRUE=
24280
18089
fi
24281
18090
 
24282
18091
                ;;
 
18092
        -wxsmithcontrib)
 
18093
                 if false; then
 
18094
  BUILD_WXSMITHCONTRIB_TRUE=
 
18095
  BUILD_WXSMITHCONTRIB_FALSE='#'
 
18096
else
 
18097
  BUILD_WXSMITHCONTRIB_TRUE='#'
 
18098
  BUILD_WXSMITHCONTRIB_FALSE=
 
18099
fi
 
18100
 
 
18101
                ;;
 
18102
        -wxsmithaui)
 
18103
                 if false; then
 
18104
  BUILD_WXSMITHAUI_TRUE=
 
18105
  BUILD_WXSMITHAUI_FALSE='#'
 
18106
else
 
18107
  BUILD_WXSMITHAUI_TRUE='#'
 
18108
  BUILD_WXSMITHAUI_FALSE=
 
18109
fi
 
18110
 
 
18111
                ;;
 
18112
        -hexeditor)
 
18113
                 if false; then
 
18114
  BUILD_HEXEDITOR_TRUE=
 
18115
  BUILD_HEXEDITOR_FALSE='#'
 
18116
else
 
18117
  BUILD_HEXEDITOR_TRUE='#'
 
18118
  BUILD_HEXEDITOR_FALSE=
 
18119
fi
 
18120
 
 
18121
                ;;
 
18122
        -incsearch)
 
18123
                 if false; then
 
18124
  BUILD_INCSEARCH_TRUE=
 
18125
  BUILD_INCSEARCH_FALSE='#'
 
18126
else
 
18127
  BUILD_INCSEARCH_TRUE='#'
 
18128
  BUILD_INCSEARCH_FALSE=
 
18129
fi
 
18130
 
 
18131
                ;;
 
18132
        -MouseSap)
 
18133
                 if false; then
 
18134
  BUILD_MOUSESAP_TRUE=
 
18135
  BUILD_MOUSESAP_FALSE='#'
 
18136
else
 
18137
  BUILD_MOUSESAP_TRUE='#'
 
18138
  BUILD_MOUSESAP_FALSE=
 
18139
fi
 
18140
 
 
18141
                ;;
 
18142
        -Cccc)
 
18143
                 if false; then
 
18144
  BUILD_CCCC_TRUE=
 
18145
  BUILD_CCCC_FALSE='#'
 
18146
else
 
18147
  BUILD_CCCC_TRUE='#'
 
18148
  BUILD_CCCC_FALSE=
 
18149
fi
 
18150
 
 
18151
                ;;
 
18152
        -CppCheck)
 
18153
                 if false; then
 
18154
  BUILD_CPPCHECK_TRUE=
 
18155
  BUILD_CPPCHECK_FALSE='#'
 
18156
else
 
18157
  BUILD_CPPCHECK_TRUE='#'
 
18158
  BUILD_CPPCHECK_FALSE=
 
18159
fi
 
18160
 
 
18161
                ;;
24283
18162
        *)
24284
18163
                echo "Unknown contrib plugin $plugin, ignoring"
24285
18164
                ;;
24286
18165
    esac
24287
18166
done
24288
 
{ echo "$as_me:$LINENO: result: $plugins" >&5
24289
 
echo "${ECHO_T}$plugins" >&6; }
 
18167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $plugins" >&5
 
18168
$as_echo "$plugins" >&6; }
 
18169
 
 
18170
 
 
18171
 
 
18172
 
 
18173
 
 
18174
 
 
18175
 
 
18176
 
 
18177
 
24290
18178
 
24291
18179
 
24292
18180
 
24320
18208
fi
24321
18209
 
24322
18210
# Check whether --enable-pch was given.
24323
 
if test "${enable_pch+set}" = set; then
 
18211
if test "${enable_pch+set}" = set; then :
24324
18212
  enableval=$enable_pch;
24325
18213
else
24326
18214
  enable_pch=$pch_default
24328
18216
 
24329
18217
if test "x$enable_pch" = "x" -o "x$enable_pch" = "xyes" ; then
24330
18218
    if test "x$GCC" = "xyes"; then
24331
 
                { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
24332
 
echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
24333
 
        cat >conftest.$ac_ext <<_ACEOF
24334
 
/* confdefs.h.  */
24335
 
_ACEOF
24336
 
cat confdefs.h >>conftest.$ac_ext
24337
 
cat >>conftest.$ac_ext <<_ACEOF
 
18219
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
 
18220
$as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
 
18221
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24338
18222
/* end confdefs.h.  */
24339
18223
 
24340
18224
int
24357
18241
  return 0;
24358
18242
}
24359
18243
_ACEOF
24360
 
rm -f conftest.$ac_objext
24361
 
if { (ac_try="$ac_compile"
24362
 
case "(($ac_try" in
24363
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24364
 
  *) ac_try_echo=$ac_try;;
24365
 
esac
24366
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24367
 
  (eval "$ac_compile") 2>conftest.er1
24368
 
  ac_status=$?
24369
 
  grep -v '^ *+' conftest.er1 >conftest.err
24370
 
  rm -f conftest.er1
24371
 
  cat conftest.err >&5
24372
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24373
 
  (exit $ac_status); } && {
24374
 
         test -z "$ac_c_werror_flag" ||
24375
 
         test ! -s conftest.err
24376
 
       } && test -s conftest.$ac_objext; then
 
18244
if ac_fn_c_try_compile "$LINENO"; then :
24377
18245
 
24378
 
                { echo "$as_me:$LINENO: result: yes" >&5
24379
 
echo "${ECHO_T}yes" >&6; }
 
18246
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18247
$as_echo "yes" >&6; }
24380
18248
                GCC_PCH=1
24381
18249
                PCH_FLAGS="-DCB_PRECOMP -Winvalid-pch"
24382
18250
 
24383
18251
else
24384
 
  echo "$as_me: failed program was:" >&5
24385
 
sed 's/^/| /' conftest.$ac_ext >&5
24386
 
 
24387
 
 
24388
 
                { echo "$as_me:$LINENO: result: no" >&5
24389
 
echo "${ECHO_T}no" >&6; }
 
18252
 
 
18253
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18254
$as_echo "no" >&6; }
24390
18255
 
24391
18256
fi
24392
 
 
24393
18257
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24394
18258
         if test $GCC_PCH = 1; then
24395
18259
  PRECOMPILE_HEADERS_TRUE=
24407
18271
 
24408
18272
 
24409
18273
# Check whether --with-wxdir was given.
24410
 
if test "${with_wxdir+set}" = set; then
 
18274
if test "${with_wxdir+set}" = set; then :
24411
18275
  withval=$with_wxdir;  wx_config_name="$withval/wx-config"
24412
18276
                  wx_config_args="--inplace"
24413
18277
fi
24414
18278
 
24415
18279
 
24416
18280
# Check whether --with-wx-config was given.
24417
 
if test "${with_wx_config+set}" = set; then
 
18281
if test "${with_wx_config+set}" = set; then :
24418
18282
  withval=$with_wx_config; wx_config_name="$withval"
24419
18283
fi
24420
18284
 
24421
18285
 
24422
18286
# Check whether --with-wx-prefix was given.
24423
 
if test "${with_wx_prefix+set}" = set; then
 
18287
if test "${with_wx_prefix+set}" = set; then :
24424
18288
  withval=$with_wx_prefix; wx_config_prefix="$withval"
24425
18289
else
24426
18290
  wx_config_prefix=""
24428
18292
 
24429
18293
 
24430
18294
# Check whether --with-wx-exec-prefix was given.
24431
 
if test "${with_wx_exec_prefix+set}" = set; then
 
18295
if test "${with_wx_exec_prefix+set}" = set; then :
24432
18296
  withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
24433
18297
else
24434
18298
  wx_config_exec_prefix=""
24457
18321
  fi
24458
18322
 
24459
18323
    if test -x "$WX_CONFIG_NAME" ; then
24460
 
     { echo "$as_me:$LINENO: checking for wx-config" >&5
24461
 
echo $ECHO_N "checking for wx-config... $ECHO_C" >&6; }
 
18324
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
 
18325
$as_echo_n "checking for wx-config... " >&6; }
24462
18326
     WX_CONFIG_PATH="$WX_CONFIG_NAME"
24463
 
     { echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
24464
 
echo "${ECHO_T}$WX_CONFIG_PATH" >&6; }
 
18327
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
 
18328
$as_echo "$WX_CONFIG_PATH" >&6; }
24465
18329
  else
24466
18330
     # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
24467
18331
set dummy $WX_CONFIG_NAME; ac_word=$2
24468
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24469
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24470
 
if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then
24471
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
18333
$as_echo_n "checking for $ac_word... " >&6; }
 
18334
if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then :
 
18335
  $as_echo_n "(cached) " >&6
24472
18336
else
24473
18337
  case $WX_CONFIG_PATH in
24474
18338
  [\\/]* | ?:[\\/]*)
24481
18345
do
24482
18346
  IFS=$as_save_IFS
24483
18347
  test -z "$as_dir" && as_dir=.
24484
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
18348
    for ac_exec_ext in '' $ac_executable_extensions; do
24485
18349
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24486
18350
    ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
24487
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18351
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24488
18352
    break 2
24489
18353
  fi
24490
18354
done
24491
 
done
 
18355
  done
24492
18356
IFS=$as_save_IFS
24493
18357
 
24494
18358
  test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
24497
18361
fi
24498
18362
WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
24499
18363
if test -n "$WX_CONFIG_PATH"; then
24500
 
  { echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
24501
 
echo "${ECHO_T}$WX_CONFIG_PATH" >&6; }
 
18364
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
 
18365
$as_echo "$WX_CONFIG_PATH" >&6; }
24502
18366
else
24503
 
  { echo "$as_me:$LINENO: result: no" >&5
24504
 
echo "${ECHO_T}no" >&6; }
 
18367
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18368
$as_echo "no" >&6; }
24505
18369
fi
24506
18370
 
24507
18371
 
24512
18376
 
24513
18377
    min_wx_version=2.8.0
24514
18378
    if test -z "" ; then
24515
 
      { echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version" >&5
24516
 
echo $ECHO_N "checking for wxWidgets version >= $min_wx_version... $ECHO_C" >&6; }
 
18379
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
 
18380
$as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
24517
18381
    else
24518
 
      { echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version ()" >&5
24519
 
echo $ECHO_N "checking for wxWidgets version >= $min_wx_version ()... $ECHO_C" >&6; }
 
18382
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
 
18383
$as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
24520
18384
    fi
24521
18385
 
24522
18386
    WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args  "
24559
18423
 
24560
18424
    if test -n "$wx_ver_ok"; then
24561
18425
 
24562
 
      { echo "$as_me:$LINENO: result: yes (version $WX_VERSION)" >&5
24563
 
echo "${ECHO_T}yes (version $WX_VERSION)" >&6; }
 
18426
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
 
18427
$as_echo "yes (version $WX_VERSION)" >&6; }
24564
18428
      WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
24565
18429
 
24566
 
                              { echo "$as_me:$LINENO: checking for wxWidgets static library" >&5
24567
 
echo $ECHO_N "checking for wxWidgets static library... $ECHO_C" >&6; }
 
18430
                              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
 
18431
$as_echo_n "checking for wxWidgets static library... " >&6; }
24568
18432
      WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
24569
18433
      if test "x$WX_LIBS_STATIC" = "x"; then
24570
 
        { echo "$as_me:$LINENO: result: no" >&5
24571
 
echo "${ECHO_T}no" >&6; }
 
18434
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18435
$as_echo "no" >&6; }
24572
18436
      else
24573
 
        { echo "$as_me:$LINENO: result: yes" >&5
24574
 
echo "${ECHO_T}yes" >&6; }
 
18437
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18438
$as_echo "yes" >&6; }
24575
18439
      fi
24576
18440
 
24577
18441
            wx_has_cppflags=""
24628
18492
    else
24629
18493
 
24630
18494
       if test "x$WX_VERSION" = x; then
24631
 
                    { echo "$as_me:$LINENO: result: no" >&5
24632
 
echo "${ECHO_T}no" >&6; }
 
18495
                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18496
$as_echo "no" >&6; }
24633
18497
       else
24634
 
          { echo "$as_me:$LINENO: result: no (version $WX_VERSION is not new enough)" >&5
24635
 
echo "${ECHO_T}no (version $WX_VERSION is not new enough)" >&6; }
 
18498
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
 
18499
$as_echo "no (version $WX_VERSION is not new enough)" >&6; }
24636
18500
       fi
24637
18501
 
24638
18502
       WX_CFLAGS=""
24668
18532
 
24669
18533
 
24670
18534
        if test "$wxWin" != 1; then
24671
 
        { { echo "$as_me:$LINENO: error:
24672
 
                wxWidgets must be installed on your system.
24673
 
 
24674
 
                Please check that wx-config is in path, the directory
24675
 
                where wxWidgets libraries are installed (returned by
24676
 
                'wx-config --libs' or 'wx-config --static --libs' command)
24677
 
                is in LD_LIBRARY_PATH or equivalent variable and
24678
 
                wxWindows version is 2.8.0 or above.
24679
 
                " >&5
24680
 
echo "$as_me: error:
24681
 
                wxWidgets must be installed on your system.
24682
 
 
24683
 
                Please check that wx-config is in path, the directory
24684
 
                where wxWidgets libraries are installed (returned by
24685
 
                'wx-config --libs' or 'wx-config --static --libs' command)
24686
 
                is in LD_LIBRARY_PATH or equivalent variable and
24687
 
                wxWindows version is 2.8.0 or above.
24688
 
                " >&2;}
24689
 
   { (exit 1); exit 1; }; }
 
18535
        as_fn_error "
 
18536
                wxWidgets must be installed on your system.
 
18537
 
 
18538
                Please check that wx-config is in path, the directory
 
18539
                where wxWidgets libraries are installed (returned by
 
18540
                'wx-config --libs' or 'wx-config --static --libs' command)
 
18541
                is in LD_LIBRARY_PATH or equivalent variable and
 
18542
                wxWindows version is 2.8.0 or above.
 
18543
                " "$LINENO" 5
24690
18544
        else
24691
18545
                # check for wx2.8.3 which is known to behave badly for us
24692
18546
                if test "$WX_VERSION" = "2.8.3"; then
24693
 
                        { { echo "$as_me:$LINENO: error:
24694
 
                wxWidgets version 2.8.3 is known to behave badly with
24695
 
                Code::Blocks. Please upgrade to a newer (or downgrade to an
24696
 
                earlier) wxWidgets version...
24697
 
                        " >&5
24698
 
echo "$as_me: error:
24699
 
                wxWidgets version 2.8.3 is known to behave badly with
24700
 
                Code::Blocks. Please upgrade to a newer (or downgrade to an
24701
 
                earlier) wxWidgets version...
24702
 
                        " >&2;}
24703
 
   { (exit 1); exit 1; }; }
 
18547
                        as_fn_error "
 
18548
                wxWidgets version 2.8.3 is known to behave badly with
 
18549
                Code::Blocks. Please upgrade to a newer (or downgrade to an
 
18550
                earlier) wxWidgets version...
 
18551
                        " "$LINENO" 5
24704
18552
                fi
24705
18553
        fi
24706
18554
 
24716
18564
POSTLINK_COMMAND="@true"
24717
18565
MACSETFILE="@true"
24718
18566
 
24719
 
{ echo "$as_me:$LINENO: checking for wxWidgets platform" >&5
24720
 
echo $ECHO_N "checking for wxWidgets platform... $ECHO_C" >&6; }
 
18567
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets platform" >&5
 
18568
$as_echo_n "checking for wxWidgets platform... " >&6; }
24721
18569
WX_BASENAME=`$WX_CONFIG_WITH_ARGS --basename`
24722
18570
case $WX_BASENAME in
24723
18571
    *wx_gtk*)
24724
 
        { echo "$as_me:$LINENO: result: wxGTK" >&5
24725
 
echo "${ECHO_T}wxGTK" >&6; }
 
18572
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: wxGTK" >&5
 
18573
$as_echo "wxGTK" >&6; }
24726
18574
                                                                                                                # Extract the first word of "pkg-config", so it can be a program name with args.
24727
18575
set dummy pkg-config; ac_word=$2
24728
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24729
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24730
 
if test "${ac_cv_prog_HAVE_PKG_CONFIG+set}" = set; then
24731
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
18577
$as_echo_n "checking for $ac_word... " >&6; }
 
18578
if test "${ac_cv_prog_HAVE_PKG_CONFIG+set}" = set; then :
 
18579
  $as_echo_n "(cached) " >&6
24732
18580
else
24733
18581
  if test -n "$HAVE_PKG_CONFIG"; then
24734
18582
  ac_cv_prog_HAVE_PKG_CONFIG="$HAVE_PKG_CONFIG" # Let the user override the test.
24738
18586
do
24739
18587
  IFS=$as_save_IFS
24740
18588
  test -z "$as_dir" && as_dir=.
24741
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
18589
    for ac_exec_ext in '' $ac_executable_extensions; do
24742
18590
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24743
18591
    ac_cv_prog_HAVE_PKG_CONFIG="yes"
24744
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18592
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24745
18593
    break 2
24746
18594
  fi
24747
18595
done
24748
 
done
 
18596
  done
24749
18597
IFS=$as_save_IFS
24750
18598
 
24751
18599
  test -z "$ac_cv_prog_HAVE_PKG_CONFIG" && ac_cv_prog_HAVE_PKG_CONFIG="no"
24753
18601
fi
24754
18602
HAVE_PKG_CONFIG=$ac_cv_prog_HAVE_PKG_CONFIG
24755
18603
if test -n "$HAVE_PKG_CONFIG"; then
24756
 
  { echo "$as_me:$LINENO: result: $HAVE_PKG_CONFIG" >&5
24757
 
echo "${ECHO_T}$HAVE_PKG_CONFIG" >&6; }
 
18604
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PKG_CONFIG" >&5
 
18605
$as_echo "$HAVE_PKG_CONFIG" >&6; }
24758
18606
else
24759
 
  { echo "$as_me:$LINENO: result: no" >&5
24760
 
echo "${ECHO_T}no" >&6; }
 
18607
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18608
$as_echo "no" >&6; }
24761
18609
fi
24762
18610
 
24763
18611
 
24765
18613
        if test "x$HAVE_PKG_CONFIG" = "xyes"; then
24766
18614
 
24767
18615
 
 
18616
 
 
18617
 
 
18618
 
 
18619
 
24768
18620
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24769
18621
        if test -n "$ac_tool_prefix"; then
24770
18622
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24771
18623
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24772
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24773
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24774
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24775
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
18625
$as_echo_n "checking for $ac_word... " >&6; }
 
18626
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
18627
  $as_echo_n "(cached) " >&6
24776
18628
else
24777
18629
  case $PKG_CONFIG in
24778
18630
  [\\/]* | ?:[\\/]*)
24784
18636
do
24785
18637
  IFS=$as_save_IFS
24786
18638
  test -z "$as_dir" && as_dir=.
24787
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
18639
    for ac_exec_ext in '' $ac_executable_extensions; do
24788
18640
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24789
18641
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24790
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18642
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24791
18643
    break 2
24792
18644
  fi
24793
18645
done
24794
 
done
 
18646
  done
24795
18647
IFS=$as_save_IFS
24796
18648
 
24797
18649
  ;;
24799
18651
fi
24800
18652
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24801
18653
if test -n "$PKG_CONFIG"; then
24802
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24803
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
18654
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
18655
$as_echo "$PKG_CONFIG" >&6; }
24804
18656
else
24805
 
  { echo "$as_me:$LINENO: result: no" >&5
24806
 
echo "${ECHO_T}no" >&6; }
 
18657
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18658
$as_echo "no" >&6; }
24807
18659
fi
24808
18660
 
24809
18661
 
24812
18664
  ac_pt_PKG_CONFIG=$PKG_CONFIG
24813
18665
  # Extract the first word of "pkg-config", so it can be a program name with args.
24814
18666
set dummy pkg-config; ac_word=$2
24815
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24816
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24817
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
24818
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18667
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
18668
$as_echo_n "checking for $ac_word... " >&6; }
 
18669
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
18670
  $as_echo_n "(cached) " >&6
24819
18671
else
24820
18672
  case $ac_pt_PKG_CONFIG in
24821
18673
  [\\/]* | ?:[\\/]*)
24827
18679
do
24828
18680
  IFS=$as_save_IFS
24829
18681
  test -z "$as_dir" && as_dir=.
24830
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
18682
    for ac_exec_ext in '' $ac_executable_extensions; do
24831
18683
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24832
18684
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24833
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18685
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24834
18686
    break 2
24835
18687
  fi
24836
18688
done
24837
 
done
 
18689
  done
24838
18690
IFS=$as_save_IFS
24839
18691
 
24840
18692
  ;;
24842
18694
fi
24843
18695
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24844
18696
if test -n "$ac_pt_PKG_CONFIG"; then
24845
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
24846
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
18697
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
18698
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
24847
18699
else
24848
 
  { echo "$as_me:$LINENO: result: no" >&5
24849
 
echo "${ECHO_T}no" >&6; }
 
18700
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18701
$as_echo "no" >&6; }
24850
18702
fi
24851
18703
 
24852
18704
  if test "x$ac_pt_PKG_CONFIG" = x; then
24854
18706
  else
24855
18707
    case $cross_compiling:$ac_tool_warned in
24856
18708
yes:)
24857
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
24858
 
whose name does not start with the host triplet.  If you think this
24859
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
24860
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
24861
 
whose name does not start with the host triplet.  If you think this
24862
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
18709
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
18710
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24863
18711
ac_tool_warned=yes ;;
24864
18712
esac
24865
18713
    PKG_CONFIG=$ac_pt_PKG_CONFIG
24871
18719
fi
24872
18720
if test -n "$PKG_CONFIG"; then
24873
18721
        _pkg_min_version=0.9.0
24874
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
24875
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
18722
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
18723
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24876
18724
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24877
 
                { echo "$as_me:$LINENO: result: yes" >&5
24878
 
echo "${ECHO_T}yes" >&6; }
 
18725
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18726
$as_echo "yes" >&6; }
24879
18727
        else
24880
 
                { echo "$as_me:$LINENO: result: no" >&5
24881
 
echo "${ECHO_T}no" >&6; }
 
18728
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18729
$as_echo "no" >&6; }
24882
18730
                PKG_CONFIG=""
24883
18731
        fi
24884
 
 
24885
18732
fi
24886
18733
 
24887
18734
pkg_failed=no
24888
 
{ echo "$as_me:$LINENO: checking for GTK2" >&5
24889
 
echo $ECHO_N "checking for GTK2... $ECHO_C" >&6; }
 
18735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5
 
18736
$as_echo_n "checking for GTK2... " >&6; }
24890
18737
 
24891
 
if test -n "$PKG_CONFIG"; then
24892
 
    if test -n "$GTK2_CFLAGS"; then
24893
 
        pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
24894
 
    else
24895
 
        if test -n "$PKG_CONFIG" && \
24896
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\"") >&5
 
18738
if test -n "$GTK2_CFLAGS"; then
 
18739
    pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
 
18740
 elif test -n "$PKG_CONFIG"; then
 
18741
    if test -n "$PKG_CONFIG" && \
 
18742
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\""; } >&5
24897
18743
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
24898
18744
  ac_status=$?
24899
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900
 
  (exit $ac_status); }; then
 
18745
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
18746
  test $ac_status = 0; }; then
24901
18747
  pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.0" 2>/dev/null`
24902
18748
else
24903
18749
  pkg_failed=yes
24904
18750
fi
24905
 
    fi
24906
 
else
24907
 
        pkg_failed=untried
 
18751
 else
 
18752
    pkg_failed=untried
24908
18753
fi
24909
 
if test -n "$PKG_CONFIG"; then
24910
 
    if test -n "$GTK2_LIBS"; then
24911
 
        pkg_cv_GTK2_LIBS="$GTK2_LIBS"
24912
 
    else
24913
 
        if test -n "$PKG_CONFIG" && \
24914
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\"") >&5
 
18754
if test -n "$GTK2_LIBS"; then
 
18755
    pkg_cv_GTK2_LIBS="$GTK2_LIBS"
 
18756
 elif test -n "$PKG_CONFIG"; then
 
18757
    if test -n "$PKG_CONFIG" && \
 
18758
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\""; } >&5
24915
18759
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
24916
18760
  ac_status=$?
24917
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918
 
  (exit $ac_status); }; then
 
18761
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
18762
  test $ac_status = 0; }; then
24919
18763
  pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.0" 2>/dev/null`
24920
18764
else
24921
18765
  pkg_failed=yes
24922
18766
fi
24923
 
    fi
24924
 
else
24925
 
        pkg_failed=untried
 
18767
 else
 
18768
    pkg_failed=untried
24926
18769
fi
24927
18770
 
24928
18771
 
24929
18772
 
24930
18773
if test $pkg_failed = yes; then
 
18774
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18775
$as_echo "no" >&6; }
24931
18776
 
24932
18777
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24933
18778
        _pkg_short_errors_supported=yes
24935
18780
        _pkg_short_errors_supported=no
24936
18781
fi
24937
18782
        if test $_pkg_short_errors_supported = yes; then
24938
 
                GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0"`
 
18783
                GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.0.0" 2>&1`
24939
18784
        else
24940
 
                GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0"`
 
18785
                GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.0.0" 2>&1`
24941
18786
        fi
24942
18787
        # Put the nasty error message in config.log where it belongs
24943
18788
        echo "$GTK2_PKG_ERRORS" >&5
24944
18789
 
24945
 
        { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met:
24946
 
 
24947
 
$GTK2_PKG_ERRORS
24948
 
 
24949
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
24950
 
installed software in a non-standard prefix.
24951
 
 
24952
 
Alternatively, you may set the environment variables GTK2_CFLAGS
24953
 
and GTK2_LIBS to avoid the need to call pkg-config.
24954
 
See the pkg-config man page for more details.
24955
 
" >&5
24956
 
echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met:
24957
 
 
24958
 
$GTK2_PKG_ERRORS
24959
 
 
24960
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
24961
 
installed software in a non-standard prefix.
24962
 
 
24963
 
Alternatively, you may set the environment variables GTK2_CFLAGS
24964
 
and GTK2_LIBS to avoid the need to call pkg-config.
24965
 
See the pkg-config man page for more details.
24966
 
" >&2;}
24967
 
   { (exit 1); exit 1; }; }
 
18790
        as_fn_error "Package requirements (gtk+-2.0 >= 2.0.0) were not met:
 
18791
 
 
18792
$GTK2_PKG_ERRORS
 
18793
 
 
18794
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
18795
installed software in a non-standard prefix.
 
18796
 
 
18797
Alternatively, you may set the environment variables GTK2_CFLAGS
 
18798
and GTK2_LIBS to avoid the need to call pkg-config.
 
18799
See the pkg-config man page for more details." "$LINENO" 5
24968
18800
elif test $pkg_failed = untried; then
24969
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
24970
 
is in your PATH or set the PKG_CONFIG environment variable to the full
24971
 
path to pkg-config.
24972
 
 
24973
 
Alternatively, you may set the environment variables GTK2_CFLAGS
24974
 
and GTK2_LIBS to avoid the need to call pkg-config.
24975
 
See the pkg-config man page for more details.
24976
 
 
24977
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24978
 
See \`config.log' for more details." >&5
24979
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
24980
 
is in your PATH or set the PKG_CONFIG environment variable to the full
24981
 
path to pkg-config.
24982
 
 
24983
 
Alternatively, you may set the environment variables GTK2_CFLAGS
24984
 
and GTK2_LIBS to avoid the need to call pkg-config.
24985
 
See the pkg-config man page for more details.
24986
 
 
24987
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24988
 
See \`config.log' for more details." >&2;}
24989
 
   { (exit 1); exit 1; }; }
 
18801
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18802
$as_echo "no" >&6; }
 
18803
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
18804
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
18805
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
18806
is in your PATH or set the PKG_CONFIG environment variable to the full
 
18807
path to pkg-config.
 
18808
 
 
18809
Alternatively, you may set the environment variables GTK2_CFLAGS
 
18810
and GTK2_LIBS to avoid the need to call pkg-config.
 
18811
See the pkg-config man page for more details.
 
18812
 
 
18813
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
18814
See \`config.log' for more details." "$LINENO" 5; }
24990
18815
else
24991
18816
        GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
24992
18817
        GTK2_LIBS=$pkg_cv_GTK2_LIBS
24993
 
        { echo "$as_me:$LINENO: result: yes" >&5
24994
 
echo "${ECHO_T}yes" >&6; }
24995
 
        :
 
18818
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18819
$as_echo "yes" >&6; }
 
18820
 
24996
18821
fi
24997
18822
        fi
24998
18823
        WX_GTK2_CFLAGS="$GTK2_CFLAGS"
24999
18824
        WX_GTK2_LIBS="$GTK2_LIBS"
25000
18825
    ;;
25001
18826
    *wx_msw*)
25002
 
        { echo "$as_me:$LINENO: result: wxMSW" >&5
25003
 
echo "${ECHO_T}wxMSW" >&6; }
 
18827
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: wxMSW" >&5
 
18828
$as_echo "wxMSW" >&6; }
25004
18829
    ;;
25005
18830
    *wx_mac*)
25006
 
        { echo "$as_me:$LINENO: result: wxMac" >&5
25007
 
echo "${ECHO_T}wxMac" >&6; }
 
18831
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: wxMac" >&5
 
18832
$as_echo "wxMac" >&6; }
25008
18833
        # Extract the first word of "Rez", so it can be a program name with args.
25009
18834
set dummy Rez; ac_word=$2
25010
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25011
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25012
 
if test "${ac_cv_prog_REZ+set}" = set; then
25013
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
18836
$as_echo_n "checking for $ac_word... " >&6; }
 
18837
if test "${ac_cv_prog_REZ+set}" = set; then :
 
18838
  $as_echo_n "(cached) " >&6
25014
18839
else
25015
18840
  if test -n "$REZ"; then
25016
18841
  ac_cv_prog_REZ="$REZ" # Let the user override the test.
25020
18845
do
25021
18846
  IFS=$as_save_IFS
25022
18847
  test -z "$as_dir" && as_dir=.
25023
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
18848
    for ac_exec_ext in '' $ac_executable_extensions; do
25024
18849
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25025
18850
    ac_cv_prog_REZ="Rez"
25026
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18851
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25027
18852
    break 2
25028
18853
  fi
25029
18854
done
25030
 
done
 
18855
  done
25031
18856
IFS=$as_save_IFS
25032
18857
 
25033
18858
  test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
25035
18860
fi
25036
18861
REZ=$ac_cv_prog_REZ
25037
18862
if test -n "$REZ"; then
25038
 
  { echo "$as_me:$LINENO: result: $REZ" >&5
25039
 
echo "${ECHO_T}$REZ" >&6; }
 
18863
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
 
18864
$as_echo "$REZ" >&6; }
25040
18865
else
25041
 
  { echo "$as_me:$LINENO: result: no" >&5
25042
 
echo "${ECHO_T}no" >&6; }
 
18866
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18867
$as_echo "no" >&6; }
25043
18868
fi
25044
18869
 
25045
18870
 
25046
18871
        POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
25047
18872
        # Extract the first word of "SetFile", so it can be a program name with args.
25048
18873
set dummy SetFile; ac_word=$2
25049
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25050
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25051
 
if test "${ac_cv_prog_SETFILE+set}" = set; then
25052
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
18875
$as_echo_n "checking for $ac_word... " >&6; }
 
18876
if test "${ac_cv_prog_SETFILE+set}" = set; then :
 
18877
  $as_echo_n "(cached) " >&6
25053
18878
else
25054
18879
  if test -n "$SETFILE"; then
25055
18880
  ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25059
18884
do
25060
18885
  IFS=$as_save_IFS
25061
18886
  test -z "$as_dir" && as_dir=.
25062
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
18887
    for ac_exec_ext in '' $ac_executable_extensions; do
25063
18888
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25064
18889
    ac_cv_prog_SETFILE="SetFile"
25065
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18890
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25066
18891
    break 2
25067
18892
  fi
25068
18893
done
25069
 
done
 
18894
  done
25070
18895
IFS=$as_save_IFS
25071
18896
 
25072
18897
  test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25074
18899
fi
25075
18900
SETFILE=$ac_cv_prog_SETFILE
25076
18901
if test -n "$SETFILE"; then
25077
 
  { echo "$as_me:$LINENO: result: $SETFILE" >&5
25078
 
echo "${ECHO_T}$SETFILE" >&6; }
 
18902
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
 
18903
$as_echo "$SETFILE" >&6; }
25079
18904
else
25080
 
  { echo "$as_me:$LINENO: result: no" >&5
25081
 
echo "${ECHO_T}no" >&6; }
 
18905
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18906
$as_echo "no" >&6; }
25082
18907
fi
25083
18908
 
25084
18909
 
25085
18910
        MACSETFILE="\$(SETFILE)"
25086
18911
    ;;
25087
18912
    *)
25088
 
        { echo "$as_me:$LINENO: result: other" >&5
25089
 
echo "${ECHO_T}other" >&6; }
 
18913
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: other" >&5
 
18914
$as_echo "other" >&6; }
25090
18915
    ;;
25091
18916
esac
25092
18917
 
25098
18923
 
25099
18924
PLUGIN_WX_LIBS=
25100
18925
 
25101
 
{ echo "$as_me:$LINENO: checking if wxWidgets libraries are needed for plugins" >&5
25102
 
echo $ECHO_N "checking if wxWidgets libraries are needed for plugins... $ECHO_C" >&6; }
 
18926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets libraries are needed for plugins" >&5
 
18927
$as_echo_n "checking if wxWidgets libraries are needed for plugins... " >&6; }
25103
18928
case `uname` in
25104
18929
    Darwin)
25105
 
        { echo "$as_me:$LINENO: result: yes" >&5
25106
 
echo "${ECHO_T}yes" >&6; }
 
18930
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18931
$as_echo "yes" >&6; }
25107
18932
        PLUGIN_WX_LIBS="$WX_LIBS"
25108
18933
    ;;
25109
18934
    *)
25110
 
        { echo "$as_me:$LINENO: result: no" >&5
25111
 
echo "${ECHO_T}no" >&6; }
 
18935
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18936
$as_echo "no" >&6; }
25112
18937
    ;;
25113
18938
esac
25114
18939
 
25116
18941
 
25117
18942
PIC_FLAGS=
25118
18943
 
25119
 
{ echo "$as_me:$LINENO: checking for PIC flags" >&5
25120
 
echo $ECHO_N "checking for PIC flags... $ECHO_C" >&6; }
 
18944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIC flags" >&5
 
18945
$as_echo_n "checking for PIC flags... " >&6; }
25121
18946
case `uname` in
25122
18947
    Solaris)
25123
18948
        if test "$GCC" = yes; then
25130
18955
        PIC_FLAGS="-fPIC -DPIC"
25131
18956
    ;;
25132
18957
esac
25133
 
{ echo "$as_me:$LINENO: result: $PIC_FLAGS" >&5
25134
 
echo "${ECHO_T}$PIC_FLAGS" >&6; }
 
18958
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PIC_FLAGS" >&5
 
18959
$as_echo "$PIC_FLAGS" >&6; }
25135
18960
 
25136
18961
CPPFLAGS="$CPPFLAGS -Ulinux -Uunix"
25137
18962
CXXFLAGS="$CXXFLAGS $PCH_FLAGS $PIC_FLAGS -fexceptions"
25156
18981
fi
25157
18982
 
25158
18983
 
25159
 
{ echo "$as_me:$LINENO: Configuring Code::Blocks..." >&5
25160
 
echo "$as_me: Configuring Code::Blocks..." >&6;}
25161
 
{ echo "$as_me:$LINENO: SVN revision 1.0svn ()" >&5
25162
 
echo "$as_me: SVN revision 1.0svn ()" >&6;}
 
18984
{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Code::Blocks..." >&5
 
18985
$as_echo "$as_me: Configuring Code::Blocks..." >&6;}
 
18986
{ $as_echo "$as_me:${as_lineno-$LINENO}: SVN revision 10.05-release ()" >&5
 
18987
$as_echo "$as_me: SVN revision 10.05-release ()" >&6;}
25163
18988
 
25164
18989
DATE=""
25165
18990
 
25166
18991
 
25167
 
ac_config_files="$ac_config_files Makefile src/Makefile src/base/Makefile src/base/tinyxml/Makefile src/build_tools/Makefile src/build_tools/autorevision/Makefile src/include/autorevision.h src/include/Makefile src/include/scripting/Makefile src/include/scripting/bindings/Makefile src/include/scripting/include/Makefile src/include/scripting/sqplus/Makefile src/include/scripting/sqstdlib/Makefile src/include/scripting/squirrel/Makefile src/include/tinyxml/Makefile src/include/wxFlatNotebook/Makefile src/include/wxscintilla/Makefile src/sdk/Makefile src/sdk/scripting/Makefile src/sdk/scripting/bindings/Makefile src/sdk/scripting/squirrel/Makefile src/sdk/scripting/sqstdlib/Makefile src/sdk/scripting/sqplus/Makefile src/sdk/wxscintilla/Makefile src/sdk/wxFlatNotebook/Makefile src/sdk/resources/Makefile src/sdk/resources/lexers/Makefile src/src/wxAUI/Makefile src/src/resources/Makefile src/src/resources/icons/Makefile src/src/resources/images/Makefile src/src/resources/images/16x16/Makefile src/src/resources/images/settings/Makefile src/src/Makefile src/plugins/Makefile src/plugins/astyle/Makefile src/plugins/astyle/resources/Makefile src/plugins/autosave/Makefile src/plugins/classwizard/Makefile src/plugins/classwizard/resources/Makefile src/plugins/codecompletion/Makefile src/plugins/codecompletion/resources/Makefile src/plugins/compilergcc/Makefile src/plugins/compilergcc/depslib/Makefile src/plugins/compilergcc/depslib/src/Makefile src/plugins/compilergcc/resources/Makefile src/plugins/debuggergdb/Makefile src/plugins/debuggergdb/resources/Makefile src/plugins/debuggergdb/resources/images/Makefile src/plugins/debuggergdb/resources/images/16x16/Makefile src/plugins/defaultmimehandler/Makefile src/plugins/defaultmimehandler/resources/Makefile src/plugins/openfileslist/Makefile src/plugins/projectsimporter/Makefile src/plugins/projectsimporter/resources/Makefile src/plugins/scriptedwizard/Makefile src/plugins/scriptedwizard/resources/Makefile src/plugins/scriptedwizard/resources/avr/Makefile src/plugins/scriptedwizard/resources/avr/files/Makefile src/plugins/scriptedwizard/resources/c_file/Makefile src/plugins/scriptedwizard/resources/console/Makefile src/plugins/scriptedwizard/resources/console/c/Makefile src/plugins/scriptedwizard/resources/console/cpp/Makefile src/plugins/scriptedwizard/resources/d/Makefile src/plugins/scriptedwizard/resources/d/console/Makefile src/plugins/scriptedwizard/resources/directx/Makefile src/plugins/scriptedwizard/resources/directx/files/Makefile src/plugins/scriptedwizard/resources/dll/Makefile src/plugins/scriptedwizard/resources/dll/files/Makefile src/plugins/scriptedwizard/resources/empty/Makefile src/plugins/scriptedwizard/resources/empty_file/Makefile src/plugins/scriptedwizard/resources/fltk/Makefile src/plugins/scriptedwizard/resources/fltk/files/Makefile src/plugins/scriptedwizard/resources/fltk/fluid/Makefile src/plugins/scriptedwizard/resources/glfw/Makefile src/plugins/scriptedwizard/resources/glfw/files/Makefile src/plugins/scriptedwizard/resources/glut/Makefile src/plugins/scriptedwizard/resources/glut/files/Makefile src/plugins/scriptedwizard/resources/gtk/Makefile src/plugins/scriptedwizard/resources/gtk/files/Makefile src/plugins/scriptedwizard/resources/h_file/Makefile src/plugins/scriptedwizard/resources/irrlicht/Makefile src/plugins/scriptedwizard/resources/irrlicht/files/Makefile src/plugins/scriptedwizard/resources/lf/Makefile src/plugins/scriptedwizard/resources/lf/files/Makefile src/plugins/scriptedwizard/resources/lf/files/quick/Makefile src/plugins/scriptedwizard/resources/lf/files/structured/Makefile src/plugins/scriptedwizard/resources/ogre/Makefile src/plugins/scriptedwizard/resources/ogre/files/Makefile src/plugins/scriptedwizard/resources/opengl/Makefile src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile src/plugins/scriptedwizard/resources/opengl/files_win/Makefile src/plugins/scriptedwizard/resources/qt4/Makefile src/plugins/scriptedwizard/resources/qt4/files/Makefile src/plugins/scriptedwizard/resources/sdl/Makefile src/plugins/scriptedwizard/resources/sdl/files/Makefile src/plugins/scriptedwizard/resources/plugins/Makefile src/plugins/scriptedwizard/resources/plugins/templates/Makefile src/plugins/scriptedwizard/resources/smartwin/Makefile src/plugins/scriptedwizard/resources/smartwin/files/Makefile src/plugins/scriptedwizard/resources/staticlib/Makefile src/plugins/scriptedwizard/resources/staticlib/files/Makefile src/plugins/scriptedwizard/resources/sharedlib/Makefile src/plugins/scriptedwizard/resources/sharedlib/files/Makefile src/plugins/scriptedwizard/resources/sys/Makefile src/plugins/scriptedwizard/resources/sys/files/Makefile src/plugins/scriptedwizard/resources/win32gui/Makefile src/plugins/scriptedwizard/resources/win32gui/files/Makefile src/plugins/scriptedwizard/resources/win32gui/files/dialog/Makefile src/plugins/scriptedwizard/resources/win32gui/files/frame/Makefile src/plugins/scriptedwizard/resources/wxwidgets/Makefile src/plugins/scriptedwizard/resources/wxwidgets/common/Makefile src/plugins/scriptedwizard/resources/wxwidgets/pch/Makefile src/plugins/scriptedwizard/resources/wxwidgets/rc/Makefile src/plugins/scriptedwizard/resources/wxwidgets/wxfb/Makefile src/plugins/scriptedwizard/resources/wxwidgets/wxfb/dialog/Makefile src/plugins/scriptedwizard/resources/wxwidgets/wxfb/frame/Makefile src/plugins/scriptedwizard/resources/wxwidgets/wxsmith/Makefile src/plugins/todo/Makefile src/plugins/todo/resources/Makefile src/plugins/xpmanifest/Makefile src/plugins/contrib/Makefile src/plugins/contrib/AutoVersioning/Makefile src/plugins/contrib/BrowseTracker/Makefile src/plugins/contrib/byogames/Makefile src/plugins/contrib/cb_koders/Makefile src/plugins/contrib/codesnippets/Makefile src/plugins/contrib/codesnippets/resources/Makefile src/plugins/contrib/codestat/Makefile src/plugins/contrib/codestat/resources/Makefile src/plugins/contrib/dragscroll/Makefile src/plugins/contrib/envvars/Makefile src/plugins/contrib/help_plugin/Makefile src/plugins/contrib/help_plugin/bzip2/Makefile src/plugins/contrib/help_plugin/zlib/Makefile src/plugins/contrib/keybinder/Makefile src/plugins/contrib/lib_finder/Makefile src/plugins/contrib/lib_finder/lib_finder/Makefile src/plugins/contrib/profiler/Makefile src/plugins/contrib/profiler/resources/Makefile src/plugins/contrib/source_exporter/Makefile src/plugins/contrib/source_exporter/wxPdfDocument/Makefile src/plugins/contrib/symtab/Makefile src/plugins/contrib/symtab/resources/Makefile src/plugins/contrib/regex_testbed/Makefile src/plugins/contrib/ThreadSearch/Makefile src/plugins/contrib/ThreadSearch/resources/Makefile src/plugins/contrib/ThreadSearch/resources/images/Makefile src/plugins/contrib/wxSmith/Makefile src/plugins/contrib/wxSmith/propgrid/Makefile src/plugins/contrib/wxSmith/plugin/Makefile src/plugins/contrib/wxSmith/properties/Makefile src/plugins/contrib/wxSmith/wxwidgets/Makefile src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile src/plugins/contrib/wxSmithContribItems/Makefile src/scripts/Makefile src/tools/Makefile src/tools/cb_share_config/Makefile src/tools/ConsoleRunner/Makefile src/setup/Makefile src/setup/mime/Makefile src/templates/Makefile src/templates/common/Makefile src/templates/unix/Makefile src/templates/win32/Makefile src/wxsmith/Makefile codeblocks.pc codeblocks.spec codeblocks.plist"
 
18992
ac_config_files="$ac_config_files Makefile src/Makefile src/base/Makefile src/base/tinyxml/Makefile src/build_tools/Makefile src/build_tools/autorevision/Makefile src/include/autorevision.h src/include/Makefile src/include/scripting/Makefile src/include/scripting/bindings/Makefile src/include/scripting/include/Makefile src/include/scripting/sqplus/Makefile src/include/scripting/sqstdlib/Makefile src/include/scripting/squirrel/Makefile src/include/tinyxml/Makefile src/sdk/Makefile src/sdk/scripting/Makefile src/sdk/scripting/bindings/Makefile src/sdk/scripting/squirrel/Makefile src/sdk/scripting/sqstdlib/Makefile src/sdk/scripting/sqplus/Makefile src/sdk/wxscintilla/Makefile src/sdk/resources/Makefile src/sdk/resources/lexers/Makefile src/src/resources/Makefile src/src/resources/icons/Makefile src/src/resources/images/Makefile src/src/resources/images/16x16/Makefile src/src/resources/images/settings/Makefile src/src/Makefile src/plugins/Makefile src/plugins/astyle/Makefile src/plugins/astyle/resources/Makefile src/plugins/autosave/Makefile src/plugins/classwizard/Makefile src/plugins/classwizard/resources/Makefile src/plugins/codecompletion/Makefile src/plugins/codecompletion/resources/Makefile src/plugins/compilergcc/Makefile src/plugins/compilergcc/depslib/Makefile src/plugins/compilergcc/depslib/src/Makefile src/plugins/compilergcc/resources/Makefile src/plugins/debuggergdb/Makefile src/plugins/debuggergdb/resources/Makefile src/plugins/debuggergdb/resources/images/Makefile src/plugins/debuggergdb/resources/images/16x16/Makefile src/plugins/defaultmimehandler/Makefile src/plugins/defaultmimehandler/resources/Makefile src/plugins/openfileslist/Makefile src/plugins/projectsimporter/Makefile src/plugins/projectsimporter/resources/Makefile src/plugins/scriptedwizard/Makefile src/plugins/scriptedwizard/resources/Makefile src/plugins/scriptedwizard/resources/arm/Makefile src/plugins/scriptedwizard/resources/arm/files/Makefile src/plugins/scriptedwizard/resources/arm/files/ARM-eval7t/Makefile src/plugins/scriptedwizard/resources/arm/files/ARM-eval7t/h/Makefile src/plugins/scriptedwizard/resources/arm/files/ARM-eval7t/ld/Makefile src/plugins/scriptedwizard/resources/arm/files/ARM-eval7t/src/Makefile src/plugins/scriptedwizard/resources/arm/files/ek-at91sam7a3/Makefile src/plugins/scriptedwizard/resources/arm/files/ek-at91sam7a3/h/Makefile src/plugins/scriptedwizard/resources/arm/files/ek-at91sam7a3/ld/Makefile src/plugins/scriptedwizard/resources/arm/files/ek-at91sam7a3/src/Makefile src/plugins/scriptedwizard/resources/arm/files/lpd-lh7a404/Makefile src/plugins/scriptedwizard/resources/arm/files/lpd-lh7a404/h/Makefile src/plugins/scriptedwizard/resources/arm/files/lpd-lh7a404/ld/Makefile src/plugins/scriptedwizard/resources/arm/files/lpd-lh7a404/src/Makefile src/plugins/scriptedwizard/resources/arm/files/olimex-at91sam7sx/Makefile src/plugins/scriptedwizard/resources/arm/files/olimex-at91sam7sx/h/Makefile src/plugins/scriptedwizard/resources/arm/files/olimex-at91sam7sx/ld/Makefile src/plugins/scriptedwizard/resources/arm/files/olimex-at91sam7sx/src/Makefile src/plugins/scriptedwizard/resources/arm/files/olimex-lpc213x/Makefile src/plugins/scriptedwizard/resources/arm/files/olimex-lpc213x/h/Makefile src/plugins/scriptedwizard/resources/arm/files/olimex-lpc213x/ld/Makefile src/plugins/scriptedwizard/resources/arm/files/olimex-lpc213x/src/Makefile src/plugins/scriptedwizard/resources/arm/files/phyCORE-AT91M55800/Makefile src/plugins/scriptedwizard/resources/arm/files/phyCORE-AT91M55800/h/Makefile src/plugins/scriptedwizard/resources/arm/files/phyCORE-AT91M55800/ld/Makefile src/plugins/scriptedwizard/resources/arm/files/phyCORE-AT91M55800/src/Makefile src/plugins/scriptedwizard/resources/arm/files/phyCORE-LPC2294/Makefile src/plugins/scriptedwizard/resources/arm/files/phyCORE-LPC2294/h/Makefile src/plugins/scriptedwizard/resources/arm/files/phyCORE-LPC2294/ld/Makefile src/plugins/scriptedwizard/resources/arm/files/phyCORE-LPC2294/src/Makefile src/plugins/scriptedwizard/resources/arm/files/phyCORE-PXA255/Makefile src/plugins/scriptedwizard/resources/arm/files/phyCORE-PXA255/h/Makefile src/plugins/scriptedwizard/resources/arm/files/phyCORE-PXA255/ld/Makefile src/plugins/scriptedwizard/resources/arm/files/phyCORE-PXA255/src/Makefile src/plugins/scriptedwizard/resources/avr/Makefile src/plugins/scriptedwizard/resources/avr/files/Makefile src/plugins/scriptedwizard/resources/c_file/Makefile src/plugins/scriptedwizard/resources/console/Makefile src/plugins/scriptedwizard/resources/console/c/Makefile src/plugins/scriptedwizard/resources/console/cpp/Makefile src/plugins/scriptedwizard/resources/d/Makefile src/plugins/scriptedwizard/resources/d/console/Makefile src/plugins/scriptedwizard/resources/directx/Makefile src/plugins/scriptedwizard/resources/directx/dx8/Makefile src/plugins/scriptedwizard/resources/directx/dx9/Makefile src/plugins/scriptedwizard/resources/dll/Makefile src/plugins/scriptedwizard/resources/dll/files/Makefile src/plugins/scriptedwizard/resources/empty/Makefile src/plugins/scriptedwizard/resources/empty_file/Makefile src/plugins/scriptedwizard/resources/fltk/Makefile src/plugins/scriptedwizard/resources/fltk/files/Makefile src/plugins/scriptedwizard/resources/fltk/fluid/Makefile src/plugins/scriptedwizard/resources/glfw/Makefile src/plugins/scriptedwizard/resources/glfw/files/Makefile src/plugins/scriptedwizard/resources/glut/Makefile src/plugins/scriptedwizard/resources/glut/files/Makefile src/plugins/scriptedwizard/resources/gtk/Makefile src/plugins/scriptedwizard/resources/gtk/files/Makefile src/plugins/scriptedwizard/resources/h_file/Makefile src/plugins/scriptedwizard/resources/irrlicht/Makefile src/plugins/scriptedwizard/resources/irrlicht/files/Makefile src/plugins/scriptedwizard/resources/lf/Makefile src/plugins/scriptedwizard/resources/lf/files/Makefile src/plugins/scriptedwizard/resources/lf/files/quick/Makefile src/plugins/scriptedwizard/resources/lf/files/structured/Makefile src/plugins/scriptedwizard/resources/matlab_csf/Makefile src/plugins/scriptedwizard/resources/matlab_csf/files/Makefile src/plugins/scriptedwizard/resources/matlab_csf/lccstub/Makefile src/plugins/scriptedwizard/resources/ogre/Makefile src/plugins/scriptedwizard/resources/ogre/files/Makefile src/plugins/scriptedwizard/resources/opengl/Makefile src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile src/plugins/scriptedwizard/resources/opengl/files_win/Makefile src/plugins/scriptedwizard/resources/plugins/Makefile src/plugins/scriptedwizard/resources/plugins/templates/Makefile src/plugins/scriptedwizard/resources/ppc/Makefile src/plugins/scriptedwizard/resources/ppc/files/Makefile src/plugins/scriptedwizard/resources/ppc/files/MPC565/Makefile src/plugins/scriptedwizard/resources/ppc/files/MPC565/h/Makefile src/plugins/scriptedwizard/resources/ppc/files/MPC565/ld/Makefile src/plugins/scriptedwizard/resources/ppc/files/MPC565/src/Makefile src/plugins/scriptedwizard/resources/ppc/files/MPC5200/Makefile src/plugins/scriptedwizard/resources/ppc/files/MPC5200/h/Makefile src/plugins/scriptedwizard/resources/ppc/files/MPC5200/ld/Makefile src/plugins/scriptedwizard/resources/ppc/files/MPC5200/src/Makefile src/plugins/scriptedwizard/resources/qt4/Makefile src/plugins/scriptedwizard/resources/qt4/files/Makefile src/plugins/scriptedwizard/resources/sdl/Makefile src/plugins/scriptedwizard/resources/sdl/files/Makefile src/plugins/scriptedwizard/resources/sfml/Makefile src/plugins/scriptedwizard/resources/sfml/files/Makefile src/plugins/scriptedwizard/resources/sharedlib/Makefile src/plugins/scriptedwizard/resources/sharedlib/c/Makefile src/plugins/scriptedwizard/resources/sharedlib/cpp/Makefile src/plugins/scriptedwizard/resources/smartwin/Makefile src/plugins/scriptedwizard/resources/smartwin/files/Makefile src/plugins/scriptedwizard/resources/staticlib/Makefile src/plugins/scriptedwizard/resources/staticlib/files/Makefile src/plugins/scriptedwizard/resources/stlport/Makefile src/plugins/scriptedwizard/resources/stlport/files/Makefile src/plugins/scriptedwizard/resources/sys/Makefile src/plugins/scriptedwizard/resources/sys/files/Makefile src/plugins/scriptedwizard/resources/tricore/Makefile src/plugins/scriptedwizard/resources/tricore/templates/Makefile src/plugins/scriptedwizard/resources/tricore/templates/EasyKit-TC1767/Makefile src/plugins/scriptedwizard/resources/tricore/templates/EasyRun-TC1796/Makefile src/plugins/scriptedwizard/resources/tricore/templates/EasyRun-TC1796/h/Makefile src/plugins/scriptedwizard/resources/tricore/templates/EasyRun-TC1796/src/Makefile src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1130/Makefile src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1130/h/Makefile src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1130/src/Makefile src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1775/Makefile src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1775/h/Makefile src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1775/src/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1130/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1130/h/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1130/src/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1161/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1162/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1762/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1765/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1765/h/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1765/src/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1766/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1775/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1775/h/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1775/src/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1792/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1792/h/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1792/src/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1796/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1796/h/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1796/src/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1797/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1797/h/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1797/src/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1920/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1920/h/Makefile src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1920/src/Makefile src/plugins/scriptedwizard/resources/win32gui/Makefile src/plugins/scriptedwizard/resources/win32gui/files/Makefile src/plugins/scriptedwizard/resources/win32gui/files/dialog/Makefile src/plugins/scriptedwizard/resources/win32gui/files/frame/Makefile src/plugins/scriptedwizard/resources/wxwidgets/Makefile src/plugins/scriptedwizard/resources/wxwidgets/common/Makefile src/plugins/scriptedwizard/resources/wxwidgets/pch/Makefile src/plugins/scriptedwizard/resources/wxwidgets/rc/Makefile src/plugins/scriptedwizard/resources/wxwidgets/wxfb/Makefile src/plugins/scriptedwizard/resources/wxwidgets/wxfb/dialog/Makefile src/plugins/scriptedwizard/resources/wxwidgets/wxfb/frame/Makefile src/plugins/scriptedwizard/resources/wxwidgets/wxsmith/Makefile src/plugins/todo/Makefile src/plugins/todo/resources/Makefile src/plugins/xpmanifest/Makefile src/plugins/contrib/Makefile src/plugins/contrib/AutoVersioning/Makefile src/plugins/contrib/BrowseTracker/Makefile src/plugins/contrib/byogames/Makefile src/plugins/contrib/Cccc/Makefile src/plugins/contrib/Cccc/resources/Makefile src/plugins/contrib/CppCheck/Makefile src/plugins/contrib/CppCheck/resources/Makefile src/plugins/contrib/cb_koders/Makefile src/plugins/contrib/codesnippets/Makefile src/plugins/contrib/codesnippets/resources/Makefile src/plugins/contrib/codestat/Makefile src/plugins/contrib/codestat/resources/Makefile src/plugins/contrib/copystrings/Makefile src/plugins/contrib/devpak_plugin/Makefile src/plugins/contrib/devpak_plugin/bzip2/Makefile src/plugins/contrib/dragscroll/Makefile src/plugins/contrib/envvars/Makefile src/plugins/contrib/headerfixup/Makefile src/plugins/contrib/help_plugin/Makefile src/plugins/contrib/help_plugin/bzip2/Makefile src/plugins/contrib/help_plugin/zlib/Makefile src/plugins/contrib/keybinder/Makefile src/plugins/contrib/profiler/Makefile src/plugins/contrib/profiler/resources/Makefile src/plugins/contrib/source_exporter/Makefile src/plugins/contrib/source_exporter/wxPdfDocument/Makefile src/plugins/contrib/symtab/Makefile src/plugins/contrib/symtab/resources/Makefile src/plugins/contrib/regex_testbed/Makefile src/plugins/contrib/ThreadSearch/Makefile src/plugins/contrib/ThreadSearch/resources/Makefile src/plugins/contrib/ThreadSearch/resources/images/Makefile src/plugins/contrib/ThreadSearch/resources/images/16x16/Makefile src/plugins/contrib/ThreadSearch/resources/images/22x22/Makefile src/plugins/contrib/Valgrind/Makefile src/plugins/contrib/Valgrind/resources/Makefile src/plugins/contrib/wxSmith/Makefile src/plugins/contrib/wxSmith/wxsmith.pc src/plugins/contrib/wxSmith/propgrid/Makefile src/plugins/contrib/wxSmith/plugin/Makefile src/plugins/contrib/wxSmith/properties/Makefile src/plugins/contrib/wxSmith/wxwidgets/Makefile src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile src/plugins/contrib/wxSmithContribItems/Makefile src/plugins/contrib/wxSmithContribItems/wxsmith-contrib.pc src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/Makefile src/plugins/contrib/wxSmithContribItems/wxflatnotebook/wxFlatNotebook/Makefile src/plugins/contrib/wxSmithContribItems/wxthings/wxthings/Makefile src/plugins/contrib/wxSmithAui/Makefile src/plugins/contrib/wxSmithAui/wxsmithaui.pc src/plugins/contrib/lib_finder/Makefile src/plugins/contrib/lib_finder/lib_finder/Makefile src/plugins/contrib/HexEditor/Makefile src/plugins/contrib/IncrementalSearch/Makefile src/plugins/contrib/MouseSap/Makefile src/mime/Makefile src/scripts/Makefile src/tools/Makefile src/tools/cb_share_config/Makefile src/tools/ConsoleRunner/Makefile src/templates/Makefile src/templates/common/Makefile src/templates/unix/Makefile src/templates/win32/Makefile src/wxsmith/Makefile codeblocks.pc codeblocks.spec codeblocks.plist"
25168
18993
 
25169
18994
 
25170
18995
cat >confcache <<\_ACEOF
25194
19019
    case $ac_val in #(
25195
19020
    *${as_nl}*)
25196
19021
      case $ac_var in #(
25197
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25198
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
19022
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
19023
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25199
19024
      esac
25200
19025
      case $ac_var in #(
25201
19026
      _ | IFS | as_nl) ;; #(
25202
 
      *) $as_unset $ac_var ;;
 
19027
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
19028
      *) { eval $ac_var=; unset $ac_var;} ;;
25203
19029
      esac ;;
25204
19030
    esac
25205
19031
  done
25207
19033
  (set) 2>&1 |
25208
19034
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
25209
19035
    *${as_nl}ac_space=\ *)
25210
 
      # `set' does not quote correctly, so add quotes (double-quote
25211
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
19036
      # `set' does not quote correctly, so add quotes: double-quote
 
19037
      # substitution turns \\\\ into \\, and sed turns \\ into \.
25212
19038
      sed -n \
25213
19039
        "s/'/'\\\\''/g;
25214
19040
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25231
19057
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25232
19058
  if test -w "$cache_file"; then
25233
19059
    test "x$cache_file" != "x/dev/null" &&
25234
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25235
 
echo "$as_me: updating cache $cache_file" >&6;}
 
19060
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
19061
$as_echo "$as_me: updating cache $cache_file" >&6;}
25236
19062
    cat confcache >$cache_file
25237
19063
  else
25238
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25239
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
19064
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
19065
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25240
19066
  fi
25241
19067
fi
25242
19068
rm -f confcache
25252
19078
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25253
19079
  # 1. Remove the extension, and $U if already installed.
25254
19080
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25255
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
19081
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25256
19082
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
25257
19083
  #    will be set to the directory where LIBOBJS objects are built.
25258
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25259
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
19084
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
19085
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25260
19086
done
25261
19087
LIBOBJS=$ac_libobjs
25262
19088
 
25263
19089
LTLIBOBJS=$ac_ltlibobjs
25264
19090
 
25265
19091
 
 
19092
 if test -n "$EXEEXT"; then
 
19093
  am__EXEEXT_TRUE=
 
19094
  am__EXEEXT_FALSE='#'
 
19095
else
 
19096
  am__EXEEXT_TRUE='#'
 
19097
  am__EXEEXT_FALSE=
 
19098
fi
 
19099
 
25266
19100
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25267
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
25268
 
Usually this means the macro was only invoked conditionally." >&5
25269
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
25270
 
Usually this means the macro was only invoked conditionally." >&2;}
25271
 
   { (exit 1); exit 1; }; }
 
19101
  as_fn_error "conditional \"AMDEP\" was never defined.
 
19102
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25272
19103
fi
25273
19104
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25274
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
25275
 
Usually this means the macro was only invoked conditionally." >&5
25276
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
25277
 
Usually this means the macro was only invoked conditionally." >&2;}
25278
 
   { (exit 1); exit 1; }; }
25279
 
fi
25280
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25281
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25282
 
Usually this means the macro was only invoked conditionally." >&5
25283
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25284
 
Usually this means the macro was only invoked conditionally." >&2;}
25285
 
   { (exit 1); exit 1; }; }
25286
 
fi
25287
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25288
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25289
 
Usually this means the macro was only invoked conditionally." >&5
25290
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25291
 
Usually this means the macro was only invoked conditionally." >&2;}
25292
 
   { (exit 1); exit 1; }; }
 
19105
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
19106
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19107
fi
 
19108
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
19109
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
19110
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19111
fi
 
19112
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
19113
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
19114
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25293
19115
fi
25294
19116
if test -z "${CODEBLOCKS_NT_TRUE}" && test -z "${CODEBLOCKS_NT_FALSE}"; then
25295
 
  { { echo "$as_me:$LINENO: error: conditional \"CODEBLOCKS_NT\" was never defined.
25296
 
Usually this means the macro was only invoked conditionally." >&5
25297
 
echo "$as_me: error: conditional \"CODEBLOCKS_NT\" was never defined.
25298
 
Usually this means the macro was only invoked conditionally." >&2;}
25299
 
   { (exit 1); exit 1; }; }
 
19117
  as_fn_error "conditional \"CODEBLOCKS_NT\" was never defined.
 
19118
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25300
19119
fi
25301
19120
if test -z "${CODEBLOCKS_LINUX_TRUE}" && test -z "${CODEBLOCKS_LINUX_FALSE}"; then
25302
 
  { { echo "$as_me:$LINENO: error: conditional \"CODEBLOCKS_LINUX\" was never defined.
25303
 
Usually this means the macro was only invoked conditionally." >&5
25304
 
echo "$as_me: error: conditional \"CODEBLOCKS_LINUX\" was never defined.
25305
 
Usually this means the macro was only invoked conditionally." >&2;}
25306
 
   { (exit 1); exit 1; }; }
 
19121
  as_fn_error "conditional \"CODEBLOCKS_LINUX\" was never defined.
 
19122
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25307
19123
fi
25308
19124
if test -z "${CODEBLOCKS_DARWIN_TRUE}" && test -z "${CODEBLOCKS_DARWIN_FALSE}"; then
25309
 
  { { echo "$as_me:$LINENO: error: conditional \"CODEBLOCKS_DARWIN\" was never defined.
25310
 
Usually this means the macro was only invoked conditionally." >&5
25311
 
echo "$as_me: error: conditional \"CODEBLOCKS_DARWIN\" was never defined.
25312
 
Usually this means the macro was only invoked conditionally." >&2;}
25313
 
   { (exit 1); exit 1; }; }
 
19125
  as_fn_error "conditional \"CODEBLOCKS_DARWIN\" was never defined.
 
19126
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19127
fi
 
19128
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
19129
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
19130
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25314
19131
fi
25315
19132
if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
25316
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_ZLIB\" was never defined.
25317
 
Usually this means the macro was only invoked conditionally." >&5
25318
 
echo "$as_me: error: conditional \"HAVE_ZLIB\" was never defined.
25319
 
Usually this means the macro was only invoked conditionally." >&2;}
25320
 
   { (exit 1); exit 1; }; }
 
19133
  as_fn_error "conditional \"HAVE_ZLIB\" was never defined.
 
19134
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25321
19135
fi
25322
19136
if test -z "${HAVE_BZIP2_TRUE}" && test -z "${HAVE_BZIP2_FALSE}"; then
25323
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_BZIP2\" was never defined.
25324
 
Usually this means the macro was only invoked conditionally." >&5
25325
 
echo "$as_me: error: conditional \"HAVE_BZIP2\" was never defined.
25326
 
Usually this means the macro was only invoked conditionally." >&2;}
25327
 
   { (exit 1); exit 1; }; }
 
19137
  as_fn_error "conditional \"HAVE_BZIP2\" was never defined.
 
19138
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25328
19139
fi
25329
19140
if test -z "${BUILD_ASTYLE_TRUE}" && test -z "${BUILD_ASTYLE_FALSE}"; then
25330
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_ASTYLE\" was never defined.
25331
 
Usually this means the macro was only invoked conditionally." >&5
25332
 
echo "$as_me: error: conditional \"BUILD_ASTYLE\" was never defined.
25333
 
Usually this means the macro was only invoked conditionally." >&2;}
25334
 
   { (exit 1); exit 1; }; }
 
19141
  as_fn_error "conditional \"BUILD_ASTYLE\" was never defined.
 
19142
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25335
19143
fi
25336
19144
if test -z "${BUILD_AUTOSAVE_TRUE}" && test -z "${BUILD_AUTOSAVE_FALSE}"; then
25337
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOSAVE\" was never defined.
25338
 
Usually this means the macro was only invoked conditionally." >&5
25339
 
echo "$as_me: error: conditional \"BUILD_AUTOSAVE\" was never defined.
25340
 
Usually this means the macro was only invoked conditionally." >&2;}
25341
 
   { (exit 1); exit 1; }; }
 
19145
  as_fn_error "conditional \"BUILD_AUTOSAVE\" was never defined.
 
19146
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25342
19147
fi
25343
19148
if test -z "${BUILD_CLASSWIZARD_TRUE}" && test -z "${BUILD_CLASSWIZARD_FALSE}"; then
25344
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASSWIZARD\" was never defined.
25345
 
Usually this means the macro was only invoked conditionally." >&5
25346
 
echo "$as_me: error: conditional \"BUILD_CLASSWIZARD\" was never defined.
25347
 
Usually this means the macro was only invoked conditionally." >&2;}
25348
 
   { (exit 1); exit 1; }; }
 
19149
  as_fn_error "conditional \"BUILD_CLASSWIZARD\" was never defined.
 
19150
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25349
19151
fi
25350
19152
if test -z "${BUILD_CODECOMPLETION_TRUE}" && test -z "${BUILD_CODECOMPLETION_FALSE}"; then
25351
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODECOMPLETION\" was never defined.
25352
 
Usually this means the macro was only invoked conditionally." >&5
25353
 
echo "$as_me: error: conditional \"BUILD_CODECOMPLETION\" was never defined.
25354
 
Usually this means the macro was only invoked conditionally." >&2;}
25355
 
   { (exit 1); exit 1; }; }
 
19153
  as_fn_error "conditional \"BUILD_CODECOMPLETION\" was never defined.
 
19154
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25356
19155
fi
25357
19156
if test -z "${BUILD_COMPILER_TRUE}" && test -z "${BUILD_COMPILER_FALSE}"; then
25358
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_COMPILER\" was never defined.
25359
 
Usually this means the macro was only invoked conditionally." >&5
25360
 
echo "$as_me: error: conditional \"BUILD_COMPILER\" was never defined.
25361
 
Usually this means the macro was only invoked conditionally." >&2;}
25362
 
   { (exit 1); exit 1; }; }
 
19157
  as_fn_error "conditional \"BUILD_COMPILER\" was never defined.
 
19158
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25363
19159
fi
25364
19160
if test -z "${BUILD_DEBUGGER_TRUE}" && test -z "${BUILD_DEBUGGER_FALSE}"; then
25365
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DEBUGGER\" was never defined.
25366
 
Usually this means the macro was only invoked conditionally." >&5
25367
 
echo "$as_me: error: conditional \"BUILD_DEBUGGER\" was never defined.
25368
 
Usually this means the macro was only invoked conditionally." >&2;}
25369
 
   { (exit 1); exit 1; }; }
 
19161
  as_fn_error "conditional \"BUILD_DEBUGGER\" was never defined.
 
19162
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25370
19163
fi
25371
19164
if test -z "${BUILD_MIMEHANDLER_TRUE}" && test -z "${BUILD_MIMEHANDLER_FALSE}"; then
25372
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_MIMEHANDLER\" was never defined.
25373
 
Usually this means the macro was only invoked conditionally." >&5
25374
 
echo "$as_me: error: conditional \"BUILD_MIMEHANDLER\" was never defined.
25375
 
Usually this means the macro was only invoked conditionally." >&2;}
25376
 
   { (exit 1); exit 1; }; }
 
19165
  as_fn_error "conditional \"BUILD_MIMEHANDLER\" was never defined.
 
19166
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25377
19167
fi
25378
19168
if test -z "${BUILD_OPENFILESLIST_TRUE}" && test -z "${BUILD_OPENFILESLIST_FALSE}"; then
25379
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_OPENFILESLIST\" was never defined.
25380
 
Usually this means the macro was only invoked conditionally." >&5
25381
 
echo "$as_me: error: conditional \"BUILD_OPENFILESLIST\" was never defined.
25382
 
Usually this means the macro was only invoked conditionally." >&2;}
25383
 
   { (exit 1); exit 1; }; }
 
19169
  as_fn_error "conditional \"BUILD_OPENFILESLIST\" was never defined.
 
19170
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25384
19171
fi
25385
19172
if test -z "${BUILD_PROJECTSIMPORTER_TRUE}" && test -z "${BUILD_PROJECTSIMPORTER_FALSE}"; then
25386
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_PROJECTSIMPORTER\" was never defined.
25387
 
Usually this means the macro was only invoked conditionally." >&5
25388
 
echo "$as_me: error: conditional \"BUILD_PROJECTSIMPORTER\" was never defined.
25389
 
Usually this means the macro was only invoked conditionally." >&2;}
25390
 
   { (exit 1); exit 1; }; }
 
19173
  as_fn_error "conditional \"BUILD_PROJECTSIMPORTER\" was never defined.
 
19174
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25391
19175
fi
25392
19176
if test -z "${BUILD_SCRIPTEDWIZARD_TRUE}" && test -z "${BUILD_SCRIPTEDWIZARD_FALSE}"; then
25393
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SCRIPTEDWIZARD\" was never defined.
25394
 
Usually this means the macro was only invoked conditionally." >&5
25395
 
echo "$as_me: error: conditional \"BUILD_SCRIPTEDWIZARD\" was never defined.
25396
 
Usually this means the macro was only invoked conditionally." >&2;}
25397
 
   { (exit 1); exit 1; }; }
 
19177
  as_fn_error "conditional \"BUILD_SCRIPTEDWIZARD\" was never defined.
 
19178
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25398
19179
fi
25399
19180
if test -z "${BUILD_TODO_TRUE}" && test -z "${BUILD_TODO_FALSE}"; then
25400
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_TODO\" was never defined.
25401
 
Usually this means the macro was only invoked conditionally." >&5
25402
 
echo "$as_me: error: conditional \"BUILD_TODO\" was never defined.
25403
 
Usually this means the macro was only invoked conditionally." >&2;}
25404
 
   { (exit 1); exit 1; }; }
25405
 
fi
25406
 
if test -z "${BUILD_MANIFEST_TRUE}" && test -z "${BUILD_MANIFEST_FALSE}"; then
25407
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_MANIFEST\" was never defined.
25408
 
Usually this means the macro was only invoked conditionally." >&5
25409
 
echo "$as_me: error: conditional \"BUILD_MANIFEST\" was never defined.
25410
 
Usually this means the macro was only invoked conditionally." >&2;}
25411
 
   { (exit 1); exit 1; }; }
25412
 
fi
25413
 
if test -z "${BUILD_MANIFEST_TRUE}" && test -z "${BUILD_MANIFEST_FALSE}"; then
25414
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_MANIFEST\" was never defined.
25415
 
Usually this means the macro was only invoked conditionally." >&5
25416
 
echo "$as_me: error: conditional \"BUILD_MANIFEST\" was never defined.
25417
 
Usually this means the macro was only invoked conditionally." >&2;}
25418
 
   { (exit 1); exit 1; }; }
25419
 
fi
25420
 
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25421
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25422
 
Usually this means the macro was only invoked conditionally." >&5
25423
 
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25424
 
Usually this means the macro was only invoked conditionally." >&2;}
25425
 
   { (exit 1); exit 1; }; }
25426
 
fi
25427
 
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25428
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25429
 
Usually this means the macro was only invoked conditionally." >&5
25430
 
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25431
 
Usually this means the macro was only invoked conditionally." >&2;}
25432
 
   { (exit 1); exit 1; }; }
25433
 
fi
25434
 
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25435
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25436
 
Usually this means the macro was only invoked conditionally." >&5
25437
 
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25438
 
Usually this means the macro was only invoked conditionally." >&2;}
25439
 
   { (exit 1); exit 1; }; }
25440
 
fi
25441
 
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25442
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25443
 
Usually this means the macro was only invoked conditionally." >&5
25444
 
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25445
 
Usually this means the macro was only invoked conditionally." >&2;}
25446
 
   { (exit 1); exit 1; }; }
25447
 
fi
25448
 
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25449
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25450
 
Usually this means the macro was only invoked conditionally." >&5
25451
 
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25452
 
Usually this means the macro was only invoked conditionally." >&2;}
25453
 
   { (exit 1); exit 1; }; }
25454
 
fi
25455
 
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25456
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25457
 
Usually this means the macro was only invoked conditionally." >&5
25458
 
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25459
 
Usually this means the macro was only invoked conditionally." >&2;}
25460
 
   { (exit 1); exit 1; }; }
25461
 
fi
25462
 
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25463
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25464
 
Usually this means the macro was only invoked conditionally." >&5
25465
 
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25466
 
Usually this means the macro was only invoked conditionally." >&2;}
25467
 
   { (exit 1); exit 1; }; }
25468
 
fi
25469
 
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25470
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25471
 
Usually this means the macro was only invoked conditionally." >&5
25472
 
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25473
 
Usually this means the macro was only invoked conditionally." >&2;}
25474
 
   { (exit 1); exit 1; }; }
25475
 
fi
25476
 
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25477
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25478
 
Usually this means the macro was only invoked conditionally." >&5
25479
 
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25480
 
Usually this means the macro was only invoked conditionally." >&2;}
25481
 
   { (exit 1); exit 1; }; }
25482
 
fi
25483
 
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25484
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25485
 
Usually this means the macro was only invoked conditionally." >&5
25486
 
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25487
 
Usually this means the macro was only invoked conditionally." >&2;}
25488
 
   { (exit 1); exit 1; }; }
25489
 
fi
25490
 
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25491
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25492
 
Usually this means the macro was only invoked conditionally." >&5
25493
 
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25494
 
Usually this means the macro was only invoked conditionally." >&2;}
25495
 
   { (exit 1); exit 1; }; }
25496
 
fi
25497
 
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25498
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25499
 
Usually this means the macro was only invoked conditionally." >&5
25500
 
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25501
 
Usually this means the macro was only invoked conditionally." >&2;}
25502
 
   { (exit 1); exit 1; }; }
25503
 
fi
25504
 
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25505
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25506
 
Usually this means the macro was only invoked conditionally." >&5
25507
 
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25508
 
Usually this means the macro was only invoked conditionally." >&2;}
25509
 
   { (exit 1); exit 1; }; }
25510
 
fi
25511
 
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25512
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25513
 
Usually this means the macro was only invoked conditionally." >&5
25514
 
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25515
 
Usually this means the macro was only invoked conditionally." >&2;}
25516
 
   { (exit 1); exit 1; }; }
25517
 
fi
25518
 
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25519
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25520
 
Usually this means the macro was only invoked conditionally." >&5
25521
 
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25522
 
Usually this means the macro was only invoked conditionally." >&2;}
25523
 
   { (exit 1); exit 1; }; }
25524
 
fi
25525
 
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25526
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25527
 
Usually this means the macro was only invoked conditionally." >&5
25528
 
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25529
 
Usually this means the macro was only invoked conditionally." >&2;}
25530
 
   { (exit 1); exit 1; }; }
25531
 
fi
25532
 
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25533
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25534
 
Usually this means the macro was only invoked conditionally." >&5
25535
 
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25536
 
Usually this means the macro was only invoked conditionally." >&2;}
25537
 
   { (exit 1); exit 1; }; }
25538
 
fi
25539
 
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25540
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25541
 
Usually this means the macro was only invoked conditionally." >&5
25542
 
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25543
 
Usually this means the macro was only invoked conditionally." >&2;}
25544
 
   { (exit 1); exit 1; }; }
25545
 
fi
25546
 
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25547
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25548
 
Usually this means the macro was only invoked conditionally." >&5
25549
 
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25550
 
Usually this means the macro was only invoked conditionally." >&2;}
25551
 
   { (exit 1); exit 1; }; }
25552
 
fi
25553
 
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25554
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25555
 
Usually this means the macro was only invoked conditionally." >&5
25556
 
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25557
 
Usually this means the macro was only invoked conditionally." >&2;}
25558
 
   { (exit 1); exit 1; }; }
25559
 
fi
25560
 
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25561
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25562
 
Usually this means the macro was only invoked conditionally." >&5
25563
 
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25564
 
Usually this means the macro was only invoked conditionally." >&2;}
25565
 
   { (exit 1); exit 1; }; }
25566
 
fi
25567
 
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25568
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25569
 
Usually this means the macro was only invoked conditionally." >&5
25570
 
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25571
 
Usually this means the macro was only invoked conditionally." >&2;}
25572
 
   { (exit 1); exit 1; }; }
25573
 
fi
25574
 
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25575
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25576
 
Usually this means the macro was only invoked conditionally." >&5
25577
 
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25578
 
Usually this means the macro was only invoked conditionally." >&2;}
25579
 
   { (exit 1); exit 1; }; }
25580
 
fi
25581
 
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25582
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25583
 
Usually this means the macro was only invoked conditionally." >&5
25584
 
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25585
 
Usually this means the macro was only invoked conditionally." >&2;}
25586
 
   { (exit 1); exit 1; }; }
25587
 
fi
25588
 
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25589
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25590
 
Usually this means the macro was only invoked conditionally." >&5
25591
 
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25592
 
Usually this means the macro was only invoked conditionally." >&2;}
25593
 
   { (exit 1); exit 1; }; }
25594
 
fi
25595
 
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25596
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25597
 
Usually this means the macro was only invoked conditionally." >&5
25598
 
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25599
 
Usually this means the macro was only invoked conditionally." >&2;}
25600
 
   { (exit 1); exit 1; }; }
25601
 
fi
25602
 
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25603
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25604
 
Usually this means the macro was only invoked conditionally." >&5
25605
 
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25606
 
Usually this means the macro was only invoked conditionally." >&2;}
25607
 
   { (exit 1); exit 1; }; }
25608
 
fi
25609
 
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25610
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25611
 
Usually this means the macro was only invoked conditionally." >&5
25612
 
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25613
 
Usually this means the macro was only invoked conditionally." >&2;}
25614
 
   { (exit 1); exit 1; }; }
25615
 
fi
25616
 
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25617
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25618
 
Usually this means the macro was only invoked conditionally." >&5
25619
 
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25620
 
Usually this means the macro was only invoked conditionally." >&2;}
25621
 
   { (exit 1); exit 1; }; }
25622
 
fi
25623
 
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25624
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25625
 
Usually this means the macro was only invoked conditionally." >&5
25626
 
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25627
 
Usually this means the macro was only invoked conditionally." >&2;}
25628
 
   { (exit 1); exit 1; }; }
25629
 
fi
25630
 
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25631
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25632
 
Usually this means the macro was only invoked conditionally." >&5
25633
 
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25634
 
Usually this means the macro was only invoked conditionally." >&2;}
25635
 
   { (exit 1); exit 1; }; }
25636
 
fi
25637
 
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25638
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25639
 
Usually this means the macro was only invoked conditionally." >&5
25640
 
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25641
 
Usually this means the macro was only invoked conditionally." >&2;}
25642
 
   { (exit 1); exit 1; }; }
25643
 
fi
25644
 
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25645
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25646
 
Usually this means the macro was only invoked conditionally." >&5
25647
 
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25648
 
Usually this means the macro was only invoked conditionally." >&2;}
25649
 
   { (exit 1); exit 1; }; }
25650
 
fi
25651
 
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25652
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25653
 
Usually this means the macro was only invoked conditionally." >&5
25654
 
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25655
 
Usually this means the macro was only invoked conditionally." >&2;}
25656
 
   { (exit 1); exit 1; }; }
25657
 
fi
25658
 
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25659
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25660
 
Usually this means the macro was only invoked conditionally." >&5
25661
 
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25662
 
Usually this means the macro was only invoked conditionally." >&2;}
25663
 
   { (exit 1); exit 1; }; }
25664
 
fi
25665
 
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25666
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25667
 
Usually this means the macro was only invoked conditionally." >&5
25668
 
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25669
 
Usually this means the macro was only invoked conditionally." >&2;}
25670
 
   { (exit 1); exit 1; }; }
25671
 
fi
25672
 
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25673
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25674
 
Usually this means the macro was only invoked conditionally." >&5
25675
 
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25676
 
Usually this means the macro was only invoked conditionally." >&2;}
25677
 
   { (exit 1); exit 1; }; }
25678
 
fi
25679
 
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25680
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25681
 
Usually this means the macro was only invoked conditionally." >&5
25682
 
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25683
 
Usually this means the macro was only invoked conditionally." >&2;}
25684
 
   { (exit 1); exit 1; }; }
25685
 
fi
25686
 
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25687
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25688
 
Usually this means the macro was only invoked conditionally." >&5
25689
 
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25690
 
Usually this means the macro was only invoked conditionally." >&2;}
25691
 
   { (exit 1); exit 1; }; }
25692
 
fi
25693
 
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25694
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25695
 
Usually this means the macro was only invoked conditionally." >&5
25696
 
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25697
 
Usually this means the macro was only invoked conditionally." >&2;}
25698
 
   { (exit 1); exit 1; }; }
25699
 
fi
25700
 
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25701
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25702
 
Usually this means the macro was only invoked conditionally." >&5
25703
 
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25704
 
Usually this means the macro was only invoked conditionally." >&2;}
25705
 
   { (exit 1); exit 1; }; }
25706
 
fi
25707
 
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25708
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25709
 
Usually this means the macro was only invoked conditionally." >&5
25710
 
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25711
 
Usually this means the macro was only invoked conditionally." >&2;}
25712
 
   { (exit 1); exit 1; }; }
25713
 
fi
25714
 
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25715
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25716
 
Usually this means the macro was only invoked conditionally." >&5
25717
 
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25718
 
Usually this means the macro was only invoked conditionally." >&2;}
25719
 
   { (exit 1); exit 1; }; }
25720
 
fi
25721
 
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25722
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25723
 
Usually this means the macro was only invoked conditionally." >&5
25724
 
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25725
 
Usually this means the macro was only invoked conditionally." >&2;}
25726
 
   { (exit 1); exit 1; }; }
25727
 
fi
25728
 
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25729
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25730
 
Usually this means the macro was only invoked conditionally." >&5
25731
 
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25732
 
Usually this means the macro was only invoked conditionally." >&2;}
25733
 
   { (exit 1); exit 1; }; }
25734
 
fi
25735
 
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25736
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25737
 
Usually this means the macro was only invoked conditionally." >&5
25738
 
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25739
 
Usually this means the macro was only invoked conditionally." >&2;}
25740
 
   { (exit 1); exit 1; }; }
25741
 
fi
25742
 
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25743
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25744
 
Usually this means the macro was only invoked conditionally." >&5
25745
 
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25746
 
Usually this means the macro was only invoked conditionally." >&2;}
25747
 
   { (exit 1); exit 1; }; }
25748
 
fi
25749
 
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25750
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25751
 
Usually this means the macro was only invoked conditionally." >&5
25752
 
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25753
 
Usually this means the macro was only invoked conditionally." >&2;}
25754
 
   { (exit 1); exit 1; }; }
25755
 
fi
25756
 
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25757
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25758
 
Usually this means the macro was only invoked conditionally." >&5
25759
 
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25760
 
Usually this means the macro was only invoked conditionally." >&2;}
25761
 
   { (exit 1); exit 1; }; }
25762
 
fi
25763
 
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25764
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25765
 
Usually this means the macro was only invoked conditionally." >&5
25766
 
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25767
 
Usually this means the macro was only invoked conditionally." >&2;}
25768
 
   { (exit 1); exit 1; }; }
25769
 
fi
25770
 
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25771
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25772
 
Usually this means the macro was only invoked conditionally." >&5
25773
 
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25774
 
Usually this means the macro was only invoked conditionally." >&2;}
25775
 
   { (exit 1); exit 1; }; }
25776
 
fi
25777
 
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25778
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25779
 
Usually this means the macro was only invoked conditionally." >&5
25780
 
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25781
 
Usually this means the macro was only invoked conditionally." >&2;}
25782
 
   { (exit 1); exit 1; }; }
25783
 
fi
25784
 
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25785
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25786
 
Usually this means the macro was only invoked conditionally." >&5
25787
 
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25788
 
Usually this means the macro was only invoked conditionally." >&2;}
25789
 
   { (exit 1); exit 1; }; }
25790
 
fi
25791
 
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25792
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25793
 
Usually this means the macro was only invoked conditionally." >&5
25794
 
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25795
 
Usually this means the macro was only invoked conditionally." >&2;}
25796
 
   { (exit 1); exit 1; }; }
25797
 
fi
25798
 
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25799
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25800
 
Usually this means the macro was only invoked conditionally." >&5
25801
 
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25802
 
Usually this means the macro was only invoked conditionally." >&2;}
25803
 
   { (exit 1); exit 1; }; }
25804
 
fi
25805
 
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25806
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25807
 
Usually this means the macro was only invoked conditionally." >&5
25808
 
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25809
 
Usually this means the macro was only invoked conditionally." >&2;}
25810
 
   { (exit 1); exit 1; }; }
25811
 
fi
25812
 
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25813
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25814
 
Usually this means the macro was only invoked conditionally." >&5
25815
 
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25816
 
Usually this means the macro was only invoked conditionally." >&2;}
25817
 
   { (exit 1); exit 1; }; }
25818
 
fi
25819
 
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25820
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25821
 
Usually this means the macro was only invoked conditionally." >&5
25822
 
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25823
 
Usually this means the macro was only invoked conditionally." >&2;}
25824
 
   { (exit 1); exit 1; }; }
25825
 
fi
25826
 
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25827
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25828
 
Usually this means the macro was only invoked conditionally." >&5
25829
 
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25830
 
Usually this means the macro was only invoked conditionally." >&2;}
25831
 
   { (exit 1); exit 1; }; }
25832
 
fi
25833
 
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25834
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25835
 
Usually this means the macro was only invoked conditionally." >&5
25836
 
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25837
 
Usually this means the macro was only invoked conditionally." >&2;}
25838
 
   { (exit 1); exit 1; }; }
25839
 
fi
25840
 
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25841
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25842
 
Usually this means the macro was only invoked conditionally." >&5
25843
 
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25844
 
Usually this means the macro was only invoked conditionally." >&2;}
25845
 
   { (exit 1); exit 1; }; }
25846
 
fi
25847
 
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25848
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25849
 
Usually this means the macro was only invoked conditionally." >&5
25850
 
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25851
 
Usually this means the macro was only invoked conditionally." >&2;}
25852
 
   { (exit 1); exit 1; }; }
25853
 
fi
25854
 
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25855
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25856
 
Usually this means the macro was only invoked conditionally." >&5
25857
 
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25858
 
Usually this means the macro was only invoked conditionally." >&2;}
25859
 
   { (exit 1); exit 1; }; }
25860
 
fi
25861
 
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25862
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25863
 
Usually this means the macro was only invoked conditionally." >&5
25864
 
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25865
 
Usually this means the macro was only invoked conditionally." >&2;}
25866
 
   { (exit 1); exit 1; }; }
25867
 
fi
25868
 
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25869
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25870
 
Usually this means the macro was only invoked conditionally." >&5
25871
 
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25872
 
Usually this means the macro was only invoked conditionally." >&2;}
25873
 
   { (exit 1); exit 1; }; }
25874
 
fi
25875
 
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25876
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25877
 
Usually this means the macro was only invoked conditionally." >&5
25878
 
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25879
 
Usually this means the macro was only invoked conditionally." >&2;}
25880
 
   { (exit 1); exit 1; }; }
25881
 
fi
25882
 
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25883
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25884
 
Usually this means the macro was only invoked conditionally." >&5
25885
 
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25886
 
Usually this means the macro was only invoked conditionally." >&2;}
25887
 
   { (exit 1); exit 1; }; }
25888
 
fi
25889
 
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25890
 
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25891
 
Usually this means the macro was only invoked conditionally." >&5
25892
 
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25893
 
Usually this means the macro was only invoked conditionally." >&2;}
25894
 
   { (exit 1); exit 1; }; }
25895
 
fi
25896
 
if test -z "${PRECOMPILE_HEADERS_TRUE}" && test -z "${PRECOMPILE_HEADERS_FALSE}"; then
25897
 
  { { echo "$as_me:$LINENO: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25898
 
Usually this means the macro was only invoked conditionally." >&5
25899
 
echo "$as_me: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25900
 
Usually this means the macro was only invoked conditionally." >&2;}
25901
 
   { (exit 1); exit 1; }; }
25902
 
fi
25903
 
if test -z "${PRECOMPILE_HEADERS_TRUE}" && test -z "${PRECOMPILE_HEADERS_FALSE}"; then
25904
 
  { { echo "$as_me:$LINENO: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25905
 
Usually this means the macro was only invoked conditionally." >&5
25906
 
echo "$as_me: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25907
 
Usually this means the macro was only invoked conditionally." >&2;}
25908
 
   { (exit 1); exit 1; }; }
 
19181
  as_fn_error "conditional \"BUILD_TODO\" was never defined.
 
19182
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19183
fi
 
19184
if test -z "${BUILD_MANIFEST_TRUE}" && test -z "${BUILD_MANIFEST_FALSE}"; then
 
19185
  as_fn_error "conditional \"BUILD_MANIFEST\" was never defined.
 
19186
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19187
fi
 
19188
if test -z "${BUILD_MANIFEST_TRUE}" && test -z "${BUILD_MANIFEST_FALSE}"; then
 
19189
  as_fn_error "conditional \"BUILD_MANIFEST\" was never defined.
 
19190
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19191
fi
 
19192
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
 
19193
  as_fn_error "conditional \"BUILD_AUTOVERSIONING\" was never defined.
 
19194
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19195
fi
 
19196
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
 
19197
  as_fn_error "conditional \"BUILD_BROWSETRACKER\" was never defined.
 
19198
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19199
fi
 
19200
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
 
19201
  as_fn_error "conditional \"BUILD_BYOGAMES\" was never defined.
 
19202
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19203
fi
 
19204
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
 
19205
  as_fn_error "conditional \"BUILD_CBKODERS\" was never defined.
 
19206
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19207
fi
 
19208
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
 
19209
  as_fn_error "conditional \"BUILD_CODESNIPPETS\" was never defined.
 
19210
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19211
fi
 
19212
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
 
19213
  as_fn_error "conditional \"BUILD_CODESTAT\" was never defined.
 
19214
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19215
fi
 
19216
if test -z "${BUILD_COPYSTRINGS_TRUE}" && test -z "${BUILD_COPYSTRINGS_FALSE}"; then
 
19217
  as_fn_error "conditional \"BUILD_COPYSTRINGS\" was never defined.
 
19218
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19219
fi
 
19220
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
 
19221
  as_fn_error "conditional \"BUILD_DRAGSCROLL\" was never defined.
 
19222
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19223
fi
 
19224
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
 
19225
  as_fn_error "conditional \"BUILD_ENVVARS\" was never defined.
 
19226
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19227
fi
 
19228
if test -z "${BUILD_HEADERFIXUP_TRUE}" && test -z "${BUILD_HEADERFIXUP_FALSE}"; then
 
19229
  as_fn_error "conditional \"BUILD_HEADERFIXUP\" was never defined.
 
19230
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19231
fi
 
19232
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
 
19233
  as_fn_error "conditional \"BUILD_HELP\" was never defined.
 
19234
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19235
fi
 
19236
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
 
19237
  as_fn_error "conditional \"BUILD_KEYBINDER\" was never defined.
 
19238
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19239
fi
 
19240
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
 
19241
  as_fn_error "conditional \"BUILD_LIBFINDER\" was never defined.
 
19242
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19243
fi
 
19244
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
 
19245
  as_fn_error "conditional \"BUILD_PROFILER\" was never defined.
 
19246
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19247
fi
 
19248
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
 
19249
  as_fn_error "conditional \"BUILD_REGEX\" was never defined.
 
19250
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19251
fi
 
19252
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
 
19253
  as_fn_error "conditional \"BUILD_EXPORTER\" was never defined.
 
19254
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19255
fi
 
19256
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
 
19257
  as_fn_error "conditional \"BUILD_SYMTAB\" was never defined.
 
19258
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19259
fi
 
19260
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
 
19261
  as_fn_error "conditional \"BUILD_THREADSEARCH\" was never defined.
 
19262
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19263
fi
 
19264
if test -z "${BUILD_VALGRIND_TRUE}" && test -z "${BUILD_VALGRIND_FALSE}"; then
 
19265
  as_fn_error "conditional \"BUILD_VALGRIND\" was never defined.
 
19266
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19267
fi
 
19268
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
 
19269
  as_fn_error "conditional \"BUILD_WXSMITH\" was never defined.
 
19270
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19271
fi
 
19272
if test -z "${BUILD_WXSMITHCONTRIB_TRUE}" && test -z "${BUILD_WXSMITHCONTRIB_FALSE}"; then
 
19273
  as_fn_error "conditional \"BUILD_WXSMITHCONTRIB\" was never defined.
 
19274
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19275
fi
 
19276
if test -z "${BUILD_WXSMITHAUI_TRUE}" && test -z "${BUILD_WXSMITHAUI_FALSE}"; then
 
19277
  as_fn_error "conditional \"BUILD_WXSMITHAUI\" was never defined.
 
19278
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19279
fi
 
19280
if test -z "${BUILD_HEXEDITOR_TRUE}" && test -z "${BUILD_HEXEDITOR_FALSE}"; then
 
19281
  as_fn_error "conditional \"BUILD_HEXEDITOR\" was never defined.
 
19282
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19283
fi
 
19284
if test -z "${BUILD_INCSEARCH_TRUE}" && test -z "${BUILD_INCSEARCH_FALSE}"; then
 
19285
  as_fn_error "conditional \"BUILD_INCSEARCH\" was never defined.
 
19286
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19287
fi
 
19288
if test -z "${BUILD_MOUSESAP_TRUE}" && test -z "${BUILD_MOUSESAP_FALSE}"; then
 
19289
  as_fn_error "conditional \"BUILD_MOUSESAP\" was never defined.
 
19290
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19291
fi
 
19292
if test -z "${BUILD_CCCC_TRUE}" && test -z "${BUILD_CCCC_FALSE}"; then
 
19293
  as_fn_error "conditional \"BUILD_CCCC\" was never defined.
 
19294
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19295
fi
 
19296
if test -z "${BUILD_CPPCHECK_TRUE}" && test -z "${BUILD_CPPCHECK_FALSE}"; then
 
19297
  as_fn_error "conditional \"BUILD_CPPCHECK\" was never defined.
 
19298
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19299
fi
 
19300
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
 
19301
  as_fn_error "conditional \"BUILD_AUTOVERSIONING\" was never defined.
 
19302
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19303
fi
 
19304
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
 
19305
  as_fn_error "conditional \"BUILD_BROWSETRACKER\" was never defined.
 
19306
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19307
fi
 
19308
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
 
19309
  as_fn_error "conditional \"BUILD_BYOGAMES\" was never defined.
 
19310
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19311
fi
 
19312
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
 
19313
  as_fn_error "conditional \"BUILD_CBKODERS\" was never defined.
 
19314
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19315
fi
 
19316
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
 
19317
  as_fn_error "conditional \"BUILD_CODESNIPPETS\" was never defined.
 
19318
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19319
fi
 
19320
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
 
19321
  as_fn_error "conditional \"BUILD_CODESTAT\" was never defined.
 
19322
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19323
fi
 
19324
if test -z "${BUILD_COPYSTRINGS_TRUE}" && test -z "${BUILD_COPYSTRINGS_FALSE}"; then
 
19325
  as_fn_error "conditional \"BUILD_COPYSTRINGS\" was never defined.
 
19326
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19327
fi
 
19328
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
 
19329
  as_fn_error "conditional \"BUILD_DRAGSCROLL\" was never defined.
 
19330
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19331
fi
 
19332
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
 
19333
  as_fn_error "conditional \"BUILD_ENVVARS\" was never defined.
 
19334
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19335
fi
 
19336
if test -z "${BUILD_HEADERFIXUP_TRUE}" && test -z "${BUILD_HEADERFIXUP_FALSE}"; then
 
19337
  as_fn_error "conditional \"BUILD_HEADERFIXUP\" was never defined.
 
19338
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19339
fi
 
19340
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
 
19341
  as_fn_error "conditional \"BUILD_HELP\" was never defined.
 
19342
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19343
fi
 
19344
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
 
19345
  as_fn_error "conditional \"BUILD_KEYBINDER\" was never defined.
 
19346
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19347
fi
 
19348
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
 
19349
  as_fn_error "conditional \"BUILD_LIBFINDER\" was never defined.
 
19350
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19351
fi
 
19352
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
 
19353
  as_fn_error "conditional \"BUILD_PROFILER\" was never defined.
 
19354
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19355
fi
 
19356
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
 
19357
  as_fn_error "conditional \"BUILD_REGEX\" was never defined.
 
19358
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19359
fi
 
19360
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
 
19361
  as_fn_error "conditional \"BUILD_EXPORTER\" was never defined.
 
19362
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19363
fi
 
19364
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
 
19365
  as_fn_error "conditional \"BUILD_SYMTAB\" was never defined.
 
19366
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19367
fi
 
19368
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
 
19369
  as_fn_error "conditional \"BUILD_THREADSEARCH\" was never defined.
 
19370
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19371
fi
 
19372
if test -z "${BUILD_VALGRIND_TRUE}" && test -z "${BUILD_VALGRIND_FALSE}"; then
 
19373
  as_fn_error "conditional \"BUILD_VALGRIND\" was never defined.
 
19374
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19375
fi
 
19376
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
 
19377
  as_fn_error "conditional \"BUILD_WXSMITH\" was never defined.
 
19378
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19379
fi
 
19380
if test -z "${BUILD_WXSMITHCONTRIB_TRUE}" && test -z "${BUILD_WXSMITHCONTRIB_FALSE}"; then
 
19381
  as_fn_error "conditional \"BUILD_WXSMITHCONTRIB\" was never defined.
 
19382
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19383
fi
 
19384
if test -z "${BUILD_WXSMITHAUI_TRUE}" && test -z "${BUILD_WXSMITHAUI_FALSE}"; then
 
19385
  as_fn_error "conditional \"BUILD_WXSMITHAUI\" was never defined.
 
19386
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19387
fi
 
19388
if test -z "${BUILD_HEXEDITOR_TRUE}" && test -z "${BUILD_HEXEDITOR_FALSE}"; then
 
19389
  as_fn_error "conditional \"BUILD_HEXEDITOR\" was never defined.
 
19390
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19391
fi
 
19392
if test -z "${BUILD_INCSEARCH_TRUE}" && test -z "${BUILD_INCSEARCH_FALSE}"; then
 
19393
  as_fn_error "conditional \"BUILD_INCSEARCH\" was never defined.
 
19394
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19395
fi
 
19396
if test -z "${BUILD_MOUSESAP_TRUE}" && test -z "${BUILD_MOUSESAP_FALSE}"; then
 
19397
  as_fn_error "conditional \"BUILD_MOUSESAP\" was never defined.
 
19398
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19399
fi
 
19400
if test -z "${BUILD_CCCC_TRUE}" && test -z "${BUILD_CCCC_FALSE}"; then
 
19401
  as_fn_error "conditional \"BUILD_CCCC\" was never defined.
 
19402
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19403
fi
 
19404
if test -z "${BUILD_CPPCHECK_TRUE}" && test -z "${BUILD_CPPCHECK_FALSE}"; then
 
19405
  as_fn_error "conditional \"BUILD_CPPCHECK\" was never defined.
 
19406
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19407
fi
 
19408
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
 
19409
  as_fn_error "conditional \"BUILD_AUTOVERSIONING\" was never defined.
 
19410
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19411
fi
 
19412
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
 
19413
  as_fn_error "conditional \"BUILD_BROWSETRACKER\" was never defined.
 
19414
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19415
fi
 
19416
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
 
19417
  as_fn_error "conditional \"BUILD_BYOGAMES\" was never defined.
 
19418
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19419
fi
 
19420
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
 
19421
  as_fn_error "conditional \"BUILD_CBKODERS\" was never defined.
 
19422
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19423
fi
 
19424
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
 
19425
  as_fn_error "conditional \"BUILD_CODESNIPPETS\" was never defined.
 
19426
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19427
fi
 
19428
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
 
19429
  as_fn_error "conditional \"BUILD_CODESTAT\" was never defined.
 
19430
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19431
fi
 
19432
if test -z "${BUILD_COPYSTRINGS_TRUE}" && test -z "${BUILD_COPYSTRINGS_FALSE}"; then
 
19433
  as_fn_error "conditional \"BUILD_COPYSTRINGS\" was never defined.
 
19434
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19435
fi
 
19436
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
 
19437
  as_fn_error "conditional \"BUILD_DRAGSCROLL\" was never defined.
 
19438
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19439
fi
 
19440
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
 
19441
  as_fn_error "conditional \"BUILD_ENVVARS\" was never defined.
 
19442
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19443
fi
 
19444
if test -z "${BUILD_HEADERFIXUP_TRUE}" && test -z "${BUILD_HEADERFIXUP_FALSE}"; then
 
19445
  as_fn_error "conditional \"BUILD_HEADERFIXUP\" was never defined.
 
19446
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19447
fi
 
19448
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
 
19449
  as_fn_error "conditional \"BUILD_HELP\" was never defined.
 
19450
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19451
fi
 
19452
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
 
19453
  as_fn_error "conditional \"BUILD_KEYBINDER\" was never defined.
 
19454
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19455
fi
 
19456
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
 
19457
  as_fn_error "conditional \"BUILD_LIBFINDER\" was never defined.
 
19458
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19459
fi
 
19460
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
 
19461
  as_fn_error "conditional \"BUILD_PROFILER\" was never defined.
 
19462
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19463
fi
 
19464
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
 
19465
  as_fn_error "conditional \"BUILD_REGEX\" was never defined.
 
19466
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19467
fi
 
19468
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
 
19469
  as_fn_error "conditional \"BUILD_EXPORTER\" was never defined.
 
19470
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19471
fi
 
19472
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
 
19473
  as_fn_error "conditional \"BUILD_SYMTAB\" was never defined.
 
19474
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19475
fi
 
19476
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
 
19477
  as_fn_error "conditional \"BUILD_THREADSEARCH\" was never defined.
 
19478
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19479
fi
 
19480
if test -z "${BUILD_VALGRIND_TRUE}" && test -z "${BUILD_VALGRIND_FALSE}"; then
 
19481
  as_fn_error "conditional \"BUILD_VALGRIND\" was never defined.
 
19482
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19483
fi
 
19484
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
 
19485
  as_fn_error "conditional \"BUILD_WXSMITH\" was never defined.
 
19486
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19487
fi
 
19488
if test -z "${BUILD_WXSMITHCONTRIB_TRUE}" && test -z "${BUILD_WXSMITHCONTRIB_FALSE}"; then
 
19489
  as_fn_error "conditional \"BUILD_WXSMITHCONTRIB\" was never defined.
 
19490
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19491
fi
 
19492
if test -z "${BUILD_WXSMITHAUI_TRUE}" && test -z "${BUILD_WXSMITHAUI_FALSE}"; then
 
19493
  as_fn_error "conditional \"BUILD_WXSMITHAUI\" was never defined.
 
19494
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19495
fi
 
19496
if test -z "${BUILD_HEXEDITOR_TRUE}" && test -z "${BUILD_HEXEDITOR_FALSE}"; then
 
19497
  as_fn_error "conditional \"BUILD_HEXEDITOR\" was never defined.
 
19498
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19499
fi
 
19500
if test -z "${BUILD_INCSEARCH_TRUE}" && test -z "${BUILD_INCSEARCH_FALSE}"; then
 
19501
  as_fn_error "conditional \"BUILD_INCSEARCH\" was never defined.
 
19502
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19503
fi
 
19504
if test -z "${BUILD_MOUSESAP_TRUE}" && test -z "${BUILD_MOUSESAP_FALSE}"; then
 
19505
  as_fn_error "conditional \"BUILD_MOUSESAP\" was never defined.
 
19506
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19507
fi
 
19508
if test -z "${BUILD_CCCC_TRUE}" && test -z "${BUILD_CCCC_FALSE}"; then
 
19509
  as_fn_error "conditional \"BUILD_CCCC\" was never defined.
 
19510
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19511
fi
 
19512
if test -z "${BUILD_CPPCHECK_TRUE}" && test -z "${BUILD_CPPCHECK_FALSE}"; then
 
19513
  as_fn_error "conditional \"BUILD_CPPCHECK\" was never defined.
 
19514
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19515
fi
 
19516
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
 
19517
  as_fn_error "conditional \"BUILD_AUTOVERSIONING\" was never defined.
 
19518
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19519
fi
 
19520
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
 
19521
  as_fn_error "conditional \"BUILD_BROWSETRACKER\" was never defined.
 
19522
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19523
fi
 
19524
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
 
19525
  as_fn_error "conditional \"BUILD_BYOGAMES\" was never defined.
 
19526
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19527
fi
 
19528
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
 
19529
  as_fn_error "conditional \"BUILD_CBKODERS\" was never defined.
 
19530
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19531
fi
 
19532
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
 
19533
  as_fn_error "conditional \"BUILD_CODESNIPPETS\" was never defined.
 
19534
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19535
fi
 
19536
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
 
19537
  as_fn_error "conditional \"BUILD_CODESTAT\" was never defined.
 
19538
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19539
fi
 
19540
if test -z "${BUILD_COPYSTRINGS_TRUE}" && test -z "${BUILD_COPYSTRINGS_FALSE}"; then
 
19541
  as_fn_error "conditional \"BUILD_COPYSTRINGS\" was never defined.
 
19542
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19543
fi
 
19544
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
 
19545
  as_fn_error "conditional \"BUILD_DRAGSCROLL\" was never defined.
 
19546
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19547
fi
 
19548
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
 
19549
  as_fn_error "conditional \"BUILD_ENVVARS\" was never defined.
 
19550
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19551
fi
 
19552
if test -z "${BUILD_HEADERFIXUP_TRUE}" && test -z "${BUILD_HEADERFIXUP_FALSE}"; then
 
19553
  as_fn_error "conditional \"BUILD_HEADERFIXUP\" was never defined.
 
19554
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19555
fi
 
19556
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
 
19557
  as_fn_error "conditional \"BUILD_HELP\" was never defined.
 
19558
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19559
fi
 
19560
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
 
19561
  as_fn_error "conditional \"BUILD_KEYBINDER\" was never defined.
 
19562
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19563
fi
 
19564
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
 
19565
  as_fn_error "conditional \"BUILD_LIBFINDER\" was never defined.
 
19566
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19567
fi
 
19568
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
 
19569
  as_fn_error "conditional \"BUILD_PROFILER\" was never defined.
 
19570
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19571
fi
 
19572
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
 
19573
  as_fn_error "conditional \"BUILD_REGEX\" was never defined.
 
19574
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19575
fi
 
19576
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
 
19577
  as_fn_error "conditional \"BUILD_EXPORTER\" was never defined.
 
19578
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19579
fi
 
19580
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
 
19581
  as_fn_error "conditional \"BUILD_SYMTAB\" was never defined.
 
19582
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19583
fi
 
19584
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
 
19585
  as_fn_error "conditional \"BUILD_THREADSEARCH\" was never defined.
 
19586
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19587
fi
 
19588
if test -z "${BUILD_VALGRIND_TRUE}" && test -z "${BUILD_VALGRIND_FALSE}"; then
 
19589
  as_fn_error "conditional \"BUILD_VALGRIND\" was never defined.
 
19590
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19591
fi
 
19592
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
 
19593
  as_fn_error "conditional \"BUILD_WXSMITH\" was never defined.
 
19594
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19595
fi
 
19596
if test -z "${BUILD_WXSMITHCONTRIB_TRUE}" && test -z "${BUILD_WXSMITHCONTRIB_FALSE}"; then
 
19597
  as_fn_error "conditional \"BUILD_WXSMITHCONTRIB\" was never defined.
 
19598
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19599
fi
 
19600
if test -z "${BUILD_WXSMITHAUI_TRUE}" && test -z "${BUILD_WXSMITHAUI_FALSE}"; then
 
19601
  as_fn_error "conditional \"BUILD_WXSMITHAUI\" was never defined.
 
19602
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19603
fi
 
19604
if test -z "${BUILD_HEXEDITOR_TRUE}" && test -z "${BUILD_HEXEDITOR_FALSE}"; then
 
19605
  as_fn_error "conditional \"BUILD_HEXEDITOR\" was never defined.
 
19606
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19607
fi
 
19608
if test -z "${BUILD_INCSEARCH_TRUE}" && test -z "${BUILD_INCSEARCH_FALSE}"; then
 
19609
  as_fn_error "conditional \"BUILD_INCSEARCH\" was never defined.
 
19610
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19611
fi
 
19612
if test -z "${BUILD_MOUSESAP_TRUE}" && test -z "${BUILD_MOUSESAP_FALSE}"; then
 
19613
  as_fn_error "conditional \"BUILD_MOUSESAP\" was never defined.
 
19614
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19615
fi
 
19616
if test -z "${BUILD_CCCC_TRUE}" && test -z "${BUILD_CCCC_FALSE}"; then
 
19617
  as_fn_error "conditional \"BUILD_CCCC\" was never defined.
 
19618
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19619
fi
 
19620
if test -z "${BUILD_CPPCHECK_TRUE}" && test -z "${BUILD_CPPCHECK_FALSE}"; then
 
19621
  as_fn_error "conditional \"BUILD_CPPCHECK\" was never defined.
 
19622
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19623
fi
 
19624
if test -z "${PRECOMPILE_HEADERS_TRUE}" && test -z "${PRECOMPILE_HEADERS_FALSE}"; then
 
19625
  as_fn_error "conditional \"PRECOMPILE_HEADERS\" was never defined.
 
19626
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
19627
fi
 
19628
if test -z "${PRECOMPILE_HEADERS_TRUE}" && test -z "${PRECOMPILE_HEADERS_FALSE}"; then
 
19629
  as_fn_error "conditional \"PRECOMPILE_HEADERS\" was never defined.
 
19630
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25909
19631
fi
25910
19632
if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
25911
 
  { { echo "$as_me:$LINENO: error: conditional \"LINUX\" was never defined.
25912
 
Usually this means the macro was only invoked conditionally." >&5
25913
 
echo "$as_me: error: conditional \"LINUX\" was never defined.
25914
 
Usually this means the macro was only invoked conditionally." >&2;}
25915
 
   { (exit 1); exit 1; }; }
 
19633
  as_fn_error "conditional \"LINUX\" was never defined.
 
19634
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25916
19635
fi
25917
19636
if test -z "${DARWIN_TRUE}" && test -z "${DARWIN_FALSE}"; then
25918
 
  { { echo "$as_me:$LINENO: error: conditional \"DARWIN\" was never defined.
25919
 
Usually this means the macro was only invoked conditionally." >&5
25920
 
echo "$as_me: error: conditional \"DARWIN\" was never defined.
25921
 
Usually this means the macro was only invoked conditionally." >&2;}
25922
 
   { (exit 1); exit 1; }; }
 
19637
  as_fn_error "conditional \"DARWIN\" was never defined.
 
19638
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25923
19639
fi
25924
19640
 
25925
19641
: ${CONFIG_STATUS=./config.status}
 
19642
ac_write_fail=0
25926
19643
ac_clean_files_save=$ac_clean_files
25927
19644
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25928
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25929
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
25930
 
cat >$CONFIG_STATUS <<_ACEOF
 
19645
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
19646
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
19647
as_write_fail=0
 
19648
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25931
19649
#! $SHELL
25932
19650
# Generated by $as_me.
25933
19651
# Run this file to recreate the current configuration.
25937
19655
debug=false
25938
19656
ac_cs_recheck=false
25939
19657
ac_cs_silent=false
 
19658
 
25940
19659
SHELL=\${CONFIG_SHELL-$SHELL}
25941
 
_ACEOF
25942
 
 
25943
 
cat >>$CONFIG_STATUS <<\_ACEOF
25944
 
## --------------------- ##
25945
 
## M4sh Initialization.  ##
25946
 
## --------------------- ##
 
19660
export SHELL
 
19661
_ASEOF
 
19662
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
19663
## -------------------- ##
 
19664
## M4sh Initialization. ##
 
19665
## -------------------- ##
25947
19666
 
25948
19667
# Be more Bourne compatible
25949
19668
DUALCASE=1; export DUALCASE # for MKS sh
25950
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
19669
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25951
19670
  emulate sh
25952
19671
  NULLCMD=:
25953
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
19672
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25954
19673
  # is contrary to our usage.  Disable this feature.
25955
19674
  alias -g '${1+"$@"}'='"$@"'
25956
19675
  setopt NO_GLOB_SUBST
25957
19676
else
25958
 
  case `(set -o) 2>/dev/null` in
25959
 
  *posix*) set -o posix ;;
 
19677
  case `(set -o) 2>/dev/null` in #(
 
19678
  *posix*) :
 
19679
    set -o posix ;; #(
 
19680
  *) :
 
19681
     ;;
25960
19682
esac
25961
 
 
25962
 
fi
25963
 
 
25964
 
 
25965
 
 
25966
 
 
25967
 
# PATH needs CR
25968
 
# Avoid depending upon Character Ranges.
25969
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25970
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25971
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25972
 
as_cr_digits='0123456789'
25973
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
19683
fi
 
19684
 
 
19685
 
 
19686
as_nl='
 
19687
'
 
19688
export as_nl
 
19689
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
19690
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
19691
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
19692
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
19693
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
19694
# but without wasting forks for bash or zsh.
 
19695
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
19696
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
19697
  as_echo='print -r --'
 
19698
  as_echo_n='print -rn --'
 
19699
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
19700
  as_echo='printf %s\n'
 
19701
  as_echo_n='printf %s'
 
19702
else
 
19703
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
19704
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
19705
    as_echo_n='/usr/ucb/echo -n'
 
19706
  else
 
19707
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
19708
    as_echo_n_body='eval
 
19709
      arg=$1;
 
19710
      case $arg in #(
 
19711
      *"$as_nl"*)
 
19712
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
19713
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
19714
      esac;
 
19715
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
19716
    '
 
19717
    export as_echo_n_body
 
19718
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
19719
  fi
 
19720
  export as_echo_body
 
19721
  as_echo='sh -c $as_echo_body as_echo'
 
19722
fi
25974
19723
 
25975
19724
# The user is always right.
25976
19725
if test "${PATH_SEPARATOR+set}" != set; then
25977
 
  echo "#! /bin/sh" >conf$$.sh
25978
 
  echo  "exit 0"   >>conf$$.sh
25979
 
  chmod +x conf$$.sh
25980
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25981
 
    PATH_SEPARATOR=';'
25982
 
  else
25983
 
    PATH_SEPARATOR=:
25984
 
  fi
25985
 
  rm -f conf$$.sh
25986
 
fi
25987
 
 
25988
 
# Support unset when possible.
25989
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25990
 
  as_unset=unset
25991
 
else
25992
 
  as_unset=false
 
19726
  PATH_SEPARATOR=:
 
19727
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
19728
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
19729
      PATH_SEPARATOR=';'
 
19730
  }
25993
19731
fi
25994
19732
 
25995
19733
 
25998
19736
# there to prevent editors from complaining about space-tab.
25999
19737
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
26000
19738
# splitting by setting IFS to empty value.)
26001
 
as_nl='
26002
 
'
26003
19739
IFS=" ""        $as_nl"
26004
19740
 
26005
19741
# Find who we are.  Look in the path if we contain no directory separator.
26006
 
case $0 in
 
19742
case $0 in #((
26007
19743
  *[\\/]* ) as_myself=$0 ;;
26008
19744
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26009
19745
for as_dir in $PATH
26010
19746
do
26011
19747
  IFS=$as_save_IFS
26012
19748
  test -z "$as_dir" && as_dir=.
26013
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26014
 
done
 
19749
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
19750
  done
26015
19751
IFS=$as_save_IFS
26016
19752
 
26017
19753
     ;;
26022
19758
  as_myself=$0
26023
19759
fi
26024
19760
if test ! -f "$as_myself"; then
26025
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26026
 
  { (exit 1); exit 1; }
 
19761
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
19762
  exit 1
26027
19763
fi
26028
19764
 
26029
 
# Work around bugs in pre-3.0 UWIN ksh.
26030
 
for as_var in ENV MAIL MAILPATH
26031
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
19765
# Unset variables that we do not need and which cause bugs (e.g. in
 
19766
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
19767
# suppresses any "Segmentation fault" message there.  '((' could
 
19768
# trigger a bug in pdksh 5.2.14.
 
19769
for as_var in BASH_ENV ENV MAIL MAILPATH
 
19770
do eval test x\${$as_var+set} = xset \
 
19771
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26032
19772
done
26033
19773
PS1='$ '
26034
19774
PS2='> '
26035
19775
PS4='+ '
26036
19776
 
26037
19777
# NLS nuisances.
26038
 
for as_var in \
26039
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
26040
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
26041
 
  LC_TELEPHONE LC_TIME
26042
 
do
26043
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26044
 
    eval $as_var=C; export $as_var
26045
 
  else
26046
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
19778
LC_ALL=C
 
19779
export LC_ALL
 
19780
LANGUAGE=C
 
19781
export LANGUAGE
 
19782
 
 
19783
# CDPATH.
 
19784
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
19785
 
 
19786
 
 
19787
# as_fn_error ERROR [LINENO LOG_FD]
 
19788
# ---------------------------------
 
19789
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
19790
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
19791
# script with status $?, using 1 if that was 0.
 
19792
as_fn_error ()
 
19793
{
 
19794
  as_status=$?; test $as_status -eq 0 && as_status=1
 
19795
  if test "$3"; then
 
19796
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
19797
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26047
19798
  fi
26048
 
done
26049
 
 
26050
 
# Required to use basename.
 
19799
  $as_echo "$as_me: error: $1" >&2
 
19800
  as_fn_exit $as_status
 
19801
} # as_fn_error
 
19802
 
 
19803
 
 
19804
# as_fn_set_status STATUS
 
19805
# -----------------------
 
19806
# Set $? to STATUS, without forking.
 
19807
as_fn_set_status ()
 
19808
{
 
19809
  return $1
 
19810
} # as_fn_set_status
 
19811
 
 
19812
# as_fn_exit STATUS
 
19813
# -----------------
 
19814
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
19815
as_fn_exit ()
 
19816
{
 
19817
  set +e
 
19818
  as_fn_set_status $1
 
19819
  exit $1
 
19820
} # as_fn_exit
 
19821
 
 
19822
# as_fn_unset VAR
 
19823
# ---------------
 
19824
# Portably unset VAR.
 
19825
as_fn_unset ()
 
19826
{
 
19827
  { eval $1=; unset $1;}
 
19828
}
 
19829
as_unset=as_fn_unset
 
19830
# as_fn_append VAR VALUE
 
19831
# ----------------------
 
19832
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
19833
# advantage of any shell optimizations that allow amortized linear growth over
 
19834
# repeated appends, instead of the typical quadratic growth present in naive
 
19835
# implementations.
 
19836
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
19837
  eval 'as_fn_append ()
 
19838
  {
 
19839
    eval $1+=\$2
 
19840
  }'
 
19841
else
 
19842
  as_fn_append ()
 
19843
  {
 
19844
    eval $1=\$$1\$2
 
19845
  }
 
19846
fi # as_fn_append
 
19847
 
 
19848
# as_fn_arith ARG...
 
19849
# ------------------
 
19850
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
19851
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
19852
# must be portable across $(()) and expr.
 
19853
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
19854
  eval 'as_fn_arith ()
 
19855
  {
 
19856
    as_val=$(( $* ))
 
19857
  }'
 
19858
else
 
19859
  as_fn_arith ()
 
19860
  {
 
19861
    as_val=`expr "$@" || test $? -eq 1`
 
19862
  }
 
19863
fi # as_fn_arith
 
19864
 
 
19865
 
26051
19866
if expr a : '\(a\)' >/dev/null 2>&1 &&
26052
19867
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
26053
19868
  as_expr=expr
26061
19876
  as_basename=false
26062
19877
fi
26063
19878
 
 
19879
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
19880
  as_dirname=dirname
 
19881
else
 
19882
  as_dirname=false
 
19883
fi
26064
19884
 
26065
 
# Name of the executable.
26066
19885
as_me=`$as_basename -- "$0" ||
26067
19886
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26068
19887
         X"$0" : 'X\(//\)$' \| \
26069
19888
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26070
 
echo X/"$0" |
 
19889
$as_echo X/"$0" |
26071
19890
    sed '/^.*\/\([^/][^/]*\)\/*$/{
26072
19891
            s//\1/
26073
19892
            q
26082
19901
          }
26083
19902
          s/.*/./; q'`
26084
19903
 
26085
 
# CDPATH.
26086
 
$as_unset CDPATH
26087
 
 
26088
 
 
26089
 
 
26090
 
  as_lineno_1=$LINENO
26091
 
  as_lineno_2=$LINENO
26092
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
26093
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
26094
 
 
26095
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26096
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
26097
 
  # line-number line after each line using $LINENO; the second 'sed'
26098
 
  # does the real work.  The second script uses 'N' to pair each
26099
 
  # line-number line with the line containing $LINENO, and appends
26100
 
  # trailing '-' during substitution so that $LINENO is not a special
26101
 
  # case at line end.
26102
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26103
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
26104
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
26105
 
  sed -n '
26106
 
    p
26107
 
    /[$]LINENO/=
26108
 
  ' <$as_myself |
26109
 
    sed '
26110
 
      s/[$]LINENO.*/&-/
26111
 
      t lineno
26112
 
      b
26113
 
      :lineno
26114
 
      N
26115
 
      :loop
26116
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26117
 
      t loop
26118
 
      s/-\n.*//
26119
 
    ' >$as_me.lineno &&
26120
 
  chmod +x "$as_me.lineno" ||
26121
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26122
 
   { (exit 1); exit 1; }; }
26123
 
 
26124
 
  # Don't try to exec as it changes $[0], causing all sort of problems
26125
 
  # (the dirname of $[0] is not the place where we might find the
26126
 
  # original and so on.  Autoconf is especially sensitive to this).
26127
 
  . "./$as_me.lineno"
26128
 
  # Exit status is that of the last command.
26129
 
  exit
26130
 
}
26131
 
 
26132
 
 
26133
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26134
 
  as_dirname=dirname
26135
 
else
26136
 
  as_dirname=false
26137
 
fi
 
19904
# Avoid depending upon Character Ranges.
 
19905
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
19906
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
19907
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
19908
as_cr_digits='0123456789'
 
19909
as_cr_alnum=$as_cr_Letters$as_cr_digits
26138
19910
 
26139
19911
ECHO_C= ECHO_N= ECHO_T=
26140
 
case `echo -n x` in
 
19912
case `echo -n x` in #(((((
26141
19913
-n*)
26142
 
  case `echo 'x\c'` in
 
19914
  case `echo 'xy\c'` in
26143
19915
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
26144
 
  *)   ECHO_C='\c';;
 
19916
  xy)  ECHO_C='\c';;
 
19917
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
19918
       ECHO_T=' ';;
26145
19919
  esac;;
26146
19920
*)
26147
19921
  ECHO_N='-n';;
26148
19922
esac
26149
19923
 
26150
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
26151
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
26152
 
  as_expr=expr
26153
 
else
26154
 
  as_expr=false
26155
 
fi
26156
 
 
26157
19924
rm -f conf$$ conf$$.exe conf$$.file
26158
19925
if test -d conf$$.dir; then
26159
19926
  rm -f conf$$.dir/conf$$.file
26160
19927
else
26161
19928
  rm -f conf$$.dir
26162
 
  mkdir conf$$.dir
 
19929
  mkdir conf$$.dir 2>/dev/null
26163
19930
fi
26164
 
echo >conf$$.file
26165
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
26166
 
  as_ln_s='ln -s'
26167
 
  # ... but there are two gotchas:
26168
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26169
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26170
 
  # In both cases, we have to default to `cp -p'.
26171
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
19931
if (echo >conf$$.file) 2>/dev/null; then
 
19932
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
19933
    as_ln_s='ln -s'
 
19934
    # ... but there are two gotchas:
 
19935
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
19936
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
19937
    # In both cases, we have to default to `cp -p'.
 
19938
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
19939
      as_ln_s='cp -p'
 
19940
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
19941
    as_ln_s=ln
 
19942
  else
26172
19943
    as_ln_s='cp -p'
26173
 
elif ln conf$$.file conf$$ 2>/dev/null; then
26174
 
  as_ln_s=ln
 
19944
  fi
26175
19945
else
26176
19946
  as_ln_s='cp -p'
26177
19947
fi
26178
19948
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26179
19949
rmdir conf$$.dir 2>/dev/null
26180
19950
 
 
19951
 
 
19952
# as_fn_mkdir_p
 
19953
# -------------
 
19954
# Create "$as_dir" as a directory, including parents if necessary.
 
19955
as_fn_mkdir_p ()
 
19956
{
 
19957
 
 
19958
  case $as_dir in #(
 
19959
  -*) as_dir=./$as_dir;;
 
19960
  esac
 
19961
  test -d "$as_dir" || eval $as_mkdir_p || {
 
19962
    as_dirs=
 
19963
    while :; do
 
19964
      case $as_dir in #(
 
19965
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
19966
      *) as_qdir=$as_dir;;
 
19967
      esac
 
19968
      as_dirs="'$as_qdir' $as_dirs"
 
19969
      as_dir=`$as_dirname -- "$as_dir" ||
 
19970
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
19971
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
19972
         X"$as_dir" : 'X\(//\)$' \| \
 
19973
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
19974
$as_echo X"$as_dir" |
 
19975
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
19976
            s//\1/
 
19977
            q
 
19978
          }
 
19979
          /^X\(\/\/\)[^/].*/{
 
19980
            s//\1/
 
19981
            q
 
19982
          }
 
19983
          /^X\(\/\/\)$/{
 
19984
            s//\1/
 
19985
            q
 
19986
          }
 
19987
          /^X\(\/\).*/{
 
19988
            s//\1/
 
19989
            q
 
19990
          }
 
19991
          s/.*/./; q'`
 
19992
      test -d "$as_dir" && break
 
19993
    done
 
19994
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
19995
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
19996
 
 
19997
 
 
19998
} # as_fn_mkdir_p
26181
19999
if mkdir -p . 2>/dev/null; then
26182
 
  as_mkdir_p=:
 
20000
  as_mkdir_p='mkdir -p "$as_dir"'
26183
20001
else
26184
20002
  test -d ./-p && rmdir ./-p
26185
20003
  as_mkdir_p=false
26196
20014
  as_test_x='
26197
20015
    eval sh -c '\''
26198
20016
      if test -d "$1"; then
26199
 
        test -d "$1/.";
 
20017
        test -d "$1/.";
26200
20018
      else
26201
 
        case $1 in
26202
 
        -*)set "./$1";;
 
20019
        case $1 in #(
 
20020
        -*)set "./$1";;
26203
20021
        esac;
26204
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
20022
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
26205
20023
        ???[sx]*):;;*)false;;esac;fi
26206
20024
    '\'' sh
26207
20025
  '
26216
20034
 
26217
20035
 
26218
20036
exec 6>&1
 
20037
## ----------------------------------- ##
 
20038
## Main body of $CONFIG_STATUS script. ##
 
20039
## ----------------------------------- ##
 
20040
_ASEOF
 
20041
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26219
20042
 
26220
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
20043
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
20044
# Save the log message, to keep $0 and so on meaningful, and to
26221
20045
# report actual input values of CONFIG_FILES etc. instead of their
26222
20046
# values after options handling.
26223
20047
ac_log="
26224
 
This file was extended by codeblocks $as_me 1.0svn, which was
26225
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
20048
This file was extended by codeblocks $as_me 10.05-release, which was
 
20049
generated by GNU Autoconf 2.65.  Invocation command line was
26226
20050
 
26227
20051
  CONFIG_FILES    = $CONFIG_FILES
26228
20052
  CONFIG_HEADERS  = $CONFIG_HEADERS
26235
20059
 
26236
20060
_ACEOF
26237
20061
 
26238
 
cat >>$CONFIG_STATUS <<_ACEOF
 
20062
case $ac_config_files in *"
 
20063
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
20064
esac
 
20065
 
 
20066
case $ac_config_headers in *"
 
20067
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
20068
esac
 
20069
 
 
20070
 
 
20071
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26239
20072
# Files that config.status was made for.
26240
20073
config_files="$ac_config_files"
26241
20074
config_headers="$ac_config_headers"
26243
20076
 
26244
20077
_ACEOF
26245
20078
 
26246
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
20079
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26247
20080
ac_cs_usage="\
26248
 
\`$as_me' instantiates files from templates according to the
26249
 
current configuration.
 
20081
\`$as_me' instantiates files and other configuration actions
 
20082
from templates according to the current configuration.  Unless the files
 
20083
and actions are specified as TAGs, all are instantiated by default.
26250
20084
 
26251
 
Usage: $0 [OPTIONS] [FILE]...
 
20085
Usage: $0 [OPTION]... [TAG]...
26252
20086
 
26253
20087
  -h, --help       print this help, then exit
26254
20088
  -V, --version    print version number and configuration settings, then exit
26255
 
  -q, --quiet      do not print progress messages
 
20089
      --config     print configuration, then exit
 
20090
  -q, --quiet, --silent
 
20091
                   do not print progress messages
26256
20092
  -d, --debug      don't remove temporary files
26257
20093
      --recheck    update $as_me by reconfiguring in the same conditions
26258
 
  --file=FILE[:TEMPLATE]
26259
 
                   instantiate the configuration file FILE
26260
 
  --header=FILE[:TEMPLATE]
26261
 
                   instantiate the configuration header FILE
 
20094
      --file=FILE[:TEMPLATE]
 
20095
                   instantiate the configuration file FILE
 
20096
      --header=FILE[:TEMPLATE]
 
20097
                   instantiate the configuration header FILE
26262
20098
 
26263
20099
Configuration files:
26264
20100
$config_files
26269
20105
Configuration commands:
26270
20106
$config_commands
26271
20107
 
26272
 
Report bugs to <bug-autoconf@gnu.org>."
 
20108
Report bugs to the package provider."
26273
20109
 
26274
20110
_ACEOF
26275
 
cat >>$CONFIG_STATUS <<_ACEOF
 
20111
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
20112
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
26276
20113
ac_cs_version="\\
26277
 
codeblocks config.status 1.0svn
26278
 
configured by $0, generated by GNU Autoconf 2.61,
26279
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
20114
codeblocks config.status 10.05-release
 
20115
configured by $0, generated by GNU Autoconf 2.65,
 
20116
  with options \\"\$ac_cs_config\\"
26280
20117
 
26281
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
20118
Copyright (C) 2009 Free Software Foundation, Inc.
26282
20119
This config.status script is free software; the Free Software Foundation
26283
20120
gives unlimited permission to copy, distribute and modify it."
26284
20121
 
26286
20123
srcdir='$srcdir'
26287
20124
INSTALL='$INSTALL'
26288
20125
MKDIR_P='$MKDIR_P'
 
20126
AWK='$AWK'
 
20127
test -n "\$AWK" || AWK=awk
26289
20128
_ACEOF
26290
20129
 
26291
 
cat >>$CONFIG_STATUS <<\_ACEOF
26292
 
# If no file are specified by the user, then we need to provide default
26293
 
# value.  By we need to know if files were specified by the user.
 
20130
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
20131
# The default lists apply if the user does not specify any file.
26294
20132
ac_need_defaults=:
26295
20133
while test $# != 0
26296
20134
do
26312
20150
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26313
20151
    ac_cs_recheck=: ;;
26314
20152
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26315
 
    echo "$ac_cs_version"; exit ;;
 
20153
    $as_echo "$ac_cs_version"; exit ;;
 
20154
  --config | --confi | --conf | --con | --co | --c )
 
20155
    $as_echo "$ac_cs_config"; exit ;;
26316
20156
  --debug | --debu | --deb | --de | --d | -d )
26317
20157
    debug=: ;;
26318
20158
  --file | --fil | --fi | --f )
26319
20159
    $ac_shift
26320
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
20160
    case $ac_optarg in
 
20161
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
20162
    esac
 
20163
    as_fn_append CONFIG_FILES " '$ac_optarg'"
26321
20164
    ac_need_defaults=false;;
26322
20165
  --header | --heade | --head | --hea )
26323
20166
    $ac_shift
26324
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
20167
    case $ac_optarg in
 
20168
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
20169
    esac
 
20170
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26325
20171
    ac_need_defaults=false;;
26326
20172
  --he | --h)
26327
20173
    # Conflict between --help and --header
26328
 
    { echo "$as_me: error: ambiguous option: $1
26329
 
Try \`$0 --help' for more information." >&2
26330
 
   { (exit 1); exit 1; }; };;
 
20174
    as_fn_error "ambiguous option: \`$1'
 
20175
Try \`$0 --help' for more information.";;
26331
20176
  --help | --hel | -h )
26332
 
    echo "$ac_cs_usage"; exit ;;
 
20177
    $as_echo "$ac_cs_usage"; exit ;;
26333
20178
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26334
20179
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
26335
20180
    ac_cs_silent=: ;;
26336
20181
 
26337
20182
  # This is an error.
26338
 
  -*) { echo "$as_me: error: unrecognized option: $1
26339
 
Try \`$0 --help' for more information." >&2
26340
 
   { (exit 1); exit 1; }; } ;;
 
20183
  -*) as_fn_error "unrecognized option: \`$1'
 
20184
Try \`$0 --help' for more information." ;;
26341
20185
 
26342
 
  *) ac_config_targets="$ac_config_targets $1"
 
20186
  *) as_fn_append ac_config_targets " $1"
26343
20187
     ac_need_defaults=false ;;
26344
20188
 
26345
20189
  esac
26354
20198
fi
26355
20199
 
26356
20200
_ACEOF
26357
 
cat >>$CONFIG_STATUS <<_ACEOF
 
20201
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26358
20202
if \$ac_cs_recheck; then
26359
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26360
 
  CONFIG_SHELL=$SHELL
 
20203
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
20204
  shift
 
20205
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
20206
  CONFIG_SHELL='$SHELL'
26361
20207
  export CONFIG_SHELL
26362
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
20208
  exec "\$@"
26363
20209
fi
26364
20210
 
26365
20211
_ACEOF
26366
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
20212
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26367
20213
exec 5>>config.log
26368
20214
{
26369
20215
  echo
26370
20216
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26371
20217
## Running $as_me. ##
26372
20218
_ASBOX
26373
 
  echo "$ac_log"
 
20219
  $as_echo "$ac_log"
26374
20220
} >&5
26375
20221
 
26376
20222
_ACEOF
26377
 
cat >>$CONFIG_STATUS <<_ACEOF
 
20223
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26378
20224
#
26379
20225
# INIT-COMMANDS
26380
20226
#
26381
20227
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26382
20228
 
 
20229
 
 
20230
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
20231
# if CDPATH is set.
 
20232
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
20233
 
 
20234
sed_quote_subst='$sed_quote_subst'
 
20235
double_quote_subst='$double_quote_subst'
 
20236
delay_variable_subst='$delay_variable_subst'
 
20237
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
20238
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
20239
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
20240
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
20241
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
20242
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
20243
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
20244
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
20245
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
20246
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
20247
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
20248
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
20249
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
20250
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
20251
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
20252
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
20253
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
20254
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
20255
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
20256
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
20257
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
20258
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
20259
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
20260
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
20261
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
20262
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
20263
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
20264
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20265
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
20266
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
20267
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
20268
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
20269
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
20270
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
20271
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
20272
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20273
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20274
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20275
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
20276
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
20277
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
20278
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
20279
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
20280
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
20281
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
 
20282
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
20283
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
20284
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
20285
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
20286
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
20287
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
20288
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
20289
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
20290
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
20291
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
20292
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
20293
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
20294
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
20295
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
20296
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
20297
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
20298
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
20299
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20300
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20301
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
20302
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
20303
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
20304
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
20305
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
20306
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20307
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20308
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20309
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20310
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20311
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20312
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
20313
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
20314
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
20315
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
20316
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
20317
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
20318
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
20319
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
20320
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
20321
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
20322
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
20323
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
20324
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
20325
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
20326
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
20327
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20328
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
20329
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
20330
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20331
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
20332
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
20333
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
20334
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
20335
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
20336
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
20337
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
20338
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
20339
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
20340
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
20341
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
20342
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20343
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20344
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
20345
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
20346
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
20347
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
20348
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
20349
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
20350
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
20351
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
20352
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
20353
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
20354
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
20355
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
 
20356
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
20357
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
20358
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
 
20359
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
 
20360
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
 
20361
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20362
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20363
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20364
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20365
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20366
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20367
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20368
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20369
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20370
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20371
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20372
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20373
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20374
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20375
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20376
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20377
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20378
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20379
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20380
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20381
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20382
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20383
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20384
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20385
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20386
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20387
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20388
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20389
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20390
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20391
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20392
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20393
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20394
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20395
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20396
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20397
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20398
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20399
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20400
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20401
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20402
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20403
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20404
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20405
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20406
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20407
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
20408
 
 
20409
LTCC='$LTCC'
 
20410
LTCFLAGS='$LTCFLAGS'
 
20411
compiler='$compiler_DEFAULT'
 
20412
 
 
20413
# Quote evaled strings.
 
20414
for var in SED \
 
20415
GREP \
 
20416
EGREP \
 
20417
FGREP \
 
20418
LD \
 
20419
NM \
 
20420
LN_S \
 
20421
lt_SP2NL \
 
20422
lt_NL2SP \
 
20423
reload_flag \
 
20424
OBJDUMP \
 
20425
deplibs_check_method \
 
20426
file_magic_cmd \
 
20427
AR \
 
20428
AR_FLAGS \
 
20429
STRIP \
 
20430
RANLIB \
 
20431
CC \
 
20432
CFLAGS \
 
20433
compiler \
 
20434
lt_cv_sys_global_symbol_pipe \
 
20435
lt_cv_sys_global_symbol_to_cdecl \
 
20436
lt_cv_sys_global_symbol_to_c_name_address \
 
20437
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
20438
SHELL \
 
20439
ECHO \
 
20440
lt_prog_compiler_no_builtin_flag \
 
20441
lt_prog_compiler_wl \
 
20442
lt_prog_compiler_pic \
 
20443
lt_prog_compiler_static \
 
20444
lt_cv_prog_compiler_c_o \
 
20445
need_locks \
 
20446
DSYMUTIL \
 
20447
NMEDIT \
 
20448
LIPO \
 
20449
OTOOL \
 
20450
OTOOL64 \
 
20451
shrext_cmds \
 
20452
export_dynamic_flag_spec \
 
20453
whole_archive_flag_spec \
 
20454
compiler_needs_object \
 
20455
with_gnu_ld \
 
20456
allow_undefined_flag \
 
20457
no_undefined_flag \
 
20458
hardcode_libdir_flag_spec \
 
20459
hardcode_libdir_flag_spec_ld \
 
20460
hardcode_libdir_separator \
 
20461
fix_srcfile_path \
 
20462
exclude_expsyms \
 
20463
include_expsyms \
 
20464
file_list_spec \
 
20465
variables_saved_for_relink \
 
20466
libname_spec \
 
20467
library_names_spec \
 
20468
soname_spec \
 
20469
finish_eval \
 
20470
old_striplib \
 
20471
striplib \
 
20472
compiler_lib_search_dirs \
 
20473
predep_objects \
 
20474
postdep_objects \
 
20475
predeps \
 
20476
postdeps \
 
20477
compiler_lib_search_path \
 
20478
LD_CXX \
 
20479
compiler_CXX \
 
20480
lt_prog_compiler_no_builtin_flag_CXX \
 
20481
lt_prog_compiler_wl_CXX \
 
20482
lt_prog_compiler_pic_CXX \
 
20483
lt_prog_compiler_static_CXX \
 
20484
lt_cv_prog_compiler_c_o_CXX \
 
20485
export_dynamic_flag_spec_CXX \
 
20486
whole_archive_flag_spec_CXX \
 
20487
compiler_needs_object_CXX \
 
20488
with_gnu_ld_CXX \
 
20489
allow_undefined_flag_CXX \
 
20490
no_undefined_flag_CXX \
 
20491
hardcode_libdir_flag_spec_CXX \
 
20492
hardcode_libdir_flag_spec_ld_CXX \
 
20493
hardcode_libdir_separator_CXX \
 
20494
fix_srcfile_path_CXX \
 
20495
exclude_expsyms_CXX \
 
20496
include_expsyms_CXX \
 
20497
file_list_spec_CXX \
 
20498
compiler_lib_search_dirs_CXX \
 
20499
predep_objects_CXX \
 
20500
postdep_objects_CXX \
 
20501
predeps_CXX \
 
20502
postdeps_CXX \
 
20503
compiler_lib_search_path_CXX; do
 
20504
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
20505
    *[\\\\\\\`\\"\\\$]*)
 
20506
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
20507
      ;;
 
20508
    *)
 
20509
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
20510
      ;;
 
20511
    esac
 
20512
done
 
20513
 
 
20514
# Double-quote double-evaled strings.
 
20515
for var in reload_cmds \
 
20516
old_postinstall_cmds \
 
20517
old_postuninstall_cmds \
 
20518
old_archive_cmds \
 
20519
extract_expsyms_cmds \
 
20520
old_archive_from_new_cmds \
 
20521
old_archive_from_expsyms_cmds \
 
20522
archive_cmds \
 
20523
archive_expsym_cmds \
 
20524
module_cmds \
 
20525
module_expsym_cmds \
 
20526
export_symbols_cmds \
 
20527
prelink_cmds \
 
20528
postinstall_cmds \
 
20529
postuninstall_cmds \
 
20530
finish_cmds \
 
20531
sys_lib_search_path_spec \
 
20532
sys_lib_dlsearch_path_spec \
 
20533
old_archive_cmds_CXX \
 
20534
old_archive_from_new_cmds_CXX \
 
20535
old_archive_from_expsyms_cmds_CXX \
 
20536
archive_cmds_CXX \
 
20537
archive_expsym_cmds_CXX \
 
20538
module_cmds_CXX \
 
20539
module_expsym_cmds_CXX \
 
20540
export_symbols_cmds_CXX \
 
20541
prelink_cmds_CXX; do
 
20542
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
20543
    *[\\\\\\\`\\"\\\$]*)
 
20544
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
20545
      ;;
 
20546
    *)
 
20547
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
20548
      ;;
 
20549
    esac
 
20550
done
 
20551
 
 
20552
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
20553
case \$lt_ECHO in
 
20554
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
20555
  ;;
 
20556
esac
 
20557
 
 
20558
ac_aux_dir='$ac_aux_dir'
 
20559
xsi_shell='$xsi_shell'
 
20560
lt_shell_append='$lt_shell_append'
 
20561
 
 
20562
# See if we are running on zsh, and set the options which allow our
 
20563
# commands through without removal of \ escapes INIT.
 
20564
if test -n "\${ZSH_VERSION+set}" ; then
 
20565
   setopt NO_GLOB_SUBST
 
20566
fi
 
20567
 
 
20568
 
 
20569
    PACKAGE='$PACKAGE'
 
20570
    VERSION='$VERSION'
 
20571
    TIMESTAMP='$TIMESTAMP'
 
20572
    RM='$RM'
 
20573
    ofile='$ofile'
 
20574
 
 
20575
 
 
20576
 
 
20577
 
 
20578
 
 
20579
 
26383
20580
_ACEOF
26384
20581
 
26385
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
20582
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26386
20583
 
26387
20584
# Handling of arguments.
26388
20585
for ac_config_target in $ac_config_targets
26390
20587
  case $ac_config_target in
26391
20588
    "src/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h" ;;
26392
20589
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
20590
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26393
20591
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26394
20592
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
26395
20593
    "src/base/Makefile") CONFIG_FILES="$CONFIG_FILES src/base/Makefile" ;;
26405
20603
    "src/include/scripting/sqstdlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/sqstdlib/Makefile" ;;
26406
20604
    "src/include/scripting/squirrel/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/squirrel/Makefile" ;;
26407
20605
    "src/include/tinyxml/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/tinyxml/Makefile" ;;
26408
 
    "src/include/wxFlatNotebook/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/wxFlatNotebook/Makefile" ;;
26409
 
    "src/include/wxscintilla/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/wxscintilla/Makefile" ;;
26410
20606
    "src/sdk/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/Makefile" ;;
26411
20607
    "src/sdk/scripting/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/Makefile" ;;
26412
20608
    "src/sdk/scripting/bindings/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/bindings/Makefile" ;;
26414
20610
    "src/sdk/scripting/sqstdlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/sqstdlib/Makefile" ;;
26415
20611
    "src/sdk/scripting/sqplus/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/sqplus/Makefile" ;;
26416
20612
    "src/sdk/wxscintilla/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/wxscintilla/Makefile" ;;
26417
 
    "src/sdk/wxFlatNotebook/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/wxFlatNotebook/Makefile" ;;
26418
20613
    "src/sdk/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/resources/Makefile" ;;
26419
20614
    "src/sdk/resources/lexers/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/resources/lexers/Makefile" ;;
26420
 
    "src/src/wxAUI/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/wxAUI/Makefile" ;;
26421
20615
    "src/src/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/Makefile" ;;
26422
20616
    "src/src/resources/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/icons/Makefile" ;;
26423
20617
    "src/src/resources/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/Makefile" ;;
26447
20641
    "src/plugins/projectsimporter/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/projectsimporter/resources/Makefile" ;;
26448
20642
    "src/plugins/scriptedwizard/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/Makefile" ;;
26449
20643
    "src/plugins/scriptedwizard/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/Makefile" ;;
 
20644
    "src/plugins/scriptedwizard/resources/arm/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/Makefile" ;;
 
20645
    "src/plugins/scriptedwizard/resources/arm/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/Makefile" ;;
 
20646
    "src/plugins/scriptedwizard/resources/arm/files/ARM-eval7t/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/ARM-eval7t/Makefile" ;;
 
20647
    "src/plugins/scriptedwizard/resources/arm/files/ARM-eval7t/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/ARM-eval7t/h/Makefile" ;;
 
20648
    "src/plugins/scriptedwizard/resources/arm/files/ARM-eval7t/ld/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/ARM-eval7t/ld/Makefile" ;;
 
20649
    "src/plugins/scriptedwizard/resources/arm/files/ARM-eval7t/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/ARM-eval7t/src/Makefile" ;;
 
20650
    "src/plugins/scriptedwizard/resources/arm/files/ek-at91sam7a3/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/ek-at91sam7a3/Makefile" ;;
 
20651
    "src/plugins/scriptedwizard/resources/arm/files/ek-at91sam7a3/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/ek-at91sam7a3/h/Makefile" ;;
 
20652
    "src/plugins/scriptedwizard/resources/arm/files/ek-at91sam7a3/ld/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/ek-at91sam7a3/ld/Makefile" ;;
 
20653
    "src/plugins/scriptedwizard/resources/arm/files/ek-at91sam7a3/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/ek-at91sam7a3/src/Makefile" ;;
 
20654
    "src/plugins/scriptedwizard/resources/arm/files/lpd-lh7a404/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/lpd-lh7a404/Makefile" ;;
 
20655
    "src/plugins/scriptedwizard/resources/arm/files/lpd-lh7a404/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/lpd-lh7a404/h/Makefile" ;;
 
20656
    "src/plugins/scriptedwizard/resources/arm/files/lpd-lh7a404/ld/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/lpd-lh7a404/ld/Makefile" ;;
 
20657
    "src/plugins/scriptedwizard/resources/arm/files/lpd-lh7a404/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/lpd-lh7a404/src/Makefile" ;;
 
20658
    "src/plugins/scriptedwizard/resources/arm/files/olimex-at91sam7sx/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/olimex-at91sam7sx/Makefile" ;;
 
20659
    "src/plugins/scriptedwizard/resources/arm/files/olimex-at91sam7sx/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/olimex-at91sam7sx/h/Makefile" ;;
 
20660
    "src/plugins/scriptedwizard/resources/arm/files/olimex-at91sam7sx/ld/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/olimex-at91sam7sx/ld/Makefile" ;;
 
20661
    "src/plugins/scriptedwizard/resources/arm/files/olimex-at91sam7sx/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/olimex-at91sam7sx/src/Makefile" ;;
 
20662
    "src/plugins/scriptedwizard/resources/arm/files/olimex-lpc213x/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/olimex-lpc213x/Makefile" ;;
 
20663
    "src/plugins/scriptedwizard/resources/arm/files/olimex-lpc213x/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/olimex-lpc213x/h/Makefile" ;;
 
20664
    "src/plugins/scriptedwizard/resources/arm/files/olimex-lpc213x/ld/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/olimex-lpc213x/ld/Makefile" ;;
 
20665
    "src/plugins/scriptedwizard/resources/arm/files/olimex-lpc213x/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/olimex-lpc213x/src/Makefile" ;;
 
20666
    "src/plugins/scriptedwizard/resources/arm/files/phyCORE-AT91M55800/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/phyCORE-AT91M55800/Makefile" ;;
 
20667
    "src/plugins/scriptedwizard/resources/arm/files/phyCORE-AT91M55800/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/phyCORE-AT91M55800/h/Makefile" ;;
 
20668
    "src/plugins/scriptedwizard/resources/arm/files/phyCORE-AT91M55800/ld/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/phyCORE-AT91M55800/ld/Makefile" ;;
 
20669
    "src/plugins/scriptedwizard/resources/arm/files/phyCORE-AT91M55800/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/phyCORE-AT91M55800/src/Makefile" ;;
 
20670
    "src/plugins/scriptedwizard/resources/arm/files/phyCORE-LPC2294/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/phyCORE-LPC2294/Makefile" ;;
 
20671
    "src/plugins/scriptedwizard/resources/arm/files/phyCORE-LPC2294/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/phyCORE-LPC2294/h/Makefile" ;;
 
20672
    "src/plugins/scriptedwizard/resources/arm/files/phyCORE-LPC2294/ld/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/phyCORE-LPC2294/ld/Makefile" ;;
 
20673
    "src/plugins/scriptedwizard/resources/arm/files/phyCORE-LPC2294/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/phyCORE-LPC2294/src/Makefile" ;;
 
20674
    "src/plugins/scriptedwizard/resources/arm/files/phyCORE-PXA255/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/phyCORE-PXA255/Makefile" ;;
 
20675
    "src/plugins/scriptedwizard/resources/arm/files/phyCORE-PXA255/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/phyCORE-PXA255/h/Makefile" ;;
 
20676
    "src/plugins/scriptedwizard/resources/arm/files/phyCORE-PXA255/ld/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/phyCORE-PXA255/ld/Makefile" ;;
 
20677
    "src/plugins/scriptedwizard/resources/arm/files/phyCORE-PXA255/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/files/phyCORE-PXA255/src/Makefile" ;;
26450
20678
    "src/plugins/scriptedwizard/resources/avr/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/avr/Makefile" ;;
26451
20679
    "src/plugins/scriptedwizard/resources/avr/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/avr/files/Makefile" ;;
26452
20680
    "src/plugins/scriptedwizard/resources/c_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/c_file/Makefile" ;;
26456
20684
    "src/plugins/scriptedwizard/resources/d/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/d/Makefile" ;;
26457
20685
    "src/plugins/scriptedwizard/resources/d/console/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/d/console/Makefile" ;;
26458
20686
    "src/plugins/scriptedwizard/resources/directx/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/directx/Makefile" ;;
26459
 
    "src/plugins/scriptedwizard/resources/directx/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/directx/files/Makefile" ;;
 
20687
    "src/plugins/scriptedwizard/resources/directx/dx8/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/directx/dx8/Makefile" ;;
 
20688
    "src/plugins/scriptedwizard/resources/directx/dx9/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/directx/dx9/Makefile" ;;
26460
20689
    "src/plugins/scriptedwizard/resources/dll/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/dll/Makefile" ;;
26461
20690
    "src/plugins/scriptedwizard/resources/dll/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/dll/files/Makefile" ;;
26462
20691
    "src/plugins/scriptedwizard/resources/empty/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/empty/Makefile" ;;
26477
20706
    "src/plugins/scriptedwizard/resources/lf/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/files/Makefile" ;;
26478
20707
    "src/plugins/scriptedwizard/resources/lf/files/quick/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/files/quick/Makefile" ;;
26479
20708
    "src/plugins/scriptedwizard/resources/lf/files/structured/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/files/structured/Makefile" ;;
 
20709
    "src/plugins/scriptedwizard/resources/matlab_csf/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/matlab_csf/Makefile" ;;
 
20710
    "src/plugins/scriptedwizard/resources/matlab_csf/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/matlab_csf/files/Makefile" ;;
 
20711
    "src/plugins/scriptedwizard/resources/matlab_csf/lccstub/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/matlab_csf/lccstub/Makefile" ;;
26480
20712
    "src/plugins/scriptedwizard/resources/ogre/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ogre/Makefile" ;;
26481
20713
    "src/plugins/scriptedwizard/resources/ogre/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ogre/files/Makefile" ;;
26482
20714
    "src/plugins/scriptedwizard/resources/opengl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/Makefile" ;;
26483
20715
    "src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile" ;;
26484
20716
    "src/plugins/scriptedwizard/resources/opengl/files_win/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/files_win/Makefile" ;;
 
20717
    "src/plugins/scriptedwizard/resources/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/plugins/Makefile" ;;
 
20718
    "src/plugins/scriptedwizard/resources/plugins/templates/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/plugins/templates/Makefile" ;;
 
20719
    "src/plugins/scriptedwizard/resources/ppc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ppc/Makefile" ;;
 
20720
    "src/plugins/scriptedwizard/resources/ppc/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ppc/files/Makefile" ;;
 
20721
    "src/plugins/scriptedwizard/resources/ppc/files/MPC565/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ppc/files/MPC565/Makefile" ;;
 
20722
    "src/plugins/scriptedwizard/resources/ppc/files/MPC565/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ppc/files/MPC565/h/Makefile" ;;
 
20723
    "src/plugins/scriptedwizard/resources/ppc/files/MPC565/ld/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ppc/files/MPC565/ld/Makefile" ;;
 
20724
    "src/plugins/scriptedwizard/resources/ppc/files/MPC565/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ppc/files/MPC565/src/Makefile" ;;
 
20725
    "src/plugins/scriptedwizard/resources/ppc/files/MPC5200/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ppc/files/MPC5200/Makefile" ;;
 
20726
    "src/plugins/scriptedwizard/resources/ppc/files/MPC5200/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ppc/files/MPC5200/h/Makefile" ;;
 
20727
    "src/plugins/scriptedwizard/resources/ppc/files/MPC5200/ld/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ppc/files/MPC5200/ld/Makefile" ;;
 
20728
    "src/plugins/scriptedwizard/resources/ppc/files/MPC5200/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ppc/files/MPC5200/src/Makefile" ;;
26485
20729
    "src/plugins/scriptedwizard/resources/qt4/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/qt4/Makefile" ;;
26486
20730
    "src/plugins/scriptedwizard/resources/qt4/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/qt4/files/Makefile" ;;
26487
20731
    "src/plugins/scriptedwizard/resources/sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sdl/Makefile" ;;
26488
20732
    "src/plugins/scriptedwizard/resources/sdl/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sdl/files/Makefile" ;;
26489
 
    "src/plugins/scriptedwizard/resources/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/plugins/Makefile" ;;
26490
 
    "src/plugins/scriptedwizard/resources/plugins/templates/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/plugins/templates/Makefile" ;;
 
20733
    "src/plugins/scriptedwizard/resources/sfml/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sfml/Makefile" ;;
 
20734
    "src/plugins/scriptedwizard/resources/sfml/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sfml/files/Makefile" ;;
 
20735
    "src/plugins/scriptedwizard/resources/sharedlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sharedlib/Makefile" ;;
 
20736
    "src/plugins/scriptedwizard/resources/sharedlib/c/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sharedlib/c/Makefile" ;;
 
20737
    "src/plugins/scriptedwizard/resources/sharedlib/cpp/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sharedlib/cpp/Makefile" ;;
26491
20738
    "src/plugins/scriptedwizard/resources/smartwin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/smartwin/Makefile" ;;
26492
20739
    "src/plugins/scriptedwizard/resources/smartwin/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/smartwin/files/Makefile" ;;
26493
20740
    "src/plugins/scriptedwizard/resources/staticlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/staticlib/Makefile" ;;
26494
20741
    "src/plugins/scriptedwizard/resources/staticlib/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/staticlib/files/Makefile" ;;
26495
 
    "src/plugins/scriptedwizard/resources/sharedlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sharedlib/Makefile" ;;
26496
 
    "src/plugins/scriptedwizard/resources/sharedlib/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sharedlib/files/Makefile" ;;
 
20742
    "src/plugins/scriptedwizard/resources/stlport/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/stlport/Makefile" ;;
 
20743
    "src/plugins/scriptedwizard/resources/stlport/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/stlport/files/Makefile" ;;
26497
20744
    "src/plugins/scriptedwizard/resources/sys/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sys/Makefile" ;;
26498
20745
    "src/plugins/scriptedwizard/resources/sys/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sys/files/Makefile" ;;
 
20746
    "src/plugins/scriptedwizard/resources/tricore/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/Makefile" ;;
 
20747
    "src/plugins/scriptedwizard/resources/tricore/templates/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/Makefile" ;;
 
20748
    "src/plugins/scriptedwizard/resources/tricore/templates/EasyKit-TC1767/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/EasyKit-TC1767/Makefile" ;;
 
20749
    "src/plugins/scriptedwizard/resources/tricore/templates/EasyRun-TC1796/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/EasyRun-TC1796/Makefile" ;;
 
20750
    "src/plugins/scriptedwizard/resources/tricore/templates/EasyRun-TC1796/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/EasyRun-TC1796/h/Makefile" ;;
 
20751
    "src/plugins/scriptedwizard/resources/tricore/templates/EasyRun-TC1796/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/EasyRun-TC1796/src/Makefile" ;;
 
20752
    "src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1130/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1130/Makefile" ;;
 
20753
    "src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1130/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1130/h/Makefile" ;;
 
20754
    "src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1130/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1130/src/Makefile" ;;
 
20755
    "src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1775/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1775/Makefile" ;;
 
20756
    "src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1775/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1775/h/Makefile" ;;
 
20757
    "src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1775/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1775/src/Makefile" ;;
 
20758
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1130/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1130/Makefile" ;;
 
20759
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1130/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1130/h/Makefile" ;;
 
20760
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1130/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1130/src/Makefile" ;;
 
20761
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1161/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1161/Makefile" ;;
 
20762
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1162/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1162/Makefile" ;;
 
20763
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1762/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1762/Makefile" ;;
 
20764
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1765/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1765/Makefile" ;;
 
20765
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1765/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1765/h/Makefile" ;;
 
20766
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1765/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1765/src/Makefile" ;;
 
20767
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1766/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1766/Makefile" ;;
 
20768
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1775/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1775/Makefile" ;;
 
20769
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1775/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1775/h/Makefile" ;;
 
20770
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1775/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1775/src/Makefile" ;;
 
20771
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1792/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1792/Makefile" ;;
 
20772
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1792/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1792/h/Makefile" ;;
 
20773
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1792/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1792/src/Makefile" ;;
 
20774
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1796/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1796/Makefile" ;;
 
20775
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1796/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1796/h/Makefile" ;;
 
20776
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1796/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1796/src/Makefile" ;;
 
20777
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1797/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1797/Makefile" ;;
 
20778
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1797/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1797/h/Makefile" ;;
 
20779
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1797/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1797/src/Makefile" ;;
 
20780
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1920/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1920/Makefile" ;;
 
20781
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1920/h/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1920/h/Makefile" ;;
 
20782
    "src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1920/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/templates/TriBoard-TC1920/src/Makefile" ;;
26499
20783
    "src/plugins/scriptedwizard/resources/win32gui/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/Makefile" ;;
26500
20784
    "src/plugins/scriptedwizard/resources/win32gui/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/files/Makefile" ;;
26501
20785
    "src/plugins/scriptedwizard/resources/win32gui/files/dialog/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/files/dialog/Makefile" ;;
26515
20799
    "src/plugins/contrib/AutoVersioning/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/AutoVersioning/Makefile" ;;
26516
20800
    "src/plugins/contrib/BrowseTracker/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/BrowseTracker/Makefile" ;;
26517
20801
    "src/plugins/contrib/byogames/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/byogames/Makefile" ;;
 
20802
    "src/plugins/contrib/Cccc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Cccc/Makefile" ;;
 
20803
    "src/plugins/contrib/Cccc/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Cccc/resources/Makefile" ;;
 
20804
    "src/plugins/contrib/CppCheck/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/CppCheck/Makefile" ;;
 
20805
    "src/plugins/contrib/CppCheck/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/CppCheck/resources/Makefile" ;;
26518
20806
    "src/plugins/contrib/cb_koders/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/cb_koders/Makefile" ;;
26519
20807
    "src/plugins/contrib/codesnippets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codesnippets/Makefile" ;;
26520
20808
    "src/plugins/contrib/codesnippets/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codesnippets/resources/Makefile" ;;
26521
20809
    "src/plugins/contrib/codestat/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codestat/Makefile" ;;
26522
20810
    "src/plugins/contrib/codestat/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codestat/resources/Makefile" ;;
 
20811
    "src/plugins/contrib/copystrings/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/copystrings/Makefile" ;;
 
20812
    "src/plugins/contrib/devpak_plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/devpak_plugin/Makefile" ;;
 
20813
    "src/plugins/contrib/devpak_plugin/bzip2/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/devpak_plugin/bzip2/Makefile" ;;
26523
20814
    "src/plugins/contrib/dragscroll/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/dragscroll/Makefile" ;;
26524
20815
    "src/plugins/contrib/envvars/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/envvars/Makefile" ;;
 
20816
    "src/plugins/contrib/headerfixup/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/headerfixup/Makefile" ;;
26525
20817
    "src/plugins/contrib/help_plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/Makefile" ;;
26526
20818
    "src/plugins/contrib/help_plugin/bzip2/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/bzip2/Makefile" ;;
26527
20819
    "src/plugins/contrib/help_plugin/zlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/zlib/Makefile" ;;
26528
20820
    "src/plugins/contrib/keybinder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/keybinder/Makefile" ;;
26529
 
    "src/plugins/contrib/lib_finder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/lib_finder/Makefile" ;;
26530
 
    "src/plugins/contrib/lib_finder/lib_finder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/lib_finder/lib_finder/Makefile" ;;
26531
20821
    "src/plugins/contrib/profiler/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/profiler/Makefile" ;;
26532
20822
    "src/plugins/contrib/profiler/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/profiler/resources/Makefile" ;;
26533
20823
    "src/plugins/contrib/source_exporter/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/source_exporter/Makefile" ;;
26538
20828
    "src/plugins/contrib/ThreadSearch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/Makefile" ;;
26539
20829
    "src/plugins/contrib/ThreadSearch/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/resources/Makefile" ;;
26540
20830
    "src/plugins/contrib/ThreadSearch/resources/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/resources/images/Makefile" ;;
 
20831
    "src/plugins/contrib/ThreadSearch/resources/images/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/resources/images/16x16/Makefile" ;;
 
20832
    "src/plugins/contrib/ThreadSearch/resources/images/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/resources/images/22x22/Makefile" ;;
 
20833
    "src/plugins/contrib/Valgrind/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Valgrind/Makefile" ;;
 
20834
    "src/plugins/contrib/Valgrind/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Valgrind/resources/Makefile" ;;
26541
20835
    "src/plugins/contrib/wxSmith/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/Makefile" ;;
 
20836
    "src/plugins/contrib/wxSmith/wxsmith.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxsmith.pc" ;;
26542
20837
    "src/plugins/contrib/wxSmith/propgrid/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/propgrid/Makefile" ;;
26543
20838
    "src/plugins/contrib/wxSmith/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/plugin/Makefile" ;;
26544
20839
    "src/plugins/contrib/wxSmith/properties/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/properties/Makefile" ;;
26547
20842
    "src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile" ;;
26548
20843
    "src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile" ;;
26549
20844
    "src/plugins/contrib/wxSmithContribItems/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithContribItems/Makefile" ;;
 
20845
    "src/plugins/contrib/wxSmithContribItems/wxsmith-contrib.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithContribItems/wxsmith-contrib.pc" ;;
 
20846
    "src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithContribItems/wxchart/wxchart-1.0/Makefile" ;;
 
20847
    "src/plugins/contrib/wxSmithContribItems/wxflatnotebook/wxFlatNotebook/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithContribItems/wxflatnotebook/wxFlatNotebook/Makefile" ;;
 
20848
    "src/plugins/contrib/wxSmithContribItems/wxthings/wxthings/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithContribItems/wxthings/wxthings/Makefile" ;;
 
20849
    "src/plugins/contrib/wxSmithAui/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithAui/Makefile" ;;
 
20850
    "src/plugins/contrib/wxSmithAui/wxsmithaui.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithAui/wxsmithaui.pc" ;;
 
20851
    "src/plugins/contrib/lib_finder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/lib_finder/Makefile" ;;
 
20852
    "src/plugins/contrib/lib_finder/lib_finder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/lib_finder/lib_finder/Makefile" ;;
 
20853
    "src/plugins/contrib/HexEditor/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/HexEditor/Makefile" ;;
 
20854
    "src/plugins/contrib/IncrementalSearch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/IncrementalSearch/Makefile" ;;
 
20855
    "src/plugins/contrib/MouseSap/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/MouseSap/Makefile" ;;
 
20856
    "src/mime/Makefile") CONFIG_FILES="$CONFIG_FILES src/mime/Makefile" ;;
26550
20857
    "src/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES src/scripts/Makefile" ;;
26551
20858
    "src/tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;;
26552
20859
    "src/tools/cb_share_config/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/cb_share_config/Makefile" ;;
26553
20860
    "src/tools/ConsoleRunner/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/ConsoleRunner/Makefile" ;;
26554
 
    "src/setup/Makefile") CONFIG_FILES="$CONFIG_FILES src/setup/Makefile" ;;
26555
 
    "src/setup/mime/Makefile") CONFIG_FILES="$CONFIG_FILES src/setup/mime/Makefile" ;;
26556
20861
    "src/templates/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/Makefile" ;;
26557
20862
    "src/templates/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/common/Makefile" ;;
26558
20863
    "src/templates/unix/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/unix/Makefile" ;;
26562
20867
    "codeblocks.spec") CONFIG_FILES="$CONFIG_FILES codeblocks.spec" ;;
26563
20868
    "codeblocks.plist") CONFIG_FILES="$CONFIG_FILES codeblocks.plist" ;;
26564
20869
 
26565
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26566
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26567
 
   { (exit 1); exit 1; }; };;
 
20870
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26568
20871
  esac
26569
20872
done
26570
20873
 
26591
20894
  trap 'exit_status=$?
26592
20895
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26593
20896
' 0
26594
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
20897
  trap 'as_fn_exit 1' 1 2 13 15
26595
20898
}
26596
20899
# Create a (secure) tmp directory for tmp files.
26597
20900
 
26602
20905
{
26603
20906
  tmp=./conf$$-$RANDOM
26604
20907
  (umask 077 && mkdir "$tmp")
26605
 
} ||
26606
 
{
26607
 
   echo "$me: cannot create a temporary directory in ." >&2
26608
 
   { (exit 1); exit 1; }
26609
 
}
26610
 
 
26611
 
#
26612
 
# Set up the sed scripts for CONFIG_FILES section.
26613
 
#
26614
 
 
26615
 
# No need to generate the scripts if there are no CONFIG_FILES.
26616
 
# This happens for instance when ./config.status config.h
 
20908
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
20909
 
 
20910
# Set up the scripts for CONFIG_FILES section.
 
20911
# No need to generate them if there are no CONFIG_FILES.
 
20912
# This happens for instance with `./config.status config.h'.
26617
20913
if test -n "$CONFIG_FILES"; then
26618
20914
 
26619
 
_ACEOF
26620
 
 
26621
 
 
26622
 
 
26623
 
ac_delim='%!_!# '
26624
 
for ac_last_try in false false false false false :; do
26625
 
  cat >conf$$subs.sed <<_ACEOF
26626
 
SHELL!$SHELL$ac_delim
26627
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26628
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26629
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26630
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
26631
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
26632
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
26633
 
exec_prefix!$exec_prefix$ac_delim
26634
 
prefix!$prefix$ac_delim
26635
 
program_transform_name!$program_transform_name$ac_delim
26636
 
bindir!$bindir$ac_delim
26637
 
sbindir!$sbindir$ac_delim
26638
 
libexecdir!$libexecdir$ac_delim
26639
 
datarootdir!$datarootdir$ac_delim
26640
 
datadir!$datadir$ac_delim
26641
 
sysconfdir!$sysconfdir$ac_delim
26642
 
sharedstatedir!$sharedstatedir$ac_delim
26643
 
localstatedir!$localstatedir$ac_delim
26644
 
includedir!$includedir$ac_delim
26645
 
oldincludedir!$oldincludedir$ac_delim
26646
 
docdir!$docdir$ac_delim
26647
 
infodir!$infodir$ac_delim
26648
 
htmldir!$htmldir$ac_delim
26649
 
dvidir!$dvidir$ac_delim
26650
 
pdfdir!$pdfdir$ac_delim
26651
 
psdir!$psdir$ac_delim
26652
 
libdir!$libdir$ac_delim
26653
 
localedir!$localedir$ac_delim
26654
 
mandir!$mandir$ac_delim
26655
 
DEFS!$DEFS$ac_delim
26656
 
ECHO_C!$ECHO_C$ac_delim
26657
 
ECHO_N!$ECHO_N$ac_delim
26658
 
ECHO_T!$ECHO_T$ac_delim
26659
 
LIBS!$LIBS$ac_delim
26660
 
build_alias!$build_alias$ac_delim
26661
 
host_alias!$host_alias$ac_delim
26662
 
target_alias!$target_alias$ac_delim
26663
 
build!$build$ac_delim
26664
 
build_cpu!$build_cpu$ac_delim
26665
 
build_vendor!$build_vendor$ac_delim
26666
 
build_os!$build_os$ac_delim
26667
 
host!$host$ac_delim
26668
 
host_cpu!$host_cpu$ac_delim
26669
 
host_vendor!$host_vendor$ac_delim
26670
 
host_os!$host_os$ac_delim
26671
 
target!$target$ac_delim
26672
 
target_cpu!$target_cpu$ac_delim
26673
 
target_vendor!$target_vendor$ac_delim
26674
 
target_os!$target_os$ac_delim
26675
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
26676
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
26677
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
26678
 
am__isrc!$am__isrc$ac_delim
26679
 
CYGPATH_W!$CYGPATH_W$ac_delim
26680
 
PACKAGE!$PACKAGE$ac_delim
26681
 
VERSION!$VERSION$ac_delim
26682
 
ACLOCAL!$ACLOCAL$ac_delim
26683
 
AUTOCONF!$AUTOCONF$ac_delim
26684
 
AUTOMAKE!$AUTOMAKE$ac_delim
26685
 
AUTOHEADER!$AUTOHEADER$ac_delim
26686
 
MAKEINFO!$MAKEINFO$ac_delim
26687
 
install_sh!$install_sh$ac_delim
26688
 
STRIP!$STRIP$ac_delim
26689
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
26690
 
mkdir_p!$mkdir_p$ac_delim
26691
 
AWK!$AWK$ac_delim
26692
 
SET_MAKE!$SET_MAKE$ac_delim
26693
 
am__leading_dot!$am__leading_dot$ac_delim
26694
 
AMTAR!$AMTAR$ac_delim
26695
 
am__tar!$am__tar$ac_delim
26696
 
am__untar!$am__untar$ac_delim
26697
 
CXX!$CXX$ac_delim
26698
 
CXXFLAGS!$CXXFLAGS$ac_delim
26699
 
LDFLAGS!$LDFLAGS$ac_delim
26700
 
CPPFLAGS!$CPPFLAGS$ac_delim
26701
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
26702
 
EXEEXT!$EXEEXT$ac_delim
26703
 
OBJEXT!$OBJEXT$ac_delim
26704
 
DEPDIR!$DEPDIR$ac_delim
26705
 
am__include!$am__include$ac_delim
26706
 
am__quote!$am__quote$ac_delim
26707
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
26708
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
26709
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
26710
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
26711
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
26712
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
26713
 
CC!$CC$ac_delim
26714
 
CFLAGS!$CFLAGS$ac_delim
26715
 
ac_ct_CC!$ac_ct_CC$ac_delim
26716
 
CCDEPMODE!$CCDEPMODE$ac_delim
26717
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
26718
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
26719
 
CPP!$CPP$ac_delim
26720
 
LN_S!$LN_S$ac_delim
26721
 
SHARED_FLAGS!$SHARED_FLAGS$ac_delim
26722
 
PLUGIN_FLAGS!$PLUGIN_FLAGS$ac_delim
26723
 
_ACEOF
26724
 
 
26725
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26726
 
    break
26727
 
  elif $ac_last_try; then
26728
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26729
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26730
 
   { (exit 1); exit 1; }; }
26731
 
  else
26732
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26733
 
  fi
26734
 
done
26735
 
 
26736
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26737
 
if test -n "$ac_eof"; then
26738
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26739
 
  ac_eof=`expr $ac_eof + 1`
26740
 
fi
26741
 
 
26742
 
cat >>$CONFIG_STATUS <<_ACEOF
26743
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
26744
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26745
 
_ACEOF
26746
 
sed '
26747
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26748
 
s/^/s,@/; s/!/@,|#_!!_#|/
26749
 
:n
26750
 
t n
26751
 
s/'"$ac_delim"'$/,g/; t
26752
 
s/$/\\/; p
26753
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26754
 
' >>$CONFIG_STATUS <conf$$subs.sed
26755
 
rm -f conf$$subs.sed
26756
 
cat >>$CONFIG_STATUS <<_ACEOF
26757
 
CEOF$ac_eof
26758
 
_ACEOF
26759
 
 
26760
 
 
26761
 
ac_delim='%!_!# '
26762
 
for ac_last_try in false false false false false :; do
26763
 
  cat >conf$$subs.sed <<_ACEOF
26764
 
RC!$RC$ac_delim
26765
 
CODEBLOCKS_NT_TRUE!$CODEBLOCKS_NT_TRUE$ac_delim
26766
 
CODEBLOCKS_NT_FALSE!$CODEBLOCKS_NT_FALSE$ac_delim
26767
 
CODEBLOCKS_LINUX_TRUE!$CODEBLOCKS_LINUX_TRUE$ac_delim
26768
 
CODEBLOCKS_LINUX_FALSE!$CODEBLOCKS_LINUX_FALSE$ac_delim
26769
 
CODEBLOCKS_DARWIN_TRUE!$CODEBLOCKS_DARWIN_TRUE$ac_delim
26770
 
CODEBLOCKS_DARWIN_FALSE!$CODEBLOCKS_DARWIN_FALSE$ac_delim
26771
 
SED!$SED$ac_delim
26772
 
GREP!$GREP$ac_delim
26773
 
EGREP!$EGREP$ac_delim
26774
 
ECHO!$ECHO$ac_delim
26775
 
AR!$AR$ac_delim
26776
 
RANLIB!$RANLIB$ac_delim
26777
 
CXXCPP!$CXXCPP$ac_delim
26778
 
F77!$F77$ac_delim
26779
 
FFLAGS!$FFLAGS$ac_delim
26780
 
ac_ct_F77!$ac_ct_F77$ac_delim
26781
 
LIBTOOL!$LIBTOOL$ac_delim
26782
 
LIBOBJS!$LIBOBJS$ac_delim
26783
 
HAVE_ZLIB_TRUE!$HAVE_ZLIB_TRUE$ac_delim
26784
 
HAVE_ZLIB_FALSE!$HAVE_ZLIB_FALSE$ac_delim
26785
 
HAVE_BZIP2_TRUE!$HAVE_BZIP2_TRUE$ac_delim
26786
 
HAVE_BZIP2_FALSE!$HAVE_BZIP2_FALSE$ac_delim
26787
 
CODEBLOCKS_VERSION_INFO!$CODEBLOCKS_VERSION_INFO$ac_delim
26788
 
PLATFORM_CFLAGS!$PLATFORM_CFLAGS$ac_delim
26789
 
PLATFORM_LIBS!$PLATFORM_LIBS$ac_delim
26790
 
CODEBLOCKS_PLATFORM!$CODEBLOCKS_PLATFORM$ac_delim
26791
 
BUILD_ASTYLE_TRUE!$BUILD_ASTYLE_TRUE$ac_delim
26792
 
BUILD_ASTYLE_FALSE!$BUILD_ASTYLE_FALSE$ac_delim
26793
 
BUILD_AUTOSAVE_TRUE!$BUILD_AUTOSAVE_TRUE$ac_delim
26794
 
BUILD_AUTOSAVE_FALSE!$BUILD_AUTOSAVE_FALSE$ac_delim
26795
 
BUILD_CLASSWIZARD_TRUE!$BUILD_CLASSWIZARD_TRUE$ac_delim
26796
 
BUILD_CLASSWIZARD_FALSE!$BUILD_CLASSWIZARD_FALSE$ac_delim
26797
 
BUILD_CODECOMPLETION_TRUE!$BUILD_CODECOMPLETION_TRUE$ac_delim
26798
 
BUILD_CODECOMPLETION_FALSE!$BUILD_CODECOMPLETION_FALSE$ac_delim
26799
 
BUILD_COMPILER_TRUE!$BUILD_COMPILER_TRUE$ac_delim
26800
 
BUILD_COMPILER_FALSE!$BUILD_COMPILER_FALSE$ac_delim
26801
 
BUILD_DEBUGGER_TRUE!$BUILD_DEBUGGER_TRUE$ac_delim
26802
 
BUILD_DEBUGGER_FALSE!$BUILD_DEBUGGER_FALSE$ac_delim
26803
 
BUILD_MIMEHANDLER_TRUE!$BUILD_MIMEHANDLER_TRUE$ac_delim
26804
 
BUILD_MIMEHANDLER_FALSE!$BUILD_MIMEHANDLER_FALSE$ac_delim
26805
 
BUILD_OPENFILESLIST_TRUE!$BUILD_OPENFILESLIST_TRUE$ac_delim
26806
 
BUILD_OPENFILESLIST_FALSE!$BUILD_OPENFILESLIST_FALSE$ac_delim
26807
 
BUILD_PROJECTSIMPORTER_TRUE!$BUILD_PROJECTSIMPORTER_TRUE$ac_delim
26808
 
BUILD_PROJECTSIMPORTER_FALSE!$BUILD_PROJECTSIMPORTER_FALSE$ac_delim
26809
 
BUILD_SCRIPTEDWIZARD_TRUE!$BUILD_SCRIPTEDWIZARD_TRUE$ac_delim
26810
 
BUILD_SCRIPTEDWIZARD_FALSE!$BUILD_SCRIPTEDWIZARD_FALSE$ac_delim
26811
 
BUILD_TODO_TRUE!$BUILD_TODO_TRUE$ac_delim
26812
 
BUILD_TODO_FALSE!$BUILD_TODO_FALSE$ac_delim
26813
 
BUILD_MANIFEST_TRUE!$BUILD_MANIFEST_TRUE$ac_delim
26814
 
BUILD_MANIFEST_FALSE!$BUILD_MANIFEST_FALSE$ac_delim
26815
 
BUILD_AUTOVERSIONING_TRUE!$BUILD_AUTOVERSIONING_TRUE$ac_delim
26816
 
BUILD_AUTOVERSIONING_FALSE!$BUILD_AUTOVERSIONING_FALSE$ac_delim
26817
 
BUILD_BROWSETRACKER_TRUE!$BUILD_BROWSETRACKER_TRUE$ac_delim
26818
 
BUILD_BROWSETRACKER_FALSE!$BUILD_BROWSETRACKER_FALSE$ac_delim
26819
 
BUILD_BYOGAMES_TRUE!$BUILD_BYOGAMES_TRUE$ac_delim
26820
 
BUILD_BYOGAMES_FALSE!$BUILD_BYOGAMES_FALSE$ac_delim
26821
 
BUILD_CBKODERS_TRUE!$BUILD_CBKODERS_TRUE$ac_delim
26822
 
BUILD_CBKODERS_FALSE!$BUILD_CBKODERS_FALSE$ac_delim
26823
 
BUILD_CODESNIPPETS_TRUE!$BUILD_CODESNIPPETS_TRUE$ac_delim
26824
 
BUILD_CODESNIPPETS_FALSE!$BUILD_CODESNIPPETS_FALSE$ac_delim
26825
 
BUILD_CODESTAT_TRUE!$BUILD_CODESTAT_TRUE$ac_delim
26826
 
BUILD_CODESTAT_FALSE!$BUILD_CODESTAT_FALSE$ac_delim
26827
 
BUILD_DRAGSCROLL_TRUE!$BUILD_DRAGSCROLL_TRUE$ac_delim
26828
 
BUILD_DRAGSCROLL_FALSE!$BUILD_DRAGSCROLL_FALSE$ac_delim
26829
 
BUILD_ENVVARS_TRUE!$BUILD_ENVVARS_TRUE$ac_delim
26830
 
BUILD_ENVVARS_FALSE!$BUILD_ENVVARS_FALSE$ac_delim
26831
 
BUILD_HELP_TRUE!$BUILD_HELP_TRUE$ac_delim
26832
 
BUILD_HELP_FALSE!$BUILD_HELP_FALSE$ac_delim
26833
 
BUILD_KEYBINDER_TRUE!$BUILD_KEYBINDER_TRUE$ac_delim
26834
 
BUILD_KEYBINDER_FALSE!$BUILD_KEYBINDER_FALSE$ac_delim
26835
 
BUILD_LIBFINDER_TRUE!$BUILD_LIBFINDER_TRUE$ac_delim
26836
 
BUILD_LIBFINDER_FALSE!$BUILD_LIBFINDER_FALSE$ac_delim
26837
 
BUILD_PROFILER_TRUE!$BUILD_PROFILER_TRUE$ac_delim
26838
 
BUILD_PROFILER_FALSE!$BUILD_PROFILER_FALSE$ac_delim
26839
 
BUILD_REGEX_TRUE!$BUILD_REGEX_TRUE$ac_delim
26840
 
BUILD_REGEX_FALSE!$BUILD_REGEX_FALSE$ac_delim
26841
 
BUILD_EXPORTER_TRUE!$BUILD_EXPORTER_TRUE$ac_delim
26842
 
BUILD_EXPORTER_FALSE!$BUILD_EXPORTER_FALSE$ac_delim
26843
 
BUILD_SYMTAB_TRUE!$BUILD_SYMTAB_TRUE$ac_delim
26844
 
BUILD_SYMTAB_FALSE!$BUILD_SYMTAB_FALSE$ac_delim
26845
 
BUILD_THREADSEARCH_TRUE!$BUILD_THREADSEARCH_TRUE$ac_delim
26846
 
BUILD_THREADSEARCH_FALSE!$BUILD_THREADSEARCH_FALSE$ac_delim
26847
 
BUILD_WXSMITH_TRUE!$BUILD_WXSMITH_TRUE$ac_delim
26848
 
BUILD_WXSMITH_FALSE!$BUILD_WXSMITH_FALSE$ac_delim
26849
 
BUILD_AUTOVERSIONING!$BUILD_AUTOVERSIONING$ac_delim
26850
 
BUILD_BROWSETRACKER!$BUILD_BROWSETRACKER$ac_delim
26851
 
BUILD_BYOGAMES!$BUILD_BYOGAMES$ac_delim
26852
 
BUILD_CBKODERS!$BUILD_CBKODERS$ac_delim
26853
 
BUILD_CODESNIPPETS!$BUILD_CODESNIPPETS$ac_delim
26854
 
BUILD_CODESTAT!$BUILD_CODESTAT$ac_delim
26855
 
BUILD_COPYSTRINGS!$BUILD_COPYSTRINGS$ac_delim
26856
 
BUILD_DRAGSCROLL!$BUILD_DRAGSCROLL$ac_delim
26857
 
BUILD_ENVVARS!$BUILD_ENVVARS$ac_delim
26858
 
BUILD_HELP!$BUILD_HELP$ac_delim
26859
 
BUILD_KEYBINDER!$BUILD_KEYBINDER$ac_delim
26860
 
BUILD_LIBFINDER!$BUILD_LIBFINDER$ac_delim
26861
 
_ACEOF
26862
 
 
26863
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26864
 
    break
26865
 
  elif $ac_last_try; then
26866
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26867
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26868
 
   { (exit 1); exit 1; }; }
26869
 
  else
26870
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26871
 
  fi
26872
 
done
26873
 
 
26874
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26875
 
if test -n "$ac_eof"; then
26876
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26877
 
  ac_eof=`expr $ac_eof + 1`
26878
 
fi
26879
 
 
26880
 
cat >>$CONFIG_STATUS <<_ACEOF
26881
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
26882
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26883
 
_ACEOF
26884
 
sed '
26885
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26886
 
s/^/s,@/; s/!/@,|#_!!_#|/
26887
 
:n
26888
 
t n
26889
 
s/'"$ac_delim"'$/,g/; t
26890
 
s/$/\\/; p
26891
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26892
 
' >>$CONFIG_STATUS <conf$$subs.sed
26893
 
rm -f conf$$subs.sed
26894
 
cat >>$CONFIG_STATUS <<_ACEOF
26895
 
CEOF$ac_eof
26896
 
_ACEOF
26897
 
 
26898
 
 
26899
 
ac_delim='%!_!# '
26900
 
for ac_last_try in false false false false false :; do
26901
 
  cat >conf$$subs.sed <<_ACEOF
26902
 
BUILD_PROFILER!$BUILD_PROFILER$ac_delim
26903
 
BUILD_REGEX!$BUILD_REGEX$ac_delim
26904
 
BUILD_EXPORTER!$BUILD_EXPORTER$ac_delim
26905
 
BUILD_SYMTAB!$BUILD_SYMTAB$ac_delim
26906
 
BUILD_THREADSEARCH!$BUILD_THREADSEARCH$ac_delim
26907
 
BUILD_WXSMITH!$BUILD_WXSMITH$ac_delim
26908
 
PRECOMPILE_HEADERS_TRUE!$PRECOMPILE_HEADERS_TRUE$ac_delim
26909
 
PRECOMPILE_HEADERS_FALSE!$PRECOMPILE_HEADERS_FALSE$ac_delim
26910
 
WX_CONFIG_PATH!$WX_CONFIG_PATH$ac_delim
26911
 
WX_CPPFLAGS!$WX_CPPFLAGS$ac_delim
26912
 
WX_CFLAGS!$WX_CFLAGS$ac_delim
26913
 
WX_CXXFLAGS!$WX_CXXFLAGS$ac_delim
26914
 
WX_CFLAGS_ONLY!$WX_CFLAGS_ONLY$ac_delim
26915
 
WX_CXXFLAGS_ONLY!$WX_CXXFLAGS_ONLY$ac_delim
26916
 
WX_LIBS!$WX_LIBS$ac_delim
26917
 
WX_LIBS_STATIC!$WX_LIBS_STATIC$ac_delim
26918
 
WX_VERSION!$WX_VERSION$ac_delim
26919
 
WX_RESCOMP!$WX_RESCOMP$ac_delim
26920
 
HAVE_PKG_CONFIG!$HAVE_PKG_CONFIG$ac_delim
26921
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
26922
 
GTK2_CFLAGS!$GTK2_CFLAGS$ac_delim
26923
 
GTK2_LIBS!$GTK2_LIBS$ac_delim
26924
 
REZ!$REZ$ac_delim
26925
 
SETFILE!$SETFILE$ac_delim
26926
 
WX_GTK2_CFLAGS!$WX_GTK2_CFLAGS$ac_delim
26927
 
WX_GTK2_LIBS!$WX_GTK2_LIBS$ac_delim
26928
 
POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
26929
 
MACSETFILE!$MACSETFILE$ac_delim
26930
 
PLUGIN_WX_LIBS!$PLUGIN_WX_LIBS$ac_delim
26931
 
codeblocks_PCH_FLAGS!$codeblocks_PCH_FLAGS$ac_delim
26932
 
LINUX_TRUE!$LINUX_TRUE$ac_delim
26933
 
LINUX_FALSE!$LINUX_FALSE$ac_delim
26934
 
DARWIN_TRUE!$DARWIN_TRUE$ac_delim
26935
 
DARWIN_FALSE!$DARWIN_FALSE$ac_delim
26936
 
REVISION!$REVISION$ac_delim
26937
 
DATE!$DATE$ac_delim
26938
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
26939
 
_ACEOF
26940
 
 
26941
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 37; then
26942
 
    break
26943
 
  elif $ac_last_try; then
26944
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26945
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26946
 
   { (exit 1); exit 1; }; }
26947
 
  else
26948
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26949
 
  fi
26950
 
done
26951
 
 
26952
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26953
 
if test -n "$ac_eof"; then
26954
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26955
 
  ac_eof=`expr $ac_eof + 1`
26956
 
fi
26957
 
 
26958
 
cat >>$CONFIG_STATUS <<_ACEOF
26959
 
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
26960
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
26961
 
_ACEOF
26962
 
sed '
26963
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26964
 
s/^/s,@/; s/!/@,|#_!!_#|/
26965
 
:n
26966
 
t n
26967
 
s/'"$ac_delim"'$/,g/; t
26968
 
s/$/\\/; p
26969
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26970
 
' >>$CONFIG_STATUS <conf$$subs.sed
26971
 
rm -f conf$$subs.sed
26972
 
cat >>$CONFIG_STATUS <<_ACEOF
26973
 
:end
26974
 
s/|#_!!_#|//g
26975
 
CEOF$ac_eof
26976
 
_ACEOF
26977
 
 
 
20915
 
 
20916
ac_cr=`echo X | tr X '\015'`
 
20917
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
20918
# But we know of no other shell where ac_cr would be empty at this
 
20919
# point, so we can use a bashism as a fallback.
 
20920
if test "x$ac_cr" = x; then
 
20921
  eval ac_cr=\$\'\\r\'
 
20922
fi
 
20923
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
20924
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
20925
  ac_cs_awk_cr='\r'
 
20926
else
 
20927
  ac_cs_awk_cr=$ac_cr
 
20928
fi
 
20929
 
 
20930
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
20931
_ACEOF
 
20932
 
 
20933
 
 
20934
{
 
20935
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
20936
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
20937
  echo "_ACEOF"
 
20938
} >conf$$subs.sh ||
 
20939
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
20940
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
20941
ac_delim='%!_!# '
 
20942
for ac_last_try in false false false false false :; do
 
20943
  . ./conf$$subs.sh ||
 
20944
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
20945
 
 
20946
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
20947
  if test $ac_delim_n = $ac_delim_num; then
 
20948
    break
 
20949
  elif $ac_last_try; then
 
20950
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
20951
  else
 
20952
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
20953
  fi
 
20954
done
 
20955
rm -f conf$$subs.sh
 
20956
 
 
20957
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
20958
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
20959
_ACEOF
 
20960
sed -n '
 
20961
h
 
20962
s/^/S["/; s/!.*/"]=/
 
20963
p
 
20964
g
 
20965
s/^[^!]*!//
 
20966
:repl
 
20967
t repl
 
20968
s/'"$ac_delim"'$//
 
20969
t delim
 
20970
:nl
 
20971
h
 
20972
s/\(.\{148\}\)..*/\1/
 
20973
t more1
 
20974
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
20975
p
 
20976
n
 
20977
b repl
 
20978
:more1
 
20979
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
20980
p
 
20981
g
 
20982
s/.\{148\}//
 
20983
t nl
 
20984
:delim
 
20985
h
 
20986
s/\(.\{148\}\)..*/\1/
 
20987
t more2
 
20988
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
20989
p
 
20990
b
 
20991
:more2
 
20992
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
20993
p
 
20994
g
 
20995
s/.\{148\}//
 
20996
t delim
 
20997
' <conf$$subs.awk | sed '
 
20998
/^[^""]/{
 
20999
  N
 
21000
  s/\n//
 
21001
}
 
21002
' >>$CONFIG_STATUS || ac_write_fail=1
 
21003
rm -f conf$$subs.awk
 
21004
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
21005
_ACAWK
 
21006
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
21007
  for (key in S) S_is_set[key] = 1
 
21008
  FS = ""
 
21009
 
 
21010
}
 
21011
{
 
21012
  line = $ 0
 
21013
  nfields = split(line, field, "@")
 
21014
  substed = 0
 
21015
  len = length(field[1])
 
21016
  for (i = 2; i < nfields; i++) {
 
21017
    key = field[i]
 
21018
    keylen = length(key)
 
21019
    if (S_is_set[key]) {
 
21020
      value = S[key]
 
21021
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
21022
      len += length(value) + length(field[++i])
 
21023
      substed = 1
 
21024
    } else
 
21025
      len += 1 + keylen
 
21026
  }
 
21027
 
 
21028
  print line
 
21029
}
 
21030
 
 
21031
_ACAWK
 
21032
_ACEOF
 
21033
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
21034
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
21035
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
21036
else
 
21037
  cat
 
21038
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
21039
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
21040
_ACEOF
26978
21041
 
26979
21042
# VPATH may cause trouble with some makes, so we remove $(srcdir),
26980
21043
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26991
21054
}'
26992
21055
fi
26993
21056
 
26994
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
21057
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26995
21058
fi # test -n "$CONFIG_FILES"
26996
21059
 
26997
 
 
26998
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
21060
# Set up the scripts for CONFIG_HEADERS section.
 
21061
# No need to generate them if there are no CONFIG_HEADERS.
 
21062
# This happens for instance with `./config.status Makefile'.
 
21063
if test -n "$CONFIG_HEADERS"; then
 
21064
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
21065
BEGIN {
 
21066
_ACEOF
 
21067
 
 
21068
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
21069
# here-document in config.status, that substitutes the proper values into
 
21070
# config.h.in to produce config.h.
 
21071
 
 
21072
# Create a delimiter string that does not exist in confdefs.h, to ease
 
21073
# handling of long lines.
 
21074
ac_delim='%!_!# '
 
21075
for ac_last_try in false false :; do
 
21076
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
21077
  if test -z "$ac_t"; then
 
21078
    break
 
21079
  elif $ac_last_try; then
 
21080
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
21081
  else
 
21082
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
21083
  fi
 
21084
done
 
21085
 
 
21086
# For the awk script, D is an array of macro values keyed by name,
 
21087
# likewise P contains macro parameters if any.  Preserve backslash
 
21088
# newline sequences.
 
21089
 
 
21090
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
21091
sed -n '
 
21092
s/.\{148\}/&'"$ac_delim"'/g
 
21093
t rset
 
21094
:rset
 
21095
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
21096
t def
 
21097
d
 
21098
:def
 
21099
s/\\$//
 
21100
t bsnl
 
21101
s/["\\]/\\&/g
 
21102
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
21103
D["\1"]=" \3"/p
 
21104
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
21105
d
 
21106
:bsnl
 
21107
s/["\\]/\\&/g
 
21108
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
21109
D["\1"]=" \3\\\\\\n"\\/p
 
21110
t cont
 
21111
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
21112
t cont
 
21113
d
 
21114
:cont
 
21115
n
 
21116
s/.\{148\}/&'"$ac_delim"'/g
 
21117
t clear
 
21118
:clear
 
21119
s/\\$//
 
21120
t bsnlc
 
21121
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
21122
d
 
21123
:bsnlc
 
21124
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
21125
b cont
 
21126
' <confdefs.h | sed '
 
21127
s/'"$ac_delim"'/"\\\
 
21128
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
21129
 
 
21130
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
21131
  for (key in D) D_is_set[key] = 1
 
21132
  FS = ""
 
21133
}
 
21134
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
21135
  line = \$ 0
 
21136
  split(line, arg, " ")
 
21137
  if (arg[1] == "#") {
 
21138
    defundef = arg[2]
 
21139
    mac1 = arg[3]
 
21140
  } else {
 
21141
    defundef = substr(arg[1], 2)
 
21142
    mac1 = arg[2]
 
21143
  }
 
21144
  split(mac1, mac2, "(") #)
 
21145
  macro = mac2[1]
 
21146
  prefix = substr(line, 1, index(line, defundef) - 1)
 
21147
  if (D_is_set[macro]) {
 
21148
    # Preserve the white space surrounding the "#".
 
21149
    print prefix "define", macro P[macro] D[macro]
 
21150
    next
 
21151
  } else {
 
21152
    # Replace #undef with comments.  This is necessary, for example,
 
21153
    # in the case of _POSIX_SOURCE, which is predefined and required
 
21154
    # on some systems where configure will not decide to define it.
 
21155
    if (defundef == "undef") {
 
21156
      print "/*", prefix defundef, macro, "*/"
 
21157
      next
 
21158
    }
 
21159
  }
 
21160
}
 
21161
{ print }
 
21162
_ACAWK
 
21163
_ACEOF
 
21164
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
21165
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
21166
fi # test -n "$CONFIG_HEADERS"
 
21167
 
 
21168
 
 
21169
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
21170
shift
 
21171
for ac_tag
26999
21172
do
27000
21173
  case $ac_tag in
27001
21174
  :[FHLC]) ac_mode=$ac_tag; continue;;
27002
21175
  esac
27003
21176
  case $ac_mode$ac_tag in
27004
21177
  :[FHL]*:*);;
27005
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
27006
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
27007
 
   { (exit 1); exit 1; }; };;
 
21178
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
27008
21179
  :[FH]-) ac_tag=-:-;;
27009
21180
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27010
21181
  esac
27032
21203
           [\\/$]*) false;;
27033
21204
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27034
21205
           esac ||
27035
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
27036
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27037
 
   { (exit 1); exit 1; }; };;
 
21206
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27038
21207
      esac
27039
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
21208
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
21209
      as_fn_append ac_file_inputs " '$ac_f'"
27040
21210
    done
27041
21211
 
27042
21212
    # Let's still pretend it is `configure' which instantiates (i.e., don't
27043
21213
    # use $as_me), people would be surprised to read:
27044
21214
    #    /* config.h.  Generated by config.status.  */
27045
 
    configure_input="Generated from "`IFS=:
27046
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
21215
    configure_input='Generated from '`
 
21216
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
21217
        `' by configure.'
27047
21218
    if test x"$ac_file" != x-; then
27048
21219
      configure_input="$ac_file.  $configure_input"
27049
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
27050
 
echo "$as_me: creating $ac_file" >&6;}
 
21220
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
21221
$as_echo "$as_me: creating $ac_file" >&6;}
27051
21222
    fi
 
21223
    # Neutralize special characters interpreted by sed in replacement strings.
 
21224
    case $configure_input in #(
 
21225
    *\&* | *\|* | *\\* )
 
21226
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
21227
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
21228
    *) ac_sed_conf_input=$configure_input;;
 
21229
    esac
27052
21230
 
27053
21231
    case $ac_tag in
27054
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
21232
    *:-:* | *:-) cat >"$tmp/stdin" \
 
21233
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
27055
21234
    esac
27056
21235
    ;;
27057
21236
  esac
27061
21240
         X"$ac_file" : 'X\(//\)[^/]' \| \
27062
21241
         X"$ac_file" : 'X\(//\)$' \| \
27063
21242
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27064
 
echo X"$ac_file" |
27065
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27066
 
            s//\1/
27067
 
            q
27068
 
          }
27069
 
          /^X\(\/\/\)[^/].*/{
27070
 
            s//\1/
27071
 
            q
27072
 
          }
27073
 
          /^X\(\/\/\)$/{
27074
 
            s//\1/
27075
 
            q
27076
 
          }
27077
 
          /^X\(\/\).*/{
27078
 
            s//\1/
27079
 
            q
27080
 
          }
27081
 
          s/.*/./; q'`
27082
 
  { as_dir="$ac_dir"
27083
 
  case $as_dir in #(
27084
 
  -*) as_dir=./$as_dir;;
27085
 
  esac
27086
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27087
 
    as_dirs=
27088
 
    while :; do
27089
 
      case $as_dir in #(
27090
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27091
 
      *) as_qdir=$as_dir;;
27092
 
      esac
27093
 
      as_dirs="'$as_qdir' $as_dirs"
27094
 
      as_dir=`$as_dirname -- "$as_dir" ||
27095
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27096
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
27097
 
         X"$as_dir" : 'X\(//\)$' \| \
27098
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27099
 
echo X"$as_dir" |
27100
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27101
 
            s//\1/
27102
 
            q
27103
 
          }
27104
 
          /^X\(\/\/\)[^/].*/{
27105
 
            s//\1/
27106
 
            q
27107
 
          }
27108
 
          /^X\(\/\/\)$/{
27109
 
            s//\1/
27110
 
            q
27111
 
          }
27112
 
          /^X\(\/\).*/{
27113
 
            s//\1/
27114
 
            q
27115
 
          }
27116
 
          s/.*/./; q'`
27117
 
      test -d "$as_dir" && break
27118
 
    done
27119
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
27120
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27121
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
27122
 
   { (exit 1); exit 1; }; }; }
 
21243
$as_echo X"$ac_file" |
 
21244
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
21245
            s//\1/
 
21246
            q
 
21247
          }
 
21248
          /^X\(\/\/\)[^/].*/{
 
21249
            s//\1/
 
21250
            q
 
21251
          }
 
21252
          /^X\(\/\/\)$/{
 
21253
            s//\1/
 
21254
            q
 
21255
          }
 
21256
          /^X\(\/\).*/{
 
21257
            s//\1/
 
21258
            q
 
21259
          }
 
21260
          s/.*/./; q'`
 
21261
  as_dir="$ac_dir"; as_fn_mkdir_p
27123
21262
  ac_builddir=.
27124
21263
 
27125
21264
case "$ac_dir" in
27126
21265
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27127
21266
*)
27128
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
21267
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27129
21268
  # A ".." for each directory in $ac_dir_suffix.
27130
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
21269
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27131
21270
  case $ac_top_builddir_sub in
27132
21271
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27133
21272
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27172
21311
  esac
27173
21312
_ACEOF
27174
21313
 
27175
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
21314
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27176
21315
# If the template does not know about datarootdir, expand it.
27177
21316
# FIXME: This hack should be removed a few years after 2.60.
27178
21317
ac_datarootdir_hack=; ac_datarootdir_seen=
27179
 
 
27180
 
case `sed -n '/datarootdir/ {
 
21318
ac_sed_dataroot='
 
21319
/datarootdir/ {
27181
21320
  p
27182
21321
  q
27183
21322
}
27185
21324
/@docdir@/p
27186
21325
/@infodir@/p
27187
21326
/@localedir@/p
27188
 
/@mandir@/p
27189
 
' $ac_file_inputs` in
 
21327
/@mandir@/p'
 
21328
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27190
21329
*datarootdir*) ac_datarootdir_seen=yes;;
27191
21330
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27192
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27193
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
21331
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
21332
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27194
21333
_ACEOF
27195
 
cat >>$CONFIG_STATUS <<_ACEOF
 
21334
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27196
21335
  ac_datarootdir_hack='
27197
21336
  s&@datadir@&$datadir&g
27198
21337
  s&@docdir@&$docdir&g
27199
21338
  s&@infodir@&$infodir&g
27200
21339
  s&@localedir@&$localedir&g
27201
21340
  s&@mandir@&$mandir&g
27202
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
21341
  s&\\\${datarootdir}&$datarootdir&g' ;;
27203
21342
esac
27204
21343
_ACEOF
27205
21344
 
27206
21345
# Neutralize VPATH when `$srcdir' = `.'.
27207
21346
# Shell code in configure.ac might set extrasub.
27208
21347
# FIXME: do we really want to maintain this feature?
27209
 
cat >>$CONFIG_STATUS <<_ACEOF
27210
 
  sed "$ac_vpsub
 
21348
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
21349
ac_sed_extra="$ac_vpsub
27211
21350
$extrasub
27212
21351
_ACEOF
27213
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
21352
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27214
21353
:t
27215
21354
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27216
 
s&@configure_input@&$configure_input&;t t
 
21355
s|@configure_input@|$ac_sed_conf_input|;t t
27217
21356
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
21357
s&@top_build_prefix@&$ac_top_build_prefix&;t t
27218
21358
s&@srcdir@&$ac_srcdir&;t t
27219
21359
s&@abs_srcdir@&$ac_abs_srcdir&;t t
27220
21360
s&@top_srcdir@&$ac_top_srcdir&;t t
27225
21365
s&@INSTALL@&$ac_INSTALL&;t t
27226
21366
s&@MKDIR_P@&$ac_MKDIR_P&;t t
27227
21367
$ac_datarootdir_hack
27228
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
 
21368
"
 
21369
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
21370
  || as_fn_error "could not create $ac_file" "$LINENO" 5
27229
21371
 
27230
21372
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27231
21373
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27232
21374
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27233
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
21375
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27234
21376
which seems to be undefined.  Please make sure it is defined." >&5
27235
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
21377
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27236
21378
which seems to be undefined.  Please make sure it is defined." >&2;}
27237
21379
 
27238
21380
  rm -f "$tmp/stdin"
27239
21381
  case $ac_file in
27240
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
27241
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
27242
 
  esac
 
21382
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
21383
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
21384
  esac \
 
21385
  || as_fn_error "could not create $ac_file" "$LINENO" 5
27243
21386
 ;;
27244
21387
  :H)
27245
21388
  #
27246
21389
  # CONFIG_HEADER
27247
21390
  #
27248
 
_ACEOF
27249
 
 
27250
 
# Transform confdefs.h into a sed script `conftest.defines', that
27251
 
# substitutes the proper values into config.h.in to produce config.h.
27252
 
rm -f conftest.defines conftest.tail
27253
 
# First, append a space to every undef/define line, to ease matching.
27254
 
echo 's/$/ /' >conftest.defines
27255
 
# Then, protect against being on the right side of a sed subst, or in
27256
 
# an unquoted here document, in config.status.  If some macros were
27257
 
# called several times there might be several #defines for the same
27258
 
# symbol, which is useless.  But do not sort them, since the last
27259
 
# AC_DEFINE must be honored.
27260
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27261
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
27262
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
27263
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
27264
 
# just an empty string.
27265
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
27266
 
ac_dB='\\)[      (].*,\\1define\\2'
27267
 
ac_dC=' '
27268
 
ac_dD=' ,'
27269
 
 
27270
 
uniq confdefs.h |
27271
 
  sed -n '
27272
 
        t rset
27273
 
        :rset
27274
 
        s/^[     ]*#[    ]*define[       ][      ]*//
27275
 
        t ok
27276
 
        d
27277
 
        :ok
27278
 
        s/[\\&,]/\\&/g
27279
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
27280
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
27281
 
  ' >>conftest.defines
27282
 
 
27283
 
# Remove the space that was appended to ease matching.
27284
 
# Then replace #undef with comments.  This is necessary, for
27285
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
27286
 
# on some systems where configure will not decide to define it.
27287
 
# (The regexp can be short, since the line contains either #define or #undef.)
27288
 
echo 's/ $//
27289
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
27290
 
 
27291
 
# Break up conftest.defines:
27292
 
ac_max_sed_lines=50
27293
 
 
27294
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
27295
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
27296
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
27297
 
# et cetera.
27298
 
ac_in='$ac_file_inputs'
27299
 
ac_out='"$tmp/out1"'
27300
 
ac_nxt='"$tmp/out2"'
27301
 
 
27302
 
while :
27303
 
do
27304
 
  # Write a here document:
27305
 
    cat >>$CONFIG_STATUS <<_ACEOF
27306
 
    # First, check the format of the line:
27307
 
    cat >"\$tmp/defines.sed" <<\\CEOF
27308
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
27309
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
27310
 
b
27311
 
:def
27312
 
_ACEOF
27313
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
27314
 
  echo 'CEOF
27315
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
27316
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
27317
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
27318
 
  grep . conftest.tail >/dev/null || break
27319
 
  rm -f conftest.defines
27320
 
  mv conftest.tail conftest.defines
27321
 
done
27322
 
rm -f conftest.defines conftest.tail
27323
 
 
27324
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
27325
 
cat >>$CONFIG_STATUS <<\_ACEOF
27326
21391
  if test x"$ac_file" != x-; then
27327
 
    echo "/* $configure_input  */" >"$tmp/config.h"
27328
 
    cat "$ac_result" >>"$tmp/config.h"
27329
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
27330
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27331
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
21392
    {
 
21393
      $as_echo "/* $configure_input  */" \
 
21394
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
21395
    } >"$tmp/config.h" \
 
21396
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
21397
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
21398
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
21399
$as_echo "$as_me: $ac_file is unchanged" >&6;}
27332
21400
    else
27333
 
      rm -f $ac_file
27334
 
      mv "$tmp/config.h" $ac_file
 
21401
      rm -f "$ac_file"
 
21402
      mv "$tmp/config.h" "$ac_file" \
 
21403
        || as_fn_error "could not create $ac_file" "$LINENO" 5
27335
21404
    fi
27336
21405
  else
27337
 
    echo "/* $configure_input  */"
27338
 
    cat "$ac_result"
 
21406
    $as_echo "/* $configure_input  */" \
 
21407
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
21408
      || as_fn_error "could not create -" "$LINENO" 5
27339
21409
  fi
27340
 
  rm -f "$tmp/out12"
27341
 
# Compute $ac_file's index in $config_headers.
 
21410
# Compute "$ac_file"'s index in $config_headers.
 
21411
_am_arg="$ac_file"
27342
21412
_am_stamp_count=1
27343
21413
for _am_header in $config_headers :; do
27344
21414
  case $_am_header in
27345
 
    $ac_file | $ac_file:* )
 
21415
    $_am_arg | $_am_arg:* )
27346
21416
      break ;;
27347
21417
    * )
27348
21418
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27349
21419
  esac
27350
21420
done
27351
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
27352
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27353
 
         X$ac_file : 'X\(//\)[^/]' \| \
27354
 
         X$ac_file : 'X\(//\)$' \| \
27355
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
27356
 
echo X$ac_file |
 
21421
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
21422
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
21423
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
21424
         X"$_am_arg" : 'X\(//\)$' \| \
 
21425
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
21426
$as_echo X"$_am_arg" |
27357
21427
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27358
21428
            s//\1/
27359
21429
            q
27373
21443
          s/.*/./; q'`/stamp-h$_am_stamp_count
27374
21444
 ;;
27375
21445
 
27376
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
27377
 
echo "$as_me: executing $ac_file commands" >&6;}
 
21446
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
21447
$as_echo "$as_me: executing $ac_file commands" >&6;}
27378
21448
 ;;
27379
21449
  esac
27380
21450
 
27381
21451
 
27382
21452
  case $ac_file$ac_mode in
27383
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
27384
 
  # Strip MF so we end up with the name of the file.
27385
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
27386
 
  # Check whether this is an Automake generated Makefile or not.
27387
 
  # We used to match only the files named `Makefile.in', but
27388
 
  # some people rename them; so instead we look at the file content.
27389
 
  # Grep'ing the first line is not enough: some people post-process
27390
 
  # each Makefile.in and add a new line on top of each file to say so.
27391
 
  # Grep'ing the whole file is not good either: AIX grep has a line
27392
 
  # limit of 2048, but all sed's we know have understand at least 4000.
27393
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
27394
 
    dirpart=`$as_dirname -- "$mf" ||
 
21453
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
21454
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
21455
  # are listed without --file.  Let's play safe and only enable the eval
 
21456
  # if we detect the quoting.
 
21457
  case $CONFIG_FILES in
 
21458
  *\'*) eval set x "$CONFIG_FILES" ;;
 
21459
  *)   set x $CONFIG_FILES ;;
 
21460
  esac
 
21461
  shift
 
21462
  for mf
 
21463
  do
 
21464
    # Strip MF so we end up with the name of the file.
 
21465
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
21466
    # Check whether this is an Automake generated Makefile or not.
 
21467
    # We used to match only the files named `Makefile.in', but
 
21468
    # some people rename them; so instead we look at the file content.
 
21469
    # Grep'ing the first line is not enough: some people post-process
 
21470
    # each Makefile.in and add a new line on top of each file to say so.
 
21471
    # Grep'ing the whole file is not good either: AIX grep has a line
 
21472
    # limit of 2048, but all sed's we know have understand at least 4000.
 
21473
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
21474
      dirpart=`$as_dirname -- "$mf" ||
27395
21475
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27396
21476
         X"$mf" : 'X\(//\)[^/]' \| \
27397
21477
         X"$mf" : 'X\(//\)$' \| \
27398
21478
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27399
 
echo X"$mf" |
 
21479
$as_echo X"$mf" |
27400
21480
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27401
21481
            s//\1/
27402
21482
            q
27414
21494
            q
27415
21495
          }
27416
21496
          s/.*/./; q'`
27417
 
  else
27418
 
    continue
27419
 
  fi
27420
 
  # Extract the definition of DEPDIR, am__include, and am__quote
27421
 
  # from the Makefile without running `make'.
27422
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27423
 
  test -z "$DEPDIR" && continue
27424
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
27425
 
  test -z "am__include" && continue
27426
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27427
 
  # When using ansi2knr, U may be empty or an underscore; expand it
27428
 
  U=`sed -n 's/^U = //p' < "$mf"`
27429
 
  # Find all dependency output files, they are included files with
27430
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
27431
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
27432
 
  # expansion.
27433
 
  for file in `sed -n "
27434
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27435
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27436
 
    # Make sure the directory exists.
27437
 
    test -f "$dirpart/$file" && continue
27438
 
    fdir=`$as_dirname -- "$file" ||
 
21497
    else
 
21498
      continue
 
21499
    fi
 
21500
    # Extract the definition of DEPDIR, am__include, and am__quote
 
21501
    # from the Makefile without running `make'.
 
21502
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
21503
    test -z "$DEPDIR" && continue
 
21504
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
21505
    test -z "am__include" && continue
 
21506
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
21507
    # When using ansi2knr, U may be empty or an underscore; expand it
 
21508
    U=`sed -n 's/^U = //p' < "$mf"`
 
21509
    # Find all dependency output files, they are included files with
 
21510
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
21511
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
21512
    # expansion.
 
21513
    for file in `sed -n "
 
21514
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
21515
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
21516
      # Make sure the directory exists.
 
21517
      test -f "$dirpart/$file" && continue
 
21518
      fdir=`$as_dirname -- "$file" ||
27439
21519
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27440
21520
         X"$file" : 'X\(//\)[^/]' \| \
27441
21521
         X"$file" : 'X\(//\)$' \| \
27442
21522
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27443
 
echo X"$file" |
27444
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27445
 
            s//\1/
27446
 
            q
27447
 
          }
27448
 
          /^X\(\/\/\)[^/].*/{
27449
 
            s//\1/
27450
 
            q
27451
 
          }
27452
 
          /^X\(\/\/\)$/{
27453
 
            s//\1/
27454
 
            q
27455
 
          }
27456
 
          /^X\(\/\).*/{
27457
 
            s//\1/
27458
 
            q
27459
 
          }
27460
 
          s/.*/./; q'`
27461
 
    { as_dir=$dirpart/$fdir
27462
 
  case $as_dir in #(
27463
 
  -*) as_dir=./$as_dir;;
27464
 
  esac
27465
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27466
 
    as_dirs=
27467
 
    while :; do
27468
 
      case $as_dir in #(
27469
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27470
 
      *) as_qdir=$as_dir;;
27471
 
      esac
27472
 
      as_dirs="'$as_qdir' $as_dirs"
27473
 
      as_dir=`$as_dirname -- "$as_dir" ||
27474
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27475
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
27476
 
         X"$as_dir" : 'X\(//\)$' \| \
27477
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27478
 
echo X"$as_dir" |
27479
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27480
 
            s//\1/
27481
 
            q
27482
 
          }
27483
 
          /^X\(\/\/\)[^/].*/{
27484
 
            s//\1/
27485
 
            q
27486
 
          }
27487
 
          /^X\(\/\/\)$/{
27488
 
            s//\1/
27489
 
            q
27490
 
          }
27491
 
          /^X\(\/\).*/{
27492
 
            s//\1/
27493
 
            q
27494
 
          }
27495
 
          s/.*/./; q'`
27496
 
      test -d "$as_dir" && break
 
21523
$as_echo X"$file" |
 
21524
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
21525
            s//\1/
 
21526
            q
 
21527
          }
 
21528
          /^X\(\/\/\)[^/].*/{
 
21529
            s//\1/
 
21530
            q
 
21531
          }
 
21532
          /^X\(\/\/\)$/{
 
21533
            s//\1/
 
21534
            q
 
21535
          }
 
21536
          /^X\(\/\).*/{
 
21537
            s//\1/
 
21538
            q
 
21539
          }
 
21540
          s/.*/./; q'`
 
21541
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
21542
      # echo "creating $dirpart/$file"
 
21543
      echo '# dummy' > "$dirpart/$file"
27497
21544
    done
27498
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
27499
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27500
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
27501
 
   { (exit 1); exit 1; }; }; }
27502
 
    # echo "creating $dirpart/$file"
27503
 
    echo '# dummy' > "$dirpart/$file"
27504
21545
  done
27505
 
done
 
21546
}
 
21547
 ;;
 
21548
    "libtool":C)
 
21549
 
 
21550
    # See if we are running on zsh, and set the options which allow our
 
21551
    # commands through without removal of \ escapes.
 
21552
    if test -n "${ZSH_VERSION+set}" ; then
 
21553
      setopt NO_GLOB_SUBST
 
21554
    fi
 
21555
 
 
21556
    cfgfile="${ofile}T"
 
21557
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
21558
    $RM "$cfgfile"
 
21559
 
 
21560
    cat <<_LT_EOF >> "$cfgfile"
 
21561
#! $SHELL
 
21562
 
 
21563
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
21564
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
21565
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
21566
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
21567
#
 
21568
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
21569
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
21570
#   Written by Gordon Matzigkeit, 1996
 
21571
#
 
21572
#   This file is part of GNU Libtool.
 
21573
#
 
21574
# GNU Libtool is free software; you can redistribute it and/or
 
21575
# modify it under the terms of the GNU General Public License as
 
21576
# published by the Free Software Foundation; either version 2 of
 
21577
# the License, or (at your option) any later version.
 
21578
#
 
21579
# As a special exception to the GNU General Public License,
 
21580
# if you distribute this file as part of a program or library that
 
21581
# is built using GNU Libtool, you may include this file under the
 
21582
# same distribution terms that you use for the rest of that program.
 
21583
#
 
21584
# GNU Libtool is distributed in the hope that it will be useful,
 
21585
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
21586
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
21587
# GNU General Public License for more details.
 
21588
#
 
21589
# You should have received a copy of the GNU General Public License
 
21590
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
21591
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
21592
# obtained by writing to the Free Software Foundation, Inc.,
 
21593
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
21594
 
 
21595
 
 
21596
# The names of the tagged configurations supported by this script.
 
21597
available_tags="CXX "
 
21598
 
 
21599
# ### BEGIN LIBTOOL CONFIG
 
21600
 
 
21601
# Whether or not to build static libraries.
 
21602
build_old_libs=$enable_static
 
21603
 
 
21604
# Which release of libtool.m4 was used?
 
21605
macro_version=$macro_version
 
21606
macro_revision=$macro_revision
 
21607
 
 
21608
# Whether or not to build shared libraries.
 
21609
build_libtool_libs=$enable_shared
 
21610
 
 
21611
# What type of objects to build.
 
21612
pic_mode=$pic_mode
 
21613
 
 
21614
# Whether or not to optimize for fast installation.
 
21615
fast_install=$enable_fast_install
 
21616
 
 
21617
# The host system.
 
21618
host_alias=$host_alias
 
21619
host=$host
 
21620
host_os=$host_os
 
21621
 
 
21622
# The build system.
 
21623
build_alias=$build_alias
 
21624
build=$build
 
21625
build_os=$build_os
 
21626
 
 
21627
# A sed program that does not truncate output.
 
21628
SED=$lt_SED
 
21629
 
 
21630
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
21631
Xsed="\$SED -e 1s/^X//"
 
21632
 
 
21633
# A grep program that handles long lines.
 
21634
GREP=$lt_GREP
 
21635
 
 
21636
# An ERE matcher.
 
21637
EGREP=$lt_EGREP
 
21638
 
 
21639
# A literal string matcher.
 
21640
FGREP=$lt_FGREP
 
21641
 
 
21642
# A BSD- or MS-compatible name lister.
 
21643
NM=$lt_NM
 
21644
 
 
21645
# Whether we need soft or hard links.
 
21646
LN_S=$lt_LN_S
 
21647
 
 
21648
# What is the maximum length of a command?
 
21649
max_cmd_len=$max_cmd_len
 
21650
 
 
21651
# Object file suffix (normally "o").
 
21652
objext=$ac_objext
 
21653
 
 
21654
# Executable file suffix (normally "").
 
21655
exeext=$exeext
 
21656
 
 
21657
# whether the shell understands "unset".
 
21658
lt_unset=$lt_unset
 
21659
 
 
21660
# turn spaces into newlines.
 
21661
SP2NL=$lt_lt_SP2NL
 
21662
 
 
21663
# turn newlines into spaces.
 
21664
NL2SP=$lt_lt_NL2SP
 
21665
 
 
21666
# How to create reloadable object files.
 
21667
reload_flag=$lt_reload_flag
 
21668
reload_cmds=$lt_reload_cmds
 
21669
 
 
21670
# An object symbol dumper.
 
21671
OBJDUMP=$lt_OBJDUMP
 
21672
 
 
21673
# Method to check whether dependent libraries are shared objects.
 
21674
deplibs_check_method=$lt_deplibs_check_method
 
21675
 
 
21676
# Command to use when deplibs_check_method == "file_magic".
 
21677
file_magic_cmd=$lt_file_magic_cmd
 
21678
 
 
21679
# The archiver.
 
21680
AR=$lt_AR
 
21681
AR_FLAGS=$lt_AR_FLAGS
 
21682
 
 
21683
# A symbol stripping program.
 
21684
STRIP=$lt_STRIP
 
21685
 
 
21686
# Commands used to install an old-style archive.
 
21687
RANLIB=$lt_RANLIB
 
21688
old_postinstall_cmds=$lt_old_postinstall_cmds
 
21689
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
21690
 
 
21691
# A C compiler.
 
21692
LTCC=$lt_CC
 
21693
 
 
21694
# LTCC compiler flags.
 
21695
LTCFLAGS=$lt_CFLAGS
 
21696
 
 
21697
# Take the output of nm and produce a listing of raw symbols and C names.
 
21698
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
21699
 
 
21700
# Transform the output of nm in a proper C declaration.
 
21701
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
21702
 
 
21703
# Transform the output of nm in a C name address pair.
 
21704
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
21705
 
 
21706
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
21707
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
21708
 
 
21709
# The name of the directory that contains temporary libtool files.
 
21710
objdir=$objdir
 
21711
 
 
21712
# Shell to use when invoking shell scripts.
 
21713
SHELL=$lt_SHELL
 
21714
 
 
21715
# An echo program that does not interpret backslashes.
 
21716
ECHO=$lt_ECHO
 
21717
 
 
21718
# Used to examine libraries when file_magic_cmd begins with "file".
 
21719
MAGIC_CMD=$MAGIC_CMD
 
21720
 
 
21721
# Must we lock files when doing compilation?
 
21722
need_locks=$lt_need_locks
 
21723
 
 
21724
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
21725
DSYMUTIL=$lt_DSYMUTIL
 
21726
 
 
21727
# Tool to change global to local symbols on Mac OS X.
 
21728
NMEDIT=$lt_NMEDIT
 
21729
 
 
21730
# Tool to manipulate fat objects and archives on Mac OS X.
 
21731
LIPO=$lt_LIPO
 
21732
 
 
21733
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
21734
OTOOL=$lt_OTOOL
 
21735
 
 
21736
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
21737
OTOOL64=$lt_OTOOL64
 
21738
 
 
21739
# Old archive suffix (normally "a").
 
21740
libext=$libext
 
21741
 
 
21742
# Shared library suffix (normally ".so").
 
21743
shrext_cmds=$lt_shrext_cmds
 
21744
 
 
21745
# The commands to extract the exported symbol list from a shared archive.
 
21746
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
21747
 
 
21748
# Variables whose values should be saved in libtool wrapper scripts and
 
21749
# restored at link time.
 
21750
variables_saved_for_relink=$lt_variables_saved_for_relink
 
21751
 
 
21752
# Do we need the "lib" prefix for modules?
 
21753
need_lib_prefix=$need_lib_prefix
 
21754
 
 
21755
# Do we need a version for libraries?
 
21756
need_version=$need_version
 
21757
 
 
21758
# Library versioning type.
 
21759
version_type=$version_type
 
21760
 
 
21761
# Shared library runtime path variable.
 
21762
runpath_var=$runpath_var
 
21763
 
 
21764
# Shared library path variable.
 
21765
shlibpath_var=$shlibpath_var
 
21766
 
 
21767
# Is shlibpath searched before the hard-coded library search path?
 
21768
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
21769
 
 
21770
# Format of library name prefix.
 
21771
libname_spec=$lt_libname_spec
 
21772
 
 
21773
# List of archive names.  First name is the real one, the rest are links.
 
21774
# The last name is the one that the linker finds with -lNAME
 
21775
library_names_spec=$lt_library_names_spec
 
21776
 
 
21777
# The coded name of the library, if different from the real name.
 
21778
soname_spec=$lt_soname_spec
 
21779
 
 
21780
# Command to use after installation of a shared archive.
 
21781
postinstall_cmds=$lt_postinstall_cmds
 
21782
 
 
21783
# Command to use after uninstallation of a shared archive.
 
21784
postuninstall_cmds=$lt_postuninstall_cmds
 
21785
 
 
21786
# Commands used to finish a libtool library installation in a directory.
 
21787
finish_cmds=$lt_finish_cmds
 
21788
 
 
21789
# As "finish_cmds", except a single script fragment to be evaled but
 
21790
# not shown.
 
21791
finish_eval=$lt_finish_eval
 
21792
 
 
21793
# Whether we should hardcode library paths into libraries.
 
21794
hardcode_into_libs=$hardcode_into_libs
 
21795
 
 
21796
# Compile-time system search path for libraries.
 
21797
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
21798
 
 
21799
# Run-time system search path for libraries.
 
21800
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
21801
 
 
21802
# Whether dlopen is supported.
 
21803
dlopen_support=$enable_dlopen
 
21804
 
 
21805
# Whether dlopen of programs is supported.
 
21806
dlopen_self=$enable_dlopen_self
 
21807
 
 
21808
# Whether dlopen of statically linked programs is supported.
 
21809
dlopen_self_static=$enable_dlopen_self_static
 
21810
 
 
21811
# Commands to strip libraries.
 
21812
old_striplib=$lt_old_striplib
 
21813
striplib=$lt_striplib
 
21814
 
 
21815
 
 
21816
# The linker used to build libraries.
 
21817
LD=$lt_LD
 
21818
 
 
21819
# Commands used to build an old-style archive.
 
21820
old_archive_cmds=$lt_old_archive_cmds
 
21821
 
 
21822
# A language specific compiler.
 
21823
CC=$lt_compiler
 
21824
 
 
21825
# Is the compiler the GNU compiler?
 
21826
with_gcc=$GCC
 
21827
 
 
21828
# Compiler flag to turn off builtin functions.
 
21829
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
21830
 
 
21831
# How to pass a linker flag through the compiler.
 
21832
wl=$lt_lt_prog_compiler_wl
 
21833
 
 
21834
# Additional compiler flags for building library objects.
 
21835
pic_flag=$lt_lt_prog_compiler_pic
 
21836
 
 
21837
# Compiler flag to prevent dynamic linking.
 
21838
link_static_flag=$lt_lt_prog_compiler_static
 
21839
 
 
21840
# Does compiler simultaneously support -c and -o options?
 
21841
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
21842
 
 
21843
# Whether or not to add -lc for building shared libraries.
 
21844
build_libtool_need_lc=$archive_cmds_need_lc
 
21845
 
 
21846
# Whether or not to disallow shared libs when runtime libs are static.
 
21847
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
21848
 
 
21849
# Compiler flag to allow reflexive dlopens.
 
21850
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
21851
 
 
21852
# Compiler flag to generate shared objects directly from archives.
 
21853
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
21854
 
 
21855
# Whether the compiler copes with passing no objects directly.
 
21856
compiler_needs_object=$lt_compiler_needs_object
 
21857
 
 
21858
# Create an old-style archive from a shared archive.
 
21859
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
21860
 
 
21861
# Create a temporary old-style archive to link instead of a shared archive.
 
21862
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
21863
 
 
21864
# Commands used to build a shared archive.
 
21865
archive_cmds=$lt_archive_cmds
 
21866
archive_expsym_cmds=$lt_archive_expsym_cmds
 
21867
 
 
21868
# Commands used to build a loadable module if different from building
 
21869
# a shared archive.
 
21870
module_cmds=$lt_module_cmds
 
21871
module_expsym_cmds=$lt_module_expsym_cmds
 
21872
 
 
21873
# Whether we are building with GNU ld or not.
 
21874
with_gnu_ld=$lt_with_gnu_ld
 
21875
 
 
21876
# Flag that allows shared libraries with undefined symbols to be built.
 
21877
allow_undefined_flag=$lt_allow_undefined_flag
 
21878
 
 
21879
# Flag that enforces no undefined symbols.
 
21880
no_undefined_flag=$lt_no_undefined_flag
 
21881
 
 
21882
# Flag to hardcode \$libdir into a binary during linking.
 
21883
# This must work even if \$libdir does not exist
 
21884
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
21885
 
 
21886
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
21887
# during linking.  This must work even if \$libdir does not exist.
 
21888
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
21889
 
 
21890
# Whether we need a single "-rpath" flag with a separated argument.
 
21891
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
21892
 
 
21893
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
21894
# DIR into the resulting binary.
 
21895
hardcode_direct=$hardcode_direct
 
21896
 
 
21897
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
21898
# DIR into the resulting binary and the resulting library dependency is
 
21899
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
21900
# library is relocated.
 
21901
hardcode_direct_absolute=$hardcode_direct_absolute
 
21902
 
 
21903
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
21904
# into the resulting binary.
 
21905
hardcode_minus_L=$hardcode_minus_L
 
21906
 
 
21907
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
21908
# into the resulting binary.
 
21909
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
21910
 
 
21911
# Set to "yes" if building a shared library automatically hardcodes DIR
 
21912
# into the library and all subsequent libraries and executables linked
 
21913
# against it.
 
21914
hardcode_automatic=$hardcode_automatic
 
21915
 
 
21916
# Set to yes if linker adds runtime paths of dependent libraries
 
21917
# to runtime path list.
 
21918
inherit_rpath=$inherit_rpath
 
21919
 
 
21920
# Whether libtool must link a program against all its dependency libraries.
 
21921
link_all_deplibs=$link_all_deplibs
 
21922
 
 
21923
# Fix the shell variable \$srcfile for the compiler.
 
21924
fix_srcfile_path=$lt_fix_srcfile_path
 
21925
 
 
21926
# Set to "yes" if exported symbols are required.
 
21927
always_export_symbols=$always_export_symbols
 
21928
 
 
21929
# The commands to list exported symbols.
 
21930
export_symbols_cmds=$lt_export_symbols_cmds
 
21931
 
 
21932
# Symbols that should not be listed in the preloaded symbols.
 
21933
exclude_expsyms=$lt_exclude_expsyms
 
21934
 
 
21935
# Symbols that must always be exported.
 
21936
include_expsyms=$lt_include_expsyms
 
21937
 
 
21938
# Commands necessary for linking programs (against libraries) with templates.
 
21939
prelink_cmds=$lt_prelink_cmds
 
21940
 
 
21941
# Specify filename containing input files.
 
21942
file_list_spec=$lt_file_list_spec
 
21943
 
 
21944
# How to hardcode a shared library path into an executable.
 
21945
hardcode_action=$hardcode_action
 
21946
 
 
21947
# The directories searched by this compiler when creating a shared library.
 
21948
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
21949
 
 
21950
# Dependencies to place before and after the objects being linked to
 
21951
# create a shared library.
 
21952
predep_objects=$lt_predep_objects
 
21953
postdep_objects=$lt_postdep_objects
 
21954
predeps=$lt_predeps
 
21955
postdeps=$lt_postdeps
 
21956
 
 
21957
# The library search path used internally by the compiler when linking
 
21958
# a shared library.
 
21959
compiler_lib_search_path=$lt_compiler_lib_search_path
 
21960
 
 
21961
# ### END LIBTOOL CONFIG
 
21962
 
 
21963
_LT_EOF
 
21964
 
 
21965
  case $host_os in
 
21966
  aix3*)
 
21967
    cat <<\_LT_EOF >> "$cfgfile"
 
21968
# AIX sometimes has problems with the GCC collect2 program.  For some
 
21969
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
21970
# vanish in a puff of smoke.
 
21971
if test "X${COLLECT_NAMES+set}" != Xset; then
 
21972
  COLLECT_NAMES=
 
21973
  export COLLECT_NAMES
 
21974
fi
 
21975
_LT_EOF
 
21976
    ;;
 
21977
  esac
 
21978
 
 
21979
 
 
21980
ltmain="$ac_aux_dir/ltmain.sh"
 
21981
 
 
21982
 
 
21983
  # We use sed instead of cat because bash on DJGPP gets confused if
 
21984
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
21985
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
21986
  # is reportedly fixed, but why not run on old versions too?
 
21987
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
21988
    || (rm -f "$cfgfile"; exit 1)
 
21989
 
 
21990
  case $xsi_shell in
 
21991
  yes)
 
21992
    cat << \_LT_EOF >> "$cfgfile"
 
21993
 
 
21994
# func_dirname file append nondir_replacement
 
21995
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
21996
# otherwise set result to NONDIR_REPLACEMENT.
 
21997
func_dirname ()
 
21998
{
 
21999
  case ${1} in
 
22000
    */*) func_dirname_result="${1%/*}${2}" ;;
 
22001
    *  ) func_dirname_result="${3}" ;;
 
22002
  esac
 
22003
}
 
22004
 
 
22005
# func_basename file
 
22006
func_basename ()
 
22007
{
 
22008
  func_basename_result="${1##*/}"
 
22009
}
 
22010
 
 
22011
# func_dirname_and_basename file append nondir_replacement
 
22012
# perform func_basename and func_dirname in a single function
 
22013
# call:
 
22014
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
22015
#             add APPEND to the result, otherwise set result
 
22016
#             to NONDIR_REPLACEMENT.
 
22017
#             value returned in "$func_dirname_result"
 
22018
#   basename: Compute filename of FILE.
 
22019
#             value retuned in "$func_basename_result"
 
22020
# Implementation must be kept synchronized with func_dirname
 
22021
# and func_basename. For efficiency, we do not delegate to
 
22022
# those functions but instead duplicate the functionality here.
 
22023
func_dirname_and_basename ()
 
22024
{
 
22025
  case ${1} in
 
22026
    */*) func_dirname_result="${1%/*}${2}" ;;
 
22027
    *  ) func_dirname_result="${3}" ;;
 
22028
  esac
 
22029
  func_basename_result="${1##*/}"
 
22030
}
 
22031
 
 
22032
# func_stripname prefix suffix name
 
22033
# strip PREFIX and SUFFIX off of NAME.
 
22034
# PREFIX and SUFFIX must not contain globbing or regex special
 
22035
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
22036
# dot (in which case that matches only a dot).
 
22037
func_stripname ()
 
22038
{
 
22039
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
22040
  # positional parameters, so assign one to ordinary parameter first.
 
22041
  func_stripname_result=${3}
 
22042
  func_stripname_result=${func_stripname_result#"${1}"}
 
22043
  func_stripname_result=${func_stripname_result%"${2}"}
 
22044
}
 
22045
 
 
22046
# func_opt_split
 
22047
func_opt_split ()
 
22048
{
 
22049
  func_opt_split_opt=${1%%=*}
 
22050
  func_opt_split_arg=${1#*=}
 
22051
}
 
22052
 
 
22053
# func_lo2o object
 
22054
func_lo2o ()
 
22055
{
 
22056
  case ${1} in
 
22057
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
22058
    *)    func_lo2o_result=${1} ;;
 
22059
  esac
 
22060
}
 
22061
 
 
22062
# func_xform libobj-or-source
 
22063
func_xform ()
 
22064
{
 
22065
  func_xform_result=${1%.*}.lo
 
22066
}
 
22067
 
 
22068
# func_arith arithmetic-term...
 
22069
func_arith ()
 
22070
{
 
22071
  func_arith_result=$(( $* ))
 
22072
}
 
22073
 
 
22074
# func_len string
 
22075
# STRING may not start with a hyphen.
 
22076
func_len ()
 
22077
{
 
22078
  func_len_result=${#1}
 
22079
}
 
22080
 
 
22081
_LT_EOF
 
22082
    ;;
 
22083
  *) # Bourne compatible functions.
 
22084
    cat << \_LT_EOF >> "$cfgfile"
 
22085
 
 
22086
# func_dirname file append nondir_replacement
 
22087
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
22088
# otherwise set result to NONDIR_REPLACEMENT.
 
22089
func_dirname ()
 
22090
{
 
22091
  # Extract subdirectory from the argument.
 
22092
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
22093
  if test "X$func_dirname_result" = "X${1}"; then
 
22094
    func_dirname_result="${3}"
 
22095
  else
 
22096
    func_dirname_result="$func_dirname_result${2}"
 
22097
  fi
 
22098
}
 
22099
 
 
22100
# func_basename file
 
22101
func_basename ()
 
22102
{
 
22103
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
22104
}
 
22105
 
 
22106
 
 
22107
# func_stripname prefix suffix name
 
22108
# strip PREFIX and SUFFIX off of NAME.
 
22109
# PREFIX and SUFFIX must not contain globbing or regex special
 
22110
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
22111
# dot (in which case that matches only a dot).
 
22112
# func_strip_suffix prefix name
 
22113
func_stripname ()
 
22114
{
 
22115
  case ${2} in
 
22116
    .*) func_stripname_result=`$ECHO "X${3}" \
 
22117
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
22118
    *)  func_stripname_result=`$ECHO "X${3}" \
 
22119
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
22120
  esac
 
22121
}
 
22122
 
 
22123
# sed scripts:
 
22124
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
22125
my_sed_long_arg='1s/^-[^=]*=//'
 
22126
 
 
22127
# func_opt_split
 
22128
func_opt_split ()
 
22129
{
 
22130
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
22131
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
22132
}
 
22133
 
 
22134
# func_lo2o object
 
22135
func_lo2o ()
 
22136
{
 
22137
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
22138
}
 
22139
 
 
22140
# func_xform libobj-or-source
 
22141
func_xform ()
 
22142
{
 
22143
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
22144
}
 
22145
 
 
22146
# func_arith arithmetic-term...
 
22147
func_arith ()
 
22148
{
 
22149
  func_arith_result=`expr "$@"`
 
22150
}
 
22151
 
 
22152
# func_len string
 
22153
# STRING may not start with a hyphen.
 
22154
func_len ()
 
22155
{
 
22156
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
22157
}
 
22158
 
 
22159
_LT_EOF
 
22160
esac
 
22161
 
 
22162
case $lt_shell_append in
 
22163
  yes)
 
22164
    cat << \_LT_EOF >> "$cfgfile"
 
22165
 
 
22166
# func_append var value
 
22167
# Append VALUE to the end of shell variable VAR.
 
22168
func_append ()
 
22169
{
 
22170
  eval "$1+=\$2"
 
22171
}
 
22172
_LT_EOF
 
22173
    ;;
 
22174
  *)
 
22175
    cat << \_LT_EOF >> "$cfgfile"
 
22176
 
 
22177
# func_append var value
 
22178
# Append VALUE to the end of shell variable VAR.
 
22179
func_append ()
 
22180
{
 
22181
  eval "$1=\$$1\$2"
 
22182
}
 
22183
 
 
22184
_LT_EOF
 
22185
    ;;
 
22186
  esac
 
22187
 
 
22188
 
 
22189
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
22190
    || (rm -f "$cfgfile"; exit 1)
 
22191
 
 
22192
  mv -f "$cfgfile" "$ofile" ||
 
22193
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
22194
  chmod +x "$ofile"
 
22195
 
 
22196
 
 
22197
    cat <<_LT_EOF >> "$ofile"
 
22198
 
 
22199
# ### BEGIN LIBTOOL TAG CONFIG: CXX
 
22200
 
 
22201
# The linker used to build libraries.
 
22202
LD=$lt_LD_CXX
 
22203
 
 
22204
# Commands used to build an old-style archive.
 
22205
old_archive_cmds=$lt_old_archive_cmds_CXX
 
22206
 
 
22207
# A language specific compiler.
 
22208
CC=$lt_compiler_CXX
 
22209
 
 
22210
# Is the compiler the GNU compiler?
 
22211
with_gcc=$GCC_CXX
 
22212
 
 
22213
# Compiler flag to turn off builtin functions.
 
22214
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
22215
 
 
22216
# How to pass a linker flag through the compiler.
 
22217
wl=$lt_lt_prog_compiler_wl_CXX
 
22218
 
 
22219
# Additional compiler flags for building library objects.
 
22220
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
22221
 
 
22222
# Compiler flag to prevent dynamic linking.
 
22223
link_static_flag=$lt_lt_prog_compiler_static_CXX
 
22224
 
 
22225
# Does compiler simultaneously support -c and -o options?
 
22226
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 
22227
 
 
22228
# Whether or not to add -lc for building shared libraries.
 
22229
build_libtool_need_lc=$archive_cmds_need_lc_CXX
 
22230
 
 
22231
# Whether or not to disallow shared libs when runtime libs are static.
 
22232
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 
22233
 
 
22234
# Compiler flag to allow reflexive dlopens.
 
22235
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 
22236
 
 
22237
# Compiler flag to generate shared objects directly from archives.
 
22238
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 
22239
 
 
22240
# Whether the compiler copes with passing no objects directly.
 
22241
compiler_needs_object=$lt_compiler_needs_object_CXX
 
22242
 
 
22243
# Create an old-style archive from a shared archive.
 
22244
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 
22245
 
 
22246
# Create a temporary old-style archive to link instead of a shared archive.
 
22247
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 
22248
 
 
22249
# Commands used to build a shared archive.
 
22250
archive_cmds=$lt_archive_cmds_CXX
 
22251
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 
22252
 
 
22253
# Commands used to build a loadable module if different from building
 
22254
# a shared archive.
 
22255
module_cmds=$lt_module_cmds_CXX
 
22256
module_expsym_cmds=$lt_module_expsym_cmds_CXX
 
22257
 
 
22258
# Whether we are building with GNU ld or not.
 
22259
with_gnu_ld=$lt_with_gnu_ld_CXX
 
22260
 
 
22261
# Flag that allows shared libraries with undefined symbols to be built.
 
22262
allow_undefined_flag=$lt_allow_undefined_flag_CXX
 
22263
 
 
22264
# Flag that enforces no undefined symbols.
 
22265
no_undefined_flag=$lt_no_undefined_flag_CXX
 
22266
 
 
22267
# Flag to hardcode \$libdir into a binary during linking.
 
22268
# This must work even if \$libdir does not exist
 
22269
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
22270
 
 
22271
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
22272
# during linking.  This must work even if \$libdir does not exist.
 
22273
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 
22274
 
 
22275
# Whether we need a single "-rpath" flag with a separated argument.
 
22276
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
22277
 
 
22278
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
22279
# DIR into the resulting binary.
 
22280
hardcode_direct=$hardcode_direct_CXX
 
22281
 
 
22282
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
22283
# DIR into the resulting binary and the resulting library dependency is
 
22284
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
22285
# library is relocated.
 
22286
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
 
22287
 
 
22288
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
22289
# into the resulting binary.
 
22290
hardcode_minus_L=$hardcode_minus_L_CXX
 
22291
 
 
22292
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
22293
# into the resulting binary.
 
22294
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 
22295
 
 
22296
# Set to "yes" if building a shared library automatically hardcodes DIR
 
22297
# into the library and all subsequent libraries and executables linked
 
22298
# against it.
 
22299
hardcode_automatic=$hardcode_automatic_CXX
 
22300
 
 
22301
# Set to yes if linker adds runtime paths of dependent libraries
 
22302
# to runtime path list.
 
22303
inherit_rpath=$inherit_rpath_CXX
 
22304
 
 
22305
# Whether libtool must link a program against all its dependency libraries.
 
22306
link_all_deplibs=$link_all_deplibs_CXX
 
22307
 
 
22308
# Fix the shell variable \$srcfile for the compiler.
 
22309
fix_srcfile_path=$lt_fix_srcfile_path_CXX
 
22310
 
 
22311
# Set to "yes" if exported symbols are required.
 
22312
always_export_symbols=$always_export_symbols_CXX
 
22313
 
 
22314
# The commands to list exported symbols.
 
22315
export_symbols_cmds=$lt_export_symbols_cmds_CXX
 
22316
 
 
22317
# Symbols that should not be listed in the preloaded symbols.
 
22318
exclude_expsyms=$lt_exclude_expsyms_CXX
 
22319
 
 
22320
# Symbols that must always be exported.
 
22321
include_expsyms=$lt_include_expsyms_CXX
 
22322
 
 
22323
# Commands necessary for linking programs (against libraries) with templates.
 
22324
prelink_cmds=$lt_prelink_cmds_CXX
 
22325
 
 
22326
# Specify filename containing input files.
 
22327
file_list_spec=$lt_file_list_spec_CXX
 
22328
 
 
22329
# How to hardcode a shared library path into an executable.
 
22330
hardcode_action=$hardcode_action_CXX
 
22331
 
 
22332
# The directories searched by this compiler when creating a shared library.
 
22333
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
22334
 
 
22335
# Dependencies to place before and after the objects being linked to
 
22336
# create a shared library.
 
22337
predep_objects=$lt_predep_objects_CXX
 
22338
postdep_objects=$lt_postdep_objects_CXX
 
22339
predeps=$lt_predeps_CXX
 
22340
postdeps=$lt_postdeps_CXX
 
22341
 
 
22342
# The library search path used internally by the compiler when linking
 
22343
# a shared library.
 
22344
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 
22345
 
 
22346
# ### END LIBTOOL TAG CONFIG: CXX
 
22347
_LT_EOF
 
22348
 
27506
22349
 ;;
27507
22350
 
27508
22351
  esac
27509
22352
done # for ac_tag
27510
22353
 
27511
22354
 
27512
 
{ (exit 0); exit 0; }
 
22355
as_fn_exit 0
27513
22356
_ACEOF
27514
 
chmod +x $CONFIG_STATUS
27515
22357
ac_clean_files=$ac_clean_files_save
27516
22358
 
 
22359
test $ac_write_fail = 0 ||
 
22360
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
22361
 
27517
22362
 
27518
22363
# configure is writing to config.log, and then calls config.status.
27519
22364
# config.status does its own redirection, appending to config.log.
27533
22378
  exec 5>>config.log
27534
22379
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27535
22380
  # would make configure fail if this is the last instruction.
27536
 
  $ac_cs_success || { (exit 1); exit 1; }
 
22381
  $ac_cs_success || as_fn_exit $?
 
22382
fi
 
22383
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
22384
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
22385
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
27537
22386
fi
27538
22387
 
27539
22388