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
-
 
199
  :
-
 
200
else
-
 
201
  exitcode=1
-
 
202
  echo as_func_success failed.
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
203
fi
-
 
204
 
-
 
205
if as_func_failure; then
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
206
  exitcode=1
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
207
  echo as_func_failure succeeded.
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
208
fi
-
 
209
 
-
 
210
if as_func_ret_success; then
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
211
  :
163
  
212
else
164
else
213
  exitcode=1
-
 
214
  echo as_func_ret_success failed.
-
 
215
fi
-
 
216
 
-
 
217
if as_func_ret_failure; then
-
 
218
  exitcode=1
-
 
219
  echo as_func_ret_failure succeeded.
165
  exitcode=1; echo positional parameters were not saved.
220
fi
166
fi
-
 
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
-
 
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
-
 
172
test \$(( 1 + 1 )) = 2 || exit 1"
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
228
 
-
 
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; }
178
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
236
") 2> /dev/null; then
-
 
237
  :
179
  
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 @S|@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
LIB@&t@OBJS=
689
LIB@&t@OBJS=
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
LIB@&t@OBJS
743
LIB@&t@OBJS
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.
3160
as_fn_error "cannot run C compiled programs.
2976
If you meant to cross compile, use \`--host'.
3161
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.
-
 
2979
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
  :
3341
  
3243
else
3342
else
3244
  $as_echo "$as_me: failed program was:" >&5
-
 
3245
sed 's/^/| /' conftest.$ac_ext >&5
-
 
3246
 
-
 
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 :
-
 
3471
  
3430
 
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:__oline__: $ac_compile\"" >&5)
4349
  (eval echo "\"\$as_me:__oline__: $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:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4352
  (eval echo "\"\$as_me:__oline__: $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:__oline__: output\"" >&5)
4355
  (eval echo "\"\$as_me:__oline__: 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 __oline__ "configure"' > conftest.$ac_ext
5561
  echo '#line __oline__ "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
  :
6345
  
6385
else
6346
else
6386
  $as_echo "$as_me: failed program was:" >&5
-
 
6387
sed 's/^/| /' conftest.$ac_ext >&5
-
 
6388
 
-
 
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
  :
6404
  
6492
else
6405
else
6493
  $as_echo "$as_me: failed program was:" >&5
-
 
6494
sed 's/^/| /' conftest.$ac_ext >&5
-
 
6495
 
-
 
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
  :
6540
  
6717
else
6541
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
 
-
 
6722
( exit $ac_status )
-
 
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
## CAVEAT EMPTOR:
7062
## CAVEAT EMPTOR:
7351
## There is no encapsulation within the following macros, do not change
7063
## There is no encapsulation within the following macros, do not change
7352
## the running order or otherwise move them around unless you know exactly
7064
## the running order or otherwise move them around unless you know exactly
7353
## what you are doing...
7065
## what you are doing...
7354
if test -n "$compiler"; then
7066
if test -n "$compiler"; then
7355
  
7067
  
7356
lt_prog_compiler_no_builtin_flag=
7068
lt_prog_compiler_no_builtin_flag=
7357
 
7069
 
7358
if test "$GCC" = yes; then
7070
if test "$GCC" = yes; then
7359
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7071
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7360
 
7072
 
7361
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7073
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7362
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7074
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7363
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7075
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7364
  $as_echo_n "(cached) " >&6
7076
  $as_echo_n "(cached) " >&6
7365
else
7077
else
7366
  lt_cv_prog_compiler_rtti_exceptions=no
7078
  lt_cv_prog_compiler_rtti_exceptions=no
7367
   ac_outfile=conftest.$ac_objext
7079
   ac_outfile=conftest.$ac_objext
7368
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7080
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7369
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7081
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7370
   # Insert the option either (1) after the last *FLAGS variable, or
7082
   # Insert the option either (1) after the last *FLAGS variable, or
7371
   # (2) before a word containing "conftest.", or (3) at the end.
7083
   # (2) before a word containing "conftest.", or (3) at the end.
7372
   # Note that $ac_compile itself does not contain backslashes and begins
7084
   # Note that $ac_compile itself does not contain backslashes and begins
7373
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7085
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7374
   # The option is referenced via a variable to avoid confusing sed.
7086
   # The option is referenced via a variable to avoid confusing sed.
7375
   lt_compile=`echo "$ac_compile" | $SED \
7087
   lt_compile=`echo "$ac_compile" | $SED \
7376
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7088
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7377
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7089
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7378
   -e 's:$: $lt_compiler_flag:'`
7090
   -e 's:$: $lt_compiler_flag:'`
7379
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7091
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7380
   (eval "$lt_compile" 2>conftest.err)
7092
   (eval "$lt_compile" 2>conftest.err)
7381
   ac_status=$?
7093
   ac_status=$?
7382
   cat conftest.err >&5
7094
   cat conftest.err >&5
7383
   echo "$as_me:__oline__: \$? = $ac_status" >&5
7095
   echo "$as_me:__oline__: \$? = $ac_status" >&5
7384
   if (exit $ac_status) && test -s "$ac_outfile"; then
7096
   if (exit $ac_status) && test -s "$ac_outfile"; then
7385
     # The compiler can only warn and ignore the option if not recognized
7097
     # The compiler can only warn and ignore the option if not recognized
7386
     # So say no if there are warnings other than the usual output.
7098
     # So say no if there are warnings other than the usual output.
7387
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7099
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7388
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7100
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7389
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7101
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7390
       lt_cv_prog_compiler_rtti_exceptions=yes
7102
       lt_cv_prog_compiler_rtti_exceptions=yes
7391
     fi
7103
     fi
7392
   fi
7104
   fi
7393
   $RM conftest*
7105
   $RM conftest*
7394
 
7106
 
7395
fi
7107
fi
7396
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7397
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7109
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7398
 
7110
 
7399
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7111
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7400
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7112
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7401
else
7113
else
7402
    :
7114
    :
7403
fi
7115
fi
7404
 
7116
 
7405
fi
7117
fi
7406
 
7118
 
7407
    
7119
    
7408
    
7120
    
7409
    
7121
    
7410
 
7122
 
7411
 
7123
 
7412
  lt_prog_compiler_wl=
7124
  lt_prog_compiler_wl=
7413
lt_prog_compiler_pic=
7125
lt_prog_compiler_pic=
7414
lt_prog_compiler_static=
7126
lt_prog_compiler_static=
7415
 
7127
 
7416
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7417
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7129
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7418
 
7130
 
7419
  if test "$GCC" = yes; then
7131
  if test "$GCC" = yes; then
7420
    lt_prog_compiler_wl='-Wl,'
7132
    lt_prog_compiler_wl='-Wl,'
7421
    lt_prog_compiler_static='-static'
7133
    lt_prog_compiler_static='-static'
7422
 
7134
 
7423
    case $host_os in
7135
    case $host_os in
7424
      aix*)
7136
      aix*)
7425
      # All AIX code is PIC.
7137
      # All AIX code is PIC.
7426
      if test "$host_cpu" = ia64; then
7138
      if test "$host_cpu" = ia64; then
7427
	# AIX 5 now supports IA64 processor
7139
	# AIX 5 now supports IA64 processor
7428
	lt_prog_compiler_static='-Bstatic'
7140
	lt_prog_compiler_static='-Bstatic'
7429
      fi
7141
      fi
7430
      ;;
7142
      ;;
7431
 
7143
 
7432
    amigaos*)
7144
    amigaos*)
7433
      case $host_cpu in
7145
      case $host_cpu in
7434
      powerpc)
7146
      powerpc)
7435
            # see comment about AmigaOS4 .so support
7147
            # see comment about AmigaOS4 .so support
7436
            lt_prog_compiler_pic='-fPIC'
7148
            lt_prog_compiler_pic='-fPIC'
7437
        ;;
7149
        ;;
7438
      m68k)
7150
      m68k)
7439
            # FIXME: we need at least 68020 code to build shared libraries, but
7151
            # FIXME: we need at least 68020 code to build shared libraries, but
7440
            # adding the `-m68020' flag to GCC prevents building anything better,
7152
            # adding the `-m68020' flag to GCC prevents building anything better,
7441
            # like `-m68040'.
7153
            # like `-m68040'.
7442
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7154
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7443
        ;;
7155
        ;;
7444
      esac
7156
      esac
7445
      ;;
7157
      ;;
7446
 
7158
 
7447
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7159
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7448
      # PIC is the default for these OSes.
7160
      # PIC is the default for these OSes.
7449
      ;;
7161
      ;;
7450
 
7162
 
7451
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7163
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7452
      # This hack is so that the source file can tell whether it is being
7164
      # This hack is so that the source file can tell whether it is being
7453
      # built for inclusion in a dll (and should export symbols for example).
7165
      # built for inclusion in a dll (and should export symbols for example).
7454
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7166
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7455
      # (--disable-auto-import) libraries
7167
      # (--disable-auto-import) libraries
7456
      lt_prog_compiler_pic='-DDLL_EXPORT'
7168
      lt_prog_compiler_pic='-DDLL_EXPORT'
7457
      ;;
7169
      ;;
7458
 
7170
 
7459
    darwin* | rhapsody*)
7171
    darwin* | rhapsody*)
7460
      # PIC is the default on this platform
7172
      # PIC is the default on this platform
7461
      # Common symbols not allowed in MH_DYLIB files
7173
      # Common symbols not allowed in MH_DYLIB files
7462
      lt_prog_compiler_pic='-fno-common'
7174
      lt_prog_compiler_pic='-fno-common'
7463
      ;;
7175
      ;;
7464
 
7176
 
7465
    hpux*)
7177
    hpux*)
7466
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7178
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7467
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7179
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7468
      # sets the default TLS model and affects inlining.
7180
      # sets the default TLS model and affects inlining.
7469
      case $host_cpu in
7181
      case $host_cpu in
7470
      hppa*64*)
7182
      hppa*64*)
7471
	# +Z the default
7183
	# +Z the default
7472
	;;
7184
	;;
7473
      *)
7185
      *)
7474
	lt_prog_compiler_pic='-fPIC'
7186
	lt_prog_compiler_pic='-fPIC'
7475
	;;
7187
	;;
7476
      esac
7188
      esac
7477
      ;;
7189
      ;;
7478
 
7190
 
7479
    interix[3-9]*)
7191
    interix[3-9]*)
7480
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7192
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7481
      # Instead, we relocate shared libraries at runtime.
7193
      # Instead, we relocate shared libraries at runtime.
7482
      ;;
7194
      ;;
7483
 
7195
 
7484
    msdosdjgpp*)
7196
    msdosdjgpp*)
7485
      # Just because we use GCC doesn't mean we suddenly get shared libraries
7197
      # Just because we use GCC doesn't mean we suddenly get shared libraries
7486
      # on systems that don't support them.
7198
      # on systems that don't support them.
7487
      lt_prog_compiler_can_build_shared=no
7199
      lt_prog_compiler_can_build_shared=no
7488
      enable_shared=no
7200
      enable_shared=no
7489
      ;;
7201
      ;;
7490
 
7202
 
7491
    *nto* | *qnx*)
7203
    *nto* | *qnx*)
7492
      # QNX uses GNU C++, but need to define -shared option too, otherwise
7204
      # QNX uses GNU C++, but need to define -shared option too, otherwise
7493
      # it will coredump.
7205
      # it will coredump.
7494
      lt_prog_compiler_pic='-fPIC -shared'
7206
      lt_prog_compiler_pic='-fPIC -shared'
7495
      ;;
7207
      ;;
7496
 
7208
 
7497
    sysv4*MP*)
7209
    sysv4*MP*)
7498
      if test -d /usr/nec; then
7210
      if test -d /usr/nec; then
7499
	lt_prog_compiler_pic=-Kconform_pic
7211
	lt_prog_compiler_pic=-Kconform_pic
7500
      fi
7212
      fi
7501
      ;;
7213
      ;;
7502
 
7214
 
7503
    *)
7215
    *)
7504
      lt_prog_compiler_pic='-fPIC'
7216
      lt_prog_compiler_pic='-fPIC'
7505
      ;;
7217
      ;;
7506
    esac
7218
    esac
7507
  else
7219
  else
7508
    # PORTME Check for flag to pass linker flags through the system compiler.
7220
    # PORTME Check for flag to pass linker flags through the system compiler.
7509
    case $host_os in
7221
    case $host_os in
7510
    aix*)
7222
    aix*)
7511
      lt_prog_compiler_wl='-Wl,'
7223
      lt_prog_compiler_wl='-Wl,'
7512
      if test "$host_cpu" = ia64; then
7224
      if test "$host_cpu" = ia64; then
7513
	# AIX 5 now supports IA64 processor
7225
	# AIX 5 now supports IA64 processor
7514
	lt_prog_compiler_static='-Bstatic'
7226
	lt_prog_compiler_static='-Bstatic'
7515
      else
7227
      else
7516
	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7228
	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7517
      fi
7229
      fi
7518
      ;;
7230
      ;;
7519
 
7231
 
7520
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7232
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7521
      # This hack is so that the source file can tell whether it is being
7233
      # This hack is so that the source file can tell whether it is being
7522
      # built for inclusion in a dll (and should export symbols for example).
7234
      # built for inclusion in a dll (and should export symbols for example).
7523
      lt_prog_compiler_pic='-DDLL_EXPORT'
7235
      lt_prog_compiler_pic='-DDLL_EXPORT'
7524
      ;;
7236
      ;;
7525
 
7237
 
7526
    hpux9* | hpux10* | hpux11*)
7238
    hpux9* | hpux10* | hpux11*)
7527
      lt_prog_compiler_wl='-Wl,'
7239
      lt_prog_compiler_wl='-Wl,'
7528
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7240
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7529
      # not for PA HP-UX.
7241
      # not for PA HP-UX.
7530
      case $host_cpu in
7242
      case $host_cpu in
7531
      hppa*64*|ia64*)
7243
      hppa*64*|ia64*)
7532
	# +Z the default
7244
	# +Z the default
7533
	;;
7245
	;;
7534
      *)
7246
      *)
7535
	lt_prog_compiler_pic='+Z'
7247
	lt_prog_compiler_pic='+Z'
7536
	;;
7248
	;;
7537
      esac
7249
      esac
7538
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7250
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7539
      lt_prog_compiler_static='${wl}-a ${wl}archive'
7251
      lt_prog_compiler_static='${wl}-a ${wl}archive'
7540
      ;;
7252
      ;;
7541
 
7253
 
7542
    irix5* | irix6* | nonstopux*)
7254
    irix5* | irix6* | nonstopux*)
7543
      lt_prog_compiler_wl='-Wl,'
7255
      lt_prog_compiler_wl='-Wl,'
7544
      # PIC (with -KPIC) is the default.
7256
      # PIC (with -KPIC) is the default.
7545
      lt_prog_compiler_static='-non_shared'
7257
      lt_prog_compiler_static='-non_shared'
7546
      ;;
7258
      ;;
7547
 
7259
 
7548
    linux* | k*bsd*-gnu)
7260
    linux* | k*bsd*-gnu)
7549
      case $cc_basename in
7261
      case $cc_basename in
7550
      # old Intel for x86_64 which still supported -KPIC.
7262
      # old Intel for x86_64 which still supported -KPIC.
7551
      ecc*)
7263
      ecc*)
7552
	lt_prog_compiler_wl='-Wl,'
7264
	lt_prog_compiler_wl='-Wl,'
7553
	lt_prog_compiler_pic='-KPIC'
7265
	lt_prog_compiler_pic='-KPIC'
7554
	lt_prog_compiler_static='-static'
7266
	lt_prog_compiler_static='-static'
7555
        ;;
7267
        ;;
7556
      # icc used to be incompatible with GCC.
7268
      # icc used to be incompatible with GCC.
7557
      # ICC 10 doesn't accept -KPIC any more.
7269
      # ICC 10 doesn't accept -KPIC any more.
7558
      icc* | ifort*)
7270
      icc* | ifort*)
7559
	lt_prog_compiler_wl='-Wl,'
7271
	lt_prog_compiler_wl='-Wl,'
7560
	lt_prog_compiler_pic='-fPIC'
7272
	lt_prog_compiler_pic='-fPIC'
7561
	lt_prog_compiler_static='-static'
7273
	lt_prog_compiler_static='-static'
7562
        ;;
7274
        ;;
7563
      # Lahey Fortran 8.1.
7275
      # Lahey Fortran 8.1.
7564
      lf95*)
7276
      lf95*)
7565
	lt_prog_compiler_wl='-Wl,'
7277
	lt_prog_compiler_wl='-Wl,'
7566
	lt_prog_compiler_pic='--shared'
7278
	lt_prog_compiler_pic='--shared'
7567
	lt_prog_compiler_static='--static'
7279
	lt_prog_compiler_static='--static'
7568
	;;
7280
	;;
7569
      pgcc* | pgf77* | pgf90* | pgf95*)
7281
      pgcc* | pgf77* | pgf90* | pgf95*)
7570
        # Portland Group compilers (*not* the Pentium gcc compiler,
7282
        # Portland Group compilers (*not* the Pentium gcc compiler,
7571
	# which looks to be a dead project)
7283
	# which looks to be a dead project)
7572
	lt_prog_compiler_wl='-Wl,'
7284
	lt_prog_compiler_wl='-Wl,'
7573
	lt_prog_compiler_pic='-fpic'
7285
	lt_prog_compiler_pic='-fpic'
7574
	lt_prog_compiler_static='-Bstatic'
7286
	lt_prog_compiler_static='-Bstatic'
7575
        ;;
7287
        ;;
7576
      ccc*)
7288
      ccc*)
7577
        lt_prog_compiler_wl='-Wl,'
7289
        lt_prog_compiler_wl='-Wl,'
7578
        # All Alpha code is PIC.
7290
        # All Alpha code is PIC.
7579
        lt_prog_compiler_static='-non_shared'
7291
        lt_prog_compiler_static='-non_shared'
7580
        ;;
7292
        ;;
7581
      xl*)
7293
      xl*)
7582
	# IBM XL C 8.0/Fortran 10.1 on PPC
7294
	# IBM XL C 8.0/Fortran 10.1 on PPC
7583
	lt_prog_compiler_wl='-Wl,'
7295
	lt_prog_compiler_wl='-Wl,'
7584
	lt_prog_compiler_pic='-qpic'
7296
	lt_prog_compiler_pic='-qpic'
7585
	lt_prog_compiler_static='-qstaticlink'
7297
	lt_prog_compiler_static='-qstaticlink'
7586
	;;
7298
	;;
7587
      *)
7299
      *)
7588
	case `$CC -V 2>&1 | sed 5q` in
7300
	case `$CC -V 2>&1 | sed 5q` in
7589
	*Sun\ C*)
7301
	*Sun\ C*)
7590
	  # Sun C 5.9
7302
	  # Sun C 5.9
7591
	  lt_prog_compiler_pic='-KPIC'
7303
	  lt_prog_compiler_pic='-KPIC'
7592
	  lt_prog_compiler_static='-Bstatic'
7304
	  lt_prog_compiler_static='-Bstatic'
7593
	  lt_prog_compiler_wl='-Wl,'
7305
	  lt_prog_compiler_wl='-Wl,'
7594
	  ;;
7306
	  ;;
7595
	*Sun\ F*)
7307
	*Sun\ F*)
7596
	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
7308
	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
7597
	  lt_prog_compiler_pic='-KPIC'
7309
	  lt_prog_compiler_pic='-KPIC'
7598
	  lt_prog_compiler_static='-Bstatic'
7310
	  lt_prog_compiler_static='-Bstatic'
7599
	  lt_prog_compiler_wl=''
7311
	  lt_prog_compiler_wl=''
7600
	  ;;
7312
	  ;;
7601
	esac
7313
	esac
7602
	;;
7314
	;;
7603
      esac
7315
      esac
7604
      ;;
7316
      ;;
7605
 
7317
 
7606
    newsos6)
7318
    newsos6)
7607
      lt_prog_compiler_pic='-KPIC'
7319
      lt_prog_compiler_pic='-KPIC'
7608
      lt_prog_compiler_static='-Bstatic'
7320
      lt_prog_compiler_static='-Bstatic'
7609
      ;;
7321
      ;;
7610
 
7322
 
7611
    *nto* | *qnx*)
7323
    *nto* | *qnx*)
7612
      # QNX uses GNU C++, but need to define -shared option too, otherwise
7324
      # QNX uses GNU C++, but need to define -shared option too, otherwise
7613
      # it will coredump.
7325
      # it will coredump.
7614
      lt_prog_compiler_pic='-fPIC -shared'
7326
      lt_prog_compiler_pic='-fPIC -shared'
7615
      ;;
7327
      ;;
7616
 
7328
 
7617
    osf3* | osf4* | osf5*)
7329
    osf3* | osf4* | osf5*)
7618
      lt_prog_compiler_wl='-Wl,'
7330
      lt_prog_compiler_wl='-Wl,'
7619
      # All OSF/1 code is PIC.
7331
      # All OSF/1 code is PIC.
7620
      lt_prog_compiler_static='-non_shared'
7332
      lt_prog_compiler_static='-non_shared'
7621
      ;;
7333
      ;;
7622
 
7334
 
7623
    rdos*)
7335
    rdos*)
7624
      lt_prog_compiler_static='-non_shared'
7336
      lt_prog_compiler_static='-non_shared'
7625
      ;;
7337
      ;;
7626
 
7338
 
7627
    solaris*)
7339
    solaris*)
7628
      lt_prog_compiler_pic='-KPIC'
7340
      lt_prog_compiler_pic='-KPIC'
7629
      lt_prog_compiler_static='-Bstatic'
7341
      lt_prog_compiler_static='-Bstatic'
7630
      case $cc_basename in
7342
      case $cc_basename in
7631
      f77* | f90* | f95*)
7343
      f77* | f90* | f95*)
7632
	lt_prog_compiler_wl='-Qoption ld ';;
7344
	lt_prog_compiler_wl='-Qoption ld ';;
7633
      *)
7345
      *)
7634
	lt_prog_compiler_wl='-Wl,';;
7346
	lt_prog_compiler_wl='-Wl,';;
7635
      esac
7347
      esac
7636
      ;;
7348
      ;;
7637
 
7349
 
7638
    sunos4*)
7350
    sunos4*)
7639
      lt_prog_compiler_wl='-Qoption ld '
7351
      lt_prog_compiler_wl='-Qoption ld '
7640
      lt_prog_compiler_pic='-PIC'
7352
      lt_prog_compiler_pic='-PIC'
7641
      lt_prog_compiler_static='-Bstatic'
7353
      lt_prog_compiler_static='-Bstatic'
7642
      ;;
7354
      ;;
7643
 
7355
 
7644
    sysv4 | sysv4.2uw2* | sysv4.3*)
7356
    sysv4 | sysv4.2uw2* | sysv4.3*)
7645
      lt_prog_compiler_wl='-Wl,'
7357
      lt_prog_compiler_wl='-Wl,'
7646
      lt_prog_compiler_pic='-KPIC'
7358
      lt_prog_compiler_pic='-KPIC'
7647
      lt_prog_compiler_static='-Bstatic'
7359
      lt_prog_compiler_static='-Bstatic'
7648
      ;;
7360
      ;;
7649
 
7361
 
7650
    sysv4*MP*)
7362
    sysv4*MP*)
7651
      if test -d /usr/nec ;then
7363
      if test -d /usr/nec ;then
7652
	lt_prog_compiler_pic='-Kconform_pic'
7364
	lt_prog_compiler_pic='-Kconform_pic'
7653
	lt_prog_compiler_static='-Bstatic'
7365
	lt_prog_compiler_static='-Bstatic'
7654
      fi
7366
      fi
7655
      ;;
7367
      ;;
7656
 
7368
 
7657
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7369
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7658
      lt_prog_compiler_wl='-Wl,'
7370
      lt_prog_compiler_wl='-Wl,'
7659
      lt_prog_compiler_pic='-KPIC'
7371
      lt_prog_compiler_pic='-KPIC'
7660
      lt_prog_compiler_static='-Bstatic'
7372
      lt_prog_compiler_static='-Bstatic'
7661
      ;;
7373
      ;;
7662
 
7374
 
7663
    unicos*)
7375
    unicos*)
7664
      lt_prog_compiler_wl='-Wl,'
7376
      lt_prog_compiler_wl='-Wl,'
7665
      lt_prog_compiler_can_build_shared=no
7377
      lt_prog_compiler_can_build_shared=no
7666
      ;;
7378
      ;;
7667
 
7379
 
7668
    uts4*)
7380
    uts4*)
7669
      lt_prog_compiler_pic='-pic'
7381
      lt_prog_compiler_pic='-pic'
7670
      lt_prog_compiler_static='-Bstatic'
7382
      lt_prog_compiler_static='-Bstatic'
7671
      ;;
7383
      ;;
7672
 
7384
 
7673
    *)
7385
    *)
7674
      lt_prog_compiler_can_build_shared=no
7386
      lt_prog_compiler_can_build_shared=no
7675
      ;;
7387
      ;;
7676
    esac
7388
    esac
7677
  fi
7389
  fi
7678
 
7390
 
7679
case $host_os in
7391
case $host_os in
7680
  # For platforms which do not support PIC, -DPIC is meaningless:
7392
  # For platforms which do not support PIC, -DPIC is meaningless:
7681
  *djgpp*)
7393
  *djgpp*)
7682
    lt_prog_compiler_pic=
7394
    lt_prog_compiler_pic=
7683
    ;;
7395
    ;;
7684
  *)
7396
  *)
7685
    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
7397
    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
7686
    ;;
7398
    ;;
7687
esac
7399
esac
7688
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7689
$as_echo "$lt_prog_compiler_pic" >&6; }
7401
$as_echo "$lt_prog_compiler_pic" >&6; }
7690
 
7402
 
7691
    
7403
    
7692
    
7404
    
7693
    
7405
    
7694
 
7406
 
7695
 
7407
 
7696
#
7408
#
7697
# Check to make sure the PIC flag actually works.
7409
# Check to make sure the PIC flag actually works.
7698
#
7410
#
7699
if test -n "$lt_prog_compiler_pic"; then
7411
if test -n "$lt_prog_compiler_pic"; then
7700
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7412
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7701
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7413
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7702
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7414
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7703
  $as_echo_n "(cached) " >&6
7415
  $as_echo_n "(cached) " >&6
7704
else
7416
else
7705
  lt_cv_prog_compiler_pic_works=no
7417
  lt_cv_prog_compiler_pic_works=no
7706
   ac_outfile=conftest.$ac_objext
7418
   ac_outfile=conftest.$ac_objext
7707
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7419
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7708
   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
7420
   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
7709
   # Insert the option either (1) after the last *FLAGS variable, or
7421
   # Insert the option either (1) after the last *FLAGS variable, or
7710
   # (2) before a word containing "conftest.", or (3) at the end.
7422
   # (2) before a word containing "conftest.", or (3) at the end.
7711
   # Note that $ac_compile itself does not contain backslashes and begins
7423
   # Note that $ac_compile itself does not contain backslashes and begins
7712
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7424
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7713
   # The option is referenced via a variable to avoid confusing sed.
7425
   # The option is referenced via a variable to avoid confusing sed.
7714
   lt_compile=`echo "$ac_compile" | $SED \
7426
   lt_compile=`echo "$ac_compile" | $SED \
7715
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7427
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7716
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7428
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7717
   -e 's:$: $lt_compiler_flag:'`
7429
   -e 's:$: $lt_compiler_flag:'`
7718
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7430
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7719
   (eval "$lt_compile" 2>conftest.err)
7431
   (eval "$lt_compile" 2>conftest.err)
7720
   ac_status=$?
7432
   ac_status=$?
7721
   cat conftest.err >&5
7433
   cat conftest.err >&5
7722
   echo "$as_me:__oline__: \$? = $ac_status" >&5
7434
   echo "$as_me:__oline__: \$? = $ac_status" >&5
7723
   if (exit $ac_status) && test -s "$ac_outfile"; then
7435
   if (exit $ac_status) && test -s "$ac_outfile"; then
7724
     # The compiler can only warn and ignore the option if not recognized
7436
     # The compiler can only warn and ignore the option if not recognized
7725
     # So say no if there are warnings other than the usual output.
7437
     # So say no if there are warnings other than the usual output.
7726
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7438
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7727
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7439
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7728
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7440
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7729
       lt_cv_prog_compiler_pic_works=yes
7441
       lt_cv_prog_compiler_pic_works=yes
7730
     fi
7442
     fi
7731
   fi
7443
   fi
7732
   $RM conftest*
7444
   $RM conftest*
7733
 
7445
 
7734
fi
7446
fi
7735
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7736
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7448
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7737
 
7449
 
7738
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7450
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7739
    case $lt_prog_compiler_pic in
7451
    case $lt_prog_compiler_pic in
7740
     "" | " "*) ;;
7452
     "" | " "*) ;;
7741
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7453
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7742
     esac
7454
     esac
7743
else
7455
else
7744
    lt_prog_compiler_pic=
7456
    lt_prog_compiler_pic=
7745
     lt_prog_compiler_can_build_shared=no
7457
     lt_prog_compiler_can_build_shared=no
7746
fi
7458
fi
7747
 
7459
 
7748
fi
7460
fi
7749
 
7461
 
7750
    
7462
    
7751
    
7463
    
7752
    
7464
    
7753
 
7465
 
7754
 
7466
 
7755
#
7467
#
7756
# Check to make sure the static flag actually works.
7468
# Check to make sure the static flag actually works.
7757
#
7469
#
7758
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7470
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7759
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7760
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7472
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7761
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7473
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7762
  $as_echo_n "(cached) " >&6
7474
  $as_echo_n "(cached) " >&6
7763
else
7475
else
7764
  lt_cv_prog_compiler_static_works=no
7476
  lt_cv_prog_compiler_static_works=no
7765
   save_LDFLAGS="$LDFLAGS"
7477
   save_LDFLAGS="$LDFLAGS"
7766
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7478
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7767
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7479
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7768
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7480
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7769
     # The linker can only warn and ignore the option if not recognized
7481
     # The linker can only warn and ignore the option if not recognized
7770
     # So say no if there are warnings
7482
     # So say no if there are warnings
7771
     if test -s conftest.err; then
7483
     if test -s conftest.err; then
7772
       # Append any errors to the config.log.
7484
       # Append any errors to the config.log.
7773
       cat conftest.err 1>&5
7485
       cat conftest.err 1>&5
7774
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7486
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7775
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7487
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7776
       if diff conftest.exp conftest.er2 >/dev/null; then
7488
       if diff conftest.exp conftest.er2 >/dev/null; then
7777
         lt_cv_prog_compiler_static_works=yes
7489
         lt_cv_prog_compiler_static_works=yes
7778
       fi
7490
       fi
7779
     else
7491
     else
7780
       lt_cv_prog_compiler_static_works=yes
7492
       lt_cv_prog_compiler_static_works=yes
7781
     fi
7493
     fi
7782
   fi
7494
   fi
7783
   $RM -r conftest*
7495
   $RM -r conftest*
7784
   LDFLAGS="$save_LDFLAGS"
7496
   LDFLAGS="$save_LDFLAGS"
7785
 
7497
 
7786
fi
7498
fi
7787
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7499
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7788
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7500
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7789
 
7501
 
7790
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7502
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7791
    :
7503
    :
7792
else
7504
else
7793
    lt_prog_compiler_static=
7505
    lt_prog_compiler_static=
7794
fi
7506
fi
7795
 
7507
 
7796
 
7508
 
7797
    
7509
    
7798
    
7510
    
7799
    
7511
    
7800
 
7512
 
7801
 
7513
 
7802
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7514
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7803
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7515
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7804
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7516
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7805
  $as_echo_n "(cached) " >&6
7517
  $as_echo_n "(cached) " >&6
7806
else
7518
else
7807
  lt_cv_prog_compiler_c_o=no
7519
  lt_cv_prog_compiler_c_o=no
7808
   $RM -r conftest 2>/dev/null
7520
   $RM -r conftest 2>/dev/null
7809
   mkdir conftest
7521
   mkdir conftest
7810
   cd conftest
7522
   cd conftest
7811
   mkdir out
7523
   mkdir out
7812
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7524
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7813
 
7525
 
7814
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7526
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7815
   # Insert the option either (1) after the last *FLAGS variable, or
7527
   # Insert the option either (1) after the last *FLAGS variable, or
7816
   # (2) before a word containing "conftest.", or (3) at the end.
7528
   # (2) before a word containing "conftest.", or (3) at the end.
7817
   # Note that $ac_compile itself does not contain backslashes and begins
7529
   # Note that $ac_compile itself does not contain backslashes and begins
7818
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7530
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7819
   lt_compile=`echo "$ac_compile" | $SED \
7531
   lt_compile=`echo "$ac_compile" | $SED \
7820
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7532
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7821
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7533
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7822
   -e 's:$: $lt_compiler_flag:'`
7534
   -e 's:$: $lt_compiler_flag:'`
7823
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7535
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7824
   (eval "$lt_compile" 2>out/conftest.err)
7536
   (eval "$lt_compile" 2>out/conftest.err)
7825
   ac_status=$?
7537
   ac_status=$?
7826
   cat out/conftest.err >&5
7538
   cat out/conftest.err >&5
7827
   echo "$as_me:__oline__: \$? = $ac_status" >&5
7539
   echo "$as_me:__oline__: \$? = $ac_status" >&5
7828
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7540
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7829
   then
7541
   then
7830
     # The compiler can only warn and ignore the option if not recognized
7542
     # The compiler can only warn and ignore the option if not recognized
7831
     # So say no if there are warnings
7543
     # So say no if there are warnings
7832
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7544
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7833
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7545
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7834
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7546
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7835
       lt_cv_prog_compiler_c_o=yes
7547
       lt_cv_prog_compiler_c_o=yes
7836
     fi
7548
     fi
7837
   fi
7549
   fi
7838
   chmod u+w . 2>&5
7550
   chmod u+w . 2>&5
7839
   $RM conftest*
7551
   $RM conftest*
7840
   # SGI C++ compiler will create directory out/ii_files/ for
7552
   # SGI C++ compiler will create directory out/ii_files/ for
7841
   # template instantiation
7553
   # template instantiation
7842
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7554
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7843
   $RM out/* && rmdir out
7555
   $RM out/* && rmdir out
7844
   cd ..
7556
   cd ..
7845
   $RM -r conftest
7557
   $RM -r conftest
7846
   $RM conftest*
7558
   $RM conftest*
7847
 
7559
 
7848
fi
7560
fi
7849
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7850
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7562
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7851
 
7563
 
7852
    
7564
    
7853
    
7565
    
7854
    
7566
    
7855
 
7567
 
7856
 
7568
 
7857
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7569
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7858
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7570
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7859
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7571
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7860
  $as_echo_n "(cached) " >&6
7572
  $as_echo_n "(cached) " >&6
7861
else
7573
else
7862
  lt_cv_prog_compiler_c_o=no
7574
  lt_cv_prog_compiler_c_o=no
7863
   $RM -r conftest 2>/dev/null
7575
   $RM -r conftest 2>/dev/null
7864
   mkdir conftest
7576
   mkdir conftest
7865
   cd conftest
7577
   cd conftest
7866
   mkdir out
7578
   mkdir out
7867
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7579
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7868
 
7580
 
7869
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7581
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7870
   # Insert the option either (1) after the last *FLAGS variable, or
7582
   # Insert the option either (1) after the last *FLAGS variable, or
7871
   # (2) before a word containing "conftest.", or (3) at the end.
7583
   # (2) before a word containing "conftest.", or (3) at the end.
7872
   # Note that $ac_compile itself does not contain backslashes and begins
7584
   # Note that $ac_compile itself does not contain backslashes and begins
7873
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7585
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7874
   lt_compile=`echo "$ac_compile" | $SED \
7586
   lt_compile=`echo "$ac_compile" | $SED \
7875
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7587
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7876
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7588
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7877
   -e 's:$: $lt_compiler_flag:'`
7589
   -e 's:$: $lt_compiler_flag:'`
7878
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7590
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
7879
   (eval "$lt_compile" 2>out/conftest.err)
7591
   (eval "$lt_compile" 2>out/conftest.err)
7880
   ac_status=$?
7592
   ac_status=$?
7881
   cat out/conftest.err >&5
7593
   cat out/conftest.err >&5
7882
   echo "$as_me:__oline__: \$? = $ac_status" >&5
7594
   echo "$as_me:__oline__: \$? = $ac_status" >&5
7883
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7595
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7884
   then
7596
   then
7885
     # The compiler can only warn and ignore the option if not recognized
7597
     # The compiler can only warn and ignore the option if not recognized
7886
     # So say no if there are warnings
7598
     # So say no if there are warnings
7887
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7599
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7888
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7600
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7889
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7601
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7890
       lt_cv_prog_compiler_c_o=yes
7602
       lt_cv_prog_compiler_c_o=yes
7891
     fi
7603
     fi
7892
   fi
7604
   fi
7893
   chmod u+w . 2>&5
7605
   chmod u+w . 2>&5
7894
   $RM conftest*
7606
   $RM conftest*
7895
   # SGI C++ compiler will create directory out/ii_files/ for
7607
   # SGI C++ compiler will create directory out/ii_files/ for
7896
   # template instantiation
7608
   # template instantiation
7897
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7609
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7898
   $RM out/* && rmdir out
7610
   $RM out/* && rmdir out
7899
   cd ..
7611
   cd ..
7900
   $RM -r conftest
7612
   $RM -r conftest
7901
   $RM conftest*
7613
   $RM conftest*
7902
 
7614
 
7903
fi
7615
fi
7904
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7905
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7617
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7906
 
7618
 
7907
 
7619
 
7908
 
7620
 
7909
 
7621
 
7910
hard_links="nottested"
7622
hard_links="nottested"
7911
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7623
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7912
  # do not overwrite the value of need_locks provided by the user
7624
  # do not overwrite the value of need_locks provided by the user
7913
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7625
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7914
$as_echo_n "checking if we can lock with hard links... " >&6; }
7626
$as_echo_n "checking if we can lock with hard links... " >&6; }
7915
  hard_links=yes
7627
  hard_links=yes
7916
  $RM conftest*
7628
  $RM conftest*
7917
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7629
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7918
  touch conftest.a
7630
  touch conftest.a
7919
  ln conftest.a conftest.b 2>&5 || hard_links=no
7631
  ln conftest.a conftest.b 2>&5 || hard_links=no
7920
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7632
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7921
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
7633
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7922
$as_echo "$hard_links" >&6; }
7634
$as_echo "$hard_links" >&6; }
7923
  if test "$hard_links" = no; then
7635
  if test "$hard_links" = no; then
7924
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7636
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7925
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7637
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7926
    need_locks=warn
7638
    need_locks=warn
7927
  fi
7639
  fi
7928
else
7640
else
7929
  need_locks=no
7641
  need_locks=no
7930
fi
7642
fi
7931
 
7643
 
7932
    
7644
    
7933
    
7645
    
7934
    
7646
    
7935
 
7647
 
7936
 
7648
 
7937
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7649
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7938
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7650
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7939
 
7651
 
7940
  runpath_var=
7652
  runpath_var=
7941
  allow_undefined_flag=
7653
  allow_undefined_flag=
7942
  always_export_symbols=no
7654
  always_export_symbols=no
7943
  archive_cmds=
7655
  archive_cmds=
7944
  archive_expsym_cmds=
7656
  archive_expsym_cmds=
7945
  compiler_needs_object=no
7657
  compiler_needs_object=no
7946
  enable_shared_with_static_runtimes=no
7658
  enable_shared_with_static_runtimes=no
7947
  export_dynamic_flag_spec=
7659
  export_dynamic_flag_spec=
7948
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7660
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7949
  hardcode_automatic=no
7661
  hardcode_automatic=no
7950
  hardcode_direct=no
7662
  hardcode_direct=no
7951
  hardcode_direct_absolute=no
7663
  hardcode_direct_absolute=no
7952
  hardcode_libdir_flag_spec=
7664
  hardcode_libdir_flag_spec=
7953
  hardcode_libdir_flag_spec_ld=
7665
  hardcode_libdir_flag_spec_ld=
7954
  hardcode_libdir_separator=
7666
  hardcode_libdir_separator=
7955
  hardcode_minus_L=no
7667
  hardcode_minus_L=no
7956
  hardcode_shlibpath_var=unsupported
7668
  hardcode_shlibpath_var=unsupported
7957
  inherit_rpath=no
7669
  inherit_rpath=no
7958
  link_all_deplibs=unknown
7670
  link_all_deplibs=unknown
7959
  module_cmds=
7671
  module_cmds=
7960
  module_expsym_cmds=
7672
  module_expsym_cmds=
7961
  old_archive_from_new_cmds=
7673
  old_archive_from_new_cmds=
7962
  old_archive_from_expsyms_cmds=
7674
  old_archive_from_expsyms_cmds=
7963
  thread_safe_flag_spec=
7675
  thread_safe_flag_spec=
7964
  whole_archive_flag_spec=
7676
  whole_archive_flag_spec=
7965
  # include_expsyms should be a list of space-separated symbols to be *always*
7677
  # include_expsyms should be a list of space-separated symbols to be *always*
7966
  # included in the symbol list
7678
  # included in the symbol list
7967
  include_expsyms=
7679
  include_expsyms=
7968
  # exclude_expsyms can be an extended regexp of symbols to exclude
7680
  # exclude_expsyms can be an extended regexp of symbols to exclude
7969
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7681
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7970
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7682
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7971
  # as well as any symbol that contains `d'.
7683
  # as well as any symbol that contains `d'.
7972
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7684
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7973
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7685
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7974
  # platforms (ab)use it in PIC code, but their linkers get confused if
7686
  # platforms (ab)use it in PIC code, but their linkers get confused if
7975
  # the symbol is explicitly referenced.  Since portable code cannot
7687
  # the symbol is explicitly referenced.  Since portable code cannot
7976
  # rely on this symbol name, it's probably fine to never include it in
7688
  # rely on this symbol name, it's probably fine to never include it in
7977
  # preloaded symbol tables.
7689
  # preloaded symbol tables.
7978
  # Exclude shared library initialization/finalization symbols.
7690
  # Exclude shared library initialization/finalization symbols.
7979
  extract_expsyms_cmds=
7691
  extract_expsyms_cmds=
7980
 
7692
 
7981
  case $host_os in
7693
  case $host_os in
7982
  cygwin* | mingw* | pw32* | cegcc*)
7694
  cygwin* | mingw* | pw32* | cegcc*)
7983
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7695
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7984
    # When not using gcc, we currently assume that we are using
7696
    # When not using gcc, we currently assume that we are using
7985
    # Microsoft Visual C++.
7697
    # Microsoft Visual C++.
7986
    if test "$GCC" != yes; then
7698
    if test "$GCC" != yes; then
7987
      with_gnu_ld=no
7699
      with_gnu_ld=no
7988
    fi
7700
    fi
7989
    ;;
7701
    ;;
7990
  interix*)
7702
  interix*)
7991
    # we just hope/assume this is gcc and not c89 (= MSVC++)
7703
    # we just hope/assume this is gcc and not c89 (= MSVC++)
7992
    with_gnu_ld=yes
7704
    with_gnu_ld=yes
7993
    ;;
7705
    ;;
7994
  openbsd*)
7706
  openbsd*)
7995
    with_gnu_ld=no
7707
    with_gnu_ld=no
7996
    ;;
7708
    ;;
-
 
7709
  linux* | k*bsd*-gnu)
-
 
7710
    link_all_deplibs=no
-
 
7711
    ;;
7997
  esac
7712
  esac
7998
 
7713
 
7999
  ld_shlibs=yes
7714
  ld_shlibs=yes
8000
  if test "$with_gnu_ld" = yes; then
7715
  if test "$with_gnu_ld" = yes; then
8001
    # If archive_cmds runs LD, not CC, wlarc should be empty
7716
    # If archive_cmds runs LD, not CC, wlarc should be empty
8002
    wlarc='${wl}'
7717
    wlarc='${wl}'
8003
 
7718
 
8004
    # Set some defaults for GNU ld with shared library support. These
7719
    # Set some defaults for GNU ld with shared library support. These
8005
    # are reset later if shared libraries are not supported. Putting them
7720
    # are reset later if shared libraries are not supported. Putting them
8006
    # here allows them to be overridden if necessary.
7721
    # here allows them to be overridden if necessary.
8007
    runpath_var=LD_RUN_PATH
7722
    runpath_var=LD_RUN_PATH
8008
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7723
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8009
    export_dynamic_flag_spec='${wl}--export-dynamic'
7724
    export_dynamic_flag_spec='${wl}--export-dynamic'
8010
    # ancient GNU ld didn't support --whole-archive et. al.
7725
    # ancient GNU ld didn't support --whole-archive et. al.
8011
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7726
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8012
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7727
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8013
    else
7728
    else
8014
      whole_archive_flag_spec=
7729
      whole_archive_flag_spec=
8015
    fi
7730
    fi
8016
    supports_anon_versioning=no
7731
    supports_anon_versioning=no
8017
    case `$LD -v 2>&1` in
7732
    case `$LD -v 2>&1` in
8018
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7733
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8019
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7734
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8020
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7735
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8021
      *\ 2.11.*) ;; # other 2.11 versions
7736
      *\ 2.11.*) ;; # other 2.11 versions
8022
      *) supports_anon_versioning=yes ;;
7737
      *) supports_anon_versioning=yes ;;
8023
    esac
7738
    esac
8024
 
7739
 
8025
    # See if GNU ld supports shared libraries.
7740
    # See if GNU ld supports shared libraries.
8026
    case $host_os in
7741
    case $host_os in
8027
    aix[3-9]*)
7742
    aix[3-9]*)
8028
      # On AIX/PPC, the GNU linker is very broken
7743
      # On AIX/PPC, the GNU linker is very broken
8029
      if test "$host_cpu" != ia64; then
7744
      if test "$host_cpu" != ia64; then
8030
	ld_shlibs=no
7745
	ld_shlibs=no
8031
	cat <<_LT_EOF 1>&2
7746
	cat <<_LT_EOF 1>&2
8032
 
7747
 
8033
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7748
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8034
*** to be unable to reliably create shared libraries on AIX.
7749
*** to be unable to reliably create shared libraries on AIX.
8035
*** Therefore, libtool is disabling shared libraries support.  If you
7750
*** Therefore, libtool is disabling shared libraries support.  If you
8036
*** really care for shared libraries, you may want to modify your PATH
7751
*** really care for shared libraries, you may want to modify your PATH
8037
*** so that a non-GNU linker is found, and then restart.
7752
*** so that a non-GNU linker is found, and then restart.
8038
 
7753
 
8039
_LT_EOF
7754
_LT_EOF
8040
      fi
7755
      fi
8041
      ;;
7756
      ;;
8042
 
7757
 
8043
    amigaos*)
7758
    amigaos*)
8044
      case $host_cpu in
7759
      case $host_cpu in
8045
      powerpc)
7760
      powerpc)
8046
            # see comment about AmigaOS4 .so support
7761
            # see comment about AmigaOS4 .so support
8047
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7762
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8048
            archive_expsym_cmds=''
7763
            archive_expsym_cmds=''
8049
        ;;
7764
        ;;
8050
      m68k)
7765
      m68k)
8051
            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)'
7766
            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)'
8052
            hardcode_libdir_flag_spec='-L$libdir'
7767
            hardcode_libdir_flag_spec='-L$libdir'
8053
            hardcode_minus_L=yes
7768
            hardcode_minus_L=yes
8054
        ;;
7769
        ;;
8055
      esac
7770
      esac
8056
      ;;
7771
      ;;
8057
 
7772
 
8058
    beos*)
7773
    beos*)
8059
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7774
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8060
	allow_undefined_flag=unsupported
7775
	allow_undefined_flag=unsupported
8061
	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7776
	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8062
	# support --undefined.  This deserves some investigation.  FIXME
7777
	# support --undefined.  This deserves some investigation.  FIXME
8063
	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7778
	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8064
      else
7779
      else
8065
	ld_shlibs=no
7780
	ld_shlibs=no
8066
      fi
7781
      fi
8067
      ;;
7782
      ;;
8068
 
7783
 
8069
    cygwin* | mingw* | pw32* | cegcc*)
7784
    cygwin* | mingw* | pw32* | cegcc*)
8070
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7785
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8071
      # as there is no search path for DLLs.
7786
      # as there is no search path for DLLs.
8072
      hardcode_libdir_flag_spec='-L$libdir'
7787
      hardcode_libdir_flag_spec='-L$libdir'
8073
      allow_undefined_flag=unsupported
7788
      allow_undefined_flag=unsupported
8074
      always_export_symbols=no
7789
      always_export_symbols=no
8075
      enable_shared_with_static_runtimes=yes
7790
      enable_shared_with_static_runtimes=yes
8076
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7791
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8077
 
7792
 
8078
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7793
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8079
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7794
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8080
	# If the export-symbols file already is a .def file (1st line
7795
	# If the export-symbols file already is a .def file (1st line
8081
	# is EXPORTS), use it as is; otherwise, prepend...
7796
	# is EXPORTS), use it as is; otherwise, prepend...
8082
	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7797
	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8083
	  cp $export_symbols $output_objdir/$soname.def;
7798
	  cp $export_symbols $output_objdir/$soname.def;
8084
	else
7799
	else
8085
	  echo EXPORTS > $output_objdir/$soname.def;
7800
	  echo EXPORTS > $output_objdir/$soname.def;
8086
	  cat $export_symbols >> $output_objdir/$soname.def;
7801
	  cat $export_symbols >> $output_objdir/$soname.def;
8087
	fi~
7802
	fi~
8088
	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7803
	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8089
      else
7804
      else
8090
	ld_shlibs=no
7805
	ld_shlibs=no
8091
      fi
7806
      fi
8092
      ;;
7807
      ;;
8093
 
7808
 
8094
    interix[3-9]*)
7809
    interix[3-9]*)
8095
      hardcode_direct=no
7810
      hardcode_direct=no
8096
      hardcode_shlibpath_var=no
7811
      hardcode_shlibpath_var=no
8097
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7812
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8098
      export_dynamic_flag_spec='${wl}-E'
7813
      export_dynamic_flag_spec='${wl}-E'
8099
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7814
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8100
      # Instead, shared libraries are loaded at an image base (0x10000000 by
7815
      # Instead, shared libraries are loaded at an image base (0x10000000 by
8101
      # default) and relocated if they conflict, which is a slow very memory
7816
      # default) and relocated if they conflict, which is a slow very memory
8102
      # consuming and fragmenting process.  To avoid this, we pick a random,
7817
      # consuming and fragmenting process.  To avoid this, we pick a random,
8103
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7818
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8104
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7819
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8105
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7820
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8106
      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'
7821
      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'
8107
      ;;
7822
      ;;
8108
 
7823
 
8109
    gnu* | linux* | tpf* | k*bsd*-gnu)
7824
    gnu* | linux* | tpf* | k*bsd*-gnu)
8110
      tmp_diet=no
7825
      tmp_diet=no
8111
      if test "$host_os" = linux-dietlibc; then
7826
      if test "$host_os" = linux-dietlibc; then
8112
	case $cc_basename in
7827
	case $cc_basename in
8113
	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
7828
	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8114
	esac
7829
	esac
8115
      fi
7830
      fi
8116
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7831
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8117
	 && test "$tmp_diet" = no
7832
	 && test "$tmp_diet" = no
8118
      then
7833
      then
8119
	tmp_addflag=
7834
	tmp_addflag=
8120
	tmp_sharedflag='-shared'
7835
	tmp_sharedflag='-shared'
8121
	case $cc_basename,$host_cpu in
7836
	case $cc_basename,$host_cpu in
8122
        pgcc*)				# Portland Group C compiler
7837
        pgcc*)				# Portland Group C compiler
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'
7839
	  tmp_addflag=' $pic_flag'
8125
	  ;;
7840
	  ;;
8126
	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
7841
	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
8127
	  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'
7842
	  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'
8128
	  tmp_addflag=' $pic_flag -Mnomain' ;;
7843
	  tmp_addflag=' $pic_flag -Mnomain' ;;
8129
	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
7844
	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8130
	  tmp_addflag=' -i_dynamic' ;;
7845
	  tmp_addflag=' -i_dynamic' ;;
8131
	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
7846
	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8132
	  tmp_addflag=' -i_dynamic -nofor_main' ;;
7847
	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8133
	ifc* | ifort*)			# Intel Fortran compiler
7848
	ifc* | ifort*)			# Intel Fortran compiler
8134
	  tmp_addflag=' -nofor_main' ;;
7849
	  tmp_addflag=' -nofor_main' ;;
8135
	lf95*)				# Lahey Fortran 8.1
7850
	lf95*)				# Lahey Fortran 8.1
8136
	  whole_archive_flag_spec=
7851
	  whole_archive_flag_spec=
8137
	  tmp_sharedflag='--shared' ;;
7852
	  tmp_sharedflag='--shared' ;;
8138
	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
7853
	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
8139
	  tmp_sharedflag='-qmkshrobj'
7854
	  tmp_sharedflag='-qmkshrobj'
8140
	  tmp_addflag= ;;
7855
	  tmp_addflag= ;;
8141
	esac
7856
	esac
8142
	case `$CC -V 2>&1 | sed 5q` in
7857
	case `$CC -V 2>&1 | sed 5q` in
8143
	*Sun\ C*)			# Sun C 5.9
7858
	*Sun\ C*)			# Sun C 5.9
8144
	  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'
7859
	  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'
8145
	  compiler_needs_object=yes
7860
	  compiler_needs_object=yes
8146
	  tmp_sharedflag='-G' ;;
7861
	  tmp_sharedflag='-G' ;;
8147
	*Sun\ F*)			# Sun Fortran 8.3
7862
	*Sun\ F*)			# Sun Fortran 8.3
8148
	  tmp_sharedflag='-G' ;;
7863
	  tmp_sharedflag='-G' ;;
8149
	esac
7864
	esac
8150
	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7865
	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8151
 
7866
 
8152
        if test "x$supports_anon_versioning" = xyes; then
7867
        if test "x$supports_anon_versioning" = xyes; then
8153
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7868
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8154
	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7869
	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8155
	    echo "local: *; };" >> $output_objdir/$libname.ver~
7870
	    echo "local: *; };" >> $output_objdir/$libname.ver~
8156
	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7871
	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8157
        fi
7872
        fi
8158
 
7873
 
8159
	case $cc_basename in
7874
	case $cc_basename in
8160
	xlf*)
7875
	xlf*)
8161
	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7876
	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8162
	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
7877
	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8163
	  hardcode_libdir_flag_spec=
7878
	  hardcode_libdir_flag_spec=
8164
	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
7879
	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
8165
	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7880
	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8166
	  if test "x$supports_anon_versioning" = xyes; then
7881
	  if test "x$supports_anon_versioning" = xyes; then
8167
	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7882
	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8168
	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7883
	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8169
	      echo "local: *; };" >> $output_objdir/$libname.ver~
7884
	      echo "local: *; };" >> $output_objdir/$libname.ver~
8170
	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7885
	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8171
	  fi
7886
	  fi
8172
	  ;;
7887
	  ;;
8173
	esac
7888
	esac
8174
      else
7889
      else
8175
        ld_shlibs=no
7890
        ld_shlibs=no
8176
      fi
7891
      fi
8177
      ;;
7892
      ;;
8178
 
7893
 
8179
    netbsd* | netbsdelf*-gnu)
7894
    netbsd* | netbsdelf*-gnu)
8180
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7895
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8181
	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7896
	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8182
	wlarc=
7897
	wlarc=
8183
      else
7898
      else
8184
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7899
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8185
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7900
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8186
      fi
7901
      fi
8187
      ;;
7902
      ;;
8188
 
7903
 
8189
    solaris*)
7904
    solaris*)
8190
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7905
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8191
	ld_shlibs=no
7906
	ld_shlibs=no
8192
	cat <<_LT_EOF 1>&2
7907
	cat <<_LT_EOF 1>&2
8193
 
7908
 
8194
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7909
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8195
*** create shared libraries on Solaris systems.  Therefore, libtool
7910
*** create shared libraries on Solaris systems.  Therefore, libtool
8196
*** is disabling shared libraries support.  We urge you to upgrade GNU
7911
*** is disabling shared libraries support.  We urge you to upgrade GNU
8197
*** binutils to release 2.9.1 or newer.  Another option is to modify
7912
*** binutils to release 2.9.1 or newer.  Another option is to modify
8198
*** your PATH or compiler configuration so that the native linker is
7913
*** your PATH or compiler configuration so that the native linker is
8199
*** used, and then restart.
7914
*** used, and then restart.
8200
 
7915
 
8201
_LT_EOF
7916
_LT_EOF
8202
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7917
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8203
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7918
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8204
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7919
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8205
      else
7920
      else
8206
	ld_shlibs=no
7921
	ld_shlibs=no
8207
      fi
7922
      fi
8208
      ;;
7923
      ;;
8209
 
7924
 
8210
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7925
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8211
      case `$LD -v 2>&1` in
7926
      case `$LD -v 2>&1` in
8212
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7927
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8213
	ld_shlibs=no
7928
	ld_shlibs=no
8214
	cat <<_LT_EOF 1>&2
7929
	cat <<_LT_EOF 1>&2
8215
 
7930
 
8216
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7931
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8217
*** reliably create shared libraries on SCO systems.  Therefore, libtool
7932
*** reliably create shared libraries on SCO systems.  Therefore, libtool
8218
*** is disabling shared libraries support.  We urge you to upgrade GNU
7933
*** is disabling shared libraries support.  We urge you to upgrade GNU
8219
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7934
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8220
*** your PATH or compiler configuration so that the native linker is
7935
*** your PATH or compiler configuration so that the native linker is
8221
*** used, and then restart.
7936
*** used, and then restart.
8222
 
7937
 
8223
_LT_EOF
7938
_LT_EOF
8224
	;;
7939
	;;
8225
	*)
7940
	*)
8226
	  # For security reasons, it is highly recommended that you always
7941
	  # For security reasons, it is highly recommended that you always
8227
	  # use absolute paths for naming shared libraries, and exclude the
7942
	  # use absolute paths for naming shared libraries, and exclude the
8228
	  # DT_RUNPATH tag from executables and libraries.  But doing so
7943
	  # DT_RUNPATH tag from executables and libraries.  But doing so
8229
	  # requires that you compile everything twice, which is a pain.
7944
	  # requires that you compile everything twice, which is a pain.
8230
	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7945
	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8231
	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7946
	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8232
	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7947
	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8233
	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7948
	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8234
	  else
7949
	  else
8235
	    ld_shlibs=no
7950
	    ld_shlibs=no
8236
	  fi
7951
	  fi
8237
	;;
7952
	;;
8238
      esac
7953
      esac
8239
      ;;
7954
      ;;
8240
 
7955
 
8241
    sunos4*)
7956
    sunos4*)
8242
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7957
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8243
      wlarc=
7958
      wlarc=
8244
      hardcode_direct=yes
7959
      hardcode_direct=yes
8245
      hardcode_shlibpath_var=no
7960
      hardcode_shlibpath_var=no
8246
      ;;
7961
      ;;
8247
 
7962
 
8248
    *)
7963
    *)
8249
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7964
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8250
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7965
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8251
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7966
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8252
      else
7967
      else
8253
	ld_shlibs=no
7968
	ld_shlibs=no
8254
      fi
7969
      fi
8255
      ;;
7970
      ;;
8256
    esac
7971
    esac
8257
 
7972
 
8258
    if test "$ld_shlibs" = no; then
7973
    if test "$ld_shlibs" = no; then
8259
      runpath_var=
7974
      runpath_var=
8260
      hardcode_libdir_flag_spec=
7975
      hardcode_libdir_flag_spec=
8261
      export_dynamic_flag_spec=
7976
      export_dynamic_flag_spec=
8262
      whole_archive_flag_spec=
7977
      whole_archive_flag_spec=
8263
    fi
7978
    fi
8264
  else
7979
  else
8265
    # PORTME fill in a description of your system's linker (not GNU ld)
7980
    # PORTME fill in a description of your system's linker (not GNU ld)
8266
    case $host_os in
7981
    case $host_os in
8267
    aix3*)
7982
    aix3*)
8268
      allow_undefined_flag=unsupported
7983
      allow_undefined_flag=unsupported
8269
      always_export_symbols=yes
7984
      always_export_symbols=yes
8270
      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'
7985
      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'
8271
      # Note: this linker hardcodes the directories in LIBPATH if there
7986
      # Note: this linker hardcodes the directories in LIBPATH if there
8272
      # are no directories specified by -L.
7987
      # are no directories specified by -L.
8273
      hardcode_minus_L=yes
7988
      hardcode_minus_L=yes
8274
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7989
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8275
	# Neither direct hardcoding nor static linking is supported with a
7990
	# Neither direct hardcoding nor static linking is supported with a
8276
	# broken collect2.
7991
	# broken collect2.
8277
	hardcode_direct=unsupported
7992
	hardcode_direct=unsupported
8278
      fi
7993
      fi
8279
      ;;
7994
      ;;
8280
 
7995
 
8281
    aix[4-9]*)
7996
    aix[4-9]*)
8282
      if test "$host_cpu" = ia64; then
7997
      if test "$host_cpu" = ia64; then
8283
	# On IA64, the linker does run time linking by default, so we don't
7998
	# On IA64, the linker does run time linking by default, so we don't
8284
	# have to do anything special.
7999
	# have to do anything special.
8285
	aix_use_runtimelinking=no
8000
	aix_use_runtimelinking=no
8286
	exp_sym_flag='-Bexport'
8001
	exp_sym_flag='-Bexport'
8287
	no_entry_flag=""
8002
	no_entry_flag=""
8288
      else
8003
      else
8289
	# If we're using GNU nm, then we don't want the "-C" option.
8004
	# If we're using GNU nm, then we don't want the "-C" option.
8290
	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8005
	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8291
	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8006
	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8292
	  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'
8007
	  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'
8293
	else
8008
	else
8294
	  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'
8009
	  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'
8295
	fi
8010
	fi
8296
	aix_use_runtimelinking=no
8011
	aix_use_runtimelinking=no
8297
 
8012
 
8298
	# Test if we are trying to use run time linking or normal
8013
	# Test if we are trying to use run time linking or normal
8299
	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8014
	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8300
	# need to do runtime linking.
8015
	# need to do runtime linking.
8301
	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8016
	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8302
	  for ld_flag in $LDFLAGS; do
8017
	  for ld_flag in $LDFLAGS; do
8303
	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8018
	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8304
	    aix_use_runtimelinking=yes
8019
	    aix_use_runtimelinking=yes
8305
	    break
8020
	    break
8306
	  fi
8021
	  fi
8307
	  done
8022
	  done
8308
	  ;;
8023
	  ;;
8309
	esac
8024
	esac
8310
 
8025
 
8311
	exp_sym_flag='-bexport'
8026
	exp_sym_flag='-bexport'
8312
	no_entry_flag='-bnoentry'
8027
	no_entry_flag='-bnoentry'
8313
      fi
8028
      fi
8314
 
8029
 
8315
      # When large executables or shared objects are built, AIX ld can
8030
      # When large executables or shared objects are built, AIX ld can
8316
      # have problems creating the table of contents.  If linking a library
8031
      # have problems creating the table of contents.  If linking a library
8317
      # or program results in "error TOC overflow" add -mminimal-toc to
8032
      # or program results in "error TOC overflow" add -mminimal-toc to
8318
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8033
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8319
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8034
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8320
 
8035
 
8321
      archive_cmds=''
8036
      archive_cmds=''
8322
      hardcode_direct=yes
8037
      hardcode_direct=yes
8323
      hardcode_direct_absolute=yes
8038
      hardcode_direct_absolute=yes
8324
      hardcode_libdir_separator=':'
8039
      hardcode_libdir_separator=':'
8325
      link_all_deplibs=yes
8040
      link_all_deplibs=yes
8326
      file_list_spec='${wl}-f,'
8041
      file_list_spec='${wl}-f,'
8327
 
8042
 
8328
      if test "$GCC" = yes; then
8043
      if test "$GCC" = yes; then
8329
	case $host_os in aix4.[012]|aix4.[012].*)
8044
	case $host_os in aix4.[012]|aix4.[012].*)
8330
	# We only want to do this on AIX 4.2 and lower, the check
8045
	# We only want to do this on AIX 4.2 and lower, the check
8331
	# below for broken collect2 doesn't work under 4.3+
8046
	# below for broken collect2 doesn't work under 4.3+
8332
	  collect2name=`${CC} -print-prog-name=collect2`
8047
	  collect2name=`${CC} -print-prog-name=collect2`
8333
	  if test -f "$collect2name" &&
8048
	  if test -f "$collect2name" &&
8334
	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8049
	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8335
	  then
8050
	  then
8336
	  # We have reworked collect2
8051
	  # We have reworked collect2
8337
	  :
8052
	  :
8338
	  else
8053
	  else
8339
	  # We have old collect2
8054
	  # We have old collect2
8340
	  hardcode_direct=unsupported
8055
	  hardcode_direct=unsupported
8341
	  # It fails to find uninstalled libraries when the uninstalled
8056
	  # It fails to find uninstalled libraries when the uninstalled
8342
	  # path is not listed in the libpath.  Setting hardcode_minus_L
8057
	  # path is not listed in the libpath.  Setting hardcode_minus_L
8343
	  # to unsupported forces relinking
8058
	  # to unsupported forces relinking
8344
	  hardcode_minus_L=yes
8059
	  hardcode_minus_L=yes
8345
	  hardcode_libdir_flag_spec='-L$libdir'
8060
	  hardcode_libdir_flag_spec='-L$libdir'
8346
	  hardcode_libdir_separator=
8061
	  hardcode_libdir_separator=
8347
	  fi
8062
	  fi
8348
	  ;;
8063
	  ;;
8349
	esac
8064
	esac
8350
	shared_flag='-shared'
8065
	shared_flag='-shared'
8351
	if test "$aix_use_runtimelinking" = yes; then
8066
	if test "$aix_use_runtimelinking" = yes; then
8352
	  shared_flag="$shared_flag "'${wl}-G'
8067
	  shared_flag="$shared_flag "'${wl}-G'
8353
	fi
8068
	fi
8354
	link_all_deplibs=no
8069
	link_all_deplibs=no
8355
      else
8070
      else
8356
	# not using gcc
8071
	# not using gcc
8357
	if test "$host_cpu" = ia64; then
8072
	if test "$host_cpu" = ia64; then
8358
	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8073
	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8359
	# chokes on -Wl,-G. The following line is correct:
8074
	# chokes on -Wl,-G. The following line is correct:
8360
	  shared_flag='-G'
8075
	  shared_flag='-G'
8361
	else
8076
	else
8362
	  if test "$aix_use_runtimelinking" = yes; then
8077
	  if test "$aix_use_runtimelinking" = yes; then
8363
	    shared_flag='${wl}-G'
8078
	    shared_flag='${wl}-G'
8364
	  else
8079
	  else
8365
	    shared_flag='${wl}-bM:SRE'
8080
	    shared_flag='${wl}-bM:SRE'
8366
	  fi
8081
	  fi
8367
	fi
8082
	fi
8368
      fi
8083
      fi
8369
 
8084
 
8370
      export_dynamic_flag_spec='${wl}-bexpall'
8085
      export_dynamic_flag_spec='${wl}-bexpall'
8371
      # It seems that -bexpall does not export symbols beginning with
8086
      # It seems that -bexpall does not export symbols beginning with
8372
      # underscore (_), so it is better to generate a list of symbols to export.
8087
      # underscore (_), so it is better to generate a list of symbols to export.
8373
      always_export_symbols=yes
8088
      always_export_symbols=yes
8374
      if test "$aix_use_runtimelinking" = yes; then
8089
      if test "$aix_use_runtimelinking" = yes; then
8375
	# Warning - without using the other runtime loading flags (-brtl),
8090
	# Warning - without using the other runtime loading flags (-brtl),
8376
	# -berok will link without error, but may produce a broken library.
8091
	# -berok will link without error, but may produce a broken library.
8377
	allow_undefined_flag='-berok'
8092
	allow_undefined_flag='-berok'
8378
        # Determine the default libpath from the value encoded in an
8093
        # Determine the default libpath from the value encoded in an
8379
        # empty executable.
8094
        # empty executable.
8380
        cat >conftest.$ac_ext <<_ACEOF
-
 
8381
/* confdefs.h.  */
-
 
8382
_ACEOF
-
 
8383
cat confdefs.h >>conftest.$ac_ext
8095
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8384
cat >>conftest.$ac_ext <<_ACEOF
-
 
8385
/* end confdefs.h.  */
8096
/* end confdefs.h.  */
8386
 
8097
 
8387
int
8098
int
8388
main ()
8099
main ()
8389
{
8100
{
8390
 
8101
 
8391
  ;
8102
  ;
8392
  return 0;
8103
  return 0;
8393
}
8104
}
8394
_ACEOF
8105
_ACEOF
8395
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
8396
if { (ac_try="$ac_link"
-
 
8397
case "(($ac_try" in
-
 
8398
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
8399
  *) ac_try_echo=$ac_try;;
-
 
8400
esac
-
 
8401
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
8402
$as_echo "$ac_try_echo") >&5
-
 
8403
  (eval "$ac_link") 2>conftest.er1
8106
if ac_fn_c_try_link "$LINENO"; then :
8404
  ac_status=$?
-
 
8405
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
8406
  rm -f conftest.er1
-
 
8407
  cat conftest.err >&5
-
 
8408
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
8409
  (exit $ac_status); } && {
-
 
8410
	 test -z "$ac_c_werror_flag" ||
-
 
8411
	 test ! -s conftest.err
-
 
8412
       } && test -s conftest$ac_exeext && {
-
 
8413
	 test "$cross_compiling" = yes ||
-
 
8414
	 $as_test_x conftest$ac_exeext
-
 
8415
       }; then
-
 
8416
  
8107
  
8417
lt_aix_libpath_sed='
8108
lt_aix_libpath_sed='
8418
    /Import File Strings/,/^$/ {
8109
    /Import File Strings/,/^$/ {
8419
	/^0/ {
8110
	/^0/ {
8420
	    s/^0  *\(.*\)$/\1/
8111
	    s/^0  *\(.*\)$/\1/
8421
	    p
8112
	    p
8422
	}
8113
	}
8423
    }'
8114
    }'
8424
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8115
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8425
# Check for a 64-bit object if we didn't find anything.
8116
# Check for a 64-bit object if we didn't find anything.
8426
if test -z "$aix_libpath"; then
8117
if test -z "$aix_libpath"; then
8427
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8118
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8428
fi
8119
fi
8429
else
-
 
8430
  $as_echo "$as_me: failed program was:" >&5
-
 
8431
sed 's/^/| /' conftest.$ac_ext >&5
-
 
8432
 
-
 
8433
	
-
 
8434
fi
8120
fi
8435
 
-
 
8436
rm -rf conftest.dSYM
-
 
8437
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8121
rm -f core conftest.err conftest.$ac_objext \
8438
      conftest$ac_exeext conftest.$ac_ext
8122
    conftest$ac_exeext conftest.$ac_ext
8439
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8123
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8440
 
8124
 
8441
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8125
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8442
        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"
8126
        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"
8443
      else
8127
      else
8444
	if test "$host_cpu" = ia64; then
8128
	if test "$host_cpu" = ia64; then
8445
	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8129
	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8446
	  allow_undefined_flag="-z nodefs"
8130
	  allow_undefined_flag="-z nodefs"
8447
	  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"
8131
	  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"
8448
	else
8132
	else
8449
	 # Determine the default libpath from the value encoded in an
8133
	 # Determine the default libpath from the value encoded in an
8450
	 # empty executable.
8134
	 # empty executable.
8451
	 cat >conftest.$ac_ext <<_ACEOF
-
 
8452
/* confdefs.h.  */
-
 
8453
_ACEOF
-
 
8454
cat confdefs.h >>conftest.$ac_ext
8135
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8455
cat >>conftest.$ac_ext <<_ACEOF
-
 
8456
/* end confdefs.h.  */
8136
/* end confdefs.h.  */
8457
 
8137
 
8458
int
8138
int
8459
main ()
8139
main ()
8460
{
8140
{
8461
 
8141
 
8462
  ;
8142
  ;
8463
  return 0;
8143
  return 0;
8464
}
8144
}
8465
_ACEOF
8145
_ACEOF
8466
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
8467
if { (ac_try="$ac_link"
-
 
8468
case "(($ac_try" in
-
 
8469
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
8470
  *) ac_try_echo=$ac_try;;
-
 
8471
esac
-
 
8472
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
8473
$as_echo "$ac_try_echo") >&5
-
 
8474
  (eval "$ac_link") 2>conftest.er1
8146
if ac_fn_c_try_link "$LINENO"; then :
8475
  ac_status=$?
-
 
8476
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
8477
  rm -f conftest.er1
-
 
8478
  cat conftest.err >&5
-
 
8479
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
8480
  (exit $ac_status); } && {
-
 
8481
	 test -z "$ac_c_werror_flag" ||
-
 
8482
	 test ! -s conftest.err
-
 
8483
       } && test -s conftest$ac_exeext && {
-
 
8484
	 test "$cross_compiling" = yes ||
-
 
8485
	 $as_test_x conftest$ac_exeext
-
 
8486
       }; then
-
 
8487
  
8147
  
8488
lt_aix_libpath_sed='
8148
lt_aix_libpath_sed='
8489
    /Import File Strings/,/^$/ {
8149
    /Import File Strings/,/^$/ {
8490
	/^0/ {
8150
	/^0/ {
8491
	    s/^0  *\(.*\)$/\1/
8151
	    s/^0  *\(.*\)$/\1/
8492
	    p
8152
	    p
8493
	}
8153
	}
8494
    }'
8154
    }'
8495
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8155
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8496
# Check for a 64-bit object if we didn't find anything.
8156
# Check for a 64-bit object if we didn't find anything.
8497
if test -z "$aix_libpath"; then
8157
if test -z "$aix_libpath"; then
8498
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8158
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8499
fi
8159
fi
8500
else
-
 
8501
  $as_echo "$as_me: failed program was:" >&5
-
 
8502
sed 's/^/| /' conftest.$ac_ext >&5
-
 
8503
 
-
 
8504
	
-
 
8505
fi
8160
fi
8506
 
-
 
8507
rm -rf conftest.dSYM
-
 
8508
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8161
rm -f core conftest.err conftest.$ac_objext \
8509
      conftest$ac_exeext conftest.$ac_ext
8162
    conftest$ac_exeext conftest.$ac_ext
8510
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8163
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8511
 
8164
 
8512
	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8165
	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8513
	  # Warning - without using the other run time loading flags,
8166
	  # Warning - without using the other run time loading flags,
8514
	  # -berok will link without error, but may produce a broken library.
8167
	  # -berok will link without error, but may produce a broken library.
8515
	  no_undefined_flag=' ${wl}-bernotok'
8168
	  no_undefined_flag=' ${wl}-bernotok'
8516
	  allow_undefined_flag=' ${wl}-berok'
8169
	  allow_undefined_flag=' ${wl}-berok'
8517
	  # Exported symbols can be pulled into shared objects from archives
8170
	  # Exported symbols can be pulled into shared objects from archives
8518
	  whole_archive_flag_spec='$convenience'
8171
	  whole_archive_flag_spec='$convenience'
8519
	  archive_cmds_need_lc=yes
8172
	  archive_cmds_need_lc=yes
8520
	  # This is similar to how AIX traditionally builds its shared libraries.
8173
	  # This is similar to how AIX traditionally builds its shared libraries.
8521
	  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'
8174
	  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'
8522
	fi
8175
	fi
8523
      fi
8176
      fi
8524
      ;;
8177
      ;;
8525
 
8178
 
8526
    amigaos*)
8179
    amigaos*)
8527
      case $host_cpu in
8180
      case $host_cpu in
8528
      powerpc)
8181
      powerpc)
8529
            # see comment about AmigaOS4 .so support
8182
            # see comment about AmigaOS4 .so support
8530
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8183
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8531
            archive_expsym_cmds=''
8184
            archive_expsym_cmds=''
8532
        ;;
8185
        ;;
8533
      m68k)
8186
      m68k)
8534
            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)'
8187
            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)'
8535
            hardcode_libdir_flag_spec='-L$libdir'
8188
            hardcode_libdir_flag_spec='-L$libdir'
8536
            hardcode_minus_L=yes
8189
            hardcode_minus_L=yes
8537
        ;;
8190
        ;;
8538
      esac
8191
      esac
8539
      ;;
8192
      ;;
8540
 
8193
 
8541
    bsdi[45]*)
8194
    bsdi[45]*)
8542
      export_dynamic_flag_spec=-rdynamic
8195
      export_dynamic_flag_spec=-rdynamic
8543
      ;;
8196
      ;;
8544
 
8197
 
8545
    cygwin* | mingw* | pw32* | cegcc*)
8198
    cygwin* | mingw* | pw32* | cegcc*)
8546
      # When not using gcc, we currently assume that we are using
8199
      # When not using gcc, we currently assume that we are using
8547
      # Microsoft Visual C++.
8200
      # Microsoft Visual C++.
8548
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8201
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8549
      # no search path for DLLs.
8202
      # no search path for DLLs.
8550
      hardcode_libdir_flag_spec=' '
8203
      hardcode_libdir_flag_spec=' '
8551
      allow_undefined_flag=unsupported
8204
      allow_undefined_flag=unsupported
8552
      # Tell ltmain to make .lib files, not .a files.
8205
      # Tell ltmain to make .lib files, not .a files.
8553
      libext=lib
8206
      libext=lib
8554
      # Tell ltmain to make .dll files, not .so files.
8207
      # Tell ltmain to make .dll files, not .so files.
8555
      shrext_cmds=".dll"
8208
      shrext_cmds=".dll"
8556
      # FIXME: Setting linknames here is a bad hack.
8209
      # FIXME: Setting linknames here is a bad hack.
8557
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8210
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8558
      # The linker will automatically build a .lib file if we build a DLL.
8211
      # The linker will automatically build a .lib file if we build a DLL.
8559
      old_archive_from_new_cmds='true'
8212
      old_archive_from_new_cmds='true'
8560
      # FIXME: Should let the user specify the lib program.
8213
      # FIXME: Should let the user specify the lib program.
8561
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8214
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8562
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8215
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8563
      enable_shared_with_static_runtimes=yes
8216
      enable_shared_with_static_runtimes=yes
8564
      ;;
8217
      ;;
8565
 
8218
 
8566
    darwin* | rhapsody*)
8219
    darwin* | rhapsody*)
8567
      
8220
      
8568
  
8221
  
8569
  archive_cmds_need_lc=no
8222
  archive_cmds_need_lc=no
8570
  hardcode_direct=no
8223
  hardcode_direct=no
8571
  hardcode_automatic=yes
8224
  hardcode_automatic=yes
8572
  hardcode_shlibpath_var=unsupported
8225
  hardcode_shlibpath_var=unsupported
8573
  whole_archive_flag_spec=''
8226
  whole_archive_flag_spec=''
8574
  link_all_deplibs=yes
8227
  link_all_deplibs=yes
8575
  allow_undefined_flag="$_lt_dar_allow_undefined"
8228
  allow_undefined_flag="$_lt_dar_allow_undefined"
8576
  case $cc_basename in
8229
  case $cc_basename in
8577
     ifort*) _lt_dar_can_shared=yes ;;
8230
     ifort*) _lt_dar_can_shared=yes ;;
8578
     *) _lt_dar_can_shared=$GCC ;;
8231
     *) _lt_dar_can_shared=$GCC ;;
8579
  esac
8232
  esac
8580
  if test "$_lt_dar_can_shared" = "yes"; then
8233
  if test "$_lt_dar_can_shared" = "yes"; then
8581
    output_verbose_link_cmd=echo
8234
    output_verbose_link_cmd=echo
8582
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8235
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8583
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8236
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8584
    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}"
8237
    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}"
8585
    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}"
8238
    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}"
8586
    
8239
    
8587
  else
8240
  else
8588
  ld_shlibs=no
8241
  ld_shlibs=no
8589
  fi
8242
  fi
8590
 
8243
 
8591
      ;;
8244
      ;;
8592
 
8245
 
8593
    dgux*)
8246
    dgux*)
8594
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8247
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8595
      hardcode_libdir_flag_spec='-L$libdir'
8248
      hardcode_libdir_flag_spec='-L$libdir'
8596
      hardcode_shlibpath_var=no
8249
      hardcode_shlibpath_var=no
8597
      ;;
8250
      ;;
8598
 
8251
 
8599
    freebsd1*)
8252
    freebsd1*)
8600
      ld_shlibs=no
8253
      ld_shlibs=no
8601
      ;;
8254
      ;;
8602
 
8255
 
8603
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8256
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8604
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8257
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8605
    # does not break anything, and helps significantly (at the cost of a little
8258
    # does not break anything, and helps significantly (at the cost of a little
8606
    # extra space).
8259
    # extra space).
8607
    freebsd2.2*)
8260
    freebsd2.2*)
8608
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8261
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8609
      hardcode_libdir_flag_spec='-R$libdir'
8262
      hardcode_libdir_flag_spec='-R$libdir'
8610
      hardcode_direct=yes
8263
      hardcode_direct=yes
8611
      hardcode_shlibpath_var=no
8264
      hardcode_shlibpath_var=no
8612
      ;;
8265
      ;;
8613
 
8266
 
8614
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8267
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8615
    freebsd2*)
8268
    freebsd2*)
8616
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8269
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8617
      hardcode_direct=yes
8270
      hardcode_direct=yes
8618
      hardcode_minus_L=yes
8271
      hardcode_minus_L=yes
8619
      hardcode_shlibpath_var=no
8272
      hardcode_shlibpath_var=no
8620
      ;;
8273
      ;;
8621
 
8274
 
8622
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8275
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8623
    freebsd* | dragonfly*)
8276
    freebsd* | dragonfly*)
8624
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8277
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8625
      hardcode_libdir_flag_spec='-R$libdir'
8278
      hardcode_libdir_flag_spec='-R$libdir'
8626
      hardcode_direct=yes
8279
      hardcode_direct=yes
8627
      hardcode_shlibpath_var=no
8280
      hardcode_shlibpath_var=no
8628
      ;;
8281
      ;;
8629
 
8282
 
8630
    hpux9*)
8283
    hpux9*)
8631
      if test "$GCC" = yes; then
8284
      if test "$GCC" = yes; then
8632
	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'
8285
	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'
8633
      else
8286
      else
8634
	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'
8287
	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'
8635
      fi
8288
      fi
8636
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8289
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8637
      hardcode_libdir_separator=:
8290
      hardcode_libdir_separator=:
8638
      hardcode_direct=yes
8291
      hardcode_direct=yes
8639
 
8292
 
8640
      # hardcode_minus_L: Not really in the search PATH,
8293
      # hardcode_minus_L: Not really in the search PATH,
8641
      # but as the default location of the library.
8294
      # but as the default location of the library.
8642
      hardcode_minus_L=yes
8295
      hardcode_minus_L=yes
8643
      export_dynamic_flag_spec='${wl}-E'
8296
      export_dynamic_flag_spec='${wl}-E'
8644
      ;;
8297
      ;;
8645
 
8298
 
8646
    hpux10*)
8299
    hpux10*)
8647
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8300
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8648
	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8301
	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8649
      else
8302
      else
8650
	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8303
	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8651
      fi
8304
      fi
8652
      if test "$with_gnu_ld" = no; then
8305
      if test "$with_gnu_ld" = no; then
8653
	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8306
	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8654
	hardcode_libdir_flag_spec_ld='+b $libdir'
8307
	hardcode_libdir_flag_spec_ld='+b $libdir'
8655
	hardcode_libdir_separator=:
8308
	hardcode_libdir_separator=:
8656
	hardcode_direct=yes
8309
	hardcode_direct=yes
8657
	hardcode_direct_absolute=yes
8310
	hardcode_direct_absolute=yes
8658
	export_dynamic_flag_spec='${wl}-E'
8311
	export_dynamic_flag_spec='${wl}-E'
8659
	# hardcode_minus_L: Not really in the search PATH,
8312
	# hardcode_minus_L: Not really in the search PATH,
8660
	# but as the default location of the library.
8313
	# but as the default location of the library.
8661
	hardcode_minus_L=yes
8314
	hardcode_minus_L=yes
8662
      fi
8315
      fi
8663
      ;;
8316
      ;;
8664
 
8317
 
8665
    hpux11*)
8318
    hpux11*)
8666
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8319
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8667
	case $host_cpu in
8320
	case $host_cpu in
8668
	hppa*64*)
8321
	hppa*64*)
8669
	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8322
	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8670
	  ;;
8323
	  ;;
8671
	ia64*)
8324
	ia64*)
8672
	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8325
	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8673
	  ;;
8326
	  ;;
8674
	*)
8327
	*)
8675
	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8328
	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8676
	  ;;
8329
	  ;;
8677
	esac
8330
	esac
8678
      else
8331
      else
8679
	case $host_cpu in
8332
	case $host_cpu in
8680
	hppa*64*)
8333
	hppa*64*)
8681
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8334
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8682
	  ;;
8335
	  ;;
8683
	ia64*)
8336
	ia64*)
8684
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8337
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8685
	  ;;
8338
	  ;;
8686
	*)
8339
	*)
8687
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8340
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8688
	  ;;
8341
	  ;;
8689
	esac
8342
	esac
8690
      fi
8343
      fi
8691
      if test "$with_gnu_ld" = no; then
8344
      if test "$with_gnu_ld" = no; then
8692
	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8345
	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8693
	hardcode_libdir_separator=:
8346
	hardcode_libdir_separator=:
8694
 
8347
 
8695
	case $host_cpu in
8348
	case $host_cpu in
8696
	hppa*64*|ia64*)
8349
	hppa*64*|ia64*)
8697
	  hardcode_direct=no
8350
	  hardcode_direct=no
8698
	  hardcode_shlibpath_var=no
8351
	  hardcode_shlibpath_var=no
8699
	  ;;
8352
	  ;;
8700
	*)
8353
	*)
8701
	  hardcode_direct=yes
8354
	  hardcode_direct=yes
8702
	  hardcode_direct_absolute=yes
8355
	  hardcode_direct_absolute=yes
8703
	  export_dynamic_flag_spec='${wl}-E'
8356
	  export_dynamic_flag_spec='${wl}-E'
8704
 
8357
 
8705
	  # hardcode_minus_L: Not really in the search PATH,
8358
	  # hardcode_minus_L: Not really in the search PATH,
8706
	  # but as the default location of the library.
8359
	  # but as the default location of the library.
8707
	  hardcode_minus_L=yes
8360
	  hardcode_minus_L=yes
8708
	  ;;
8361
	  ;;
8709
	esac
8362
	esac
8710
      fi
8363
      fi
8711
      ;;
8364
      ;;
8712
 
8365
 
8713
    irix5* | irix6* | nonstopux*)
8366
    irix5* | irix6* | nonstopux*)
8714
      if test "$GCC" = yes; then
8367
      if test "$GCC" = yes; then
8715
	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'
8368
	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'
8716
	# Try to use the -exported_symbol ld option, if it does not
8369
	# Try to use the -exported_symbol ld option, if it does not
8717
	# work, assume that -exports_file does not work either and
8370
	# work, assume that -exports_file does not work either and
8718
	# implicitly export all symbols.
8371
	# implicitly export all symbols.
8719
        save_LDFLAGS="$LDFLAGS"
8372
        save_LDFLAGS="$LDFLAGS"
8720
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8373
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8721
        cat >conftest.$ac_ext <<_ACEOF
8374
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-
 
8375
/* end confdefs.h.  */
8722
int foo(void) {}
8376
int foo(void) {}
8723
_ACEOF
8377
_ACEOF
8724
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
8725
if { (ac_try="$ac_link"
-
 
8726
case "(($ac_try" in
-
 
8727
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
8728
  *) ac_try_echo=$ac_try;;
-
 
8729
esac
-
 
8730
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
8731
$as_echo "$ac_try_echo") >&5
-
 
8732
  (eval "$ac_link") 2>conftest.er1
8378
if ac_fn_c_try_link "$LINENO"; then :
8733
  ac_status=$?
-
 
8734
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
8735
  rm -f conftest.er1
-
 
8736
  cat conftest.err >&5
-
 
8737
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
8738
  (exit $ac_status); } && {
-
 
8739
	 test -z "$ac_c_werror_flag" ||
-
 
8740
	 test ! -s conftest.err
-
 
8741
       } && test -s conftest$ac_exeext && {
-
 
8742
	 test "$cross_compiling" = yes ||
-
 
8743
	 $as_test_x conftest$ac_exeext
-
 
8744
       }; then
-
 
8745
  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'
8379
  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'
8746
        
8380
        
8747
else
-
 
8748
  $as_echo "$as_me: failed program was:" >&5
-
 
8749
sed 's/^/| /' conftest.$ac_ext >&5
-
 
8750
 
-
 
8751
	
-
 
8752
fi
8381
fi
8753
 
-
 
8754
rm -rf conftest.dSYM
-
 
8755
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8382
rm -f core conftest.err conftest.$ac_objext \
8756
      conftest$ac_exeext conftest.$ac_ext
8383
    conftest$ac_exeext conftest.$ac_ext
8757
        LDFLAGS="$save_LDFLAGS"
8384
        LDFLAGS="$save_LDFLAGS"
8758
      else
8385
      else
8759
	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'
8386
	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'
8760
	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'
8387
	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'
8761
      fi
8388
      fi
8762
      archive_cmds_need_lc='no'
8389
      archive_cmds_need_lc='no'
8763
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8390
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8764
      hardcode_libdir_separator=:
8391
      hardcode_libdir_separator=:
8765
      inherit_rpath=yes
8392
      inherit_rpath=yes
8766
      link_all_deplibs=yes
8393
      link_all_deplibs=yes
8767
      ;;
8394
      ;;
8768
 
8395
 
8769
    netbsd* | netbsdelf*-gnu)
8396
    netbsd* | netbsdelf*-gnu)
8770
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8397
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8771
	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8398
	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8772
      else
8399
      else
8773
	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8400
	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8774
      fi
8401
      fi
8775
      hardcode_libdir_flag_spec='-R$libdir'
8402
      hardcode_libdir_flag_spec='-R$libdir'
8776
      hardcode_direct=yes
8403
      hardcode_direct=yes
8777
      hardcode_shlibpath_var=no
8404
      hardcode_shlibpath_var=no
8778
      ;;
8405
      ;;
8779
 
8406
 
8780
    newsos6)
8407
    newsos6)
8781
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8408
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8782
      hardcode_direct=yes
8409
      hardcode_direct=yes
8783
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8410
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8784
      hardcode_libdir_separator=:
8411
      hardcode_libdir_separator=:
8785
      hardcode_shlibpath_var=no
8412
      hardcode_shlibpath_var=no
8786
      ;;
8413
      ;;
8787
 
8414
 
8788
    *nto* | *qnx*)
8415
    *nto* | *qnx*)
8789
      ;;
8416
      ;;
8790
 
8417
 
8791
    openbsd*)
8418
    openbsd*)
8792
      if test -f /usr/libexec/ld.so; then
8419
      if test -f /usr/libexec/ld.so; then
8793
	hardcode_direct=yes
8420
	hardcode_direct=yes
8794
	hardcode_shlibpath_var=no
8421
	hardcode_shlibpath_var=no
8795
	hardcode_direct_absolute=yes
8422
	hardcode_direct_absolute=yes
8796
	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8423
	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8797
	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8424
	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8798
	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8425
	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8799
	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8426
	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8800
	  export_dynamic_flag_spec='${wl}-E'
8427
	  export_dynamic_flag_spec='${wl}-E'
8801
	else
8428
	else
8802
	  case $host_os in
8429
	  case $host_os in
8803
	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8430
	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8804
	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8431
	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8805
	     hardcode_libdir_flag_spec='-R$libdir'
8432
	     hardcode_libdir_flag_spec='-R$libdir'
8806
	     ;;
8433
	     ;;
8807
	   *)
8434
	   *)
8808
	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8435
	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8809
	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8436
	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8810
	     ;;
8437
	     ;;
8811
	  esac
8438
	  esac
8812
	fi
8439
	fi
8813
      else
8440
      else
8814
	ld_shlibs=no
8441
	ld_shlibs=no
8815
      fi
8442
      fi
8816
      ;;
8443
      ;;
8817
 
8444
 
8818
    os2*)
8445
    os2*)
8819
      hardcode_libdir_flag_spec='-L$libdir'
8446
      hardcode_libdir_flag_spec='-L$libdir'
8820
      hardcode_minus_L=yes
8447
      hardcode_minus_L=yes
8821
      allow_undefined_flag=unsupported
8448
      allow_undefined_flag=unsupported
8822
      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'
8449
      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'
8823
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8450
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8824
      ;;
8451
      ;;
8825
 
8452
 
8826
    osf3*)
8453
    osf3*)
8827
      if test "$GCC" = yes; then
8454
      if test "$GCC" = yes; then
8828
	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8455
	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8829
	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'
8456
	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'
8830
      else
8457
      else
8831
	allow_undefined_flag=' -expect_unresolved \*'
8458
	allow_undefined_flag=' -expect_unresolved \*'
8832
	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'
8459
	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'
8833
      fi
8460
      fi
8834
      archive_cmds_need_lc='no'
8461
      archive_cmds_need_lc='no'
8835
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8462
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8836
      hardcode_libdir_separator=:
8463
      hardcode_libdir_separator=:
8837
      ;;
8464
      ;;
8838
 
8465
 
8839
    osf4* | osf5*)	# as osf3* with the addition of -msym flag
8466
    osf4* | osf5*)	# as osf3* with the addition of -msym flag
8840
      if test "$GCC" = yes; then
8467
      if test "$GCC" = yes; then
8841
	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8468
	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8842
	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'
8469
	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'
8843
	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8470
	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8844
      else
8471
      else
8845
	allow_undefined_flag=' -expect_unresolved \*'
8472
	allow_undefined_flag=' -expect_unresolved \*'
8846
	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'
8473
	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'
8847
	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~
8474
	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~
8848
	$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'
8475
	$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'
8849
 
8476
 
8850
	# Both c and cxx compiler support -rpath directly
8477
	# Both c and cxx compiler support -rpath directly
8851
	hardcode_libdir_flag_spec='-rpath $libdir'
8478
	hardcode_libdir_flag_spec='-rpath $libdir'
8852
      fi
8479
      fi
8853
      archive_cmds_need_lc='no'
8480
      archive_cmds_need_lc='no'
8854
      hardcode_libdir_separator=:
8481
      hardcode_libdir_separator=:
8855
      ;;
8482
      ;;
8856
 
8483
 
8857
    solaris*)
8484
    solaris*)
8858
      no_undefined_flag=' -z defs'
8485
      no_undefined_flag=' -z defs'
8859
      if test "$GCC" = yes; then
8486
      if test "$GCC" = yes; then
8860
	wlarc='${wl}'
8487
	wlarc='${wl}'
8861
	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8488
	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8862
	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8489
	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8863
	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8490
	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8864
      else
8491
      else
8865
	case `$CC -V 2>&1` in
8492
	case `$CC -V 2>&1` in
8866
	*"Compilers 5.0"*)
8493
	*"Compilers 5.0"*)
8867
	  wlarc=''
8494
	  wlarc=''
8868
	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8495
	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8869
	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8496
	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8870
	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8497
	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8871
	  ;;
8498
	  ;;
8872
	*)
8499
	*)
8873
	  wlarc='${wl}'
8500
	  wlarc='${wl}'
8874
	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8501
	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8875
	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8502
	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8876
	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8503
	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8877
	  ;;
8504
	  ;;
8878
	esac
8505
	esac
8879
      fi
8506
      fi
8880
      hardcode_libdir_flag_spec='-R$libdir'
8507
      hardcode_libdir_flag_spec='-R$libdir'
8881
      hardcode_shlibpath_var=no
8508
      hardcode_shlibpath_var=no
8882
      case $host_os in
8509
      case $host_os in
8883
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8510
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8884
      *)
8511
      *)
8885
	# The compiler driver will combine and reorder linker options,
8512
	# The compiler driver will combine and reorder linker options,
8886
	# but understands `-z linker_flag'.  GCC discards it without `$wl',
8513
	# but understands `-z linker_flag'.  GCC discards it without `$wl',
8887
	# but is careful enough not to reorder.
8514
	# but is careful enough not to reorder.
8888
	# Supported since Solaris 2.6 (maybe 2.5.1?)
8515
	# Supported since Solaris 2.6 (maybe 2.5.1?)
8889
	if test "$GCC" = yes; then
8516
	if test "$GCC" = yes; then
8890
	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8517
	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8891
	else
8518
	else
8892
	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8519
	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8893
	fi
8520
	fi
8894
	;;
8521
	;;
8895
      esac
8522
      esac
8896
      link_all_deplibs=yes
8523
      link_all_deplibs=yes
8897
      ;;
8524
      ;;
8898
 
8525
 
8899
    sunos4*)
8526
    sunos4*)
8900
      if test "x$host_vendor" = xsequent; then
8527
      if test "x$host_vendor" = xsequent; then
8901
	# Use $CC to link under sequent, because it throws in some extra .o
8528
	# Use $CC to link under sequent, because it throws in some extra .o
8902
	# files that make .init and .fini sections work.
8529
	# files that make .init and .fini sections work.
8903
	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8530
	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8904
      else
8531
      else
8905
	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8532
	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8906
      fi
8533
      fi
8907
      hardcode_libdir_flag_spec='-L$libdir'
8534
      hardcode_libdir_flag_spec='-L$libdir'
8908
      hardcode_direct=yes
8535
      hardcode_direct=yes
8909
      hardcode_minus_L=yes
8536
      hardcode_minus_L=yes
8910
      hardcode_shlibpath_var=no
8537
      hardcode_shlibpath_var=no
8911
      ;;
8538
      ;;
8912
 
8539
 
8913
    sysv4)
8540
    sysv4)
8914
      case $host_vendor in
8541
      case $host_vendor in
8915
	sni)
8542
	sni)
8916
	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8543
	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8917
	  hardcode_direct=yes # is this really true???
8544
	  hardcode_direct=yes # is this really true???
8918
	;;
8545
	;;
8919
	siemens)
8546
	siemens)
8920
	  ## LD is ld it makes a PLAMLIB
8547
	  ## LD is ld it makes a PLAMLIB
8921
	  ## CC just makes a GrossModule.
8548
	  ## CC just makes a GrossModule.
8922
	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8549
	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8923
	  reload_cmds='$CC -r -o $output$reload_objs'
8550
	  reload_cmds='$CC -r -o $output$reload_objs'
8924
	  hardcode_direct=no
8551
	  hardcode_direct=no
8925
        ;;
8552
        ;;
8926
	motorola)
8553
	motorola)
8927
	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8554
	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8928
	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8555
	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8929
	;;
8556
	;;
8930
      esac
8557
      esac
8931
      runpath_var='LD_RUN_PATH'
8558
      runpath_var='LD_RUN_PATH'
8932
      hardcode_shlibpath_var=no
8559
      hardcode_shlibpath_var=no
8933
      ;;
8560
      ;;
8934
 
8561
 
8935
    sysv4.3*)
8562
    sysv4.3*)
8936
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8563
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8937
      hardcode_shlibpath_var=no
8564
      hardcode_shlibpath_var=no
8938
      export_dynamic_flag_spec='-Bexport'
8565
      export_dynamic_flag_spec='-Bexport'
8939
      ;;
8566
      ;;
8940
 
8567
 
8941
    sysv4*MP*)
8568
    sysv4*MP*)
8942
      if test -d /usr/nec; then
8569
      if test -d /usr/nec; then
8943
	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8570
	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8944
	hardcode_shlibpath_var=no
8571
	hardcode_shlibpath_var=no
8945
	runpath_var=LD_RUN_PATH
8572
	runpath_var=LD_RUN_PATH
8946
	hardcode_runpath_var=yes
8573
	hardcode_runpath_var=yes
8947
	ld_shlibs=yes
8574
	ld_shlibs=yes
8948
      fi
8575
      fi
8949
      ;;
8576
      ;;
8950
 
8577
 
8951
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8578
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8952
      no_undefined_flag='${wl}-z,text'
8579
      no_undefined_flag='${wl}-z,text'
8953
      archive_cmds_need_lc=no
8580
      archive_cmds_need_lc=no
8954
      hardcode_shlibpath_var=no
8581
      hardcode_shlibpath_var=no
8955
      runpath_var='LD_RUN_PATH'
8582
      runpath_var='LD_RUN_PATH'
8956
 
8583
 
8957
      if test "$GCC" = yes; then
8584
      if test "$GCC" = yes; then
8958
	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8585
	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8959
	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8586
	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8960
      else
8587
      else
8961
	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8588
	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8962
	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8589
	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8963
      fi
8590
      fi
8964
      ;;
8591
      ;;
8965
 
8592
 
8966
    sysv5* | sco3.2v5* | sco5v6*)
8593
    sysv5* | sco3.2v5* | sco5v6*)
8967
      # Note: We can NOT use -z defs as we might desire, because we do not
8594
      # Note: We can NOT use -z defs as we might desire, because we do not
8968
      # link with -lc, and that would cause any symbols used from libc to
8595
      # link with -lc, and that would cause any symbols used from libc to
8969
      # always be unresolved, which means just about no library would
8596
      # always be unresolved, which means just about no library would
8970
      # ever link correctly.  If we're not using GNU ld we use -z text
8597
      # ever link correctly.  If we're not using GNU ld we use -z text
8971
      # though, which does catch some bad symbols but isn't as heavy-handed
8598
      # though, which does catch some bad symbols but isn't as heavy-handed
8972
      # as -z defs.
8599
      # as -z defs.
8973
      no_undefined_flag='${wl}-z,text'
8600
      no_undefined_flag='${wl}-z,text'
8974
      allow_undefined_flag='${wl}-z,nodefs'
8601
      allow_undefined_flag='${wl}-z,nodefs'
8975
      archive_cmds_need_lc=no
8602
      archive_cmds_need_lc=no
8976
      hardcode_shlibpath_var=no
8603
      hardcode_shlibpath_var=no
8977
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8604
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8978
      hardcode_libdir_separator=':'
8605
      hardcode_libdir_separator=':'
8979
      link_all_deplibs=yes
8606
      link_all_deplibs=yes
8980
      export_dynamic_flag_spec='${wl}-Bexport'
8607
      export_dynamic_flag_spec='${wl}-Bexport'
8981
      runpath_var='LD_RUN_PATH'
8608
      runpath_var='LD_RUN_PATH'
8982
 
8609
 
8983
      if test "$GCC" = yes; then
8610
      if test "$GCC" = yes; then
8984
	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8611
	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8985
	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8612
	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8986
      else
8613
      else
8987
	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8614
	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8988
	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8615
	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8989
      fi
8616
      fi
8990
      ;;
8617
      ;;
8991
 
8618
 
8992
    uts4*)
8619
    uts4*)
8993
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8620
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8994
      hardcode_libdir_flag_spec='-L$libdir'
8621
      hardcode_libdir_flag_spec='-L$libdir'
8995
      hardcode_shlibpath_var=no
8622
      hardcode_shlibpath_var=no
8996
      ;;
8623
      ;;
8997
 
8624
 
8998
    *)
8625
    *)
8999
      ld_shlibs=no
8626
      ld_shlibs=no
9000
      ;;
8627
      ;;
9001
    esac
8628
    esac
9002
 
8629
 
9003
    if test x$host_vendor = xsni; then
8630
    if test x$host_vendor = xsni; then
9004
      case $host in
8631
      case $host in
9005
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8632
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9006
	export_dynamic_flag_spec='${wl}-Blargedynsym'
8633
	export_dynamic_flag_spec='${wl}-Blargedynsym'
9007
	;;
8634
	;;
9008
      esac
8635
      esac
9009
    fi
8636
    fi
9010
  fi
8637
  fi
9011
 
8638
 
9012
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9013
$as_echo "$ld_shlibs" >&6; }
8640
$as_echo "$ld_shlibs" >&6; }
9014
test "$ld_shlibs" = no && can_build_shared=no
8641
test "$ld_shlibs" = no && can_build_shared=no
9015
 
8642
 
9016
with_gnu_ld=$with_gnu_ld
8643
with_gnu_ld=$with_gnu_ld
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
    
8656
    
9030
 
8657
 
9031
 
8658
 
9032
#
8659
#
9033
# Do we need to explicitly link libc?
8660
# Do we need to explicitly link libc?
9034
#
8661
#
9035
case "x$archive_cmds_need_lc" in
8662
case "x$archive_cmds_need_lc" in
9036
x|xyes)
8663
x|xyes)
9037
  # Assume -lc should be added
8664
  # Assume -lc should be added
9038
  archive_cmds_need_lc=yes
8665
  archive_cmds_need_lc=yes
9039
 
8666
 
9040
  if test "$enable_shared" = yes && test "$GCC" = yes; then
8667
  if test "$enable_shared" = yes && test "$GCC" = yes; then
9041
    case $archive_cmds in
8668
    case $archive_cmds in
9042
    *'~'*)
8669
    *'~'*)
9043
      # FIXME: we may have to deal with multi-command sequences.
8670
      # FIXME: we may have to deal with multi-command sequences.
9044
      ;;
8671
      ;;
9045
    '$CC '*)
8672
    '$CC '*)
9046
      # Test whether the compiler implicitly links with -lc since on some
8673
      # Test whether the compiler implicitly links with -lc since on some
9047
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8674
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9048
      # to ld, don't add -lc before -lgcc.
8675
      # to ld, don't add -lc before -lgcc.
9049
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8676
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9050
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8677
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9051
      $RM conftest*
8678
      $RM conftest*
9052
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8679
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9053
 
8680
 
9054
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8681
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9055
  (eval $ac_compile) 2>&5
8682
  (eval $ac_compile) 2>&5
9056
  ac_status=$?
8683
  ac_status=$?
9057
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9058
  (exit $ac_status); } 2>conftest.err; then
8685
  test $ac_status = 0; } 2>conftest.err; then
9059
        soname=conftest
8686
        soname=conftest
9060
        lib=conftest
8687
        lib=conftest
9061
        libobjs=conftest.$ac_objext
8688
        libobjs=conftest.$ac_objext
9062
        deplibs=
8689
        deplibs=
9063
        wl=$lt_prog_compiler_wl
8690
        wl=$lt_prog_compiler_wl
9064
	pic_flag=$lt_prog_compiler_pic
8691
	pic_flag=$lt_prog_compiler_pic
9065
        compiler_flags=-v
8692
        compiler_flags=-v
9066
        linker_flags=-v
8693
        linker_flags=-v
9067
        verstring=
8694
        verstring=
9068
        output_objdir=.
8695
        output_objdir=.
9069
        libname=conftest
8696
        libname=conftest
9070
        lt_save_allow_undefined_flag=$allow_undefined_flag
8697
        lt_save_allow_undefined_flag=$allow_undefined_flag
9071
        allow_undefined_flag=
8698
        allow_undefined_flag=
9072
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8699
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9073
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8700
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9074
  ac_status=$?
8701
  ac_status=$?
9075
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9076
  (exit $ac_status); }
8703
  test $ac_status = 0; }
9077
        then
8704
        then
9078
	  archive_cmds_need_lc=no
8705
	  archive_cmds_need_lc=no
9079
        else
8706
        else
9080
	  archive_cmds_need_lc=yes
8707
	  archive_cmds_need_lc=yes
9081
        fi
8708
        fi
9082
        allow_undefined_flag=$lt_save_allow_undefined_flag
8709
        allow_undefined_flag=$lt_save_allow_undefined_flag
9083
      else
8710
      else
9084
        cat conftest.err 1>&5
8711
        cat conftest.err 1>&5
9085
      fi
8712
      fi
9086
      $RM conftest*
8713
      $RM conftest*
9087
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8714
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9088
$as_echo "$archive_cmds_need_lc" >&6; }
8715
$as_echo "$archive_cmds_need_lc" >&6; }
9089
      ;;
8716
      ;;
9090
    esac
8717
    esac
9091
  fi
8718
  fi
9092
  ;;
8719
  ;;
9093
esac
8720
esac
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
    
8874
    
9248
    
8875
    
9249
 
8876
 
9250
 
8877
 
9251
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8878
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9252
$as_echo_n "checking dynamic linker characteristics... " >&6; }
8879
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9253
 
8880
 
9254
if test "$GCC" = yes; then
8881
if test "$GCC" = yes; then
9255
  case $host_os in
8882
  case $host_os in
9256
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8883
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9257
    *) lt_awk_arg="/^libraries:/" ;;
8884
    *) lt_awk_arg="/^libraries:/" ;;
9258
  esac
8885
  esac
9259
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8886
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9260
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8887
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9261
    # if the path contains ";" then we assume it to be the separator
8888
    # if the path contains ";" then we assume it to be the separator
9262
    # otherwise default to the standard path separator (i.e. ":") - it is
8889
    # otherwise default to the standard path separator (i.e. ":") - it is
9263
    # assumed that no part of a normal pathname contains ";" but that should
8890
    # assumed that no part of a normal pathname contains ";" but that should
9264
    # okay in the real world where ";" in dirpaths is itself problematic.
8891
    # okay in the real world where ";" in dirpaths is itself problematic.
9265
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8892
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9266
  else
8893
  else
9267
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8894
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9268
  fi
8895
  fi
9269
  # Ok, now we have the path, separated by spaces, we can step through it
8896
  # Ok, now we have the path, separated by spaces, we can step through it
9270
  # and add multilib dir if necessary.
8897
  # and add multilib dir if necessary.
9271
  lt_tmp_lt_search_path_spec=
8898
  lt_tmp_lt_search_path_spec=
9272
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8899
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9273
  for lt_sys_path in $lt_search_path_spec; do
8900
  for lt_sys_path in $lt_search_path_spec; do
9274
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8901
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9275
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8902
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9276
    else
8903
    else
9277
      test -d "$lt_sys_path" && \
8904
      test -d "$lt_sys_path" && \
9278
	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8905
	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9279
    fi
8906
    fi
9280
  done
8907
  done
9281
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8908
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9282
BEGIN {RS=" "; FS="/|\n";} {
8909
BEGIN {RS=" "; FS="/|\n";} {
9283
  lt_foo="";
8910
  lt_foo="";
9284
  lt_count=0;
8911
  lt_count=0;
9285
  for (lt_i = NF; lt_i > 0; lt_i--) {
8912
  for (lt_i = NF; lt_i > 0; lt_i--) {
9286
    if ($lt_i != "" && $lt_i != ".") {
8913
    if ($lt_i != "" && $lt_i != ".") {
9287
      if ($lt_i == "..") {
8914
      if ($lt_i == "..") {
9288
        lt_count++;
8915
        lt_count++;
9289
      } else {
8916
      } else {
9290
        if (lt_count == 0) {
8917
        if (lt_count == 0) {
9291
          lt_foo="/" $lt_i lt_foo;
8918
          lt_foo="/" $lt_i lt_foo;
9292
        } else {
8919
        } else {
9293
          lt_count--;
8920
          lt_count--;
9294
        }
8921
        }
9295
      }
8922
      }
9296
    }
8923
    }
9297
  }
8924
  }
9298
  if (lt_foo != "") { lt_freq[lt_foo]++; }
8925
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9299
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
8926
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9300
}'`
8927
}'`
9301
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8928
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9302
else
8929
else
9303
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8930
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9304
fi
8931
fi
9305
library_names_spec=
8932
library_names_spec=
9306
libname_spec='lib$name'
8933
libname_spec='lib$name'
9307
soname_spec=
8934
soname_spec=
9308
shrext_cmds=".so"
8935
shrext_cmds=".so"
9309
postinstall_cmds=
8936
postinstall_cmds=
9310
postuninstall_cmds=
8937
postuninstall_cmds=
9311
finish_cmds=
8938
finish_cmds=
9312
finish_eval=
8939
finish_eval=
9313
shlibpath_var=
8940
shlibpath_var=
9314
shlibpath_overrides_runpath=unknown
8941
shlibpath_overrides_runpath=unknown
9315
version_type=none
8942
version_type=none
9316
dynamic_linker="$host_os ld.so"
8943
dynamic_linker="$host_os ld.so"
9317
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8944
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9318
need_lib_prefix=unknown
8945
need_lib_prefix=unknown
9319
hardcode_into_libs=no
8946
hardcode_into_libs=no
9320
 
8947
 
9321
# when you set need_version to no, make sure it does not cause -set_version
8948
# when you set need_version to no, make sure it does not cause -set_version
9322
# flags to be left without arguments
8949
# flags to be left without arguments
9323
need_version=unknown
8950
need_version=unknown
9324
 
8951
 
9325
case $host_os in
8952
case $host_os in
9326
aix3*)
8953
aix3*)
9327
  version_type=linux
8954
  version_type=linux
9328
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8955
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9329
  shlibpath_var=LIBPATH
8956
  shlibpath_var=LIBPATH
9330
 
8957
 
9331
  # AIX 3 has no versioning support, so we append a major version to the name.
8958
  # AIX 3 has no versioning support, so we append a major version to the name.
9332
  soname_spec='${libname}${release}${shared_ext}$major'
8959
  soname_spec='${libname}${release}${shared_ext}$major'
9333
  ;;
8960
  ;;
9334
 
8961
 
9335
aix[4-9]*)
8962
aix[4-9]*)
9336
  version_type=linux
8963
  version_type=linux
9337
  need_lib_prefix=no
8964
  need_lib_prefix=no
9338
  need_version=no
8965
  need_version=no
9339
  hardcode_into_libs=yes
8966
  hardcode_into_libs=yes
9340
  if test "$host_cpu" = ia64; then
8967
  if test "$host_cpu" = ia64; then
9341
    # AIX 5 supports IA64
8968
    # AIX 5 supports IA64
9342
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8969
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9343
    shlibpath_var=LD_LIBRARY_PATH
8970
    shlibpath_var=LD_LIBRARY_PATH
9344
  else
8971
  else
9345
    # With GCC up to 2.95.x, collect2 would create an import file
8972
    # With GCC up to 2.95.x, collect2 would create an import file
9346
    # for dependence libraries.  The import file would start with
8973
    # for dependence libraries.  The import file would start with
9347
    # the line `#! .'.  This would cause the generated library to
8974
    # the line `#! .'.  This would cause the generated library to
9348
    # depend on `.', always an invalid library.  This was fixed in
8975
    # depend on `.', always an invalid library.  This was fixed in
9349
    # development snapshots of GCC prior to 3.0.
8976
    # development snapshots of GCC prior to 3.0.
9350
    case $host_os in
8977
    case $host_os in
9351
      aix4 | aix4.[01] | aix4.[01].*)
8978
      aix4 | aix4.[01] | aix4.[01].*)
9352
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8979
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9353
	   echo ' yes '
8980
	   echo ' yes '
9354
	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8981
	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9355
	:
8982
	:
9356
      else
8983
      else
9357
	can_build_shared=no
8984
	can_build_shared=no
9358
      fi
8985
      fi
9359
      ;;
8986
      ;;
9360
    esac
8987
    esac
9361
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8988
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9362
    # soname into executable. Probably we can add versioning support to
8989
    # soname into executable. Probably we can add versioning support to
9363
    # collect2, so additional links can be useful in future.
8990
    # collect2, so additional links can be useful in future.
9364
    if test "$aix_use_runtimelinking" = yes; then
8991
    if test "$aix_use_runtimelinking" = yes; then
9365
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8992
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9366
      # instead of lib<name>.a to let people know that these are not
8993
      # instead of lib<name>.a to let people know that these are not
9367
      # typical AIX shared libraries.
8994
      # typical AIX shared libraries.
9368
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8995
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9369
    else
8996
    else
9370
      # We preserve .a as extension for shared libraries through AIX4.2
8997
      # We preserve .a as extension for shared libraries through AIX4.2
9371
      # and later when we are not doing run time linking.
8998
      # and later when we are not doing run time linking.
9372
      library_names_spec='${libname}${release}.a $libname.a'
8999
      library_names_spec='${libname}${release}.a $libname.a'
9373
      soname_spec='${libname}${release}${shared_ext}$major'
9000
      soname_spec='${libname}${release}${shared_ext}$major'
9374
    fi
9001
    fi
9375
    shlibpath_var=LIBPATH
9002
    shlibpath_var=LIBPATH
9376
  fi
9003
  fi
9377
  ;;
9004
  ;;
9378
 
9005
 
9379
amigaos*)
9006
amigaos*)
9380
  case $host_cpu in
9007
  case $host_cpu in
9381
  powerpc)
9008
  powerpc)
9382
    # Since July 2007 AmigaOS4 officially supports .so libraries.
9009
    # Since July 2007 AmigaOS4 officially supports .so libraries.
9383
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9010
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9384
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9011
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9385
    ;;
9012
    ;;
9386
  m68k)
9013
  m68k)
9387
    library_names_spec='$libname.ixlibrary $libname.a'
9014
    library_names_spec='$libname.ixlibrary $libname.a'
9388
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9015
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9389
    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'
9016
    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'
9390
    ;;
9017
    ;;
9391
  esac
9018
  esac
9392
  ;;
9019
  ;;
9393
 
9020
 
9394
beos*)
9021
beos*)
9395
  library_names_spec='${libname}${shared_ext}'
9022
  library_names_spec='${libname}${shared_ext}'
9396
  dynamic_linker="$host_os ld.so"
9023
  dynamic_linker="$host_os ld.so"
9397
  shlibpath_var=LIBRARY_PATH
9024
  shlibpath_var=LIBRARY_PATH
9398
  ;;
9025
  ;;
9399
 
9026
 
9400
bsdi[45]*)
9027
bsdi[45]*)
9401
  version_type=linux
9028
  version_type=linux
9402
  need_version=no
9029
  need_version=no
9403
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9030
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9404
  soname_spec='${libname}${release}${shared_ext}$major'
9031
  soname_spec='${libname}${release}${shared_ext}$major'
9405
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9032
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9406
  shlibpath_var=LD_LIBRARY_PATH
9033
  shlibpath_var=LD_LIBRARY_PATH
9407
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9034
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9408
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9035
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9409
  # the default ld.so.conf also contains /usr/contrib/lib and
9036
  # the default ld.so.conf also contains /usr/contrib/lib and
9410
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9037
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9411
  # libtool to hard-code these into programs
9038
  # libtool to hard-code these into programs
9412
  ;;
9039
  ;;
9413
 
9040
 
9414
cygwin* | mingw* | pw32* | cegcc*)
9041
cygwin* | mingw* | pw32* | cegcc*)
9415
  version_type=windows
9042
  version_type=windows
9416
  shrext_cmds=".dll"
9043
  shrext_cmds=".dll"
9417
  need_version=no
9044
  need_version=no
9418
  need_lib_prefix=no
9045
  need_lib_prefix=no
9419
 
9046
 
9420
  case $GCC,$host_os in
9047
  case $GCC,$host_os in
9421
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9048
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9422
    library_names_spec='$libname.dll.a'
9049
    library_names_spec='$libname.dll.a'
9423
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9050
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9424
    postinstall_cmds='base_file=`basename \${file}`~
9051
    postinstall_cmds='base_file=`basename \${file}`~
9425
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9052
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9426
      dldir=$destdir/`dirname \$dlpath`~
9053
      dldir=$destdir/`dirname \$dlpath`~
9427
      test -d \$dldir || mkdir -p \$dldir~
9054
      test -d \$dldir || mkdir -p \$dldir~
9428
      $install_prog $dir/$dlname \$dldir/$dlname~
9055
      $install_prog $dir/$dlname \$dldir/$dlname~
9429
      chmod a+x \$dldir/$dlname~
9056
      chmod a+x \$dldir/$dlname~
9430
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9057
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9431
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9058
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9432
      fi'
9059
      fi'
9433
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9060
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9434
      dlpath=$dir/\$dldll~
9061
      dlpath=$dir/\$dldll~
9435
       $RM \$dlpath'
9062
       $RM \$dlpath'
9436
    shlibpath_overrides_runpath=yes
9063
    shlibpath_overrides_runpath=yes
9437
 
9064
 
9438
    case $host_os in
9065
    case $host_os in
9439
    cygwin*)
9066
    cygwin*)
9440
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9067
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9441
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9068
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9442
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9069
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9443
      ;;
9070
      ;;
9444
    mingw* | cegcc*)
9071
    mingw* | cegcc*)
9445
      # MinGW DLLs use traditional 'lib' prefix
9072
      # MinGW DLLs use traditional 'lib' prefix
9446
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9073
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9447
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9074
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9448
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9075
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9449
        # It is most probably a Windows format PATH printed by
9076
        # It is most probably a Windows format PATH printed by
9450
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9077
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9451
        # path with ; separators, and with drive letters. We can handle the
9078
        # path with ; separators, and with drive letters. We can handle the
9452
        # drive letters (cygwin fileutils understands them), so leave them,
9079
        # drive letters (cygwin fileutils understands them), so leave them,
9453
        # especially as we might pass files found there to a mingw objdump,
9080
        # especially as we might pass files found there to a mingw objdump,
9454
        # which wouldn't understand a cygwinified path. Ahh.
9081
        # which wouldn't understand a cygwinified path. Ahh.
9455
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9082
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9456
      else
9083
      else
9457
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9084
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9458
      fi
9085
      fi
9459
      ;;
9086
      ;;
9460
    pw32*)
9087
    pw32*)
9461
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9088
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9462
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9089
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9463
      ;;
9090
      ;;
9464
    esac
9091
    esac
9465
    ;;
9092
    ;;
9466
 
9093
 
9467
  *)
9094
  *)
9468
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9095
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9469
    ;;
9096
    ;;
9470
  esac
9097
  esac
9471
  dynamic_linker='Win32 ld.exe'
9098
  dynamic_linker='Win32 ld.exe'
9472
  # FIXME: first we should search . and the directory the executable is in
9099
  # FIXME: first we should search . and the directory the executable is in
9473
  shlibpath_var=PATH
9100
  shlibpath_var=PATH
9474
  ;;
9101
  ;;
9475
 
9102
 
9476
darwin* | rhapsody*)
9103
darwin* | rhapsody*)
9477
  dynamic_linker="$host_os dyld"
9104
  dynamic_linker="$host_os dyld"
9478
  version_type=darwin
9105
  version_type=darwin
9479
  need_lib_prefix=no
9106
  need_lib_prefix=no
9480
  need_version=no
9107
  need_version=no
9481
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9108
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9482
  soname_spec='${libname}${release}${major}$shared_ext'
9109
  soname_spec='${libname}${release}${major}$shared_ext'
9483
  shlibpath_overrides_runpath=yes
9110
  shlibpath_overrides_runpath=yes
9484
  shlibpath_var=DYLD_LIBRARY_PATH
9111
  shlibpath_var=DYLD_LIBRARY_PATH
9485
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9112
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9486
 
9113
 
9487
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9114
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9488
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9115
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9489
  ;;
9116
  ;;
9490
 
9117
 
9491
dgux*)
9118
dgux*)
9492
  version_type=linux
9119
  version_type=linux
9493
  need_lib_prefix=no
9120
  need_lib_prefix=no
9494
  need_version=no
9121
  need_version=no
9495
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9122
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9496
  soname_spec='${libname}${release}${shared_ext}$major'
9123
  soname_spec='${libname}${release}${shared_ext}$major'
9497
  shlibpath_var=LD_LIBRARY_PATH
9124
  shlibpath_var=LD_LIBRARY_PATH
9498
  ;;
9125
  ;;
9499
 
9126
 
9500
freebsd1*)
9127
freebsd1*)
9501
  dynamic_linker=no
9128
  dynamic_linker=no
9502
  ;;
9129
  ;;
9503
 
9130
 
9504
freebsd* | dragonfly*)
9131
freebsd* | dragonfly*)
9505
  # DragonFly does not have aout.  When/if they implement a new
9132
  # DragonFly does not have aout.  When/if they implement a new
9506
  # versioning mechanism, adjust this.
9133
  # versioning mechanism, adjust this.
9507
  if test -x /usr/bin/objformat; then
9134
  if test -x /usr/bin/objformat; then
9508
    objformat=`/usr/bin/objformat`
9135
    objformat=`/usr/bin/objformat`
9509
  else
9136
  else
9510
    case $host_os in
9137
    case $host_os in
9511
    freebsd[123]*) objformat=aout ;;
9138
    freebsd[123]*) objformat=aout ;;
9512
    *) objformat=elf ;;
9139
    *) objformat=elf ;;
9513
    esac
9140
    esac
9514
  fi
9141
  fi
9515
  version_type=freebsd-$objformat
9142
  version_type=freebsd-$objformat
9516
  case $version_type in
9143
  case $version_type in
9517
    freebsd-elf*)
9144
    freebsd-elf*)
9518
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9145
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9519
      need_version=no
9146
      need_version=no
9520
      need_lib_prefix=no
9147
      need_lib_prefix=no
9521
      ;;
9148
      ;;
9522
    freebsd-*)
9149
    freebsd-*)
9523
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9150
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9524
      need_version=yes
9151
      need_version=yes
9525
      ;;
9152
      ;;
9526
  esac
9153
  esac
9527
  shlibpath_var=LD_LIBRARY_PATH
9154
  shlibpath_var=LD_LIBRARY_PATH
9528
  case $host_os in
9155
  case $host_os in
9529
  freebsd2*)
9156
  freebsd2*)
9530
    shlibpath_overrides_runpath=yes
9157
    shlibpath_overrides_runpath=yes
9531
    ;;
9158
    ;;
9532
  freebsd3.[01]* | freebsdelf3.[01]*)
9159
  freebsd3.[01]* | freebsdelf3.[01]*)
9533
    shlibpath_overrides_runpath=yes
9160
    shlibpath_overrides_runpath=yes
9534
    hardcode_into_libs=yes
9161
    hardcode_into_libs=yes
9535
    ;;
9162
    ;;
9536
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9163
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9537
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9164
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9538
    shlibpath_overrides_runpath=no
9165
    shlibpath_overrides_runpath=no
9539
    hardcode_into_libs=yes
9166
    hardcode_into_libs=yes
9540
    ;;
9167
    ;;
9541
  *) # from 4.6 on, and DragonFly
9168
  *) # from 4.6 on, and DragonFly
9542
    shlibpath_overrides_runpath=yes
9169
    shlibpath_overrides_runpath=yes
9543
    hardcode_into_libs=yes
9170
    hardcode_into_libs=yes
9544
    ;;
9171
    ;;
9545
  esac
9172
  esac
9546
  ;;
9173
  ;;
9547
 
9174
 
9548
gnu*)
9175
gnu*)
9549
  version_type=linux
9176
  version_type=linux
9550
  need_lib_prefix=no
9177
  need_lib_prefix=no
9551
  need_version=no
9178
  need_version=no
9552
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9179
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9553
  soname_spec='${libname}${release}${shared_ext}$major'
9180
  soname_spec='${libname}${release}${shared_ext}$major'
9554
  shlibpath_var=LD_LIBRARY_PATH
9181
  shlibpath_var=LD_LIBRARY_PATH
9555
  hardcode_into_libs=yes
9182
  hardcode_into_libs=yes
9556
  ;;
9183
  ;;
9557
 
9184
 
9558
hpux9* | hpux10* | hpux11*)
9185
hpux9* | hpux10* | hpux11*)
9559
  # Give a soname corresponding to the major version so that dld.sl refuses to
9186
  # Give a soname corresponding to the major version so that dld.sl refuses to
9560
  # link against other versions.
9187
  # link against other versions.
9561
  version_type=sunos
9188
  version_type=sunos
9562
  need_lib_prefix=no
9189
  need_lib_prefix=no
9563
  need_version=no
9190
  need_version=no
9564
  case $host_cpu in
9191
  case $host_cpu in
9565
  ia64*)
9192
  ia64*)
9566
    shrext_cmds='.so'
9193
    shrext_cmds='.so'
9567
    hardcode_into_libs=yes
9194
    hardcode_into_libs=yes
9568
    dynamic_linker="$host_os dld.so"
9195
    dynamic_linker="$host_os dld.so"
9569
    shlibpath_var=LD_LIBRARY_PATH
9196
    shlibpath_var=LD_LIBRARY_PATH
9570
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9197
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9571
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9198
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9572
    soname_spec='${libname}${release}${shared_ext}$major'
9199
    soname_spec='${libname}${release}${shared_ext}$major'
9573
    if test "X$HPUX_IA64_MODE" = X32; then
9200
    if test "X$HPUX_IA64_MODE" = X32; then
9574
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9201
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9575
    else
9202
    else
9576
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9203
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9577
    fi
9204
    fi
9578
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9205
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9579
    ;;
9206
    ;;
9580
  hppa*64*)
9207
  hppa*64*)
9581
    shrext_cmds='.sl'
9208
    shrext_cmds='.sl'
9582
    hardcode_into_libs=yes
9209
    hardcode_into_libs=yes
9583
    dynamic_linker="$host_os dld.sl"
9210
    dynamic_linker="$host_os dld.sl"
9584
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9211
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9585
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9212
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9586
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9213
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9587
    soname_spec='${libname}${release}${shared_ext}$major'
9214
    soname_spec='${libname}${release}${shared_ext}$major'
9588
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9215
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9589
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9216
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9590
    ;;
9217
    ;;
9591
  *)
9218
  *)
9592
    shrext_cmds='.sl'
9219
    shrext_cmds='.sl'
9593
    dynamic_linker="$host_os dld.sl"
9220
    dynamic_linker="$host_os dld.sl"
9594
    shlibpath_var=SHLIB_PATH
9221
    shlibpath_var=SHLIB_PATH
9595
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9222
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9596
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9223
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9597
    soname_spec='${libname}${release}${shared_ext}$major'
9224
    soname_spec='${libname}${release}${shared_ext}$major'
9598
    ;;
9225
    ;;
9599
  esac
9226
  esac
9600
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9227
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9601
  postinstall_cmds='chmod 555 $lib'
9228
  postinstall_cmds='chmod 555 $lib'
9602
  ;;
9229
  ;;
9603
 
9230
 
9604
interix[3-9]*)
9231
interix[3-9]*)
9605
  version_type=linux
9232
  version_type=linux
9606
  need_lib_prefix=no
9233
  need_lib_prefix=no
9607
  need_version=no
9234
  need_version=no
9608
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9235
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9609
  soname_spec='${libname}${release}${shared_ext}$major'
9236
  soname_spec='${libname}${release}${shared_ext}$major'
9610
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9237
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9611
  shlibpath_var=LD_LIBRARY_PATH
9238
  shlibpath_var=LD_LIBRARY_PATH
9612
  shlibpath_overrides_runpath=no
9239
  shlibpath_overrides_runpath=no
9613
  hardcode_into_libs=yes
9240
  hardcode_into_libs=yes
9614
  ;;
9241
  ;;
9615
 
9242
 
9616
irix5* | irix6* | nonstopux*)
9243
irix5* | irix6* | nonstopux*)
9617
  case $host_os in
9244
  case $host_os in
9618
    nonstopux*) version_type=nonstopux ;;
9245
    nonstopux*) version_type=nonstopux ;;
9619
    *)
9246
    *)
9620
	if test "$lt_cv_prog_gnu_ld" = yes; then
9247
	if test "$lt_cv_prog_gnu_ld" = yes; then
9621
		version_type=linux
9248
		version_type=linux
9622
	else
9249
	else
9623
		version_type=irix
9250
		version_type=irix
9624
	fi ;;
9251
	fi ;;
9625
  esac
9252
  esac
9626
  need_lib_prefix=no
9253
  need_lib_prefix=no
9627
  need_version=no
9254
  need_version=no
9628
  soname_spec='${libname}${release}${shared_ext}$major'
9255
  soname_spec='${libname}${release}${shared_ext}$major'
9629
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9256
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9630
  case $host_os in
9257
  case $host_os in
9631
  irix5* | nonstopux*)
9258
  irix5* | nonstopux*)
9632
    libsuff= shlibsuff=
9259
    libsuff= shlibsuff=
9633
    ;;
9260
    ;;
9634
  *)
9261
  *)
9635
    case $LD in # libtool.m4 will add one of these switches to LD
9262
    case $LD in # libtool.m4 will add one of these switches to LD
9636
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9263
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9637
      libsuff= shlibsuff= libmagic=32-bit;;
9264
      libsuff= shlibsuff= libmagic=32-bit;;
9638
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9265
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9639
      libsuff=32 shlibsuff=N32 libmagic=N32;;
9266
      libsuff=32 shlibsuff=N32 libmagic=N32;;
9640
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9267
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9641
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9268
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9642
    *) libsuff= shlibsuff= libmagic=never-match;;
9269
    *) libsuff= shlibsuff= libmagic=never-match;;
9643
    esac
9270
    esac
9644
    ;;
9271
    ;;
9645
  esac
9272
  esac
9646
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9273
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9647
  shlibpath_overrides_runpath=no
9274
  shlibpath_overrides_runpath=no
9648
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9275
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9649
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9276
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9650
  hardcode_into_libs=yes
9277
  hardcode_into_libs=yes
9651
  ;;
9278
  ;;
9652
 
9279
 
9653
# No shared lib support for Linux oldld, aout, or coff.
9280
# No shared lib support for Linux oldld, aout, or coff.
9654
linux*oldld* | linux*aout* | linux*coff*)
9281
linux*oldld* | linux*aout* | linux*coff*)
9655
  dynamic_linker=no
9282
  dynamic_linker=no
9656
  ;;
9283
  ;;
9657
 
9284
 
9658
# This must be Linux ELF.
9285
# This must be Linux ELF.
9659
linux* | k*bsd*-gnu)
9286
linux* | k*bsd*-gnu)
9660
  version_type=linux
9287
  version_type=linux
9661
  need_lib_prefix=no
9288
  need_lib_prefix=no
9662
  need_version=no
9289
  need_version=no
9663
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9290
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9664
  soname_spec='${libname}${release}${shared_ext}$major'
9291
  soname_spec='${libname}${release}${shared_ext}$major'
9665
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9292
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9666
  shlibpath_var=LD_LIBRARY_PATH
9293
  shlibpath_var=LD_LIBRARY_PATH
9667
  shlibpath_overrides_runpath=no
9294
  shlibpath_overrides_runpath=no
9668
  # Some binutils ld are patched to set DT_RUNPATH
9295
  # Some binutils ld are patched to set DT_RUNPATH
9669
  save_LDFLAGS=$LDFLAGS
9296
  save_LDFLAGS=$LDFLAGS
9670
  save_libdir=$libdir
9297
  save_libdir=$libdir
9671
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9298
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9672
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9299
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9673
  cat >conftest.$ac_ext <<_ACEOF
-
 
9674
/* confdefs.h.  */
-
 
9675
_ACEOF
-
 
9676
cat confdefs.h >>conftest.$ac_ext
9300
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9677
cat >>conftest.$ac_ext <<_ACEOF
-
 
9678
/* end confdefs.h.  */
9301
/* end confdefs.h.  */
9679
 
9302
 
9680
int
9303
int
9681
main ()
9304
main ()
9682
{
9305
{
9683
 
9306
 
9684
  ;
9307
  ;
9685
  return 0;
9308
  return 0;
9686
}
9309
}
9687
_ACEOF
9310
_ACEOF
9688
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
9689
if { (ac_try="$ac_link"
-
 
9690
case "(($ac_try" in
-
 
9691
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
9692
  *) ac_try_echo=$ac_try;;
-
 
9693
esac
-
 
9694
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
9695
$as_echo "$ac_try_echo") >&5
-
 
9696
  (eval "$ac_link") 2>conftest.er1
9311
if ac_fn_c_try_link "$LINENO"; then :
9697
  ac_status=$?
-
 
9698
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
9699
  rm -f conftest.er1
-
 
9700
  cat conftest.err >&5
-
 
9701
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
9702
  (exit $ac_status); } && {
-
 
9703
	 test -z "$ac_c_werror_flag" ||
-
 
9704
	 test ! -s conftest.err
-
 
9705
       } && test -s conftest$ac_exeext && {
-
 
9706
	 test "$cross_compiling" = yes ||
-
 
9707
	 $as_test_x conftest$ac_exeext
-
 
9708
       }; then
-
 
9709
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9312
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9710
  shlibpath_overrides_runpath=yes
9313
  shlibpath_overrides_runpath=yes
9711
fi
9314
fi
9712
 
-
 
9713
else
-
 
9714
  $as_echo "$as_me: failed program was:" >&5
-
 
9715
sed 's/^/| /' conftest.$ac_ext >&5
-
 
9716
 
-
 
9717
	
-
 
9718
fi
9315
fi
9719
 
-
 
9720
rm -rf conftest.dSYM
-
 
9721
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9316
rm -f core conftest.err conftest.$ac_objext \
9722
      conftest$ac_exeext conftest.$ac_ext
9317
    conftest$ac_exeext conftest.$ac_ext
9723
  LDFLAGS=$save_LDFLAGS
9318
  LDFLAGS=$save_LDFLAGS
9724
  libdir=$save_libdir
9319
  libdir=$save_libdir
9725
 
9320
 
9726
  # This implies no fast_install, which is unacceptable.
9321
  # This implies no fast_install, which is unacceptable.
9727
  # Some rework will be needed to allow for fast_install
9322
  # Some rework will be needed to allow for fast_install
9728
  # before this can be enabled.
9323
  # before this can be enabled.
9729
  hardcode_into_libs=yes
9324
  hardcode_into_libs=yes
9730
 
9325
 
9731
  # Append ld.so.conf contents to the search path
9326
  # Append ld.so.conf contents to the search path
9732
  if test -f /etc/ld.so.conf; then
9327
  if test -f /etc/ld.so.conf; then
9733
    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' ' '`
9328
    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' ' '`
9734
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9329
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9735
  fi
9330
  fi
9736
 
9331
 
9737
  # We used to test for /lib/ld.so.1 and disable shared libraries on
9332
  # We used to test for /lib/ld.so.1 and disable shared libraries on
9738
  # powerpc, because MkLinux only supported shared libraries with the
9333
  # powerpc, because MkLinux only supported shared libraries with the
9739
  # GNU dynamic linker.  Since this was broken with cross compilers,
9334
  # GNU dynamic linker.  Since this was broken with cross compilers,
9740
  # most powerpc-linux boxes support dynamic linking these days and
9335
  # most powerpc-linux boxes support dynamic linking these days and
9741
  # people can always --disable-shared, the test was removed, and we
9336
  # people can always --disable-shared, the test was removed, and we
9742
  # assume the GNU/Linux dynamic linker is in use.
9337
  # assume the GNU/Linux dynamic linker is in use.
9743
  dynamic_linker='GNU/Linux ld.so'
9338
  dynamic_linker='GNU/Linux ld.so'
9744
  ;;
9339
  ;;
9745
 
9340
 
9746
netbsdelf*-gnu)
9341
netbsdelf*-gnu)
9747
  version_type=linux
9342
  version_type=linux
9748
  need_lib_prefix=no
9343
  need_lib_prefix=no
9749
  need_version=no
9344
  need_version=no
9750
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9345
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9751
  soname_spec='${libname}${release}${shared_ext}$major'
9346
  soname_spec='${libname}${release}${shared_ext}$major'
9752
  shlibpath_var=LD_LIBRARY_PATH
9347
  shlibpath_var=LD_LIBRARY_PATH
9753
  shlibpath_overrides_runpath=no
9348
  shlibpath_overrides_runpath=no
9754
  hardcode_into_libs=yes
9349
  hardcode_into_libs=yes
9755
  dynamic_linker='NetBSD ld.elf_so'
9350
  dynamic_linker='NetBSD ld.elf_so'
9756
  ;;
9351
  ;;
9757
 
9352
 
9758
netbsd*)
9353
netbsd*)
9759
  version_type=sunos
9354
  version_type=sunos
9760
  need_lib_prefix=no
9355
  need_lib_prefix=no
9761
  need_version=no
9356
  need_version=no
9762
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9357
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9763
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9358
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9764
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9359
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9765
    dynamic_linker='NetBSD (a.out) ld.so'
9360
    dynamic_linker='NetBSD (a.out) ld.so'
9766
  else
9361
  else
9767
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9362
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9768
    soname_spec='${libname}${release}${shared_ext}$major'
9363
    soname_spec='${libname}${release}${shared_ext}$major'
9769
    dynamic_linker='NetBSD ld.elf_so'
9364
    dynamic_linker='NetBSD ld.elf_so'
9770
  fi
9365
  fi
9771
  shlibpath_var=LD_LIBRARY_PATH
9366
  shlibpath_var=LD_LIBRARY_PATH
9772
  shlibpath_overrides_runpath=yes
9367
  shlibpath_overrides_runpath=yes
9773
  hardcode_into_libs=yes
9368
  hardcode_into_libs=yes
9774
  ;;
9369
  ;;
9775
 
9370
 
9776
newsos6)
9371
newsos6)
9777
  version_type=linux
9372
  version_type=linux
9778
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9373
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9779
  shlibpath_var=LD_LIBRARY_PATH
9374
  shlibpath_var=LD_LIBRARY_PATH
9780
  shlibpath_overrides_runpath=yes
9375
  shlibpath_overrides_runpath=yes
9781
  ;;
9376
  ;;
9782
 
9377
 
9783
*nto* | *qnx*)
9378
*nto* | *qnx*)
9784
  version_type=qnx
9379
  version_type=qnx
9785
  need_lib_prefix=no
9380
  need_lib_prefix=no
9786
  need_version=no
9381
  need_version=no
9787
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9382
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9788
  soname_spec='${libname}${release}${shared_ext}$major'
9383
  soname_spec='${libname}${release}${shared_ext}$major'
9789
  shlibpath_var=LD_LIBRARY_PATH
9384
  shlibpath_var=LD_LIBRARY_PATH
9790
  shlibpath_overrides_runpath=no
9385
  shlibpath_overrides_runpath=no
9791
  hardcode_into_libs=yes
9386
  hardcode_into_libs=yes
9792
  dynamic_linker='ldqnx.so'
9387
  dynamic_linker='ldqnx.so'
9793
  ;;
9388
  ;;
9794
 
9389
 
9795
openbsd*)
9390
openbsd*)
9796
  version_type=sunos
9391
  version_type=sunos
9797
  sys_lib_dlsearch_path_spec="/usr/lib"
9392
  sys_lib_dlsearch_path_spec="/usr/lib"
9798
  need_lib_prefix=no
9393
  need_lib_prefix=no
9799
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9394
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9800
  case $host_os in
9395
  case $host_os in
9801
    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
9396
    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
9802
    *)				need_version=no  ;;
9397
    *)				need_version=no  ;;
9803
  esac
9398
  esac
9804
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9399
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9805
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9400
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9806
  shlibpath_var=LD_LIBRARY_PATH
9401
  shlibpath_var=LD_LIBRARY_PATH
9807
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9402
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9808
    case $host_os in
9403
    case $host_os in
9809
      openbsd2.[89] | openbsd2.[89].*)
9404
      openbsd2.[89] | openbsd2.[89].*)
9810
	shlibpath_overrides_runpath=no
9405
	shlibpath_overrides_runpath=no
9811
	;;
9406
	;;
9812
      *)
9407
      *)
9813
	shlibpath_overrides_runpath=yes
9408
	shlibpath_overrides_runpath=yes
9814
	;;
9409
	;;
9815
      esac
9410
      esac
9816
  else
9411
  else
9817
    shlibpath_overrides_runpath=yes
9412
    shlibpath_overrides_runpath=yes
9818
  fi
9413
  fi
9819
  ;;
9414
  ;;
9820
 
9415
 
9821
os2*)
9416
os2*)
9822
  libname_spec='$name'
9417
  libname_spec='$name'
9823
  shrext_cmds=".dll"
9418
  shrext_cmds=".dll"
9824
  need_lib_prefix=no
9419
  need_lib_prefix=no
9825
  library_names_spec='$libname${shared_ext} $libname.a'
9420
  library_names_spec='$libname${shared_ext} $libname.a'
9826
  dynamic_linker='OS/2 ld.exe'
9421
  dynamic_linker='OS/2 ld.exe'
9827
  shlibpath_var=LIBPATH
9422
  shlibpath_var=LIBPATH
9828
  ;;
9423
  ;;
9829
 
9424
 
9830
osf3* | osf4* | osf5*)
9425
osf3* | osf4* | osf5*)
9831
  version_type=osf
9426
  version_type=osf
9832
  need_lib_prefix=no
9427
  need_lib_prefix=no
9833
  need_version=no
9428
  need_version=no
9834
  soname_spec='${libname}${release}${shared_ext}$major'
9429
  soname_spec='${libname}${release}${shared_ext}$major'
9835
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9430
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9836
  shlibpath_var=LD_LIBRARY_PATH
9431
  shlibpath_var=LD_LIBRARY_PATH
9837
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9432
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9838
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9433
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9839
  ;;
9434
  ;;
9840
 
9435
 
9841
rdos*)
9436
rdos*)
9842
  dynamic_linker=no
9437
  dynamic_linker=no
9843
  ;;
9438
  ;;
9844
 
9439
 
9845
solaris*)
9440
solaris*)
9846
  version_type=linux
9441
  version_type=linux
9847
  need_lib_prefix=no
9442
  need_lib_prefix=no
9848
  need_version=no
9443
  need_version=no
9849
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9444
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9850
  soname_spec='${libname}${release}${shared_ext}$major'
9445
  soname_spec='${libname}${release}${shared_ext}$major'
9851
  shlibpath_var=LD_LIBRARY_PATH
9446
  shlibpath_var=LD_LIBRARY_PATH
9852
  shlibpath_overrides_runpath=yes
9447
  shlibpath_overrides_runpath=yes
9853
  hardcode_into_libs=yes
9448
  hardcode_into_libs=yes
9854
  # ldd complains unless libraries are executable
9449
  # ldd complains unless libraries are executable
9855
  postinstall_cmds='chmod +x $lib'
9450
  postinstall_cmds='chmod +x $lib'
9856
  ;;
9451
  ;;
9857
 
9452
 
9858
sunos4*)
9453
sunos4*)
9859
  version_type=sunos
9454
  version_type=sunos
9860
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9455
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9861
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9456
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9862
  shlibpath_var=LD_LIBRARY_PATH
9457
  shlibpath_var=LD_LIBRARY_PATH
9863
  shlibpath_overrides_runpath=yes
9458
  shlibpath_overrides_runpath=yes
9864
  if test "$with_gnu_ld" = yes; then
9459
  if test "$with_gnu_ld" = yes; then
9865
    need_lib_prefix=no
9460
    need_lib_prefix=no
9866
  fi
9461
  fi
9867
  need_version=yes
9462
  need_version=yes
9868
  ;;
9463
  ;;
9869
 
9464
 
9870
sysv4 | sysv4.3*)
9465
sysv4 | sysv4.3*)
9871
  version_type=linux
9466
  version_type=linux
9872
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9467
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9873
  soname_spec='${libname}${release}${shared_ext}$major'
9468
  soname_spec='${libname}${release}${shared_ext}$major'
9874
  shlibpath_var=LD_LIBRARY_PATH
9469
  shlibpath_var=LD_LIBRARY_PATH
9875
  case $host_vendor in
9470
  case $host_vendor in
9876
    sni)
9471
    sni)
9877
      shlibpath_overrides_runpath=no
9472
      shlibpath_overrides_runpath=no
9878
      need_lib_prefix=no
9473
      need_lib_prefix=no
9879
      runpath_var=LD_RUN_PATH
9474
      runpath_var=LD_RUN_PATH
9880
      ;;
9475
      ;;
9881
    siemens)
9476
    siemens)
9882
      need_lib_prefix=no
9477
      need_lib_prefix=no
9883
      ;;
9478
      ;;
9884
    motorola)
9479
    motorola)
9885
      need_lib_prefix=no
9480
      need_lib_prefix=no
9886
      need_version=no
9481
      need_version=no
9887
      shlibpath_overrides_runpath=no
9482
      shlibpath_overrides_runpath=no
9888
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9483
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9889
      ;;
9484
      ;;
9890
  esac
9485
  esac
9891
  ;;
9486
  ;;
9892
 
9487
 
9893
sysv4*MP*)
9488
sysv4*MP*)
9894
  if test -d /usr/nec ;then
9489
  if test -d /usr/nec ;then
9895
    version_type=linux
9490
    version_type=linux
9896
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9491
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9897
    soname_spec='$libname${shared_ext}.$major'
9492
    soname_spec='$libname${shared_ext}.$major'
9898
    shlibpath_var=LD_LIBRARY_PATH
9493
    shlibpath_var=LD_LIBRARY_PATH
9899
  fi
9494
  fi
9900
  ;;
9495
  ;;
9901
 
9496
 
9902
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9497
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9903
  version_type=freebsd-elf
9498
  version_type=freebsd-elf
9904
  need_lib_prefix=no
9499
  need_lib_prefix=no
9905
  need_version=no
9500
  need_version=no
9906
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9501
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9907
  soname_spec='${libname}${release}${shared_ext}$major'
9502
  soname_spec='${libname}${release}${shared_ext}$major'
9908
  shlibpath_var=LD_LIBRARY_PATH
9503
  shlibpath_var=LD_LIBRARY_PATH
9909
  shlibpath_overrides_runpath=yes
9504
  shlibpath_overrides_runpath=yes
9910
  hardcode_into_libs=yes
9505
  hardcode_into_libs=yes
9911
  if test "$with_gnu_ld" = yes; then
9506
  if test "$with_gnu_ld" = yes; then
9912
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9507
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9913
  else
9508
  else
9914
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9509
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9915
    case $host_os in
9510
    case $host_os in
9916
      sco3.2v5*)
9511
      sco3.2v5*)
9917
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9512
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9918
	;;
9513
	;;
9919
    esac
9514
    esac
9920
  fi
9515
  fi
9921
  sys_lib_dlsearch_path_spec='/usr/lib'
9516
  sys_lib_dlsearch_path_spec='/usr/lib'
9922
  ;;
9517
  ;;
9923
 
9518
 
9924
tpf*)
9519
tpf*)
9925
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9520
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9926
  version_type=linux
9521
  version_type=linux
9927
  need_lib_prefix=no
9522
  need_lib_prefix=no
9928
  need_version=no
9523
  need_version=no
9929
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9524
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9930
  shlibpath_var=LD_LIBRARY_PATH
9525
  shlibpath_var=LD_LIBRARY_PATH
9931
  shlibpath_overrides_runpath=no
9526
  shlibpath_overrides_runpath=no
9932
  hardcode_into_libs=yes
9527
  hardcode_into_libs=yes
9933
  ;;
9528
  ;;
9934
 
9529
 
9935
uts4*)
9530
uts4*)
9936
  version_type=linux
9531
  version_type=linux
9937
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9532
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9938
  soname_spec='${libname}${release}${shared_ext}$major'
9533
  soname_spec='${libname}${release}${shared_ext}$major'
9939
  shlibpath_var=LD_LIBRARY_PATH
9534
  shlibpath_var=LD_LIBRARY_PATH
9940
  ;;
9535
  ;;
9941
 
9536
 
9942
*)
9537
*)
9943
  dynamic_linker=no
9538
  dynamic_linker=no
9944
  ;;
9539
  ;;
9945
esac
9540
esac
9946
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9541
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9947
$as_echo "$dynamic_linker" >&6; }
9542
$as_echo "$dynamic_linker" >&6; }
9948
test "$dynamic_linker" = no && can_build_shared=no
9543
test "$dynamic_linker" = no && can_build_shared=no
9949
 
9544
 
9950
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9545
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9951
if test "$GCC" = yes; then
9546
if test "$GCC" = yes; then
9952
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9547
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9953
fi
9548
fi
9954
 
9549
 
9955
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9550
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9956
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9551
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9957
fi
9552
fi
9958
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9553
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9959
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9554
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9960
fi
9555
fi
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
    
9639
    
10045
    
9640
    
10046
 
9641
 
10047
 
9642
 
10048
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9643
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10049
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9644
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10050
hardcode_action=
9645
hardcode_action=
10051
if test -n "$hardcode_libdir_flag_spec" ||
9646
if test -n "$hardcode_libdir_flag_spec" ||
10052
   test -n "$runpath_var" ||
9647
   test -n "$runpath_var" ||
10053
   test "X$hardcode_automatic" = "Xyes" ; then
9648
   test "X$hardcode_automatic" = "Xyes" ; then
10054
 
9649
 
10055
  # We can hardcode non-existent directories.
9650
  # We can hardcode non-existent directories.
10056
  if test "$hardcode_direct" != no &&
9651
  if test "$hardcode_direct" != no &&
10057
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9652
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10058
     # have to relink, otherwise we might link with an installed library
9653
     # have to relink, otherwise we might link with an installed library
10059
     # when we should be linking with a yet-to-be-installed one
9654
     # when we should be linking with a yet-to-be-installed one
10060
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9655
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10061
     test "$hardcode_minus_L" != no; then
9656
     test "$hardcode_minus_L" != no; then
10062
    # Linking always hardcodes the temporary library directory.
9657
    # Linking always hardcodes the temporary library directory.
10063
    hardcode_action=relink
9658
    hardcode_action=relink
10064
  else
9659
  else
10065
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
9660
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10066
    hardcode_action=immediate
9661
    hardcode_action=immediate
10067
  fi
9662
  fi
10068
else
9663
else
10069
  # We cannot hardcode anything, or else we can only hardcode existing
9664
  # We cannot hardcode anything, or else we can only hardcode existing
10070
  # directories.
9665
  # directories.
10071
  hardcode_action=unsupported
9666
  hardcode_action=unsupported
10072
fi
9667
fi
10073
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
9668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10074
$as_echo "$hardcode_action" >&6; }
9669
$as_echo "$hardcode_action" >&6; }
10075
 
9670
 
10076
if test "$hardcode_action" = relink ||
9671
if test "$hardcode_action" = relink ||
10077
   test "$inherit_rpath" = yes; then
9672
   test "$inherit_rpath" = yes; then
10078
  # Fast installation is not supported
9673
  # Fast installation is not supported
10079
  enable_fast_install=no
9674
  enable_fast_install=no
10080
elif test "$shlibpath_overrides_runpath" = yes ||
9675
elif test "$shlibpath_overrides_runpath" = yes ||
10081
     test "$enable_shared" = no; then
9676
     test "$enable_shared" = no; then
10082
  # Fast installation is not necessary
9677
  # Fast installation is not necessary
10083
  enable_fast_install=needless
9678
  enable_fast_install=needless
10084
fi
9679
fi
10085
 
9680
 
10086
    
9681
    
10087
    
9682
    
10088
    
9683
    
10089
 
9684
 
10090
 
9685
 
10091
  if test "x$enable_dlopen" != xyes; then
9686
  if test "x$enable_dlopen" != xyes; then
10092
  enable_dlopen=unknown
9687
  enable_dlopen=unknown
10093
  enable_dlopen_self=unknown
9688
  enable_dlopen_self=unknown
10094
  enable_dlopen_self_static=unknown
9689
  enable_dlopen_self_static=unknown
10095
else
9690
else
10096
  lt_cv_dlopen=no
9691
  lt_cv_dlopen=no
10097
  lt_cv_dlopen_libs=
9692
  lt_cv_dlopen_libs=
10098
 
9693
 
10099
  case $host_os in
9694
  case $host_os in
10100
  beos*)
9695
  beos*)
10101
    lt_cv_dlopen="load_add_on"
9696
    lt_cv_dlopen="load_add_on"
10102
    lt_cv_dlopen_libs=
9697
    lt_cv_dlopen_libs=
10103
    lt_cv_dlopen_self=yes
9698
    lt_cv_dlopen_self=yes
10104
    ;;
9699
    ;;
10105
 
9700
 
10106
  mingw* | pw32* | cegcc*)
9701
  mingw* | pw32* | cegcc*)
10107
    lt_cv_dlopen="LoadLibrary"
9702
    lt_cv_dlopen="LoadLibrary"
10108
    lt_cv_dlopen_libs=
9703
    lt_cv_dlopen_libs=
10109
    ;;
9704
    ;;
10110
 
9705
 
10111
  cygwin*)
9706
  cygwin*)
10112
    lt_cv_dlopen="dlopen"
9707
    lt_cv_dlopen="dlopen"
10113
    lt_cv_dlopen_libs=
9708
    lt_cv_dlopen_libs=
10114
    ;;
9709
    ;;
10115
 
9710
 
10116
  darwin*)
9711
  darwin*)
10117
  # if libdl is installed we need to link against it
9712
  # if libdl is installed we need to link against it
10118
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9713
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10119
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9714
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10120
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9715
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10121
  $as_echo_n "(cached) " >&6
9716
  $as_echo_n "(cached) " >&6
10122
else
9717
else
10123
  ac_check_lib_save_LIBS=$LIBS
9718
  ac_check_lib_save_LIBS=$LIBS
10124
LIBS="-ldl  $LIBS"
9719
LIBS="-ldl  $LIBS"
10125
cat >conftest.$ac_ext <<_ACEOF
-
 
10126
/* confdefs.h.  */
-
 
10127
_ACEOF
-
 
10128
cat confdefs.h >>conftest.$ac_ext
9720
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10129
cat >>conftest.$ac_ext <<_ACEOF
-
 
10130
/* end confdefs.h.  */
9721
/* end confdefs.h.  */
10131
 
9722
 
10132
/* Override any GCC internal prototype to avoid an error.
9723
/* Override any GCC internal prototype to avoid an error.
10133
   Use char because int might match the return type of a GCC
9724
   Use char because int might match the return type of a GCC
10134
   builtin and then its argument prototype would still apply.  */
9725
   builtin and then its argument prototype would still apply.  */
10135
#ifdef __cplusplus
9726
#ifdef __cplusplus
10136
extern "C"
9727
extern "C"
10137
#endif
9728
#endif
10138
char dlopen ();
9729
char dlopen ();
10139
int
9730
int
10140
main ()
9731
main ()
10141
{
9732
{
10142
return dlopen ();
9733
return dlopen ();
10143
  ;
9734
  ;
10144
  return 0;
9735
  return 0;
10145
}
9736
}
10146
_ACEOF
9737
_ACEOF
10147
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
10148
if { (ac_try="$ac_link"
-
 
10149
case "(($ac_try" in
-
 
10150
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
10151
  *) ac_try_echo=$ac_try;;
-
 
10152
esac
-
 
10153
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
10154
$as_echo "$ac_try_echo") >&5
-
 
10155
  (eval "$ac_link") 2>conftest.er1
9738
if ac_fn_c_try_link "$LINENO"; then :
10156
  ac_status=$?
-
 
10157
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
10158
  rm -f conftest.er1
-
 
10159
  cat conftest.err >&5
-
 
10160
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
10161
  (exit $ac_status); } && {
-
 
10162
	 test -z "$ac_c_werror_flag" ||
-
 
10163
	 test ! -s conftest.err
-
 
10164
       } && test -s conftest$ac_exeext && {
-
 
10165
	 test "$cross_compiling" = yes ||
-
 
10166
	 $as_test_x conftest$ac_exeext
-
 
10167
       }; then
-
 
10168
  ac_cv_lib_dl_dlopen=yes
9739
  ac_cv_lib_dl_dlopen=yes
10169
else
9740
else
10170
  $as_echo "$as_me: failed program was:" >&5
-
 
10171
sed 's/^/| /' conftest.$ac_ext >&5
-
 
10172
 
-
 
10173
	ac_cv_lib_dl_dlopen=no
9741
  ac_cv_lib_dl_dlopen=no
10174
fi
9742
fi
10175
 
-
 
10176
rm -rf conftest.dSYM
-
 
10177
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9743
rm -f core conftest.err conftest.$ac_objext \
10178
      conftest$ac_exeext conftest.$ac_ext
9744
    conftest$ac_exeext conftest.$ac_ext
10179
LIBS=$ac_check_lib_save_LIBS
9745
LIBS=$ac_check_lib_save_LIBS
10180
fi
9746
fi
10181
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9747
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10182
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9748
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10183
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9749
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10184
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9750
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10185
else
9751
else
10186
  
9752
  
10187
    lt_cv_dlopen="dyld"
9753
    lt_cv_dlopen="dyld"
10188
    lt_cv_dlopen_libs=
9754
    lt_cv_dlopen_libs=
10189
    lt_cv_dlopen_self=yes
9755
    lt_cv_dlopen_self=yes
10190
    
9756
    
10191
fi
9757
fi
10192
 
9758
 
10193
    ;;
9759
    ;;
10194
 
9760
 
10195
  *)
9761
  *)
10196
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
-
 
10197
$as_echo_n "checking for shl_load... " >&6; }
-
 
10198
if test "${ac_cv_func_shl_load+set}" = set; then
-
 
10199
  $as_echo_n "(cached) " >&6
-
 
10200
else
-
 
10201
  cat >conftest.$ac_ext <<_ACEOF
-
 
10202
/* confdefs.h.  */
-
 
10203
_ACEOF
-
 
10204
cat confdefs.h >>conftest.$ac_ext
-
 
10205
cat >>conftest.$ac_ext <<_ACEOF
-
 
10206
/* end confdefs.h.  */
-
 
10207
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
-
 
10208
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-
 
10209
#define shl_load innocuous_shl_load
-
 
10210
 
-
 
10211
/* System header to define __stub macros and hopefully few prototypes,
-
 
10212
    which can conflict with char shl_load (); below.
-
 
10213
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-
 
10214
    <limits.h> exists even on freestanding compilers.  */
-
 
10215
 
-
 
10216
#ifdef __STDC__
-
 
10217
# include <limits.h>
-
 
10218
#else
-
 
10219
# include <assert.h>
-
 
10220
#endif
-
 
10221
 
-
 
10222
#undef shl_load
-
 
10223
 
-
 
10224
/* Override any GCC internal prototype to avoid an error.
-
 
10225
   Use char because int might match the return type of a GCC
-
 
10226
   builtin and then its argument prototype would still apply.  */
-
 
10227
#ifdef __cplusplus
-
 
10228
extern "C"
-
 
10229
#endif
-
 
10230
char shl_load ();
-
 
10231
/* The GNU C library defines this for functions which it implements
-
 
10232
    to always fail with ENOSYS.  Some functions are actually named
-
 
10233
    something starting with __ and the normal name is an alias.  */
-
 
10234
#if defined __stub_shl_load || defined __stub___shl_load
-
 
10235
choke me
-
 
10236
#endif
-
 
10237
 
-
 
10238
int
-
 
10239
main ()
-
 
10240
{
-
 
10241
return shl_load ();
-
 
10242
  ;
-
 
10243
  return 0;
-
 
10244
}
-
 
10245
_ACEOF
-
 
10246
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
10247
if { (ac_try="$ac_link"
-
 
10248
case "(($ac_try" in
-
 
10249
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
10250
  *) ac_try_echo=$ac_try;;
-
 
10251
esac
-
 
10252
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
10253
$as_echo "$ac_try_echo") >&5
-
 
10254
  (eval "$ac_link") 2>conftest.er1
-
 
10255
  ac_status=$?
-
 
10256
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
10257
  rm -f conftest.er1
-
 
10258
  cat conftest.err >&5
-
 
10259
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
10260
  (exit $ac_status); } && {
-
 
10261
	 test -z "$ac_c_werror_flag" ||
-
 
10262
	 test ! -s conftest.err
-
 
10263
       } && test -s conftest$ac_exeext && {
-
 
10264
	 test "$cross_compiling" = yes ||
-
 
10265
	 $as_test_x conftest$ac_exeext
-
 
10266
       }; then
-
 
10267
  ac_cv_func_shl_load=yes
-
 
10268
else
-
 
10269
  $as_echo "$as_me: failed program was:" >&5
-
 
10270
sed 's/^/| /' conftest.$ac_ext >&5
-
 
10271
 
-
 
10272
	ac_cv_func_shl_load=no
-
 
10273
fi
-
 
10274
 
-
 
10275
rm -rf conftest.dSYM
-
 
10276
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-
 
10277
      conftest$ac_exeext conftest.$ac_ext
-
 
10278
fi
-
 
10279
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9762
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10280
$as_echo "$ac_cv_func_shl_load" >&6; }
-
 
10281
if test "x$ac_cv_func_shl_load" = x""yes; then
9763
if test "x$ac_cv_func_shl_load" = x""yes; then :
10282
  lt_cv_dlopen="shl_load"
9764
  lt_cv_dlopen="shl_load"
10283
else
9765
else
10284
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9766
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10285
$as_echo_n "checking for shl_load in -ldld... " >&6; }
9767
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10286
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9768
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10287
  $as_echo_n "(cached) " >&6
9769
  $as_echo_n "(cached) " >&6
10288
else
9770
else
10289
  ac_check_lib_save_LIBS=$LIBS
9771
  ac_check_lib_save_LIBS=$LIBS
10290
LIBS="-ldld  $LIBS"
9772
LIBS="-ldld  $LIBS"
10291
cat >conftest.$ac_ext <<_ACEOF
-
 
10292
/* confdefs.h.  */
-
 
10293
_ACEOF
-
 
10294
cat confdefs.h >>conftest.$ac_ext
9773
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10295
cat >>conftest.$ac_ext <<_ACEOF
-
 
10296
/* end confdefs.h.  */
9774
/* end confdefs.h.  */
10297
 
9775
 
10298
/* Override any GCC internal prototype to avoid an error.
9776
/* Override any GCC internal prototype to avoid an error.
10299
   Use char because int might match the return type of a GCC
9777
   Use char because int might match the return type of a GCC
10300
   builtin and then its argument prototype would still apply.  */
9778
   builtin and then its argument prototype would still apply.  */
10301
#ifdef __cplusplus
9779
#ifdef __cplusplus
10302
extern "C"
9780
extern "C"
10303
#endif
9781
#endif
10304
char shl_load ();
9782
char shl_load ();
10305
int
9783
int
10306
main ()
9784
main ()
10307
{
9785
{
10308
return shl_load ();
9786
return shl_load ();
10309
  ;
9787
  ;
10310
  return 0;
9788
  return 0;
10311
}
9789
}
10312
_ACEOF
9790
_ACEOF
10313
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
10314
if { (ac_try="$ac_link"
-
 
10315
case "(($ac_try" in
-
 
10316
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
10317
  *) ac_try_echo=$ac_try;;
-
 
10318
esac
-
 
10319
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
10320
$as_echo "$ac_try_echo") >&5
-
 
10321
  (eval "$ac_link") 2>conftest.er1
9791
if ac_fn_c_try_link "$LINENO"; then :
10322
  ac_status=$?
-
 
10323
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
10324
  rm -f conftest.er1
-
 
10325
  cat conftest.err >&5
-
 
10326
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
10327
  (exit $ac_status); } && {
-
 
10328
	 test -z "$ac_c_werror_flag" ||
-
 
10329
	 test ! -s conftest.err
-
 
10330
       } && test -s conftest$ac_exeext && {
-
 
10331
	 test "$cross_compiling" = yes ||
-
 
10332
	 $as_test_x conftest$ac_exeext
-
 
10333
       }; then
-
 
10334
  ac_cv_lib_dld_shl_load=yes
9792
  ac_cv_lib_dld_shl_load=yes
10335
else
9793
else
10336
  $as_echo "$as_me: failed program was:" >&5
-
 
10337
sed 's/^/| /' conftest.$ac_ext >&5
-
 
10338
 
-
 
10339
	ac_cv_lib_dld_shl_load=no
9794
  ac_cv_lib_dld_shl_load=no
10340
fi
9795
fi
10341
 
-
 
10342
rm -rf conftest.dSYM
-
 
10343
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9796
rm -f core conftest.err conftest.$ac_objext \
10344
      conftest$ac_exeext conftest.$ac_ext
9797
    conftest$ac_exeext conftest.$ac_ext
10345
LIBS=$ac_check_lib_save_LIBS
9798
LIBS=$ac_check_lib_save_LIBS
10346
fi
9799
fi
10347
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10348
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9801
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10349
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
9802
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10350
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9803
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10351
else
9804
else
10352
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
-
 
10353
$as_echo_n "checking for dlopen... " >&6; }
-
 
10354
if test "${ac_cv_func_dlopen+set}" = set; then
-
 
10355
  $as_echo_n "(cached) " >&6
-
 
10356
else
-
 
10357
  cat >conftest.$ac_ext <<_ACEOF
-
 
10358
/* confdefs.h.  */
-
 
10359
_ACEOF
-
 
10360
cat confdefs.h >>conftest.$ac_ext
-
 
10361
cat >>conftest.$ac_ext <<_ACEOF
-
 
10362
/* end confdefs.h.  */
-
 
10363
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
-
 
10364
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-
 
10365
#define dlopen innocuous_dlopen
-
 
10366
 
-
 
10367
/* System header to define __stub macros and hopefully few prototypes,
-
 
10368
    which can conflict with char dlopen (); below.
-
 
10369
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-
 
10370
    <limits.h> exists even on freestanding compilers.  */
-
 
10371
 
-
 
10372
#ifdef __STDC__
-
 
10373
# include <limits.h>
-
 
10374
#else
-
 
10375
# include <assert.h>
-
 
10376
#endif
-
 
10377
 
-
 
10378
#undef dlopen
-
 
10379
 
-
 
10380
/* Override any GCC internal prototype to avoid an error.
-
 
10381
   Use char because int might match the return type of a GCC
-
 
10382
   builtin and then its argument prototype would still apply.  */
-
 
10383
#ifdef __cplusplus
-
 
10384
extern "C"
-
 
10385
#endif
-
 
10386
char dlopen ();
-
 
10387
/* The GNU C library defines this for functions which it implements
-
 
10388
    to always fail with ENOSYS.  Some functions are actually named
-
 
10389
    something starting with __ and the normal name is an alias.  */
-
 
10390
#if defined __stub_dlopen || defined __stub___dlopen
-
 
10391
choke me
-
 
10392
#endif
-
 
10393
 
-
 
10394
int
-
 
10395
main ()
-
 
10396
{
-
 
10397
return dlopen ();
-
 
10398
  ;
-
 
10399
  return 0;
-
 
10400
}
-
 
10401
_ACEOF
-
 
10402
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
10403
if { (ac_try="$ac_link"
-
 
10404
case "(($ac_try" in
-
 
10405
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
10406
  *) ac_try_echo=$ac_try;;
-
 
10407
esac
-
 
10408
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
10409
$as_echo "$ac_try_echo") >&5
-
 
10410
  (eval "$ac_link") 2>conftest.er1
-
 
10411
  ac_status=$?
-
 
10412
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
10413
  rm -f conftest.er1
-
 
10414
  cat conftest.err >&5
-
 
10415
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
10416
  (exit $ac_status); } && {
-
 
10417
	 test -z "$ac_c_werror_flag" ||
-
 
10418
	 test ! -s conftest.err
-
 
10419
       } && test -s conftest$ac_exeext && {
-
 
10420
	 test "$cross_compiling" = yes ||
-
 
10421
	 $as_test_x conftest$ac_exeext
-
 
10422
       }; then
-
 
10423
  ac_cv_func_dlopen=yes
-
 
10424
else
-
 
10425
  $as_echo "$as_me: failed program was:" >&5
-
 
10426
sed 's/^/| /' conftest.$ac_ext >&5
-
 
10427
 
-
 
10428
	ac_cv_func_dlopen=no
-
 
10429
fi
-
 
10430
 
-
 
10431
rm -rf conftest.dSYM
-
 
10432
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-
 
10433
      conftest$ac_exeext conftest.$ac_ext
-
 
10434
fi
-
 
10435
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9805
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10436
$as_echo "$ac_cv_func_dlopen" >&6; }
-
 
10437
if test "x$ac_cv_func_dlopen" = x""yes; then
9806
if test "x$ac_cv_func_dlopen" = x""yes; then :
10438
  lt_cv_dlopen="dlopen"
9807
  lt_cv_dlopen="dlopen"
10439
else
9808
else
10440
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9809
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10441
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9810
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10442
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9811
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10443
  $as_echo_n "(cached) " >&6
9812
  $as_echo_n "(cached) " >&6
10444
else
9813
else
10445
  ac_check_lib_save_LIBS=$LIBS
9814
  ac_check_lib_save_LIBS=$LIBS
10446
LIBS="-ldl  $LIBS"
9815
LIBS="-ldl  $LIBS"
10447
cat >conftest.$ac_ext <<_ACEOF
-
 
10448
/* confdefs.h.  */
-
 
10449
_ACEOF
-
 
10450
cat confdefs.h >>conftest.$ac_ext
9816
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10451
cat >>conftest.$ac_ext <<_ACEOF
-
 
10452
/* end confdefs.h.  */
9817
/* end confdefs.h.  */
10453
 
9818
 
10454
/* Override any GCC internal prototype to avoid an error.
9819
/* Override any GCC internal prototype to avoid an error.
10455
   Use char because int might match the return type of a GCC
9820
   Use char because int might match the return type of a GCC
10456
   builtin and then its argument prototype would still apply.  */
9821
   builtin and then its argument prototype would still apply.  */
10457
#ifdef __cplusplus
9822
#ifdef __cplusplus
10458
extern "C"
9823
extern "C"
10459
#endif
9824
#endif
10460
char dlopen ();
9825
char dlopen ();
10461
int
9826
int
10462
main ()
9827
main ()
10463
{
9828
{
10464
return dlopen ();
9829
return dlopen ();
10465
  ;
9830
  ;
10466
  return 0;
9831
  return 0;
10467
}
9832
}
10468
_ACEOF
9833
_ACEOF
10469
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
10470
if { (ac_try="$ac_link"
-
 
10471
case "(($ac_try" in
-
 
10472
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
10473
  *) ac_try_echo=$ac_try;;
-
 
10474
esac
-
 
10475
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
10476
$as_echo "$ac_try_echo") >&5
-
 
10477
  (eval "$ac_link") 2>conftest.er1
9834
if ac_fn_c_try_link "$LINENO"; then :
10478
  ac_status=$?
-
 
10479
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
10480
  rm -f conftest.er1
-
 
10481
  cat conftest.err >&5
-
 
10482
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
10483
  (exit $ac_status); } && {
-
 
10484
	 test -z "$ac_c_werror_flag" ||
-
 
10485
	 test ! -s conftest.err
-
 
10486
       } && test -s conftest$ac_exeext && {
-
 
10487
	 test "$cross_compiling" = yes ||
-
 
10488
	 $as_test_x conftest$ac_exeext
-
 
10489
       }; then
-
 
10490
  ac_cv_lib_dl_dlopen=yes
9835
  ac_cv_lib_dl_dlopen=yes
10491
else
9836
else
10492
  $as_echo "$as_me: failed program was:" >&5
-
 
10493
sed 's/^/| /' conftest.$ac_ext >&5
-
 
10494
 
-
 
10495
	ac_cv_lib_dl_dlopen=no
9837
  ac_cv_lib_dl_dlopen=no
10496
fi
9838
fi
10497
 
-
 
10498
rm -rf conftest.dSYM
-
 
10499
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9839
rm -f core conftest.err conftest.$ac_objext \
10500
      conftest$ac_exeext conftest.$ac_ext
9840
    conftest$ac_exeext conftest.$ac_ext
10501
LIBS=$ac_check_lib_save_LIBS
9841
LIBS=$ac_check_lib_save_LIBS
10502
fi
9842
fi
10503
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10504
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9844
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10505
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9845
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10506
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9846
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10507
else
9847
else
10508
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9848
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10509
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
9849
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10510
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9850
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10511
  $as_echo_n "(cached) " >&6
9851
  $as_echo_n "(cached) " >&6
10512
else
9852
else
10513
  ac_check_lib_save_LIBS=$LIBS
9853
  ac_check_lib_save_LIBS=$LIBS
10514
LIBS="-lsvld  $LIBS"
9854
LIBS="-lsvld  $LIBS"
10515
cat >conftest.$ac_ext <<_ACEOF
-
 
10516
/* confdefs.h.  */
-
 
10517
_ACEOF
-
 
10518
cat confdefs.h >>conftest.$ac_ext
9855
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519
cat >>conftest.$ac_ext <<_ACEOF
-
 
10520
/* end confdefs.h.  */
9856
/* end confdefs.h.  */
10521
 
9857
 
10522
/* Override any GCC internal prototype to avoid an error.
9858
/* Override any GCC internal prototype to avoid an error.
10523
   Use char because int might match the return type of a GCC
9859
   Use char because int might match the return type of a GCC
10524
   builtin and then its argument prototype would still apply.  */
9860
   builtin and then its argument prototype would still apply.  */
10525
#ifdef __cplusplus
9861
#ifdef __cplusplus
10526
extern "C"
9862
extern "C"
10527
#endif
9863
#endif
10528
char dlopen ();
9864
char dlopen ();
10529
int
9865
int
10530
main ()
9866
main ()
10531
{
9867
{
10532
return dlopen ();
9868
return dlopen ();
10533
  ;
9869
  ;
10534
  return 0;
9870
  return 0;
10535
}
9871
}
10536
_ACEOF
9872
_ACEOF
10537
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
10538
if { (ac_try="$ac_link"
-
 
10539
case "(($ac_try" in
-
 
10540
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
10541
  *) ac_try_echo=$ac_try;;
-
 
10542
esac
-
 
10543
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
10544
$as_echo "$ac_try_echo") >&5
-
 
10545
  (eval "$ac_link") 2>conftest.er1
9873
if ac_fn_c_try_link "$LINENO"; then :
10546
  ac_status=$?
-
 
10547
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
10548
  rm -f conftest.er1
-
 
10549
  cat conftest.err >&5
-
 
10550
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
10551
  (exit $ac_status); } && {
-
 
10552
	 test -z "$ac_c_werror_flag" ||
-
 
10553
	 test ! -s conftest.err
-
 
10554
       } && test -s conftest$ac_exeext && {
-
 
10555
	 test "$cross_compiling" = yes ||
-
 
10556
	 $as_test_x conftest$ac_exeext
-
 
10557
       }; then
-
 
10558
  ac_cv_lib_svld_dlopen=yes
9874
  ac_cv_lib_svld_dlopen=yes
10559
else
9875
else
10560
  $as_echo "$as_me: failed program was:" >&5
-
 
10561
sed 's/^/| /' conftest.$ac_ext >&5
-
 
10562
 
-
 
10563
	ac_cv_lib_svld_dlopen=no
9876
  ac_cv_lib_svld_dlopen=no
10564
fi
9877
fi
10565
 
-
 
10566
rm -rf conftest.dSYM
-
 
10567
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9878
rm -f core conftest.err conftest.$ac_objext \
10568
      conftest$ac_exeext conftest.$ac_ext
9879
    conftest$ac_exeext conftest.$ac_ext
10569
LIBS=$ac_check_lib_save_LIBS
9880
LIBS=$ac_check_lib_save_LIBS
10570
fi
9881
fi
10571
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10572
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9883
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10573
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
9884
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10574
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9885
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10575
else
9886
else
10576
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9887
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10577
$as_echo_n "checking for dld_link in -ldld... " >&6; }
9888
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10578
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9889
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10579
  $as_echo_n "(cached) " >&6
9890
  $as_echo_n "(cached) " >&6
10580
else
9891
else
10581
  ac_check_lib_save_LIBS=$LIBS
9892
  ac_check_lib_save_LIBS=$LIBS
10582
LIBS="-ldld  $LIBS"
9893
LIBS="-ldld  $LIBS"
10583
cat >conftest.$ac_ext <<_ACEOF
-
 
10584
/* confdefs.h.  */
-
 
10585
_ACEOF
-
 
10586
cat confdefs.h >>conftest.$ac_ext
9894
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10587
cat >>conftest.$ac_ext <<_ACEOF
-
 
10588
/* end confdefs.h.  */
9895
/* end confdefs.h.  */
10589
 
9896
 
10590
/* Override any GCC internal prototype to avoid an error.
9897
/* Override any GCC internal prototype to avoid an error.
10591
   Use char because int might match the return type of a GCC
9898
   Use char because int might match the return type of a GCC
10592
   builtin and then its argument prototype would still apply.  */
9899
   builtin and then its argument prototype would still apply.  */
10593
#ifdef __cplusplus
9900
#ifdef __cplusplus
10594
extern "C"
9901
extern "C"
10595
#endif
9902
#endif
10596
char dld_link ();
9903
char dld_link ();
10597
int
9904
int
10598
main ()
9905
main ()
10599
{
9906
{
10600
return dld_link ();
9907
return dld_link ();
10601
  ;
9908
  ;
10602
  return 0;
9909
  return 0;
10603
}
9910
}
10604
_ACEOF
9911
_ACEOF
10605
rm -f conftest.$ac_objext conftest$ac_exeext
-
 
10606
if { (ac_try="$ac_link"
-
 
10607
case "(($ac_try" in
-
 
10608
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-
 
10609
  *) ac_try_echo=$ac_try;;
-
 
10610
esac
-
 
10611
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-
 
10612
$as_echo "$ac_try_echo") >&5
-
 
10613
  (eval "$ac_link") 2>conftest.er1
9912
if ac_fn_c_try_link "$LINENO"; then :
10614
  ac_status=$?
-
 
10615
  grep -v '^ *+' conftest.er1 >conftest.err
-
 
10616
  rm -f conftest.er1
-
 
10617
  cat conftest.err >&5
-
 
10618
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-
 
10619
  (exit $ac_status); } && {
-
 
10620
	 test -z "$ac_c_werror_flag" ||
-
 
10621
	 test ! -s conftest.err
-
 
10622
       } && test -s conftest$ac_exeext && {
-
 
10623
	 test "$cross_compiling" = yes ||
-
 
10624
	 $as_test_x conftest$ac_exeext
-
 
10625
       }; then
-
 
10626
  ac_cv_lib_dld_dld_link=yes
9913
  ac_cv_lib_dld_dld_link=yes
10627
else
9914
else
10628
  $as_echo "$as_me: failed program was:" >&5
-
 
10629
sed 's/^/| /' conftest.$ac_ext >&5
-
 
10630
 
-
 
10631
	ac_cv_lib_dld_dld_link=no
9915
  ac_cv_lib_dld_dld_link=no
10632
fi
9916
fi
10633
 
-
 
10634
rm -rf conftest.dSYM
-
 
10635
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9917
rm -f core conftest.err conftest.$ac_objext \
10636
      conftest$ac_exeext conftest.$ac_ext
9918
    conftest$ac_exeext conftest.$ac_ext
10637
LIBS=$ac_check_lib_save_LIBS
9919
LIBS=$ac_check_lib_save_LIBS
10638
fi
9920
fi
10639
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10640
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9922
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10641
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
9923
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10642
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
9924
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10643
fi
9925
fi
10644
 
9926
 
10645
	      
9927
	      
10646
fi
9928
fi
10647
 
9929
 
10648
	    
9930
	    
10649
fi
9931
fi
10650
 
9932
 
10651
	  
9933
	  
10652
fi
9934
fi
10653
 
9935
 
10654
	
9936
	
10655
fi
9937
fi
10656
 
9938
 
10657
      
9939
      
10658
fi
9940
fi
10659
 
9941
 
10660
    ;;
9942
    ;;
10661
  esac
9943
  esac
10662
 
9944
 
10663
  if test "x$lt_cv_dlopen" != xno; then
9945
  if test "x$lt_cv_dlopen" != xno; then
10664
    enable_dlopen=yes
9946
    enable_dlopen=yes
10665
  else
9947
  else
10666
    enable_dlopen=no
9948
    enable_dlopen=no
10667
  fi
9949
  fi
10668
 
9950
 
10669
  case $lt_cv_dlopen in
9951
  case $lt_cv_dlopen in
10670
  dlopen)
9952
  dlopen)
10671
    save_CPPFLAGS="$CPPFLAGS"
9953
    save_CPPFLAGS="$CPPFLAGS"
10672
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9954
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10673
 
9955
 
10674
    save_LDFLAGS="$LDFLAGS"
9956
    save_LDFLAGS="$LDFLAGS"
10675
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9957
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10676
 
9958
 
10677
    save_LIBS="$LIBS"
9959
    save_LIBS="$LIBS"
10678
    LIBS="$lt_cv_dlopen_libs $LIBS"
9960
    LIBS="$lt_cv_dlopen_libs $LIBS"
10679
 
9961
 
10680
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9962
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10681
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
9963
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10682
if test "${lt_cv_dlopen_self+set}" = set; then
9964
if test "${lt_cv_dlopen_self+set}" = set; then :
10683
  $as_echo_n "(cached) " >&6
9965
  $as_echo_n "(cached) " >&6
10684
else
9966
else
10685
  	  if test "$cross_compiling" = yes; then :
9967
  	  if test "$cross_compiling" = yes; then :
10686
  lt_cv_dlopen_self=cross
9968
  lt_cv_dlopen_self=cross
10687
else
9969
else
10688
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9970
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10689
  lt_status=$lt_dlunknown
9971
  lt_status=$lt_dlunknown
10690
  cat > conftest.$ac_ext <<_LT_EOF
9972
  cat > conftest.$ac_ext <<_LT_EOF
10691
#line __oline__ "configure"
9973
#line __oline__ "configure"
10692
#include "confdefs.h"
9974
#include "confdefs.h"
10693
 
9975
 
10694
#if HAVE_DLFCN_H
9976
#if HAVE_DLFCN_H
10695
#include <dlfcn.h>
9977
#include <dlfcn.h>
10696
#endif
9978
#endif
10697
 
9979
 
10698
#include <stdio.h>
9980
#include <stdio.h>
10699
 
9981
 
10700
#ifdef RTLD_GLOBAL
9982
#ifdef RTLD_GLOBAL
10701
#  define LT_DLGLOBAL		RTLD_GLOBAL
9983
#  define LT_DLGLOBAL		RTLD_GLOBAL
10702
#else
9984
#else
10703
#  ifdef DL_GLOBAL
9985
#  ifdef DL_GLOBAL
10704
#    define LT_DLGLOBAL		DL_GLOBAL
9986
#    define LT_DLGLOBAL		DL_GLOBAL
10705
#  else
9987
#  else
10706
#    define LT_DLGLOBAL		0
9988
#    define LT_DLGLOBAL		0
10707
#  endif
9989
#  endif
10708
#endif
9990
#endif
10709
 
9991
 
10710
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9992
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10711
   find out it does not work in some platform. */
9993
   find out it does not work in some platform. */
10712
#ifndef LT_DLLAZY_OR_NOW
9994
#ifndef LT_DLLAZY_OR_NOW
10713
#  ifdef RTLD_LAZY
9995
#  ifdef RTLD_LAZY
10714
#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
9996
#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10715
#  else
9997
#  else
10716
#    ifdef DL_LAZY
9998
#    ifdef DL_LAZY
10717
#      define LT_DLLAZY_OR_NOW		DL_LAZY
9999
#      define LT_DLLAZY_OR_NOW		DL_LAZY
10718
#    else
10000
#    else
10719
#      ifdef RTLD_NOW
10001
#      ifdef RTLD_NOW
10720
#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10002
#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10721
#      else
10003
#      else
10722
#        ifdef DL_NOW
10004
#        ifdef DL_NOW
10723
#          define LT_DLLAZY_OR_NOW	DL_NOW
10005
#          define LT_DLLAZY_OR_NOW	DL_NOW
10724
#        else
10006
#        else
10725
#          define LT_DLLAZY_OR_NOW	0
10007
#          define LT_DLLAZY_OR_NOW	0
10726
#        endif
10008
#        endif
10727
#      endif
10009
#      endif
10728
#    endif
10010
#    endif
10729
#  endif
10011
#  endif
10730
#endif
10012
#endif
10731
 
10013
 
10732
void fnord() { int i=42;}
10014
void fnord() { int i=42;}
10733
int main ()
10015
int main ()
10734
{
10016
{
10735
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10017
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10736
  int status = $lt_dlunknown;
10018
  int status = $lt_dlunknown;
10737
 
10019
 
10738
  if (self)
10020
  if (self)
10739
    {
10021
    {
10740
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10022
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10741
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10023
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10742
      /* dlclose (self); */
10024
      /* dlclose (self); */
10743
    }
10025
    }
10744
  else
10026
  else
10745
    puts (dlerror ());
10027
    puts (dlerror ());
10746
 
10028
 
10747
  return status;
10029
  return status;
10748
}
10030
}
10749
_LT_EOF
10031
_LT_EOF
10750
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10032
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10751
  (eval $ac_link) 2>&5
10033
  (eval $ac_link) 2>&5
10752
  ac_status=$?
10034
  ac_status=$?
10753
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10754
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10036
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10755
    (./conftest; exit; ) >&5 2>/dev/null
10037
    (./conftest; exit; ) >&5 2>/dev/null
10756
    lt_status=$?
10038
    lt_status=$?
10757
    case x$lt_status in
10039
    case x$lt_status in
10758
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10040
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10759
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10041
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10760
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10042
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10761
    esac
10043
    esac
10762
  else :
10044
  else :
10763
    # compilation failed
10045
    # compilation failed
10764
    lt_cv_dlopen_self=no
10046
    lt_cv_dlopen_self=no
10765
  fi
10047
  fi
10766
fi
10048
fi
10767
rm -fr conftest*
10049
rm -fr conftest*
10768
 
10050
 
10769
    
10051
    
10770
fi
10052
fi
10771
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10772
$as_echo "$lt_cv_dlopen_self" >&6; }
10054
$as_echo "$lt_cv_dlopen_self" >&6; }
10773
 
10055
 
10774
    if test "x$lt_cv_dlopen_self" = xyes; then
10056
    if test "x$lt_cv_dlopen_self" = xyes; then
10775
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10057
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10776
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10058
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10777
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10059
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10778
if test "${lt_cv_dlopen_self_static+set}" = set; then
10060
if test "${lt_cv_dlopen_self_static+set}" = set; then :
10779
  $as_echo_n "(cached) " >&6
10061
  $as_echo_n "(cached) " >&6
10780
else
10062
else
10781
  	  if test "$cross_compiling" = yes; then :
10063
  	  if test "$cross_compiling" = yes; then :
10782
  lt_cv_dlopen_self_static=cross
10064
  lt_cv_dlopen_self_static=cross
10783
else
10065
else
10784
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10066
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10785
  lt_status=$lt_dlunknown
10067
  lt_status=$lt_dlunknown
10786
  cat > conftest.$ac_ext <<_LT_EOF
10068
  cat > conftest.$ac_ext <<_LT_EOF
10787
#line __oline__ "configure"
10069
#line __oline__ "configure"
10788
#include "confdefs.h"
10070
#include "confdefs.h"
10789
 
10071
 
10790
#if HAVE_DLFCN_H
10072
#if HAVE_DLFCN_H
10791
#include <dlfcn.h>
10073
#include <dlfcn.h>
10792
#endif
10074
#endif
10793
 
10075
 
10794
#include <stdio.h>
10076
#include <stdio.h>
10795
 
10077
 
10796
#ifdef RTLD_GLOBAL
10078
#ifdef RTLD_GLOBAL
10797
#  define LT_DLGLOBAL		RTLD_GLOBAL
10079
#  define LT_DLGLOBAL		RTLD_GLOBAL
10798
#else
10080
#else
10799
#  ifdef DL_GLOBAL
10081
#  ifdef DL_GLOBAL
10800
#    define LT_DLGLOBAL		DL_GLOBAL
10082
#    define LT_DLGLOBAL		DL_GLOBAL
10801
#  else
10083
#  else
10802
#    define LT_DLGLOBAL		0
10084
#    define LT_DLGLOBAL		0
10803
#  endif
10085
#  endif
10804
#endif
10086
#endif
10805
 
10087
 
10806
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10088
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10807
   find out it does not work in some platform. */
10089
   find out it does not work in some platform. */
10808
#ifndef LT_DLLAZY_OR_NOW
10090
#ifndef LT_DLLAZY_OR_NOW
10809
#  ifdef RTLD_LAZY
10091
#  ifdef RTLD_LAZY
10810
#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10092
#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
10811
#  else
10093
#  else
10812
#    ifdef DL_LAZY
10094
#    ifdef DL_LAZY
10813
#      define LT_DLLAZY_OR_NOW		DL_LAZY
10095
#      define LT_DLLAZY_OR_NOW		DL_LAZY
10814
#    else
10096
#    else
10815
#      ifdef RTLD_NOW
10097
#      ifdef RTLD_NOW
10816
#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10098
#        define LT_DLLAZY_OR_NOW	RTLD_NOW
10817
#      else
10099
#      else
10818
#        ifdef DL_NOW
10100
#        ifdef DL_NOW
10819
#          define LT_DLLAZY_OR_NOW	DL_NOW
10101
#          define LT_DLLAZY_OR_NOW	DL_NOW
10820
#        else
10102
#        else
10821
#          define LT_DLLAZY_OR_NOW	0
10103
#          define LT_DLLAZY_OR_NOW	0
10822
#        endif
10104
#        endif
10823
#      endif
10105
#      endif
10824
#    endif
10106
#    endif
10825
#  endif
10107
#  endif
10826
#endif
10108
#endif
10827
 
10109
 
10828
void fnord() { int i=42;}
10110
void fnord() { int i=42;}
10829
int main ()
10111
int main ()
10830
{
10112
{
10831
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10113
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10832
  int status = $lt_dlunknown;
10114
  int status = $lt_dlunknown;
10833
 
10115
 
10834
  if (self)
10116
  if (self)
10835
    {
10117
    {
10836
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10118
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10837
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10119
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10838
      /* dlclose (self); */
10120
      /* dlclose (self); */
10839
    }
10121
    }
10840
  else
10122
  else
10841
    puts (dlerror ());
10123
    puts (dlerror ());
10842
 
10124
 
10843
  return status;
10125
  return status;
10844
}
10126
}
10845
_LT_EOF
10127
_LT_EOF
10846
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10128
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10847
  (eval $ac_link) 2>&5
10129
  (eval $ac_link) 2>&5
10848
  ac_status=$?
10130
  ac_status=$?
10849
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10850
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10132
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10851
    (./conftest; exit; ) >&5 2>/dev/null
10133
    (./conftest; exit; ) >&5 2>/dev/null
10852
    lt_status=$?
10134
    lt_status=$?
10853
    case x$lt_status in
10135
    case x$lt_status in
10854
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10136
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10855
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10137
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10856
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10138
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10857
    esac
10139
    esac
10858
  else :
10140
  else :
10859
    # compilation failed
10141
    # compilation failed
10860
    lt_cv_dlopen_self_static=no
10142
    lt_cv_dlopen_self_static=no
10861
  fi
10143
  fi
10862
fi
10144
fi
10863
rm -fr conftest*
10145
rm -fr conftest*
10864
 
10146
 
10865
      
10147
      
10866
fi
10148
fi
10867
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10868
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10150
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10869
    fi
10151
    fi
10870
 
10152
 
10871
    CPPFLAGS="$save_CPPFLAGS"
10153
    CPPFLAGS="$save_CPPFLAGS"
10872
    LDFLAGS="$save_LDFLAGS"
10154
    LDFLAGS="$save_LDFLAGS"
10873
    LIBS="$save_LIBS"
10155
    LIBS="$save_LIBS"
10874
    ;;
10156
    ;;
10875
  esac
10157
  esac
10876
 
10158
 
10877
  case $lt_cv_dlopen_self in
10159
  case $lt_cv_dlopen_self in
10878
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10160
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10879
  *) enable_dlopen_self=unknown ;;
10161
  *) enable_dlopen_self=unknown ;;
10880
  esac
10162
  esac
10881
 
10163
 
10882
  case $lt_cv_dlopen_self_static in
10164
  case $lt_cv_dlopen_self_static in
10883
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10165
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10884
  *) enable_dlopen_self_static=unknown ;;
10166
  *) enable_dlopen_self_static=unknown ;;
10885
  esac
10167
  esac
10886
fi
10168
fi
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
    
10182
    
10901
 
10183
 
10902
 
10184
 
10903
  
10185
  
10904
striplib=
10186
striplib=
10905
old_striplib=
10187
old_striplib=
10906
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10907
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10189
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10908
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10190
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10909
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10191
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10910
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10192
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10911
  { $as_echo "$as_me:$LINENO: result: yes" >&5
10193
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10912
$as_echo "yes" >&6; }
10194
$as_echo "yes" >&6; }
10913
else
10195
else
10914
# FIXME - insert some real tests, host_os isn't really good enough
10196
# FIXME - insert some real tests, host_os isn't really good enough
10915
  case $host_os in
10197
  case $host_os in
10916
  darwin*)
10198
  darwin*)
10917
    if test -n "$STRIP" ; then
10199
    if test -n "$STRIP" ; then
10918
      striplib="$STRIP -x"
10200
      striplib="$STRIP -x"
10919
      old_striplib="$STRIP -S"
10201
      old_striplib="$STRIP -S"
10920
      { $as_echo "$as_me:$LINENO: result: yes" >&5
10202
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10921
$as_echo "yes" >&6; }
10203
$as_echo "yes" >&6; }
10922
    else
10204
    else
10923
      { $as_echo "$as_me:$LINENO: result: no" >&5
10205
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10924
$as_echo "no" >&6; }
10206
$as_echo "no" >&6; }
10925
    fi
10207
    fi
10926
    ;;
10208
    ;;
10927
  *)
10209
  *)
10928
    { $as_echo "$as_me:$LINENO: result: no" >&5
10210
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10929
$as_echo "no" >&6; }
10211
$as_echo "no" >&6; }
10930
    ;;
10212
    ;;
10931
  esac
10213
  esac
10932
fi
10214
fi
10933
 
10215
 
10934
    
10216
    
10935
    
10217
    
10936
    
10218
    
10937
 
10219
 
10938
 
10220
 
10939
    
10221
    
10940
    
10222
    
10941
    
10223
    
10942
 
10224
 
10943
 
10225
 
10944
 
10226
 
10945
  # Report which library types will actually be built
10227
  # Report which library types will actually be built
10946
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10228
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10947
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10229
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10948
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10230
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10949
$as_echo "$can_build_shared" >&6; }
10231
$as_echo "$can_build_shared" >&6; }
10950
 
10232
 
10951
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10233
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10952
$as_echo_n "checking whether to build shared libraries... " >&6; }
10234
$as_echo_n "checking whether to build shared libraries... " >&6; }
10953
  test "$can_build_shared" = "no" && enable_shared=no
10235
  test "$can_build_shared" = "no" && enable_shared=no
10954
 
10236
 
10955
  # On AIX, shared libraries and static libraries use the same namespace, and
10237
  # On AIX, shared libraries and static libraries use the same namespace, and
10956
  # are all built from PIC.
10238
  # are all built from PIC.
10957
  case $host_os in
10239
  case $host_os in
10958
  aix3*)
10240
  aix3*)
10959
    test "$enable_shared" = yes && enable_static=no
10241
    test "$enable_shared" = yes && enable_static=no
10960
    if test -n "$RANLIB"; then
10242
    if test -n "$RANLIB"; then
10961
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
10243
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
10962
      postinstall_cmds='$RANLIB $lib'
10244
      postinstall_cmds='$RANLIB $lib'
10963
    fi
10245
    fi
10964
    ;;
10246
    ;;
10965
 
10247
 
10966
  aix[4-9]*)
10248
  aix[4-9]*)
10967
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10249
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10968
      test "$enable_shared" = yes && enable_static=no
10250
      test "$enable_shared" = yes && enable_static=no
10969
    fi
10251
    fi
10970
    ;;
10252
    ;;
10971
  esac
10253
  esac
10972
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10254
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10973
$as_echo "$enable_shared" >&6; }
10255
$as_echo "$enable_shared" >&6; }
10974
 
10256
 
10975
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10257
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10976
$as_echo_n "checking whether to build static libraries... " >&6; }
10258
$as_echo_n "checking whether to build static libraries... " >&6; }
10977
  # Make sure either enable_shared or enable_static is yes.
10259
  # Make sure either enable_shared or enable_static is yes.
10978
  test "$enable_shared" = yes || enable_static=yes
10260
  test "$enable_shared" = yes || enable_static=yes
10979
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10261
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10980
$as_echo "$enable_static" >&6; }
10262
$as_echo "$enable_static" >&6; }
10981
 
10263
 
10982
  
10264
  
10983
 
10265
 
10984
 
10266
 
10985
fi
10267
fi
10986
ac_ext=c
10268
ac_ext=c
10987
ac_cpp='$CPP $CPPFLAGS'
10269
ac_cpp='$CPP $CPPFLAGS'
10988
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10270
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10989
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10271
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10990
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10272
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10991
 
10273
 
10992
CC="$lt_save_CC"
10274
CC="$lt_save_CC"
10993
 
10275
 
10994
 
10276
 
10995
 
10277
 
10996
 
10278
 
10997
 
10279
 
10998
 
10280
 
10999
 
10281
 
11000
 
10282
 
11001
       
10283
       
11002
       
10284
       
11003
 
10285
 
11004
 
10286
 
11005
 
10287
 
11006
        ac_config_commands="$ac_config_commands libtool"
10288
        ac_config_commands="$ac_config_commands libtool"
11007
 
10289
 
11008
 
10290
 
11009
 
10291
 
11010
 
10292
 
11011
# Only expand once:
10293
# Only expand once:
11012
 
10294
 
11013
 
10295
 
11014
 
10296
 
11015
ac_config_files="$ac_config_files Makefile src/Makefile"
10297
ac_config_files="$ac_config_files Makefile src/Makefile"
11016
 
10298
 
11017
cat >confcache <<\_ACEOF
10299
cat >confcache <<\_ACEOF
11018
# This file is a shell script that caches the results of configure
10300
# This file is a shell script that caches the results of configure
11019
# tests run on this system so they can be shared between configure
10301
# tests run on this system so they can be shared between configure
11020
# scripts and configure runs, see configure's option --config-cache.
10302
# scripts and configure runs, see configure's option --config-cache.
11021
# It is not useful on other systems.  If it contains results you don't
10303
# It is not useful on other systems.  If it contains results you don't
11022
# want to keep, you may remove or edit it.
10304
# want to keep, you may remove or edit it.
11023
#
10305
#
11024
# config.status only pays attention to the cache file if you give it
10306
# config.status only pays attention to the cache file if you give it
11025
# the --recheck option to rerun configure.
10307
# the --recheck option to rerun configure.
11026
#
10308
#
11027
# `ac_cv_env_foo' variables (set or unset) will be overridden when
10309
# `ac_cv_env_foo' variables (set or unset) will be overridden when
11028
# loading this file, other *unset* `ac_cv_foo' will be assigned the
10310
# loading this file, other *unset* `ac_cv_foo' will be assigned the
11029
# following values.
10311
# following values.
11030
 
10312
 
11031
_ACEOF
10313
_ACEOF
11032
 
10314
 
11033
# The following way of writing the cache mishandles newlines in values,
10315
# The following way of writing the cache mishandles newlines in values,
11034
# but we know of no workaround that is simple, portable, and efficient.
10316
# but we know of no workaround that is simple, portable, and efficient.
11035
# So, we kill variables containing newlines.
10317
# So, we kill variables containing newlines.
11036
# Ultrix sh set writes to stderr and can't be redirected directly,
10318
# Ultrix sh set writes to stderr and can't be redirected directly,
11037
# and sets the high bit in the cache file unless we assign to the vars.
10319
# and sets the high bit in the cache file unless we assign to the vars.
11038
(
10320
(
11039
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10321
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11040
    eval ac_val=\$$ac_var
10322
    eval ac_val=\$$ac_var
11041
    case $ac_val in #(
10323
    case $ac_val in #(
11042
    *${as_nl}*)
10324
    *${as_nl}*)
11043
      case $ac_var in #(
10325
      case $ac_var in #(
11044
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
10326
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11045
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10327
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11046
      esac
10328
      esac
11047
      case $ac_var in #(
10329
      case $ac_var in #(
11048
      _ | IFS | as_nl) ;; #(
10330
      _ | IFS | as_nl) ;; #(
11049
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
10331
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11050
      *) $as_unset $ac_var ;;
10332
      *) { eval $ac_var=; unset $ac_var;} ;;
11051
      esac ;;
10333
      esac ;;
11052
    esac
10334
    esac
11053
  done
10335
  done
11054
 
10336
 
11055
  (set) 2>&1 |
10337
  (set) 2>&1 |
11056
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
10338
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
11057
    *${as_nl}ac_space=\ *)
10339
    *${as_nl}ac_space=\ *)
11058
      # `set' does not quote correctly, so add quotes (double-quote
10340
      # `set' does not quote correctly, so add quotes: double-quote
11059
      # substitution turns \\\\ into \\, and sed turns \\ into \).
10341
      # substitution turns \\\\ into \\, and sed turns \\ into \.
11060
      sed -n \
10342
      sed -n \
11061
	"s/'/'\\\\''/g;
10343
	"s/'/'\\\\''/g;
11062
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10344
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11063
      ;; #(
10345
      ;; #(
11064
    *)
10346
    *)
11065
      # `set' quotes correctly as required by POSIX, so do not add quotes.
10347
      # `set' quotes correctly as required by POSIX, so do not add quotes.
11066
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10348
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11067
      ;;
10349
      ;;
11068
    esac |
10350
    esac |
11069
    sort
10351
    sort
11070
) |
10352
) |
11071
  sed '
10353
  sed '
11072
     /^ac_cv_env_/b end
10354
     /^ac_cv_env_/b end
11073
     t clear
10355
     t clear
11074
     :clear
10356
     :clear
11075
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10357
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11076
     t end
10358
     t end
11077
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10359
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11078
     :end' >>confcache
10360
     :end' >>confcache
11079
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10361
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11080
  if test -w "$cache_file"; then
10362
  if test -w "$cache_file"; then
11081
    test "x$cache_file" != "x/dev/null" &&
10363
    test "x$cache_file" != "x/dev/null" &&
11082
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
10364
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11083
$as_echo "$as_me: updating cache $cache_file" >&6;}
10365
$as_echo "$as_me: updating cache $cache_file" >&6;}
11084
    cat confcache >$cache_file
10366
    cat confcache >$cache_file
11085
  else
10367
  else
11086
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10368
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11087
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10369
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11088
  fi
10370
  fi
11089
fi
10371
fi
11090
rm -f confcache
10372
rm -f confcache
11091
 
10373
 
11092
test "x$prefix" = xNONE && prefix=$ac_default_prefix
10374
test "x$prefix" = xNONE && prefix=$ac_default_prefix
11093
# Let make expand exec_prefix.
10375
# Let make expand exec_prefix.
11094
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10376
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11095
 
10377
 
11096
DEFS=-DHAVE_CONFIG_H
10378
DEFS=-DHAVE_CONFIG_H
11097
 
10379
 
11098
ac_libobjs=
10380
ac_libobjs=
11099
ac_ltlibobjs=
10381
ac_ltlibobjs=
11100
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
10382
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
11101
  # 1. Remove the extension, and $U if already installed.
10383
  # 1. Remove the extension, and $U if already installed.
11102
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
10384
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11103
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
10385
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11104
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
10386
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
11105
  #    will be set to the directory where LIBOBJS objects are built.
10387
  #    will be set to the directory where LIBOBJS objects are built.
11106
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10388
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11107
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10389
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11108
done
10390
done
11109
LIB@&t@OBJS=$ac_libobjs
10391
LIB@&t@OBJS=$ac_libobjs
11110
 
10392
 
11111
LTLIBOBJS=$ac_ltlibobjs
10393
LTLIBOBJS=$ac_ltlibobjs
11112
 
10394
 
11113
 
10395
 
-
 
10396
 if test -n "$EXEEXT"; then
-
 
10397
  am__EXEEXT_TRUE=
-
 
10398
  am__EXEEXT_FALSE='#'
-
 
10399
else
-
 
10400
  am__EXEEXT_TRUE='#'
-
 
10401
  am__EXEEXT_FALSE=
-
 
10402
fi
-
 
10403
 
11114
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10404
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11115
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
-
 
11116
Usually this means the macro was only invoked conditionally." >&5
-
 
11117
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
10405
  as_fn_error "conditional \"AMDEP\" was never defined.
11118
Usually this means the macro was only invoked conditionally." >&2;}
10406
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11119
   { (exit 1); exit 1; }; }
-
 
11120
fi
10407
fi
11121
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10408
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11122
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
-
 
11123
Usually this means the macro was only invoked conditionally." >&5
-
 
11124
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10409
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
11125
Usually this means the macro was only invoked conditionally." >&2;}
10410
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11126
   { (exit 1); exit 1; }; }
-
 
11127
fi
10411
fi
11128
 
10412
 
11129
: ${CONFIG_STATUS=./config.status}
10413
: ${CONFIG_STATUS=./config.status}
11130
ac_write_fail=0
10414
ac_write_fail=0
11131
ac_clean_files_save=$ac_clean_files
10415
ac_clean_files_save=$ac_clean_files
11132
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10416
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11133
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10417
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11134
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10418
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-
 
10419
as_write_fail=0
11135
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10420
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11136
#! $SHELL
10421
#! $SHELL
11137
# Generated by $as_me.
10422
# Generated by $as_me.
11138
# Run this file to recreate the current configuration.
10423
# Run this file to recreate the current configuration.
11139
# Compiler output produced by configure, useful for debugging
10424
# Compiler output produced by configure, useful for debugging
11140
# configure, is in config.log if it exists.
10425
# configure, is in config.log if it exists.
11141
 
10426
 
11142
debug=false
10427
debug=false
11143
ac_cs_recheck=false
10428
ac_cs_recheck=false
11144
ac_cs_silent=false
10429
ac_cs_silent=false
11145
SHELL=\${CONFIG_SHELL-$SHELL}
-
 
11146
_ACEOF
-
 
11147
 
10430
 
-
 
10431
SHELL=\${CONFIG_SHELL-$SHELL}
-
 
10432
export SHELL
-
 
10433
_ASEOF
11148
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10434
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11149
## --------------------- ##
10435
## -------------------- ##
11150
## M4sh Initialization.  ##
10436
## M4sh Initialization. ##
11151
## --------------------- ##
10437
## -------------------- ##
11152
 
10438
 
11153
# Be more Bourne compatible
10439
# Be more Bourne compatible
11154
DUALCASE=1; export DUALCASE # for MKS sh
10440
DUALCASE=1; export DUALCASE # for MKS sh
11155
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10441
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11156
  emulate sh
10442
  emulate sh
11157
  NULLCMD=:
10443
  NULLCMD=:
11158
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10444
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11159
  # is contrary to our usage.  Disable this feature.
10445
  # is contrary to our usage.  Disable this feature.
11160
  alias -g '${1+"$@"}'='"$@"'
10446
  alias -g '${1+"$@"}'='"$@"'
11161
  setopt NO_GLOB_SUBST
10447
  setopt NO_GLOB_SUBST
11162
else
10448
else
11163
  case `(set -o) 2>/dev/null` in
10449
  case `(set -o) 2>/dev/null` in @%:@(
-
 
10450
  *posix*) :
11164
  *posix*) set -o posix ;;
10451
    set -o posix ;; @%:@(
-
 
10452
  *) :
-
 
10453
     ;;
11165
esac
10454
esac
11166
 
-
 
11167
fi
10455
fi
11168
 
10456
 
11169
 
10457
 
11170
 
-
 
11171
 
-
 
11172
# PATH needs CR
-
 
11173
# Avoid depending upon Character Ranges.
-
 
11174
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-
 
11175
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-
 
11176
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-
 
11177
as_cr_digits='0123456789'
-
 
11178
as_cr_alnum=$as_cr_Letters$as_cr_digits
-
 
11179
 
-
 
11180
as_nl='
10458
as_nl='
11181
'
10459
'
11182
export as_nl
10460
export as_nl
11183
# Printing a long string crashes Solaris 7 /usr/bin/printf.
10461
# Printing a long string crashes Solaris 7 /usr/bin/printf.
11184
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10462
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11185
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
10463
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11186
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
10464
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-
 
10465
# Prefer a ksh shell builtin over an external printf program on Solaris,
-
 
10466
# but without wasting forks for bash or zsh.
-
 
10467
if test -z "$BASH_VERSION$ZSH_VERSION" \
-
 
10468
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
-
 
10469
  as_echo='print -r --'
-
 
10470
  as_echo_n='print -rn --'
11187
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
10471
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11188
  as_echo='printf %s\n'
10472
  as_echo='printf %s\n'
11189
  as_echo_n='printf %s'
10473
  as_echo_n='printf %s'
11190
else
10474
else
11191
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
10475
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11192
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
10476
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11193
    as_echo_n='/usr/ucb/echo -n'
10477
    as_echo_n='/usr/ucb/echo -n'
11194
  else
10478
  else
11195
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
10479
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11196
    as_echo_n_body='eval
10480
    as_echo_n_body='eval
11197
      arg=$1;
10481
      arg=$1;
11198
      case $arg in
10482
      case $arg in @%:@(
11199
      *"$as_nl"*)
10483
      *"$as_nl"*)
11200
	expr "X$arg" : "X\\(.*\\)$as_nl";
10484
	expr "X$arg" : "X\\(.*\\)$as_nl";
11201
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
10485
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11202
      esac;
10486
      esac;
11203
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
10487
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11204
    '
10488
    '
11205
    export as_echo_n_body
10489
    export as_echo_n_body
11206
    as_echo_n='sh -c $as_echo_n_body as_echo'
10490
    as_echo_n='sh -c $as_echo_n_body as_echo'
11207
  fi
10491
  fi
11208
  export as_echo_body
10492
  export as_echo_body
11209
  as_echo='sh -c $as_echo_body as_echo'
10493
  as_echo='sh -c $as_echo_body as_echo'
11210
fi
10494
fi
11211
 
10495
 
11212
# The user is always right.
10496
# The user is always right.
11213
if test "${PATH_SEPARATOR+set}" != set; then
10497
if test "${PATH_SEPARATOR+set}" != set; then
11214
  PATH_SEPARATOR=:
10498
  PATH_SEPARATOR=:
11215
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10499
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11216
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10500
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11217
      PATH_SEPARATOR=';'
10501
      PATH_SEPARATOR=';'
11218
  }
10502
  }
11219
fi
10503
fi
11220
 
10504
 
11221
# Support unset when possible.
-
 
11222
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
-
 
11223
  as_unset=unset
-
 
11224
else
-
 
11225
  as_unset=false
-
 
11226
fi
-
 
11227
 
-
 
11228
 
10505
 
11229
# IFS
10506
# IFS
11230
# We need space, tab and new line, in precisely that order.  Quoting is
10507
# We need space, tab and new line, in precisely that order.  Quoting is
11231
# there to prevent editors from complaining about space-tab.
10508
# there to prevent editors from complaining about space-tab.
11232
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
10509
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11233
# splitting by setting IFS to empty value.)
10510
# splitting by setting IFS to empty value.)
11234
IFS=" ""	$as_nl"
10511
IFS=" ""	$as_nl"
11235
 
10512
 
11236
# Find who we are.  Look in the path if we contain no directory separator.
10513
# Find who we are.  Look in the path if we contain no directory separator.
11237
case $0 in
10514
case $0 in @%:@((
11238
  *[\\/]* ) as_myself=$0 ;;
10515
  *[\\/]* ) as_myself=$0 ;;
11239
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10516
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11240
for as_dir in $PATH
10517
for as_dir in $PATH
11241
do
10518
do
11242
  IFS=$as_save_IFS
10519
  IFS=$as_save_IFS
11243
  test -z "$as_dir" && as_dir=.
10520
  test -z "$as_dir" && as_dir=.
11244
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10521
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11245
done
10522
  done
11246
IFS=$as_save_IFS
10523
IFS=$as_save_IFS
11247
 
10524
 
11248
     ;;
10525
     ;;
11249
esac
10526
esac
11250
# We did not find ourselves, most probably we were run as `sh COMMAND'
10527
# We did not find ourselves, most probably we were run as `sh COMMAND'
11251
# in which case we are not to be found in the path.
10528
# in which case we are not to be found in the path.
11252
if test "x$as_myself" = x; then
10529
if test "x$as_myself" = x; then
11253
  as_myself=$0
10530
  as_myself=$0
11254
fi
10531
fi
11255
if test ! -f "$as_myself"; then
10532
if test ! -f "$as_myself"; then
11256
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10533
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11257
  { (exit 1); exit 1; }
10534
  exit 1
11258
fi
10535
fi
11259
 
10536
 
-
 
10537
# Unset variables that we do not need and which cause bugs (e.g. in
-
 
10538
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
-
 
10539
# suppresses any "Segmentation fault" message there.  '((' could
11260
# Work around bugs in pre-3.0 UWIN ksh.
10540
# trigger a bug in pdksh 5.2.14.
11261
for as_var in ENV MAIL MAILPATH
10541
for as_var in BASH_ENV ENV MAIL MAILPATH
-
 
10542
do eval test x\${$as_var+set} = xset \
11262
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10543
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11263
done
10544
done
11264
PS1='$ '
10545
PS1='$ '
11265
PS2='> '
10546
PS2='> '
11266
PS4='+ '
10547
PS4='+ '
11267
 
10548
 
11268
# NLS nuisances.
10549
# NLS nuisances.
11269
LC_ALL=C
10550
LC_ALL=C
11270
export LC_ALL
10551
export LC_ALL
11271
LANGUAGE=C
10552
LANGUAGE=C
11272
export LANGUAGE
10553
export LANGUAGE
11273
 
10554
 
-
 
10555
# CDPATH.
-
 
10556
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
 
10557
 
-
 
10558
 
-
 
10559
@%:@ as_fn_error ERROR [LINENO LOG_FD]
-
 
10560
@%:@ ---------------------------------
-
 
10561
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-
 
10562
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-
 
10563
@%:@ script with status $?, using 1 if that was 0.
-
 
10564
as_fn_error ()
-
 
10565
{
-
 
10566
  as_status=$?; test $as_status -eq 0 && as_status=1
-
 
10567
  if test "$3"; then
-
 
10568
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-
 
10569
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
-
 
10570
  fi
-
 
10571
  $as_echo "$as_me: error: $1" >&2
11274
# Required to use basename.
10572
  as_fn_exit $as_status
-
 
10573
} @%:@ as_fn_error
-
 
10574
 
-
 
10575
 
-
 
10576
@%:@ as_fn_set_status STATUS
-
 
10577
@%:@ -----------------------
-
 
10578
@%:@ Set $? to STATUS, without forking.
-
 
10579
as_fn_set_status ()
-
 
10580
{
-
 
10581
  return $1
-
 
10582
} @%:@ as_fn_set_status
-
 
10583
 
-
 
10584
@%:@ as_fn_exit STATUS
-
 
10585
@%:@ -----------------
-
 
10586
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-
 
10587
as_fn_exit ()
-
 
10588
{
-
 
10589
  set +e
-
 
10590
  as_fn_set_status $1
-
 
10591
  exit $1
-
 
10592
} @%:@ as_fn_exit
-
 
10593
 
-
 
10594
@%:@ as_fn_unset VAR
-
 
10595
@%:@ ---------------
-
 
10596
@%:@ Portably unset VAR.
-
 
10597
as_fn_unset ()
-
 
10598
{
-
 
10599
  { eval $1=; unset $1;}
-
 
10600
}
-
 
10601
as_unset=as_fn_unset
-
 
10602
@%:@ as_fn_append VAR VALUE
-
 
10603
@%:@ ----------------------
-
 
10604
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
-
 
10605
@%:@ advantage of any shell optimizations that allow amortized linear growth over
-
 
10606
@%:@ repeated appends, instead of the typical quadratic growth present in naive
-
 
10607
@%:@ implementations.
-
 
10608
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
-
 
10609
  eval 'as_fn_append ()
-
 
10610
  {
-
 
10611
    eval $1+=\$2
-
 
10612
  }'
-
 
10613
else
-
 
10614
  as_fn_append ()
-
 
10615
  {
-
 
10616
    eval $1=\$$1\$2
-
 
10617
  }
-
 
10618
fi # as_fn_append
-
 
10619
 
-
 
10620
@%:@ as_fn_arith ARG...
-
 
10621
@%:@ ------------------
-
 
10622
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
-
 
10623
@%:@ global $as_val. Take advantage of shells that can avoid forks. The arguments
-
 
10624
@%:@ must be portable across $(()) and expr.
-
 
10625
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
-
 
10626
  eval 'as_fn_arith ()
-
 
10627
  {
-
 
10628
    as_val=$(( $* ))
-
 
10629
  }'
-
 
10630
else
-
 
10631
  as_fn_arith ()
-
 
10632
  {
-
 
10633
    as_val=`expr "$@" || test $? -eq 1`
-
 
10634
  }
-
 
10635
fi # as_fn_arith
-
 
10636
 
-
 
10637
 
11275
if expr a : '\(a\)' >/dev/null 2>&1 &&
10638
if expr a : '\(a\)' >/dev/null 2>&1 &&
11276
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
10639
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11277
  as_expr=expr
10640
  as_expr=expr
11278
else
10641
else
11279
  as_expr=false
10642
  as_expr=false
11280
fi
10643
fi
11281
 
10644
 
11282
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10645
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11283
  as_basename=basename
10646
  as_basename=basename
11284
else
10647
else
11285
  as_basename=false
10648
  as_basename=false
11286
fi
10649
fi
11287
 
10650
 
-
 
10651
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
-
 
10652
  as_dirname=dirname
-
 
10653
else
-
 
10654
  as_dirname=false
-
 
10655
fi
11288
 
10656
 
11289
# Name of the executable.
-
 
11290
as_me=`$as_basename -- "$0" ||
10657
as_me=`$as_basename -- "$0" ||
11291
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10658
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11292
	 X"$0" : 'X\(//\)$' \| \
10659
	 X"$0" : 'X\(//\)$' \| \
11293
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10660
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11294
$as_echo X/"$0" |
10661
$as_echo X/"$0" |
11295
    sed '/^.*\/\([^/][^/]*\)\/*$/{
10662
    sed '/^.*\/\([^/][^/]*\)\/*$/{
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
	  /^X\/\(\/\).*/{
10670
	  /^X\/\(\/\).*/{
11304
	    s//\1/
10671
	    s//\1/
11305
	    q
10672
	    q
11306
	  }
10673
	  }
11307
	  s/.*/./; q'`
10674
	  s/.*/./; q'`
11308
 
10675
 
11309
# CDPATH.
-
 
11310
$as_unset CDPATH
-
 
11311
 
-
 
11312
 
-
 
11313
 
-
 
11314
  as_lineno_1=$LINENO
-
 
11315
  as_lineno_2=$LINENO
-
 
11316
  test "x$as_lineno_1" != "x$as_lineno_2" &&
10676
# Avoid depending upon Character Ranges.
11317
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
 
11318
 
-
 
11319
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
-
 
11320
  # uniformly replaced by the line number.  The first 'sed' inserts a
-
 
11321
  # line-number line after each line using $LINENO; the second 'sed'
-
 
11322
  # does the real work.  The second script uses 'N' to pair each
10677
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11323
  # line-number line with the line containing $LINENO, and appends
-
 
11324
  # trailing '-' during substitution so that $LINENO is not a special
-
 
11325
  # case at line end.
-
 
11326
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
-
 
11327
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
-
 
11328
  # E. McMahon (1931-1989) for sed's syntax.  :-)
10678
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11329
  sed -n '
-
 
11330
    p
-
 
11331
    /[$]LINENO/=
-
 
11332
  ' <$as_myself |
-
 
11333
    sed '
-
 
11334
      s/[$]LINENO.*/&-/
-
 
11335
      t lineno
-
 
11336
      b
-
 
11337
      :lineno
-
 
11338
      N
-
 
11339
      :loop
-
 
11340
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10679
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11341
      t loop
-
 
11342
      s/-\n.*//
-
 
11343
    ' >$as_me.lineno &&
10680
as_cr_digits='0123456789'
11344
  chmod +x "$as_me.lineno" ||
-
 
11345
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
-
 
11346
   { (exit 1); exit 1; }; }
-
 
11347
 
-
 
11348
  # Don't try to exec as it changes $[0], causing all sort of problems
-
 
11349
  # (the dirname of $[0] is not the place where we might find the
-
 
11350
  # original and so on.  Autoconf is especially sensitive to this).
-
 
11351
  . "./$as_me.lineno"
-
 
11352
  # Exit status is that of the last command.
10681
as_cr_alnum=$as_cr_Letters$as_cr_digits
11353
  exit
-
 
11354
}
-
 
11355
 
-
 
11356
 
-
 
11357
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
-
 
11358
  as_dirname=dirname
-
 
11359
else
-
 
11360
  as_dirname=false
-
 
11361
fi
-
 
11362
 
10682
 
11363
ECHO_C= ECHO_N= ECHO_T=
10683
ECHO_C= ECHO_N= ECHO_T=
11364
case `echo -n x` in
10684
case `echo -n x` in @%:@(((((
11365
-n*)
10685
-n*)
11366
  case `echo 'x\c'` in
10686
  case `echo 'xy\c'` in
11367
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
10687
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
11368
  *)   ECHO_C='\c';;
10688
  xy)  ECHO_C='\c';;
-
 
10689
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
-
 
10690
       ECHO_T='	';;
11369
  esac;;
10691
  esac;;
11370
*)
10692
*)
11371
  ECHO_N='-n';;
10693
  ECHO_N='-n';;
11372
esac
10694
esac
11373
if expr a : '\(a\)' >/dev/null 2>&1 &&
-
 
11374
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
-
 
11375
  as_expr=expr
-
 
11376
else
-
 
11377
  as_expr=false
-
 
11378
fi
-
 
11379
 
10695
 
11380
rm -f conf$$ conf$$.exe conf$$.file
10696
rm -f conf$$ conf$$.exe conf$$.file
11381
if test -d conf$$.dir; then
10697
if test -d conf$$.dir; then
11382
  rm -f conf$$.dir/conf$$.file
10698
  rm -f conf$$.dir/conf$$.file
11383
else
10699
else
11384
  rm -f conf$$.dir
10700
  rm -f conf$$.dir
11385
  mkdir conf$$.dir 2>/dev/null
10701
  mkdir conf$$.dir 2>/dev/null
11386
fi
10702
fi
11387
if (echo >conf$$.file) 2>/dev/null; then
10703
if (echo >conf$$.file) 2>/dev/null; then
11388
  if ln -s conf$$.file conf$$ 2>/dev/null; then
10704
  if ln -s conf$$.file conf$$ 2>/dev/null; then
11389
    as_ln_s='ln -s'
10705
    as_ln_s='ln -s'
11390
    # ... but there are two gotchas:
10706
    # ... but there are two gotchas:
11391
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10707
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11392
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10708
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11393
    # In both cases, we have to default to `cp -p'.
10709
    # In both cases, we have to default to `cp -p'.
11394
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10710
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11395
      as_ln_s='cp -p'
10711
      as_ln_s='cp -p'
11396
  elif ln conf$$.file conf$$ 2>/dev/null; then
10712
  elif ln conf$$.file conf$$ 2>/dev/null; then
11397
    as_ln_s=ln
10713
    as_ln_s=ln
11398
  else
10714
  else
11399
    as_ln_s='cp -p'
10715
    as_ln_s='cp -p'
11400
  fi
10716
  fi
11401
else
10717
else
11402
  as_ln_s='cp -p'
10718
  as_ln_s='cp -p'
11403
fi
10719
fi
11404
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10720
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11405
rmdir conf$$.dir 2>/dev/null
10721
rmdir conf$$.dir 2>/dev/null
11406
 
10722
 
-
 
10723
 
-
 
10724
@%:@ as_fn_mkdir_p
-
 
10725
@%:@ -------------
-
 
10726
@%:@ Create "$as_dir" as a directory, including parents if necessary.
-
 
10727
as_fn_mkdir_p ()
-
 
10728
{
-
 
10729
 
-
 
10730
  case $as_dir in #(
-
 
10731
  -*) as_dir=./$as_dir;;
-
 
10732
  esac
-
 
10733
  test -d "$as_dir" || eval $as_mkdir_p || {
-
 
10734
    as_dirs=
-
 
10735
    while :; do
-
 
10736
      case $as_dir in #(
-
 
10737
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
-
 
10738
      *) as_qdir=$as_dir;;
-
 
10739
      esac
-
 
10740
      as_dirs="'$as_qdir' $as_dirs"
-
 
10741
      as_dir=`$as_dirname -- "$as_dir" ||
-
 
10742
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-
 
10743
	 X"$as_dir" : 'X\(//\)[^/]' \| \
-
 
10744
	 X"$as_dir" : 'X\(//\)$' \| \
-
 
10745
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-
 
10746
$as_echo X"$as_dir" |
-
 
10747
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-
 
10748
	    s//\1/
-
 
10749
	    q
-
 
10750
	  }
-
 
10751
	  /^X\(\/\/\)[^/].*/{
-
 
10752
	    s//\1/
-
 
10753
	    q
-
 
10754
	  }
-
 
10755
	  /^X\(\/\/\)$/{
-
 
10756
	    s//\1/
-
 
10757
	    q
-
 
10758
	  }
-
 
10759
	  /^X\(\/\).*/{
-
 
10760
	    s//\1/
-
 
10761
	    q
-
 
10762
	  }
-
 
10763
	  s/.*/./; q'`
-
 
10764
      test -d "$as_dir" && break
-
 
10765
    done
-
 
10766
    test -z "$as_dirs" || eval "mkdir $as_dirs"
-
 
10767
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
-
 
10768
 
-
 
10769
 
-
 
10770
} @%:@ as_fn_mkdir_p
11407
if mkdir -p . 2>/dev/null; then
10771
if mkdir -p . 2>/dev/null; then
11408
  as_mkdir_p=:
10772
  as_mkdir_p='mkdir -p "$as_dir"'
11409
else
10773
else
11410
  test -d ./-p && rmdir ./-p
10774
  test -d ./-p && rmdir ./-p
11411
  as_mkdir_p=false
10775
  as_mkdir_p=false
11412
fi
10776
fi
11413
 
10777
 
11414
if test -x / >/dev/null 2>&1; then
10778
if test -x / >/dev/null 2>&1; then
11415
  as_test_x='test -x'
10779
  as_test_x='test -x'
11416
else
10780
else
11417
  if ls -dL / >/dev/null 2>&1; then
10781
  if ls -dL / >/dev/null 2>&1; then
11418
    as_ls_L_option=L
10782
    as_ls_L_option=L
11419
  else
10783
  else
11420
    as_ls_L_option=
10784
    as_ls_L_option=
11421
  fi
10785
  fi
11422
  as_test_x='
10786
  as_test_x='
11423
    eval sh -c '\''
10787
    eval sh -c '\''
11424
      if test -d "$1"; then
10788
      if test -d "$1"; then
11425
	test -d "$1/.";
10789
	test -d "$1/.";
11426
      else
10790
      else
11427
	case $1 in
10791
	case $1 in @%:@(
11428
	-*)set "./$1";;
10792
	-*)set "./$1";;
11429
	esac;
10793
	esac;
11430
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10794
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
11431
	???[sx]*):;;*)false;;esac;fi
10795
	???[sx]*):;;*)false;;esac;fi
11432
    '\'' sh
10796
    '\'' sh
11433
  '
10797
  '
11434
fi
10798
fi
11435
as_executable_p=$as_test_x
10799
as_executable_p=$as_test_x
11436
 
10800
 
11437
# Sed expression to map a string onto a valid CPP name.
10801
# Sed expression to map a string onto a valid CPP name.
11438
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10802
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11439
 
10803
 
11440
# Sed expression to map a string onto a valid variable name.
10804
# Sed expression to map a string onto a valid variable name.
11441
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10805
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11442
 
10806
 
11443
 
10807
 
11444
exec 6>&1
10808
exec 6>&1
-
 
10809
## ----------------------------------- ##
-
 
10810
## Main body of $CONFIG_STATUS script. ##
-
 
10811
## ----------------------------------- ##
-
 
10812
_ASEOF
-
 
10813
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11445
 
10814
 
-
 
10815
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11446
# Save the log message, to keep $[0] and so on meaningful, and to
10816
# Save the log message, to keep $0 and so on meaningful, and to
11447
# report actual input values of CONFIG_FILES etc. instead of their
10817
# report actual input values of CONFIG_FILES etc. instead of their
11448
# values after options handling.
10818
# values after options handling.
11449
ac_log="
10819
ac_log="
11450
This file was extended by $as_me, which was
10820
This file was extended by $as_me, which was
11451
generated by GNU Autoconf 2.63.  Invocation command line was
10821
generated by GNU Autoconf 2.64.  Invocation command line was
11452
 
10822
 
11453
  CONFIG_FILES    = $CONFIG_FILES
10823
  CONFIG_FILES    = $CONFIG_FILES
11454
  CONFIG_HEADERS  = $CONFIG_HEADERS
10824
  CONFIG_HEADERS  = $CONFIG_HEADERS
11455
  CONFIG_LINKS    = $CONFIG_LINKS
10825
  CONFIG_LINKS    = $CONFIG_LINKS
11456
  CONFIG_COMMANDS = $CONFIG_COMMANDS
10826
  CONFIG_COMMANDS = $CONFIG_COMMANDS
11457
  $ $0 $@
10827
  $ $0 $@
11458
 
10828
 
11459
on `(hostname || uname -n) 2>/dev/null | sed 1q`
10829
on `(hostname || uname -n) 2>/dev/null | sed 1q`
11460
"
10830
"
11461
 
10831
 
11462
_ACEOF
10832
_ACEOF
11463
 
10833
 
11464
case $ac_config_files in *"
10834
case $ac_config_files in *"
11465
"*) set x $ac_config_files; shift; ac_config_files=$*;;
10835
"*) set x $ac_config_files; shift; ac_config_files=$*;;
11466
esac
10836
esac
11467
 
10837
 
11468
case $ac_config_headers in *"
10838
case $ac_config_headers in *"
11469
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
10839
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11470
esac
10840
esac
11471
 
10841
 
11472
 
10842
 
11473
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10843
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11474
# Files that config.status was made for.
10844
# Files that config.status was made for.
11475
config_files="$ac_config_files"
10845
config_files="$ac_config_files"
11476
config_headers="$ac_config_headers"
10846
config_headers="$ac_config_headers"
11477
config_commands="$ac_config_commands"
10847
config_commands="$ac_config_commands"
11478
 
10848
 
11479
_ACEOF
10849
_ACEOF
11480
 
10850
 
11481
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10851
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11482
ac_cs_usage="\
10852
ac_cs_usage="\
11483
\`$as_me' instantiates files from templates according to the
10853
\`$as_me' instantiates files and other configuration actions
11484
current configuration.
10854
from templates according to the current configuration.  Unless the files
-
 
10855
and actions are specified as TAGs, all are instantiated by default.
11485
 
10856
 
11486
Usage: $0 [OPTION]... [FILE]...
10857
Usage: $0 [OPTION]... [TAG]...
11487
 
10858
 
11488
  -h, --help       print this help, then exit
10859
  -h, --help       print this help, then exit
11489
  -V, --version    print version number and configuration settings, then exit
10860
  -V, --version    print version number and configuration settings, then exit
11490
  -q, --quiet, --silent
10861
  -q, --quiet, --silent
11491
                   do not print progress messages
10862
                   do not print progress messages
11492
  -d, --debug      don't remove temporary files
10863
  -d, --debug      don't remove temporary files
11493
      --recheck    update $as_me by reconfiguring in the same conditions
10864
      --recheck    update $as_me by reconfiguring in the same conditions
11494
      --file=FILE[:TEMPLATE] 
10865
      --file=FILE[:TEMPLATE] 
11495
                   instantiate the configuration file FILE
10866
                   instantiate the configuration file FILE
11496
      --header=FILE[:TEMPLATE] 
10867
      --header=FILE[:TEMPLATE] 
11497
                   instantiate the configuration header FILE
10868
                   instantiate the configuration header FILE
11498
 
10869
 
11499
Configuration files:
10870
Configuration files:
11500
$config_files
10871
$config_files
11501
 
10872
 
11502
Configuration headers:
10873
Configuration headers:
11503
$config_headers
10874
$config_headers
11504
 
10875
 
11505
Configuration commands:
10876
Configuration commands:
11506
$config_commands
10877
$config_commands
11507
 
10878
 
11508
Report bugs to <bug-autoconf@gnu.org>."
10879
Report bugs to the package provider."
11509
 
10880
 
11510
_ACEOF
10881
_ACEOF
11511
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10882
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11512
ac_cs_version="\\
10883
ac_cs_version="\\
11513
config.status
10884
config.status
11514
configured by $0, generated by GNU Autoconf 2.63,
10885
configured by $0, generated by GNU Autoconf 2.64,
11515
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10886
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11516
 
10887
 
11517
Copyright (C) 2008 Free Software Foundation, Inc.
10888
Copyright (C) 2009 Free Software Foundation, Inc.
11518
This config.status script is free software; the Free Software Foundation
10889
This config.status script is free software; the Free Software Foundation
11519
gives unlimited permission to copy, distribute and modify it."
10890
gives unlimited permission to copy, distribute and modify it."
11520
 
10891
 
11521
ac_pwd='$ac_pwd'
10892
ac_pwd='$ac_pwd'
11522
srcdir='$srcdir'
10893
srcdir='$srcdir'
11523
INSTALL='$INSTALL'
10894
INSTALL='$INSTALL'
11524
MKDIR_P='$MKDIR_P'
10895
MKDIR_P='$MKDIR_P'
11525
AWK='$AWK'
10896
AWK='$AWK'
11526
test -n "\$AWK" || AWK=awk
10897
test -n "\$AWK" || AWK=awk
11527
_ACEOF
10898
_ACEOF
11528
 
10899
 
11529
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10900
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11530
# The default lists apply if the user does not specify any file.
10901
# The default lists apply if the user does not specify any file.
11531
ac_need_defaults=:
10902
ac_need_defaults=:
11532
while test $# != 0
10903
while test $# != 0
11533
do
10904
do
11534
  case $1 in
10905
  case $1 in
11535
  --*=*)
10906
  --*=*)
11536
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
10907
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
11537
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10908
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11538
    ac_shift=:
10909
    ac_shift=:
11539
    ;;
10910
    ;;
11540
  *)
10911
  *)
11541
    ac_option=$1
10912
    ac_option=$1
11542
    ac_optarg=$2
10913
    ac_optarg=$2
11543
    ac_shift=shift
10914
    ac_shift=shift
11544
    ;;
10915
    ;;
11545
  esac
10916
  esac
11546
 
10917
 
11547
  case $ac_option in
10918
  case $ac_option in
11548
  # Handling of the options.
10919
  # Handling of the options.
11549
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10920
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11550
    ac_cs_recheck=: ;;
10921
    ac_cs_recheck=: ;;
11551
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10922
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11552
    $as_echo "$ac_cs_version"; exit ;;
10923
    $as_echo "$ac_cs_version"; exit ;;
11553
  --debug | --debu | --deb | --de | --d | -d )
10924
  --debug | --debu | --deb | --de | --d | -d )
11554
    debug=: ;;
10925
    debug=: ;;
11555
  --file | --fil | --fi | --f )
10926
  --file | --fil | --fi | --f )
11556
    $ac_shift
10927
    $ac_shift
11557
    case $ac_optarg in
10928
    case $ac_optarg in
11558
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10929
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11559
    esac
10930
    esac
11560
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
10931
    as_fn_append CONFIG_FILES " '$ac_optarg'"
11561
    ac_need_defaults=false;;
10932
    ac_need_defaults=false;;
11562
  --header | --heade | --head | --hea )
10933
  --header | --heade | --head | --hea )
11563
    $ac_shift
10934
    $ac_shift
11564
    case $ac_optarg in
10935
    case $ac_optarg in
11565
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10936
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11566
    esac
10937
    esac
11567
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
10938
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
11568
    ac_need_defaults=false;;
10939
    ac_need_defaults=false;;
11569
  --he | --h)
10940
  --he | --h)
11570
    # Conflict between --help and --header
10941
    # Conflict between --help and --header
11571
    { $as_echo "$as_me: error: ambiguous option: $1
10942
    as_fn_error "ambiguous option: \`$1'
11572
Try \`$0 --help' for more information." >&2
10943
Try \`$0 --help' for more information.";;
11573
   { (exit 1); exit 1; }; };;
-
 
11574
  --help | --hel | -h )
10944
  --help | --hel | -h )
11575
    $as_echo "$ac_cs_usage"; exit ;;
10945
    $as_echo "$ac_cs_usage"; exit ;;
11576
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10946
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11577
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
10947
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11578
    ac_cs_silent=: ;;
10948
    ac_cs_silent=: ;;
11579
 
10949
 
11580
  # This is an error.
10950
  # This is an error.
11581
  -*) { $as_echo "$as_me: error: unrecognized option: $1
10951
  -*) as_fn_error "unrecognized option: \`$1'
11582
Try \`$0 --help' for more information." >&2
10952
Try \`$0 --help' for more information." ;;
11583
   { (exit 1); exit 1; }; } ;;
-
 
11584
 
10953
 
11585
  *) ac_config_targets="$ac_config_targets $1"
10954
  *) as_fn_append ac_config_targets " $1"
11586
     ac_need_defaults=false ;;
10955
     ac_need_defaults=false ;;
11587
 
10956
 
11588
  esac
10957
  esac
11589
  shift
10958
  shift
11590
done
10959
done
11591
 
10960
 
11592
ac_configure_extra_args=
10961
ac_configure_extra_args=
11593
 
10962
 
11594
if $ac_cs_silent; then
10963
if $ac_cs_silent; then
11595
  exec 6>/dev/null
10964
  exec 6>/dev/null
11596
  ac_configure_extra_args="$ac_configure_extra_args --silent"
10965
  ac_configure_extra_args="$ac_configure_extra_args --silent"
11597
fi
10966
fi
11598
 
10967
 
11599
_ACEOF
10968
_ACEOF
11600
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10969
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11601
if \$ac_cs_recheck; then
10970
if \$ac_cs_recheck; then
11602
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10971
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11603
  shift
10972
  shift
11604
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10973
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11605
  CONFIG_SHELL='$SHELL'
10974
  CONFIG_SHELL='$SHELL'
11606
  export CONFIG_SHELL
10975
  export CONFIG_SHELL
11607
  exec "\$@"
10976
  exec "\$@"
11608
fi
10977
fi
11609
 
10978
 
11610
_ACEOF
10979
_ACEOF
11611
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10980
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11612
exec 5>>config.log
10981
exec 5>>config.log
11613
{
10982
{
11614
  echo
10983
  echo
11615
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
10984
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
11616
@%:@@%:@ Running $as_me. @%:@@%:@
10985
@%:@@%:@ Running $as_me. @%:@@%:@
11617
_ASBOX
10986
_ASBOX
11618
  $as_echo "$ac_log"
10987
  $as_echo "$ac_log"
11619
} >&5
10988
} >&5
11620
 
10989
 
11621
_ACEOF
10990
_ACEOF
11622
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10991
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11623
#
10992
#
11624
# INIT-COMMANDS
10993
# INIT-COMMANDS
11625
#
10994
#
11626
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10995
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11627
 
10996
 
11628
 
10997
 
11629
# The HP-UX ksh and POSIX shell print the target directory to stdout
10998
# The HP-UX ksh and POSIX shell print the target directory to stdout
11630
# if CDPATH is set.
10999
# if CDPATH is set.
11631
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11000
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11632
 
11001
 
11633
sed_quote_subst='$sed_quote_subst'
11002
sed_quote_subst='$sed_quote_subst'
11634
double_quote_subst='$double_quote_subst'
11003
double_quote_subst='$double_quote_subst'
11635
delay_variable_subst='$delay_variable_subst'
11004
delay_variable_subst='$delay_variable_subst'
11636
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11005
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11637
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11006
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11638
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11007
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11639
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11008
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11640
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11009
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11641
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11010
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11642
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11011
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11643
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11012
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11644
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11013
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11645
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11014
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11646
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11015
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11647
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11016
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11648
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11017
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11649
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11018
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11650
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11019
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11651
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11020
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11652
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11021
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11653
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11022
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11654
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11023
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11655
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11024
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11656
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11025
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11657
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11026
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11658
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11027
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11659
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11028
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11660
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11029
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11661
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11030
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11662
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11031
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11663
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11032
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11664
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11033
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11665
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11034
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11666
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11035
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11667
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11036
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11668
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11037
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11669
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11038
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11670
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11039
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11671
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11040
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11672
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11041
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11673
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11042
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11674
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11043
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11675
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11044
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11676
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11045
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11677
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11046
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11678
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11047
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11679
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11048
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11680
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"`'
11049
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"`'
11681
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"`'
11050
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"`'
11682
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11051
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11683
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11052
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11684
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11053
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11685
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11054
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11686
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11055
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11687
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11056
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11688
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11057
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11689
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11058
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11690
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11059
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11691
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11060
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11692
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
11061
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
11693
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
11062
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
11694
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
11063
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
11695
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11064
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11696
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
11065
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
11697
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11066
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11698
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11067
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11699
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11068
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11700
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11069
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11701
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11070
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11702
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11071
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11703
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11072
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11704
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11073
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11705
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11074
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11706
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11075
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11707
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11076
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11708
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11077
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11709
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11078
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11710
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11079
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11711
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11080
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11712
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11081
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11713
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11082
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11714
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11083
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11715
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11084
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11716
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11085
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11717
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11086
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11718
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11087
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11719
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11088
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11720
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11089
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11721
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11090
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11722
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11091
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11723
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11092
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11724
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11093
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11725
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11094
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11726
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11095
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11727
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11096
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11728
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11097
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11729
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11098
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11730
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11099
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11731
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11100
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11732
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11101
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11733
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11102
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11734
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11103
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11735
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11104
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11736
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11105
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11737
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11106
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11738
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11107
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11739
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11108
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11740
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11109
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11741
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11110
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11742
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11111
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11743
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11112
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11744
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11113
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11745
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11114
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11746
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11115
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11747
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11116
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11748
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11117
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11749
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11118
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11750
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11119
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11751
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11120
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11752
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11121
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11753
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11122
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11754
 
11123
 
11755
LTCC='$LTCC'
11124
LTCC='$LTCC'
11756
LTCFLAGS='$LTCFLAGS'
11125
LTCFLAGS='$LTCFLAGS'
11757
compiler='$compiler_DEFAULT'
11126
compiler='$compiler_DEFAULT'
11758
 
11127
 
11759
# Quote evaled strings.
11128
# Quote evaled strings.
11760
for var in SED \
11129
for var in SED \
11761
GREP \
11130
GREP \
11762
EGREP \
11131
EGREP \
11763
FGREP \
11132
FGREP \
11764
LD \
11133
LD \
11765
NM \
11134
NM \
11766
LN_S \
11135
LN_S \
11767
lt_SP2NL \
11136
lt_SP2NL \
11768
lt_NL2SP \
11137
lt_NL2SP \
11769
reload_flag \
11138
reload_flag \
11770
OBJDUMP \
11139
OBJDUMP \
11771
deplibs_check_method \
11140
deplibs_check_method \
11772
file_magic_cmd \
11141
file_magic_cmd \
11773
AR \
11142
AR \
11774
AR_FLAGS \
11143
AR_FLAGS \
11775
STRIP \
11144
STRIP \
11776
RANLIB \
11145
RANLIB \
11777
CC \
11146
CC \
11778
CFLAGS \
11147
CFLAGS \
11779
compiler \
11148
compiler \
11780
lt_cv_sys_global_symbol_pipe \
11149
lt_cv_sys_global_symbol_pipe \
11781
lt_cv_sys_global_symbol_to_cdecl \
11150
lt_cv_sys_global_symbol_to_cdecl \
11782
lt_cv_sys_global_symbol_to_c_name_address \
11151
lt_cv_sys_global_symbol_to_c_name_address \
11783
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11152
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11784
SHELL \
11153
SHELL \
11785
ECHO \
11154
ECHO \
11786
lt_prog_compiler_no_builtin_flag \
11155
lt_prog_compiler_no_builtin_flag \
11787
lt_prog_compiler_wl \
11156
lt_prog_compiler_wl \
11788
lt_prog_compiler_pic \
11157
lt_prog_compiler_pic \
11789
lt_prog_compiler_static \
11158
lt_prog_compiler_static \
11790
lt_cv_prog_compiler_c_o \
11159
lt_cv_prog_compiler_c_o \
11791
need_locks \
11160
need_locks \
11792
DSYMUTIL \
11161
DSYMUTIL \
11793
NMEDIT \
11162
NMEDIT \
11794
LIPO \
11163
LIPO \
11795
OTOOL \
11164
OTOOL \
11796
OTOOL64 \
11165
OTOOL64 \
11797
shrext_cmds \
11166
shrext_cmds \
11798
export_dynamic_flag_spec \
11167
export_dynamic_flag_spec \
11799
whole_archive_flag_spec \
11168
whole_archive_flag_spec \
11800
compiler_needs_object \
11169
compiler_needs_object \
11801
with_gnu_ld \
11170
with_gnu_ld \
11802
allow_undefined_flag \
11171
allow_undefined_flag \
11803
no_undefined_flag \
11172
no_undefined_flag \
11804
hardcode_libdir_flag_spec \
11173
hardcode_libdir_flag_spec \
11805
hardcode_libdir_flag_spec_ld \
11174
hardcode_libdir_flag_spec_ld \
11806
hardcode_libdir_separator \
11175
hardcode_libdir_separator \
11807
fix_srcfile_path \
11176
fix_srcfile_path \
11808
exclude_expsyms \
11177
exclude_expsyms \
11809
include_expsyms \
11178
include_expsyms \
11810
file_list_spec \
11179
file_list_spec \
11811
variables_saved_for_relink \
11180
variables_saved_for_relink \
11812
libname_spec \
11181
libname_spec \
11813
library_names_spec \
11182
library_names_spec \
11814
soname_spec \
11183
soname_spec \
11815
finish_eval \
11184
finish_eval \
11816
old_striplib \
11185
old_striplib \
11817
striplib; do
11186
striplib; do
11818
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11187
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11819
    *[\\\\\\\`\\"\\\$]*)
11188
    *[\\\\\\\`\\"\\\$]*)
11820
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11189
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11821
      ;;
11190
      ;;
11822
    *)
11191
    *)
11823
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11192
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11824
      ;;
11193
      ;;
11825
    esac
11194
    esac
11826
done
11195
done
11827
 
11196
 
11828
# Double-quote double-evaled strings.
11197
# Double-quote double-evaled strings.
11829
for var in reload_cmds \
11198
for var in reload_cmds \
11830
old_postinstall_cmds \
11199
old_postinstall_cmds \
11831
old_postuninstall_cmds \
11200
old_postuninstall_cmds \
11832
old_archive_cmds \
11201
old_archive_cmds \
11833
extract_expsyms_cmds \
11202
extract_expsyms_cmds \
11834
old_archive_from_new_cmds \
11203
old_archive_from_new_cmds \
11835
old_archive_from_expsyms_cmds \
11204
old_archive_from_expsyms_cmds \
11836
archive_cmds \
11205
archive_cmds \
11837
archive_expsym_cmds \
11206
archive_expsym_cmds \
11838
module_cmds \
11207
module_cmds \
11839
module_expsym_cmds \
11208
module_expsym_cmds \
11840
export_symbols_cmds \
11209
export_symbols_cmds \
11841
prelink_cmds \
11210
prelink_cmds \
11842
postinstall_cmds \
11211
postinstall_cmds \
11843
postuninstall_cmds \
11212
postuninstall_cmds \
11844
finish_cmds \
11213
finish_cmds \
11845
sys_lib_search_path_spec \
11214
sys_lib_search_path_spec \
11846
sys_lib_dlsearch_path_spec; do
11215
sys_lib_dlsearch_path_spec; do
11847
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11216
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11848
    *[\\\\\\\`\\"\\\$]*)
11217
    *[\\\\\\\`\\"\\\$]*)
11849
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11218
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11850
      ;;
11219
      ;;
11851
    *)
11220
    *)
11852
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11221
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11853
      ;;
11222
      ;;
11854
    esac
11223
    esac
11855
done
11224
done
11856
 
11225
 
11857
# Fix-up fallback echo if it was mangled by the above quoting rules.
11226
# Fix-up fallback echo if it was mangled by the above quoting rules.
11858
case \$lt_ECHO in
11227
case \$lt_ECHO in
11859
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
11228
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
11860
  ;;
11229
  ;;
11861
esac
11230
esac
11862
 
11231
 
11863
ac_aux_dir='$ac_aux_dir'
11232
ac_aux_dir='$ac_aux_dir'
11864
xsi_shell='$xsi_shell'
11233
xsi_shell='$xsi_shell'
11865
lt_shell_append='$lt_shell_append'
11234
lt_shell_append='$lt_shell_append'
11866
 
11235
 
11867
# See if we are running on zsh, and set the options which allow our
11236
# See if we are running on zsh, and set the options which allow our
11868
# commands through without removal of \ escapes INIT.
11237
# commands through without removal of \ escapes INIT.
11869
if test -n "\${ZSH_VERSION+set}" ; then
11238
if test -n "\${ZSH_VERSION+set}" ; then
11870
   setopt NO_GLOB_SUBST
11239
   setopt NO_GLOB_SUBST
11871
fi
11240
fi
11872
 
11241
 
11873
 
11242
 
11874
    PACKAGE='$PACKAGE'
11243
    PACKAGE='$PACKAGE'
11875
    VERSION='$VERSION'
11244
    VERSION='$VERSION'
11876
    TIMESTAMP='$TIMESTAMP'
11245
    TIMESTAMP='$TIMESTAMP'
11877
    RM='$RM'
11246
    RM='$RM'
11878
    ofile='$ofile'
11247
    ofile='$ofile'
11879
 
11248
 
11880
 
11249
 
11881
 
11250
 
11882
 
11251
 
11883
_ACEOF
11252
_ACEOF
11884
 
11253
 
11885
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11254
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11886
 
11255
 
11887
# Handling of arguments.
11256
# Handling of arguments.
11888
for ac_config_target in $ac_config_targets
11257
for ac_config_target in $ac_config_targets
11889
do
11258
do
11890
  case $ac_config_target in
11259
  case $ac_config_target in
11891
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11260
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11892
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11261
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11893
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
11262
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
11894
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11263
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11895
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
11264
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
11896
 
11265
 
11897
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-
 
11898
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11266
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11899
   { (exit 1); exit 1; }; };;
-
 
11900
  esac
11267
  esac
11901
done
11268
done
11902
 
11269
 
11903
 
11270
 
11904
# If the user did not use the arguments to specify the items to instantiate,
11271
# If the user did not use the arguments to specify the items to instantiate,
11905
# then the envvar interface is used.  Set only those that are not.
11272
# then the envvar interface is used.  Set only those that are not.
11906
# We use the long form for the default assignment because of an extremely
11273
# We use the long form for the default assignment because of an extremely
11907
# bizarre bug on SunOS 4.1.3.
11274
# bizarre bug on SunOS 4.1.3.
11908
if $ac_need_defaults; then
11275
if $ac_need_defaults; then
11909
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11276
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11910
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11277
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11911
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11278
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11912
fi
11279
fi
11913
 
11280
 
11914
# Have a temporary directory for convenience.  Make it in the build tree
11281
# Have a temporary directory for convenience.  Make it in the build tree
11915
# simply because there is no reason against having it here, and in addition,
11282
# simply because there is no reason against having it here, and in addition,
11916
# creating and moving files from /tmp can sometimes cause problems.
11283
# creating and moving files from /tmp can sometimes cause problems.
11917
# Hook for its removal unless debugging.
11284
# Hook for its removal unless debugging.
11918
# Note that there is a small window in which the directory will not be cleaned:
11285
# Note that there is a small window in which the directory will not be cleaned:
11919
# after its creation but before its name has been assigned to `$tmp'.
11286
# after its creation but before its name has been assigned to `$tmp'.
11920
$debug ||
11287
$debug ||
11921
{
11288
{
11922
  tmp=
11289
  tmp=
11923
  trap 'exit_status=$?
11290
  trap 'exit_status=$?
11924
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11291
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11925
' 0
11292
' 0
11926
  trap '{ (exit 1); exit 1; }' 1 2 13 15
11293
  trap 'as_fn_exit 1' 1 2 13 15
11927
}
11294
}
11928
# Create a (secure) tmp directory for tmp files.
11295
# Create a (secure) tmp directory for tmp files.
11929
 
11296
 
11930
{
11297
{
11931
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11298
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11932
  test -n "$tmp" && test -d "$tmp"
11299
  test -n "$tmp" && test -d "$tmp"
11933
}  ||
11300
}  ||
11934
{
11301
{
11935
  tmp=./conf$$-$RANDOM
11302
  tmp=./conf$$-$RANDOM
11936
  (umask 077 && mkdir "$tmp")
11303
  (umask 077 && mkdir "$tmp")
11937
} ||
-
 
11938
{
-
 
11939
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
11304
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
11940
   { (exit 1); exit 1; }
-
 
11941
}
-
 
11942
 
11305
 
11943
# Set up the scripts for CONFIG_FILES section.
11306
# Set up the scripts for CONFIG_FILES section.
11944
# No need to generate them if there are no CONFIG_FILES.
11307
# No need to generate them if there are no CONFIG_FILES.
11945
# This happens for instance with `./config.status config.h'.
11308
# This happens for instance with `./config.status config.h'.
11946
if test -n "$CONFIG_FILES"; then
11309
if test -n "$CONFIG_FILES"; then
11947
 
11310
 
11948
 
11311
 
-
 
11312
ac_cr=`echo X | tr X '\015'`
-
 
11313
# On cygwin, bash can eat \r inside `` if the user requested igncr.
-
 
11314
# But we know of no other shell where ac_cr would be empty at this
-
 
11315
# point, so we can use a bashism as a fallback.
-
 
11316
if test "x$ac_cr" = x; then
11949
ac_cr='
'
11317
  eval ac_cr=\$\'\\r\'
-
 
11318
fi
11950
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11319
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11951
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11320
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11952
  ac_cs_awk_cr='\\r'
11321
  ac_cs_awk_cr='\r'
11953
else
11322
else
11954
  ac_cs_awk_cr=$ac_cr
11323
  ac_cs_awk_cr=$ac_cr
11955
fi
11324
fi
11956
 
11325
 
11957
echo 'BEGIN {' >"$tmp/subs1.awk" &&
11326
echo 'BEGIN {' >"$tmp/subs1.awk" &&
11958
_ACEOF
11327
_ACEOF
11959
 
11328
 
11960
 
11329
 
11961
{
11330
{
11962
  echo "cat >conf$$subs.awk <<_ACEOF" &&
11331
  echo "cat >conf$$subs.awk <<_ACEOF" &&
11963
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11332
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11964
  echo "_ACEOF"
11333
  echo "_ACEOF"
11965
} >conf$$subs.sh ||
11334
} >conf$$subs.sh ||
11966
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-
 
11967
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11335
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
11968
   { (exit 1); exit 1; }; }
-
 
11969
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11336
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11970
ac_delim='%!_!# '
11337
ac_delim='%!_!# '
11971
for ac_last_try in false false false false false :; do
11338
for ac_last_try in false false false false false :; do
11972
  . ./conf$$subs.sh ||
11339
  . ./conf$$subs.sh ||
11973
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-
 
11974
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11340
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
11975
   { (exit 1); exit 1; }; }
-
 
11976
 
11341
 
11977
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
11342
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
11978
  if test $ac_delim_n = $ac_delim_num; then
11343
  if test $ac_delim_n = $ac_delim_num; then
11979
    break
11344
    break
11980
  elif $ac_last_try; then
11345
  elif $ac_last_try; then
11981
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-
 
11982
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11346
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
11983
   { (exit 1); exit 1; }; }
-
 
11984
  else
11347
  else
11985
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11348
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11986
  fi
11349
  fi
11987
done
11350
done
11988
rm -f conf$$subs.sh
11351
rm -f conf$$subs.sh
11989
 
11352
 
11990
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11353
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11991
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
11354
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
11992
_ACEOF
11355
_ACEOF
11993
sed -n '
11356
sed -n '
11994
h
11357
h
11995
s/^/S["/; s/!.*/"]=/
11358
s/^/S["/; s/!.*/"]=/
11996
p
11359
p
11997
g
11360
g
11998
s/^[^!]*!//
11361
s/^[^!]*!//
11999
:repl
11362
:repl
12000
t repl
11363
t repl
12001
s/'"$ac_delim"'$//
11364
s/'"$ac_delim"'$//
12002
t delim
11365
t delim
12003
:nl
11366
:nl
12004
h
11367
h
12005
s/\(.\{148\}\).*/\1/
11368
s/\(.\{148\}\).*/\1/
12006
t more1
11369
t more1
12007
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
11370
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12008
p
11371
p
12009
n
11372
n
12010
b repl
11373
b repl
12011
:more1
11374
:more1
12012
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
11375
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12013
p
11376
p
12014
g
11377
g
12015
s/.\{148\}//
11378
s/.\{148\}//
12016
t nl
11379
t nl
12017
:delim
11380
:delim
12018
h
11381
h
12019
s/\(.\{148\}\).*/\1/
11382
s/\(.\{148\}\).*/\1/
12020
t more2
11383
t more2
12021
s/["\\]/\\&/g; s/^/"/; s/$/"/
11384
s/["\\]/\\&/g; s/^/"/; s/$/"/
12022
p
11385
p
12023
b
11386
b
12024
:more2
11387
:more2
12025
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
11388
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12026
p
11389
p
12027
g
11390
g
12028
s/.\{148\}//
11391
s/.\{148\}//
12029
t delim
11392
t delim
12030
' <conf$$subs.awk | sed '
11393
' <conf$$subs.awk | sed '
12031
/^[^""]/{
11394
/^[^""]/{
12032
  N
11395
  N
12033
  s/\n//
11396
  s/\n//
12034
}
11397
}
12035
' >>$CONFIG_STATUS || ac_write_fail=1
11398
' >>$CONFIG_STATUS || ac_write_fail=1
12036
rm -f conf$$subs.awk
11399
rm -f conf$$subs.awk
12037
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11400
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12038
_ACAWK
11401
_ACAWK
12039
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
11402
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
12040
  for (key in S) S_is_set[key] = 1
11403
  for (key in S) S_is_set[key] = 1
12041
  FS = ""
11404
  FS = ""
12042
 
11405
 
12043
}
11406
}
12044
{
11407
{
12045
  line = $ 0
11408
  line = $ 0
12046
  nfields = split(line, field, "@")
11409
  nfields = split(line, field, "@")
12047
  substed = 0
11410
  substed = 0
12048
  len = length(field[1])
11411
  len = length(field[1])
12049
  for (i = 2; i < nfields; i++) {
11412
  for (i = 2; i < nfields; i++) {
12050
    key = field[i]
11413
    key = field[i]
12051
    keylen = length(key)
11414
    keylen = length(key)
12052
    if (S_is_set[key]) {
11415
    if (S_is_set[key]) {
12053
      value = S[key]
11416
      value = S[key]
12054
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11417
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12055
      len += length(value) + length(field[++i])
11418
      len += length(value) + length(field[++i])
12056
      substed = 1
11419
      substed = 1
12057
    } else
11420
    } else
12058
      len += 1 + keylen
11421
      len += 1 + keylen
12059
  }
11422
  }
12060
 
11423
 
12061
  print line
11424
  print line
12062
}
11425
}
12063
 
11426
 
12064
_ACAWK
11427
_ACAWK
12065
_ACEOF
11428
_ACEOF
12066
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11429
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12067
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11430
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12068
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
11431
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12069
else
11432
else
12070
  cat
11433
  cat
12071
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
11434
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12072
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
-
 
12073
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
11435
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
12074
   { (exit 1); exit 1; }; }
-
 
12075
_ACEOF
11436
_ACEOF
12076
 
11437
 
12077
# VPATH may cause trouble with some makes, so we remove $(srcdir),
11438
# VPATH may cause trouble with some makes, so we remove $(srcdir),
12078
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11439
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12079
# trailing colons and then remove the whole line if VPATH becomes empty
11440
# trailing colons and then remove the whole line if VPATH becomes empty
12080
# (actually we leave an empty line to preserve line numbers).
11441
# (actually we leave an empty line to preserve line numbers).
12081
if test "x$srcdir" = x.; then
11442
if test "x$srcdir" = x.; then
12082
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
11443
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
12083
s/:*\$(srcdir):*/:/
11444
s/:*\$(srcdir):*/:/
12084
s/:*\${srcdir}:*/:/
11445
s/:*\${srcdir}:*/:/
12085
s/:*@srcdir@:*/:/
11446
s/:*@srcdir@:*/:/
12086
s/^\([^=]*=[	 ]*\):*/\1/
11447
s/^\([^=]*=[	 ]*\):*/\1/
12087
s/:*$//
11448
s/:*$//
12088
s/^[^=]*=[	 ]*$//
11449
s/^[^=]*=[	 ]*$//
12089
}'
11450
}'
12090
fi
11451
fi
12091
 
11452
 
12092
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11453
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12093
fi # test -n "$CONFIG_FILES"
11454
fi # test -n "$CONFIG_FILES"
12094
 
11455
 
12095
# Set up the scripts for CONFIG_HEADERS section.
11456
# Set up the scripts for CONFIG_HEADERS section.
12096
# No need to generate them if there are no CONFIG_HEADERS.
11457
# No need to generate them if there are no CONFIG_HEADERS.
12097
# This happens for instance with `./config.status Makefile'.
11458
# This happens for instance with `./config.status Makefile'.
12098
if test -n "$CONFIG_HEADERS"; then
11459
if test -n "$CONFIG_HEADERS"; then
12099
cat >"$tmp/defines.awk" <<\_ACAWK ||
11460
cat >"$tmp/defines.awk" <<\_ACAWK ||
12100
BEGIN {
11461
BEGIN {
12101
_ACEOF
11462
_ACEOF
12102
 
11463
 
12103
# Transform confdefs.h into an awk script `defines.awk', embedded as
11464
# Transform confdefs.h into an awk script `defines.awk', embedded as
12104
# here-document in config.status, that substitutes the proper values into
11465
# here-document in config.status, that substitutes the proper values into
12105
# config.h.in to produce config.h.
11466
# config.h.in to produce config.h.
12106
 
11467
 
12107
# Create a delimiter string that does not exist in confdefs.h, to ease
11468
# Create a delimiter string that does not exist in confdefs.h, to ease
12108
# handling of long lines.
11469
# handling of long lines.
12109
ac_delim='%!_!# '
11470
ac_delim='%!_!# '
12110
for ac_last_try in false false :; do
11471
for ac_last_try in false false :; do
12111
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
11472
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12112
  if test -z "$ac_t"; then
11473
  if test -z "$ac_t"; then
12113
    break
11474
    break
12114
  elif $ac_last_try; then
11475
  elif $ac_last_try; then
12115
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
-
 
12116
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
11476
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
12117
   { (exit 1); exit 1; }; }
-
 
12118
  else
11477
  else
12119
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11478
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12120
  fi
11479
  fi
12121
done
11480
done
12122
 
11481
 
12123
# For the awk script, D is an array of macro values keyed by name,
11482
# For the awk script, D is an array of macro values keyed by name,
12124
# likewise P contains macro parameters if any.  Preserve backslash
11483
# likewise P contains macro parameters if any.  Preserve backslash
12125
# newline sequences.
11484
# newline sequences.
12126
 
11485
 
12127
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11486
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12128
sed -n '
11487
sed -n '
12129
s/.\{148\}/&'"$ac_delim"'/g
11488
s/.\{148\}/&'"$ac_delim"'/g
12130
t rset
11489
t rset
12131
:rset
11490
:rset
12132
s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
11491
s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
12133
t def
11492
t def
12134
d
11493
d
12135
:def
11494
:def
12136
s/\\$//
11495
s/\\$//
12137
t bsnl
11496
t bsnl
12138
s/["\\]/\\&/g
11497
s/["\\]/\\&/g
12139
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
11498
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
12140
D["\1"]=" \3"/p
11499
D["\1"]=" \3"/p
12141
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
11500
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
12142
d
11501
d
12143
:bsnl
11502
:bsnl
12144
s/["\\]/\\&/g
11503
s/["\\]/\\&/g
12145
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
11504
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
12146
D["\1"]=" \3\\\\\\n"\\/p
11505
D["\1"]=" \3\\\\\\n"\\/p
12147
t cont
11506
t cont
12148
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
11507
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12149
t cont
11508
t cont
12150
d
11509
d
12151
:cont
11510
:cont
12152
n
11511
n
12153
s/.\{148\}/&'"$ac_delim"'/g
11512
s/.\{148\}/&'"$ac_delim"'/g
12154
t clear
11513
t clear
12155
:clear
11514
:clear
12156
s/\\$//
11515
s/\\$//
12157
t bsnlc
11516
t bsnlc
12158
s/["\\]/\\&/g; s/^/"/; s/$/"/p
11517
s/["\\]/\\&/g; s/^/"/; s/$/"/p
12159
d
11518
d
12160
:bsnlc
11519
:bsnlc
12161
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
11520
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12162
b cont
11521
b cont
12163
' <confdefs.h | sed '
11522
' <confdefs.h | sed '
12164
s/'"$ac_delim"'/"\\\
11523
s/'"$ac_delim"'/"\\\
12165
"/g' >>$CONFIG_STATUS || ac_write_fail=1
11524
"/g' >>$CONFIG_STATUS || ac_write_fail=1
12166
 
11525
 
12167
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11526
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12168
  for (key in D) D_is_set[key] = 1
11527
  for (key in D) D_is_set[key] = 1
12169
  FS = ""
11528
  FS = ""
12170
}
11529
}
12171
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
11530
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12172
  line = \$ 0
11531
  line = \$ 0
12173
  split(line, arg, " ")
11532
  split(line, arg, " ")
12174
  if (arg[1] == "#") {
11533
  if (arg[1] == "#") {
12175
    defundef = arg[2]
11534
    defundef = arg[2]
12176
    mac1 = arg[3]
11535
    mac1 = arg[3]
12177
  } else {
11536
  } else {
12178
    defundef = substr(arg[1], 2)
11537
    defundef = substr(arg[1], 2)
12179
    mac1 = arg[2]
11538
    mac1 = arg[2]
12180
  }
11539
  }
12181
  split(mac1, mac2, "(") #)
11540
  split(mac1, mac2, "(") #)
12182
  macro = mac2[1]
11541
  macro = mac2[1]
12183
  prefix = substr(line, 1, index(line, defundef) - 1)
11542
  prefix = substr(line, 1, index(line, defundef) - 1)
12184
  if (D_is_set[macro]) {
11543
  if (D_is_set[macro]) {
12185
    # Preserve the white space surrounding the "#".
11544
    # Preserve the white space surrounding the "#".
12186
    print prefix "define", macro P[macro] D[macro]
11545
    print prefix "define", macro P[macro] D[macro]
12187
    next
11546
    next
12188
  } else {
11547
  } else {
12189
    # Replace #undef with comments.  This is necessary, for example,
11548
    # Replace #undef with comments.  This is necessary, for example,
12190
    # in the case of _POSIX_SOURCE, which is predefined and required
11549
    # in the case of _POSIX_SOURCE, which is predefined and required
12191
    # on some systems where configure will not decide to define it.
11550
    # on some systems where configure will not decide to define it.
12192
    if (defundef == "undef") {
11551
    if (defundef == "undef") {
12193
      print "/*", prefix defundef, macro, "*/"
11552
      print "/*", prefix defundef, macro, "*/"
12194
      next
11553
      next
12195
    }
11554
    }
12196
  }
11555
  }
12197
}
11556
}
12198
{ print }
11557
{ print }
12199
_ACAWK
11558
_ACAWK
12200
_ACEOF
11559
_ACEOF
12201
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11560
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12202
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
-
 
12203
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
11561
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
12204
   { (exit 1); exit 1; }; }
-
 
12205
fi # test -n "$CONFIG_HEADERS"
11562
fi # test -n "$CONFIG_HEADERS"
12206
 
11563
 
12207
 
11564
 
12208
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
11565
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
12209
shift
11566
shift
12210
for ac_tag
11567
for ac_tag
12211
do
11568
do
12212
  case $ac_tag in
11569
  case $ac_tag in
12213
  :[FHLC]) ac_mode=$ac_tag; continue;;
11570
  :[FHLC]) ac_mode=$ac_tag; continue;;
12214
  esac
11571
  esac
12215
  case $ac_mode$ac_tag in
11572
  case $ac_mode$ac_tag in
12216
  :[FHL]*:*);;
11573
  :[FHL]*:*);;
12217
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
11574
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
12218
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
-
 
12219
   { (exit 1); exit 1; }; };;
-
 
12220
  :[FH]-) ac_tag=-:-;;
11575
  :[FH]-) ac_tag=-:-;;
12221
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11576
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12222
  esac
11577
  esac
12223
  ac_save_IFS=$IFS
11578
  ac_save_IFS=$IFS
12224
  IFS=:
11579
  IFS=:
12225
  set x $ac_tag
11580
  set x $ac_tag
12226
  IFS=$ac_save_IFS
11581
  IFS=$ac_save_IFS
12227
  shift
11582
  shift
12228
  ac_file=$1
11583
  ac_file=$1
12229
  shift
11584
  shift
12230
 
11585
 
12231
  case $ac_mode in
11586
  case $ac_mode in
12232
  :L) ac_source=$1;;
11587
  :L) ac_source=$1;;
12233
  :[FH])
11588
  :[FH])
12234
    ac_file_inputs=
11589
    ac_file_inputs=
12235
    for ac_f
11590
    for ac_f
12236
    do
11591
    do
12237
      case $ac_f in
11592
      case $ac_f in
12238
      -) ac_f="$tmp/stdin";;
11593
      -) ac_f="$tmp/stdin";;
12239
      *) # Look for the file first in the build tree, then in the source tree
11594
      *) # Look for the file first in the build tree, then in the source tree
12240
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
11595
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
12241
	 # because $ac_f cannot contain `:'.
11596
	 # because $ac_f cannot contain `:'.
12242
	 test -f "$ac_f" ||
11597
	 test -f "$ac_f" ||
12243
	   case $ac_f in
11598
	   case $ac_f in
12244
	   [\\/$]*) false;;
11599
	   [\\/$]*) false;;
12245
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11600
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12246
	   esac ||
11601
	   esac ||
12247
	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-
 
12248
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11602
	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12249
   { (exit 1); exit 1; }; };;
-
 
12250
      esac
11603
      esac
12251
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
11604
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12252
      ac_file_inputs="$ac_file_inputs '$ac_f'"
11605
      as_fn_append ac_file_inputs " '$ac_f'"
12253
    done
11606
    done
12254
 
11607
 
12255
    # Let's still pretend it is `configure' which instantiates (i.e., don't
11608
    # Let's still pretend it is `configure' which instantiates (i.e., don't
12256
    # use $as_me), people would be surprised to read:
11609
    # use $as_me), people would be surprised to read:
12257
    #    /* config.h.  Generated by config.status.  */
11610
    #    /* config.h.  Generated by config.status.  */
12258
    configure_input='Generated from '`
11611
    configure_input='Generated from '`
12259
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
11612
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12260
	`' by configure.'
11613
	`' by configure.'
12261
    if test x"$ac_file" != x-; then
11614
    if test x"$ac_file" != x-; then
12262
      configure_input="$ac_file.  $configure_input"
11615
      configure_input="$ac_file.  $configure_input"
12263
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
11616
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12264
$as_echo "$as_me: creating $ac_file" >&6;}
11617
$as_echo "$as_me: creating $ac_file" >&6;}
12265
    fi
11618
    fi
12266
    # Neutralize special characters interpreted by sed in replacement strings.
11619
    # Neutralize special characters interpreted by sed in replacement strings.
12267
    case $configure_input in #(
11620
    case $configure_input in #(
12268
    *\&* | *\|* | *\\* )
11621
    *\&* | *\|* | *\\* )
12269
       ac_sed_conf_input=`$as_echo "$configure_input" |
11622
       ac_sed_conf_input=`$as_echo "$configure_input" |
12270
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
11623
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
12271
    *) ac_sed_conf_input=$configure_input;;
11624
    *) ac_sed_conf_input=$configure_input;;
12272
    esac
11625
    esac
12273
 
11626
 
12274
    case $ac_tag in
11627
    case $ac_tag in
12275
    *:-:* | *:-) cat >"$tmp/stdin" \
11628
    *:-:* | *:-) cat >"$tmp/stdin" \
12276
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-
 
12277
$as_echo "$as_me: error: could not create $ac_file" >&2;}
11629
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
12278
   { (exit 1); exit 1; }; } ;;
-
 
12279
    esac
11630
    esac
12280
    ;;
11631
    ;;
12281
  esac
11632
  esac
12282
 
11633
 
12283
  ac_dir=`$as_dirname -- "$ac_file" ||
11634
  ac_dir=`$as_dirname -- "$ac_file" ||
12284
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11635
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12285
	 X"$ac_file" : 'X\(//\)[^/]' \| \
11636
	 X"$ac_file" : 'X\(//\)[^/]' \| \
12286
	 X"$ac_file" : 'X\(//\)$' \| \
11637
	 X"$ac_file" : 'X\(//\)$' \| \
12287
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11638
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12288
$as_echo X"$ac_file" |
11639
$as_echo X"$ac_file" |
12289
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11640
    sed '/^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
	  /^X\(\/\).*/{
11652
	  /^X\(\/\).*/{
12302
	    s//\1/
11653
	    s//\1/
12303
	    q
11654
	    q
12304
	  }
11655
	  }
12305
	  s/.*/./; q'`
11656
	  s/.*/./; q'`
12306
  { as_dir="$ac_dir"
-
 
12307
  case $as_dir in #(
-
 
12308
  -*) as_dir=./$as_dir;;
-
 
12309
  esac
-
 
12310
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
-
 
12311
    as_dirs=
-
 
12312
    while :; do
-
 
12313
      case $as_dir in #(
-
 
12314
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
-
 
12315
      *) as_qdir=$as_dir;;
-
 
12316
      esac
-
 
12317
      as_dirs="'$as_qdir' $as_dirs"
11657
  as_dir="$ac_dir"; as_fn_mkdir_p
12318
      as_dir=`$as_dirname -- "$as_dir" ||
-
 
12319
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-
 
12320
	 X"$as_dir" : 'X\(//\)[^/]' \| \
-
 
12321
	 X"$as_dir" : 'X\(//\)$' \| \
-
 
12322
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-
 
12323
$as_echo X"$as_dir" |
-
 
12324
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-
 
12325
	    s//\1/
-
 
12326
	    q
-
 
12327
	  }
-
 
12328
	  /^X\(\/\/\)[^/].*/{
-
 
12329
	    s//\1/
-
 
12330
	    q
-
 
12331
	  }
-
 
12332
	  /^X\(\/\/\)$/{
-
 
12333
	    s//\1/
-
 
12334
	    q
-
 
12335
	  }
-
 
12336
	  /^X\(\/\).*/{
-
 
12337
	    s//\1/
-
 
12338
	    q
-
 
12339
	  }
-
 
12340
	  s/.*/./; q'`
-
 
12341
      test -d "$as_dir" && break
-
 
12342
    done
-
 
12343
    test -z "$as_dirs" || eval "mkdir $as_dirs"
-
 
12344
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-
 
12345
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
-
 
12346
   { (exit 1); exit 1; }; }; }
-
 
12347
  ac_builddir=.
11658
  ac_builddir=.
12348
 
11659
 
12349
case "$ac_dir" in
11660
case "$ac_dir" in
12350
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11661
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12351
*)
11662
*)
12352
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11663
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12353
  # A ".." for each directory in $ac_dir_suffix.
11664
  # A ".." for each directory in $ac_dir_suffix.
12354
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11665
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12355
  case $ac_top_builddir_sub in
11666
  case $ac_top_builddir_sub in
12356
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11667
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12357
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11668
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12358
  esac ;;
11669
  esac ;;
12359
esac
11670
esac
12360
ac_abs_top_builddir=$ac_pwd
11671
ac_abs_top_builddir=$ac_pwd
12361
ac_abs_builddir=$ac_pwd$ac_dir_suffix
11672
ac_abs_builddir=$ac_pwd$ac_dir_suffix
12362
# for backward compatibility:
11673
# for backward compatibility:
12363
ac_top_builddir=$ac_top_build_prefix
11674
ac_top_builddir=$ac_top_build_prefix
12364
 
11675
 
12365
case $srcdir in
11676
case $srcdir in
12366
  .)  # We are building in place.
11677
  .)  # We are building in place.
12367
    ac_srcdir=.
11678
    ac_srcdir=.
12368
    ac_top_srcdir=$ac_top_builddir_sub
11679
    ac_top_srcdir=$ac_top_builddir_sub
12369
    ac_abs_top_srcdir=$ac_pwd ;;
11680
    ac_abs_top_srcdir=$ac_pwd ;;
12370
  [\\/]* | ?:[\\/]* )  # Absolute name.
11681
  [\\/]* | ?:[\\/]* )  # Absolute name.
12371
    ac_srcdir=$srcdir$ac_dir_suffix;
11682
    ac_srcdir=$srcdir$ac_dir_suffix;
12372
    ac_top_srcdir=$srcdir
11683
    ac_top_srcdir=$srcdir
12373
    ac_abs_top_srcdir=$srcdir ;;
11684
    ac_abs_top_srcdir=$srcdir ;;
12374
  *) # Relative name.
11685
  *) # Relative name.
12375
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11686
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12376
    ac_top_srcdir=$ac_top_build_prefix$srcdir
11687
    ac_top_srcdir=$ac_top_build_prefix$srcdir
12377
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11688
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12378
esac
11689
esac
12379
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11690
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12380
 
11691
 
12381
 
11692
 
12382
  case $ac_mode in
11693
  case $ac_mode in
12383
  :F)
11694
  :F)
12384
  #
11695
  #
12385
  # CONFIG_FILE
11696
  # CONFIG_FILE
12386
  #
11697
  #
12387
 
11698
 
12388
  case $INSTALL in
11699
  case $INSTALL in
12389
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11700
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12390
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
11701
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12391
  esac
11702
  esac
12392
  ac_MKDIR_P=$MKDIR_P
11703
  ac_MKDIR_P=$MKDIR_P
12393
  case $MKDIR_P in
11704
  case $MKDIR_P in
12394
  [\\/$]* | ?:[\\/]* ) ;;
11705
  [\\/$]* | ?:[\\/]* ) ;;
12395
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
11706
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12396
  esac
11707
  esac
12397
_ACEOF
11708
_ACEOF
12398
 
11709
 
12399
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11710
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12400
# If the template does not know about datarootdir, expand it.
11711
# If the template does not know about datarootdir, expand it.
12401
# FIXME: This hack should be removed a few years after 2.60.
11712
# FIXME: This hack should be removed a few years after 2.60.
12402
ac_datarootdir_hack=; ac_datarootdir_seen=
11713
ac_datarootdir_hack=; ac_datarootdir_seen=
12403
 
-
 
12404
ac_sed_dataroot='
11714
ac_sed_dataroot='
12405
/datarootdir/ {
11715
/datarootdir/ {
12406
  p
11716
  p
12407
  q
11717
  q
12408
}
11718
}
12409
/@datadir@/p
11719
/@datadir@/p
12410
/@docdir@/p
11720
/@docdir@/p
12411
/@infodir@/p
11721
/@infodir@/p
12412
/@localedir@/p
11722
/@localedir@/p
12413
/@mandir@/p
11723
/@mandir@/p'
12414
'
-
 
12415
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
11724
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12416
*datarootdir*) ac_datarootdir_seen=yes;;
11725
*datarootdir*) ac_datarootdir_seen=yes;;
12417
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
11726
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12418
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11727
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12419
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11728
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12420
_ACEOF
11729
_ACEOF
12421
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11730
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12422
  ac_datarootdir_hack='
11731
  ac_datarootdir_hack='
12423
  s&@datadir@&$datadir&g
11732
  s&@datadir@&$datadir&g
12424
  s&@docdir@&$docdir&g
11733
  s&@docdir@&$docdir&g
12425
  s&@infodir@&$infodir&g
11734
  s&@infodir@&$infodir&g
12426
  s&@localedir@&$localedir&g
11735
  s&@localedir@&$localedir&g
12427
  s&@mandir@&$mandir&g
11736
  s&@mandir@&$mandir&g
12428
    s&\\\${datarootdir}&$datarootdir&g' ;;
11737
  s&\\\${datarootdir}&$datarootdir&g' ;;
12429
esac
11738
esac
12430
_ACEOF
11739
_ACEOF
12431
 
11740
 
12432
# Neutralize VPATH when `$srcdir' = `.'.
11741
# Neutralize VPATH when `$srcdir' = `.'.
12433
# Shell code in configure.ac might set extrasub.
11742
# Shell code in configure.ac might set extrasub.
12434
# FIXME: do we really want to maintain this feature?
11743
# FIXME: do we really want to maintain this feature?
12435
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11744
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12436
ac_sed_extra="$ac_vpsub
11745
ac_sed_extra="$ac_vpsub
12437
$extrasub
11746
$extrasub
12438
_ACEOF
11747
_ACEOF
12439
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11748
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12440
:t
11749
:t
12441
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11750
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12442
s|@configure_input@|$ac_sed_conf_input|;t t
11751
s|@configure_input@|$ac_sed_conf_input|;t t
12443
s&@top_builddir@&$ac_top_builddir_sub&;t t
11752
s&@top_builddir@&$ac_top_builddir_sub&;t t
12444
s&@top_build_prefix@&$ac_top_build_prefix&;t t
11753
s&@top_build_prefix@&$ac_top_build_prefix&;t t
12445
s&@srcdir@&$ac_srcdir&;t t
11754
s&@srcdir@&$ac_srcdir&;t t
12446
s&@abs_srcdir@&$ac_abs_srcdir&;t t
11755
s&@abs_srcdir@&$ac_abs_srcdir&;t t
12447
s&@top_srcdir@&$ac_top_srcdir&;t t
11756
s&@top_srcdir@&$ac_top_srcdir&;t t
12448
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
11757
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12449
s&@builddir@&$ac_builddir&;t t
11758
s&@builddir@&$ac_builddir&;t t
12450
s&@abs_builddir@&$ac_abs_builddir&;t t
11759
s&@abs_builddir@&$ac_abs_builddir&;t t
12451
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
11760
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12452
s&@INSTALL@&$ac_INSTALL&;t t
11761
s&@INSTALL@&$ac_INSTALL&;t t
12453
s&@MKDIR_P@&$ac_MKDIR_P&;t t
11762
s&@MKDIR_P@&$ac_MKDIR_P&;t t
12454
$ac_datarootdir_hack
11763
$ac_datarootdir_hack
12455
"
11764
"
12456
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
11765
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12457
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-
 
12458
$as_echo "$as_me: error: could not create $ac_file" >&2;}
11766
  || as_fn_error "could not create $ac_file" "$LINENO" 5
12459
   { (exit 1); exit 1; }; }
-
 
12460
 
11767
 
12461
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11768
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12462
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
11769
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12463
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
11770
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12464
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11771
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12465
which seems to be undefined.  Please make sure it is defined." >&5
11772
which seems to be undefined.  Please make sure it is defined." >&5
12466
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11773
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12467
which seems to be undefined.  Please make sure it is defined." >&2;}
11774
which seems to be undefined.  Please make sure it is defined." >&2;}
12468
 
11775
 
12469
  rm -f "$tmp/stdin"
11776
  rm -f "$tmp/stdin"
12470
  case $ac_file in
11777
  case $ac_file in
12471
  -) cat "$tmp/out" && rm -f "$tmp/out";;
11778
  -) cat "$tmp/out" && rm -f "$tmp/out";;
12472
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
11779
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12473
  esac \
11780
  esac \
12474
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-
 
12475
$as_echo "$as_me: error: could not create $ac_file" >&2;}
11781
  || as_fn_error "could not create $ac_file" "$LINENO" 5
12476
   { (exit 1); exit 1; }; }
-
 
12477
 ;;
11782
 ;;
12478
  :H)
11783
  :H)
12479
  #
11784
  #
12480
  # CONFIG_HEADER
11785
  # CONFIG_HEADER
12481
  #
11786
  #
12482
  if test x"$ac_file" != x-; then
11787
  if test x"$ac_file" != x-; then
12483
    {
11788
    {
12484
      $as_echo "/* $configure_input  */" \
11789
      $as_echo "/* $configure_input  */" \
12485
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
11790
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12486
    } >"$tmp/config.h" \
11791
    } >"$tmp/config.h" \
12487
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-
 
12488
$as_echo "$as_me: error: could not create $ac_file" >&2;}
11792
      || as_fn_error "could not create $ac_file" "$LINENO" 5
12489
   { (exit 1); exit 1; }; }
-
 
12490
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
11793
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12491
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11794
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12492
$as_echo "$as_me: $ac_file is unchanged" >&6;}
11795
$as_echo "$as_me: $ac_file is unchanged" >&6;}
12493
    else
11796
    else
12494
      rm -f "$ac_file"
11797
      rm -f "$ac_file"
12495
      mv "$tmp/config.h" "$ac_file" \
11798
      mv "$tmp/config.h" "$ac_file" \
12496
	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
-
 
12497
$as_echo "$as_me: error: could not create $ac_file" >&2;}
11799
	|| as_fn_error "could not create $ac_file" "$LINENO" 5
12498
   { (exit 1); exit 1; }; }
-
 
12499
    fi
11800
    fi
12500
  else
11801
  else
12501
    $as_echo "/* $configure_input  */" \
11802
    $as_echo "/* $configure_input  */" \
12502
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
11803
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12503
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
-
 
12504
$as_echo "$as_me: error: could not create -" >&2;}
11804
      || as_fn_error "could not create -" "$LINENO" 5
12505
   { (exit 1); exit 1; }; }
-
 
12506
  fi
11805
  fi
12507
# Compute "$ac_file"'s index in $config_headers.
11806
# Compute "$ac_file"'s index in $config_headers.
12508
_am_arg="$ac_file"
11807
_am_arg="$ac_file"
12509
_am_stamp_count=1
11808
_am_stamp_count=1
12510
for _am_header in $config_headers :; do
11809
for _am_header in $config_headers :; do
12511
  case $_am_header in
11810
  case $_am_header in
12512
    $_am_arg | $_am_arg:* )
11811
    $_am_arg | $_am_arg:* )
12513
      break ;;
11812
      break ;;
12514
    * )
11813
    * )
12515
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
11814
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12516
  esac
11815
  esac
12517
done
11816
done
12518
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
11817
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12519
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11818
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12520
	 X"$_am_arg" : 'X\(//\)[^/]' \| \
11819
	 X"$_am_arg" : 'X\(//\)[^/]' \| \
12521
	 X"$_am_arg" : 'X\(//\)$' \| \
11820
	 X"$_am_arg" : 'X\(//\)$' \| \
12522
	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
11821
	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12523
$as_echo X"$_am_arg" |
11822
$as_echo X"$_am_arg" |
12524
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11823
    sed '/^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
	  /^X\(\/\).*/{
11835
	  /^X\(\/\).*/{
12537
	    s//\1/
11836
	    s//\1/
12538
	    q
11837
	    q
12539
	  }
11838
	  }
12540
	  s/.*/./; q'`/stamp-h$_am_stamp_count
11839
	  s/.*/./; q'`/stamp-h$_am_stamp_count
12541
 ;;
11840
 ;;
12542
  
11841
  
12543
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
11842
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12544
$as_echo "$as_me: executing $ac_file commands" >&6;}
11843
$as_echo "$as_me: executing $ac_file commands" >&6;}
12545
 ;;
11844
 ;;
12546
  esac
11845
  esac
12547
 
11846
 
12548
 
11847
 
12549
  case $ac_file$ac_mode in
11848
  case $ac_file$ac_mode in
12550
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
11849
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12551
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
11850
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
12552
  # are listed without --file.  Let's play safe and only enable the eval
11851
  # are listed without --file.  Let's play safe and only enable the eval
12553
  # if we detect the quoting.
11852
  # if we detect the quoting.
12554
  case $CONFIG_FILES in
11853
  case $CONFIG_FILES in
12555
  *\'*) eval set x "$CONFIG_FILES" ;;
11854
  *\'*) eval set x "$CONFIG_FILES" ;;
12556
  *)   set x $CONFIG_FILES ;;
11855
  *)   set x $CONFIG_FILES ;;
12557
  esac
11856
  esac
12558
  shift
11857
  shift
12559
  for mf
11858
  for mf
12560
  do
11859
  do
12561
    # Strip MF so we end up with the name of the file.
11860
    # Strip MF so we end up with the name of the file.
12562
    mf=`echo "$mf" | sed -e 's/:.*$//'`
11861
    mf=`echo "$mf" | sed -e 's/:.*$//'`
12563
    # Check whether this is an Automake generated Makefile or not.
11862
    # Check whether this is an Automake generated Makefile or not.
12564
    # We used to match only the files named `Makefile.in', but
11863
    # We used to match only the files named `Makefile.in', but
12565
    # some people rename them; so instead we look at the file content.
11864
    # some people rename them; so instead we look at the file content.
12566
    # Grep'ing the first line is not enough: some people post-process
11865
    # Grep'ing the first line is not enough: some people post-process
12567
    # each Makefile.in and add a new line on top of each file to say so.
11866
    # each Makefile.in and add a new line on top of each file to say so.
12568
    # Grep'ing the whole file is not good either: AIX grep has a line
11867
    # Grep'ing the whole file is not good either: AIX grep has a line
12569
    # limit of 2048, but all sed's we know have understand at least 4000.
11868
    # limit of 2048, but all sed's we know have understand at least 4000.
12570
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
11869
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12571
      dirpart=`$as_dirname -- "$mf" ||
11870
      dirpart=`$as_dirname -- "$mf" ||
12572
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11871
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12573
	 X"$mf" : 'X\(//\)[^/]' \| \
11872
	 X"$mf" : 'X\(//\)[^/]' \| \
12574
	 X"$mf" : 'X\(//\)$' \| \
11873
	 X"$mf" : 'X\(//\)$' \| \
12575
	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11874
	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12576
$as_echo X"$mf" |
11875
$as_echo X"$mf" |
12577
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11876
    sed '/^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
	  /^X\(\/\).*/{
11888
	  /^X\(\/\).*/{
12590
	    s//\1/
11889
	    s//\1/
12591
	    q
11890
	    q
12592
	  }
11891
	  }
12593
	  s/.*/./; q'`
11892
	  s/.*/./; q'`
12594
    else
11893
    else
12595
      continue
11894
      continue
12596
    fi
11895
    fi
12597
    # Extract the definition of DEPDIR, am__include, and am__quote
11896
    # Extract the definition of DEPDIR, am__include, and am__quote
12598
    # from the Makefile without running `make'.
11897
    # from the Makefile without running `make'.
12599
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
11898
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12600
    test -z "$DEPDIR" && continue
11899
    test -z "$DEPDIR" && continue
12601
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
11900
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
12602
    test -z "am__include" && continue
11901
    test -z "am__include" && continue
12603
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
11902
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12604
    # When using ansi2knr, U may be empty or an underscore; expand it
11903
    # When using ansi2knr, U may be empty or an underscore; expand it
12605
    U=`sed -n 's/^U = //p' < "$mf"`
11904
    U=`sed -n 's/^U = //p' < "$mf"`
12606
    # Find all dependency output files, they are included files with
11905
    # Find all dependency output files, they are included files with
12607
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
11906
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
12608
    # simplest approach to changing $(DEPDIR) to its actual value in the
11907
    # simplest approach to changing $(DEPDIR) to its actual value in the
12609
    # expansion.
11908
    # expansion.
12610
    for file in `sed -n "
11909
    for file in `sed -n "
12611
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11910
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12612
	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11911
	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12613
      # Make sure the directory exists.
11912
      # Make sure the directory exists.
12614
      test -f "$dirpart/$file" && continue
11913
      test -f "$dirpart/$file" && continue
12615
      fdir=`$as_dirname -- "$file" ||
11914
      fdir=`$as_dirname -- "$file" ||
12616
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11915
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12617
	 X"$file" : 'X\(//\)[^/]' \| \
11916
	 X"$file" : 'X\(//\)[^/]' \| \
12618
	 X"$file" : 'X\(//\)$' \| \
11917
	 X"$file" : 'X\(//\)$' \| \
12619
	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11918
	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12620
$as_echo X"$file" |
11919
$as_echo X"$file" |
12621
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11920
    sed '/^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
	  /^X\(\/\).*/{
11932
	  /^X\(\/\).*/{
12634
	    s//\1/
11933
	    s//\1/
12635
	    q
11934
	    q
12636
	  }
11935
	  }
12637
	  s/.*/./; q'`
11936
	  s/.*/./; q'`
12638
      { as_dir=$dirpart/$fdir
11937
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
12639
  case $as_dir in #(
-
 
12640
  -*) as_dir=./$as_dir;;
-
 
12641
  esac
-
 
12642
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
-
 
12643
    as_dirs=
-
 
12644
    while :; do
-
 
12645
      case $as_dir in #(
-
 
12646
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
-
 
12647
      *) as_qdir=$as_dir;;
-
 
12648
      esac
-
 
12649
      as_dirs="'$as_qdir' $as_dirs"
-
 
12650
      as_dir=`$as_dirname -- "$as_dir" ||
-
 
12651
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-
 
12652
	 X"$as_dir" : 'X\(//\)[^/]' \| \
-
 
12653
	 X"$as_dir" : 'X\(//\)$' \| \
-
 
12654
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-
 
12655
$as_echo X"$as_dir" |
-
 
12656
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-
 
12657
	    s//\1/
-
 
12658
	    q
-
 
12659
	  }
-
 
12660
	  /^X\(\/\/\)[^/].*/{
-
 
12661
	    s//\1/
-
 
12662
	    q
-
 
12663
	  }
-
 
12664
	  /^X\(\/\/\)$/{
-
 
12665
	    s//\1/
-
 
12666
	    q
-
 
12667
	  }
-
 
12668
	  /^X\(\/\).*/{
-
 
12669
	    s//\1/
-
 
12670
	    q
-
 
12671
	  }
-
 
12672
	  s/.*/./; q'`
-
 
12673
      test -d "$as_dir" && break
-
 
12674
    done
-
 
12675
    test -z "$as_dirs" || eval "mkdir $as_dirs"
-
 
12676
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-
 
12677
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
-
 
12678
   { (exit 1); exit 1; }; }; }
-
 
12679
      # echo "creating $dirpart/$file"
11938
      # echo "creating $dirpart/$file"
12680
      echo '# dummy' > "$dirpart/$file"
11939
      echo '# dummy' > "$dirpart/$file"
12681
    done
11940
    done
12682
  done
11941
  done
12683
}
11942
}
12684
 ;;
11943
 ;;
12685
    "libtool":C) 
11944
    "libtool":C) 
12686
    
11945
    
12687
    # See if we are running on zsh, and set the options which allow our
11946
    # See if we are running on zsh, and set the options which allow our
12688
    # commands through without removal of \ escapes.
11947
    # commands through without removal of \ escapes.
12689
    if test -n "${ZSH_VERSION+set}" ; then
11948
    if test -n "${ZSH_VERSION+set}" ; then
12690
      setopt NO_GLOB_SUBST
11949
      setopt NO_GLOB_SUBST
12691
    fi
11950
    fi
12692
 
11951
 
12693
    cfgfile="${ofile}T"
11952
    cfgfile="${ofile}T"
12694
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
11953
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12695
    $RM "$cfgfile"
11954
    $RM "$cfgfile"
12696
 
11955
 
12697
    cat <<_LT_EOF >> "$cfgfile"
11956
    cat <<_LT_EOF >> "$cfgfile"
12698
#! $SHELL
11957
#! $SHELL
12699
 
11958
 
12700
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11959
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12701
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
11960
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12702
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11961
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12703
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11962
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12704
#
11963
#
12705
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
11964
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12706
#                 2006, 2007, 2008 Free Software Foundation, Inc.
11965
#                 2006, 2007, 2008 Free Software Foundation, Inc.
12707
#   Written by Gordon Matzigkeit, 1996
11966
#   Written by Gordon Matzigkeit, 1996
12708
#
11967
#
12709
#   This file is part of GNU Libtool.
11968
#   This file is part of GNU Libtool.
12710
#
11969
#
12711
# GNU Libtool is free software; you can redistribute it and/or
11970
# GNU Libtool is free software; you can redistribute it and/or
12712
# modify it under the terms of the GNU General Public License as
11971
# modify it under the terms of the GNU General Public License as
12713
# published by the Free Software Foundation; either version 2 of
11972
# published by the Free Software Foundation; either version 2 of
12714
# the License, or (at your option) any later version.
11973
# the License, or (at your option) any later version.
12715
#
11974
#
12716
# As a special exception to the GNU General Public License,
11975
# As a special exception to the GNU General Public License,
12717
# if you distribute this file as part of a program or library that
11976
# if you distribute this file as part of a program or library that
12718
# is built using GNU Libtool, you may include this file under the
11977
# is built using GNU Libtool, you may include this file under the
12719
# same distribution terms that you use for the rest of that program.
11978
# same distribution terms that you use for the rest of that program.
12720
#
11979
#
12721
# GNU Libtool is distributed in the hope that it will be useful,
11980
# GNU Libtool is distributed in the hope that it will be useful,
12722
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11981
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12723
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11982
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12724
# GNU General Public License for more details.
11983
# GNU General Public License for more details.
12725
#
11984
#
12726
# You should have received a copy of the GNU General Public License
11985
# You should have received a copy of the GNU General Public License
12727
# along with GNU Libtool; see the file COPYING.  If not, a copy
11986
# along with GNU Libtool; see the file COPYING.  If not, a copy
12728
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
11987
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12729
# obtained by writing to the Free Software Foundation, Inc.,
11988
# obtained by writing to the Free Software Foundation, Inc.,
12730
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11989
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12731
 
11990
 
12732
 
11991
 
12733
# The names of the tagged configurations supported by this script.
11992
# The names of the tagged configurations supported by this script.
12734
available_tags=""
11993
available_tags=""
12735
 
11994
 
12736
# ### BEGIN LIBTOOL CONFIG
11995
# ### BEGIN LIBTOOL CONFIG
12737
 
11996
 
12738
# Which release of libtool.m4 was used?
11997
# Which release of libtool.m4 was used?
12739
macro_version=$macro_version
11998
macro_version=$macro_version
12740
macro_revision=$macro_revision
11999
macro_revision=$macro_revision
12741
 
12000
 
12742
# Whether or not to build shared libraries.
12001
# Whether or not to build shared libraries.
12743
build_libtool_libs=$enable_shared
12002
build_libtool_libs=$enable_shared
12744
 
12003
 
12745
# Whether or not to build static libraries.
12004
# Whether or not to build static libraries.
12746
build_old_libs=$enable_static
12005
build_old_libs=$enable_static
12747
 
12006
 
12748
# What type of objects to build.
12007
# What type of objects to build.
12749
pic_mode=$pic_mode
12008
pic_mode=$pic_mode
12750
 
12009
 
12751
# Whether or not to optimize for fast installation.
12010
# Whether or not to optimize for fast installation.
12752
fast_install=$enable_fast_install
12011
fast_install=$enable_fast_install
12753
 
12012
 
12754
# The host system.
12013
# The host system.
12755
host_alias=$host_alias
12014
host_alias=$host_alias
12756
host=$host
12015
host=$host
12757
host_os=$host_os
12016
host_os=$host_os
12758
 
12017
 
12759
# The build system.
12018
# The build system.
12760
build_alias=$build_alias
12019
build_alias=$build_alias
12761
build=$build
12020
build=$build
12762
build_os=$build_os
12021
build_os=$build_os
12763
 
12022
 
12764
# A sed program that does not truncate output.
12023
# A sed program that does not truncate output.
12765
SED=$lt_SED
12024
SED=$lt_SED
12766
 
12025
 
12767
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12026
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12768
Xsed="\$SED -e 1s/^X//"
12027
Xsed="\$SED -e 1s/^X//"
12769
 
12028
 
12770
# A grep program that handles long lines.
12029
# A grep program that handles long lines.
12771
GREP=$lt_GREP
12030
GREP=$lt_GREP
12772
 
12031
 
12773
# An ERE matcher.
12032
# An ERE matcher.
12774
EGREP=$lt_EGREP
12033
EGREP=$lt_EGREP
12775
 
12034
 
12776
# A literal string matcher.
12035
# A literal string matcher.
12777
FGREP=$lt_FGREP
12036
FGREP=$lt_FGREP
12778
 
12037
 
12779
# A BSD- or MS-compatible name lister.
12038
# A BSD- or MS-compatible name lister.
12780
NM=$lt_NM
12039
NM=$lt_NM
12781
 
12040
 
12782
# Whether we need soft or hard links.
12041
# Whether we need soft or hard links.
12783
LN_S=$lt_LN_S
12042
LN_S=$lt_LN_S
12784
 
12043
 
12785
# What is the maximum length of a command?
12044
# What is the maximum length of a command?
12786
max_cmd_len=$max_cmd_len
12045
max_cmd_len=$max_cmd_len
12787
 
12046
 
12788
# Object file suffix (normally "o").
12047
# Object file suffix (normally "o").
12789
objext=$ac_objext
12048
objext=$ac_objext
12790
 
12049
 
12791
# Executable file suffix (normally "").
12050
# Executable file suffix (normally "").
12792
exeext=$exeext
12051
exeext=$exeext
12793
 
12052
 
12794
# whether the shell understands "unset".
12053
# whether the shell understands "unset".
12795
lt_unset=$lt_unset
12054
lt_unset=$lt_unset
12796
 
12055
 
12797
# turn spaces into newlines.
12056
# turn spaces into newlines.
12798
SP2NL=$lt_lt_SP2NL
12057
SP2NL=$lt_lt_SP2NL
12799
 
12058
 
12800
# turn newlines into spaces.
12059
# turn newlines into spaces.
12801
NL2SP=$lt_lt_NL2SP
12060
NL2SP=$lt_lt_NL2SP
12802
 
12061
 
12803
# How to create reloadable object files.
12062
# How to create reloadable object files.
12804
reload_flag=$lt_reload_flag
12063
reload_flag=$lt_reload_flag
12805
reload_cmds=$lt_reload_cmds
12064
reload_cmds=$lt_reload_cmds
12806
 
12065
 
12807
# An object symbol dumper.
12066
# An object symbol dumper.
12808
OBJDUMP=$lt_OBJDUMP
12067
OBJDUMP=$lt_OBJDUMP
12809
 
12068
 
12810
# Method to check whether dependent libraries are shared objects.
12069
# Method to check whether dependent libraries are shared objects.
12811
deplibs_check_method=$lt_deplibs_check_method
12070
deplibs_check_method=$lt_deplibs_check_method
12812
 
12071
 
12813
# Command to use when deplibs_check_method == "file_magic".
12072
# Command to use when deplibs_check_method == "file_magic".
12814
file_magic_cmd=$lt_file_magic_cmd
12073
file_magic_cmd=$lt_file_magic_cmd
12815
 
12074
 
12816
# The archiver.
12075
# The archiver.
12817
AR=$lt_AR
12076
AR=$lt_AR
12818
AR_FLAGS=$lt_AR_FLAGS
12077
AR_FLAGS=$lt_AR_FLAGS
12819
 
12078
 
12820
# A symbol stripping program.
12079
# A symbol stripping program.
12821
STRIP=$lt_STRIP
12080
STRIP=$lt_STRIP
12822
 
12081
 
12823
# Commands used to install an old-style archive.
12082
# Commands used to install an old-style archive.
12824
RANLIB=$lt_RANLIB
12083
RANLIB=$lt_RANLIB
12825
old_postinstall_cmds=$lt_old_postinstall_cmds
12084
old_postinstall_cmds=$lt_old_postinstall_cmds
12826
old_postuninstall_cmds=$lt_old_postuninstall_cmds
12085
old_postuninstall_cmds=$lt_old_postuninstall_cmds
12827
 
12086
 
12828
# A C compiler.
12087
# A C compiler.
12829
LTCC=$lt_CC
12088
LTCC=$lt_CC
12830
 
12089
 
12831
# LTCC compiler flags.
12090
# LTCC compiler flags.
12832
LTCFLAGS=$lt_CFLAGS
12091
LTCFLAGS=$lt_CFLAGS
12833
 
12092
 
12834
# Take the output of nm and produce a listing of raw symbols and C names.
12093
# Take the output of nm and produce a listing of raw symbols and C names.
12835
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12094
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12836
 
12095
 
12837
# Transform the output of nm in a proper C declaration.
12096
# Transform the output of nm in a proper C declaration.
12838
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12097
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12839
 
12098
 
12840
# Transform the output of nm in a C name address pair.
12099
# Transform the output of nm in a C name address pair.
12841
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12100
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12842
 
12101
 
12843
# Transform the output of nm in a C name address pair when lib prefix is needed.
12102
# Transform the output of nm in a C name address pair when lib prefix is needed.
12844
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12103
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12845
 
12104
 
12846
# The name of the directory that contains temporary libtool files.
12105
# The name of the directory that contains temporary libtool files.
12847
objdir=$objdir
12106
objdir=$objdir
12848
 
12107
 
12849
# Shell to use when invoking shell scripts.
12108
# Shell to use when invoking shell scripts.
12850
SHELL=$lt_SHELL
12109
SHELL=$lt_SHELL
12851
 
12110
 
12852
# An echo program that does not interpret backslashes.
12111
# An echo program that does not interpret backslashes.
12853
ECHO=$lt_ECHO
12112
ECHO=$lt_ECHO
12854
 
12113
 
12855
# Used to examine libraries when file_magic_cmd begins with "file".
12114
# Used to examine libraries when file_magic_cmd begins with "file".
12856
MAGIC_CMD=$MAGIC_CMD
12115
MAGIC_CMD=$MAGIC_CMD
12857
 
12116
 
12858
# Must we lock files when doing compilation?
12117
# Must we lock files when doing compilation?
12859
need_locks=$lt_need_locks
12118
need_locks=$lt_need_locks
12860
 
12119
 
12861
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12120
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12862
DSYMUTIL=$lt_DSYMUTIL
12121
DSYMUTIL=$lt_DSYMUTIL
12863
 
12122
 
12864
# Tool to change global to local symbols on Mac OS X.
12123
# Tool to change global to local symbols on Mac OS X.
12865
NMEDIT=$lt_NMEDIT
12124
NMEDIT=$lt_NMEDIT
12866
 
12125
 
12867
# Tool to manipulate fat objects and archives on Mac OS X.
12126
# Tool to manipulate fat objects and archives on Mac OS X.
12868
LIPO=$lt_LIPO
12127
LIPO=$lt_LIPO
12869
 
12128
 
12870
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
12129
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
12871
OTOOL=$lt_OTOOL
12130
OTOOL=$lt_OTOOL
12872
 
12131
 
12873
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12132
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12874
OTOOL64=$lt_OTOOL64
12133
OTOOL64=$lt_OTOOL64
12875
 
12134
 
12876
# Old archive suffix (normally "a").
12135
# Old archive suffix (normally "a").
12877
libext=$libext
12136
libext=$libext
12878
 
12137
 
12879
# Shared library suffix (normally ".so").
12138
# Shared library suffix (normally ".so").
12880
shrext_cmds=$lt_shrext_cmds
12139
shrext_cmds=$lt_shrext_cmds
12881
 
12140
 
12882
# The commands to extract the exported symbol list from a shared archive.
12141
# The commands to extract the exported symbol list from a shared archive.
12883
extract_expsyms_cmds=$lt_extract_expsyms_cmds
12142
extract_expsyms_cmds=$lt_extract_expsyms_cmds
12884
 
12143
 
12885
# Variables whose values should be saved in libtool wrapper scripts and
12144
# Variables whose values should be saved in libtool wrapper scripts and
12886
# restored at link time.
12145
# restored at link time.
12887
variables_saved_for_relink=$lt_variables_saved_for_relink
12146
variables_saved_for_relink=$lt_variables_saved_for_relink
12888
 
12147
 
12889
# Do we need the "lib" prefix for modules?
12148
# Do we need the "lib" prefix for modules?
12890
need_lib_prefix=$need_lib_prefix
12149
need_lib_prefix=$need_lib_prefix
12891
 
12150
 
12892
# Do we need a version for libraries?
12151
# Do we need a version for libraries?
12893
need_version=$need_version
12152
need_version=$need_version
12894
 
12153
 
12895
# Library versioning type.
12154
# Library versioning type.
12896
version_type=$version_type
12155
version_type=$version_type
12897
 
12156
 
12898
# Shared library runtime path variable.
12157
# Shared library runtime path variable.
12899
runpath_var=$runpath_var
12158
runpath_var=$runpath_var
12900
 
12159
 
12901
# Shared library path variable.
12160
# Shared library path variable.
12902
shlibpath_var=$shlibpath_var
12161
shlibpath_var=$shlibpath_var
12903
 
12162
 
12904
# Is shlibpath searched before the hard-coded library search path?
12163
# Is shlibpath searched before the hard-coded library search path?
12905
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12164
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12906
 
12165
 
12907
# Format of library name prefix.
12166
# Format of library name prefix.
12908
libname_spec=$lt_libname_spec
12167
libname_spec=$lt_libname_spec
12909
 
12168
 
12910
# List of archive names.  First name is the real one, the rest are links.
12169
# List of archive names.  First name is the real one, the rest are links.
12911
# The last name is the one that the linker finds with -lNAME
12170
# The last name is the one that the linker finds with -lNAME
12912
library_names_spec=$lt_library_names_spec
12171
library_names_spec=$lt_library_names_spec
12913
 
12172
 
12914
# The coded name of the library, if different from the real name.
12173
# The coded name of the library, if different from the real name.
12915
soname_spec=$lt_soname_spec
12174
soname_spec=$lt_soname_spec
12916
 
12175
 
12917
# Command to use after installation of a shared archive.
12176
# Command to use after installation of a shared archive.
12918
postinstall_cmds=$lt_postinstall_cmds
12177
postinstall_cmds=$lt_postinstall_cmds
12919
 
12178
 
12920
# Command to use after uninstallation of a shared archive.
12179
# Command to use after uninstallation of a shared archive.
12921
postuninstall_cmds=$lt_postuninstall_cmds
12180
postuninstall_cmds=$lt_postuninstall_cmds
12922
 
12181
 
12923
# Commands used to finish a libtool library installation in a directory.
12182
# Commands used to finish a libtool library installation in a directory.
12924
finish_cmds=$lt_finish_cmds
12183
finish_cmds=$lt_finish_cmds
12925
 
12184
 
12926
# As "finish_cmds", except a single script fragment to be evaled but
12185
# As "finish_cmds", except a single script fragment to be evaled but
12927
# not shown.
12186
# not shown.
12928
finish_eval=$lt_finish_eval
12187
finish_eval=$lt_finish_eval
12929
 
12188
 
12930
# Whether we should hardcode library paths into libraries.
12189
# Whether we should hardcode library paths into libraries.
12931
hardcode_into_libs=$hardcode_into_libs
12190
hardcode_into_libs=$hardcode_into_libs
12932
 
12191
 
12933
# Compile-time system search path for libraries.
12192
# Compile-time system search path for libraries.
12934
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12193
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12935
 
12194
 
12936
# Run-time system search path for libraries.
12195
# Run-time system search path for libraries.
12937
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12196
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12938
 
12197
 
12939
# Whether dlopen is supported.
12198
# Whether dlopen is supported.
12940
dlopen_support=$enable_dlopen
12199
dlopen_support=$enable_dlopen
12941
 
12200
 
12942
# Whether dlopen of programs is supported.
12201
# Whether dlopen of programs is supported.
12943
dlopen_self=$enable_dlopen_self
12202
dlopen_self=$enable_dlopen_self
12944
 
12203
 
12945
# Whether dlopen of statically linked programs is supported.
12204
# Whether dlopen of statically linked programs is supported.
12946
dlopen_self_static=$enable_dlopen_self_static
12205
dlopen_self_static=$enable_dlopen_self_static
12947
 
12206
 
12948
# Commands to strip libraries.
12207
# Commands to strip libraries.
12949
old_striplib=$lt_old_striplib
12208
old_striplib=$lt_old_striplib
12950
striplib=$lt_striplib
12209
striplib=$lt_striplib
12951
 
12210
 
12952
 
12211
 
12953
# The linker used to build libraries.
12212
# The linker used to build libraries.
12954
LD=$lt_LD
12213
LD=$lt_LD
12955
 
12214
 
12956
# Commands used to build an old-style archive.
12215
# Commands used to build an old-style archive.
12957
old_archive_cmds=$lt_old_archive_cmds
12216
old_archive_cmds=$lt_old_archive_cmds
12958
 
12217
 
12959
# A language specific compiler.
12218
# A language specific compiler.
12960
CC=$lt_compiler
12219
CC=$lt_compiler
12961
 
12220
 
12962
# Is the compiler the GNU compiler?
12221
# Is the compiler the GNU compiler?
12963
with_gcc=$GCC
12222
with_gcc=$GCC
12964
 
12223
 
12965
# Compiler flag to turn off builtin functions.
12224
# Compiler flag to turn off builtin functions.
12966
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12225
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12967
 
12226
 
12968
# How to pass a linker flag through the compiler.
12227
# How to pass a linker flag through the compiler.
12969
wl=$lt_lt_prog_compiler_wl
12228
wl=$lt_lt_prog_compiler_wl
12970
 
12229
 
12971
# Additional compiler flags for building library objects.
12230
# Additional compiler flags for building library objects.
12972
pic_flag=$lt_lt_prog_compiler_pic
12231
pic_flag=$lt_lt_prog_compiler_pic
12973
 
12232
 
12974
# Compiler flag to prevent dynamic linking.
12233
# Compiler flag to prevent dynamic linking.
12975
link_static_flag=$lt_lt_prog_compiler_static
12234
link_static_flag=$lt_lt_prog_compiler_static
12976
 
12235
 
12977
# Does compiler simultaneously support -c and -o options?
12236
# Does compiler simultaneously support -c and -o options?
12978
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12237
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12979
 
12238
 
12980
# Whether or not to add -lc for building shared libraries.
12239
# Whether or not to add -lc for building shared libraries.
12981
build_libtool_need_lc=$archive_cmds_need_lc
12240
build_libtool_need_lc=$archive_cmds_need_lc
12982
 
12241
 
12983
# Whether or not to disallow shared libs when runtime libs are static.
12242
# Whether or not to disallow shared libs when runtime libs are static.
12984
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12243
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12985
 
12244
 
12986
# Compiler flag to allow reflexive dlopens.
12245
# Compiler flag to allow reflexive dlopens.
12987
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12246
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12988
 
12247
 
12989
# Compiler flag to generate shared objects directly from archives.
12248
# Compiler flag to generate shared objects directly from archives.
12990
whole_archive_flag_spec=$lt_whole_archive_flag_spec
12249
whole_archive_flag_spec=$lt_whole_archive_flag_spec
12991
 
12250
 
12992
# Whether the compiler copes with passing no objects directly.
12251
# Whether the compiler copes with passing no objects directly.
12993
compiler_needs_object=$lt_compiler_needs_object
12252
compiler_needs_object=$lt_compiler_needs_object
12994
 
12253
 
12995
# Create an old-style archive from a shared archive.
12254
# Create an old-style archive from a shared archive.
12996
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12255
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12997
 
12256
 
12998
# Create a temporary old-style archive to link instead of a shared archive.
12257
# Create a temporary old-style archive to link instead of a shared archive.
12999
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12258
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13000
 
12259
 
13001
# Commands used to build a shared archive.
12260
# Commands used to build a shared archive.
13002
archive_cmds=$lt_archive_cmds
12261
archive_cmds=$lt_archive_cmds
13003
archive_expsym_cmds=$lt_archive_expsym_cmds
12262
archive_expsym_cmds=$lt_archive_expsym_cmds
13004
 
12263
 
13005
# Commands used to build a loadable module if different from building
12264
# Commands used to build a loadable module if different from building
13006
# a shared archive.
12265
# a shared archive.
13007
module_cmds=$lt_module_cmds
12266
module_cmds=$lt_module_cmds
13008
module_expsym_cmds=$lt_module_expsym_cmds
12267
module_expsym_cmds=$lt_module_expsym_cmds
13009
 
12268
 
13010
# Whether we are building with GNU ld or not.
12269
# Whether we are building with GNU ld or not.
13011
with_gnu_ld=$lt_with_gnu_ld
12270
with_gnu_ld=$lt_with_gnu_ld
13012
 
12271
 
13013
# Flag that allows shared libraries with undefined symbols to be built.
12272
# Flag that allows shared libraries with undefined symbols to be built.
13014
allow_undefined_flag=$lt_allow_undefined_flag
12273
allow_undefined_flag=$lt_allow_undefined_flag
13015
 
12274
 
13016
# Flag that enforces no undefined symbols.
12275
# Flag that enforces no undefined symbols.
13017
no_undefined_flag=$lt_no_undefined_flag
12276
no_undefined_flag=$lt_no_undefined_flag
13018
 
12277
 
13019
# Flag to hardcode \$libdir into a binary during linking.
12278
# Flag to hardcode \$libdir into a binary during linking.
13020
# This must work even if \$libdir does not exist
12279
# This must work even if \$libdir does not exist
13021
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12280
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13022
 
12281
 
13023
# If ld is used when linking, flag to hardcode \$libdir into a binary
12282
# If ld is used when linking, flag to hardcode \$libdir into a binary
13024
# during linking.  This must work even if \$libdir does not exist.
12283
# during linking.  This must work even if \$libdir does not exist.
13025
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12284
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13026
 
12285
 
13027
# Whether we need a single "-rpath" flag with a separated argument.
12286
# Whether we need a single "-rpath" flag with a separated argument.
13028
hardcode_libdir_separator=$lt_hardcode_libdir_separator
12287
hardcode_libdir_separator=$lt_hardcode_libdir_separator
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.
12290
# DIR into the resulting binary.
13032
hardcode_direct=$hardcode_direct
12291
hardcode_direct=$hardcode_direct
13033
 
12292
 
13034
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12293
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13035
# DIR into the resulting binary and the resulting library dependency is
12294
# DIR into the resulting binary and the resulting library dependency is
13036
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
12295
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13037
# library is relocated.
12296
# library is relocated.
13038
hardcode_direct_absolute=$hardcode_direct_absolute
12297
hardcode_direct_absolute=$hardcode_direct_absolute
13039
 
12298
 
13040
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
12299
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13041
# into the resulting binary.
12300
# into the resulting binary.
13042
hardcode_minus_L=$hardcode_minus_L
12301
hardcode_minus_L=$hardcode_minus_L
13043
 
12302
 
13044
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
12303
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13045
# into the resulting binary.
12304
# into the resulting binary.
13046
hardcode_shlibpath_var=$hardcode_shlibpath_var
12305
hardcode_shlibpath_var=$hardcode_shlibpath_var
13047
 
12306
 
13048
# Set to "yes" if building a shared library automatically hardcodes DIR
12307
# Set to "yes" if building a shared library automatically hardcodes DIR
13049
# into the library and all subsequent libraries and executables linked
12308
# into the library and all subsequent libraries and executables linked
13050
# against it.
12309
# against it.
13051
hardcode_automatic=$hardcode_automatic
12310
hardcode_automatic=$hardcode_automatic
13052
 
12311
 
13053
# Set to yes if linker adds runtime paths of dependent libraries
12312
# Set to yes if linker adds runtime paths of dependent libraries
13054
# to runtime path list.
12313
# to runtime path list.
13055
inherit_rpath=$inherit_rpath
12314
inherit_rpath=$inherit_rpath
13056
 
12315
 
13057
# Whether libtool must link a program against all its dependency libraries.
12316
# Whether libtool must link a program against all its dependency libraries.
13058
link_all_deplibs=$link_all_deplibs
12317
link_all_deplibs=$link_all_deplibs
13059
 
12318
 
13060
# Fix the shell variable \$srcfile for the compiler.
12319
# Fix the shell variable \$srcfile for the compiler.
13061
fix_srcfile_path=$lt_fix_srcfile_path
12320
fix_srcfile_path=$lt_fix_srcfile_path
13062
 
12321
 
13063
# Set to "yes" if exported symbols are required.
12322
# Set to "yes" if exported symbols are required.
13064
always_export_symbols=$always_export_symbols
12323
always_export_symbols=$always_export_symbols
13065
 
12324
 
13066
# The commands to list exported symbols.
12325
# The commands to list exported symbols.
13067
export_symbols_cmds=$lt_export_symbols_cmds
12326
export_symbols_cmds=$lt_export_symbols_cmds
13068
 
12327
 
13069
# Symbols that should not be listed in the preloaded symbols.
12328
# Symbols that should not be listed in the preloaded symbols.
13070
exclude_expsyms=$lt_exclude_expsyms
12329
exclude_expsyms=$lt_exclude_expsyms
13071
 
12330
 
13072
# Symbols that must always be exported.
12331
# Symbols that must always be exported.
13073
include_expsyms=$lt_include_expsyms
12332
include_expsyms=$lt_include_expsyms
13074
 
12333
 
13075
# Commands necessary for linking programs (against libraries) with templates.
12334
# Commands necessary for linking programs (against libraries) with templates.
13076
prelink_cmds=$lt_prelink_cmds
12335
prelink_cmds=$lt_prelink_cmds
13077
 
12336
 
13078
# Specify filename containing input files.
12337
# Specify filename containing input files.
13079
file_list_spec=$lt_file_list_spec
12338
file_list_spec=$lt_file_list_spec
13080
 
12339
 
13081
# How to hardcode a shared library path into an executable.
12340
# How to hardcode a shared library path into an executable.
13082
hardcode_action=$hardcode_action
12341
hardcode_action=$hardcode_action
13083
 
12342
 
13084
# ### END LIBTOOL CONFIG
12343
# ### END LIBTOOL CONFIG
13085
 
12344
 
13086
_LT_EOF
12345
_LT_EOF
13087
 
12346
 
13088
  case $host_os in
12347
  case $host_os in
13089
  aix3*)
12348
  aix3*)
13090
    cat <<\_LT_EOF >> "$cfgfile"
12349
    cat <<\_LT_EOF >> "$cfgfile"
13091
# AIX sometimes has problems with the GCC collect2 program.  For some
12350
# AIX sometimes has problems with the GCC collect2 program.  For some
13092
# reason, if we set the COLLECT_NAMES environment variable, the problems
12351
# reason, if we set the COLLECT_NAMES environment variable, the problems
13093
# vanish in a puff of smoke.
12352
# vanish in a puff of smoke.
13094
if test "X${COLLECT_NAMES+set}" != Xset; then
12353
if test "X${COLLECT_NAMES+set}" != Xset; then
13095
  COLLECT_NAMES=
12354
  COLLECT_NAMES=
13096
  export COLLECT_NAMES
12355
  export COLLECT_NAMES
13097
fi
12356
fi
13098
_LT_EOF
12357
_LT_EOF
13099
    ;;
12358
    ;;
13100
  esac
12359
  esac
13101
 
12360
 
13102
  
12361
  
13103
ltmain="$ac_aux_dir/ltmain.sh"
12362
ltmain="$ac_aux_dir/ltmain.sh"
13104
 
12363
 
13105
 
12364
 
13106
  # We use sed instead of cat because bash on DJGPP gets confused if
12365
  # We use sed instead of cat because bash on DJGPP gets confused if
13107
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
12366
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13108
  # text mode, it properly converts lines to CR/LF.  This bash problem
12367
  # text mode, it properly converts lines to CR/LF.  This bash problem
13109
  # is reportedly fixed, but why not run on old versions too?
12368
  # is reportedly fixed, but why not run on old versions too?
13110
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
12369
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13111
    || (rm -f "$cfgfile"; exit 1)
12370
    || (rm -f "$cfgfile"; exit 1)
13112
 
12371
 
13113
  case $xsi_shell in
12372
  case $xsi_shell in
13114
  yes)
12373
  yes)
13115
    cat << \_LT_EOF >> "$cfgfile"
12374
    cat << \_LT_EOF >> "$cfgfile"
13116
 
12375
 
13117
# func_dirname file append nondir_replacement
12376
# func_dirname file append nondir_replacement
13118
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
12377
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13119
# otherwise set result to NONDIR_REPLACEMENT.
12378
# otherwise set result to NONDIR_REPLACEMENT.
13120
func_dirname ()
12379
func_dirname ()
13121
{
12380
{
13122
  case ${1} in
12381
  case ${1} in
13123
    */*) func_dirname_result="${1%/*}${2}" ;;
12382
    */*) func_dirname_result="${1%/*}${2}" ;;
13124
    *  ) func_dirname_result="${3}" ;;
12383
    *  ) func_dirname_result="${3}" ;;
13125
  esac
12384
  esac
13126
}
12385
}
13127
 
12386
 
13128
# func_basename file
12387
# func_basename file
13129
func_basename ()
12388
func_basename ()
13130
{
12389
{
13131
  func_basename_result="${1##*/}"
12390
  func_basename_result="${1##*/}"
13132
}
12391
}
13133
 
12392
 
13134
# func_dirname_and_basename file append nondir_replacement
12393
# func_dirname_and_basename file append nondir_replacement
13135
# perform func_basename and func_dirname in a single function
12394
# perform func_basename and func_dirname in a single function
13136
# call:
12395
# call:
13137
#   dirname:  Compute the dirname of FILE.  If nonempty,
12396
#   dirname:  Compute the dirname of FILE.  If nonempty,
13138
#             add APPEND to the result, otherwise set result
12397
#             add APPEND to the result, otherwise set result
13139
#             to NONDIR_REPLACEMENT.
12398
#             to NONDIR_REPLACEMENT.
13140
#             value returned in "$func_dirname_result"
12399
#             value returned in "$func_dirname_result"
13141
#   basename: Compute filename of FILE.
12400
#   basename: Compute filename of FILE.
13142
#             value retuned in "$func_basename_result"
12401
#             value retuned in "$func_basename_result"
13143
# Implementation must be kept synchronized with func_dirname
12402
# Implementation must be kept synchronized with func_dirname
13144
# and func_basename. For efficiency, we do not delegate to
12403
# and func_basename. For efficiency, we do not delegate to
13145
# those functions but instead duplicate the functionality here.
12404
# those functions but instead duplicate the functionality here.
13146
func_dirname_and_basename ()
12405
func_dirname_and_basename ()
13147
{
12406
{
13148
  case ${1} in
12407
  case ${1} in
13149
    */*) func_dirname_result="${1%/*}${2}" ;;
12408
    */*) func_dirname_result="${1%/*}${2}" ;;
13150
    *  ) func_dirname_result="${3}" ;;
12409
    *  ) func_dirname_result="${3}" ;;
13151
  esac
12410
  esac
13152
  func_basename_result="${1##*/}"
12411
  func_basename_result="${1##*/}"
13153
}
12412
}
13154
 
12413
 
13155
# func_stripname prefix suffix name
12414
# func_stripname prefix suffix name
13156
# strip PREFIX and SUFFIX off of NAME.
12415
# strip PREFIX and SUFFIX off of NAME.
13157
# PREFIX and SUFFIX must not contain globbing or regex special
12416
# PREFIX and SUFFIX must not contain globbing or regex special
13158
# characters, hashes, percent signs, but SUFFIX may contain a leading
12417
# characters, hashes, percent signs, but SUFFIX may contain a leading
13159
# dot (in which case that matches only a dot).
12418
# dot (in which case that matches only a dot).
13160
func_stripname ()
12419
func_stripname ()
13161
{
12420
{
13162
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
12421
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13163
  # positional parameters, so assign one to ordinary parameter first.
12422
  # positional parameters, so assign one to ordinary parameter first.
13164
  func_stripname_result=${3}
12423
  func_stripname_result=${3}
13165
  func_stripname_result=${func_stripname_result#"${1}"}
12424
  func_stripname_result=${func_stripname_result#"${1}"}
13166
  func_stripname_result=${func_stripname_result%"${2}"}
12425
  func_stripname_result=${func_stripname_result%"${2}"}
13167
}
12426
}
13168
 
12427
 
13169
# func_opt_split
12428
# func_opt_split
13170
func_opt_split ()
12429
func_opt_split ()
13171
{
12430
{
13172
  func_opt_split_opt=${1%%=*}
12431
  func_opt_split_opt=${1%%=*}
13173
  func_opt_split_arg=${1#*=}
12432
  func_opt_split_arg=${1#*=}
13174
}
12433
}
13175
 
12434
 
13176
# func_lo2o object
12435
# func_lo2o object
13177
func_lo2o ()
12436
func_lo2o ()
13178
{
12437
{
13179
  case ${1} in
12438
  case ${1} in
13180
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
12439
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13181
    *)    func_lo2o_result=${1} ;;
12440
    *)    func_lo2o_result=${1} ;;
13182
  esac
12441
  esac
13183
}
12442
}
13184
 
12443
 
13185
# func_xform libobj-or-source
12444
# func_xform libobj-or-source
13186
func_xform ()
12445
func_xform ()
13187
{
12446
{
13188
  func_xform_result=${1%.*}.lo
12447
  func_xform_result=${1%.*}.lo
13189
}
12448
}
13190
 
12449
 
13191
# func_arith arithmetic-term...
12450
# func_arith arithmetic-term...
13192
func_arith ()
12451
func_arith ()
13193
{
12452
{
13194
  func_arith_result=$(( $* ))
12453
  func_arith_result=$(( $* ))
13195
}
12454
}
13196
 
12455
 
13197
# func_len string
12456
# func_len string
13198
# STRING may not start with a hyphen.
12457
# STRING may not start with a hyphen.
13199
func_len ()
12458
func_len ()
13200
{
12459
{
13201
  func_len_result=${#1}
12460
  func_len_result=${#1}
13202
}
12461
}
13203
 
12462
 
13204
_LT_EOF
12463
_LT_EOF
13205
    ;;
12464
    ;;
13206
  *) # Bourne compatible functions.
12465
  *) # Bourne compatible functions.
13207
    cat << \_LT_EOF >> "$cfgfile"
12466
    cat << \_LT_EOF >> "$cfgfile"
13208
 
12467
 
13209
# func_dirname file append nondir_replacement
12468
# func_dirname file append nondir_replacement
13210
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
12469
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13211
# otherwise set result to NONDIR_REPLACEMENT.
12470
# otherwise set result to NONDIR_REPLACEMENT.
13212
func_dirname ()
12471
func_dirname ()
13213
{
12472
{
13214
  # Extract subdirectory from the argument.
12473
  # Extract subdirectory from the argument.
13215
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
12474
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13216
  if test "X$func_dirname_result" = "X${1}"; then
12475
  if test "X$func_dirname_result" = "X${1}"; then
13217
    func_dirname_result="${3}"
12476
    func_dirname_result="${3}"
13218
  else
12477
  else
13219
    func_dirname_result="$func_dirname_result${2}"
12478
    func_dirname_result="$func_dirname_result${2}"
13220
  fi
12479
  fi
13221
}
12480
}
13222
 
12481
 
13223
# func_basename file
12482
# func_basename file
13224
func_basename ()
12483
func_basename ()
13225
{
12484
{
13226
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
12485
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13227
}
12486
}
13228
 
12487
 
13229
 
12488
 
13230
# func_stripname prefix suffix name
12489
# func_stripname prefix suffix name
13231
# strip PREFIX and SUFFIX off of NAME.
12490
# strip PREFIX and SUFFIX off of NAME.
13232
# PREFIX and SUFFIX must not contain globbing or regex special
12491
# PREFIX and SUFFIX must not contain globbing or regex special
13233
# characters, hashes, percent signs, but SUFFIX may contain a leading
12492
# characters, hashes, percent signs, but SUFFIX may contain a leading
13234
# dot (in which case that matches only a dot).
12493
# dot (in which case that matches only a dot).
13235
# func_strip_suffix prefix name
12494
# func_strip_suffix prefix name
13236
func_stripname ()
12495
func_stripname ()
13237
{
12496
{
13238
  case ${2} in
12497
  case ${2} in
13239
    .*) func_stripname_result=`$ECHO "X${3}" \
12498
    .*) func_stripname_result=`$ECHO "X${3}" \
13240
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
12499
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13241
    *)  func_stripname_result=`$ECHO "X${3}" \
12500
    *)  func_stripname_result=`$ECHO "X${3}" \
13242
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
12501
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13243
  esac
12502
  esac
13244
}
12503
}
13245
 
12504
 
13246
# sed scripts:
12505
# sed scripts:
13247
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
12506
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13248
my_sed_long_arg='1s/^-[^=]*=//'
12507
my_sed_long_arg='1s/^-[^=]*=//'
13249
 
12508
 
13250
# func_opt_split
12509
# func_opt_split
13251
func_opt_split ()
12510
func_opt_split ()
13252
{
12511
{
13253
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
12512
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13254
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
12513
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13255
}
12514
}
13256
 
12515
 
13257
# func_lo2o object
12516
# func_lo2o object
13258
func_lo2o ()
12517
func_lo2o ()
13259
{
12518
{
13260
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
12519
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13261
}
12520
}
13262
 
12521
 
13263
# func_xform libobj-or-source
12522
# func_xform libobj-or-source
13264
func_xform ()
12523
func_xform ()
13265
{
12524
{
13266
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
12525
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13267
}
12526
}
13268
 
12527
 
13269
# func_arith arithmetic-term...
12528
# func_arith arithmetic-term...
13270
func_arith ()
12529
func_arith ()
13271
{
12530
{
13272
  func_arith_result=`expr "$@"`
12531
  func_arith_result=`expr "$@"`
13273
}
12532
}
13274
 
12533
 
13275
# func_len string
12534
# func_len string
13276
# STRING may not start with a hyphen.
12535
# STRING may not start with a hyphen.
13277
func_len ()
12536
func_len ()
13278
{
12537
{
13279
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
12538
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13280
}
12539
}
13281
 
12540
 
13282
_LT_EOF
12541
_LT_EOF
13283
esac
12542
esac
13284
 
12543
 
13285
case $lt_shell_append in
12544
case $lt_shell_append in
13286
  yes)
12545
  yes)
13287
    cat << \_LT_EOF >> "$cfgfile"
12546
    cat << \_LT_EOF >> "$cfgfile"
13288
 
12547
 
13289
# func_append var value
12548
# func_append var value
13290
# Append VALUE to the end of shell variable VAR.
12549
# Append VALUE to the end of shell variable VAR.
13291
func_append ()
12550
func_append ()
13292
{
12551
{
13293
  eval "$1+=\$2"
12552
  eval "$1+=\$2"
13294
}
12553
}
13295
_LT_EOF
12554
_LT_EOF
13296
    ;;
12555
    ;;
13297
  *)
12556
  *)
13298
    cat << \_LT_EOF >> "$cfgfile"
12557
    cat << \_LT_EOF >> "$cfgfile"
13299
 
12558
 
13300
# func_append var value
12559
# func_append var value
13301
# Append VALUE to the end of shell variable VAR.
12560
# Append VALUE to the end of shell variable VAR.
13302
func_append ()
12561
func_append ()
13303
{
12562
{
13304
  eval "$1=\$$1\$2"
12563
  eval "$1=\$$1\$2"
13305
}
12564
}
13306
 
12565
 
13307
_LT_EOF
12566
_LT_EOF
13308
    ;;
12567
    ;;
13309
  esac
12568
  esac
13310
 
12569
 
13311
 
12570
 
13312
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
12571
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13313
    || (rm -f "$cfgfile"; exit 1)
12572
    || (rm -f "$cfgfile"; exit 1)
13314
 
12573
 
13315
  mv -f "$cfgfile" "$ofile" ||
12574
  mv -f "$cfgfile" "$ofile" ||
13316
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12575
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13317
  chmod +x "$ofile"
12576
  chmod +x "$ofile"
13318
 
12577
 
13319
 ;;
12578
 ;;
13320
 
12579
 
13321
  esac
12580
  esac
13322
done # for ac_tag
12581
done # for ac_tag
13323
 
12582
 
13324
 
12583
 
13325
{ (exit 0); exit 0; }
12584
as_fn_exit 0
13326
_ACEOF
12585
_ACEOF
13327
chmod +x $CONFIG_STATUS
-
 
13328
ac_clean_files=$ac_clean_files_save
12586
ac_clean_files=$ac_clean_files_save
13329
 
12587
 
13330
test $ac_write_fail = 0 ||
12588
test $ac_write_fail = 0 ||
13331
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
-
 
13332
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
12589
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
13333
   { (exit 1); exit 1; }; }
-
 
13334
 
12590
 
13335
 
12591
 
13336
# configure is writing to config.log, and then calls config.status.
12592
# configure is writing to config.log, and then calls config.status.
13337
# config.status does its own redirection, appending to config.log.
12593
# config.status does its own redirection, appending to config.log.
13338
# Unfortunately, on DOS this fails, as config.log is still kept open
12594
# Unfortunately, on DOS this fails, as config.log is still kept open
13339
# by configure, so config.status won't be able to write to it; its
12595
# by configure, so config.status won't be able to write to it; its
13340
# output is simply discarded.  So we exec the FD to /dev/null,
12596
# output is simply discarded.  So we exec the FD to /dev/null,
13341
# effectively closing config.log, so it can be properly (re)opened and
12597
# effectively closing config.log, so it can be properly (re)opened and
13342
# appended to by config.status.  When coming back to configure, we
12598
# appended to by config.status.  When coming back to configure, we
13343
# need to make the FD available again.
12599
# need to make the FD available again.
13344
if test "$no_create" != yes; then
12600
if test "$no_create" != yes; then
13345
  ac_cs_success=:
12601
  ac_cs_success=:
13346
  ac_config_status_args=
12602
  ac_config_status_args=
13347
  test "$silent" = yes &&
12603
  test "$silent" = yes &&
13348
    ac_config_status_args="$ac_config_status_args --quiet"
12604
    ac_config_status_args="$ac_config_status_args --quiet"
13349
  exec 5>/dev/null
12605
  exec 5>/dev/null
13350
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12606
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13351
  exec 5>>config.log
12607
  exec 5>>config.log
13352
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12608
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13353
  # would make configure fail if this is the last instruction.
12609
  # would make configure fail if this is the last instruction.
13354
  $ac_cs_success || { (exit 1); exit 1; }
12610
  $ac_cs_success || as_fn_exit $?
13355
fi
12611
fi
13356
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
12612
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13357
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12613
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13358
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12614
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13359
fi
12615
fi
13360
 
12616