Subversion Repositories svnkaklik

Rev

Rev 558 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 558 Rev 639
1
#! /bin/sh
1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.63.
3
# Generated by GNU Autoconf 2.64.
4
#
4
#
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
-
 
7
# Foundation, Inc.
-
 
8
#
7
# This configure script is free software; the Free Software Foundation
9
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
10
# gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
11
## -------------------- ##
10
## M4sh Initialization.  ##
12
## M4sh Initialization. ##
11
## --------------------- ##
13
## -------------------- ##
12
 
14
 
13
# Be more Bourne compatible
15
# Be more Bourne compatible
14
DUALCASE=1; export DUALCASE # for MKS sh
16
DUALCASE=1; export DUALCASE # for MKS sh
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16
  emulate sh
18
  emulate sh
17
  NULLCMD=:
19
  NULLCMD=:
18
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
  # is contrary to our usage.  Disable this feature.
21
  # is contrary to our usage.  Disable this feature.
20
  alias -g '${1+"$@"}'='"$@"'
22
  alias -g '${1+"$@"}'='"$@"'
21
  setopt NO_GLOB_SUBST
23
  setopt NO_GLOB_SUBST
22
else
24
else
23
  case `(set -o) 2>/dev/null` in
25
  case `(set -o) 2>/dev/null` in #(
-
 
26
  *posix*) :
24
  *posix*) set -o posix ;;
27
    set -o posix ;; #(
-
 
28
  *) :
-
 
29
     ;;
25
esac
30
esac
26
 
-
 
27
fi
31
fi
28
 
32
 
29
 
33
 
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
-
 
39
 
-
 
40
as_nl='
34
as_nl='
41
'
35
'
42
export as_nl
36
export as_nl
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-
 
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
-
 
42
# but without wasting forks for bash or zsh.
-
 
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
-
 
44
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
-
 
45
  as_echo='print -r --'
-
 
46
  as_echo_n='print -rn --'
47
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
  as_echo='printf %s\n'
48
  as_echo='printf %s\n'
49
  as_echo_n='printf %s'
49
  as_echo_n='printf %s'
50
else
50
else
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
    as_echo_n='/usr/ucb/echo -n'
53
    as_echo_n='/usr/ucb/echo -n'
54
  else
54
  else
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
    as_echo_n_body='eval
56
    as_echo_n_body='eval
57
      arg=$1;
57
      arg=$1;
58
      case $arg in
58
      case $arg in #(
59
      *"$as_nl"*)
59
      *"$as_nl"*)
60
	expr "X$arg" : "X\\(.*\\)$as_nl";
60
	expr "X$arg" : "X\\(.*\\)$as_nl";
61
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62
      esac;
62
      esac;
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64
    '
64
    '
65
    export as_echo_n_body
65
    export as_echo_n_body
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
67
  fi
67
  fi
68
  export as_echo_body
68
  export as_echo_body
69
  as_echo='sh -c $as_echo_body as_echo'
69
  as_echo='sh -c $as_echo_body as_echo'
70
fi
70
fi
71
 
71
 
72
# The user is always right.
72
# The user is always right.
73
if test "${PATH_SEPARATOR+set}" != set; then
73
if test "${PATH_SEPARATOR+set}" != set; then
74
  PATH_SEPARATOR=:
74
  PATH_SEPARATOR=:
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77
      PATH_SEPARATOR=';'
77
      PATH_SEPARATOR=';'
78
  }
78
  }
79
fi
79
fi
80
 
80
 
81
# Support unset when possible.
-
 
82
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
-
 
83
  as_unset=unset
-
 
84
else
-
 
85
  as_unset=false
-
 
86
fi
-
 
87
 
-
 
88
 
81
 
89
# IFS
82
# IFS
90
# We need space, tab and new line, in precisely that order.  Quoting is
83
# We need space, tab and new line, in precisely that order.  Quoting is
91
# there to prevent editors from complaining about space-tab.
84
# there to prevent editors from complaining about space-tab.
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
93
# splitting by setting IFS to empty value.)
86
# splitting by setting IFS to empty value.)
94
IFS=" ""	$as_nl"
87
IFS=" ""	$as_nl"
95
 
88
 
96
# Find who we are.  Look in the path if we contain no directory separator.
89
# Find who we are.  Look in the path if we contain no directory separator.
97
case $0 in
90
case $0 in #((
98
  *[\\/]* ) as_myself=$0 ;;
91
  *[\\/]* ) as_myself=$0 ;;
99
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
for as_dir in $PATH
93
for as_dir in $PATH
101
do
94
do
102
  IFS=$as_save_IFS
95
  IFS=$as_save_IFS
103
  test -z "$as_dir" && as_dir=.
96
  test -z "$as_dir" && as_dir=.
104
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
97
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
done
98
  done
106
IFS=$as_save_IFS
99
IFS=$as_save_IFS
107
 
100
 
108
     ;;
101
     ;;
109
esac
102
esac
110
# We did not find ourselves, most probably we were run as `sh COMMAND'
103
# We did not find ourselves, most probably we were run as `sh COMMAND'
111
# in which case we are not to be found in the path.
104
# in which case we are not to be found in the path.
112
if test "x$as_myself" = x; then
105
if test "x$as_myself" = x; then
113
  as_myself=$0
106
  as_myself=$0
114
fi
107
fi
115
if test ! -f "$as_myself"; then
108
if test ! -f "$as_myself"; then
116
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
109
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
  { (exit 1); exit 1; }
110
  exit 1
118
fi
111
fi
119
 
112
 
-
 
113
# Unset variables that we do not need and which cause bugs (e.g. in
-
 
114
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
-
 
115
# suppresses any "Segmentation fault" message there.  '((' could
120
# Work around bugs in pre-3.0 UWIN ksh.
116
# trigger a bug in pdksh 5.2.14.
121
for as_var in ENV MAIL MAILPATH
117
for as_var in BASH_ENV ENV MAIL MAILPATH
-
 
118
do eval test x\${$as_var+set} = xset \
122
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
119
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
done
120
done
124
PS1='$ '
121
PS1='$ '
125
PS2='> '
122
PS2='> '
126
PS4='+ '
123
PS4='+ '
127
 
124
 
128
# NLS nuisances.
125
# NLS nuisances.
129
LC_ALL=C
126
LC_ALL=C
130
export LC_ALL
127
export LC_ALL
131
LANGUAGE=C
128
LANGUAGE=C
132
export LANGUAGE
129
export LANGUAGE
133
 
130
 
134
# Required to use basename.
-
 
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
-
 
136
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
-
 
137
  as_expr=expr
-
 
138
else
-
 
139
  as_expr=false
-
 
140
fi
-
 
141
 
-
 
142
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
-
 
143
  as_basename=basename
-
 
144
else
-
 
145
  as_basename=false
-
 
146
fi
-
 
147
 
-
 
148
 
-
 
149
# Name of the executable.
-
 
150
as_me=`$as_basename -- "$0" ||
-
 
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
-
 
152
	 X"$0" : 'X\(//\)$' \| \
-
 
153
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-
 
154
$as_echo X/"$0" |
-
 
155
    sed '/^.*\/\([^/][^/]*\)\/*$/{
-
 
156
	    s//\1/
-
 
157
	    q
-
 
158
	  }
-
 
159
	  /^X\/\(\/\/\)$/{
-
 
160
	    s//\1/
-
 
161
	    q
-
 
162
	  }
-
 
163
	  /^X\/\(\/\).*/{
-
 
164
	    s//\1/
-
 
165
	    q
-
 
166
	  }
-
 
167
	  s/.*/./; q'`
-
 
168
 
-
 
169
# CDPATH.
131
# CDPATH.
170
$as_unset CDPATH
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
171
 
-
 
172
 
133
 
173
if test "x$CONFIG_SHELL" = x; then
134
if test "x$CONFIG_SHELL" = x; then
-
 
135
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
-
 
136
  emulate sh
-
 
137
  NULLCMD=:
-
 
138
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
174
  if (eval ":") 2>/dev/null; then
139
  # is contrary to our usage.  Disable this feature.
-
 
140
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
175
  as_have_required=yes
141
  setopt NO_GLOB_SUBST
176
else
142
else
-
 
143
  case \`(set -o) 2>/dev/null\` in #(
-
 
144
  *posix*) :
177
  as_have_required=no
145
    set -o posix ;; #(
-
 
146
  *) :
-
 
147
     ;;
-
 
148
esac
178
fi
149
fi
179
 
150
"
180
  if test $as_have_required = yes &&	 (eval ":
151
  as_required="as_fn_return () { (exit \$1); }
181
(as_func_return () {
-
 
182
  (exit \$1)
-
 
183
}
-
 
184
as_func_success () {
152
as_fn_success () { as_fn_return 0; }
185
  as_func_return 0
-
 
186
}
-
 
187
as_func_failure () {
153
as_fn_failure () { as_fn_return 1; }
188
  as_func_return 1
-
 
189
}
-
 
190
as_func_ret_success () {
154
as_fn_ret_success () { return 0; }
191
  return 0
-
 
192
}
-
 
193
as_func_ret_failure () {
155
as_fn_ret_failure () { return 1; }
194
  return 1
-
 
195
}
-
 
196
 
156
 
197
exitcode=0
157
exitcode=0
198
if as_func_success; then
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
199
  :
-
 
200
else
-
 
201
  exitcode=1
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
202
  echo as_func_success failed.
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
203
fi
-
 
204
 
-
 
205
if as_func_failure; then
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
206
  exitcode=1
-
 
207
  echo as_func_failure succeeded.
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
208
fi
-
 
209
 
163
 
210
if as_func_ret_success; then
-
 
211
  :
-
 
212
else
164
else
213
  exitcode=1
-
 
214
  echo as_func_ret_success failed.
165
  exitcode=1; echo positional parameters were not saved.
215
fi
166
fi
216
 
-
 
217
if as_func_ret_failure; then
167
test x\$exitcode = x0 || exit 1"
-
 
168
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
-
 
169
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
218
  exitcode=1
170
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
-
 
171
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
219
  echo as_func_ret_failure succeeded.
172
test \$(( 1 + 1 )) = 2 || exit 1"
220
fi
-
 
221
 
-
 
222
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
173
  if (eval "$as_required") 2>/dev/null; then :
223
  :
174
  as_have_required=yes
224
else
175
else
225
  exitcode=1
176
  as_have_required=no
226
  echo positional parameters were not saved.
-
 
227
fi
177
fi
-
 
178
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
228
 
179
 
229
test \$exitcode = 0) || { (exit 1); exit 1; }
-
 
230
 
-
 
231
(
-
 
232
  as_lineno_1=\$LINENO
-
 
233
  as_lineno_2=\$LINENO
-
 
234
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
-
 
235
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-
 
236
") 2> /dev/null; then
-
 
237
  :
-
 
238
else
180
else
239
  as_candidate_shells=
-
 
240
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
181
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-
 
182
as_found=false
241
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
183
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242
do
184
do
243
  IFS=$as_save_IFS
185
  IFS=$as_save_IFS
244
  test -z "$as_dir" && as_dir=.
186
  test -z "$as_dir" && as_dir=.
-
 
187
  as_found=:
245
  case $as_dir in
188
  case $as_dir in #(
246
	 /*)
189
	 /*)
247
	   for as_base in sh bash ksh sh5; do
190
	   for as_base in sh bash ksh sh5; do
-
 
191
	     # Try only shells that exist, to save several forks.
248
	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
192
	     as_shell=$as_dir/$as_base
-
 
193
	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
-
 
194
		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
-
 
195
  CONFIG_SHELL=$as_shell as_have_required=yes
-
 
196
		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
-
 
197
  break 2
-
 
198
fi
-
 
199
fi
249
	   done;;
200
	   done;;
250
       esac
201
       esac
-
 
202
  as_found=false
251
done
203
done
-
 
204
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
-
 
205
	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
-
 
206
  CONFIG_SHELL=$SHELL as_have_required=yes
-
 
207
fi; }
252
IFS=$as_save_IFS
208
IFS=$as_save_IFS
253
 
209
 
254
 
210
 
255
      for as_shell in $as_candidate_shells $SHELL; do
211
      if test "x$CONFIG_SHELL" != x; then :
256
	 # Try only shells that exist, to save several forks.
212
  # We cannot yet assume a decent shell, so we have to provide a
257
	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
-
 
258
		{ ("$as_shell") 2> /dev/null <<\_ASEOF
-
 
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
-
 
260
  emulate sh
-
 
261
  NULLCMD=:
-
 
262
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
213
	# neutralization value for shells without unset; and this also
263
  # is contrary to our usage.  Disable this feature.
214
	# works around shells that cannot unset nonexistent variables.
264
  alias -g '${1+"$@"}'='"$@"'
-
 
265
  setopt NO_GLOB_SUBST
-
 
266
else
-
 
267
  case `(set -o) 2>/dev/null` in
-
 
268
  *posix*) set -o posix ;;
-
 
269
esac
-
 
270
 
-
 
271
fi
-
 
272
 
-
 
273
 
-
 
274
:
-
 
275
_ASEOF
-
 
276
}; then
-
 
277
  CONFIG_SHELL=$as_shell
215
	BASH_ENV=/dev/null
278
	       as_have_required=yes
-
 
279
	       if { "$as_shell" 2> /dev/null <<\_ASEOF
-
 
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
-
 
281
  emulate sh
-
 
282
  NULLCMD=:
-
 
283
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
-
 
284
  # is contrary to our usage.  Disable this feature.
-
 
285
  alias -g '${1+"$@"}'='"$@"'
-
 
286
  setopt NO_GLOB_SUBST
-
 
287
else
-
 
288
  case `(set -o) 2>/dev/null` in
-
 
289
  *posix*) set -o posix ;;
-
 
290
esac
-
 
291
 
-
 
292
fi
-
 
293
 
-
 
294
 
-
 
295
:
-
 
296
(as_func_return () {
-
 
297
  (exit $1)
-
 
298
}
-
 
299
as_func_success () {
-
 
300
  as_func_return 0
-
 
301
}
-
 
302
as_func_failure () {
-
 
303
  as_func_return 1
-
 
304
}
-
 
305
as_func_ret_success () {
-
 
306
  return 0
-
 
307
}
-
 
308
as_func_ret_failure () {
-
 
309
  return 1
-
 
310
}
-
 
311
 
-
 
312
exitcode=0
-
 
313
if as_func_success; then
-
 
314
  :
-
 
315
else
-
 
316
  exitcode=1
-
 
317
  echo as_func_success failed.
-
 
318
fi
-
 
319
 
-
 
320
if as_func_failure; then
-
 
321
  exitcode=1
-
 
322
  echo as_func_failure succeeded.
-
 
323
fi
-
 
324
 
-
 
325
if as_func_ret_success; then
-
 
326
  :
-
 
327
else
-
 
328
  exitcode=1
-
 
329
  echo as_func_ret_success failed.
-
 
330
fi
-
 
331
 
-
 
332
if as_func_ret_failure; then
-
 
333
  exitcode=1
-
 
334
  echo as_func_ret_failure succeeded.
-
 
335
fi
-
 
336
 
-
 
337
if ( set x; as_func_ret_success y && test x = "$1" ); then
-
 
338
  :
-
 
339
else
-
 
340
  exitcode=1
-
 
341
  echo positional parameters were not saved.
-
 
342
fi
-
 
343
 
-
 
344
test $exitcode = 0) || { (exit 1); exit 1; }
-
 
345
 
-
 
346
(
-
 
347
  as_lineno_1=$LINENO
-
 
348
  as_lineno_2=$LINENO
-
 
349
  test "x$as_lineno_1" != "x$as_lineno_2" &&
-
 
350
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
 
351
 
-
 
352
_ASEOF
-
 
353
}; then
-
 
354
  break
-
 
355
fi
-
 
356
 
-
 
357
fi
-
 
358
 
-
 
359
      done
216
	ENV=/dev/null
360
 
-
 
361
      if test "x$CONFIG_SHELL" != x; then
-
 
362
  for as_var in BASH_ENV ENV
-
 
363
	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
217
	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
364
	done
-
 
365
	export CONFIG_SHELL
218
	export CONFIG_SHELL
366
	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
219
	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367
fi
220
fi
368
 
221
 
369
 
-
 
370
    if test $as_have_required = no; then
222
    if test x$as_have_required = xno; then :
371
  echo This script requires a shell more modern than all the
223
  $as_echo "$0: This script requires a shell more modern than all"
372
      echo shells that I found on your system.  Please install a
224
  $as_echo "$0: the shells that I found on your system."
-
 
225
  if test x${ZSH_VERSION+set} = xset ; then
-
 
226
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
-
 
227
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
-
 
228
  else
373
      echo modern shell, or manually run the script under such a
229
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
-
 
230
$0: including any error possibly output before this
-
 
231
$0: message. Then install a modern shell, or manually run
374
      echo shell if you do have one.
232
$0: the script under such a shell if you do have one."
-
 
233
  fi
375
      { (exit 1); exit 1; }
234
  exit 1
376
fi
235
fi
377
 
-
 
378
 
-
 
379
fi
236
fi
380
 
-
 
381
fi
237
fi
-
 
238
SHELL=${CONFIG_SHELL-/bin/sh}
-
 
239
export SHELL
-
 
240
# Unset more variables known to interfere with behavior of common tools.
-
 
241
CLICOLOR_FORCE= GREP_OPTIONS=
-
 
242
unset CLICOLOR_FORCE GREP_OPTIONS
382
 
243
 
-
 
244
## --------------------- ##
-
 
245
## M4sh Shell Functions. ##
-
 
246
## --------------------- ##
-
 
247
# as_fn_unset VAR
-
 
248
# ---------------
-
 
249
# Portably unset VAR.
-
 
250
as_fn_unset ()
-
 
251
{
-
 
252
  { eval $1=; unset $1;}
-
 
253
}
-
 
254
as_unset=as_fn_unset
-
 
255
 
-
 
256
# as_fn_set_status STATUS
-
 
257
# -----------------------
-
 
258
# Set $? to STATUS, without forking.
-
 
259
as_fn_set_status ()
-
 
260
{
-
 
261
  return $1
-
 
262
} # as_fn_set_status
-
 
263
 
-
 
264
# as_fn_exit STATUS
-
 
265
# -----------------
-
 
266
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-
 
267
as_fn_exit ()
-
 
268
{
-
 
269
  set +e
-
 
270
  as_fn_set_status $1
-
 
271
  exit $1
-
 
272
} # as_fn_exit
-
 
273
 
-
 
274
# as_fn_mkdir_p
-
 
275
# -------------
-
 
276
# Create "$as_dir" as a directory, including parents if necessary.
-
 
277
as_fn_mkdir_p ()
-
 
278
{
-
 
279
 
-
 
280
  case $as_dir in #(
-
 
281
  -*) as_dir=./$as_dir;;
-
 
282
  esac
-
 
283
  test -d "$as_dir" || eval $as_mkdir_p || {
-
 
284
    as_dirs=
-
 
285
    while :; do
-
 
286
      case $as_dir in #(
-
 
287
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
-
 
288
      *) as_qdir=$as_dir;;
-
 
289
      esac
-
 
290
      as_dirs="'$as_qdir' $as_dirs"
-
 
291
      as_dir=`$as_dirname -- "$as_dir" ||
-
 
292
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-
 
293
	 X"$as_dir" : 'X\(//\)[^/]' \| \
-
 
294
	 X"$as_dir" : 'X\(//\)$' \| \
-
 
295
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-
 
296
$as_echo X"$as_dir" |
-
 
297
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-
 
298
	    s//\1/
-
 
299
	    q
-
 
300
	  }
-
 
301
	  /^X\(\/\/\)[^/].*/{
-
 
302
	    s//\1/
-
 
303
	    q
-
 
304
	  }
-
 
305
	  /^X\(\/\/\)$/{
-
 
306
	    s//\1/
-
 
307
	    q
-
 
308
	  }
-
 
309
	  /^X\(\/\).*/{
-
 
310
	    s//\1/
-
 
311
	    q
-
 
312
	  }
-
 
313
	  s/.*/./; q'`
-
 
314
      test -d "$as_dir" && break
-
 
315
    done
-
 
316
    test -z "$as_dirs" || eval "mkdir $as_dirs"
-
 
317
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
383
 
318
 
384
 
319
 
385
(eval "as_func_return () {
320
} # as_fn_mkdir_p
386
  (exit \$1)
321
# as_fn_append VAR VALUE
387
}
-
 
388
as_func_success () {
322
# ----------------------
-
 
323
# Append the text in VALUE to the end of the definition contained in VAR. Take
-
 
324
# advantage of any shell optimizations that allow amortized linear growth over
-
 
325
# repeated appends, instead of the typical quadratic growth present in naive
389
  as_func_return 0
326
# implementations.
390
}
-
 
391
as_func_failure () {
327
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
392
  as_func_return 1
328
  eval 'as_fn_append ()
393
}
329
  {
394
as_func_ret_success () {
330
    eval $1+=\$2
395
  return 0
331
  }'
396
}
332
else
397
as_func_ret_failure () {
333
  as_fn_append ()
-
 
334
  {
398
  return 1
335
    eval $1=\$$1\$2
399
}
336
  }
-
 
337
fi # as_fn_append
400
 
338
 
401
exitcode=0
339
# as_fn_arith ARG...
-
 
340
# ------------------
-
 
341
# Perform arithmetic evaluation on the ARGs, and store the result in the
-
 
342
# global $as_val. Take advantage of shells that can avoid forks. The arguments
-
 
343
# must be portable across $(()) and expr.
-
 
344
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402
if as_func_success; then
345
  eval 'as_fn_arith ()
403
  :
346
  {
-
 
347
    as_val=$(( $* ))
-
 
348
  }'
404
else
349
else
405
  exitcode=1
350
  as_fn_arith ()
-
 
351
  {
406
  echo as_func_success failed.
352
    as_val=`expr "$@" || test $? -eq 1`
407
fi
353
  }
-
 
354
fi # as_fn_arith
408
 
355
 
409
if as_func_failure; then
-
 
410
  exitcode=1
-
 
411
  echo as_func_failure succeeded.
-
 
412
fi
-
 
413
 
356
 
-
 
357
# as_fn_error ERROR [LINENO LOG_FD]
-
 
358
# ---------------------------------
-
 
359
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-
 
360
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-
 
361
# script with status $?, using 1 if that was 0.
-
 
362
as_fn_error ()
-
 
363
{
-
 
364
  as_status=$?; test $as_status -eq 0 && as_status=1
414
if as_func_ret_success; then
365
  if test "$3"; then
-
 
366
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-
 
367
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
415
  :
368
  fi
-
 
369
  $as_echo "$as_me: error: $1" >&2
-
 
370
  as_fn_exit $as_status
-
 
371
} # as_fn_error
-
 
372
 
-
 
373
if expr a : '\(a\)' >/dev/null 2>&1 &&
-
 
374
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
-
 
375
  as_expr=expr
416
else
376
else
417
  exitcode=1
377
  as_expr=false
418
  echo as_func_ret_success failed.
-
 
419
fi
378
fi
420
 
379
 
-
 
380
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
421
if as_func_ret_failure; then
381
  as_basename=basename
422
  exitcode=1
382
else
423
  echo as_func_ret_failure succeeded.
383
  as_basename=false
424
fi
384
fi
425
 
385
 
426
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
386
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
427
  :
387
  as_dirname=dirname
428
else
388
else
429
  exitcode=1
389
  as_dirname=false
430
  echo positional parameters were not saved.
-
 
431
fi
390
fi
432
 
391
 
433
test \$exitcode = 0") || {
392
as_me=`$as_basename -- "$0" ||
434
  echo No shell found that supports shell functions.
393
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
435
  echo Please tell bug-autoconf@gnu.org about your system,
394
	 X"$0" : 'X\(//\)$' \| \
436
  echo including any error possibly output before this message.
395
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
437
  echo This can help us improve future autoconf versions.
396
$as_echo X/"$0" |
438
  echo Configuration will now proceed without shell functions.
397
    sed '/^.*\/\([^/][^/]*\)\/*$/{
-
 
398
	    s//\1/
-
 
399
	    q
-
 
400
	  }
-
 
401
	  /^X\/\(\/\/\)$/{
-
 
402
	    s//\1/
-
 
403
	    q
-
 
404
	  }
-
 
405
	  /^X\/\(\/\).*/{
-
 
406
	    s//\1/
-
 
407
	    q
439
}
408
	  }
-
 
409
	  s/.*/./; q'`
440
 
410
 
-
 
411
# Avoid depending upon Character Ranges.
-
 
412
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-
 
413
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-
 
414
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-
 
415
as_cr_digits='0123456789'
-
 
416
as_cr_alnum=$as_cr_Letters$as_cr_digits
441
 
417
 
442
 
418
 
443
  as_lineno_1=$LINENO
419
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
444
  as_lineno_2=$LINENO
420
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
445
  test "x$as_lineno_1" != "x$as_lineno_2" &&
421
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
446
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
422
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
447
 
-
 
448
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
-
 
449
  # uniformly replaced by the line number.  The first 'sed' inserts a
-
 
450
  # line-number line after each line using $LINENO; the second 'sed'
-
 
451
  # does the real work.  The second script uses 'N' to pair each
-
 
452
  # line-number line with the line containing $LINENO, and appends
-
 
453
  # trailing '-' during substitution so that $LINENO is not a special
-
 
454
  # case at line end.
-
 
455
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
-
 
456
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
-
 
457
  # E. McMahon (1931-1989) for sed's syntax.  :-)
423
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
458
  sed -n '
424
  sed -n '
459
    p
425
    p
460
    /[$]LINENO/=
426
    /[$]LINENO/=
461
  ' <$as_myself |
427
  ' <$as_myself |
462
    sed '
428
    sed '
463
      s/[$]LINENO.*/&-/
429
      s/[$]LINENO.*/&-/
464
      t lineno
430
      t lineno
465
      b
431
      b
466
      :lineno
432
      :lineno
467
      N
433
      N
468
      :loop
434
      :loop
469
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
435
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
470
      t loop
436
      t loop
471
      s/-\n.*//
437
      s/-\n.*//
472
    ' >$as_me.lineno &&
438
    ' >$as_me.lineno &&
473
  chmod +x "$as_me.lineno" ||
439
  chmod +x "$as_me.lineno" ||
474
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
440
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
475
   { (exit 1); exit 1; }; }
-
 
476
 
441
 
477
  # Don't try to exec as it changes $[0], causing all sort of problems
442
  # Don't try to exec as it changes $[0], causing all sort of problems
478
  # (the dirname of $[0] is not the place where we might find the
443
  # (the dirname of $[0] is not the place where we might find the
479
  # original and so on.  Autoconf is especially sensitive to this).
444
  # original and so on.  Autoconf is especially sensitive to this).
480
  . "./$as_me.lineno"
445
  . "./$as_me.lineno"
481
  # Exit status is that of the last command.
446
  # Exit status is that of the last command.
482
  exit
447
  exit
483
}
448
}
484
 
449
 
485
 
-
 
486
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
-
 
487
  as_dirname=dirname
-
 
488
else
-
 
489
  as_dirname=false
-
 
490
fi
-
 
491
 
-
 
492
ECHO_C= ECHO_N= ECHO_T=
450
ECHO_C= ECHO_N= ECHO_T=
493
case `echo -n x` in
451
case `echo -n x` in #(((((
494
-n*)
452
-n*)
495
  case `echo 'x\c'` in
453
  case `echo 'xy\c'` in
496
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
454
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
497
  *)   ECHO_C='\c';;
455
  xy)  ECHO_C='\c';;
-
 
456
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
-
 
457
       ECHO_T='	';;
498
  esac;;
458
  esac;;
499
*)
459
*)
500
  ECHO_N='-n';;
460
  ECHO_N='-n';;
501
esac
461
esac
502
if expr a : '\(a\)' >/dev/null 2>&1 &&
-
 
503
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
-
 
504
  as_expr=expr
-
 
505
else
-
 
506
  as_expr=false
-
 
507
fi
-
 
508
 
462
 
509
rm -f conf$$ conf$$.exe conf$$.file
463
rm -f conf$$ conf$$.exe conf$$.file
510
if test -d conf$$.dir; then
464
if test -d conf$$.dir; then
511
  rm -f conf$$.dir/conf$$.file
465
  rm -f conf$$.dir/conf$$.file
512
else
466
else
513
  rm -f conf$$.dir
467
  rm -f conf$$.dir
514
  mkdir conf$$.dir 2>/dev/null
468
  mkdir conf$$.dir 2>/dev/null
515
fi
469
fi
516
if (echo >conf$$.file) 2>/dev/null; then
470
if (echo >conf$$.file) 2>/dev/null; then
517
  if ln -s conf$$.file conf$$ 2>/dev/null; then
471
  if ln -s conf$$.file conf$$ 2>/dev/null; then
518
    as_ln_s='ln -s'
472
    as_ln_s='ln -s'
519
    # ... but there are two gotchas:
473
    # ... but there are two gotchas:
520
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522
    # In both cases, we have to default to `cp -p'.
476
    # In both cases, we have to default to `cp -p'.
523
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
477
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524
      as_ln_s='cp -p'
478
      as_ln_s='cp -p'
525
  elif ln conf$$.file conf$$ 2>/dev/null; then
479
  elif ln conf$$.file conf$$ 2>/dev/null; then
526
    as_ln_s=ln
480
    as_ln_s=ln
527
  else
481
  else
528
    as_ln_s='cp -p'
482
    as_ln_s='cp -p'
529
  fi
483
  fi
530
else
484
else
531
  as_ln_s='cp -p'
485
  as_ln_s='cp -p'
532
fi
486
fi
533
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
487
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534
rmdir conf$$.dir 2>/dev/null
488
rmdir conf$$.dir 2>/dev/null
535
 
489
 
536
if mkdir -p . 2>/dev/null; then
490
if mkdir -p . 2>/dev/null; then
537
  as_mkdir_p=:
491
  as_mkdir_p='mkdir -p "$as_dir"'
538
else
492
else
539
  test -d ./-p && rmdir ./-p
493
  test -d ./-p && rmdir ./-p
540
  as_mkdir_p=false
494
  as_mkdir_p=false
541
fi
495
fi
542
 
496
 
543
if test -x / >/dev/null 2>&1; then
497
if test -x / >/dev/null 2>&1; then
544
  as_test_x='test -x'
498
  as_test_x='test -x'
545
else
499
else
546
  if ls -dL / >/dev/null 2>&1; then
500
  if ls -dL / >/dev/null 2>&1; then
547
    as_ls_L_option=L
501
    as_ls_L_option=L
548
  else
502
  else
549
    as_ls_L_option=
503
    as_ls_L_option=
550
  fi
504
  fi
551
  as_test_x='
505
  as_test_x='
552
    eval sh -c '\''
506
    eval sh -c '\''
553
      if test -d "$1"; then
507
      if test -d "$1"; then
554
	test -d "$1/.";
508
	test -d "$1/.";
555
      else
509
      else
556
	case $1 in
510
	case $1 in #(
557
	-*)set "./$1";;
511
	-*)set "./$1";;
558
	esac;
512
	esac;
559
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
513
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
560
	???[sx]*):;;*)false;;esac;fi
514
	???[sx]*):;;*)false;;esac;fi
561
    '\'' sh
515
    '\'' sh
562
  '
516
  '
563
fi
517
fi
564
as_executable_p=$as_test_x
518
as_executable_p=$as_test_x
565
 
519
 
566
# Sed expression to map a string onto a valid CPP name.
520
# Sed expression to map a string onto a valid CPP name.
567
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
521
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568
 
522
 
569
# Sed expression to map a string onto a valid variable name.
523
# Sed expression to map a string onto a valid variable name.
570
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
524
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
 
525
 
572
 
526
 
573
 
527
 
574
 
-
 
575
# Check that we are running under the correct shell.
528
# Check that we are running under the correct shell.
576
SHELL=${CONFIG_SHELL-/bin/sh}
529
SHELL=${CONFIG_SHELL-/bin/sh}
577
 
530
 
578
case X$lt_ECHO in
531
case X$lt_ECHO in
579
X*--fallback-echo)
532
X*--fallback-echo)
580
  # Remove one level of quotation (which was required for Make).
533
  # Remove one level of quotation (which was required for Make).
581
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
534
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
582
  ;;
535
  ;;
583
esac
536
esac
584
 
537
 
585
ECHO=${lt_ECHO-echo}
538
ECHO=${lt_ECHO-echo}
586
if test "X$1" = X--no-reexec; then
539
if test "X$1" = X--no-reexec; then
587
  # Discard the --no-reexec flag, and continue.
540
  # Discard the --no-reexec flag, and continue.
588
  shift
541
  shift
589
elif test "X$1" = X--fallback-echo; then
542
elif test "X$1" = X--fallback-echo; then
590
  # Avoid inline document here, it may be left over
543
  # Avoid inline document here, it may be left over
591
  :
544
  :
592
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
545
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
593
  # Yippee, $ECHO works!
546
  # Yippee, $ECHO works!
594
  :
547
  :
595
else
548
else
596
  # Restart under the correct shell.
549
  # Restart under the correct shell.
597
  exec $SHELL "$0" --no-reexec ${1+"$@"}
550
  exec $SHELL "$0" --no-reexec ${1+"$@"}
598
fi
551
fi
599
 
552
 
600
if test "X$1" = X--fallback-echo; then
553
if test "X$1" = X--fallback-echo; then
601
  # used as fallback echo
554
  # used as fallback echo
602
  shift
555
  shift
603
  cat <<_LT_EOF
556
  cat <<_LT_EOF
604
$*
557
$*
605
_LT_EOF
558
_LT_EOF
606
  exit 0
559
  exit 0
607
fi
560
fi
608
 
561
 
609
# The HP-UX ksh and POSIX shell print the target directory to stdout
562
# The HP-UX ksh and POSIX shell print the target directory to stdout
610
# if CDPATH is set.
563
# if CDPATH is set.
611
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
564
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
612
 
565
 
613
if test -z "$lt_ECHO"; then
566
if test -z "$lt_ECHO"; then
614
  if test "X${echo_test_string+set}" != Xset; then
567
  if test "X${echo_test_string+set}" != Xset; then
615
    # find a string as large as possible, as long as the shell can cope with it
568
    # find a string as large as possible, as long as the shell can cope with it
616
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
569
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
570
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
571
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
619
	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
572
	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
620
      then
573
      then
621
        break
574
        break
622
      fi
575
      fi
623
    done
576
    done
624
  fi
577
  fi
625
 
578
 
626
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
579
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
580
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
     test "X$echo_testing_string" = "X$echo_test_string"; then
581
     test "X$echo_testing_string" = "X$echo_test_string"; then
629
    :
582
    :
630
  else
583
  else
631
    # The Solaris, AIX, and Digital Unix default echo programs unquote
584
    # The Solaris, AIX, and Digital Unix default echo programs unquote
632
    # backslashes.  This makes it impossible to quote backslashes using
585
    # backslashes.  This makes it impossible to quote backslashes using
633
    #   echo "$something" | sed 's/\\/\\\\/g'
586
    #   echo "$something" | sed 's/\\/\\\\/g'
634
    #
587
    #
635
    # So, first we look for a working echo in the user's PATH.
588
    # So, first we look for a working echo in the user's PATH.
636
 
589
 
637
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
590
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
638
    for dir in $PATH /usr/ucb; do
591
    for dir in $PATH /usr/ucb; do
639
      IFS="$lt_save_ifs"
592
      IFS="$lt_save_ifs"
640
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
593
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
641
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
594
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
642
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
595
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
643
         test "X$echo_testing_string" = "X$echo_test_string"; then
596
         test "X$echo_testing_string" = "X$echo_test_string"; then
644
        ECHO="$dir/echo"
597
        ECHO="$dir/echo"
645
        break
598
        break
646
      fi
599
      fi
647
    done
600
    done
648
    IFS="$lt_save_ifs"
601
    IFS="$lt_save_ifs"
649
 
602
 
650
    if test "X$ECHO" = Xecho; then
603
    if test "X$ECHO" = Xecho; then
651
      # We didn't find a better echo, so look for alternatives.
604
      # We didn't find a better echo, so look for alternatives.
652
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
605
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
653
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
606
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
654
         test "X$echo_testing_string" = "X$echo_test_string"; then
607
         test "X$echo_testing_string" = "X$echo_test_string"; then
655
        # This shell has a builtin print -r that does the trick.
608
        # This shell has a builtin print -r that does the trick.
656
        ECHO='print -r'
609
        ECHO='print -r'
657
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
610
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
658
	   test "X$CONFIG_SHELL" != X/bin/ksh; then
611
	   test "X$CONFIG_SHELL" != X/bin/ksh; then
659
        # If we have ksh, try running configure again with it.
612
        # If we have ksh, try running configure again with it.
660
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
613
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
661
        export ORIGINAL_CONFIG_SHELL
614
        export ORIGINAL_CONFIG_SHELL
662
        CONFIG_SHELL=/bin/ksh
615
        CONFIG_SHELL=/bin/ksh
663
        export CONFIG_SHELL
616
        export CONFIG_SHELL
664
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
617
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
665
      else
618
      else
666
        # Try using printf.
619
        # Try using printf.
667
        ECHO='printf %s\n'
620
        ECHO='printf %s\n'
668
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
621
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
669
	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
622
	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
670
	   test "X$echo_testing_string" = "X$echo_test_string"; then
623
	   test "X$echo_testing_string" = "X$echo_test_string"; then
671
	  # Cool, printf works
624
	  # Cool, printf works
672
	  :
625
	  :
673
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
626
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
674
	     test "X$echo_testing_string" = 'X\t' &&
627
	     test "X$echo_testing_string" = 'X\t' &&
675
	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
628
	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
676
	     test "X$echo_testing_string" = "X$echo_test_string"; then
629
	     test "X$echo_testing_string" = "X$echo_test_string"; then
677
	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
630
	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
678
	  export CONFIG_SHELL
631
	  export CONFIG_SHELL
679
	  SHELL="$CONFIG_SHELL"
632
	  SHELL="$CONFIG_SHELL"
680
	  export SHELL
633
	  export SHELL
681
	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
634
	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
682
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
635
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
683
	     test "X$echo_testing_string" = 'X\t' &&
636
	     test "X$echo_testing_string" = 'X\t' &&
684
	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
637
	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
685
	     test "X$echo_testing_string" = "X$echo_test_string"; then
638
	     test "X$echo_testing_string" = "X$echo_test_string"; then
686
	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
639
	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
687
        else
640
        else
688
	  # maybe with a smaller string...
641
	  # maybe with a smaller string...
689
	  prev=:
642
	  prev=:
690
 
643
 
691
	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
644
	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
692
	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
645
	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
693
	    then
646
	    then
694
	      break
647
	      break
695
	    fi
648
	    fi
696
	    prev="$cmd"
649
	    prev="$cmd"
697
	  done
650
	  done
698
 
651
 
699
	  if test "$prev" != 'sed 50q "$0"'; then
652
	  if test "$prev" != 'sed 50q "$0"'; then
700
	    echo_test_string=`eval $prev`
653
	    echo_test_string=`eval $prev`
701
	    export echo_test_string
654
	    export echo_test_string
702
	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
655
	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
703
	  else
656
	  else
704
	    # Oops.  We lost completely, so just stick with echo.
657
	    # Oops.  We lost completely, so just stick with echo.
705
	    ECHO=echo
658
	    ECHO=echo
706
	  fi
659
	  fi
707
        fi
660
        fi
708
      fi
661
      fi
709
    fi
662
    fi
710
  fi
663
  fi
711
fi
664
fi
712
 
665
 
713
# Copy echo and quote the copy suitably for passing to libtool from
666
# Copy echo and quote the copy suitably for passing to libtool from
714
# the Makefile, instead of quoting the original, which is used later.
667
# the Makefile, instead of quoting the original, which is used later.
715
lt_ECHO=$ECHO
668
lt_ECHO=$ECHO
716
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
669
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
717
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
670
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
718
fi
671
fi
719
 
672
 
720
 
673
 
721
 
674
 
722
 
675
 
723
exec 7<&0 </dev/null 6>&1
676
exec 7<&0 </dev/null 6>&1
724
 
677
 
725
# Name of the host.
678
# Name of the host.
726
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
679
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
727
# so uname gets run too.
680
# so uname gets run too.
728
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
681
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
729
 
682
 
730
#
683
#
731
# Initializations.
684
# Initializations.
732
#
685
#
733
ac_default_prefix=/usr/local
686
ac_default_prefix=/usr/local
734
ac_clean_files=
687
ac_clean_files=
735
ac_config_libobj_dir=.
688
ac_config_libobj_dir=.
736
LIBOBJS=
689
LIBOBJS=
737
cross_compiling=no
690
cross_compiling=no
738
subdirs=
691
subdirs=
739
MFLAGS=
692
MFLAGS=
740
MAKEFLAGS=
693
MAKEFLAGS=
741
SHELL=${CONFIG_SHELL-/bin/sh}
-
 
742
 
694
 
743
# Identity of this package.
695
# Identity of this package.
744
PACKAGE_NAME=
696
PACKAGE_NAME=
745
PACKAGE_TARNAME=
697
PACKAGE_TARNAME=
746
PACKAGE_VERSION=
698
PACKAGE_VERSION=
747
PACKAGE_STRING=
699
PACKAGE_STRING=
748
PACKAGE_BUGREPORT=
700
PACKAGE_BUGREPORT=
-
 
701
PACKAGE_URL=
749
 
702
 
750
ac_unique_file="configure.in"
703
ac_unique_file="configure.in"
751
# Factoring default headers for most tests.
704
# Factoring default headers for most tests.
752
ac_includes_default="\
705
ac_includes_default="\
753
#include <stdio.h>
706
#include <stdio.h>
754
#ifdef HAVE_SYS_TYPES_H
707
#ifdef HAVE_SYS_TYPES_H
755
# include <sys/types.h>
708
# include <sys/types.h>
756
#endif
709
#endif
757
#ifdef HAVE_SYS_STAT_H
710
#ifdef HAVE_SYS_STAT_H
758
# include <sys/stat.h>
711
# include <sys/stat.h>
759
#endif
712
#endif
760
#ifdef STDC_HEADERS
713
#ifdef STDC_HEADERS
761
# include <stdlib.h>
714
# include <stdlib.h>
762
# include <stddef.h>
715
# include <stddef.h>
763
#else
716
#else
764
# ifdef HAVE_STDLIB_H
717
# ifdef HAVE_STDLIB_H
765
#  include <stdlib.h>
718
#  include <stdlib.h>
766
# endif
719
# endif
767
#endif
720
#endif
768
#ifdef HAVE_STRING_H
721
#ifdef HAVE_STRING_H
769
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
722
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
770
#  include <memory.h>
723
#  include <memory.h>
771
# endif
724
# endif
772
# include <string.h>
725
# include <string.h>
773
#endif
726
#endif
774
#ifdef HAVE_STRINGS_H
727
#ifdef HAVE_STRINGS_H
775
# include <strings.h>
728
# include <strings.h>
776
#endif
729
#endif
777
#ifdef HAVE_INTTYPES_H
730
#ifdef HAVE_INTTYPES_H
778
# include <inttypes.h>
731
# include <inttypes.h>
779
#endif
732
#endif
780
#ifdef HAVE_STDINT_H
733
#ifdef HAVE_STDINT_H
781
# include <stdint.h>
734
# include <stdint.h>
782
#endif
735
#endif
783
#ifdef HAVE_UNISTD_H
736
#ifdef HAVE_UNISTD_H
784
# include <unistd.h>
737
# include <unistd.h>
785
#endif"
738
#endif"
786
 
739
 
787
ac_subst_vars='LTLIBOBJS
740
ac_subst_vars='am__EXEEXT_FALSE
-
 
741
am__EXEEXT_TRUE
-
 
742
LTLIBOBJS
788
LIBOBJS
743
LIBOBJS
789
CPP
744
CPP
790
OTOOL64
745
OTOOL64
791
OTOOL
746
OTOOL
792
LIPO
747
LIPO
793
NMEDIT
748
NMEDIT
794
DSYMUTIL
749
DSYMUTIL
795
lt_ECHO
750
lt_ECHO
796
RANLIB
751
RANLIB
797
AR
752
AR
798
OBJDUMP
753
OBJDUMP
799
LN_S
754
LN_S
800
NM
755
NM
801
ac_ct_DUMPBIN
756
ac_ct_DUMPBIN
802
DUMPBIN
757
DUMPBIN
803
LD
758
LD
804
FGREP
759
FGREP
805
EGREP
760
EGREP
806
GREP
761
GREP
807
SED
762
SED
808
host_os
763
host_os
809
host_vendor
764
host_vendor
810
host_cpu
765
host_cpu
811
host
766
host
812
build_os
767
build_os
813
build_vendor
768
build_vendor
814
build_cpu
769
build_cpu
815
build
770
build
816
LIBTOOL
771
LIBTOOL
817
am__fastdepCC_FALSE
772
am__fastdepCC_FALSE
818
am__fastdepCC_TRUE
773
am__fastdepCC_TRUE
819
CCDEPMODE
774
CCDEPMODE
820
AMDEPBACKSLASH
775
AMDEPBACKSLASH
821
AMDEP_FALSE
776
AMDEP_FALSE
822
AMDEP_TRUE
777
AMDEP_TRUE
823
am__quote
778
am__quote
824
am__include
779
am__include
825
DEPDIR
780
DEPDIR
826
OBJEXT
781
OBJEXT
827
EXEEXT
782
EXEEXT
828
ac_ct_CC
783
ac_ct_CC
829
CPPFLAGS
784
CPPFLAGS
830
LDFLAGS
785
LDFLAGS
831
CFLAGS
786
CFLAGS
832
CC
787
CC
833
am__untar
788
am__untar
834
am__tar
789
am__tar
835
AMTAR
790
AMTAR
836
am__leading_dot
791
am__leading_dot
837
SET_MAKE
792
SET_MAKE
838
AWK
793
AWK
839
mkdir_p
794
mkdir_p
840
MKDIR_P
795
MKDIR_P
841
INSTALL_STRIP_PROGRAM
796
INSTALL_STRIP_PROGRAM
842
STRIP
797
STRIP
843
install_sh
798
install_sh
844
MAKEINFO
799
MAKEINFO
845
AUTOHEADER
800
AUTOHEADER
846
AUTOMAKE
801
AUTOMAKE
847
AUTOCONF
802
AUTOCONF
848
ACLOCAL
803
ACLOCAL
849
VERSION
804
VERSION
850
PACKAGE
805
PACKAGE
851
CYGPATH_W
806
CYGPATH_W
852
am__isrc
807
am__isrc
853
INSTALL_DATA
808
INSTALL_DATA
854
INSTALL_SCRIPT
809
INSTALL_SCRIPT
855
INSTALL_PROGRAM
810
INSTALL_PROGRAM
856
target_alias
811
target_alias
857
host_alias
812
host_alias
858
build_alias
813
build_alias
859
LIBS
814
LIBS
860
ECHO_T
815
ECHO_T
861
ECHO_N
816
ECHO_N
862
ECHO_C
817
ECHO_C
863
DEFS
818
DEFS
864
mandir
819
mandir
865
localedir
820
localedir
866
libdir
821
libdir
867
psdir
822
psdir
868
pdfdir
823
pdfdir
869
dvidir
824
dvidir
870
htmldir
825
htmldir
871
infodir
826
infodir
872
docdir
827
docdir
873
oldincludedir
828
oldincludedir
874
includedir
829
includedir
875
localstatedir
830
localstatedir
876
sharedstatedir
831
sharedstatedir
877
sysconfdir
832
sysconfdir
878
datadir
833
datadir
879
datarootdir
834
datarootdir
880
libexecdir
835
libexecdir
881
sbindir
836
sbindir
882
bindir
837
bindir
883
program_transform_name
838
program_transform_name
884
prefix
839
prefix
885
exec_prefix
840
exec_prefix
-
 
841
PACKAGE_URL
886
PACKAGE_BUGREPORT
842
PACKAGE_BUGREPORT
887
PACKAGE_STRING
843
PACKAGE_STRING
888
PACKAGE_VERSION
844
PACKAGE_VERSION
889
PACKAGE_TARNAME
845
PACKAGE_TARNAME
890
PACKAGE_NAME
846
PACKAGE_NAME
891
PATH_SEPARATOR
847
PATH_SEPARATOR
892
SHELL'
848
SHELL'
893
ac_subst_files=''
849
ac_subst_files=''
894
ac_user_opts='
850
ac_user_opts='
895
enable_option_checking
851
enable_option_checking
896
enable_dependency_tracking
852
enable_dependency_tracking
897
enable_shared
853
enable_shared
898
enable_static
854
enable_static
899
with_pic
855
with_pic
900
enable_fast_install
856
enable_fast_install
901
with_gnu_ld
857
with_gnu_ld
902
enable_libtool_lock
858
enable_libtool_lock
903
'
859
'
904
      ac_precious_vars='build_alias
860
      ac_precious_vars='build_alias
905
host_alias
861
host_alias
906
target_alias
862
target_alias
907
CC
863
CC
908
CFLAGS
864
CFLAGS
909
LDFLAGS
865
LDFLAGS
910
LIBS
866
LIBS
911
CPPFLAGS
867
CPPFLAGS
912
CPP'
868
CPP'
913
 
869
 
914
 
870
 
915
# Initialize some variables set by options.
871
# Initialize some variables set by options.
916
ac_init_help=
872
ac_init_help=
917
ac_init_version=false
873
ac_init_version=false
918
ac_unrecognized_opts=
874
ac_unrecognized_opts=
919
ac_unrecognized_sep=
875
ac_unrecognized_sep=
920
# The variables have the same names as the options, with
876
# The variables have the same names as the options, with
921
# dashes changed to underlines.
877
# dashes changed to underlines.
922
cache_file=/dev/null
878
cache_file=/dev/null
923
exec_prefix=NONE
879
exec_prefix=NONE
924
no_create=
880
no_create=
925
no_recursion=
881
no_recursion=
926
prefix=NONE
882
prefix=NONE
927
program_prefix=NONE
883
program_prefix=NONE
928
program_suffix=NONE
884
program_suffix=NONE
929
program_transform_name=s,x,x,
885
program_transform_name=s,x,x,
930
silent=
886
silent=
931
site=
887
site=
932
srcdir=
888
srcdir=
933
verbose=
889
verbose=
934
x_includes=NONE
890
x_includes=NONE
935
x_libraries=NONE
891
x_libraries=NONE
936
 
892
 
937
# Installation directory options.
893
# Installation directory options.
938
# These are left unexpanded so users can "make install exec_prefix=/foo"
894
# These are left unexpanded so users can "make install exec_prefix=/foo"
939
# and all the variables that are supposed to be based on exec_prefix
895
# and all the variables that are supposed to be based on exec_prefix
940
# by default will actually change.
896
# by default will actually change.
941
# Use braces instead of parens because sh, perl, etc. also accept them.
897
# Use braces instead of parens because sh, perl, etc. also accept them.
942
# (The list follows the same order as the GNU Coding Standards.)
898
# (The list follows the same order as the GNU Coding Standards.)
943
bindir='${exec_prefix}/bin'
899
bindir='${exec_prefix}/bin'
944
sbindir='${exec_prefix}/sbin'
900
sbindir='${exec_prefix}/sbin'
945
libexecdir='${exec_prefix}/libexec'
901
libexecdir='${exec_prefix}/libexec'
946
datarootdir='${prefix}/share'
902
datarootdir='${prefix}/share'
947
datadir='${datarootdir}'
903
datadir='${datarootdir}'
948
sysconfdir='${prefix}/etc'
904
sysconfdir='${prefix}/etc'
949
sharedstatedir='${prefix}/com'
905
sharedstatedir='${prefix}/com'
950
localstatedir='${prefix}/var'
906
localstatedir='${prefix}/var'
951
includedir='${prefix}/include'
907
includedir='${prefix}/include'
952
oldincludedir='/usr/include'
908
oldincludedir='/usr/include'
953
docdir='${datarootdir}/doc/${PACKAGE}'
909
docdir='${datarootdir}/doc/${PACKAGE}'
954
infodir='${datarootdir}/info'
910
infodir='${datarootdir}/info'
955
htmldir='${docdir}'
911
htmldir='${docdir}'
956
dvidir='${docdir}'
912
dvidir='${docdir}'
957
pdfdir='${docdir}'
913
pdfdir='${docdir}'
958
psdir='${docdir}'
914
psdir='${docdir}'
959
libdir='${exec_prefix}/lib'
915
libdir='${exec_prefix}/lib'
960
localedir='${datarootdir}/locale'
916
localedir='${datarootdir}/locale'
961
mandir='${datarootdir}/man'
917
mandir='${datarootdir}/man'
962
 
918
 
963
ac_prev=
919
ac_prev=
964
ac_dashdash=
920
ac_dashdash=
965
for ac_option
921
for ac_option
966
do
922
do
967
  # If the previous option needs an argument, assign it.
923
  # If the previous option needs an argument, assign it.
968
  if test -n "$ac_prev"; then
924
  if test -n "$ac_prev"; then
969
    eval $ac_prev=\$ac_option
925
    eval $ac_prev=\$ac_option
970
    ac_prev=
926
    ac_prev=
971
    continue
927
    continue
972
  fi
928
  fi
973
 
929
 
974
  case $ac_option in
930
  case $ac_option in
975
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
931
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
976
  *)	ac_optarg=yes ;;
932
  *)	ac_optarg=yes ;;
977
  esac
933
  esac
978
 
934
 
979
  # Accept the important Cygnus configure options, so we can diagnose typos.
935
  # Accept the important Cygnus configure options, so we can diagnose typos.
980
 
936
 
981
  case $ac_dashdash$ac_option in
937
  case $ac_dashdash$ac_option in
982
  --)
938
  --)
983
    ac_dashdash=yes ;;
939
    ac_dashdash=yes ;;
984
 
940
 
985
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
941
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
986
    ac_prev=bindir ;;
942
    ac_prev=bindir ;;
987
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
943
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
988
    bindir=$ac_optarg ;;
944
    bindir=$ac_optarg ;;
989
 
945
 
990
  -build | --build | --buil | --bui | --bu)
946
  -build | --build | --buil | --bui | --bu)
991
    ac_prev=build_alias ;;
947
    ac_prev=build_alias ;;
992
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
948
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
993
    build_alias=$ac_optarg ;;
949
    build_alias=$ac_optarg ;;
994
 
950
 
995
  -cache-file | --cache-file | --cache-fil | --cache-fi \
951
  -cache-file | --cache-file | --cache-fil | --cache-fi \
996
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
952
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
997
    ac_prev=cache_file ;;
953
    ac_prev=cache_file ;;
998
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
954
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
999
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
955
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1000
    cache_file=$ac_optarg ;;
956
    cache_file=$ac_optarg ;;
1001
 
957
 
1002
  --config-cache | -C)
958
  --config-cache | -C)
1003
    cache_file=config.cache ;;
959
    cache_file=config.cache ;;
1004
 
960
 
1005
  -datadir | --datadir | --datadi | --datad)
961
  -datadir | --datadir | --datadi | --datad)
1006
    ac_prev=datadir ;;
962
    ac_prev=datadir ;;
1007
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
963
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1008
    datadir=$ac_optarg ;;
964
    datadir=$ac_optarg ;;
1009
 
965
 
1010
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
966
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1011
  | --dataroo | --dataro | --datar)
967
  | --dataroo | --dataro | --datar)
1012
    ac_prev=datarootdir ;;
968
    ac_prev=datarootdir ;;
1013
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
969
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1014
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
970
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1015
    datarootdir=$ac_optarg ;;
971
    datarootdir=$ac_optarg ;;
1016
 
972
 
1017
  -disable-* | --disable-*)
973
  -disable-* | --disable-*)
1018
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
974
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1019
    # Reject names that are not valid shell variable names.
975
    # Reject names that are not valid shell variable names.
1020
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
976
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1021
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
977
      as_fn_error "invalid feature name: $ac_useropt"
1022
   { (exit 1); exit 1; }; }
-
 
1023
    ac_useropt_orig=$ac_useropt
978
    ac_useropt_orig=$ac_useropt
1024
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025
    case $ac_user_opts in
980
    case $ac_user_opts in
1026
      *"
981
      *"
1027
"enable_$ac_useropt"
982
"enable_$ac_useropt"
1028
"*) ;;
983
"*) ;;
1029
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
984
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1030
	 ac_unrecognized_sep=', ';;
985
	 ac_unrecognized_sep=', ';;
1031
    esac
986
    esac
1032
    eval enable_$ac_useropt=no ;;
987
    eval enable_$ac_useropt=no ;;
1033
 
988
 
1034
  -docdir | --docdir | --docdi | --doc | --do)
989
  -docdir | --docdir | --docdi | --doc | --do)
1035
    ac_prev=docdir ;;
990
    ac_prev=docdir ;;
1036
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
991
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1037
    docdir=$ac_optarg ;;
992
    docdir=$ac_optarg ;;
1038
 
993
 
1039
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
994
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1040
    ac_prev=dvidir ;;
995
    ac_prev=dvidir ;;
1041
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
996
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1042
    dvidir=$ac_optarg ;;
997
    dvidir=$ac_optarg ;;
1043
 
998
 
1044
  -enable-* | --enable-*)
999
  -enable-* | --enable-*)
1045
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1000
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1046
    # Reject names that are not valid shell variable names.
1001
    # Reject names that are not valid shell variable names.
1047
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1002
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1003
      as_fn_error "invalid feature name: $ac_useropt"
1049
   { (exit 1); exit 1; }; }
-
 
1050
    ac_useropt_orig=$ac_useropt
1004
    ac_useropt_orig=$ac_useropt
1051
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1005
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052
    case $ac_user_opts in
1006
    case $ac_user_opts in
1053
      *"
1007
      *"
1054
"enable_$ac_useropt"
1008
"enable_$ac_useropt"
1055
"*) ;;
1009
"*) ;;
1056
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1010
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1057
	 ac_unrecognized_sep=', ';;
1011
	 ac_unrecognized_sep=', ';;
1058
    esac
1012
    esac
1059
    eval enable_$ac_useropt=\$ac_optarg ;;
1013
    eval enable_$ac_useropt=\$ac_optarg ;;
1060
 
1014
 
1061
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1015
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1062
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1016
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1063
  | --exec | --exe | --ex)
1017
  | --exec | --exe | --ex)
1064
    ac_prev=exec_prefix ;;
1018
    ac_prev=exec_prefix ;;
1065
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1019
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1066
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1020
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1067
  | --exec=* | --exe=* | --ex=*)
1021
  | --exec=* | --exe=* | --ex=*)
1068
    exec_prefix=$ac_optarg ;;
1022
    exec_prefix=$ac_optarg ;;
1069
 
1023
 
1070
  -gas | --gas | --ga | --g)
1024
  -gas | --gas | --ga | --g)
1071
    # Obsolete; use --with-gas.
1025
    # Obsolete; use --with-gas.
1072
    with_gas=yes ;;
1026
    with_gas=yes ;;
1073
 
1027
 
1074
  -help | --help | --hel | --he | -h)
1028
  -help | --help | --hel | --he | -h)
1075
    ac_init_help=long ;;
1029
    ac_init_help=long ;;
1076
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1030
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1077
    ac_init_help=recursive ;;
1031
    ac_init_help=recursive ;;
1078
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1032
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1079
    ac_init_help=short ;;
1033
    ac_init_help=short ;;
1080
 
1034
 
1081
  -host | --host | --hos | --ho)
1035
  -host | --host | --hos | --ho)
1082
    ac_prev=host_alias ;;
1036
    ac_prev=host_alias ;;
1083
  -host=* | --host=* | --hos=* | --ho=*)
1037
  -host=* | --host=* | --hos=* | --ho=*)
1084
    host_alias=$ac_optarg ;;
1038
    host_alias=$ac_optarg ;;
1085
 
1039
 
1086
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1040
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1087
    ac_prev=htmldir ;;
1041
    ac_prev=htmldir ;;
1088
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1042
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1089
  | --ht=*)
1043
  | --ht=*)
1090
    htmldir=$ac_optarg ;;
1044
    htmldir=$ac_optarg ;;
1091
 
1045
 
1092
  -includedir | --includedir | --includedi | --included | --include \
1046
  -includedir | --includedir | --includedi | --included | --include \
1093
  | --includ | --inclu | --incl | --inc)
1047
  | --includ | --inclu | --incl | --inc)
1094
    ac_prev=includedir ;;
1048
    ac_prev=includedir ;;
1095
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1049
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1096
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1050
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1097
    includedir=$ac_optarg ;;
1051
    includedir=$ac_optarg ;;
1098
 
1052
 
1099
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1053
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1100
    ac_prev=infodir ;;
1054
    ac_prev=infodir ;;
1101
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1055
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1102
    infodir=$ac_optarg ;;
1056
    infodir=$ac_optarg ;;
1103
 
1057
 
1104
  -libdir | --libdir | --libdi | --libd)
1058
  -libdir | --libdir | --libdi | --libd)
1105
    ac_prev=libdir ;;
1059
    ac_prev=libdir ;;
1106
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1060
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1107
    libdir=$ac_optarg ;;
1061
    libdir=$ac_optarg ;;
1108
 
1062
 
1109
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1063
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1110
  | --libexe | --libex | --libe)
1064
  | --libexe | --libex | --libe)
1111
    ac_prev=libexecdir ;;
1065
    ac_prev=libexecdir ;;
1112
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1066
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1113
  | --libexe=* | --libex=* | --libe=*)
1067
  | --libexe=* | --libex=* | --libe=*)
1114
    libexecdir=$ac_optarg ;;
1068
    libexecdir=$ac_optarg ;;
1115
 
1069
 
1116
  -localedir | --localedir | --localedi | --localed | --locale)
1070
  -localedir | --localedir | --localedi | --localed | --locale)
1117
    ac_prev=localedir ;;
1071
    ac_prev=localedir ;;
1118
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1072
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1119
    localedir=$ac_optarg ;;
1073
    localedir=$ac_optarg ;;
1120
 
1074
 
1121
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1075
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1122
  | --localstate | --localstat | --localsta | --localst | --locals)
1076
  | --localstate | --localstat | --localsta | --localst | --locals)
1123
    ac_prev=localstatedir ;;
1077
    ac_prev=localstatedir ;;
1124
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1078
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1125
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1079
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1126
    localstatedir=$ac_optarg ;;
1080
    localstatedir=$ac_optarg ;;
1127
 
1081
 
1128
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1082
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1129
    ac_prev=mandir ;;
1083
    ac_prev=mandir ;;
1130
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1084
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1131
    mandir=$ac_optarg ;;
1085
    mandir=$ac_optarg ;;
1132
 
1086
 
1133
  -nfp | --nfp | --nf)
1087
  -nfp | --nfp | --nf)
1134
    # Obsolete; use --without-fp.
1088
    # Obsolete; use --without-fp.
1135
    with_fp=no ;;
1089
    with_fp=no ;;
1136
 
1090
 
1137
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1091
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1138
  | --no-cr | --no-c | -n)
1092
  | --no-cr | --no-c | -n)
1139
    no_create=yes ;;
1093
    no_create=yes ;;
1140
 
1094
 
1141
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1095
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1142
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1096
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1143
    no_recursion=yes ;;
1097
    no_recursion=yes ;;
1144
 
1098
 
1145
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1099
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1146
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1100
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1147
  | --oldin | --oldi | --old | --ol | --o)
1101
  | --oldin | --oldi | --old | --ol | --o)
1148
    ac_prev=oldincludedir ;;
1102
    ac_prev=oldincludedir ;;
1149
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1103
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1150
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1104
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1151
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1105
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1152
    oldincludedir=$ac_optarg ;;
1106
    oldincludedir=$ac_optarg ;;
1153
 
1107
 
1154
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1108
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1155
    ac_prev=prefix ;;
1109
    ac_prev=prefix ;;
1156
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1110
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1157
    prefix=$ac_optarg ;;
1111
    prefix=$ac_optarg ;;
1158
 
1112
 
1159
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1113
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1160
  | --program-pre | --program-pr | --program-p)
1114
  | --program-pre | --program-pr | --program-p)
1161
    ac_prev=program_prefix ;;
1115
    ac_prev=program_prefix ;;
1162
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1116
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1163
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1117
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1164
    program_prefix=$ac_optarg ;;
1118
    program_prefix=$ac_optarg ;;
1165
 
1119
 
1166
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1120
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1167
  | --program-suf | --program-su | --program-s)
1121
  | --program-suf | --program-su | --program-s)
1168
    ac_prev=program_suffix ;;
1122
    ac_prev=program_suffix ;;
1169
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1123
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1170
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1124
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1171
    program_suffix=$ac_optarg ;;
1125
    program_suffix=$ac_optarg ;;
1172
 
1126
 
1173
  -program-transform-name | --program-transform-name \
1127
  -program-transform-name | --program-transform-name \
1174
  | --program-transform-nam | --program-transform-na \
1128
  | --program-transform-nam | --program-transform-na \
1175
  | --program-transform-n | --program-transform- \
1129
  | --program-transform-n | --program-transform- \
1176
  | --program-transform | --program-transfor \
1130
  | --program-transform | --program-transfor \
1177
  | --program-transfo | --program-transf \
1131
  | --program-transfo | --program-transf \
1178
  | --program-trans | --program-tran \
1132
  | --program-trans | --program-tran \
1179
  | --progr-tra | --program-tr | --program-t)
1133
  | --progr-tra | --program-tr | --program-t)
1180
    ac_prev=program_transform_name ;;
1134
    ac_prev=program_transform_name ;;
1181
  -program-transform-name=* | --program-transform-name=* \
1135
  -program-transform-name=* | --program-transform-name=* \
1182
  | --program-transform-nam=* | --program-transform-na=* \
1136
  | --program-transform-nam=* | --program-transform-na=* \
1183
  | --program-transform-n=* | --program-transform-=* \
1137
  | --program-transform-n=* | --program-transform-=* \
1184
  | --program-transform=* | --program-transfor=* \
1138
  | --program-transform=* | --program-transfor=* \
1185
  | --program-transfo=* | --program-transf=* \
1139
  | --program-transfo=* | --program-transf=* \
1186
  | --program-trans=* | --program-tran=* \
1140
  | --program-trans=* | --program-tran=* \
1187
  | --progr-tra=* | --program-tr=* | --program-t=*)
1141
  | --progr-tra=* | --program-tr=* | --program-t=*)
1188
    program_transform_name=$ac_optarg ;;
1142
    program_transform_name=$ac_optarg ;;
1189
 
1143
 
1190
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1144
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1191
    ac_prev=pdfdir ;;
1145
    ac_prev=pdfdir ;;
1192
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1146
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1193
    pdfdir=$ac_optarg ;;
1147
    pdfdir=$ac_optarg ;;
1194
 
1148
 
1195
  -psdir | --psdir | --psdi | --psd | --ps)
1149
  -psdir | --psdir | --psdi | --psd | --ps)
1196
    ac_prev=psdir ;;
1150
    ac_prev=psdir ;;
1197
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1151
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1198
    psdir=$ac_optarg ;;
1152
    psdir=$ac_optarg ;;
1199
 
1153
 
1200
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1154
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1201
  | -silent | --silent | --silen | --sile | --sil)
1155
  | -silent | --silent | --silen | --sile | --sil)
1202
    silent=yes ;;
1156
    silent=yes ;;
1203
 
1157
 
1204
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1158
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1205
    ac_prev=sbindir ;;
1159
    ac_prev=sbindir ;;
1206
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1160
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1207
  | --sbi=* | --sb=*)
1161
  | --sbi=* | --sb=*)
1208
    sbindir=$ac_optarg ;;
1162
    sbindir=$ac_optarg ;;
1209
 
1163
 
1210
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1164
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1211
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1165
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1212
  | --sharedst | --shareds | --shared | --share | --shar \
1166
  | --sharedst | --shareds | --shared | --share | --shar \
1213
  | --sha | --sh)
1167
  | --sha | --sh)
1214
    ac_prev=sharedstatedir ;;
1168
    ac_prev=sharedstatedir ;;
1215
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1169
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1216
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1170
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1217
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1171
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1218
  | --sha=* | --sh=*)
1172
  | --sha=* | --sh=*)
1219
    sharedstatedir=$ac_optarg ;;
1173
    sharedstatedir=$ac_optarg ;;
1220
 
1174
 
1221
  -site | --site | --sit)
1175
  -site | --site | --sit)
1222
    ac_prev=site ;;
1176
    ac_prev=site ;;
1223
  -site=* | --site=* | --sit=*)
1177
  -site=* | --site=* | --sit=*)
1224
    site=$ac_optarg ;;
1178
    site=$ac_optarg ;;
1225
 
1179
 
1226
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1180
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1227
    ac_prev=srcdir ;;
1181
    ac_prev=srcdir ;;
1228
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1182
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1229
    srcdir=$ac_optarg ;;
1183
    srcdir=$ac_optarg ;;
1230
 
1184
 
1231
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1185
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1232
  | --syscon | --sysco | --sysc | --sys | --sy)
1186
  | --syscon | --sysco | --sysc | --sys | --sy)
1233
    ac_prev=sysconfdir ;;
1187
    ac_prev=sysconfdir ;;
1234
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1188
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1235
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1189
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1236
    sysconfdir=$ac_optarg ;;
1190
    sysconfdir=$ac_optarg ;;
1237
 
1191
 
1238
  -target | --target | --targe | --targ | --tar | --ta | --t)
1192
  -target | --target | --targe | --targ | --tar | --ta | --t)
1239
    ac_prev=target_alias ;;
1193
    ac_prev=target_alias ;;
1240
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1194
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1241
    target_alias=$ac_optarg ;;
1195
    target_alias=$ac_optarg ;;
1242
 
1196
 
1243
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1197
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1244
    verbose=yes ;;
1198
    verbose=yes ;;
1245
 
1199
 
1246
  -version | --version | --versio | --versi | --vers | -V)
1200
  -version | --version | --versio | --versi | --vers | -V)
1247
    ac_init_version=: ;;
1201
    ac_init_version=: ;;
1248
 
1202
 
1249
  -with-* | --with-*)
1203
  -with-* | --with-*)
1250
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1204
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1251
    # Reject names that are not valid shell variable names.
1205
    # Reject names that are not valid shell variable names.
1252
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1206
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1253
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1207
      as_fn_error "invalid package name: $ac_useropt"
1254
   { (exit 1); exit 1; }; }
-
 
1255
    ac_useropt_orig=$ac_useropt
1208
    ac_useropt_orig=$ac_useropt
1256
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1209
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1257
    case $ac_user_opts in
1210
    case $ac_user_opts in
1258
      *"
1211
      *"
1259
"with_$ac_useropt"
1212
"with_$ac_useropt"
1260
"*) ;;
1213
"*) ;;
1261
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1214
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1262
	 ac_unrecognized_sep=', ';;
1215
	 ac_unrecognized_sep=', ';;
1263
    esac
1216
    esac
1264
    eval with_$ac_useropt=\$ac_optarg ;;
1217
    eval with_$ac_useropt=\$ac_optarg ;;
1265
 
1218
 
1266
  -without-* | --without-*)
1219
  -without-* | --without-*)
1267
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1220
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1268
    # Reject names that are not valid shell variable names.
1221
    # Reject names that are not valid shell variable names.
1269
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1222
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1270
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1223
      as_fn_error "invalid package name: $ac_useropt"
1271
   { (exit 1); exit 1; }; }
-
 
1272
    ac_useropt_orig=$ac_useropt
1224
    ac_useropt_orig=$ac_useropt
1273
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1225
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1274
    case $ac_user_opts in
1226
    case $ac_user_opts in
1275
      *"
1227
      *"
1276
"with_$ac_useropt"
1228
"with_$ac_useropt"
1277
"*) ;;
1229
"*) ;;
1278
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1230
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1279
	 ac_unrecognized_sep=', ';;
1231
	 ac_unrecognized_sep=', ';;
1280
    esac
1232
    esac
1281
    eval with_$ac_useropt=no ;;
1233
    eval with_$ac_useropt=no ;;
1282
 
1234
 
1283
  --x)
1235
  --x)
1284
    # Obsolete; use --with-x.
1236
    # Obsolete; use --with-x.
1285
    with_x=yes ;;
1237
    with_x=yes ;;
1286
 
1238
 
1287
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1239
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1288
  | --x-incl | --x-inc | --x-in | --x-i)
1240
  | --x-incl | --x-inc | --x-in | --x-i)
1289
    ac_prev=x_includes ;;
1241
    ac_prev=x_includes ;;
1290
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1242
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1291
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1243
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1292
    x_includes=$ac_optarg ;;
1244
    x_includes=$ac_optarg ;;
1293
 
1245
 
1294
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1246
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1295
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1247
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1296
    ac_prev=x_libraries ;;
1248
    ac_prev=x_libraries ;;
1297
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1249
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1298
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1250
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1299
    x_libraries=$ac_optarg ;;
1251
    x_libraries=$ac_optarg ;;
1300
 
1252
 
1301
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1253
  -*) as_fn_error "unrecognized option: \`$ac_option'
1302
Try \`$0 --help' for more information." >&2
1254
Try \`$0 --help' for more information."
1303
   { (exit 1); exit 1; }; }
-
 
1304
    ;;
1255
    ;;
1305
 
1256
 
1306
  *=*)
1257
  *=*)
1307
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1258
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1308
    # Reject names that are not valid shell variable names.
1259
    # Reject names that are not valid shell variable names.
-
 
1260
    case $ac_envvar in #(
1309
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1261
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1310
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1262
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1311
   { (exit 1); exit 1; }; }
1263
    esac
1312
    eval $ac_envvar=\$ac_optarg
1264
    eval $ac_envvar=\$ac_optarg
1313
    export $ac_envvar ;;
1265
    export $ac_envvar ;;
1314
 
1266
 
1315
  *)
1267
  *)
1316
    # FIXME: should be removed in autoconf 3.0.
1268
    # FIXME: should be removed in autoconf 3.0.
1317
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1269
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1318
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1270
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1319
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1271
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1320
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1272
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1321
    ;;
1273
    ;;
1322
 
1274
 
1323
  esac
1275
  esac
1324
done
1276
done
1325
 
1277
 
1326
if test -n "$ac_prev"; then
1278
if test -n "$ac_prev"; then
1327
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1279
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1328
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1280
  as_fn_error "missing argument to $ac_option"
1329
   { (exit 1); exit 1; }; }
-
 
1330
fi
1281
fi
1331
 
1282
 
1332
if test -n "$ac_unrecognized_opts"; then
1283
if test -n "$ac_unrecognized_opts"; then
1333
  case $enable_option_checking in
1284
  case $enable_option_checking in
1334
    no) ;;
1285
    no) ;;
1335
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1286
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1336
   { (exit 1); exit 1; }; } ;;
-
 
1337
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1287
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1338
  esac
1288
  esac
1339
fi
1289
fi
1340
 
1290
 
1341
# Check all directory arguments for consistency.
1291
# Check all directory arguments for consistency.
1342
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1292
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1343
		datadir sysconfdir sharedstatedir localstatedir includedir \
1293
		datadir sysconfdir sharedstatedir localstatedir includedir \
1344
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1294
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1345
		libdir localedir mandir
1295
		libdir localedir mandir
1346
do
1296
do
1347
  eval ac_val=\$$ac_var
1297
  eval ac_val=\$$ac_var
1348
  # Remove trailing slashes.
1298
  # Remove trailing slashes.
1349
  case $ac_val in
1299
  case $ac_val in
1350
    */ )
1300
    */ )
1351
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1301
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1352
      eval $ac_var=\$ac_val;;
1302
      eval $ac_var=\$ac_val;;
1353
  esac
1303
  esac
1354
  # Be sure to have absolute directory names.
1304
  # Be sure to have absolute directory names.
1355
  case $ac_val in
1305
  case $ac_val in
1356
    [\\/$]* | ?:[\\/]* )  continue;;
1306
    [\\/$]* | ?:[\\/]* )  continue;;
1357
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1307
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1358
  esac
1308
  esac
1359
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1309
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1360
   { (exit 1); exit 1; }; }
-
 
1361
done
1310
done
1362
 
1311
 
1363
# There might be people who depend on the old broken behavior: `$host'
1312
# There might be people who depend on the old broken behavior: `$host'
1364
# used to hold the argument of --host etc.
1313
# used to hold the argument of --host etc.
1365
# FIXME: To remove some day.
1314
# FIXME: To remove some day.
1366
build=$build_alias
1315
build=$build_alias
1367
host=$host_alias
1316
host=$host_alias
1368
target=$target_alias
1317
target=$target_alias
1369
 
1318
 
1370
# FIXME: To remove some day.
1319
# FIXME: To remove some day.
1371
if test "x$host_alias" != x; then
1320
if test "x$host_alias" != x; then
1372
  if test "x$build_alias" = x; then
1321
  if test "x$build_alias" = x; then
1373
    cross_compiling=maybe
1322
    cross_compiling=maybe
1374
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1323
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1375
    If a cross compiler is detected then cross compile mode will be used." >&2
1324
    If a cross compiler is detected then cross compile mode will be used." >&2
1376
  elif test "x$build_alias" != "x$host_alias"; then
1325
  elif test "x$build_alias" != "x$host_alias"; then
1377
    cross_compiling=yes
1326
    cross_compiling=yes
1378
  fi
1327
  fi
1379
fi
1328
fi
1380
 
1329
 
1381
ac_tool_prefix=
1330
ac_tool_prefix=
1382
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1331
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1383
 
1332
 
1384
test "$silent" = yes && exec 6>/dev/null
1333
test "$silent" = yes && exec 6>/dev/null
1385
 
1334
 
1386
 
1335
 
1387
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1336
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1388
ac_ls_di=`ls -di .` &&
1337
ac_ls_di=`ls -di .` &&
1389
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1338
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1390
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1339
  as_fn_error "working directory cannot be determined"
1391
   { (exit 1); exit 1; }; }
-
 
1392
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1340
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1393
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1341
  as_fn_error "pwd does not report name of working directory"
1394
   { (exit 1); exit 1; }; }
-
 
1395
 
1342
 
1396
 
1343
 
1397
# Find the source files, if location was not specified.
1344
# Find the source files, if location was not specified.
1398
if test -z "$srcdir"; then
1345
if test -z "$srcdir"; then
1399
  ac_srcdir_defaulted=yes
1346
  ac_srcdir_defaulted=yes
1400
  # Try the directory containing this script, then the parent directory.
1347
  # Try the directory containing this script, then the parent directory.
1401
  ac_confdir=`$as_dirname -- "$as_myself" ||
1348
  ac_confdir=`$as_dirname -- "$as_myself" ||
1402
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1349
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1403
	 X"$as_myself" : 'X\(//\)[^/]' \| \
1350
	 X"$as_myself" : 'X\(//\)[^/]' \| \
1404
	 X"$as_myself" : 'X\(//\)$' \| \
1351
	 X"$as_myself" : 'X\(//\)$' \| \
1405
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1352
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1406
$as_echo X"$as_myself" |
1353
$as_echo X"$as_myself" |
1407
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1354
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1408
	    s//\1/
1355
	    s//\1/
1409
	    q
1356
	    q
1410
	  }
1357
	  }
1411
	  /^X\(\/\/\)[^/].*/{
1358
	  /^X\(\/\/\)[^/].*/{
1412
	    s//\1/
1359
	    s//\1/
1413
	    q
1360
	    q
1414
	  }
1361
	  }
1415
	  /^X\(\/\/\)$/{
1362
	  /^X\(\/\/\)$/{
1416
	    s//\1/
1363
	    s//\1/
1417
	    q
1364
	    q
1418
	  }
1365
	  }
1419
	  /^X\(\/\).*/{
1366
	  /^X\(\/\).*/{
1420
	    s//\1/
1367
	    s//\1/
1421
	    q
1368
	    q
1422
	  }
1369
	  }
1423
	  s/.*/./; q'`
1370
	  s/.*/./; q'`
1424
  srcdir=$ac_confdir
1371
  srcdir=$ac_confdir
1425
  if test ! -r "$srcdir/$ac_unique_file"; then
1372
  if test ! -r "$srcdir/$ac_unique_file"; then
1426
    srcdir=..
1373
    srcdir=..
1427
  fi
1374
  fi
1428
else
1375
else
1429
  ac_srcdir_defaulted=no
1376
  ac_srcdir_defaulted=no
1430
fi
1377
fi
1431
if test ! -r "$srcdir/$ac_unique_file"; then
1378
if test ! -r "$srcdir/$ac_unique_file"; then
1432
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1379
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1433
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1380
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1434
   { (exit 1); exit 1; }; }
-
 
1435
fi
1381
fi
1436
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1382
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1437
ac_abs_confdir=`(
1383
ac_abs_confdir=`(
1438
	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1384
	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1439
   { (exit 1); exit 1; }; }
-
 
1440
	pwd)`
1385
	pwd)`
1441
# When building in place, set srcdir=.
1386
# When building in place, set srcdir=.
1442
if test "$ac_abs_confdir" = "$ac_pwd"; then
1387
if test "$ac_abs_confdir" = "$ac_pwd"; then
1443
  srcdir=.
1388
  srcdir=.
1444
fi
1389
fi
1445
# Remove unnecessary trailing slashes from srcdir.
1390
# Remove unnecessary trailing slashes from srcdir.
1446
# Double slashes in file names in object file debugging info
1391
# Double slashes in file names in object file debugging info
1447
# mess up M-x gdb in Emacs.
1392
# mess up M-x gdb in Emacs.
1448
case $srcdir in
1393
case $srcdir in
1449
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1394
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1450
esac
1395
esac
1451
for ac_var in $ac_precious_vars; do
1396
for ac_var in $ac_precious_vars; do
1452
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1397
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1453
  eval ac_env_${ac_var}_value=\$${ac_var}
1398
  eval ac_env_${ac_var}_value=\$${ac_var}
1454
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1399
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1455
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1400
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1456
done
1401
done
1457
 
1402
 
1458
#
1403
#
1459
# Report the --help message.
1404
# Report the --help message.
1460
#
1405
#
1461
if test "$ac_init_help" = "long"; then
1406
if test "$ac_init_help" = "long"; then
1462
  # Omit some internal or obsolete options to make the list less imposing.
1407
  # Omit some internal or obsolete options to make the list less imposing.
1463
  # This message is too long to be a string in the A/UX 3.1 sh.
1408
  # This message is too long to be a string in the A/UX 3.1 sh.
1464
  cat <<_ACEOF
1409
  cat <<_ACEOF
1465
\`configure' configures this package to adapt to many kinds of systems.
1410
\`configure' configures this package to adapt to many kinds of systems.
1466
 
1411
 
1467
Usage: $0 [OPTION]... [VAR=VALUE]...
1412
Usage: $0 [OPTION]... [VAR=VALUE]...
1468
 
1413
 
1469
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1414
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1470
VAR=VALUE.  See below for descriptions of some of the useful variables.
1415
VAR=VALUE.  See below for descriptions of some of the useful variables.
1471
 
1416
 
1472
Defaults for the options are specified in brackets.
1417
Defaults for the options are specified in brackets.
1473
 
1418
 
1474
Configuration:
1419
Configuration:
1475
  -h, --help              display this help and exit
1420
  -h, --help              display this help and exit
1476
      --help=short        display options specific to this package
1421
      --help=short        display options specific to this package
1477
      --help=recursive    display the short help of all the included packages
1422
      --help=recursive    display the short help of all the included packages
1478
  -V, --version           display version information and exit
1423
  -V, --version           display version information and exit
1479
  -q, --quiet, --silent   do not print \`checking...' messages
1424
  -q, --quiet, --silent   do not print \`checking...' messages
1480
      --cache-file=FILE   cache test results in FILE [disabled]
1425
      --cache-file=FILE   cache test results in FILE [disabled]
1481
  -C, --config-cache      alias for \`--cache-file=config.cache'
1426
  -C, --config-cache      alias for \`--cache-file=config.cache'
1482
  -n, --no-create         do not create output files
1427
  -n, --no-create         do not create output files
1483
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1428
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1484
 
1429
 
1485
Installation directories:
1430
Installation directories:
1486
  --prefix=PREFIX         install architecture-independent files in PREFIX
1431
  --prefix=PREFIX         install architecture-independent files in PREFIX
1487
                          [$ac_default_prefix]
1432
                          [$ac_default_prefix]
1488
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1433
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1489
                          [PREFIX]
1434
                          [PREFIX]
1490
 
1435
 
1491
By default, \`make install' will install all the files in
1436
By default, \`make install' will install all the files in
1492
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1437
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1493
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1438
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1494
for instance \`--prefix=\$HOME'.
1439
for instance \`--prefix=\$HOME'.
1495
 
1440
 
1496
For better control, use the options below.
1441
For better control, use the options below.
1497
 
1442
 
1498
Fine tuning of the installation directories:
1443
Fine tuning of the installation directories:
1499
  --bindir=DIR            user executables [EPREFIX/bin]
1444
  --bindir=DIR            user executables [EPREFIX/bin]
1500
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1445
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1501
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1446
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1502
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1447
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1503
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1448
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1504
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1449
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1505
  --libdir=DIR            object code libraries [EPREFIX/lib]
1450
  --libdir=DIR            object code libraries [EPREFIX/lib]
1506
  --includedir=DIR        C header files [PREFIX/include]
1451
  --includedir=DIR        C header files [PREFIX/include]
1507
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1452
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1508
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1453
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1509
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1454
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1510
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1455
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1511
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1456
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1512
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1457
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1513
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1458
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1514
  --htmldir=DIR           html documentation [DOCDIR]
1459
  --htmldir=DIR           html documentation [DOCDIR]
1515
  --dvidir=DIR            dvi documentation [DOCDIR]
1460
  --dvidir=DIR            dvi documentation [DOCDIR]
1516
  --pdfdir=DIR            pdf documentation [DOCDIR]
1461
  --pdfdir=DIR            pdf documentation [DOCDIR]
1517
  --psdir=DIR             ps documentation [DOCDIR]
1462
  --psdir=DIR             ps documentation [DOCDIR]
1518
_ACEOF
1463
_ACEOF
1519
 
1464
 
1520
  cat <<\_ACEOF
1465
  cat <<\_ACEOF
1521
 
1466
 
1522
Program names:
1467
Program names:
1523
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1468
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1524
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1469
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1525
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1470
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1526
 
1471
 
1527
System types:
1472
System types:
1528
  --build=BUILD     configure for building on BUILD [guessed]
1473
  --build=BUILD     configure for building on BUILD [guessed]
1529
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1474
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1530
_ACEOF
1475
_ACEOF
1531
fi
1476
fi
1532
 
1477
 
1533
if test -n "$ac_init_help"; then
1478
if test -n "$ac_init_help"; then
1534
 
1479
 
1535
  cat <<\_ACEOF
1480
  cat <<\_ACEOF
1536
 
1481
 
1537
Optional Features:
1482
Optional Features:
1538
  --disable-option-checking  ignore unrecognized --enable/--with options
1483
  --disable-option-checking  ignore unrecognized --enable/--with options
1539
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1484
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1540
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1485
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1541
  --disable-dependency-tracking  speeds up one-time build
1486
  --disable-dependency-tracking  speeds up one-time build
1542
  --enable-dependency-tracking   do not reject slow dependency extractors
1487
  --enable-dependency-tracking   do not reject slow dependency extractors
1543
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1488
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1544
  --enable-static[=PKGS]  build static libraries [default=yes]
1489
  --enable-static[=PKGS]  build static libraries [default=yes]
1545
  --enable-fast-install[=PKGS]
1490
  --enable-fast-install[=PKGS]
1546
                          optimize for fast installation [default=yes]
1491
                          optimize for fast installation [default=yes]
1547
  --disable-libtool-lock  avoid locking (might break parallel builds)
1492
  --disable-libtool-lock  avoid locking (might break parallel builds)
1548
 
1493
 
1549
Optional Packages:
1494
Optional Packages:
1550
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1495
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1551
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1496
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1552
  --with-pic              try to use only PIC/non-PIC objects [default=use
1497
  --with-pic              try to use only PIC/non-PIC objects [default=use
1553
                          both]
1498
                          both]
1554
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1499
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1555
 
1500
 
1556
Some influential environment variables:
1501
Some influential environment variables:
1557
  CC          C compiler command
1502
  CC          C compiler command
1558
  CFLAGS      C compiler flags
1503
  CFLAGS      C compiler flags
1559
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1504
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1560
              nonstandard directory <lib dir>
1505
              nonstandard directory <lib dir>
1561
  LIBS        libraries to pass to the linker, e.g. -l<library>
1506
  LIBS        libraries to pass to the linker, e.g. -l<library>
1562
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1507
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1563
              you have headers in a nonstandard directory <include dir>
1508
              you have headers in a nonstandard directory <include dir>
1564
  CPP         C preprocessor
1509
  CPP         C preprocessor
1565
 
1510
 
1566
Use these variables to override the choices made by `configure' or to help
1511
Use these variables to override the choices made by `configure' or to help
1567
it to find libraries and programs with nonstandard names/locations.
1512
it to find libraries and programs with nonstandard names/locations.
1568
 
1513
 
-
 
1514
Report bugs to the package provider.
1569
_ACEOF
1515
_ACEOF
1570
ac_status=$?
1516
ac_status=$?
1571
fi
1517
fi
1572
 
1518
 
1573
if test "$ac_init_help" = "recursive"; then
1519
if test "$ac_init_help" = "recursive"; then
1574
  # If there are subdirs, report their specific --help.
1520
  # If there are subdirs, report their specific --help.
1575
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1521
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1576
    test -d "$ac_dir" ||
1522
    test -d "$ac_dir" ||
1577
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1523
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1578
      continue
1524
      continue
1579
    ac_builddir=.
1525
    ac_builddir=.
1580
 
1526
 
1581
case "$ac_dir" in
1527
case "$ac_dir" in
1582
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1583
*)
1529
*)
1584
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1530
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1585
  # A ".." for each directory in $ac_dir_suffix.
1531
  # A ".." for each directory in $ac_dir_suffix.
1586
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1532
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1587
  case $ac_top_builddir_sub in
1533
  case $ac_top_builddir_sub in
1588
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1589
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1535
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1590
  esac ;;
1536
  esac ;;
1591
esac
1537
esac
1592
ac_abs_top_builddir=$ac_pwd
1538
ac_abs_top_builddir=$ac_pwd
1593
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1539
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1594
# for backward compatibility:
1540
# for backward compatibility:
1595
ac_top_builddir=$ac_top_build_prefix
1541
ac_top_builddir=$ac_top_build_prefix
1596
 
1542
 
1597
case $srcdir in
1543
case $srcdir in
1598
  .)  # We are building in place.
1544
  .)  # We are building in place.
1599
    ac_srcdir=.
1545
    ac_srcdir=.
1600
    ac_top_srcdir=$ac_top_builddir_sub
1546
    ac_top_srcdir=$ac_top_builddir_sub
1601
    ac_abs_top_srcdir=$ac_pwd ;;
1547
    ac_abs_top_srcdir=$ac_pwd ;;
1602
  [\\/]* | ?:[\\/]* )  # Absolute name.
1548
  [\\/]* | ?:[\\/]* )  # Absolute name.
1603
    ac_srcdir=$srcdir$ac_dir_suffix;
1549
    ac_srcdir=$srcdir$ac_dir_suffix;
1604
    ac_top_srcdir=$srcdir
1550
    ac_top_srcdir=$srcdir
1605
    ac_abs_top_srcdir=$srcdir ;;
1551
    ac_abs_top_srcdir=$srcdir ;;
1606
  *) # Relative name.
1552
  *) # Relative name.
1607
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1553
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1608
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1554
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1609
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1555
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1610
esac
1556
esac
1611
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1557
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1612
 
1558
 
1613
    cd "$ac_dir" || { ac_status=$?; continue; }
1559
    cd "$ac_dir" || { ac_status=$?; continue; }
1614
    # Check for guested configure.
1560
    # Check for guested configure.
1615
    if test -f "$ac_srcdir/configure.gnu"; then
1561
    if test -f "$ac_srcdir/configure.gnu"; then
1616
      echo &&
1562
      echo &&
1617
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1563
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1618
    elif test -f "$ac_srcdir/configure"; then
1564
    elif test -f "$ac_srcdir/configure"; then
1619
      echo &&
1565
      echo &&
1620
      $SHELL "$ac_srcdir/configure" --help=recursive
1566
      $SHELL "$ac_srcdir/configure" --help=recursive
1621
    else
1567
    else
1622
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1568
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1623
    fi || ac_status=$?
1569
    fi || ac_status=$?
1624
    cd "$ac_pwd" || { ac_status=$?; break; }
1570
    cd "$ac_pwd" || { ac_status=$?; break; }
1625
  done
1571
  done
1626
fi
1572
fi
1627
 
1573
 
1628
test -n "$ac_init_help" && exit $ac_status
1574
test -n "$ac_init_help" && exit $ac_status
1629
if $ac_init_version; then
1575
if $ac_init_version; then
1630
  cat <<\_ACEOF
1576
  cat <<\_ACEOF
1631
configure
1577
configure
1632
generated by GNU Autoconf 2.63
1578
generated by GNU Autoconf 2.64
1633
 
1579
 
1634
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-
 
1635
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1580
Copyright (C) 2009 Free Software Foundation, Inc.
1636
This configure script is free software; the Free Software Foundation
1581
This configure script is free software; the Free Software Foundation
1637
gives unlimited permission to copy, distribute and modify it.
1582
gives unlimited permission to copy, distribute and modify it.
1638
_ACEOF
1583
_ACEOF
1639
  exit
1584
  exit
1640
fi
1585
fi
-
 
1586
 
-
 
1587
## ------------------------ ##
-
 
1588
## Autoconf initialization. ##
-
 
1589
## ------------------------ ##
-
 
1590
 
-
 
1591
# ac_fn_c_try_compile LINENO
-
 
1592
# --------------------------
-
 
1593
# Try to compile conftest.$ac_ext, and return whether this succeeded.
-
 
1594
ac_fn_c_try_compile ()
-
 
1595
{
-
 
1596
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-
 
1597
  rm -f conftest.$ac_objext
-
 
1598
  if { { ac_try="$ac_compile"
-
 
1599
case "(($ac_try" in
-
 
1600
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
1601
  *) ac_try_echo=$ac_try;;
-
 
1602
esac
-
 
1603
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-
 
1604
$as_echo "$ac_try_echo"; } >&5
-
 
1605
  (eval "$ac_compile") 2>conftest.err
-
 
1606
  ac_status=$?
-
 
1607
  if test -s conftest.err; then
-
 
1608
    grep -v '^ *+' conftest.err >conftest.er1
-
 
1609
    cat conftest.er1 >&5
-
 
1610
    mv -f conftest.er1 conftest.err
-
 
1611
  fi
-
 
1612
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-
 
1613
  test $ac_status = 0; } && {
-
 
1614
	 test -z "$ac_c_werror_flag" ||
-
 
1615
	 test ! -s conftest.err
-
 
1616
       } && test -s conftest.$ac_objext; then :
-
 
1617
  ac_retval=0
-
 
1618
else
-
 
1619
  $as_echo "$as_me: failed program was:" >&5
-
 
1620
sed 's/^/| /' conftest.$ac_ext >&5
-
 
1621
 
-
 
1622
	ac_retval=1
-
 
1623
fi
-
 
1624
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-
 
1625
  return $ac_retval
-
 
1626
 
-
 
1627
} # ac_fn_c_try_compile
-
 
1628
 
-
 
1629
# ac_fn_c_try_link LINENO
-
 
1630
# -----------------------
-
 
1631
# Try to link conftest.$ac_ext, and return whether this succeeded.
-
 
1632
ac_fn_c_try_link ()
-
 
1633
{
-
 
1634
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-
 
1635
  rm -f conftest.$ac_objext conftest$ac_exeext
-
 
1636
  if { { ac_try="$ac_link"
-
 
1637
case "(($ac_try" in
-
 
1638
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
1639
  *) ac_try_echo=$ac_try;;
-
 
1640
esac
-
 
1641
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-
 
1642
$as_echo "$ac_try_echo"; } >&5
-
 
1643
  (eval "$ac_link") 2>conftest.err
-
 
1644
  ac_status=$?
-
 
1645
  if test -s conftest.err; then
-
 
1646
    grep -v '^ *+' conftest.err >conftest.er1
-
 
1647
    cat conftest.er1 >&5
-
 
1648
    mv -f conftest.er1 conftest.err
-
 
1649
  fi
-
 
1650
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-
 
1651
  test $ac_status = 0; } && {
-
 
1652
	 test -z "$ac_c_werror_flag" ||
-
 
1653
	 test ! -s conftest.err
-
 
1654
       } && test -s conftest$ac_exeext && {
-
 
1655
	 test "$cross_compiling" = yes ||
-
 
1656
	 $as_test_x conftest$ac_exeext
-
 
1657
       }; then :
-
 
1658
  ac_retval=0
-
 
1659
else
-
 
1660
  $as_echo "$as_me: failed program was:" >&5
-
 
1661
sed 's/^/| /' conftest.$ac_ext >&5
-
 
1662
 
-
 
1663
	ac_retval=1
-
 
1664
fi
-
 
1665
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
-
 
1666
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
-
 
1667
  # interfere with the next link command; also delete a directory that is
-
 
1668
  # left behind by Apple's compiler.  We do this before executing the actions.
-
 
1669
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-
 
1670
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-
 
1671
  return $ac_retval
-
 
1672
 
-
 
1673
} # ac_fn_c_try_link
-
 
1674
 
-
 
1675
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
-
 
1676
# -------------------------------------------------------
-
 
1677
# Tests whether HEADER exists and can be compiled using the include files in
-
 
1678
# INCLUDES, setting the cache variable VAR accordingly.
-
 
1679
ac_fn_c_check_header_compile ()
-
 
1680
{
-
 
1681
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-
 
1682
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-
 
1683
$as_echo_n "checking for $2... " >&6; }
-
 
1684
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
-
 
1685
  $as_echo_n "(cached) " >&6
-
 
1686
else
-
 
1687
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-
 
1688
/* end confdefs.h.  */
-
 
1689
$4
-
 
1690
#include <$2>
-
 
1691
_ACEOF
-
 
1692
if ac_fn_c_try_compile "$LINENO"; then :
-
 
1693
  eval "$3=yes"
-
 
1694
else
-
 
1695
  eval "$3=no"
-
 
1696
fi
-
 
1697
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
 
1698
fi
-
 
1699
eval ac_res=\$$3
-
 
1700
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-
 
1701
$as_echo "$ac_res" >&6; }
-
 
1702
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-
 
1703
 
-
 
1704
} # ac_fn_c_check_header_compile
-
 
1705
 
-
 
1706
# ac_fn_c_try_cpp LINENO
-
 
1707
# ----------------------
-
 
1708
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
-
 
1709
ac_fn_c_try_cpp ()
-
 
1710
{
-
 
1711
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-
 
1712
  if { { ac_try="$ac_cpp conftest.$ac_ext"
-
 
1713
case "(($ac_try" in
-
 
1714
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
1715
  *) ac_try_echo=$ac_try;;
-
 
1716
esac
-
 
1717
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-
 
1718
$as_echo "$ac_try_echo"; } >&5
-
 
1719
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
-
 
1720
  ac_status=$?
-
 
1721
  if test -s conftest.err; then
-
 
1722
    grep -v '^ *+' conftest.err >conftest.er1
-
 
1723
    cat conftest.er1 >&5
-
 
1724
    mv -f conftest.er1 conftest.err
-
 
1725
  fi
-
 
1726
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-
 
1727
  test $ac_status = 0; } >/dev/null && {
-
 
1728
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-
 
1729
	 test ! -s conftest.err
-
 
1730
       }; then :
-
 
1731
  ac_retval=0
-
 
1732
else
-
 
1733
  $as_echo "$as_me: failed program was:" >&5
-
 
1734
sed 's/^/| /' conftest.$ac_ext >&5
-
 
1735
 
-
 
1736
    ac_retval=1
-
 
1737
fi
-
 
1738
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-
 
1739
  return $ac_retval
-
 
1740
 
-
 
1741
} # ac_fn_c_try_cpp
-
 
1742
 
-
 
1743
# ac_fn_c_try_run LINENO
-
 
1744
# ----------------------
-
 
1745
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
-
 
1746
# that executables *can* be run.
-
 
1747
ac_fn_c_try_run ()
-
 
1748
{
-
 
1749
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-
 
1750
  if { { ac_try="$ac_link"
-
 
1751
case "(($ac_try" in
-
 
1752
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
1753
  *) ac_try_echo=$ac_try;;
-
 
1754
esac
-
 
1755
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-
 
1756
$as_echo "$ac_try_echo"; } >&5
-
 
1757
  (eval "$ac_link") 2>&5
-
 
1758
  ac_status=$?
-
 
1759
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-
 
1760
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
-
 
1761
  { { case "(($ac_try" in
-
 
1762
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
1763
  *) ac_try_echo=$ac_try;;
-
 
1764
esac
-
 
1765
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-
 
1766
$as_echo "$ac_try_echo"; } >&5
-
 
1767
  (eval "$ac_try") 2>&5
-
 
1768
  ac_status=$?
-
 
1769
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-
 
1770
  test $ac_status = 0; }; }; then :
-
 
1771
  ac_retval=0
-
 
1772
else
-
 
1773
  $as_echo "$as_me: program exited with status $ac_status" >&5
-
 
1774
       $as_echo "$as_me: failed program was:" >&5
-
 
1775
sed 's/^/| /' conftest.$ac_ext >&5
-
 
1776
 
-
 
1777
       ac_retval=$ac_status
-
 
1778
fi
-
 
1779
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-
 
1780
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-
 
1781
  return $ac_retval
-
 
1782
 
-
 
1783
} # ac_fn_c_try_run
-
 
1784
 
-
 
1785
# ac_fn_c_check_func LINENO FUNC VAR
-
 
1786
# ----------------------------------
-
 
1787
# Tests whether FUNC exists, setting the cache variable VAR accordingly
-
 
1788
ac_fn_c_check_func ()
-
 
1789
{
-
 
1790
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-
 
1791
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-
 
1792
$as_echo_n "checking for $2... " >&6; }
-
 
1793
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
-
 
1794
  $as_echo_n "(cached) " >&6
-
 
1795
else
-
 
1796
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-
 
1797
/* end confdefs.h.  */
-
 
1798
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
-
 
1799
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-
 
1800
#define $2 innocuous_$2
-
 
1801
 
-
 
1802
/* System header to define __stub macros and hopefully few prototypes,
-
 
1803
    which can conflict with char $2 (); below.
-
 
1804
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-
 
1805
    <limits.h> exists even on freestanding compilers.  */
-
 
1806
 
-
 
1807
#ifdef __STDC__
-
 
1808
# include <limits.h>
-
 
1809
#else
-
 
1810
# include <assert.h>
-
 
1811
#endif
-
 
1812
 
-
 
1813
#undef $2
-
 
1814
 
-
 
1815
/* Override any GCC internal prototype to avoid an error.
-
 
1816
   Use char because int might match the return type of a GCC
-
 
1817
   builtin and then its argument prototype would still apply.  */
-
 
1818
#ifdef __cplusplus
-
 
1819
extern "C"
-
 
1820
#endif
-
 
1821
char $2 ();
-
 
1822
/* The GNU C library defines this for functions which it implements
-
 
1823
    to always fail with ENOSYS.  Some functions are actually named
-
 
1824
    something starting with __ and the normal name is an alias.  */
-
 
1825
#if defined __stub_$2 || defined __stub___$2
-
 
1826
choke me
-
 
1827
#endif
-
 
1828
 
-
 
1829
int
-
 
1830
main ()
-
 
1831
{
-
 
1832
return $2 ();
-
 
1833
  ;
-
 
1834
  return 0;
-
 
1835
}
-
 
1836
_ACEOF
-
 
1837
if ac_fn_c_try_link "$LINENO"; then :
-
 
1838
  eval "$3=yes"
-
 
1839
else
-
 
1840
  eval "$3=no"
-
 
1841
fi
-
 
1842
rm -f core conftest.err conftest.$ac_objext \
-
 
1843
    conftest$ac_exeext conftest.$ac_ext
-
 
1844
fi
-
 
1845
eval ac_res=\$$3
-
 
1846
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-
 
1847
$as_echo "$ac_res" >&6; }
-
 
1848
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-
 
1849
 
-
 
1850
} # ac_fn_c_check_func
1641
cat >config.log <<_ACEOF
1851
cat >config.log <<_ACEOF
1642
This file contains any messages produced by compilers while
1852
This file contains any messages produced by compilers while
1643
running configure, to aid debugging if configure makes a mistake.
1853
running configure, to aid debugging if configure makes a mistake.
1644
 
1854
 
1645
It was created by $as_me, which was
1855
It was created by $as_me, which was
1646
generated by GNU Autoconf 2.63.  Invocation command line was
1856
generated by GNU Autoconf 2.64.  Invocation command line was
1647
 
1857
 
1648
  $ $0 $@
1858
  $ $0 $@
1649
 
1859
 
1650
_ACEOF
1860
_ACEOF
1651
exec 5>>config.log
1861
exec 5>>config.log
1652
{
1862
{
1653
cat <<_ASUNAME
1863
cat <<_ASUNAME
1654
## --------- ##
1864
## --------- ##
1655
## Platform. ##
1865
## Platform. ##
1656
## --------- ##
1866
## --------- ##
1657
 
1867
 
1658
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1868
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1659
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1869
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1660
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1870
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1661
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1871
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1662
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1872
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1663
 
1873
 
1664
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1874
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1665
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1875
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1666
 
1876
 
1667
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1877
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1668
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1878
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1669
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1879
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1670
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1880
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1671
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1881
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1672
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1882
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1673
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1883
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1674
 
1884
 
1675
_ASUNAME
1885
_ASUNAME
1676
 
1886
 
1677
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1678
for as_dir in $PATH
1888
for as_dir in $PATH
1679
do
1889
do
1680
  IFS=$as_save_IFS
1890
  IFS=$as_save_IFS
1681
  test -z "$as_dir" && as_dir=.
1891
  test -z "$as_dir" && as_dir=.
1682
  $as_echo "PATH: $as_dir"
1892
    $as_echo "PATH: $as_dir"
1683
done
1893
  done
1684
IFS=$as_save_IFS
1894
IFS=$as_save_IFS
1685
 
1895
 
1686
} >&5
1896
} >&5
1687
 
1897
 
1688
cat >&5 <<_ACEOF
1898
cat >&5 <<_ACEOF
1689
 
1899
 
1690
 
1900
 
1691
## ----------- ##
1901
## ----------- ##
1692
## Core tests. ##
1902
## Core tests. ##
1693
## ----------- ##
1903
## ----------- ##
1694
 
1904
 
1695
_ACEOF
1905
_ACEOF
1696
 
1906
 
1697
 
1907
 
1698
# Keep a trace of the command line.
1908
# Keep a trace of the command line.
1699
# Strip out --no-create and --no-recursion so they do not pile up.
1909
# Strip out --no-create and --no-recursion so they do not pile up.
1700
# Strip out --silent because we don't want to record it for future runs.
1910
# Strip out --silent because we don't want to record it for future runs.
1701
# Also quote any args containing shell meta-characters.
1911
# Also quote any args containing shell meta-characters.
1702
# Make two passes to allow for proper duplicate-argument suppression.
1912
# Make two passes to allow for proper duplicate-argument suppression.
1703
ac_configure_args=
1913
ac_configure_args=
1704
ac_configure_args0=
1914
ac_configure_args0=
1705
ac_configure_args1=
1915
ac_configure_args1=
1706
ac_must_keep_next=false
1916
ac_must_keep_next=false
1707
for ac_pass in 1 2
1917
for ac_pass in 1 2
1708
do
1918
do
1709
  for ac_arg
1919
  for ac_arg
1710
  do
1920
  do
1711
    case $ac_arg in
1921
    case $ac_arg in
1712
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1922
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1713
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1923
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1714
    | -silent | --silent | --silen | --sile | --sil)
1924
    | -silent | --silent | --silen | --sile | --sil)
1715
      continue ;;
1925
      continue ;;
1716
    *\'*)
1926
    *\'*)
1717
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1927
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1718
    esac
1928
    esac
1719
    case $ac_pass in
1929
    case $ac_pass in
1720
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1930
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1721
    2)
1931
    2)
1722
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1932
      as_fn_append ac_configure_args1 " '$ac_arg'"
1723
      if test $ac_must_keep_next = true; then
1933
      if test $ac_must_keep_next = true; then
1724
	ac_must_keep_next=false # Got value, back to normal.
1934
	ac_must_keep_next=false # Got value, back to normal.
1725
      else
1935
      else
1726
	case $ac_arg in
1936
	case $ac_arg in
1727
	  *=* | --config-cache | -C | -disable-* | --disable-* \
1937
	  *=* | --config-cache | -C | -disable-* | --disable-* \
1728
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1938
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1729
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1939
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1730
	  | -with-* | --with-* | -without-* | --without-* | --x)
1940
	  | -with-* | --with-* | -without-* | --without-* | --x)
1731
	    case "$ac_configure_args0 " in
1941
	    case "$ac_configure_args0 " in
1732
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1942
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1733
	    esac
1943
	    esac
1734
	    ;;
1944
	    ;;
1735
	  -* ) ac_must_keep_next=true ;;
1945
	  -* ) ac_must_keep_next=true ;;
1736
	esac
1946
	esac
1737
      fi
1947
      fi
1738
      ac_configure_args="$ac_configure_args '$ac_arg'"
1948
      as_fn_append ac_configure_args " '$ac_arg'"
1739
      ;;
1949
      ;;
1740
    esac
1950
    esac
1741
  done
1951
  done
1742
done
1952
done
1743
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1953
{ ac_configure_args0=; unset ac_configure_args0;}
1744
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1954
{ ac_configure_args1=; unset ac_configure_args1;}
1745
 
1955
 
1746
# When interrupted or exit'd, cleanup temporary files, and complete
1956
# When interrupted or exit'd, cleanup temporary files, and complete
1747
# config.log.  We remove comments because anyway the quotes in there
1957
# config.log.  We remove comments because anyway the quotes in there
1748
# would cause problems or look ugly.
1958
# would cause problems or look ugly.
1749
# WARNING: Use '\'' to represent an apostrophe within the trap.
1959
# WARNING: Use '\'' to represent an apostrophe within the trap.
1750
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1960
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1751
trap 'exit_status=$?
1961
trap 'exit_status=$?
1752
  # Save into config.log some information that might help in debugging.
1962
  # Save into config.log some information that might help in debugging.
1753
  {
1963
  {
1754
    echo
1964
    echo
1755
 
1965
 
1756
    cat <<\_ASBOX
1966
    cat <<\_ASBOX
1757
## ---------------- ##
1967
## ---------------- ##
1758
## Cache variables. ##
1968
## Cache variables. ##
1759
## ---------------- ##
1969
## ---------------- ##
1760
_ASBOX
1970
_ASBOX
1761
    echo
1971
    echo
1762
    # The following way of writing the cache mishandles newlines in values,
1972
    # The following way of writing the cache mishandles newlines in values,
1763
(
1973
(
1764
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1974
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1765
    eval ac_val=\$$ac_var
1975
    eval ac_val=\$$ac_var
1766
    case $ac_val in #(
1976
    case $ac_val in #(
1767
    *${as_nl}*)
1977
    *${as_nl}*)
1768
      case $ac_var in #(
1978
      case $ac_var in #(
1769
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1979
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1770
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1980
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1771
      esac
1981
      esac
1772
      case $ac_var in #(
1982
      case $ac_var in #(
1773
      _ | IFS | as_nl) ;; #(
1983
      _ | IFS | as_nl) ;; #(
1774
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1984
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1775
      *) $as_unset $ac_var ;;
1985
      *) { eval $ac_var=; unset $ac_var;} ;;
1776
      esac ;;
1986
      esac ;;
1777
    esac
1987
    esac
1778
  done
1988
  done
1779
  (set) 2>&1 |
1989
  (set) 2>&1 |
1780
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1990
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1781
    *${as_nl}ac_space=\ *)
1991
    *${as_nl}ac_space=\ *)
1782
      sed -n \
1992
      sed -n \
1783
	"s/'\''/'\''\\\\'\'''\''/g;
1993
	"s/'\''/'\''\\\\'\'''\''/g;
1784
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1994
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1785
      ;; #(
1995
      ;; #(
1786
    *)
1996
    *)
1787
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1997
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1788
      ;;
1998
      ;;
1789
    esac |
1999
    esac |
1790
    sort
2000
    sort
1791
)
2001
)
1792
    echo
2002
    echo
1793
 
2003
 
1794
    cat <<\_ASBOX
2004
    cat <<\_ASBOX
1795
## ----------------- ##
2005
## ----------------- ##
1796
## Output variables. ##
2006
## Output variables. ##
1797
## ----------------- ##
2007
## ----------------- ##
1798
_ASBOX
2008
_ASBOX
1799
    echo
2009
    echo
1800
    for ac_var in $ac_subst_vars
2010
    for ac_var in $ac_subst_vars
1801
    do
2011
    do
1802
      eval ac_val=\$$ac_var
2012
      eval ac_val=\$$ac_var
1803
      case $ac_val in
2013
      case $ac_val in
1804
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2014
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1805
      esac
2015
      esac
1806
      $as_echo "$ac_var='\''$ac_val'\''"
2016
      $as_echo "$ac_var='\''$ac_val'\''"
1807
    done | sort
2017
    done | sort
1808
    echo
2018
    echo
1809
 
2019
 
1810
    if test -n "$ac_subst_files"; then
2020
    if test -n "$ac_subst_files"; then
1811
      cat <<\_ASBOX
2021
      cat <<\_ASBOX
1812
## ------------------- ##
2022
## ------------------- ##
1813
## File substitutions. ##
2023
## File substitutions. ##
1814
## ------------------- ##
2024
## ------------------- ##
1815
_ASBOX
2025
_ASBOX
1816
      echo
2026
      echo
1817
      for ac_var in $ac_subst_files
2027
      for ac_var in $ac_subst_files
1818
      do
2028
      do
1819
	eval ac_val=\$$ac_var
2029
	eval ac_val=\$$ac_var
1820
	case $ac_val in
2030
	case $ac_val in
1821
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2031
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1822
	esac
2032
	esac
1823
	$as_echo "$ac_var='\''$ac_val'\''"
2033
	$as_echo "$ac_var='\''$ac_val'\''"
1824
      done | sort
2034
      done | sort
1825
      echo
2035
      echo
1826
    fi
2036
    fi
1827
 
2037
 
1828
    if test -s confdefs.h; then
2038
    if test -s confdefs.h; then
1829
      cat <<\_ASBOX
2039
      cat <<\_ASBOX
1830
## ----------- ##
2040
## ----------- ##
1831
## confdefs.h. ##
2041
## confdefs.h. ##
1832
## ----------- ##
2042
## ----------- ##
1833
_ASBOX
2043
_ASBOX
1834
      echo
2044
      echo
1835
      cat confdefs.h
2045
      cat confdefs.h
1836
      echo
2046
      echo
1837
    fi
2047
    fi
1838
    test "$ac_signal" != 0 &&
2048
    test "$ac_signal" != 0 &&
1839
      $as_echo "$as_me: caught signal $ac_signal"
2049
      $as_echo "$as_me: caught signal $ac_signal"
1840
    $as_echo "$as_me: exit $exit_status"
2050
    $as_echo "$as_me: exit $exit_status"
1841
  } >&5
2051
  } >&5
1842
  rm -f core *.core core.conftest.* &&
2052
  rm -f core *.core core.conftest.* &&
1843
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2053
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1844
    exit $exit_status
2054
    exit $exit_status
1845
' 0
2055
' 0
1846
for ac_signal in 1 2 13 15; do
2056
for ac_signal in 1 2 13 15; do
1847
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2057
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1848
done
2058
done
1849
ac_signal=0
2059
ac_signal=0
1850
 
2060
 
1851
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2061
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1852
rm -f -r conftest* confdefs.h
2062
rm -f -r conftest* confdefs.h
1853
 
2063
 
-
 
2064
$as_echo "/* confdefs.h */" > confdefs.h
-
 
2065
 
1854
# Predefined preprocessor variables.
2066
# Predefined preprocessor variables.
1855
 
2067
 
1856
cat >>confdefs.h <<_ACEOF
2068
cat >>confdefs.h <<_ACEOF
1857
#define PACKAGE_NAME "$PACKAGE_NAME"
2069
#define PACKAGE_NAME "$PACKAGE_NAME"
1858
_ACEOF
2070
_ACEOF
1859
 
2071
 
1860
 
-
 
1861
cat >>confdefs.h <<_ACEOF
2072
cat >>confdefs.h <<_ACEOF
1862
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2073
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1863
_ACEOF
2074
_ACEOF
1864
 
2075
 
1865
 
-
 
1866
cat >>confdefs.h <<_ACEOF
2076
cat >>confdefs.h <<_ACEOF
1867
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2077
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1868
_ACEOF
2078
_ACEOF
1869
 
2079
 
1870
 
-
 
1871
cat >>confdefs.h <<_ACEOF
2080
cat >>confdefs.h <<_ACEOF
1872
#define PACKAGE_STRING "$PACKAGE_STRING"
2081
#define PACKAGE_STRING "$PACKAGE_STRING"
1873
_ACEOF
2082
_ACEOF
1874
 
2083
 
1875
 
-
 
1876
cat >>confdefs.h <<_ACEOF
2084
cat >>confdefs.h <<_ACEOF
1877
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2085
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1878
_ACEOF
2086
_ACEOF
1879
 
2087
 
-
 
2088
cat >>confdefs.h <<_ACEOF
-
 
2089
#define PACKAGE_URL "$PACKAGE_URL"
-
 
2090
_ACEOF
-
 
2091
 
1880
 
2092
 
1881
# Let the site file select an alternate cache file if it wants to.
2093
# Let the site file select an alternate cache file if it wants to.
1882
# Prefer an explicitly selected file to automatically selected ones.
2094
# Prefer an explicitly selected file to automatically selected ones.
1883
ac_site_file1=NONE
2095
ac_site_file1=NONE
1884
ac_site_file2=NONE
2096
ac_site_file2=NONE
1885
if test -n "$CONFIG_SITE"; then
2097
if test -n "$CONFIG_SITE"; then
1886
  ac_site_file1=$CONFIG_SITE
2098
  ac_site_file1=$CONFIG_SITE
1887
elif test "x$prefix" != xNONE; then
2099
elif test "x$prefix" != xNONE; then
1888
  ac_site_file1=$prefix/share/config.site
2100
  ac_site_file1=$prefix/share/config.site
1889
  ac_site_file2=$prefix/etc/config.site
2101
  ac_site_file2=$prefix/etc/config.site
1890
else
2102
else
1891
  ac_site_file1=$ac_default_prefix/share/config.site
2103
  ac_site_file1=$ac_default_prefix/share/config.site
1892
  ac_site_file2=$ac_default_prefix/etc/config.site
2104
  ac_site_file2=$ac_default_prefix/etc/config.site
1893
fi
2105
fi
1894
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2106
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1895
do
2107
do
1896
  test "x$ac_site_file" = xNONE && continue
2108
  test "x$ac_site_file" = xNONE && continue
1897
  if test -r "$ac_site_file"; then
2109
  if test -r "$ac_site_file"; then
1898
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2110
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1899
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2111
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1900
    sed 's/^/| /' "$ac_site_file" >&5
2112
    sed 's/^/| /' "$ac_site_file" >&5
1901
    . "$ac_site_file"
2113
    . "$ac_site_file"
1902
  fi
2114
  fi
1903
done
2115
done
1904
 
2116
 
1905
if test -r "$cache_file"; then
2117
if test -r "$cache_file"; then
1906
  # Some versions of bash will fail to source /dev/null (special
2118
  # Some versions of bash will fail to source /dev/null (special
1907
  # files actually), so we avoid doing that.
2119
  # files actually), so we avoid doing that.
1908
  if test -f "$cache_file"; then
2120
  if test -f "$cache_file"; then
1909
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2121
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1910
$as_echo "$as_me: loading cache $cache_file" >&6;}
2122
$as_echo "$as_me: loading cache $cache_file" >&6;}
1911
    case $cache_file in
2123
    case $cache_file in
1912
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2124
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1913
      *)                      . "./$cache_file";;
2125
      *)                      . "./$cache_file";;
1914
    esac
2126
    esac
1915
  fi
2127
  fi
1916
else
2128
else
1917
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2129
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1918
$as_echo "$as_me: creating cache $cache_file" >&6;}
2130
$as_echo "$as_me: creating cache $cache_file" >&6;}
1919
  >$cache_file
2131
  >$cache_file
1920
fi
2132
fi
1921
 
2133
 
1922
# Check that the precious variables saved in the cache have kept the same
2134
# Check that the precious variables saved in the cache have kept the same
1923
# value.
2135
# value.
1924
ac_cache_corrupted=false
2136
ac_cache_corrupted=false
1925
for ac_var in $ac_precious_vars; do
2137
for ac_var in $ac_precious_vars; do
1926
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2138
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1927
  eval ac_new_set=\$ac_env_${ac_var}_set
2139
  eval ac_new_set=\$ac_env_${ac_var}_set
1928
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2140
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1929
  eval ac_new_val=\$ac_env_${ac_var}_value
2141
  eval ac_new_val=\$ac_env_${ac_var}_value
1930
  case $ac_old_set,$ac_new_set in
2142
  case $ac_old_set,$ac_new_set in
1931
    set,)
2143
    set,)
1932
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2144
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1933
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2145
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1934
      ac_cache_corrupted=: ;;
2146
      ac_cache_corrupted=: ;;
1935
    ,set)
2147
    ,set)
1936
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2148
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1937
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2149
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1938
      ac_cache_corrupted=: ;;
2150
      ac_cache_corrupted=: ;;
1939
    ,);;
2151
    ,);;
1940
    *)
2152
    *)
1941
      if test "x$ac_old_val" != "x$ac_new_val"; then
2153
      if test "x$ac_old_val" != "x$ac_new_val"; then
1942
	# differences in whitespace do not lead to failure.
2154
	# differences in whitespace do not lead to failure.
1943
	ac_old_val_w=`echo x $ac_old_val`
2155
	ac_old_val_w=`echo x $ac_old_val`
1944
	ac_new_val_w=`echo x $ac_new_val`
2156
	ac_new_val_w=`echo x $ac_new_val`
1945
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2157
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1946
	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2158
	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1947
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2159
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1948
	  ac_cache_corrupted=:
2160
	  ac_cache_corrupted=:
1949
	else
2161
	else
1950
	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2162
	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1951
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2163
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1952
	  eval $ac_var=\$ac_old_val
2164
	  eval $ac_var=\$ac_old_val
1953
	fi
2165
	fi
1954
	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2166
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1955
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2167
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1956
	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2168
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1957
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2169
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1958
      fi;;
2170
      fi;;
1959
  esac
2171
  esac
1960
  # Pass precious variables to config.status.
2172
  # Pass precious variables to config.status.
1961
  if test "$ac_new_set" = set; then
2173
  if test "$ac_new_set" = set; then
1962
    case $ac_new_val in
2174
    case $ac_new_val in
1963
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2175
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1964
    *) ac_arg=$ac_var=$ac_new_val ;;
2176
    *) ac_arg=$ac_var=$ac_new_val ;;
1965
    esac
2177
    esac
1966
    case " $ac_configure_args " in
2178
    case " $ac_configure_args " in
1967
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2179
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1968
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2180
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1969
    esac
2181
    esac
1970
  fi
2182
  fi
1971
done
2183
done
1972
if $ac_cache_corrupted; then
2184
if $ac_cache_corrupted; then
1973
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2185
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1974
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2186
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1975
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2187
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1976
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2188
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1977
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-
 
1978
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2189
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1979
   { (exit 1); exit 1; }; }
-
 
1980
fi
2190
fi
1981
 
-
 
1982
 
-
 
1983
 
-
 
1984
 
-
 
1985
 
-
 
1986
 
-
 
1987
 
-
 
1988
 
-
 
1989
 
-
 
1990
 
-
 
1991
 
-
 
1992
 
-
 
-
 
2191
## -------------------- ##
1993
 
-
 
1994
 
-
 
1995
 
-
 
1996
 
-
 
-
 
2192
## Main body of script. ##
-
 
2193
## -------------------- ##
1997
 
2194
 
1998
ac_ext=c
2195
ac_ext=c
1999
ac_cpp='$CPP $CPPFLAGS'
2196
ac_cpp='$CPP $CPPFLAGS'
2000
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2197
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2001
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2198
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2002
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2199
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2003
 
2200
 
2004
 
2201
 
2005
 
2202
 
2006
ac_config_headers="$ac_config_headers config.h"
2203
ac_config_headers="$ac_config_headers config.h"
2007
 
2204
 
2008
am__api_version='1.10'
2205
am__api_version='1.11'
2009
 
2206
 
2010
ac_aux_dir=
2207
ac_aux_dir=
2011
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2208
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2012
  if test -f "$ac_dir/install-sh"; then
2209
  for ac_t in install-sh install.sh shtool; do
2013
    ac_aux_dir=$ac_dir
-
 
2014
    ac_install_sh="$ac_aux_dir/install-sh -c"
-
 
2015
    break
-
 
2016
  elif test -f "$ac_dir/install.sh"; then
2210
    if test -f "$ac_dir/$ac_t"; then
2017
    ac_aux_dir=$ac_dir
2211
      ac_aux_dir=$ac_dir
2018
    ac_install_sh="$ac_aux_dir/install.sh -c"
2212
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2019
    break
2213
      break 2
2020
  elif test -f "$ac_dir/shtool"; then
-
 
2021
    ac_aux_dir=$ac_dir
-
 
2022
    ac_install_sh="$ac_aux_dir/shtool install -c"
-
 
2023
    break
2214
    fi
2024
  fi
2215
  done
2025
done
2216
done
2026
if test -z "$ac_aux_dir"; then
2217
if test -z "$ac_aux_dir"; then
2027
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
-
 
2028
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2218
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2029
   { (exit 1); exit 1; }; }
-
 
2030
fi
2219
fi
2031
 
2220
 
2032
# These three variables are undocumented and unsupported,
2221
# These three variables are undocumented and unsupported,
2033
# and are intended to be withdrawn in a future Autoconf release.
2222
# and are intended to be withdrawn in a future Autoconf release.
2034
# They can cause serious problems if a builder's source tree is in a directory
2223
# They can cause serious problems if a builder's source tree is in a directory
2035
# whose full name contains unusual characters.
2224
# whose full name contains unusual characters.
2036
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2225
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2037
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2226
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2038
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2227
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2039
 
2228
 
2040
 
2229
 
2041
# Find a good install program.  We prefer a C program (faster),
2230
# Find a good install program.  We prefer a C program (faster),
2042
# so one script is as good as another.  But avoid the broken or
2231
# so one script is as good as another.  But avoid the broken or
2043
# incompatible versions:
2232
# incompatible versions:
2044
# SysV /etc/install, /usr/sbin/install
2233
# SysV /etc/install, /usr/sbin/install
2045
# SunOS /usr/etc/install
2234
# SunOS /usr/etc/install
2046
# IRIX /sbin/install
2235
# IRIX /sbin/install
2047
# AIX /bin/install
2236
# AIX /bin/install
2048
# AmigaOS /C/install, which installs bootblocks on floppy discs
2237
# AmigaOS /C/install, which installs bootblocks on floppy discs
2049
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2238
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2050
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2239
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2051
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2240
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2052
# OS/2's system install, which has a completely different semantic
2241
# OS/2's system install, which has a completely different semantic
2053
# ./install, which can be erroneously created by make from ./install.sh.
2242
# ./install, which can be erroneously created by make from ./install.sh.
2054
# Reject install programs that cannot install multiple files.
2243
# Reject install programs that cannot install multiple files.
2055
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2244
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2056
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2245
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2057
if test -z "$INSTALL"; then
2246
if test -z "$INSTALL"; then
2058
if test "${ac_cv_path_install+set}" = set; then
2247
if test "${ac_cv_path_install+set}" = set; then :
2059
  $as_echo_n "(cached) " >&6
2248
  $as_echo_n "(cached) " >&6
2060
else
2249
else
2061
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2250
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2062
for as_dir in $PATH
2251
for as_dir in $PATH
2063
do
2252
do
2064
  IFS=$as_save_IFS
2253
  IFS=$as_save_IFS
2065
  test -z "$as_dir" && as_dir=.
2254
  test -z "$as_dir" && as_dir=.
2066
  # Account for people who put trailing slashes in PATH elements.
2255
    # Account for people who put trailing slashes in PATH elements.
2067
case $as_dir/ in
2256
case $as_dir/ in #((
2068
  ./ | .// | /cC/* | \
2257
  ./ | .// | /[cC]/* | \
2069
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2258
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2070
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2259
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2071
  /usr/ucb/* ) ;;
2260
  /usr/ucb/* ) ;;
2072
  *)
2261
  *)
2073
    # OSF1 and SCO ODT 3.0 have their own names for install.
2262
    # OSF1 and SCO ODT 3.0 have their own names for install.
2074
    # Don't use installbsd from OSF since it installs stuff as root
2263
    # Don't use installbsd from OSF since it installs stuff as root
2075
    # by default.
2264
    # by default.
2076
    for ac_prog in ginstall scoinst install; do
2265
    for ac_prog in ginstall scoinst install; do
2077
      for ac_exec_ext in '' $ac_executable_extensions; do
2266
      for ac_exec_ext in '' $ac_executable_extensions; do
2078
	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2267
	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2079
	  if test $ac_prog = install &&
2268
	  if test $ac_prog = install &&
2080
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2269
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2081
	    # AIX install.  It has an incompatible calling convention.
2270
	    # AIX install.  It has an incompatible calling convention.
2082
	    :
2271
	    :
2083
	  elif test $ac_prog = install &&
2272
	  elif test $ac_prog = install &&
2084
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2273
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2085
	    # program-specific install script used by HP pwplus--don't use.
2274
	    # program-specific install script used by HP pwplus--don't use.
2086
	    :
2275
	    :
2087
	  else
2276
	  else
2088
	    rm -rf conftest.one conftest.two conftest.dir
2277
	    rm -rf conftest.one conftest.two conftest.dir
2089
	    echo one > conftest.one
2278
	    echo one > conftest.one
2090
	    echo two > conftest.two
2279
	    echo two > conftest.two
2091
	    mkdir conftest.dir
2280
	    mkdir conftest.dir
2092
	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2281
	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2093
	      test -s conftest.one && test -s conftest.two &&
2282
	      test -s conftest.one && test -s conftest.two &&
2094
	      test -s conftest.dir/conftest.one &&
2283
	      test -s conftest.dir/conftest.one &&
2095
	      test -s conftest.dir/conftest.two
2284
	      test -s conftest.dir/conftest.two
2096
	    then
2285
	    then
2097
	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2286
	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2098
	      break 3
2287
	      break 3
2099
	    fi
2288
	    fi
2100
	  fi
2289
	  fi
2101
	fi
2290
	fi
2102
      done
2291
      done
2103
    done
2292
    done
2104
    ;;
2293
    ;;
2105
esac
2294
esac
2106
 
2295
 
2107
done
2296
  done
2108
IFS=$as_save_IFS
2297
IFS=$as_save_IFS
2109
 
2298
 
2110
rm -rf conftest.one conftest.two conftest.dir
2299
rm -rf conftest.one conftest.two conftest.dir
2111
 
2300
 
2112
fi
2301
fi
2113
  if test "${ac_cv_path_install+set}" = set; then
2302
  if test "${ac_cv_path_install+set}" = set; then
2114
    INSTALL=$ac_cv_path_install
2303
    INSTALL=$ac_cv_path_install
2115
  else
2304
  else
2116
    # As a last resort, use the slow shell script.  Don't cache a
2305
    # As a last resort, use the slow shell script.  Don't cache a
2117
    # value for INSTALL within a source directory, because that will
2306
    # value for INSTALL within a source directory, because that will
2118
    # break other packages using the cache if that directory is
2307
    # break other packages using the cache if that directory is
2119
    # removed, or if the value is a relative name.
2308
    # removed, or if the value is a relative name.
2120
    INSTALL=$ac_install_sh
2309
    INSTALL=$ac_install_sh
2121
  fi
2310
  fi
2122
fi
2311
fi
2123
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2124
$as_echo "$INSTALL" >&6; }
2313
$as_echo "$INSTALL" >&6; }
2125
 
2314
 
2126
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2315
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2127
# It thinks the first close brace ends the variable substitution.
2316
# It thinks the first close brace ends the variable substitution.
2128
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2317
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2129
 
2318
 
2130
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2319
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2131
 
2320
 
2132
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2321
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2133
 
2322
 
2134
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2135
$as_echo_n "checking whether build environment is sane... " >&6; }
2324
$as_echo_n "checking whether build environment is sane... " >&6; }
2136
# Just in case
2325
# Just in case
2137
sleep 1
2326
sleep 1
2138
echo timestamp > conftest.file
2327
echo timestamp > conftest.file
-
 
2328
# Reject unsafe characters in $srcdir or the absolute working directory
-
 
2329
# name.  Accept space and tab only in the latter.
-
 
2330
am_lf='
-
 
2331
'
-
 
2332
case `pwd` in
-
 
2333
  *[\\\"\#\$\&\'\`$am_lf]*)
-
 
2334
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
-
 
2335
esac
-
 
2336
case $srcdir in
-
 
2337
  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
-
 
2338
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
-
 
2339
esac
-
 
2340
 
2139
# Do `set' in a subshell so we don't clobber the current shell's
2341
# Do `set' in a subshell so we don't clobber the current shell's
2140
# arguments.  Must try -L first in case configure is actually a
2342
# arguments.  Must try -L first in case configure is actually a
2141
# symlink; some systems play weird games with the mod time of symlinks
2343
# symlink; some systems play weird games with the mod time of symlinks
2142
# (eg FreeBSD returns the mod time of the symlink's containing
2344
# (eg FreeBSD returns the mod time of the symlink's containing
2143
# directory).
2345
# directory).
2144
if (
2346
if (
2145
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2347
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2146
   if test "$*" = "X"; then
2348
   if test "$*" = "X"; then
2147
      # -L didn't work.
2349
      # -L didn't work.
2148
      set X `ls -t $srcdir/configure conftest.file`
2350
      set X `ls -t "$srcdir/configure" conftest.file`
2149
   fi
2351
   fi
2150
   rm -f conftest.file
2352
   rm -f conftest.file
2151
   if test "$*" != "X $srcdir/configure conftest.file" \
2353
   if test "$*" != "X $srcdir/configure conftest.file" \
2152
      && test "$*" != "X conftest.file $srcdir/configure"; then
2354
      && test "$*" != "X conftest.file $srcdir/configure"; then
2153
 
2355
 
2154
      # If neither matched, then we have a broken ls.  This can happen
2356
      # If neither matched, then we have a broken ls.  This can happen
2155
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2357
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2156
      # broken ls alias from the environment.  This has actually
2358
      # broken ls alias from the environment.  This has actually
2157
      # happened.  Such a system could not be considered "sane".
2359
      # happened.  Such a system could not be considered "sane".
2158
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
-
 
2159
alias in your environment" >&5
-
 
2160
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2360
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2161
alias in your environment" >&2;}
2361
alias in your environment" "$LINENO" 5
2162
   { (exit 1); exit 1; }; }
-
 
2163
   fi
2362
   fi
2164
 
2363
 
2165
   test "$2" = conftest.file
2364
   test "$2" = conftest.file
2166
   )
2365
   )
2167
then
2366
then
2168
   # Ok.
2367
   # Ok.
2169
   :
2368
   :
2170
else
2369
else
2171
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
-
 
2172
Check your system clock" >&5
-
 
2173
$as_echo "$as_me: error: newly created file is older than distributed files!
2370
   as_fn_error "newly created file is older than distributed files!
2174
Check your system clock" >&2;}
2371
Check your system clock" "$LINENO" 5
2175
   { (exit 1); exit 1; }; }
-
 
2176
fi
2372
fi
2177
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2178
$as_echo "yes" >&6; }
2374
$as_echo "yes" >&6; }
2179
test "$program_prefix" != NONE &&
2375
test "$program_prefix" != NONE &&
2180
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2376
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2181
# Use a double $ so make ignores it.
2377
# Use a double $ so make ignores it.
2182
test "$program_suffix" != NONE &&
2378
test "$program_suffix" != NONE &&
2183
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2379
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2184
# Double any \ or $.
2380
# Double any \ or $.
2185
# By default was `s,x,x', remove it if useless.
2381
# By default was `s,x,x', remove it if useless.
2186
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2382
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2187
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2383
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2188
 
2384
 
2189
# expand $ac_aux_dir to an absolute path
2385
# expand $ac_aux_dir to an absolute path
2190
am_aux_dir=`cd $ac_aux_dir && pwd`
2386
am_aux_dir=`cd $ac_aux_dir && pwd`
2191
 
2387
 
-
 
2388
if test x"${MISSING+set}" != xset; then
-
 
2389
  case $am_aux_dir in
-
 
2390
  *\ * | *\	*)
-
 
2391
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
-
 
2392
  *)
2192
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2393
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
-
 
2394
  esac
-
 
2395
fi
2193
# Use eval to expand $SHELL
2396
# Use eval to expand $SHELL
2194
if eval "$MISSING --run true"; then
2397
if eval "$MISSING --run true"; then
2195
  am_missing_run="$MISSING --run "
2398
  am_missing_run="$MISSING --run "
2196
else
2399
else
2197
  am_missing_run=
2400
  am_missing_run=
2198
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2401
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2199
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2402
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2200
fi
2403
fi
2201
 
2404
 
-
 
2405
if test x"${install_sh}" != xset; then
-
 
2406
  case $am_aux_dir in
-
 
2407
  *\ * | *\	*)
-
 
2408
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
-
 
2409
  *)
-
 
2410
    install_sh="\${SHELL} $am_aux_dir/install-sh"
-
 
2411
  esac
-
 
2412
fi
-
 
2413
 
-
 
2414
# Installed binaries are usually stripped using `strip' when the user
-
 
2415
# run `make install-strip'.  However `strip' might not be the right
-
 
2416
# tool to use in cross-compilation environments, therefore Automake
-
 
2417
# will honor the `STRIP' environment variable to overrule this program.
-
 
2418
if test "$cross_compiling" != no; then
-
 
2419
  if test -n "$ac_tool_prefix"; then
-
 
2420
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
-
 
2421
set dummy ${ac_tool_prefix}strip; ac_word=$2
-
 
2422
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-
 
2423
$as_echo_n "checking for $ac_word... " >&6; }
-
 
2424
if test "${ac_cv_prog_STRIP+set}" = set; then :
-
 
2425
  $as_echo_n "(cached) " >&6
-
 
2426
else
-
 
2427
  if test -n "$STRIP"; then
-
 
2428
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
-
 
2429
else
-
 
2430
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-
 
2431
for as_dir in $PATH
-
 
2432
do
-
 
2433
  IFS=$as_save_IFS
-
 
2434
  test -z "$as_dir" && as_dir=.
-
 
2435
    for ac_exec_ext in '' $ac_executable_extensions; do
-
 
2436
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-
 
2437
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
-
 
2438
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-
 
2439
    break 2
-
 
2440
  fi
-
 
2441
done
-
 
2442
  done
-
 
2443
IFS=$as_save_IFS
-
 
2444
 
-
 
2445
fi
-
 
2446
fi
-
 
2447
STRIP=$ac_cv_prog_STRIP
-
 
2448
if test -n "$STRIP"; then
-
 
2449
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
-
 
2450
$as_echo "$STRIP" >&6; }
-
 
2451
else
-
 
2452
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-
 
2453
$as_echo "no" >&6; }
-
 
2454
fi
-
 
2455
 
-
 
2456
 
-
 
2457
fi
-
 
2458
if test -z "$ac_cv_prog_STRIP"; then
-
 
2459
  ac_ct_STRIP=$STRIP
-
 
2460
  # Extract the first word of "strip", so it can be a program name with args.
-
 
2461
set dummy strip; ac_word=$2
-
 
2462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-
 
2463
$as_echo_n "checking for $ac_word... " >&6; }
-
 
2464
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
-
 
2465
  $as_echo_n "(cached) " >&6
-
 
2466
else
-
 
2467
  if test -n "$ac_ct_STRIP"; then
-
 
2468
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
-
 
2469
else
-
 
2470
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-
 
2471
for as_dir in $PATH
-
 
2472
do
-
 
2473
  IFS=$as_save_IFS
-
 
2474
  test -z "$as_dir" && as_dir=.
-
 
2475
    for ac_exec_ext in '' $ac_executable_extensions; do
-
 
2476
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-
 
2477
    ac_cv_prog_ac_ct_STRIP="strip"
-
 
2478
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-
 
2479
    break 2
-
 
2480
  fi
-
 
2481
done
-
 
2482
  done
-
 
2483
IFS=$as_save_IFS
-
 
2484
 
-
 
2485
fi
-
 
2486
fi
-
 
2487
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
-
 
2488
if test -n "$ac_ct_STRIP"; then
-
 
2489
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
-
 
2490
$as_echo "$ac_ct_STRIP" >&6; }
-
 
2491
else
-
 
2492
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-
 
2493
$as_echo "no" >&6; }
-
 
2494
fi
-
 
2495
 
-
 
2496
  if test "x$ac_ct_STRIP" = x; then
-
 
2497
    STRIP=":"
-
 
2498
  else
-
 
2499
    case $cross_compiling:$ac_tool_warned in
-
 
2500
yes:)
-
 
2501
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-
 
2502
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-
 
2503
ac_tool_warned=yes ;;
-
 
2504
esac
-
 
2505
    STRIP=$ac_ct_STRIP
-
 
2506
  fi
-
 
2507
else
-
 
2508
  STRIP="$ac_cv_prog_STRIP"
-
 
2509
fi
-
 
2510
 
-
 
2511
fi
-
 
2512
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
-
 
2513
 
2202
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2203
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2515
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2204
if test -z "$MKDIR_P"; then
2516
if test -z "$MKDIR_P"; then
2205
  if test "${ac_cv_path_mkdir+set}" = set; then
2517
  if test "${ac_cv_path_mkdir+set}" = set; then :
2206
  $as_echo_n "(cached) " >&6
2518
  $as_echo_n "(cached) " >&6
2207
else
2519
else
2208
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2520
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2209
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2521
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2210
do
2522
do
2211
  IFS=$as_save_IFS
2523
  IFS=$as_save_IFS
2212
  test -z "$as_dir" && as_dir=.
2524
  test -z "$as_dir" && as_dir=.
2213
  for ac_prog in mkdir gmkdir; do
2525
    for ac_prog in mkdir gmkdir; do
2214
	 for ac_exec_ext in '' $ac_executable_extensions; do
2526
	 for ac_exec_ext in '' $ac_executable_extensions; do
2215
	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2527
	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2216
	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2528
	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2217
	     'mkdir (GNU coreutils) '* | \
2529
	     'mkdir (GNU coreutils) '* | \
2218
	     'mkdir (coreutils) '* | \
2530
	     'mkdir (coreutils) '* | \
2219
	     'mkdir (fileutils) '4.1*)
2531
	     'mkdir (fileutils) '4.1*)
2220
	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2532
	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2221
	       break 3;;
2533
	       break 3;;
2222
	   esac
2534
	   esac
2223
	 done
2535
	 done
2224
       done
2536
       done
2225
done
2537
  done
2226
IFS=$as_save_IFS
2538
IFS=$as_save_IFS
2227
 
2539
 
2228
fi
2540
fi
2229
 
2541
 
2230
  if test "${ac_cv_path_mkdir+set}" = set; then
2542
  if test "${ac_cv_path_mkdir+set}" = set; then
2231
    MKDIR_P="$ac_cv_path_mkdir -p"
2543
    MKDIR_P="$ac_cv_path_mkdir -p"
2232
  else
2544
  else
2233
    # As a last resort, use the slow shell script.  Don't cache a
2545
    # As a last resort, use the slow shell script.  Don't cache a
2234
    # value for MKDIR_P within a source directory, because that will
2546
    # value for MKDIR_P within a source directory, because that will
2235
    # break other packages using the cache if that directory is
2547
    # break other packages using the cache if that directory is
2236
    # removed, or if the value is a relative name.
2548
    # removed, or if the value is a relative name.
2237
    test -d ./--version && rmdir ./--version
2549
    test -d ./--version && rmdir ./--version
2238
    MKDIR_P="$ac_install_sh -d"
2550
    MKDIR_P="$ac_install_sh -d"
2239
  fi
2551
  fi
2240
fi
2552
fi
2241
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2242
$as_echo "$MKDIR_P" >&6; }
2554
$as_echo "$MKDIR_P" >&6; }
2243
 
2555
 
2244
mkdir_p="$MKDIR_P"
2556
mkdir_p="$MKDIR_P"
2245
case $mkdir_p in
2557
case $mkdir_p in
2246
  [\\/$]* | ?:[\\/]*) ;;
2558
  [\\/$]* | ?:[\\/]*) ;;
2247
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2559
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2248
esac
2560
esac
2249
 
2561
 
2250
for ac_prog in gawk mawk nawk awk
2562
for ac_prog in gawk mawk nawk awk
2251
do
2563
do
2252
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2564
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2253
set dummy $ac_prog; ac_word=$2
2565
set dummy $ac_prog; ac_word=$2
2254
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2255
$as_echo_n "checking for $ac_word... " >&6; }
2567
$as_echo_n "checking for $ac_word... " >&6; }
2256
if test "${ac_cv_prog_AWK+set}" = set; then
2568
if test "${ac_cv_prog_AWK+set}" = set; then :
2257
  $as_echo_n "(cached) " >&6
2569
  $as_echo_n "(cached) " >&6
2258
else
2570
else
2259
  if test -n "$AWK"; then
2571
  if test -n "$AWK"; then
2260
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2572
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2261
else
2573
else
2262
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263
for as_dir in $PATH
2575
for as_dir in $PATH
2264
do
2576
do
2265
  IFS=$as_save_IFS
2577
  IFS=$as_save_IFS
2266
  test -z "$as_dir" && as_dir=.
2578
  test -z "$as_dir" && as_dir=.
2267
  for ac_exec_ext in '' $ac_executable_extensions; do
2579
    for ac_exec_ext in '' $ac_executable_extensions; do
2268
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2580
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2269
    ac_cv_prog_AWK="$ac_prog"
2581
    ac_cv_prog_AWK="$ac_prog"
2270
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2582
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2271
    break 2
2583
    break 2
2272
  fi
2584
  fi
2273
done
2585
done
2274
done
2586
  done
2275
IFS=$as_save_IFS
2587
IFS=$as_save_IFS
2276
 
2588
 
2277
fi
2589
fi
2278
fi
2590
fi
2279
AWK=$ac_cv_prog_AWK
2591
AWK=$ac_cv_prog_AWK
2280
if test -n "$AWK"; then
2592
if test -n "$AWK"; then
2281
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2593
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2282
$as_echo "$AWK" >&6; }
2594
$as_echo "$AWK" >&6; }
2283
else
2595
else
2284
  { $as_echo "$as_me:$LINENO: result: no" >&5
2596
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2285
$as_echo "no" >&6; }
2597
$as_echo "no" >&6; }
2286
fi
2598
fi
2287
 
2599
 
2288
 
2600
 
2289
  test -n "$AWK" && break
2601
  test -n "$AWK" && break
2290
done
2602
done
2291
 
2603
 
2292
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2293
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2605
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2294
set x ${MAKE-make}
2606
set x ${MAKE-make}
2295
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2607
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2296
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2608
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2297
  $as_echo_n "(cached) " >&6
2609
  $as_echo_n "(cached) " >&6
2298
else
2610
else
2299
  cat >conftest.make <<\_ACEOF
2611
  cat >conftest.make <<\_ACEOF
2300
SHELL = /bin/sh
2612
SHELL = /bin/sh
2301
all:
2613
all:
2302
	@echo '@@@%%%=$(MAKE)=@@@%%%'
2614
	@echo '@@@%%%=$(MAKE)=@@@%%%'
2303
_ACEOF
2615
_ACEOF
2304
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2616
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2305
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2617
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2306
  *@@@%%%=?*=@@@%%%*)
2618
  *@@@%%%=?*=@@@%%%*)
2307
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2619
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2308
  *)
2620
  *)
2309
    eval ac_cv_prog_make_${ac_make}_set=no;;
2621
    eval ac_cv_prog_make_${ac_make}_set=no;;
2310
esac
2622
esac
2311
rm -f conftest.make
2623
rm -f conftest.make
2312
fi
2624
fi
2313
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2625
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2314
  { $as_echo "$as_me:$LINENO: result: yes" >&5
2626
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2315
$as_echo "yes" >&6; }
2627
$as_echo "yes" >&6; }
2316
  SET_MAKE=
2628
  SET_MAKE=
2317
else
2629
else
2318
  { $as_echo "$as_me:$LINENO: result: no" >&5
2630
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2319
$as_echo "no" >&6; }
2631
$as_echo "no" >&6; }
2320
  SET_MAKE="MAKE=${MAKE-make}"
2632
  SET_MAKE="MAKE=${MAKE-make}"
2321
fi
2633
fi
2322
 
2634
 
2323
rm -rf .tst 2>/dev/null
2635
rm -rf .tst 2>/dev/null
2324
mkdir .tst 2>/dev/null
2636
mkdir .tst 2>/dev/null
2325
if test -d .tst; then
2637
if test -d .tst; then
2326
  am__leading_dot=.
2638
  am__leading_dot=.
2327
else
2639
else
2328
  am__leading_dot=_
2640
  am__leading_dot=_
2329
fi
2641
fi
2330
rmdir .tst 2>/dev/null
2642
rmdir .tst 2>/dev/null
2331
 
2643
 
2332
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2644
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2333
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2645
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2334
  # is not polluted with repeated "-I."
2646
  # is not polluted with repeated "-I."
2335
  am__isrc=' -I$(srcdir)'
2647
  am__isrc=' -I$(srcdir)'
2336
  # test to see if srcdir already configured
2648
  # test to see if srcdir already configured
2337
  if test -f $srcdir/config.status; then
2649
  if test -f $srcdir/config.status; then
2338
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
-
 
2339
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2650
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2340
   { (exit 1); exit 1; }; }
-
 
2341
  fi
2651
  fi
2342
fi
2652
fi
2343
 
2653
 
2344
# test whether we have cygpath
2654
# test whether we have cygpath
2345
if test -z "$CYGPATH_W"; then
2655
if test -z "$CYGPATH_W"; then
2346
  if (cygpath --version) >/dev/null 2>/dev/null; then
2656
  if (cygpath --version) >/dev/null 2>/dev/null; then
2347
    CYGPATH_W='cygpath -w'
2657
    CYGPATH_W='cygpath -w'
2348
  else
2658
  else
2349
    CYGPATH_W=echo
2659
    CYGPATH_W=echo
2350
  fi
2660
  fi
2351
fi
2661
fi
2352
 
2662
 
2353
 
2663
 
2354
# Define the identity of the package.
2664
# Define the identity of the package.
2355
 PACKAGE=sonar
2665
 PACKAGE=sonar
2356
 VERSION=0.1
2666
 VERSION=0.1
2357
 
2667
 
2358
 
2668
 
2359
cat >>confdefs.h <<_ACEOF
2669
cat >>confdefs.h <<_ACEOF
2360
#define PACKAGE "$PACKAGE"
2670
#define PACKAGE "$PACKAGE"
2361
_ACEOF
2671
_ACEOF
2362
 
2672
 
2363
 
2673
 
2364
cat >>confdefs.h <<_ACEOF
2674
cat >>confdefs.h <<_ACEOF
2365
#define VERSION "$VERSION"
2675
#define VERSION "$VERSION"
2366
_ACEOF
2676
_ACEOF
2367
 
2677
 
2368
# Some tools Automake needs.
2678
# Some tools Automake needs.
2369
 
2679
 
2370
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2680
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2371
 
2681
 
2372
 
2682
 
2373
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2683
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2374
 
2684
 
2375
 
2685
 
2376
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2686
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2377
 
2687
 
2378
 
2688
 
2379
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2689
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2380
 
2690
 
2381
 
2691
 
2382
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2692
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2383
 
2693
 
2384
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
-
 
2385
 
-
 
2386
# Installed binaries are usually stripped using `strip' when the user
-
 
2387
# run `make install-strip'.  However `strip' might not be the right
-
 
2388
# tool to use in cross-compilation environments, therefore Automake
-
 
2389
# will honor the `STRIP' environment variable to overrule this program.
-
 
2390
if test "$cross_compiling" != no; then
-
 
2391
  if test -n "$ac_tool_prefix"; then
-
 
2392
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
-
 
2393
set dummy ${ac_tool_prefix}strip; ac_word=$2
-
 
2394
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-
 
2395
$as_echo_n "checking for $ac_word... " >&6; }
-
 
2396
if test "${ac_cv_prog_STRIP+set}" = set; then
-
 
2397
  $as_echo_n "(cached) " >&6
-
 
2398
else
-
 
2399
  if test -n "$STRIP"; then
-
 
2400
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
-
 
2401
else
-
 
2402
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-
 
2403
for as_dir in $PATH
-
 
2404
do
-
 
2405
  IFS=$as_save_IFS
-
 
2406
  test -z "$as_dir" && as_dir=.
-
 
2407
  for ac_exec_ext in '' $ac_executable_extensions; do
-
 
2408
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-
 
2409
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
-
 
2410
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-
 
2411
    break 2
-
 
2412
  fi
-
 
2413
done
-
 
2414
done
-
 
2415
IFS=$as_save_IFS
-
 
2416
 
-
 
2417
fi
-
 
2418
fi
-
 
2419
STRIP=$ac_cv_prog_STRIP
-
 
2420
if test -n "$STRIP"; then
-
 
2421
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
-
 
2422
$as_echo "$STRIP" >&6; }
-
 
2423
else
-
 
2424
  { $as_echo "$as_me:$LINENO: result: no" >&5
-
 
2425
$as_echo "no" >&6; }
-
 
2426
fi
-
 
2427
 
-
 
2428
 
-
 
2429
fi
-
 
2430
if test -z "$ac_cv_prog_STRIP"; then
-
 
2431
  ac_ct_STRIP=$STRIP
-
 
2432
  # Extract the first word of "strip", so it can be a program name with args.
-
 
2433
set dummy strip; ac_word=$2
-
 
2434
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-
 
2435
$as_echo_n "checking for $ac_word... " >&6; }
-
 
2436
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
-
 
2437
  $as_echo_n "(cached) " >&6
-
 
2438
else
-
 
2439
  if test -n "$ac_ct_STRIP"; then
-
 
2440
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
-
 
2441
else
-
 
2442
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-
 
2443
for as_dir in $PATH
-
 
2444
do
-
 
2445
  IFS=$as_save_IFS
-
 
2446
  test -z "$as_dir" && as_dir=.
-
 
2447
  for ac_exec_ext in '' $ac_executable_extensions; do
-
 
2448
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-
 
2449
    ac_cv_prog_ac_ct_STRIP="strip"
-
 
2450
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-
 
2451
    break 2
-
 
2452
  fi
-
 
2453
done
-
 
2454
done
-
 
2455
IFS=$as_save_IFS
-
 
2456
 
-
 
2457
fi
-
 
2458
fi
-
 
2459
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
-
 
2460
if test -n "$ac_ct_STRIP"; then
-
 
2461
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
-
 
2462
$as_echo "$ac_ct_STRIP" >&6; }
-
 
2463
else
-
 
2464
  { $as_echo "$as_me:$LINENO: result: no" >&5
-
 
2465
$as_echo "no" >&6; }
-
 
2466
fi
-
 
2467
 
-
 
2468
  if test "x$ac_ct_STRIP" = x; then
-
 
2469
    STRIP=":"
-
 
2470
  else
-
 
2471
    case $cross_compiling:$ac_tool_warned in
-
 
2472
yes:)
-
 
2473
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
-
 
2474
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-
 
2475
ac_tool_warned=yes ;;
-
 
2476
esac
-
 
2477
    STRIP=$ac_ct_STRIP
-
 
2478
  fi
-
 
2479
else
-
 
2480
  STRIP="$ac_cv_prog_STRIP"
-
 
2481
fi
-
 
2482
 
-
 
2483
fi
-
 
2484
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
-
 
2485
 
-
 
2486
# We need awk for the "check" target.  The system "awk" is bad on
2694
# We need awk for the "check" target.  The system "awk" is bad on
2487
# some platforms.
2695
# some platforms.
2488
# Always define AMTAR for backward compatibility.
2696
# Always define AMTAR for backward compatibility.
2489
 
2697
 
2490
AMTAR=${AMTAR-"${am_missing_run}tar"}
2698
AMTAR=${AMTAR-"${am_missing_run}tar"}
2491
 
2699
 
2492
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2700
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2493
 
2701
 
2494
 
2702
 
2495
 
2703
 
2496
 
2704
 
2497
 
2705
 
2498
 
2706
 
2499
ac_ext=c
2707
ac_ext=c
2500
ac_cpp='$CPP $CPPFLAGS'
2708
ac_cpp='$CPP $CPPFLAGS'
2501
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2709
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2502
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2710
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2503
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2711
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2504
 
2712
 
2505
ac_ext=c
2713
ac_ext=c
2506
ac_cpp='$CPP $CPPFLAGS'
2714
ac_cpp='$CPP $CPPFLAGS'
2507
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2715
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2508
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2716
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2509
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2717
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2510
if test -n "$ac_tool_prefix"; then
2718
if test -n "$ac_tool_prefix"; then
2511
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2719
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2512
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2720
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2513
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2514
$as_echo_n "checking for $ac_word... " >&6; }
2722
$as_echo_n "checking for $ac_word... " >&6; }
2515
if test "${ac_cv_prog_CC+set}" = set; then
2723
if test "${ac_cv_prog_CC+set}" = set; then :
2516
  $as_echo_n "(cached) " >&6
2724
  $as_echo_n "(cached) " >&6
2517
else
2725
else
2518
  if test -n "$CC"; then
2726
  if test -n "$CC"; then
2519
  ac_cv_prog_CC="$CC" # Let the user override the test.
2727
  ac_cv_prog_CC="$CC" # Let the user override the test.
2520
else
2728
else
2521
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522
for as_dir in $PATH
2730
for as_dir in $PATH
2523
do
2731
do
2524
  IFS=$as_save_IFS
2732
  IFS=$as_save_IFS
2525
  test -z "$as_dir" && as_dir=.
2733
  test -z "$as_dir" && as_dir=.
2526
  for ac_exec_ext in '' $ac_executable_extensions; do
2734
    for ac_exec_ext in '' $ac_executable_extensions; do
2527
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2528
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2736
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2529
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2737
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2530
    break 2
2738
    break 2
2531
  fi
2739
  fi
2532
done
2740
done
2533
done
2741
  done
2534
IFS=$as_save_IFS
2742
IFS=$as_save_IFS
2535
 
2743
 
2536
fi
2744
fi
2537
fi
2745
fi
2538
CC=$ac_cv_prog_CC
2746
CC=$ac_cv_prog_CC
2539
if test -n "$CC"; then
2747
if test -n "$CC"; then
2540
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2748
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2541
$as_echo "$CC" >&6; }
2749
$as_echo "$CC" >&6; }
2542
else
2750
else
2543
  { $as_echo "$as_me:$LINENO: result: no" >&5
2751
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2544
$as_echo "no" >&6; }
2752
$as_echo "no" >&6; }
2545
fi
2753
fi
2546
 
2754
 
2547
 
2755
 
2548
fi
2756
fi
2549
if test -z "$ac_cv_prog_CC"; then
2757
if test -z "$ac_cv_prog_CC"; then
2550
  ac_ct_CC=$CC
2758
  ac_ct_CC=$CC
2551
  # Extract the first word of "gcc", so it can be a program name with args.
2759
  # Extract the first word of "gcc", so it can be a program name with args.
2552
set dummy gcc; ac_word=$2
2760
set dummy gcc; ac_word=$2
2553
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2554
$as_echo_n "checking for $ac_word... " >&6; }
2762
$as_echo_n "checking for $ac_word... " >&6; }
2555
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2763
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2556
  $as_echo_n "(cached) " >&6
2764
  $as_echo_n "(cached) " >&6
2557
else
2765
else
2558
  if test -n "$ac_ct_CC"; then
2766
  if test -n "$ac_ct_CC"; then
2559
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2767
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2560
else
2768
else
2561
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2769
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562
for as_dir in $PATH
2770
for as_dir in $PATH
2563
do
2771
do
2564
  IFS=$as_save_IFS
2772
  IFS=$as_save_IFS
2565
  test -z "$as_dir" && as_dir=.
2773
  test -z "$as_dir" && as_dir=.
2566
  for ac_exec_ext in '' $ac_executable_extensions; do
2774
    for ac_exec_ext in '' $ac_executable_extensions; do
2567
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2775
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2568
    ac_cv_prog_ac_ct_CC="gcc"
2776
    ac_cv_prog_ac_ct_CC="gcc"
2569
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2777
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2570
    break 2
2778
    break 2
2571
  fi
2779
  fi
2572
done
2780
done
2573
done
2781
  done
2574
IFS=$as_save_IFS
2782
IFS=$as_save_IFS
2575
 
2783
 
2576
fi
2784
fi
2577
fi
2785
fi
2578
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2786
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2579
if test -n "$ac_ct_CC"; then
2787
if test -n "$ac_ct_CC"; then
2580
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2581
$as_echo "$ac_ct_CC" >&6; }
2789
$as_echo "$ac_ct_CC" >&6; }
2582
else
2790
else
2583
  { $as_echo "$as_me:$LINENO: result: no" >&5
2791
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2584
$as_echo "no" >&6; }
2792
$as_echo "no" >&6; }
2585
fi
2793
fi
2586
 
2794
 
2587
  if test "x$ac_ct_CC" = x; then
2795
  if test "x$ac_ct_CC" = x; then
2588
    CC=""
2796
    CC=""
2589
  else
2797
  else
2590
    case $cross_compiling:$ac_tool_warned in
2798
    case $cross_compiling:$ac_tool_warned in
2591
yes:)
2799
yes:)
2592
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2800
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2593
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2801
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2594
ac_tool_warned=yes ;;
2802
ac_tool_warned=yes ;;
2595
esac
2803
esac
2596
    CC=$ac_ct_CC
2804
    CC=$ac_ct_CC
2597
  fi
2805
  fi
2598
else
2806
else
2599
  CC="$ac_cv_prog_CC"
2807
  CC="$ac_cv_prog_CC"
2600
fi
2808
fi
2601
 
2809
 
2602
if test -z "$CC"; then
2810
if test -z "$CC"; then
2603
          if test -n "$ac_tool_prefix"; then
2811
          if test -n "$ac_tool_prefix"; then
2604
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2812
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2605
set dummy ${ac_tool_prefix}cc; ac_word=$2
2813
set dummy ${ac_tool_prefix}cc; ac_word=$2
2606
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2607
$as_echo_n "checking for $ac_word... " >&6; }
2815
$as_echo_n "checking for $ac_word... " >&6; }
2608
if test "${ac_cv_prog_CC+set}" = set; then
2816
if test "${ac_cv_prog_CC+set}" = set; then :
2609
  $as_echo_n "(cached) " >&6
2817
  $as_echo_n "(cached) " >&6
2610
else
2818
else
2611
  if test -n "$CC"; then
2819
  if test -n "$CC"; then
2612
  ac_cv_prog_CC="$CC" # Let the user override the test.
2820
  ac_cv_prog_CC="$CC" # Let the user override the test.
2613
else
2821
else
2614
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2822
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2615
for as_dir in $PATH
2823
for as_dir in $PATH
2616
do
2824
do
2617
  IFS=$as_save_IFS
2825
  IFS=$as_save_IFS
2618
  test -z "$as_dir" && as_dir=.
2826
  test -z "$as_dir" && as_dir=.
2619
  for ac_exec_ext in '' $ac_executable_extensions; do
2827
    for ac_exec_ext in '' $ac_executable_extensions; do
2620
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2828
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2621
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2829
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2622
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2830
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2623
    break 2
2831
    break 2
2624
  fi
2832
  fi
2625
done
2833
done
2626
done
2834
  done
2627
IFS=$as_save_IFS
2835
IFS=$as_save_IFS
2628
 
2836
 
2629
fi
2837
fi
2630
fi
2838
fi
2631
CC=$ac_cv_prog_CC
2839
CC=$ac_cv_prog_CC
2632
if test -n "$CC"; then
2840
if test -n "$CC"; then
2633
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2841
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2634
$as_echo "$CC" >&6; }
2842
$as_echo "$CC" >&6; }
2635
else
2843
else
2636
  { $as_echo "$as_me:$LINENO: result: no" >&5
2844
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2637
$as_echo "no" >&6; }
2845
$as_echo "no" >&6; }
2638
fi
2846
fi
2639
 
2847
 
2640
 
2848
 
2641
  fi
2849
  fi
2642
fi
2850
fi
2643
if test -z "$CC"; then
2851
if test -z "$CC"; then
2644
  # Extract the first word of "cc", so it can be a program name with args.
2852
  # Extract the first word of "cc", so it can be a program name with args.
2645
set dummy cc; ac_word=$2
2853
set dummy cc; ac_word=$2
2646
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2854
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2647
$as_echo_n "checking for $ac_word... " >&6; }
2855
$as_echo_n "checking for $ac_word... " >&6; }
2648
if test "${ac_cv_prog_CC+set}" = set; then
2856
if test "${ac_cv_prog_CC+set}" = set; then :
2649
  $as_echo_n "(cached) " >&6
2857
  $as_echo_n "(cached) " >&6
2650
else
2858
else
2651
  if test -n "$CC"; then
2859
  if test -n "$CC"; then
2652
  ac_cv_prog_CC="$CC" # Let the user override the test.
2860
  ac_cv_prog_CC="$CC" # Let the user override the test.
2653
else
2861
else
2654
  ac_prog_rejected=no
2862
  ac_prog_rejected=no
2655
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2863
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656
for as_dir in $PATH
2864
for as_dir in $PATH
2657
do
2865
do
2658
  IFS=$as_save_IFS
2866
  IFS=$as_save_IFS
2659
  test -z "$as_dir" && as_dir=.
2867
  test -z "$as_dir" && as_dir=.
2660
  for ac_exec_ext in '' $ac_executable_extensions; do
2868
    for ac_exec_ext in '' $ac_executable_extensions; do
2661
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2869
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2662
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2870
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2663
       ac_prog_rejected=yes
2871
       ac_prog_rejected=yes
2664
       continue
2872
       continue
2665
     fi
2873
     fi
2666
    ac_cv_prog_CC="cc"
2874
    ac_cv_prog_CC="cc"
2667
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2875
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2668
    break 2
2876
    break 2
2669
  fi
2877
  fi
2670
done
2878
done
2671
done
2879
  done
2672
IFS=$as_save_IFS
2880
IFS=$as_save_IFS
2673
 
2881
 
2674
if test $ac_prog_rejected = yes; then
2882
if test $ac_prog_rejected = yes; then
2675
  # We found a bogon in the path, so make sure we never use it.
2883
  # We found a bogon in the path, so make sure we never use it.
2676
  set dummy $ac_cv_prog_CC
2884
  set dummy $ac_cv_prog_CC
2677
  shift
2885
  shift
2678
  if test $# != 0; then
2886
  if test $# != 0; then
2679
    # We chose a different compiler from the bogus one.
2887
    # We chose a different compiler from the bogus one.
2680
    # However, it has the same basename, so the bogon will be chosen
2888
    # However, it has the same basename, so the bogon will be chosen
2681
    # first if we set CC to just the basename; use the full file name.
2889
    # first if we set CC to just the basename; use the full file name.
2682
    shift
2890
    shift
2683
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2891
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2684
  fi
2892
  fi
2685
fi
2893
fi
2686
fi
2894
fi
2687
fi
2895
fi
2688
CC=$ac_cv_prog_CC
2896
CC=$ac_cv_prog_CC
2689
if test -n "$CC"; then
2897
if test -n "$CC"; then
2690
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2898
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2691
$as_echo "$CC" >&6; }
2899
$as_echo "$CC" >&6; }
2692
else
2900
else
2693
  { $as_echo "$as_me:$LINENO: result: no" >&5
2901
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2694
$as_echo "no" >&6; }
2902
$as_echo "no" >&6; }
2695
fi
2903
fi
2696
 
2904
 
2697
 
2905
 
2698
fi
2906
fi
2699
if test -z "$CC"; then
2907
if test -z "$CC"; then
2700
  if test -n "$ac_tool_prefix"; then
2908
  if test -n "$ac_tool_prefix"; then
2701
  for ac_prog in cl.exe
2909
  for ac_prog in cl.exe
2702
  do
2910
  do
2703
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2911
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2704
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2912
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2705
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2706
$as_echo_n "checking for $ac_word... " >&6; }
2914
$as_echo_n "checking for $ac_word... " >&6; }
2707
if test "${ac_cv_prog_CC+set}" = set; then
2915
if test "${ac_cv_prog_CC+set}" = set; then :
2708
  $as_echo_n "(cached) " >&6
2916
  $as_echo_n "(cached) " >&6
2709
else
2917
else
2710
  if test -n "$CC"; then
2918
  if test -n "$CC"; then
2711
  ac_cv_prog_CC="$CC" # Let the user override the test.
2919
  ac_cv_prog_CC="$CC" # Let the user override the test.
2712
else
2920
else
2713
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714
for as_dir in $PATH
2922
for as_dir in $PATH
2715
do
2923
do
2716
  IFS=$as_save_IFS
2924
  IFS=$as_save_IFS
2717
  test -z "$as_dir" && as_dir=.
2925
  test -z "$as_dir" && as_dir=.
2718
  for ac_exec_ext in '' $ac_executable_extensions; do
2926
    for ac_exec_ext in '' $ac_executable_extensions; do
2719
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2927
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2720
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2928
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2721
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2929
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2722
    break 2
2930
    break 2
2723
  fi
2931
  fi
2724
done
2932
done
2725
done
2933
  done
2726
IFS=$as_save_IFS
2934
IFS=$as_save_IFS
2727
 
2935
 
2728
fi
2936
fi
2729
fi
2937
fi
2730
CC=$ac_cv_prog_CC
2938
CC=$ac_cv_prog_CC
2731
if test -n "$CC"; then
2939
if test -n "$CC"; then
2732
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2940
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2733
$as_echo "$CC" >&6; }
2941
$as_echo "$CC" >&6; }
2734
else
2942
else
2735
  { $as_echo "$as_me:$LINENO: result: no" >&5
2943
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2736
$as_echo "no" >&6; }
2944
$as_echo "no" >&6; }
2737
fi
2945
fi
2738
 
2946
 
2739
 
2947
 
2740
    test -n "$CC" && break
2948
    test -n "$CC" && break
2741
  done
2949
  done
2742
fi
2950
fi
2743
if test -z "$CC"; then
2951
if test -z "$CC"; then
2744
  ac_ct_CC=$CC
2952
  ac_ct_CC=$CC
2745
  for ac_prog in cl.exe
2953
  for ac_prog in cl.exe
2746
do
2954
do
2747
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2955
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2748
set dummy $ac_prog; ac_word=$2
2956
set dummy $ac_prog; ac_word=$2
2749
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2750
$as_echo_n "checking for $ac_word... " >&6; }
2958
$as_echo_n "checking for $ac_word... " >&6; }
2751
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2959
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2752
  $as_echo_n "(cached) " >&6
2960
  $as_echo_n "(cached) " >&6
2753
else
2961
else
2754
  if test -n "$ac_ct_CC"; then
2962
  if test -n "$ac_ct_CC"; then
2755
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2963
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2756
else
2964
else
2757
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758
for as_dir in $PATH
2966
for as_dir in $PATH
2759
do
2967
do
2760
  IFS=$as_save_IFS
2968
  IFS=$as_save_IFS
2761
  test -z "$as_dir" && as_dir=.
2969
  test -z "$as_dir" && as_dir=.
2762
  for ac_exec_ext in '' $ac_executable_extensions; do
2970
    for ac_exec_ext in '' $ac_executable_extensions; do
2763
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2971
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2764
    ac_cv_prog_ac_ct_CC="$ac_prog"
2972
    ac_cv_prog_ac_ct_CC="$ac_prog"
2765
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2973
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2766
    break 2
2974
    break 2
2767
  fi
2975
  fi
2768
done
2976
done
2769
done
2977
  done
2770
IFS=$as_save_IFS
2978
IFS=$as_save_IFS
2771
 
2979
 
2772
fi
2980
fi
2773
fi
2981
fi
2774
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2982
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2775
if test -n "$ac_ct_CC"; then
2983
if test -n "$ac_ct_CC"; then
2776
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2984
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2777
$as_echo "$ac_ct_CC" >&6; }
2985
$as_echo "$ac_ct_CC" >&6; }
2778
else
2986
else
2779
  { $as_echo "$as_me:$LINENO: result: no" >&5
2987
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2780
$as_echo "no" >&6; }
2988
$as_echo "no" >&6; }
2781
fi
2989
fi
2782
 
2990
 
2783
 
2991
 
2784
  test -n "$ac_ct_CC" && break
2992
  test -n "$ac_ct_CC" && break
2785
done
2993
done
2786
 
2994
 
2787
  if test "x$ac_ct_CC" = x; then
2995
  if test "x$ac_ct_CC" = x; then
2788
    CC=""
2996
    CC=""
2789
  else
2997
  else
2790
    case $cross_compiling:$ac_tool_warned in
2998
    case $cross_compiling:$ac_tool_warned in
2791
yes:)
2999
yes:)
2792
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3000
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2793
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3001
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2794
ac_tool_warned=yes ;;
3002
ac_tool_warned=yes ;;
2795
esac
3003
esac
2796
    CC=$ac_ct_CC
3004
    CC=$ac_ct_CC
2797
  fi
3005
  fi
2798
fi
3006
fi
2799
 
3007
 
2800
fi
3008
fi
2801
 
3009
 
2802
 
3010
 
2803
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3011
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2804
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3012
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2805
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
-
 
2806
See \`config.log' for more details." >&5
-
 
2807
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3013
as_fn_error "no acceptable C compiler found in \$PATH
2808
See \`config.log' for more details." >&2;}
3014
See \`config.log' for more details." "$LINENO" 5; }
2809
   { (exit 1); exit 1; }; }; }
-
 
2810
 
3015
 
2811
# Provide some information about the compiler.
3016
# Provide some information about the compiler.
2812
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3017
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2813
set X $ac_compile
3018
set X $ac_compile
2814
ac_compiler=$2
3019
ac_compiler=$2
-
 
3020
for ac_option in --version -v -V -qversion; do
2815
{ (ac_try="$ac_compiler --version >&5"
3021
  { { ac_try="$ac_compiler $ac_option >&5"
2816
case "(($ac_try" in
3022
case "(($ac_try" in
2817
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2818
  *) ac_try_echo=$ac_try;;
3024
  *) ac_try_echo=$ac_try;;
2819
esac
3025
esac
2820
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3026
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2821
$as_echo "$ac_try_echo") >&5
3027
$as_echo "$ac_try_echo"; } >&5
2822
  (eval "$ac_compiler --version >&5") 2>&5
3028
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2823
  ac_status=$?
3029
  ac_status=$?
2824
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030
  if test -s conftest.err; then
2825
  (exit $ac_status); }
3031
    sed '10a\
2826
{ (ac_try="$ac_compiler -v >&5"
3032
... rest of stderr output deleted ...
2827
case "(($ac_try" in
-
 
2828
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033
         10q' conftest.err >conftest.er1
2829
  *) ac_try_echo=$ac_try;;
-
 
2830
esac
-
 
2831
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
2832
$as_echo "$ac_try_echo") >&5
3034
    cat conftest.er1 >&5
2833
  (eval "$ac_compiler -v >&5") 2>&5
3035
    rm -f conftest.er1 conftest.err
2834
  ac_status=$?
3036
  fi
2835
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2836
  (exit $ac_status); }
3038
  test $ac_status = 0; }
2837
{ (ac_try="$ac_compiler -V >&5"
-
 
2838
case "(($ac_try" in
-
 
2839
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
2840
  *) ac_try_echo=$ac_try;;
-
 
2841
esac
3039
done
2842
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
2843
$as_echo "$ac_try_echo") >&5
-
 
2844
  (eval "$ac_compiler -V >&5") 2>&5
-
 
2845
  ac_status=$?
-
 
2846
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
2847
  (exit $ac_status); }
-
 
2848
 
3040
 
2849
cat >conftest.$ac_ext <<_ACEOF
-
 
2850
/* confdefs.h.  */
-
 
2851
_ACEOF
-
 
2852
cat confdefs.h >>conftest.$ac_ext
3041
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2853
cat >>conftest.$ac_ext <<_ACEOF
-
 
2854
/* end confdefs.h.  */
3042
/* end confdefs.h.  */
2855
 
-
 
-
 
3043
#include <stdio.h>
2856
int
3044
int
2857
main ()
3045
main ()
2858
{
3046
{
-
 
3047
FILE *f = fopen ("conftest.out", "w");
-
 
3048
 return ferror (f) || fclose (f) != 0;
2859
 
3049
 
2860
  ;
3050
  ;
2861
  return 0;
3051
  return 0;
2862
}
3052
}
2863
_ACEOF
3053
_ACEOF
2864
ac_clean_files_save=$ac_clean_files
3054
ac_clean_files_save=$ac_clean_files
2865
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3055
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2866
# Try to create an executable without -o first, disregard a.out.
3056
# Try to create an executable without -o first, disregard a.out.
2867
# It will help us diagnose broken compilers, and finding out an intuition
3057
# It will help us diagnose broken compilers, and finding out an intuition
2868
# of exeext.
3058
# of exeext.
2869
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2870
$as_echo_n "checking for C compiler default output file name... " >&6; }
3060
$as_echo_n "checking for C compiler default output file name... " >&6; }
2871
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3061
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2872
 
3062
 
2873
# The possible output files:
3063
# The possible output files:
2874
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3064
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2875
 
3065
 
2876
ac_rmfiles=
3066
ac_rmfiles=
2877
for ac_file in $ac_files
3067
for ac_file in $ac_files
2878
do
3068
do
2879
  case $ac_file in
3069
  case $ac_file in
2880
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3070
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2881
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3071
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2882
  esac
3072
  esac
2883
done
3073
done
2884
rm -f $ac_rmfiles
3074
rm -f $ac_rmfiles
2885
 
3075
 
2886
if { (ac_try="$ac_link_default"
3076
if { { ac_try="$ac_link_default"
2887
case "(($ac_try" in
3077
case "(($ac_try" in
2888
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2889
  *) ac_try_echo=$ac_try;;
3079
  *) ac_try_echo=$ac_try;;
2890
esac
3080
esac
2891
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3081
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2892
$as_echo "$ac_try_echo") >&5
3082
$as_echo "$ac_try_echo"; } >&5
2893
  (eval "$ac_link_default") 2>&5
3083
  (eval "$ac_link_default") 2>&5
2894
  ac_status=$?
3084
  ac_status=$?
2895
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2896
  (exit $ac_status); }; then
3086
  test $ac_status = 0; }; then :
2897
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3087
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2898
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3088
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2899
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3089
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2900
# so that the user can short-circuit this test for compilers unknown to
3090
# so that the user can short-circuit this test for compilers unknown to
2901
# Autoconf.
3091
# Autoconf.
2902
for ac_file in $ac_files ''
3092
for ac_file in $ac_files ''
2903
do
3093
do
2904
  test -f "$ac_file" || continue
3094
  test -f "$ac_file" || continue
2905
  case $ac_file in
3095
  case $ac_file in
2906
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3096
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2907
	;;
3097
	;;
2908
    [ab].out )
3098
    [ab].out )
2909
	# We found the default executable, but exeext='' is most
3099
	# We found the default executable, but exeext='' is most
2910
	# certainly right.
3100
	# certainly right.
2911
	break;;
3101
	break;;
2912
    *.* )
3102
    *.* )
2913
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3103
	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2914
	then :; else
3104
	then :; else
2915
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3105
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2916
	fi
3106
	fi
2917
	# We set ac_cv_exeext here because the later test for it is not
3107
	# We set ac_cv_exeext here because the later test for it is not
2918
	# safe: cross compilers may not add the suffix if given an `-o'
3108
	# safe: cross compilers may not add the suffix if given an `-o'
2919
	# argument, so we may need to know it at that point already.
3109
	# argument, so we may need to know it at that point already.
2920
	# Even if this section looks crufty: it has the advantage of
3110
	# Even if this section looks crufty: it has the advantage of
2921
	# actually working.
3111
	# actually working.
2922
	break;;
3112
	break;;
2923
    * )
3113
    * )
2924
	break;;
3114
	break;;
2925
  esac
3115
  esac
2926
done
3116
done
2927
test "$ac_cv_exeext" = no && ac_cv_exeext=
3117
test "$ac_cv_exeext" = no && ac_cv_exeext=
2928
 
3118
 
2929
else
3119
else
2930
  ac_file=''
3120
  ac_file=''
2931
fi
3121
fi
2932
 
-
 
2933
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2934
$as_echo "$ac_file" >&6; }
3123
$as_echo "$ac_file" >&6; }
2935
if test -z "$ac_file"; then
3124
if test -z "$ac_file"; then :
2936
  $as_echo "$as_me: failed program was:" >&5
3125
  $as_echo "$as_me: failed program was:" >&5
2937
sed 's/^/| /' conftest.$ac_ext >&5
3126
sed 's/^/| /' conftest.$ac_ext >&5
2938
 
3127
 
2939
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3128
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2940
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3129
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2941
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
-
 
2942
See \`config.log' for more details." >&5
3130
{ as_fn_set_status 77
2943
$as_echo "$as_me: error: C compiler cannot create executables
3131
as_fn_error "C compiler cannot create executables
2944
See \`config.log' for more details." >&2;}
3132
See \`config.log' for more details." "$LINENO" 5; }; }
2945
   { (exit 77); exit 77; }; }; }
-
 
2946
fi
3133
fi
2947
 
-
 
2948
ac_exeext=$ac_cv_exeext
3134
ac_exeext=$ac_cv_exeext
2949
 
3135
 
2950
# Check that the compiler produces executables we can run.  If not, either
3136
# Check that the compiler produces executables we can run.  If not, either
2951
# the compiler is broken, or we cross compile.
3137
# the compiler is broken, or we cross compile.
2952
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3138
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2953
$as_echo_n "checking whether the C compiler works... " >&6; }
3139
$as_echo_n "checking whether the C compiler works... " >&6; }
2954
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
-
 
2955
# If not cross compiling, check that we can run a simple program.
3140
# If not cross compiling, check that we can run a simple program.
2956
if test "$cross_compiling" != yes; then
3141
if test "$cross_compiling" != yes; then
2957
  if { ac_try='./$ac_file'
3142
  if { ac_try='./$ac_file'
2958
  { (case "(($ac_try" in
3143
  { { case "(($ac_try" in
2959
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3144
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960
  *) ac_try_echo=$ac_try;;
3145
  *) ac_try_echo=$ac_try;;
2961
esac
3146
esac
2962
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3147
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2963
$as_echo "$ac_try_echo") >&5
3148
$as_echo "$ac_try_echo"; } >&5
2964
  (eval "$ac_try") 2>&5
3149
  (eval "$ac_try") 2>&5
2965
  ac_status=$?
3150
  ac_status=$?
2966
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2967
  (exit $ac_status); }; }; then
3152
  test $ac_status = 0; }; }; then
2968
    cross_compiling=no
3153
    cross_compiling=no
2969
  else
3154
  else
2970
    if test "$cross_compiling" = maybe; then
3155
    if test "$cross_compiling" = maybe; then
2971
	cross_compiling=yes
3156
	cross_compiling=yes
2972
    else
3157
    else
2973
	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3158
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2974
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3159
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2975
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
-
 
2976
If you meant to cross compile, use \`--host'.
-
 
2977
See \`config.log' for more details." >&5
-
 
2978
$as_echo "$as_me: error: cannot run C compiled programs.
3160
as_fn_error "cannot run C compiled programs.
2979
If you meant to cross compile, use \`--host'.
3161
If you meant to cross compile, use \`--host'.
2980
See \`config.log' for more details." >&2;}
3162
See \`config.log' for more details." "$LINENO" 5; }
2981
   { (exit 1); exit 1; }; }; }
-
 
2982
    fi
3163
    fi
2983
  fi
3164
  fi
2984
fi
3165
fi
2985
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2986
$as_echo "yes" >&6; }
3167
$as_echo "yes" >&6; }
2987
 
3168
 
2988
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3169
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2989
ac_clean_files=$ac_clean_files_save
3170
ac_clean_files=$ac_clean_files_save
2990
# Check that the compiler produces executables we can run.  If not, either
3171
# Check that the compiler produces executables we can run.  If not, either
2991
# the compiler is broken, or we cross compile.
3172
# the compiler is broken, or we cross compile.
2992
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2993
$as_echo_n "checking whether we are cross compiling... " >&6; }
3174
$as_echo_n "checking whether we are cross compiling... " >&6; }
2994
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3175
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2995
$as_echo "$cross_compiling" >&6; }
3176
$as_echo "$cross_compiling" >&6; }
2996
 
3177
 
2997
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2998
$as_echo_n "checking for suffix of executables... " >&6; }
3179
$as_echo_n "checking for suffix of executables... " >&6; }
2999
if { (ac_try="$ac_link"
3180
if { { ac_try="$ac_link"
3000
case "(($ac_try" in
3181
case "(($ac_try" in
3001
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3182
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002
  *) ac_try_echo=$ac_try;;
3183
  *) ac_try_echo=$ac_try;;
3003
esac
3184
esac
3004
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3185
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3005
$as_echo "$ac_try_echo") >&5
3186
$as_echo "$ac_try_echo"; } >&5
3006
  (eval "$ac_link") 2>&5
3187
  (eval "$ac_link") 2>&5
3007
  ac_status=$?
3188
  ac_status=$?
3008
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3009
  (exit $ac_status); }; then
3190
  test $ac_status = 0; }; then :
3010
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3191
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3011
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3192
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3012
# work properly (i.e., refer to `conftest.exe'), while it won't with
3193
# work properly (i.e., refer to `conftest.exe'), while it won't with
3013
# `rm'.
3194
# `rm'.
3014
for ac_file in conftest.exe conftest conftest.*; do
3195
for ac_file in conftest.exe conftest conftest.*; do
3015
  test -f "$ac_file" || continue
3196
  test -f "$ac_file" || continue
3016
  case $ac_file in
3197
  case $ac_file in
3017
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3198
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3018
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3199
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3019
	  break;;
3200
	  break;;
3020
    * ) break;;
3201
    * ) break;;
3021
  esac
3202
  esac
3022
done
3203
done
3023
else
3204
else
3024
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3205
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3025
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3206
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3026
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
-
 
3027
See \`config.log' for more details." >&5
-
 
3028
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3207
as_fn_error "cannot compute suffix of executables: cannot compile and link
3029
See \`config.log' for more details." >&2;}
3208
See \`config.log' for more details." "$LINENO" 5; }
3030
   { (exit 1); exit 1; }; }; }
-
 
3031
fi
3209
fi
3032
 
-
 
3033
rm -f conftest$ac_cv_exeext
3210
rm -f conftest$ac_cv_exeext
3034
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3035
$as_echo "$ac_cv_exeext" >&6; }
3212
$as_echo "$ac_cv_exeext" >&6; }
3036
 
3213
 
3037
rm -f conftest.$ac_ext
3214
rm -f conftest.$ac_ext
3038
EXEEXT=$ac_cv_exeext
3215
EXEEXT=$ac_cv_exeext
3039
ac_exeext=$EXEEXT
3216
ac_exeext=$EXEEXT
3040
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3217
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3041
$as_echo_n "checking for suffix of object files... " >&6; }
3218
$as_echo_n "checking for suffix of object files... " >&6; }
3042
if test "${ac_cv_objext+set}" = set; then
3219
if test "${ac_cv_objext+set}" = set; then :
3043
  $as_echo_n "(cached) " >&6
3220
  $as_echo_n "(cached) " >&6
3044
else
3221
else
3045
  cat >conftest.$ac_ext <<_ACEOF
-
 
3046
/* confdefs.h.  */
-
 
3047
_ACEOF
-
 
3048
cat confdefs.h >>conftest.$ac_ext
3222
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049
cat >>conftest.$ac_ext <<_ACEOF
-
 
3050
/* end confdefs.h.  */
3223
/* end confdefs.h.  */
3051
 
3224
 
3052
int
3225
int
3053
main ()
3226
main ()
3054
{
3227
{
3055
 
3228
 
3056
  ;
3229
  ;
3057
  return 0;
3230
  return 0;
3058
}
3231
}
3059
_ACEOF
3232
_ACEOF
3060
rm -f conftest.o conftest.obj
3233
rm -f conftest.o conftest.obj
3061
if { (ac_try="$ac_compile"
3234
if { { ac_try="$ac_compile"
3062
case "(($ac_try" in
3235
case "(($ac_try" in
3063
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3236
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064
  *) ac_try_echo=$ac_try;;
3237
  *) ac_try_echo=$ac_try;;
3065
esac
3238
esac
3066
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3239
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3067
$as_echo "$ac_try_echo") >&5
3240
$as_echo "$ac_try_echo"; } >&5
3068
  (eval "$ac_compile") 2>&5
3241
  (eval "$ac_compile") 2>&5
3069
  ac_status=$?
3242
  ac_status=$?
3070
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3071
  (exit $ac_status); }; then
3244
  test $ac_status = 0; }; then :
3072
  for ac_file in conftest.o conftest.obj conftest.*; do
3245
  for ac_file in conftest.o conftest.obj conftest.*; do
3073
  test -f "$ac_file" || continue;
3246
  test -f "$ac_file" || continue;
3074
  case $ac_file in
3247
  case $ac_file in
3075
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3248
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3076
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3249
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3077
       break;;
3250
       break;;
3078
  esac
3251
  esac
3079
done
3252
done
3080
else
3253
else
3081
  $as_echo "$as_me: failed program was:" >&5
3254
  $as_echo "$as_me: failed program was:" >&5
3082
sed 's/^/| /' conftest.$ac_ext >&5
3255
sed 's/^/| /' conftest.$ac_ext >&5
3083
 
3256
 
3084
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3257
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3085
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3258
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3086
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
-
 
3087
See \`config.log' for more details." >&5
-
 
3088
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3259
as_fn_error "cannot compute suffix of object files: cannot compile
3089
See \`config.log' for more details." >&2;}
3260
See \`config.log' for more details." "$LINENO" 5; }
3090
   { (exit 1); exit 1; }; }; }
-
 
3091
fi
3261
fi
3092
 
-
 
3093
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3262
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3094
fi
3263
fi
3095
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3096
$as_echo "$ac_cv_objext" >&6; }
3265
$as_echo "$ac_cv_objext" >&6; }
3097
OBJEXT=$ac_cv_objext
3266
OBJEXT=$ac_cv_objext
3098
ac_objext=$OBJEXT
3267
ac_objext=$OBJEXT
3099
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3100
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3269
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3101
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3270
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3102
  $as_echo_n "(cached) " >&6
3271
  $as_echo_n "(cached) " >&6
3103
else
3272
else
3104
  cat >conftest.$ac_ext <<_ACEOF
-
 
3105
/* confdefs.h.  */
-
 
3106
_ACEOF
-
 
3107
cat confdefs.h >>conftest.$ac_ext
3273
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3108
cat >>conftest.$ac_ext <<_ACEOF
-
 
3109
/* end confdefs.h.  */
3274
/* end confdefs.h.  */
3110
 
3275
 
3111
int
3276
int
3112
main ()
3277
main ()
3113
{
3278
{
3114
#ifndef __GNUC__
3279
#ifndef __GNUC__
3115
       choke me
3280
       choke me
3116
#endif
3281
#endif
3117
 
3282
 
3118
  ;
3283
  ;
3119
  return 0;
3284
  return 0;
3120
}
3285
}
3121
_ACEOF
3286
_ACEOF
3122
rm -f conftest.$ac_objext
-
 
3123
if { (ac_try="$ac_compile"
-
 
3124
case "(($ac_try" in
-
 
3125
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
3126
  *) ac_try_echo=$ac_try;;
-
 
3127
esac
-
 
3128
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
3129
$as_echo "$ac_try_echo") >&5
-
 
3130
  (eval "$ac_compile") 2>conftest.er1
3287
if ac_fn_c_try_compile "$LINENO"; then :
3131
  ac_status=$?
-
 
3132
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
3133
  rm -f conftest.er1
-
 
3134
  cat conftest.err >&5
-
 
3135
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
3136
  (exit $ac_status); } && {
-
 
3137
	 test -z "$ac_c_werror_flag" ||
-
 
3138
	 test ! -s conftest.err
-
 
3139
       } && test -s conftest.$ac_objext; then
-
 
3140
  ac_compiler_gnu=yes
3288
  ac_compiler_gnu=yes
3141
else
3289
else
3142
  $as_echo "$as_me: failed program was:" >&5
-
 
3143
sed 's/^/| /' conftest.$ac_ext >&5
-
 
3144
 
-
 
3145
	ac_compiler_gnu=no
3290
  ac_compiler_gnu=no
3146
fi
3291
fi
3147
 
-
 
3148
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3149
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3293
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3150
 
3294
 
3151
fi
3295
fi
3152
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3153
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3297
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3154
if test $ac_compiler_gnu = yes; then
3298
if test $ac_compiler_gnu = yes; then
3155
  GCC=yes
3299
  GCC=yes
3156
else
3300
else
3157
  GCC=
3301
  GCC=
3158
fi
3302
fi
3159
ac_test_CFLAGS=${CFLAGS+set}
3303
ac_test_CFLAGS=${CFLAGS+set}
3160
ac_save_CFLAGS=$CFLAGS
3304
ac_save_CFLAGS=$CFLAGS
3161
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3162
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3306
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3163
if test "${ac_cv_prog_cc_g+set}" = set; then
3307
if test "${ac_cv_prog_cc_g+set}" = set; then :
3164
  $as_echo_n "(cached) " >&6
3308
  $as_echo_n "(cached) " >&6
3165
else
3309
else
3166
  ac_save_c_werror_flag=$ac_c_werror_flag
3310
  ac_save_c_werror_flag=$ac_c_werror_flag
3167
   ac_c_werror_flag=yes
3311
   ac_c_werror_flag=yes
3168
   ac_cv_prog_cc_g=no
3312
   ac_cv_prog_cc_g=no
3169
   CFLAGS="-g"
3313
   CFLAGS="-g"
3170
   cat >conftest.$ac_ext <<_ACEOF
-
 
3171
/* confdefs.h.  */
-
 
3172
_ACEOF
-
 
3173
cat confdefs.h >>conftest.$ac_ext
3314
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174
cat >>conftest.$ac_ext <<_ACEOF
-
 
3175
/* end confdefs.h.  */
3315
/* end confdefs.h.  */
3176
 
3316
 
3177
int
3317
int
3178
main ()
3318
main ()
3179
{
3319
{
3180
 
3320
 
3181
  ;
3321
  ;
3182
  return 0;
3322
  return 0;
3183
}
3323
}
3184
_ACEOF
3324
_ACEOF
3185
rm -f conftest.$ac_objext
-
 
3186
if { (ac_try="$ac_compile"
-
 
3187
case "(($ac_try" in
-
 
3188
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
3189
  *) ac_try_echo=$ac_try;;
-
 
3190
esac
-
 
3191
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
3192
$as_echo "$ac_try_echo") >&5
-
 
3193
  (eval "$ac_compile") 2>conftest.er1
3325
if ac_fn_c_try_compile "$LINENO"; then :
3194
  ac_status=$?
-
 
3195
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
3196
  rm -f conftest.er1
-
 
3197
  cat conftest.err >&5
-
 
3198
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
3199
  (exit $ac_status); } && {
-
 
3200
	 test -z "$ac_c_werror_flag" ||
-
 
3201
	 test ! -s conftest.err
-
 
3202
       } && test -s conftest.$ac_objext; then
-
 
3203
  ac_cv_prog_cc_g=yes
3326
  ac_cv_prog_cc_g=yes
3204
else
3327
else
3205
  $as_echo "$as_me: failed program was:" >&5
-
 
3206
sed 's/^/| /' conftest.$ac_ext >&5
-
 
3207
 
-
 
3208
	CFLAGS=""
3328
  CFLAGS=""
3209
      cat >conftest.$ac_ext <<_ACEOF
-
 
3210
/* confdefs.h.  */
-
 
3211
_ACEOF
-
 
3212
cat confdefs.h >>conftest.$ac_ext
3329
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3213
cat >>conftest.$ac_ext <<_ACEOF
-
 
3214
/* end confdefs.h.  */
3330
/* end confdefs.h.  */
3215
 
3331
 
3216
int
3332
int
3217
main ()
3333
main ()
3218
{
3334
{
3219
 
3335
 
3220
  ;
3336
  ;
3221
  return 0;
3337
  return 0;
3222
}
3338
}
3223
_ACEOF
3339
_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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
3231
$as_echo "$ac_try_echo") >&5
-
 
3232
  (eval "$ac_compile") 2>conftest.er1
3340
if ac_fn_c_try_compile "$LINENO"; then :
3233
  ac_status=$?
-
 
3234
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
3235
  rm -f conftest.er1
-
 
3236
  cat conftest.err >&5
-
 
3237
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
3238
  (exit $ac_status); } && {
-
 
3239
	 test -z "$ac_c_werror_flag" ||
-
 
3240
	 test ! -s conftest.err
-
 
3241
       } && test -s conftest.$ac_objext; then
-
 
3242
  :
-
 
3243
else
-
 
3244
  $as_echo "$as_me: failed program was:" >&5
-
 
3245
sed 's/^/| /' conftest.$ac_ext >&5
-
 
3246
 
3341
 
-
 
3342
else
3247
	ac_c_werror_flag=$ac_save_c_werror_flag
3343
  ac_c_werror_flag=$ac_save_c_werror_flag
3248
	 CFLAGS="-g"
3344
	 CFLAGS="-g"
3249
	 cat >conftest.$ac_ext <<_ACEOF
-
 
3250
/* confdefs.h.  */
-
 
3251
_ACEOF
-
 
3252
cat confdefs.h >>conftest.$ac_ext
3345
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3253
cat >>conftest.$ac_ext <<_ACEOF
-
 
3254
/* end confdefs.h.  */
3346
/* end confdefs.h.  */
3255
 
3347
 
3256
int
3348
int
3257
main ()
3349
main ()
3258
{
3350
{
3259
 
3351
 
3260
  ;
3352
  ;
3261
  return 0;
3353
  return 0;
3262
}
3354
}
3263
_ACEOF
3355
_ACEOF
3264
rm -f conftest.$ac_objext
-
 
3265
if { (ac_try="$ac_compile"
-
 
3266
case "(($ac_try" in
-
 
3267
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
3268
  *) ac_try_echo=$ac_try;;
-
 
3269
esac
-
 
3270
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
3271
$as_echo "$ac_try_echo") >&5
-
 
3272
  (eval "$ac_compile") 2>conftest.er1
3356
if ac_fn_c_try_compile "$LINENO"; then :
3273
  ac_status=$?
-
 
3274
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
3275
  rm -f conftest.er1
-
 
3276
  cat conftest.err >&5
-
 
3277
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
3278
  (exit $ac_status); } && {
-
 
3279
	 test -z "$ac_c_werror_flag" ||
-
 
3280
	 test ! -s conftest.err
-
 
3281
       } && test -s conftest.$ac_objext; then
-
 
3282
  ac_cv_prog_cc_g=yes
3357
  ac_cv_prog_cc_g=yes
3283
else
-
 
3284
  $as_echo "$as_me: failed program was:" >&5
-
 
3285
sed 's/^/| /' conftest.$ac_ext >&5
-
 
3286
 
-
 
3287
 
-
 
3288
fi
3358
fi
3289
 
-
 
3290
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3359
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3291
fi
3360
fi
3292
 
-
 
3293
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3361
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294
fi
3362
fi
3295
 
-
 
3296
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3363
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297
   ac_c_werror_flag=$ac_save_c_werror_flag
3364
   ac_c_werror_flag=$ac_save_c_werror_flag
3298
fi
3365
fi
3299
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3300
$as_echo "$ac_cv_prog_cc_g" >&6; }
3367
$as_echo "$ac_cv_prog_cc_g" >&6; }
3301
if test "$ac_test_CFLAGS" = set; then
3368
if test "$ac_test_CFLAGS" = set; then
3302
  CFLAGS=$ac_save_CFLAGS
3369
  CFLAGS=$ac_save_CFLAGS
3303
elif test $ac_cv_prog_cc_g = yes; then
3370
elif test $ac_cv_prog_cc_g = yes; then
3304
  if test "$GCC" = yes; then
3371
  if test "$GCC" = yes; then
3305
    CFLAGS="-g -O2"
3372
    CFLAGS="-g -O2"
3306
  else
3373
  else
3307
    CFLAGS="-g"
3374
    CFLAGS="-g"
3308
  fi
3375
  fi
3309
else
3376
else
3310
  if test "$GCC" = yes; then
3377
  if test "$GCC" = yes; then
3311
    CFLAGS="-O2"
3378
    CFLAGS="-O2"
3312
  else
3379
  else
3313
    CFLAGS=
3380
    CFLAGS=
3314
  fi
3381
  fi
3315
fi
3382
fi
3316
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3317
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3384
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3318
if test "${ac_cv_prog_cc_c89+set}" = set; then
3385
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3319
  $as_echo_n "(cached) " >&6
3386
  $as_echo_n "(cached) " >&6
3320
else
3387
else
3321
  ac_cv_prog_cc_c89=no
3388
  ac_cv_prog_cc_c89=no
3322
ac_save_CC=$CC
3389
ac_save_CC=$CC
3323
cat >conftest.$ac_ext <<_ACEOF
-
 
3324
/* confdefs.h.  */
-
 
3325
_ACEOF
-
 
3326
cat confdefs.h >>conftest.$ac_ext
3390
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3327
cat >>conftest.$ac_ext <<_ACEOF
-
 
3328
/* end confdefs.h.  */
3391
/* end confdefs.h.  */
3329
#include <stdarg.h>
3392
#include <stdarg.h>
3330
#include <stdio.h>
3393
#include <stdio.h>
3331
#include <sys/types.h>
3394
#include <sys/types.h>
3332
#include <sys/stat.h>
3395
#include <sys/stat.h>
3333
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3396
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3334
struct buf { int x; };
3397
struct buf { int x; };
3335
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3398
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3336
static char *e (p, i)
3399
static char *e (p, i)
3337
     char **p;
3400
     char **p;
3338
     int i;
3401
     int i;
3339
{
3402
{
3340
  return p[i];
3403
  return p[i];
3341
}
3404
}
3342
static char *f (char * (*g) (char **, int), char **p, ...)
3405
static char *f (char * (*g) (char **, int), char **p, ...)
3343
{
3406
{
3344
  char *s;
3407
  char *s;
3345
  va_list v;
3408
  va_list v;
3346
  va_start (v,p);
3409
  va_start (v,p);
3347
  s = g (p, va_arg (v,int));
3410
  s = g (p, va_arg (v,int));
3348
  va_end (v);
3411
  va_end (v);
3349
  return s;
3412
  return s;
3350
}
3413
}
3351
 
3414
 
3352
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3415
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3353
   function prototypes and stuff, but not '\xHH' hex character constants.
3416
   function prototypes and stuff, but not '\xHH' hex character constants.
3354
   These don't provoke an error unfortunately, instead are silently treated
3417
   These don't provoke an error unfortunately, instead are silently treated
3355
   as 'x'.  The following induces an error, until -std is added to get
3418
   as 'x'.  The following induces an error, until -std is added to get
3356
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3419
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3357
   array size at least.  It's necessary to write '\x00'==0 to get something
3420
   array size at least.  It's necessary to write '\x00'==0 to get something
3358
   that's true only with -std.  */
3421
   that's true only with -std.  */
3359
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3422
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3360
 
3423
 
3361
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3424
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3362
   inside strings and character constants.  */
3425
   inside strings and character constants.  */
3363
#define FOO(x) 'x'
3426
#define FOO(x) 'x'
3364
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3427
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3365
 
3428
 
3366
int test (int i, double x);
3429
int test (int i, double x);
3367
struct s1 {int (*f) (int a);};
3430
struct s1 {int (*f) (int a);};
3368
struct s2 {int (*f) (double a);};
3431
struct s2 {int (*f) (double a);};
3369
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3432
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3370
int argc;
3433
int argc;
3371
char **argv;
3434
char **argv;
3372
int
3435
int
3373
main ()
3436
main ()
3374
{
3437
{
3375
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3438
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3376
  ;
3439
  ;
3377
  return 0;
3440
  return 0;
3378
}
3441
}
3379
_ACEOF
3442
_ACEOF
3380
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3443
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3381
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3444
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3382
do
3445
do
3383
  CC="$ac_save_CC $ac_arg"
3446
  CC="$ac_save_CC $ac_arg"
3384
  rm -f conftest.$ac_objext
-
 
3385
if { (ac_try="$ac_compile"
-
 
3386
case "(($ac_try" in
-
 
3387
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
3388
  *) ac_try_echo=$ac_try;;
-
 
3389
esac
-
 
3390
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
3391
$as_echo "$ac_try_echo") >&5
-
 
3392
  (eval "$ac_compile") 2>conftest.er1
3447
  if ac_fn_c_try_compile "$LINENO"; then :
3393
  ac_status=$?
-
 
3394
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
3395
  rm -f conftest.er1
-
 
3396
  cat conftest.err >&5
-
 
3397
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
3398
  (exit $ac_status); } && {
-
 
3399
	 test -z "$ac_c_werror_flag" ||
-
 
3400
	 test ! -s conftest.err
-
 
3401
       } && test -s conftest.$ac_objext; then
-
 
3402
  ac_cv_prog_cc_c89=$ac_arg
3448
  ac_cv_prog_cc_c89=$ac_arg
3403
else
-
 
3404
  $as_echo "$as_me: failed program was:" >&5
-
 
3405
sed 's/^/| /' conftest.$ac_ext >&5
-
 
3406
 
-
 
3407
 
-
 
3408
fi
3449
fi
3409
 
-
 
3410
rm -f core conftest.err conftest.$ac_objext
3450
rm -f core conftest.err conftest.$ac_objext
3411
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3451
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3412
done
3452
done
3413
rm -f conftest.$ac_ext
3453
rm -f conftest.$ac_ext
3414
CC=$ac_save_CC
3454
CC=$ac_save_CC
3415
 
3455
 
3416
fi
3456
fi
3417
# AC_CACHE_VAL
3457
# AC_CACHE_VAL
3418
case "x$ac_cv_prog_cc_c89" in
3458
case "x$ac_cv_prog_cc_c89" in
3419
  x)
3459
  x)
3420
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3460
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3421
$as_echo "none needed" >&6; } ;;
3461
$as_echo "none needed" >&6; } ;;
3422
  xno)
3462
  xno)
3423
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3463
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3424
$as_echo "unsupported" >&6; } ;;
3464
$as_echo "unsupported" >&6; } ;;
3425
  *)
3465
  *)
3426
    CC="$CC $ac_cv_prog_cc_c89"
3466
    CC="$CC $ac_cv_prog_cc_c89"
3427
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3467
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3428
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3468
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3429
esac
3469
esac
-
 
3470
if test "x$ac_cv_prog_cc_c89" != xno; then :
3430
 
3471
 
-
 
3472
fi
3431
 
3473
 
3432
ac_ext=c
3474
ac_ext=c
3433
ac_cpp='$CPP $CPPFLAGS'
3475
ac_cpp='$CPP $CPPFLAGS'
3434
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3476
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3435
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3477
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3436
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3478
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3437
DEPDIR="${am__leading_dot}deps"
3479
DEPDIR="${am__leading_dot}deps"
3438
 
3480
 
3439
ac_config_commands="$ac_config_commands depfiles"
3481
ac_config_commands="$ac_config_commands depfiles"
3440
 
3482
 
3441
 
3483
 
3442
am_make=${MAKE-make}
3484
am_make=${MAKE-make}
3443
cat > confinc << 'END'
3485
cat > confinc << 'END'
3444
am__doit:
3486
am__doit:
3445
	@echo done
3487
	@echo this is the am__doit target
3446
.PHONY: am__doit
3488
.PHONY: am__doit
3447
END
3489
END
3448
# If we don't find an include directive, just comment out the code.
3490
# If we don't find an include directive, just comment out the code.
3449
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3450
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3492
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3451
am__include="#"
3493
am__include="#"
3452
am__quote=
3494
am__quote=
3453
_am_result=none
3495
_am_result=none
3454
# First try GNU make style include.
3496
# First try GNU make style include.
3455
echo "include confinc" > confmf
3497
echo "include confinc" > confmf
3456
# We grep out `Entering directory' and `Leaving directory'
-
 
3457
# messages which can occur if `w' ends up in MAKEFLAGS.
-
 
3458
# In particular we don't look at `^make:' because GNU make might
3498
# Ignore all kinds of additional output from `make'.
3459
# be invoked under some other name (usually "gmake"), in which
3499
case `$am_make -s -f confmf 2> /dev/null` in #(
3460
# case it prints its new name instead of `make'.
3500
*the\ am__doit\ target*)
3461
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
-
 
3462
   am__include=include
3501
  am__include=include
3463
   am__quote=
3502
  am__quote=
3464
   _am_result=GNU
3503
  _am_result=GNU
-
 
3504
  ;;
3465
fi
3505
esac
3466
# Now try BSD make style include.
3506
# Now try BSD make style include.
3467
if test "$am__include" = "#"; then
3507
if test "$am__include" = "#"; then
3468
   echo '.include "confinc"' > confmf
3508
   echo '.include "confinc"' > confmf
3469
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3509
   case `$am_make -s -f confmf 2> /dev/null` in #(
-
 
3510
   *the\ am__doit\ target*)
3470
      am__include=.include
3511
     am__include=.include
3471
      am__quote="\""
3512
     am__quote="\""
3472
      _am_result=BSD
3513
     _am_result=BSD
-
 
3514
     ;;
3473
   fi
3515
   esac
3474
fi
3516
fi
3475
 
3517
 
3476
 
3518
 
3477
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3519
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3478
$as_echo "$_am_result" >&6; }
3520
$as_echo "$_am_result" >&6; }
3479
rm -f confinc confmf
3521
rm -f confinc confmf
3480
 
3522
 
3481
# Check whether --enable-dependency-tracking was given.
3523
# Check whether --enable-dependency-tracking was given.
3482
if test "${enable_dependency_tracking+set}" = set; then
3524
if test "${enable_dependency_tracking+set}" = set; then :
3483
  enableval=$enable_dependency_tracking;
3525
  enableval=$enable_dependency_tracking;
3484
fi
3526
fi
3485
 
3527
 
3486
if test "x$enable_dependency_tracking" != xno; then
3528
if test "x$enable_dependency_tracking" != xno; then
3487
  am_depcomp="$ac_aux_dir/depcomp"
3529
  am_depcomp="$ac_aux_dir/depcomp"
3488
  AMDEPBACKSLASH='\'
3530
  AMDEPBACKSLASH='\'
3489
fi
3531
fi
3490
 if test "x$enable_dependency_tracking" != xno; then
3532
 if test "x$enable_dependency_tracking" != xno; then
3491
  AMDEP_TRUE=
3533
  AMDEP_TRUE=
3492
  AMDEP_FALSE='#'
3534
  AMDEP_FALSE='#'
3493
else
3535
else
3494
  AMDEP_TRUE='#'
3536
  AMDEP_TRUE='#'
3495
  AMDEP_FALSE=
3537
  AMDEP_FALSE=
3496
fi
3538
fi
3497
 
3539
 
3498
 
3540
 
3499
 
3541
 
3500
depcc="$CC"   am_compiler_list=
3542
depcc="$CC"   am_compiler_list=
3501
 
3543
 
3502
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3503
$as_echo_n "checking dependency style of $depcc... " >&6; }
3545
$as_echo_n "checking dependency style of $depcc... " >&6; }
3504
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3546
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3505
  $as_echo_n "(cached) " >&6
3547
  $as_echo_n "(cached) " >&6
3506
else
3548
else
3507
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3549
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3508
  # We make a subdir and do the tests there.  Otherwise we can end up
3550
  # We make a subdir and do the tests there.  Otherwise we can end up
3509
  # making bogus files that we don't know about and never remove.  For
3551
  # making bogus files that we don't know about and never remove.  For
3510
  # instance it was reported that on HP-UX the gcc test will end up
3552
  # instance it was reported that on HP-UX the gcc test will end up
3511
  # making a dummy file named `D' -- because `-MD' means `put the output
3553
  # making a dummy file named `D' -- because `-MD' means `put the output
3512
  # in D'.
3554
  # in D'.
3513
  mkdir conftest.dir
3555
  mkdir conftest.dir
3514
  # Copy depcomp to subdir because otherwise we won't find it if we're
3556
  # Copy depcomp to subdir because otherwise we won't find it if we're
3515
  # using a relative directory.
3557
  # using a relative directory.
3516
  cp "$am_depcomp" conftest.dir
3558
  cp "$am_depcomp" conftest.dir
3517
  cd conftest.dir
3559
  cd conftest.dir
3518
  # We will build objects and dependencies in a subdirectory because
3560
  # We will build objects and dependencies in a subdirectory because
3519
  # it helps to detect inapplicable dependency modes.  For instance
3561
  # it helps to detect inapplicable dependency modes.  For instance
3520
  # both Tru64's cc and ICC support -MD to output dependencies as a
3562
  # both Tru64's cc and ICC support -MD to output dependencies as a
3521
  # side effect of compilation, but ICC will put the dependencies in
3563
  # side effect of compilation, but ICC will put the dependencies in
3522
  # the current directory while Tru64 will put them in the object
3564
  # the current directory while Tru64 will put them in the object
3523
  # directory.
3565
  # directory.
3524
  mkdir sub
3566
  mkdir sub
3525
 
3567
 
3526
  am_cv_CC_dependencies_compiler_type=none
3568
  am_cv_CC_dependencies_compiler_type=none
3527
  if test "$am_compiler_list" = ""; then
3569
  if test "$am_compiler_list" = ""; then
3528
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3570
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3529
  fi
3571
  fi
-
 
3572
  am__universal=false
-
 
3573
  case " $depcc " in #(
-
 
3574
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
-
 
3575
     esac
-
 
3576
 
3530
  for depmode in $am_compiler_list; do
3577
  for depmode in $am_compiler_list; do
3531
    # Setup a source with many dependencies, because some compilers
3578
    # Setup a source with many dependencies, because some compilers
3532
    # like to wrap large dependency lists on column 80 (with \), and
3579
    # like to wrap large dependency lists on column 80 (with \), and
3533
    # we should not choose a depcomp mode which is confused by this.
3580
    # we should not choose a depcomp mode which is confused by this.
3534
    #
3581
    #
3535
    # We need to recreate these files for each test, as the compiler may
3582
    # We need to recreate these files for each test, as the compiler may
3536
    # overwrite some of them when testing with obscure command lines.
3583
    # overwrite some of them when testing with obscure command lines.
3537
    # This happens at least with the AIX C compiler.
3584
    # This happens at least with the AIX C compiler.
3538
    : > sub/conftest.c
3585
    : > sub/conftest.c
3539
    for i in 1 2 3 4 5 6; do
3586
    for i in 1 2 3 4 5 6; do
3540
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3587
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3541
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3588
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3542
      # Solaris 8's {/usr,}/bin/sh.
3589
      # Solaris 8's {/usr,}/bin/sh.
3543
      touch sub/conftst$i.h
3590
      touch sub/conftst$i.h
3544
    done
3591
    done
3545
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3592
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3546
 
3593
 
-
 
3594
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
-
 
3595
    # mode.  It turns out that the SunPro C++ compiler does not properly
-
 
3596
    # handle `-M -o', and we need to detect this.  Also, some Intel
-
 
3597
    # versions had trouble with output in subdirs
-
 
3598
    am__obj=sub/conftest.${OBJEXT-o}
-
 
3599
    am__minus_obj="-o $am__obj"
3547
    case $depmode in
3600
    case $depmode in
-
 
3601
    gcc)
-
 
3602
      # This depmode causes a compiler race in universal mode.
-
 
3603
      test "$am__universal" = false || continue
-
 
3604
      ;;
3548
    nosideeffect)
3605
    nosideeffect)
3549
      # after this tag, mechanisms are not by side-effect, so they'll
3606
      # after this tag, mechanisms are not by side-effect, so they'll
3550
      # only be used when explicitly requested
3607
      # only be used when explicitly requested
3551
      if test "x$enable_dependency_tracking" = xyes; then
3608
      if test "x$enable_dependency_tracking" = xyes; then
3552
	continue
3609
	continue
3553
      else
3610
      else
3554
	break
3611
	break
3555
      fi
3612
      fi
3556
      ;;
3613
      ;;
-
 
3614
    msvisualcpp | msvcmsys)
-
 
3615
      # This compiler won't grok `-c -o', but also, the minuso test has
-
 
3616
      # not run yet.  These depmodes are late enough in the game, and
-
 
3617
      # so weak that their functioning should not be impacted.
-
 
3618
      am__obj=conftest.${OBJEXT-o}
-
 
3619
      am__minus_obj=
-
 
3620
      ;;
3557
    none) break ;;
3621
    none) break ;;
3558
    esac
3622
    esac
3559
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
-
 
3560
    # mode.  It turns out that the SunPro C++ compiler does not properly
-
 
3561
    # handle `-M -o', and we need to detect this.
-
 
3562
    if depmode=$depmode \
3623
    if depmode=$depmode \
3563
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3624
       source=sub/conftest.c object=$am__obj \
3564
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3625
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3565
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3626
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3566
         >/dev/null 2>conftest.err &&
3627
         >/dev/null 2>conftest.err &&
3567
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3628
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3568
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3629
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3569
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3630
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3570
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3631
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3571
      # icc doesn't choke on unknown options, it will just issue warnings
3632
      # icc doesn't choke on unknown options, it will just issue warnings
3572
      # or remarks (even with -Werror).  So we grep stderr for any message
3633
      # or remarks (even with -Werror).  So we grep stderr for any message
3573
      # that says an option was ignored or not supported.
3634
      # that says an option was ignored or not supported.
3574
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3635
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3575
      #   icc: Command line warning: ignoring option '-M'; no argument required
3636
      #   icc: Command line warning: ignoring option '-M'; no argument required
3576
      # The diagnosis changed in icc 8.0:
3637
      # The diagnosis changed in icc 8.0:
3577
      #   icc: Command line remark: option '-MP' not supported
3638
      #   icc: Command line remark: option '-MP' not supported
3578
      if (grep 'ignoring option' conftest.err ||
3639
      if (grep 'ignoring option' conftest.err ||
3579
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3640
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3580
        am_cv_CC_dependencies_compiler_type=$depmode
3641
        am_cv_CC_dependencies_compiler_type=$depmode
3581
        break
3642
        break
3582
      fi
3643
      fi
3583
    fi
3644
    fi
3584
  done
3645
  done
3585
 
3646
 
3586
  cd ..
3647
  cd ..
3587
  rm -rf conftest.dir
3648
  rm -rf conftest.dir
3588
else
3649
else
3589
  am_cv_CC_dependencies_compiler_type=none
3650
  am_cv_CC_dependencies_compiler_type=none
3590
fi
3651
fi
3591
 
3652
 
3592
fi
3653
fi
3593
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3594
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3655
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3595
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3656
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3596
 
3657
 
3597
 if
3658
 if
3598
  test "x$enable_dependency_tracking" != xno \
3659
  test "x$enable_dependency_tracking" != xno \
3599
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3660
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3600
  am__fastdepCC_TRUE=
3661
  am__fastdepCC_TRUE=
3601
  am__fastdepCC_FALSE='#'
3662
  am__fastdepCC_FALSE='#'
3602
else
3663
else
3603
  am__fastdepCC_TRUE='#'
3664
  am__fastdepCC_TRUE='#'
3604
  am__fastdepCC_FALSE=
3665
  am__fastdepCC_FALSE=
3605
fi
3666
fi
3606
 
3667
 
3607
 
3668
 
3608
case `pwd` in
3669
case `pwd` in
3609
  *\ * | *\	*)
3670
  *\ * | *\	*)
3610
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3671
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3611
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3672
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3612
esac
3673
esac
3613
 
3674
 
3614
 
3675
 
3615
 
3676
 
3616
macro_version='2.2.6'
3677
macro_version='2.2.6'
3617
macro_revision='1.3012'
3678
macro_revision='1.3012'
3618
 
3679
 
3619
 
3680
 
3620
 
3681
 
3621
 
3682
 
3622
 
3683
 
3623
 
3684
 
3624
 
3685
 
3625
 
3686
 
3626
 
3687
 
3627
 
3688
 
3628
 
3689
 
3629
 
3690
 
3630
 
3691
 
3631
ltmain="$ac_aux_dir/ltmain.sh"
3692
ltmain="$ac_aux_dir/ltmain.sh"
3632
 
3693
 
3633
# Make sure we can run config.sub.
3694
# Make sure we can run config.sub.
3634
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3695
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3635
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-
 
3636
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3696
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3637
   { (exit 1); exit 1; }; }
-
 
3638
 
3697
 
3639
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
3698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3640
$as_echo_n "checking build system type... " >&6; }
3699
$as_echo_n "checking build system type... " >&6; }
3641
if test "${ac_cv_build+set}" = set; then
3700
if test "${ac_cv_build+set}" = set; then :
3642
  $as_echo_n "(cached) " >&6
3701
  $as_echo_n "(cached) " >&6
3643
else
3702
else
3644
  ac_build_alias=$build_alias
3703
  ac_build_alias=$build_alias
3645
test "x$ac_build_alias" = x &&
3704
test "x$ac_build_alias" = x &&
3646
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3705
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3647
test "x$ac_build_alias" = x &&
3706
test "x$ac_build_alias" = x &&
3648
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-
 
3649
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3707
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3650
   { (exit 1); exit 1; }; }
-
 
3651
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3708
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3652
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-
 
3653
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3709
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3654
   { (exit 1); exit 1; }; }
-
 
3655
 
3710
 
3656
fi
3711
fi
3657
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3658
$as_echo "$ac_cv_build" >&6; }
3713
$as_echo "$ac_cv_build" >&6; }
3659
case $ac_cv_build in
3714
case $ac_cv_build in
3660
*-*-*) ;;
3715
*-*-*) ;;
3661
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-
 
3662
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
3716
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3663
   { (exit 1); exit 1; }; };;
-
 
3664
esac
3717
esac
3665
build=$ac_cv_build
3718
build=$ac_cv_build
3666
ac_save_IFS=$IFS; IFS='-'
3719
ac_save_IFS=$IFS; IFS='-'
3667
set x $ac_cv_build
3720
set x $ac_cv_build
3668
shift
3721
shift
3669
build_cpu=$1
3722
build_cpu=$1
3670
build_vendor=$2
3723
build_vendor=$2
3671
shift; shift
3724
shift; shift
3672
# Remember, the first character of IFS is used to create $*,
3725
# Remember, the first character of IFS is used to create $*,
3673
# except with old shells:
3726
# except with old shells:
3674
build_os=$*
3727
build_os=$*
3675
IFS=$ac_save_IFS
3728
IFS=$ac_save_IFS
3676
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3729
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3677
 
3730
 
3678
 
3731
 
3679
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
3732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3680
$as_echo_n "checking host system type... " >&6; }
3733
$as_echo_n "checking host system type... " >&6; }
3681
if test "${ac_cv_host+set}" = set; then
3734
if test "${ac_cv_host+set}" = set; then :
3682
  $as_echo_n "(cached) " >&6
3735
  $as_echo_n "(cached) " >&6
3683
else
3736
else
3684
  if test "x$host_alias" = x; then
3737
  if test "x$host_alias" = x; then
3685
  ac_cv_host=$ac_cv_build
3738
  ac_cv_host=$ac_cv_build
3686
else
3739
else
3687
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3740
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3688
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-
 
3689
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3741
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3690
   { (exit 1); exit 1; }; }
-
 
3691
fi
3742
fi
3692
 
3743
 
3693
fi
3744
fi
3694
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3695
$as_echo "$ac_cv_host" >&6; }
3746
$as_echo "$ac_cv_host" >&6; }
3696
case $ac_cv_host in
3747
case $ac_cv_host in
3697
*-*-*) ;;
3748
*-*-*) ;;
3698
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-
 
3699
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
3749
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3700
   { (exit 1); exit 1; }; };;
-
 
3701
esac
3750
esac
3702
host=$ac_cv_host
3751
host=$ac_cv_host
3703
ac_save_IFS=$IFS; IFS='-'
3752
ac_save_IFS=$IFS; IFS='-'
3704
set x $ac_cv_host
3753
set x $ac_cv_host
3705
shift
3754
shift
3706
host_cpu=$1
3755
host_cpu=$1
3707
host_vendor=$2
3756
host_vendor=$2
3708
shift; shift
3757
shift; shift
3709
# Remember, the first character of IFS is used to create $*,
3758
# Remember, the first character of IFS is used to create $*,
3710
# except with old shells:
3759
# except with old shells:
3711
host_os=$*
3760
host_os=$*
3712
IFS=$ac_save_IFS
3761
IFS=$ac_save_IFS
3713
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3762
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3714
 
3763
 
3715
 
3764
 
3716
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3717
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3766
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3718
if test "${ac_cv_path_SED+set}" = set; then
3767
if test "${ac_cv_path_SED+set}" = set; then :
3719
  $as_echo_n "(cached) " >&6
3768
  $as_echo_n "(cached) " >&6
3720
else
3769
else
3721
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3770
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3722
     for ac_i in 1 2 3 4 5 6 7; do
3771
     for ac_i in 1 2 3 4 5 6 7; do
3723
       ac_script="$ac_script$as_nl$ac_script"
3772
       ac_script="$ac_script$as_nl$ac_script"
3724
     done
3773
     done
3725
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3774
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3726
     $as_unset ac_script || ac_script=
3775
     { ac_script=; unset ac_script;}
3727
     if test -z "$SED"; then
3776
     if test -z "$SED"; then
3728
  ac_path_SED_found=false
3777
  ac_path_SED_found=false
3729
  # Loop through the user's path and test for each of PROGNAME-LIST
3778
  # Loop through the user's path and test for each of PROGNAME-LIST
3730
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3731
for as_dir in $PATH
3780
for as_dir in $PATH
3732
do
3781
do
3733
  IFS=$as_save_IFS
3782
  IFS=$as_save_IFS
3734
  test -z "$as_dir" && as_dir=.
3783
  test -z "$as_dir" && as_dir=.
3735
  for ac_prog in sed gsed; do
3784
    for ac_prog in sed gsed; do
3736
    for ac_exec_ext in '' $ac_executable_extensions; do
3785
    for ac_exec_ext in '' $ac_executable_extensions; do
3737
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3786
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3738
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3787
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3739
# Check for GNU ac_path_SED and select it if it is found.
3788
# Check for GNU ac_path_SED and select it if it is found.
3740
  # Check for GNU $ac_path_SED
3789
  # Check for GNU $ac_path_SED
3741
case `"$ac_path_SED" --version 2>&1` in
3790
case `"$ac_path_SED" --version 2>&1` in
3742
*GNU*)
3791
*GNU*)
3743
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3792
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3744
*)
3793
*)
3745
  ac_count=0
3794
  ac_count=0
3746
  $as_echo_n 0123456789 >"conftest.in"
3795
  $as_echo_n 0123456789 >"conftest.in"
3747
  while :
3796
  while :
3748
  do
3797
  do
3749
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3798
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3750
    mv "conftest.tmp" "conftest.in"
3799
    mv "conftest.tmp" "conftest.in"
3751
    cp "conftest.in" "conftest.nl"
3800
    cp "conftest.in" "conftest.nl"
3752
    $as_echo '' >> "conftest.nl"
3801
    $as_echo '' >> "conftest.nl"
3753
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3802
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3754
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3803
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3755
    ac_count=`expr $ac_count + 1`
3804
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3756
    if test $ac_count -gt ${ac_path_SED_max-0}; then
3805
    if test $ac_count -gt ${ac_path_SED_max-0}; then
3757
      # Best one so far, save it but keep looking for a better one
3806
      # Best one so far, save it but keep looking for a better one
3758
      ac_cv_path_SED="$ac_path_SED"
3807
      ac_cv_path_SED="$ac_path_SED"
3759
      ac_path_SED_max=$ac_count
3808
      ac_path_SED_max=$ac_count
3760
    fi
3809
    fi
3761
    # 10*(2^10) chars as input seems more than enough
3810
    # 10*(2^10) chars as input seems more than enough
3762
    test $ac_count -gt 10 && break
3811
    test $ac_count -gt 10 && break
3763
  done
3812
  done
3764
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3813
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3765
esac
3814
esac
3766
 
3815
 
3767
      $ac_path_SED_found && break 3
3816
      $ac_path_SED_found && break 3
3768
    done
3817
    done
3769
  done
3818
  done
3770
done
3819
  done
3771
IFS=$as_save_IFS
3820
IFS=$as_save_IFS
3772
  if test -z "$ac_cv_path_SED"; then
3821
  if test -z "$ac_cv_path_SED"; then
3773
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
-
 
3774
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3822
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3775
   { (exit 1); exit 1; }; }
-
 
3776
  fi
3823
  fi
3777
else
3824
else
3778
  ac_cv_path_SED=$SED
3825
  ac_cv_path_SED=$SED
3779
fi
3826
fi
3780
 
3827
 
3781
fi
3828
fi
3782
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3783
$as_echo "$ac_cv_path_SED" >&6; }
3830
$as_echo "$ac_cv_path_SED" >&6; }
3784
 SED="$ac_cv_path_SED"
3831
 SED="$ac_cv_path_SED"
3785
  rm -f conftest.sed
3832
  rm -f conftest.sed
3786
 
3833
 
3787
test -z "$SED" && SED=sed
3834
test -z "$SED" && SED=sed
3788
Xsed="$SED -e 1s/^X//"
3835
Xsed="$SED -e 1s/^X//"
3789
 
3836
 
3790
 
3837
 
3791
 
3838
 
3792
 
3839
 
3793
 
3840
 
3794
 
3841
 
3795
 
3842
 
3796
 
3843
 
3797
 
3844
 
3798
 
3845
 
3799
 
3846
 
3800
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3801
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3848
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3802
if test "${ac_cv_path_GREP+set}" = set; then
3849
if test "${ac_cv_path_GREP+set}" = set; then :
3803
  $as_echo_n "(cached) " >&6
3850
  $as_echo_n "(cached) " >&6
3804
else
3851
else
3805
  if test -z "$GREP"; then
3852
  if test -z "$GREP"; then
3806
  ac_path_GREP_found=false
3853
  ac_path_GREP_found=false
3807
  # Loop through the user's path and test for each of PROGNAME-LIST
3854
  # Loop through the user's path and test for each of PROGNAME-LIST
3808
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3809
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3856
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3810
do
3857
do
3811
  IFS=$as_save_IFS
3858
  IFS=$as_save_IFS
3812
  test -z "$as_dir" && as_dir=.
3859
  test -z "$as_dir" && as_dir=.
3813
  for ac_prog in grep ggrep; do
3860
    for ac_prog in grep ggrep; do
3814
    for ac_exec_ext in '' $ac_executable_extensions; do
3861
    for ac_exec_ext in '' $ac_executable_extensions; do
3815
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3862
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3816
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3863
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3817
# Check for GNU ac_path_GREP and select it if it is found.
3864
# Check for GNU ac_path_GREP and select it if it is found.
3818
  # Check for GNU $ac_path_GREP
3865
  # Check for GNU $ac_path_GREP
3819
case `"$ac_path_GREP" --version 2>&1` in
3866
case `"$ac_path_GREP" --version 2>&1` in
3820
*GNU*)
3867
*GNU*)
3821
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3868
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3822
*)
3869
*)
3823
  ac_count=0
3870
  ac_count=0
3824
  $as_echo_n 0123456789 >"conftest.in"
3871
  $as_echo_n 0123456789 >"conftest.in"
3825
  while :
3872
  while :
3826
  do
3873
  do
3827
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3874
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3828
    mv "conftest.tmp" "conftest.in"
3875
    mv "conftest.tmp" "conftest.in"
3829
    cp "conftest.in" "conftest.nl"
3876
    cp "conftest.in" "conftest.nl"
3830
    $as_echo 'GREP' >> "conftest.nl"
3877
    $as_echo 'GREP' >> "conftest.nl"
3831
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3878
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3832
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3879
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3833
    ac_count=`expr $ac_count + 1`
3880
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3834
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3881
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3835
      # Best one so far, save it but keep looking for a better one
3882
      # Best one so far, save it but keep looking for a better one
3836
      ac_cv_path_GREP="$ac_path_GREP"
3883
      ac_cv_path_GREP="$ac_path_GREP"
3837
      ac_path_GREP_max=$ac_count
3884
      ac_path_GREP_max=$ac_count
3838
    fi
3885
    fi
3839
    # 10*(2^10) chars as input seems more than enough
3886
    # 10*(2^10) chars as input seems more than enough
3840
    test $ac_count -gt 10 && break
3887
    test $ac_count -gt 10 && break
3841
  done
3888
  done
3842
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3889
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3843
esac
3890
esac
3844
 
3891
 
3845
      $ac_path_GREP_found && break 3
3892
      $ac_path_GREP_found && break 3
3846
    done
3893
    done
3847
  done
3894
  done
3848
done
3895
  done
3849
IFS=$as_save_IFS
3896
IFS=$as_save_IFS
3850
  if test -z "$ac_cv_path_GREP"; then
3897
  if test -z "$ac_cv_path_GREP"; then
3851
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
-
 
3852
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3898
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3853
   { (exit 1); exit 1; }; }
-
 
3854
  fi
3899
  fi
3855
else
3900
else
3856
  ac_cv_path_GREP=$GREP
3901
  ac_cv_path_GREP=$GREP
3857
fi
3902
fi
3858
 
3903
 
3859
fi
3904
fi
3860
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3861
$as_echo "$ac_cv_path_GREP" >&6; }
3906
$as_echo "$ac_cv_path_GREP" >&6; }
3862
 GREP="$ac_cv_path_GREP"
3907
 GREP="$ac_cv_path_GREP"
3863
 
3908
 
3864
 
3909
 
3865
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3866
$as_echo_n "checking for egrep... " >&6; }
3911
$as_echo_n "checking for egrep... " >&6; }
3867
if test "${ac_cv_path_EGREP+set}" = set; then
3912
if test "${ac_cv_path_EGREP+set}" = set; then :
3868
  $as_echo_n "(cached) " >&6
3913
  $as_echo_n "(cached) " >&6
3869
else
3914
else
3870
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3915
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3871
   then ac_cv_path_EGREP="$GREP -E"
3916
   then ac_cv_path_EGREP="$GREP -E"
3872
   else
3917
   else
3873
     if test -z "$EGREP"; then
3918
     if test -z "$EGREP"; then
3874
  ac_path_EGREP_found=false
3919
  ac_path_EGREP_found=false
3875
  # Loop through the user's path and test for each of PROGNAME-LIST
3920
  # Loop through the user's path and test for each of PROGNAME-LIST
3876
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3921
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3922
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3878
do
3923
do
3879
  IFS=$as_save_IFS
3924
  IFS=$as_save_IFS
3880
  test -z "$as_dir" && as_dir=.
3925
  test -z "$as_dir" && as_dir=.
3881
  for ac_prog in egrep; do
3926
    for ac_prog in egrep; do
3882
    for ac_exec_ext in '' $ac_executable_extensions; do
3927
    for ac_exec_ext in '' $ac_executable_extensions; do
3883
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3928
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3884
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3929
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3885
# Check for GNU ac_path_EGREP and select it if it is found.
3930
# Check for GNU ac_path_EGREP and select it if it is found.
3886
  # Check for GNU $ac_path_EGREP
3931
  # Check for GNU $ac_path_EGREP
3887
case `"$ac_path_EGREP" --version 2>&1` in
3932
case `"$ac_path_EGREP" --version 2>&1` in
3888
*GNU*)
3933
*GNU*)
3889
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3934
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3890
*)
3935
*)
3891
  ac_count=0
3936
  ac_count=0
3892
  $as_echo_n 0123456789 >"conftest.in"
3937
  $as_echo_n 0123456789 >"conftest.in"
3893
  while :
3938
  while :
3894
  do
3939
  do
3895
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3940
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3896
    mv "conftest.tmp" "conftest.in"
3941
    mv "conftest.tmp" "conftest.in"
3897
    cp "conftest.in" "conftest.nl"
3942
    cp "conftest.in" "conftest.nl"
3898
    $as_echo 'EGREP' >> "conftest.nl"
3943
    $as_echo 'EGREP' >> "conftest.nl"
3899
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3944
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3900
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3945
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3901
    ac_count=`expr $ac_count + 1`
3946
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3902
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3947
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3903
      # Best one so far, save it but keep looking for a better one
3948
      # Best one so far, save it but keep looking for a better one
3904
      ac_cv_path_EGREP="$ac_path_EGREP"
3949
      ac_cv_path_EGREP="$ac_path_EGREP"
3905
      ac_path_EGREP_max=$ac_count
3950
      ac_path_EGREP_max=$ac_count
3906
    fi
3951
    fi
3907
    # 10*(2^10) chars as input seems more than enough
3952
    # 10*(2^10) chars as input seems more than enough
3908
    test $ac_count -gt 10 && break
3953
    test $ac_count -gt 10 && break
3909
  done
3954
  done
3910
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3955
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3911
esac
3956
esac
3912
 
3957
 
3913
      $ac_path_EGREP_found && break 3
3958
      $ac_path_EGREP_found && break 3
3914
    done
3959
    done
3915
  done
3960
  done
3916
done
3961
  done
3917
IFS=$as_save_IFS
3962
IFS=$as_save_IFS
3918
  if test -z "$ac_cv_path_EGREP"; then
3963
  if test -z "$ac_cv_path_EGREP"; then
3919
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
-
 
3920
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3964
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3921
   { (exit 1); exit 1; }; }
-
 
3922
  fi
3965
  fi
3923
else
3966
else
3924
  ac_cv_path_EGREP=$EGREP
3967
  ac_cv_path_EGREP=$EGREP
3925
fi
3968
fi
3926
 
3969
 
3927
   fi
3970
   fi
3928
fi
3971
fi
3929
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3972
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3930
$as_echo "$ac_cv_path_EGREP" >&6; }
3973
$as_echo "$ac_cv_path_EGREP" >&6; }
3931
 EGREP="$ac_cv_path_EGREP"
3974
 EGREP="$ac_cv_path_EGREP"
3932
 
3975
 
3933
 
3976
 
3934
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
3977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3935
$as_echo_n "checking for fgrep... " >&6; }
3978
$as_echo_n "checking for fgrep... " >&6; }
3936
if test "${ac_cv_path_FGREP+set}" = set; then
3979
if test "${ac_cv_path_FGREP+set}" = set; then :
3937
  $as_echo_n "(cached) " >&6
3980
  $as_echo_n "(cached) " >&6
3938
else
3981
else
3939
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3982
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3940
   then ac_cv_path_FGREP="$GREP -F"
3983
   then ac_cv_path_FGREP="$GREP -F"
3941
   else
3984
   else
3942
     if test -z "$FGREP"; then
3985
     if test -z "$FGREP"; then
3943
  ac_path_FGREP_found=false
3986
  ac_path_FGREP_found=false
3944
  # Loop through the user's path and test for each of PROGNAME-LIST
3987
  # Loop through the user's path and test for each of PROGNAME-LIST
3945
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3946
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3989
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3947
do
3990
do
3948
  IFS=$as_save_IFS
3991
  IFS=$as_save_IFS
3949
  test -z "$as_dir" && as_dir=.
3992
  test -z "$as_dir" && as_dir=.
3950
  for ac_prog in fgrep; do
3993
    for ac_prog in fgrep; do
3951
    for ac_exec_ext in '' $ac_executable_extensions; do
3994
    for ac_exec_ext in '' $ac_executable_extensions; do
3952
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3995
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3953
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3996
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3954
# Check for GNU ac_path_FGREP and select it if it is found.
3997
# Check for GNU ac_path_FGREP and select it if it is found.
3955
  # Check for GNU $ac_path_FGREP
3998
  # Check for GNU $ac_path_FGREP
3956
case `"$ac_path_FGREP" --version 2>&1` in
3999
case `"$ac_path_FGREP" --version 2>&1` in
3957
*GNU*)
4000
*GNU*)
3958
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4001
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3959
*)
4002
*)
3960
  ac_count=0
4003
  ac_count=0
3961
  $as_echo_n 0123456789 >"conftest.in"
4004
  $as_echo_n 0123456789 >"conftest.in"
3962
  while :
4005
  while :
3963
  do
4006
  do
3964
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4007
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3965
    mv "conftest.tmp" "conftest.in"
4008
    mv "conftest.tmp" "conftest.in"
3966
    cp "conftest.in" "conftest.nl"
4009
    cp "conftest.in" "conftest.nl"
3967
    $as_echo 'FGREP' >> "conftest.nl"
4010
    $as_echo 'FGREP' >> "conftest.nl"
3968
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4011
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3969
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4012
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3970
    ac_count=`expr $ac_count + 1`
4013
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3971
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4014
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3972
      # Best one so far, save it but keep looking for a better one
4015
      # Best one so far, save it but keep looking for a better one
3973
      ac_cv_path_FGREP="$ac_path_FGREP"
4016
      ac_cv_path_FGREP="$ac_path_FGREP"
3974
      ac_path_FGREP_max=$ac_count
4017
      ac_path_FGREP_max=$ac_count
3975
    fi
4018
    fi
3976
    # 10*(2^10) chars as input seems more than enough
4019
    # 10*(2^10) chars as input seems more than enough
3977
    test $ac_count -gt 10 && break
4020
    test $ac_count -gt 10 && break
3978
  done
4021
  done
3979
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4022
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3980
esac
4023
esac
3981
 
4024
 
3982
      $ac_path_FGREP_found && break 3
4025
      $ac_path_FGREP_found && break 3
3983
    done
4026
    done
3984
  done
4027
  done
3985
done
4028
  done
3986
IFS=$as_save_IFS
4029
IFS=$as_save_IFS
3987
  if test -z "$ac_cv_path_FGREP"; then
4030
  if test -z "$ac_cv_path_FGREP"; then
3988
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
-
 
3989
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4031
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3990
   { (exit 1); exit 1; }; }
-
 
3991
  fi
4032
  fi
3992
else
4033
else
3993
  ac_cv_path_FGREP=$FGREP
4034
  ac_cv_path_FGREP=$FGREP
3994
fi
4035
fi
3995
 
4036
 
3996
   fi
4037
   fi
3997
fi
4038
fi
3998
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3999
$as_echo "$ac_cv_path_FGREP" >&6; }
4040
$as_echo "$ac_cv_path_FGREP" >&6; }
4000
 FGREP="$ac_cv_path_FGREP"
4041
 FGREP="$ac_cv_path_FGREP"
4001
 
4042
 
4002
 
4043
 
4003
test -z "$GREP" && GREP=grep
4044
test -z "$GREP" && GREP=grep
4004
 
4045
 
4005
 
4046
 
4006
 
4047
 
4007
 
4048
 
4008
 
4049
 
4009
 
4050
 
4010
 
4051
 
4011
 
4052
 
4012
 
4053
 
4013
 
4054
 
4014
 
4055
 
4015
 
4056
 
4016
 
4057
 
4017
 
4058
 
4018
 
4059
 
4019
 
4060
 
4020
 
4061
 
4021
 
4062
 
4022
 
4063
 
4023
# Check whether --with-gnu-ld was given.
4064
# Check whether --with-gnu-ld was given.
4024
if test "${with_gnu_ld+set}" = set; then
4065
if test "${with_gnu_ld+set}" = set; then :
4025
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4066
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4026
else
4067
else
4027
  with_gnu_ld=no
4068
  with_gnu_ld=no
4028
fi
4069
fi
4029
 
4070
 
4030
ac_prog=ld
4071
ac_prog=ld
4031
if test "$GCC" = yes; then
4072
if test "$GCC" = yes; then
4032
  # Check if gcc -print-prog-name=ld gives a path.
4073
  # Check if gcc -print-prog-name=ld gives a path.
4033
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4074
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4034
$as_echo_n "checking for ld used by $CC... " >&6; }
4075
$as_echo_n "checking for ld used by $CC... " >&6; }
4035
  case $host in
4076
  case $host in
4036
  *-*-mingw*)
4077
  *-*-mingw*)
4037
    # gcc leaves a trailing carriage return which upsets mingw
4078
    # gcc leaves a trailing carriage return which upsets mingw
4038
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4079
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4039
  *)
4080
  *)
4040
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4081
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4041
  esac
4082
  esac
4042
  case $ac_prog in
4083
  case $ac_prog in
4043
    # Accept absolute paths.
4084
    # Accept absolute paths.
4044
    [\\/]* | ?:[\\/]*)
4085
    [\\/]* | ?:[\\/]*)
4045
      re_direlt='/[^/][^/]*/\.\./'
4086
      re_direlt='/[^/][^/]*/\.\./'
4046
      # Canonicalize the pathname of ld
4087
      # Canonicalize the pathname of ld
4047
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4088
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4048
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4089
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4049
	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4090
	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4050
      done
4091
      done
4051
      test -z "$LD" && LD="$ac_prog"
4092
      test -z "$LD" && LD="$ac_prog"
4052
      ;;
4093
      ;;
4053
  "")
4094
  "")
4054
    # If it fails, then pretend we aren't using GCC.
4095
    # If it fails, then pretend we aren't using GCC.
4055
    ac_prog=ld
4096
    ac_prog=ld
4056
    ;;
4097
    ;;
4057
  *)
4098
  *)
4058
    # If it is relative, then search for the first ld in PATH.
4099
    # If it is relative, then search for the first ld in PATH.
4059
    with_gnu_ld=unknown
4100
    with_gnu_ld=unknown
4060
    ;;
4101
    ;;
4061
  esac
4102
  esac
4062
elif test "$with_gnu_ld" = yes; then
4103
elif test "$with_gnu_ld" = yes; then
4063
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4104
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4064
$as_echo_n "checking for GNU ld... " >&6; }
4105
$as_echo_n "checking for GNU ld... " >&6; }
4065
else
4106
else
4066
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4107
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4067
$as_echo_n "checking for non-GNU ld... " >&6; }
4108
$as_echo_n "checking for non-GNU ld... " >&6; }
4068
fi
4109
fi
4069
if test "${lt_cv_path_LD+set}" = set; then
4110
if test "${lt_cv_path_LD+set}" = set; then :
4070
  $as_echo_n "(cached) " >&6
4111
  $as_echo_n "(cached) " >&6
4071
else
4112
else
4072
  if test -z "$LD"; then
4113
  if test -z "$LD"; then
4073
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4114
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4074
  for ac_dir in $PATH; do
4115
  for ac_dir in $PATH; do
4075
    IFS="$lt_save_ifs"
4116
    IFS="$lt_save_ifs"
4076
    test -z "$ac_dir" && ac_dir=.
4117
    test -z "$ac_dir" && ac_dir=.
4077
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4118
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4078
      lt_cv_path_LD="$ac_dir/$ac_prog"
4119
      lt_cv_path_LD="$ac_dir/$ac_prog"
4079
      # Check to see if the program is GNU ld.  I'd rather use --version,
4120
      # Check to see if the program is GNU ld.  I'd rather use --version,
4080
      # but apparently some variants of GNU ld only accept -v.
4121
      # but apparently some variants of GNU ld only accept -v.
4081
      # Break only if it was the GNU/non-GNU ld that we prefer.
4122
      # Break only if it was the GNU/non-GNU ld that we prefer.
4082
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4123
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4083
      *GNU* | *'with BFD'*)
4124
      *GNU* | *'with BFD'*)
4084
	test "$with_gnu_ld" != no && break
4125
	test "$with_gnu_ld" != no && break
4085
	;;
4126
	;;
4086
      *)
4127
      *)
4087
	test "$with_gnu_ld" != yes && break
4128
	test "$with_gnu_ld" != yes && break
4088
	;;
4129
	;;
4089
      esac
4130
      esac
4090
    fi
4131
    fi
4091
  done
4132
  done
4092
  IFS="$lt_save_ifs"
4133
  IFS="$lt_save_ifs"
4093
else
4134
else
4094
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4135
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4095
fi
4136
fi
4096
fi
4137
fi
4097
 
4138
 
4098
LD="$lt_cv_path_LD"
4139
LD="$lt_cv_path_LD"
4099
if test -n "$LD"; then
4140
if test -n "$LD"; then
4100
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
4141
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4101
$as_echo "$LD" >&6; }
4142
$as_echo "$LD" >&6; }
4102
else
4143
else
4103
  { $as_echo "$as_me:$LINENO: result: no" >&5
4144
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4104
$as_echo "no" >&6; }
4145
$as_echo "no" >&6; }
4105
fi
4146
fi
4106
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
-
 
4107
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4147
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4108
   { (exit 1); exit 1; }; }
-
 
4109
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4148
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4110
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4149
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4111
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4150
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4112
  $as_echo_n "(cached) " >&6
4151
  $as_echo_n "(cached) " >&6
4113
else
4152
else
4114
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4153
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4115
case `$LD -v 2>&1 </dev/null` in
4154
case `$LD -v 2>&1 </dev/null` in
4116
*GNU* | *'with BFD'*)
4155
*GNU* | *'with BFD'*)
4117
  lt_cv_prog_gnu_ld=yes
4156
  lt_cv_prog_gnu_ld=yes
4118
  ;;
4157
  ;;
4119
*)
4158
*)
4120
  lt_cv_prog_gnu_ld=no
4159
  lt_cv_prog_gnu_ld=no
4121
  ;;
4160
  ;;
4122
esac
4161
esac
4123
fi
4162
fi
4124
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4125
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4164
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4126
with_gnu_ld=$lt_cv_prog_gnu_ld
4165
with_gnu_ld=$lt_cv_prog_gnu_ld
4127
 
4166
 
4128
 
4167
 
4129
 
4168
 
4130
 
4169
 
4131
 
4170
 
4132
 
4171
 
4133
 
4172
 
4134
 
4173
 
4135
 
4174
 
4136
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4137
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4176
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4138
if test "${lt_cv_path_NM+set}" = set; then
4177
if test "${lt_cv_path_NM+set}" = set; then :
4139
  $as_echo_n "(cached) " >&6
4178
  $as_echo_n "(cached) " >&6
4140
else
4179
else
4141
  if test -n "$NM"; then
4180
  if test -n "$NM"; then
4142
  # Let the user override the test.
4181
  # Let the user override the test.
4143
  lt_cv_path_NM="$NM"
4182
  lt_cv_path_NM="$NM"
4144
else
4183
else
4145
  lt_nm_to_check="${ac_tool_prefix}nm"
4184
  lt_nm_to_check="${ac_tool_prefix}nm"
4146
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4185
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4147
    lt_nm_to_check="$lt_nm_to_check nm"
4186
    lt_nm_to_check="$lt_nm_to_check nm"
4148
  fi
4187
  fi
4149
  for lt_tmp_nm in $lt_nm_to_check; do
4188
  for lt_tmp_nm in $lt_nm_to_check; do
4150
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4189
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4151
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4190
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4152
      IFS="$lt_save_ifs"
4191
      IFS="$lt_save_ifs"
4153
      test -z "$ac_dir" && ac_dir=.
4192
      test -z "$ac_dir" && ac_dir=.
4154
      tmp_nm="$ac_dir/$lt_tmp_nm"
4193
      tmp_nm="$ac_dir/$lt_tmp_nm"
4155
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4194
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4156
	# Check to see if the nm accepts a BSD-compat flag.
4195
	# Check to see if the nm accepts a BSD-compat flag.
4157
	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4196
	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4158
	#   nm: unknown option "B" ignored
4197
	#   nm: unknown option "B" ignored
4159
	# Tru64's nm complains that /dev/null is an invalid object file
4198
	# Tru64's nm complains that /dev/null is an invalid object file
4160
	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4199
	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4161
	*/dev/null* | *'Invalid file or object type'*)
4200
	*/dev/null* | *'Invalid file or object type'*)
4162
	  lt_cv_path_NM="$tmp_nm -B"
4201
	  lt_cv_path_NM="$tmp_nm -B"
4163
	  break
4202
	  break
4164
	  ;;
4203
	  ;;
4165
	*)
4204
	*)
4166
	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4205
	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4167
	  */dev/null*)
4206
	  */dev/null*)
4168
	    lt_cv_path_NM="$tmp_nm -p"
4207
	    lt_cv_path_NM="$tmp_nm -p"
4169
	    break
4208
	    break
4170
	    ;;
4209
	    ;;
4171
	  *)
4210
	  *)
4172
	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4211
	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4173
	    continue # so that we can try to find one that supports BSD flags
4212
	    continue # so that we can try to find one that supports BSD flags
4174
	    ;;
4213
	    ;;
4175
	  esac
4214
	  esac
4176
	  ;;
4215
	  ;;
4177
	esac
4216
	esac
4178
      fi
4217
      fi
4179
    done
4218
    done
4180
    IFS="$lt_save_ifs"
4219
    IFS="$lt_save_ifs"
4181
  done
4220
  done
4182
  : ${lt_cv_path_NM=no}
4221
  : ${lt_cv_path_NM=no}
4183
fi
4222
fi
4184
fi
4223
fi
4185
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4186
$as_echo "$lt_cv_path_NM" >&6; }
4225
$as_echo "$lt_cv_path_NM" >&6; }
4187
if test "$lt_cv_path_NM" != "no"; then
4226
if test "$lt_cv_path_NM" != "no"; then
4188
  NM="$lt_cv_path_NM"
4227
  NM="$lt_cv_path_NM"
4189
else
4228
else
4190
  # Didn't find any BSD compatible name lister, look for dumpbin.
4229
  # Didn't find any BSD compatible name lister, look for dumpbin.
4191
  if test -n "$ac_tool_prefix"; then
4230
  if test -n "$ac_tool_prefix"; then
4192
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4231
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4193
  do
4232
  do
4194
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4233
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4195
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4234
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4196
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4197
$as_echo_n "checking for $ac_word... " >&6; }
4236
$as_echo_n "checking for $ac_word... " >&6; }
4198
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4237
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4199
  $as_echo_n "(cached) " >&6
4238
  $as_echo_n "(cached) " >&6
4200
else
4239
else
4201
  if test -n "$DUMPBIN"; then
4240
  if test -n "$DUMPBIN"; then
4202
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4241
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4203
else
4242
else
4204
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4243
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4205
for as_dir in $PATH
4244
for as_dir in $PATH
4206
do
4245
do
4207
  IFS=$as_save_IFS
4246
  IFS=$as_save_IFS
4208
  test -z "$as_dir" && as_dir=.
4247
  test -z "$as_dir" && as_dir=.
4209
  for ac_exec_ext in '' $ac_executable_extensions; do
4248
    for ac_exec_ext in '' $ac_executable_extensions; do
4210
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4249
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4211
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4250
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4212
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4251
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4213
    break 2
4252
    break 2
4214
  fi
4253
  fi
4215
done
4254
done
4216
done
4255
  done
4217
IFS=$as_save_IFS
4256
IFS=$as_save_IFS
4218
 
4257
 
4219
fi
4258
fi
4220
fi
4259
fi
4221
DUMPBIN=$ac_cv_prog_DUMPBIN
4260
DUMPBIN=$ac_cv_prog_DUMPBIN
4222
if test -n "$DUMPBIN"; then
4261
if test -n "$DUMPBIN"; then
4223
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4262
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4224
$as_echo "$DUMPBIN" >&6; }
4263
$as_echo "$DUMPBIN" >&6; }
4225
else
4264
else
4226
  { $as_echo "$as_me:$LINENO: result: no" >&5
4265
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227
$as_echo "no" >&6; }
4266
$as_echo "no" >&6; }
4228
fi
4267
fi
4229
 
4268
 
4230
 
4269
 
4231
    test -n "$DUMPBIN" && break
4270
    test -n "$DUMPBIN" && break
4232
  done
4271
  done
4233
fi
4272
fi
4234
if test -z "$DUMPBIN"; then
4273
if test -z "$DUMPBIN"; then
4235
  ac_ct_DUMPBIN=$DUMPBIN
4274
  ac_ct_DUMPBIN=$DUMPBIN
4236
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4275
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4237
do
4276
do
4238
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4277
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4239
set dummy $ac_prog; ac_word=$2
4278
set dummy $ac_prog; ac_word=$2
4240
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4279
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4241
$as_echo_n "checking for $ac_word... " >&6; }
4280
$as_echo_n "checking for $ac_word... " >&6; }
4242
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4281
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4243
  $as_echo_n "(cached) " >&6
4282
  $as_echo_n "(cached) " >&6
4244
else
4283
else
4245
  if test -n "$ac_ct_DUMPBIN"; then
4284
  if test -n "$ac_ct_DUMPBIN"; then
4246
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4285
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4247
else
4286
else
4248
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4287
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4249
for as_dir in $PATH
4288
for as_dir in $PATH
4250
do
4289
do
4251
  IFS=$as_save_IFS
4290
  IFS=$as_save_IFS
4252
  test -z "$as_dir" && as_dir=.
4291
  test -z "$as_dir" && as_dir=.
4253
  for ac_exec_ext in '' $ac_executable_extensions; do
4292
    for ac_exec_ext in '' $ac_executable_extensions; do
4254
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4293
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4255
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4294
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4256
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4295
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4257
    break 2
4296
    break 2
4258
  fi
4297
  fi
4259
done
4298
done
4260
done
4299
  done
4261
IFS=$as_save_IFS
4300
IFS=$as_save_IFS
4262
 
4301
 
4263
fi
4302
fi
4264
fi
4303
fi
4265
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4304
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4266
if test -n "$ac_ct_DUMPBIN"; then
4305
if test -n "$ac_ct_DUMPBIN"; then
4267
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4306
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4268
$as_echo "$ac_ct_DUMPBIN" >&6; }
4307
$as_echo "$ac_ct_DUMPBIN" >&6; }
4269
else
4308
else
4270
  { $as_echo "$as_me:$LINENO: result: no" >&5
4309
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4271
$as_echo "no" >&6; }
4310
$as_echo "no" >&6; }
4272
fi
4311
fi
4273
 
4312
 
4274
 
4313
 
4275
  test -n "$ac_ct_DUMPBIN" && break
4314
  test -n "$ac_ct_DUMPBIN" && break
4276
done
4315
done
4277
 
4316
 
4278
  if test "x$ac_ct_DUMPBIN" = x; then
4317
  if test "x$ac_ct_DUMPBIN" = x; then
4279
    DUMPBIN=":"
4318
    DUMPBIN=":"
4280
  else
4319
  else
4281
    case $cross_compiling:$ac_tool_warned in
4320
    case $cross_compiling:$ac_tool_warned in
4282
yes:)
4321
yes:)
4283
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4322
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4284
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4323
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4285
ac_tool_warned=yes ;;
4324
ac_tool_warned=yes ;;
4286
esac
4325
esac
4287
    DUMPBIN=$ac_ct_DUMPBIN
4326
    DUMPBIN=$ac_ct_DUMPBIN
4288
  fi
4327
  fi
4289
fi
4328
fi
4290
 
4329
 
4291
 
4330
 
4292
  if test "$DUMPBIN" != ":"; then
4331
  if test "$DUMPBIN" != ":"; then
4293
    NM="$DUMPBIN"
4332
    NM="$DUMPBIN"
4294
  fi
4333
  fi
4295
fi
4334
fi
4296
test -z "$NM" && NM=nm
4335
test -z "$NM" && NM=nm
4297
 
4336
 
4298
 
4337
 
4299
 
4338
 
4300
 
4339
 
4301
 
4340
 
4302
 
4341
 
4303
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4342
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4304
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4343
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4305
if test "${lt_cv_nm_interface+set}" = set; then
4344
if test "${lt_cv_nm_interface+set}" = set; then :
4306
  $as_echo_n "(cached) " >&6
4345
  $as_echo_n "(cached) " >&6
4307
else
4346
else
4308
  lt_cv_nm_interface="BSD nm"
4347
  lt_cv_nm_interface="BSD nm"
4309
  echo "int some_variable = 0;" > conftest.$ac_ext
4348
  echo "int some_variable = 0;" > conftest.$ac_ext
4310
  (eval echo "\"\$as_me:4310: $ac_compile\"" >&5)
4349
  (eval echo "\"\$as_me:4349: $ac_compile\"" >&5)
4311
  (eval "$ac_compile" 2>conftest.err)
4350
  (eval "$ac_compile" 2>conftest.err)
4312
  cat conftest.err >&5
4351
  cat conftest.err >&5
4313
  (eval echo "\"\$as_me:4313: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4352
  (eval echo "\"\$as_me:4352: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4314
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4353
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4315
  cat conftest.err >&5
4354
  cat conftest.err >&5
4316
  (eval echo "\"\$as_me:4316: output\"" >&5)
4355
  (eval echo "\"\$as_me:4355: output\"" >&5)
4317
  cat conftest.out >&5
4356
  cat conftest.out >&5
4318
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4357
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4319
    lt_cv_nm_interface="MS dumpbin"
4358
    lt_cv_nm_interface="MS dumpbin"
4320
  fi
4359
  fi
4321
  rm -f conftest*
4360
  rm -f conftest*
4322
fi
4361
fi
4323
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4324
$as_echo "$lt_cv_nm_interface" >&6; }
4363
$as_echo "$lt_cv_nm_interface" >&6; }
4325
 
4364
 
4326
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4327
$as_echo_n "checking whether ln -s works... " >&6; }
4366
$as_echo_n "checking whether ln -s works... " >&6; }
4328
LN_S=$as_ln_s
4367
LN_S=$as_ln_s
4329
if test "$LN_S" = "ln -s"; then
4368
if test "$LN_S" = "ln -s"; then
4330
  { $as_echo "$as_me:$LINENO: result: yes" >&5
4369
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4331
$as_echo "yes" >&6; }
4370
$as_echo "yes" >&6; }
4332
else
4371
else
4333
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4372
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4334
$as_echo "no, using $LN_S" >&6; }
4373
$as_echo "no, using $LN_S" >&6; }
4335
fi
4374
fi
4336
 
4375
 
4337
# find the maximum length of command line arguments
4376
# find the maximum length of command line arguments
4338
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4377
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4339
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4378
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4340
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4379
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4341
  $as_echo_n "(cached) " >&6
4380
  $as_echo_n "(cached) " >&6
4342
else
4381
else
4343
    i=0
4382
    i=0
4344
  teststring="ABCD"
4383
  teststring="ABCD"
4345
 
4384
 
4346
  case $build_os in
4385
  case $build_os in
4347
  msdosdjgpp*)
4386
  msdosdjgpp*)
4348
    # On DJGPP, this test can blow up pretty badly due to problems in libc
4387
    # On DJGPP, this test can blow up pretty badly due to problems in libc
4349
    # (any single argument exceeding 2000 bytes causes a buffer overrun
4388
    # (any single argument exceeding 2000 bytes causes a buffer overrun
4350
    # during glob expansion).  Even if it were fixed, the result of this
4389
    # during glob expansion).  Even if it were fixed, the result of this
4351
    # check would be larger than it should be.
4390
    # check would be larger than it should be.
4352
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4391
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4353
    ;;
4392
    ;;
4354
 
4393
 
4355
  gnu*)
4394
  gnu*)
4356
    # Under GNU Hurd, this test is not required because there is
4395
    # Under GNU Hurd, this test is not required because there is
4357
    # no limit to the length of command line arguments.
4396
    # no limit to the length of command line arguments.
4358
    # Libtool will interpret -1 as no limit whatsoever
4397
    # Libtool will interpret -1 as no limit whatsoever
4359
    lt_cv_sys_max_cmd_len=-1;
4398
    lt_cv_sys_max_cmd_len=-1;
4360
    ;;
4399
    ;;
4361
 
4400
 
4362
  cygwin* | mingw* | cegcc*)
4401
  cygwin* | mingw* | cegcc*)
4363
    # On Win9x/ME, this test blows up -- it succeeds, but takes
4402
    # On Win9x/ME, this test blows up -- it succeeds, but takes
4364
    # about 5 minutes as the teststring grows exponentially.
4403
    # about 5 minutes as the teststring grows exponentially.
4365
    # Worse, since 9x/ME are not pre-emptively multitasking,
4404
    # Worse, since 9x/ME are not pre-emptively multitasking,
4366
    # you end up with a "frozen" computer, even though with patience
4405
    # you end up with a "frozen" computer, even though with patience
4367
    # the test eventually succeeds (with a max line length of 256k).
4406
    # the test eventually succeeds (with a max line length of 256k).
4368
    # Instead, let's just punt: use the minimum linelength reported by
4407
    # Instead, let's just punt: use the minimum linelength reported by
4369
    # all of the supported platforms: 8192 (on NT/2K/XP).
4408
    # all of the supported platforms: 8192 (on NT/2K/XP).
4370
    lt_cv_sys_max_cmd_len=8192;
4409
    lt_cv_sys_max_cmd_len=8192;
4371
    ;;
4410
    ;;
4372
 
4411
 
4373
  amigaos*)
4412
  amigaos*)
4374
    # On AmigaOS with pdksh, this test takes hours, literally.
4413
    # On AmigaOS with pdksh, this test takes hours, literally.
4375
    # So we just punt and use a minimum line length of 8192.
4414
    # So we just punt and use a minimum line length of 8192.
4376
    lt_cv_sys_max_cmd_len=8192;
4415
    lt_cv_sys_max_cmd_len=8192;
4377
    ;;
4416
    ;;
4378
 
4417
 
4379
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4418
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4380
    # This has been around since 386BSD, at least.  Likely further.
4419
    # This has been around since 386BSD, at least.  Likely further.
4381
    if test -x /sbin/sysctl; then
4420
    if test -x /sbin/sysctl; then
4382
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4421
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4383
    elif test -x /usr/sbin/sysctl; then
4422
    elif test -x /usr/sbin/sysctl; then
4384
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4423
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4385
    else
4424
    else
4386
      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4425
      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4387
    fi
4426
    fi
4388
    # And add a safety zone
4427
    # And add a safety zone
4389
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4428
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4390
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4429
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4391
    ;;
4430
    ;;
4392
 
4431
 
4393
  interix*)
4432
  interix*)
4394
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4433
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4395
    lt_cv_sys_max_cmd_len=196608
4434
    lt_cv_sys_max_cmd_len=196608
4396
    ;;
4435
    ;;
4397
 
4436
 
4398
  osf*)
4437
  osf*)
4399
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4438
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4400
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4439
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4401
    # nice to cause kernel panics so lets avoid the loop below.
4440
    # nice to cause kernel panics so lets avoid the loop below.
4402
    # First set a reasonable default.
4441
    # First set a reasonable default.
4403
    lt_cv_sys_max_cmd_len=16384
4442
    lt_cv_sys_max_cmd_len=16384
4404
    #
4443
    #
4405
    if test -x /sbin/sysconfig; then
4444
    if test -x /sbin/sysconfig; then
4406
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4445
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4407
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4446
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4408
      esac
4447
      esac
4409
    fi
4448
    fi
4410
    ;;
4449
    ;;
4411
  sco3.2v5*)
4450
  sco3.2v5*)
4412
    lt_cv_sys_max_cmd_len=102400
4451
    lt_cv_sys_max_cmd_len=102400
4413
    ;;
4452
    ;;
4414
  sysv5* | sco5v6* | sysv4.2uw2*)
4453
  sysv5* | sco5v6* | sysv4.2uw2*)
4415
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4454
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4416
    if test -n "$kargmax"; then
4455
    if test -n "$kargmax"; then
4417
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4456
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4418
    else
4457
    else
4419
      lt_cv_sys_max_cmd_len=32768
4458
      lt_cv_sys_max_cmd_len=32768
4420
    fi
4459
    fi
4421
    ;;
4460
    ;;
4422
  *)
4461
  *)
4423
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4462
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4424
    if test -n "$lt_cv_sys_max_cmd_len"; then
4463
    if test -n "$lt_cv_sys_max_cmd_len"; then
4425
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4464
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4426
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4465
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4427
    else
4466
    else
4428
      # Make teststring a little bigger before we do anything with it.
4467
      # Make teststring a little bigger before we do anything with it.
4429
      # a 1K string should be a reasonable start.
4468
      # a 1K string should be a reasonable start.
4430
      for i in 1 2 3 4 5 6 7 8 ; do
4469
      for i in 1 2 3 4 5 6 7 8 ; do
4431
        teststring=$teststring$teststring
4470
        teststring=$teststring$teststring
4432
      done
4471
      done
4433
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4472
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4434
      # If test is not a shell built-in, we'll probably end up computing a
4473
      # If test is not a shell built-in, we'll probably end up computing a
4435
      # maximum length that is only half of the actual maximum length, but
4474
      # maximum length that is only half of the actual maximum length, but
4436
      # we can't tell.
4475
      # we can't tell.
4437
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4476
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4438
	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4477
	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4439
	      test $i != 17 # 1/2 MB should be enough
4478
	      test $i != 17 # 1/2 MB should be enough
4440
      do
4479
      do
4441
        i=`expr $i + 1`
4480
        i=`expr $i + 1`
4442
        teststring=$teststring$teststring
4481
        teststring=$teststring$teststring
4443
      done
4482
      done
4444
      # Only check the string length outside the loop.
4483
      # Only check the string length outside the loop.
4445
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4484
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4446
      teststring=
4485
      teststring=
4447
      # Add a significant safety factor because C++ compilers can tack on
4486
      # Add a significant safety factor because C++ compilers can tack on
4448
      # massive amounts of additional arguments before passing them to the
4487
      # massive amounts of additional arguments before passing them to the
4449
      # linker.  It appears as though 1/2 is a usable value.
4488
      # linker.  It appears as though 1/2 is a usable value.
4450
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4489
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4451
    fi
4490
    fi
4452
    ;;
4491
    ;;
4453
  esac
4492
  esac
4454
 
4493
 
4455
fi
4494
fi
4456
 
4495
 
4457
if test -n $lt_cv_sys_max_cmd_len ; then
4496
if test -n $lt_cv_sys_max_cmd_len ; then
4458
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4497
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4459
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4498
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4460
else
4499
else
4461
  { $as_echo "$as_me:$LINENO: result: none" >&5
4500
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4462
$as_echo "none" >&6; }
4501
$as_echo "none" >&6; }
4463
fi
4502
fi
4464
max_cmd_len=$lt_cv_sys_max_cmd_len
4503
max_cmd_len=$lt_cv_sys_max_cmd_len
4465
 
4504
 
4466
 
4505
 
4467
 
4506
 
4468
 
4507
 
4469
 
4508
 
4470
 
4509
 
4471
: ${CP="cp -f"}
4510
: ${CP="cp -f"}
4472
: ${MV="mv -f"}
4511
: ${MV="mv -f"}
4473
: ${RM="rm -f"}
4512
: ${RM="rm -f"}
4474
 
4513
 
4475
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4476
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4515
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4477
# Try some XSI features
4516
# Try some XSI features
4478
xsi_shell=no
4517
xsi_shell=no
4479
( _lt_dummy="a/b/c"
4518
( _lt_dummy="a/b/c"
4480
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4519
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4481
      = c,a/b,, \
4520
      = c,a/b,, \
4482
    && eval 'test $(( 1 + 1 )) -eq 2 \
4521
    && eval 'test $(( 1 + 1 )) -eq 2 \
4483
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4522
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4484
  && xsi_shell=yes
4523
  && xsi_shell=yes
4485
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
4524
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4486
$as_echo "$xsi_shell" >&6; }
4525
$as_echo "$xsi_shell" >&6; }
4487
 
4526
 
4488
 
4527
 
4489
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4490
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4529
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4491
lt_shell_append=no
4530
lt_shell_append=no
4492
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4531
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4493
    >/dev/null 2>&1 \
4532
    >/dev/null 2>&1 \
4494
  && lt_shell_append=yes
4533
  && lt_shell_append=yes
4495
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4534
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4496
$as_echo "$lt_shell_append" >&6; }
4535
$as_echo "$lt_shell_append" >&6; }
4497
 
4536
 
4498
 
4537
 
4499
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4538
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4500
  lt_unset=unset
4539
  lt_unset=unset
4501
else
4540
else
4502
  lt_unset=false
4541
  lt_unset=false
4503
fi
4542
fi
4504
 
4543
 
4505
 
4544
 
4506
 
4545
 
4507
 
4546
 
4508
 
4547
 
4509
# test EBCDIC or ASCII
4548
# test EBCDIC or ASCII
4510
case `echo X|tr X '\101'` in
4549
case `echo X|tr X '\101'` in
4511
 A) # ASCII based system
4550
 A) # ASCII based system
4512
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4551
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4513
  lt_SP2NL='tr \040 \012'
4552
  lt_SP2NL='tr \040 \012'
4514
  lt_NL2SP='tr \015\012 \040\040'
4553
  lt_NL2SP='tr \015\012 \040\040'
4515
  ;;
4554
  ;;
4516
 *) # EBCDIC based system
4555
 *) # EBCDIC based system
4517
  lt_SP2NL='tr \100 \n'
4556
  lt_SP2NL='tr \100 \n'
4518
  lt_NL2SP='tr \r\n \100\100'
4557
  lt_NL2SP='tr \r\n \100\100'
4519
  ;;
4558
  ;;
4520
esac
4559
esac
4521
 
4560
 
4522
 
4561
 
4523
 
4562
 
4524
 
4563
 
4525
 
4564
 
4526
 
4565
 
4527
 
4566
 
4528
 
4567
 
4529
 
4568
 
4530
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4531
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4570
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4532
if test "${lt_cv_ld_reload_flag+set}" = set; then
4571
if test "${lt_cv_ld_reload_flag+set}" = set; then :
4533
  $as_echo_n "(cached) " >&6
4572
  $as_echo_n "(cached) " >&6
4534
else
4573
else
4535
  lt_cv_ld_reload_flag='-r'
4574
  lt_cv_ld_reload_flag='-r'
4536
fi
4575
fi
4537
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4538
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4577
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4539
reload_flag=$lt_cv_ld_reload_flag
4578
reload_flag=$lt_cv_ld_reload_flag
4540
case $reload_flag in
4579
case $reload_flag in
4541
"" | " "*) ;;
4580
"" | " "*) ;;
4542
*) reload_flag=" $reload_flag" ;;
4581
*) reload_flag=" $reload_flag" ;;
4543
esac
4582
esac
4544
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4583
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4545
case $host_os in
4584
case $host_os in
4546
  darwin*)
4585
  darwin*)
4547
    if test "$GCC" = yes; then
4586
    if test "$GCC" = yes; then
4548
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4587
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4549
    else
4588
    else
4550
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4589
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4551
    fi
4590
    fi
4552
    ;;
4591
    ;;
4553
esac
4592
esac
4554
 
4593
 
4555
 
4594
 
4556
 
4595
 
4557
 
4596
 
4558
 
4597
 
4559
 
4598
 
4560
 
4599
 
4561
 
4600
 
4562
 
4601
 
4563
if test -n "$ac_tool_prefix"; then
4602
if test -n "$ac_tool_prefix"; then
4564
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4603
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4565
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4604
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4566
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4567
$as_echo_n "checking for $ac_word... " >&6; }
4606
$as_echo_n "checking for $ac_word... " >&6; }
4568
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4607
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4569
  $as_echo_n "(cached) " >&6
4608
  $as_echo_n "(cached) " >&6
4570
else
4609
else
4571
  if test -n "$OBJDUMP"; then
4610
  if test -n "$OBJDUMP"; then
4572
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4611
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4573
else
4612
else
4574
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4575
for as_dir in $PATH
4614
for as_dir in $PATH
4576
do
4615
do
4577
  IFS=$as_save_IFS
4616
  IFS=$as_save_IFS
4578
  test -z "$as_dir" && as_dir=.
4617
  test -z "$as_dir" && as_dir=.
4579
  for ac_exec_ext in '' $ac_executable_extensions; do
4618
    for ac_exec_ext in '' $ac_executable_extensions; do
4580
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4619
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4581
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4620
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4582
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4621
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4583
    break 2
4622
    break 2
4584
  fi
4623
  fi
4585
done
4624
done
4586
done
4625
  done
4587
IFS=$as_save_IFS
4626
IFS=$as_save_IFS
4588
 
4627
 
4589
fi
4628
fi
4590
fi
4629
fi
4591
OBJDUMP=$ac_cv_prog_OBJDUMP
4630
OBJDUMP=$ac_cv_prog_OBJDUMP
4592
if test -n "$OBJDUMP"; then
4631
if test -n "$OBJDUMP"; then
4593
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4632
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4594
$as_echo "$OBJDUMP" >&6; }
4633
$as_echo "$OBJDUMP" >&6; }
4595
else
4634
else
4596
  { $as_echo "$as_me:$LINENO: result: no" >&5
4635
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4597
$as_echo "no" >&6; }
4636
$as_echo "no" >&6; }
4598
fi
4637
fi
4599
 
4638
 
4600
 
4639
 
4601
fi
4640
fi
4602
if test -z "$ac_cv_prog_OBJDUMP"; then
4641
if test -z "$ac_cv_prog_OBJDUMP"; then
4603
  ac_ct_OBJDUMP=$OBJDUMP
4642
  ac_ct_OBJDUMP=$OBJDUMP
4604
  # Extract the first word of "objdump", so it can be a program name with args.
4643
  # Extract the first word of "objdump", so it can be a program name with args.
4605
set dummy objdump; ac_word=$2
4644
set dummy objdump; ac_word=$2
4606
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607
$as_echo_n "checking for $ac_word... " >&6; }
4646
$as_echo_n "checking for $ac_word... " >&6; }
4608
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4647
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4609
  $as_echo_n "(cached) " >&6
4648
  $as_echo_n "(cached) " >&6
4610
else
4649
else
4611
  if test -n "$ac_ct_OBJDUMP"; then
4650
  if test -n "$ac_ct_OBJDUMP"; then
4612
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4651
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4613
else
4652
else
4614
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615
for as_dir in $PATH
4654
for as_dir in $PATH
4616
do
4655
do
4617
  IFS=$as_save_IFS
4656
  IFS=$as_save_IFS
4618
  test -z "$as_dir" && as_dir=.
4657
  test -z "$as_dir" && as_dir=.
4619
  for ac_exec_ext in '' $ac_executable_extensions; do
4658
    for ac_exec_ext in '' $ac_executable_extensions; do
4620
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4659
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4621
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4660
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4622
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4661
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4623
    break 2
4662
    break 2
4624
  fi
4663
  fi
4625
done
4664
done
4626
done
4665
  done
4627
IFS=$as_save_IFS
4666
IFS=$as_save_IFS
4628
 
4667
 
4629
fi
4668
fi
4630
fi
4669
fi
4631
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4670
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4632
if test -n "$ac_ct_OBJDUMP"; then
4671
if test -n "$ac_ct_OBJDUMP"; then
4633
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4672
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4634
$as_echo "$ac_ct_OBJDUMP" >&6; }
4673
$as_echo "$ac_ct_OBJDUMP" >&6; }
4635
else
4674
else
4636
  { $as_echo "$as_me:$LINENO: result: no" >&5
4675
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637
$as_echo "no" >&6; }
4676
$as_echo "no" >&6; }
4638
fi
4677
fi
4639
 
4678
 
4640
  if test "x$ac_ct_OBJDUMP" = x; then
4679
  if test "x$ac_ct_OBJDUMP" = x; then
4641
    OBJDUMP="false"
4680
    OBJDUMP="false"
4642
  else
4681
  else
4643
    case $cross_compiling:$ac_tool_warned in
4682
    case $cross_compiling:$ac_tool_warned in
4644
yes:)
4683
yes:)
4645
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4684
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4646
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4685
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4647
ac_tool_warned=yes ;;
4686
ac_tool_warned=yes ;;
4648
esac
4687
esac
4649
    OBJDUMP=$ac_ct_OBJDUMP
4688
    OBJDUMP=$ac_ct_OBJDUMP
4650
  fi
4689
  fi
4651
else
4690
else
4652
  OBJDUMP="$ac_cv_prog_OBJDUMP"
4691
  OBJDUMP="$ac_cv_prog_OBJDUMP"
4653
fi
4692
fi
4654
 
4693
 
4655
test -z "$OBJDUMP" && OBJDUMP=objdump
4694
test -z "$OBJDUMP" && OBJDUMP=objdump
4656
 
4695
 
4657
 
4696
 
4658
 
4697
 
4659
 
4698
 
4660
 
4699
 
4661
 
4700
 
4662
 
4701
 
4663
 
4702
 
4664
 
4703
 
4665
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4666
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4705
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4667
if test "${lt_cv_deplibs_check_method+set}" = set; then
4706
if test "${lt_cv_deplibs_check_method+set}" = set; then :
4668
  $as_echo_n "(cached) " >&6
4707
  $as_echo_n "(cached) " >&6
4669
else
4708
else
4670
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4709
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4671
lt_cv_file_magic_test_file=
4710
lt_cv_file_magic_test_file=
4672
lt_cv_deplibs_check_method='unknown'
4711
lt_cv_deplibs_check_method='unknown'
4673
# Need to set the preceding variable on all platforms that support
4712
# Need to set the preceding variable on all platforms that support
4674
# interlibrary dependencies.
4713
# interlibrary dependencies.
4675
# 'none' -- dependencies not supported.
4714
# 'none' -- dependencies not supported.
4676
# `unknown' -- same as none, but documents that we really don't know.
4715
# `unknown' -- same as none, but documents that we really don't know.
4677
# 'pass_all' -- all dependencies passed with no checks.
4716
# 'pass_all' -- all dependencies passed with no checks.
4678
# 'test_compile' -- check by making test program.
4717
# 'test_compile' -- check by making test program.
4679
# 'file_magic [[regex]]' -- check by looking for files in library path
4718
# 'file_magic [[regex]]' -- check by looking for files in library path
4680
# which responds to the $file_magic_cmd with a given extended regex.
4719
# which responds to the $file_magic_cmd with a given extended regex.
4681
# If you have `file' or equivalent on your system and you're not sure
4720
# If you have `file' or equivalent on your system and you're not sure
4682
# whether `pass_all' will *always* work, you probably want this one.
4721
# whether `pass_all' will *always* work, you probably want this one.
4683
 
4722
 
4684
case $host_os in
4723
case $host_os in
4685
aix[4-9]*)
4724
aix[4-9]*)
4686
  lt_cv_deplibs_check_method=pass_all
4725
  lt_cv_deplibs_check_method=pass_all
4687
  ;;
4726
  ;;
4688
 
4727
 
4689
beos*)
4728
beos*)
4690
  lt_cv_deplibs_check_method=pass_all
4729
  lt_cv_deplibs_check_method=pass_all
4691
  ;;
4730
  ;;
4692
 
4731
 
4693
bsdi[45]*)
4732
bsdi[45]*)
4694
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4733
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4695
  lt_cv_file_magic_cmd='/usr/bin/file -L'
4734
  lt_cv_file_magic_cmd='/usr/bin/file -L'
4696
  lt_cv_file_magic_test_file=/shlib/libc.so
4735
  lt_cv_file_magic_test_file=/shlib/libc.so
4697
  ;;
4736
  ;;
4698
 
4737
 
4699
cygwin*)
4738
cygwin*)
4700
  # func_win32_libid is a shell function defined in ltmain.sh
4739
  # func_win32_libid is a shell function defined in ltmain.sh
4701
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4740
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4702
  lt_cv_file_magic_cmd='func_win32_libid'
4741
  lt_cv_file_magic_cmd='func_win32_libid'
4703
  ;;
4742
  ;;
4704
 
4743
 
4705
mingw* | pw32*)
4744
mingw* | pw32*)
4706
  # Base MSYS/MinGW do not provide the 'file' command needed by
4745
  # Base MSYS/MinGW do not provide the 'file' command needed by
4707
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4746
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4708
  # unless we find 'file', for example because we are cross-compiling.
4747
  # unless we find 'file', for example because we are cross-compiling.
4709
  if ( file / ) >/dev/null 2>&1; then
4748
  if ( file / ) >/dev/null 2>&1; then
4710
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4749
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4711
    lt_cv_file_magic_cmd='func_win32_libid'
4750
    lt_cv_file_magic_cmd='func_win32_libid'
4712
  else
4751
  else
4713
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4752
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4714
    lt_cv_file_magic_cmd='$OBJDUMP -f'
4753
    lt_cv_file_magic_cmd='$OBJDUMP -f'
4715
  fi
4754
  fi
4716
  ;;
4755
  ;;
4717
 
4756
 
4718
cegcc)
4757
cegcc)
4719
  # use the weaker test based on 'objdump'. See mingw*.
4758
  # use the weaker test based on 'objdump'. See mingw*.
4720
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4759
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4721
  lt_cv_file_magic_cmd='$OBJDUMP -f'
4760
  lt_cv_file_magic_cmd='$OBJDUMP -f'
4722
  ;;
4761
  ;;
4723
 
4762
 
4724
darwin* | rhapsody*)
4763
darwin* | rhapsody*)
4725
  lt_cv_deplibs_check_method=pass_all
4764
  lt_cv_deplibs_check_method=pass_all
4726
  ;;
4765
  ;;
4727
 
4766
 
4728
freebsd* | dragonfly*)
4767
freebsd* | dragonfly*)
4729
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4768
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4730
    case $host_cpu in
4769
    case $host_cpu in
4731
    i*86 )
4770
    i*86 )
4732
      # Not sure whether the presence of OpenBSD here was a mistake.
4771
      # Not sure whether the presence of OpenBSD here was a mistake.
4733
      # Let's accept both of them until this is cleared up.
4772
      # Let's accept both of them until this is cleared up.
4734
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4773
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4735
      lt_cv_file_magic_cmd=/usr/bin/file
4774
      lt_cv_file_magic_cmd=/usr/bin/file
4736
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4775
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4737
      ;;
4776
      ;;
4738
    esac
4777
    esac
4739
  else
4778
  else
4740
    lt_cv_deplibs_check_method=pass_all
4779
    lt_cv_deplibs_check_method=pass_all
4741
  fi
4780
  fi
4742
  ;;
4781
  ;;
4743
 
4782
 
4744
gnu*)
4783
gnu*)
4745
  lt_cv_deplibs_check_method=pass_all
4784
  lt_cv_deplibs_check_method=pass_all
4746
  ;;
4785
  ;;
4747
 
4786
 
4748
hpux10.20* | hpux11*)
4787
hpux10.20* | hpux11*)
4749
  lt_cv_file_magic_cmd=/usr/bin/file
4788
  lt_cv_file_magic_cmd=/usr/bin/file
4750
  case $host_cpu in
4789
  case $host_cpu in
4751
  ia64*)
4790
  ia64*)
4752
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4791
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4753
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4792
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4754
    ;;
4793
    ;;
4755
  hppa*64*)
4794
  hppa*64*)
4756
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4795
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4757
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4796
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4758
    ;;
4797
    ;;
4759
  *)
4798
  *)
4760
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4799
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4761
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4800
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4762
    ;;
4801
    ;;
4763
  esac
4802
  esac
4764
  ;;
4803
  ;;
4765
 
4804
 
4766
interix[3-9]*)
4805
interix[3-9]*)
4767
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4806
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4768
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4807
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4769
  ;;
4808
  ;;
4770
 
4809
 
4771
irix5* | irix6* | nonstopux*)
4810
irix5* | irix6* | nonstopux*)
4772
  case $LD in
4811
  case $LD in
4773
  *-32|*"-32 ") libmagic=32-bit;;
4812
  *-32|*"-32 ") libmagic=32-bit;;
4774
  *-n32|*"-n32 ") libmagic=N32;;
4813
  *-n32|*"-n32 ") libmagic=N32;;
4775
  *-64|*"-64 ") libmagic=64-bit;;
4814
  *-64|*"-64 ") libmagic=64-bit;;
4776
  *) libmagic=never-match;;
4815
  *) libmagic=never-match;;
4777
  esac
4816
  esac
4778
  lt_cv_deplibs_check_method=pass_all
4817
  lt_cv_deplibs_check_method=pass_all
4779
  ;;
4818
  ;;
4780
 
4819
 
4781
# This must be Linux ELF.
4820
# This must be Linux ELF.
4782
linux* | k*bsd*-gnu)
4821
linux* | k*bsd*-gnu)
4783
  lt_cv_deplibs_check_method=pass_all
4822
  lt_cv_deplibs_check_method=pass_all
4784
  ;;
4823
  ;;
4785
 
4824
 
4786
netbsd* | netbsdelf*-gnu)
4825
netbsd* | netbsdelf*-gnu)
4787
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4826
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4788
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4827
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4789
  else
4828
  else
4790
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4829
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4791
  fi
4830
  fi
4792
  ;;
4831
  ;;
4793
 
4832
 
4794
newos6*)
4833
newos6*)
4795
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4834
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4796
  lt_cv_file_magic_cmd=/usr/bin/file
4835
  lt_cv_file_magic_cmd=/usr/bin/file
4797
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4836
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4798
  ;;
4837
  ;;
4799
 
4838
 
4800
*nto* | *qnx*)
4839
*nto* | *qnx*)
4801
  lt_cv_deplibs_check_method=pass_all
4840
  lt_cv_deplibs_check_method=pass_all
4802
  ;;
4841
  ;;
4803
 
4842
 
4804
openbsd*)
4843
openbsd*)
4805
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4844
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4806
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4845
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4807
  else
4846
  else
4808
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4847
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4809
  fi
4848
  fi
4810
  ;;
4849
  ;;
4811
 
4850
 
4812
osf3* | osf4* | osf5*)
4851
osf3* | osf4* | osf5*)
4813
  lt_cv_deplibs_check_method=pass_all
4852
  lt_cv_deplibs_check_method=pass_all
4814
  ;;
4853
  ;;
4815
 
4854
 
4816
rdos*)
4855
rdos*)
4817
  lt_cv_deplibs_check_method=pass_all
4856
  lt_cv_deplibs_check_method=pass_all
4818
  ;;
4857
  ;;
4819
 
4858
 
4820
solaris*)
4859
solaris*)
4821
  lt_cv_deplibs_check_method=pass_all
4860
  lt_cv_deplibs_check_method=pass_all
4822
  ;;
4861
  ;;
4823
 
4862
 
4824
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4863
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4825
  lt_cv_deplibs_check_method=pass_all
4864
  lt_cv_deplibs_check_method=pass_all
4826
  ;;
4865
  ;;
4827
 
4866
 
4828
sysv4 | sysv4.3*)
4867
sysv4 | sysv4.3*)
4829
  case $host_vendor in
4868
  case $host_vendor in
4830
  motorola)
4869
  motorola)
4831
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4870
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4832
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4871
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4833
    ;;
4872
    ;;
4834
  ncr)
4873
  ncr)
4835
    lt_cv_deplibs_check_method=pass_all
4874
    lt_cv_deplibs_check_method=pass_all
4836
    ;;
4875
    ;;
4837
  sequent)
4876
  sequent)
4838
    lt_cv_file_magic_cmd='/bin/file'
4877
    lt_cv_file_magic_cmd='/bin/file'
4839
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4878
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4840
    ;;
4879
    ;;
4841
  sni)
4880
  sni)
4842
    lt_cv_file_magic_cmd='/bin/file'
4881
    lt_cv_file_magic_cmd='/bin/file'
4843
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4882
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4844
    lt_cv_file_magic_test_file=/lib/libc.so
4883
    lt_cv_file_magic_test_file=/lib/libc.so
4845
    ;;
4884
    ;;
4846
  siemens)
4885
  siemens)
4847
    lt_cv_deplibs_check_method=pass_all
4886
    lt_cv_deplibs_check_method=pass_all
4848
    ;;
4887
    ;;
4849
  pc)
4888
  pc)
4850
    lt_cv_deplibs_check_method=pass_all
4889
    lt_cv_deplibs_check_method=pass_all
4851
    ;;
4890
    ;;
4852
  esac
4891
  esac
4853
  ;;
4892
  ;;
4854
 
4893
 
4855
tpf*)
4894
tpf*)
4856
  lt_cv_deplibs_check_method=pass_all
4895
  lt_cv_deplibs_check_method=pass_all
4857
  ;;
4896
  ;;
4858
esac
4897
esac
4859
 
4898
 
4860
fi
4899
fi
4861
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4862
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4901
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4863
file_magic_cmd=$lt_cv_file_magic_cmd
4902
file_magic_cmd=$lt_cv_file_magic_cmd
4864
deplibs_check_method=$lt_cv_deplibs_check_method
4903
deplibs_check_method=$lt_cv_deplibs_check_method
4865
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4904
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4866
 
4905
 
4867
 
4906
 
4868
 
4907
 
4869
 
4908
 
4870
 
4909
 
4871
 
4910
 
4872
 
4911
 
4873
 
4912
 
4874
 
4913
 
4875
 
4914
 
4876
 
4915
 
4877
 
4916
 
4878
if test -n "$ac_tool_prefix"; then
4917
if test -n "$ac_tool_prefix"; then
4879
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4918
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4880
set dummy ${ac_tool_prefix}ar; ac_word=$2
4919
set dummy ${ac_tool_prefix}ar; ac_word=$2
4881
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4920
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4882
$as_echo_n "checking for $ac_word... " >&6; }
4921
$as_echo_n "checking for $ac_word... " >&6; }
4883
if test "${ac_cv_prog_AR+set}" = set; then
4922
if test "${ac_cv_prog_AR+set}" = set; then :
4884
  $as_echo_n "(cached) " >&6
4923
  $as_echo_n "(cached) " >&6
4885
else
4924
else
4886
  if test -n "$AR"; then
4925
  if test -n "$AR"; then
4887
  ac_cv_prog_AR="$AR" # Let the user override the test.
4926
  ac_cv_prog_AR="$AR" # Let the user override the test.
4888
else
4927
else
4889
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4890
for as_dir in $PATH
4929
for as_dir in $PATH
4891
do
4930
do
4892
  IFS=$as_save_IFS
4931
  IFS=$as_save_IFS
4893
  test -z "$as_dir" && as_dir=.
4932
  test -z "$as_dir" && as_dir=.
4894
  for ac_exec_ext in '' $ac_executable_extensions; do
4933
    for ac_exec_ext in '' $ac_executable_extensions; do
4895
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4934
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4896
    ac_cv_prog_AR="${ac_tool_prefix}ar"
4935
    ac_cv_prog_AR="${ac_tool_prefix}ar"
4897
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4936
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4898
    break 2
4937
    break 2
4899
  fi
4938
  fi
4900
done
4939
done
4901
done
4940
  done
4902
IFS=$as_save_IFS
4941
IFS=$as_save_IFS
4903
 
4942
 
4904
fi
4943
fi
4905
fi
4944
fi
4906
AR=$ac_cv_prog_AR
4945
AR=$ac_cv_prog_AR
4907
if test -n "$AR"; then
4946
if test -n "$AR"; then
4908
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
4947
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4909
$as_echo "$AR" >&6; }
4948
$as_echo "$AR" >&6; }
4910
else
4949
else
4911
  { $as_echo "$as_me:$LINENO: result: no" >&5
4950
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912
$as_echo "no" >&6; }
4951
$as_echo "no" >&6; }
4913
fi
4952
fi
4914
 
4953
 
4915
 
4954
 
4916
fi
4955
fi
4917
if test -z "$ac_cv_prog_AR"; then
4956
if test -z "$ac_cv_prog_AR"; then
4918
  ac_ct_AR=$AR
4957
  ac_ct_AR=$AR
4919
  # Extract the first word of "ar", so it can be a program name with args.
4958
  # Extract the first word of "ar", so it can be a program name with args.
4920
set dummy ar; ac_word=$2
4959
set dummy ar; ac_word=$2
4921
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4922
$as_echo_n "checking for $ac_word... " >&6; }
4961
$as_echo_n "checking for $ac_word... " >&6; }
4923
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4962
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4924
  $as_echo_n "(cached) " >&6
4963
  $as_echo_n "(cached) " >&6
4925
else
4964
else
4926
  if test -n "$ac_ct_AR"; then
4965
  if test -n "$ac_ct_AR"; then
4927
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4966
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4928
else
4967
else
4929
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930
for as_dir in $PATH
4969
for as_dir in $PATH
4931
do
4970
do
4932
  IFS=$as_save_IFS
4971
  IFS=$as_save_IFS
4933
  test -z "$as_dir" && as_dir=.
4972
  test -z "$as_dir" && as_dir=.
4934
  for ac_exec_ext in '' $ac_executable_extensions; do
4973
    for ac_exec_ext in '' $ac_executable_extensions; do
4935
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4974
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4936
    ac_cv_prog_ac_ct_AR="ar"
4975
    ac_cv_prog_ac_ct_AR="ar"
4937
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4976
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4938
    break 2
4977
    break 2
4939
  fi
4978
  fi
4940
done
4979
done
4941
done
4980
  done
4942
IFS=$as_save_IFS
4981
IFS=$as_save_IFS
4943
 
4982
 
4944
fi
4983
fi
4945
fi
4984
fi
4946
ac_ct_AR=$ac_cv_prog_ac_ct_AR
4985
ac_ct_AR=$ac_cv_prog_ac_ct_AR
4947
if test -n "$ac_ct_AR"; then
4986
if test -n "$ac_ct_AR"; then
4948
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4987
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4949
$as_echo "$ac_ct_AR" >&6; }
4988
$as_echo "$ac_ct_AR" >&6; }
4950
else
4989
else
4951
  { $as_echo "$as_me:$LINENO: result: no" >&5
4990
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952
$as_echo "no" >&6; }
4991
$as_echo "no" >&6; }
4953
fi
4992
fi
4954
 
4993
 
4955
  if test "x$ac_ct_AR" = x; then
4994
  if test "x$ac_ct_AR" = x; then
4956
    AR="false"
4995
    AR="false"
4957
  else
4996
  else
4958
    case $cross_compiling:$ac_tool_warned in
4997
    case $cross_compiling:$ac_tool_warned in
4959
yes:)
4998
yes:)
4960
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4999
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4961
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5000
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4962
ac_tool_warned=yes ;;
5001
ac_tool_warned=yes ;;
4963
esac
5002
esac
4964
    AR=$ac_ct_AR
5003
    AR=$ac_ct_AR
4965
  fi
5004
  fi
4966
else
5005
else
4967
  AR="$ac_cv_prog_AR"
5006
  AR="$ac_cv_prog_AR"
4968
fi
5007
fi
4969
 
5008
 
4970
test -z "$AR" && AR=ar
5009
test -z "$AR" && AR=ar
4971
test -z "$AR_FLAGS" && AR_FLAGS=cru
5010
test -z "$AR_FLAGS" && AR_FLAGS=cru
4972
 
5011
 
4973
 
5012
 
4974
 
5013
 
4975
 
5014
 
4976
 
5015
 
4977
 
5016
 
4978
 
5017
 
4979
 
5018
 
4980
 
5019
 
4981
 
5020
 
4982
 
5021
 
4983
if test -n "$ac_tool_prefix"; then
5022
if test -n "$ac_tool_prefix"; then
4984
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5023
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4985
set dummy ${ac_tool_prefix}strip; ac_word=$2
5024
set dummy ${ac_tool_prefix}strip; ac_word=$2
4986
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987
$as_echo_n "checking for $ac_word... " >&6; }
5026
$as_echo_n "checking for $ac_word... " >&6; }
4988
if test "${ac_cv_prog_STRIP+set}" = set; then
5027
if test "${ac_cv_prog_STRIP+set}" = set; then :
4989
  $as_echo_n "(cached) " >&6
5028
  $as_echo_n "(cached) " >&6
4990
else
5029
else
4991
  if test -n "$STRIP"; then
5030
  if test -n "$STRIP"; then
4992
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5031
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4993
else
5032
else
4994
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4995
for as_dir in $PATH
5034
for as_dir in $PATH
4996
do
5035
do
4997
  IFS=$as_save_IFS
5036
  IFS=$as_save_IFS
4998
  test -z "$as_dir" && as_dir=.
5037
  test -z "$as_dir" && as_dir=.
4999
  for ac_exec_ext in '' $ac_executable_extensions; do
5038
    for ac_exec_ext in '' $ac_executable_extensions; do
5000
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5039
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5001
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5040
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5002
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5041
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003
    break 2
5042
    break 2
5004
  fi
5043
  fi
5005
done
5044
done
5006
done
5045
  done
5007
IFS=$as_save_IFS
5046
IFS=$as_save_IFS
5008
 
5047
 
5009
fi
5048
fi
5010
fi
5049
fi
5011
STRIP=$ac_cv_prog_STRIP
5050
STRIP=$ac_cv_prog_STRIP
5012
if test -n "$STRIP"; then
5051
if test -n "$STRIP"; then
5013
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5052
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5014
$as_echo "$STRIP" >&6; }
5053
$as_echo "$STRIP" >&6; }
5015
else
5054
else
5016
  { $as_echo "$as_me:$LINENO: result: no" >&5
5055
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017
$as_echo "no" >&6; }
5056
$as_echo "no" >&6; }
5018
fi
5057
fi
5019
 
5058
 
5020
 
5059
 
5021
fi
5060
fi
5022
if test -z "$ac_cv_prog_STRIP"; then
5061
if test -z "$ac_cv_prog_STRIP"; then
5023
  ac_ct_STRIP=$STRIP
5062
  ac_ct_STRIP=$STRIP
5024
  # Extract the first word of "strip", so it can be a program name with args.
5063
  # Extract the first word of "strip", so it can be a program name with args.
5025
set dummy strip; ac_word=$2
5064
set dummy strip; ac_word=$2
5026
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027
$as_echo_n "checking for $ac_word... " >&6; }
5066
$as_echo_n "checking for $ac_word... " >&6; }
5028
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5067
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5029
  $as_echo_n "(cached) " >&6
5068
  $as_echo_n "(cached) " >&6
5030
else
5069
else
5031
  if test -n "$ac_ct_STRIP"; then
5070
  if test -n "$ac_ct_STRIP"; then
5032
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5071
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5033
else
5072
else
5034
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5073
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035
for as_dir in $PATH
5074
for as_dir in $PATH
5036
do
5075
do
5037
  IFS=$as_save_IFS
5076
  IFS=$as_save_IFS
5038
  test -z "$as_dir" && as_dir=.
5077
  test -z "$as_dir" && as_dir=.
5039
  for ac_exec_ext in '' $ac_executable_extensions; do
5078
    for ac_exec_ext in '' $ac_executable_extensions; do
5040
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5079
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5041
    ac_cv_prog_ac_ct_STRIP="strip"
5080
    ac_cv_prog_ac_ct_STRIP="strip"
5042
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5081
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043
    break 2
5082
    break 2
5044
  fi
5083
  fi
5045
done
5084
done
5046
done
5085
  done
5047
IFS=$as_save_IFS
5086
IFS=$as_save_IFS
5048
 
5087
 
5049
fi
5088
fi
5050
fi
5089
fi
5051
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5090
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5052
if test -n "$ac_ct_STRIP"; then
5091
if test -n "$ac_ct_STRIP"; then
5053
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5092
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5054
$as_echo "$ac_ct_STRIP" >&6; }
5093
$as_echo "$ac_ct_STRIP" >&6; }
5055
else
5094
else
5056
  { $as_echo "$as_me:$LINENO: result: no" >&5
5095
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057
$as_echo "no" >&6; }
5096
$as_echo "no" >&6; }
5058
fi
5097
fi
5059
 
5098
 
5060
  if test "x$ac_ct_STRIP" = x; then
5099
  if test "x$ac_ct_STRIP" = x; then
5061
    STRIP=":"
5100
    STRIP=":"
5062
  else
5101
  else
5063
    case $cross_compiling:$ac_tool_warned in
5102
    case $cross_compiling:$ac_tool_warned in
5064
yes:)
5103
yes:)
5065
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5104
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5066
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5105
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5067
ac_tool_warned=yes ;;
5106
ac_tool_warned=yes ;;
5068
esac
5107
esac
5069
    STRIP=$ac_ct_STRIP
5108
    STRIP=$ac_ct_STRIP
5070
  fi
5109
  fi
5071
else
5110
else
5072
  STRIP="$ac_cv_prog_STRIP"
5111
  STRIP="$ac_cv_prog_STRIP"
5073
fi
5112
fi
5074
 
5113
 
5075
test -z "$STRIP" && STRIP=:
5114
test -z "$STRIP" && STRIP=:
5076
 
5115
 
5077
 
5116
 
5078
 
5117
 
5079
 
5118
 
5080
 
5119
 
5081
 
5120
 
5082
if test -n "$ac_tool_prefix"; then
5121
if test -n "$ac_tool_prefix"; then
5083
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5122
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5084
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5123
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5085
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5124
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5086
$as_echo_n "checking for $ac_word... " >&6; }
5125
$as_echo_n "checking for $ac_word... " >&6; }
5087
if test "${ac_cv_prog_RANLIB+set}" = set; then
5126
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5088
  $as_echo_n "(cached) " >&6
5127
  $as_echo_n "(cached) " >&6
5089
else
5128
else
5090
  if test -n "$RANLIB"; then
5129
  if test -n "$RANLIB"; then
5091
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5130
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5092
else
5131
else
5093
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5094
for as_dir in $PATH
5133
for as_dir in $PATH
5095
do
5134
do
5096
  IFS=$as_save_IFS
5135
  IFS=$as_save_IFS
5097
  test -z "$as_dir" && as_dir=.
5136
  test -z "$as_dir" && as_dir=.
5098
  for ac_exec_ext in '' $ac_executable_extensions; do
5137
    for ac_exec_ext in '' $ac_executable_extensions; do
5099
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5138
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5100
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5139
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5101
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5140
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5102
    break 2
5141
    break 2
5103
  fi
5142
  fi
5104
done
5143
done
5105
done
5144
  done
5106
IFS=$as_save_IFS
5145
IFS=$as_save_IFS
5107
 
5146
 
5108
fi
5147
fi
5109
fi
5148
fi
5110
RANLIB=$ac_cv_prog_RANLIB
5149
RANLIB=$ac_cv_prog_RANLIB
5111
if test -n "$RANLIB"; then
5150
if test -n "$RANLIB"; then
5112
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5151
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5113
$as_echo "$RANLIB" >&6; }
5152
$as_echo "$RANLIB" >&6; }
5114
else
5153
else
5115
  { $as_echo "$as_me:$LINENO: result: no" >&5
5154
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116
$as_echo "no" >&6; }
5155
$as_echo "no" >&6; }
5117
fi
5156
fi
5118
 
5157
 
5119
 
5158
 
5120
fi
5159
fi
5121
if test -z "$ac_cv_prog_RANLIB"; then
5160
if test -z "$ac_cv_prog_RANLIB"; then
5122
  ac_ct_RANLIB=$RANLIB
5161
  ac_ct_RANLIB=$RANLIB
5123
  # Extract the first word of "ranlib", so it can be a program name with args.
5162
  # Extract the first word of "ranlib", so it can be a program name with args.
5124
set dummy ranlib; ac_word=$2
5163
set dummy ranlib; ac_word=$2
5125
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126
$as_echo_n "checking for $ac_word... " >&6; }
5165
$as_echo_n "checking for $ac_word... " >&6; }
5127
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5166
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5128
  $as_echo_n "(cached) " >&6
5167
  $as_echo_n "(cached) " >&6
5129
else
5168
else
5130
  if test -n "$ac_ct_RANLIB"; then
5169
  if test -n "$ac_ct_RANLIB"; then
5131
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5170
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5132
else
5171
else
5133
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5134
for as_dir in $PATH
5173
for as_dir in $PATH
5135
do
5174
do
5136
  IFS=$as_save_IFS
5175
  IFS=$as_save_IFS
5137
  test -z "$as_dir" && as_dir=.
5176
  test -z "$as_dir" && as_dir=.
5138
  for ac_exec_ext in '' $ac_executable_extensions; do
5177
    for ac_exec_ext in '' $ac_executable_extensions; do
5139
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5178
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5140
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5179
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5141
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5180
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5142
    break 2
5181
    break 2
5143
  fi
5182
  fi
5144
done
5183
done
5145
done
5184
  done
5146
IFS=$as_save_IFS
5185
IFS=$as_save_IFS
5147
 
5186
 
5148
fi
5187
fi
5149
fi
5188
fi
5150
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5189
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5151
if test -n "$ac_ct_RANLIB"; then
5190
if test -n "$ac_ct_RANLIB"; then
5152
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5191
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5153
$as_echo "$ac_ct_RANLIB" >&6; }
5192
$as_echo "$ac_ct_RANLIB" >&6; }
5154
else
5193
else
5155
  { $as_echo "$as_me:$LINENO: result: no" >&5
5194
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156
$as_echo "no" >&6; }
5195
$as_echo "no" >&6; }
5157
fi
5196
fi
5158
 
5197
 
5159
  if test "x$ac_ct_RANLIB" = x; then
5198
  if test "x$ac_ct_RANLIB" = x; then
5160
    RANLIB=":"
5199
    RANLIB=":"
5161
  else
5200
  else
5162
    case $cross_compiling:$ac_tool_warned in
5201
    case $cross_compiling:$ac_tool_warned in
5163
yes:)
5202
yes:)
5164
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5203
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5165
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5204
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5166
ac_tool_warned=yes ;;
5205
ac_tool_warned=yes ;;
5167
esac
5206
esac
5168
    RANLIB=$ac_ct_RANLIB
5207
    RANLIB=$ac_ct_RANLIB
5169
  fi
5208
  fi
5170
else
5209
else
5171
  RANLIB="$ac_cv_prog_RANLIB"
5210
  RANLIB="$ac_cv_prog_RANLIB"
5172
fi
5211
fi
5173
 
5212
 
5174
test -z "$RANLIB" && RANLIB=:
5213
test -z "$RANLIB" && RANLIB=:
5175
 
5214
 
5176
 
5215
 
5177
 
5216
 
5178
 
5217
 
5179
 
5218
 
5180
 
5219
 
5181
# Determine commands to create old-style static archives.
5220
# Determine commands to create old-style static archives.
5182
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5221
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5183
old_postinstall_cmds='chmod 644 $oldlib'
5222
old_postinstall_cmds='chmod 644 $oldlib'
5184
old_postuninstall_cmds=
5223
old_postuninstall_cmds=
5185
 
5224
 
5186
if test -n "$RANLIB"; then
5225
if test -n "$RANLIB"; then
5187
  case $host_os in
5226
  case $host_os in
5188
  openbsd*)
5227
  openbsd*)
5189
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5228
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5190
    ;;
5229
    ;;
5191
  *)
5230
  *)
5192
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5231
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5193
    ;;
5232
    ;;
5194
  esac
5233
  esac
5195
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5234
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5196
fi
5235
fi
5197
 
5236
 
5198
 
5237
 
5199
 
5238
 
5200
 
5239
 
5201
 
5240
 
5202
 
5241
 
5203
 
5242
 
5204
 
5243
 
5205
 
5244
 
5206
 
5245
 
5207
 
5246
 
5208
 
5247
 
5209
 
5248
 
5210
 
5249
 
5211
 
5250
 
5212
 
5251
 
5213
 
5252
 
5214
 
5253
 
5215
 
5254
 
5216
 
5255
 
5217
 
5256
 
5218
 
5257
 
5219
 
5258
 
5220
 
5259
 
5221
 
5260
 
5222
 
5261
 
5223
 
5262
 
5224
 
5263
 
5225
 
5264
 
5226
 
5265
 
5227
 
5266
 
5228
 
5267
 
5229
 
5268
 
5230
 
5269
 
5231
# If no C compiler was specified, use CC.
5270
# If no C compiler was specified, use CC.
5232
LTCC=${LTCC-"$CC"}
5271
LTCC=${LTCC-"$CC"}
5233
 
5272
 
5234
# If no C compiler flags were specified, use CFLAGS.
5273
# If no C compiler flags were specified, use CFLAGS.
5235
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5274
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5236
 
5275
 
5237
# Allow CC to be a program name with arguments.
5276
# Allow CC to be a program name with arguments.
5238
compiler=$CC
5277
compiler=$CC
5239
 
5278
 
5240
 
5279
 
5241
# Check for command to grab the raw symbol name followed by C symbol from nm.
5280
# Check for command to grab the raw symbol name followed by C symbol from nm.
5242
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5281
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5243
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5282
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5244
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5283
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5245
  $as_echo_n "(cached) " >&6
5284
  $as_echo_n "(cached) " >&6
5246
else
5285
else
5247
 
5286
 
5248
# These are sane defaults that work on at least a few old systems.
5287
# These are sane defaults that work on at least a few old systems.
5249
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5288
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5250
 
5289
 
5251
# Character class describing NM global symbol codes.
5290
# Character class describing NM global symbol codes.
5252
symcode='[BCDEGRST]'
5291
symcode='[BCDEGRST]'
5253
 
5292
 
5254
# Regexp to match symbols that can be accessed directly from C.
5293
# Regexp to match symbols that can be accessed directly from C.
5255
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5294
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5256
 
5295
 
5257
# Define system-specific variables.
5296
# Define system-specific variables.
5258
case $host_os in
5297
case $host_os in
5259
aix*)
5298
aix*)
5260
  symcode='[BCDT]'
5299
  symcode='[BCDT]'
5261
  ;;
5300
  ;;
5262
cygwin* | mingw* | pw32* | cegcc*)
5301
cygwin* | mingw* | pw32* | cegcc*)
5263
  symcode='[ABCDGISTW]'
5302
  symcode='[ABCDGISTW]'
5264
  ;;
5303
  ;;
5265
hpux*)
5304
hpux*)
5266
  if test "$host_cpu" = ia64; then
5305
  if test "$host_cpu" = ia64; then
5267
    symcode='[ABCDEGRST]'
5306
    symcode='[ABCDEGRST]'
5268
  fi
5307
  fi
5269
  ;;
5308
  ;;
5270
irix* | nonstopux*)
5309
irix* | nonstopux*)
5271
  symcode='[BCDEGRST]'
5310
  symcode='[BCDEGRST]'
5272
  ;;
5311
  ;;
5273
osf*)
5312
osf*)
5274
  symcode='[BCDEGQRST]'
5313
  symcode='[BCDEGQRST]'
5275
  ;;
5314
  ;;
5276
solaris*)
5315
solaris*)
5277
  symcode='[BDRT]'
5316
  symcode='[BDRT]'
5278
  ;;
5317
  ;;
5279
sco3.2v5*)
5318
sco3.2v5*)
5280
  symcode='[DT]'
5319
  symcode='[DT]'
5281
  ;;
5320
  ;;
5282
sysv4.2uw2*)
5321
sysv4.2uw2*)
5283
  symcode='[DT]'
5322
  symcode='[DT]'
5284
  ;;
5323
  ;;
5285
sysv5* | sco5v6* | unixware* | OpenUNIX*)
5324
sysv5* | sco5v6* | unixware* | OpenUNIX*)
5286
  symcode='[ABDT]'
5325
  symcode='[ABDT]'
5287
  ;;
5326
  ;;
5288
sysv4)
5327
sysv4)
5289
  symcode='[DFNSTU]'
5328
  symcode='[DFNSTU]'
5290
  ;;
5329
  ;;
5291
esac
5330
esac
5292
 
5331
 
5293
# If we're using GNU nm, then use its standard symbol codes.
5332
# If we're using GNU nm, then use its standard symbol codes.
5294
case `$NM -V 2>&1` in
5333
case `$NM -V 2>&1` in
5295
*GNU* | *'with BFD'*)
5334
*GNU* | *'with BFD'*)
5296
  symcode='[ABCDGIRSTW]' ;;
5335
  symcode='[ABCDGIRSTW]' ;;
5297
esac
5336
esac
5298
 
5337
 
5299
# Transform an extracted symbol line into a proper C declaration.
5338
# Transform an extracted symbol line into a proper C declaration.
5300
# Some systems (esp. on ia64) link data and code symbols differently,
5339
# Some systems (esp. on ia64) link data and code symbols differently,
5301
# so use this general approach.
5340
# so use this general approach.
5302
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5341
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5303
 
5342
 
5304
# Transform an extracted symbol line into symbol name and symbol address
5343
# Transform an extracted symbol line into symbol name and symbol address
5305
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5344
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5306
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'"
5345
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'"
5307
 
5346
 
5308
# Handle CRLF in mingw tool chain
5347
# Handle CRLF in mingw tool chain
5309
opt_cr=
5348
opt_cr=
5310
case $build_os in
5349
case $build_os in
5311
mingw*)
5350
mingw*)
5312
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5351
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5313
  ;;
5352
  ;;
5314
esac
5353
esac
5315
 
5354
 
5316
# Try without a prefix underscore, then with it.
5355
# Try without a prefix underscore, then with it.
5317
for ac_symprfx in "" "_"; do
5356
for ac_symprfx in "" "_"; do
5318
 
5357
 
5319
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5358
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5320
  symxfrm="\\1 $ac_symprfx\\2 \\2"
5359
  symxfrm="\\1 $ac_symprfx\\2 \\2"
5321
 
5360
 
5322
  # Write the raw and C identifiers.
5361
  # Write the raw and C identifiers.
5323
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5362
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5324
    # Fake it for dumpbin and say T for any non-static function
5363
    # Fake it for dumpbin and say T for any non-static function
5325
    # and D for any global variable.
5364
    # and D for any global variable.
5326
    # Also find C++ and __fastcall symbols from MSVC++,
5365
    # Also find C++ and __fastcall symbols from MSVC++,
5327
    # which start with @ or ?.
5366
    # which start with @ or ?.
5328
    lt_cv_sys_global_symbol_pipe="$AWK '"\
5367
    lt_cv_sys_global_symbol_pipe="$AWK '"\
5329
"     {last_section=section; section=\$ 3};"\
5368
"     {last_section=section; section=\$ 3};"\
5330
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5369
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5331
"     \$ 0!~/External *\|/{next};"\
5370
"     \$ 0!~/External *\|/{next};"\
5332
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5371
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5333
"     {if(hide[section]) next};"\
5372
"     {if(hide[section]) next};"\
5334
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5373
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5335
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5374
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5336
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5375
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5337
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5376
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5338
"     ' prfx=^$ac_symprfx"
5377
"     ' prfx=^$ac_symprfx"
5339
  else
5378
  else
5340
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5379
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5341
  fi
5380
  fi
5342
 
5381
 
5343
  # Check to see that the pipe works correctly.
5382
  # Check to see that the pipe works correctly.
5344
  pipe_works=no
5383
  pipe_works=no
5345
 
5384
 
5346
  rm -f conftest*
5385
  rm -f conftest*
5347
  cat > conftest.$ac_ext <<_LT_EOF
5386
  cat > conftest.$ac_ext <<_LT_EOF
5348
#ifdef __cplusplus
5387
#ifdef __cplusplus
5349
extern "C" {
5388
extern "C" {
5350
#endif
5389
#endif
5351
char nm_test_var;
5390
char nm_test_var;
5352
void nm_test_func(void);
5391
void nm_test_func(void);
5353
void nm_test_func(void){}
5392
void nm_test_func(void){}
5354
#ifdef __cplusplus
5393
#ifdef __cplusplus
5355
}
5394
}
5356
#endif
5395
#endif
5357
int main(){nm_test_var='a';nm_test_func();return(0);}
5396
int main(){nm_test_var='a';nm_test_func();return(0);}
5358
_LT_EOF
5397
_LT_EOF
5359
 
5398
 
5360
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5399
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5361
  (eval $ac_compile) 2>&5
5400
  (eval $ac_compile) 2>&5
5362
  ac_status=$?
5401
  ac_status=$?
5363
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5364
  (exit $ac_status); }; then
5403
  test $ac_status = 0; }; then
5365
    # Now try to grab the symbols.
5404
    # Now try to grab the symbols.
5366
    nlist=conftest.nm
5405
    nlist=conftest.nm
5367
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5406
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5368
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5407
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5369
  ac_status=$?
5408
  ac_status=$?
5370
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5371
  (exit $ac_status); } && test -s "$nlist"; then
5410
  test $ac_status = 0; } && test -s "$nlist"; then
5372
      # Try sorting and uniquifying the output.
5411
      # Try sorting and uniquifying the output.
5373
      if sort "$nlist" | uniq > "$nlist"T; then
5412
      if sort "$nlist" | uniq > "$nlist"T; then
5374
	mv -f "$nlist"T "$nlist"
5413
	mv -f "$nlist"T "$nlist"
5375
      else
5414
      else
5376
	rm -f "$nlist"T
5415
	rm -f "$nlist"T
5377
      fi
5416
      fi
5378
 
5417
 
5379
      # Make sure that we snagged all the symbols we need.
5418
      # Make sure that we snagged all the symbols we need.
5380
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5419
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5381
	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5420
	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5382
	  cat <<_LT_EOF > conftest.$ac_ext
5421
	  cat <<_LT_EOF > conftest.$ac_ext
5383
#ifdef __cplusplus
5422
#ifdef __cplusplus
5384
extern "C" {
5423
extern "C" {
5385
#endif
5424
#endif
5386
 
5425
 
5387
_LT_EOF
5426
_LT_EOF
5388
	  # Now generate the symbol file.
5427
	  # Now generate the symbol file.
5389
	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5428
	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5390
 
5429
 
5391
	  cat <<_LT_EOF >> conftest.$ac_ext
5430
	  cat <<_LT_EOF >> conftest.$ac_ext
5392
 
5431
 
5393
/* The mapping between symbol names and symbols.  */
5432
/* The mapping between symbol names and symbols.  */
5394
const struct {
5433
const struct {
5395
  const char *name;
5434
  const char *name;
5396
  void       *address;
5435
  void       *address;
5397
}
5436
}
5398
lt__PROGRAM__LTX_preloaded_symbols[] =
5437
lt__PROGRAM__LTX_preloaded_symbols[] =
5399
{
5438
{
5400
  { "@PROGRAM@", (void *) 0 },
5439
  { "@PROGRAM@", (void *) 0 },
5401
_LT_EOF
5440
_LT_EOF
5402
	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5441
	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5403
	  cat <<\_LT_EOF >> conftest.$ac_ext
5442
	  cat <<\_LT_EOF >> conftest.$ac_ext
5404
  {0, (void *) 0}
5443
  {0, (void *) 0}
5405
};
5444
};
5406
 
5445
 
5407
/* This works around a problem in FreeBSD linker */
5446
/* This works around a problem in FreeBSD linker */
5408
#ifdef FREEBSD_WORKAROUND
5447
#ifdef FREEBSD_WORKAROUND
5409
static const void *lt_preloaded_setup() {
5448
static const void *lt_preloaded_setup() {
5410
  return lt__PROGRAM__LTX_preloaded_symbols;
5449
  return lt__PROGRAM__LTX_preloaded_symbols;
5411
}
5450
}
5412
#endif
5451
#endif
5413
 
5452
 
5414
#ifdef __cplusplus
5453
#ifdef __cplusplus
5415
}
5454
}
5416
#endif
5455
#endif
5417
_LT_EOF
5456
_LT_EOF
5418
	  # Now try linking the two files.
5457
	  # Now try linking the two files.
5419
	  mv conftest.$ac_objext conftstm.$ac_objext
5458
	  mv conftest.$ac_objext conftstm.$ac_objext
5420
	  lt_save_LIBS="$LIBS"
5459
	  lt_save_LIBS="$LIBS"
5421
	  lt_save_CFLAGS="$CFLAGS"
5460
	  lt_save_CFLAGS="$CFLAGS"
5422
	  LIBS="conftstm.$ac_objext"
5461
	  LIBS="conftstm.$ac_objext"
5423
	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5462
	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5424
	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5463
	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5425
  (eval $ac_link) 2>&5
5464
  (eval $ac_link) 2>&5
5426
  ac_status=$?
5465
  ac_status=$?
5427
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5428
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
5467
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5429
	    pipe_works=yes
5468
	    pipe_works=yes
5430
	  fi
5469
	  fi
5431
	  LIBS="$lt_save_LIBS"
5470
	  LIBS="$lt_save_LIBS"
5432
	  CFLAGS="$lt_save_CFLAGS"
5471
	  CFLAGS="$lt_save_CFLAGS"
5433
	else
5472
	else
5434
	  echo "cannot find nm_test_func in $nlist" >&5
5473
	  echo "cannot find nm_test_func in $nlist" >&5
5435
	fi
5474
	fi
5436
      else
5475
      else
5437
	echo "cannot find nm_test_var in $nlist" >&5
5476
	echo "cannot find nm_test_var in $nlist" >&5
5438
      fi
5477
      fi
5439
    else
5478
    else
5440
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5479
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5441
    fi
5480
    fi
5442
  else
5481
  else
5443
    echo "$progname: failed program was:" >&5
5482
    echo "$progname: failed program was:" >&5
5444
    cat conftest.$ac_ext >&5
5483
    cat conftest.$ac_ext >&5
5445
  fi
5484
  fi
5446
  rm -rf conftest* conftst*
5485
  rm -rf conftest* conftst*
5447
 
5486
 
5448
  # Do not use the global_symbol_pipe unless it works.
5487
  # Do not use the global_symbol_pipe unless it works.
5449
  if test "$pipe_works" = yes; then
5488
  if test "$pipe_works" = yes; then
5450
    break
5489
    break
5451
  else
5490
  else
5452
    lt_cv_sys_global_symbol_pipe=
5491
    lt_cv_sys_global_symbol_pipe=
5453
  fi
5492
  fi
5454
done
5493
done
5455
 
5494
 
5456
fi
5495
fi
5457
 
5496
 
5458
if test -z "$lt_cv_sys_global_symbol_pipe"; then
5497
if test -z "$lt_cv_sys_global_symbol_pipe"; then
5459
  lt_cv_sys_global_symbol_to_cdecl=
5498
  lt_cv_sys_global_symbol_to_cdecl=
5460
fi
5499
fi
5461
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5500
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5462
  { $as_echo "$as_me:$LINENO: result: failed" >&5
5501
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5463
$as_echo "failed" >&6; }
5502
$as_echo "failed" >&6; }
5464
else
5503
else
5465
  { $as_echo "$as_me:$LINENO: result: ok" >&5
5504
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5466
$as_echo "ok" >&6; }
5505
$as_echo "ok" >&6; }
5467
fi
5506
fi
5468
 
5507
 
5469
 
5508
 
5470
 
5509
 
5471
 
5510
 
5472
 
5511
 
5473
 
5512
 
5474
 
5513
 
5475
 
5514
 
5476
 
5515
 
5477
 
5516
 
5478
 
5517
 
5479
 
5518
 
5480
 
5519
 
5481
 
5520
 
5482
 
5521
 
5483
 
5522
 
5484
 
5523
 
5485
 
5524
 
5486
 
5525
 
5487
 
5526
 
5488
 
5527
 
5489
 
5528
 
5490
 
5529
 
5491
# Check whether --enable-libtool-lock was given.
5530
# Check whether --enable-libtool-lock was given.
5492
if test "${enable_libtool_lock+set}" = set; then
5531
if test "${enable_libtool_lock+set}" = set; then :
5493
  enableval=$enable_libtool_lock;
5532
  enableval=$enable_libtool_lock;
5494
fi
5533
fi
5495
 
5534
 
5496
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5535
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5497
 
5536
 
5498
# Some flags need to be propagated to the compiler or linker for good
5537
# Some flags need to be propagated to the compiler or linker for good
5499
# libtool support.
5538
# libtool support.
5500
case $host in
5539
case $host in
5501
ia64-*-hpux*)
5540
ia64-*-hpux*)
5502
  # Find out which ABI we are using.
5541
  # Find out which ABI we are using.
5503
  echo 'int i;' > conftest.$ac_ext
5542
  echo 'int i;' > conftest.$ac_ext
5504
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5543
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5505
  (eval $ac_compile) 2>&5
5544
  (eval $ac_compile) 2>&5
5506
  ac_status=$?
5545
  ac_status=$?
5507
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5508
  (exit $ac_status); }; then
5547
  test $ac_status = 0; }; then
5509
    case `/usr/bin/file conftest.$ac_objext` in
5548
    case `/usr/bin/file conftest.$ac_objext` in
5510
      *ELF-32*)
5549
      *ELF-32*)
5511
	HPUX_IA64_MODE="32"
5550
	HPUX_IA64_MODE="32"
5512
	;;
5551
	;;
5513
      *ELF-64*)
5552
      *ELF-64*)
5514
	HPUX_IA64_MODE="64"
5553
	HPUX_IA64_MODE="64"
5515
	;;
5554
	;;
5516
    esac
5555
    esac
5517
  fi
5556
  fi
5518
  rm -rf conftest*
5557
  rm -rf conftest*
5519
  ;;
5558
  ;;
5520
*-*-irix6*)
5559
*-*-irix6*)
5521
  # Find out which ABI we are using.
5560
  # Find out which ABI we are using.
5522
  echo '#line 5522 "configure"' > conftest.$ac_ext
5561
  echo '#line 5561 "configure"' > conftest.$ac_ext
5523
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5562
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5524
  (eval $ac_compile) 2>&5
5563
  (eval $ac_compile) 2>&5
5525
  ac_status=$?
5564
  ac_status=$?
5526
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5527
  (exit $ac_status); }; then
5566
  test $ac_status = 0; }; then
5528
    if test "$lt_cv_prog_gnu_ld" = yes; then
5567
    if test "$lt_cv_prog_gnu_ld" = yes; then
5529
      case `/usr/bin/file conftest.$ac_objext` in
5568
      case `/usr/bin/file conftest.$ac_objext` in
5530
	*32-bit*)
5569
	*32-bit*)
5531
	  LD="${LD-ld} -melf32bsmip"
5570
	  LD="${LD-ld} -melf32bsmip"
5532
	  ;;
5571
	  ;;
5533
	*N32*)
5572
	*N32*)
5534
	  LD="${LD-ld} -melf32bmipn32"
5573
	  LD="${LD-ld} -melf32bmipn32"
5535
	  ;;
5574
	  ;;
5536
	*64-bit*)
5575
	*64-bit*)
5537
	  LD="${LD-ld} -melf64bmip"
5576
	  LD="${LD-ld} -melf64bmip"
5538
	;;
5577
	;;
5539
      esac
5578
      esac
5540
    else
5579
    else
5541
      case `/usr/bin/file conftest.$ac_objext` in
5580
      case `/usr/bin/file conftest.$ac_objext` in
5542
	*32-bit*)
5581
	*32-bit*)
5543
	  LD="${LD-ld} -32"
5582
	  LD="${LD-ld} -32"
5544
	  ;;
5583
	  ;;
5545
	*N32*)
5584
	*N32*)
5546
	  LD="${LD-ld} -n32"
5585
	  LD="${LD-ld} -n32"
5547
	  ;;
5586
	  ;;
5548
	*64-bit*)
5587
	*64-bit*)
5549
	  LD="${LD-ld} -64"
5588
	  LD="${LD-ld} -64"
5550
	  ;;
5589
	  ;;
5551
      esac
5590
      esac
5552
    fi
5591
    fi
5553
  fi
5592
  fi
5554
  rm -rf conftest*
5593
  rm -rf conftest*
5555
  ;;
5594
  ;;
5556
 
5595
 
5557
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5596
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5558
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5597
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5559
  # Find out which ABI we are using.
5598
  # Find out which ABI we are using.
5560
  echo 'int i;' > conftest.$ac_ext
5599
  echo 'int i;' > conftest.$ac_ext
5561
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5600
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5562
  (eval $ac_compile) 2>&5
5601
  (eval $ac_compile) 2>&5
5563
  ac_status=$?
5602
  ac_status=$?
5564
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5565
  (exit $ac_status); }; then
5604
  test $ac_status = 0; }; then
5566
    case `/usr/bin/file conftest.o` in
5605
    case `/usr/bin/file conftest.o` in
5567
      *32-bit*)
5606
      *32-bit*)
5568
	case $host in
5607
	case $host in
5569
	  x86_64-*kfreebsd*-gnu)
5608
	  x86_64-*kfreebsd*-gnu)
5570
	    LD="${LD-ld} -m elf_i386_fbsd"
5609
	    LD="${LD-ld} -m elf_i386_fbsd"
5571
	    ;;
5610
	    ;;
5572
	  x86_64-*linux*)
5611
	  x86_64-*linux*)
5573
	    LD="${LD-ld} -m elf_i386"
5612
	    LD="${LD-ld} -m elf_i386"
5574
	    ;;
5613
	    ;;
5575
	  ppc64-*linux*|powerpc64-*linux*)
5614
	  ppc64-*linux*|powerpc64-*linux*)
5576
	    LD="${LD-ld} -m elf32ppclinux"
5615
	    LD="${LD-ld} -m elf32ppclinux"
5577
	    ;;
5616
	    ;;
5578
	  s390x-*linux*)
5617
	  s390x-*linux*)
5579
	    LD="${LD-ld} -m elf_s390"
5618
	    LD="${LD-ld} -m elf_s390"
5580
	    ;;
5619
	    ;;
5581
	  sparc64-*linux*)
5620
	  sparc64-*linux*)
5582
	    LD="${LD-ld} -m elf32_sparc"
5621
	    LD="${LD-ld} -m elf32_sparc"
5583
	    ;;
5622
	    ;;
5584
	esac
5623
	esac
5585
	;;
5624
	;;
5586
      *64-bit*)
5625
      *64-bit*)
5587
	case $host in
5626
	case $host in
5588
	  x86_64-*kfreebsd*-gnu)
5627
	  x86_64-*kfreebsd*-gnu)
5589
	    LD="${LD-ld} -m elf_x86_64_fbsd"
5628
	    LD="${LD-ld} -m elf_x86_64_fbsd"
5590
	    ;;
5629
	    ;;
5591
	  x86_64-*linux*)
5630
	  x86_64-*linux*)
5592
	    LD="${LD-ld} -m elf_x86_64"
5631
	    LD="${LD-ld} -m elf_x86_64"
5593
	    ;;
5632
	    ;;
5594
	  ppc*-*linux*|powerpc*-*linux*)
5633
	  ppc*-*linux*|powerpc*-*linux*)
5595
	    LD="${LD-ld} -m elf64ppc"
5634
	    LD="${LD-ld} -m elf64ppc"
5596
	    ;;
5635
	    ;;
5597
	  s390*-*linux*|s390*-*tpf*)
5636
	  s390*-*linux*|s390*-*tpf*)
5598
	    LD="${LD-ld} -m elf64_s390"
5637
	    LD="${LD-ld} -m elf64_s390"
5599
	    ;;
5638
	    ;;
5600
	  sparc*-*linux*)
5639
	  sparc*-*linux*)
5601
	    LD="${LD-ld} -m elf64_sparc"
5640
	    LD="${LD-ld} -m elf64_sparc"
5602
	    ;;
5641
	    ;;
5603
	esac
5642
	esac
5604
	;;
5643
	;;
5605
    esac
5644
    esac
5606
  fi
5645
  fi
5607
  rm -rf conftest*
5646
  rm -rf conftest*
5608
  ;;
5647
  ;;
5609
 
5648
 
5610
*-*-sco3.2v5*)
5649
*-*-sco3.2v5*)
5611
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5650
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5612
  SAVE_CFLAGS="$CFLAGS"
5651
  SAVE_CFLAGS="$CFLAGS"
5613
  CFLAGS="$CFLAGS -belf"
5652
  CFLAGS="$CFLAGS -belf"
5614
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5653
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5615
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5654
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5616
if test "${lt_cv_cc_needs_belf+set}" = set; then
5655
if test "${lt_cv_cc_needs_belf+set}" = set; then :
5617
  $as_echo_n "(cached) " >&6
5656
  $as_echo_n "(cached) " >&6
5618
else
5657
else
5619
  ac_ext=c
5658
  ac_ext=c
5620
ac_cpp='$CPP $CPPFLAGS'
5659
ac_cpp='$CPP $CPPFLAGS'
5621
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5660
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5622
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5661
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5623
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5662
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5624
 
5663
 
5625
     cat >conftest.$ac_ext <<_ACEOF
-
 
5626
/* confdefs.h.  */
-
 
5627
_ACEOF
-
 
5628
cat confdefs.h >>conftest.$ac_ext
5664
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5629
cat >>conftest.$ac_ext <<_ACEOF
-
 
5630
/* end confdefs.h.  */
5665
/* end confdefs.h.  */
5631
 
5666
 
5632
int
5667
int
5633
main ()
5668
main ()
5634
{
5669
{
5635
 
5670
 
5636
  ;
5671
  ;
5637
  return 0;
5672
  return 0;
5638
}
5673
}
5639
_ACEOF
5674
_ACEOF
5640
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
5641
if { (ac_try="$ac_link"
-
 
5642
case "(($ac_try" in
-
 
5643
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
5644
  *) ac_try_echo=$ac_try;;
-
 
5645
esac
-
 
5646
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
5647
$as_echo "$ac_try_echo") >&5
-
 
5648
  (eval "$ac_link") 2>conftest.er1
5675
if ac_fn_c_try_link "$LINENO"; then :
5649
  ac_status=$?
-
 
5650
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
5651
  rm -f conftest.er1
-
 
5652
  cat conftest.err >&5
-
 
5653
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
5654
  (exit $ac_status); } && {
-
 
5655
	 test -z "$ac_c_werror_flag" ||
-
 
5656
	 test ! -s conftest.err
-
 
5657
       } && test -s conftest$ac_exeext && {
-
 
5658
	 test "$cross_compiling" = yes ||
-
 
5659
	 $as_test_x conftest$ac_exeext
-
 
5660
       }; then
-
 
5661
  lt_cv_cc_needs_belf=yes
5676
  lt_cv_cc_needs_belf=yes
5662
else
5677
else
5663
  $as_echo "$as_me: failed program was:" >&5
-
 
5664
sed 's/^/| /' conftest.$ac_ext >&5
-
 
5665
 
-
 
5666
	lt_cv_cc_needs_belf=no
5678
  lt_cv_cc_needs_belf=no
5667
fi
5679
fi
5668
 
-
 
5669
rm -rf conftest.dSYM
-
 
5670
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5680
rm -f core conftest.err conftest.$ac_objext \
5671
      conftest$ac_exeext conftest.$ac_ext
5681
    conftest$ac_exeext conftest.$ac_ext
5672
     ac_ext=c
5682
     ac_ext=c
5673
ac_cpp='$CPP $CPPFLAGS'
5683
ac_cpp='$CPP $CPPFLAGS'
5674
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5684
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5675
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5685
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5676
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5686
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5677
 
5687
 
5678
fi
5688
fi
5679
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5689
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5680
$as_echo "$lt_cv_cc_needs_belf" >&6; }
5690
$as_echo "$lt_cv_cc_needs_belf" >&6; }
5681
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5691
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5682
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5692
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5683
    CFLAGS="$SAVE_CFLAGS"
5693
    CFLAGS="$SAVE_CFLAGS"
5684
  fi
5694
  fi
5685
  ;;
5695
  ;;
5686
sparc*-*solaris*)
5696
sparc*-*solaris*)
5687
  # Find out which ABI we are using.
5697
  # Find out which ABI we are using.
5688
  echo 'int i;' > conftest.$ac_ext
5698
  echo 'int i;' > conftest.$ac_ext
5689
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5699
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5690
  (eval $ac_compile) 2>&5
5700
  (eval $ac_compile) 2>&5
5691
  ac_status=$?
5701
  ac_status=$?
5692
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5702
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5693
  (exit $ac_status); }; then
5703
  test $ac_status = 0; }; then
5694
    case `/usr/bin/file conftest.o` in
5704
    case `/usr/bin/file conftest.o` in
5695
    *64-bit*)
5705
    *64-bit*)
5696
      case $lt_cv_prog_gnu_ld in
5706
      case $lt_cv_prog_gnu_ld in
5697
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5707
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5698
      *)
5708
      *)
5699
	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5709
	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5700
	  LD="${LD-ld} -64"
5710
	  LD="${LD-ld} -64"
5701
	fi
5711
	fi
5702
	;;
5712
	;;
5703
      esac
5713
      esac
5704
      ;;
5714
      ;;
5705
    esac
5715
    esac
5706
  fi
5716
  fi
5707
  rm -rf conftest*
5717
  rm -rf conftest*
5708
  ;;
5718
  ;;
5709
esac
5719
esac
5710
 
5720
 
5711
need_locks="$enable_libtool_lock"
5721
need_locks="$enable_libtool_lock"
5712
 
5722
 
5713
 
5723
 
5714
  case $host_os in
5724
  case $host_os in
5715
    rhapsody* | darwin*)
5725
    rhapsody* | darwin*)
5716
    if test -n "$ac_tool_prefix"; then
5726
    if test -n "$ac_tool_prefix"; then
5717
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5727
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5718
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5728
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5719
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5729
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5720
$as_echo_n "checking for $ac_word... " >&6; }
5730
$as_echo_n "checking for $ac_word... " >&6; }
5721
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5731
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5722
  $as_echo_n "(cached) " >&6
5732
  $as_echo_n "(cached) " >&6
5723
else
5733
else
5724
  if test -n "$DSYMUTIL"; then
5734
  if test -n "$DSYMUTIL"; then
5725
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5735
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5726
else
5736
else
5727
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728
for as_dir in $PATH
5738
for as_dir in $PATH
5729
do
5739
do
5730
  IFS=$as_save_IFS
5740
  IFS=$as_save_IFS
5731
  test -z "$as_dir" && as_dir=.
5741
  test -z "$as_dir" && as_dir=.
5732
  for ac_exec_ext in '' $ac_executable_extensions; do
5742
    for ac_exec_ext in '' $ac_executable_extensions; do
5733
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5743
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5734
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5744
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5735
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5745
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5736
    break 2
5746
    break 2
5737
  fi
5747
  fi
5738
done
5748
done
5739
done
5749
  done
5740
IFS=$as_save_IFS
5750
IFS=$as_save_IFS
5741
 
5751
 
5742
fi
5752
fi
5743
fi
5753
fi
5744
DSYMUTIL=$ac_cv_prog_DSYMUTIL
5754
DSYMUTIL=$ac_cv_prog_DSYMUTIL
5745
if test -n "$DSYMUTIL"; then
5755
if test -n "$DSYMUTIL"; then
5746
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5756
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5747
$as_echo "$DSYMUTIL" >&6; }
5757
$as_echo "$DSYMUTIL" >&6; }
5748
else
5758
else
5749
  { $as_echo "$as_me:$LINENO: result: no" >&5
5759
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750
$as_echo "no" >&6; }
5760
$as_echo "no" >&6; }
5751
fi
5761
fi
5752
 
5762
 
5753
 
5763
 
5754
fi
5764
fi
5755
if test -z "$ac_cv_prog_DSYMUTIL"; then
5765
if test -z "$ac_cv_prog_DSYMUTIL"; then
5756
  ac_ct_DSYMUTIL=$DSYMUTIL
5766
  ac_ct_DSYMUTIL=$DSYMUTIL
5757
  # Extract the first word of "dsymutil", so it can be a program name with args.
5767
  # Extract the first word of "dsymutil", so it can be a program name with args.
5758
set dummy dsymutil; ac_word=$2
5768
set dummy dsymutil; ac_word=$2
5759
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760
$as_echo_n "checking for $ac_word... " >&6; }
5770
$as_echo_n "checking for $ac_word... " >&6; }
5761
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5771
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5762
  $as_echo_n "(cached) " >&6
5772
  $as_echo_n "(cached) " >&6
5763
else
5773
else
5764
  if test -n "$ac_ct_DSYMUTIL"; then
5774
  if test -n "$ac_ct_DSYMUTIL"; then
5765
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5775
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5766
else
5776
else
5767
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768
for as_dir in $PATH
5778
for as_dir in $PATH
5769
do
5779
do
5770
  IFS=$as_save_IFS
5780
  IFS=$as_save_IFS
5771
  test -z "$as_dir" && as_dir=.
5781
  test -z "$as_dir" && as_dir=.
5772
  for ac_exec_ext in '' $ac_executable_extensions; do
5782
    for ac_exec_ext in '' $ac_executable_extensions; do
5773
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5783
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5774
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5784
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5775
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5785
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776
    break 2
5786
    break 2
5777
  fi
5787
  fi
5778
done
5788
done
5779
done
5789
  done
5780
IFS=$as_save_IFS
5790
IFS=$as_save_IFS
5781
 
5791
 
5782
fi
5792
fi
5783
fi
5793
fi
5784
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5794
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5785
if test -n "$ac_ct_DSYMUTIL"; then
5795
if test -n "$ac_ct_DSYMUTIL"; then
5786
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5796
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5787
$as_echo "$ac_ct_DSYMUTIL" >&6; }
5797
$as_echo "$ac_ct_DSYMUTIL" >&6; }
5788
else
5798
else
5789
  { $as_echo "$as_me:$LINENO: result: no" >&5
5799
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790
$as_echo "no" >&6; }
5800
$as_echo "no" >&6; }
5791
fi
5801
fi
5792
 
5802
 
5793
  if test "x$ac_ct_DSYMUTIL" = x; then
5803
  if test "x$ac_ct_DSYMUTIL" = x; then
5794
    DSYMUTIL=":"
5804
    DSYMUTIL=":"
5795
  else
5805
  else
5796
    case $cross_compiling:$ac_tool_warned in
5806
    case $cross_compiling:$ac_tool_warned in
5797
yes:)
5807
yes:)
5798
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5808
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5799
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5809
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5800
ac_tool_warned=yes ;;
5810
ac_tool_warned=yes ;;
5801
esac
5811
esac
5802
    DSYMUTIL=$ac_ct_DSYMUTIL
5812
    DSYMUTIL=$ac_ct_DSYMUTIL
5803
  fi
5813
  fi
5804
else
5814
else
5805
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5815
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5806
fi
5816
fi
5807
 
5817
 
5808
    if test -n "$ac_tool_prefix"; then
5818
    if test -n "$ac_tool_prefix"; then
5809
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5819
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5810
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5820
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5811
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812
$as_echo_n "checking for $ac_word... " >&6; }
5822
$as_echo_n "checking for $ac_word... " >&6; }
5813
if test "${ac_cv_prog_NMEDIT+set}" = set; then
5823
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5814
  $as_echo_n "(cached) " >&6
5824
  $as_echo_n "(cached) " >&6
5815
else
5825
else
5816
  if test -n "$NMEDIT"; then
5826
  if test -n "$NMEDIT"; then
5817
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5827
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5818
else
5828
else
5819
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820
for as_dir in $PATH
5830
for as_dir in $PATH
5821
do
5831
do
5822
  IFS=$as_save_IFS
5832
  IFS=$as_save_IFS
5823
  test -z "$as_dir" && as_dir=.
5833
  test -z "$as_dir" && as_dir=.
5824
  for ac_exec_ext in '' $ac_executable_extensions; do
5834
    for ac_exec_ext in '' $ac_executable_extensions; do
5825
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5835
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5836
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5827
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5837
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828
    break 2
5838
    break 2
5829
  fi
5839
  fi
5830
done
5840
done
5831
done
5841
  done
5832
IFS=$as_save_IFS
5842
IFS=$as_save_IFS
5833
 
5843
 
5834
fi
5844
fi
5835
fi
5845
fi
5836
NMEDIT=$ac_cv_prog_NMEDIT
5846
NMEDIT=$ac_cv_prog_NMEDIT
5837
if test -n "$NMEDIT"; then
5847
if test -n "$NMEDIT"; then
5838
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
5848
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5839
$as_echo "$NMEDIT" >&6; }
5849
$as_echo "$NMEDIT" >&6; }
5840
else
5850
else
5841
  { $as_echo "$as_me:$LINENO: result: no" >&5
5851
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842
$as_echo "no" >&6; }
5852
$as_echo "no" >&6; }
5843
fi
5853
fi
5844
 
5854
 
5845
 
5855
 
5846
fi
5856
fi
5847
if test -z "$ac_cv_prog_NMEDIT"; then
5857
if test -z "$ac_cv_prog_NMEDIT"; then
5848
  ac_ct_NMEDIT=$NMEDIT
5858
  ac_ct_NMEDIT=$NMEDIT
5849
  # Extract the first word of "nmedit", so it can be a program name with args.
5859
  # Extract the first word of "nmedit", so it can be a program name with args.
5850
set dummy nmedit; ac_word=$2
5860
set dummy nmedit; ac_word=$2
5851
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5852
$as_echo_n "checking for $ac_word... " >&6; }
5862
$as_echo_n "checking for $ac_word... " >&6; }
5853
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5863
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5854
  $as_echo_n "(cached) " >&6
5864
  $as_echo_n "(cached) " >&6
5855
else
5865
else
5856
  if test -n "$ac_ct_NMEDIT"; then
5866
  if test -n "$ac_ct_NMEDIT"; then
5857
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5867
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5858
else
5868
else
5859
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5860
for as_dir in $PATH
5870
for as_dir in $PATH
5861
do
5871
do
5862
  IFS=$as_save_IFS
5872
  IFS=$as_save_IFS
5863
  test -z "$as_dir" && as_dir=.
5873
  test -z "$as_dir" && as_dir=.
5864
  for ac_exec_ext in '' $ac_executable_extensions; do
5874
    for ac_exec_ext in '' $ac_executable_extensions; do
5865
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5875
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5866
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
5876
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
5867
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5877
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5868
    break 2
5878
    break 2
5869
  fi
5879
  fi
5870
done
5880
done
5871
done
5881
  done
5872
IFS=$as_save_IFS
5882
IFS=$as_save_IFS
5873
 
5883
 
5874
fi
5884
fi
5875
fi
5885
fi
5876
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5886
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5877
if test -n "$ac_ct_NMEDIT"; then
5887
if test -n "$ac_ct_NMEDIT"; then
5878
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5888
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5879
$as_echo "$ac_ct_NMEDIT" >&6; }
5889
$as_echo "$ac_ct_NMEDIT" >&6; }
5880
else
5890
else
5881
  { $as_echo "$as_me:$LINENO: result: no" >&5
5891
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5882
$as_echo "no" >&6; }
5892
$as_echo "no" >&6; }
5883
fi
5893
fi
5884
 
5894
 
5885
  if test "x$ac_ct_NMEDIT" = x; then
5895
  if test "x$ac_ct_NMEDIT" = x; then
5886
    NMEDIT=":"
5896
    NMEDIT=":"
5887
  else
5897
  else
5888
    case $cross_compiling:$ac_tool_warned in
5898
    case $cross_compiling:$ac_tool_warned in
5889
yes:)
5899
yes:)
5890
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5900
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5891
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5901
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5892
ac_tool_warned=yes ;;
5902
ac_tool_warned=yes ;;
5893
esac
5903
esac
5894
    NMEDIT=$ac_ct_NMEDIT
5904
    NMEDIT=$ac_ct_NMEDIT
5895
  fi
5905
  fi
5896
else
5906
else
5897
  NMEDIT="$ac_cv_prog_NMEDIT"
5907
  NMEDIT="$ac_cv_prog_NMEDIT"
5898
fi
5908
fi
5899
 
5909
 
5900
    if test -n "$ac_tool_prefix"; then
5910
    if test -n "$ac_tool_prefix"; then
5901
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5911
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5902
set dummy ${ac_tool_prefix}lipo; ac_word=$2
5912
set dummy ${ac_tool_prefix}lipo; ac_word=$2
5903
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5904
$as_echo_n "checking for $ac_word... " >&6; }
5914
$as_echo_n "checking for $ac_word... " >&6; }
5905
if test "${ac_cv_prog_LIPO+set}" = set; then
5915
if test "${ac_cv_prog_LIPO+set}" = set; then :
5906
  $as_echo_n "(cached) " >&6
5916
  $as_echo_n "(cached) " >&6
5907
else
5917
else
5908
  if test -n "$LIPO"; then
5918
  if test -n "$LIPO"; then
5909
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5919
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5910
else
5920
else
5911
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5921
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5912
for as_dir in $PATH
5922
for as_dir in $PATH
5913
do
5923
do
5914
  IFS=$as_save_IFS
5924
  IFS=$as_save_IFS
5915
  test -z "$as_dir" && as_dir=.
5925
  test -z "$as_dir" && as_dir=.
5916
  for ac_exec_ext in '' $ac_executable_extensions; do
5926
    for ac_exec_ext in '' $ac_executable_extensions; do
5917
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5927
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5918
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5928
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5919
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5929
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5920
    break 2
5930
    break 2
5921
  fi
5931
  fi
5922
done
5932
done
5923
done
5933
  done
5924
IFS=$as_save_IFS
5934
IFS=$as_save_IFS
5925
 
5935
 
5926
fi
5936
fi
5927
fi
5937
fi
5928
LIPO=$ac_cv_prog_LIPO
5938
LIPO=$ac_cv_prog_LIPO
5929
if test -n "$LIPO"; then
5939
if test -n "$LIPO"; then
5930
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
5940
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5931
$as_echo "$LIPO" >&6; }
5941
$as_echo "$LIPO" >&6; }
5932
else
5942
else
5933
  { $as_echo "$as_me:$LINENO: result: no" >&5
5943
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5934
$as_echo "no" >&6; }
5944
$as_echo "no" >&6; }
5935
fi
5945
fi
5936
 
5946
 
5937
 
5947
 
5938
fi
5948
fi
5939
if test -z "$ac_cv_prog_LIPO"; then
5949
if test -z "$ac_cv_prog_LIPO"; then
5940
  ac_ct_LIPO=$LIPO
5950
  ac_ct_LIPO=$LIPO
5941
  # Extract the first word of "lipo", so it can be a program name with args.
5951
  # Extract the first word of "lipo", so it can be a program name with args.
5942
set dummy lipo; ac_word=$2
5952
set dummy lipo; ac_word=$2
5943
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5944
$as_echo_n "checking for $ac_word... " >&6; }
5954
$as_echo_n "checking for $ac_word... " >&6; }
5945
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5955
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
5946
  $as_echo_n "(cached) " >&6
5956
  $as_echo_n "(cached) " >&6
5947
else
5957
else
5948
  if test -n "$ac_ct_LIPO"; then
5958
  if test -n "$ac_ct_LIPO"; then
5949
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5959
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5950
else
5960
else
5951
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5952
for as_dir in $PATH
5962
for as_dir in $PATH
5953
do
5963
do
5954
  IFS=$as_save_IFS
5964
  IFS=$as_save_IFS
5955
  test -z "$as_dir" && as_dir=.
5965
  test -z "$as_dir" && as_dir=.
5956
  for ac_exec_ext in '' $ac_executable_extensions; do
5966
    for ac_exec_ext in '' $ac_executable_extensions; do
5957
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5967
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5958
    ac_cv_prog_ac_ct_LIPO="lipo"
5968
    ac_cv_prog_ac_ct_LIPO="lipo"
5959
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5969
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5960
    break 2
5970
    break 2
5961
  fi
5971
  fi
5962
done
5972
done
5963
done
5973
  done
5964
IFS=$as_save_IFS
5974
IFS=$as_save_IFS
5965
 
5975
 
5966
fi
5976
fi
5967
fi
5977
fi
5968
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5978
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5969
if test -n "$ac_ct_LIPO"; then
5979
if test -n "$ac_ct_LIPO"; then
5970
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
5980
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5971
$as_echo "$ac_ct_LIPO" >&6; }
5981
$as_echo "$ac_ct_LIPO" >&6; }
5972
else
5982
else
5973
  { $as_echo "$as_me:$LINENO: result: no" >&5
5983
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5974
$as_echo "no" >&6; }
5984
$as_echo "no" >&6; }
5975
fi
5985
fi
5976
 
5986
 
5977
  if test "x$ac_ct_LIPO" = x; then
5987
  if test "x$ac_ct_LIPO" = x; then
5978
    LIPO=":"
5988
    LIPO=":"
5979
  else
5989
  else
5980
    case $cross_compiling:$ac_tool_warned in
5990
    case $cross_compiling:$ac_tool_warned in
5981
yes:)
5991
yes:)
5982
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5992
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5983
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5993
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5984
ac_tool_warned=yes ;;
5994
ac_tool_warned=yes ;;
5985
esac
5995
esac
5986
    LIPO=$ac_ct_LIPO
5996
    LIPO=$ac_ct_LIPO
5987
  fi
5997
  fi
5988
else
5998
else
5989
  LIPO="$ac_cv_prog_LIPO"
5999
  LIPO="$ac_cv_prog_LIPO"
5990
fi
6000
fi
5991
 
6001
 
5992
    if test -n "$ac_tool_prefix"; then
6002
    if test -n "$ac_tool_prefix"; then
5993
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6003
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5994
set dummy ${ac_tool_prefix}otool; ac_word=$2
6004
set dummy ${ac_tool_prefix}otool; ac_word=$2
5995
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996
$as_echo_n "checking for $ac_word... " >&6; }
6006
$as_echo_n "checking for $ac_word... " >&6; }
5997
if test "${ac_cv_prog_OTOOL+set}" = set; then
6007
if test "${ac_cv_prog_OTOOL+set}" = set; then :
5998
  $as_echo_n "(cached) " >&6
6008
  $as_echo_n "(cached) " >&6
5999
else
6009
else
6000
  if test -n "$OTOOL"; then
6010
  if test -n "$OTOOL"; then
6001
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6011
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6002
else
6012
else
6003
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004
for as_dir in $PATH
6014
for as_dir in $PATH
6005
do
6015
do
6006
  IFS=$as_save_IFS
6016
  IFS=$as_save_IFS
6007
  test -z "$as_dir" && as_dir=.
6017
  test -z "$as_dir" && as_dir=.
6008
  for ac_exec_ext in '' $ac_executable_extensions; do
6018
    for ac_exec_ext in '' $ac_executable_extensions; do
6009
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6019
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6010
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6020
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6011
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6021
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012
    break 2
6022
    break 2
6013
  fi
6023
  fi
6014
done
6024
done
6015
done
6025
  done
6016
IFS=$as_save_IFS
6026
IFS=$as_save_IFS
6017
 
6027
 
6018
fi
6028
fi
6019
fi
6029
fi
6020
OTOOL=$ac_cv_prog_OTOOL
6030
OTOOL=$ac_cv_prog_OTOOL
6021
if test -n "$OTOOL"; then
6031
if test -n "$OTOOL"; then
6022
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6032
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6023
$as_echo "$OTOOL" >&6; }
6033
$as_echo "$OTOOL" >&6; }
6024
else
6034
else
6025
  { $as_echo "$as_me:$LINENO: result: no" >&5
6035
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026
$as_echo "no" >&6; }
6036
$as_echo "no" >&6; }
6027
fi
6037
fi
6028
 
6038
 
6029
 
6039
 
6030
fi
6040
fi
6031
if test -z "$ac_cv_prog_OTOOL"; then
6041
if test -z "$ac_cv_prog_OTOOL"; then
6032
  ac_ct_OTOOL=$OTOOL
6042
  ac_ct_OTOOL=$OTOOL
6033
  # Extract the first word of "otool", so it can be a program name with args.
6043
  # Extract the first word of "otool", so it can be a program name with args.
6034
set dummy otool; ac_word=$2
6044
set dummy otool; ac_word=$2
6035
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036
$as_echo_n "checking for $ac_word... " >&6; }
6046
$as_echo_n "checking for $ac_word... " >&6; }
6037
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6047
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6038
  $as_echo_n "(cached) " >&6
6048
  $as_echo_n "(cached) " >&6
6039
else
6049
else
6040
  if test -n "$ac_ct_OTOOL"; then
6050
  if test -n "$ac_ct_OTOOL"; then
6041
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6051
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6042
else
6052
else
6043
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6044
for as_dir in $PATH
6054
for as_dir in $PATH
6045
do
6055
do
6046
  IFS=$as_save_IFS
6056
  IFS=$as_save_IFS
6047
  test -z "$as_dir" && as_dir=.
6057
  test -z "$as_dir" && as_dir=.
6048
  for ac_exec_ext in '' $ac_executable_extensions; do
6058
    for ac_exec_ext in '' $ac_executable_extensions; do
6049
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6059
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6050
    ac_cv_prog_ac_ct_OTOOL="otool"
6060
    ac_cv_prog_ac_ct_OTOOL="otool"
6051
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6061
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6052
    break 2
6062
    break 2
6053
  fi
6063
  fi
6054
done
6064
done
6055
done
6065
  done
6056
IFS=$as_save_IFS
6066
IFS=$as_save_IFS
6057
 
6067
 
6058
fi
6068
fi
6059
fi
6069
fi
6060
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6070
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6061
if test -n "$ac_ct_OTOOL"; then
6071
if test -n "$ac_ct_OTOOL"; then
6062
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6072
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6063
$as_echo "$ac_ct_OTOOL" >&6; }
6073
$as_echo "$ac_ct_OTOOL" >&6; }
6064
else
6074
else
6065
  { $as_echo "$as_me:$LINENO: result: no" >&5
6075
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066
$as_echo "no" >&6; }
6076
$as_echo "no" >&6; }
6067
fi
6077
fi
6068
 
6078
 
6069
  if test "x$ac_ct_OTOOL" = x; then
6079
  if test "x$ac_ct_OTOOL" = x; then
6070
    OTOOL=":"
6080
    OTOOL=":"
6071
  else
6081
  else
6072
    case $cross_compiling:$ac_tool_warned in
6082
    case $cross_compiling:$ac_tool_warned in
6073
yes:)
6083
yes:)
6074
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6084
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6075
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6085
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6076
ac_tool_warned=yes ;;
6086
ac_tool_warned=yes ;;
6077
esac
6087
esac
6078
    OTOOL=$ac_ct_OTOOL
6088
    OTOOL=$ac_ct_OTOOL
6079
  fi
6089
  fi
6080
else
6090
else
6081
  OTOOL="$ac_cv_prog_OTOOL"
6091
  OTOOL="$ac_cv_prog_OTOOL"
6082
fi
6092
fi
6083
 
6093
 
6084
    if test -n "$ac_tool_prefix"; then
6094
    if test -n "$ac_tool_prefix"; then
6085
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6095
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6086
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6096
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6087
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6088
$as_echo_n "checking for $ac_word... " >&6; }
6098
$as_echo_n "checking for $ac_word... " >&6; }
6089
if test "${ac_cv_prog_OTOOL64+set}" = set; then
6099
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6090
  $as_echo_n "(cached) " >&6
6100
  $as_echo_n "(cached) " >&6
6091
else
6101
else
6092
  if test -n "$OTOOL64"; then
6102
  if test -n "$OTOOL64"; then
6093
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6103
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6094
else
6104
else
6095
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096
for as_dir in $PATH
6106
for as_dir in $PATH
6097
do
6107
do
6098
  IFS=$as_save_IFS
6108
  IFS=$as_save_IFS
6099
  test -z "$as_dir" && as_dir=.
6109
  test -z "$as_dir" && as_dir=.
6100
  for ac_exec_ext in '' $ac_executable_extensions; do
6110
    for ac_exec_ext in '' $ac_executable_extensions; do
6101
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6111
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6102
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6112
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6103
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6113
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6104
    break 2
6114
    break 2
6105
  fi
6115
  fi
6106
done
6116
done
6107
done
6117
  done
6108
IFS=$as_save_IFS
6118
IFS=$as_save_IFS
6109
 
6119
 
6110
fi
6120
fi
6111
fi
6121
fi
6112
OTOOL64=$ac_cv_prog_OTOOL64
6122
OTOOL64=$ac_cv_prog_OTOOL64
6113
if test -n "$OTOOL64"; then
6123
if test -n "$OTOOL64"; then
6114
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6124
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6115
$as_echo "$OTOOL64" >&6; }
6125
$as_echo "$OTOOL64" >&6; }
6116
else
6126
else
6117
  { $as_echo "$as_me:$LINENO: result: no" >&5
6127
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6118
$as_echo "no" >&6; }
6128
$as_echo "no" >&6; }
6119
fi
6129
fi
6120
 
6130
 
6121
 
6131
 
6122
fi
6132
fi
6123
if test -z "$ac_cv_prog_OTOOL64"; then
6133
if test -z "$ac_cv_prog_OTOOL64"; then
6124
  ac_ct_OTOOL64=$OTOOL64
6134
  ac_ct_OTOOL64=$OTOOL64
6125
  # Extract the first word of "otool64", so it can be a program name with args.
6135
  # Extract the first word of "otool64", so it can be a program name with args.
6126
set dummy otool64; ac_word=$2
6136
set dummy otool64; ac_word=$2
6127
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6128
$as_echo_n "checking for $ac_word... " >&6; }
6138
$as_echo_n "checking for $ac_word... " >&6; }
6129
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6139
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6130
  $as_echo_n "(cached) " >&6
6140
  $as_echo_n "(cached) " >&6
6131
else
6141
else
6132
  if test -n "$ac_ct_OTOOL64"; then
6142
  if test -n "$ac_ct_OTOOL64"; then
6133
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6143
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6134
else
6144
else
6135
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136
for as_dir in $PATH
6146
for as_dir in $PATH
6137
do
6147
do
6138
  IFS=$as_save_IFS
6148
  IFS=$as_save_IFS
6139
  test -z "$as_dir" && as_dir=.
6149
  test -z "$as_dir" && as_dir=.
6140
  for ac_exec_ext in '' $ac_executable_extensions; do
6150
    for ac_exec_ext in '' $ac_executable_extensions; do
6141
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6151
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6142
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6152
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6143
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6153
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6144
    break 2
6154
    break 2
6145
  fi
6155
  fi
6146
done
6156
done
6147
done
6157
  done
6148
IFS=$as_save_IFS
6158
IFS=$as_save_IFS
6149
 
6159
 
6150
fi
6160
fi
6151
fi
6161
fi
6152
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6162
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6153
if test -n "$ac_ct_OTOOL64"; then
6163
if test -n "$ac_ct_OTOOL64"; then
6154
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6164
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6155
$as_echo "$ac_ct_OTOOL64" >&6; }
6165
$as_echo "$ac_ct_OTOOL64" >&6; }
6156
else
6166
else
6157
  { $as_echo "$as_me:$LINENO: result: no" >&5
6167
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158
$as_echo "no" >&6; }
6168
$as_echo "no" >&6; }
6159
fi
6169
fi
6160
 
6170
 
6161
  if test "x$ac_ct_OTOOL64" = x; then
6171
  if test "x$ac_ct_OTOOL64" = x; then
6162
    OTOOL64=":"
6172
    OTOOL64=":"
6163
  else
6173
  else
6164
    case $cross_compiling:$ac_tool_warned in
6174
    case $cross_compiling:$ac_tool_warned in
6165
yes:)
6175
yes:)
6166
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6176
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6167
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6177
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6168
ac_tool_warned=yes ;;
6178
ac_tool_warned=yes ;;
6169
esac
6179
esac
6170
    OTOOL64=$ac_ct_OTOOL64
6180
    OTOOL64=$ac_ct_OTOOL64
6171
  fi
6181
  fi
6172
else
6182
else
6173
  OTOOL64="$ac_cv_prog_OTOOL64"
6183
  OTOOL64="$ac_cv_prog_OTOOL64"
6174
fi
6184
fi
6175
 
6185
 
6176
 
6186
 
6177
 
6187
 
6178
 
6188
 
6179
 
6189
 
6180
 
6190
 
6181
 
6191
 
6182
 
6192
 
6183
 
6193
 
6184
 
6194
 
6185
 
6195
 
6186
 
6196
 
6187
 
6197
 
6188
 
6198
 
6189
 
6199
 
6190
 
6200
 
6191
 
6201
 
6192
 
6202
 
6193
 
6203
 
6194
 
6204
 
6195
 
6205
 
6196
 
6206
 
6197
 
6207
 
6198
 
6208
 
6199
 
6209
 
6200
 
6210
 
6201
 
6211
 
6202
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6212
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6203
$as_echo_n "checking for -single_module linker flag... " >&6; }
6213
$as_echo_n "checking for -single_module linker flag... " >&6; }
6204
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6214
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6205
  $as_echo_n "(cached) " >&6
6215
  $as_echo_n "(cached) " >&6
6206
else
6216
else
6207
  lt_cv_apple_cc_single_mod=no
6217
  lt_cv_apple_cc_single_mod=no
6208
      if test -z "${LT_MULTI_MODULE}"; then
6218
      if test -z "${LT_MULTI_MODULE}"; then
6209
	# By default we will add the -single_module flag. You can override
6219
	# By default we will add the -single_module flag. You can override
6210
	# by either setting the environment variable LT_MULTI_MODULE
6220
	# by either setting the environment variable LT_MULTI_MODULE
6211
	# non-empty at configure time, or by adding -multi_module to the
6221
	# non-empty at configure time, or by adding -multi_module to the
6212
	# link flags.
6222
	# link flags.
6213
	rm -rf libconftest.dylib*
6223
	rm -rf libconftest.dylib*
6214
	echo "int foo(void){return 1;}" > conftest.c
6224
	echo "int foo(void){return 1;}" > conftest.c
6215
	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6225
	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6216
-dynamiclib -Wl,-single_module conftest.c" >&5
6226
-dynamiclib -Wl,-single_module conftest.c" >&5
6217
	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6227
	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6218
	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6228
	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6219
        _lt_result=$?
6229
        _lt_result=$?
6220
	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6230
	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6221
	  lt_cv_apple_cc_single_mod=yes
6231
	  lt_cv_apple_cc_single_mod=yes
6222
	else
6232
	else
6223
	  cat conftest.err >&5
6233
	  cat conftest.err >&5
6224
	fi
6234
	fi
6225
	rm -rf libconftest.dylib*
6235
	rm -rf libconftest.dylib*
6226
	rm -f conftest.*
6236
	rm -f conftest.*
6227
      fi
6237
      fi
6228
fi
6238
fi
6229
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6230
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6240
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6231
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6241
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6232
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6242
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6233
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6243
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6234
  $as_echo_n "(cached) " >&6
6244
  $as_echo_n "(cached) " >&6
6235
else
6245
else
6236
  lt_cv_ld_exported_symbols_list=no
6246
  lt_cv_ld_exported_symbols_list=no
6237
      save_LDFLAGS=$LDFLAGS
6247
      save_LDFLAGS=$LDFLAGS
6238
      echo "_main" > conftest.sym
6248
      echo "_main" > conftest.sym
6239
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6249
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6240
      cat >conftest.$ac_ext <<_ACEOF
-
 
6241
/* confdefs.h.  */
-
 
6242
_ACEOF
-
 
6243
cat confdefs.h >>conftest.$ac_ext
6250
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6244
cat >>conftest.$ac_ext <<_ACEOF
-
 
6245
/* end confdefs.h.  */
6251
/* end confdefs.h.  */
6246
 
6252
 
6247
int
6253
int
6248
main ()
6254
main ()
6249
{
6255
{
6250
 
6256
 
6251
  ;
6257
  ;
6252
  return 0;
6258
  return 0;
6253
}
6259
}
6254
_ACEOF
6260
_ACEOF
6255
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
6256
if { (ac_try="$ac_link"
-
 
6257
case "(($ac_try" in
-
 
6258
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
6259
  *) ac_try_echo=$ac_try;;
-
 
6260
esac
-
 
6261
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
6262
$as_echo "$ac_try_echo") >&5
-
 
6263
  (eval "$ac_link") 2>conftest.er1
6261
if ac_fn_c_try_link "$LINENO"; then :
6264
  ac_status=$?
-
 
6265
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
6266
  rm -f conftest.er1
-
 
6267
  cat conftest.err >&5
-
 
6268
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
6269
  (exit $ac_status); } && {
-
 
6270
	 test -z "$ac_c_werror_flag" ||
-
 
6271
	 test ! -s conftest.err
-
 
6272
       } && test -s conftest$ac_exeext && {
-
 
6273
	 test "$cross_compiling" = yes ||
-
 
6274
	 $as_test_x conftest$ac_exeext
-
 
6275
       }; then
-
 
6276
  lt_cv_ld_exported_symbols_list=yes
6262
  lt_cv_ld_exported_symbols_list=yes
6277
else
6263
else
6278
  $as_echo "$as_me: failed program was:" >&5
-
 
6279
sed 's/^/| /' conftest.$ac_ext >&5
-
 
6280
 
-
 
6281
	lt_cv_ld_exported_symbols_list=no
6264
  lt_cv_ld_exported_symbols_list=no
6282
fi
6265
fi
6283
 
-
 
6284
rm -rf conftest.dSYM
-
 
6285
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6266
rm -f core conftest.err conftest.$ac_objext \
6286
      conftest$ac_exeext conftest.$ac_ext
6267
    conftest$ac_exeext conftest.$ac_ext
6287
	LDFLAGS="$save_LDFLAGS"
6268
	LDFLAGS="$save_LDFLAGS"
6288
 
6269
 
6289
fi
6270
fi
6290
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6291
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6272
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6292
    case $host_os in
6273
    case $host_os in
6293
    rhapsody* | darwin1.[012])
6274
    rhapsody* | darwin1.[012])
6294
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6275
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6295
    darwin1.*)
6276
    darwin1.*)
6296
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6277
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6297
    darwin*) # darwin 5.x on
6278
    darwin*) # darwin 5.x on
6298
      # if running on 10.5 or later, the deployment target defaults
6279
      # if running on 10.5 or later, the deployment target defaults
6299
      # to the OS version, if on x86, and 10.4, the deployment
6280
      # to the OS version, if on x86, and 10.4, the deployment
6300
      # target defaults to 10.4. Don't you love it?
6281
      # target defaults to 10.4. Don't you love it?
6301
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6282
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6302
	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6283
	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6303
	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6284
	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6304
	10.[012]*)
6285
	10.[012]*)
6305
	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6286
	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6306
	10.*)
6287
	10.*)
6307
	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6288
	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6308
      esac
6289
      esac
6309
    ;;
6290
    ;;
6310
  esac
6291
  esac
6311
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6292
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6312
      _lt_dar_single_mod='$single_module'
6293
      _lt_dar_single_mod='$single_module'
6313
    fi
6294
    fi
6314
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6295
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6315
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6296
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6316
    else
6297
    else
6317
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6298
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6318
    fi
6299
    fi
6319
    if test "$DSYMUTIL" != ":"; then
6300
    if test "$DSYMUTIL" != ":"; then
6320
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6301
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6321
    else
6302
    else
6322
      _lt_dsymutil=
6303
      _lt_dsymutil=
6323
    fi
6304
    fi
6324
    ;;
6305
    ;;
6325
  esac
6306
  esac
6326
 
6307
 
6327
ac_ext=c
6308
ac_ext=c
6328
ac_cpp='$CPP $CPPFLAGS'
6309
ac_cpp='$CPP $CPPFLAGS'
6329
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6310
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6330
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6311
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6331
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6312
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6332
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6333
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6314
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6334
# On Suns, sometimes $CPP names a directory.
6315
# On Suns, sometimes $CPP names a directory.
6335
if test -n "$CPP" && test -d "$CPP"; then
6316
if test -n "$CPP" && test -d "$CPP"; then
6336
  CPP=
6317
  CPP=
6337
fi
6318
fi
6338
if test -z "$CPP"; then
6319
if test -z "$CPP"; then
6339
  if test "${ac_cv_prog_CPP+set}" = set; then
6320
  if test "${ac_cv_prog_CPP+set}" = set; then :
6340
  $as_echo_n "(cached) " >&6
6321
  $as_echo_n "(cached) " >&6
6341
else
6322
else
6342
      # Double quotes because CPP needs to be expanded
6323
      # Double quotes because CPP needs to be expanded
6343
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6324
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6344
    do
6325
    do
6345
      ac_preproc_ok=false
6326
      ac_preproc_ok=false
6346
for ac_c_preproc_warn_flag in '' yes
6327
for ac_c_preproc_warn_flag in '' yes
6347
do
6328
do
6348
  # Use a header file that comes with gcc, so configuring glibc
6329
  # Use a header file that comes with gcc, so configuring glibc
6349
  # with a fresh cross-compiler works.
6330
  # with a fresh cross-compiler works.
6350
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6331
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6351
  # <limits.h> exists even on freestanding compilers.
6332
  # <limits.h> exists even on freestanding compilers.
6352
  # On the NeXT, cc -E runs the code through the compiler's parser,
6333
  # On the NeXT, cc -E runs the code through the compiler's parser,
6353
  # not just through cpp. "Syntax error" is here to catch this case.
6334
  # not just through cpp. "Syntax error" is here to catch this case.
6354
  cat >conftest.$ac_ext <<_ACEOF
-
 
6355
/* confdefs.h.  */
-
 
6356
_ACEOF
-
 
6357
cat confdefs.h >>conftest.$ac_ext
6335
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6358
cat >>conftest.$ac_ext <<_ACEOF
-
 
6359
/* end confdefs.h.  */
6336
/* end confdefs.h.  */
6360
#ifdef __STDC__
6337
#ifdef __STDC__
6361
# include <limits.h>
6338
# include <limits.h>
6362
#else
6339
#else
6363
# include <assert.h>
6340
# include <assert.h>
6364
#endif
6341
#endif
6365
		     Syntax error
6342
		     Syntax error
6366
_ACEOF
6343
_ACEOF
6367
if { (ac_try="$ac_cpp conftest.$ac_ext"
6344
if ac_fn_c_try_cpp "$LINENO"; then :
6368
case "(($ac_try" in
-
 
6369
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
6370
  *) ac_try_echo=$ac_try;;
-
 
6371
esac
-
 
6372
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
6373
$as_echo "$ac_try_echo") >&5
-
 
6374
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-
 
6375
  ac_status=$?
-
 
6376
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
6377
  rm -f conftest.er1
-
 
6378
  cat conftest.err >&5
-
 
6379
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
6380
  (exit $ac_status); } >/dev/null && {
-
 
6381
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-
 
6382
	 test ! -s conftest.err
-
 
6383
       }; then
-
 
6384
  :
-
 
6385
else
-
 
6386
  $as_echo "$as_me: failed program was:" >&5
-
 
6387
sed 's/^/| /' conftest.$ac_ext >&5
-
 
6388
 
6345
 
-
 
6346
else
6389
  # Broken: fails on valid input.
6347
  # Broken: fails on valid input.
6390
continue
6348
continue
6391
fi
6349
fi
6392
 
-
 
6393
rm -f conftest.err conftest.$ac_ext
6350
rm -f conftest.err conftest.$ac_ext
6394
 
6351
 
6395
  # OK, works on sane cases.  Now check whether nonexistent headers
6352
  # OK, works on sane cases.  Now check whether nonexistent headers
6396
  # can be detected and how.
6353
  # can be detected and how.
6397
  cat >conftest.$ac_ext <<_ACEOF
-
 
6398
/* confdefs.h.  */
-
 
6399
_ACEOF
-
 
6400
cat confdefs.h >>conftest.$ac_ext
6354
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6401
cat >>conftest.$ac_ext <<_ACEOF
-
 
6402
/* end confdefs.h.  */
6355
/* end confdefs.h.  */
6403
#include <ac_nonexistent.h>
6356
#include <ac_nonexistent.h>
6404
_ACEOF
6357
_ACEOF
6405
if { (ac_try="$ac_cpp conftest.$ac_ext"
6358
if ac_fn_c_try_cpp "$LINENO"; then :
6406
case "(($ac_try" in
-
 
6407
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
6408
  *) ac_try_echo=$ac_try;;
-
 
6409
esac
-
 
6410
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
6411
$as_echo "$ac_try_echo") >&5
-
 
6412
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-
 
6413
  ac_status=$?
-
 
6414
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
6415
  rm -f conftest.er1
-
 
6416
  cat conftest.err >&5
-
 
6417
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
6418
  (exit $ac_status); } >/dev/null && {
-
 
6419
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-
 
6420
	 test ! -s conftest.err
-
 
6421
       }; then
-
 
6422
  # Broken: success on invalid input.
6359
  # Broken: success on invalid input.
6423
continue
6360
continue
6424
else
6361
else
6425
  $as_echo "$as_me: failed program was:" >&5
-
 
6426
sed 's/^/| /' conftest.$ac_ext >&5
-
 
6427
 
-
 
6428
  # Passes both tests.
6362
  # Passes both tests.
6429
ac_preproc_ok=:
6363
ac_preproc_ok=:
6430
break
6364
break
6431
fi
6365
fi
6432
 
-
 
6433
rm -f conftest.err conftest.$ac_ext
6366
rm -f conftest.err conftest.$ac_ext
6434
 
6367
 
6435
done
6368
done
6436
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6369
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6437
rm -f conftest.err conftest.$ac_ext
6370
rm -f conftest.err conftest.$ac_ext
6438
if $ac_preproc_ok; then
6371
if $ac_preproc_ok; then :
6439
  break
6372
  break
6440
fi
6373
fi
6441
 
6374
 
6442
    done
6375
    done
6443
    ac_cv_prog_CPP=$CPP
6376
    ac_cv_prog_CPP=$CPP
6444
 
6377
 
6445
fi
6378
fi
6446
  CPP=$ac_cv_prog_CPP
6379
  CPP=$ac_cv_prog_CPP
6447
else
6380
else
6448
  ac_cv_prog_CPP=$CPP
6381
  ac_cv_prog_CPP=$CPP
6449
fi
6382
fi
6450
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
6383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6451
$as_echo "$CPP" >&6; }
6384
$as_echo "$CPP" >&6; }
6452
ac_preproc_ok=false
6385
ac_preproc_ok=false
6453
for ac_c_preproc_warn_flag in '' yes
6386
for ac_c_preproc_warn_flag in '' yes
6454
do
6387
do
6455
  # Use a header file that comes with gcc, so configuring glibc
6388
  # Use a header file that comes with gcc, so configuring glibc
6456
  # with a fresh cross-compiler works.
6389
  # with a fresh cross-compiler works.
6457
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6390
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6458
  # <limits.h> exists even on freestanding compilers.
6391
  # <limits.h> exists even on freestanding compilers.
6459
  # On the NeXT, cc -E runs the code through the compiler's parser,
6392
  # On the NeXT, cc -E runs the code through the compiler's parser,
6460
  # not just through cpp. "Syntax error" is here to catch this case.
6393
  # not just through cpp. "Syntax error" is here to catch this case.
6461
  cat >conftest.$ac_ext <<_ACEOF
-
 
6462
/* confdefs.h.  */
-
 
6463
_ACEOF
-
 
6464
cat confdefs.h >>conftest.$ac_ext
6394
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6465
cat >>conftest.$ac_ext <<_ACEOF
-
 
6466
/* end confdefs.h.  */
6395
/* end confdefs.h.  */
6467
#ifdef __STDC__
6396
#ifdef __STDC__
6468
# include <limits.h>
6397
# include <limits.h>
6469
#else
6398
#else
6470
# include <assert.h>
6399
# include <assert.h>
6471
#endif
6400
#endif
6472
		     Syntax error
6401
		     Syntax error
6473
_ACEOF
6402
_ACEOF
6474
if { (ac_try="$ac_cpp conftest.$ac_ext"
6403
if ac_fn_c_try_cpp "$LINENO"; then :
6475
case "(($ac_try" in
-
 
6476
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
6477
  *) ac_try_echo=$ac_try;;
-
 
6478
esac
-
 
6479
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
6480
$as_echo "$ac_try_echo") >&5
-
 
6481
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-
 
6482
  ac_status=$?
-
 
6483
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
6484
  rm -f conftest.er1
-
 
6485
  cat conftest.err >&5
-
 
6486
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
6487
  (exit $ac_status); } >/dev/null && {
-
 
6488
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-
 
6489
	 test ! -s conftest.err
-
 
6490
       }; then
-
 
6491
  :
-
 
6492
else
-
 
6493
  $as_echo "$as_me: failed program was:" >&5
-
 
6494
sed 's/^/| /' conftest.$ac_ext >&5
-
 
6495
 
6404
 
-
 
6405
else
6496
  # Broken: fails on valid input.
6406
  # Broken: fails on valid input.
6497
continue
6407
continue
6498
fi
6408
fi
6499
 
-
 
6500
rm -f conftest.err conftest.$ac_ext
6409
rm -f conftest.err conftest.$ac_ext
6501
 
6410
 
6502
  # OK, works on sane cases.  Now check whether nonexistent headers
6411
  # OK, works on sane cases.  Now check whether nonexistent headers
6503
  # can be detected and how.
6412
  # can be detected and how.
6504
  cat >conftest.$ac_ext <<_ACEOF
-
 
6505
/* confdefs.h.  */
-
 
6506
_ACEOF
-
 
6507
cat confdefs.h >>conftest.$ac_ext
6413
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6508
cat >>conftest.$ac_ext <<_ACEOF
-
 
6509
/* end confdefs.h.  */
6414
/* end confdefs.h.  */
6510
#include <ac_nonexistent.h>
6415
#include <ac_nonexistent.h>
6511
_ACEOF
6416
_ACEOF
6512
if { (ac_try="$ac_cpp conftest.$ac_ext"
6417
if ac_fn_c_try_cpp "$LINENO"; then :
6513
case "(($ac_try" in
-
 
6514
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
6515
  *) ac_try_echo=$ac_try;;
-
 
6516
esac
-
 
6517
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
6518
$as_echo "$ac_try_echo") >&5
-
 
6519
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-
 
6520
  ac_status=$?
-
 
6521
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
6522
  rm -f conftest.er1
-
 
6523
  cat conftest.err >&5
-
 
6524
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
6525
  (exit $ac_status); } >/dev/null && {
-
 
6526
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-
 
6527
	 test ! -s conftest.err
-
 
6528
       }; then
-
 
6529
  # Broken: success on invalid input.
6418
  # Broken: success on invalid input.
6530
continue
6419
continue
6531
else
6420
else
6532
  $as_echo "$as_me: failed program was:" >&5
-
 
6533
sed 's/^/| /' conftest.$ac_ext >&5
-
 
6534
 
-
 
6535
  # Passes both tests.
6421
  # Passes both tests.
6536
ac_preproc_ok=:
6422
ac_preproc_ok=:
6537
break
6423
break
6538
fi
6424
fi
6539
 
-
 
6540
rm -f conftest.err conftest.$ac_ext
6425
rm -f conftest.err conftest.$ac_ext
6541
 
6426
 
6542
done
6427
done
6543
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6428
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6544
rm -f conftest.err conftest.$ac_ext
6429
rm -f conftest.err conftest.$ac_ext
6545
if $ac_preproc_ok; then
6430
if $ac_preproc_ok; then :
6546
  :
6431
 
6547
else
6432
else
6548
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6433
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6549
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6434
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6550
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
-
 
6551
See \`config.log' for more details." >&5
-
 
6552
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6435
as_fn_error "C preprocessor \"$CPP\" fails sanity check
6553
See \`config.log' for more details." >&2;}
6436
See \`config.log' for more details." "$LINENO" 5; }
6554
   { (exit 1); exit 1; }; }; }
-
 
6555
fi
6437
fi
6556
 
6438
 
6557
ac_ext=c
6439
ac_ext=c
6558
ac_cpp='$CPP $CPPFLAGS'
6440
ac_cpp='$CPP $CPPFLAGS'
6559
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6441
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6560
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6442
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6561
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6443
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6562
 
6444
 
6563
 
6445
 
6564
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6565
$as_echo_n "checking for ANSI C header files... " >&6; }
6447
$as_echo_n "checking for ANSI C header files... " >&6; }
6566
if test "${ac_cv_header_stdc+set}" = set; then
6448
if test "${ac_cv_header_stdc+set}" = set; then :
6567
  $as_echo_n "(cached) " >&6
6449
  $as_echo_n "(cached) " >&6
6568
else
6450
else
6569
  cat >conftest.$ac_ext <<_ACEOF
-
 
6570
/* confdefs.h.  */
-
 
6571
_ACEOF
-
 
6572
cat confdefs.h >>conftest.$ac_ext
6451
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6573
cat >>conftest.$ac_ext <<_ACEOF
-
 
6574
/* end confdefs.h.  */
6452
/* end confdefs.h.  */
6575
#include <stdlib.h>
6453
#include <stdlib.h>
6576
#include <stdarg.h>
6454
#include <stdarg.h>
6577
#include <string.h>
6455
#include <string.h>
6578
#include <float.h>
6456
#include <float.h>
6579
 
6457
 
6580
int
6458
int
6581
main ()
6459
main ()
6582
{
6460
{
6583
 
6461
 
6584
  ;
6462
  ;
6585
  return 0;
6463
  return 0;
6586
}
6464
}
6587
_ACEOF
6465
_ACEOF
6588
rm -f conftest.$ac_objext
-
 
6589
if { (ac_try="$ac_compile"
-
 
6590
case "(($ac_try" in
-
 
6591
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
6592
  *) ac_try_echo=$ac_try;;
-
 
6593
esac
-
 
6594
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
6595
$as_echo "$ac_try_echo") >&5
-
 
6596
  (eval "$ac_compile") 2>conftest.er1
6466
if ac_fn_c_try_compile "$LINENO"; then :
6597
  ac_status=$?
-
 
6598
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
6599
  rm -f conftest.er1
-
 
6600
  cat conftest.err >&5
-
 
6601
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
6602
  (exit $ac_status); } && {
-
 
6603
	 test -z "$ac_c_werror_flag" ||
-
 
6604
	 test ! -s conftest.err
-
 
6605
       } && test -s conftest.$ac_objext; then
-
 
6606
  ac_cv_header_stdc=yes
6467
  ac_cv_header_stdc=yes
6607
else
6468
else
6608
  $as_echo "$as_me: failed program was:" >&5
-
 
6609
sed 's/^/| /' conftest.$ac_ext >&5
-
 
6610
 
-
 
6611
	ac_cv_header_stdc=no
6469
  ac_cv_header_stdc=no
6612
fi
6470
fi
6613
 
-
 
6614
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6471
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6615
 
6472
 
6616
if test $ac_cv_header_stdc = yes; then
6473
if test $ac_cv_header_stdc = yes; then
6617
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6474
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6618
  cat >conftest.$ac_ext <<_ACEOF
-
 
6619
/* confdefs.h.  */
-
 
6620
_ACEOF
-
 
6621
cat confdefs.h >>conftest.$ac_ext
6475
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6622
cat >>conftest.$ac_ext <<_ACEOF
-
 
6623
/* end confdefs.h.  */
6476
/* end confdefs.h.  */
6624
#include <string.h>
6477
#include <string.h>
6625
 
6478
 
6626
_ACEOF
6479
_ACEOF
6627
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6480
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6628
  $EGREP "memchr" >/dev/null 2>&1; then
6481
  $EGREP "memchr" >/dev/null 2>&1; then :
6629
  :
6482
 
6630
else
6483
else
6631
  ac_cv_header_stdc=no
6484
  ac_cv_header_stdc=no
6632
fi
6485
fi
6633
rm -f conftest*
6486
rm -f conftest*
6634
 
6487
 
6635
fi
6488
fi
6636
 
6489
 
6637
if test $ac_cv_header_stdc = yes; then
6490
if test $ac_cv_header_stdc = yes; then
6638
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6491
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6639
  cat >conftest.$ac_ext <<_ACEOF
-
 
6640
/* confdefs.h.  */
-
 
6641
_ACEOF
-
 
6642
cat confdefs.h >>conftest.$ac_ext
6492
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6643
cat >>conftest.$ac_ext <<_ACEOF
-
 
6644
/* end confdefs.h.  */
6493
/* end confdefs.h.  */
6645
#include <stdlib.h>
6494
#include <stdlib.h>
6646
 
6495
 
6647
_ACEOF
6496
_ACEOF
6648
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6497
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6649
  $EGREP "free" >/dev/null 2>&1; then
6498
  $EGREP "free" >/dev/null 2>&1; then :
6650
  :
6499
 
6651
else
6500
else
6652
  ac_cv_header_stdc=no
6501
  ac_cv_header_stdc=no
6653
fi
6502
fi
6654
rm -f conftest*
6503
rm -f conftest*
6655
 
6504
 
6656
fi
6505
fi
6657
 
6506
 
6658
if test $ac_cv_header_stdc = yes; then
6507
if test $ac_cv_header_stdc = yes; then
6659
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6508
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6660
  if test "$cross_compiling" = yes; then
6509
  if test "$cross_compiling" = yes; then :
6661
  :
6510
  :
6662
else
6511
else
6663
  cat >conftest.$ac_ext <<_ACEOF
-
 
6664
/* confdefs.h.  */
-
 
6665
_ACEOF
-
 
6666
cat confdefs.h >>conftest.$ac_ext
6512
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6667
cat >>conftest.$ac_ext <<_ACEOF
-
 
6668
/* end confdefs.h.  */
6513
/* end confdefs.h.  */
6669
#include <ctype.h>
6514
#include <ctype.h>
6670
#include <stdlib.h>
6515
#include <stdlib.h>
6671
#if ((' ' & 0x0FF) == 0x020)
6516
#if ((' ' & 0x0FF) == 0x020)
6672
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6517
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6673
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6518
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6674
#else
6519
#else
6675
# define ISLOWER(c) \
6520
# define ISLOWER(c) \
6676
		   (('a' <= (c) && (c) <= 'i') \
6521
		   (('a' <= (c) && (c) <= 'i') \
6677
		     || ('j' <= (c) && (c) <= 'r') \
6522
		     || ('j' <= (c) && (c) <= 'r') \
6678
		     || ('s' <= (c) && (c) <= 'z'))
6523
		     || ('s' <= (c) && (c) <= 'z'))
6679
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6524
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6680
#endif
6525
#endif
6681
 
6526
 
6682
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6527
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6683
int
6528
int
6684
main ()
6529
main ()
6685
{
6530
{
6686
  int i;
6531
  int i;
6687
  for (i = 0; i < 256; i++)
6532
  for (i = 0; i < 256; i++)
6688
    if (XOR (islower (i), ISLOWER (i))
6533
    if (XOR (islower (i), ISLOWER (i))
6689
	|| toupper (i) != TOUPPER (i))
6534
	|| toupper (i) != TOUPPER (i))
6690
      return 2;
6535
      return 2;
6691
  return 0;
6536
  return 0;
6692
}
6537
}
6693
_ACEOF
6538
_ACEOF
6694
rm -f conftest$ac_exeext
-
 
6695
if { (ac_try="$ac_link"
-
 
6696
case "(($ac_try" in
-
 
6697
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
6698
  *) ac_try_echo=$ac_try;;
-
 
6699
esac
-
 
6700
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
6701
$as_echo "$ac_try_echo") >&5
-
 
6702
  (eval "$ac_link") 2>&5
-
 
6703
  ac_status=$?
-
 
6704
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
6705
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
-
 
6706
  { (case "(($ac_try" in
-
 
6707
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
6708
  *) ac_try_echo=$ac_try;;
-
 
6709
esac
-
 
6710
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
6711
$as_echo "$ac_try_echo") >&5
-
 
6712
  (eval "$ac_try") 2>&5
-
 
6713
  ac_status=$?
-
 
6714
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
6715
  (exit $ac_status); }; }; then
6539
if ac_fn_c_try_run "$LINENO"; then :
6716
  :
-
 
6717
else
-
 
6718
  $as_echo "$as_me: program exited with status $ac_status" >&5
-
 
6719
$as_echo "$as_me: failed program was:" >&5
-
 
6720
sed 's/^/| /' conftest.$ac_ext >&5
-
 
6721
 
6540
 
6722
( exit $ac_status )
6541
else
6723
ac_cv_header_stdc=no
6542
  ac_cv_header_stdc=no
6724
fi
6543
fi
6725
rm -rf conftest.dSYM
6544
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6726
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6545
  conftest.$ac_objext conftest.beam conftest.$ac_ext
6727
fi
6546
fi
6728
 
6547
 
6729
 
-
 
6730
fi
6548
fi
6731
fi
6549
fi
6732
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6733
$as_echo "$ac_cv_header_stdc" >&6; }
6551
$as_echo "$ac_cv_header_stdc" >&6; }
6734
if test $ac_cv_header_stdc = yes; then
6552
if test $ac_cv_header_stdc = yes; then
6735
 
6553
 
6736
cat >>confdefs.h <<\_ACEOF
-
 
6737
#define STDC_HEADERS 1
6554
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6738
_ACEOF
-
 
6739
 
6555
 
6740
fi
6556
fi
6741
 
6557
 
6742
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6558
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6743
 
-
 
6744
 
-
 
6745
 
-
 
6746
 
-
 
6747
 
-
 
6748
 
-
 
6749
 
-
 
6750
 
-
 
6751
 
-
 
6752
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6559
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6753
		  inttypes.h stdint.h unistd.h
6560
		  inttypes.h stdint.h unistd.h
6754
do
6561
do :
6755
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6562
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6756
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6563
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6757
$as_echo_n "checking for $ac_header... " >&6; }
-
 
6758
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-
 
6759
  $as_echo_n "(cached) " >&6
-
 
6760
else
-
 
6761
  cat >conftest.$ac_ext <<_ACEOF
-
 
6762
/* confdefs.h.  */
-
 
6763
_ACEOF
-
 
6764
cat confdefs.h >>conftest.$ac_ext
-
 
6765
cat >>conftest.$ac_ext <<_ACEOF
-
 
6766
/* end confdefs.h.  */
-
 
6767
$ac_includes_default
-
 
6768
 
-
 
6769
#include <$ac_header>
-
 
6770
_ACEOF
-
 
6771
rm -f conftest.$ac_objext
-
 
6772
if { (ac_try="$ac_compile"
-
 
6773
case "(($ac_try" in
-
 
6774
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
6775
  *) ac_try_echo=$ac_try;;
-
 
6776
esac
-
 
6777
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
6778
$as_echo "$ac_try_echo") >&5
-
 
6779
  (eval "$ac_compile") 2>conftest.er1
-
 
6780
  ac_status=$?
-
 
6781
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
6782
  rm -f conftest.er1
-
 
6783
  cat conftest.err >&5
-
 
6784
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
6785
  (exit $ac_status); } && {
-
 
6786
	 test -z "$ac_c_werror_flag" ||
-
 
6787
	 test ! -s conftest.err
-
 
6788
       } && test -s conftest.$ac_objext; then
-
 
6789
  eval "$as_ac_Header=yes"
-
 
6790
else
-
 
6791
  $as_echo "$as_me: failed program was:" >&5
-
 
6792
sed 's/^/| /' conftest.$ac_ext >&5
-
 
6793
 
-
 
6794
	eval "$as_ac_Header=no"
-
 
6795
fi
-
 
6796
 
6564
"
6797
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
 
6798
fi
-
 
6799
ac_res=`eval 'as_val=${'$as_ac_Header'}
-
 
6800
		 $as_echo "$as_val"'`
-
 
6801
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
-
 
6802
$as_echo "$ac_res" >&6; }
-
 
6803
as_val=`eval 'as_val=${'$as_ac_Header'}
6565
eval as_val=\$$as_ac_Header
6804
		 $as_echo "$as_val"'`
-
 
6805
   if test "x$as_val" = x""yes; then
6566
   if test "x$as_val" = x""yes; then :
6806
  cat >>confdefs.h <<_ACEOF
6567
  cat >>confdefs.h <<_ACEOF
6807
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6568
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6808
_ACEOF
6569
_ACEOF
6809
 
6570
 
6810
fi
6571
fi
6811
 
6572
 
6812
done
6573
done
6813
 
6574
 
6814
 
6575
 
6815
 
-
 
6816
for ac_header in dlfcn.h
6576
for ac_header in dlfcn.h
6817
do
6577
do :
6818
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6578
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6819
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
-
 
6820
$as_echo_n "checking for $ac_header... " >&6; }
-
 
6821
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-
 
6822
  $as_echo_n "(cached) " >&6
-
 
6823
else
-
 
6824
  cat >conftest.$ac_ext <<_ACEOF
-
 
6825
/* confdefs.h.  */
-
 
6826
_ACEOF
-
 
6827
cat confdefs.h >>conftest.$ac_ext
-
 
6828
cat >>conftest.$ac_ext <<_ACEOF
-
 
6829
/* end confdefs.h.  */
-
 
6830
$ac_includes_default
-
 
6831
 
-
 
6832
#include <$ac_header>
-
 
6833
_ACEOF
-
 
6834
rm -f conftest.$ac_objext
-
 
6835
if { (ac_try="$ac_compile"
-
 
6836
case "(($ac_try" in
-
 
6837
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
6838
  *) ac_try_echo=$ac_try;;
-
 
6839
esac
-
 
6840
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
6841
$as_echo "$ac_try_echo") >&5
-
 
6842
  (eval "$ac_compile") 2>conftest.er1
-
 
6843
  ac_status=$?
-
 
6844
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
6845
  rm -f conftest.er1
-
 
6846
  cat conftest.err >&5
-
 
6847
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
6848
  (exit $ac_status); } && {
-
 
6849
	 test -z "$ac_c_werror_flag" ||
-
 
6850
	 test ! -s conftest.err
-
 
6851
       } && test -s conftest.$ac_objext; then
-
 
6852
  eval "$as_ac_Header=yes"
-
 
6853
else
-
 
6854
  $as_echo "$as_me: failed program was:" >&5
-
 
6855
sed 's/^/| /' conftest.$ac_ext >&5
-
 
6856
 
-
 
6857
	eval "$as_ac_Header=no"
-
 
6858
fi
-
 
6859
 
6579
"
6860
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
 
6861
fi
-
 
6862
ac_res=`eval 'as_val=${'$as_ac_Header'}
-
 
6863
		 $as_echo "$as_val"'`
-
 
6864
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
-
 
6865
$as_echo "$ac_res" >&6; }
-
 
6866
as_val=`eval 'as_val=${'$as_ac_Header'}
-
 
6867
		 $as_echo "$as_val"'`
-
 
6868
   if test "x$as_val" = x""yes; then
6580
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6869
  cat >>confdefs.h <<_ACEOF
6581
  cat >>confdefs.h <<_ACEOF
6870
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6582
#define HAVE_DLFCN_H 1
6871
_ACEOF
6583
_ACEOF
6872
 
6584
 
6873
fi
6585
fi
6874
 
6586
 
6875
done
6587
done
6876
 
6588
 
6877
 
6589
 
6878
 
6590
 
6879
# Set options
6591
# Set options
6880
 
6592
 
6881
 
6593
 
6882
 
6594
 
6883
        enable_dlopen=no
6595
        enable_dlopen=no
6884
 
6596
 
6885
 
6597
 
6886
  enable_win32_dll=no
6598
  enable_win32_dll=no
6887
 
6599
 
6888
 
6600
 
6889
            # Check whether --enable-shared was given.
6601
            # Check whether --enable-shared was given.
6890
if test "${enable_shared+set}" = set; then
6602
if test "${enable_shared+set}" = set; then :
6891
  enableval=$enable_shared; p=${PACKAGE-default}
6603
  enableval=$enable_shared; p=${PACKAGE-default}
6892
    case $enableval in
6604
    case $enableval in
6893
    yes) enable_shared=yes ;;
6605
    yes) enable_shared=yes ;;
6894
    no) enable_shared=no ;;
6606
    no) enable_shared=no ;;
6895
    *)
6607
    *)
6896
      enable_shared=no
6608
      enable_shared=no
6897
      # Look at the argument we got.  We use all the common list separators.
6609
      # Look at the argument we got.  We use all the common list separators.
6898
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6610
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6899
      for pkg in $enableval; do
6611
      for pkg in $enableval; do
6900
	IFS="$lt_save_ifs"
6612
	IFS="$lt_save_ifs"
6901
	if test "X$pkg" = "X$p"; then
6613
	if test "X$pkg" = "X$p"; then
6902
	  enable_shared=yes
6614
	  enable_shared=yes
6903
	fi
6615
	fi
6904
      done
6616
      done
6905
      IFS="$lt_save_ifs"
6617
      IFS="$lt_save_ifs"
6906
      ;;
6618
      ;;
6907
    esac
6619
    esac
6908
else
6620
else
6909
  enable_shared=yes
6621
  enable_shared=yes
6910
fi
6622
fi
6911
 
6623
 
6912
 
6624
 
6913
 
6625
 
6914
 
6626
 
6915
 
6627
 
6916
 
6628
 
6917
 
6629
 
6918
 
6630
 
6919
 
6631
 
6920
  # Check whether --enable-static was given.
6632
  # Check whether --enable-static was given.
6921
if test "${enable_static+set}" = set; then
6633
if test "${enable_static+set}" = set; then :
6922
  enableval=$enable_static; p=${PACKAGE-default}
6634
  enableval=$enable_static; p=${PACKAGE-default}
6923
    case $enableval in
6635
    case $enableval in
6924
    yes) enable_static=yes ;;
6636
    yes) enable_static=yes ;;
6925
    no) enable_static=no ;;
6637
    no) enable_static=no ;;
6926
    *)
6638
    *)
6927
     enable_static=no
6639
     enable_static=no
6928
      # Look at the argument we got.  We use all the common list separators.
6640
      # Look at the argument we got.  We use all the common list separators.
6929
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6641
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6930
      for pkg in $enableval; do
6642
      for pkg in $enableval; do
6931
	IFS="$lt_save_ifs"
6643
	IFS="$lt_save_ifs"
6932
	if test "X$pkg" = "X$p"; then
6644
	if test "X$pkg" = "X$p"; then
6933
	  enable_static=yes
6645
	  enable_static=yes
6934
	fi
6646
	fi
6935
      done
6647
      done
6936
      IFS="$lt_save_ifs"
6648
      IFS="$lt_save_ifs"
6937
      ;;
6649
      ;;
6938
    esac
6650
    esac
6939
else
6651
else
6940
  enable_static=yes
6652
  enable_static=yes
6941
fi
6653
fi
6942
 
6654
 
6943
 
6655
 
6944
 
6656
 
6945
 
6657
 
6946
 
6658
 
6947
 
6659
 
6948
 
6660
 
6949
 
6661
 
6950
 
6662
 
6951
 
6663
 
6952
# Check whether --with-pic was given.
6664
# Check whether --with-pic was given.
6953
if test "${with_pic+set}" = set; then
6665
if test "${with_pic+set}" = set; then :
6954
  withval=$with_pic; pic_mode="$withval"
6666
  withval=$with_pic; pic_mode="$withval"
6955
else
6667
else
6956
  pic_mode=default
6668
  pic_mode=default
6957
fi
6669
fi
6958
 
6670
 
6959
 
6671
 
6960
test -z "$pic_mode" && pic_mode=default
6672
test -z "$pic_mode" && pic_mode=default
6961
 
6673
 
6962
 
6674
 
6963
 
6675
 
6964
 
6676
 
6965
 
6677
 
6966
 
6678
 
6967
 
6679
 
6968
  # Check whether --enable-fast-install was given.
6680
  # Check whether --enable-fast-install was given.
6969
if test "${enable_fast_install+set}" = set; then
6681
if test "${enable_fast_install+set}" = set; then :
6970
  enableval=$enable_fast_install; p=${PACKAGE-default}
6682
  enableval=$enable_fast_install; p=${PACKAGE-default}
6971
    case $enableval in
6683
    case $enableval in
6972
    yes) enable_fast_install=yes ;;
6684
    yes) enable_fast_install=yes ;;
6973
    no) enable_fast_install=no ;;
6685
    no) enable_fast_install=no ;;
6974
    *)
6686
    *)
6975
      enable_fast_install=no
6687
      enable_fast_install=no
6976
      # Look at the argument we got.  We use all the common list separators.
6688
      # Look at the argument we got.  We use all the common list separators.
6977
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6689
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6978
      for pkg in $enableval; do
6690
      for pkg in $enableval; do
6979
	IFS="$lt_save_ifs"
6691
	IFS="$lt_save_ifs"
6980
	if test "X$pkg" = "X$p"; then
6692
	if test "X$pkg" = "X$p"; then
6981
	  enable_fast_install=yes
6693
	  enable_fast_install=yes
6982
	fi
6694
	fi
6983
      done
6695
      done
6984
      IFS="$lt_save_ifs"
6696
      IFS="$lt_save_ifs"
6985
      ;;
6697
      ;;
6986
    esac
6698
    esac
6987
else
6699
else
6988
  enable_fast_install=yes
6700
  enable_fast_install=yes
6989
fi
6701
fi
6990
 
6702
 
6991
 
6703
 
6992
 
6704
 
6993
 
6705
 
6994
 
6706
 
6995
 
6707
 
6996
 
6708
 
6997
 
6709
 
6998
 
6710
 
6999
 
6711
 
7000
 
6712
 
7001
# This can be used to rebuild libtool when needed
6713
# This can be used to rebuild libtool when needed
7002
LIBTOOL_DEPS="$ltmain"
6714
LIBTOOL_DEPS="$ltmain"
7003
 
6715
 
7004
# Always use our own libtool.
6716
# Always use our own libtool.
7005
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6717
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7006
 
6718
 
7007
 
6719
 
7008
 
6720
 
7009
 
6721
 
7010
 
6722
 
7011
 
6723
 
7012
 
6724
 
7013
 
6725
 
7014
 
6726
 
7015
 
6727
 
7016
 
6728
 
7017
 
6729
 
7018
 
6730
 
7019
 
6731
 
7020
 
6732
 
7021
 
6733
 
7022
 
6734
 
7023
 
6735
 
7024
 
6736
 
7025
 
6737
 
7026
 
6738
 
7027
 
6739
 
7028
 
6740
 
7029
 
6741
 
7030
 
6742
 
7031
test -z "$LN_S" && LN_S="ln -s"
6743
test -z "$LN_S" && LN_S="ln -s"
7032
 
6744
 
7033
 
6745
 
7034
 
6746
 
7035
 
6747
 
7036
 
6748
 
7037
 
6749
 
7038
 
6750
 
7039
 
6751
 
7040
 
6752
 
7041
 
6753
 
7042
 
6754
 
7043
 
6755
 
7044
 
6756
 
7045
 
6757
 
7046
if test -n "${ZSH_VERSION+set}" ; then
6758
if test -n "${ZSH_VERSION+set}" ; then
7047
   setopt NO_GLOB_SUBST
6759
   setopt NO_GLOB_SUBST
7048
fi
6760
fi
7049
 
6761
 
7050
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
6762
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7051
$as_echo_n "checking for objdir... " >&6; }
6763
$as_echo_n "checking for objdir... " >&6; }
7052
if test "${lt_cv_objdir+set}" = set; then
6764
if test "${lt_cv_objdir+set}" = set; then :
7053
  $as_echo_n "(cached) " >&6
6765
  $as_echo_n "(cached) " >&6
7054
else
6766
else
7055
  rm -f .libs 2>/dev/null
6767
  rm -f .libs 2>/dev/null
7056
mkdir .libs 2>/dev/null
6768
mkdir .libs 2>/dev/null
7057
if test -d .libs; then
6769
if test -d .libs; then
7058
  lt_cv_objdir=.libs
6770
  lt_cv_objdir=.libs
7059
else
6771
else
7060
  # MS-DOS does not allow filenames that begin with a dot.
6772
  # MS-DOS does not allow filenames that begin with a dot.
7061
  lt_cv_objdir=_libs
6773
  lt_cv_objdir=_libs
7062
fi
6774
fi
7063
rmdir .libs 2>/dev/null
6775
rmdir .libs 2>/dev/null
7064
fi
6776
fi
7065
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6777
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7066
$as_echo "$lt_cv_objdir" >&6; }
6778
$as_echo "$lt_cv_objdir" >&6; }
7067
objdir=$lt_cv_objdir
6779
objdir=$lt_cv_objdir
7068
 
6780
 
7069
 
6781
 
7070
 
6782
 
7071
 
6783
 
7072
 
6784
 
7073
cat >>confdefs.h <<_ACEOF
6785
cat >>confdefs.h <<_ACEOF
7074
#define LT_OBJDIR "$lt_cv_objdir/"
6786
#define LT_OBJDIR "$lt_cv_objdir/"
7075
_ACEOF
6787
_ACEOF
7076
 
6788
 
7077
 
6789
 
7078
 
6790
 
7079
 
6791
 
7080
 
6792
 
7081
 
6793
 
7082
 
6794
 
7083
 
6795
 
7084
 
6796
 
7085
 
6797
 
7086
 
6798
 
7087
 
6799
 
7088
 
6800
 
7089
 
6801
 
7090
 
6802
 
7091
 
6803
 
7092
 
6804
 
7093
case $host_os in
6805
case $host_os in
7094
aix3*)
6806
aix3*)
7095
  # AIX sometimes has problems with the GCC collect2 program.  For some
6807
  # AIX sometimes has problems with the GCC collect2 program.  For some
7096
  # reason, if we set the COLLECT_NAMES environment variable, the problems
6808
  # reason, if we set the COLLECT_NAMES environment variable, the problems
7097
  # vanish in a puff of smoke.
6809
  # vanish in a puff of smoke.
7098
  if test "X${COLLECT_NAMES+set}" != Xset; then
6810
  if test "X${COLLECT_NAMES+set}" != Xset; then
7099
    COLLECT_NAMES=
6811
    COLLECT_NAMES=
7100
    export COLLECT_NAMES
6812
    export COLLECT_NAMES
7101
  fi
6813
  fi
7102
  ;;
6814
  ;;
7103
esac
6815
esac
7104
 
6816
 
7105
# Sed substitution that helps us do robust quoting.  It backslashifies
6817
# Sed substitution that helps us do robust quoting.  It backslashifies
7106
# metacharacters that are still active within double-quoted strings.
6818
# metacharacters that are still active within double-quoted strings.
7107
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6819
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7108
 
6820
 
7109
# Same as above, but do not quote variable references.
6821
# Same as above, but do not quote variable references.
7110
double_quote_subst='s/\(["`\\]\)/\\\1/g'
6822
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7111
 
6823
 
7112
# Sed substitution to delay expansion of an escaped shell variable in a
6824
# Sed substitution to delay expansion of an escaped shell variable in a
7113
# double_quote_subst'ed string.
6825
# double_quote_subst'ed string.
7114
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6826
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7115
 
6827
 
7116
# Sed substitution to delay expansion of an escaped single quote.
6828
# Sed substitution to delay expansion of an escaped single quote.
7117
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6829
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7118
 
6830
 
7119
# Sed substitution to avoid accidental globbing in evaled expressions
6831
# Sed substitution to avoid accidental globbing in evaled expressions
7120
no_glob_subst='s/\*/\\\*/g'
6832
no_glob_subst='s/\*/\\\*/g'
7121
 
6833
 
7122
# Global variables:
6834
# Global variables:
7123
ofile=libtool
6835
ofile=libtool
7124
can_build_shared=yes
6836
can_build_shared=yes
7125
 
6837
 
7126
# All known linkers require a `.a' archive for static linking (except MSVC,
6838
# All known linkers require a `.a' archive for static linking (except MSVC,
7127
# which needs '.lib').
6839
# which needs '.lib').
7128
libext=a
6840
libext=a
7129
 
6841
 
7130
with_gnu_ld="$lt_cv_prog_gnu_ld"
6842
with_gnu_ld="$lt_cv_prog_gnu_ld"
7131
 
6843
 
7132
old_CC="$CC"
6844
old_CC="$CC"
7133
old_CFLAGS="$CFLAGS"
6845
old_CFLAGS="$CFLAGS"
7134
 
6846
 
7135
# Set sane defaults for various variables
6847
# Set sane defaults for various variables
7136
test -z "$CC" && CC=cc
6848
test -z "$CC" && CC=cc
7137
test -z "$LTCC" && LTCC=$CC
6849
test -z "$LTCC" && LTCC=$CC
7138
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6850
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7139
test -z "$LD" && LD=ld
6851
test -z "$LD" && LD=ld
7140
test -z "$ac_objext" && ac_objext=o
6852
test -z "$ac_objext" && ac_objext=o
7141
 
6853
 
7142
for cc_temp in $compiler""; do
6854
for cc_temp in $compiler""; do
7143
  case $cc_temp in
6855
  case $cc_temp in
7144
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6856
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7145
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6857
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7146
    \-*) ;;
6858
    \-*) ;;
7147
    *) break;;
6859
    *) break;;
7148
  esac
6860
  esac
7149
done
6861
done
7150
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6862
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7151
 
6863
 
7152
 
6864
 
7153
# Only perform the check for file, if the check method requires it
6865
# Only perform the check for file, if the check method requires it
7154
test -z "$MAGIC_CMD" && MAGIC_CMD=file
6866
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7155
case $deplibs_check_method in
6867
case $deplibs_check_method in
7156
file_magic*)
6868
file_magic*)
7157
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6869
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7158
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6870
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7159
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6871
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7160
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6872
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7161
  $as_echo_n "(cached) " >&6
6873
  $as_echo_n "(cached) " >&6
7162
else
6874
else
7163
  case $MAGIC_CMD in
6875
  case $MAGIC_CMD in
7164
[\\/*] |  ?:[\\/]*)
6876
[\\/*] |  ?:[\\/]*)
7165
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6877
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7166
  ;;
6878
  ;;
7167
*)
6879
*)
7168
  lt_save_MAGIC_CMD="$MAGIC_CMD"
6880
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7169
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6881
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7170
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6882
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7171
  for ac_dir in $ac_dummy; do
6883
  for ac_dir in $ac_dummy; do
7172
    IFS="$lt_save_ifs"
6884
    IFS="$lt_save_ifs"
7173
    test -z "$ac_dir" && ac_dir=.
6885
    test -z "$ac_dir" && ac_dir=.
7174
    if test -f $ac_dir/${ac_tool_prefix}file; then
6886
    if test -f $ac_dir/${ac_tool_prefix}file; then
7175
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6887
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7176
      if test -n "$file_magic_test_file"; then
6888
      if test -n "$file_magic_test_file"; then
7177
	case $deplibs_check_method in
6889
	case $deplibs_check_method in
7178
	"file_magic "*)
6890
	"file_magic "*)
7179
	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6891
	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7180
	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6892
	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7181
	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6893
	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7182
	    $EGREP "$file_magic_regex" > /dev/null; then
6894
	    $EGREP "$file_magic_regex" > /dev/null; then
7183
	    :
6895
	    :
7184
	  else
6896
	  else
7185
	    cat <<_LT_EOF 1>&2
6897
	    cat <<_LT_EOF 1>&2
7186
 
6898
 
7187
*** Warning: the command libtool uses to detect shared libraries,
6899
*** Warning: the command libtool uses to detect shared libraries,
7188
*** $file_magic_cmd, produces output that libtool cannot recognize.
6900
*** $file_magic_cmd, produces output that libtool cannot recognize.
7189
*** The result is that libtool may fail to recognize shared libraries
6901
*** The result is that libtool may fail to recognize shared libraries
7190
*** as such.  This will affect the creation of libtool libraries that
6902
*** as such.  This will affect the creation of libtool libraries that
7191
*** depend on shared libraries, but programs linked with such libtool
6903
*** depend on shared libraries, but programs linked with such libtool
7192
*** libraries will work regardless of this problem.  Nevertheless, you
6904
*** libraries will work regardless of this problem.  Nevertheless, you
7193
*** may want to report the problem to your system manager and/or to
6905
*** may want to report the problem to your system manager and/or to
7194
*** bug-libtool@gnu.org
6906
*** bug-libtool@gnu.org
7195
 
6907
 
7196
_LT_EOF
6908
_LT_EOF
7197
	  fi ;;
6909
	  fi ;;
7198
	esac
6910
	esac
7199
      fi
6911
      fi
7200
      break
6912
      break
7201
    fi
6913
    fi
7202
  done
6914
  done
7203
  IFS="$lt_save_ifs"
6915
  IFS="$lt_save_ifs"
7204
  MAGIC_CMD="$lt_save_MAGIC_CMD"
6916
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7205
  ;;
6917
  ;;
7206
esac
6918
esac
7207
fi
6919
fi
7208
 
6920
 
7209
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6921
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7210
if test -n "$MAGIC_CMD"; then
6922
if test -n "$MAGIC_CMD"; then
7211
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6923
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7212
$as_echo "$MAGIC_CMD" >&6; }
6924
$as_echo "$MAGIC_CMD" >&6; }
7213
else
6925
else
7214
  { $as_echo "$as_me:$LINENO: result: no" >&5
6926
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7215
$as_echo "no" >&6; }
6927
$as_echo "no" >&6; }
7216
fi
6928
fi
7217
 
6929
 
7218
 
6930
 
7219
 
6931
 
7220
 
6932
 
7221
 
6933
 
7222
if test -z "$lt_cv_path_MAGIC_CMD"; then
6934
if test -z "$lt_cv_path_MAGIC_CMD"; then
7223
  if test -n "$ac_tool_prefix"; then
6935
  if test -n "$ac_tool_prefix"; then
7224
    { $as_echo "$as_me:$LINENO: checking for file" >&5
6936
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7225
$as_echo_n "checking for file... " >&6; }
6937
$as_echo_n "checking for file... " >&6; }
7226
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6938
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7227
  $as_echo_n "(cached) " >&6
6939
  $as_echo_n "(cached) " >&6
7228
else
6940
else
7229
  case $MAGIC_CMD in
6941
  case $MAGIC_CMD in
7230
[\\/*] |  ?:[\\/]*)
6942
[\\/*] |  ?:[\\/]*)
7231
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6943
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7232
  ;;
6944
  ;;
7233
*)
6945
*)
7234
  lt_save_MAGIC_CMD="$MAGIC_CMD"
6946
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7235
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6947
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7236
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6948
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7237
  for ac_dir in $ac_dummy; do
6949
  for ac_dir in $ac_dummy; do
7238
    IFS="$lt_save_ifs"
6950
    IFS="$lt_save_ifs"
7239
    test -z "$ac_dir" && ac_dir=.
6951
    test -z "$ac_dir" && ac_dir=.
7240
    if test -f $ac_dir/file; then
6952
    if test -f $ac_dir/file; then
7241
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
6953
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7242
      if test -n "$file_magic_test_file"; then
6954
      if test -n "$file_magic_test_file"; then
7243
	case $deplibs_check_method in
6955
	case $deplibs_check_method in
7244
	"file_magic "*)
6956
	"file_magic "*)
7245
	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6957
	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7246
	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6958
	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7247
	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6959
	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7248
	    $EGREP "$file_magic_regex" > /dev/null; then
6960
	    $EGREP "$file_magic_regex" > /dev/null; then
7249
	    :
6961
	    :
7250
	  else
6962
	  else
7251
	    cat <<_LT_EOF 1>&2
6963
	    cat <<_LT_EOF 1>&2
7252
 
6964
 
7253
*** Warning: the command libtool uses to detect shared libraries,
6965
*** Warning: the command libtool uses to detect shared libraries,
7254
*** $file_magic_cmd, produces output that libtool cannot recognize.
6966
*** $file_magic_cmd, produces output that libtool cannot recognize.
7255
*** The result is that libtool may fail to recognize shared libraries
6967
*** The result is that libtool may fail to recognize shared libraries
7256
*** as such.  This will affect the creation of libtool libraries that
6968
*** as such.  This will affect the creation of libtool libraries that
7257
*** depend on shared libraries, but programs linked with such libtool
6969
*** depend on shared libraries, but programs linked with such libtool
7258
*** libraries will work regardless of this problem.  Nevertheless, you
6970
*** libraries will work regardless of this problem.  Nevertheless, you
7259
*** may want to report the problem to your system manager and/or to
6971
*** may want to report the problem to your system manager and/or to
7260
*** bug-libtool@gnu.org
6972
*** bug-libtool@gnu.org
7261
 
6973
 
7262
_LT_EOF
6974
_LT_EOF
7263
	  fi ;;
6975
	  fi ;;
7264
	esac
6976
	esac
7265
      fi
6977
      fi
7266
      break
6978
      break
7267
    fi
6979
    fi
7268
  done
6980
  done
7269
  IFS="$lt_save_ifs"
6981
  IFS="$lt_save_ifs"
7270
  MAGIC_CMD="$lt_save_MAGIC_CMD"
6982
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7271
  ;;
6983
  ;;
7272
esac
6984
esac
7273
fi
6985
fi
7274
 
6986
 
7275
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6987
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7276
if test -n "$MAGIC_CMD"; then
6988
if test -n "$MAGIC_CMD"; then
7277
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6989
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7278
$as_echo "$MAGIC_CMD" >&6; }
6990
$as_echo "$MAGIC_CMD" >&6; }
7279
else
6991
else
7280
  { $as_echo "$as_me:$LINENO: result: no" >&5
6992
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281
$as_echo "no" >&6; }
6993
$as_echo "no" >&6; }
7282
fi
6994
fi
7283
 
6995
 
7284
 
6996
 
7285
  else
6997
  else
7286
    MAGIC_CMD=:
6998
    MAGIC_CMD=:
7287
  fi
6999
  fi
7288
fi
7000
fi
7289
 
7001
 
7290
  fi
7002
  fi
7291
  ;;
7003
  ;;
7292
esac
7004
esac
7293
 
7005
 
7294
# Use C for the default configuration in the libtool script
7006
# Use C for the default configuration in the libtool script
7295
 
7007
 
7296
lt_save_CC="$CC"
7008
lt_save_CC="$CC"
7297
ac_ext=c
7009
ac_ext=c
7298
ac_cpp='$CPP $CPPFLAGS'
7010
ac_cpp='$CPP $CPPFLAGS'
7299
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7011
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7300
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7012
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7301
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7013
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7302
 
7014
 
7303
 
7015
 
7304
# Source file extension for C test sources.
7016
# Source file extension for C test sources.
7305
ac_ext=c
7017
ac_ext=c
7306
 
7018
 
7307
# Object file extension for compiled C test sources.
7019
# Object file extension for compiled C test sources.
7308
objext=o
7020
objext=o
7309
objext=$objext
7021
objext=$objext
7310
 
7022
 
7311
# Code to be used in simple compile tests
7023
# Code to be used in simple compile tests
7312
lt_simple_compile_test_code="int some_variable = 0;"
7024
lt_simple_compile_test_code="int some_variable = 0;"
7313
 
7025
 
7314
# Code to be used in simple link tests
7026
# Code to be used in simple link tests
7315
lt_simple_link_test_code='int main(){return(0);}'
7027
lt_simple_link_test_code='int main(){return(0);}'
7316
 
7028
 
7317
 
7029
 
7318
 
7030
 
7319
 
7031
 
7320
 
7032
 
7321
 
7033
 
7322
 
7034
 
7323
# If no C compiler was specified, use CC.
7035
# If no C compiler was specified, use CC.
7324
LTCC=${LTCC-"$CC"}
7036
LTCC=${LTCC-"$CC"}
7325
 
7037
 
7326
# If no C compiler flags were specified, use CFLAGS.
7038
# If no C compiler flags were specified, use CFLAGS.
7327
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7039
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7328
 
7040
 
7329
# Allow CC to be a program name with arguments.
7041
# Allow CC to be a program name with arguments.
7330
compiler=$CC
7042
compiler=$CC
7331
 
7043
 
7332
# Save the default compiler, since it gets overwritten when the other
7044
# Save the default compiler, since it gets overwritten when the other
7333
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7045
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7334
compiler_DEFAULT=$CC
7046
compiler_DEFAULT=$CC
7335
 
7047
 
7336
# save warnings/boilerplate of simple test code
7048
# save warnings/boilerplate of simple test code
7337
ac_outfile=conftest.$ac_objext
7049
ac_outfile=conftest.$ac_objext
7338
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7050
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7339
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7051
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7340
_lt_compiler_boilerplate=`cat conftest.err`
7052
_lt_compiler_boilerplate=`cat conftest.err`
7341
$RM conftest*
7053
$RM conftest*
7342
 
7054
 
7343
ac_outfile=conftest.$ac_objext
7055
ac_outfile=conftest.$ac_objext
7344
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7056
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7345
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7057
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7346
_lt_linker_boilerplate=`cat conftest.err`
7058
_lt_linker_boilerplate=`cat conftest.err`
7347
$RM -r conftest*
7059
$RM -r conftest*
7348
 
7060
 
7349
 
7061
 
7350
if test -n "$compiler"; then
7062
if test -n "$compiler"; then
7351
 
7063
 
7352
lt_prog_compiler_no_builtin_flag=
7064
lt_prog_compiler_no_builtin_flag=
7353
 
7065
 
7354
if test "$GCC" = yes; then
7066
if test "$GCC" = yes; then
7355
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7067
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7356
 
7068
 
7357
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7069
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7358
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7070
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7359
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7071
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7360
  $as_echo_n "(cached) " >&6
7072
  $as_echo_n "(cached) " >&6
7361
else
7073
else
7362
  lt_cv_prog_compiler_rtti_exceptions=no
7074
  lt_cv_prog_compiler_rtti_exceptions=no
7363
   ac_outfile=conftest.$ac_objext
7075
   ac_outfile=conftest.$ac_objext
7364
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7076
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7365
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7077
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7366
   # Insert the option either (1) after the last *FLAGS variable, or
7078
   # Insert the option either (1) after the last *FLAGS variable, or
7367
   # (2) before a word containing "conftest.", or (3) at the end.
7079
   # (2) before a word containing "conftest.", or (3) at the end.
7368
   # Note that $ac_compile itself does not contain backslashes and begins
7080
   # Note that $ac_compile itself does not contain backslashes and begins
7369
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7081
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7370
   # The option is referenced via a variable to avoid confusing sed.
7082
   # The option is referenced via a variable to avoid confusing sed.
7371
   lt_compile=`echo "$ac_compile" | $SED \
7083
   lt_compile=`echo "$ac_compile" | $SED \
7372
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7084
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7373
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7085
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7374
   -e 's:$: $lt_compiler_flag:'`
7086
   -e 's:$: $lt_compiler_flag:'`
7375
   (eval echo "\"\$as_me:7375: $lt_compile\"" >&5)
7087
   (eval echo "\"\$as_me:7087: $lt_compile\"" >&5)
7376
   (eval "$lt_compile" 2>conftest.err)
7088
   (eval "$lt_compile" 2>conftest.err)
7377
   ac_status=$?
7089
   ac_status=$?
7378
   cat conftest.err >&5
7090
   cat conftest.err >&5
7379
   echo "$as_me:7379: \$? = $ac_status" >&5
7091
   echo "$as_me:7091: \$? = $ac_status" >&5
7380
   if (exit $ac_status) && test -s "$ac_outfile"; then
7092
   if (exit $ac_status) && test -s "$ac_outfile"; then
7381
     # The compiler can only warn and ignore the option if not recognized
7093
     # The compiler can only warn and ignore the option if not recognized
7382
     # So say no if there are warnings other than the usual output.
7094
     # So say no if there are warnings other than the usual output.
7383
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7095
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7384
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7096
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7385
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7097
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7386
       lt_cv_prog_compiler_rtti_exceptions=yes
7098
       lt_cv_prog_compiler_rtti_exceptions=yes
7387
     fi
7099
     fi
7388
   fi
7100
   fi
7389
   $RM conftest*
7101
   $RM conftest*
7390
 
7102
 
7391
fi
7103
fi
7392
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7393
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7105
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7394
 
7106
 
7395
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7107
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7396
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7108
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7397
else
7109
else
7398
    :
7110
    :
7399
fi
7111
fi
7400
 
7112
 
7401
fi
7113
fi
7402
 
7114
 
7403
 
7115
 
7404
 
7116
 
7405
 
7117
 
7406
 
7118
 
7407
 
7119
 
7408
  lt_prog_compiler_wl=
7120
  lt_prog_compiler_wl=
7409
lt_prog_compiler_pic=
7121
lt_prog_compiler_pic=
7410
lt_prog_compiler_static=
7122
lt_prog_compiler_static=
7411
 
7123
 
7412
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7124
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7413
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7125
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7414
 
7126
 
7415
  if test "$GCC" = yes; then
7127
  if test "$GCC" = yes; then
7416
    lt_prog_compiler_wl='-Wl,'
7128
    lt_prog_compiler_wl='-Wl,'
7417
    lt_prog_compiler_static='-static'
7129
    lt_prog_compiler_static='-static'
7418
 
7130
 
7419
    case $host_os in
7131
    case $host_os in
7420
      aix*)
7132
      aix*)
7421
      # All AIX code is PIC.
7133
      # All AIX code is PIC.
7422
      if test "$host_cpu" = ia64; then
7134
      if test "$host_cpu" = ia64; then
7423
	# AIX 5 now supports IA64 processor
7135
	# AIX 5 now supports IA64 processor
7424
	lt_prog_compiler_static='-Bstatic'
7136
	lt_prog_compiler_static='-Bstatic'
7425
      fi
7137
      fi
7426
      ;;
7138
      ;;
7427
 
7139
 
7428
    amigaos*)
7140
    amigaos*)
7429
      case $host_cpu in
7141
      case $host_cpu in
7430
      powerpc)
7142
      powerpc)
7431
            # see comment about AmigaOS4 .so support
7143
            # see comment about AmigaOS4 .so support
7432
            lt_prog_compiler_pic='-fPIC'
7144
            lt_prog_compiler_pic='-fPIC'
7433
        ;;
7145
        ;;
7434
      m68k)
7146
      m68k)
7435
            # FIXME: we need at least 68020 code to build shared libraries, but
7147
            # FIXME: we need at least 68020 code to build shared libraries, but
7436
            # adding the `-m68020' flag to GCC prevents building anything better,
7148
            # adding the `-m68020' flag to GCC prevents building anything better,
7437
            # like `-m68040'.
7149
            # like `-m68040'.
7438
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7150
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7439
        ;;
7151
        ;;
7440
      esac
7152
      esac
7441
      ;;
7153
      ;;
7442
 
7154
 
7443
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7155
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7444
      # PIC is the default for these OSes.
7156
      # PIC is the default for these OSes.
7445
      ;;
7157
      ;;
7446
 
7158
 
7447
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7159
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7448
      # This hack is so that the source file can tell whether it is being
7160
      # This hack is so that the source file can tell whether it is being
7449
      # built for inclusion in a dll (and should export symbols for example).
7161
      # built for inclusion in a dll (and should export symbols for example).
7450
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7162
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7451
      # (--disable-auto-import) libraries
7163
      # (--disable-auto-import) libraries
7452
      lt_prog_compiler_pic='-DDLL_EXPORT'
7164
      lt_prog_compiler_pic='-DDLL_EXPORT'
7453
      ;;
7165
      ;;
7454
 
7166
 
7455
    darwin* | rhapsody*)
7167
    darwin* | rhapsody*)
7456
      # PIC is the default on this platform
7168
      # PIC is the default on this platform
7457
      # Common symbols not allowed in MH_DYLIB files
7169
      # Common symbols not allowed in MH_DYLIB files
7458
      lt_prog_compiler_pic='-fno-common'
7170
      lt_prog_compiler_pic='-fno-common'
7459
      ;;
7171
      ;;
7460
 
7172
 
7461
    hpux*)
7173
    hpux*)
7462
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7174
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7463
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7175
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7464
      # sets the default TLS model and affects inlining.
7176
      # sets the default TLS model and affects inlining.
7465
      case $host_cpu in
7177
      case $host_cpu in
7466
      hppa*64*)
7178
      hppa*64*)
7467
	# +Z the default
7179
	# +Z the default
7468
	;;
7180
	;;
7469
      *)
7181
      *)
7470
	lt_prog_compiler_pic='-fPIC'
7182
	lt_prog_compiler_pic='-fPIC'
7471
	;;
7183
	;;
7472
      esac
7184
      esac
7473
      ;;
7185
      ;;
7474
 
7186
 
7475
    interix[3-9]*)
7187
    interix[3-9]*)
7476
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7188
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7477
      # Instead, we relocate shared libraries at runtime.
7189
      # Instead, we relocate shared libraries at runtime.
7478
      ;;
7190
      ;;
7479
 
7191
 
7480
    msdosdjgpp*)
7192
    msdosdjgpp*)
7481
      # Just because we use GCC doesn't mean we suddenly get shared libraries
7193
      # Just because we use GCC doesn't mean we suddenly get shared libraries
7482
      # on systems that don't support them.
7194
      # on systems that don't support them.
7483
      lt_prog_compiler_can_build_shared=no
7195
      lt_prog_compiler_can_build_shared=no
7484
      enable_shared=no
7196
      enable_shared=no
7485
      ;;
7197
      ;;
7486
 
7198
 
7487
    *nto* | *qnx*)
7199
    *nto* | *qnx*)
7488
      # QNX uses GNU C++, but need to define -shared option too, otherwise
7200
      # QNX uses GNU C++, but need to define -shared option too, otherwise
7489
      # it will coredump.
7201
      # it will coredump.
7490
      lt_prog_compiler_pic='-fPIC -shared'
7202
      lt_prog_compiler_pic='-fPIC -shared'
7491
      ;;
7203
      ;;
7492
 
7204
 
7493
    sysv4*MP*)
7205
    sysv4*MP*)
7494
      if test -d /usr/nec; then
7206
      if test -d /usr/nec; then
7495
	lt_prog_compiler_pic=-Kconform_pic
7207
	lt_prog_compiler_pic=-Kconform_pic
7496
      fi
7208
      fi
7497
      ;;
7209
      ;;
7498
 
7210
 
7499
    *)
7211
    *)
7500
      lt_prog_compiler_pic='-fPIC'
7212
      lt_prog_compiler_pic='-fPIC'
7501
      ;;
7213
      ;;
7502
    esac
7214
    esac
7503
  else
7215
  else
7504
    # PORTME Check for flag to pass linker flags through the system compiler.
7216
    # PORTME Check for flag to pass linker flags through the system compiler.
7505
    case $host_os in
7217
    case $host_os in
7506
    aix*)
7218
    aix*)
7507
      lt_prog_compiler_wl='-Wl,'
7219
      lt_prog_compiler_wl='-Wl,'
7508
      if test "$host_cpu" = ia64; then
7220
      if test "$host_cpu" = ia64; then
7509
	# AIX 5 now supports IA64 processor
7221
	# AIX 5 now supports IA64 processor
7510
	lt_prog_compiler_static='-Bstatic'
7222
	lt_prog_compiler_static='-Bstatic'
7511
      else
7223
      else
7512
	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7224
	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7513
      fi
7225
      fi
7514
      ;;
7226
      ;;
7515
 
7227
 
7516
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7228
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7517
      # This hack is so that the source file can tell whether it is being
7229
      # This hack is so that the source file can tell whether it is being
7518
      # built for inclusion in a dll (and should export symbols for example).
7230
      # built for inclusion in a dll (and should export symbols for example).
7519
      lt_prog_compiler_pic='-DDLL_EXPORT'
7231
      lt_prog_compiler_pic='-DDLL_EXPORT'
7520
      ;;
7232
      ;;
7521
 
7233
 
7522
    hpux9* | hpux10* | hpux11*)
7234
    hpux9* | hpux10* | hpux11*)
7523
      lt_prog_compiler_wl='-Wl,'
7235
      lt_prog_compiler_wl='-Wl,'
7524
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7236
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7525
      # not for PA HP-UX.
7237
      # not for PA HP-UX.
7526
      case $host_cpu in
7238
      case $host_cpu in
7527
      hppa*64*|ia64*)
7239
      hppa*64*|ia64*)
7528
	# +Z the default
7240
	# +Z the default
7529
	;;
7241
	;;
7530
      *)
7242
      *)
7531
	lt_prog_compiler_pic='+Z'
7243
	lt_prog_compiler_pic='+Z'
7532
	;;
7244
	;;
7533
      esac
7245
      esac
7534
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7246
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7535
      lt_prog_compiler_static='${wl}-a ${wl}archive'
7247
      lt_prog_compiler_static='${wl}-a ${wl}archive'
7536
      ;;
7248
      ;;
7537
 
7249
 
7538
    irix5* | irix6* | nonstopux*)
7250
    irix5* | irix6* | nonstopux*)
7539
      lt_prog_compiler_wl='-Wl,'
7251
      lt_prog_compiler_wl='-Wl,'
7540
      # PIC (with -KPIC) is the default.
7252
      # PIC (with -KPIC) is the default.
7541
      lt_prog_compiler_static='-non_shared'
7253
      lt_prog_compiler_static='-non_shared'
7542
      ;;
7254
      ;;
7543
 
7255
 
7544
    linux* | k*bsd*-gnu)
7256
    linux* | k*bsd*-gnu)
7545
      case $cc_basename in
7257
      case $cc_basename in
7546
      # old Intel for x86_64 which still supported -KPIC.
7258
      # old Intel for x86_64 which still supported -KPIC.
7547
      ecc*)
7259
      ecc*)
7548
	lt_prog_compiler_wl='-Wl,'
7260
	lt_prog_compiler_wl='-Wl,'
7549
	lt_prog_compiler_pic='-KPIC'
7261
	lt_prog_compiler_pic='-KPIC'
7550
	lt_prog_compiler_static='-static'
7262
	lt_prog_compiler_static='-static'
7551
        ;;
7263
        ;;
7552
      # icc used to be incompatible with GCC.
7264
      # icc used to be incompatible with GCC.
7553
      # ICC 10 doesn't accept -KPIC any more.
7265
      # ICC 10 doesn't accept -KPIC any more.
7554
      icc* | ifort*)
7266
      icc* | ifort*)
7555
	lt_prog_compiler_wl='-Wl,'
7267
	lt_prog_compiler_wl='-Wl,'
7556
	lt_prog_compiler_pic='-fPIC'
7268
	lt_prog_compiler_pic='-fPIC'
7557
	lt_prog_compiler_static='-static'
7269
	lt_prog_compiler_static='-static'
7558
        ;;
7270
        ;;
7559
      # Lahey Fortran 8.1.
7271
      # Lahey Fortran 8.1.
7560
      lf95*)
7272
      lf95*)
7561
	lt_prog_compiler_wl='-Wl,'
7273
	lt_prog_compiler_wl='-Wl,'
7562
	lt_prog_compiler_pic='--shared'
7274
	lt_prog_compiler_pic='--shared'
7563
	lt_prog_compiler_static='--static'
7275
	lt_prog_compiler_static='--static'
7564
	;;
7276
	;;
7565
      pgcc* | pgf77* | pgf90* | pgf95*)
7277
      pgcc* | pgf77* | pgf90* | pgf95*)
7566
        # Portland Group compilers (*not* the Pentium gcc compiler,
7278
        # Portland Group compilers (*not* the Pentium gcc compiler,
7567
	# which looks to be a dead project)
7279
	# which looks to be a dead project)
7568
	lt_prog_compiler_wl='-Wl,'
7280
	lt_prog_compiler_wl='-Wl,'
7569
	lt_prog_compiler_pic='-fpic'
7281
	lt_prog_compiler_pic='-fpic'
7570
	lt_prog_compiler_static='-Bstatic'
7282
	lt_prog_compiler_static='-Bstatic'
7571
        ;;
7283
        ;;
7572
      ccc*)
7284
      ccc*)
7573
        lt_prog_compiler_wl='-Wl,'
7285
        lt_prog_compiler_wl='-Wl,'
7574
        # All Alpha code is PIC.
7286
        # All Alpha code is PIC.
7575
        lt_prog_compiler_static='-non_shared'
7287
        lt_prog_compiler_static='-non_shared'
7576
        ;;
7288
        ;;
7577
      xl*)
7289
      xl*)
7578
	# IBM XL C 8.0/Fortran 10.1 on PPC
7290
	# IBM XL C 8.0/Fortran 10.1 on PPC
7579
	lt_prog_compiler_wl='-Wl,'
7291
	lt_prog_compiler_wl='-Wl,'
7580
	lt_prog_compiler_pic='-qpic'
7292
	lt_prog_compiler_pic='-qpic'
7581
	lt_prog_compiler_static='-qstaticlink'
7293
	lt_prog_compiler_static='-qstaticlink'
7582
	;;
7294
	;;
7583
      *)
7295
      *)
7584
	case `$CC -V 2>&1 | sed 5q` in
7296
	case `$CC -V 2>&1 | sed 5q` in
7585
	*Sun\ C*)
7297
	*Sun\ C*)
7586
	  # Sun C 5.9
7298
	  # Sun C 5.9
7587
	  lt_prog_compiler_pic='-KPIC'
7299
	  lt_prog_compiler_pic='-KPIC'
7588
	  lt_prog_compiler_static='-Bstatic'
7300
	  lt_prog_compiler_static='-Bstatic'
7589
	  lt_prog_compiler_wl='-Wl,'
7301
	  lt_prog_compiler_wl='-Wl,'
7590
	  ;;
7302
	  ;;
7591
	*Sun\ F*)
7303
	*Sun\ F*)
7592
	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
7304
	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
7593
	  lt_prog_compiler_pic='-KPIC'
7305
	  lt_prog_compiler_pic='-KPIC'
7594
	  lt_prog_compiler_static='-Bstatic'
7306
	  lt_prog_compiler_static='-Bstatic'
7595
	  lt_prog_compiler_wl=''
7307
	  lt_prog_compiler_wl=''
7596
	  ;;
7308
	  ;;
7597
	esac
7309
	esac
7598
	;;
7310
	;;
7599
      esac
7311
      esac
7600
      ;;
7312
      ;;
7601
 
7313
 
7602
    newsos6)
7314
    newsos6)
7603
      lt_prog_compiler_pic='-KPIC'
7315
      lt_prog_compiler_pic='-KPIC'
7604
      lt_prog_compiler_static='-Bstatic'
7316
      lt_prog_compiler_static='-Bstatic'
7605
      ;;
7317
      ;;
7606
 
7318
 
7607
    *nto* | *qnx*)
7319
    *nto* | *qnx*)
7608
      # QNX uses GNU C++, but need to define -shared option too, otherwise
7320
      # QNX uses GNU C++, but need to define -shared option too, otherwise
7609
      # it will coredump.
7321
      # it will coredump.
7610
      lt_prog_compiler_pic='-fPIC -shared'
7322
      lt_prog_compiler_pic='-fPIC -shared'
7611
      ;;
7323
      ;;
7612
 
7324
 
7613
    osf3* | osf4* | osf5*)
7325
    osf3* | osf4* | osf5*)
7614
      lt_prog_compiler_wl='-Wl,'
7326
      lt_prog_compiler_wl='-Wl,'
7615
      # All OSF/1 code is PIC.
7327
      # All OSF/1 code is PIC.
7616
      lt_prog_compiler_static='-non_shared'
7328
      lt_prog_compiler_static='-non_shared'
7617
      ;;
7329
      ;;
7618
 
7330
 
7619
    rdos*)
7331
    rdos*)
7620
      lt_prog_compiler_static='-non_shared'
7332
      lt_prog_compiler_static='-non_shared'
7621
      ;;
7333
      ;;
7622
 
7334
 
7623
    solaris*)
7335
    solaris*)
7624
      lt_prog_compiler_pic='-KPIC'
7336
      lt_prog_compiler_pic='-KPIC'
7625
      lt_prog_compiler_static='-Bstatic'
7337
      lt_prog_compiler_static='-Bstatic'
7626
      case $cc_basename in
7338
      case $cc_basename in
7627
      f77* | f90* | f95*)
7339
      f77* | f90* | f95*)
7628
	lt_prog_compiler_wl='-Qoption ld ';;
7340
	lt_prog_compiler_wl='-Qoption ld ';;
7629
      *)
7341
      *)
7630
	lt_prog_compiler_wl='-Wl,';;
7342
	lt_prog_compiler_wl='-Wl,';;
7631
      esac
7343
      esac
7632
      ;;
7344
      ;;
7633
 
7345
 
7634
    sunos4*)
7346
    sunos4*)
7635
      lt_prog_compiler_wl='-Qoption ld '
7347
      lt_prog_compiler_wl='-Qoption ld '
7636
      lt_prog_compiler_pic='-PIC'
7348
      lt_prog_compiler_pic='-PIC'
7637
      lt_prog_compiler_static='-Bstatic'
7349
      lt_prog_compiler_static='-Bstatic'
7638
      ;;
7350
      ;;
7639
 
7351
 
7640
    sysv4 | sysv4.2uw2* | sysv4.3*)
7352
    sysv4 | sysv4.2uw2* | sysv4.3*)
7641
      lt_prog_compiler_wl='-Wl,'
7353
      lt_prog_compiler_wl='-Wl,'
7642
      lt_prog_compiler_pic='-KPIC'
7354
      lt_prog_compiler_pic='-KPIC'
7643
      lt_prog_compiler_static='-Bstatic'
7355
      lt_prog_compiler_static='-Bstatic'
7644
      ;;
7356
      ;;
7645
 
7357
 
7646
    sysv4*MP*)
7358
    sysv4*MP*)
7647
      if test -d /usr/nec ;then
7359
      if test -d /usr/nec ;then
7648
	lt_prog_compiler_pic='-Kconform_pic'
7360
	lt_prog_compiler_pic='-Kconform_pic'
7649
	lt_prog_compiler_static='-Bstatic'
7361
	lt_prog_compiler_static='-Bstatic'
7650
      fi
7362
      fi
7651
      ;;
7363
      ;;
7652
 
7364
 
7653
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7365
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7654
      lt_prog_compiler_wl='-Wl,'
7366
      lt_prog_compiler_wl='-Wl,'
7655
      lt_prog_compiler_pic='-KPIC'
7367
      lt_prog_compiler_pic='-KPIC'
7656
      lt_prog_compiler_static='-Bstatic'
7368
      lt_prog_compiler_static='-Bstatic'
7657
      ;;
7369
      ;;
7658
 
7370
 
7659
    unicos*)
7371
    unicos*)
7660
      lt_prog_compiler_wl='-Wl,'
7372
      lt_prog_compiler_wl='-Wl,'
7661
      lt_prog_compiler_can_build_shared=no
7373
      lt_prog_compiler_can_build_shared=no
7662
      ;;
7374
      ;;
7663
 
7375
 
7664
    uts4*)
7376
    uts4*)
7665
      lt_prog_compiler_pic='-pic'
7377
      lt_prog_compiler_pic='-pic'
7666
      lt_prog_compiler_static='-Bstatic'
7378
      lt_prog_compiler_static='-Bstatic'
7667
      ;;
7379
      ;;
7668
 
7380
 
7669
    *)
7381
    *)
7670
      lt_prog_compiler_can_build_shared=no
7382
      lt_prog_compiler_can_build_shared=no
7671
      ;;
7383
      ;;
7672
    esac
7384
    esac
7673
  fi
7385
  fi
7674
 
7386
 
7675
case $host_os in
7387
case $host_os in
7676
  # For platforms which do not support PIC, -DPIC is meaningless:
7388
  # For platforms which do not support PIC, -DPIC is meaningless:
7677
  *djgpp*)
7389
  *djgpp*)
7678
    lt_prog_compiler_pic=
7390
    lt_prog_compiler_pic=
7679
    ;;
7391
    ;;
7680
  *)
7392
  *)
7681
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7393
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7682
    ;;
7394
    ;;
7683
esac
7395
esac
7684
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7396
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7685
$as_echo "$lt_prog_compiler_pic" >&6; }
7397
$as_echo "$lt_prog_compiler_pic" >&6; }
7686
 
7398
 
7687
 
7399
 
7688
 
7400
 
7689
 
7401
 
7690
 
7402
 
7691
 
7403
 
7692
#
7404
#
7693
# Check to make sure the PIC flag actually works.
7405
# Check to make sure the PIC flag actually works.
7694
#
7406
#
7695
if test -n "$lt_prog_compiler_pic"; then
7407
if test -n "$lt_prog_compiler_pic"; then
7696
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7408
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7697
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7409
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7698
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7410
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7699
  $as_echo_n "(cached) " >&6
7411
  $as_echo_n "(cached) " >&6
7700
else
7412
else
7701
  lt_cv_prog_compiler_pic_works=no
7413
  lt_cv_prog_compiler_pic_works=no
7702
   ac_outfile=conftest.$ac_objext
7414
   ac_outfile=conftest.$ac_objext
7703
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7415
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7704
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7416
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7705
   # Insert the option either (1) after the last *FLAGS variable, or
7417
   # Insert the option either (1) after the last *FLAGS variable, or
7706
   # (2) before a word containing "conftest.", or (3) at the end.
7418
   # (2) before a word containing "conftest.", or (3) at the end.
7707
   # Note that $ac_compile itself does not contain backslashes and begins
7419
   # Note that $ac_compile itself does not contain backslashes and begins
7708
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7420
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7709
   # The option is referenced via a variable to avoid confusing sed.
7421
   # The option is referenced via a variable to avoid confusing sed.
7710
   lt_compile=`echo "$ac_compile" | $SED \
7422
   lt_compile=`echo "$ac_compile" | $SED \
7711
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7423
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7712
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7424
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7713
   -e 's:$: $lt_compiler_flag:'`
7425
   -e 's:$: $lt_compiler_flag:'`
7714
   (eval echo "\"\$as_me:7714: $lt_compile\"" >&5)
7426
   (eval echo "\"\$as_me:7426: $lt_compile\"" >&5)
7715
   (eval "$lt_compile" 2>conftest.err)
7427
   (eval "$lt_compile" 2>conftest.err)
7716
   ac_status=$?
7428
   ac_status=$?
7717
   cat conftest.err >&5
7429
   cat conftest.err >&5
7718
   echo "$as_me:7718: \$? = $ac_status" >&5
7430
   echo "$as_me:7430: \$? = $ac_status" >&5
7719
   if (exit $ac_status) && test -s "$ac_outfile"; then
7431
   if (exit $ac_status) && test -s "$ac_outfile"; then
7720
     # The compiler can only warn and ignore the option if not recognized
7432
     # The compiler can only warn and ignore the option if not recognized
7721
     # So say no if there are warnings other than the usual output.
7433
     # So say no if there are warnings other than the usual output.
7722
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7434
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7723
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7435
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7724
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7436
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7725
       lt_cv_prog_compiler_pic_works=yes
7437
       lt_cv_prog_compiler_pic_works=yes
7726
     fi
7438
     fi
7727
   fi
7439
   fi
7728
   $RM conftest*
7440
   $RM conftest*
7729
 
7441
 
7730
fi
7442
fi
7731
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7732
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7444
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7733
 
7445
 
7734
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7446
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7735
    case $lt_prog_compiler_pic in
7447
    case $lt_prog_compiler_pic in
7736
     "" | " "*) ;;
7448
     "" | " "*) ;;
7737
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7449
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7738
     esac
7450
     esac
7739
else
7451
else
7740
    lt_prog_compiler_pic=
7452
    lt_prog_compiler_pic=
7741
     lt_prog_compiler_can_build_shared=no
7453
     lt_prog_compiler_can_build_shared=no
7742
fi
7454
fi
7743
 
7455
 
7744
fi
7456
fi
7745
 
7457
 
7746
 
7458
 
7747
 
7459
 
7748
 
7460
 
7749
 
7461
 
7750
 
7462
 
7751
#
7463
#
7752
# Check to make sure the static flag actually works.
7464
# Check to make sure the static flag actually works.
7753
#
7465
#
7754
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7466
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7755
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7756
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7468
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7757
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7469
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7758
  $as_echo_n "(cached) " >&6
7470
  $as_echo_n "(cached) " >&6
7759
else
7471
else
7760
  lt_cv_prog_compiler_static_works=no
7472
  lt_cv_prog_compiler_static_works=no
7761
   save_LDFLAGS="$LDFLAGS"
7473
   save_LDFLAGS="$LDFLAGS"
7762
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7474
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7763
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7475
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7764
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7476
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7765
     # The linker can only warn and ignore the option if not recognized
7477
     # The linker can only warn and ignore the option if not recognized
7766
     # So say no if there are warnings
7478
     # So say no if there are warnings
7767
     if test -s conftest.err; then
7479
     if test -s conftest.err; then
7768
       # Append any errors to the config.log.
7480
       # Append any errors to the config.log.
7769
       cat conftest.err 1>&5
7481
       cat conftest.err 1>&5
7770
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7482
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7771
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7483
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7772
       if diff conftest.exp conftest.er2 >/dev/null; then
7484
       if diff conftest.exp conftest.er2 >/dev/null; then
7773
         lt_cv_prog_compiler_static_works=yes
7485
         lt_cv_prog_compiler_static_works=yes
7774
       fi
7486
       fi
7775
     else
7487
     else
7776
       lt_cv_prog_compiler_static_works=yes
7488
       lt_cv_prog_compiler_static_works=yes
7777
     fi
7489
     fi
7778
   fi
7490
   fi
7779
   $RM -r conftest*
7491
   $RM -r conftest*
7780
   LDFLAGS="$save_LDFLAGS"
7492
   LDFLAGS="$save_LDFLAGS"
7781
 
7493
 
7782
fi
7494
fi
7783
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7784
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7496
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7785
 
7497
 
7786
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7498
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7787
    :
7499
    :
7788
else
7500
else
7789
    lt_prog_compiler_static=
7501
    lt_prog_compiler_static=
7790
fi
7502
fi
7791
 
7503
 
7792
 
7504
 
7793
 
7505
 
7794
 
7506
 
7795
 
7507
 
7796
 
7508
 
7797
 
7509
 
7798
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7510
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7799
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7511
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7800
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7512
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7801
  $as_echo_n "(cached) " >&6
7513
  $as_echo_n "(cached) " >&6
7802
else
7514
else
7803
  lt_cv_prog_compiler_c_o=no
7515
  lt_cv_prog_compiler_c_o=no
7804
   $RM -r conftest 2>/dev/null
7516
   $RM -r conftest 2>/dev/null
7805
   mkdir conftest
7517
   mkdir conftest
7806
   cd conftest
7518
   cd conftest
7807
   mkdir out
7519
   mkdir out
7808
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7520
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7809
 
7521
 
7810
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7522
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7811
   # Insert the option either (1) after the last *FLAGS variable, or
7523
   # Insert the option either (1) after the last *FLAGS variable, or
7812
   # (2) before a word containing "conftest.", or (3) at the end.
7524
   # (2) before a word containing "conftest.", or (3) at the end.
7813
   # Note that $ac_compile itself does not contain backslashes and begins
7525
   # Note that $ac_compile itself does not contain backslashes and begins
7814
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7526
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7815
   lt_compile=`echo "$ac_compile" | $SED \
7527
   lt_compile=`echo "$ac_compile" | $SED \
7816
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7528
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7817
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7529
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7818
   -e 's:$: $lt_compiler_flag:'`
7530
   -e 's:$: $lt_compiler_flag:'`
7819
   (eval echo "\"\$as_me:7819: $lt_compile\"" >&5)
7531
   (eval echo "\"\$as_me:7531: $lt_compile\"" >&5)
7820
   (eval "$lt_compile" 2>out/conftest.err)
7532
   (eval "$lt_compile" 2>out/conftest.err)
7821
   ac_status=$?
7533
   ac_status=$?
7822
   cat out/conftest.err >&5
7534
   cat out/conftest.err >&5
7823
   echo "$as_me:7823: \$? = $ac_status" >&5
7535
   echo "$as_me:7535: \$? = $ac_status" >&5
7824
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7536
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7825
   then
7537
   then
7826
     # The compiler can only warn and ignore the option if not recognized
7538
     # The compiler can only warn and ignore the option if not recognized
7827
     # So say no if there are warnings
7539
     # So say no if there are warnings
7828
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7540
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7829
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7541
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7830
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7542
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7831
       lt_cv_prog_compiler_c_o=yes
7543
       lt_cv_prog_compiler_c_o=yes
7832
     fi
7544
     fi
7833
   fi
7545
   fi
7834
   chmod u+w . 2>&5
7546
   chmod u+w . 2>&5
7835
   $RM conftest*
7547
   $RM conftest*
7836
   # SGI C++ compiler will create directory out/ii_files/ for
7548
   # SGI C++ compiler will create directory out/ii_files/ for
7837
   # template instantiation
7549
   # template instantiation
7838
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7550
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7839
   $RM out/* && rmdir out
7551
   $RM out/* && rmdir out
7840
   cd ..
7552
   cd ..
7841
   $RM -r conftest
7553
   $RM -r conftest
7842
   $RM conftest*
7554
   $RM conftest*
7843
 
7555
 
7844
fi
7556
fi
7845
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7846
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7558
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7847
 
7559
 
7848
 
7560
 
7849
 
7561
 
7850
 
7562
 
7851
 
7563
 
7852
 
7564
 
7853
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7565
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7854
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7566
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7855
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7567
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7856
  $as_echo_n "(cached) " >&6
7568
  $as_echo_n "(cached) " >&6
7857
else
7569
else
7858
  lt_cv_prog_compiler_c_o=no
7570
  lt_cv_prog_compiler_c_o=no
7859
   $RM -r conftest 2>/dev/null
7571
   $RM -r conftest 2>/dev/null
7860
   mkdir conftest
7572
   mkdir conftest
7861
   cd conftest
7573
   cd conftest
7862
   mkdir out
7574
   mkdir out
7863
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7575
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7864
 
7576
 
7865
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7577
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7866
   # Insert the option either (1) after the last *FLAGS variable, or
7578
   # Insert the option either (1) after the last *FLAGS variable, or
7867
   # (2) before a word containing "conftest.", or (3) at the end.
7579
   # (2) before a word containing "conftest.", or (3) at the end.
7868
   # Note that $ac_compile itself does not contain backslashes and begins
7580
   # Note that $ac_compile itself does not contain backslashes and begins
7869
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7581
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7870
   lt_compile=`echo "$ac_compile" | $SED \
7582
   lt_compile=`echo "$ac_compile" | $SED \
7871
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7583
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7872
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7584
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7873
   -e 's:$: $lt_compiler_flag:'`
7585
   -e 's:$: $lt_compiler_flag:'`
7874
   (eval echo "\"\$as_me:7874: $lt_compile\"" >&5)
7586
   (eval echo "\"\$as_me:7586: $lt_compile\"" >&5)
7875
   (eval "$lt_compile" 2>out/conftest.err)
7587
   (eval "$lt_compile" 2>out/conftest.err)
7876
   ac_status=$?
7588
   ac_status=$?
7877
   cat out/conftest.err >&5
7589
   cat out/conftest.err >&5
7878
   echo "$as_me:7878: \$? = $ac_status" >&5
7590
   echo "$as_me:7590: \$? = $ac_status" >&5
7879
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7591
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7880
   then
7592
   then
7881
     # The compiler can only warn and ignore the option if not recognized
7593
     # The compiler can only warn and ignore the option if not recognized
7882
     # So say no if there are warnings
7594
     # So say no if there are warnings
7883
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7595
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7884
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7596
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7885
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7597
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7886
       lt_cv_prog_compiler_c_o=yes
7598
       lt_cv_prog_compiler_c_o=yes
7887
     fi
7599
     fi
7888
   fi
7600
   fi
7889
   chmod u+w . 2>&5
7601
   chmod u+w . 2>&5
7890
   $RM conftest*
7602
   $RM conftest*
7891
   # SGI C++ compiler will create directory out/ii_files/ for
7603
   # SGI C++ compiler will create directory out/ii_files/ for
7892
   # template instantiation
7604
   # template instantiation
7893
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7605
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7894
   $RM out/* && rmdir out
7606
   $RM out/* && rmdir out
7895
   cd ..
7607
   cd ..
7896
   $RM -r conftest
7608
   $RM -r conftest
7897
   $RM conftest*
7609
   $RM conftest*
7898
 
7610
 
7899
fi
7611
fi
7900
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7901
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7613
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7902
 
7614
 
7903
 
7615
 
7904
 
7616
 
7905
 
7617
 
7906
hard_links="nottested"
7618
hard_links="nottested"
7907
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7619
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7908
  # do not overwrite the value of need_locks provided by the user
7620
  # do not overwrite the value of need_locks provided by the user
7909
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7621
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7910
$as_echo_n "checking if we can lock with hard links... " >&6; }
7622
$as_echo_n "checking if we can lock with hard links... " >&6; }
7911
  hard_links=yes
7623
  hard_links=yes
7912
  $RM conftest*
7624
  $RM conftest*
7913
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7625
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7914
  touch conftest.a
7626
  touch conftest.a
7915
  ln conftest.a conftest.b 2>&5 || hard_links=no
7627
  ln conftest.a conftest.b 2>&5 || hard_links=no
7916
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7628
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7917
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
7629
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7918
$as_echo "$hard_links" >&6; }
7630
$as_echo "$hard_links" >&6; }
7919
  if test "$hard_links" = no; then
7631
  if test "$hard_links" = no; then
7920
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7632
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7921
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7633
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7922
    need_locks=warn
7634
    need_locks=warn
7923
  fi
7635
  fi
7924
else
7636
else
7925
  need_locks=no
7637
  need_locks=no
7926
fi
7638
fi
7927
 
7639
 
7928
 
7640
 
7929
 
7641
 
7930
 
7642
 
7931
 
7643
 
7932
 
7644
 
7933
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7645
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7934
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7646
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7935
 
7647
 
7936
  runpath_var=
7648
  runpath_var=
7937
  allow_undefined_flag=
7649
  allow_undefined_flag=
7938
  always_export_symbols=no
7650
  always_export_symbols=no
7939
  archive_cmds=
7651
  archive_cmds=
7940
  archive_expsym_cmds=
7652
  archive_expsym_cmds=
7941
  compiler_needs_object=no
7653
  compiler_needs_object=no
7942
  enable_shared_with_static_runtimes=no
7654
  enable_shared_with_static_runtimes=no
7943
  export_dynamic_flag_spec=
7655
  export_dynamic_flag_spec=
7944
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7656
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7945
  hardcode_automatic=no
7657
  hardcode_automatic=no
7946
  hardcode_direct=no
7658
  hardcode_direct=no
7947
  hardcode_direct_absolute=no
7659
  hardcode_direct_absolute=no
7948
  hardcode_libdir_flag_spec=
7660
  hardcode_libdir_flag_spec=
7949
  hardcode_libdir_flag_spec_ld=
7661
  hardcode_libdir_flag_spec_ld=
7950
  hardcode_libdir_separator=
7662
  hardcode_libdir_separator=
7951
  hardcode_minus_L=no
7663
  hardcode_minus_L=no
7952
  hardcode_shlibpath_var=unsupported
7664
  hardcode_shlibpath_var=unsupported
7953
  inherit_rpath=no
7665
  inherit_rpath=no
7954
  link_all_deplibs=unknown
7666
  link_all_deplibs=unknown
7955
  module_cmds=
7667
  module_cmds=
7956
  module_expsym_cmds=
7668
  module_expsym_cmds=
7957
  old_archive_from_new_cmds=
7669
  old_archive_from_new_cmds=
7958
  old_archive_from_expsyms_cmds=
7670
  old_archive_from_expsyms_cmds=
7959
  thread_safe_flag_spec=
7671
  thread_safe_flag_spec=
7960
  whole_archive_flag_spec=
7672
  whole_archive_flag_spec=
7961
  # include_expsyms should be a list of space-separated symbols to be *always*
7673
  # include_expsyms should be a list of space-separated symbols to be *always*
7962
  # included in the symbol list
7674
  # included in the symbol list
7963
  include_expsyms=
7675
  include_expsyms=
7964
  # exclude_expsyms can be an extended regexp of symbols to exclude
7676
  # exclude_expsyms can be an extended regexp of symbols to exclude
7965
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7677
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7966
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7678
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7967
  # as well as any symbol that contains `d'.
7679
  # as well as any symbol that contains `d'.
7968
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7680
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7969
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7681
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7970
  # platforms (ab)use it in PIC code, but their linkers get confused if
7682
  # platforms (ab)use it in PIC code, but their linkers get confused if
7971
  # the symbol is explicitly referenced.  Since portable code cannot
7683
  # the symbol is explicitly referenced.  Since portable code cannot
7972
  # rely on this symbol name, it's probably fine to never include it in
7684
  # rely on this symbol name, it's probably fine to never include it in
7973
  # preloaded symbol tables.
7685
  # preloaded symbol tables.
7974
  # Exclude shared library initialization/finalization symbols.
7686
  # Exclude shared library initialization/finalization symbols.
7975
  extract_expsyms_cmds=
7687
  extract_expsyms_cmds=
7976
 
7688
 
7977
  case $host_os in
7689
  case $host_os in
7978
  cygwin* | mingw* | pw32* | cegcc*)
7690
  cygwin* | mingw* | pw32* | cegcc*)
7979
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7691
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7980
    # When not using gcc, we currently assume that we are using
7692
    # When not using gcc, we currently assume that we are using
7981
    # Microsoft Visual C++.
7693
    # Microsoft Visual C++.
7982
    if test "$GCC" != yes; then
7694
    if test "$GCC" != yes; then
7983
      with_gnu_ld=no
7695
      with_gnu_ld=no
7984
    fi
7696
    fi
7985
    ;;
7697
    ;;
7986
  interix*)
7698
  interix*)
7987
    # we just hope/assume this is gcc and not c89 (= MSVC++)
7699
    # we just hope/assume this is gcc and not c89 (= MSVC++)
7988
    with_gnu_ld=yes
7700
    with_gnu_ld=yes
7989
    ;;
7701
    ;;
7990
  openbsd*)
7702
  openbsd*)
7991
    with_gnu_ld=no
7703
    with_gnu_ld=no
7992
    ;;
7704
    ;;
-
 
7705
  linux* | k*bsd*-gnu)
-
 
7706
    link_all_deplibs=no
-
 
7707
    ;;
7993
  esac
7708
  esac
7994
 
7709
 
7995
  ld_shlibs=yes
7710
  ld_shlibs=yes
7996
  if test "$with_gnu_ld" = yes; then
7711
  if test "$with_gnu_ld" = yes; then
7997
    # If archive_cmds runs LD, not CC, wlarc should be empty
7712
    # If archive_cmds runs LD, not CC, wlarc should be empty
7998
    wlarc='${wl}'
7713
    wlarc='${wl}'
7999
 
7714
 
8000
    # Set some defaults for GNU ld with shared library support. These
7715
    # Set some defaults for GNU ld with shared library support. These
8001
    # are reset later if shared libraries are not supported. Putting them
7716
    # are reset later if shared libraries are not supported. Putting them
8002
    # here allows them to be overridden if necessary.
7717
    # here allows them to be overridden if necessary.
8003
    runpath_var=LD_RUN_PATH
7718
    runpath_var=LD_RUN_PATH
8004
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7719
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8005
    export_dynamic_flag_spec='${wl}--export-dynamic'
7720
    export_dynamic_flag_spec='${wl}--export-dynamic'
8006
    # ancient GNU ld didn't support --whole-archive et. al.
7721
    # ancient GNU ld didn't support --whole-archive et. al.
8007
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7722
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8008
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7723
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8009
    else
7724
    else
8010
      whole_archive_flag_spec=
7725
      whole_archive_flag_spec=
8011
    fi
7726
    fi
8012
    supports_anon_versioning=no
7727
    supports_anon_versioning=no
8013
    case `$LD -v 2>&1` in
7728
    case `$LD -v 2>&1` in
8014
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7729
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8015
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7730
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8016
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7731
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8017
      *\ 2.11.*) ;; # other 2.11 versions
7732
      *\ 2.11.*) ;; # other 2.11 versions
8018
      *) supports_anon_versioning=yes ;;
7733
      *) supports_anon_versioning=yes ;;
8019
    esac
7734
    esac
8020
 
7735
 
8021
    # See if GNU ld supports shared libraries.
7736
    # See if GNU ld supports shared libraries.
8022
    case $host_os in
7737
    case $host_os in
8023
    aix[3-9]*)
7738
    aix[3-9]*)
8024
      # On AIX/PPC, the GNU linker is very broken
7739
      # On AIX/PPC, the GNU linker is very broken
8025
      if test "$host_cpu" != ia64; then
7740
      if test "$host_cpu" != ia64; then
8026
	ld_shlibs=no
7741
	ld_shlibs=no
8027
	cat <<_LT_EOF 1>&2
7742
	cat <<_LT_EOF 1>&2
8028
 
7743
 
8029
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7744
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8030
*** to be unable to reliably create shared libraries on AIX.
7745
*** to be unable to reliably create shared libraries on AIX.
8031
*** Therefore, libtool is disabling shared libraries support.  If you
7746
*** Therefore, libtool is disabling shared libraries support.  If you
8032
*** really care for shared libraries, you may want to modify your PATH
7747
*** really care for shared libraries, you may want to modify your PATH
8033
*** so that a non-GNU linker is found, and then restart.
7748
*** so that a non-GNU linker is found, and then restart.
8034
 
7749
 
8035
_LT_EOF
7750
_LT_EOF
8036
      fi
7751
      fi
8037
      ;;
7752
      ;;
8038
 
7753
 
8039
    amigaos*)
7754
    amigaos*)
8040
      case $host_cpu in
7755
      case $host_cpu in
8041
      powerpc)
7756
      powerpc)
8042
            # see comment about AmigaOS4 .so support
7757
            # see comment about AmigaOS4 .so support
8043
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7758
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8044
            archive_expsym_cmds=''
7759
            archive_expsym_cmds=''
8045
        ;;
7760
        ;;
8046
      m68k)
7761
      m68k)
8047
            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)'
7762
            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)'
8048
            hardcode_libdir_flag_spec='-L$libdir'
7763
            hardcode_libdir_flag_spec='-L$libdir'
8049
            hardcode_minus_L=yes
7764
            hardcode_minus_L=yes
8050
        ;;
7765
        ;;
8051
      esac
7766
      esac
8052
      ;;
7767
      ;;
8053
 
7768
 
8054
    beos*)
7769
    beos*)
8055
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7770
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8056
	allow_undefined_flag=unsupported
7771
	allow_undefined_flag=unsupported
8057
	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7772
	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8058
	# support --undefined.  This deserves some investigation.  FIXME
7773
	# support --undefined.  This deserves some investigation.  FIXME
8059
	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7774
	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8060
      else
7775
      else
8061
	ld_shlibs=no
7776
	ld_shlibs=no
8062
      fi
7777
      fi
8063
      ;;
7778
      ;;
8064
 
7779
 
8065
    cygwin* | mingw* | pw32* | cegcc*)
7780
    cygwin* | mingw* | pw32* | cegcc*)
8066
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7781
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8067
      # as there is no search path for DLLs.
7782
      # as there is no search path for DLLs.
8068
      hardcode_libdir_flag_spec='-L$libdir'
7783
      hardcode_libdir_flag_spec='-L$libdir'
8069
      allow_undefined_flag=unsupported
7784
      allow_undefined_flag=unsupported
8070
      always_export_symbols=no
7785
      always_export_symbols=no
8071
      enable_shared_with_static_runtimes=yes
7786
      enable_shared_with_static_runtimes=yes
8072
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7787
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8073
 
7788
 
8074
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7789
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8075
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7790
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8076
	# If the export-symbols file already is a .def file (1st line
7791
	# If the export-symbols file already is a .def file (1st line
8077
	# is EXPORTS), use it as is; otherwise, prepend...
7792
	# is EXPORTS), use it as is; otherwise, prepend...
8078
	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7793
	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8079
	  cp $export_symbols $output_objdir/$soname.def;
7794
	  cp $export_symbols $output_objdir/$soname.def;
8080
	else
7795
	else
8081
	  echo EXPORTS > $output_objdir/$soname.def;
7796
	  echo EXPORTS > $output_objdir/$soname.def;
8082
	  cat $export_symbols >> $output_objdir/$soname.def;
7797
	  cat $export_symbols >> $output_objdir/$soname.def;
8083
	fi~
7798
	fi~
8084
	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7799
	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8085
      else
7800
      else
8086
	ld_shlibs=no
7801
	ld_shlibs=no
8087
      fi
7802
      fi
8088
      ;;
7803
      ;;
8089
 
7804
 
8090
    interix[3-9]*)
7805
    interix[3-9]*)
8091
      hardcode_direct=no
7806
      hardcode_direct=no
8092
      hardcode_shlibpath_var=no
7807
      hardcode_shlibpath_var=no
8093
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7808
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8094
      export_dynamic_flag_spec='${wl}-E'
7809
      export_dynamic_flag_spec='${wl}-E'
8095
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7810
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8096
      # Instead, shared libraries are loaded at an image base (0x10000000 by
7811
      # Instead, shared libraries are loaded at an image base (0x10000000 by
8097
      # default) and relocated if they conflict, which is a slow very memory
7812
      # default) and relocated if they conflict, which is a slow very memory
8098
      # consuming and fragmenting process.  To avoid this, we pick a random,
7813
      # consuming and fragmenting process.  To avoid this, we pick a random,
8099
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7814
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8100
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7815
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8101
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7816
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8102
      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'
7817
      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'
8103
      ;;
7818
      ;;
8104
 
7819
 
8105
    gnu* | linux* | tpf* | k*bsd*-gnu)
7820
    gnu* | linux* | tpf* | k*bsd*-gnu)
8106
      tmp_diet=no
7821
      tmp_diet=no
8107
      if test "$host_os" = linux-dietlibc; then
7822
      if test "$host_os" = linux-dietlibc; then
8108
	case $cc_basename in
7823
	case $cc_basename in
8109
	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
7824
	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8110
	esac
7825
	esac
8111
      fi
7826
      fi
8112
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7827
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8113
	 && test "$tmp_diet" = no
7828
	 && test "$tmp_diet" = no
8114
      then
7829
      then
8115
	tmp_addflag=
7830
	tmp_addflag=
8116
	tmp_sharedflag='-shared'
7831
	tmp_sharedflag='-shared'
8117
	case $cc_basename,$host_cpu in
7832
	case $cc_basename,$host_cpu in
8118
        pgcc*)				# Portland Group C compiler
7833
        pgcc*)				# Portland Group C compiler
8119
	  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'
7834
	  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'
8120
	  tmp_addflag=' $pic_flag'
7835
	  tmp_addflag=' $pic_flag'
8121
	  ;;
7836
	  ;;
8122
	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
7837
	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
8123
	  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'
7838
	  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'
8124
	  tmp_addflag=' $pic_flag -Mnomain' ;;
7839
	  tmp_addflag=' $pic_flag -Mnomain' ;;
8125
	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
7840
	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8126
	  tmp_addflag=' -i_dynamic' ;;
7841
	  tmp_addflag=' -i_dynamic' ;;
8127
	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
7842
	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8128
	  tmp_addflag=' -i_dynamic -nofor_main' ;;
7843
	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8129
	ifc* | ifort*)			# Intel Fortran compiler
7844
	ifc* | ifort*)			# Intel Fortran compiler
8130
	  tmp_addflag=' -nofor_main' ;;
7845
	  tmp_addflag=' -nofor_main' ;;
8131
	lf95*)				# Lahey Fortran 8.1
7846
	lf95*)				# Lahey Fortran 8.1
8132
	  whole_archive_flag_spec=
7847
	  whole_archive_flag_spec=
8133
	  tmp_sharedflag='--shared' ;;
7848
	  tmp_sharedflag='--shared' ;;
8134
	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
7849
	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
8135
	  tmp_sharedflag='-qmkshrobj'
7850
	  tmp_sharedflag='-qmkshrobj'
8136
	  tmp_addflag= ;;
7851
	  tmp_addflag= ;;
8137
	esac
7852
	esac
8138
	case `$CC -V 2>&1 | sed 5q` in
7853
	case `$CC -V 2>&1 | sed 5q` in
8139
	*Sun\ C*)			# Sun C 5.9
7854
	*Sun\ C*)			# Sun C 5.9
8140
	  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'
7855
	  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'
8141
	  compiler_needs_object=yes
7856
	  compiler_needs_object=yes
8142
	  tmp_sharedflag='-G' ;;
7857
	  tmp_sharedflag='-G' ;;
8143
	*Sun\ F*)			# Sun Fortran 8.3
7858
	*Sun\ F*)			# Sun Fortran 8.3
8144
	  tmp_sharedflag='-G' ;;
7859
	  tmp_sharedflag='-G' ;;
8145
	esac
7860
	esac
8146
	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7861
	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8147
 
7862
 
8148
        if test "x$supports_anon_versioning" = xyes; then
7863
        if test "x$supports_anon_versioning" = xyes; then
8149
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7864
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8150
	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7865
	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8151
	    echo "local: *; };" >> $output_objdir/$libname.ver~
7866
	    echo "local: *; };" >> $output_objdir/$libname.ver~
8152
	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7867
	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8153
        fi
7868
        fi
8154
 
7869
 
8155
	case $cc_basename in
7870
	case $cc_basename in
8156
	xlf*)
7871
	xlf*)
8157
	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7872
	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8158
	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
7873
	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8159
	  hardcode_libdir_flag_spec=
7874
	  hardcode_libdir_flag_spec=
8160
	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
7875
	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
8161
	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7876
	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8162
	  if test "x$supports_anon_versioning" = xyes; then
7877
	  if test "x$supports_anon_versioning" = xyes; then
8163
	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7878
	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8164
	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7879
	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8165
	      echo "local: *; };" >> $output_objdir/$libname.ver~
7880
	      echo "local: *; };" >> $output_objdir/$libname.ver~
8166
	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7881
	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8167
	  fi
7882
	  fi
8168
	  ;;
7883
	  ;;
8169
	esac
7884
	esac
8170
      else
7885
      else
8171
        ld_shlibs=no
7886
        ld_shlibs=no
8172
      fi
7887
      fi
8173
      ;;
7888
      ;;
8174
 
7889
 
8175
    netbsd* | netbsdelf*-gnu)
7890
    netbsd* | netbsdelf*-gnu)
8176
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7891
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8177
	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7892
	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8178
	wlarc=
7893
	wlarc=
8179
      else
7894
      else
8180
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7895
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8181
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7896
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8182
      fi
7897
      fi
8183
      ;;
7898
      ;;
8184
 
7899
 
8185
    solaris*)
7900
    solaris*)
8186
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7901
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8187
	ld_shlibs=no
7902
	ld_shlibs=no
8188
	cat <<_LT_EOF 1>&2
7903
	cat <<_LT_EOF 1>&2
8189
 
7904
 
8190
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7905
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8191
*** create shared libraries on Solaris systems.  Therefore, libtool
7906
*** create shared libraries on Solaris systems.  Therefore, libtool
8192
*** is disabling shared libraries support.  We urge you to upgrade GNU
7907
*** is disabling shared libraries support.  We urge you to upgrade GNU
8193
*** binutils to release 2.9.1 or newer.  Another option is to modify
7908
*** binutils to release 2.9.1 or newer.  Another option is to modify
8194
*** your PATH or compiler configuration so that the native linker is
7909
*** your PATH or compiler configuration so that the native linker is
8195
*** used, and then restart.
7910
*** used, and then restart.
8196
 
7911
 
8197
_LT_EOF
7912
_LT_EOF
8198
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7913
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8199
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7914
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8200
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7915
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8201
      else
7916
      else
8202
	ld_shlibs=no
7917
	ld_shlibs=no
8203
      fi
7918
      fi
8204
      ;;
7919
      ;;
8205
 
7920
 
8206
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7921
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8207
      case `$LD -v 2>&1` in
7922
      case `$LD -v 2>&1` in
8208
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7923
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8209
	ld_shlibs=no
7924
	ld_shlibs=no
8210
	cat <<_LT_EOF 1>&2
7925
	cat <<_LT_EOF 1>&2
8211
 
7926
 
8212
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7927
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8213
*** reliably create shared libraries on SCO systems.  Therefore, libtool
7928
*** reliably create shared libraries on SCO systems.  Therefore, libtool
8214
*** is disabling shared libraries support.  We urge you to upgrade GNU
7929
*** is disabling shared libraries support.  We urge you to upgrade GNU
8215
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7930
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8216
*** your PATH or compiler configuration so that the native linker is
7931
*** your PATH or compiler configuration so that the native linker is
8217
*** used, and then restart.
7932
*** used, and then restart.
8218
 
7933
 
8219
_LT_EOF
7934
_LT_EOF
8220
	;;
7935
	;;
8221
	*)
7936
	*)
8222
	  # For security reasons, it is highly recommended that you always
7937
	  # For security reasons, it is highly recommended that you always
8223
	  # use absolute paths for naming shared libraries, and exclude the
7938
	  # use absolute paths for naming shared libraries, and exclude the
8224
	  # DT_RUNPATH tag from executables and libraries.  But doing so
7939
	  # DT_RUNPATH tag from executables and libraries.  But doing so
8225
	  # requires that you compile everything twice, which is a pain.
7940
	  # requires that you compile everything twice, which is a pain.
8226
	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7941
	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8227
	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7942
	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8228
	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7943
	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8229
	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7944
	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8230
	  else
7945
	  else
8231
	    ld_shlibs=no
7946
	    ld_shlibs=no
8232
	  fi
7947
	  fi
8233
	;;
7948
	;;
8234
      esac
7949
      esac
8235
      ;;
7950
      ;;
8236
 
7951
 
8237
    sunos4*)
7952
    sunos4*)
8238
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7953
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8239
      wlarc=
7954
      wlarc=
8240
      hardcode_direct=yes
7955
      hardcode_direct=yes
8241
      hardcode_shlibpath_var=no
7956
      hardcode_shlibpath_var=no
8242
      ;;
7957
      ;;
8243
 
7958
 
8244
    *)
7959
    *)
8245
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7960
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8246
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7961
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8247
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7962
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8248
      else
7963
      else
8249
	ld_shlibs=no
7964
	ld_shlibs=no
8250
      fi
7965
      fi
8251
      ;;
7966
      ;;
8252
    esac
7967
    esac
8253
 
7968
 
8254
    if test "$ld_shlibs" = no; then
7969
    if test "$ld_shlibs" = no; then
8255
      runpath_var=
7970
      runpath_var=
8256
      hardcode_libdir_flag_spec=
7971
      hardcode_libdir_flag_spec=
8257
      export_dynamic_flag_spec=
7972
      export_dynamic_flag_spec=
8258
      whole_archive_flag_spec=
7973
      whole_archive_flag_spec=
8259
    fi
7974
    fi
8260
  else
7975
  else
8261
    # PORTME fill in a description of your system's linker (not GNU ld)
7976
    # PORTME fill in a description of your system's linker (not GNU ld)
8262
    case $host_os in
7977
    case $host_os in
8263
    aix3*)
7978
    aix3*)
8264
      allow_undefined_flag=unsupported
7979
      allow_undefined_flag=unsupported
8265
      always_export_symbols=yes
7980
      always_export_symbols=yes
8266
      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7981
      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8267
      # Note: this linker hardcodes the directories in LIBPATH if there
7982
      # Note: this linker hardcodes the directories in LIBPATH if there
8268
      # are no directories specified by -L.
7983
      # are no directories specified by -L.
8269
      hardcode_minus_L=yes
7984
      hardcode_minus_L=yes
8270
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7985
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8271
	# Neither direct hardcoding nor static linking is supported with a
7986
	# Neither direct hardcoding nor static linking is supported with a
8272
	# broken collect2.
7987
	# broken collect2.
8273
	hardcode_direct=unsupported
7988
	hardcode_direct=unsupported
8274
      fi
7989
      fi
8275
      ;;
7990
      ;;
8276
 
7991
 
8277
    aix[4-9]*)
7992
    aix[4-9]*)
8278
      if test "$host_cpu" = ia64; then
7993
      if test "$host_cpu" = ia64; then
8279
	# On IA64, the linker does run time linking by default, so we don't
7994
	# On IA64, the linker does run time linking by default, so we don't
8280
	# have to do anything special.
7995
	# have to do anything special.
8281
	aix_use_runtimelinking=no
7996
	aix_use_runtimelinking=no
8282
	exp_sym_flag='-Bexport'
7997
	exp_sym_flag='-Bexport'
8283
	no_entry_flag=""
7998
	no_entry_flag=""
8284
      else
7999
      else
8285
	# If we're using GNU nm, then we don't want the "-C" option.
8000
	# If we're using GNU nm, then we don't want the "-C" option.
8286
	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8001
	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8287
	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8002
	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8288
	  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'
8003
	  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'
8289
	else
8004
	else
8290
	  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'
8005
	  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'
8291
	fi
8006
	fi
8292
	aix_use_runtimelinking=no
8007
	aix_use_runtimelinking=no
8293
 
8008
 
8294
	# Test if we are trying to use run time linking or normal
8009
	# Test if we are trying to use run time linking or normal
8295
	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8010
	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8296
	# need to do runtime linking.
8011
	# need to do runtime linking.
8297
	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8012
	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8298
	  for ld_flag in $LDFLAGS; do
8013
	  for ld_flag in $LDFLAGS; do
8299
	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8014
	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8300
	    aix_use_runtimelinking=yes
8015
	    aix_use_runtimelinking=yes
8301
	    break
8016
	    break
8302
	  fi
8017
	  fi
8303
	  done
8018
	  done
8304
	  ;;
8019
	  ;;
8305
	esac
8020
	esac
8306
 
8021
 
8307
	exp_sym_flag='-bexport'
8022
	exp_sym_flag='-bexport'
8308
	no_entry_flag='-bnoentry'
8023
	no_entry_flag='-bnoentry'
8309
      fi
8024
      fi
8310
 
8025
 
8311
      # When large executables or shared objects are built, AIX ld can
8026
      # When large executables or shared objects are built, AIX ld can
8312
      # have problems creating the table of contents.  If linking a library
8027
      # have problems creating the table of contents.  If linking a library
8313
      # or program results in "error TOC overflow" add -mminimal-toc to
8028
      # or program results in "error TOC overflow" add -mminimal-toc to
8314
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8029
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8315
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8030
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8316
 
8031
 
8317
      archive_cmds=''
8032
      archive_cmds=''
8318
      hardcode_direct=yes
8033
      hardcode_direct=yes
8319
      hardcode_direct_absolute=yes
8034
      hardcode_direct_absolute=yes
8320
      hardcode_libdir_separator=':'
8035
      hardcode_libdir_separator=':'
8321
      link_all_deplibs=yes
8036
      link_all_deplibs=yes
8322
      file_list_spec='${wl}-f,'
8037
      file_list_spec='${wl}-f,'
8323
 
8038
 
8324
      if test "$GCC" = yes; then
8039
      if test "$GCC" = yes; then
8325
	case $host_os in aix4.[012]|aix4.[012].*)
8040
	case $host_os in aix4.[012]|aix4.[012].*)
8326
	# We only want to do this on AIX 4.2 and lower, the check
8041
	# We only want to do this on AIX 4.2 and lower, the check
8327
	# below for broken collect2 doesn't work under 4.3+
8042
	# below for broken collect2 doesn't work under 4.3+
8328
	  collect2name=`${CC} -print-prog-name=collect2`
8043
	  collect2name=`${CC} -print-prog-name=collect2`
8329
	  if test -f "$collect2name" &&
8044
	  if test -f "$collect2name" &&
8330
	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8045
	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8331
	  then
8046
	  then
8332
	  # We have reworked collect2
8047
	  # We have reworked collect2
8333
	  :
8048
	  :
8334
	  else
8049
	  else
8335
	  # We have old collect2
8050
	  # We have old collect2
8336
	  hardcode_direct=unsupported
8051
	  hardcode_direct=unsupported
8337
	  # It fails to find uninstalled libraries when the uninstalled
8052
	  # It fails to find uninstalled libraries when the uninstalled
8338
	  # path is not listed in the libpath.  Setting hardcode_minus_L
8053
	  # path is not listed in the libpath.  Setting hardcode_minus_L
8339
	  # to unsupported forces relinking
8054
	  # to unsupported forces relinking
8340
	  hardcode_minus_L=yes
8055
	  hardcode_minus_L=yes
8341
	  hardcode_libdir_flag_spec='-L$libdir'
8056
	  hardcode_libdir_flag_spec='-L$libdir'
8342
	  hardcode_libdir_separator=
8057
	  hardcode_libdir_separator=
8343
	  fi
8058
	  fi
8344
	  ;;
8059
	  ;;
8345
	esac
8060
	esac
8346
	shared_flag='-shared'
8061
	shared_flag='-shared'
8347
	if test "$aix_use_runtimelinking" = yes; then
8062
	if test "$aix_use_runtimelinking" = yes; then
8348
	  shared_flag="$shared_flag "'${wl}-G'
8063
	  shared_flag="$shared_flag "'${wl}-G'
8349
	fi
8064
	fi
8350
	link_all_deplibs=no
8065
	link_all_deplibs=no
8351
      else
8066
      else
8352
	# not using gcc
8067
	# not using gcc
8353
	if test "$host_cpu" = ia64; then
8068
	if test "$host_cpu" = ia64; then
8354
	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8069
	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8355
	# chokes on -Wl,-G. The following line is correct:
8070
	# chokes on -Wl,-G. The following line is correct:
8356
	  shared_flag='-G'
8071
	  shared_flag='-G'
8357
	else
8072
	else
8358
	  if test "$aix_use_runtimelinking" = yes; then
8073
	  if test "$aix_use_runtimelinking" = yes; then
8359
	    shared_flag='${wl}-G'
8074
	    shared_flag='${wl}-G'
8360
	  else
8075
	  else
8361
	    shared_flag='${wl}-bM:SRE'
8076
	    shared_flag='${wl}-bM:SRE'
8362
	  fi
8077
	  fi
8363
	fi
8078
	fi
8364
      fi
8079
      fi
8365
 
8080
 
8366
      export_dynamic_flag_spec='${wl}-bexpall'
8081
      export_dynamic_flag_spec='${wl}-bexpall'
8367
      # It seems that -bexpall does not export symbols beginning with
8082
      # It seems that -bexpall does not export symbols beginning with
8368
      # underscore (_), so it is better to generate a list of symbols to export.
8083
      # underscore (_), so it is better to generate a list of symbols to export.
8369
      always_export_symbols=yes
8084
      always_export_symbols=yes
8370
      if test "$aix_use_runtimelinking" = yes; then
8085
      if test "$aix_use_runtimelinking" = yes; then
8371
	# Warning - without using the other runtime loading flags (-brtl),
8086
	# Warning - without using the other runtime loading flags (-brtl),
8372
	# -berok will link without error, but may produce a broken library.
8087
	# -berok will link without error, but may produce a broken library.
8373
	allow_undefined_flag='-berok'
8088
	allow_undefined_flag='-berok'
8374
        # Determine the default libpath from the value encoded in an
8089
        # Determine the default libpath from the value encoded in an
8375
        # empty executable.
8090
        # empty executable.
8376
        cat >conftest.$ac_ext <<_ACEOF
-
 
8377
/* confdefs.h.  */
-
 
8378
_ACEOF
-
 
8379
cat confdefs.h >>conftest.$ac_ext
8091
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8380
cat >>conftest.$ac_ext <<_ACEOF
-
 
8381
/* end confdefs.h.  */
8092
/* end confdefs.h.  */
8382
 
8093
 
8383
int
8094
int
8384
main ()
8095
main ()
8385
{
8096
{
8386
 
8097
 
8387
  ;
8098
  ;
8388
  return 0;
8099
  return 0;
8389
}
8100
}
8390
_ACEOF
8101
_ACEOF
8391
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
8392
if { (ac_try="$ac_link"
-
 
8393
case "(($ac_try" in
-
 
8394
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
8395
  *) ac_try_echo=$ac_try;;
-
 
8396
esac
-
 
8397
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
8398
$as_echo "$ac_try_echo") >&5
-
 
8399
  (eval "$ac_link") 2>conftest.er1
8102
if ac_fn_c_try_link "$LINENO"; then :
8400
  ac_status=$?
-
 
8401
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
8402
  rm -f conftest.er1
-
 
8403
  cat conftest.err >&5
-
 
8404
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
8405
  (exit $ac_status); } && {
-
 
8406
	 test -z "$ac_c_werror_flag" ||
-
 
8407
	 test ! -s conftest.err
-
 
8408
       } && test -s conftest$ac_exeext && {
-
 
8409
	 test "$cross_compiling" = yes ||
-
 
8410
	 $as_test_x conftest$ac_exeext
-
 
8411
       }; then
-
 
8412
 
8103
 
8413
lt_aix_libpath_sed='
8104
lt_aix_libpath_sed='
8414
    /Import File Strings/,/^$/ {
8105
    /Import File Strings/,/^$/ {
8415
	/^0/ {
8106
	/^0/ {
8416
	    s/^0  *\(.*\)$/\1/
8107
	    s/^0  *\(.*\)$/\1/
8417
	    p
8108
	    p
8418
	}
8109
	}
8419
    }'
8110
    }'
8420
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8111
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8421
# Check for a 64-bit object if we didn't find anything.
8112
# Check for a 64-bit object if we didn't find anything.
8422
if test -z "$aix_libpath"; then
8113
if test -z "$aix_libpath"; then
8423
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8114
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8424
fi
8115
fi
8425
else
-
 
8426
  $as_echo "$as_me: failed program was:" >&5
-
 
8427
sed 's/^/| /' conftest.$ac_ext >&5
-
 
8428
 
-
 
8429
 
-
 
8430
fi
8116
fi
8431
 
-
 
8432
rm -rf conftest.dSYM
-
 
8433
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8117
rm -f core conftest.err conftest.$ac_objext \
8434
      conftest$ac_exeext conftest.$ac_ext
8118
    conftest$ac_exeext conftest.$ac_ext
8435
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8119
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8436
 
8120
 
8437
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8121
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8438
        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"
8122
        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"
8439
      else
8123
      else
8440
	if test "$host_cpu" = ia64; then
8124
	if test "$host_cpu" = ia64; then
8441
	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8125
	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8442
	  allow_undefined_flag="-z nodefs"
8126
	  allow_undefined_flag="-z nodefs"
8443
	  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"
8127
	  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"
8444
	else
8128
	else
8445
	 # Determine the default libpath from the value encoded in an
8129
	 # Determine the default libpath from the value encoded in an
8446
	 # empty executable.
8130
	 # empty executable.
8447
	 cat >conftest.$ac_ext <<_ACEOF
-
 
8448
/* confdefs.h.  */
-
 
8449
_ACEOF
-
 
8450
cat confdefs.h >>conftest.$ac_ext
8131
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8451
cat >>conftest.$ac_ext <<_ACEOF
-
 
8452
/* end confdefs.h.  */
8132
/* end confdefs.h.  */
8453
 
8133
 
8454
int
8134
int
8455
main ()
8135
main ()
8456
{
8136
{
8457
 
8137
 
8458
  ;
8138
  ;
8459
  return 0;
8139
  return 0;
8460
}
8140
}
8461
_ACEOF
8141
_ACEOF
8462
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
8463
if { (ac_try="$ac_link"
-
 
8464
case "(($ac_try" in
-
 
8465
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
8466
  *) ac_try_echo=$ac_try;;
-
 
8467
esac
-
 
8468
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
8469
$as_echo "$ac_try_echo") >&5
-
 
8470
  (eval "$ac_link") 2>conftest.er1
8142
if ac_fn_c_try_link "$LINENO"; then :
8471
  ac_status=$?
-
 
8472
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
8473
  rm -f conftest.er1
-
 
8474
  cat conftest.err >&5
-
 
8475
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
8476
  (exit $ac_status); } && {
-
 
8477
	 test -z "$ac_c_werror_flag" ||
-
 
8478
	 test ! -s conftest.err
-
 
8479
       } && test -s conftest$ac_exeext && {
-
 
8480
	 test "$cross_compiling" = yes ||
-
 
8481
	 $as_test_x conftest$ac_exeext
-
 
8482
       }; then
-
 
8483
 
8143
 
8484
lt_aix_libpath_sed='
8144
lt_aix_libpath_sed='
8485
    /Import File Strings/,/^$/ {
8145
    /Import File Strings/,/^$/ {
8486
	/^0/ {
8146
	/^0/ {
8487
	    s/^0  *\(.*\)$/\1/
8147
	    s/^0  *\(.*\)$/\1/
8488
	    p
8148
	    p
8489
	}
8149
	}
8490
    }'
8150
    }'
8491
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8151
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8492
# Check for a 64-bit object if we didn't find anything.
8152
# Check for a 64-bit object if we didn't find anything.
8493
if test -z "$aix_libpath"; then
8153
if test -z "$aix_libpath"; then
8494
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8154
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8495
fi
8155
fi
8496
else
-
 
8497
  $as_echo "$as_me: failed program was:" >&5
-
 
8498
sed 's/^/| /' conftest.$ac_ext >&5
-
 
8499
 
-
 
8500
 
-
 
8501
fi
8156
fi
8502
 
-
 
8503
rm -rf conftest.dSYM
-
 
8504
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8157
rm -f core conftest.err conftest.$ac_objext \
8505
      conftest$ac_exeext conftest.$ac_ext
8158
    conftest$ac_exeext conftest.$ac_ext
8506
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8159
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8507
 
8160
 
8508
	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8161
	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8509
	  # Warning - without using the other run time loading flags,
8162
	  # Warning - without using the other run time loading flags,
8510
	  # -berok will link without error, but may produce a broken library.
8163
	  # -berok will link without error, but may produce a broken library.
8511
	  no_undefined_flag=' ${wl}-bernotok'
8164
	  no_undefined_flag=' ${wl}-bernotok'
8512
	  allow_undefined_flag=' ${wl}-berok'
8165
	  allow_undefined_flag=' ${wl}-berok'
8513
	  # Exported symbols can be pulled into shared objects from archives
8166
	  # Exported symbols can be pulled into shared objects from archives
8514
	  whole_archive_flag_spec='$convenience'
8167
	  whole_archive_flag_spec='$convenience'
8515
	  archive_cmds_need_lc=yes
8168
	  archive_cmds_need_lc=yes
8516
	  # This is similar to how AIX traditionally builds its shared libraries.
8169
	  # This is similar to how AIX traditionally builds its shared libraries.
8517
	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8170
	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8518
	fi
8171
	fi
8519
      fi
8172
      fi
8520
      ;;
8173
      ;;
8521
 
8174
 
8522
    amigaos*)
8175
    amigaos*)
8523
      case $host_cpu in
8176
      case $host_cpu in
8524
      powerpc)
8177
      powerpc)
8525
            # see comment about AmigaOS4 .so support
8178
            # see comment about AmigaOS4 .so support
8526
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8179
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8527
            archive_expsym_cmds=''
8180
            archive_expsym_cmds=''
8528
        ;;
8181
        ;;
8529
      m68k)
8182
      m68k)
8530
            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)'
8183
            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)'
8531
            hardcode_libdir_flag_spec='-L$libdir'
8184
            hardcode_libdir_flag_spec='-L$libdir'
8532
            hardcode_minus_L=yes
8185
            hardcode_minus_L=yes
8533
        ;;
8186
        ;;
8534
      esac
8187
      esac
8535
      ;;
8188
      ;;
8536
 
8189
 
8537
    bsdi[45]*)
8190
    bsdi[45]*)
8538
      export_dynamic_flag_spec=-rdynamic
8191
      export_dynamic_flag_spec=-rdynamic
8539
      ;;
8192
      ;;
8540
 
8193
 
8541
    cygwin* | mingw* | pw32* | cegcc*)
8194
    cygwin* | mingw* | pw32* | cegcc*)
8542
      # When not using gcc, we currently assume that we are using
8195
      # When not using gcc, we currently assume that we are using
8543
      # Microsoft Visual C++.
8196
      # Microsoft Visual C++.
8544
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8197
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8545
      # no search path for DLLs.
8198
      # no search path for DLLs.
8546
      hardcode_libdir_flag_spec=' '
8199
      hardcode_libdir_flag_spec=' '
8547
      allow_undefined_flag=unsupported
8200
      allow_undefined_flag=unsupported
8548
      # Tell ltmain to make .lib files, not .a files.
8201
      # Tell ltmain to make .lib files, not .a files.
8549
      libext=lib
8202
      libext=lib
8550
      # Tell ltmain to make .dll files, not .so files.
8203
      # Tell ltmain to make .dll files, not .so files.
8551
      shrext_cmds=".dll"
8204
      shrext_cmds=".dll"
8552
      # FIXME: Setting linknames here is a bad hack.
8205
      # FIXME: Setting linknames here is a bad hack.
8553
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8206
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8554
      # The linker will automatically build a .lib file if we build a DLL.
8207
      # The linker will automatically build a .lib file if we build a DLL.
8555
      old_archive_from_new_cmds='true'
8208
      old_archive_from_new_cmds='true'
8556
      # FIXME: Should let the user specify the lib program.
8209
      # FIXME: Should let the user specify the lib program.
8557
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8210
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8558
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8211
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8559
      enable_shared_with_static_runtimes=yes
8212
      enable_shared_with_static_runtimes=yes
8560
      ;;
8213
      ;;
8561
 
8214
 
8562
    darwin* | rhapsody*)
8215
    darwin* | rhapsody*)
8563
 
8216
 
8564
 
8217
 
8565
  archive_cmds_need_lc=no
8218
  archive_cmds_need_lc=no
8566
  hardcode_direct=no
8219
  hardcode_direct=no
8567
  hardcode_automatic=yes
8220
  hardcode_automatic=yes
8568
  hardcode_shlibpath_var=unsupported
8221
  hardcode_shlibpath_var=unsupported
8569
  whole_archive_flag_spec=''
8222
  whole_archive_flag_spec=''
8570
  link_all_deplibs=yes
8223
  link_all_deplibs=yes
8571
  allow_undefined_flag="$_lt_dar_allow_undefined"
8224
  allow_undefined_flag="$_lt_dar_allow_undefined"
8572
  case $cc_basename in
8225
  case $cc_basename in
8573
     ifort*) _lt_dar_can_shared=yes ;;
8226
     ifort*) _lt_dar_can_shared=yes ;;
8574
     *) _lt_dar_can_shared=$GCC ;;
8227
     *) _lt_dar_can_shared=$GCC ;;
8575
  esac
8228
  esac
8576
  if test "$_lt_dar_can_shared" = "yes"; then
8229
  if test "$_lt_dar_can_shared" = "yes"; then
8577
    output_verbose_link_cmd=echo
8230
    output_verbose_link_cmd=echo
8578
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8231
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8579
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8232
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8580
    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}"
8233
    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}"
8581
    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}"
8234
    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}"
8582
 
8235
 
8583
  else
8236
  else
8584
  ld_shlibs=no
8237
  ld_shlibs=no
8585
  fi
8238
  fi
8586
 
8239
 
8587
      ;;
8240
      ;;
8588
 
8241
 
8589
    dgux*)
8242
    dgux*)
8590
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8243
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8591
      hardcode_libdir_flag_spec='-L$libdir'
8244
      hardcode_libdir_flag_spec='-L$libdir'
8592
      hardcode_shlibpath_var=no
8245
      hardcode_shlibpath_var=no
8593
      ;;
8246
      ;;
8594
 
8247
 
8595
    freebsd1*)
8248
    freebsd1*)
8596
      ld_shlibs=no
8249
      ld_shlibs=no
8597
      ;;
8250
      ;;
8598
 
8251
 
8599
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8252
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8600
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8253
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8601
    # does not break anything, and helps significantly (at the cost of a little
8254
    # does not break anything, and helps significantly (at the cost of a little
8602
    # extra space).
8255
    # extra space).
8603
    freebsd2.2*)
8256
    freebsd2.2*)
8604
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8257
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8605
      hardcode_libdir_flag_spec='-R$libdir'
8258
      hardcode_libdir_flag_spec='-R$libdir'
8606
      hardcode_direct=yes
8259
      hardcode_direct=yes
8607
      hardcode_shlibpath_var=no
8260
      hardcode_shlibpath_var=no
8608
      ;;
8261
      ;;
8609
 
8262
 
8610
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8263
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8611
    freebsd2*)
8264
    freebsd2*)
8612
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8265
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8613
      hardcode_direct=yes
8266
      hardcode_direct=yes
8614
      hardcode_minus_L=yes
8267
      hardcode_minus_L=yes
8615
      hardcode_shlibpath_var=no
8268
      hardcode_shlibpath_var=no
8616
      ;;
8269
      ;;
8617
 
8270
 
8618
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8271
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8619
    freebsd* | dragonfly*)
8272
    freebsd* | dragonfly*)
8620
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8273
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8621
      hardcode_libdir_flag_spec='-R$libdir'
8274
      hardcode_libdir_flag_spec='-R$libdir'
8622
      hardcode_direct=yes
8275
      hardcode_direct=yes
8623
      hardcode_shlibpath_var=no
8276
      hardcode_shlibpath_var=no
8624
      ;;
8277
      ;;
8625
 
8278
 
8626
    hpux9*)
8279
    hpux9*)
8627
      if test "$GCC" = yes; then
8280
      if test "$GCC" = yes; then
8628
	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'
8281
	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'
8629
      else
8282
      else
8630
	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'
8283
	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'
8631
      fi
8284
      fi
8632
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8285
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8633
      hardcode_libdir_separator=:
8286
      hardcode_libdir_separator=:
8634
      hardcode_direct=yes
8287
      hardcode_direct=yes
8635
 
8288
 
8636
      # hardcode_minus_L: Not really in the search PATH,
8289
      # hardcode_minus_L: Not really in the search PATH,
8637
      # but as the default location of the library.
8290
      # but as the default location of the library.
8638
      hardcode_minus_L=yes
8291
      hardcode_minus_L=yes
8639
      export_dynamic_flag_spec='${wl}-E'
8292
      export_dynamic_flag_spec='${wl}-E'
8640
      ;;
8293
      ;;
8641
 
8294
 
8642
    hpux10*)
8295
    hpux10*)
8643
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8296
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8644
	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8297
	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8645
      else
8298
      else
8646
	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8299
	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8647
      fi
8300
      fi
8648
      if test "$with_gnu_ld" = no; then
8301
      if test "$with_gnu_ld" = no; then
8649
	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8302
	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8650
	hardcode_libdir_flag_spec_ld='+b $libdir'
8303
	hardcode_libdir_flag_spec_ld='+b $libdir'
8651
	hardcode_libdir_separator=:
8304
	hardcode_libdir_separator=:
8652
	hardcode_direct=yes
8305
	hardcode_direct=yes
8653
	hardcode_direct_absolute=yes
8306
	hardcode_direct_absolute=yes
8654
	export_dynamic_flag_spec='${wl}-E'
8307
	export_dynamic_flag_spec='${wl}-E'
8655
	# hardcode_minus_L: Not really in the search PATH,
8308
	# hardcode_minus_L: Not really in the search PATH,
8656
	# but as the default location of the library.
8309
	# but as the default location of the library.
8657
	hardcode_minus_L=yes
8310
	hardcode_minus_L=yes
8658
      fi
8311
      fi
8659
      ;;
8312
      ;;
8660
 
8313
 
8661
    hpux11*)
8314
    hpux11*)
8662
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8315
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8663
	case $host_cpu in
8316
	case $host_cpu in
8664
	hppa*64*)
8317
	hppa*64*)
8665
	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8318
	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8666
	  ;;
8319
	  ;;
8667
	ia64*)
8320
	ia64*)
8668
	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8321
	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8669
	  ;;
8322
	  ;;
8670
	*)
8323
	*)
8671
	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8324
	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8672
	  ;;
8325
	  ;;
8673
	esac
8326
	esac
8674
      else
8327
      else
8675
	case $host_cpu in
8328
	case $host_cpu in
8676
	hppa*64*)
8329
	hppa*64*)
8677
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8330
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8678
	  ;;
8331
	  ;;
8679
	ia64*)
8332
	ia64*)
8680
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8333
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8681
	  ;;
8334
	  ;;
8682
	*)
8335
	*)
8683
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8336
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8684
	  ;;
8337
	  ;;
8685
	esac
8338
	esac
8686
      fi
8339
      fi
8687
      if test "$with_gnu_ld" = no; then
8340
      if test "$with_gnu_ld" = no; then
8688
	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8341
	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8689
	hardcode_libdir_separator=:
8342
	hardcode_libdir_separator=:
8690
 
8343
 
8691
	case $host_cpu in
8344
	case $host_cpu in
8692
	hppa*64*|ia64*)
8345
	hppa*64*|ia64*)
8693
	  hardcode_direct=no
8346
	  hardcode_direct=no
8694
	  hardcode_shlibpath_var=no
8347
	  hardcode_shlibpath_var=no
8695
	  ;;
8348
	  ;;
8696
	*)
8349
	*)
8697
	  hardcode_direct=yes
8350
	  hardcode_direct=yes
8698
	  hardcode_direct_absolute=yes
8351
	  hardcode_direct_absolute=yes
8699
	  export_dynamic_flag_spec='${wl}-E'
8352
	  export_dynamic_flag_spec='${wl}-E'
8700
 
8353
 
8701
	  # hardcode_minus_L: Not really in the search PATH,
8354
	  # hardcode_minus_L: Not really in the search PATH,
8702
	  # but as the default location of the library.
8355
	  # but as the default location of the library.
8703
	  hardcode_minus_L=yes
8356
	  hardcode_minus_L=yes
8704
	  ;;
8357
	  ;;
8705
	esac
8358
	esac
8706
      fi
8359
      fi
8707
      ;;
8360
      ;;
8708
 
8361
 
8709
    irix5* | irix6* | nonstopux*)
8362
    irix5* | irix6* | nonstopux*)
8710
      if test "$GCC" = yes; then
8363
      if test "$GCC" = yes; then
8711
	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'
8364
	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'
8712
	# Try to use the -exported_symbol ld option, if it does not
8365
	# Try to use the -exported_symbol ld option, if it does not
8713
	# work, assume that -exports_file does not work either and
8366
	# work, assume that -exports_file does not work either and
8714
	# implicitly export all symbols.
8367
	# implicitly export all symbols.
8715
        save_LDFLAGS="$LDFLAGS"
8368
        save_LDFLAGS="$LDFLAGS"
8716
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8369
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8717
        cat >conftest.$ac_ext <<_ACEOF
8370
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-
 
8371
/* end confdefs.h.  */
8718
int foo(void) {}
8372
int foo(void) {}
8719
_ACEOF
8373
_ACEOF
8720
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
8721
if { (ac_try="$ac_link"
-
 
8722
case "(($ac_try" in
-
 
8723
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
8724
  *) ac_try_echo=$ac_try;;
-
 
8725
esac
-
 
8726
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
8727
$as_echo "$ac_try_echo") >&5
-
 
8728
  (eval "$ac_link") 2>conftest.er1
8374
if ac_fn_c_try_link "$LINENO"; then :
8729
  ac_status=$?
-
 
8730
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
8731
  rm -f conftest.er1
-
 
8732
  cat conftest.err >&5
-
 
8733
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
8734
  (exit $ac_status); } && {
-
 
8735
	 test -z "$ac_c_werror_flag" ||
-
 
8736
	 test ! -s conftest.err
-
 
8737
       } && test -s conftest$ac_exeext && {
-
 
8738
	 test "$cross_compiling" = yes ||
-
 
8739
	 $as_test_x conftest$ac_exeext
-
 
8740
       }; then
-
 
8741
  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'
8375
  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'
8742
 
8376
 
8743
else
-
 
8744
  $as_echo "$as_me: failed program was:" >&5
-
 
8745
sed 's/^/| /' conftest.$ac_ext >&5
-
 
8746
 
-
 
8747
 
-
 
8748
fi
8377
fi
8749
 
-
 
8750
rm -rf conftest.dSYM
-
 
8751
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8378
rm -f core conftest.err conftest.$ac_objext \
8752
      conftest$ac_exeext conftest.$ac_ext
8379
    conftest$ac_exeext conftest.$ac_ext
8753
        LDFLAGS="$save_LDFLAGS"
8380
        LDFLAGS="$save_LDFLAGS"
8754
      else
8381
      else
8755
	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'
8382
	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'
8756
	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'
8383
	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'
8757
      fi
8384
      fi
8758
      archive_cmds_need_lc='no'
8385
      archive_cmds_need_lc='no'
8759
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8386
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8760
      hardcode_libdir_separator=:
8387
      hardcode_libdir_separator=:
8761
      inherit_rpath=yes
8388
      inherit_rpath=yes
8762
      link_all_deplibs=yes
8389
      link_all_deplibs=yes
8763
      ;;
8390
      ;;
8764
 
8391
 
8765
    netbsd* | netbsdelf*-gnu)
8392
    netbsd* | netbsdelf*-gnu)
8766
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8393
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8767
	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8394
	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8768
      else
8395
      else
8769
	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8396
	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8770
      fi
8397
      fi
8771
      hardcode_libdir_flag_spec='-R$libdir'
8398
      hardcode_libdir_flag_spec='-R$libdir'
8772
      hardcode_direct=yes
8399
      hardcode_direct=yes
8773
      hardcode_shlibpath_var=no
8400
      hardcode_shlibpath_var=no
8774
      ;;
8401
      ;;
8775
 
8402
 
8776
    newsos6)
8403
    newsos6)
8777
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8404
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8778
      hardcode_direct=yes
8405
      hardcode_direct=yes
8779
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8406
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8780
      hardcode_libdir_separator=:
8407
      hardcode_libdir_separator=:
8781
      hardcode_shlibpath_var=no
8408
      hardcode_shlibpath_var=no
8782
      ;;
8409
      ;;
8783
 
8410
 
8784
    *nto* | *qnx*)
8411
    *nto* | *qnx*)
8785
      ;;
8412
      ;;
8786
 
8413
 
8787
    openbsd*)
8414
    openbsd*)
8788
      if test -f /usr/libexec/ld.so; then
8415
      if test -f /usr/libexec/ld.so; then
8789
	hardcode_direct=yes
8416
	hardcode_direct=yes
8790
	hardcode_shlibpath_var=no
8417
	hardcode_shlibpath_var=no
8791
	hardcode_direct_absolute=yes
8418
	hardcode_direct_absolute=yes
8792
	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8419
	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8793
	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8420
	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8794
	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8421
	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8795
	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8422
	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8796
	  export_dynamic_flag_spec='${wl}-E'
8423
	  export_dynamic_flag_spec='${wl}-E'
8797
	else
8424
	else
8798
	  case $host_os in
8425
	  case $host_os in
8799
	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8426
	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8800
	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8427
	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8801
	     hardcode_libdir_flag_spec='-R$libdir'
8428
	     hardcode_libdir_flag_spec='-R$libdir'
8802
	     ;;
8429
	     ;;
8803
	   *)
8430
	   *)
8804
	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8431
	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8805
	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8432
	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8806
	     ;;
8433
	     ;;
8807
	  esac
8434
	  esac
8808
	fi
8435
	fi
8809
      else
8436
      else
8810
	ld_shlibs=no
8437
	ld_shlibs=no
8811
      fi
8438
      fi
8812
      ;;
8439
      ;;
8813
 
8440
 
8814
    os2*)
8441
    os2*)
8815
      hardcode_libdir_flag_spec='-L$libdir'
8442
      hardcode_libdir_flag_spec='-L$libdir'
8816
      hardcode_minus_L=yes
8443
      hardcode_minus_L=yes
8817
      allow_undefined_flag=unsupported
8444
      allow_undefined_flag=unsupported
8818
      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'
8445
      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'
8819
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8446
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8820
      ;;
8447
      ;;
8821
 
8448
 
8822
    osf3*)
8449
    osf3*)
8823
      if test "$GCC" = yes; then
8450
      if test "$GCC" = yes; then
8824
	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8451
	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8825
	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'
8452
	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'
8826
      else
8453
      else
8827
	allow_undefined_flag=' -expect_unresolved \*'
8454
	allow_undefined_flag=' -expect_unresolved \*'
8828
	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'
8455
	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'
8829
      fi
8456
      fi
8830
      archive_cmds_need_lc='no'
8457
      archive_cmds_need_lc='no'
8831
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8458
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8832
      hardcode_libdir_separator=:
8459
      hardcode_libdir_separator=:
8833
      ;;
8460
      ;;
8834
 
8461
 
8835
    osf4* | osf5*)	# as osf3* with the addition of -msym flag
8462
    osf4* | osf5*)	# as osf3* with the addition of -msym flag
8836
      if test "$GCC" = yes; then
8463
      if test "$GCC" = yes; then
8837
	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8464
	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8838
	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'
8465
	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'
8839
	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8466
	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8840
      else
8467
      else
8841
	allow_undefined_flag=' -expect_unresolved \*'
8468
	allow_undefined_flag=' -expect_unresolved \*'
8842
	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'
8469
	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'
8843
	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~
8470
	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~
8844
	$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'
8471
	$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'
8845
 
8472
 
8846
	# Both c and cxx compiler support -rpath directly
8473
	# Both c and cxx compiler support -rpath directly
8847
	hardcode_libdir_flag_spec='-rpath $libdir'
8474
	hardcode_libdir_flag_spec='-rpath $libdir'
8848
      fi
8475
      fi
8849
      archive_cmds_need_lc='no'
8476
      archive_cmds_need_lc='no'
8850
      hardcode_libdir_separator=:
8477
      hardcode_libdir_separator=:
8851
      ;;
8478
      ;;
8852
 
8479
 
8853
    solaris*)
8480
    solaris*)
8854
      no_undefined_flag=' -z defs'
8481
      no_undefined_flag=' -z defs'
8855
      if test "$GCC" = yes; then
8482
      if test "$GCC" = yes; then
8856
	wlarc='${wl}'
8483
	wlarc='${wl}'
8857
	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8484
	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8858
	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8485
	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8859
	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8486
	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8860
      else
8487
      else
8861
	case `$CC -V 2>&1` in
8488
	case `$CC -V 2>&1` in
8862
	*"Compilers 5.0"*)
8489
	*"Compilers 5.0"*)
8863
	  wlarc=''
8490
	  wlarc=''
8864
	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8491
	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8865
	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8492
	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8866
	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8493
	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8867
	  ;;
8494
	  ;;
8868
	*)
8495
	*)
8869
	  wlarc='${wl}'
8496
	  wlarc='${wl}'
8870
	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8497
	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8871
	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8498
	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8872
	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8499
	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8873
	  ;;
8500
	  ;;
8874
	esac
8501
	esac
8875
      fi
8502
      fi
8876
      hardcode_libdir_flag_spec='-R$libdir'
8503
      hardcode_libdir_flag_spec='-R$libdir'
8877
      hardcode_shlibpath_var=no
8504
      hardcode_shlibpath_var=no
8878
      case $host_os in
8505
      case $host_os in
8879
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8506
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8880
      *)
8507
      *)
8881
	# The compiler driver will combine and reorder linker options,
8508
	# The compiler driver will combine and reorder linker options,
8882
	# but understands `-z linker_flag'.  GCC discards it without `$wl',
8509
	# but understands `-z linker_flag'.  GCC discards it without `$wl',
8883
	# but is careful enough not to reorder.
8510
	# but is careful enough not to reorder.
8884
	# Supported since Solaris 2.6 (maybe 2.5.1?)
8511
	# Supported since Solaris 2.6 (maybe 2.5.1?)
8885
	if test "$GCC" = yes; then
8512
	if test "$GCC" = yes; then
8886
	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8513
	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8887
	else
8514
	else
8888
	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8515
	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8889
	fi
8516
	fi
8890
	;;
8517
	;;
8891
      esac
8518
      esac
8892
      link_all_deplibs=yes
8519
      link_all_deplibs=yes
8893
      ;;
8520
      ;;
8894
 
8521
 
8895
    sunos4*)
8522
    sunos4*)
8896
      if test "x$host_vendor" = xsequent; then
8523
      if test "x$host_vendor" = xsequent; then
8897
	# Use $CC to link under sequent, because it throws in some extra .o
8524
	# Use $CC to link under sequent, because it throws in some extra .o
8898
	# files that make .init and .fini sections work.
8525
	# files that make .init and .fini sections work.
8899
	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8526
	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8900
      else
8527
      else
8901
	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8528
	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8902
      fi
8529
      fi
8903
      hardcode_libdir_flag_spec='-L$libdir'
8530
      hardcode_libdir_flag_spec='-L$libdir'
8904
      hardcode_direct=yes
8531
      hardcode_direct=yes
8905
      hardcode_minus_L=yes
8532
      hardcode_minus_L=yes
8906
      hardcode_shlibpath_var=no
8533
      hardcode_shlibpath_var=no
8907
      ;;
8534
      ;;
8908
 
8535
 
8909
    sysv4)
8536
    sysv4)
8910
      case $host_vendor in
8537
      case $host_vendor in
8911
	sni)
8538
	sni)
8912
	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8539
	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8913
	  hardcode_direct=yes # is this really true???
8540
	  hardcode_direct=yes # is this really true???
8914
	;;
8541
	;;
8915
	siemens)
8542
	siemens)
8916
	  ## LD is ld it makes a PLAMLIB
8543
	  ## LD is ld it makes a PLAMLIB
8917
	  ## CC just makes a GrossModule.
8544
	  ## CC just makes a GrossModule.
8918
	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8545
	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8919
	  reload_cmds='$CC -r -o $output$reload_objs'
8546
	  reload_cmds='$CC -r -o $output$reload_objs'
8920
	  hardcode_direct=no
8547
	  hardcode_direct=no
8921
        ;;
8548
        ;;
8922
	motorola)
8549
	motorola)
8923
	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8550
	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8924
	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8551
	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8925
	;;
8552
	;;
8926
      esac
8553
      esac
8927
      runpath_var='LD_RUN_PATH'
8554
      runpath_var='LD_RUN_PATH'
8928
      hardcode_shlibpath_var=no
8555
      hardcode_shlibpath_var=no
8929
      ;;
8556
      ;;
8930
 
8557
 
8931
    sysv4.3*)
8558
    sysv4.3*)
8932
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8559
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8933
      hardcode_shlibpath_var=no
8560
      hardcode_shlibpath_var=no
8934
      export_dynamic_flag_spec='-Bexport'
8561
      export_dynamic_flag_spec='-Bexport'
8935
      ;;
8562
      ;;
8936
 
8563
 
8937
    sysv4*MP*)
8564
    sysv4*MP*)
8938
      if test -d /usr/nec; then
8565
      if test -d /usr/nec; then
8939
	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8566
	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8940
	hardcode_shlibpath_var=no
8567
	hardcode_shlibpath_var=no
8941
	runpath_var=LD_RUN_PATH
8568
	runpath_var=LD_RUN_PATH
8942
	hardcode_runpath_var=yes
8569
	hardcode_runpath_var=yes
8943
	ld_shlibs=yes
8570
	ld_shlibs=yes
8944
      fi
8571
      fi
8945
      ;;
8572
      ;;
8946
 
8573
 
8947
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8574
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8948
      no_undefined_flag='${wl}-z,text'
8575
      no_undefined_flag='${wl}-z,text'
8949
      archive_cmds_need_lc=no
8576
      archive_cmds_need_lc=no
8950
      hardcode_shlibpath_var=no
8577
      hardcode_shlibpath_var=no
8951
      runpath_var='LD_RUN_PATH'
8578
      runpath_var='LD_RUN_PATH'
8952
 
8579
 
8953
      if test "$GCC" = yes; then
8580
      if test "$GCC" = yes; then
8954
	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8581
	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8955
	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8582
	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8956
      else
8583
      else
8957
	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8584
	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8958
	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8585
	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8959
      fi
8586
      fi
8960
      ;;
8587
      ;;
8961
 
8588
 
8962
    sysv5* | sco3.2v5* | sco5v6*)
8589
    sysv5* | sco3.2v5* | sco5v6*)
8963
      # Note: We can NOT use -z defs as we might desire, because we do not
8590
      # Note: We can NOT use -z defs as we might desire, because we do not
8964
      # link with -lc, and that would cause any symbols used from libc to
8591
      # link with -lc, and that would cause any symbols used from libc to
8965
      # always be unresolved, which means just about no library would
8592
      # always be unresolved, which means just about no library would
8966
      # ever link correctly.  If we're not using GNU ld we use -z text
8593
      # ever link correctly.  If we're not using GNU ld we use -z text
8967
      # though, which does catch some bad symbols but isn't as heavy-handed
8594
      # though, which does catch some bad symbols but isn't as heavy-handed
8968
      # as -z defs.
8595
      # as -z defs.
8969
      no_undefined_flag='${wl}-z,text'
8596
      no_undefined_flag='${wl}-z,text'
8970
      allow_undefined_flag='${wl}-z,nodefs'
8597
      allow_undefined_flag='${wl}-z,nodefs'
8971
      archive_cmds_need_lc=no
8598
      archive_cmds_need_lc=no
8972
      hardcode_shlibpath_var=no
8599
      hardcode_shlibpath_var=no
8973
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8600
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8974
      hardcode_libdir_separator=':'
8601
      hardcode_libdir_separator=':'
8975
      link_all_deplibs=yes
8602
      link_all_deplibs=yes
8976
      export_dynamic_flag_spec='${wl}-Bexport'
8603
      export_dynamic_flag_spec='${wl}-Bexport'
8977
      runpath_var='LD_RUN_PATH'
8604
      runpath_var='LD_RUN_PATH'
8978
 
8605
 
8979
      if test "$GCC" = yes; then
8606
      if test "$GCC" = yes; then
8980
	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8607
	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8981
	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8608
	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8982
      else
8609
      else
8983
	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8610
	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8984
	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8611
	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8985
      fi
8612
      fi
8986
      ;;
8613
      ;;
8987
 
8614
 
8988
    uts4*)
8615
    uts4*)
8989
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8616
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8990
      hardcode_libdir_flag_spec='-L$libdir'
8617
      hardcode_libdir_flag_spec='-L$libdir'
8991
      hardcode_shlibpath_var=no
8618
      hardcode_shlibpath_var=no
8992
      ;;
8619
      ;;
8993
 
8620
 
8994
    *)
8621
    *)
8995
      ld_shlibs=no
8622
      ld_shlibs=no
8996
      ;;
8623
      ;;
8997
    esac
8624
    esac
8998
 
8625
 
8999
    if test x$host_vendor = xsni; then
8626
    if test x$host_vendor = xsni; then
9000
      case $host in
8627
      case $host in
9001
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8628
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9002
	export_dynamic_flag_spec='${wl}-Blargedynsym'
8629
	export_dynamic_flag_spec='${wl}-Blargedynsym'
9003
	;;
8630
	;;
9004
      esac
8631
      esac
9005
    fi
8632
    fi
9006
  fi
8633
  fi
9007
 
8634
 
9008
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9009
$as_echo "$ld_shlibs" >&6; }
8636
$as_echo "$ld_shlibs" >&6; }
9010
test "$ld_shlibs" = no && can_build_shared=no
8637
test "$ld_shlibs" = no && can_build_shared=no
9011
 
8638
 
9012
with_gnu_ld=$with_gnu_ld
8639
with_gnu_ld=$with_gnu_ld
9013
 
8640
 
9014
 
8641
 
9015
 
8642
 
9016
 
8643
 
9017
 
8644
 
9018
 
8645
 
9019
 
8646
 
9020
 
8647
 
9021
 
8648
 
9022
 
8649
 
9023
 
8650
 
9024
 
8651
 
9025
 
8652
 
9026
 
8653
 
9027
 
8654
 
9028
#
8655
#
9029
# Do we need to explicitly link libc?
8656
# Do we need to explicitly link libc?
9030
#
8657
#
9031
case "x$archive_cmds_need_lc" in
8658
case "x$archive_cmds_need_lc" in
9032
x|xyes)
8659
x|xyes)
9033
  # Assume -lc should be added
8660
  # Assume -lc should be added
9034
  archive_cmds_need_lc=yes
8661
  archive_cmds_need_lc=yes
9035
 
8662
 
9036
  if test "$enable_shared" = yes && test "$GCC" = yes; then
8663
  if test "$enable_shared" = yes && test "$GCC" = yes; then
9037
    case $archive_cmds in
8664
    case $archive_cmds in
9038
    *'~'*)
8665
    *'~'*)
9039
      # FIXME: we may have to deal with multi-command sequences.
8666
      # FIXME: we may have to deal with multi-command sequences.
9040
      ;;
8667
      ;;
9041
    '$CC '*)
8668
    '$CC '*)
9042
      # Test whether the compiler implicitly links with -lc since on some
8669
      # Test whether the compiler implicitly links with -lc since on some
9043
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8670
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9044
      # to ld, don't add -lc before -lgcc.
8671
      # to ld, don't add -lc before -lgcc.
9045
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8672
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9046
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8673
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9047
      $RM conftest*
8674
      $RM conftest*
9048
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8675
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9049
 
8676
 
9050
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8677
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9051
  (eval $ac_compile) 2>&5
8678
  (eval $ac_compile) 2>&5
9052
  ac_status=$?
8679
  ac_status=$?
9053
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9054
  (exit $ac_status); } 2>conftest.err; then
8681
  test $ac_status = 0; } 2>conftest.err; then
9055
        soname=conftest
8682
        soname=conftest
9056
        lib=conftest
8683
        lib=conftest
9057
        libobjs=conftest.$ac_objext
8684
        libobjs=conftest.$ac_objext
9058
        deplibs=
8685
        deplibs=
9059
        wl=$lt_prog_compiler_wl
8686
        wl=$lt_prog_compiler_wl
9060
	pic_flag=$lt_prog_compiler_pic
8687
	pic_flag=$lt_prog_compiler_pic
9061
        compiler_flags=-v
8688
        compiler_flags=-v
9062
        linker_flags=-v
8689
        linker_flags=-v
9063
        verstring=
8690
        verstring=
9064
        output_objdir=.
8691
        output_objdir=.
9065
        libname=conftest
8692
        libname=conftest
9066
        lt_save_allow_undefined_flag=$allow_undefined_flag
8693
        lt_save_allow_undefined_flag=$allow_undefined_flag
9067
        allow_undefined_flag=
8694
        allow_undefined_flag=
9068
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8695
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9069
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8696
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9070
  ac_status=$?
8697
  ac_status=$?
9071
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9072
  (exit $ac_status); }
8699
  test $ac_status = 0; }
9073
        then
8700
        then
9074
	  archive_cmds_need_lc=no
8701
	  archive_cmds_need_lc=no
9075
        else
8702
        else
9076
	  archive_cmds_need_lc=yes
8703
	  archive_cmds_need_lc=yes
9077
        fi
8704
        fi
9078
        allow_undefined_flag=$lt_save_allow_undefined_flag
8705
        allow_undefined_flag=$lt_save_allow_undefined_flag
9079
      else
8706
      else
9080
        cat conftest.err 1>&5
8707
        cat conftest.err 1>&5
9081
      fi
8708
      fi
9082
      $RM conftest*
8709
      $RM conftest*
9083
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8710
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9084
$as_echo "$archive_cmds_need_lc" >&6; }
8711
$as_echo "$archive_cmds_need_lc" >&6; }
9085
      ;;
8712
      ;;
9086
    esac
8713
    esac
9087
  fi
8714
  fi
9088
  ;;
8715
  ;;
9089
esac
8716
esac
9090
 
8717
 
9091
 
8718
 
9092
 
8719
 
9093
 
8720
 
9094
 
8721
 
9095
 
8722
 
9096
 
8723
 
9097
 
8724
 
9098
 
8725
 
9099
 
8726
 
9100
 
8727
 
9101
 
8728
 
9102
 
8729
 
9103
 
8730
 
9104
 
8731
 
9105
 
8732
 
9106
 
8733
 
9107
 
8734
 
9108
 
8735
 
9109
 
8736
 
9110
 
8737
 
9111
 
8738
 
9112
 
8739
 
9113
 
8740
 
9114
 
8741
 
9115
 
8742
 
9116
 
8743
 
9117
 
8744
 
9118
 
8745
 
9119
 
8746
 
9120
 
8747
 
9121
 
8748
 
9122
 
8749
 
9123
 
8750
 
9124
 
8751
 
9125
 
8752
 
9126
 
8753
 
9127
 
8754
 
9128
 
8755
 
9129
 
8756
 
9130
 
8757
 
9131
 
8758
 
9132
 
8759
 
9133
 
8760
 
9134
 
8761
 
9135
 
8762
 
9136
 
8763
 
9137
 
8764
 
9138
 
8765
 
9139
 
8766
 
9140
 
8767
 
9141
 
8768
 
9142
 
8769
 
9143
 
8770
 
9144
 
8771
 
9145
 
8772
 
9146
 
8773
 
9147
 
8774
 
9148
 
8775
 
9149
 
8776
 
9150
 
8777
 
9151
 
8778
 
9152
 
8779
 
9153
 
8780
 
9154
 
8781
 
9155
 
8782
 
9156
 
8783
 
9157
 
8784
 
9158
 
8785
 
9159
 
8786
 
9160
 
8787
 
9161
 
8788
 
9162
 
8789
 
9163
 
8790
 
9164
 
8791
 
9165
 
8792
 
9166
 
8793
 
9167
 
8794
 
9168
 
8795
 
9169
 
8796
 
9170
 
8797
 
9171
 
8798
 
9172
 
8799
 
9173
 
8800
 
9174
 
8801
 
9175
 
8802
 
9176
 
8803
 
9177
 
8804
 
9178
 
8805
 
9179
 
8806
 
9180
 
8807
 
9181
 
8808
 
9182
 
8809
 
9183
 
8810
 
9184
 
8811
 
9185
 
8812
 
9186
 
8813
 
9187
 
8814
 
9188
 
8815
 
9189
 
8816
 
9190
 
8817
 
9191
 
8818
 
9192
 
8819
 
9193
 
8820
 
9194
 
8821
 
9195
 
8822
 
9196
 
8823
 
9197
 
8824
 
9198
 
8825
 
9199
 
8826
 
9200
 
8827
 
9201
 
8828
 
9202
 
8829
 
9203
 
8830
 
9204
 
8831
 
9205
 
8832
 
9206
 
8833
 
9207
 
8834
 
9208
 
8835
 
9209
 
8836
 
9210
 
8837
 
9211
 
8838
 
9212
 
8839
 
9213
 
8840
 
9214
 
8841
 
9215
 
8842
 
9216
 
8843
 
9217
 
8844
 
9218
 
8845
 
9219
 
8846
 
9220
 
8847
 
9221
 
8848
 
9222
 
8849
 
9223
 
8850
 
9224
 
8851
 
9225
 
8852
 
9226
 
8853
 
9227
 
8854
 
9228
 
8855
 
9229
 
8856
 
9230
 
8857
 
9231
 
8858
 
9232
 
8859
 
9233
 
8860
 
9234
 
8861
 
9235
 
8862
 
9236
 
8863
 
9237
 
8864
 
9238
 
8865
 
9239
 
8866
 
9240
 
8867
 
9241
 
8868
 
9242
 
8869
 
9243
 
8870
 
9244
 
8871
 
9245
 
8872
 
9246
 
8873
 
9247
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8874
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9248
$as_echo_n "checking dynamic linker characteristics... " >&6; }
8875
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9249
 
8876
 
9250
if test "$GCC" = yes; then
8877
if test "$GCC" = yes; then
9251
  case $host_os in
8878
  case $host_os in
9252
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8879
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9253
    *) lt_awk_arg="/^libraries:/" ;;
8880
    *) lt_awk_arg="/^libraries:/" ;;
9254
  esac
8881
  esac
9255
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8882
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9256
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8883
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9257
    # if the path contains ";" then we assume it to be the separator
8884
    # if the path contains ";" then we assume it to be the separator
9258
    # otherwise default to the standard path separator (i.e. ":") - it is
8885
    # otherwise default to the standard path separator (i.e. ":") - it is
9259
    # assumed that no part of a normal pathname contains ";" but that should
8886
    # assumed that no part of a normal pathname contains ";" but that should
9260
    # okay in the real world where ";" in dirpaths is itself problematic.
8887
    # okay in the real world where ";" in dirpaths is itself problematic.
9261
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8888
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9262
  else
8889
  else
9263
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8890
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9264
  fi
8891
  fi
9265
  # Ok, now we have the path, separated by spaces, we can step through it
8892
  # Ok, now we have the path, separated by spaces, we can step through it
9266
  # and add multilib dir if necessary.
8893
  # and add multilib dir if necessary.
9267
  lt_tmp_lt_search_path_spec=
8894
  lt_tmp_lt_search_path_spec=
9268
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8895
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9269
  for lt_sys_path in $lt_search_path_spec; do
8896
  for lt_sys_path in $lt_search_path_spec; do
9270
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8897
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9271
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8898
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9272
    else
8899
    else
9273
      test -d "$lt_sys_path" && \
8900
      test -d "$lt_sys_path" && \
9274
	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8901
	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9275
    fi
8902
    fi
9276
  done
8903
  done
9277
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8904
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9278
BEGIN {RS=" "; FS="/|\n";} {
8905
BEGIN {RS=" "; FS="/|\n";} {
9279
  lt_foo="";
8906
  lt_foo="";
9280
  lt_count=0;
8907
  lt_count=0;
9281
  for (lt_i = NF; lt_i > 0; lt_i--) {
8908
  for (lt_i = NF; lt_i > 0; lt_i--) {
9282
    if ($lt_i != "" && $lt_i != ".") {
8909
    if ($lt_i != "" && $lt_i != ".") {
9283
      if ($lt_i == "..") {
8910
      if ($lt_i == "..") {
9284
        lt_count++;
8911
        lt_count++;
9285
      } else {
8912
      } else {
9286
        if (lt_count == 0) {
8913
        if (lt_count == 0) {
9287
          lt_foo="/" $lt_i lt_foo;
8914
          lt_foo="/" $lt_i lt_foo;
9288
        } else {
8915
        } else {
9289
          lt_count--;
8916
          lt_count--;
9290
        }
8917
        }
9291
      }
8918
      }
9292
    }
8919
    }
9293
  }
8920
  }
9294
  if (lt_foo != "") { lt_freq[lt_foo]++; }
8921
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9295
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
8922
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9296
}'`
8923
}'`
9297
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8924
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9298
else
8925
else
9299
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8926
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9300
fi
8927
fi
9301
library_names_spec=
8928
library_names_spec=
9302
libname_spec='lib$name'
8929
libname_spec='lib$name'
9303
soname_spec=
8930
soname_spec=
9304
shrext_cmds=".so"
8931
shrext_cmds=".so"
9305
postinstall_cmds=
8932
postinstall_cmds=
9306
postuninstall_cmds=
8933
postuninstall_cmds=
9307
finish_cmds=
8934
finish_cmds=
9308
finish_eval=
8935
finish_eval=
9309
shlibpath_var=
8936
shlibpath_var=
9310
shlibpath_overrides_runpath=unknown
8937
shlibpath_overrides_runpath=unknown
9311
version_type=none
8938
version_type=none
9312
dynamic_linker="$host_os ld.so"
8939
dynamic_linker="$host_os ld.so"
9313
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8940
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9314
need_lib_prefix=unknown
8941
need_lib_prefix=unknown
9315
hardcode_into_libs=no
8942
hardcode_into_libs=no
9316
 
8943
 
9317
# when you set need_version to no, make sure it does not cause -set_version
8944
# when you set need_version to no, make sure it does not cause -set_version
9318
# flags to be left without arguments
8945
# flags to be left without arguments
9319
need_version=unknown
8946
need_version=unknown
9320
 
8947
 
9321
case $host_os in
8948
case $host_os in
9322
aix3*)
8949
aix3*)
9323
  version_type=linux
8950
  version_type=linux
9324
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8951
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9325
  shlibpath_var=LIBPATH
8952
  shlibpath_var=LIBPATH
9326
 
8953
 
9327
  # AIX 3 has no versioning support, so we append a major version to the name.
8954
  # AIX 3 has no versioning support, so we append a major version to the name.
9328
  soname_spec='${libname}${release}${shared_ext}$major'
8955
  soname_spec='${libname}${release}${shared_ext}$major'
9329
  ;;
8956
  ;;
9330
 
8957
 
9331
aix[4-9]*)
8958
aix[4-9]*)
9332
  version_type=linux
8959
  version_type=linux
9333
  need_lib_prefix=no
8960
  need_lib_prefix=no
9334
  need_version=no
8961
  need_version=no
9335
  hardcode_into_libs=yes
8962
  hardcode_into_libs=yes
9336
  if test "$host_cpu" = ia64; then
8963
  if test "$host_cpu" = ia64; then
9337
    # AIX 5 supports IA64
8964
    # AIX 5 supports IA64
9338
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8965
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9339
    shlibpath_var=LD_LIBRARY_PATH
8966
    shlibpath_var=LD_LIBRARY_PATH
9340
  else
8967
  else
9341
    # With GCC up to 2.95.x, collect2 would create an import file
8968
    # With GCC up to 2.95.x, collect2 would create an import file
9342
    # for dependence libraries.  The import file would start with
8969
    # for dependence libraries.  The import file would start with
9343
    # the line `#! .'.  This would cause the generated library to
8970
    # the line `#! .'.  This would cause the generated library to
9344
    # depend on `.', always an invalid library.  This was fixed in
8971
    # depend on `.', always an invalid library.  This was fixed in
9345
    # development snapshots of GCC prior to 3.0.
8972
    # development snapshots of GCC prior to 3.0.
9346
    case $host_os in
8973
    case $host_os in
9347
      aix4 | aix4.[01] | aix4.[01].*)
8974
      aix4 | aix4.[01] | aix4.[01].*)
9348
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8975
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9349
	   echo ' yes '
8976
	   echo ' yes '
9350
	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8977
	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9351
	:
8978
	:
9352
      else
8979
      else
9353
	can_build_shared=no
8980
	can_build_shared=no
9354
      fi
8981
      fi
9355
      ;;
8982
      ;;
9356
    esac
8983
    esac
9357
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8984
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9358
    # soname into executable. Probably we can add versioning support to
8985
    # soname into executable. Probably we can add versioning support to
9359
    # collect2, so additional links can be useful in future.
8986
    # collect2, so additional links can be useful in future.
9360
    if test "$aix_use_runtimelinking" = yes; then
8987
    if test "$aix_use_runtimelinking" = yes; then
9361
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8988
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9362
      # instead of lib<name>.a to let people know that these are not
8989
      # instead of lib<name>.a to let people know that these are not
9363
      # typical AIX shared libraries.
8990
      # typical AIX shared libraries.
9364
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8991
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9365
    else
8992
    else
9366
      # We preserve .a as extension for shared libraries through AIX4.2
8993
      # We preserve .a as extension for shared libraries through AIX4.2
9367
      # and later when we are not doing run time linking.
8994
      # and later when we are not doing run time linking.
9368
      library_names_spec='${libname}${release}.a $libname.a'
8995
      library_names_spec='${libname}${release}.a $libname.a'
9369
      soname_spec='${libname}${release}${shared_ext}$major'
8996
      soname_spec='${libname}${release}${shared_ext}$major'
9370
    fi
8997
    fi
9371
    shlibpath_var=LIBPATH
8998
    shlibpath_var=LIBPATH
9372
  fi
8999
  fi
9373
  ;;
9000
  ;;
9374
 
9001
 
9375
amigaos*)
9002
amigaos*)
9376
  case $host_cpu in
9003
  case $host_cpu in
9377
  powerpc)
9004
  powerpc)
9378
    # Since July 2007 AmigaOS4 officially supports .so libraries.
9005
    # Since July 2007 AmigaOS4 officially supports .so libraries.
9379
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9006
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9380
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9007
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9381
    ;;
9008
    ;;
9382
  m68k)
9009
  m68k)
9383
    library_names_spec='$libname.ixlibrary $libname.a'
9010
    library_names_spec='$libname.ixlibrary $libname.a'
9384
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9011
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9385
    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'
9012
    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'
9386
    ;;
9013
    ;;
9387
  esac
9014
  esac
9388
  ;;
9015
  ;;
9389
 
9016
 
9390
beos*)
9017
beos*)
9391
  library_names_spec='${libname}${shared_ext}'
9018
  library_names_spec='${libname}${shared_ext}'
9392
  dynamic_linker="$host_os ld.so"
9019
  dynamic_linker="$host_os ld.so"
9393
  shlibpath_var=LIBRARY_PATH
9020
  shlibpath_var=LIBRARY_PATH
9394
  ;;
9021
  ;;
9395
 
9022
 
9396
bsdi[45]*)
9023
bsdi[45]*)
9397
  version_type=linux
9024
  version_type=linux
9398
  need_version=no
9025
  need_version=no
9399
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9026
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9400
  soname_spec='${libname}${release}${shared_ext}$major'
9027
  soname_spec='${libname}${release}${shared_ext}$major'
9401
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9028
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9402
  shlibpath_var=LD_LIBRARY_PATH
9029
  shlibpath_var=LD_LIBRARY_PATH
9403
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9030
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9404
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9031
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9405
  # the default ld.so.conf also contains /usr/contrib/lib and
9032
  # the default ld.so.conf also contains /usr/contrib/lib and
9406
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9033
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9407
  # libtool to hard-code these into programs
9034
  # libtool to hard-code these into programs
9408
  ;;
9035
  ;;
9409
 
9036
 
9410
cygwin* | mingw* | pw32* | cegcc*)
9037
cygwin* | mingw* | pw32* | cegcc*)
9411
  version_type=windows
9038
  version_type=windows
9412
  shrext_cmds=".dll"
9039
  shrext_cmds=".dll"
9413
  need_version=no
9040
  need_version=no
9414
  need_lib_prefix=no
9041
  need_lib_prefix=no
9415
 
9042
 
9416
  case $GCC,$host_os in
9043
  case $GCC,$host_os in
9417
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9044
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9418
    library_names_spec='$libname.dll.a'
9045
    library_names_spec='$libname.dll.a'
9419
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9046
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9420
    postinstall_cmds='base_file=`basename \${file}`~
9047
    postinstall_cmds='base_file=`basename \${file}`~
9421
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9048
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9422
      dldir=$destdir/`dirname \$dlpath`~
9049
      dldir=$destdir/`dirname \$dlpath`~
9423
      test -d \$dldir || mkdir -p \$dldir~
9050
      test -d \$dldir || mkdir -p \$dldir~
9424
      $install_prog $dir/$dlname \$dldir/$dlname~
9051
      $install_prog $dir/$dlname \$dldir/$dlname~
9425
      chmod a+x \$dldir/$dlname~
9052
      chmod a+x \$dldir/$dlname~
9426
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9053
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9427
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9054
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9428
      fi'
9055
      fi'
9429
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9056
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9430
      dlpath=$dir/\$dldll~
9057
      dlpath=$dir/\$dldll~
9431
       $RM \$dlpath'
9058
       $RM \$dlpath'
9432
    shlibpath_overrides_runpath=yes
9059
    shlibpath_overrides_runpath=yes
9433
 
9060
 
9434
    case $host_os in
9061
    case $host_os in
9435
    cygwin*)
9062
    cygwin*)
9436
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9063
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9437
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9064
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9438
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9065
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9439
      ;;
9066
      ;;
9440
    mingw* | cegcc*)
9067
    mingw* | cegcc*)
9441
      # MinGW DLLs use traditional 'lib' prefix
9068
      # MinGW DLLs use traditional 'lib' prefix
9442
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9069
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9443
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9070
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9444
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9071
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9445
        # It is most probably a Windows format PATH printed by
9072
        # It is most probably a Windows format PATH printed by
9446
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9073
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9447
        # path with ; separators, and with drive letters. We can handle the
9074
        # path with ; separators, and with drive letters. We can handle the
9448
        # drive letters (cygwin fileutils understands them), so leave them,
9075
        # drive letters (cygwin fileutils understands them), so leave them,
9449
        # especially as we might pass files found there to a mingw objdump,
9076
        # especially as we might pass files found there to a mingw objdump,
9450
        # which wouldn't understand a cygwinified path. Ahh.
9077
        # which wouldn't understand a cygwinified path. Ahh.
9451
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9078
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9452
      else
9079
      else
9453
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9080
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9454
      fi
9081
      fi
9455
      ;;
9082
      ;;
9456
    pw32*)
9083
    pw32*)
9457
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9084
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9458
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9085
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9459
      ;;
9086
      ;;
9460
    esac
9087
    esac
9461
    ;;
9088
    ;;
9462
 
9089
 
9463
  *)
9090
  *)
9464
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9091
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9465
    ;;
9092
    ;;
9466
  esac
9093
  esac
9467
  dynamic_linker='Win32 ld.exe'
9094
  dynamic_linker='Win32 ld.exe'
9468
  # FIXME: first we should search . and the directory the executable is in
9095
  # FIXME: first we should search . and the directory the executable is in
9469
  shlibpath_var=PATH
9096
  shlibpath_var=PATH
9470
  ;;
9097
  ;;
9471
 
9098
 
9472
darwin* | rhapsody*)
9099
darwin* | rhapsody*)
9473
  dynamic_linker="$host_os dyld"
9100
  dynamic_linker="$host_os dyld"
9474
  version_type=darwin
9101
  version_type=darwin
9475
  need_lib_prefix=no
9102
  need_lib_prefix=no
9476
  need_version=no
9103
  need_version=no
9477
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9104
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9478
  soname_spec='${libname}${release}${major}$shared_ext'
9105
  soname_spec='${libname}${release}${major}$shared_ext'
9479
  shlibpath_overrides_runpath=yes
9106
  shlibpath_overrides_runpath=yes
9480
  shlibpath_var=DYLD_LIBRARY_PATH
9107
  shlibpath_var=DYLD_LIBRARY_PATH
9481
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9108
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9482
 
9109
 
9483
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9110
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9484
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9111
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9485
  ;;
9112
  ;;
9486
 
9113
 
9487
dgux*)
9114
dgux*)
9488
  version_type=linux
9115
  version_type=linux
9489
  need_lib_prefix=no
9116
  need_lib_prefix=no
9490
  need_version=no
9117
  need_version=no
9491
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9118
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9492
  soname_spec='${libname}${release}${shared_ext}$major'
9119
  soname_spec='${libname}${release}${shared_ext}$major'
9493
  shlibpath_var=LD_LIBRARY_PATH
9120
  shlibpath_var=LD_LIBRARY_PATH
9494
  ;;
9121
  ;;
9495
 
9122
 
9496
freebsd1*)
9123
freebsd1*)
9497
  dynamic_linker=no
9124
  dynamic_linker=no
9498
  ;;
9125
  ;;
9499
 
9126
 
9500
freebsd* | dragonfly*)
9127
freebsd* | dragonfly*)
9501
  # DragonFly does not have aout.  When/if they implement a new
9128
  # DragonFly does not have aout.  When/if they implement a new
9502
  # versioning mechanism, adjust this.
9129
  # versioning mechanism, adjust this.
9503
  if test -x /usr/bin/objformat; then
9130
  if test -x /usr/bin/objformat; then
9504
    objformat=`/usr/bin/objformat`
9131
    objformat=`/usr/bin/objformat`
9505
  else
9132
  else
9506
    case $host_os in
9133
    case $host_os in
9507
    freebsd[123]*) objformat=aout ;;
9134
    freebsd[123]*) objformat=aout ;;
9508
    *) objformat=elf ;;
9135
    *) objformat=elf ;;
9509
    esac
9136
    esac
9510
  fi
9137
  fi
9511
  version_type=freebsd-$objformat
9138
  version_type=freebsd-$objformat
9512
  case $version_type in
9139
  case $version_type in
9513
    freebsd-elf*)
9140
    freebsd-elf*)
9514
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9141
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9515
      need_version=no
9142
      need_version=no
9516
      need_lib_prefix=no
9143
      need_lib_prefix=no
9517
      ;;
9144
      ;;
9518
    freebsd-*)
9145
    freebsd-*)
9519
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9146
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9520
      need_version=yes
9147
      need_version=yes
9521
      ;;
9148
      ;;
9522
  esac
9149
  esac
9523
  shlibpath_var=LD_LIBRARY_PATH
9150
  shlibpath_var=LD_LIBRARY_PATH
9524
  case $host_os in
9151
  case $host_os in
9525
  freebsd2*)
9152
  freebsd2*)
9526
    shlibpath_overrides_runpath=yes
9153
    shlibpath_overrides_runpath=yes
9527
    ;;
9154
    ;;
9528
  freebsd3.[01]* | freebsdelf3.[01]*)
9155
  freebsd3.[01]* | freebsdelf3.[01]*)
9529
    shlibpath_overrides_runpath=yes
9156
    shlibpath_overrides_runpath=yes
9530
    hardcode_into_libs=yes
9157
    hardcode_into_libs=yes
9531
    ;;
9158
    ;;
9532
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9159
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9533
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9160
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9534
    shlibpath_overrides_runpath=no
9161
    shlibpath_overrides_runpath=no
9535
    hardcode_into_libs=yes
9162
    hardcode_into_libs=yes
9536
    ;;
9163
    ;;
9537
  *) # from 4.6 on, and DragonFly
9164
  *) # from 4.6 on, and DragonFly
9538
    shlibpath_overrides_runpath=yes
9165
    shlibpath_overrides_runpath=yes
9539
    hardcode_into_libs=yes
9166
    hardcode_into_libs=yes
9540
    ;;
9167
    ;;
9541
  esac
9168
  esac
9542
  ;;
9169
  ;;
9543
 
9170
 
9544
gnu*)
9171
gnu*)
9545
  version_type=linux
9172
  version_type=linux
9546
  need_lib_prefix=no
9173
  need_lib_prefix=no
9547
  need_version=no
9174
  need_version=no
9548
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9175
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9549
  soname_spec='${libname}${release}${shared_ext}$major'
9176
  soname_spec='${libname}${release}${shared_ext}$major'
9550
  shlibpath_var=LD_LIBRARY_PATH
9177
  shlibpath_var=LD_LIBRARY_PATH
9551
  hardcode_into_libs=yes
9178
  hardcode_into_libs=yes
9552
  ;;
9179
  ;;
9553
 
9180
 
9554
hpux9* | hpux10* | hpux11*)
9181
hpux9* | hpux10* | hpux11*)
9555
  # Give a soname corresponding to the major version so that dld.sl refuses to
9182
  # Give a soname corresponding to the major version so that dld.sl refuses to
9556
  # link against other versions.
9183
  # link against other versions.
9557
  version_type=sunos
9184
  version_type=sunos
9558
  need_lib_prefix=no
9185
  need_lib_prefix=no
9559
  need_version=no
9186
  need_version=no
9560
  case $host_cpu in
9187
  case $host_cpu in
9561
  ia64*)
9188
  ia64*)
9562
    shrext_cmds='.so'
9189
    shrext_cmds='.so'
9563
    hardcode_into_libs=yes
9190
    hardcode_into_libs=yes
9564
    dynamic_linker="$host_os dld.so"
9191
    dynamic_linker="$host_os dld.so"
9565
    shlibpath_var=LD_LIBRARY_PATH
9192
    shlibpath_var=LD_LIBRARY_PATH
9566
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9193
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9567
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9194
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9568
    soname_spec='${libname}${release}${shared_ext}$major'
9195
    soname_spec='${libname}${release}${shared_ext}$major'
9569
    if test "X$HPUX_IA64_MODE" = X32; then
9196
    if test "X$HPUX_IA64_MODE" = X32; then
9570
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9197
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9571
    else
9198
    else
9572
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9199
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9573
    fi
9200
    fi
9574
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9201
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9575
    ;;
9202
    ;;
9576
  hppa*64*)
9203
  hppa*64*)
9577
    shrext_cmds='.sl'
9204
    shrext_cmds='.sl'
9578
    hardcode_into_libs=yes
9205
    hardcode_into_libs=yes
9579
    dynamic_linker="$host_os dld.sl"
9206
    dynamic_linker="$host_os dld.sl"
9580
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9207
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9581
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9208
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9582
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9209
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9583
    soname_spec='${libname}${release}${shared_ext}$major'
9210
    soname_spec='${libname}${release}${shared_ext}$major'
9584
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9211
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9585
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9212
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9586
    ;;
9213
    ;;
9587
  *)
9214
  *)
9588
    shrext_cmds='.sl'
9215
    shrext_cmds='.sl'
9589
    dynamic_linker="$host_os dld.sl"
9216
    dynamic_linker="$host_os dld.sl"
9590
    shlibpath_var=SHLIB_PATH
9217
    shlibpath_var=SHLIB_PATH
9591
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9218
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9592
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9219
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9593
    soname_spec='${libname}${release}${shared_ext}$major'
9220
    soname_spec='${libname}${release}${shared_ext}$major'
9594
    ;;
9221
    ;;
9595
  esac
9222
  esac
9596
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9223
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9597
  postinstall_cmds='chmod 555 $lib'
9224
  postinstall_cmds='chmod 555 $lib'
9598
  ;;
9225
  ;;
9599
 
9226
 
9600
interix[3-9]*)
9227
interix[3-9]*)
9601
  version_type=linux
9228
  version_type=linux
9602
  need_lib_prefix=no
9229
  need_lib_prefix=no
9603
  need_version=no
9230
  need_version=no
9604
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9231
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9605
  soname_spec='${libname}${release}${shared_ext}$major'
9232
  soname_spec='${libname}${release}${shared_ext}$major'
9606
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9233
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9607
  shlibpath_var=LD_LIBRARY_PATH
9234
  shlibpath_var=LD_LIBRARY_PATH
9608
  shlibpath_overrides_runpath=no
9235
  shlibpath_overrides_runpath=no
9609
  hardcode_into_libs=yes
9236
  hardcode_into_libs=yes
9610
  ;;
9237
  ;;
9611
 
9238
 
9612
irix5* | irix6* | nonstopux*)
9239
irix5* | irix6* | nonstopux*)
9613
  case $host_os in
9240
  case $host_os in
9614
    nonstopux*) version_type=nonstopux ;;
9241
    nonstopux*) version_type=nonstopux ;;
9615
    *)
9242
    *)
9616
	if test "$lt_cv_prog_gnu_ld" = yes; then
9243
	if test "$lt_cv_prog_gnu_ld" = yes; then
9617
		version_type=linux
9244
		version_type=linux
9618
	else
9245
	else
9619
		version_type=irix
9246
		version_type=irix
9620
	fi ;;
9247
	fi ;;
9621
  esac
9248
  esac
9622
  need_lib_prefix=no
9249
  need_lib_prefix=no
9623
  need_version=no
9250
  need_version=no
9624
  soname_spec='${libname}${release}${shared_ext}$major'
9251
  soname_spec='${libname}${release}${shared_ext}$major'
9625
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9252
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9626
  case $host_os in
9253
  case $host_os in
9627
  irix5* | nonstopux*)
9254
  irix5* | nonstopux*)
9628
    libsuff= shlibsuff=
9255
    libsuff= shlibsuff=
9629
    ;;
9256
    ;;
9630
  *)
9257
  *)
9631
    case $LD in # libtool.m4 will add one of these switches to LD
9258
    case $LD in # libtool.m4 will add one of these switches to LD
9632
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9259
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9633
      libsuff= shlibsuff= libmagic=32-bit;;
9260
      libsuff= shlibsuff= libmagic=32-bit;;
9634
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9261
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9635
      libsuff=32 shlibsuff=N32 libmagic=N32;;
9262
      libsuff=32 shlibsuff=N32 libmagic=N32;;
9636
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9263
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9637
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9264
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9638
    *) libsuff= shlibsuff= libmagic=never-match;;
9265
    *) libsuff= shlibsuff= libmagic=never-match;;
9639
    esac
9266
    esac
9640
    ;;
9267
    ;;
9641
  esac
9268
  esac
9642
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9269
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9643
  shlibpath_overrides_runpath=no
9270
  shlibpath_overrides_runpath=no
9644
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9271
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9645
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9272
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9646
  hardcode_into_libs=yes
9273
  hardcode_into_libs=yes
9647
  ;;
9274
  ;;
9648
 
9275
 
9649
# No shared lib support for Linux oldld, aout, or coff.
9276
# No shared lib support for Linux oldld, aout, or coff.
9650
linux*oldld* | linux*aout* | linux*coff*)
9277
linux*oldld* | linux*aout* | linux*coff*)
9651
  dynamic_linker=no
9278
  dynamic_linker=no
9652
  ;;
9279
  ;;
9653
 
9280
 
9654
# This must be Linux ELF.
9281
# This must be Linux ELF.
9655
linux* | k*bsd*-gnu)
9282
linux* | k*bsd*-gnu)
9656
  version_type=linux
9283
  version_type=linux
9657
  need_lib_prefix=no
9284
  need_lib_prefix=no
9658
  need_version=no
9285
  need_version=no
9659
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9286
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9660
  soname_spec='${libname}${release}${shared_ext}$major'
9287
  soname_spec='${libname}${release}${shared_ext}$major'
9661
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9288
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9662
  shlibpath_var=LD_LIBRARY_PATH
9289
  shlibpath_var=LD_LIBRARY_PATH
9663
  shlibpath_overrides_runpath=no
9290
  shlibpath_overrides_runpath=no
9664
  # Some binutils ld are patched to set DT_RUNPATH
9291
  # Some binutils ld are patched to set DT_RUNPATH
9665
  save_LDFLAGS=$LDFLAGS
9292
  save_LDFLAGS=$LDFLAGS
9666
  save_libdir=$libdir
9293
  save_libdir=$libdir
9667
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9294
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9668
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9295
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9669
  cat >conftest.$ac_ext <<_ACEOF
-
 
9670
/* confdefs.h.  */
-
 
9671
_ACEOF
-
 
9672
cat confdefs.h >>conftest.$ac_ext
9296
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9673
cat >>conftest.$ac_ext <<_ACEOF
-
 
9674
/* end confdefs.h.  */
9297
/* end confdefs.h.  */
9675
 
9298
 
9676
int
9299
int
9677
main ()
9300
main ()
9678
{
9301
{
9679
 
9302
 
9680
  ;
9303
  ;
9681
  return 0;
9304
  return 0;
9682
}
9305
}
9683
_ACEOF
9306
_ACEOF
9684
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
9685
if { (ac_try="$ac_link"
-
 
9686
case "(($ac_try" in
-
 
9687
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
9688
  *) ac_try_echo=$ac_try;;
-
 
9689
esac
-
 
9690
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
9691
$as_echo "$ac_try_echo") >&5
-
 
9692
  (eval "$ac_link") 2>conftest.er1
9307
if ac_fn_c_try_link "$LINENO"; then :
9693
  ac_status=$?
-
 
9694
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
9695
  rm -f conftest.er1
-
 
9696
  cat conftest.err >&5
-
 
9697
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
9698
  (exit $ac_status); } && {
-
 
9699
	 test -z "$ac_c_werror_flag" ||
-
 
9700
	 test ! -s conftest.err
-
 
9701
       } && test -s conftest$ac_exeext && {
-
 
9702
	 test "$cross_compiling" = yes ||
-
 
9703
	 $as_test_x conftest$ac_exeext
-
 
9704
       }; then
-
 
9705
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9308
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9706
  shlibpath_overrides_runpath=yes
9309
  shlibpath_overrides_runpath=yes
9707
fi
9310
fi
9708
 
-
 
9709
else
-
 
9710
  $as_echo "$as_me: failed program was:" >&5
-
 
9711
sed 's/^/| /' conftest.$ac_ext >&5
-
 
9712
 
-
 
9713
 
-
 
9714
fi
9311
fi
9715
 
-
 
9716
rm -rf conftest.dSYM
-
 
9717
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9312
rm -f core conftest.err conftest.$ac_objext \
9718
      conftest$ac_exeext conftest.$ac_ext
9313
    conftest$ac_exeext conftest.$ac_ext
9719
  LDFLAGS=$save_LDFLAGS
9314
  LDFLAGS=$save_LDFLAGS
9720
  libdir=$save_libdir
9315
  libdir=$save_libdir
9721
 
9316
 
9722
  # This implies no fast_install, which is unacceptable.
9317
  # This implies no fast_install, which is unacceptable.
9723
  # Some rework will be needed to allow for fast_install
9318
  # Some rework will be needed to allow for fast_install
9724
  # before this can be enabled.
9319
  # before this can be enabled.
9725
  hardcode_into_libs=yes
9320
  hardcode_into_libs=yes
9726
 
9321
 
9727
  # Append ld.so.conf contents to the search path
9322
  # Append ld.so.conf contents to the search path
9728
  if test -f /etc/ld.so.conf; then
9323
  if test -f /etc/ld.so.conf; then
9729
    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' ' '`
9324
    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' ' '`
9730
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9325
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9731
  fi
9326
  fi
9732
 
9327
 
9733
  # We used to test for /lib/ld.so.1 and disable shared libraries on
9328
  # We used to test for /lib/ld.so.1 and disable shared libraries on
9734
  # powerpc, because MkLinux only supported shared libraries with the
9329
  # powerpc, because MkLinux only supported shared libraries with the
9735
  # GNU dynamic linker.  Since this was broken with cross compilers,
9330
  # GNU dynamic linker.  Since this was broken with cross compilers,
9736
  # most powerpc-linux boxes support dynamic linking these days and
9331
  # most powerpc-linux boxes support dynamic linking these days and
9737
  # people can always --disable-shared, the test was removed, and we
9332
  # people can always --disable-shared, the test was removed, and we
9738
  # assume the GNU/Linux dynamic linker is in use.
9333
  # assume the GNU/Linux dynamic linker is in use.
9739
  dynamic_linker='GNU/Linux ld.so'
9334
  dynamic_linker='GNU/Linux ld.so'
9740
  ;;
9335
  ;;
9741
 
9336
 
9742
netbsdelf*-gnu)
9337
netbsdelf*-gnu)
9743
  version_type=linux
9338
  version_type=linux
9744
  need_lib_prefix=no
9339
  need_lib_prefix=no
9745
  need_version=no
9340
  need_version=no
9746
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9341
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9747
  soname_spec='${libname}${release}${shared_ext}$major'
9342
  soname_spec='${libname}${release}${shared_ext}$major'
9748
  shlibpath_var=LD_LIBRARY_PATH
9343
  shlibpath_var=LD_LIBRARY_PATH
9749
  shlibpath_overrides_runpath=no
9344
  shlibpath_overrides_runpath=no
9750
  hardcode_into_libs=yes
9345
  hardcode_into_libs=yes
9751
  dynamic_linker='NetBSD ld.elf_so'
9346
  dynamic_linker='NetBSD ld.elf_so'
9752
  ;;
9347
  ;;
9753
 
9348
 
9754
netbsd*)
9349
netbsd*)
9755
  version_type=sunos
9350
  version_type=sunos
9756
  need_lib_prefix=no
9351
  need_lib_prefix=no
9757
  need_version=no
9352
  need_version=no
9758
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9353
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9759
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9354
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9760
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9355
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9761
    dynamic_linker='NetBSD (a.out) ld.so'
9356
    dynamic_linker='NetBSD (a.out) ld.so'
9762
  else
9357
  else
9763
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9358
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9764
    soname_spec='${libname}${release}${shared_ext}$major'
9359
    soname_spec='${libname}${release}${shared_ext}$major'
9765
    dynamic_linker='NetBSD ld.elf_so'
9360
    dynamic_linker='NetBSD ld.elf_so'
9766
  fi
9361
  fi
9767
  shlibpath_var=LD_LIBRARY_PATH
9362
  shlibpath_var=LD_LIBRARY_PATH
9768
  shlibpath_overrides_runpath=yes
9363
  shlibpath_overrides_runpath=yes
9769
  hardcode_into_libs=yes
9364
  hardcode_into_libs=yes
9770
  ;;
9365
  ;;
9771
 
9366
 
9772
newsos6)
9367
newsos6)
9773
  version_type=linux
9368
  version_type=linux
9774
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9369
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9775
  shlibpath_var=LD_LIBRARY_PATH
9370
  shlibpath_var=LD_LIBRARY_PATH
9776
  shlibpath_overrides_runpath=yes
9371
  shlibpath_overrides_runpath=yes
9777
  ;;
9372
  ;;
9778
 
9373
 
9779
*nto* | *qnx*)
9374
*nto* | *qnx*)
9780
  version_type=qnx
9375
  version_type=qnx
9781
  need_lib_prefix=no
9376
  need_lib_prefix=no
9782
  need_version=no
9377
  need_version=no
9783
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9378
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9784
  soname_spec='${libname}${release}${shared_ext}$major'
9379
  soname_spec='${libname}${release}${shared_ext}$major'
9785
  shlibpath_var=LD_LIBRARY_PATH
9380
  shlibpath_var=LD_LIBRARY_PATH
9786
  shlibpath_overrides_runpath=no
9381
  shlibpath_overrides_runpath=no
9787
  hardcode_into_libs=yes
9382
  hardcode_into_libs=yes
9788
  dynamic_linker='ldqnx.so'
9383
  dynamic_linker='ldqnx.so'
9789
  ;;
9384
  ;;
9790
 
9385
 
9791
openbsd*)
9386
openbsd*)
9792
  version_type=sunos
9387
  version_type=sunos
9793
  sys_lib_dlsearch_path_spec="/usr/lib"
9388
  sys_lib_dlsearch_path_spec="/usr/lib"
9794
  need_lib_prefix=no
9389
  need_lib_prefix=no
9795
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9390
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9796
  case $host_os in
9391
  case $host_os in
9797
    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
9392
    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
9798
    *)				need_version=no  ;;
9393
    *)				need_version=no  ;;
9799
  esac
9394
  esac
9800
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9395
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9801
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9396
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9802
  shlibpath_var=LD_LIBRARY_PATH
9397
  shlibpath_var=LD_LIBRARY_PATH
9803
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9398
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9804
    case $host_os in
9399
    case $host_os in
9805
      openbsd2.[89] | openbsd2.[89].*)
9400
      openbsd2.[89] | openbsd2.[89].*)
9806
	shlibpath_overrides_runpath=no
9401
	shlibpath_overrides_runpath=no
9807
	;;
9402
	;;
9808
      *)
9403
      *)
9809
	shlibpath_overrides_runpath=yes
9404
	shlibpath_overrides_runpath=yes
9810
	;;
9405
	;;
9811
      esac
9406
      esac
9812
  else
9407
  else
9813
    shlibpath_overrides_runpath=yes
9408
    shlibpath_overrides_runpath=yes
9814
  fi
9409
  fi
9815
  ;;
9410
  ;;
9816
 
9411
 
9817
os2*)
9412
os2*)
9818
  libname_spec='$name'
9413
  libname_spec='$name'
9819
  shrext_cmds=".dll"
9414
  shrext_cmds=".dll"
9820
  need_lib_prefix=no
9415
  need_lib_prefix=no
9821
  library_names_spec='$libname${shared_ext} $libname.a'
9416
  library_names_spec='$libname${shared_ext} $libname.a'
9822
  dynamic_linker='OS/2 ld.exe'
9417
  dynamic_linker='OS/2 ld.exe'
9823
  shlibpath_var=LIBPATH
9418
  shlibpath_var=LIBPATH
9824
  ;;
9419
  ;;
9825
 
9420
 
9826
osf3* | osf4* | osf5*)
9421
osf3* | osf4* | osf5*)
9827
  version_type=osf
9422
  version_type=osf
9828
  need_lib_prefix=no
9423
  need_lib_prefix=no
9829
  need_version=no
9424
  need_version=no
9830
  soname_spec='${libname}${release}${shared_ext}$major'
9425
  soname_spec='${libname}${release}${shared_ext}$major'
9831
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9426
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9832
  shlibpath_var=LD_LIBRARY_PATH
9427
  shlibpath_var=LD_LIBRARY_PATH
9833
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9428
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9834
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9429
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9835
  ;;
9430
  ;;
9836
 
9431
 
9837
rdos*)
9432
rdos*)
9838
  dynamic_linker=no
9433
  dynamic_linker=no
9839
  ;;
9434
  ;;
9840
 
9435
 
9841
solaris*)
9436
solaris*)
9842
  version_type=linux
9437
  version_type=linux
9843
  need_lib_prefix=no
9438
  need_lib_prefix=no
9844
  need_version=no
9439
  need_version=no
9845
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9440
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9846
  soname_spec='${libname}${release}${shared_ext}$major'
9441
  soname_spec='${libname}${release}${shared_ext}$major'
9847
  shlibpath_var=LD_LIBRARY_PATH
9442
  shlibpath_var=LD_LIBRARY_PATH
9848
  shlibpath_overrides_runpath=yes
9443
  shlibpath_overrides_runpath=yes
9849
  hardcode_into_libs=yes
9444
  hardcode_into_libs=yes
9850
  # ldd complains unless libraries are executable
9445
  # ldd complains unless libraries are executable
9851
  postinstall_cmds='chmod +x $lib'
9446
  postinstall_cmds='chmod +x $lib'
9852
  ;;
9447
  ;;
9853
 
9448
 
9854
sunos4*)
9449
sunos4*)
9855
  version_type=sunos
9450
  version_type=sunos
9856
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9451
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9857
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9452
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9858
  shlibpath_var=LD_LIBRARY_PATH
9453
  shlibpath_var=LD_LIBRARY_PATH
9859
  shlibpath_overrides_runpath=yes
9454
  shlibpath_overrides_runpath=yes
9860
  if test "$with_gnu_ld" = yes; then
9455
  if test "$with_gnu_ld" = yes; then
9861
    need_lib_prefix=no
9456
    need_lib_prefix=no
9862
  fi
9457
  fi
9863
  need_version=yes
9458
  need_version=yes
9864
  ;;
9459
  ;;
9865
 
9460
 
9866
sysv4 | sysv4.3*)
9461
sysv4 | sysv4.3*)
9867
  version_type=linux
9462
  version_type=linux
9868
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9463
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9869
  soname_spec='${libname}${release}${shared_ext}$major'
9464
  soname_spec='${libname}${release}${shared_ext}$major'
9870
  shlibpath_var=LD_LIBRARY_PATH
9465
  shlibpath_var=LD_LIBRARY_PATH
9871
  case $host_vendor in
9466
  case $host_vendor in
9872
    sni)
9467
    sni)
9873
      shlibpath_overrides_runpath=no
9468
      shlibpath_overrides_runpath=no
9874
      need_lib_prefix=no
9469
      need_lib_prefix=no
9875
      runpath_var=LD_RUN_PATH
9470
      runpath_var=LD_RUN_PATH
9876
      ;;
9471
      ;;
9877
    siemens)
9472
    siemens)
9878
      need_lib_prefix=no
9473
      need_lib_prefix=no
9879
      ;;
9474
      ;;
9880
    motorola)
9475
    motorola)
9881
      need_lib_prefix=no
9476
      need_lib_prefix=no
9882
      need_version=no
9477
      need_version=no
9883
      shlibpath_overrides_runpath=no
9478
      shlibpath_overrides_runpath=no
9884
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9479
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9885
      ;;
9480
      ;;
9886
  esac
9481
  esac
9887
  ;;
9482
  ;;
9888
 
9483
 
9889
sysv4*MP*)
9484
sysv4*MP*)
9890
  if test -d /usr/nec ;then
9485
  if test -d /usr/nec ;then
9891
    version_type=linux
9486
    version_type=linux
9892
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9487
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9893
    soname_spec='$libname${shared_ext}.$major'
9488
    soname_spec='$libname${shared_ext}.$major'
9894
    shlibpath_var=LD_LIBRARY_PATH
9489
    shlibpath_var=LD_LIBRARY_PATH
9895
  fi
9490
  fi
9896
  ;;
9491
  ;;
9897
 
9492
 
9898
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9493
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9899
  version_type=freebsd-elf
9494
  version_type=freebsd-elf
9900
  need_lib_prefix=no
9495
  need_lib_prefix=no
9901
  need_version=no
9496
  need_version=no
9902
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9497
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9903
  soname_spec='${libname}${release}${shared_ext}$major'
9498
  soname_spec='${libname}${release}${shared_ext}$major'
9904
  shlibpath_var=LD_LIBRARY_PATH
9499
  shlibpath_var=LD_LIBRARY_PATH
9905
  shlibpath_overrides_runpath=yes
9500
  shlibpath_overrides_runpath=yes
9906
  hardcode_into_libs=yes
9501
  hardcode_into_libs=yes
9907
  if test "$with_gnu_ld" = yes; then
9502
  if test "$with_gnu_ld" = yes; then
9908
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9503
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9909
  else
9504
  else
9910
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9505
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9911
    case $host_os in
9506
    case $host_os in
9912
      sco3.2v5*)
9507
      sco3.2v5*)
9913
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9508
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9914
	;;
9509
	;;
9915
    esac
9510
    esac
9916
  fi
9511
  fi
9917
  sys_lib_dlsearch_path_spec='/usr/lib'
9512
  sys_lib_dlsearch_path_spec='/usr/lib'
9918
  ;;
9513
  ;;
9919
 
9514
 
9920
tpf*)
9515
tpf*)
9921
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9516
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9922
  version_type=linux
9517
  version_type=linux
9923
  need_lib_prefix=no
9518
  need_lib_prefix=no
9924
  need_version=no
9519
  need_version=no
9925
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9520
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9926
  shlibpath_var=LD_LIBRARY_PATH
9521
  shlibpath_var=LD_LIBRARY_PATH
9927
  shlibpath_overrides_runpath=no
9522
  shlibpath_overrides_runpath=no
9928
  hardcode_into_libs=yes
9523
  hardcode_into_libs=yes
9929
  ;;
9524
  ;;
9930
 
9525
 
9931
uts4*)
9526
uts4*)
9932
  version_type=linux
9527
  version_type=linux
9933
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9528
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9934
  soname_spec='${libname}${release}${shared_ext}$major'
9529
  soname_spec='${libname}${release}${shared_ext}$major'
9935
  shlibpath_var=LD_LIBRARY_PATH
9530
  shlibpath_var=LD_LIBRARY_PATH
9936
  ;;
9531
  ;;
9937
 
9532
 
9938
*)
9533
*)
9939
  dynamic_linker=no
9534
  dynamic_linker=no
9940
  ;;
9535
  ;;
9941
esac
9536
esac
9942
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9537
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9943
$as_echo "$dynamic_linker" >&6; }
9538
$as_echo "$dynamic_linker" >&6; }
9944
test "$dynamic_linker" = no && can_build_shared=no
9539
test "$dynamic_linker" = no && can_build_shared=no
9945
 
9540
 
9946
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9541
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9947
if test "$GCC" = yes; then
9542
if test "$GCC" = yes; then
9948
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9543
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9949
fi
9544
fi
9950
 
9545
 
9951
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9546
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9952
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9547
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9953
fi
9548
fi
9954
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9549
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9955
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9550
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9956
fi
9551
fi
9957
 
9552
 
9958
 
9553
 
9959
 
9554
 
9960
 
9555
 
9961
 
9556
 
9962
 
9557
 
9963
 
9558
 
9964
 
9559
 
9965
 
9560
 
9966
 
9561
 
9967
 
9562
 
9968
 
9563
 
9969
 
9564
 
9970
 
9565
 
9971
 
9566
 
9972
 
9567
 
9973
 
9568
 
9974
 
9569
 
9975
 
9570
 
9976
 
9571
 
9977
 
9572
 
9978
 
9573
 
9979
 
9574
 
9980
 
9575
 
9981
 
9576
 
9982
 
9577
 
9983
 
9578
 
9984
 
9579
 
9985
 
9580
 
9986
 
9581
 
9987
 
9582
 
9988
 
9583
 
9989
 
9584
 
9990
 
9585
 
9991
 
9586
 
9992
 
9587
 
9993
 
9588
 
9994
 
9589
 
9995
 
9590
 
9996
 
9591
 
9997
 
9592
 
9998
 
9593
 
9999
 
9594
 
10000
 
9595
 
10001
 
9596
 
10002
 
9597
 
10003
 
9598
 
10004
 
9599
 
10005
 
9600
 
10006
 
9601
 
10007
 
9602
 
10008
 
9603
 
10009
 
9604
 
10010
 
9605
 
10011
 
9606
 
10012
 
9607
 
10013
 
9608
 
10014
 
9609
 
10015
 
9610
 
10016
 
9611
 
10017
 
9612
 
10018
 
9613
 
10019
 
9614
 
10020
 
9615
 
10021
 
9616
 
10022
 
9617
 
10023
 
9618
 
10024
 
9619
 
10025
 
9620
 
10026
 
9621
 
10027
 
9622
 
10028
 
9623
 
10029
 
9624
 
10030
 
9625
 
10031
 
9626
 
10032
 
9627
 
10033
 
9628
 
10034
 
9629
 
10035
 
9630
 
10036
 
9631
 
10037
 
9632
 
10038
 
9633
 
10039
 
9634
 
10040
 
9635
 
10041
 
9636
 
10042
 
9637
 
10043
 
9638
 
10044
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9639
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10045
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9640
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10046
hardcode_action=
9641
hardcode_action=
10047
if test -n "$hardcode_libdir_flag_spec" ||
9642
if test -n "$hardcode_libdir_flag_spec" ||
10048
   test -n "$runpath_var" ||
9643
   test -n "$runpath_var" ||
10049
   test "X$hardcode_automatic" = "Xyes" ; then
9644
   test "X$hardcode_automatic" = "Xyes" ; then
10050
 
9645
 
10051
  # We can hardcode non-existent directories.
9646
  # We can hardcode non-existent directories.
10052
  if test "$hardcode_direct" != no &&
9647
  if test "$hardcode_direct" != no &&
10053
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9648
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10054
     # have to relink, otherwise we might link with an installed library
9649
     # have to relink, otherwise we might link with an installed library
10055
     # when we should be linking with a yet-to-be-installed one
9650
     # when we should be linking with a yet-to-be-installed one
10056
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9651
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10057
     test "$hardcode_minus_L" != no; then
9652
     test "$hardcode_minus_L" != no; then
10058
    # Linking always hardcodes the temporary library directory.
9653
    # Linking always hardcodes the temporary library directory.
10059
    hardcode_action=relink
9654
    hardcode_action=relink
10060
  else
9655
  else
10061
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
9656
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10062
    hardcode_action=immediate
9657
    hardcode_action=immediate
10063
  fi
9658
  fi
10064
else
9659
else
10065
  # We cannot hardcode anything, or else we can only hardcode existing
9660
  # We cannot hardcode anything, or else we can only hardcode existing
10066
  # directories.
9661
  # directories.
10067
  hardcode_action=unsupported
9662
  hardcode_action=unsupported
10068
fi
9663
fi
10069
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
9664
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10070
$as_echo "$hardcode_action" >&6; }
9665
$as_echo "$hardcode_action" >&6; }
10071
 
9666
 
10072
if test "$hardcode_action" = relink ||
9667
if test "$hardcode_action" = relink ||
10073
   test "$inherit_rpath" = yes; then
9668
   test "$inherit_rpath" = yes; then
10074
  # Fast installation is not supported
9669
  # Fast installation is not supported
10075
  enable_fast_install=no
9670
  enable_fast_install=no
10076
elif test "$shlibpath_overrides_runpath" = yes ||
9671
elif test "$shlibpath_overrides_runpath" = yes ||
10077
     test "$enable_shared" = no; then
9672
     test "$enable_shared" = no; then
10078
  # Fast installation is not necessary
9673
  # Fast installation is not necessary
10079
  enable_fast_install=needless
9674
  enable_fast_install=needless
10080
fi
9675
fi
10081
 
9676
 
10082
 
9677
 
10083
 
9678
 
10084
 
9679
 
10085
 
9680
 
10086
 
9681
 
10087
  if test "x$enable_dlopen" != xyes; then
9682
  if test "x$enable_dlopen" != xyes; then
10088
  enable_dlopen=unknown
9683
  enable_dlopen=unknown
10089
  enable_dlopen_self=unknown
9684
  enable_dlopen_self=unknown
10090
  enable_dlopen_self_static=unknown
9685
  enable_dlopen_self_static=unknown
10091
else
9686
else
10092
  lt_cv_dlopen=no
9687
  lt_cv_dlopen=no
10093
  lt_cv_dlopen_libs=
9688
  lt_cv_dlopen_libs=
10094
 
9689
 
10095
  case $host_os in
9690
  case $host_os in
10096
  beos*)
9691
  beos*)
10097
    lt_cv_dlopen="load_add_on"
9692
    lt_cv_dlopen="load_add_on"
10098
    lt_cv_dlopen_libs=
9693
    lt_cv_dlopen_libs=
10099
    lt_cv_dlopen_self=yes
9694
    lt_cv_dlopen_self=yes
10100
    ;;
9695
    ;;
10101
 
9696
 
10102
  mingw* | pw32* | cegcc*)
9697
  mingw* | pw32* | cegcc*)
10103
    lt_cv_dlopen="LoadLibrary"
9698
    lt_cv_dlopen="LoadLibrary"
10104
    lt_cv_dlopen_libs=
9699
    lt_cv_dlopen_libs=
10105
    ;;
9700
    ;;
10106
 
9701
 
10107
  cygwin*)
9702
  cygwin*)
10108
    lt_cv_dlopen="dlopen"
9703
    lt_cv_dlopen="dlopen"
10109
    lt_cv_dlopen_libs=
9704
    lt_cv_dlopen_libs=
10110
    ;;
9705
    ;;
10111
 
9706
 
10112
  darwin*)
9707
  darwin*)
10113
  # if libdl is installed we need to link against it
9708
  # if libdl is installed we need to link against it
10114
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9709
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10115
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9710
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10116
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9711
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10117
  $as_echo_n "(cached) " >&6
9712
  $as_echo_n "(cached) " >&6
10118
else
9713
else
10119
  ac_check_lib_save_LIBS=$LIBS
9714
  ac_check_lib_save_LIBS=$LIBS
10120
LIBS="-ldl  $LIBS"
9715
LIBS="-ldl  $LIBS"
10121
cat >conftest.$ac_ext <<_ACEOF
-
 
10122
/* confdefs.h.  */
-
 
10123
_ACEOF
-
 
10124
cat confdefs.h >>conftest.$ac_ext
9716
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10125
cat >>conftest.$ac_ext <<_ACEOF
-
 
10126
/* end confdefs.h.  */
9717
/* end confdefs.h.  */
10127
 
9718
 
10128
/* Override any GCC internal prototype to avoid an error.
9719
/* Override any GCC internal prototype to avoid an error.
10129
   Use char because int might match the return type of a GCC
9720
   Use char because int might match the return type of a GCC
10130
   builtin and then its argument prototype would still apply.  */
9721
   builtin and then its argument prototype would still apply.  */
10131
#ifdef __cplusplus
9722
#ifdef __cplusplus
10132
extern "C"
9723
extern "C"
10133
#endif
9724
#endif
10134
char dlopen ();
9725
char dlopen ();
10135
int
9726
int
10136
main ()
9727
main ()
10137
{
9728
{
10138
return dlopen ();
9729
return dlopen ();
10139
  ;
9730
  ;
10140
  return 0;
9731
  return 0;
10141
}
9732
}
10142
_ACEOF
9733
_ACEOF
10143
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
10144
if { (ac_try="$ac_link"
-
 
10145
case "(($ac_try" in
-
 
10146
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
10147
  *) ac_try_echo=$ac_try;;
-
 
10148
esac
-
 
10149
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
10150
$as_echo "$ac_try_echo") >&5
-
 
10151
  (eval "$ac_link") 2>conftest.er1
9734
if ac_fn_c_try_link "$LINENO"; then :
10152
  ac_status=$?
-
 
10153
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
10154
  rm -f conftest.er1
-
 
10155
  cat conftest.err >&5
-
 
10156
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
10157
  (exit $ac_status); } && {
-
 
10158
	 test -z "$ac_c_werror_flag" ||
-
 
10159
	 test ! -s conftest.err
-
 
10160
       } && test -s conftest$ac_exeext && {
-
 
10161
	 test "$cross_compiling" = yes ||
-
 
10162
	 $as_test_x conftest$ac_exeext
-
 
10163
       }; then
-
 
10164
  ac_cv_lib_dl_dlopen=yes
9735
  ac_cv_lib_dl_dlopen=yes
10165
else
9736
else
10166
  $as_echo "$as_me: failed program was:" >&5
-
 
10167
sed 's/^/| /' conftest.$ac_ext >&5
-
 
10168
 
-
 
10169
	ac_cv_lib_dl_dlopen=no
9737
  ac_cv_lib_dl_dlopen=no
10170
fi
9738
fi
10171
 
-
 
10172
rm -rf conftest.dSYM
-
 
10173
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9739
rm -f core conftest.err conftest.$ac_objext \
10174
      conftest$ac_exeext conftest.$ac_ext
9740
    conftest$ac_exeext conftest.$ac_ext
10175
LIBS=$ac_check_lib_save_LIBS
9741
LIBS=$ac_check_lib_save_LIBS
10176
fi
9742
fi
10177
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10178
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9744
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10179
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9745
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10180
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9746
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10181
else
9747
else
10182
 
9748
 
10183
    lt_cv_dlopen="dyld"
9749
    lt_cv_dlopen="dyld"
10184
    lt_cv_dlopen_libs=
9750
    lt_cv_dlopen_libs=
10185
    lt_cv_dlopen_self=yes
9751
    lt_cv_dlopen_self=yes
10186
 
9752
 
10187
fi
9753
fi
10188
 
9754
 
10189
    ;;
9755
    ;;
10190
 
9756
 
10191
  *)
9757
  *)
10192
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
-
 
10193
$as_echo_n "checking for shl_load... " >&6; }
-
 
10194
if test "${ac_cv_func_shl_load+set}" = set; then
-
 
10195
  $as_echo_n "(cached) " >&6
-
 
10196
else
-
 
10197
  cat >conftest.$ac_ext <<_ACEOF
-
 
10198
/* confdefs.h.  */
-
 
10199
_ACEOF
-
 
10200
cat confdefs.h >>conftest.$ac_ext
-
 
10201
cat >>conftest.$ac_ext <<_ACEOF
-
 
10202
/* end confdefs.h.  */
-
 
10203
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
-
 
10204
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-
 
10205
#define shl_load innocuous_shl_load
-
 
10206
 
-
 
10207
/* System header to define __stub macros and hopefully few prototypes,
-
 
10208
    which can conflict with char shl_load (); below.
-
 
10209
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-
 
10210
    <limits.h> exists even on freestanding compilers.  */
-
 
10211
 
-
 
10212
#ifdef __STDC__
-
 
10213
# include <limits.h>
-
 
10214
#else
-
 
10215
# include <assert.h>
-
 
10216
#endif
-
 
10217
 
-
 
10218
#undef shl_load
-
 
10219
 
-
 
10220
/* Override any GCC internal prototype to avoid an error.
-
 
10221
   Use char because int might match the return type of a GCC
-
 
10222
   builtin and then its argument prototype would still apply.  */
-
 
10223
#ifdef __cplusplus
-
 
10224
extern "C"
-
 
10225
#endif
-
 
10226
char shl_load ();
-
 
10227
/* The GNU C library defines this for functions which it implements
-
 
10228
    to always fail with ENOSYS.  Some functions are actually named
-
 
10229
    something starting with __ and the normal name is an alias.  */
-
 
10230
#if defined __stub_shl_load || defined __stub___shl_load
-
 
10231
choke me
-
 
10232
#endif
-
 
10233
 
-
 
10234
int
-
 
10235
main ()
-
 
10236
{
-
 
10237
return shl_load ();
-
 
10238
  ;
-
 
10239
  return 0;
-
 
10240
}
-
 
10241
_ACEOF
-
 
10242
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
10243
if { (ac_try="$ac_link"
-
 
10244
case "(($ac_try" in
-
 
10245
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
10246
  *) ac_try_echo=$ac_try;;
-
 
10247
esac
-
 
10248
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
10249
$as_echo "$ac_try_echo") >&5
-
 
10250
  (eval "$ac_link") 2>conftest.er1
-
 
10251
  ac_status=$?
-
 
10252
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
10253
  rm -f conftest.er1
-
 
10254
  cat conftest.err >&5
-
 
10255
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
10256
  (exit $ac_status); } && {
-
 
10257
	 test -z "$ac_c_werror_flag" ||
-
 
10258
	 test ! -s conftest.err
-
 
10259
       } && test -s conftest$ac_exeext && {
-
 
10260
	 test "$cross_compiling" = yes ||
-
 
10261
	 $as_test_x conftest$ac_exeext
-
 
10262
       }; then
-
 
10263
  ac_cv_func_shl_load=yes
-
 
10264
else
-
 
10265
  $as_echo "$as_me: failed program was:" >&5
-
 
10266
sed 's/^/| /' conftest.$ac_ext >&5
-
 
10267
 
-
 
10268
	ac_cv_func_shl_load=no
-
 
10269
fi
-
 
10270
 
-
 
10271
rm -rf conftest.dSYM
-
 
10272
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-
 
10273
      conftest$ac_exeext conftest.$ac_ext
-
 
10274
fi
-
 
10275
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9758
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10276
$as_echo "$ac_cv_func_shl_load" >&6; }
-
 
10277
if test "x$ac_cv_func_shl_load" = x""yes; then
9759
if test "x$ac_cv_func_shl_load" = x""yes; then :
10278
  lt_cv_dlopen="shl_load"
9760
  lt_cv_dlopen="shl_load"
10279
else
9761
else
10280
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9762
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10281
$as_echo_n "checking for shl_load in -ldld... " >&6; }
9763
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10282
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9764
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10283
  $as_echo_n "(cached) " >&6
9765
  $as_echo_n "(cached) " >&6
10284
else
9766
else
10285
  ac_check_lib_save_LIBS=$LIBS
9767
  ac_check_lib_save_LIBS=$LIBS
10286
LIBS="-ldld  $LIBS"
9768
LIBS="-ldld  $LIBS"
10287
cat >conftest.$ac_ext <<_ACEOF
-
 
10288
/* confdefs.h.  */
-
 
10289
_ACEOF
-
 
10290
cat confdefs.h >>conftest.$ac_ext
9769
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10291
cat >>conftest.$ac_ext <<_ACEOF
-
 
10292
/* end confdefs.h.  */
9770
/* end confdefs.h.  */
10293
 
9771
 
10294
/* Override any GCC internal prototype to avoid an error.
9772
/* Override any GCC internal prototype to avoid an error.
10295
   Use char because int might match the return type of a GCC
9773
   Use char because int might match the return type of a GCC
10296
   builtin and then its argument prototype would still apply.  */
9774
   builtin and then its argument prototype would still apply.  */
10297
#ifdef __cplusplus
9775
#ifdef __cplusplus
10298
extern "C"
9776
extern "C"
10299
#endif
9777
#endif
10300
char shl_load ();
9778
char shl_load ();
10301
int
9779
int
10302
main ()
9780
main ()
10303
{
9781
{
10304
return shl_load ();
9782
return shl_load ();
10305
  ;
9783
  ;
10306
  return 0;
9784
  return 0;
10307
}
9785
}
10308
_ACEOF
9786
_ACEOF
10309
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
10310
if { (ac_try="$ac_link"
-
 
10311
case "(($ac_try" in
-
 
10312
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
10313
  *) ac_try_echo=$ac_try;;
-
 
10314
esac
-
 
10315
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
10316
$as_echo "$ac_try_echo") >&5
-
 
10317
  (eval "$ac_link") 2>conftest.er1
9787
if ac_fn_c_try_link "$LINENO"; then :
10318
  ac_status=$?
-
 
10319
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
10320
  rm -f conftest.er1
-
 
10321
  cat conftest.err >&5
-
 
10322
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
10323
  (exit $ac_status); } && {
-
 
10324
	 test -z "$ac_c_werror_flag" ||
-
 
10325
	 test ! -s conftest.err
-
 
10326
       } && test -s conftest$ac_exeext && {
-
 
10327
	 test "$cross_compiling" = yes ||
-
 
10328
	 $as_test_x conftest$ac_exeext
-
 
10329
       }; then
-
 
10330
  ac_cv_lib_dld_shl_load=yes
9788
  ac_cv_lib_dld_shl_load=yes
10331
else
9789
else
10332
  $as_echo "$as_me: failed program was:" >&5
-
 
10333
sed 's/^/| /' conftest.$ac_ext >&5
-
 
10334
 
-
 
10335
	ac_cv_lib_dld_shl_load=no
9790
  ac_cv_lib_dld_shl_load=no
10336
fi
9791
fi
10337
 
-
 
10338
rm -rf conftest.dSYM
-
 
10339
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9792
rm -f core conftest.err conftest.$ac_objext \
10340
      conftest$ac_exeext conftest.$ac_ext
9793
    conftest$ac_exeext conftest.$ac_ext
10341
LIBS=$ac_check_lib_save_LIBS
9794
LIBS=$ac_check_lib_save_LIBS
10342
fi
9795
fi
10343
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9796
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10344
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9797
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10345
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
9798
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10346
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9799
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10347
else
9800
else
10348
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
-
 
10349
$as_echo_n "checking for dlopen... " >&6; }
-
 
10350
if test "${ac_cv_func_dlopen+set}" = set; then
-
 
10351
  $as_echo_n "(cached) " >&6
-
 
10352
else
-
 
10353
  cat >conftest.$ac_ext <<_ACEOF
-
 
10354
/* confdefs.h.  */
-
 
10355
_ACEOF
-
 
10356
cat confdefs.h >>conftest.$ac_ext
-
 
10357
cat >>conftest.$ac_ext <<_ACEOF
-
 
10358
/* end confdefs.h.  */
-
 
10359
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
-
 
10360
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-
 
10361
#define dlopen innocuous_dlopen
-
 
10362
 
-
 
10363
/* System header to define __stub macros and hopefully few prototypes,
-
 
10364
    which can conflict with char dlopen (); below.
-
 
10365
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-
 
10366
    <limits.h> exists even on freestanding compilers.  */
-
 
10367
 
-
 
10368
#ifdef __STDC__
-
 
10369
# include <limits.h>
-
 
10370
#else
-
 
10371
# include <assert.h>
-
 
10372
#endif
-
 
10373
 
-
 
10374
#undef dlopen
-
 
10375
 
-
 
10376
/* Override any GCC internal prototype to avoid an error.
-
 
10377
   Use char because int might match the return type of a GCC
-
 
10378
   builtin and then its argument prototype would still apply.  */
-
 
10379
#ifdef __cplusplus
-
 
10380
extern "C"
-
 
10381
#endif
-
 
10382
char dlopen ();
-
 
10383
/* The GNU C library defines this for functions which it implements
-
 
10384
    to always fail with ENOSYS.  Some functions are actually named
-
 
10385
    something starting with __ and the normal name is an alias.  */
-
 
10386
#if defined __stub_dlopen || defined __stub___dlopen
-
 
10387
choke me
-
 
10388
#endif
-
 
10389
 
-
 
10390
int
-
 
10391
main ()
-
 
10392
{
-
 
10393
return dlopen ();
-
 
10394
  ;
-
 
10395
  return 0;
-
 
10396
}
-
 
10397
_ACEOF
-
 
10398
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
10399
if { (ac_try="$ac_link"
-
 
10400
case "(($ac_try" in
-
 
10401
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
10402
  *) ac_try_echo=$ac_try;;
-
 
10403
esac
-
 
10404
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
10405
$as_echo "$ac_try_echo") >&5
-
 
10406
  (eval "$ac_link") 2>conftest.er1
-
 
10407
  ac_status=$?
-
 
10408
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
10409
  rm -f conftest.er1
-
 
10410
  cat conftest.err >&5
-
 
10411
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
10412
  (exit $ac_status); } && {
-
 
10413
	 test -z "$ac_c_werror_flag" ||
-
 
10414
	 test ! -s conftest.err
-
 
10415
       } && test -s conftest$ac_exeext && {
-
 
10416
	 test "$cross_compiling" = yes ||
-
 
10417
	 $as_test_x conftest$ac_exeext
-
 
10418
       }; then
-
 
10419
  ac_cv_func_dlopen=yes
-
 
10420
else
-
 
10421
  $as_echo "$as_me: failed program was:" >&5
-
 
10422
sed 's/^/| /' conftest.$ac_ext >&5
-
 
10423
 
-
 
10424
	ac_cv_func_dlopen=no
-
 
10425
fi
-
 
10426
 
-
 
10427
rm -rf conftest.dSYM
-
 
10428
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-
 
10429
      conftest$ac_exeext conftest.$ac_ext
-
 
10430
fi
-
 
10431
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9801
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10432
$as_echo "$ac_cv_func_dlopen" >&6; }
-
 
10433
if test "x$ac_cv_func_dlopen" = x""yes; then
9802
if test "x$ac_cv_func_dlopen" = x""yes; then :
10434
  lt_cv_dlopen="dlopen"
9803
  lt_cv_dlopen="dlopen"
10435
else
9804
else
10436
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9805
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10437
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9806
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10438
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9807
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10439
  $as_echo_n "(cached) " >&6
9808
  $as_echo_n "(cached) " >&6
10440
else
9809
else
10441
  ac_check_lib_save_LIBS=$LIBS
9810
  ac_check_lib_save_LIBS=$LIBS
10442
LIBS="-ldl  $LIBS"
9811
LIBS="-ldl  $LIBS"
10443
cat >conftest.$ac_ext <<_ACEOF
-
 
10444
/* confdefs.h.  */
-
 
10445
_ACEOF
-
 
10446
cat confdefs.h >>conftest.$ac_ext
9812
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10447
cat >>conftest.$ac_ext <<_ACEOF
-
 
10448
/* end confdefs.h.  */
9813
/* end confdefs.h.  */
10449
 
9814
 
10450
/* Override any GCC internal prototype to avoid an error.
9815
/* Override any GCC internal prototype to avoid an error.
10451
   Use char because int might match the return type of a GCC
9816
   Use char because int might match the return type of a GCC
10452
   builtin and then its argument prototype would still apply.  */
9817
   builtin and then its argument prototype would still apply.  */
10453
#ifdef __cplusplus
9818
#ifdef __cplusplus
10454
extern "C"
9819
extern "C"
10455
#endif
9820
#endif
10456
char dlopen ();
9821
char dlopen ();
10457
int
9822
int
10458
main ()
9823
main ()
10459
{
9824
{
10460
return dlopen ();
9825
return dlopen ();
10461
  ;
9826
  ;
10462
  return 0;
9827
  return 0;
10463
}
9828
}
10464
_ACEOF
9829
_ACEOF
10465
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
10466
if { (ac_try="$ac_link"
-
 
10467
case "(($ac_try" in
-
 
10468
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
10469
  *) ac_try_echo=$ac_try;;
-
 
10470
esac
-
 
10471
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
10472
$as_echo "$ac_try_echo") >&5
-
 
10473
  (eval "$ac_link") 2>conftest.er1
9830
if ac_fn_c_try_link "$LINENO"; then :
10474
  ac_status=$?
-
 
10475
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
10476
  rm -f conftest.er1
-
 
10477
  cat conftest.err >&5
-
 
10478
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
10479
  (exit $ac_status); } && {
-
 
10480
	 test -z "$ac_c_werror_flag" ||
-
 
10481
	 test ! -s conftest.err
-
 
10482
       } && test -s conftest$ac_exeext && {
-
 
10483
	 test "$cross_compiling" = yes ||
-
 
10484
	 $as_test_x conftest$ac_exeext
-
 
10485
       }; then
-
 
10486
  ac_cv_lib_dl_dlopen=yes
9831
  ac_cv_lib_dl_dlopen=yes
10487
else
9832
else
10488
  $as_echo "$as_me: failed program was:" >&5
-
 
10489
sed 's/^/| /' conftest.$ac_ext >&5
-
 
10490
 
-
 
10491
	ac_cv_lib_dl_dlopen=no
9833
  ac_cv_lib_dl_dlopen=no
10492
fi
9834
fi
10493
 
-
 
10494
rm -rf conftest.dSYM
-
 
10495
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9835
rm -f core conftest.err conftest.$ac_objext \
10496
      conftest$ac_exeext conftest.$ac_ext
9836
    conftest$ac_exeext conftest.$ac_ext
10497
LIBS=$ac_check_lib_save_LIBS
9837
LIBS=$ac_check_lib_save_LIBS
10498
fi
9838
fi
10499
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10500
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9840
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10501
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9841
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10502
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9842
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10503
else
9843
else
10504
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9844
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10505
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
9845
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10506
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9846
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10507
  $as_echo_n "(cached) " >&6
9847
  $as_echo_n "(cached) " >&6
10508
else
9848
else
10509
  ac_check_lib_save_LIBS=$LIBS
9849
  ac_check_lib_save_LIBS=$LIBS
10510
LIBS="-lsvld  $LIBS"
9850
LIBS="-lsvld  $LIBS"
10511
cat >conftest.$ac_ext <<_ACEOF
-
 
10512
/* confdefs.h.  */
-
 
10513
_ACEOF
-
 
10514
cat confdefs.h >>conftest.$ac_ext
9851
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10515
cat >>conftest.$ac_ext <<_ACEOF
-
 
10516
/* end confdefs.h.  */
9852
/* end confdefs.h.  */
10517
 
9853
 
10518
/* Override any GCC internal prototype to avoid an error.
9854
/* Override any GCC internal prototype to avoid an error.
10519
   Use char because int might match the return type of a GCC
9855
   Use char because int might match the return type of a GCC
10520
   builtin and then its argument prototype would still apply.  */
9856
   builtin and then its argument prototype would still apply.  */
10521
#ifdef __cplusplus
9857
#ifdef __cplusplus
10522
extern "C"
9858
extern "C"
10523
#endif
9859
#endif
10524
char dlopen ();
9860
char dlopen ();
10525
int
9861
int
10526
main ()
9862
main ()
10527
{
9863
{
10528
return dlopen ();
9864
return dlopen ();
10529
  ;
9865
  ;
10530
  return 0;
9866
  return 0;
10531
}
9867
}
10532
_ACEOF
9868
_ACEOF
10533
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
10534
if { (ac_try="$ac_link"
-
 
10535
case "(($ac_try" in
-
 
10536
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
10537
  *) ac_try_echo=$ac_try;;
-
 
10538
esac
-
 
10539
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
10540
$as_echo "$ac_try_echo") >&5
-
 
10541
  (eval "$ac_link") 2>conftest.er1
9869
if ac_fn_c_try_link "$LINENO"; then :
10542
  ac_status=$?
-
 
10543
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
10544
  rm -f conftest.er1
-
 
10545
  cat conftest.err >&5
-
 
10546
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
10547
  (exit $ac_status); } && {
-
 
10548
	 test -z "$ac_c_werror_flag" ||
-
 
10549
	 test ! -s conftest.err
-
 
10550
       } && test -s conftest$ac_exeext && {
-
 
10551
	 test "$cross_compiling" = yes ||
-
 
10552
	 $as_test_x conftest$ac_exeext
-
 
10553
       }; then
-
 
10554
  ac_cv_lib_svld_dlopen=yes
9870
  ac_cv_lib_svld_dlopen=yes
10555
else
9871
else
10556
  $as_echo "$as_me: failed program was:" >&5
-
 
10557
sed 's/^/| /' conftest.$ac_ext >&5
-
 
10558
 
-
 
10559
	ac_cv_lib_svld_dlopen=no
9872
  ac_cv_lib_svld_dlopen=no
10560
fi
9873
fi
10561
 
-
 
10562
rm -rf conftest.dSYM
-
 
10563
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9874
rm -f core conftest.err conftest.$ac_objext \
10564
      conftest$ac_exeext conftest.$ac_ext
9875
    conftest$ac_exeext conftest.$ac_ext
10565
LIBS=$ac_check_lib_save_LIBS
9876
LIBS=$ac_check_lib_save_LIBS
10566
fi
9877
fi
10567
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9878
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10568
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9879
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10569
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
9880
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10570
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9881
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10571
else
9882
else
10572
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9883
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10573
$as_echo_n "checking for dld_link in -ldld... " >&6; }
9884
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10574
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9885
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10575
  $as_echo_n "(cached) " >&6
9886
  $as_echo_n "(cached) " >&6
10576
else
9887
else
10577
  ac_check_lib_save_LIBS=$LIBS
9888
  ac_check_lib_save_LIBS=$LIBS
10578
LIBS="-ldld  $LIBS"
9889
LIBS="-ldld  $LIBS"
10579
cat >conftest.$ac_ext <<_ACEOF
-
 
10580
/* confdefs.h.  */
-
 
10581
_ACEOF
-
 
10582
cat confdefs.h >>conftest.$ac_ext
9890
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10583
cat >>conftest.$ac_ext <<_ACEOF
-
 
10584
/* end confdefs.h.  */
9891
/* end confdefs.h.  */
10585
 
9892
 
10586
/* Override any GCC internal prototype to avoid an error.
9893
/* Override any GCC internal prototype to avoid an error.
10587
   Use char because int might match the return type of a GCC
9894
   Use char because int might match the return type of a GCC
10588
   builtin and then its argument prototype would still apply.  */
9895
   builtin and then its argument prototype would still apply.  */
10589
#ifdef __cplusplus
9896
#ifdef __cplusplus
10590
extern "C"
9897
extern "C"
10591
#endif
9898
#endif
10592
char dld_link ();
9899
char dld_link ();
10593
int
9900
int
10594
main ()
9901
main ()
10595
{
9902
{
10596
return dld_link ();
9903
return dld_link ();
10597
  ;
9904
  ;
10598
  return 0;
9905
  return 0;
10599
}
9906
}
10600
_ACEOF
9907
_ACEOF
10601
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
10602
if { (ac_try="$ac_link"
-
 
10603
case "(($ac_try" in
-
 
10604
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
10605
  *) ac_try_echo=$ac_try;;
-
 
10606
esac
-
 
10607
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
10608
$as_echo "$ac_try_echo") >&5
-
 
10609
  (eval "$ac_link") 2>conftest.er1
9908
if ac_fn_c_try_link "$LINENO"; then :
10610
  ac_status=$?
-
 
10611
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
10612
  rm -f conftest.er1
-
 
10613
  cat conftest.err >&5
-
 
10614
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
10615
  (exit $ac_status); } && {
-
 
10616
	 test -z "$ac_c_werror_flag" ||
-
 
10617
	 test ! -s conftest.err
-
 
10618
       } && test -s conftest$ac_exeext && {
-
 
10619
	 test "$cross_compiling" = yes ||
-
 
10620
	 $as_test_x conftest$ac_exeext
-
 
10621
       }; then
-
 
10622
  ac_cv_lib_dld_dld_link=yes
9909
  ac_cv_lib_dld_dld_link=yes
10623
else
9910
else
10624
  $as_echo "$as_me: failed program was:" >&5
-
 
10625
sed 's/^/| /' conftest.$ac_ext >&5
-
 
10626
 
-
 
10627
	ac_cv_lib_dld_dld_link=no
9911
  ac_cv_lib_dld_dld_link=no
10628
fi
9912
fi
10629
 
-
 
10630
rm -rf conftest.dSYM
-
 
10631
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9913
rm -f core conftest.err conftest.$ac_objext \
10632
      conftest$ac_exeext conftest.$ac_ext
9914
    conftest$ac_exeext conftest.$ac_ext
10633
LIBS=$ac_check_lib_save_LIBS
9915
LIBS=$ac_check_lib_save_LIBS
10634
fi
9916
fi
10635
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10636
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9918
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10637
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
9919
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10638
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
9920
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10639
fi
9921
fi
10640
 
9922
 
10641
 
9923
 
10642
fi
9924
fi
10643
 
9925
 
10644
 
9926
 
10645
fi
9927
fi
10646
 
9928
 
10647
 
9929
 
10648
fi
9930
fi
10649
 
9931
 
10650
 
9932
 
10651
fi
9933
fi
10652
 
9934
 
10653
 
9935
 
10654
fi
9936
fi
10655
 
9937
 
10656
    ;;
9938
    ;;
10657
  esac
9939
  esac
10658
 
9940
 
10659
  if test "x$lt_cv_dlopen" != xno; then
9941
  if test "x$lt_cv_dlopen" != xno; then
10660
    enable_dlopen=yes
9942
    enable_dlopen=yes
10661
  else
9943
  else
10662
    enable_dlopen=no
9944
    enable_dlopen=no
10663
  fi
9945
  fi
10664
 
9946
 
10665
  case $lt_cv_dlopen in
9947
  case $lt_cv_dlopen in
10666
  dlopen)
9948
  dlopen)
10667
    save_CPPFLAGS="$CPPFLAGS"
9949
    save_CPPFLAGS="$CPPFLAGS"
10668
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9950
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10669
 
9951
 
10670
    save_LDFLAGS="$LDFLAGS"
9952
    save_LDFLAGS="$LDFLAGS"
10671
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9953
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10672
 
9954
 
10673
    save_LIBS="$LIBS"
9955
    save_LIBS="$LIBS"
10674
    LIBS="$lt_cv_dlopen_libs $LIBS"
9956
    LIBS="$lt_cv_dlopen_libs $LIBS"
10675
 
9957
 
10676
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9958
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10677
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
9959
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10678
if test "${lt_cv_dlopen_self+set}" = set; then
9960
if test "${lt_cv_dlopen_self+set}" = set; then :
10679
  $as_echo_n "(cached) " >&6
9961
  $as_echo_n "(cached) " >&6
10680
else
9962
else
10681
  	  if test "$cross_compiling" = yes; then :
9963
  	  if test "$cross_compiling" = yes; then :
10682
  lt_cv_dlopen_self=cross
9964
  lt_cv_dlopen_self=cross
10683
else
9965
else
10684
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9966
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10685
  lt_status=$lt_dlunknown
9967
  lt_status=$lt_dlunknown
10686
  cat > conftest.$ac_ext <<_LT_EOF
9968
  cat > conftest.$ac_ext <<_LT_EOF
10687
#line 10687 "configure"
9969
#line 9969 "configure"
10688
#include "confdefs.h"
9970
#include "confdefs.h"
10689
 
9971
 
10690
#if HAVE_DLFCN_H
9972
#if HAVE_DLFCN_H
10691
#include <dlfcn.h>
9973
#include <dlfcn.h>
10692
#endif
9974
#endif
10693
 
9975
 
10694
#include <stdio.h>
9976
#include <stdio.h>
10695
 
9977
 
10696
#ifdef RTLD_GLOBAL
9978
#ifdef RTLD_GLOBAL
10697
#  define LT_DLGLOBAL		RTLD_GLOBAL
9979
#  define LT_DLGLOBAL		RTLD_GLOBAL
10698
#else
9980
#else
10699
#  ifdef DL_GLOBAL
9981
#  ifdef DL_GLOBAL
10700
#    define LT_DLGLOBAL		DL_GLOBAL
9982
#    define LT_DLGLOBAL		DL_GLOBAL
10701
#  else
9983
#  else
10702
#    define LT_DLGLOBAL		0
9984
#    define LT_DLGLOBAL		0
10703
#  endif
9985
#  endif
10704
#endif
9986
#endif
10705
 
9987
 
10706
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9988
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10707
   find out it does not work in some platform. */
9989
   find out it does not work in some platform. */
10708
#ifndef LT_DLLAZY_OR_NOW
9990
#ifndef LT_DLLAZY_OR_NOW
10709
#  ifdef RTLD_LAZY
9991
#  ifdef RTLD_LAZY
10710
#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
9992
#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10711
#  else
9993
#  else
10712
#    ifdef DL_LAZY
9994
#    ifdef DL_LAZY
10713
#      define LT_DLLAZY_OR_NOW		DL_LAZY
9995
#      define LT_DLLAZY_OR_NOW		DL_LAZY
10714
#    else
9996
#    else
10715
#      ifdef RTLD_NOW
9997
#      ifdef RTLD_NOW
10716
#        define LT_DLLAZY_OR_NOW	RTLD_NOW
9998
#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10717
#      else
9999
#      else
10718
#        ifdef DL_NOW
10000
#        ifdef DL_NOW
10719
#          define LT_DLLAZY_OR_NOW	DL_NOW
10001
#          define LT_DLLAZY_OR_NOW	DL_NOW
10720
#        else
10002
#        else
10721
#          define LT_DLLAZY_OR_NOW	0
10003
#          define LT_DLLAZY_OR_NOW	0
10722
#        endif
10004
#        endif
10723
#      endif
10005
#      endif
10724
#    endif
10006
#    endif
10725
#  endif
10007
#  endif
10726
#endif
10008
#endif
10727
 
10009
 
10728
void fnord() { int i=42;}
10010
void fnord() { int i=42;}
10729
int main ()
10011
int main ()
10730
{
10012
{
10731
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10013
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10732
  int status = $lt_dlunknown;
10014
  int status = $lt_dlunknown;
10733
 
10015
 
10734
  if (self)
10016
  if (self)
10735
    {
10017
    {
10736
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10018
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10737
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10019
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10738
      /* dlclose (self); */
10020
      /* dlclose (self); */
10739
    }
10021
    }
10740
  else
10022
  else
10741
    puts (dlerror ());
10023
    puts (dlerror ());
10742
 
10024
 
10743
  return status;
10025
  return status;
10744
}
10026
}
10745
_LT_EOF
10027
_LT_EOF
10746
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10028
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10747
  (eval $ac_link) 2>&5
10029
  (eval $ac_link) 2>&5
10748
  ac_status=$?
10030
  ac_status=$?
10749
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10750
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10032
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10751
    (./conftest; exit; ) >&5 2>/dev/null
10033
    (./conftest; exit; ) >&5 2>/dev/null
10752
    lt_status=$?
10034
    lt_status=$?
10753
    case x$lt_status in
10035
    case x$lt_status in
10754
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10036
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10755
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10037
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10756
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10038
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10757
    esac
10039
    esac
10758
  else :
10040
  else :
10759
    # compilation failed
10041
    # compilation failed
10760
    lt_cv_dlopen_self=no
10042
    lt_cv_dlopen_self=no
10761
  fi
10043
  fi
10762
fi
10044
fi
10763
rm -fr conftest*
10045
rm -fr conftest*
10764
 
10046
 
10765
 
10047
 
10766
fi
10048
fi
10767
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10768
$as_echo "$lt_cv_dlopen_self" >&6; }
10050
$as_echo "$lt_cv_dlopen_self" >&6; }
10769
 
10051
 
10770
    if test "x$lt_cv_dlopen_self" = xyes; then
10052
    if test "x$lt_cv_dlopen_self" = xyes; then
10771
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10053
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10772
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10054
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10773
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10055
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10774
if test "${lt_cv_dlopen_self_static+set}" = set; then
10056
if test "${lt_cv_dlopen_self_static+set}" = set; then :
10775
  $as_echo_n "(cached) " >&6
10057
  $as_echo_n "(cached) " >&6
10776
else
10058
else
10777
  	  if test "$cross_compiling" = yes; then :
10059
  	  if test "$cross_compiling" = yes; then :
10778
  lt_cv_dlopen_self_static=cross
10060
  lt_cv_dlopen_self_static=cross
10779
else
10061
else
10780
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10062
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10781
  lt_status=$lt_dlunknown
10063
  lt_status=$lt_dlunknown
10782
  cat > conftest.$ac_ext <<_LT_EOF
10064
  cat > conftest.$ac_ext <<_LT_EOF
10783
#line 10783 "configure"
10065
#line 10065 "configure"
10784
#include "confdefs.h"
10066
#include "confdefs.h"
10785
 
10067
 
10786
#if HAVE_DLFCN_H
10068
#if HAVE_DLFCN_H
10787
#include <dlfcn.h>
10069
#include <dlfcn.h>
10788
#endif
10070
#endif
10789
 
10071
 
10790
#include <stdio.h>
10072
#include <stdio.h>
10791
 
10073
 
10792
#ifdef RTLD_GLOBAL
10074
#ifdef RTLD_GLOBAL
10793
#  define LT_DLGLOBAL		RTLD_GLOBAL
10075
#  define LT_DLGLOBAL		RTLD_GLOBAL
10794
#else
10076
#else
10795
#  ifdef DL_GLOBAL
10077
#  ifdef DL_GLOBAL
10796
#    define LT_DLGLOBAL		DL_GLOBAL
10078
#    define LT_DLGLOBAL		DL_GLOBAL
10797
#  else
10079
#  else
10798
#    define LT_DLGLOBAL		0
10080
#    define LT_DLGLOBAL		0
10799
#  endif
10081
#  endif
10800
#endif
10082
#endif
10801
 
10083
 
10802
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10084
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10803
   find out it does not work in some platform. */
10085
   find out it does not work in some platform. */
10804
#ifndef LT_DLLAZY_OR_NOW
10086
#ifndef LT_DLLAZY_OR_NOW
10805
#  ifdef RTLD_LAZY
10087
#  ifdef RTLD_LAZY
10806
#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10088
#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10807
#  else
10089
#  else
10808
#    ifdef DL_LAZY
10090
#    ifdef DL_LAZY
10809
#      define LT_DLLAZY_OR_NOW		DL_LAZY
10091
#      define LT_DLLAZY_OR_NOW		DL_LAZY
10810
#    else
10092
#    else
10811
#      ifdef RTLD_NOW
10093
#      ifdef RTLD_NOW
10812
#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10094
#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10813
#      else
10095
#      else
10814
#        ifdef DL_NOW
10096
#        ifdef DL_NOW
10815
#          define LT_DLLAZY_OR_NOW	DL_NOW
10097
#          define LT_DLLAZY_OR_NOW	DL_NOW
10816
#        else
10098
#        else
10817
#          define LT_DLLAZY_OR_NOW	0
10099
#          define LT_DLLAZY_OR_NOW	0
10818
#        endif
10100
#        endif
10819
#      endif
10101
#      endif
10820
#    endif
10102
#    endif
10821
#  endif
10103
#  endif
10822
#endif
10104
#endif
10823
 
10105
 
10824
void fnord() { int i=42;}
10106
void fnord() { int i=42;}
10825
int main ()
10107
int main ()
10826
{
10108
{
10827
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10109
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10828
  int status = $lt_dlunknown;
10110
  int status = $lt_dlunknown;
10829
 
10111
 
10830
  if (self)
10112
  if (self)
10831
    {
10113
    {
10832
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10114
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10833
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10115
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10834
      /* dlclose (self); */
10116
      /* dlclose (self); */
10835
    }
10117
    }
10836
  else
10118
  else
10837
    puts (dlerror ());
10119
    puts (dlerror ());
10838
 
10120
 
10839
  return status;
10121
  return status;
10840
}
10122
}
10841
_LT_EOF
10123
_LT_EOF
10842
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10124
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10843
  (eval $ac_link) 2>&5
10125
  (eval $ac_link) 2>&5
10844
  ac_status=$?
10126
  ac_status=$?
10845
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10846
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10128
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10847
    (./conftest; exit; ) >&5 2>/dev/null
10129
    (./conftest; exit; ) >&5 2>/dev/null
10848
    lt_status=$?
10130
    lt_status=$?
10849
    case x$lt_status in
10131
    case x$lt_status in
10850
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10132
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10851
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10133
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10852
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10134
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10853
    esac
10135
    esac
10854
  else :
10136
  else :
10855
    # compilation failed
10137
    # compilation failed
10856
    lt_cv_dlopen_self_static=no
10138
    lt_cv_dlopen_self_static=no
10857
  fi
10139
  fi
10858
fi
10140
fi
10859
rm -fr conftest*
10141
rm -fr conftest*
10860
 
10142
 
10861
 
10143
 
10862
fi
10144
fi
10863
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10864
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10146
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10865
    fi
10147
    fi
10866
 
10148
 
10867
    CPPFLAGS="$save_CPPFLAGS"
10149
    CPPFLAGS="$save_CPPFLAGS"
10868
    LDFLAGS="$save_LDFLAGS"
10150
    LDFLAGS="$save_LDFLAGS"
10869
    LIBS="$save_LIBS"
10151
    LIBS="$save_LIBS"
10870
    ;;
10152
    ;;
10871
  esac
10153
  esac
10872
 
10154
 
10873
  case $lt_cv_dlopen_self in
10155
  case $lt_cv_dlopen_self in
10874
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10156
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10875
  *) enable_dlopen_self=unknown ;;
10157
  *) enable_dlopen_self=unknown ;;
10876
  esac
10158
  esac
10877
 
10159
 
10878
  case $lt_cv_dlopen_self_static in
10160
  case $lt_cv_dlopen_self_static in
10879
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10161
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10880
  *) enable_dlopen_self_static=unknown ;;
10162
  *) enable_dlopen_self_static=unknown ;;
10881
  esac
10163
  esac
10882
fi
10164
fi
10883
 
10165
 
10884
 
10166
 
10885
 
10167
 
10886
 
10168
 
10887
 
10169
 
10888
 
10170
 
10889
 
10171
 
10890
 
10172
 
10891
 
10173
 
10892
 
10174
 
10893
 
10175
 
10894
 
10176
 
10895
 
10177
 
10896
 
10178
 
10897
 
10179
 
10898
 
10180
 
10899
 
10181
 
10900
striplib=
10182
striplib=
10901
old_striplib=
10183
old_striplib=
10902
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10903
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10185
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10904
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10186
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10905
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10187
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10906
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10188
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10907
  { $as_echo "$as_me:$LINENO: result: yes" >&5
10189
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10908
$as_echo "yes" >&6; }
10190
$as_echo "yes" >&6; }
10909
else
10191
else
10910
# FIXME - insert some real tests, host_os isn't really good enough
10192
# FIXME - insert some real tests, host_os isn't really good enough
10911
  case $host_os in
10193
  case $host_os in
10912
  darwin*)
10194
  darwin*)
10913
    if test -n "$STRIP" ; then
10195
    if test -n "$STRIP" ; then
10914
      striplib="$STRIP -x"
10196
      striplib="$STRIP -x"
10915
      old_striplib="$STRIP -S"
10197
      old_striplib="$STRIP -S"
10916
      { $as_echo "$as_me:$LINENO: result: yes" >&5
10198
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10917
$as_echo "yes" >&6; }
10199
$as_echo "yes" >&6; }
10918
    else
10200
    else
10919
      { $as_echo "$as_me:$LINENO: result: no" >&5
10201
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10920
$as_echo "no" >&6; }
10202
$as_echo "no" >&6; }
10921
    fi
10203
    fi
10922
    ;;
10204
    ;;
10923
  *)
10205
  *)
10924
    { $as_echo "$as_me:$LINENO: result: no" >&5
10206
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10925
$as_echo "no" >&6; }
10207
$as_echo "no" >&6; }
10926
    ;;
10208
    ;;
10927
  esac
10209
  esac
10928
fi
10210
fi
10929
 
10211
 
10930
 
10212
 
10931
 
10213
 
10932
 
10214
 
10933
 
10215
 
10934
 
10216
 
10935
 
10217
 
10936
 
10218
 
10937
 
10219
 
10938
 
10220
 
10939
 
10221
 
10940
 
10222
 
10941
  # Report which library types will actually be built
10223
  # Report which library types will actually be built
10942
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10224
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10943
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10225
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10944
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10226
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10945
$as_echo "$can_build_shared" >&6; }
10227
$as_echo "$can_build_shared" >&6; }
10946
 
10228
 
10947
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10229
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10948
$as_echo_n "checking whether to build shared libraries... " >&6; }
10230
$as_echo_n "checking whether to build shared libraries... " >&6; }
10949
  test "$can_build_shared" = "no" && enable_shared=no
10231
  test "$can_build_shared" = "no" && enable_shared=no
10950
 
10232
 
10951
  # On AIX, shared libraries and static libraries use the same namespace, and
10233
  # On AIX, shared libraries and static libraries use the same namespace, and
10952
  # are all built from PIC.
10234
  # are all built from PIC.
10953
  case $host_os in
10235
  case $host_os in
10954
  aix3*)
10236
  aix3*)
10955
    test "$enable_shared" = yes && enable_static=no
10237
    test "$enable_shared" = yes && enable_static=no
10956
    if test -n "$RANLIB"; then
10238
    if test -n "$RANLIB"; then
10957
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
10239
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
10958
      postinstall_cmds='$RANLIB $lib'
10240
      postinstall_cmds='$RANLIB $lib'
10959
    fi
10241
    fi
10960
    ;;
10242
    ;;
10961
 
10243
 
10962
  aix[4-9]*)
10244
  aix[4-9]*)
10963
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10245
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10964
      test "$enable_shared" = yes && enable_static=no
10246
      test "$enable_shared" = yes && enable_static=no
10965
    fi
10247
    fi
10966
    ;;
10248
    ;;
10967
  esac
10249
  esac
10968
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10250
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10969
$as_echo "$enable_shared" >&6; }
10251
$as_echo "$enable_shared" >&6; }
10970
 
10252
 
10971
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10253
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10972
$as_echo_n "checking whether to build static libraries... " >&6; }
10254
$as_echo_n "checking whether to build static libraries... " >&6; }
10973
  # Make sure either enable_shared or enable_static is yes.
10255
  # Make sure either enable_shared or enable_static is yes.
10974
  test "$enable_shared" = yes || enable_static=yes
10256
  test "$enable_shared" = yes || enable_static=yes
10975
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10257
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10976
$as_echo "$enable_static" >&6; }
10258
$as_echo "$enable_static" >&6; }
10977
 
10259
 
10978
 
10260
 
10979
 
10261
 
10980
 
10262
 
10981
fi
10263
fi
10982
ac_ext=c
10264
ac_ext=c
10983
ac_cpp='$CPP $CPPFLAGS'
10265
ac_cpp='$CPP $CPPFLAGS'
10984
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10266
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10985
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10267
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10986
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10268
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10987
 
10269
 
10988
CC="$lt_save_CC"
10270
CC="$lt_save_CC"
10989
 
10271
 
10990
 
10272
 
10991
 
10273
 
10992
 
10274
 
10993
 
10275
 
10994
 
10276
 
10995
 
10277
 
10996
 
10278
 
10997
 
10279
 
10998
 
10280
 
10999
 
10281
 
11000
 
10282
 
11001
 
10283
 
11002
        ac_config_commands="$ac_config_commands libtool"
10284
        ac_config_commands="$ac_config_commands libtool"
11003
 
10285
 
11004
 
10286
 
11005
 
10287
 
11006
 
10288
 
11007
# Only expand once:
10289
# Only expand once:
11008
 
10290
 
11009
 
10291
 
11010
 
10292
 
11011
ac_config_files="$ac_config_files Makefile src/Makefile"
10293
ac_config_files="$ac_config_files Makefile src/Makefile"
11012
 
10294
 
11013
cat >confcache <<\_ACEOF
10295
cat >confcache <<\_ACEOF
11014
# This file is a shell script that caches the results of configure
10296
# This file is a shell script that caches the results of configure
11015
# tests run on this system so they can be shared between configure
10297
# tests run on this system so they can be shared between configure
11016
# scripts and configure runs, see configure's option --config-cache.
10298
# scripts and configure runs, see configure's option --config-cache.
11017
# It is not useful on other systems.  If it contains results you don't
10299
# It is not useful on other systems.  If it contains results you don't
11018
# want to keep, you may remove or edit it.
10300
# want to keep, you may remove or edit it.
11019
#
10301
#
11020
# config.status only pays attention to the cache file if you give it
10302
# config.status only pays attention to the cache file if you give it
11021
# the --recheck option to rerun configure.
10303
# the --recheck option to rerun configure.
11022
#
10304
#
11023
# `ac_cv_env_foo' variables (set or unset) will be overridden when
10305
# `ac_cv_env_foo' variables (set or unset) will be overridden when
11024
# loading this file, other *unset* `ac_cv_foo' will be assigned the
10306
# loading this file, other *unset* `ac_cv_foo' will be assigned the
11025
# following values.
10307
# following values.
11026
 
10308
 
11027
_ACEOF
10309
_ACEOF
11028
 
10310
 
11029
# The following way of writing the cache mishandles newlines in values,
10311
# The following way of writing the cache mishandles newlines in values,
11030
# but we know of no workaround that is simple, portable, and efficient.
10312
# but we know of no workaround that is simple, portable, and efficient.
11031
# So, we kill variables containing newlines.
10313
# So, we kill variables containing newlines.
11032
# Ultrix sh set writes to stderr and can't be redirected directly,
10314
# Ultrix sh set writes to stderr and can't be redirected directly,
11033
# and sets the high bit in the cache file unless we assign to the vars.
10315
# and sets the high bit in the cache file unless we assign to the vars.
11034
(
10316
(
11035
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10317
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11036
    eval ac_val=\$$ac_var
10318
    eval ac_val=\$$ac_var
11037
    case $ac_val in #(
10319
    case $ac_val in #(
11038
    *${as_nl}*)
10320
    *${as_nl}*)
11039
      case $ac_var in #(
10321
      case $ac_var in #(
11040
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
10322
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11041
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10323
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11042
      esac
10324
      esac
11043
      case $ac_var in #(
10325
      case $ac_var in #(
11044
      _ | IFS | as_nl) ;; #(
10326
      _ | IFS | as_nl) ;; #(
11045
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
10327
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11046
      *) $as_unset $ac_var ;;
10328
      *) { eval $ac_var=; unset $ac_var;} ;;
11047
      esac ;;
10329
      esac ;;
11048
    esac
10330
    esac
11049
  done
10331
  done
11050
 
10332
 
11051
  (set) 2>&1 |
10333
  (set) 2>&1 |
11052
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
10334
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
11053
    *${as_nl}ac_space=\ *)
10335
    *${as_nl}ac_space=\ *)
11054
      # `set' does not quote correctly, so add quotes (double-quote
10336
      # `set' does not quote correctly, so add quotes: double-quote
11055
      # substitution turns \\\\ into \\, and sed turns \\ into \).
10337
      # substitution turns \\\\ into \\, and sed turns \\ into \.
11056
      sed -n \
10338
      sed -n \
11057
	"s/'/'\\\\''/g;
10339
	"s/'/'\\\\''/g;
11058
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10340
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11059
      ;; #(
10341
      ;; #(
11060
    *)
10342
    *)
11061
      # `set' quotes correctly as required by POSIX, so do not add quotes.
10343
      # `set' quotes correctly as required by POSIX, so do not add quotes.
11062
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10344
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11063
      ;;
10345
      ;;
11064
    esac |
10346
    esac |
11065
    sort
10347
    sort
11066
) |
10348
) |
11067
  sed '
10349
  sed '
11068
     /^ac_cv_env_/b end
10350
     /^ac_cv_env_/b end
11069
     t clear
10351
     t clear
11070
     :clear
10352
     :clear
11071
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10353
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11072
     t end
10354
     t end
11073
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10355
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11074
     :end' >>confcache
10356
     :end' >>confcache
11075
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10357
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11076
  if test -w "$cache_file"; then
10358
  if test -w "$cache_file"; then
11077
    test "x$cache_file" != "x/dev/null" &&
10359
    test "x$cache_file" != "x/dev/null" &&
11078
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
10360
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11079
$as_echo "$as_me: updating cache $cache_file" >&6;}
10361
$as_echo "$as_me: updating cache $cache_file" >&6;}
11080
    cat confcache >$cache_file
10362
    cat confcache >$cache_file
11081
  else
10363
  else
11082
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10364
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11083
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10365
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11084
  fi
10366
  fi
11085
fi
10367
fi
11086
rm -f confcache
10368
rm -f confcache
11087
 
10369
 
11088
test "x$prefix" = xNONE && prefix=$ac_default_prefix
10370
test "x$prefix" = xNONE && prefix=$ac_default_prefix
11089
# Let make expand exec_prefix.
10371
# Let make expand exec_prefix.
11090
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10372
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11091
 
10373
 
11092
DEFS=-DHAVE_CONFIG_H
10374
DEFS=-DHAVE_CONFIG_H
11093
 
10375
 
11094
ac_libobjs=
10376
ac_libobjs=
11095
ac_ltlibobjs=
10377
ac_ltlibobjs=
11096
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10378
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11097
  # 1. Remove the extension, and $U if already installed.
10379
  # 1. Remove the extension, and $U if already installed.
11098
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
10380
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11099
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
10381
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11100
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
10382
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
11101
  #    will be set to the directory where LIBOBJS objects are built.
10383
  #    will be set to the directory where LIBOBJS objects are built.
11102
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10384
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11103
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10385
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11104
done
10386
done
11105
LIBOBJS=$ac_libobjs
10387
LIBOBJS=$ac_libobjs
11106
 
10388
 
11107
LTLIBOBJS=$ac_ltlibobjs
10389
LTLIBOBJS=$ac_ltlibobjs
11108
 
10390
 
11109
 
10391
 
-
 
10392
 if test -n "$EXEEXT"; then
-
 
10393
  am__EXEEXT_TRUE=
-
 
10394
  am__EXEEXT_FALSE='#'
-
 
10395
else
-
 
10396
  am__EXEEXT_TRUE='#'
-
 
10397
  am__EXEEXT_FALSE=
-
 
10398
fi
-
 
10399
 
11110
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10400
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11111
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-
 
11112
Usually this means the macro was only invoked conditionally." >&5
-
 
11113
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
10401
  as_fn_error "conditional \"AMDEP\" was never defined.
11114
Usually this means the macro was only invoked conditionally." >&2;}
10402
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11115
   { (exit 1); exit 1; }; }
-
 
11116
fi
10403
fi
11117
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10404
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11118
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-
 
11119
Usually this means the macro was only invoked conditionally." >&5
-
 
11120
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10405
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
11121
Usually this means the macro was only invoked conditionally." >&2;}
10406
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11122
   { (exit 1); exit 1; }; }
-
 
11123
fi
10407
fi
11124
 
10408
 
11125
: ${CONFIG_STATUS=./config.status}
10409
: ${CONFIG_STATUS=./config.status}
11126
ac_write_fail=0
10410
ac_write_fail=0
11127
ac_clean_files_save=$ac_clean_files
10411
ac_clean_files_save=$ac_clean_files
11128
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10412
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11129
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10413
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11130
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10414
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-
 
10415
as_write_fail=0
11131
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10416
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11132
#! $SHELL
10417
#! $SHELL
11133
# Generated by $as_me.
10418
# Generated by $as_me.
11134
# Run this file to recreate the current configuration.
10419
# Run this file to recreate the current configuration.
11135
# Compiler output produced by configure, useful for debugging
10420
# Compiler output produced by configure, useful for debugging
11136
# configure, is in config.log if it exists.
10421
# configure, is in config.log if it exists.
11137
 
10422
 
11138
debug=false
10423
debug=false
11139
ac_cs_recheck=false
10424
ac_cs_recheck=false
11140
ac_cs_silent=false
10425
ac_cs_silent=false
11141
SHELL=\${CONFIG_SHELL-$SHELL}
-
 
11142
_ACEOF
-
 
11143
 
10426
 
-
 
10427
SHELL=\${CONFIG_SHELL-$SHELL}
-
 
10428
export SHELL
-
 
10429
_ASEOF
11144
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10430
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11145
## --------------------- ##
10431
## -------------------- ##
11146
## M4sh Initialization.  ##
10432
## M4sh Initialization. ##
11147
## --------------------- ##
10433
## -------------------- ##
11148
 
10434
 
11149
# Be more Bourne compatible
10435
# Be more Bourne compatible
11150
DUALCASE=1; export DUALCASE # for MKS sh
10436
DUALCASE=1; export DUALCASE # for MKS sh
11151
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10437
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11152
  emulate sh
10438
  emulate sh
11153
  NULLCMD=:
10439
  NULLCMD=:
11154
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10440
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11155
  # is contrary to our usage.  Disable this feature.
10441
  # is contrary to our usage.  Disable this feature.
11156
  alias -g '${1+"$@"}'='"$@"'
10442
  alias -g '${1+"$@"}'='"$@"'
11157
  setopt NO_GLOB_SUBST
10443
  setopt NO_GLOB_SUBST
11158
else
10444
else
11159
  case `(set -o) 2>/dev/null` in
10445
  case `(set -o) 2>/dev/null` in #(
-
 
10446
  *posix*) :
11160
  *posix*) set -o posix ;;
10447
    set -o posix ;; #(
-
 
10448
  *) :
-
 
10449
     ;;
11161
esac
10450
esac
11162
 
-
 
11163
fi
10451
fi
11164
 
10452
 
11165
 
10453
 
11166
 
-
 
11167
 
-
 
11168
# PATH needs CR
-
 
11169
# Avoid depending upon Character Ranges.
-
 
11170
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-
 
11171
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-
 
11172
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-
 
11173
as_cr_digits='0123456789'
-
 
11174
as_cr_alnum=$as_cr_Letters$as_cr_digits
-
 
11175
 
-
 
11176
as_nl='
10454
as_nl='
11177
'
10455
'
11178
export as_nl
10456
export as_nl
11179
# Printing a long string crashes Solaris 7 /usr/bin/printf.
10457
# Printing a long string crashes Solaris 7 /usr/bin/printf.
11180
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10458
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11181
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
10459
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11182
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
10460
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-
 
10461
# Prefer a ksh shell builtin over an external printf program on Solaris,
-
 
10462
# but without wasting forks for bash or zsh.
-
 
10463
if test -z "$BASH_VERSION$ZSH_VERSION" \
-
 
10464
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
-
 
10465
  as_echo='print -r --'
-
 
10466
  as_echo_n='print -rn --'
11183
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
10467
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11184
  as_echo='printf %s\n'
10468
  as_echo='printf %s\n'
11185
  as_echo_n='printf %s'
10469
  as_echo_n='printf %s'
11186
else
10470
else
11187
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
10471
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11188
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
10472
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11189
    as_echo_n='/usr/ucb/echo -n'
10473
    as_echo_n='/usr/ucb/echo -n'
11190
  else
10474
  else
11191
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
10475
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11192
    as_echo_n_body='eval
10476
    as_echo_n_body='eval
11193
      arg=$1;
10477
      arg=$1;
11194
      case $arg in
10478
      case $arg in #(
11195
      *"$as_nl"*)
10479
      *"$as_nl"*)
11196
	expr "X$arg" : "X\\(.*\\)$as_nl";
10480
	expr "X$arg" : "X\\(.*\\)$as_nl";
11197
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
10481
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11198
      esac;
10482
      esac;
11199
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
10483
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11200
    '
10484
    '
11201
    export as_echo_n_body
10485
    export as_echo_n_body
11202
    as_echo_n='sh -c $as_echo_n_body as_echo'
10486
    as_echo_n='sh -c $as_echo_n_body as_echo'
11203
  fi
10487
  fi
11204
  export as_echo_body
10488
  export as_echo_body
11205
  as_echo='sh -c $as_echo_body as_echo'
10489
  as_echo='sh -c $as_echo_body as_echo'
11206
fi
10490
fi
11207
 
10491
 
11208
# The user is always right.
10492
# The user is always right.
11209
if test "${PATH_SEPARATOR+set}" != set; then
10493
if test "${PATH_SEPARATOR+set}" != set; then
11210
  PATH_SEPARATOR=:
10494
  PATH_SEPARATOR=:
11211
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10495
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11212
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10496
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11213
      PATH_SEPARATOR=';'
10497
      PATH_SEPARATOR=';'
11214
  }
10498
  }
11215
fi
10499
fi
11216
 
10500
 
11217
# Support unset when possible.
-
 
11218
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
-
 
11219
  as_unset=unset
-
 
11220
else
-
 
11221
  as_unset=false
-
 
11222
fi
-
 
11223
 
-
 
11224
 
10501
 
11225
# IFS
10502
# IFS
11226
# We need space, tab and new line, in precisely that order.  Quoting is
10503
# We need space, tab and new line, in precisely that order.  Quoting is
11227
# there to prevent editors from complaining about space-tab.
10504
# there to prevent editors from complaining about space-tab.
11228
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
10505
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11229
# splitting by setting IFS to empty value.)
10506
# splitting by setting IFS to empty value.)
11230
IFS=" ""	$as_nl"
10507
IFS=" ""	$as_nl"
11231
 
10508
 
11232
# Find who we are.  Look in the path if we contain no directory separator.
10509
# Find who we are.  Look in the path if we contain no directory separator.
11233
case $0 in
10510
case $0 in #((
11234
  *[\\/]* ) as_myself=$0 ;;
10511
  *[\\/]* ) as_myself=$0 ;;
11235
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10512
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11236
for as_dir in $PATH
10513
for as_dir in $PATH
11237
do
10514
do
11238
  IFS=$as_save_IFS
10515
  IFS=$as_save_IFS
11239
  test -z "$as_dir" && as_dir=.
10516
  test -z "$as_dir" && as_dir=.
11240
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10517
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11241
done
10518
  done
11242
IFS=$as_save_IFS
10519
IFS=$as_save_IFS
11243
 
10520
 
11244
     ;;
10521
     ;;
11245
esac
10522
esac
11246
# We did not find ourselves, most probably we were run as `sh COMMAND'
10523
# We did not find ourselves, most probably we were run as `sh COMMAND'
11247
# in which case we are not to be found in the path.
10524
# in which case we are not to be found in the path.
11248
if test "x$as_myself" = x; then
10525
if test "x$as_myself" = x; then
11249
  as_myself=$0
10526
  as_myself=$0
11250
fi
10527
fi
11251
if test ! -f "$as_myself"; then
10528
if test ! -f "$as_myself"; then
11252
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10529
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11253
  { (exit 1); exit 1; }
10530
  exit 1
11254
fi
10531
fi
11255
 
10532
 
-
 
10533
# Unset variables that we do not need and which cause bugs (e.g. in
-
 
10534
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
-
 
10535
# suppresses any "Segmentation fault" message there.  '((' could
11256
# Work around bugs in pre-3.0 UWIN ksh.
10536
# trigger a bug in pdksh 5.2.14.
11257
for as_var in ENV MAIL MAILPATH
10537
for as_var in BASH_ENV ENV MAIL MAILPATH
-
 
10538
do eval test x\${$as_var+set} = xset \
11258
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10539
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11259
done
10540
done
11260
PS1='$ '
10541
PS1='$ '
11261
PS2='> '
10542
PS2='> '
11262
PS4='+ '
10543
PS4='+ '
11263
 
10544
 
11264
# NLS nuisances.
10545
# NLS nuisances.
11265
LC_ALL=C
10546
LC_ALL=C
11266
export LC_ALL
10547
export LC_ALL
11267
LANGUAGE=C
10548
LANGUAGE=C
11268
export LANGUAGE
10549
export LANGUAGE
11269
 
10550
 
-
 
10551
# CDPATH.
-
 
10552
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
 
10553
 
-
 
10554
 
-
 
10555
# as_fn_error ERROR [LINENO LOG_FD]
-
 
10556
# ---------------------------------
-
 
10557
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-
 
10558
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-
 
10559
# script with status $?, using 1 if that was 0.
-
 
10560
as_fn_error ()
-
 
10561
{
-
 
10562
  as_status=$?; test $as_status -eq 0 && as_status=1
-
 
10563
  if test "$3"; then
-
 
10564
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-
 
10565
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
-
 
10566
  fi
-
 
10567
  $as_echo "$as_me: error: $1" >&2
-
 
10568
  as_fn_exit $as_status
-
 
10569
} # as_fn_error
-
 
10570
 
-
 
10571
 
-
 
10572
# as_fn_set_status STATUS
-
 
10573
# -----------------------
-
 
10574
# Set $? to STATUS, without forking.
-
 
10575
as_fn_set_status ()
-
 
10576
{
-
 
10577
  return $1
-
 
10578
} # as_fn_set_status
-
 
10579
 
-
 
10580
# as_fn_exit STATUS
-
 
10581
# -----------------
-
 
10582
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-
 
10583
as_fn_exit ()
-
 
10584
{
-
 
10585
  set +e
-
 
10586
  as_fn_set_status $1
-
 
10587
  exit $1
-
 
10588
} # as_fn_exit
-
 
10589
 
-
 
10590
# as_fn_unset VAR
-
 
10591
# ---------------
11270
# Required to use basename.
10592
# Portably unset VAR.
-
 
10593
as_fn_unset ()
-
 
10594
{
-
 
10595
  { eval $1=; unset $1;}
-
 
10596
}
-
 
10597
as_unset=as_fn_unset
-
 
10598
# as_fn_append VAR VALUE
-
 
10599
# ----------------------
-
 
10600
# Append the text in VALUE to the end of the definition contained in VAR. Take
-
 
10601
# advantage of any shell optimizations that allow amortized linear growth over
-
 
10602
# repeated appends, instead of the typical quadratic growth present in naive
-
 
10603
# implementations.
-
 
10604
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
-
 
10605
  eval 'as_fn_append ()
-
 
10606
  {
-
 
10607
    eval $1+=\$2
-
 
10608
  }'
-
 
10609
else
-
 
10610
  as_fn_append ()
-
 
10611
  {
-
 
10612
    eval $1=\$$1\$2
-
 
10613
  }
-
 
10614
fi # as_fn_append
-
 
10615
 
-
 
10616
# as_fn_arith ARG...
-
 
10617
# ------------------
-
 
10618
# Perform arithmetic evaluation on the ARGs, and store the result in the
-
 
10619
# global $as_val. Take advantage of shells that can avoid forks. The arguments
-
 
10620
# must be portable across $(()) and expr.
-
 
10621
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
-
 
10622
  eval 'as_fn_arith ()
-
 
10623
  {
-
 
10624
    as_val=$(( $* ))
-
 
10625
  }'
-
 
10626
else
-
 
10627
  as_fn_arith ()
-
 
10628
  {
-
 
10629
    as_val=`expr "$@" || test $? -eq 1`
-
 
10630
  }
-
 
10631
fi # as_fn_arith
-
 
10632
 
-
 
10633
 
11271
if expr a : '\(a\)' >/dev/null 2>&1 &&
10634
if expr a : '\(a\)' >/dev/null 2>&1 &&
11272
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
10635
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11273
  as_expr=expr
10636
  as_expr=expr
11274
else
10637
else
11275
  as_expr=false
10638
  as_expr=false
11276
fi
10639
fi
11277
 
10640
 
11278
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10641
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11279
  as_basename=basename
10642
  as_basename=basename
11280
else
10643
else
11281
  as_basename=false
10644
  as_basename=false
11282
fi
10645
fi
11283
 
10646
 
-
 
10647
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
-
 
10648
  as_dirname=dirname
-
 
10649
else
-
 
10650
  as_dirname=false
-
 
10651
fi
11284
 
10652
 
11285
# Name of the executable.
-
 
11286
as_me=`$as_basename -- "$0" ||
10653
as_me=`$as_basename -- "$0" ||
11287
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10654
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11288
	 X"$0" : 'X\(//\)$' \| \
10655
	 X"$0" : 'X\(//\)$' \| \
11289
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10656
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11290
$as_echo X/"$0" |
10657
$as_echo X/"$0" |
11291
    sed '/^.*\/\([^/][^/]*\)\/*$/{
10658
    sed '/^.*\/\([^/][^/]*\)\/*$/{
11292
	    s//\1/
10659
	    s//\1/
11293
	    q
10660
	    q
11294
	  }
10661
	  }
11295
	  /^X\/\(\/\/\)$/{
10662
	  /^X\/\(\/\/\)$/{
11296
	    s//\1/
10663
	    s//\1/
11297
	    q
10664
	    q
11298
	  }
10665
	  }
11299
	  /^X\/\(\/\).*/{
10666
	  /^X\/\(\/\).*/{
11300
	    s//\1/
10667
	    s//\1/
11301
	    q
10668
	    q
11302
	  }
10669
	  }
11303
	  s/.*/./; q'`
10670
	  s/.*/./; q'`
11304
 
10671
 
11305
# CDPATH.
-
 
11306
$as_unset CDPATH
-
 
11307
 
-
 
11308
 
-
 
11309
 
-
 
11310
  as_lineno_1=$LINENO
-
 
11311
  as_lineno_2=$LINENO
-
 
11312
  test "x$as_lineno_1" != "x$as_lineno_2" &&
10672
# Avoid depending upon Character Ranges.
11313
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
 
11314
 
-
 
11315
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
-
 
11316
  # uniformly replaced by the line number.  The first 'sed' inserts a
-
 
11317
  # line-number line after each line using $LINENO; the second 'sed'
-
 
11318
  # does the real work.  The second script uses 'N' to pair each
10673
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11319
  # line-number line with the line containing $LINENO, and appends
-
 
11320
  # trailing '-' during substitution so that $LINENO is not a special
-
 
11321
  # case at line end.
-
 
11322
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
-
 
11323
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
-
 
11324
  # E. McMahon (1931-1989) for sed's syntax.  :-)
10674
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11325
  sed -n '
-
 
11326
    p
-
 
11327
    /[$]LINENO/=
-
 
11328
  ' <$as_myself |
-
 
11329
    sed '
-
 
11330
      s/[$]LINENO.*/&-/
-
 
11331
      t lineno
-
 
11332
      b
-
 
11333
      :lineno
-
 
11334
      N
-
 
11335
      :loop
-
 
11336
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10675
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11337
      t loop
-
 
11338
      s/-\n.*//
-
 
11339
    ' >$as_me.lineno &&
10676
as_cr_digits='0123456789'
11340
  chmod +x "$as_me.lineno" ||
-
 
11341
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
-
 
11342
   { (exit 1); exit 1; }; }
-
 
11343
 
-
 
11344
  # Don't try to exec as it changes $[0], causing all sort of problems
-
 
11345
  # (the dirname of $[0] is not the place where we might find the
-
 
11346
  # original and so on.  Autoconf is especially sensitive to this).
-
 
11347
  . "./$as_me.lineno"
-
 
11348
  # Exit status is that of the last command.
10677
as_cr_alnum=$as_cr_Letters$as_cr_digits
11349
  exit
-
 
11350
}
-
 
11351
 
-
 
11352
 
-
 
11353
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
-
 
11354
  as_dirname=dirname
-
 
11355
else
-
 
11356
  as_dirname=false
-
 
11357
fi
-
 
11358
 
10678
 
11359
ECHO_C= ECHO_N= ECHO_T=
10679
ECHO_C= ECHO_N= ECHO_T=
11360
case `echo -n x` in
10680
case `echo -n x` in #(((((
11361
-n*)
10681
-n*)
11362
  case `echo 'x\c'` in
10682
  case `echo 'xy\c'` in
11363
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
10683
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
11364
  *)   ECHO_C='\c';;
10684
  xy)  ECHO_C='\c';;
-
 
10685
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
-
 
10686
       ECHO_T='	';;
11365
  esac;;
10687
  esac;;
11366
*)
10688
*)
11367
  ECHO_N='-n';;
10689
  ECHO_N='-n';;
11368
esac
10690
esac
11369
if expr a : '\(a\)' >/dev/null 2>&1 &&
-
 
11370
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
-
 
11371
  as_expr=expr
-
 
11372
else
-
 
11373
  as_expr=false
-
 
11374
fi
-
 
11375
 
10691
 
11376
rm -f conf$$ conf$$.exe conf$$.file
10692
rm -f conf$$ conf$$.exe conf$$.file
11377
if test -d conf$$.dir; then
10693
if test -d conf$$.dir; then
11378
  rm -f conf$$.dir/conf$$.file
10694
  rm -f conf$$.dir/conf$$.file
11379
else
10695
else
11380
  rm -f conf$$.dir
10696
  rm -f conf$$.dir
11381
  mkdir conf$$.dir 2>/dev/null
10697
  mkdir conf$$.dir 2>/dev/null
11382
fi
10698
fi
11383
if (echo >conf$$.file) 2>/dev/null; then
10699
if (echo >conf$$.file) 2>/dev/null; then
11384
  if ln -s conf$$.file conf$$ 2>/dev/null; then
10700
  if ln -s conf$$.file conf$$ 2>/dev/null; then
11385
    as_ln_s='ln -s'
10701
    as_ln_s='ln -s'
11386
    # ... but there are two gotchas:
10702
    # ... but there are two gotchas:
11387
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10703
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11388
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10704
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11389
    # In both cases, we have to default to `cp -p'.
10705
    # In both cases, we have to default to `cp -p'.
11390
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10706
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11391
      as_ln_s='cp -p'
10707
      as_ln_s='cp -p'
11392
  elif ln conf$$.file conf$$ 2>/dev/null; then
10708
  elif ln conf$$.file conf$$ 2>/dev/null; then
11393
    as_ln_s=ln
10709
    as_ln_s=ln
11394
  else
10710
  else
11395
    as_ln_s='cp -p'
10711
    as_ln_s='cp -p'
11396
  fi
10712
  fi
11397
else
10713
else
11398
  as_ln_s='cp -p'
10714
  as_ln_s='cp -p'
11399
fi
10715
fi
11400
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10716
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11401
rmdir conf$$.dir 2>/dev/null
10717
rmdir conf$$.dir 2>/dev/null
11402
 
10718
 
-
 
10719
 
-
 
10720
# as_fn_mkdir_p
-
 
10721
# -------------
-
 
10722
# Create "$as_dir" as a directory, including parents if necessary.
-
 
10723
as_fn_mkdir_p ()
-
 
10724
{
-
 
10725
 
-
 
10726
  case $as_dir in #(
-
 
10727
  -*) as_dir=./$as_dir;;
-
 
10728
  esac
-
 
10729
  test -d "$as_dir" || eval $as_mkdir_p || {
-
 
10730
    as_dirs=
-
 
10731
    while :; do
-
 
10732
      case $as_dir in #(
-
 
10733
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
-
 
10734
      *) as_qdir=$as_dir;;
-
 
10735
      esac
-
 
10736
      as_dirs="'$as_qdir' $as_dirs"
-
 
10737
      as_dir=`$as_dirname -- "$as_dir" ||
-
 
10738
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-
 
10739
	 X"$as_dir" : 'X\(//\)[^/]' \| \
-
 
10740
	 X"$as_dir" : 'X\(//\)$' \| \
-
 
10741
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-
 
10742
$as_echo X"$as_dir" |
-
 
10743
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-
 
10744
	    s//\1/
-
 
10745
	    q
-
 
10746
	  }
-
 
10747
	  /^X\(\/\/\)[^/].*/{
-
 
10748
	    s//\1/
-
 
10749
	    q
-
 
10750
	  }
-
 
10751
	  /^X\(\/\/\)$/{
-
 
10752
	    s//\1/
-
 
10753
	    q
-
 
10754
	  }
-
 
10755
	  /^X\(\/\).*/{
-
 
10756
	    s//\1/
-
 
10757
	    q
-
 
10758
	  }
-
 
10759
	  s/.*/./; q'`
-
 
10760
      test -d "$as_dir" && break
-
 
10761
    done
-
 
10762
    test -z "$as_dirs" || eval "mkdir $as_dirs"
-
 
10763
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
-
 
10764
 
-
 
10765
 
-
 
10766
} # as_fn_mkdir_p
11403
if mkdir -p . 2>/dev/null; then
10767
if mkdir -p . 2>/dev/null; then
11404
  as_mkdir_p=:
10768
  as_mkdir_p='mkdir -p "$as_dir"'
11405
else
10769
else
11406
  test -d ./-p && rmdir ./-p
10770
  test -d ./-p && rmdir ./-p
11407
  as_mkdir_p=false
10771
  as_mkdir_p=false
11408
fi
10772
fi
11409
 
10773
 
11410
if test -x / >/dev/null 2>&1; then
10774
if test -x / >/dev/null 2>&1; then
11411
  as_test_x='test -x'
10775
  as_test_x='test -x'
11412
else
10776
else
11413
  if ls -dL / >/dev/null 2>&1; then
10777
  if ls -dL / >/dev/null 2>&1; then
11414
    as_ls_L_option=L
10778
    as_ls_L_option=L
11415
  else
10779
  else
11416
    as_ls_L_option=
10780
    as_ls_L_option=
11417
  fi
10781
  fi
11418
  as_test_x='
10782
  as_test_x='
11419
    eval sh -c '\''
10783
    eval sh -c '\''
11420
      if test -d "$1"; then
10784
      if test -d "$1"; then
11421
	test -d "$1/.";
10785
	test -d "$1/.";
11422
      else
10786
      else
11423
	case $1 in
10787
	case $1 in #(
11424
	-*)set "./$1";;
10788
	-*)set "./$1";;
11425
	esac;
10789
	esac;
11426
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10790
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11427
	???[sx]*):;;*)false;;esac;fi
10791
	???[sx]*):;;*)false;;esac;fi
11428
    '\'' sh
10792
    '\'' sh
11429
  '
10793
  '
11430
fi
10794
fi
11431
as_executable_p=$as_test_x
10795
as_executable_p=$as_test_x
11432
 
10796
 
11433
# Sed expression to map a string onto a valid CPP name.
10797
# Sed expression to map a string onto a valid CPP name.
11434
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10798
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11435
 
10799
 
11436
# Sed expression to map a string onto a valid variable name.
10800
# Sed expression to map a string onto a valid variable name.
11437
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10801
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11438
 
10802
 
11439
 
10803
 
11440
exec 6>&1
10804
exec 6>&1
-
 
10805
## ----------------------------------- ##
-
 
10806
## Main body of $CONFIG_STATUS script. ##
-
 
10807
## ----------------------------------- ##
-
 
10808
_ASEOF
-
 
10809
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11441
 
10810
 
-
 
10811
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11442
# Save the log message, to keep $[0] and so on meaningful, and to
10812
# Save the log message, to keep $0 and so on meaningful, and to
11443
# report actual input values of CONFIG_FILES etc. instead of their
10813
# report actual input values of CONFIG_FILES etc. instead of their
11444
# values after options handling.
10814
# values after options handling.
11445
ac_log="
10815
ac_log="
11446
This file was extended by $as_me, which was
10816
This file was extended by $as_me, which was
11447
generated by GNU Autoconf 2.63.  Invocation command line was
10817
generated by GNU Autoconf 2.64.  Invocation command line was
11448
 
10818
 
11449
  CONFIG_FILES    = $CONFIG_FILES
10819
  CONFIG_FILES    = $CONFIG_FILES
11450
  CONFIG_HEADERS  = $CONFIG_HEADERS
10820
  CONFIG_HEADERS  = $CONFIG_HEADERS
11451
  CONFIG_LINKS    = $CONFIG_LINKS
10821
  CONFIG_LINKS    = $CONFIG_LINKS
11452
  CONFIG_COMMANDS = $CONFIG_COMMANDS
10822
  CONFIG_COMMANDS = $CONFIG_COMMANDS
11453
  $ $0 $@
10823
  $ $0 $@
11454
 
10824
 
11455
on `(hostname || uname -n) 2>/dev/null | sed 1q`
10825
on `(hostname || uname -n) 2>/dev/null | sed 1q`
11456
"
10826
"
11457
 
10827
 
11458
_ACEOF
10828
_ACEOF
11459
 
10829
 
11460
case $ac_config_files in *"
10830
case $ac_config_files in *"
11461
"*) set x $ac_config_files; shift; ac_config_files=$*;;
10831
"*) set x $ac_config_files; shift; ac_config_files=$*;;
11462
esac
10832
esac
11463
 
10833
 
11464
case $ac_config_headers in *"
10834
case $ac_config_headers in *"
11465
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
10835
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11466
esac
10836
esac
11467
 
10837
 
11468
 
10838
 
11469
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10839
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11470
# Files that config.status was made for.
10840
# Files that config.status was made for.
11471
config_files="$ac_config_files"
10841
config_files="$ac_config_files"
11472
config_headers="$ac_config_headers"
10842
config_headers="$ac_config_headers"
11473
config_commands="$ac_config_commands"
10843
config_commands="$ac_config_commands"
11474
 
10844
 
11475
_ACEOF
10845
_ACEOF
11476
 
10846
 
11477
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10847
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11478
ac_cs_usage="\
10848
ac_cs_usage="\
11479
\`$as_me' instantiates files from templates according to the
10849
\`$as_me' instantiates files and other configuration actions
11480
current configuration.
10850
from templates according to the current configuration.  Unless the files
-
 
10851
and actions are specified as TAGs, all are instantiated by default.
11481
 
10852
 
11482
Usage: $0 [OPTION]... [FILE]...
10853
Usage: $0 [OPTION]... [TAG]...
11483
 
10854
 
11484
  -h, --help       print this help, then exit
10855
  -h, --help       print this help, then exit
11485
  -V, --version    print version number and configuration settings, then exit
10856
  -V, --version    print version number and configuration settings, then exit
11486
  -q, --quiet, --silent
10857
  -q, --quiet, --silent
11487
                   do not print progress messages
10858
                   do not print progress messages
11488
  -d, --debug      don't remove temporary files
10859
  -d, --debug      don't remove temporary files
11489
      --recheck    update $as_me by reconfiguring in the same conditions
10860
      --recheck    update $as_me by reconfiguring in the same conditions
11490
      --file=FILE[:TEMPLATE]
10861
      --file=FILE[:TEMPLATE]
11491
                   instantiate the configuration file FILE
10862
                   instantiate the configuration file FILE
11492
      --header=FILE[:TEMPLATE]
10863
      --header=FILE[:TEMPLATE]
11493
                   instantiate the configuration header FILE
10864
                   instantiate the configuration header FILE
11494
 
10865
 
11495
Configuration files:
10866
Configuration files:
11496
$config_files
10867
$config_files
11497
 
10868
 
11498
Configuration headers:
10869
Configuration headers:
11499
$config_headers
10870
$config_headers
11500
 
10871
 
11501
Configuration commands:
10872
Configuration commands:
11502
$config_commands
10873
$config_commands
11503
 
10874
 
11504
Report bugs to <bug-autoconf@gnu.org>."
10875
Report bugs to the package provider."
11505
 
10876
 
11506
_ACEOF
10877
_ACEOF
11507
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10878
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11508
ac_cs_version="\\
10879
ac_cs_version="\\
11509
config.status
10880
config.status
11510
configured by $0, generated by GNU Autoconf 2.63,
10881
configured by $0, generated by GNU Autoconf 2.64,
11511
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10882
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11512
 
10883
 
11513
Copyright (C) 2008 Free Software Foundation, Inc.
10884
Copyright (C) 2009 Free Software Foundation, Inc.
11514
This config.status script is free software; the Free Software Foundation
10885
This config.status script is free software; the Free Software Foundation
11515
gives unlimited permission to copy, distribute and modify it."
10886
gives unlimited permission to copy, distribute and modify it."
11516
 
10887
 
11517
ac_pwd='$ac_pwd'
10888
ac_pwd='$ac_pwd'
11518
srcdir='$srcdir'
10889
srcdir='$srcdir'
11519
INSTALL='$INSTALL'
10890
INSTALL='$INSTALL'
11520
MKDIR_P='$MKDIR_P'
10891
MKDIR_P='$MKDIR_P'
11521
AWK='$AWK'
10892
AWK='$AWK'
11522
test -n "\$AWK" || AWK=awk
10893
test -n "\$AWK" || AWK=awk
11523
_ACEOF
10894
_ACEOF
11524
 
10895
 
11525
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10896
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11526
# The default lists apply if the user does not specify any file.
10897
# The default lists apply if the user does not specify any file.
11527
ac_need_defaults=:
10898
ac_need_defaults=:
11528
while test $# != 0
10899
while test $# != 0
11529
do
10900
do
11530
  case $1 in
10901
  case $1 in
11531
  --*=*)
10902
  --*=*)
11532
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
10903
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
11533
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10904
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11534
    ac_shift=:
10905
    ac_shift=:
11535
    ;;
10906
    ;;
11536
  *)
10907
  *)
11537
    ac_option=$1
10908
    ac_option=$1
11538
    ac_optarg=$2
10909
    ac_optarg=$2
11539
    ac_shift=shift
10910
    ac_shift=shift
11540
    ;;
10911
    ;;
11541
  esac
10912
  esac
11542
 
10913
 
11543
  case $ac_option in
10914
  case $ac_option in
11544
  # Handling of the options.
10915
  # Handling of the options.
11545
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10916
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11546
    ac_cs_recheck=: ;;
10917
    ac_cs_recheck=: ;;
11547
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10918
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11548
    $as_echo "$ac_cs_version"; exit ;;
10919
    $as_echo "$ac_cs_version"; exit ;;
11549
  --debug | --debu | --deb | --de | --d | -d )
10920
  --debug | --debu | --deb | --de | --d | -d )
11550
    debug=: ;;
10921
    debug=: ;;
11551
  --file | --fil | --fi | --f )
10922
  --file | --fil | --fi | --f )
11552
    $ac_shift
10923
    $ac_shift
11553
    case $ac_optarg in
10924
    case $ac_optarg in
11554
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10925
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11555
    esac
10926
    esac
11556
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
10927
    as_fn_append CONFIG_FILES " '$ac_optarg'"
11557
    ac_need_defaults=false;;
10928
    ac_need_defaults=false;;
11558
  --header | --heade | --head | --hea )
10929
  --header | --heade | --head | --hea )
11559
    $ac_shift
10930
    $ac_shift
11560
    case $ac_optarg in
10931
    case $ac_optarg in
11561
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10932
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11562
    esac
10933
    esac
11563
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
10934
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
11564
    ac_need_defaults=false;;
10935
    ac_need_defaults=false;;
11565
  --he | --h)
10936
  --he | --h)
11566
    # Conflict between --help and --header
10937
    # Conflict between --help and --header
11567
    { $as_echo "$as_me: error: ambiguous option: $1
10938
    as_fn_error "ambiguous option: \`$1'
11568
Try \`$0 --help' for more information." >&2
10939
Try \`$0 --help' for more information.";;
11569
   { (exit 1); exit 1; }; };;
-
 
11570
  --help | --hel | -h )
10940
  --help | --hel | -h )
11571
    $as_echo "$ac_cs_usage"; exit ;;
10941
    $as_echo "$ac_cs_usage"; exit ;;
11572
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10942
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11573
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
10943
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11574
    ac_cs_silent=: ;;
10944
    ac_cs_silent=: ;;
11575
 
10945
 
11576
  # This is an error.
10946
  # This is an error.
11577
  -*) { $as_echo "$as_me: error: unrecognized option: $1
10947
  -*) as_fn_error "unrecognized option: \`$1'
11578
Try \`$0 --help' for more information." >&2
10948
Try \`$0 --help' for more information." ;;
11579
   { (exit 1); exit 1; }; } ;;
-
 
11580
 
10949
 
11581
  *) ac_config_targets="$ac_config_targets $1"
10950
  *) as_fn_append ac_config_targets " $1"
11582
     ac_need_defaults=false ;;
10951
     ac_need_defaults=false ;;
11583
 
10952
 
11584
  esac
10953
  esac
11585
  shift
10954
  shift
11586
done
10955
done
11587
 
10956
 
11588
ac_configure_extra_args=
10957
ac_configure_extra_args=
11589
 
10958
 
11590
if $ac_cs_silent; then
10959
if $ac_cs_silent; then
11591
  exec 6>/dev/null
10960
  exec 6>/dev/null
11592
  ac_configure_extra_args="$ac_configure_extra_args --silent"
10961
  ac_configure_extra_args="$ac_configure_extra_args --silent"
11593
fi
10962
fi
11594
 
10963
 
11595
_ACEOF
10964
_ACEOF
11596
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10965
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11597
if \$ac_cs_recheck; then
10966
if \$ac_cs_recheck; then
11598
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10967
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11599
  shift
10968
  shift
11600
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10969
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11601
  CONFIG_SHELL='$SHELL'
10970
  CONFIG_SHELL='$SHELL'
11602
  export CONFIG_SHELL
10971
  export CONFIG_SHELL
11603
  exec "\$@"
10972
  exec "\$@"
11604
fi
10973
fi
11605
 
10974
 
11606
_ACEOF
10975
_ACEOF
11607
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10976
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11608
exec 5>>config.log
10977
exec 5>>config.log
11609
{
10978
{
11610
  echo
10979
  echo
11611
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10980
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11612
## Running $as_me. ##
10981
## Running $as_me. ##
11613
_ASBOX
10982
_ASBOX
11614
  $as_echo "$ac_log"
10983
  $as_echo "$ac_log"
11615
} >&5
10984
} >&5
11616
 
10985
 
11617
_ACEOF
10986
_ACEOF
11618
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10987
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11619
#
10988
#
11620
# INIT-COMMANDS
10989
# INIT-COMMANDS
11621
#
10990
#
11622
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10991
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11623
 
10992
 
11624
 
10993
 
11625
# The HP-UX ksh and POSIX shell print the target directory to stdout
10994
# The HP-UX ksh and POSIX shell print the target directory to stdout
11626
# if CDPATH is set.
10995
# if CDPATH is set.
11627
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10996
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11628
 
10997
 
11629
sed_quote_subst='$sed_quote_subst'
10998
sed_quote_subst='$sed_quote_subst'
11630
double_quote_subst='$double_quote_subst'
10999
double_quote_subst='$double_quote_subst'
11631
delay_variable_subst='$delay_variable_subst'
11000
delay_variable_subst='$delay_variable_subst'
11632
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11001
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11633
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11002
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11634
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11003
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11635
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11004
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11636
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11005
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11637
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11006
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11638
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11007
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11639
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11008
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11640
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11009
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11641
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11010
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11642
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11011
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11643
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11012
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11644
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11013
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11645
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11014
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11646
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11015
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11647
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11016
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11648
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11017
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11649
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11018
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11650
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11019
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11651
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11020
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11652
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11021
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11653
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11022
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11654
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11023
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11655
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11024
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11656
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11025
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11657
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11026
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11658
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11027
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11659
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11028
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11660
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11029
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11661
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11030
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11662
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11031
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11663
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11032
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11664
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11033
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11665
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11034
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11666
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11035
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11667
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11036
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11668
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11037
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11669
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11038
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11670
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11039
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11671
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11040
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11672
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11041
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11673
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11042
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11674
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11043
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11675
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11044
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11676
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"`'
11045
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"`'
11677
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"`'
11046
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"`'
11678
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11047
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11679
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11048
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11680
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11049
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11681
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11050
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11682
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11051
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11683
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11052
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11684
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11053
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11685
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11054
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11686
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11055
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11687
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11056
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11688
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
11057
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
11689
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
11058
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
11690
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
11059
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
11691
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11060
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11692
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
11061
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
11693
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11062
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11694
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11063
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11695
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11064
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11696
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11065
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11697
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11066
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11698
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11067
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11699
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11068
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11700
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11069
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11701
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11070
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11702
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11071
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11703
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11072
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11704
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11073
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11705
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11074
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11706
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11075
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11707
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11076
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11708
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11077
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11709
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11078
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11710
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11079
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11711
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11080
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11712
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11081
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11713
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11082
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11714
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11083
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11715
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11084
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11716
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11085
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11717
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11086
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11718
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11087
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11719
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11088
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11720
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11089
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11721
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11090
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11722
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11091
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11723
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11092
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11724
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11093
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11725
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11094
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11726
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11095
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11727
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11096
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11728
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11097
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11729
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11098
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11730
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11099
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11731
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11100
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11732
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11101
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11733
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11102
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11734
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11103
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11735
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11104
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11736
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11105
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11737
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11106
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11738
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11107
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11739
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11108
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11740
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11109
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11741
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11110
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11742
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11111
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11743
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11112
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11744
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11113
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11745
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11114
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11746
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11115
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11747
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11116
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11748
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11117
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11749
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11118
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11750
 
11119
 
11751
LTCC='$LTCC'
11120
LTCC='$LTCC'
11752
LTCFLAGS='$LTCFLAGS'
11121
LTCFLAGS='$LTCFLAGS'
11753
compiler='$compiler_DEFAULT'
11122
compiler='$compiler_DEFAULT'
11754
 
11123
 
11755
# Quote evaled strings.
11124
# Quote evaled strings.
11756
for var in SED \
11125
for var in SED \
11757
GREP \
11126
GREP \
11758
EGREP \
11127
EGREP \
11759
FGREP \
11128
FGREP \
11760
LD \
11129
LD \
11761
NM \
11130
NM \
11762
LN_S \
11131
LN_S \
11763
lt_SP2NL \
11132
lt_SP2NL \
11764
lt_NL2SP \
11133
lt_NL2SP \
11765
reload_flag \
11134
reload_flag \
11766
OBJDUMP \
11135
OBJDUMP \
11767
deplibs_check_method \
11136
deplibs_check_method \
11768
file_magic_cmd \
11137
file_magic_cmd \
11769
AR \
11138
AR \
11770
AR_FLAGS \
11139
AR_FLAGS \
11771
STRIP \
11140
STRIP \
11772
RANLIB \
11141
RANLIB \
11773
CC \
11142
CC \
11774
CFLAGS \
11143
CFLAGS \
11775
compiler \
11144
compiler \
11776
lt_cv_sys_global_symbol_pipe \
11145
lt_cv_sys_global_symbol_pipe \
11777
lt_cv_sys_global_symbol_to_cdecl \
11146
lt_cv_sys_global_symbol_to_cdecl \
11778
lt_cv_sys_global_symbol_to_c_name_address \
11147
lt_cv_sys_global_symbol_to_c_name_address \
11779
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11148
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11780
SHELL \
11149
SHELL \
11781
ECHO \
11150
ECHO \
11782
lt_prog_compiler_no_builtin_flag \
11151
lt_prog_compiler_no_builtin_flag \
11783
lt_prog_compiler_wl \
11152
lt_prog_compiler_wl \
11784
lt_prog_compiler_pic \
11153
lt_prog_compiler_pic \
11785
lt_prog_compiler_static \
11154
lt_prog_compiler_static \
11786
lt_cv_prog_compiler_c_o \
11155
lt_cv_prog_compiler_c_o \
11787
need_locks \
11156
need_locks \
11788
DSYMUTIL \
11157
DSYMUTIL \
11789
NMEDIT \
11158
NMEDIT \
11790
LIPO \
11159
LIPO \
11791
OTOOL \
11160
OTOOL \
11792
OTOOL64 \
11161
OTOOL64 \
11793
shrext_cmds \
11162
shrext_cmds \
11794
export_dynamic_flag_spec \
11163
export_dynamic_flag_spec \
11795
whole_archive_flag_spec \
11164
whole_archive_flag_spec \
11796
compiler_needs_object \
11165
compiler_needs_object \
11797
with_gnu_ld \
11166
with_gnu_ld \
11798
allow_undefined_flag \
11167
allow_undefined_flag \
11799
no_undefined_flag \
11168
no_undefined_flag \
11800
hardcode_libdir_flag_spec \
11169
hardcode_libdir_flag_spec \
11801
hardcode_libdir_flag_spec_ld \
11170
hardcode_libdir_flag_spec_ld \
11802
hardcode_libdir_separator \
11171
hardcode_libdir_separator \
11803
fix_srcfile_path \
11172
fix_srcfile_path \
11804
exclude_expsyms \
11173
exclude_expsyms \
11805
include_expsyms \
11174
include_expsyms \
11806
file_list_spec \
11175
file_list_spec \
11807
variables_saved_for_relink \
11176
variables_saved_for_relink \
11808
libname_spec \
11177
libname_spec \
11809
library_names_spec \
11178
library_names_spec \
11810
soname_spec \
11179
soname_spec \
11811
finish_eval \
11180
finish_eval \
11812
old_striplib \
11181
old_striplib \
11813
striplib; do
11182
striplib; do
11814
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11183
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11815
    *[\\\\\\\`\\"\\\$]*)
11184
    *[\\\\\\\`\\"\\\$]*)
11816
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11185
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11817
      ;;
11186
      ;;
11818
    *)
11187
    *)
11819
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11188
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11820
      ;;
11189
      ;;
11821
    esac
11190
    esac
11822
done
11191
done
11823
 
11192
 
11824
# Double-quote double-evaled strings.
11193
# Double-quote double-evaled strings.
11825
for var in reload_cmds \
11194
for var in reload_cmds \
11826
old_postinstall_cmds \
11195
old_postinstall_cmds \
11827
old_postuninstall_cmds \
11196
old_postuninstall_cmds \
11828
old_archive_cmds \
11197
old_archive_cmds \
11829
extract_expsyms_cmds \
11198
extract_expsyms_cmds \
11830
old_archive_from_new_cmds \
11199
old_archive_from_new_cmds \
11831
old_archive_from_expsyms_cmds \
11200
old_archive_from_expsyms_cmds \
11832
archive_cmds \
11201
archive_cmds \
11833
archive_expsym_cmds \
11202
archive_expsym_cmds \
11834
module_cmds \
11203
module_cmds \
11835
module_expsym_cmds \
11204
module_expsym_cmds \
11836
export_symbols_cmds \
11205
export_symbols_cmds \
11837
prelink_cmds \
11206
prelink_cmds \
11838
postinstall_cmds \
11207
postinstall_cmds \
11839
postuninstall_cmds \
11208
postuninstall_cmds \
11840
finish_cmds \
11209
finish_cmds \
11841
sys_lib_search_path_spec \
11210
sys_lib_search_path_spec \
11842
sys_lib_dlsearch_path_spec; do
11211
sys_lib_dlsearch_path_spec; do
11843
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11212
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11844
    *[\\\\\\\`\\"\\\$]*)
11213
    *[\\\\\\\`\\"\\\$]*)
11845
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11214
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11846
      ;;
11215
      ;;
11847
    *)
11216
    *)
11848
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11217
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11849
      ;;
11218
      ;;
11850
    esac
11219
    esac
11851
done
11220
done
11852
 
11221
 
11853
# Fix-up fallback echo if it was mangled by the above quoting rules.
11222
# Fix-up fallback echo if it was mangled by the above quoting rules.
11854
case \$lt_ECHO in
11223
case \$lt_ECHO in
11855
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
11224
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
11856
  ;;
11225
  ;;
11857
esac
11226
esac
11858
 
11227
 
11859
ac_aux_dir='$ac_aux_dir'
11228
ac_aux_dir='$ac_aux_dir'
11860
xsi_shell='$xsi_shell'
11229
xsi_shell='$xsi_shell'
11861
lt_shell_append='$lt_shell_append'
11230
lt_shell_append='$lt_shell_append'
11862
 
11231
 
11863
# See if we are running on zsh, and set the options which allow our
11232
# See if we are running on zsh, and set the options which allow our
11864
# commands through without removal of \ escapes INIT.
11233
# commands through without removal of \ escapes INIT.
11865
if test -n "\${ZSH_VERSION+set}" ; then
11234
if test -n "\${ZSH_VERSION+set}" ; then
11866
   setopt NO_GLOB_SUBST
11235
   setopt NO_GLOB_SUBST
11867
fi
11236
fi
11868
 
11237
 
11869
 
11238
 
11870
    PACKAGE='$PACKAGE'
11239
    PACKAGE='$PACKAGE'
11871
    VERSION='$VERSION'
11240
    VERSION='$VERSION'
11872
    TIMESTAMP='$TIMESTAMP'
11241
    TIMESTAMP='$TIMESTAMP'
11873
    RM='$RM'
11242
    RM='$RM'
11874
    ofile='$ofile'
11243
    ofile='$ofile'
11875
 
11244
 
11876
 
11245
 
11877
 
11246
 
11878
 
11247
 
11879
_ACEOF
11248
_ACEOF
11880
 
11249
 
11881
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11250
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11882
 
11251
 
11883
# Handling of arguments.
11252
# Handling of arguments.
11884
for ac_config_target in $ac_config_targets
11253
for ac_config_target in $ac_config_targets
11885
do
11254
do
11886
  case $ac_config_target in
11255
  case $ac_config_target in
11887
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11256
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11888
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11257
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11889
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
11258
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
11890
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11259
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11891
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
11260
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
11892
 
11261
 
11893
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-
 
11894
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11262
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11895
   { (exit 1); exit 1; }; };;
-
 
11896
  esac
11263
  esac
11897
done
11264
done
11898
 
11265
 
11899
 
11266
 
11900
# If the user did not use the arguments to specify the items to instantiate,
11267
# If the user did not use the arguments to specify the items to instantiate,
11901
# then the envvar interface is used.  Set only those that are not.
11268
# then the envvar interface is used.  Set only those that are not.
11902
# We use the long form for the default assignment because of an extremely
11269
# We use the long form for the default assignment because of an extremely
11903
# bizarre bug on SunOS 4.1.3.
11270
# bizarre bug on SunOS 4.1.3.
11904
if $ac_need_defaults; then
11271
if $ac_need_defaults; then
11905
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11272
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11906
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11273
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11907
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11274
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11908
fi
11275
fi
11909
 
11276
 
11910
# Have a temporary directory for convenience.  Make it in the build tree
11277
# Have a temporary directory for convenience.  Make it in the build tree
11911
# simply because there is no reason against having it here, and in addition,
11278
# simply because there is no reason against having it here, and in addition,
11912
# creating and moving files from /tmp can sometimes cause problems.
11279
# creating and moving files from /tmp can sometimes cause problems.
11913
# Hook for its removal unless debugging.
11280
# Hook for its removal unless debugging.
11914
# Note that there is a small window in which the directory will not be cleaned:
11281
# Note that there is a small window in which the directory will not be cleaned:
11915
# after its creation but before its name has been assigned to `$tmp'.
11282
# after its creation but before its name has been assigned to `$tmp'.
11916
$debug ||
11283
$debug ||
11917
{
11284
{
11918
  tmp=
11285
  tmp=
11919
  trap 'exit_status=$?
11286
  trap 'exit_status=$?
11920
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11287
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11921
' 0
11288
' 0
11922
  trap '{ (exit 1); exit 1; }' 1 2 13 15
11289
  trap 'as_fn_exit 1' 1 2 13 15
11923
}
11290
}
11924
# Create a (secure) tmp directory for tmp files.
11291
# Create a (secure) tmp directory for tmp files.
11925
 
11292
 
11926
{
11293
{
11927
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11294
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11928
  test -n "$tmp" && test -d "$tmp"
11295
  test -n "$tmp" && test -d "$tmp"
11929
}  ||
11296
}  ||
11930
{
11297
{
11931
  tmp=./conf$$-$RANDOM
11298
  tmp=./conf$$-$RANDOM
11932
  (umask 077 && mkdir "$tmp")
11299
  (umask 077 && mkdir "$tmp")
11933
} ||
-
 
11934
{
-
 
11935
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
11300
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
11936
   { (exit 1); exit 1; }
-
 
11937
}
-
 
11938
 
11301
 
11939
# Set up the scripts for CONFIG_FILES section.
11302
# Set up the scripts for CONFIG_FILES section.
11940
# No need to generate them if there are no CONFIG_FILES.
11303
# No need to generate them if there are no CONFIG_FILES.
11941
# This happens for instance with `./config.status config.h'.
11304
# This happens for instance with `./config.status config.h'.
11942
if test -n "$CONFIG_FILES"; then
11305
if test -n "$CONFIG_FILES"; then
11943
 
11306
 
11944
 
11307
 
-
 
11308
ac_cr=`echo X | tr X '\015'`
-
 
11309
# On cygwin, bash can eat \r inside `` if the user requested igncr.
-
 
11310
# But we know of no other shell where ac_cr would be empty at this
-
 
11311
# point, so we can use a bashism as a fallback.
-
 
11312
if test "x$ac_cr" = x; then
11945
ac_cr='
'
11313
  eval ac_cr=\$\'\\r\'
-
 
11314
fi
11946
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11315
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11947
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11316
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11948
  ac_cs_awk_cr='\\r'
11317
  ac_cs_awk_cr='\r'
11949
else
11318
else
11950
  ac_cs_awk_cr=$ac_cr
11319
  ac_cs_awk_cr=$ac_cr
11951
fi
11320
fi
11952
 
11321
 
11953
echo 'BEGIN {' >"$tmp/subs1.awk" &&
11322
echo 'BEGIN {' >"$tmp/subs1.awk" &&
11954
_ACEOF
11323
_ACEOF
11955
 
11324
 
11956
 
11325
 
11957
{
11326
{
11958
  echo "cat >conf$$subs.awk <<_ACEOF" &&
11327
  echo "cat >conf$$subs.awk <<_ACEOF" &&
11959
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11328
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11960
  echo "_ACEOF"
11329
  echo "_ACEOF"
11961
} >conf$$subs.sh ||
11330
} >conf$$subs.sh ||
11962
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-
 
11963
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11331
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
11964
   { (exit 1); exit 1; }; }
-
 
11965
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11332
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11966
ac_delim='%!_!# '
11333
ac_delim='%!_!# '
11967
for ac_last_try in false false false false false :; do
11334
for ac_last_try in false false false false false :; do
11968
  . ./conf$$subs.sh ||
11335
  . ./conf$$subs.sh ||
11969
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-
 
11970
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11336
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
11971
   { (exit 1); exit 1; }; }
-
 
11972
 
11337
 
11973
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
11338
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
11974
  if test $ac_delim_n = $ac_delim_num; then
11339
  if test $ac_delim_n = $ac_delim_num; then
11975
    break
11340
    break
11976
  elif $ac_last_try; then
11341
  elif $ac_last_try; then
11977
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-
 
11978
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11342
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
11979
   { (exit 1); exit 1; }; }
-
 
11980
  else
11343
  else
11981
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11344
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11982
  fi
11345
  fi
11983
done
11346
done
11984
rm -f conf$$subs.sh
11347
rm -f conf$$subs.sh
11985
 
11348
 
11986
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11349
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11987
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
11350
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
11988
_ACEOF
11351
_ACEOF
11989
sed -n '
11352
sed -n '
11990
h
11353
h
11991
s/^/S["/; s/!.*/"]=/
11354
s/^/S["/; s/!.*/"]=/
11992
p
11355
p
11993
g
11356
g
11994
s/^[^!]*!//
11357
s/^[^!]*!//
11995
:repl
11358
:repl
11996
t repl
11359
t repl
11997
s/'"$ac_delim"'$//
11360
s/'"$ac_delim"'$//
11998
t delim
11361
t delim
11999
:nl
11362
:nl
12000
h
11363
h
12001
s/\(.\{148\}\).*/\1/
11364
s/\(.\{148\}\).*/\1/
12002
t more1
11365
t more1
12003
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
11366
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12004
p
11367
p
12005
n
11368
n
12006
b repl
11369
b repl
12007
:more1
11370
:more1
12008
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
11371
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12009
p
11372
p
12010
g
11373
g
12011
s/.\{148\}//
11374
s/.\{148\}//
12012
t nl
11375
t nl
12013
:delim
11376
:delim
12014
h
11377
h
12015
s/\(.\{148\}\).*/\1/
11378
s/\(.\{148\}\).*/\1/
12016
t more2
11379
t more2
12017
s/["\\]/\\&/g; s/^/"/; s/$/"/
11380
s/["\\]/\\&/g; s/^/"/; s/$/"/
12018
p
11381
p
12019
b
11382
b
12020
:more2
11383
:more2
12021
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
11384
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12022
p
11385
p
12023
g
11386
g
12024
s/.\{148\}//
11387
s/.\{148\}//
12025
t delim
11388
t delim
12026
' <conf$$subs.awk | sed '
11389
' <conf$$subs.awk | sed '
12027
/^[^""]/{
11390
/^[^""]/{
12028
  N
11391
  N
12029
  s/\n//
11392
  s/\n//
12030
}
11393
}
12031
' >>$CONFIG_STATUS || ac_write_fail=1
11394
' >>$CONFIG_STATUS || ac_write_fail=1
12032
rm -f conf$$subs.awk
11395
rm -f conf$$subs.awk
12033
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11396
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12034
_ACAWK
11397
_ACAWK
12035
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
11398
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
12036
  for (key in S) S_is_set[key] = 1
11399
  for (key in S) S_is_set[key] = 1
12037
  FS = ""
11400
  FS = ""
12038
 
11401
 
12039
}
11402
}
12040
{
11403
{
12041
  line = $ 0
11404
  line = $ 0
12042
  nfields = split(line, field, "@")
11405
  nfields = split(line, field, "@")
12043
  substed = 0
11406
  substed = 0
12044
  len = length(field[1])
11407
  len = length(field[1])
12045
  for (i = 2; i < nfields; i++) {
11408
  for (i = 2; i < nfields; i++) {
12046
    key = field[i]
11409
    key = field[i]
12047
    keylen = length(key)
11410
    keylen = length(key)
12048
    if (S_is_set[key]) {
11411
    if (S_is_set[key]) {
12049
      value = S[key]
11412
      value = S[key]
12050
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11413
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12051
      len += length(value) + length(field[++i])
11414
      len += length(value) + length(field[++i])
12052
      substed = 1
11415
      substed = 1
12053
    } else
11416
    } else
12054
      len += 1 + keylen
11417
      len += 1 + keylen
12055
  }
11418
  }
12056
 
11419
 
12057
  print line
11420
  print line
12058
}
11421
}
12059
 
11422
 
12060
_ACAWK
11423
_ACAWK
12061
_ACEOF
11424
_ACEOF
12062
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11425
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12063
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11426
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12064
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
11427
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12065
else
11428
else
12066
  cat
11429
  cat
12067
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
11430
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12068
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
-
 
12069
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
11431
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
12070
   { (exit 1); exit 1; }; }
-
 
12071
_ACEOF
11432
_ACEOF
12072
 
11433
 
12073
# VPATH may cause trouble with some makes, so we remove $(srcdir),
11434
# VPATH may cause trouble with some makes, so we remove $(srcdir),
12074
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11435
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12075
# trailing colons and then remove the whole line if VPATH becomes empty
11436
# trailing colons and then remove the whole line if VPATH becomes empty
12076
# (actually we leave an empty line to preserve line numbers).
11437
# (actually we leave an empty line to preserve line numbers).
12077
if test "x$srcdir" = x.; then
11438
if test "x$srcdir" = x.; then
12078
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
11439
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
12079
s/:*\$(srcdir):*/:/
11440
s/:*\$(srcdir):*/:/
12080
s/:*\${srcdir}:*/:/
11441
s/:*\${srcdir}:*/:/
12081
s/:*@srcdir@:*/:/
11442
s/:*@srcdir@:*/:/
12082
s/^\([^=]*=[	 ]*\):*/\1/
11443
s/^\([^=]*=[	 ]*\):*/\1/
12083
s/:*$//
11444
s/:*$//
12084
s/^[^=]*=[	 ]*$//
11445
s/^[^=]*=[	 ]*$//
12085
}'
11446
}'
12086
fi
11447
fi
12087
 
11448
 
12088
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11449
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12089
fi # test -n "$CONFIG_FILES"
11450
fi # test -n "$CONFIG_FILES"
12090
 
11451
 
12091
# Set up the scripts for CONFIG_HEADERS section.
11452
# Set up the scripts for CONFIG_HEADERS section.
12092
# No need to generate them if there are no CONFIG_HEADERS.
11453
# No need to generate them if there are no CONFIG_HEADERS.
12093
# This happens for instance with `./config.status Makefile'.
11454
# This happens for instance with `./config.status Makefile'.
12094
if test -n "$CONFIG_HEADERS"; then
11455
if test -n "$CONFIG_HEADERS"; then
12095
cat >"$tmp/defines.awk" <<\_ACAWK ||
11456
cat >"$tmp/defines.awk" <<\_ACAWK ||
12096
BEGIN {
11457
BEGIN {
12097
_ACEOF
11458
_ACEOF
12098
 
11459
 
12099
# Transform confdefs.h into an awk script `defines.awk', embedded as
11460
# Transform confdefs.h into an awk script `defines.awk', embedded as
12100
# here-document in config.status, that substitutes the proper values into
11461
# here-document in config.status, that substitutes the proper values into
12101
# config.h.in to produce config.h.
11462
# config.h.in to produce config.h.
12102
 
11463
 
12103
# Create a delimiter string that does not exist in confdefs.h, to ease
11464
# Create a delimiter string that does not exist in confdefs.h, to ease
12104
# handling of long lines.
11465
# handling of long lines.
12105
ac_delim='%!_!# '
11466
ac_delim='%!_!# '
12106
for ac_last_try in false false :; do
11467
for ac_last_try in false false :; do
12107
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
11468
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12108
  if test -z "$ac_t"; then
11469
  if test -z "$ac_t"; then
12109
    break
11470
    break
12110
  elif $ac_last_try; then
11471
  elif $ac_last_try; then
12111
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
-
 
12112
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
11472
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
12113
   { (exit 1); exit 1; }; }
-
 
12114
  else
11473
  else
12115
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11474
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12116
  fi
11475
  fi
12117
done
11476
done
12118
 
11477
 
12119
# For the awk script, D is an array of macro values keyed by name,
11478
# For the awk script, D is an array of macro values keyed by name,
12120
# likewise P contains macro parameters if any.  Preserve backslash
11479
# likewise P contains macro parameters if any.  Preserve backslash
12121
# newline sequences.
11480
# newline sequences.
12122
 
11481
 
12123
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11482
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12124
sed -n '
11483
sed -n '
12125
s/.\{148\}/&'"$ac_delim"'/g
11484
s/.\{148\}/&'"$ac_delim"'/g
12126
t rset
11485
t rset
12127
:rset
11486
:rset
12128
s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
11487
s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
12129
t def
11488
t def
12130
d
11489
d
12131
:def
11490
:def
12132
s/\\$//
11491
s/\\$//
12133
t bsnl
11492
t bsnl
12134
s/["\\]/\\&/g
11493
s/["\\]/\\&/g
12135
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
11494
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
12136
D["\1"]=" \3"/p
11495
D["\1"]=" \3"/p
12137
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
11496
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
12138
d
11497
d
12139
:bsnl
11498
:bsnl
12140
s/["\\]/\\&/g
11499
s/["\\]/\\&/g
12141
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
11500
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
12142
D["\1"]=" \3\\\\\\n"\\/p
11501
D["\1"]=" \3\\\\\\n"\\/p
12143
t cont
11502
t cont
12144
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
11503
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12145
t cont
11504
t cont
12146
d
11505
d
12147
:cont
11506
:cont
12148
n
11507
n
12149
s/.\{148\}/&'"$ac_delim"'/g
11508
s/.\{148\}/&'"$ac_delim"'/g
12150
t clear
11509
t clear
12151
:clear
11510
:clear
12152
s/\\$//
11511
s/\\$//
12153
t bsnlc
11512
t bsnlc
12154
s/["\\]/\\&/g; s/^/"/; s/$/"/p
11513
s/["\\]/\\&/g; s/^/"/; s/$/"/p
12155
d
11514
d
12156
:bsnlc
11515
:bsnlc
12157
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
11516
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12158
b cont
11517
b cont
12159
' <confdefs.h | sed '
11518
' <confdefs.h | sed '
12160
s/'"$ac_delim"'/"\\\
11519
s/'"$ac_delim"'/"\\\
12161
"/g' >>$CONFIG_STATUS || ac_write_fail=1
11520
"/g' >>$CONFIG_STATUS || ac_write_fail=1
12162
 
11521
 
12163
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11522
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12164
  for (key in D) D_is_set[key] = 1
11523
  for (key in D) D_is_set[key] = 1
12165
  FS = ""
11524
  FS = ""
12166
}
11525
}
12167
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
11526
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12168
  line = \$ 0
11527
  line = \$ 0
12169
  split(line, arg, " ")
11528
  split(line, arg, " ")
12170
  if (arg[1] == "#") {
11529
  if (arg[1] == "#") {
12171
    defundef = arg[2]
11530
    defundef = arg[2]
12172
    mac1 = arg[3]
11531
    mac1 = arg[3]
12173
  } else {
11532
  } else {
12174
    defundef = substr(arg[1], 2)
11533
    defundef = substr(arg[1], 2)
12175
    mac1 = arg[2]
11534
    mac1 = arg[2]
12176
  }
11535
  }
12177
  split(mac1, mac2, "(") #)
11536
  split(mac1, mac2, "(") #)
12178
  macro = mac2[1]
11537
  macro = mac2[1]
12179
  prefix = substr(line, 1, index(line, defundef) - 1)
11538
  prefix = substr(line, 1, index(line, defundef) - 1)
12180
  if (D_is_set[macro]) {
11539
  if (D_is_set[macro]) {
12181
    # Preserve the white space surrounding the "#".
11540
    # Preserve the white space surrounding the "#".
12182
    print prefix "define", macro P[macro] D[macro]
11541
    print prefix "define", macro P[macro] D[macro]
12183
    next
11542
    next
12184
  } else {
11543
  } else {
12185
    # Replace #undef with comments.  This is necessary, for example,
11544
    # Replace #undef with comments.  This is necessary, for example,
12186
    # in the case of _POSIX_SOURCE, which is predefined and required
11545
    # in the case of _POSIX_SOURCE, which is predefined and required
12187
    # on some systems where configure will not decide to define it.
11546
    # on some systems where configure will not decide to define it.
12188
    if (defundef == "undef") {
11547
    if (defundef == "undef") {
12189
      print "/*", prefix defundef, macro, "*/"
11548
      print "/*", prefix defundef, macro, "*/"
12190
      next
11549
      next
12191
    }
11550
    }
12192
  }
11551
  }
12193
}
11552
}
12194
{ print }
11553
{ print }
12195
_ACAWK
11554
_ACAWK
12196
_ACEOF
11555
_ACEOF
12197
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11556
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12198
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
-
 
12199
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
11557
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
12200
   { (exit 1); exit 1; }; }
-
 
12201
fi # test -n "$CONFIG_HEADERS"
11558
fi # test -n "$CONFIG_HEADERS"
12202
 
11559
 
12203
 
11560
 
12204
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
11561
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
12205
shift
11562
shift
12206
for ac_tag
11563
for ac_tag
12207
do
11564
do
12208
  case $ac_tag in
11565
  case $ac_tag in
12209
  :[FHLC]) ac_mode=$ac_tag; continue;;
11566
  :[FHLC]) ac_mode=$ac_tag; continue;;
12210
  esac
11567
  esac
12211
  case $ac_mode$ac_tag in
11568
  case $ac_mode$ac_tag in
12212
  :[FHL]*:*);;
11569
  :[FHL]*:*);;
12213
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
11570
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
12214
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
-
 
12215
   { (exit 1); exit 1; }; };;
-
 
12216
  :[FH]-) ac_tag=-:-;;
11571
  :[FH]-) ac_tag=-:-;;
12217
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11572
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12218
  esac
11573
  esac
12219
  ac_save_IFS=$IFS
11574
  ac_save_IFS=$IFS
12220
  IFS=:
11575
  IFS=:
12221
  set x $ac_tag
11576
  set x $ac_tag
12222
  IFS=$ac_save_IFS
11577
  IFS=$ac_save_IFS
12223
  shift
11578
  shift
12224
  ac_file=$1
11579
  ac_file=$1
12225
  shift
11580
  shift
12226
 
11581
 
12227
  case $ac_mode in
11582
  case $ac_mode in
12228
  :L) ac_source=$1;;
11583
  :L) ac_source=$1;;
12229
  :[FH])
11584
  :[FH])
12230
    ac_file_inputs=
11585
    ac_file_inputs=
12231
    for ac_f
11586
    for ac_f
12232
    do
11587
    do
12233
      case $ac_f in
11588
      case $ac_f in
12234
      -) ac_f="$tmp/stdin";;
11589
      -) ac_f="$tmp/stdin";;
12235
      *) # Look for the file first in the build tree, then in the source tree
11590
      *) # Look for the file first in the build tree, then in the source tree
12236
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
11591
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
12237
	 # because $ac_f cannot contain `:'.
11592
	 # because $ac_f cannot contain `:'.
12238
	 test -f "$ac_f" ||
11593
	 test -f "$ac_f" ||
12239
	   case $ac_f in
11594
	   case $ac_f in
12240
	   [\\/$]*) false;;
11595
	   [\\/$]*) false;;
12241
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11596
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12242
	   esac ||
11597
	   esac ||
12243
	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-
 
12244
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11598
	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12245
   { (exit 1); exit 1; }; };;
-
 
12246
      esac
11599
      esac
12247
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
11600
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12248
      ac_file_inputs="$ac_file_inputs '$ac_f'"
11601
      as_fn_append ac_file_inputs " '$ac_f'"
12249
    done
11602
    done
12250
 
11603
 
12251
    # Let's still pretend it is `configure' which instantiates (i.e., don't
11604
    # Let's still pretend it is `configure' which instantiates (i.e., don't
12252
    # use $as_me), people would be surprised to read:
11605
    # use $as_me), people would be surprised to read:
12253
    #    /* config.h.  Generated by config.status.  */
11606
    #    /* config.h.  Generated by config.status.  */
12254
    configure_input='Generated from '`
11607
    configure_input='Generated from '`
12255
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
11608
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12256
	`' by configure.'
11609
	`' by configure.'
12257
    if test x"$ac_file" != x-; then
11610
    if test x"$ac_file" != x-; then
12258
      configure_input="$ac_file.  $configure_input"
11611
      configure_input="$ac_file.  $configure_input"
12259
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
11612
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12260
$as_echo "$as_me: creating $ac_file" >&6;}
11613
$as_echo "$as_me: creating $ac_file" >&6;}
12261
    fi
11614
    fi
12262
    # Neutralize special characters interpreted by sed in replacement strings.
11615
    # Neutralize special characters interpreted by sed in replacement strings.
12263
    case $configure_input in #(
11616
    case $configure_input in #(
12264
    *\&* | *\|* | *\\* )
11617
    *\&* | *\|* | *\\* )
12265
       ac_sed_conf_input=`$as_echo "$configure_input" |
11618
       ac_sed_conf_input=`$as_echo "$configure_input" |
12266
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
11619
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
12267
    *) ac_sed_conf_input=$configure_input;;
11620
    *) ac_sed_conf_input=$configure_input;;
12268
    esac
11621
    esac
12269
 
11622
 
12270
    case $ac_tag in
11623
    case $ac_tag in
12271
    *:-:* | *:-) cat >"$tmp/stdin" \
11624
    *:-:* | *:-) cat >"$tmp/stdin" \
12272
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-
 
12273
$as_echo "$as_me: error: could not create $ac_file" >&2;}
11625
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
12274
   { (exit 1); exit 1; }; } ;;
-
 
12275
    esac
11626
    esac
12276
    ;;
11627
    ;;
12277
  esac
11628
  esac
12278
 
11629
 
12279
  ac_dir=`$as_dirname -- "$ac_file" ||
11630
  ac_dir=`$as_dirname -- "$ac_file" ||
12280
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11631
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12281
	 X"$ac_file" : 'X\(//\)[^/]' \| \
11632
	 X"$ac_file" : 'X\(//\)[^/]' \| \
12282
	 X"$ac_file" : 'X\(//\)$' \| \
11633
	 X"$ac_file" : 'X\(//\)$' \| \
12283
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11634
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12284
$as_echo X"$ac_file" |
11635
$as_echo X"$ac_file" |
12285
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11636
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12286
	    s//\1/
11637
	    s//\1/
12287
	    q
11638
	    q
12288
	  }
11639
	  }
12289
	  /^X\(\/\/\)[^/].*/{
11640
	  /^X\(\/\/\)[^/].*/{
12290
	    s//\1/
11641
	    s//\1/
12291
	    q
11642
	    q
12292
	  }
11643
	  }
12293
	  /^X\(\/\/\)$/{
11644
	  /^X\(\/\/\)$/{
12294
	    s//\1/
11645
	    s//\1/
12295
	    q
11646
	    q
12296
	  }
11647
	  }
12297
	  /^X\(\/\).*/{
11648
	  /^X\(\/\).*/{
12298
	    s//\1/
11649
	    s//\1/
12299
	    q
11650
	    q
12300
	  }
11651
	  }
12301
	  s/.*/./; q'`
11652
	  s/.*/./; q'`
12302
  { as_dir="$ac_dir"
-
 
12303
  case $as_dir in #(
-
 
12304
  -*) as_dir=./$as_dir;;
-
 
12305
  esac
-
 
12306
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
-
 
12307
    as_dirs=
-
 
12308
    while :; do
-
 
12309
      case $as_dir in #(
-
 
12310
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
-
 
12311
      *) as_qdir=$as_dir;;
-
 
12312
      esac
-
 
12313
      as_dirs="'$as_qdir' $as_dirs"
11653
  as_dir="$ac_dir"; as_fn_mkdir_p
12314
      as_dir=`$as_dirname -- "$as_dir" ||
-
 
12315
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-
 
12316
	 X"$as_dir" : 'X\(//\)[^/]' \| \
-
 
12317
	 X"$as_dir" : 'X\(//\)$' \| \
-
 
12318
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-
 
12319
$as_echo X"$as_dir" |
-
 
12320
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-
 
12321
	    s//\1/
-
 
12322
	    q
-
 
12323
	  }
-
 
12324
	  /^X\(\/\/\)[^/].*/{
-
 
12325
	    s//\1/
-
 
12326
	    q
-
 
12327
	  }
-
 
12328
	  /^X\(\/\/\)$/{
-
 
12329
	    s//\1/
-
 
12330
	    q
-
 
12331
	  }
-
 
12332
	  /^X\(\/\).*/{
-
 
12333
	    s//\1/
-
 
12334
	    q
-
 
12335
	  }
-
 
12336
	  s/.*/./; q'`
-
 
12337
      test -d "$as_dir" && break
-
 
12338
    done
-
 
12339
    test -z "$as_dirs" || eval "mkdir $as_dirs"
-
 
12340
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-
 
12341
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
-
 
12342
   { (exit 1); exit 1; }; }; }
-
 
12343
  ac_builddir=.
11654
  ac_builddir=.
12344
 
11655
 
12345
case "$ac_dir" in
11656
case "$ac_dir" in
12346
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11657
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12347
*)
11658
*)
12348
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11659
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12349
  # A ".." for each directory in $ac_dir_suffix.
11660
  # A ".." for each directory in $ac_dir_suffix.
12350
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11661
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12351
  case $ac_top_builddir_sub in
11662
  case $ac_top_builddir_sub in
12352
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11663
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12353
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11664
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12354
  esac ;;
11665
  esac ;;
12355
esac
11666
esac
12356
ac_abs_top_builddir=$ac_pwd
11667
ac_abs_top_builddir=$ac_pwd
12357
ac_abs_builddir=$ac_pwd$ac_dir_suffix
11668
ac_abs_builddir=$ac_pwd$ac_dir_suffix
12358
# for backward compatibility:
11669
# for backward compatibility:
12359
ac_top_builddir=$ac_top_build_prefix
11670
ac_top_builddir=$ac_top_build_prefix
12360
 
11671
 
12361
case $srcdir in
11672
case $srcdir in
12362
  .)  # We are building in place.
11673
  .)  # We are building in place.
12363
    ac_srcdir=.
11674
    ac_srcdir=.
12364
    ac_top_srcdir=$ac_top_builddir_sub
11675
    ac_top_srcdir=$ac_top_builddir_sub
12365
    ac_abs_top_srcdir=$ac_pwd ;;
11676
    ac_abs_top_srcdir=$ac_pwd ;;
12366
  [\\/]* | ?:[\\/]* )  # Absolute name.
11677
  [\\/]* | ?:[\\/]* )  # Absolute name.
12367
    ac_srcdir=$srcdir$ac_dir_suffix;
11678
    ac_srcdir=$srcdir$ac_dir_suffix;
12368
    ac_top_srcdir=$srcdir
11679
    ac_top_srcdir=$srcdir
12369
    ac_abs_top_srcdir=$srcdir ;;
11680
    ac_abs_top_srcdir=$srcdir ;;
12370
  *) # Relative name.
11681
  *) # Relative name.
12371
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11682
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12372
    ac_top_srcdir=$ac_top_build_prefix$srcdir
11683
    ac_top_srcdir=$ac_top_build_prefix$srcdir
12373
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11684
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12374
esac
11685
esac
12375
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11686
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12376
 
11687
 
12377
 
11688
 
12378
  case $ac_mode in
11689
  case $ac_mode in
12379
  :F)
11690
  :F)
12380
  #
11691
  #
12381
  # CONFIG_FILE
11692
  # CONFIG_FILE
12382
  #
11693
  #
12383
 
11694
 
12384
  case $INSTALL in
11695
  case $INSTALL in
12385
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11696
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12386
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
11697
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12387
  esac
11698
  esac
12388
  ac_MKDIR_P=$MKDIR_P
11699
  ac_MKDIR_P=$MKDIR_P
12389
  case $MKDIR_P in
11700
  case $MKDIR_P in
12390
  [\\/$]* | ?:[\\/]* ) ;;
11701
  [\\/$]* | ?:[\\/]* ) ;;
12391
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
11702
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12392
  esac
11703
  esac
12393
_ACEOF
11704
_ACEOF
12394
 
11705
 
12395
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11706
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12396
# If the template does not know about datarootdir, expand it.
11707
# If the template does not know about datarootdir, expand it.
12397
# FIXME: This hack should be removed a few years after 2.60.
11708
# FIXME: This hack should be removed a few years after 2.60.
12398
ac_datarootdir_hack=; ac_datarootdir_seen=
11709
ac_datarootdir_hack=; ac_datarootdir_seen=
12399
 
-
 
12400
ac_sed_dataroot='
11710
ac_sed_dataroot='
12401
/datarootdir/ {
11711
/datarootdir/ {
12402
  p
11712
  p
12403
  q
11713
  q
12404
}
11714
}
12405
/@datadir@/p
11715
/@datadir@/p
12406
/@docdir@/p
11716
/@docdir@/p
12407
/@infodir@/p
11717
/@infodir@/p
12408
/@localedir@/p
11718
/@localedir@/p
12409
/@mandir@/p
11719
/@mandir@/p'
12410
'
-
 
12411
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
11720
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12412
*datarootdir*) ac_datarootdir_seen=yes;;
11721
*datarootdir*) ac_datarootdir_seen=yes;;
12413
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
11722
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12414
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11723
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12415
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11724
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12416
_ACEOF
11725
_ACEOF
12417
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11726
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12418
  ac_datarootdir_hack='
11727
  ac_datarootdir_hack='
12419
  s&@datadir@&$datadir&g
11728
  s&@datadir@&$datadir&g
12420
  s&@docdir@&$docdir&g
11729
  s&@docdir@&$docdir&g
12421
  s&@infodir@&$infodir&g
11730
  s&@infodir@&$infodir&g
12422
  s&@localedir@&$localedir&g
11731
  s&@localedir@&$localedir&g
12423
  s&@mandir@&$mandir&g
11732
  s&@mandir@&$mandir&g
12424
    s&\\\${datarootdir}&$datarootdir&g' ;;
11733
  s&\\\${datarootdir}&$datarootdir&g' ;;
12425
esac
11734
esac
12426
_ACEOF
11735
_ACEOF
12427
 
11736
 
12428
# Neutralize VPATH when `$srcdir' = `.'.
11737
# Neutralize VPATH when `$srcdir' = `.'.
12429
# Shell code in configure.ac might set extrasub.
11738
# Shell code in configure.ac might set extrasub.
12430
# FIXME: do we really want to maintain this feature?
11739
# FIXME: do we really want to maintain this feature?
12431
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11740
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12432
ac_sed_extra="$ac_vpsub
11741
ac_sed_extra="$ac_vpsub
12433
$extrasub
11742
$extrasub
12434
_ACEOF
11743
_ACEOF
12435
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11744
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12436
:t
11745
:t
12437
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11746
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12438
s|@configure_input@|$ac_sed_conf_input|;t t
11747
s|@configure_input@|$ac_sed_conf_input|;t t
12439
s&@top_builddir@&$ac_top_builddir_sub&;t t
11748
s&@top_builddir@&$ac_top_builddir_sub&;t t
12440
s&@top_build_prefix@&$ac_top_build_prefix&;t t
11749
s&@top_build_prefix@&$ac_top_build_prefix&;t t
12441
s&@srcdir@&$ac_srcdir&;t t
11750
s&@srcdir@&$ac_srcdir&;t t
12442
s&@abs_srcdir@&$ac_abs_srcdir&;t t
11751
s&@abs_srcdir@&$ac_abs_srcdir&;t t
12443
s&@top_srcdir@&$ac_top_srcdir&;t t
11752
s&@top_srcdir@&$ac_top_srcdir&;t t
12444
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
11753
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12445
s&@builddir@&$ac_builddir&;t t
11754
s&@builddir@&$ac_builddir&;t t
12446
s&@abs_builddir@&$ac_abs_builddir&;t t
11755
s&@abs_builddir@&$ac_abs_builddir&;t t
12447
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
11756
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12448
s&@INSTALL@&$ac_INSTALL&;t t
11757
s&@INSTALL@&$ac_INSTALL&;t t
12449
s&@MKDIR_P@&$ac_MKDIR_P&;t t
11758
s&@MKDIR_P@&$ac_MKDIR_P&;t t
12450
$ac_datarootdir_hack
11759
$ac_datarootdir_hack
12451
"
11760
"
12452
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
11761
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12453
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-
 
12454
$as_echo "$as_me: error: could not create $ac_file" >&2;}
11762
  || as_fn_error "could not create $ac_file" "$LINENO" 5
12455
   { (exit 1); exit 1; }; }
-
 
12456
 
11763
 
12457
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11764
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12458
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
11765
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12459
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
11766
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12460
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11767
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12461
which seems to be undefined.  Please make sure it is defined." >&5
11768
which seems to be undefined.  Please make sure it is defined." >&5
12462
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11769
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12463
which seems to be undefined.  Please make sure it is defined." >&2;}
11770
which seems to be undefined.  Please make sure it is defined." >&2;}
12464
 
11771
 
12465
  rm -f "$tmp/stdin"
11772
  rm -f "$tmp/stdin"
12466
  case $ac_file in
11773
  case $ac_file in
12467
  -) cat "$tmp/out" && rm -f "$tmp/out";;
11774
  -) cat "$tmp/out" && rm -f "$tmp/out";;
12468
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
11775
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12469
  esac \
11776
  esac \
12470
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-
 
12471
$as_echo "$as_me: error: could not create $ac_file" >&2;}
11777
  || as_fn_error "could not create $ac_file" "$LINENO" 5
12472
   { (exit 1); exit 1; }; }
-
 
12473
 ;;
11778
 ;;
12474
  :H)
11779
  :H)
12475
  #
11780
  #
12476
  # CONFIG_HEADER
11781
  # CONFIG_HEADER
12477
  #
11782
  #
12478
  if test x"$ac_file" != x-; then
11783
  if test x"$ac_file" != x-; then
12479
    {
11784
    {
12480
      $as_echo "/* $configure_input  */" \
11785
      $as_echo "/* $configure_input  */" \
12481
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
11786
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12482
    } >"$tmp/config.h" \
11787
    } >"$tmp/config.h" \
12483
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-
 
12484
$as_echo "$as_me: error: could not create $ac_file" >&2;}
11788
      || as_fn_error "could not create $ac_file" "$LINENO" 5
12485
   { (exit 1); exit 1; }; }
-
 
12486
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
11789
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12487
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11790
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12488
$as_echo "$as_me: $ac_file is unchanged" >&6;}
11791
$as_echo "$as_me: $ac_file is unchanged" >&6;}
12489
    else
11792
    else
12490
      rm -f "$ac_file"
11793
      rm -f "$ac_file"
12491
      mv "$tmp/config.h" "$ac_file" \
11794
      mv "$tmp/config.h" "$ac_file" \
12492
	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-
 
12493
$as_echo "$as_me: error: could not create $ac_file" >&2;}
11795
	|| as_fn_error "could not create $ac_file" "$LINENO" 5
12494
   { (exit 1); exit 1; }; }
-
 
12495
    fi
11796
    fi
12496
  else
11797
  else
12497
    $as_echo "/* $configure_input  */" \
11798
    $as_echo "/* $configure_input  */" \
12498
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
11799
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12499
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
-
 
12500
$as_echo "$as_me: error: could not create -" >&2;}
11800
      || as_fn_error "could not create -" "$LINENO" 5
12501
   { (exit 1); exit 1; }; }
-
 
12502
  fi
11801
  fi
12503
# Compute "$ac_file"'s index in $config_headers.
11802
# Compute "$ac_file"'s index in $config_headers.
12504
_am_arg="$ac_file"
11803
_am_arg="$ac_file"
12505
_am_stamp_count=1
11804
_am_stamp_count=1
12506
for _am_header in $config_headers :; do
11805
for _am_header in $config_headers :; do
12507
  case $_am_header in
11806
  case $_am_header in
12508
    $_am_arg | $_am_arg:* )
11807
    $_am_arg | $_am_arg:* )
12509
      break ;;
11808
      break ;;
12510
    * )
11809
    * )
12511
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
11810
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12512
  esac
11811
  esac
12513
done
11812
done
12514
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
11813
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12515
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11814
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12516
	 X"$_am_arg" : 'X\(//\)[^/]' \| \
11815
	 X"$_am_arg" : 'X\(//\)[^/]' \| \
12517
	 X"$_am_arg" : 'X\(//\)$' \| \
11816
	 X"$_am_arg" : 'X\(//\)$' \| \
12518
	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
11817
	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12519
$as_echo X"$_am_arg" |
11818
$as_echo X"$_am_arg" |
12520
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11819
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12521
	    s//\1/
11820
	    s//\1/
12522
	    q
11821
	    q
12523
	  }
11822
	  }
12524
	  /^X\(\/\/\)[^/].*/{
11823
	  /^X\(\/\/\)[^/].*/{
12525
	    s//\1/
11824
	    s//\1/
12526
	    q
11825
	    q
12527
	  }
11826
	  }
12528
	  /^X\(\/\/\)$/{
11827
	  /^X\(\/\/\)$/{
12529
	    s//\1/
11828
	    s//\1/
12530
	    q
11829
	    q
12531
	  }
11830
	  }
12532
	  /^X\(\/\).*/{
11831
	  /^X\(\/\).*/{
12533
	    s//\1/
11832
	    s//\1/
12534
	    q
11833
	    q
12535
	  }
11834
	  }
12536
	  s/.*/./; q'`/stamp-h$_am_stamp_count
11835
	  s/.*/./; q'`/stamp-h$_am_stamp_count
12537
 ;;
11836
 ;;
12538
 
11837
 
12539
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
11838
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12540
$as_echo "$as_me: executing $ac_file commands" >&6;}
11839
$as_echo "$as_me: executing $ac_file commands" >&6;}
12541
 ;;
11840
 ;;
12542
  esac
11841
  esac
12543
 
11842
 
12544
 
11843
 
12545
  case $ac_file$ac_mode in
11844
  case $ac_file$ac_mode in
12546
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
11845
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12547
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
11846
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
12548
  # are listed without --file.  Let's play safe and only enable the eval
11847
  # are listed without --file.  Let's play safe and only enable the eval
12549
  # if we detect the quoting.
11848
  # if we detect the quoting.
12550
  case $CONFIG_FILES in
11849
  case $CONFIG_FILES in
12551
  *\'*) eval set x "$CONFIG_FILES" ;;
11850
  *\'*) eval set x "$CONFIG_FILES" ;;
12552
  *)   set x $CONFIG_FILES ;;
11851
  *)   set x $CONFIG_FILES ;;
12553
  esac
11852
  esac
12554
  shift
11853
  shift
12555
  for mf
11854
  for mf
12556
  do
11855
  do
12557
    # Strip MF so we end up with the name of the file.
11856
    # Strip MF so we end up with the name of the file.
12558
    mf=`echo "$mf" | sed -e 's/:.*$//'`
11857
    mf=`echo "$mf" | sed -e 's/:.*$//'`
12559
    # Check whether this is an Automake generated Makefile or not.
11858
    # Check whether this is an Automake generated Makefile or not.
12560
    # We used to match only the files named `Makefile.in', but
11859
    # We used to match only the files named `Makefile.in', but
12561
    # some people rename them; so instead we look at the file content.
11860
    # some people rename them; so instead we look at the file content.
12562
    # Grep'ing the first line is not enough: some people post-process
11861
    # Grep'ing the first line is not enough: some people post-process
12563
    # each Makefile.in and add a new line on top of each file to say so.
11862
    # each Makefile.in and add a new line on top of each file to say so.
12564
    # Grep'ing the whole file is not good either: AIX grep has a line
11863
    # Grep'ing the whole file is not good either: AIX grep has a line
12565
    # limit of 2048, but all sed's we know have understand at least 4000.
11864
    # limit of 2048, but all sed's we know have understand at least 4000.
12566
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
11865
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12567
      dirpart=`$as_dirname -- "$mf" ||
11866
      dirpart=`$as_dirname -- "$mf" ||
12568
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11867
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12569
	 X"$mf" : 'X\(//\)[^/]' \| \
11868
	 X"$mf" : 'X\(//\)[^/]' \| \
12570
	 X"$mf" : 'X\(//\)$' \| \
11869
	 X"$mf" : 'X\(//\)$' \| \
12571
	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11870
	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12572
$as_echo X"$mf" |
11871
$as_echo X"$mf" |
12573
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11872
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12574
	    s//\1/
11873
	    s//\1/
12575
	    q
11874
	    q
12576
	  }
11875
	  }
12577
	  /^X\(\/\/\)[^/].*/{
11876
	  /^X\(\/\/\)[^/].*/{
12578
	    s//\1/
11877
	    s//\1/
12579
	    q
11878
	    q
12580
	  }
11879
	  }
12581
	  /^X\(\/\/\)$/{
11880
	  /^X\(\/\/\)$/{
12582
	    s//\1/
11881
	    s//\1/
12583
	    q
11882
	    q
12584
	  }
11883
	  }
12585
	  /^X\(\/\).*/{
11884
	  /^X\(\/\).*/{
12586
	    s//\1/
11885
	    s//\1/
12587
	    q
11886
	    q
12588
	  }
11887
	  }
12589
	  s/.*/./; q'`
11888
	  s/.*/./; q'`
12590
    else
11889
    else
12591
      continue
11890
      continue
12592
    fi
11891
    fi
12593
    # Extract the definition of DEPDIR, am__include, and am__quote
11892
    # Extract the definition of DEPDIR, am__include, and am__quote
12594
    # from the Makefile without running `make'.
11893
    # from the Makefile without running `make'.
12595
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
11894
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12596
    test -z "$DEPDIR" && continue
11895
    test -z "$DEPDIR" && continue
12597
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
11896
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
12598
    test -z "am__include" && continue
11897
    test -z "am__include" && continue
12599
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
11898
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12600
    # When using ansi2knr, U may be empty or an underscore; expand it
11899
    # When using ansi2knr, U may be empty or an underscore; expand it
12601
    U=`sed -n 's/^U = //p' < "$mf"`
11900
    U=`sed -n 's/^U = //p' < "$mf"`
12602
    # Find all dependency output files, they are included files with
11901
    # Find all dependency output files, they are included files with
12603
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
11902
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
12604
    # simplest approach to changing $(DEPDIR) to its actual value in the
11903
    # simplest approach to changing $(DEPDIR) to its actual value in the
12605
    # expansion.
11904
    # expansion.
12606
    for file in `sed -n "
11905
    for file in `sed -n "
12607
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11906
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12608
	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11907
	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12609
      # Make sure the directory exists.
11908
      # Make sure the directory exists.
12610
      test -f "$dirpart/$file" && continue
11909
      test -f "$dirpart/$file" && continue
12611
      fdir=`$as_dirname -- "$file" ||
11910
      fdir=`$as_dirname -- "$file" ||
12612
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11911
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12613
	 X"$file" : 'X\(//\)[^/]' \| \
11912
	 X"$file" : 'X\(//\)[^/]' \| \
12614
	 X"$file" : 'X\(//\)$' \| \
11913
	 X"$file" : 'X\(//\)$' \| \
12615
	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11914
	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12616
$as_echo X"$file" |
11915
$as_echo X"$file" |
12617
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11916
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12618
	    s//\1/
11917
	    s//\1/
12619
	    q
11918
	    q
12620
	  }
11919
	  }
12621
	  /^X\(\/\/\)[^/].*/{
11920
	  /^X\(\/\/\)[^/].*/{
12622
	    s//\1/
11921
	    s//\1/
12623
	    q
11922
	    q
12624
	  }
11923
	  }
12625
	  /^X\(\/\/\)$/{
11924
	  /^X\(\/\/\)$/{
12626
	    s//\1/
11925
	    s//\1/
12627
	    q
11926
	    q
12628
	  }
11927
	  }
12629
	  /^X\(\/\).*/{
11928
	  /^X\(\/\).*/{
12630
	    s//\1/
11929
	    s//\1/
12631
	    q
11930
	    q
12632
	  }
11931
	  }
12633
	  s/.*/./; q'`
11932
	  s/.*/./; q'`
12634
      { as_dir=$dirpart/$fdir
11933
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
12635
  case $as_dir in #(
-
 
12636
  -*) as_dir=./$as_dir;;
-
 
12637
  esac
-
 
12638
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
-
 
12639
    as_dirs=
-
 
12640
    while :; do
-
 
12641
      case $as_dir in #(
-
 
12642
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
-
 
12643
      *) as_qdir=$as_dir;;
-
 
12644
      esac
-
 
12645
      as_dirs="'$as_qdir' $as_dirs"
-
 
12646
      as_dir=`$as_dirname -- "$as_dir" ||
-
 
12647
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-
 
12648
	 X"$as_dir" : 'X\(//\)[^/]' \| \
-
 
12649
	 X"$as_dir" : 'X\(//\)$' \| \
-
 
12650
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-
 
12651
$as_echo X"$as_dir" |
-
 
12652
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-
 
12653
	    s//\1/
-
 
12654
	    q
-
 
12655
	  }
-
 
12656
	  /^X\(\/\/\)[^/].*/{
-
 
12657
	    s//\1/
-
 
12658
	    q
-
 
12659
	  }
-
 
12660
	  /^X\(\/\/\)$/{
-
 
12661
	    s//\1/
-
 
12662
	    q
-
 
12663
	  }
-
 
12664
	  /^X\(\/\).*/{
-
 
12665
	    s//\1/
-
 
12666
	    q
-
 
12667
	  }
-
 
12668
	  s/.*/./; q'`
-
 
12669
      test -d "$as_dir" && break
-
 
12670
    done
-
 
12671
    test -z "$as_dirs" || eval "mkdir $as_dirs"
-
 
12672
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-
 
12673
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
-
 
12674
   { (exit 1); exit 1; }; }; }
-
 
12675
      # echo "creating $dirpart/$file"
11934
      # echo "creating $dirpart/$file"
12676
      echo '# dummy' > "$dirpart/$file"
11935
      echo '# dummy' > "$dirpart/$file"
12677
    done
11936
    done
12678
  done
11937
  done
12679
}
11938
}
12680
 ;;
11939
 ;;
12681
    "libtool":C)
11940
    "libtool":C)
12682
 
11941
 
12683
    # See if we are running on zsh, and set the options which allow our
11942
    # See if we are running on zsh, and set the options which allow our
12684
    # commands through without removal of \ escapes.
11943
    # commands through without removal of \ escapes.
12685
    if test -n "${ZSH_VERSION+set}" ; then
11944
    if test -n "${ZSH_VERSION+set}" ; then
12686
      setopt NO_GLOB_SUBST
11945
      setopt NO_GLOB_SUBST
12687
    fi
11946
    fi
12688
 
11947
 
12689
    cfgfile="${ofile}T"
11948
    cfgfile="${ofile}T"
12690
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
11949
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12691
    $RM "$cfgfile"
11950
    $RM "$cfgfile"
12692
 
11951
 
12693
    cat <<_LT_EOF >> "$cfgfile"
11952
    cat <<_LT_EOF >> "$cfgfile"
12694
#! $SHELL
11953
#! $SHELL
12695
 
11954
 
12696
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11955
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12697
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
11956
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12698
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11957
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12699
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11958
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12700
#
11959
#
12701
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
11960
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12702
#                 2006, 2007, 2008 Free Software Foundation, Inc.
11961
#                 2006, 2007, 2008 Free Software Foundation, Inc.
12703
#   Written by Gordon Matzigkeit, 1996
11962
#   Written by Gordon Matzigkeit, 1996
12704
#
11963
#
12705
#   This file is part of GNU Libtool.
11964
#   This file is part of GNU Libtool.
12706
#
11965
#
12707
# GNU Libtool is free software; you can redistribute it and/or
11966
# GNU Libtool is free software; you can redistribute it and/or
12708
# modify it under the terms of the GNU General Public License as
11967
# modify it under the terms of the GNU General Public License as
12709
# published by the Free Software Foundation; either version 2 of
11968
# published by the Free Software Foundation; either version 2 of
12710
# the License, or (at your option) any later version.
11969
# the License, or (at your option) any later version.
12711
#
11970
#
12712
# As a special exception to the GNU General Public License,
11971
# As a special exception to the GNU General Public License,
12713
# if you distribute this file as part of a program or library that
11972
# if you distribute this file as part of a program or library that
12714
# is built using GNU Libtool, you may include this file under the
11973
# is built using GNU Libtool, you may include this file under the
12715
# same distribution terms that you use for the rest of that program.
11974
# same distribution terms that you use for the rest of that program.
12716
#
11975
#
12717
# GNU Libtool is distributed in the hope that it will be useful,
11976
# GNU Libtool is distributed in the hope that it will be useful,
12718
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11977
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12719
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11978
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12720
# GNU General Public License for more details.
11979
# GNU General Public License for more details.
12721
#
11980
#
12722
# You should have received a copy of the GNU General Public License
11981
# You should have received a copy of the GNU General Public License
12723
# along with GNU Libtool; see the file COPYING.  If not, a copy
11982
# along with GNU Libtool; see the file COPYING.  If not, a copy
12724
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
11983
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12725
# obtained by writing to the Free Software Foundation, Inc.,
11984
# obtained by writing to the Free Software Foundation, Inc.,
12726
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11985
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12727
 
11986
 
12728
 
11987
 
12729
# The names of the tagged configurations supported by this script.
11988
# The names of the tagged configurations supported by this script.
12730
available_tags=""
11989
available_tags=""
12731
 
11990
 
12732
# ### BEGIN LIBTOOL CONFIG
11991
# ### BEGIN LIBTOOL CONFIG
12733
 
11992
 
12734
# Which release of libtool.m4 was used?
11993
# Which release of libtool.m4 was used?
12735
macro_version=$macro_version
11994
macro_version=$macro_version
12736
macro_revision=$macro_revision
11995
macro_revision=$macro_revision
12737
 
11996
 
12738
# Whether or not to build shared libraries.
11997
# Whether or not to build shared libraries.
12739
build_libtool_libs=$enable_shared
11998
build_libtool_libs=$enable_shared
12740
 
11999
 
12741
# Whether or not to build static libraries.
12000
# Whether or not to build static libraries.
12742
build_old_libs=$enable_static
12001
build_old_libs=$enable_static
12743
 
12002
 
12744
# What type of objects to build.
12003
# What type of objects to build.
12745
pic_mode=$pic_mode
12004
pic_mode=$pic_mode
12746
 
12005
 
12747
# Whether or not to optimize for fast installation.
12006
# Whether or not to optimize for fast installation.
12748
fast_install=$enable_fast_install
12007
fast_install=$enable_fast_install
12749
 
12008
 
12750
# The host system.
12009
# The host system.
12751
host_alias=$host_alias
12010
host_alias=$host_alias
12752
host=$host
12011
host=$host
12753
host_os=$host_os
12012
host_os=$host_os
12754
 
12013
 
12755
# The build system.
12014
# The build system.
12756
build_alias=$build_alias
12015
build_alias=$build_alias
12757
build=$build
12016
build=$build
12758
build_os=$build_os
12017
build_os=$build_os
12759
 
12018
 
12760
# A sed program that does not truncate output.
12019
# A sed program that does not truncate output.
12761
SED=$lt_SED
12020
SED=$lt_SED
12762
 
12021
 
12763
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12022
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12764
Xsed="\$SED -e 1s/^X//"
12023
Xsed="\$SED -e 1s/^X//"
12765
 
12024
 
12766
# A grep program that handles long lines.
12025
# A grep program that handles long lines.
12767
GREP=$lt_GREP
12026
GREP=$lt_GREP
12768
 
12027
 
12769
# An ERE matcher.
12028
# An ERE matcher.
12770
EGREP=$lt_EGREP
12029
EGREP=$lt_EGREP
12771
 
12030
 
12772
# A literal string matcher.
12031
# A literal string matcher.
12773
FGREP=$lt_FGREP
12032
FGREP=$lt_FGREP
12774
 
12033
 
12775
# A BSD- or MS-compatible name lister.
12034
# A BSD- or MS-compatible name lister.
12776
NM=$lt_NM
12035
NM=$lt_NM
12777
 
12036
 
12778
# Whether we need soft or hard links.
12037
# Whether we need soft or hard links.
12779
LN_S=$lt_LN_S
12038
LN_S=$lt_LN_S
12780
 
12039
 
12781
# What is the maximum length of a command?
12040
# What is the maximum length of a command?
12782
max_cmd_len=$max_cmd_len
12041
max_cmd_len=$max_cmd_len
12783
 
12042
 
12784
# Object file suffix (normally "o").
12043
# Object file suffix (normally "o").
12785
objext=$ac_objext
12044
objext=$ac_objext
12786
 
12045
 
12787
# Executable file suffix (normally "").
12046
# Executable file suffix (normally "").
12788
exeext=$exeext
12047
exeext=$exeext
12789
 
12048
 
12790
# whether the shell understands "unset".
12049
# whether the shell understands "unset".
12791
lt_unset=$lt_unset
12050
lt_unset=$lt_unset
12792
 
12051
 
12793
# turn spaces into newlines.
12052
# turn spaces into newlines.
12794
SP2NL=$lt_lt_SP2NL
12053
SP2NL=$lt_lt_SP2NL
12795
 
12054
 
12796
# turn newlines into spaces.
12055
# turn newlines into spaces.
12797
NL2SP=$lt_lt_NL2SP
12056
NL2SP=$lt_lt_NL2SP
12798
 
12057
 
12799
# How to create reloadable object files.
12058
# How to create reloadable object files.
12800
reload_flag=$lt_reload_flag
12059
reload_flag=$lt_reload_flag
12801
reload_cmds=$lt_reload_cmds
12060
reload_cmds=$lt_reload_cmds
12802
 
12061
 
12803
# An object symbol dumper.
12062
# An object symbol dumper.
12804
OBJDUMP=$lt_OBJDUMP
12063
OBJDUMP=$lt_OBJDUMP
12805
 
12064
 
12806
# Method to check whether dependent libraries are shared objects.
12065
# Method to check whether dependent libraries are shared objects.
12807
deplibs_check_method=$lt_deplibs_check_method
12066
deplibs_check_method=$lt_deplibs_check_method
12808
 
12067
 
12809
# Command to use when deplibs_check_method == "file_magic".
12068
# Command to use when deplibs_check_method == "file_magic".
12810
file_magic_cmd=$lt_file_magic_cmd
12069
file_magic_cmd=$lt_file_magic_cmd
12811
 
12070
 
12812
# The archiver.
12071
# The archiver.
12813
AR=$lt_AR
12072
AR=$lt_AR
12814
AR_FLAGS=$lt_AR_FLAGS
12073
AR_FLAGS=$lt_AR_FLAGS
12815
 
12074
 
12816
# A symbol stripping program.
12075
# A symbol stripping program.
12817
STRIP=$lt_STRIP
12076
STRIP=$lt_STRIP
12818
 
12077
 
12819
# Commands used to install an old-style archive.
12078
# Commands used to install an old-style archive.
12820
RANLIB=$lt_RANLIB
12079
RANLIB=$lt_RANLIB
12821
old_postinstall_cmds=$lt_old_postinstall_cmds
12080
old_postinstall_cmds=$lt_old_postinstall_cmds
12822
old_postuninstall_cmds=$lt_old_postuninstall_cmds
12081
old_postuninstall_cmds=$lt_old_postuninstall_cmds
12823
 
12082
 
12824
# A C compiler.
12083
# A C compiler.
12825
LTCC=$lt_CC
12084
LTCC=$lt_CC
12826
 
12085
 
12827
# LTCC compiler flags.
12086
# LTCC compiler flags.
12828
LTCFLAGS=$lt_CFLAGS
12087
LTCFLAGS=$lt_CFLAGS
12829
 
12088
 
12830
# Take the output of nm and produce a listing of raw symbols and C names.
12089
# Take the output of nm and produce a listing of raw symbols and C names.
12831
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12090
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12832
 
12091
 
12833
# Transform the output of nm in a proper C declaration.
12092
# Transform the output of nm in a proper C declaration.
12834
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12093
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12835
 
12094
 
12836
# Transform the output of nm in a C name address pair.
12095
# Transform the output of nm in a C name address pair.
12837
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12096
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12838
 
12097
 
12839
# Transform the output of nm in a C name address pair when lib prefix is needed.
12098
# Transform the output of nm in a C name address pair when lib prefix is needed.
12840
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12099
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12841
 
12100
 
12842
# The name of the directory that contains temporary libtool files.
12101
# The name of the directory that contains temporary libtool files.
12843
objdir=$objdir
12102
objdir=$objdir
12844
 
12103
 
12845
# Shell to use when invoking shell scripts.
12104
# Shell to use when invoking shell scripts.
12846
SHELL=$lt_SHELL
12105
SHELL=$lt_SHELL
12847
 
12106
 
12848
# An echo program that does not interpret backslashes.
12107
# An echo program that does not interpret backslashes.
12849
ECHO=$lt_ECHO
12108
ECHO=$lt_ECHO
12850
 
12109
 
12851
# Used to examine libraries when file_magic_cmd begins with "file".
12110
# Used to examine libraries when file_magic_cmd begins with "file".
12852
MAGIC_CMD=$MAGIC_CMD
12111
MAGIC_CMD=$MAGIC_CMD
12853
 
12112
 
12854
# Must we lock files when doing compilation?
12113
# Must we lock files when doing compilation?
12855
need_locks=$lt_need_locks
12114
need_locks=$lt_need_locks
12856
 
12115
 
12857
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12116
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12858
DSYMUTIL=$lt_DSYMUTIL
12117
DSYMUTIL=$lt_DSYMUTIL
12859
 
12118
 
12860
# Tool to change global to local symbols on Mac OS X.
12119
# Tool to change global to local symbols on Mac OS X.
12861
NMEDIT=$lt_NMEDIT
12120
NMEDIT=$lt_NMEDIT
12862
 
12121
 
12863
# Tool to manipulate fat objects and archives on Mac OS X.
12122
# Tool to manipulate fat objects and archives on Mac OS X.
12864
LIPO=$lt_LIPO
12123
LIPO=$lt_LIPO
12865
 
12124
 
12866
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
12125
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
12867
OTOOL=$lt_OTOOL
12126
OTOOL=$lt_OTOOL
12868
 
12127
 
12869
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12128
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12870
OTOOL64=$lt_OTOOL64
12129
OTOOL64=$lt_OTOOL64
12871
 
12130
 
12872
# Old archive suffix (normally "a").
12131
# Old archive suffix (normally "a").
12873
libext=$libext
12132
libext=$libext
12874
 
12133
 
12875
# Shared library suffix (normally ".so").
12134
# Shared library suffix (normally ".so").
12876
shrext_cmds=$lt_shrext_cmds
12135
shrext_cmds=$lt_shrext_cmds
12877
 
12136
 
12878
# The commands to extract the exported symbol list from a shared archive.
12137
# The commands to extract the exported symbol list from a shared archive.
12879
extract_expsyms_cmds=$lt_extract_expsyms_cmds
12138
extract_expsyms_cmds=$lt_extract_expsyms_cmds
12880
 
12139
 
12881
# Variables whose values should be saved in libtool wrapper scripts and
12140
# Variables whose values should be saved in libtool wrapper scripts and
12882
# restored at link time.
12141
# restored at link time.
12883
variables_saved_for_relink=$lt_variables_saved_for_relink
12142
variables_saved_for_relink=$lt_variables_saved_for_relink
12884
 
12143
 
12885
# Do we need the "lib" prefix for modules?
12144
# Do we need the "lib" prefix for modules?
12886
need_lib_prefix=$need_lib_prefix
12145
need_lib_prefix=$need_lib_prefix
12887
 
12146
 
12888
# Do we need a version for libraries?
12147
# Do we need a version for libraries?
12889
need_version=$need_version
12148
need_version=$need_version
12890
 
12149
 
12891
# Library versioning type.
12150
# Library versioning type.
12892
version_type=$version_type
12151
version_type=$version_type
12893
 
12152
 
12894
# Shared library runtime path variable.
12153
# Shared library runtime path variable.
12895
runpath_var=$runpath_var
12154
runpath_var=$runpath_var
12896
 
12155
 
12897
# Shared library path variable.
12156
# Shared library path variable.
12898
shlibpath_var=$shlibpath_var
12157
shlibpath_var=$shlibpath_var
12899
 
12158
 
12900
# Is shlibpath searched before the hard-coded library search path?
12159
# Is shlibpath searched before the hard-coded library search path?
12901
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12160
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12902
 
12161
 
12903
# Format of library name prefix.
12162
# Format of library name prefix.
12904
libname_spec=$lt_libname_spec
12163
libname_spec=$lt_libname_spec
12905
 
12164
 
12906
# List of archive names.  First name is the real one, the rest are links.
12165
# List of archive names.  First name is the real one, the rest are links.
12907
# The last name is the one that the linker finds with -lNAME
12166
# The last name is the one that the linker finds with -lNAME
12908
library_names_spec=$lt_library_names_spec
12167
library_names_spec=$lt_library_names_spec
12909
 
12168
 
12910
# The coded name of the library, if different from the real name.
12169
# The coded name of the library, if different from the real name.
12911
soname_spec=$lt_soname_spec
12170
soname_spec=$lt_soname_spec
12912
 
12171
 
12913
# Command to use after installation of a shared archive.
12172
# Command to use after installation of a shared archive.
12914
postinstall_cmds=$lt_postinstall_cmds
12173
postinstall_cmds=$lt_postinstall_cmds
12915
 
12174
 
12916
# Command to use after uninstallation of a shared archive.
12175
# Command to use after uninstallation of a shared archive.
12917
postuninstall_cmds=$lt_postuninstall_cmds
12176
postuninstall_cmds=$lt_postuninstall_cmds
12918
 
12177
 
12919
# Commands used to finish a libtool library installation in a directory.
12178
# Commands used to finish a libtool library installation in a directory.
12920
finish_cmds=$lt_finish_cmds
12179
finish_cmds=$lt_finish_cmds
12921
 
12180
 
12922
# As "finish_cmds", except a single script fragment to be evaled but
12181
# As "finish_cmds", except a single script fragment to be evaled but
12923
# not shown.
12182
# not shown.
12924
finish_eval=$lt_finish_eval
12183
finish_eval=$lt_finish_eval
12925
 
12184
 
12926
# Whether we should hardcode library paths into libraries.
12185
# Whether we should hardcode library paths into libraries.
12927
hardcode_into_libs=$hardcode_into_libs
12186
hardcode_into_libs=$hardcode_into_libs
12928
 
12187
 
12929
# Compile-time system search path for libraries.
12188
# Compile-time system search path for libraries.
12930
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12189
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12931
 
12190
 
12932
# Run-time system search path for libraries.
12191
# Run-time system search path for libraries.
12933
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12192
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12934
 
12193
 
12935
# Whether dlopen is supported.
12194
# Whether dlopen is supported.
12936
dlopen_support=$enable_dlopen
12195
dlopen_support=$enable_dlopen
12937
 
12196
 
12938
# Whether dlopen of programs is supported.
12197
# Whether dlopen of programs is supported.
12939
dlopen_self=$enable_dlopen_self
12198
dlopen_self=$enable_dlopen_self
12940
 
12199
 
12941
# Whether dlopen of statically linked programs is supported.
12200
# Whether dlopen of statically linked programs is supported.
12942
dlopen_self_static=$enable_dlopen_self_static
12201
dlopen_self_static=$enable_dlopen_self_static
12943
 
12202
 
12944
# Commands to strip libraries.
12203
# Commands to strip libraries.
12945
old_striplib=$lt_old_striplib
12204
old_striplib=$lt_old_striplib
12946
striplib=$lt_striplib
12205
striplib=$lt_striplib
12947
 
12206
 
12948
 
12207
 
12949
# The linker used to build libraries.
12208
# The linker used to build libraries.
12950
LD=$lt_LD
12209
LD=$lt_LD
12951
 
12210
 
12952
# Commands used to build an old-style archive.
12211
# Commands used to build an old-style archive.
12953
old_archive_cmds=$lt_old_archive_cmds
12212
old_archive_cmds=$lt_old_archive_cmds
12954
 
12213
 
12955
# A language specific compiler.
12214
# A language specific compiler.
12956
CC=$lt_compiler
12215
CC=$lt_compiler
12957
 
12216
 
12958
# Is the compiler the GNU compiler?
12217
# Is the compiler the GNU compiler?
12959
with_gcc=$GCC
12218
with_gcc=$GCC
12960
 
12219
 
12961
# Compiler flag to turn off builtin functions.
12220
# Compiler flag to turn off builtin functions.
12962
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12221
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12963
 
12222
 
12964
# How to pass a linker flag through the compiler.
12223
# How to pass a linker flag through the compiler.
12965
wl=$lt_lt_prog_compiler_wl
12224
wl=$lt_lt_prog_compiler_wl
12966
 
12225
 
12967
# Additional compiler flags for building library objects.
12226
# Additional compiler flags for building library objects.
12968
pic_flag=$lt_lt_prog_compiler_pic
12227
pic_flag=$lt_lt_prog_compiler_pic
12969
 
12228
 
12970
# Compiler flag to prevent dynamic linking.
12229
# Compiler flag to prevent dynamic linking.
12971
link_static_flag=$lt_lt_prog_compiler_static
12230
link_static_flag=$lt_lt_prog_compiler_static
12972
 
12231
 
12973
# Does compiler simultaneously support -c and -o options?
12232
# Does compiler simultaneously support -c and -o options?
12974
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12233
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12975
 
12234
 
12976
# Whether or not to add -lc for building shared libraries.
12235
# Whether or not to add -lc for building shared libraries.
12977
build_libtool_need_lc=$archive_cmds_need_lc
12236
build_libtool_need_lc=$archive_cmds_need_lc
12978
 
12237
 
12979
# Whether or not to disallow shared libs when runtime libs are static.
12238
# Whether or not to disallow shared libs when runtime libs are static.
12980
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12239
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12981
 
12240
 
12982
# Compiler flag to allow reflexive dlopens.
12241
# Compiler flag to allow reflexive dlopens.
12983
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12242
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12984
 
12243
 
12985
# Compiler flag to generate shared objects directly from archives.
12244
# Compiler flag to generate shared objects directly from archives.
12986
whole_archive_flag_spec=$lt_whole_archive_flag_spec
12245
whole_archive_flag_spec=$lt_whole_archive_flag_spec
12987
 
12246
 
12988
# Whether the compiler copes with passing no objects directly.
12247
# Whether the compiler copes with passing no objects directly.
12989
compiler_needs_object=$lt_compiler_needs_object
12248
compiler_needs_object=$lt_compiler_needs_object
12990
 
12249
 
12991
# Create an old-style archive from a shared archive.
12250
# Create an old-style archive from a shared archive.
12992
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12251
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12993
 
12252
 
12994
# Create a temporary old-style archive to link instead of a shared archive.
12253
# Create a temporary old-style archive to link instead of a shared archive.
12995
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12254
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12996
 
12255
 
12997
# Commands used to build a shared archive.
12256
# Commands used to build a shared archive.
12998
archive_cmds=$lt_archive_cmds
12257
archive_cmds=$lt_archive_cmds
12999
archive_expsym_cmds=$lt_archive_expsym_cmds
12258
archive_expsym_cmds=$lt_archive_expsym_cmds
13000
 
12259
 
13001
# Commands used to build a loadable module if different from building
12260
# Commands used to build a loadable module if different from building
13002
# a shared archive.
12261
# a shared archive.
13003
module_cmds=$lt_module_cmds
12262
module_cmds=$lt_module_cmds
13004
module_expsym_cmds=$lt_module_expsym_cmds
12263
module_expsym_cmds=$lt_module_expsym_cmds
13005
 
12264
 
13006
# Whether we are building with GNU ld or not.
12265
# Whether we are building with GNU ld or not.
13007
with_gnu_ld=$lt_with_gnu_ld
12266
with_gnu_ld=$lt_with_gnu_ld
13008
 
12267
 
13009
# Flag that allows shared libraries with undefined symbols to be built.
12268
# Flag that allows shared libraries with undefined symbols to be built.
13010
allow_undefined_flag=$lt_allow_undefined_flag
12269
allow_undefined_flag=$lt_allow_undefined_flag
13011
 
12270
 
13012
# Flag that enforces no undefined symbols.
12271
# Flag that enforces no undefined symbols.
13013
no_undefined_flag=$lt_no_undefined_flag
12272
no_undefined_flag=$lt_no_undefined_flag
13014
 
12273
 
13015
# Flag to hardcode \$libdir into a binary during linking.
12274
# Flag to hardcode \$libdir into a binary during linking.
13016
# This must work even if \$libdir does not exist
12275
# This must work even if \$libdir does not exist
13017
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12276
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13018
 
12277
 
13019
# If ld is used when linking, flag to hardcode \$libdir into a binary
12278
# If ld is used when linking, flag to hardcode \$libdir into a binary
13020
# during linking.  This must work even if \$libdir does not exist.
12279
# during linking.  This must work even if \$libdir does not exist.
13021
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12280
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13022
 
12281
 
13023
# Whether we need a single "-rpath" flag with a separated argument.
12282
# Whether we need a single "-rpath" flag with a separated argument.
13024
hardcode_libdir_separator=$lt_hardcode_libdir_separator
12283
hardcode_libdir_separator=$lt_hardcode_libdir_separator
13025
 
12284
 
13026
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12285
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13027
# DIR into the resulting binary.
12286
# DIR into the resulting binary.
13028
hardcode_direct=$hardcode_direct
12287
hardcode_direct=$hardcode_direct
13029
 
12288
 
13030
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12289
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13031
# DIR into the resulting binary and the resulting library dependency is
12290
# DIR into the resulting binary and the resulting library dependency is
13032
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
12291
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13033
# library is relocated.
12292
# library is relocated.
13034
hardcode_direct_absolute=$hardcode_direct_absolute
12293
hardcode_direct_absolute=$hardcode_direct_absolute
13035
 
12294
 
13036
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
12295
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13037
# into the resulting binary.
12296
# into the resulting binary.
13038
hardcode_minus_L=$hardcode_minus_L
12297
hardcode_minus_L=$hardcode_minus_L
13039
 
12298
 
13040
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
12299
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13041
# into the resulting binary.
12300
# into the resulting binary.
13042
hardcode_shlibpath_var=$hardcode_shlibpath_var
12301
hardcode_shlibpath_var=$hardcode_shlibpath_var
13043
 
12302
 
13044
# Set to "yes" if building a shared library automatically hardcodes DIR
12303
# Set to "yes" if building a shared library automatically hardcodes DIR
13045
# into the library and all subsequent libraries and executables linked
12304
# into the library and all subsequent libraries and executables linked
13046
# against it.
12305
# against it.
13047
hardcode_automatic=$hardcode_automatic
12306
hardcode_automatic=$hardcode_automatic
13048
 
12307
 
13049
# Set to yes if linker adds runtime paths of dependent libraries
12308
# Set to yes if linker adds runtime paths of dependent libraries
13050
# to runtime path list.
12309
# to runtime path list.
13051
inherit_rpath=$inherit_rpath
12310
inherit_rpath=$inherit_rpath
13052
 
12311
 
13053
# Whether libtool must link a program against all its dependency libraries.
12312
# Whether libtool must link a program against all its dependency libraries.
13054
link_all_deplibs=$link_all_deplibs
12313
link_all_deplibs=$link_all_deplibs
13055
 
12314
 
13056
# Fix the shell variable \$srcfile for the compiler.
12315
# Fix the shell variable \$srcfile for the compiler.
13057
fix_srcfile_path=$lt_fix_srcfile_path
12316
fix_srcfile_path=$lt_fix_srcfile_path
13058
 
12317
 
13059
# Set to "yes" if exported symbols are required.
12318
# Set to "yes" if exported symbols are required.
13060
always_export_symbols=$always_export_symbols
12319
always_export_symbols=$always_export_symbols
13061
 
12320
 
13062
# The commands to list exported symbols.
12321
# The commands to list exported symbols.
13063
export_symbols_cmds=$lt_export_symbols_cmds
12322
export_symbols_cmds=$lt_export_symbols_cmds
13064
 
12323
 
13065
# Symbols that should not be listed in the preloaded symbols.
12324
# Symbols that should not be listed in the preloaded symbols.
13066
exclude_expsyms=$lt_exclude_expsyms
12325
exclude_expsyms=$lt_exclude_expsyms
13067
 
12326
 
13068
# Symbols that must always be exported.
12327
# Symbols that must always be exported.
13069
include_expsyms=$lt_include_expsyms
12328
include_expsyms=$lt_include_expsyms
13070
 
12329
 
13071
# Commands necessary for linking programs (against libraries) with templates.
12330
# Commands necessary for linking programs (against libraries) with templates.
13072
prelink_cmds=$lt_prelink_cmds
12331
prelink_cmds=$lt_prelink_cmds
13073
 
12332
 
13074
# Specify filename containing input files.
12333
# Specify filename containing input files.
13075
file_list_spec=$lt_file_list_spec
12334
file_list_spec=$lt_file_list_spec
13076
 
12335
 
13077
# How to hardcode a shared library path into an executable.
12336
# How to hardcode a shared library path into an executable.
13078
hardcode_action=$hardcode_action
12337
hardcode_action=$hardcode_action
13079
 
12338
 
13080
# ### END LIBTOOL CONFIG
12339
# ### END LIBTOOL CONFIG
13081
 
12340
 
13082
_LT_EOF
12341
_LT_EOF
13083
 
12342
 
13084
  case $host_os in
12343
  case $host_os in
13085
  aix3*)
12344
  aix3*)
13086
    cat <<\_LT_EOF >> "$cfgfile"
12345
    cat <<\_LT_EOF >> "$cfgfile"
13087
# AIX sometimes has problems with the GCC collect2 program.  For some
12346
# AIX sometimes has problems with the GCC collect2 program.  For some
13088
# reason, if we set the COLLECT_NAMES environment variable, the problems
12347
# reason, if we set the COLLECT_NAMES environment variable, the problems
13089
# vanish in a puff of smoke.
12348
# vanish in a puff of smoke.
13090
if test "X${COLLECT_NAMES+set}" != Xset; then
12349
if test "X${COLLECT_NAMES+set}" != Xset; then
13091
  COLLECT_NAMES=
12350
  COLLECT_NAMES=
13092
  export COLLECT_NAMES
12351
  export COLLECT_NAMES
13093
fi
12352
fi
13094
_LT_EOF
12353
_LT_EOF
13095
    ;;
12354
    ;;
13096
  esac
12355
  esac
13097
 
12356
 
13098
 
12357
 
13099
ltmain="$ac_aux_dir/ltmain.sh"
12358
ltmain="$ac_aux_dir/ltmain.sh"
13100
 
12359
 
13101
 
12360
 
13102
  # We use sed instead of cat because bash on DJGPP gets confused if
12361
  # We use sed instead of cat because bash on DJGPP gets confused if
13103
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
12362
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13104
  # text mode, it properly converts lines to CR/LF.  This bash problem
12363
  # text mode, it properly converts lines to CR/LF.  This bash problem
13105
  # is reportedly fixed, but why not run on old versions too?
12364
  # is reportedly fixed, but why not run on old versions too?
13106
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
12365
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13107
    || (rm -f "$cfgfile"; exit 1)
12366
    || (rm -f "$cfgfile"; exit 1)
13108
 
12367
 
13109
  case $xsi_shell in
12368
  case $xsi_shell in
13110
  yes)
12369
  yes)
13111
    cat << \_LT_EOF >> "$cfgfile"
12370
    cat << \_LT_EOF >> "$cfgfile"
13112
 
12371
 
13113
# func_dirname file append nondir_replacement
12372
# func_dirname file append nondir_replacement
13114
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
12373
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13115
# otherwise set result to NONDIR_REPLACEMENT.
12374
# otherwise set result to NONDIR_REPLACEMENT.
13116
func_dirname ()
12375
func_dirname ()
13117
{
12376
{
13118
  case ${1} in
12377
  case ${1} in
13119
    */*) func_dirname_result="${1%/*}${2}" ;;
12378
    */*) func_dirname_result="${1%/*}${2}" ;;
13120
    *  ) func_dirname_result="${3}" ;;
12379
    *  ) func_dirname_result="${3}" ;;
13121
  esac
12380
  esac
13122
}
12381
}
13123
 
12382
 
13124
# func_basename file
12383
# func_basename file
13125
func_basename ()
12384
func_basename ()
13126
{
12385
{
13127
  func_basename_result="${1##*/}"
12386
  func_basename_result="${1##*/}"
13128
}
12387
}
13129
 
12388
 
13130
# func_dirname_and_basename file append nondir_replacement
12389
# func_dirname_and_basename file append nondir_replacement
13131
# perform func_basename and func_dirname in a single function
12390
# perform func_basename and func_dirname in a single function
13132
# call:
12391
# call:
13133
#   dirname:  Compute the dirname of FILE.  If nonempty,
12392
#   dirname:  Compute the dirname of FILE.  If nonempty,
13134
#             add APPEND to the result, otherwise set result
12393
#             add APPEND to the result, otherwise set result
13135
#             to NONDIR_REPLACEMENT.
12394
#             to NONDIR_REPLACEMENT.
13136
#             value returned in "$func_dirname_result"
12395
#             value returned in "$func_dirname_result"
13137
#   basename: Compute filename of FILE.
12396
#   basename: Compute filename of FILE.
13138
#             value retuned in "$func_basename_result"
12397
#             value retuned in "$func_basename_result"
13139
# Implementation must be kept synchronized with func_dirname
12398
# Implementation must be kept synchronized with func_dirname
13140
# and func_basename. For efficiency, we do not delegate to
12399
# and func_basename. For efficiency, we do not delegate to
13141
# those functions but instead duplicate the functionality here.
12400
# those functions but instead duplicate the functionality here.
13142
func_dirname_and_basename ()
12401
func_dirname_and_basename ()
13143
{
12402
{
13144
  case ${1} in
12403
  case ${1} in
13145
    */*) func_dirname_result="${1%/*}${2}" ;;
12404
    */*) func_dirname_result="${1%/*}${2}" ;;
13146
    *  ) func_dirname_result="${3}" ;;
12405
    *  ) func_dirname_result="${3}" ;;
13147
  esac
12406
  esac
13148
  func_basename_result="${1##*/}"
12407
  func_basename_result="${1##*/}"
13149
}
12408
}
13150
 
12409
 
13151
# func_stripname prefix suffix name
12410
# func_stripname prefix suffix name
13152
# strip PREFIX and SUFFIX off of NAME.
12411
# strip PREFIX and SUFFIX off of NAME.
13153
# PREFIX and SUFFIX must not contain globbing or regex special
12412
# PREFIX and SUFFIX must not contain globbing or regex special
13154
# characters, hashes, percent signs, but SUFFIX may contain a leading
12413
# characters, hashes, percent signs, but SUFFIX may contain a leading
13155
# dot (in which case that matches only a dot).
12414
# dot (in which case that matches only a dot).
13156
func_stripname ()
12415
func_stripname ()
13157
{
12416
{
13158
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
12417
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13159
  # positional parameters, so assign one to ordinary parameter first.
12418
  # positional parameters, so assign one to ordinary parameter first.
13160
  func_stripname_result=${3}
12419
  func_stripname_result=${3}
13161
  func_stripname_result=${func_stripname_result#"${1}"}
12420
  func_stripname_result=${func_stripname_result#"${1}"}
13162
  func_stripname_result=${func_stripname_result%"${2}"}
12421
  func_stripname_result=${func_stripname_result%"${2}"}
13163
}
12422
}
13164
 
12423
 
13165
# func_opt_split
12424
# func_opt_split
13166
func_opt_split ()
12425
func_opt_split ()
13167
{
12426
{
13168
  func_opt_split_opt=${1%%=*}
12427
  func_opt_split_opt=${1%%=*}
13169
  func_opt_split_arg=${1#*=}
12428
  func_opt_split_arg=${1#*=}
13170
}
12429
}
13171
 
12430
 
13172
# func_lo2o object
12431
# func_lo2o object
13173
func_lo2o ()
12432
func_lo2o ()
13174
{
12433
{
13175
  case ${1} in
12434
  case ${1} in
13176
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
12435
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13177
    *)    func_lo2o_result=${1} ;;
12436
    *)    func_lo2o_result=${1} ;;
13178
  esac
12437
  esac
13179
}
12438
}
13180
 
12439
 
13181
# func_xform libobj-or-source
12440
# func_xform libobj-or-source
13182
func_xform ()
12441
func_xform ()
13183
{
12442
{
13184
  func_xform_result=${1%.*}.lo
12443
  func_xform_result=${1%.*}.lo
13185
}
12444
}
13186
 
12445
 
13187
# func_arith arithmetic-term...
12446
# func_arith arithmetic-term...
13188
func_arith ()
12447
func_arith ()
13189
{
12448
{
13190
  func_arith_result=$(( $* ))
12449
  func_arith_result=$(( $* ))
13191
}
12450
}
13192
 
12451
 
13193
# func_len string
12452
# func_len string
13194
# STRING may not start with a hyphen.
12453
# STRING may not start with a hyphen.
13195
func_len ()
12454
func_len ()
13196
{
12455
{
13197
  func_len_result=${#1}
12456
  func_len_result=${#1}
13198
}
12457
}
13199
 
12458
 
13200
_LT_EOF
12459
_LT_EOF
13201
    ;;
12460
    ;;
13202
  *) # Bourne compatible functions.
12461
  *) # Bourne compatible functions.
13203
    cat << \_LT_EOF >> "$cfgfile"
12462
    cat << \_LT_EOF >> "$cfgfile"
13204
 
12463
 
13205
# func_dirname file append nondir_replacement
12464
# func_dirname file append nondir_replacement
13206
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
12465
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13207
# otherwise set result to NONDIR_REPLACEMENT.
12466
# otherwise set result to NONDIR_REPLACEMENT.
13208
func_dirname ()
12467
func_dirname ()
13209
{
12468
{
13210
  # Extract subdirectory from the argument.
12469
  # Extract subdirectory from the argument.
13211
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
12470
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13212
  if test "X$func_dirname_result" = "X${1}"; then
12471
  if test "X$func_dirname_result" = "X${1}"; then
13213
    func_dirname_result="${3}"
12472
    func_dirname_result="${3}"
13214
  else
12473
  else
13215
    func_dirname_result="$func_dirname_result${2}"
12474
    func_dirname_result="$func_dirname_result${2}"
13216
  fi
12475
  fi
13217
}
12476
}
13218
 
12477
 
13219
# func_basename file
12478
# func_basename file
13220
func_basename ()
12479
func_basename ()
13221
{
12480
{
13222
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
12481
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13223
}
12482
}
13224
 
12483
 
13225
 
12484
 
13226
# func_stripname prefix suffix name
12485
# func_stripname prefix suffix name
13227
# strip PREFIX and SUFFIX off of NAME.
12486
# strip PREFIX and SUFFIX off of NAME.
13228
# PREFIX and SUFFIX must not contain globbing or regex special
12487
# PREFIX and SUFFIX must not contain globbing or regex special
13229
# characters, hashes, percent signs, but SUFFIX may contain a leading
12488
# characters, hashes, percent signs, but SUFFIX may contain a leading
13230
# dot (in which case that matches only a dot).
12489
# dot (in which case that matches only a dot).
13231
# func_strip_suffix prefix name
12490
# func_strip_suffix prefix name
13232
func_stripname ()
12491
func_stripname ()
13233
{
12492
{
13234
  case ${2} in
12493
  case ${2} in
13235
    .*) func_stripname_result=`$ECHO "X${3}" \
12494
    .*) func_stripname_result=`$ECHO "X${3}" \
13236
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
12495
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13237
    *)  func_stripname_result=`$ECHO "X${3}" \
12496
    *)  func_stripname_result=`$ECHO "X${3}" \
13238
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
12497
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13239
  esac
12498
  esac
13240
}
12499
}
13241
 
12500
 
13242
# sed scripts:
12501
# sed scripts:
13243
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
12502
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13244
my_sed_long_arg='1s/^-[^=]*=//'
12503
my_sed_long_arg='1s/^-[^=]*=//'
13245
 
12504
 
13246
# func_opt_split
12505
# func_opt_split
13247
func_opt_split ()
12506
func_opt_split ()
13248
{
12507
{
13249
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
12508
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13250
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
12509
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13251
}
12510
}
13252
 
12511
 
13253
# func_lo2o object
12512
# func_lo2o object
13254
func_lo2o ()
12513
func_lo2o ()
13255
{
12514
{
13256
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
12515
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13257
}
12516
}
13258
 
12517
 
13259
# func_xform libobj-or-source
12518
# func_xform libobj-or-source
13260
func_xform ()
12519
func_xform ()
13261
{
12520
{
13262
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
12521
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13263
}
12522
}
13264
 
12523
 
13265
# func_arith arithmetic-term...
12524
# func_arith arithmetic-term...
13266
func_arith ()
12525
func_arith ()
13267
{
12526
{
13268
  func_arith_result=`expr "$@"`
12527
  func_arith_result=`expr "$@"`
13269
}
12528
}
13270
 
12529
 
13271
# func_len string
12530
# func_len string
13272
# STRING may not start with a hyphen.
12531
# STRING may not start with a hyphen.
13273
func_len ()
12532
func_len ()
13274
{
12533
{
13275
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
12534
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13276
}
12535
}
13277
 
12536
 
13278
_LT_EOF
12537
_LT_EOF
13279
esac
12538
esac
13280
 
12539
 
13281
case $lt_shell_append in
12540
case $lt_shell_append in
13282
  yes)
12541
  yes)
13283
    cat << \_LT_EOF >> "$cfgfile"
12542
    cat << \_LT_EOF >> "$cfgfile"
13284
 
12543
 
13285
# func_append var value
12544
# func_append var value
13286
# Append VALUE to the end of shell variable VAR.
12545
# Append VALUE to the end of shell variable VAR.
13287
func_append ()
12546
func_append ()
13288
{
12547
{
13289
  eval "$1+=\$2"
12548
  eval "$1+=\$2"
13290
}
12549
}
13291
_LT_EOF
12550
_LT_EOF
13292
    ;;
12551
    ;;
13293
  *)
12552
  *)
13294
    cat << \_LT_EOF >> "$cfgfile"
12553
    cat << \_LT_EOF >> "$cfgfile"
13295
 
12554
 
13296
# func_append var value
12555
# func_append var value
13297
# Append VALUE to the end of shell variable VAR.
12556
# Append VALUE to the end of shell variable VAR.
13298
func_append ()
12557
func_append ()
13299
{
12558
{
13300
  eval "$1=\$$1\$2"
12559
  eval "$1=\$$1\$2"
13301
}
12560
}
13302
 
12561
 
13303
_LT_EOF
12562
_LT_EOF
13304
    ;;
12563
    ;;
13305
  esac
12564
  esac
13306
 
12565
 
13307
 
12566
 
13308
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
12567
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13309
    || (rm -f "$cfgfile"; exit 1)
12568
    || (rm -f "$cfgfile"; exit 1)
13310
 
12569
 
13311
  mv -f "$cfgfile" "$ofile" ||
12570
  mv -f "$cfgfile" "$ofile" ||
13312
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12571
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13313
  chmod +x "$ofile"
12572
  chmod +x "$ofile"
13314
 
12573
 
13315
 ;;
12574
 ;;
13316
 
12575
 
13317
  esac
12576
  esac
13318
done # for ac_tag
12577
done # for ac_tag
13319
 
12578
 
13320
 
12579
 
13321
{ (exit 0); exit 0; }
12580
as_fn_exit 0
13322
_ACEOF
12581
_ACEOF
13323
chmod +x $CONFIG_STATUS
-
 
13324
ac_clean_files=$ac_clean_files_save
12582
ac_clean_files=$ac_clean_files_save
13325
 
12583
 
13326
test $ac_write_fail = 0 ||
12584
test $ac_write_fail = 0 ||
13327
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
-
 
13328
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
12585
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
13329
   { (exit 1); exit 1; }; }
-
 
13330
 
12586
 
13331
 
12587
 
13332
# configure is writing to config.log, and then calls config.status.
12588
# configure is writing to config.log, and then calls config.status.
13333
# config.status does its own redirection, appending to config.log.
12589
# config.status does its own redirection, appending to config.log.
13334
# Unfortunately, on DOS this fails, as config.log is still kept open
12590
# Unfortunately, on DOS this fails, as config.log is still kept open
13335
# by configure, so config.status won't be able to write to it; its
12591
# by configure, so config.status won't be able to write to it; its
13336
# output is simply discarded.  So we exec the FD to /dev/null,
12592
# output is simply discarded.  So we exec the FD to /dev/null,
13337
# effectively closing config.log, so it can be properly (re)opened and
12593
# effectively closing config.log, so it can be properly (re)opened and
13338
# appended to by config.status.  When coming back to configure, we
12594
# appended to by config.status.  When coming back to configure, we
13339
# need to make the FD available again.
12595
# need to make the FD available again.
13340
if test "$no_create" != yes; then
12596
if test "$no_create" != yes; then
13341
  ac_cs_success=:
12597
  ac_cs_success=:
13342
  ac_config_status_args=
12598
  ac_config_status_args=
13343
  test "$silent" = yes &&
12599
  test "$silent" = yes &&
13344
    ac_config_status_args="$ac_config_status_args --quiet"
12600
    ac_config_status_args="$ac_config_status_args --quiet"
13345
  exec 5>/dev/null
12601
  exec 5>/dev/null
13346
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12602
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13347
  exec 5>>config.log
12603
  exec 5>>config.log
13348
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12604
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13349
  # would make configure fail if this is the last instruction.
12605
  # would make configure fail if this is the last instruction.
13350
  $ac_cs_success || { (exit 1); exit 1; }
12606
  $ac_cs_success || as_fn_exit $?
13351
fi
12607
fi
13352
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
12608
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13353
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12609
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13354
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12610
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13355
fi
12611
fi
13356
 
12612