~ubuntu-branches/ubuntu/utopic/cloog/utopic

« back to all changes in this revision

Viewing changes to autom4te.cache/output.2

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-02-26 14:21:11 UTC
  • mfrom: (3.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20140226142111-vsbb1isby30uundd
Tags: 0.18.2-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
@%:@! /bin/sh
2
 
@%:@ Guess values for system-dependent variables and create Makefiles.
3
 
@%:@ Generated by GNU Autoconf 2.69 for cloog 0.18.1.
4
 
@%:@
5
 
@%:@ Report bugs to <cloog-development@googlegroups.com>.
6
 
@%:@ 
7
 
@%:@ 
8
 
@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9
 
@%:@ 
10
 
@%:@ 
11
 
@%:@ This configure script is free software; the Free Software Foundation
12
 
@%:@ gives unlimited permission to copy, distribute and modify it.
13
 
## -------------------- ##
14
 
## M4sh Initialization. ##
15
 
## -------------------- ##
16
 
 
17
 
# Be more Bourne compatible
18
 
DUALCASE=1; export DUALCASE # for MKS sh
19
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
 
  emulate sh
21
 
  NULLCMD=:
22
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
 
  # is contrary to our usage.  Disable this feature.
24
 
  alias -g '${1+"$@"}'='"$@"'
25
 
  setopt NO_GLOB_SUBST
26
 
else
27
 
  case `(set -o) 2>/dev/null` in @%:@(
28
 
  *posix*) :
29
 
    set -o posix ;; @%:@(
30
 
  *) :
31
 
     ;;
32
 
esac
33
 
fi
34
 
 
35
 
 
36
 
as_nl='
37
 
'
38
 
export as_nl
39
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
 
# but without wasting forks for bash or zsh.
45
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
 
  as_echo='print -r --'
48
 
  as_echo_n='print -rn --'
49
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
 
  as_echo='printf %s\n'
51
 
  as_echo_n='printf %s'
52
 
else
53
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
 
    as_echo_n='/usr/ucb/echo -n'
56
 
  else
57
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
 
    as_echo_n_body='eval
59
 
      arg=$1;
60
 
      case $arg in @%:@(
61
 
      *"$as_nl"*)
62
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
 
      esac;
65
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
 
    '
67
 
    export as_echo_n_body
68
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
69
 
  fi
70
 
  export as_echo_body
71
 
  as_echo='sh -c $as_echo_body as_echo'
72
 
fi
73
 
 
74
 
# The user is always right.
75
 
if test "${PATH_SEPARATOR+set}" != set; then
76
 
  PATH_SEPARATOR=:
77
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
 
      PATH_SEPARATOR=';'
80
 
  }
81
 
fi
82
 
 
83
 
 
84
 
# IFS
85
 
# We need space, tab and new line, in precisely that order.  Quoting is
86
 
# there to prevent editors from complaining about space-tab.
87
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
 
# splitting by setting IFS to empty value.)
89
 
IFS=" ""        $as_nl"
90
 
 
91
 
# Find who we are.  Look in the path if we contain no directory separator.
92
 
as_myself=
93
 
case $0 in @%:@((
94
 
  *[\\/]* ) as_myself=$0 ;;
95
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96
 
for as_dir in $PATH
97
 
do
98
 
  IFS=$as_save_IFS
99
 
  test -z "$as_dir" && as_dir=.
100
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101
 
  done
102
 
IFS=$as_save_IFS
103
 
 
104
 
     ;;
105
 
esac
106
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
 
# in which case we are not to be found in the path.
108
 
if test "x$as_myself" = x; then
109
 
  as_myself=$0
110
 
fi
111
 
if test ! -f "$as_myself"; then
112
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113
 
  exit 1
114
 
fi
115
 
 
116
 
# Unset variables that we do not need and which cause bugs (e.g. in
117
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118
 
# suppresses any "Segmentation fault" message there.  '((' could
119
 
# trigger a bug in pdksh 5.2.14.
120
 
for as_var in BASH_ENV ENV MAIL MAILPATH
121
 
do eval test x\${$as_var+set} = xset \
122
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
 
done
124
 
PS1='$ '
125
 
PS2='> '
126
 
PS4='+ '
127
 
 
128
 
# NLS nuisances.
129
 
LC_ALL=C
130
 
export LC_ALL
131
 
LANGUAGE=C
132
 
export LANGUAGE
133
 
 
134
 
# CDPATH.
135
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
 
 
137
 
# Use a proper internal environment variable to ensure we don't fall
138
 
  # into an infinite loop, continuously re-executing ourselves.
139
 
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
 
    _as_can_reexec=no; export _as_can_reexec;
141
 
    # We cannot yet assume a decent shell, so we have to provide a
142
 
# neutralization value for shells without unset; and this also
143
 
# works around shells that cannot unset nonexistent variables.
144
 
# Preserve -v and -x to the replacement shell.
145
 
BASH_ENV=/dev/null
146
 
ENV=/dev/null
147
 
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148
 
case $- in @%:@ ((((
149
 
  *v*x* | *x*v* ) as_opts=-vx ;;
150
 
  *v* ) as_opts=-v ;;
151
 
  *x* ) as_opts=-x ;;
152
 
  * ) as_opts= ;;
153
 
esac
154
 
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
 
# Admittedly, this is quite paranoid, since all the known shells bail
156
 
# out after a failed `exec'.
157
 
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158
 
as_fn_exit 255
159
 
  fi
160
 
  # We don't want this to propagate to other subprocesses.
161
 
          { _as_can_reexec=; unset _as_can_reexec;}
162
 
if test "x$CONFIG_SHELL" = x; then
163
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164
 
  emulate sh
165
 
  NULLCMD=:
166
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167
 
  # is contrary to our usage.  Disable this feature.
168
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169
 
  setopt NO_GLOB_SUBST
170
 
else
171
 
  case \`(set -o) 2>/dev/null\` in @%:@(
172
 
  *posix*) :
173
 
    set -o posix ;; @%:@(
174
 
  *) :
175
 
     ;;
176
 
esac
177
 
fi
178
 
"
179
 
  as_required="as_fn_return () { (exit \$1); }
180
 
as_fn_success () { as_fn_return 0; }
181
 
as_fn_failure () { as_fn_return 1; }
182
 
as_fn_ret_success () { return 0; }
183
 
as_fn_ret_failure () { return 1; }
184
 
 
185
 
exitcode=0
186
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
 
  
192
 
else
193
 
  exitcode=1; echo positional parameters were not saved.
194
 
fi
195
 
test x\$exitcode = x0 || exit 1
196
 
test -x / || exit 1"
197
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
 
 
202
 
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203
 
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206
 
    PATH=/empty FPATH=/empty; export PATH FPATH
207
 
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208
 
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209
 
test \$(( 1 + 1 )) = 2 || exit 1"
210
 
  if (eval "$as_required") 2>/dev/null; then :
211
 
  as_have_required=yes
212
 
else
213
 
  as_have_required=no
214
 
fi
215
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
 
  
217
 
else
218
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219
 
as_found=false
220
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221
 
do
222
 
  IFS=$as_save_IFS
223
 
  test -z "$as_dir" && as_dir=.
224
 
  as_found=:
225
 
  case $as_dir in @%:@(
226
 
         /*)
227
 
           for as_base in sh bash ksh sh5; do
228
 
             # Try only shells that exist, to save several forks.
229
 
             as_shell=$as_dir/$as_base
230
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232
 
  CONFIG_SHELL=$as_shell as_have_required=yes
233
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234
 
  break 2
235
 
fi
236
 
fi
237
 
           done;;
238
 
       esac
239
 
  as_found=false
240
 
done
241
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243
 
  CONFIG_SHELL=$SHELL as_have_required=yes
244
 
fi; }
245
 
IFS=$as_save_IFS
246
 
 
247
 
 
248
 
      if test "x$CONFIG_SHELL" != x; then :
249
 
  export CONFIG_SHELL
250
 
             # We cannot yet assume a decent shell, so we have to provide a
251
 
# neutralization value for shells without unset; and this also
252
 
# works around shells that cannot unset nonexistent variables.
253
 
# Preserve -v and -x to the replacement shell.
254
 
BASH_ENV=/dev/null
255
 
ENV=/dev/null
256
 
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257
 
case $- in @%:@ ((((
258
 
  *v*x* | *x*v* ) as_opts=-vx ;;
259
 
  *v* ) as_opts=-v ;;
260
 
  *x* ) as_opts=-x ;;
261
 
  * ) as_opts= ;;
262
 
esac
263
 
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264
 
# Admittedly, this is quite paranoid, since all the known shells bail
265
 
# out after a failed `exec'.
266
 
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267
 
exit 255
268
 
fi
269
 
 
270
 
    if test x$as_have_required = xno; then :
271
 
  $as_echo "$0: This script requires a shell more modern than all"
272
 
  $as_echo "$0: the shells that I found on your system."
273
 
  if test x${ZSH_VERSION+set} = xset ; then
274
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276
 
  else
277
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278
 
$0: cloog-development@googlegroups.com about your system,
279
 
$0: including any error possibly output before this
280
 
$0: message. Then install a modern shell, or manually run
281
 
$0: the script under such a shell if you do have one."
282
 
  fi
283
 
  exit 1
284
 
fi
285
 
fi
286
 
fi
287
 
SHELL=${CONFIG_SHELL-/bin/sh}
288
 
export SHELL
289
 
# Unset more variables known to interfere with behavior of common tools.
290
 
CLICOLOR_FORCE= GREP_OPTIONS=
291
 
unset CLICOLOR_FORCE GREP_OPTIONS
292
 
 
293
 
## --------------------- ##
294
 
## M4sh Shell Functions. ##
295
 
## --------------------- ##
296
 
@%:@ as_fn_unset VAR
297
 
@%:@ ---------------
298
 
@%:@ Portably unset VAR.
299
 
as_fn_unset ()
300
 
{
301
 
  { eval $1=; unset $1;}
302
 
}
303
 
as_unset=as_fn_unset
304
 
 
305
 
@%:@ as_fn_set_status STATUS
306
 
@%:@ -----------------------
307
 
@%:@ Set @S|@? to STATUS, without forking.
308
 
as_fn_set_status ()
309
 
{
310
 
  return $1
311
 
} @%:@ as_fn_set_status
312
 
 
313
 
@%:@ as_fn_exit STATUS
314
 
@%:@ -----------------
315
 
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316
 
as_fn_exit ()
317
 
{
318
 
  set +e
319
 
  as_fn_set_status $1
320
 
  exit $1
321
 
} @%:@ as_fn_exit
322
 
 
323
 
@%:@ as_fn_mkdir_p
324
 
@%:@ -------------
325
 
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
326
 
as_fn_mkdir_p ()
327
 
{
328
 
 
329
 
  case $as_dir in #(
330
 
  -*) as_dir=./$as_dir;;
331
 
  esac
332
 
  test -d "$as_dir" || eval $as_mkdir_p || {
333
 
    as_dirs=
334
 
    while :; do
335
 
      case $as_dir in #(
336
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337
 
      *) as_qdir=$as_dir;;
338
 
      esac
339
 
      as_dirs="'$as_qdir' $as_dirs"
340
 
      as_dir=`$as_dirname -- "$as_dir" ||
341
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
343
 
         X"$as_dir" : 'X\(//\)$' \| \
344
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345
 
$as_echo X"$as_dir" |
346
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347
 
            s//\1/
348
 
            q
349
 
          }
350
 
          /^X\(\/\/\)[^/].*/{
351
 
            s//\1/
352
 
            q
353
 
          }
354
 
          /^X\(\/\/\)$/{
355
 
            s//\1/
356
 
            q
357
 
          }
358
 
          /^X\(\/\).*/{
359
 
            s//\1/
360
 
            q
361
 
          }
362
 
          s/.*/./; q'`
363
 
      test -d "$as_dir" && break
364
 
    done
365
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
366
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
 
 
368
 
 
369
 
} @%:@ as_fn_mkdir_p
370
 
 
371
 
@%:@ as_fn_executable_p FILE
372
 
@%:@ -----------------------
373
 
@%:@ Test if FILE is an executable regular file.
374
 
as_fn_executable_p ()
375
 
{
376
 
  test -f "$1" && test -x "$1"
377
 
} @%:@ as_fn_executable_p
378
 
@%:@ as_fn_append VAR VALUE
379
 
@%:@ ----------------------
380
 
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
381
 
@%:@ advantage of any shell optimizations that allow amortized linear growth over
382
 
@%:@ repeated appends, instead of the typical quadratic growth present in naive
383
 
@%:@ implementations.
384
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385
 
  eval 'as_fn_append ()
386
 
  {
387
 
    eval $1+=\$2
388
 
  }'
389
 
else
390
 
  as_fn_append ()
391
 
  {
392
 
    eval $1=\$$1\$2
393
 
  }
394
 
fi # as_fn_append
395
 
 
396
 
@%:@ as_fn_arith ARG...
397
 
@%:@ ------------------
398
 
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
399
 
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
400
 
@%:@ must be portable across @S|@(()) and expr.
401
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402
 
  eval 'as_fn_arith ()
403
 
  {
404
 
    as_val=$(( $* ))
405
 
  }'
406
 
else
407
 
  as_fn_arith ()
408
 
  {
409
 
    as_val=`expr "$@" || test $? -eq 1`
410
 
  }
411
 
fi # as_fn_arith
412
 
 
413
 
 
414
 
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
415
 
@%:@ ----------------------------------------
416
 
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417
 
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418
 
@%:@ script with STATUS, using 1 if that was 0.
419
 
as_fn_error ()
420
 
{
421
 
  as_status=$1; test $as_status -eq 0 && as_status=1
422
 
  if test "$4"; then
423
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425
 
  fi
426
 
  $as_echo "$as_me: error: $2" >&2
427
 
  as_fn_exit $as_status
428
 
} @%:@ as_fn_error
429
 
 
430
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
431
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432
 
  as_expr=expr
433
 
else
434
 
  as_expr=false
435
 
fi
436
 
 
437
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438
 
  as_basename=basename
439
 
else
440
 
  as_basename=false
441
 
fi
442
 
 
443
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444
 
  as_dirname=dirname
445
 
else
446
 
  as_dirname=false
447
 
fi
448
 
 
449
 
as_me=`$as_basename -- "$0" ||
450
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451
 
         X"$0" : 'X\(//\)$' \| \
452
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453
 
$as_echo X/"$0" |
454
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
455
 
            s//\1/
456
 
            q
457
 
          }
458
 
          /^X\/\(\/\/\)$/{
459
 
            s//\1/
460
 
            q
461
 
          }
462
 
          /^X\/\(\/\).*/{
463
 
            s//\1/
464
 
            q
465
 
          }
466
 
          s/.*/./; q'`
467
 
 
468
 
# Avoid depending upon Character Ranges.
469
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472
 
as_cr_digits='0123456789'
473
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
474
 
 
475
 
 
476
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481
 
  sed -n '
482
 
    p
483
 
    /[$]LINENO/=
484
 
  ' <$as_myself |
485
 
    sed '
486
 
      s/[$]LINENO.*/&-/
487
 
      t lineno
488
 
      b
489
 
      :lineno
490
 
      N
491
 
      :loop
492
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493
 
      t loop
494
 
      s/-\n.*//
495
 
    ' >$as_me.lineno &&
496
 
  chmod +x "$as_me.lineno" ||
497
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
 
 
499
 
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500
 
  # already done that, so ensure we don't try to do so again and fall
501
 
  # in an infinite loop.  This has already happened in practice.
502
 
  _as_can_reexec=no; export _as_can_reexec
503
 
  # Don't try to exec as it changes $[0], causing all sort of problems
504
 
  # (the dirname of $[0] is not the place where we might find the
505
 
  # original and so on.  Autoconf is especially sensitive to this).
506
 
  . "./$as_me.lineno"
507
 
  # Exit status is that of the last command.
508
 
  exit
509
 
}
510
 
 
511
 
ECHO_C= ECHO_N= ECHO_T=
512
 
case `echo -n x` in @%:@(((((
513
 
-n*)
514
 
  case `echo 'xy\c'` in
515
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
516
 
  xy)  ECHO_C='\c';;
517
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518
 
       ECHO_T=' ';;
519
 
  esac;;
520
 
*)
521
 
  ECHO_N='-n';;
522
 
esac
523
 
 
524
 
rm -f conf$$ conf$$.exe conf$$.file
525
 
if test -d conf$$.dir; then
526
 
  rm -f conf$$.dir/conf$$.file
527
 
else
528
 
  rm -f conf$$.dir
529
 
  mkdir conf$$.dir 2>/dev/null
530
 
fi
531
 
if (echo >conf$$.file) 2>/dev/null; then
532
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
533
 
    as_ln_s='ln -s'
534
 
    # ... but there are two gotchas:
535
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537
 
    # In both cases, we have to default to `cp -pR'.
538
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539
 
      as_ln_s='cp -pR'
540
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
541
 
    as_ln_s=ln
542
 
  else
543
 
    as_ln_s='cp -pR'
544
 
  fi
545
 
else
546
 
  as_ln_s='cp -pR'
547
 
fi
548
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549
 
rmdir conf$$.dir 2>/dev/null
550
 
 
551
 
if mkdir -p . 2>/dev/null; then
552
 
  as_mkdir_p='mkdir -p "$as_dir"'
553
 
else
554
 
  test -d ./-p && rmdir ./-p
555
 
  as_mkdir_p=false
556
 
fi
557
 
 
558
 
as_test_x='test -x'
559
 
as_executable_p=as_fn_executable_p
560
 
 
561
 
# Sed expression to map a string onto a valid CPP name.
562
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
 
 
564
 
# Sed expression to map a string onto a valid variable name.
565
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
 
 
567
 
SHELL=${CONFIG_SHELL-/bin/sh}
568
 
 
569
 
 
570
 
test -n "$DJDIR" || exec 7<&0 </dev/null
571
 
exec 6>&1
572
 
 
573
 
# Name of the host.
574
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575
 
# so uname gets run too.
576
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
 
 
578
 
#
579
 
# Initializations.
580
 
#
581
 
ac_default_prefix=/usr/local
582
 
ac_clean_files=
583
 
ac_config_libobj_dir=.
584
 
LIB@&t@OBJS=
585
 
cross_compiling=no
586
 
subdirs=
587
 
MFLAGS=
588
 
MAKEFLAGS=
589
 
 
590
 
# Identity of this package.
591
 
PACKAGE_NAME='cloog'
592
 
PACKAGE_TARNAME='cloog'
593
 
PACKAGE_VERSION='0.18.1'
594
 
PACKAGE_STRING='cloog 0.18.1'
595
 
PACKAGE_BUGREPORT='cloog-development@googlegroups.com'
596
 
PACKAGE_URL=''
597
 
 
598
 
ac_unique_file="source/cloog.c"
599
 
# Factoring default headers for most tests.
600
 
ac_includes_default="\
601
 
#include <stdio.h>
602
 
#ifdef HAVE_SYS_TYPES_H
603
 
# include <sys/types.h>
604
 
#endif
605
 
#ifdef HAVE_SYS_STAT_H
606
 
# include <sys/stat.h>
607
 
#endif
608
 
#ifdef STDC_HEADERS
609
 
# include <stdlib.h>
610
 
# include <stddef.h>
611
 
#else
612
 
# ifdef HAVE_STDLIB_H
613
 
#  include <stdlib.h>
614
 
# endif
615
 
#endif
616
 
#ifdef HAVE_STRING_H
617
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618
 
#  include <memory.h>
619
 
# endif
620
 
# include <string.h>
621
 
#endif
622
 
#ifdef HAVE_STRINGS_H
623
 
# include <strings.h>
624
 
#endif
625
 
#ifdef HAVE_INTTYPES_H
626
 
# include <inttypes.h>
627
 
#endif
628
 
#ifdef HAVE_STDINT_H
629
 
# include <stdint.h>
630
 
#endif
631
 
#ifdef HAVE_UNISTD_H
632
 
# include <unistd.h>
633
 
#endif"
634
 
 
635
 
enable_option_checking=no
636
 
ac_subst_vars='am__EXEEXT_FALSE
637
 
am__EXEEXT_TRUE
638
 
LTLIBOBJS
639
 
LIB@&t@OBJS
640
 
subdirs
641
 
pkgconfig_libfile
642
 
pkgconfig_libdir
643
 
VERSION_REVISION
644
 
VERSION_MINOR
645
 
VERSION_MAJOR
646
 
BITS
647
 
INSTALL
648
 
GIT_INDEX
649
 
NO_OSL_FALSE
650
 
NO_OSL_TRUE
651
 
BUNDLED_OSL_FALSE
652
 
BUNDLED_OSL_TRUE
653
 
OSL_LIBS
654
 
OSL_LDFLAGS
655
 
OSL_CPPFLAGS
656
 
NO_ISL_FALSE
657
 
NO_ISL_TRUE
658
 
BUNDLED_ISL_FALSE
659
 
BUNDLED_ISL_TRUE
660
 
ISL_LIBS
661
 
ISL_LDFLAGS
662
 
ISL_CPPFLAGS
663
 
NEED_GET_MEMORY_FUNCTIONS_FALSE
664
 
NEED_GET_MEMORY_FUNCTIONS_TRUE
665
 
CFLAGS_WARN
666
 
PRTDIAG
667
 
HAVE_TEXI2DVI_FALSE
668
 
HAVE_TEXI2DVI_TRUE
669
 
TEXI2DVI
670
 
CPP
671
 
OTOOL64
672
 
OTOOL
673
 
LIPO
674
 
NMEDIT
675
 
DSYMUTIL
676
 
MANIFEST_TOOL
677
 
RANLIB
678
 
ac_ct_AR
679
 
AR
680
 
DLLTOOL
681
 
OBJDUMP
682
 
NM
683
 
ac_ct_DUMPBIN
684
 
DUMPBIN
685
 
LD
686
 
FGREP
687
 
EGREP
688
 
GREP
689
 
SED
690
 
host_os
691
 
host_vendor
692
 
host_cpu
693
 
host
694
 
build_os
695
 
build_vendor
696
 
build_cpu
697
 
build
698
 
LIBTOOL
699
 
CD
700
 
LN_S
701
 
am__fastdepCC_FALSE
702
 
am__fastdepCC_TRUE
703
 
CCDEPMODE
704
 
am__nodep
705
 
AMDEPBACKSLASH
706
 
AMDEP_FALSE
707
 
AMDEP_TRUE
708
 
am__quote
709
 
am__include
710
 
DEPDIR
711
 
OBJEXT
712
 
EXEEXT
713
 
ac_ct_CC
714
 
CPPFLAGS
715
 
LDFLAGS
716
 
CFLAGS
717
 
CC
718
 
AM_BACKSLASH
719
 
AM_DEFAULT_VERBOSITY
720
 
AM_DEFAULT_V
721
 
AM_V
722
 
am__untar
723
 
am__tar
724
 
AMTAR
725
 
am__leading_dot
726
 
SET_MAKE
727
 
AWK
728
 
mkdir_p
729
 
MKDIR_P
730
 
INSTALL_STRIP_PROGRAM
731
 
STRIP
732
 
install_sh
733
 
MAKEINFO
734
 
AUTOHEADER
735
 
AUTOMAKE
736
 
AUTOCONF
737
 
ACLOCAL
738
 
VERSION
739
 
PACKAGE
740
 
CYGPATH_W
741
 
am__isrc
742
 
INSTALL_DATA
743
 
INSTALL_SCRIPT
744
 
INSTALL_PROGRAM
745
 
versioninfo
746
 
target_alias
747
 
host_alias
748
 
build_alias
749
 
LIBS
750
 
ECHO_T
751
 
ECHO_N
752
 
ECHO_C
753
 
DEFS
754
 
mandir
755
 
localedir
756
 
libdir
757
 
psdir
758
 
pdfdir
759
 
dvidir
760
 
htmldir
761
 
infodir
762
 
docdir
763
 
oldincludedir
764
 
includedir
765
 
localstatedir
766
 
sharedstatedir
767
 
sysconfdir
768
 
datadir
769
 
datarootdir
770
 
libexecdir
771
 
sbindir
772
 
bindir
773
 
program_transform_name
774
 
prefix
775
 
exec_prefix
776
 
PACKAGE_URL
777
 
PACKAGE_BUGREPORT
778
 
PACKAGE_STRING
779
 
PACKAGE_VERSION
780
 
PACKAGE_TARNAME
781
 
PACKAGE_NAME
782
 
PATH_SEPARATOR
783
 
SHELL'
784
 
ac_subst_files=''
785
 
ac_user_opts='
786
 
enable_option_checking
787
 
enable_silent_rules
788
 
enable_dependency_tracking
789
 
enable_shared
790
 
enable_static
791
 
with_pic
792
 
enable_fast_install
793
 
with_gnu_ld
794
 
with_sysroot
795
 
enable_libtool_lock
796
 
enable_portable_binary
797
 
with_gcc_arch
798
 
with_isl
799
 
with_isl_prefix
800
 
with_isl_exec_prefix
801
 
with_isl_builddir
802
 
with_gmp
803
 
with_gmp_prefix
804
 
with_gmp_exec_prefix
805
 
with_gmp_builddir
806
 
with_osl
807
 
with_osl_prefix
808
 
with_osl_exec_prefix
809
 
with_osl_builddir
810
 
'
811
 
      ac_precious_vars='build_alias
812
 
host_alias
813
 
target_alias
814
 
CC
815
 
CFLAGS
816
 
LDFLAGS
817
 
LIBS
818
 
CPPFLAGS
819
 
CPP'
820
 
ac_subdirs_all='isl
821
 
osl'
822
 
 
823
 
# Initialize some variables set by options.
824
 
ac_init_help=
825
 
ac_init_version=false
826
 
ac_unrecognized_opts=
827
 
ac_unrecognized_sep=
828
 
# The variables have the same names as the options, with
829
 
# dashes changed to underlines.
830
 
cache_file=/dev/null
831
 
exec_prefix=NONE
832
 
no_create=
833
 
no_recursion=
834
 
prefix=NONE
835
 
program_prefix=NONE
836
 
program_suffix=NONE
837
 
program_transform_name=s,x,x,
838
 
silent=
839
 
site=
840
 
srcdir=
841
 
verbose=
842
 
x_includes=NONE
843
 
x_libraries=NONE
844
 
 
845
 
# Installation directory options.
846
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
847
 
# and all the variables that are supposed to be based on exec_prefix
848
 
# by default will actually change.
849
 
# Use braces instead of parens because sh, perl, etc. also accept them.
850
 
# (The list follows the same order as the GNU Coding Standards.)
851
 
bindir='${exec_prefix}/bin'
852
 
sbindir='${exec_prefix}/sbin'
853
 
libexecdir='${exec_prefix}/libexec'
854
 
datarootdir='${prefix}/share'
855
 
datadir='${datarootdir}'
856
 
sysconfdir='${prefix}/etc'
857
 
sharedstatedir='${prefix}/com'
858
 
localstatedir='${prefix}/var'
859
 
includedir='${prefix}/include'
860
 
oldincludedir='/usr/include'
861
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
862
 
infodir='${datarootdir}/info'
863
 
htmldir='${docdir}'
864
 
dvidir='${docdir}'
865
 
pdfdir='${docdir}'
866
 
psdir='${docdir}'
867
 
libdir='${exec_prefix}/lib'
868
 
localedir='${datarootdir}/locale'
869
 
mandir='${datarootdir}/man'
870
 
 
871
 
ac_prev=
872
 
ac_dashdash=
873
 
for ac_option
874
 
do
875
 
  # If the previous option needs an argument, assign it.
876
 
  if test -n "$ac_prev"; then
877
 
    eval $ac_prev=\$ac_option
878
 
    ac_prev=
879
 
    continue
880
 
  fi
881
 
 
882
 
  case $ac_option in
883
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
884
 
  *=)   ac_optarg= ;;
885
 
  *)    ac_optarg=yes ;;
886
 
  esac
887
 
 
888
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
889
 
 
890
 
  case $ac_dashdash$ac_option in
891
 
  --)
892
 
    ac_dashdash=yes ;;
893
 
 
894
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
895
 
    ac_prev=bindir ;;
896
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
897
 
    bindir=$ac_optarg ;;
898
 
 
899
 
  -build | --build | --buil | --bui | --bu)
900
 
    ac_prev=build_alias ;;
901
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
902
 
    build_alias=$ac_optarg ;;
903
 
 
904
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
905
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
906
 
    ac_prev=cache_file ;;
907
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
908
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
909
 
    cache_file=$ac_optarg ;;
910
 
 
911
 
  --config-cache | -C)
912
 
    cache_file=config.cache ;;
913
 
 
914
 
  -datadir | --datadir | --datadi | --datad)
915
 
    ac_prev=datadir ;;
916
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
917
 
    datadir=$ac_optarg ;;
918
 
 
919
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
920
 
  | --dataroo | --dataro | --datar)
921
 
    ac_prev=datarootdir ;;
922
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
923
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
924
 
    datarootdir=$ac_optarg ;;
925
 
 
926
 
  -disable-* | --disable-*)
927
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
928
 
    # Reject names that are not valid shell variable names.
929
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
930
 
      as_fn_error $? "invalid feature name: $ac_useropt"
931
 
    ac_useropt_orig=$ac_useropt
932
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
933
 
    case $ac_user_opts in
934
 
      *"
935
 
"enable_$ac_useropt"
936
 
"*) ;;
937
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
938
 
         ac_unrecognized_sep=', ';;
939
 
    esac
940
 
    eval enable_$ac_useropt=no ;;
941
 
 
942
 
  -docdir | --docdir | --docdi | --doc | --do)
943
 
    ac_prev=docdir ;;
944
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
945
 
    docdir=$ac_optarg ;;
946
 
 
947
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
948
 
    ac_prev=dvidir ;;
949
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
950
 
    dvidir=$ac_optarg ;;
951
 
 
952
 
  -enable-* | --enable-*)
953
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
954
 
    # Reject names that are not valid shell variable names.
955
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
956
 
      as_fn_error $? "invalid feature name: $ac_useropt"
957
 
    ac_useropt_orig=$ac_useropt
958
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
959
 
    case $ac_user_opts in
960
 
      *"
961
 
"enable_$ac_useropt"
962
 
"*) ;;
963
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
964
 
         ac_unrecognized_sep=', ';;
965
 
    esac
966
 
    eval enable_$ac_useropt=\$ac_optarg ;;
967
 
 
968
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
969
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
970
 
  | --exec | --exe | --ex)
971
 
    ac_prev=exec_prefix ;;
972
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
973
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
974
 
  | --exec=* | --exe=* | --ex=*)
975
 
    exec_prefix=$ac_optarg ;;
976
 
 
977
 
  -gas | --gas | --ga | --g)
978
 
    # Obsolete; use --with-gas.
979
 
    with_gas=yes ;;
980
 
 
981
 
  -help | --help | --hel | --he | -h)
982
 
    ac_init_help=long ;;
983
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
984
 
    ac_init_help=recursive ;;
985
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
986
 
    ac_init_help=short ;;
987
 
 
988
 
  -host | --host | --hos | --ho)
989
 
    ac_prev=host_alias ;;
990
 
  -host=* | --host=* | --hos=* | --ho=*)
991
 
    host_alias=$ac_optarg ;;
992
 
 
993
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
994
 
    ac_prev=htmldir ;;
995
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
996
 
  | --ht=*)
997
 
    htmldir=$ac_optarg ;;
998
 
 
999
 
  -includedir | --includedir | --includedi | --included | --include \
1000
 
  | --includ | --inclu | --incl | --inc)
1001
 
    ac_prev=includedir ;;
1002
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1003
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1004
 
    includedir=$ac_optarg ;;
1005
 
 
1006
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1007
 
    ac_prev=infodir ;;
1008
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1009
 
    infodir=$ac_optarg ;;
1010
 
 
1011
 
  -libdir | --libdir | --libdi | --libd)
1012
 
    ac_prev=libdir ;;
1013
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1014
 
    libdir=$ac_optarg ;;
1015
 
 
1016
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1017
 
  | --libexe | --libex | --libe)
1018
 
    ac_prev=libexecdir ;;
1019
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1020
 
  | --libexe=* | --libex=* | --libe=*)
1021
 
    libexecdir=$ac_optarg ;;
1022
 
 
1023
 
  -localedir | --localedir | --localedi | --localed | --locale)
1024
 
    ac_prev=localedir ;;
1025
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1026
 
    localedir=$ac_optarg ;;
1027
 
 
1028
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1029
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1030
 
    ac_prev=localstatedir ;;
1031
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1032
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1033
 
    localstatedir=$ac_optarg ;;
1034
 
 
1035
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1036
 
    ac_prev=mandir ;;
1037
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1038
 
    mandir=$ac_optarg ;;
1039
 
 
1040
 
  -nfp | --nfp | --nf)
1041
 
    # Obsolete; use --without-fp.
1042
 
    with_fp=no ;;
1043
 
 
1044
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1045
 
  | --no-cr | --no-c | -n)
1046
 
    no_create=yes ;;
1047
 
 
1048
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1049
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1050
 
    no_recursion=yes ;;
1051
 
 
1052
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1053
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1054
 
  | --oldin | --oldi | --old | --ol | --o)
1055
 
    ac_prev=oldincludedir ;;
1056
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1057
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1058
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1059
 
    oldincludedir=$ac_optarg ;;
1060
 
 
1061
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1062
 
    ac_prev=prefix ;;
1063
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1064
 
    prefix=$ac_optarg ;;
1065
 
 
1066
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1067
 
  | --program-pre | --program-pr | --program-p)
1068
 
    ac_prev=program_prefix ;;
1069
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1070
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1071
 
    program_prefix=$ac_optarg ;;
1072
 
 
1073
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1074
 
  | --program-suf | --program-su | --program-s)
1075
 
    ac_prev=program_suffix ;;
1076
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1077
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1078
 
    program_suffix=$ac_optarg ;;
1079
 
 
1080
 
  -program-transform-name | --program-transform-name \
1081
 
  | --program-transform-nam | --program-transform-na \
1082
 
  | --program-transform-n | --program-transform- \
1083
 
  | --program-transform | --program-transfor \
1084
 
  | --program-transfo | --program-transf \
1085
 
  | --program-trans | --program-tran \
1086
 
  | --progr-tra | --program-tr | --program-t)
1087
 
    ac_prev=program_transform_name ;;
1088
 
  -program-transform-name=* | --program-transform-name=* \
1089
 
  | --program-transform-nam=* | --program-transform-na=* \
1090
 
  | --program-transform-n=* | --program-transform-=* \
1091
 
  | --program-transform=* | --program-transfor=* \
1092
 
  | --program-transfo=* | --program-transf=* \
1093
 
  | --program-trans=* | --program-tran=* \
1094
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1095
 
    program_transform_name=$ac_optarg ;;
1096
 
 
1097
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1098
 
    ac_prev=pdfdir ;;
1099
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1100
 
    pdfdir=$ac_optarg ;;
1101
 
 
1102
 
  -psdir | --psdir | --psdi | --psd | --ps)
1103
 
    ac_prev=psdir ;;
1104
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1105
 
    psdir=$ac_optarg ;;
1106
 
 
1107
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1108
 
  | -silent | --silent | --silen | --sile | --sil)
1109
 
    silent=yes ;;
1110
 
 
1111
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1112
 
    ac_prev=sbindir ;;
1113
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1114
 
  | --sbi=* | --sb=*)
1115
 
    sbindir=$ac_optarg ;;
1116
 
 
1117
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1118
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1119
 
  | --sharedst | --shareds | --shared | --share | --shar \
1120
 
  | --sha | --sh)
1121
 
    ac_prev=sharedstatedir ;;
1122
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1123
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1124
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1125
 
  | --sha=* | --sh=*)
1126
 
    sharedstatedir=$ac_optarg ;;
1127
 
 
1128
 
  -site | --site | --sit)
1129
 
    ac_prev=site ;;
1130
 
  -site=* | --site=* | --sit=*)
1131
 
    site=$ac_optarg ;;
1132
 
 
1133
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1134
 
    ac_prev=srcdir ;;
1135
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1136
 
    srcdir=$ac_optarg ;;
1137
 
 
1138
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1139
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1140
 
    ac_prev=sysconfdir ;;
1141
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1142
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1143
 
    sysconfdir=$ac_optarg ;;
1144
 
 
1145
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1146
 
    ac_prev=target_alias ;;
1147
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1148
 
    target_alias=$ac_optarg ;;
1149
 
 
1150
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1151
 
    verbose=yes ;;
1152
 
 
1153
 
  -version | --version | --versio | --versi | --vers | -V)
1154
 
    ac_init_version=: ;;
1155
 
 
1156
 
  -with-* | --with-*)
1157
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1158
 
    # Reject names that are not valid shell variable names.
1159
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1160
 
      as_fn_error $? "invalid package name: $ac_useropt"
1161
 
    ac_useropt_orig=$ac_useropt
1162
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1163
 
    case $ac_user_opts in
1164
 
      *"
1165
 
"with_$ac_useropt"
1166
 
"*) ;;
1167
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1168
 
         ac_unrecognized_sep=', ';;
1169
 
    esac
1170
 
    eval with_$ac_useropt=\$ac_optarg ;;
1171
 
 
1172
 
  -without-* | --without-*)
1173
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1174
 
    # Reject names that are not valid shell variable names.
1175
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1176
 
      as_fn_error $? "invalid package name: $ac_useropt"
1177
 
    ac_useropt_orig=$ac_useropt
1178
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1179
 
    case $ac_user_opts in
1180
 
      *"
1181
 
"with_$ac_useropt"
1182
 
"*) ;;
1183
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1184
 
         ac_unrecognized_sep=', ';;
1185
 
    esac
1186
 
    eval with_$ac_useropt=no ;;
1187
 
 
1188
 
  --x)
1189
 
    # Obsolete; use --with-x.
1190
 
    with_x=yes ;;
1191
 
 
1192
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1193
 
  | --x-incl | --x-inc | --x-in | --x-i)
1194
 
    ac_prev=x_includes ;;
1195
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1196
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1197
 
    x_includes=$ac_optarg ;;
1198
 
 
1199
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1200
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1201
 
    ac_prev=x_libraries ;;
1202
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1203
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1204
 
    x_libraries=$ac_optarg ;;
1205
 
 
1206
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1207
 
Try \`$0 --help' for more information"
1208
 
    ;;
1209
 
 
1210
 
  *=*)
1211
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1212
 
    # Reject names that are not valid shell variable names.
1213
 
    case $ac_envvar in #(
1214
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1215
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1216
 
    esac
1217
 
    eval $ac_envvar=\$ac_optarg
1218
 
    export $ac_envvar ;;
1219
 
 
1220
 
  *)
1221
 
    # FIXME: should be removed in autoconf 3.0.
1222
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1223
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1224
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1225
 
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1226
 
    ;;
1227
 
 
1228
 
  esac
1229
 
done
1230
 
 
1231
 
if test -n "$ac_prev"; then
1232
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1233
 
  as_fn_error $? "missing argument to $ac_option"
1234
 
fi
1235
 
 
1236
 
if test -n "$ac_unrecognized_opts"; then
1237
 
  case $enable_option_checking in
1238
 
    no) ;;
1239
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1240
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1241
 
  esac
1242
 
fi
1243
 
 
1244
 
# Check all directory arguments for consistency.
1245
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1246
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1247
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1248
 
                libdir localedir mandir
1249
 
do
1250
 
  eval ac_val=\$$ac_var
1251
 
  # Remove trailing slashes.
1252
 
  case $ac_val in
1253
 
    */ )
1254
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1255
 
      eval $ac_var=\$ac_val;;
1256
 
  esac
1257
 
  # Be sure to have absolute directory names.
1258
 
  case $ac_val in
1259
 
    [\\/$]* | ?:[\\/]* )  continue;;
1260
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1261
 
  esac
1262
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1263
 
done
1264
 
 
1265
 
# There might be people who depend on the old broken behavior: `$host'
1266
 
# used to hold the argument of --host etc.
1267
 
# FIXME: To remove some day.
1268
 
build=$build_alias
1269
 
host=$host_alias
1270
 
target=$target_alias
1271
 
 
1272
 
# FIXME: To remove some day.
1273
 
if test "x$host_alias" != x; then
1274
 
  if test "x$build_alias" = x; then
1275
 
    cross_compiling=maybe
1276
 
  elif test "x$build_alias" != "x$host_alias"; then
1277
 
    cross_compiling=yes
1278
 
  fi
1279
 
fi
1280
 
 
1281
 
ac_tool_prefix=
1282
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1283
 
 
1284
 
test "$silent" = yes && exec 6>/dev/null
1285
 
 
1286
 
 
1287
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1288
 
ac_ls_di=`ls -di .` &&
1289
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1290
 
  as_fn_error $? "working directory cannot be determined"
1291
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1292
 
  as_fn_error $? "pwd does not report name of working directory"
1293
 
 
1294
 
 
1295
 
# Find the source files, if location was not specified.
1296
 
if test -z "$srcdir"; then
1297
 
  ac_srcdir_defaulted=yes
1298
 
  # Try the directory containing this script, then the parent directory.
1299
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1300
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1301
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1302
 
         X"$as_myself" : 'X\(//\)$' \| \
1303
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1304
 
$as_echo X"$as_myself" |
1305
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1306
 
            s//\1/
1307
 
            q
1308
 
          }
1309
 
          /^X\(\/\/\)[^/].*/{
1310
 
            s//\1/
1311
 
            q
1312
 
          }
1313
 
          /^X\(\/\/\)$/{
1314
 
            s//\1/
1315
 
            q
1316
 
          }
1317
 
          /^X\(\/\).*/{
1318
 
            s//\1/
1319
 
            q
1320
 
          }
1321
 
          s/.*/./; q'`
1322
 
  srcdir=$ac_confdir
1323
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1324
 
    srcdir=..
1325
 
  fi
1326
 
else
1327
 
  ac_srcdir_defaulted=no
1328
 
fi
1329
 
if test ! -r "$srcdir/$ac_unique_file"; then
1330
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1331
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1332
 
fi
1333
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1334
 
ac_abs_confdir=`(
1335
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1336
 
        pwd)`
1337
 
# When building in place, set srcdir=.
1338
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1339
 
  srcdir=.
1340
 
fi
1341
 
# Remove unnecessary trailing slashes from srcdir.
1342
 
# Double slashes in file names in object file debugging info
1343
 
# mess up M-x gdb in Emacs.
1344
 
case $srcdir in
1345
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1346
 
esac
1347
 
for ac_var in $ac_precious_vars; do
1348
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1349
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1350
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1351
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1352
 
done
1353
 
 
1354
 
#
1355
 
# Report the --help message.
1356
 
#
1357
 
if test "$ac_init_help" = "long"; then
1358
 
  # Omit some internal or obsolete options to make the list less imposing.
1359
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1360
 
  cat <<_ACEOF
1361
 
\`configure' configures cloog 0.18.1 to adapt to many kinds of systems.
1362
 
 
1363
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1364
 
 
1365
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1366
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1367
 
 
1368
 
Defaults for the options are specified in brackets.
1369
 
 
1370
 
Configuration:
1371
 
  -h, --help              display this help and exit
1372
 
      --help=short        display options specific to this package
1373
 
      --help=recursive    display the short help of all the included packages
1374
 
  -V, --version           display version information and exit
1375
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1376
 
      --cache-file=FILE   cache test results in FILE [disabled]
1377
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1378
 
  -n, --no-create         do not create output files
1379
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1380
 
 
1381
 
Installation directories:
1382
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1383
 
                          @<:@@S|@ac_default_prefix@:>@
1384
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1385
 
                          @<:@PREFIX@:>@
1386
 
 
1387
 
By default, \`make install' will install all the files in
1388
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1389
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1390
 
for instance \`--prefix=\$HOME'.
1391
 
 
1392
 
For better control, use the options below.
1393
 
 
1394
 
Fine tuning of the installation directories:
1395
 
  --bindir=DIR            user executables [EPREFIX/bin]
1396
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1397
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1398
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1399
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1400
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1401
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1402
 
  --includedir=DIR        C header files [PREFIX/include]
1403
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1404
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1405
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1406
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1407
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1408
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1409
 
  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/cloog@:>@
1410
 
  --htmldir=DIR           html documentation [DOCDIR]
1411
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1412
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1413
 
  --psdir=DIR             ps documentation [DOCDIR]
1414
 
_ACEOF
1415
 
 
1416
 
  cat <<\_ACEOF
1417
 
 
1418
 
Program names:
1419
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1420
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1421
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1422
 
 
1423
 
System types:
1424
 
  --build=BUILD     configure for building on BUILD [guessed]
1425
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1426
 
_ACEOF
1427
 
fi
1428
 
 
1429
 
if test -n "$ac_init_help"; then
1430
 
  case $ac_init_help in
1431
 
     short | recursive ) echo "Configuration of cloog 0.18.1:";;
1432
 
   esac
1433
 
  cat <<\_ACEOF
1434
 
 
1435
 
Optional Features:
1436
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1437
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1438
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1439
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1440
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
1441
 
  --disable-dependency-tracking  speeds up one-time build
1442
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1443
 
  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1444
 
  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1445
 
  --enable-fast-install@<:@=PKGS@:>@ 
1446
 
                          optimize for fast installation @<:@default=yes@:>@
1447
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1448
 
  --enable-portable-binary 
1449
 
                          disable compiler optimizations that would produce
1450
 
                          unportable binaries
1451
 
 
1452
 
Optional Packages:
1453
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1454
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1455
 
  --with-pic@<:@=PKGS@:>@       try to use only PIC/non-PIC objects @<:@default=use
1456
 
                          both@:>@
1457
 
  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1458
 
  --with-sysroot=DIR Search for dependent libraries within DIR
1459
 
                        (or the compiler's sysroot if not specified).
1460
 
  --with-gcc-arch=<arch>  use architecture <arch> for gcc -march/-mtune,
1461
 
                          instead of guessing
1462
 
  --with-isl=no|system|build|bundled 
1463
 
                          Which isl to use
1464
 
  --with-isl-prefix=DIR   Prefix of isl installation
1465
 
  --with-isl-exec-prefix=DIR 
1466
 
                          Exec prefix of isl installation
1467
 
  --with-isl-builddir=DIR Location of isl builddir
1468
 
  --with-gmp=system|build Which gmp to use
1469
 
  --with-gmp-prefix=DIR   Prefix of gmp installation
1470
 
  --with-gmp-exec-prefix=DIR 
1471
 
                          Exec prefix of gmp installation
1472
 
  --with-gmp-builddir=DIR Location of gmp builddir
1473
 
  --with-osl=no|system|build|bundled 
1474
 
                          Which osl to use
1475
 
  --with-osl-prefix=DIR   Prefix of osl installation
1476
 
  --with-osl-exec-prefix=DIR 
1477
 
                          Exec prefix of osl installation
1478
 
  --with-osl-builddir=DIR Location of osl builddir
1479
 
 
1480
 
Some influential environment variables:
1481
 
  CC          C compiler command
1482
 
  CFLAGS      C compiler flags
1483
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1484
 
              nonstandard directory <lib dir>
1485
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1486
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1487
 
              you have headers in a nonstandard directory <include dir>
1488
 
  CPP         C preprocessor
1489
 
 
1490
 
Use these variables to override the choices made by `configure' or to help
1491
 
it to find libraries and programs with nonstandard names/locations.
1492
 
 
1493
 
Report bugs to <cloog-development@googlegroups.com>.
1494
 
_ACEOF
1495
 
ac_status=$?
1496
 
fi
1497
 
 
1498
 
if test "$ac_init_help" = "recursive"; then
1499
 
  # If there are subdirs, report their specific --help.
1500
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1501
 
    test -d "$ac_dir" ||
1502
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1503
 
      continue
1504
 
    ac_builddir=.
1505
 
 
1506
 
case "$ac_dir" in
1507
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1508
 
*)
1509
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1510
 
  # A ".." for each directory in $ac_dir_suffix.
1511
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1512
 
  case $ac_top_builddir_sub in
1513
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1514
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1515
 
  esac ;;
1516
 
esac
1517
 
ac_abs_top_builddir=$ac_pwd
1518
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1519
 
# for backward compatibility:
1520
 
ac_top_builddir=$ac_top_build_prefix
1521
 
 
1522
 
case $srcdir in
1523
 
  .)  # We are building in place.
1524
 
    ac_srcdir=.
1525
 
    ac_top_srcdir=$ac_top_builddir_sub
1526
 
    ac_abs_top_srcdir=$ac_pwd ;;
1527
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1528
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1529
 
    ac_top_srcdir=$srcdir
1530
 
    ac_abs_top_srcdir=$srcdir ;;
1531
 
  *) # Relative name.
1532
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1533
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1534
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1535
 
esac
1536
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1537
 
 
1538
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1539
 
    # Check for guested configure.
1540
 
    if test -f "$ac_srcdir/configure.gnu"; then
1541
 
      echo &&
1542
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1543
 
    elif test -f "$ac_srcdir/configure"; then
1544
 
      echo &&
1545
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1546
 
    else
1547
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1548
 
    fi || ac_status=$?
1549
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1550
 
  done
1551
 
fi
1552
 
 
1553
 
test -n "$ac_init_help" && exit $ac_status
1554
 
if $ac_init_version; then
1555
 
  cat <<\_ACEOF
1556
 
cloog configure 0.18.1
1557
 
generated by GNU Autoconf 2.69
1558
 
 
1559
 
Copyright (C) 2012 Free Software Foundation, Inc.
1560
 
This configure script is free software; the Free Software Foundation
1561
 
gives unlimited permission to copy, distribute and modify it.
1562
 
_ACEOF
1563
 
  exit
1564
 
fi
1565
 
 
1566
 
## ------------------------ ##
1567
 
## Autoconf initialization. ##
1568
 
## ------------------------ ##
1569
 
 
1570
 
@%:@ ac_fn_c_try_compile LINENO
1571
 
@%:@ --------------------------
1572
 
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1573
 
ac_fn_c_try_compile ()
1574
 
{
1575
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576
 
  rm -f conftest.$ac_objext
1577
 
  if { { ac_try="$ac_compile"
1578
 
case "(($ac_try" in
1579
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1580
 
  *) ac_try_echo=$ac_try;;
1581
 
esac
1582
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1583
 
$as_echo "$ac_try_echo"; } >&5
1584
 
  (eval "$ac_compile") 2>conftest.err
1585
 
  ac_status=$?
1586
 
  if test -s conftest.err; then
1587
 
    grep -v '^ *+' conftest.err >conftest.er1
1588
 
    cat conftest.er1 >&5
1589
 
    mv -f conftest.er1 conftest.err
1590
 
  fi
1591
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592
 
  test $ac_status = 0; } && {
1593
 
         test -z "$ac_c_werror_flag" ||
1594
 
         test ! -s conftest.err
1595
 
       } && test -s conftest.$ac_objext; then :
1596
 
  ac_retval=0
1597
 
else
1598
 
  $as_echo "$as_me: failed program was:" >&5
1599
 
sed 's/^/| /' conftest.$ac_ext >&5
1600
 
 
1601
 
        ac_retval=1
1602
 
fi
1603
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1604
 
  as_fn_set_status $ac_retval
1605
 
 
1606
 
} @%:@ ac_fn_c_try_compile
1607
 
 
1608
 
@%:@ ac_fn_c_try_link LINENO
1609
 
@%:@ -----------------------
1610
 
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1611
 
ac_fn_c_try_link ()
1612
 
{
1613
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1615
 
  if { { ac_try="$ac_link"
1616
 
case "(($ac_try" in
1617
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1618
 
  *) ac_try_echo=$ac_try;;
1619
 
esac
1620
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1621
 
$as_echo "$ac_try_echo"; } >&5
1622
 
  (eval "$ac_link") 2>conftest.err
1623
 
  ac_status=$?
1624
 
  if test -s conftest.err; then
1625
 
    grep -v '^ *+' conftest.err >conftest.er1
1626
 
    cat conftest.er1 >&5
1627
 
    mv -f conftest.er1 conftest.err
1628
 
  fi
1629
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1630
 
  test $ac_status = 0; } && {
1631
 
         test -z "$ac_c_werror_flag" ||
1632
 
         test ! -s conftest.err
1633
 
       } && test -s conftest$ac_exeext && {
1634
 
         test "$cross_compiling" = yes ||
1635
 
         test -x conftest$ac_exeext
1636
 
       }; then :
1637
 
  ac_retval=0
1638
 
else
1639
 
  $as_echo "$as_me: failed program was:" >&5
1640
 
sed 's/^/| /' conftest.$ac_ext >&5
1641
 
 
1642
 
        ac_retval=1
1643
 
fi
1644
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1645
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1646
 
  # interfere with the next link command; also delete a directory that is
1647
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1648
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1649
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650
 
  as_fn_set_status $ac_retval
1651
 
 
1652
 
} @%:@ ac_fn_c_try_link
1653
 
 
1654
 
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1655
 
@%:@ -------------------------------------------------------
1656
 
@%:@ Tests whether HEADER exists and can be compiled using the include files in
1657
 
@%:@ INCLUDES, setting the cache variable VAR accordingly.
1658
 
ac_fn_c_check_header_compile ()
1659
 
{
1660
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662
 
$as_echo_n "checking for $2... " >&6; }
1663
 
if eval \${$3+:} false; then :
1664
 
  $as_echo_n "(cached) " >&6
1665
 
else
1666
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667
 
/* end confdefs.h.  */
1668
 
$4
1669
 
@%:@include <$2>
1670
 
_ACEOF
1671
 
if ac_fn_c_try_compile "$LINENO"; then :
1672
 
  eval "$3=yes"
1673
 
else
1674
 
  eval "$3=no"
1675
 
fi
1676
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1677
 
fi
1678
 
eval ac_res=\$$3
1679
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680
 
$as_echo "$ac_res" >&6; }
1681
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682
 
 
1683
 
} @%:@ ac_fn_c_check_header_compile
1684
 
 
1685
 
@%:@ ac_fn_c_try_cpp LINENO
1686
 
@%:@ ----------------------
1687
 
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1688
 
ac_fn_c_try_cpp ()
1689
 
{
1690
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1692
 
case "(($ac_try" in
1693
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694
 
  *) ac_try_echo=$ac_try;;
1695
 
esac
1696
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697
 
$as_echo "$ac_try_echo"; } >&5
1698
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1699
 
  ac_status=$?
1700
 
  if test -s conftest.err; then
1701
 
    grep -v '^ *+' conftest.err >conftest.er1
1702
 
    cat conftest.er1 >&5
1703
 
    mv -f conftest.er1 conftest.err
1704
 
  fi
1705
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706
 
  test $ac_status = 0; } > conftest.i && {
1707
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1708
 
         test ! -s conftest.err
1709
 
       }; then :
1710
 
  ac_retval=0
1711
 
else
1712
 
  $as_echo "$as_me: failed program was:" >&5
1713
 
sed 's/^/| /' conftest.$ac_ext >&5
1714
 
 
1715
 
    ac_retval=1
1716
 
fi
1717
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718
 
  as_fn_set_status $ac_retval
1719
 
 
1720
 
} @%:@ ac_fn_c_try_cpp
1721
 
 
1722
 
@%:@ ac_fn_c_try_run LINENO
1723
 
@%:@ ----------------------
1724
 
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1725
 
@%:@ that executables *can* be run.
1726
 
ac_fn_c_try_run ()
1727
 
{
1728
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729
 
  if { { ac_try="$ac_link"
1730
 
case "(($ac_try" in
1731
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732
 
  *) ac_try_echo=$ac_try;;
1733
 
esac
1734
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735
 
$as_echo "$ac_try_echo"; } >&5
1736
 
  (eval "$ac_link") 2>&5
1737
 
  ac_status=$?
1738
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1740
 
  { { case "(($ac_try" in
1741
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1742
 
  *) ac_try_echo=$ac_try;;
1743
 
esac
1744
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745
 
$as_echo "$ac_try_echo"; } >&5
1746
 
  (eval "$ac_try") 2>&5
1747
 
  ac_status=$?
1748
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749
 
  test $ac_status = 0; }; }; then :
1750
 
  ac_retval=0
1751
 
else
1752
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1753
 
       $as_echo "$as_me: failed program was:" >&5
1754
 
sed 's/^/| /' conftest.$ac_ext >&5
1755
 
 
1756
 
       ac_retval=$ac_status
1757
 
fi
1758
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1759
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760
 
  as_fn_set_status $ac_retval
1761
 
 
1762
 
} @%:@ ac_fn_c_try_run
1763
 
 
1764
 
@%:@ ac_fn_c_check_func LINENO FUNC VAR
1765
 
@%:@ ----------------------------------
1766
 
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1767
 
ac_fn_c_check_func ()
1768
 
{
1769
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1771
 
$as_echo_n "checking for $2... " >&6; }
1772
 
if eval \${$3+:} false; then :
1773
 
  $as_echo_n "(cached) " >&6
1774
 
else
1775
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776
 
/* end confdefs.h.  */
1777
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1778
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1779
 
#define $2 innocuous_$2
1780
 
 
1781
 
/* System header to define __stub macros and hopefully few prototypes,
1782
 
    which can conflict with char $2 (); below.
1783
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1784
 
    <limits.h> exists even on freestanding compilers.  */
1785
 
 
1786
 
#ifdef __STDC__
1787
 
# include <limits.h>
1788
 
#else
1789
 
# include <assert.h>
1790
 
#endif
1791
 
 
1792
 
#undef $2
1793
 
 
1794
 
/* Override any GCC internal prototype to avoid an error.
1795
 
   Use char because int might match the return type of a GCC
1796
 
   builtin and then its argument prototype would still apply.  */
1797
 
#ifdef __cplusplus
1798
 
extern "C"
1799
 
#endif
1800
 
char $2 ();
1801
 
/* The GNU C library defines this for functions which it implements
1802
 
    to always fail with ENOSYS.  Some functions are actually named
1803
 
    something starting with __ and the normal name is an alias.  */
1804
 
#if defined __stub_$2 || defined __stub___$2
1805
 
choke me
1806
 
#endif
1807
 
 
1808
 
int
1809
 
main ()
1810
 
{
1811
 
return $2 ();
1812
 
  ;
1813
 
  return 0;
1814
 
}
1815
 
_ACEOF
1816
 
if ac_fn_c_try_link "$LINENO"; then :
1817
 
  eval "$3=yes"
1818
 
else
1819
 
  eval "$3=no"
1820
 
fi
1821
 
rm -f core conftest.err conftest.$ac_objext \
1822
 
    conftest$ac_exeext conftest.$ac_ext
1823
 
fi
1824
 
eval ac_res=\$$3
1825
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826
 
$as_echo "$ac_res" >&6; }
1827
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828
 
 
1829
 
} @%:@ ac_fn_c_check_func
1830
 
 
1831
 
@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1832
 
@%:@ -------------------------------------------
1833
 
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1834
 
@%:@ variable VAR accordingly.
1835
 
ac_fn_c_check_type ()
1836
 
{
1837
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1839
 
$as_echo_n "checking for $2... " >&6; }
1840
 
if eval \${$3+:} false; then :
1841
 
  $as_echo_n "(cached) " >&6
1842
 
else
1843
 
  eval "$3=no"
1844
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845
 
/* end confdefs.h.  */
1846
 
$4
1847
 
int
1848
 
main ()
1849
 
{
1850
 
if (sizeof ($2))
1851
 
         return 0;
1852
 
  ;
1853
 
  return 0;
1854
 
}
1855
 
_ACEOF
1856
 
if ac_fn_c_try_compile "$LINENO"; then :
1857
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858
 
/* end confdefs.h.  */
1859
 
$4
1860
 
int
1861
 
main ()
1862
 
{
1863
 
if (sizeof (($2)))
1864
 
            return 0;
1865
 
  ;
1866
 
  return 0;
1867
 
}
1868
 
_ACEOF
1869
 
if ac_fn_c_try_compile "$LINENO"; then :
1870
 
  
1871
 
else
1872
 
  eval "$3=yes"
1873
 
fi
1874
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1875
 
fi
1876
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1877
 
fi
1878
 
eval ac_res=\$$3
1879
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880
 
$as_echo "$ac_res" >&6; }
1881
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882
 
 
1883
 
} @%:@ ac_fn_c_check_type
1884
 
 
1885
 
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1886
 
@%:@ -------------------------------------------------------
1887
 
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1888
 
@%:@ the include files in INCLUDES and setting the cache variable VAR
1889
 
@%:@ accordingly.
1890
 
ac_fn_c_check_header_mongrel ()
1891
 
{
1892
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893
 
  if eval \${$3+:} false; then :
1894
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1895
 
$as_echo_n "checking for $2... " >&6; }
1896
 
if eval \${$3+:} false; then :
1897
 
  $as_echo_n "(cached) " >&6
1898
 
fi
1899
 
eval ac_res=\$$3
1900
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1901
 
$as_echo "$ac_res" >&6; }
1902
 
else
1903
 
  # Is the header compilable?
1904
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1905
 
$as_echo_n "checking $2 usability... " >&6; }
1906
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1907
 
/* end confdefs.h.  */
1908
 
$4
1909
 
@%:@include <$2>
1910
 
_ACEOF
1911
 
if ac_fn_c_try_compile "$LINENO"; then :
1912
 
  ac_header_compiler=yes
1913
 
else
1914
 
  ac_header_compiler=no
1915
 
fi
1916
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1917
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1918
 
$as_echo "$ac_header_compiler" >&6; }
1919
 
 
1920
 
# Is the header present?
1921
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1922
 
$as_echo_n "checking $2 presence... " >&6; }
1923
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1924
 
/* end confdefs.h.  */
1925
 
@%:@include <$2>
1926
 
_ACEOF
1927
 
if ac_fn_c_try_cpp "$LINENO"; then :
1928
 
  ac_header_preproc=yes
1929
 
else
1930
 
  ac_header_preproc=no
1931
 
fi
1932
 
rm -f conftest.err conftest.i conftest.$ac_ext
1933
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1934
 
$as_echo "$ac_header_preproc" >&6; }
1935
 
 
1936
 
# So?  What about this header?
1937
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1938
 
  yes:no: )
1939
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1940
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1941
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1942
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1943
 
    ;;
1944
 
  no:yes:* )
1945
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1946
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1947
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1948
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1949
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1950
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1951
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1952
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1953
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1954
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1955
 
( $as_echo "## ------------------------------------------------- ##
1956
 
## Report this to cloog-development@googlegroups.com ##
1957
 
## ------------------------------------------------- ##"
1958
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1959
 
    ;;
1960
 
esac
1961
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1962
 
$as_echo_n "checking for $2... " >&6; }
1963
 
if eval \${$3+:} false; then :
1964
 
  $as_echo_n "(cached) " >&6
1965
 
else
1966
 
  eval "$3=\$ac_header_compiler"
1967
 
fi
1968
 
eval ac_res=\$$3
1969
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970
 
$as_echo "$ac_res" >&6; }
1971
 
fi
1972
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973
 
 
1974
 
} @%:@ ac_fn_c_check_header_mongrel
1975
 
 
1976
 
@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1977
 
@%:@ ---------------------------------------------
1978
 
@%:@ Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1979
 
@%:@ accordingly.
1980
 
ac_fn_c_check_decl ()
1981
 
{
1982
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983
 
  as_decl_name=`echo $2|sed 's/ *(.*//'`
1984
 
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1985
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1986
 
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1987
 
if eval \${$3+:} false; then :
1988
 
  $as_echo_n "(cached) " >&6
1989
 
else
1990
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991
 
/* end confdefs.h.  */
1992
 
$4
1993
 
int
1994
 
main ()
1995
 
{
1996
 
@%:@ifndef $as_decl_name
1997
 
@%:@ifdef __cplusplus
1998
 
  (void) $as_decl_use;
1999
 
@%:@else
2000
 
  (void) $as_decl_name;
2001
 
@%:@endif
2002
 
@%:@endif
2003
 
 
2004
 
  ;
2005
 
  return 0;
2006
 
}
2007
 
_ACEOF
2008
 
if ac_fn_c_try_compile "$LINENO"; then :
2009
 
  eval "$3=yes"
2010
 
else
2011
 
  eval "$3=no"
2012
 
fi
2013
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2014
 
fi
2015
 
eval ac_res=\$$3
2016
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2017
 
$as_echo "$ac_res" >&6; }
2018
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2019
 
 
2020
 
} @%:@ ac_fn_c_check_decl
2021
 
cat >config.log <<_ACEOF
2022
 
This file contains any messages produced by compilers while
2023
 
running configure, to aid debugging if configure makes a mistake.
2024
 
 
2025
 
It was created by cloog $as_me 0.18.1, which was
2026
 
generated by GNU Autoconf 2.69.  Invocation command line was
2027
 
 
2028
 
  $ $0 $@
2029
 
 
2030
 
_ACEOF
2031
 
exec 5>>config.log
2032
 
{
2033
 
cat <<_ASUNAME
2034
 
## --------- ##
2035
 
## Platform. ##
2036
 
## --------- ##
2037
 
 
2038
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2039
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2040
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2041
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2042
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2043
 
 
2044
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2045
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2046
 
 
2047
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2048
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2049
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2050
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2051
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2052
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2053
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2054
 
 
2055
 
_ASUNAME
2056
 
 
2057
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058
 
for as_dir in $PATH
2059
 
do
2060
 
  IFS=$as_save_IFS
2061
 
  test -z "$as_dir" && as_dir=.
2062
 
    $as_echo "PATH: $as_dir"
2063
 
  done
2064
 
IFS=$as_save_IFS
2065
 
 
2066
 
} >&5
2067
 
 
2068
 
cat >&5 <<_ACEOF
2069
 
 
2070
 
 
2071
 
## ----------- ##
2072
 
## Core tests. ##
2073
 
## ----------- ##
2074
 
 
2075
 
_ACEOF
2076
 
 
2077
 
 
2078
 
# Keep a trace of the command line.
2079
 
# Strip out --no-create and --no-recursion so they do not pile up.
2080
 
# Strip out --silent because we don't want to record it for future runs.
2081
 
# Also quote any args containing shell meta-characters.
2082
 
# Make two passes to allow for proper duplicate-argument suppression.
2083
 
ac_configure_args=
2084
 
ac_configure_args0=
2085
 
ac_configure_args1=
2086
 
ac_must_keep_next=false
2087
 
for ac_pass in 1 2
2088
 
do
2089
 
  for ac_arg
2090
 
  do
2091
 
    case $ac_arg in
2092
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2093
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2094
 
    | -silent | --silent | --silen | --sile | --sil)
2095
 
      continue ;;
2096
 
    *\'*)
2097
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2098
 
    esac
2099
 
    case $ac_pass in
2100
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2101
 
    2)
2102
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2103
 
      if test $ac_must_keep_next = true; then
2104
 
        ac_must_keep_next=false # Got value, back to normal.
2105
 
      else
2106
 
        case $ac_arg in
2107
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2108
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2109
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2110
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2111
 
            case "$ac_configure_args0 " in
2112
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2113
 
            esac
2114
 
            ;;
2115
 
          -* ) ac_must_keep_next=true ;;
2116
 
        esac
2117
 
      fi
2118
 
      as_fn_append ac_configure_args " '$ac_arg'"
2119
 
      ;;
2120
 
    esac
2121
 
  done
2122
 
done
2123
 
{ ac_configure_args0=; unset ac_configure_args0;}
2124
 
{ ac_configure_args1=; unset ac_configure_args1;}
2125
 
 
2126
 
# When interrupted or exit'd, cleanup temporary files, and complete
2127
 
# config.log.  We remove comments because anyway the quotes in there
2128
 
# would cause problems or look ugly.
2129
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2130
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2131
 
trap 'exit_status=$?
2132
 
  # Save into config.log some information that might help in debugging.
2133
 
  {
2134
 
    echo
2135
 
 
2136
 
    $as_echo "## ---------------- ##
2137
 
## Cache variables. ##
2138
 
## ---------------- ##"
2139
 
    echo
2140
 
    # The following way of writing the cache mishandles newlines in values,
2141
 
(
2142
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2143
 
    eval ac_val=\$$ac_var
2144
 
    case $ac_val in #(
2145
 
    *${as_nl}*)
2146
 
      case $ac_var in #(
2147
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2148
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2149
 
      esac
2150
 
      case $ac_var in #(
2151
 
      _ | IFS | as_nl) ;; #(
2152
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2153
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2154
 
      esac ;;
2155
 
    esac
2156
 
  done
2157
 
  (set) 2>&1 |
2158
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2159
 
    *${as_nl}ac_space=\ *)
2160
 
      sed -n \
2161
 
        "s/'\''/'\''\\\\'\'''\''/g;
2162
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2163
 
      ;; #(
2164
 
    *)
2165
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2166
 
      ;;
2167
 
    esac |
2168
 
    sort
2169
 
)
2170
 
    echo
2171
 
 
2172
 
    $as_echo "## ----------------- ##
2173
 
## Output variables. ##
2174
 
## ----------------- ##"
2175
 
    echo
2176
 
    for ac_var in $ac_subst_vars
2177
 
    do
2178
 
      eval ac_val=\$$ac_var
2179
 
      case $ac_val in
2180
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2181
 
      esac
2182
 
      $as_echo "$ac_var='\''$ac_val'\''"
2183
 
    done | sort
2184
 
    echo
2185
 
 
2186
 
    if test -n "$ac_subst_files"; then
2187
 
      $as_echo "## ------------------- ##
2188
 
## File substitutions. ##
2189
 
## ------------------- ##"
2190
 
      echo
2191
 
      for ac_var in $ac_subst_files
2192
 
      do
2193
 
        eval ac_val=\$$ac_var
2194
 
        case $ac_val in
2195
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2196
 
        esac
2197
 
        $as_echo "$ac_var='\''$ac_val'\''"
2198
 
      done | sort
2199
 
      echo
2200
 
    fi
2201
 
 
2202
 
    if test -s confdefs.h; then
2203
 
      $as_echo "## ----------- ##
2204
 
## confdefs.h. ##
2205
 
## ----------- ##"
2206
 
      echo
2207
 
      cat confdefs.h
2208
 
      echo
2209
 
    fi
2210
 
    test "$ac_signal" != 0 &&
2211
 
      $as_echo "$as_me: caught signal $ac_signal"
2212
 
    $as_echo "$as_me: exit $exit_status"
2213
 
  } >&5
2214
 
  rm -f core *.core core.conftest.* &&
2215
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2216
 
    exit $exit_status
2217
 
' 0
2218
 
for ac_signal in 1 2 13 15; do
2219
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2220
 
done
2221
 
ac_signal=0
2222
 
 
2223
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2224
 
rm -f -r conftest* confdefs.h
2225
 
 
2226
 
$as_echo "/* confdefs.h */" > confdefs.h
2227
 
 
2228
 
# Predefined preprocessor variables.
2229
 
 
2230
 
cat >>confdefs.h <<_ACEOF
2231
 
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2232
 
_ACEOF
2233
 
 
2234
 
cat >>confdefs.h <<_ACEOF
2235
 
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2236
 
_ACEOF
2237
 
 
2238
 
cat >>confdefs.h <<_ACEOF
2239
 
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2240
 
_ACEOF
2241
 
 
2242
 
cat >>confdefs.h <<_ACEOF
2243
 
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2244
 
_ACEOF
2245
 
 
2246
 
cat >>confdefs.h <<_ACEOF
2247
 
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2248
 
_ACEOF
2249
 
 
2250
 
cat >>confdefs.h <<_ACEOF
2251
 
@%:@define PACKAGE_URL "$PACKAGE_URL"
2252
 
_ACEOF
2253
 
 
2254
 
 
2255
 
# Let the site file select an alternate cache file if it wants to.
2256
 
# Prefer an explicitly selected file to automatically selected ones.
2257
 
ac_site_file1=NONE
2258
 
ac_site_file2=NONE
2259
 
if test -n "$CONFIG_SITE"; then
2260
 
  # We do not want a PATH search for config.site.
2261
 
  case $CONFIG_SITE in @%:@((
2262
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2263
 
    */*) ac_site_file1=$CONFIG_SITE;;
2264
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2265
 
  esac
2266
 
elif test "x$prefix" != xNONE; then
2267
 
  ac_site_file1=$prefix/share/config.site
2268
 
  ac_site_file2=$prefix/etc/config.site
2269
 
else
2270
 
  ac_site_file1=$ac_default_prefix/share/config.site
2271
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2272
 
fi
2273
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2274
 
do
2275
 
  test "x$ac_site_file" = xNONE && continue
2276
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2277
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2278
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2279
 
    sed 's/^/| /' "$ac_site_file" >&5
2280
 
    . "$ac_site_file" \
2281
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2282
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2283
 
as_fn_error $? "failed to load site script $ac_site_file
2284
 
See \`config.log' for more details" "$LINENO" 5; }
2285
 
  fi
2286
 
done
2287
 
 
2288
 
if test -r "$cache_file"; then
2289
 
  # Some versions of bash will fail to source /dev/null (special files
2290
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2291
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2292
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2293
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2294
 
    case $cache_file in
2295
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2296
 
      *)                      . "./$cache_file";;
2297
 
    esac
2298
 
  fi
2299
 
else
2300
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2301
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2302
 
  >$cache_file
2303
 
fi
2304
 
 
2305
 
# Check that the precious variables saved in the cache have kept the same
2306
 
# value.
2307
 
ac_cache_corrupted=false
2308
 
for ac_var in $ac_precious_vars; do
2309
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2310
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2311
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2312
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2313
 
  case $ac_old_set,$ac_new_set in
2314
 
    set,)
2315
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2316
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2317
 
      ac_cache_corrupted=: ;;
2318
 
    ,set)
2319
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2320
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2321
 
      ac_cache_corrupted=: ;;
2322
 
    ,);;
2323
 
    *)
2324
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2325
 
        # differences in whitespace do not lead to failure.
2326
 
        ac_old_val_w=`echo x $ac_old_val`
2327
 
        ac_new_val_w=`echo x $ac_new_val`
2328
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2329
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2330
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2331
 
          ac_cache_corrupted=:
2332
 
        else
2333
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2334
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2335
 
          eval $ac_var=\$ac_old_val
2336
 
        fi
2337
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2338
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2339
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2340
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2341
 
      fi;;
2342
 
  esac
2343
 
  # Pass precious variables to config.status.
2344
 
  if test "$ac_new_set" = set; then
2345
 
    case $ac_new_val in
2346
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2347
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2348
 
    esac
2349
 
    case " $ac_configure_args " in
2350
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2351
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2352
 
    esac
2353
 
  fi
2354
 
done
2355
 
if $ac_cache_corrupted; then
2356
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2357
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2358
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2359
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2360
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2361
 
fi
2362
 
## -------------------- ##
2363
 
## Main body of script. ##
2364
 
## -------------------- ##
2365
 
 
2366
 
ac_ext=c
2367
 
ac_cpp='$CPP $CPPFLAGS'
2368
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2369
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2370
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2371
 
 
2372
 
 
2373
 
 
2374
 
ac_aux_dir=
2375
 
for ac_dir in autoconf "$srcdir"/autoconf; do
2376
 
  if test -f "$ac_dir/install-sh"; then
2377
 
    ac_aux_dir=$ac_dir
2378
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2379
 
    break
2380
 
  elif test -f "$ac_dir/install.sh"; then
2381
 
    ac_aux_dir=$ac_dir
2382
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2383
 
    break
2384
 
  elif test -f "$ac_dir/shtool"; then
2385
 
    ac_aux_dir=$ac_dir
2386
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2387
 
    break
2388
 
  fi
2389
 
done
2390
 
if test -z "$ac_aux_dir"; then
2391
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
2392
 
fi
2393
 
 
2394
 
# These three variables are undocumented and unsupported,
2395
 
# and are intended to be withdrawn in a future Autoconf release.
2396
 
# They can cause serious problems if a builder's source tree is in a directory
2397
 
# whose full name contains unusual characters.
2398
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2399
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2400
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2401
 
 
2402
 
 
2403
 
 
2404
 
 
2405
 
VERSION_MAJOR=0
2406
 
VERSION_MINOR=18
2407
 
VERSION_REVISION=1
2408
 
 
2409
 
versioninfo=4:0:0
2410
 
 
2411
 
am__api_version='1.11'
2412
 
 
2413
 
# Find a good install program.  We prefer a C program (faster),
2414
 
# so one script is as good as another.  But avoid the broken or
2415
 
# incompatible versions:
2416
 
# SysV /etc/install, /usr/sbin/install
2417
 
# SunOS /usr/etc/install
2418
 
# IRIX /sbin/install
2419
 
# AIX /bin/install
2420
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2421
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2422
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2423
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2424
 
# OS/2's system install, which has a completely different semantic
2425
 
# ./install, which can be erroneously created by make from ./install.sh.
2426
 
# Reject install programs that cannot install multiple files.
2427
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2428
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2429
 
if test -z "$INSTALL"; then
2430
 
if ${ac_cv_path_install+:} false; then :
2431
 
  $as_echo_n "(cached) " >&6
2432
 
else
2433
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434
 
for as_dir in $PATH
2435
 
do
2436
 
  IFS=$as_save_IFS
2437
 
  test -z "$as_dir" && as_dir=.
2438
 
    # Account for people who put trailing slashes in PATH elements.
2439
 
case $as_dir/ in @%:@((
2440
 
  ./ | .// | /[cC]/* | \
2441
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2442
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2443
 
  /usr/ucb/* ) ;;
2444
 
  *)
2445
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2446
 
    # Don't use installbsd from OSF since it installs stuff as root
2447
 
    # by default.
2448
 
    for ac_prog in ginstall scoinst install; do
2449
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2450
 
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2451
 
          if test $ac_prog = install &&
2452
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2453
 
            # AIX install.  It has an incompatible calling convention.
2454
 
            :
2455
 
          elif test $ac_prog = install &&
2456
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2457
 
            # program-specific install script used by HP pwplus--don't use.
2458
 
            :
2459
 
          else
2460
 
            rm -rf conftest.one conftest.two conftest.dir
2461
 
            echo one > conftest.one
2462
 
            echo two > conftest.two
2463
 
            mkdir conftest.dir
2464
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2465
 
              test -s conftest.one && test -s conftest.two &&
2466
 
              test -s conftest.dir/conftest.one &&
2467
 
              test -s conftest.dir/conftest.two
2468
 
            then
2469
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2470
 
              break 3
2471
 
            fi
2472
 
          fi
2473
 
        fi
2474
 
      done
2475
 
    done
2476
 
    ;;
2477
 
esac
2478
 
 
2479
 
  done
2480
 
IFS=$as_save_IFS
2481
 
 
2482
 
rm -rf conftest.one conftest.two conftest.dir
2483
 
 
2484
 
fi
2485
 
  if test "${ac_cv_path_install+set}" = set; then
2486
 
    INSTALL=$ac_cv_path_install
2487
 
  else
2488
 
    # As a last resort, use the slow shell script.  Don't cache a
2489
 
    # value for INSTALL within a source directory, because that will
2490
 
    # break other packages using the cache if that directory is
2491
 
    # removed, or if the value is a relative name.
2492
 
    INSTALL=$ac_install_sh
2493
 
  fi
2494
 
fi
2495
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2496
 
$as_echo "$INSTALL" >&6; }
2497
 
 
2498
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2499
 
# It thinks the first close brace ends the variable substitution.
2500
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2501
 
 
2502
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2503
 
 
2504
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2505
 
 
2506
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2507
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2508
 
# Just in case
2509
 
sleep 1
2510
 
echo timestamp > conftest.file
2511
 
# Reject unsafe characters in $srcdir or the absolute working directory
2512
 
# name.  Accept space and tab only in the latter.
2513
 
am_lf='
2514
 
'
2515
 
case `pwd` in
2516
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2517
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2518
 
esac
2519
 
case $srcdir in
2520
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2521
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2522
 
esac
2523
 
 
2524
 
# Do `set' in a subshell so we don't clobber the current shell's
2525
 
# arguments.  Must try -L first in case configure is actually a
2526
 
# symlink; some systems play weird games with the mod time of symlinks
2527
 
# (eg FreeBSD returns the mod time of the symlink's containing
2528
 
# directory).
2529
 
if (
2530
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2531
 
   if test "$*" = "X"; then
2532
 
      # -L didn't work.
2533
 
      set X `ls -t "$srcdir/configure" conftest.file`
2534
 
   fi
2535
 
   rm -f conftest.file
2536
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2537
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2538
 
 
2539
 
      # If neither matched, then we have a broken ls.  This can happen
2540
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2541
 
      # broken ls alias from the environment.  This has actually
2542
 
      # happened.  Such a system could not be considered "sane".
2543
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2544
 
alias in your environment" "$LINENO" 5
2545
 
   fi
2546
 
 
2547
 
   test "$2" = conftest.file
2548
 
   )
2549
 
then
2550
 
   # Ok.
2551
 
   :
2552
 
else
2553
 
   as_fn_error $? "newly created file is older than distributed files!
2554
 
Check your system clock" "$LINENO" 5
2555
 
fi
2556
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2557
 
$as_echo "yes" >&6; }
2558
 
test "$program_prefix" != NONE &&
2559
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2560
 
# Use a double $ so make ignores it.
2561
 
test "$program_suffix" != NONE &&
2562
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2563
 
# Double any \ or $.
2564
 
# By default was `s,x,x', remove it if useless.
2565
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2566
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2567
 
 
2568
 
# expand $ac_aux_dir to an absolute path
2569
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2570
 
 
2571
 
if test x"${MISSING+set}" != xset; then
2572
 
  case $am_aux_dir in
2573
 
  *\ * | *\     *)
2574
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2575
 
  *)
2576
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2577
 
  esac
2578
 
fi
2579
 
# Use eval to expand $SHELL
2580
 
if eval "$MISSING --run true"; then
2581
 
  am_missing_run="$MISSING --run "
2582
 
else
2583
 
  am_missing_run=
2584
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2585
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2586
 
fi
2587
 
 
2588
 
if test x"${install_sh}" != xset; then
2589
 
  case $am_aux_dir in
2590
 
  *\ * | *\     *)
2591
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2592
 
  *)
2593
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2594
 
  esac
2595
 
fi
2596
 
 
2597
 
# Installed binaries are usually stripped using `strip' when the user
2598
 
# run `make install-strip'.  However `strip' might not be the right
2599
 
# tool to use in cross-compilation environments, therefore Automake
2600
 
# will honor the `STRIP' environment variable to overrule this program.
2601
 
if test "$cross_compiling" != no; then
2602
 
  if test -n "$ac_tool_prefix"; then
2603
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2604
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2605
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606
 
$as_echo_n "checking for $ac_word... " >&6; }
2607
 
if ${ac_cv_prog_STRIP+:} false; then :
2608
 
  $as_echo_n "(cached) " >&6
2609
 
else
2610
 
  if test -n "$STRIP"; then
2611
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2612
 
else
2613
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614
 
for as_dir in $PATH
2615
 
do
2616
 
  IFS=$as_save_IFS
2617
 
  test -z "$as_dir" && as_dir=.
2618
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2619
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2620
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2621
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2622
 
    break 2
2623
 
  fi
2624
 
done
2625
 
  done
2626
 
IFS=$as_save_IFS
2627
 
 
2628
 
fi
2629
 
fi
2630
 
STRIP=$ac_cv_prog_STRIP
2631
 
if test -n "$STRIP"; then
2632
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2633
 
$as_echo "$STRIP" >&6; }
2634
 
else
2635
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636
 
$as_echo "no" >&6; }
2637
 
fi
2638
 
 
2639
 
 
2640
 
fi
2641
 
if test -z "$ac_cv_prog_STRIP"; then
2642
 
  ac_ct_STRIP=$STRIP
2643
 
  # Extract the first word of "strip", so it can be a program name with args.
2644
 
set dummy strip; ac_word=$2
2645
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2646
 
$as_echo_n "checking for $ac_word... " >&6; }
2647
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2648
 
  $as_echo_n "(cached) " >&6
2649
 
else
2650
 
  if test -n "$ac_ct_STRIP"; then
2651
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2652
 
else
2653
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654
 
for as_dir in $PATH
2655
 
do
2656
 
  IFS=$as_save_IFS
2657
 
  test -z "$as_dir" && as_dir=.
2658
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2659
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2660
 
    ac_cv_prog_ac_ct_STRIP="strip"
2661
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2662
 
    break 2
2663
 
  fi
2664
 
done
2665
 
  done
2666
 
IFS=$as_save_IFS
2667
 
 
2668
 
fi
2669
 
fi
2670
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2671
 
if test -n "$ac_ct_STRIP"; then
2672
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2673
 
$as_echo "$ac_ct_STRIP" >&6; }
2674
 
else
2675
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2676
 
$as_echo "no" >&6; }
2677
 
fi
2678
 
 
2679
 
  if test "x$ac_ct_STRIP" = x; then
2680
 
    STRIP=":"
2681
 
  else
2682
 
    case $cross_compiling:$ac_tool_warned in
2683
 
yes:)
2684
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2685
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2686
 
ac_tool_warned=yes ;;
2687
 
esac
2688
 
    STRIP=$ac_ct_STRIP
2689
 
  fi
2690
 
else
2691
 
  STRIP="$ac_cv_prog_STRIP"
2692
 
fi
2693
 
 
2694
 
fi
2695
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2696
 
 
2697
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2698
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2699
 
if test -z "$MKDIR_P"; then
2700
 
  if ${ac_cv_path_mkdir+:} false; then :
2701
 
  $as_echo_n "(cached) " >&6
2702
 
else
2703
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2705
 
do
2706
 
  IFS=$as_save_IFS
2707
 
  test -z "$as_dir" && as_dir=.
2708
 
    for ac_prog in mkdir gmkdir; do
2709
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2710
 
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2711
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2712
 
             'mkdir (GNU coreutils) '* | \
2713
 
             'mkdir (coreutils) '* | \
2714
 
             'mkdir (fileutils) '4.1*)
2715
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2716
 
               break 3;;
2717
 
           esac
2718
 
         done
2719
 
       done
2720
 
  done
2721
 
IFS=$as_save_IFS
2722
 
 
2723
 
fi
2724
 
 
2725
 
  test -d ./--version && rmdir ./--version
2726
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2727
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2728
 
  else
2729
 
    # As a last resort, use the slow shell script.  Don't cache a
2730
 
    # value for MKDIR_P within a source directory, because that will
2731
 
    # break other packages using the cache if that directory is
2732
 
    # removed, or if the value is a relative name.
2733
 
    MKDIR_P="$ac_install_sh -d"
2734
 
  fi
2735
 
fi
2736
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2737
 
$as_echo "$MKDIR_P" >&6; }
2738
 
 
2739
 
mkdir_p="$MKDIR_P"
2740
 
case $mkdir_p in
2741
 
  [\\/$]* | ?:[\\/]*) ;;
2742
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2743
 
esac
2744
 
 
2745
 
for ac_prog in gawk mawk nawk awk
2746
 
do
2747
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2748
 
set dummy $ac_prog; ac_word=$2
2749
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2750
 
$as_echo_n "checking for $ac_word... " >&6; }
2751
 
if ${ac_cv_prog_AWK+:} false; then :
2752
 
  $as_echo_n "(cached) " >&6
2753
 
else
2754
 
  if test -n "$AWK"; then
2755
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2756
 
else
2757
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758
 
for as_dir in $PATH
2759
 
do
2760
 
  IFS=$as_save_IFS
2761
 
  test -z "$as_dir" && as_dir=.
2762
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2763
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2764
 
    ac_cv_prog_AWK="$ac_prog"
2765
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2766
 
    break 2
2767
 
  fi
2768
 
done
2769
 
  done
2770
 
IFS=$as_save_IFS
2771
 
 
2772
 
fi
2773
 
fi
2774
 
AWK=$ac_cv_prog_AWK
2775
 
if test -n "$AWK"; then
2776
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2777
 
$as_echo "$AWK" >&6; }
2778
 
else
2779
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2780
 
$as_echo "no" >&6; }
2781
 
fi
2782
 
 
2783
 
 
2784
 
  test -n "$AWK" && break
2785
 
done
2786
 
 
2787
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2788
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2789
 
set x ${MAKE-make}
2790
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2791
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2792
 
  $as_echo_n "(cached) " >&6
2793
 
else
2794
 
  cat >conftest.make <<\_ACEOF
2795
 
SHELL = /bin/sh
2796
 
all:
2797
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2798
 
_ACEOF
2799
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2800
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2801
 
  *@@@%%%=?*=@@@%%%*)
2802
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2803
 
  *)
2804
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2805
 
esac
2806
 
rm -f conftest.make
2807
 
fi
2808
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2809
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2810
 
$as_echo "yes" >&6; }
2811
 
  SET_MAKE=
2812
 
else
2813
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2814
 
$as_echo "no" >&6; }
2815
 
  SET_MAKE="MAKE=${MAKE-make}"
2816
 
fi
2817
 
 
2818
 
rm -rf .tst 2>/dev/null
2819
 
mkdir .tst 2>/dev/null
2820
 
if test -d .tst; then
2821
 
  am__leading_dot=.
2822
 
else
2823
 
  am__leading_dot=_
2824
 
fi
2825
 
rmdir .tst 2>/dev/null
2826
 
 
2827
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2828
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2829
 
  # is not polluted with repeated "-I."
2830
 
  am__isrc=' -I$(srcdir)'
2831
 
  # test to see if srcdir already configured
2832
 
  if test -f $srcdir/config.status; then
2833
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2834
 
  fi
2835
 
fi
2836
 
 
2837
 
# test whether we have cygpath
2838
 
if test -z "$CYGPATH_W"; then
2839
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2840
 
    CYGPATH_W='cygpath -w'
2841
 
  else
2842
 
    CYGPATH_W=echo
2843
 
  fi
2844
 
fi
2845
 
 
2846
 
 
2847
 
# Define the identity of the package.
2848
 
 PACKAGE='cloog'
2849
 
 VERSION='0.18.1'
2850
 
 
2851
 
 
2852
 
cat >>confdefs.h <<_ACEOF
2853
 
@%:@define PACKAGE "$PACKAGE"
2854
 
_ACEOF
2855
 
 
2856
 
 
2857
 
cat >>confdefs.h <<_ACEOF
2858
 
@%:@define VERSION "$VERSION"
2859
 
_ACEOF
2860
 
 
2861
 
# Some tools Automake needs.
2862
 
 
2863
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2864
 
 
2865
 
 
2866
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2867
 
 
2868
 
 
2869
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2870
 
 
2871
 
 
2872
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2873
 
 
2874
 
 
2875
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2876
 
 
2877
 
# We need awk for the "check" target.  The system "awk" is bad on
2878
 
# some platforms.
2879
 
# Always define AMTAR for backward compatibility.  Yes, it's still used
2880
 
# in the wild :-(  We should find a proper way to deprecate it ...
2881
 
AMTAR='$${TAR-tar}'
2882
 
 
2883
 
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2884
 
 
2885
 
 
2886
 
 
2887
 
 
2888
 
 
2889
 
@%:@ Check whether --enable-silent-rules was given.
2890
 
if test "${enable_silent_rules+set}" = set; then :
2891
 
  enableval=$enable_silent_rules; 
2892
 
fi
2893
 
 
2894
 
case $enable_silent_rules in
2895
 
yes) AM_DEFAULT_VERBOSITY=0;;
2896
 
no)  AM_DEFAULT_VERBOSITY=1;;
2897
 
*)   AM_DEFAULT_VERBOSITY=0;;
2898
 
esac
2899
 
am_make=${MAKE-make}
2900
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2901
 
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2902
 
if ${am_cv_make_support_nested_variables+:} false; then :
2903
 
  $as_echo_n "(cached) " >&6
2904
 
else
2905
 
  if $as_echo 'TRUE=$(BAR$(V))
2906
 
BAR0=false
2907
 
BAR1=true
2908
 
V=1
2909
 
am__doit:
2910
 
        @$(TRUE)
2911
 
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2912
 
  am_cv_make_support_nested_variables=yes
2913
 
else
2914
 
  am_cv_make_support_nested_variables=no
2915
 
fi
2916
 
fi
2917
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2918
 
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2919
 
if test $am_cv_make_support_nested_variables = yes; then
2920
 
    AM_V='$(V)'
2921
 
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2922
 
else
2923
 
  AM_V=$AM_DEFAULT_VERBOSITY
2924
 
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2925
 
fi
2926
 
AM_BACKSLASH='\'
2927
 
 
2928
 
 
2929
 
 
2930
 
ac_ext=c
2931
 
ac_cpp='$CPP $CPPFLAGS'
2932
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2933
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2934
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2935
 
if test -n "$ac_tool_prefix"; then
2936
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2937
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2938
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939
 
$as_echo_n "checking for $ac_word... " >&6; }
2940
 
if ${ac_cv_prog_CC+:} false; then :
2941
 
  $as_echo_n "(cached) " >&6
2942
 
else
2943
 
  if test -n "$CC"; then
2944
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2945
 
else
2946
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2947
 
for as_dir in $PATH
2948
 
do
2949
 
  IFS=$as_save_IFS
2950
 
  test -z "$as_dir" && as_dir=.
2951
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2952
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2953
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2954
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2955
 
    break 2
2956
 
  fi
2957
 
done
2958
 
  done
2959
 
IFS=$as_save_IFS
2960
 
 
2961
 
fi
2962
 
fi
2963
 
CC=$ac_cv_prog_CC
2964
 
if test -n "$CC"; then
2965
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2966
 
$as_echo "$CC" >&6; }
2967
 
else
2968
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969
 
$as_echo "no" >&6; }
2970
 
fi
2971
 
 
2972
 
 
2973
 
fi
2974
 
if test -z "$ac_cv_prog_CC"; then
2975
 
  ac_ct_CC=$CC
2976
 
  # Extract the first word of "gcc", so it can be a program name with args.
2977
 
set dummy gcc; ac_word=$2
2978
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2979
 
$as_echo_n "checking for $ac_word... " >&6; }
2980
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2981
 
  $as_echo_n "(cached) " >&6
2982
 
else
2983
 
  if test -n "$ac_ct_CC"; then
2984
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2985
 
else
2986
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2987
 
for as_dir in $PATH
2988
 
do
2989
 
  IFS=$as_save_IFS
2990
 
  test -z "$as_dir" && as_dir=.
2991
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2992
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2993
 
    ac_cv_prog_ac_ct_CC="gcc"
2994
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2995
 
    break 2
2996
 
  fi
2997
 
done
2998
 
  done
2999
 
IFS=$as_save_IFS
3000
 
 
3001
 
fi
3002
 
fi
3003
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3004
 
if test -n "$ac_ct_CC"; then
3005
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3006
 
$as_echo "$ac_ct_CC" >&6; }
3007
 
else
3008
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3009
 
$as_echo "no" >&6; }
3010
 
fi
3011
 
 
3012
 
  if test "x$ac_ct_CC" = x; then
3013
 
    CC=""
3014
 
  else
3015
 
    case $cross_compiling:$ac_tool_warned in
3016
 
yes:)
3017
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3018
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3019
 
ac_tool_warned=yes ;;
3020
 
esac
3021
 
    CC=$ac_ct_CC
3022
 
  fi
3023
 
else
3024
 
  CC="$ac_cv_prog_CC"
3025
 
fi
3026
 
 
3027
 
if test -z "$CC"; then
3028
 
          if test -n "$ac_tool_prefix"; then
3029
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3030
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3031
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3032
 
$as_echo_n "checking for $ac_word... " >&6; }
3033
 
if ${ac_cv_prog_CC+:} false; then :
3034
 
  $as_echo_n "(cached) " >&6
3035
 
else
3036
 
  if test -n "$CC"; then
3037
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3038
 
else
3039
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3040
 
for as_dir in $PATH
3041
 
do
3042
 
  IFS=$as_save_IFS
3043
 
  test -z "$as_dir" && as_dir=.
3044
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3045
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3046
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3047
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3048
 
    break 2
3049
 
  fi
3050
 
done
3051
 
  done
3052
 
IFS=$as_save_IFS
3053
 
 
3054
 
fi
3055
 
fi
3056
 
CC=$ac_cv_prog_CC
3057
 
if test -n "$CC"; then
3058
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3059
 
$as_echo "$CC" >&6; }
3060
 
else
3061
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062
 
$as_echo "no" >&6; }
3063
 
fi
3064
 
 
3065
 
 
3066
 
  fi
3067
 
fi
3068
 
if test -z "$CC"; then
3069
 
  # Extract the first word of "cc", so it can be a program name with args.
3070
 
set dummy cc; ac_word=$2
3071
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072
 
$as_echo_n "checking for $ac_word... " >&6; }
3073
 
if ${ac_cv_prog_CC+:} false; then :
3074
 
  $as_echo_n "(cached) " >&6
3075
 
else
3076
 
  if test -n "$CC"; then
3077
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3078
 
else
3079
 
  ac_prog_rejected=no
3080
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081
 
for as_dir in $PATH
3082
 
do
3083
 
  IFS=$as_save_IFS
3084
 
  test -z "$as_dir" && as_dir=.
3085
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3086
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3087
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3088
 
       ac_prog_rejected=yes
3089
 
       continue
3090
 
     fi
3091
 
    ac_cv_prog_CC="cc"
3092
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3093
 
    break 2
3094
 
  fi
3095
 
done
3096
 
  done
3097
 
IFS=$as_save_IFS
3098
 
 
3099
 
if test $ac_prog_rejected = yes; then
3100
 
  # We found a bogon in the path, so make sure we never use it.
3101
 
  set dummy $ac_cv_prog_CC
3102
 
  shift
3103
 
  if test $@%:@ != 0; then
3104
 
    # We chose a different compiler from the bogus one.
3105
 
    # However, it has the same basename, so the bogon will be chosen
3106
 
    # first if we set CC to just the basename; use the full file name.
3107
 
    shift
3108
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3109
 
  fi
3110
 
fi
3111
 
fi
3112
 
fi
3113
 
CC=$ac_cv_prog_CC
3114
 
if test -n "$CC"; then
3115
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3116
 
$as_echo "$CC" >&6; }
3117
 
else
3118
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119
 
$as_echo "no" >&6; }
3120
 
fi
3121
 
 
3122
 
 
3123
 
fi
3124
 
if test -z "$CC"; then
3125
 
  if test -n "$ac_tool_prefix"; then
3126
 
  for ac_prog in cl.exe
3127
 
  do
3128
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3129
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3130
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3131
 
$as_echo_n "checking for $ac_word... " >&6; }
3132
 
if ${ac_cv_prog_CC+:} false; then :
3133
 
  $as_echo_n "(cached) " >&6
3134
 
else
3135
 
  if test -n "$CC"; then
3136
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3137
 
else
3138
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3139
 
for as_dir in $PATH
3140
 
do
3141
 
  IFS=$as_save_IFS
3142
 
  test -z "$as_dir" && as_dir=.
3143
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3144
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3145
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3146
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3147
 
    break 2
3148
 
  fi
3149
 
done
3150
 
  done
3151
 
IFS=$as_save_IFS
3152
 
 
3153
 
fi
3154
 
fi
3155
 
CC=$ac_cv_prog_CC
3156
 
if test -n "$CC"; then
3157
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3158
 
$as_echo "$CC" >&6; }
3159
 
else
3160
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161
 
$as_echo "no" >&6; }
3162
 
fi
3163
 
 
3164
 
 
3165
 
    test -n "$CC" && break
3166
 
  done
3167
 
fi
3168
 
if test -z "$CC"; then
3169
 
  ac_ct_CC=$CC
3170
 
  for ac_prog in cl.exe
3171
 
do
3172
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3173
 
set dummy $ac_prog; ac_word=$2
3174
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3175
 
$as_echo_n "checking for $ac_word... " >&6; }
3176
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3177
 
  $as_echo_n "(cached) " >&6
3178
 
else
3179
 
  if test -n "$ac_ct_CC"; then
3180
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3181
 
else
3182
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183
 
for as_dir in $PATH
3184
 
do
3185
 
  IFS=$as_save_IFS
3186
 
  test -z "$as_dir" && as_dir=.
3187
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3188
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3189
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3190
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3191
 
    break 2
3192
 
  fi
3193
 
done
3194
 
  done
3195
 
IFS=$as_save_IFS
3196
 
 
3197
 
fi
3198
 
fi
3199
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3200
 
if test -n "$ac_ct_CC"; then
3201
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3202
 
$as_echo "$ac_ct_CC" >&6; }
3203
 
else
3204
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205
 
$as_echo "no" >&6; }
3206
 
fi
3207
 
 
3208
 
 
3209
 
  test -n "$ac_ct_CC" && break
3210
 
done
3211
 
 
3212
 
  if test "x$ac_ct_CC" = x; then
3213
 
    CC=""
3214
 
  else
3215
 
    case $cross_compiling:$ac_tool_warned in
3216
 
yes:)
3217
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3218
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3219
 
ac_tool_warned=yes ;;
3220
 
esac
3221
 
    CC=$ac_ct_CC
3222
 
  fi
3223
 
fi
3224
 
 
3225
 
fi
3226
 
 
3227
 
 
3228
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3229
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3230
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3231
 
See \`config.log' for more details" "$LINENO" 5; }
3232
 
 
3233
 
# Provide some information about the compiler.
3234
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3235
 
set X $ac_compile
3236
 
ac_compiler=$2
3237
 
for ac_option in --version -v -V -qversion; do
3238
 
  { { ac_try="$ac_compiler $ac_option >&5"
3239
 
case "(($ac_try" in
3240
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241
 
  *) ac_try_echo=$ac_try;;
3242
 
esac
3243
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3244
 
$as_echo "$ac_try_echo"; } >&5
3245
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3246
 
  ac_status=$?
3247
 
  if test -s conftest.err; then
3248
 
    sed '10a\
3249
 
... rest of stderr output deleted ...
3250
 
         10q' conftest.err >conftest.er1
3251
 
    cat conftest.er1 >&5
3252
 
  fi
3253
 
  rm -f conftest.er1 conftest.err
3254
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3255
 
  test $ac_status = 0; }
3256
 
done
3257
 
 
3258
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259
 
/* end confdefs.h.  */
3260
 
 
3261
 
int
3262
 
main ()
3263
 
{
3264
 
 
3265
 
  ;
3266
 
  return 0;
3267
 
}
3268
 
_ACEOF
3269
 
ac_clean_files_save=$ac_clean_files
3270
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3271
 
# Try to create an executable without -o first, disregard a.out.
3272
 
# It will help us diagnose broken compilers, and finding out an intuition
3273
 
# of exeext.
3274
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3275
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3276
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3277
 
 
3278
 
# The possible output files:
3279
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3280
 
 
3281
 
ac_rmfiles=
3282
 
for ac_file in $ac_files
3283
 
do
3284
 
  case $ac_file in
3285
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3286
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3287
 
  esac
3288
 
done
3289
 
rm -f $ac_rmfiles
3290
 
 
3291
 
if { { ac_try="$ac_link_default"
3292
 
case "(($ac_try" in
3293
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3294
 
  *) ac_try_echo=$ac_try;;
3295
 
esac
3296
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3297
 
$as_echo "$ac_try_echo"; } >&5
3298
 
  (eval "$ac_link_default") 2>&5
3299
 
  ac_status=$?
3300
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3301
 
  test $ac_status = 0; }; then :
3302
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3303
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3304
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3305
 
# so that the user can short-circuit this test for compilers unknown to
3306
 
# Autoconf.
3307
 
for ac_file in $ac_files ''
3308
 
do
3309
 
  test -f "$ac_file" || continue
3310
 
  case $ac_file in
3311
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3312
 
        ;;
3313
 
    [ab].out )
3314
 
        # We found the default executable, but exeext='' is most
3315
 
        # certainly right.
3316
 
        break;;
3317
 
    *.* )
3318
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3319
 
        then :; else
3320
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3321
 
        fi
3322
 
        # We set ac_cv_exeext here because the later test for it is not
3323
 
        # safe: cross compilers may not add the suffix if given an `-o'
3324
 
        # argument, so we may need to know it at that point already.
3325
 
        # Even if this section looks crufty: it has the advantage of
3326
 
        # actually working.
3327
 
        break;;
3328
 
    * )
3329
 
        break;;
3330
 
  esac
3331
 
done
3332
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3333
 
 
3334
 
else
3335
 
  ac_file=''
3336
 
fi
3337
 
if test -z "$ac_file"; then :
3338
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339
 
$as_echo "no" >&6; }
3340
 
$as_echo "$as_me: failed program was:" >&5
3341
 
sed 's/^/| /' conftest.$ac_ext >&5
3342
 
 
3343
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3344
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345
 
as_fn_error 77 "C compiler cannot create executables
3346
 
See \`config.log' for more details" "$LINENO" 5; }
3347
 
else
3348
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3349
 
$as_echo "yes" >&6; }
3350
 
fi
3351
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3352
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3353
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3354
 
$as_echo "$ac_file" >&6; }
3355
 
ac_exeext=$ac_cv_exeext
3356
 
 
3357
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3358
 
ac_clean_files=$ac_clean_files_save
3359
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3360
 
$as_echo_n "checking for suffix of executables... " >&6; }
3361
 
if { { ac_try="$ac_link"
3362
 
case "(($ac_try" in
3363
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364
 
  *) ac_try_echo=$ac_try;;
3365
 
esac
3366
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3367
 
$as_echo "$ac_try_echo"; } >&5
3368
 
  (eval "$ac_link") 2>&5
3369
 
  ac_status=$?
3370
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3371
 
  test $ac_status = 0; }; then :
3372
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3373
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3374
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3375
 
# `rm'.
3376
 
for ac_file in conftest.exe conftest conftest.*; do
3377
 
  test -f "$ac_file" || continue
3378
 
  case $ac_file in
3379
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3380
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3381
 
          break;;
3382
 
    * ) break;;
3383
 
  esac
3384
 
done
3385
 
else
3386
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3387
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3388
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3389
 
See \`config.log' for more details" "$LINENO" 5; }
3390
 
fi
3391
 
rm -f conftest conftest$ac_cv_exeext
3392
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3393
 
$as_echo "$ac_cv_exeext" >&6; }
3394
 
 
3395
 
rm -f conftest.$ac_ext
3396
 
EXEEXT=$ac_cv_exeext
3397
 
ac_exeext=$EXEEXT
3398
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399
 
/* end confdefs.h.  */
3400
 
@%:@include <stdio.h>
3401
 
int
3402
 
main ()
3403
 
{
3404
 
FILE *f = fopen ("conftest.out", "w");
3405
 
 return ferror (f) || fclose (f) != 0;
3406
 
 
3407
 
  ;
3408
 
  return 0;
3409
 
}
3410
 
_ACEOF
3411
 
ac_clean_files="$ac_clean_files conftest.out"
3412
 
# Check that the compiler produces executables we can run.  If not, either
3413
 
# the compiler is broken, or we cross compile.
3414
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3415
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3416
 
if test "$cross_compiling" != yes; then
3417
 
  { { ac_try="$ac_link"
3418
 
case "(($ac_try" in
3419
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3420
 
  *) ac_try_echo=$ac_try;;
3421
 
esac
3422
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3423
 
$as_echo "$ac_try_echo"; } >&5
3424
 
  (eval "$ac_link") 2>&5
3425
 
  ac_status=$?
3426
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3427
 
  test $ac_status = 0; }
3428
 
  if { ac_try='./conftest$ac_cv_exeext'
3429
 
  { { case "(($ac_try" in
3430
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431
 
  *) ac_try_echo=$ac_try;;
3432
 
esac
3433
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3434
 
$as_echo "$ac_try_echo"; } >&5
3435
 
  (eval "$ac_try") 2>&5
3436
 
  ac_status=$?
3437
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3438
 
  test $ac_status = 0; }; }; then
3439
 
    cross_compiling=no
3440
 
  else
3441
 
    if test "$cross_compiling" = maybe; then
3442
 
        cross_compiling=yes
3443
 
    else
3444
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3445
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3446
 
as_fn_error $? "cannot run C compiled programs.
3447
 
If you meant to cross compile, use \`--host'.
3448
 
See \`config.log' for more details" "$LINENO" 5; }
3449
 
    fi
3450
 
  fi
3451
 
fi
3452
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3453
 
$as_echo "$cross_compiling" >&6; }
3454
 
 
3455
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3456
 
ac_clean_files=$ac_clean_files_save
3457
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3458
 
$as_echo_n "checking for suffix of object files... " >&6; }
3459
 
if ${ac_cv_objext+:} false; then :
3460
 
  $as_echo_n "(cached) " >&6
3461
 
else
3462
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463
 
/* end confdefs.h.  */
3464
 
 
3465
 
int
3466
 
main ()
3467
 
{
3468
 
 
3469
 
  ;
3470
 
  return 0;
3471
 
}
3472
 
_ACEOF
3473
 
rm -f conftest.o conftest.obj
3474
 
if { { ac_try="$ac_compile"
3475
 
case "(($ac_try" in
3476
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477
 
  *) ac_try_echo=$ac_try;;
3478
 
esac
3479
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480
 
$as_echo "$ac_try_echo"; } >&5
3481
 
  (eval "$ac_compile") 2>&5
3482
 
  ac_status=$?
3483
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484
 
  test $ac_status = 0; }; then :
3485
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3486
 
  test -f "$ac_file" || continue;
3487
 
  case $ac_file in
3488
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3489
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3490
 
       break;;
3491
 
  esac
3492
 
done
3493
 
else
3494
 
  $as_echo "$as_me: failed program was:" >&5
3495
 
sed 's/^/| /' conftest.$ac_ext >&5
3496
 
 
3497
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3498
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3499
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3500
 
See \`config.log' for more details" "$LINENO" 5; }
3501
 
fi
3502
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3503
 
fi
3504
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3505
 
$as_echo "$ac_cv_objext" >&6; }
3506
 
OBJEXT=$ac_cv_objext
3507
 
ac_objext=$OBJEXT
3508
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3509
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3510
 
if ${ac_cv_c_compiler_gnu+:} false; then :
3511
 
  $as_echo_n "(cached) " >&6
3512
 
else
3513
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514
 
/* end confdefs.h.  */
3515
 
 
3516
 
int
3517
 
main ()
3518
 
{
3519
 
#ifndef __GNUC__
3520
 
       choke me
3521
 
#endif
3522
 
 
3523
 
  ;
3524
 
  return 0;
3525
 
}
3526
 
_ACEOF
3527
 
if ac_fn_c_try_compile "$LINENO"; then :
3528
 
  ac_compiler_gnu=yes
3529
 
else
3530
 
  ac_compiler_gnu=no
3531
 
fi
3532
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3534
 
 
3535
 
fi
3536
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3537
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3538
 
if test $ac_compiler_gnu = yes; then
3539
 
  GCC=yes
3540
 
else
3541
 
  GCC=
3542
 
fi
3543
 
ac_test_CFLAGS=${CFLAGS+set}
3544
 
ac_save_CFLAGS=$CFLAGS
3545
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3546
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3547
 
if ${ac_cv_prog_cc_g+:} false; then :
3548
 
  $as_echo_n "(cached) " >&6
3549
 
else
3550
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3551
 
   ac_c_werror_flag=yes
3552
 
   ac_cv_prog_cc_g=no
3553
 
   CFLAGS="-g"
3554
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555
 
/* end confdefs.h.  */
3556
 
 
3557
 
int
3558
 
main ()
3559
 
{
3560
 
 
3561
 
  ;
3562
 
  return 0;
3563
 
}
3564
 
_ACEOF
3565
 
if ac_fn_c_try_compile "$LINENO"; then :
3566
 
  ac_cv_prog_cc_g=yes
3567
 
else
3568
 
  CFLAGS=""
3569
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570
 
/* end confdefs.h.  */
3571
 
 
3572
 
int
3573
 
main ()
3574
 
{
3575
 
 
3576
 
  ;
3577
 
  return 0;
3578
 
}
3579
 
_ACEOF
3580
 
if ac_fn_c_try_compile "$LINENO"; then :
3581
 
  
3582
 
else
3583
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3584
 
         CFLAGS="-g"
3585
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3586
 
/* end confdefs.h.  */
3587
 
 
3588
 
int
3589
 
main ()
3590
 
{
3591
 
 
3592
 
  ;
3593
 
  return 0;
3594
 
}
3595
 
_ACEOF
3596
 
if ac_fn_c_try_compile "$LINENO"; then :
3597
 
  ac_cv_prog_cc_g=yes
3598
 
fi
3599
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600
 
fi
3601
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3602
 
fi
3603
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3605
 
fi
3606
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3607
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3608
 
if test "$ac_test_CFLAGS" = set; then
3609
 
  CFLAGS=$ac_save_CFLAGS
3610
 
elif test $ac_cv_prog_cc_g = yes; then
3611
 
  if test "$GCC" = yes; then
3612
 
    CFLAGS="-g -O2"
3613
 
  else
3614
 
    CFLAGS="-g"
3615
 
  fi
3616
 
else
3617
 
  if test "$GCC" = yes; then
3618
 
    CFLAGS="-O2"
3619
 
  else
3620
 
    CFLAGS=
3621
 
  fi
3622
 
fi
3623
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3624
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3625
 
if ${ac_cv_prog_cc_c89+:} false; then :
3626
 
  $as_echo_n "(cached) " >&6
3627
 
else
3628
 
  ac_cv_prog_cc_c89=no
3629
 
ac_save_CC=$CC
3630
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631
 
/* end confdefs.h.  */
3632
 
#include <stdarg.h>
3633
 
#include <stdio.h>
3634
 
struct stat;
3635
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3636
 
struct buf { int x; };
3637
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3638
 
static char *e (p, i)
3639
 
     char **p;
3640
 
     int i;
3641
 
{
3642
 
  return p[i];
3643
 
}
3644
 
static char *f (char * (*g) (char **, int), char **p, ...)
3645
 
{
3646
 
  char *s;
3647
 
  va_list v;
3648
 
  va_start (v,p);
3649
 
  s = g (p, va_arg (v,int));
3650
 
  va_end (v);
3651
 
  return s;
3652
 
}
3653
 
 
3654
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3655
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3656
 
   These don't provoke an error unfortunately, instead are silently treated
3657
 
   as 'x'.  The following induces an error, until -std is added to get
3658
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3659
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3660
 
   that's true only with -std.  */
3661
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3662
 
 
3663
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3664
 
   inside strings and character constants.  */
3665
 
#define FOO(x) 'x'
3666
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3667
 
 
3668
 
int test (int i, double x);
3669
 
struct s1 {int (*f) (int a);};
3670
 
struct s2 {int (*f) (double a);};
3671
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3672
 
int argc;
3673
 
char **argv;
3674
 
int
3675
 
main ()
3676
 
{
3677
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3678
 
  ;
3679
 
  return 0;
3680
 
}
3681
 
_ACEOF
3682
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3683
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3684
 
do
3685
 
  CC="$ac_save_CC $ac_arg"
3686
 
  if ac_fn_c_try_compile "$LINENO"; then :
3687
 
  ac_cv_prog_cc_c89=$ac_arg
3688
 
fi
3689
 
rm -f core conftest.err conftest.$ac_objext
3690
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3691
 
done
3692
 
rm -f conftest.$ac_ext
3693
 
CC=$ac_save_CC
3694
 
 
3695
 
fi
3696
 
# AC_CACHE_VAL
3697
 
case "x$ac_cv_prog_cc_c89" in
3698
 
  x)
3699
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3700
 
$as_echo "none needed" >&6; } ;;
3701
 
  xno)
3702
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3703
 
$as_echo "unsupported" >&6; } ;;
3704
 
  *)
3705
 
    CC="$CC $ac_cv_prog_cc_c89"
3706
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3707
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3708
 
esac
3709
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3710
 
  
3711
 
fi
3712
 
 
3713
 
ac_ext=c
3714
 
ac_cpp='$CPP $CPPFLAGS'
3715
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3716
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3717
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3718
 
DEPDIR="${am__leading_dot}deps"
3719
 
 
3720
 
ac_config_commands="$ac_config_commands depfiles"
3721
 
 
3722
 
 
3723
 
am_make=${MAKE-make}
3724
 
cat > confinc << 'END'
3725
 
am__doit:
3726
 
        @echo this is the am__doit target
3727
 
.PHONY: am__doit
3728
 
END
3729
 
# If we don't find an include directive, just comment out the code.
3730
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3731
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3732
 
am__include="#"
3733
 
am__quote=
3734
 
_am_result=none
3735
 
# First try GNU make style include.
3736
 
echo "include confinc" > confmf
3737
 
# Ignore all kinds of additional output from `make'.
3738
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3739
 
*the\ am__doit\ target*)
3740
 
  am__include=include
3741
 
  am__quote=
3742
 
  _am_result=GNU
3743
 
  ;;
3744
 
esac
3745
 
# Now try BSD make style include.
3746
 
if test "$am__include" = "#"; then
3747
 
   echo '.include "confinc"' > confmf
3748
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3749
 
   *the\ am__doit\ target*)
3750
 
     am__include=.include
3751
 
     am__quote="\""
3752
 
     _am_result=BSD
3753
 
     ;;
3754
 
   esac
3755
 
fi
3756
 
 
3757
 
 
3758
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3759
 
$as_echo "$_am_result" >&6; }
3760
 
rm -f confinc confmf
3761
 
 
3762
 
@%:@ Check whether --enable-dependency-tracking was given.
3763
 
if test "${enable_dependency_tracking+set}" = set; then :
3764
 
  enableval=$enable_dependency_tracking; 
3765
 
fi
3766
 
 
3767
 
if test "x$enable_dependency_tracking" != xno; then
3768
 
  am_depcomp="$ac_aux_dir/depcomp"
3769
 
  AMDEPBACKSLASH='\'
3770
 
  am__nodep='_no'
3771
 
fi
3772
 
 if test "x$enable_dependency_tracking" != xno; then
3773
 
  AMDEP_TRUE=
3774
 
  AMDEP_FALSE='#'
3775
 
else
3776
 
  AMDEP_TRUE='#'
3777
 
  AMDEP_FALSE=
3778
 
fi
3779
 
 
3780
 
 
3781
 
 
3782
 
depcc="$CC"   am_compiler_list=
3783
 
 
3784
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3785
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3786
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3787
 
  $as_echo_n "(cached) " >&6
3788
 
else
3789
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3790
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3791
 
  # making bogus files that we don't know about and never remove.  For
3792
 
  # instance it was reported that on HP-UX the gcc test will end up
3793
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3794
 
  # in D'.
3795
 
  rm -rf conftest.dir
3796
 
  mkdir conftest.dir
3797
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3798
 
  # using a relative directory.
3799
 
  cp "$am_depcomp" conftest.dir
3800
 
  cd conftest.dir
3801
 
  # We will build objects and dependencies in a subdirectory because
3802
 
  # it helps to detect inapplicable dependency modes.  For instance
3803
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3804
 
  # side effect of compilation, but ICC will put the dependencies in
3805
 
  # the current directory while Tru64 will put them in the object
3806
 
  # directory.
3807
 
  mkdir sub
3808
 
 
3809
 
  am_cv_CC_dependencies_compiler_type=none
3810
 
  if test "$am_compiler_list" = ""; then
3811
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3812
 
  fi
3813
 
  am__universal=false
3814
 
  case " $depcc " in #(
3815
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3816
 
     esac
3817
 
 
3818
 
  for depmode in $am_compiler_list; do
3819
 
    # Setup a source with many dependencies, because some compilers
3820
 
    # like to wrap large dependency lists on column 80 (with \), and
3821
 
    # we should not choose a depcomp mode which is confused by this.
3822
 
    #
3823
 
    # We need to recreate these files for each test, as the compiler may
3824
 
    # overwrite some of them when testing with obscure command lines.
3825
 
    # This happens at least with the AIX C compiler.
3826
 
    : > sub/conftest.c
3827
 
    for i in 1 2 3 4 5 6; do
3828
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3829
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3830
 
      # Solaris 8's {/usr,}/bin/sh.
3831
 
      touch sub/conftst$i.h
3832
 
    done
3833
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3834
 
 
3835
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3836
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3837
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3838
 
    # versions had trouble with output in subdirs
3839
 
    am__obj=sub/conftest.${OBJEXT-o}
3840
 
    am__minus_obj="-o $am__obj"
3841
 
    case $depmode in
3842
 
    gcc)
3843
 
      # This depmode causes a compiler race in universal mode.
3844
 
      test "$am__universal" = false || continue
3845
 
      ;;
3846
 
    nosideeffect)
3847
 
      # after this tag, mechanisms are not by side-effect, so they'll
3848
 
      # only be used when explicitly requested
3849
 
      if test "x$enable_dependency_tracking" = xyes; then
3850
 
        continue
3851
 
      else
3852
 
        break
3853
 
      fi
3854
 
      ;;
3855
 
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3856
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3857
 
      # not run yet.  These depmodes are late enough in the game, and
3858
 
      # so weak that their functioning should not be impacted.
3859
 
      am__obj=conftest.${OBJEXT-o}
3860
 
      am__minus_obj=
3861
 
      ;;
3862
 
    none) break ;;
3863
 
    esac
3864
 
    if depmode=$depmode \
3865
 
       source=sub/conftest.c object=$am__obj \
3866
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3867
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3868
 
         >/dev/null 2>conftest.err &&
3869
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3870
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3871
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3872
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3873
 
      # icc doesn't choke on unknown options, it will just issue warnings
3874
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3875
 
      # that says an option was ignored or not supported.
3876
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3877
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3878
 
      # The diagnosis changed in icc 8.0:
3879
 
      #   icc: Command line remark: option '-MP' not supported
3880
 
      if (grep 'ignoring option' conftest.err ||
3881
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3882
 
        am_cv_CC_dependencies_compiler_type=$depmode
3883
 
        break
3884
 
      fi
3885
 
    fi
3886
 
  done
3887
 
 
3888
 
  cd ..
3889
 
  rm -rf conftest.dir
3890
 
else
3891
 
  am_cv_CC_dependencies_compiler_type=none
3892
 
fi
3893
 
 
3894
 
fi
3895
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3896
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3897
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3898
 
 
3899
 
 if 
3900
 
  test "x$enable_dependency_tracking" != xno \
3901
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3902
 
  am__fastdepCC_TRUE=
3903
 
  am__fastdepCC_FALSE='#'
3904
 
else
3905
 
  am__fastdepCC_TRUE='#'
3906
 
  am__fastdepCC_FALSE=
3907
 
fi
3908
 
 
3909
 
 
3910
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3911
 
$as_echo_n "checking whether ln -s works... " >&6; }
3912
 
LN_S=$as_ln_s
3913
 
if test "$LN_S" = "ln -s"; then
3914
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3915
 
$as_echo "yes" >&6; }
3916
 
else
3917
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3918
 
$as_echo "no, using $LN_S" >&6; }
3919
 
fi
3920
 
 
3921
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3922
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3923
 
set x ${MAKE-make}
3924
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3925
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3926
 
  $as_echo_n "(cached) " >&6
3927
 
else
3928
 
  cat >conftest.make <<\_ACEOF
3929
 
SHELL = /bin/sh
3930
 
all:
3931
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3932
 
_ACEOF
3933
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3934
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3935
 
  *@@@%%%=?*=@@@%%%*)
3936
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3937
 
  *)
3938
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
3939
 
esac
3940
 
rm -f conftest.make
3941
 
fi
3942
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3943
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3944
 
$as_echo "yes" >&6; }
3945
 
  SET_MAKE=
3946
 
else
3947
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948
 
$as_echo "no" >&6; }
3949
 
  SET_MAKE="MAKE=${MAKE-make}"
3950
 
fi
3951
 
 
3952
 
# Extract the first word of "cd", so it can be a program name with args.
3953
 
set dummy cd; ac_word=$2
3954
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3955
 
$as_echo_n "checking for $ac_word... " >&6; }
3956
 
if ${ac_cv_prog_CD+:} false; then :
3957
 
  $as_echo_n "(cached) " >&6
3958
 
else
3959
 
  if test -n "$CD"; then
3960
 
  ac_cv_prog_CD="$CD" # Let the user override the test.
3961
 
else
3962
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963
 
for as_dir in $PATH
3964
 
do
3965
 
  IFS=$as_save_IFS
3966
 
  test -z "$as_dir" && as_dir=.
3967
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3968
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3969
 
    ac_cv_prog_CD=""
3970
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3971
 
    break 2
3972
 
  fi
3973
 
done
3974
 
  done
3975
 
IFS=$as_save_IFS
3976
 
 
3977
 
fi
3978
 
fi
3979
 
CD=$ac_cv_prog_CD
3980
 
if test -n "$CD"; then
3981
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CD" >&5
3982
 
$as_echo "$CD" >&6; }
3983
 
else
3984
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3985
 
$as_echo "no" >&6; }
3986
 
fi
3987
 
 
3988
 
 
3989
 
 
3990
 
case `pwd` in
3991
 
  *\ * | *\     *)
3992
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3993
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3994
 
esac
3995
 
 
3996
 
 
3997
 
 
3998
 
macro_version='2.4.2'
3999
 
macro_revision='1.3337'
4000
 
 
4001
 
    
4002
 
    
4003
 
    
4004
 
 
4005
 
 
4006
 
    
4007
 
    
4008
 
    
4009
 
 
4010
 
 
4011
 
 
4012
 
 
4013
 
ltmain="$ac_aux_dir/ltmain.sh"
4014
 
 
4015
 
# Make sure we can run config.sub.
4016
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4017
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4018
 
 
4019
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4020
 
$as_echo_n "checking build system type... " >&6; }
4021
 
if ${ac_cv_build+:} false; then :
4022
 
  $as_echo_n "(cached) " >&6
4023
 
else
4024
 
  ac_build_alias=$build_alias
4025
 
test "x$ac_build_alias" = x &&
4026
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4027
 
test "x$ac_build_alias" = x &&
4028
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4029
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4030
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4031
 
 
4032
 
fi
4033
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4034
 
$as_echo "$ac_cv_build" >&6; }
4035
 
case $ac_cv_build in
4036
 
*-*-*) ;;
4037
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4038
 
esac
4039
 
build=$ac_cv_build
4040
 
ac_save_IFS=$IFS; IFS='-'
4041
 
set x $ac_cv_build
4042
 
shift
4043
 
build_cpu=$1
4044
 
build_vendor=$2
4045
 
shift; shift
4046
 
# Remember, the first character of IFS is used to create $*,
4047
 
# except with old shells:
4048
 
build_os=$*
4049
 
IFS=$ac_save_IFS
4050
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4051
 
 
4052
 
 
4053
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4054
 
$as_echo_n "checking host system type... " >&6; }
4055
 
if ${ac_cv_host+:} false; then :
4056
 
  $as_echo_n "(cached) " >&6
4057
 
else
4058
 
  if test "x$host_alias" = x; then
4059
 
  ac_cv_host=$ac_cv_build
4060
 
else
4061
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4062
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4063
 
fi
4064
 
 
4065
 
fi
4066
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4067
 
$as_echo "$ac_cv_host" >&6; }
4068
 
case $ac_cv_host in
4069
 
*-*-*) ;;
4070
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4071
 
esac
4072
 
host=$ac_cv_host
4073
 
ac_save_IFS=$IFS; IFS='-'
4074
 
set x $ac_cv_host
4075
 
shift
4076
 
host_cpu=$1
4077
 
host_vendor=$2
4078
 
shift; shift
4079
 
# Remember, the first character of IFS is used to create $*,
4080
 
# except with old shells:
4081
 
host_os=$*
4082
 
IFS=$ac_save_IFS
4083
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4084
 
 
4085
 
 
4086
 
# Backslashify metacharacters that are still active within
4087
 
# double-quoted strings.
4088
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4089
 
 
4090
 
# Same as above, but do not quote variable references.
4091
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
4092
 
 
4093
 
# Sed substitution to delay expansion of an escaped shell variable in a
4094
 
# double_quote_subst'ed string.
4095
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4096
 
 
4097
 
# Sed substitution to delay expansion of an escaped single quote.
4098
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4099
 
 
4100
 
# Sed substitution to avoid accidental globbing in evaled expressions
4101
 
no_glob_subst='s/\*/\\\*/g'
4102
 
 
4103
 
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4104
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4105
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4106
 
 
4107
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4108
 
$as_echo_n "checking how to print strings... " >&6; }
4109
 
# Test print first, because it will be a builtin if present.
4110
 
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4111
 
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4112
 
  ECHO='print -r --'
4113
 
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4114
 
  ECHO='printf %s\n'
4115
 
else
4116
 
  # Use this function as a fallback that always works.
4117
 
  func_fallback_echo ()
4118
 
  {
4119
 
    eval 'cat <<_LTECHO_EOF
4120
 
$1
4121
 
_LTECHO_EOF'
4122
 
  }
4123
 
  ECHO='func_fallback_echo'
4124
 
fi
4125
 
 
4126
 
# func_echo_all arg...
4127
 
# Invoke $ECHO with all args, space-separated.
4128
 
func_echo_all ()
4129
 
{
4130
 
    $ECHO "" 
4131
 
}
4132
 
 
4133
 
case "$ECHO" in
4134
 
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4135
 
$as_echo "printf" >&6; } ;;
4136
 
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4137
 
$as_echo "print -r" >&6; } ;;
4138
 
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4139
 
$as_echo "cat" >&6; } ;;
4140
 
esac
4141
 
 
4142
 
 
4143
 
 
4144
 
 
4145
 
    
4146
 
    
4147
 
    
4148
 
 
4149
 
 
4150
 
    
4151
 
    
4152
 
    
4153
 
 
4154
 
 
4155
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4156
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4157
 
if ${ac_cv_path_SED+:} false; then :
4158
 
  $as_echo_n "(cached) " >&6
4159
 
else
4160
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4161
 
     for ac_i in 1 2 3 4 5 6 7; do
4162
 
       ac_script="$ac_script$as_nl$ac_script"
4163
 
     done
4164
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4165
 
     { ac_script=; unset ac_script;}
4166
 
     if test -z "$SED"; then
4167
 
  ac_path_SED_found=false
4168
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4169
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4170
 
for as_dir in $PATH
4171
 
do
4172
 
  IFS=$as_save_IFS
4173
 
  test -z "$as_dir" && as_dir=.
4174
 
    for ac_prog in sed gsed; do
4175
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4176
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4177
 
      as_fn_executable_p "$ac_path_SED" || continue
4178
 
# Check for GNU ac_path_SED and select it if it is found.
4179
 
  # Check for GNU $ac_path_SED
4180
 
case `"$ac_path_SED" --version 2>&1` in
4181
 
*GNU*)
4182
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4183
 
*)
4184
 
  ac_count=0
4185
 
  $as_echo_n 0123456789 >"conftest.in"
4186
 
  while :
4187
 
  do
4188
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4189
 
    mv "conftest.tmp" "conftest.in"
4190
 
    cp "conftest.in" "conftest.nl"
4191
 
    $as_echo '' >> "conftest.nl"
4192
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4193
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4194
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4195
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4196
 
      # Best one so far, save it but keep looking for a better one
4197
 
      ac_cv_path_SED="$ac_path_SED"
4198
 
      ac_path_SED_max=$ac_count
4199
 
    fi
4200
 
    # 10*(2^10) chars as input seems more than enough
4201
 
    test $ac_count -gt 10 && break
4202
 
  done
4203
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4204
 
esac
4205
 
 
4206
 
      $ac_path_SED_found && break 3
4207
 
    done
4208
 
  done
4209
 
  done
4210
 
IFS=$as_save_IFS
4211
 
  if test -z "$ac_cv_path_SED"; then
4212
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4213
 
  fi
4214
 
else
4215
 
  ac_cv_path_SED=$SED
4216
 
fi
4217
 
 
4218
 
fi
4219
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4220
 
$as_echo "$ac_cv_path_SED" >&6; }
4221
 
 SED="$ac_cv_path_SED"
4222
 
  rm -f conftest.sed
4223
 
 
4224
 
test -z "$SED" && SED=sed
4225
 
Xsed="$SED -e 1s/^X//"
4226
 
 
4227
 
    
4228
 
    
4229
 
    
4230
 
 
4231
 
 
4232
 
    
4233
 
    
4234
 
    
4235
 
 
4236
 
 
4237
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4238
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4239
 
if ${ac_cv_path_GREP+:} false; then :
4240
 
  $as_echo_n "(cached) " >&6
4241
 
else
4242
 
  if test -z "$GREP"; then
4243
 
  ac_path_GREP_found=false
4244
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4245
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4246
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4247
 
do
4248
 
  IFS=$as_save_IFS
4249
 
  test -z "$as_dir" && as_dir=.
4250
 
    for ac_prog in grep ggrep; do
4251
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4252
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4253
 
      as_fn_executable_p "$ac_path_GREP" || continue
4254
 
# Check for GNU ac_path_GREP and select it if it is found.
4255
 
  # Check for GNU $ac_path_GREP
4256
 
case `"$ac_path_GREP" --version 2>&1` in
4257
 
*GNU*)
4258
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4259
 
*)
4260
 
  ac_count=0
4261
 
  $as_echo_n 0123456789 >"conftest.in"
4262
 
  while :
4263
 
  do
4264
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4265
 
    mv "conftest.tmp" "conftest.in"
4266
 
    cp "conftest.in" "conftest.nl"
4267
 
    $as_echo 'GREP' >> "conftest.nl"
4268
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4269
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4270
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4271
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4272
 
      # Best one so far, save it but keep looking for a better one
4273
 
      ac_cv_path_GREP="$ac_path_GREP"
4274
 
      ac_path_GREP_max=$ac_count
4275
 
    fi
4276
 
    # 10*(2^10) chars as input seems more than enough
4277
 
    test $ac_count -gt 10 && break
4278
 
  done
4279
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4280
 
esac
4281
 
 
4282
 
      $ac_path_GREP_found && break 3
4283
 
    done
4284
 
  done
4285
 
  done
4286
 
IFS=$as_save_IFS
4287
 
  if test -z "$ac_cv_path_GREP"; then
4288
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4289
 
  fi
4290
 
else
4291
 
  ac_cv_path_GREP=$GREP
4292
 
fi
4293
 
 
4294
 
fi
4295
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4296
 
$as_echo "$ac_cv_path_GREP" >&6; }
4297
 
 GREP="$ac_cv_path_GREP"
4298
 
 
4299
 
 
4300
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4301
 
$as_echo_n "checking for egrep... " >&6; }
4302
 
if ${ac_cv_path_EGREP+:} false; then :
4303
 
  $as_echo_n "(cached) " >&6
4304
 
else
4305
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4306
 
   then ac_cv_path_EGREP="$GREP -E"
4307
 
   else
4308
 
     if test -z "$EGREP"; then
4309
 
  ac_path_EGREP_found=false
4310
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4311
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4313
 
do
4314
 
  IFS=$as_save_IFS
4315
 
  test -z "$as_dir" && as_dir=.
4316
 
    for ac_prog in egrep; do
4317
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4318
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4319
 
      as_fn_executable_p "$ac_path_EGREP" || continue
4320
 
# Check for GNU ac_path_EGREP and select it if it is found.
4321
 
  # Check for GNU $ac_path_EGREP
4322
 
case `"$ac_path_EGREP" --version 2>&1` in
4323
 
*GNU*)
4324
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4325
 
*)
4326
 
  ac_count=0
4327
 
  $as_echo_n 0123456789 >"conftest.in"
4328
 
  while :
4329
 
  do
4330
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4331
 
    mv "conftest.tmp" "conftest.in"
4332
 
    cp "conftest.in" "conftest.nl"
4333
 
    $as_echo 'EGREP' >> "conftest.nl"
4334
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4335
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4336
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4337
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4338
 
      # Best one so far, save it but keep looking for a better one
4339
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4340
 
      ac_path_EGREP_max=$ac_count
4341
 
    fi
4342
 
    # 10*(2^10) chars as input seems more than enough
4343
 
    test $ac_count -gt 10 && break
4344
 
  done
4345
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4346
 
esac
4347
 
 
4348
 
      $ac_path_EGREP_found && break 3
4349
 
    done
4350
 
  done
4351
 
  done
4352
 
IFS=$as_save_IFS
4353
 
  if test -z "$ac_cv_path_EGREP"; then
4354
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4355
 
  fi
4356
 
else
4357
 
  ac_cv_path_EGREP=$EGREP
4358
 
fi
4359
 
 
4360
 
   fi
4361
 
fi
4362
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4363
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4364
 
 EGREP="$ac_cv_path_EGREP"
4365
 
 
4366
 
 
4367
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4368
 
$as_echo_n "checking for fgrep... " >&6; }
4369
 
if ${ac_cv_path_FGREP+:} false; then :
4370
 
  $as_echo_n "(cached) " >&6
4371
 
else
4372
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4373
 
   then ac_cv_path_FGREP="$GREP -F"
4374
 
   else
4375
 
     if test -z "$FGREP"; then
4376
 
  ac_path_FGREP_found=false
4377
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4378
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4379
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4380
 
do
4381
 
  IFS=$as_save_IFS
4382
 
  test -z "$as_dir" && as_dir=.
4383
 
    for ac_prog in fgrep; do
4384
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4385
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4386
 
      as_fn_executable_p "$ac_path_FGREP" || continue
4387
 
# Check for GNU ac_path_FGREP and select it if it is found.
4388
 
  # Check for GNU $ac_path_FGREP
4389
 
case `"$ac_path_FGREP" --version 2>&1` in
4390
 
*GNU*)
4391
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4392
 
*)
4393
 
  ac_count=0
4394
 
  $as_echo_n 0123456789 >"conftest.in"
4395
 
  while :
4396
 
  do
4397
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4398
 
    mv "conftest.tmp" "conftest.in"
4399
 
    cp "conftest.in" "conftest.nl"
4400
 
    $as_echo 'FGREP' >> "conftest.nl"
4401
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4402
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4403
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4404
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4405
 
      # Best one so far, save it but keep looking for a better one
4406
 
      ac_cv_path_FGREP="$ac_path_FGREP"
4407
 
      ac_path_FGREP_max=$ac_count
4408
 
    fi
4409
 
    # 10*(2^10) chars as input seems more than enough
4410
 
    test $ac_count -gt 10 && break
4411
 
  done
4412
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4413
 
esac
4414
 
 
4415
 
      $ac_path_FGREP_found && break 3
4416
 
    done
4417
 
  done
4418
 
  done
4419
 
IFS=$as_save_IFS
4420
 
  if test -z "$ac_cv_path_FGREP"; then
4421
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4422
 
  fi
4423
 
else
4424
 
  ac_cv_path_FGREP=$FGREP
4425
 
fi
4426
 
 
4427
 
   fi
4428
 
fi
4429
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4430
 
$as_echo "$ac_cv_path_FGREP" >&6; }
4431
 
 FGREP="$ac_cv_path_FGREP"
4432
 
 
4433
 
 
4434
 
test -z "$GREP" && GREP=grep
4435
 
 
4436
 
    
4437
 
    
4438
 
    
4439
 
 
4440
 
 
4441
 
    
4442
 
    
4443
 
    
4444
 
 
4445
 
 
4446
 
    
4447
 
    
4448
 
    
4449
 
 
4450
 
 
4451
 
 
4452
 
 
4453
 
 
4454
 
@%:@ Check whether --with-gnu-ld was given.
4455
 
if test "${with_gnu_ld+set}" = set; then :
4456
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4457
 
else
4458
 
  with_gnu_ld=no
4459
 
fi
4460
 
 
4461
 
ac_prog=ld
4462
 
if test "$GCC" = yes; then
4463
 
  # Check if gcc -print-prog-name=ld gives a path.
4464
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4465
 
$as_echo_n "checking for ld used by $CC... " >&6; }
4466
 
  case $host in
4467
 
  *-*-mingw*)
4468
 
    # gcc leaves a trailing carriage return which upsets mingw
4469
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4470
 
  *)
4471
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4472
 
  esac
4473
 
  case $ac_prog in
4474
 
    # Accept absolute paths.
4475
 
    [\\/]* | ?:[\\/]*)
4476
 
      re_direlt='/[^/][^/]*/\.\./'
4477
 
      # Canonicalize the pathname of ld
4478
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4479
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4480
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4481
 
      done
4482
 
      test -z "$LD" && LD="$ac_prog"
4483
 
      ;;
4484
 
  "")
4485
 
    # If it fails, then pretend we aren't using GCC.
4486
 
    ac_prog=ld
4487
 
    ;;
4488
 
  *)
4489
 
    # If it is relative, then search for the first ld in PATH.
4490
 
    with_gnu_ld=unknown
4491
 
    ;;
4492
 
  esac
4493
 
elif test "$with_gnu_ld" = yes; then
4494
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4495
 
$as_echo_n "checking for GNU ld... " >&6; }
4496
 
else
4497
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4498
 
$as_echo_n "checking for non-GNU ld... " >&6; }
4499
 
fi
4500
 
if ${lt_cv_path_LD+:} false; then :
4501
 
  $as_echo_n "(cached) " >&6
4502
 
else
4503
 
  if test -z "$LD"; then
4504
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4505
 
  for ac_dir in $PATH; do
4506
 
    IFS="$lt_save_ifs"
4507
 
    test -z "$ac_dir" && ac_dir=.
4508
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4509
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
4510
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
4511
 
      # but apparently some variants of GNU ld only accept -v.
4512
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
4513
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4514
 
      *GNU* | *'with BFD'*)
4515
 
        test "$with_gnu_ld" != no && break
4516
 
        ;;
4517
 
      *)
4518
 
        test "$with_gnu_ld" != yes && break
4519
 
        ;;
4520
 
      esac
4521
 
    fi
4522
 
  done
4523
 
  IFS="$lt_save_ifs"
4524
 
else
4525
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4526
 
fi
4527
 
fi
4528
 
 
4529
 
LD="$lt_cv_path_LD"
4530
 
if test -n "$LD"; then
4531
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4532
 
$as_echo "$LD" >&6; }
4533
 
else
4534
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535
 
$as_echo "no" >&6; }
4536
 
fi
4537
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4538
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4539
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4540
 
if ${lt_cv_prog_gnu_ld+:} false; then :
4541
 
  $as_echo_n "(cached) " >&6
4542
 
else
4543
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4544
 
case `$LD -v 2>&1 </dev/null` in
4545
 
*GNU* | *'with BFD'*)
4546
 
  lt_cv_prog_gnu_ld=yes
4547
 
  ;;
4548
 
*)
4549
 
  lt_cv_prog_gnu_ld=no
4550
 
  ;;
4551
 
esac
4552
 
fi
4553
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4554
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4555
 
with_gnu_ld=$lt_cv_prog_gnu_ld
4556
 
 
4557
 
 
4558
 
 
4559
 
 
4560
 
    
4561
 
    
4562
 
    
4563
 
 
4564
 
 
4565
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4566
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4567
 
if ${lt_cv_path_NM+:} false; then :
4568
 
  $as_echo_n "(cached) " >&6
4569
 
else
4570
 
  if test -n "$NM"; then
4571
 
  # Let the user override the test.
4572
 
  lt_cv_path_NM="$NM"
4573
 
else
4574
 
  lt_nm_to_check="${ac_tool_prefix}nm"
4575
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4576
 
    lt_nm_to_check="$lt_nm_to_check nm"
4577
 
  fi
4578
 
  for lt_tmp_nm in $lt_nm_to_check; do
4579
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4580
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4581
 
      IFS="$lt_save_ifs"
4582
 
      test -z "$ac_dir" && ac_dir=.
4583
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
4584
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4585
 
        # Check to see if the nm accepts a BSD-compat flag.
4586
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4587
 
        #   nm: unknown option "B" ignored
4588
 
        # Tru64's nm complains that /dev/null is an invalid object file
4589
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4590
 
        */dev/null* | *'Invalid file or object type'*)
4591
 
          lt_cv_path_NM="$tmp_nm -B"
4592
 
          break
4593
 
          ;;
4594
 
        *)
4595
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4596
 
          */dev/null*)
4597
 
            lt_cv_path_NM="$tmp_nm -p"
4598
 
            break
4599
 
            ;;
4600
 
          *)
4601
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4602
 
            continue # so that we can try to find one that supports BSD flags
4603
 
            ;;
4604
 
          esac
4605
 
          ;;
4606
 
        esac
4607
 
      fi
4608
 
    done
4609
 
    IFS="$lt_save_ifs"
4610
 
  done
4611
 
  : ${lt_cv_path_NM=no}
4612
 
fi
4613
 
fi
4614
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4615
 
$as_echo "$lt_cv_path_NM" >&6; }
4616
 
if test "$lt_cv_path_NM" != "no"; then
4617
 
  NM="$lt_cv_path_NM"
4618
 
else
4619
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
4620
 
  if test -n "$DUMPBIN"; then :
4621
 
    # Let the user override the test.
4622
 
  else
4623
 
    if test -n "$ac_tool_prefix"; then
4624
 
  for ac_prog in dumpbin "link -dump"
4625
 
  do
4626
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4627
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4628
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4629
 
$as_echo_n "checking for $ac_word... " >&6; }
4630
 
if ${ac_cv_prog_DUMPBIN+:} false; then :
4631
 
  $as_echo_n "(cached) " >&6
4632
 
else
4633
 
  if test -n "$DUMPBIN"; then
4634
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4635
 
else
4636
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4637
 
for as_dir in $PATH
4638
 
do
4639
 
  IFS=$as_save_IFS
4640
 
  test -z "$as_dir" && as_dir=.
4641
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4642
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4643
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4644
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4645
 
    break 2
4646
 
  fi
4647
 
done
4648
 
  done
4649
 
IFS=$as_save_IFS
4650
 
 
4651
 
fi
4652
 
fi
4653
 
DUMPBIN=$ac_cv_prog_DUMPBIN
4654
 
if test -n "$DUMPBIN"; then
4655
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4656
 
$as_echo "$DUMPBIN" >&6; }
4657
 
else
4658
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4659
 
$as_echo "no" >&6; }
4660
 
fi
4661
 
 
4662
 
 
4663
 
    test -n "$DUMPBIN" && break
4664
 
  done
4665
 
fi
4666
 
if test -z "$DUMPBIN"; then
4667
 
  ac_ct_DUMPBIN=$DUMPBIN
4668
 
  for ac_prog in dumpbin "link -dump"
4669
 
do
4670
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4671
 
set dummy $ac_prog; ac_word=$2
4672
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4673
 
$as_echo_n "checking for $ac_word... " >&6; }
4674
 
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4675
 
  $as_echo_n "(cached) " >&6
4676
 
else
4677
 
  if test -n "$ac_ct_DUMPBIN"; then
4678
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4679
 
else
4680
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4681
 
for as_dir in $PATH
4682
 
do
4683
 
  IFS=$as_save_IFS
4684
 
  test -z "$as_dir" && as_dir=.
4685
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4686
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4687
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4688
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4689
 
    break 2
4690
 
  fi
4691
 
done
4692
 
  done
4693
 
IFS=$as_save_IFS
4694
 
 
4695
 
fi
4696
 
fi
4697
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4698
 
if test -n "$ac_ct_DUMPBIN"; then
4699
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4700
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
4701
 
else
4702
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4703
 
$as_echo "no" >&6; }
4704
 
fi
4705
 
 
4706
 
 
4707
 
  test -n "$ac_ct_DUMPBIN" && break
4708
 
done
4709
 
 
4710
 
  if test "x$ac_ct_DUMPBIN" = x; then
4711
 
    DUMPBIN=":"
4712
 
  else
4713
 
    case $cross_compiling:$ac_tool_warned in
4714
 
yes:)
4715
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4716
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4717
 
ac_tool_warned=yes ;;
4718
 
esac
4719
 
    DUMPBIN=$ac_ct_DUMPBIN
4720
 
  fi
4721
 
fi
4722
 
 
4723
 
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4724
 
    *COFF*)
4725
 
      DUMPBIN="$DUMPBIN -symbols"
4726
 
      ;;
4727
 
    *)
4728
 
      DUMPBIN=:
4729
 
      ;;
4730
 
    esac
4731
 
  fi
4732
 
  
4733
 
  if test "$DUMPBIN" != ":"; then
4734
 
    NM="$DUMPBIN"
4735
 
  fi
4736
 
fi
4737
 
test -z "$NM" && NM=nm
4738
 
 
4739
 
 
4740
 
    
4741
 
    
4742
 
    
4743
 
 
4744
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4745
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4746
 
if ${lt_cv_nm_interface+:} false; then :
4747
 
  $as_echo_n "(cached) " >&6
4748
 
else
4749
 
  lt_cv_nm_interface="BSD nm"
4750
 
  echo "int some_variable = 0;" > conftest.$ac_ext
4751
 
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4752
 
  (eval "$ac_compile" 2>conftest.err)
4753
 
  cat conftest.err >&5
4754
 
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4755
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4756
 
  cat conftest.err >&5
4757
 
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4758
 
  cat conftest.out >&5
4759
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4760
 
    lt_cv_nm_interface="MS dumpbin"
4761
 
  fi
4762
 
  rm -f conftest*
4763
 
fi
4764
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4765
 
$as_echo "$lt_cv_nm_interface" >&6; }
4766
 
 
4767
 
# find the maximum length of command line arguments
4768
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4769
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4770
 
if ${lt_cv_sys_max_cmd_len+:} false; then :
4771
 
  $as_echo_n "(cached) " >&6
4772
 
else
4773
 
    i=0
4774
 
  teststring="ABCD"
4775
 
 
4776
 
  case $build_os in
4777
 
  msdosdjgpp*)
4778
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
4779
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
4780
 
    # during glob expansion).  Even if it were fixed, the result of this
4781
 
    # check would be larger than it should be.
4782
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4783
 
    ;;
4784
 
 
4785
 
  gnu*)
4786
 
    # Under GNU Hurd, this test is not required because there is
4787
 
    # no limit to the length of command line arguments.
4788
 
    # Libtool will interpret -1 as no limit whatsoever
4789
 
    lt_cv_sys_max_cmd_len=-1;
4790
 
    ;;
4791
 
 
4792
 
  cygwin* | mingw* | cegcc*)
4793
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
4794
 
    # about 5 minutes as the teststring grows exponentially.
4795
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
4796
 
    # you end up with a "frozen" computer, even though with patience
4797
 
    # the test eventually succeeds (with a max line length of 256k).
4798
 
    # Instead, let's just punt: use the minimum linelength reported by
4799
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
4800
 
    lt_cv_sys_max_cmd_len=8192;
4801
 
    ;;
4802
 
 
4803
 
  mint*)
4804
 
    # On MiNT this can take a long time and run out of memory.
4805
 
    lt_cv_sys_max_cmd_len=8192;
4806
 
    ;;
4807
 
 
4808
 
  amigaos*)
4809
 
    # On AmigaOS with pdksh, this test takes hours, literally.
4810
 
    # So we just punt and use a minimum line length of 8192.
4811
 
    lt_cv_sys_max_cmd_len=8192;
4812
 
    ;;
4813
 
 
4814
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4815
 
    # This has been around since 386BSD, at least.  Likely further.
4816
 
    if test -x /sbin/sysctl; then
4817
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4818
 
    elif test -x /usr/sbin/sysctl; then
4819
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4820
 
    else
4821
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4822
 
    fi
4823
 
    # And add a safety zone
4824
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4825
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4826
 
    ;;
4827
 
 
4828
 
  interix*)
4829
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4830
 
    lt_cv_sys_max_cmd_len=196608
4831
 
    ;;
4832
 
 
4833
 
  os2*)
4834
 
    # The test takes a long time on OS/2.
4835
 
    lt_cv_sys_max_cmd_len=8192
4836
 
    ;;
4837
 
 
4838
 
  osf*)
4839
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4840
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4841
 
    # nice to cause kernel panics so lets avoid the loop below.
4842
 
    # First set a reasonable default.
4843
 
    lt_cv_sys_max_cmd_len=16384
4844
 
    #
4845
 
    if test -x /sbin/sysconfig; then
4846
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4847
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4848
 
      esac
4849
 
    fi
4850
 
    ;;
4851
 
  sco3.2v5*)
4852
 
    lt_cv_sys_max_cmd_len=102400
4853
 
    ;;
4854
 
  sysv5* | sco5v6* | sysv4.2uw2*)
4855
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4856
 
    if test -n "$kargmax"; then
4857
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4858
 
    else
4859
 
      lt_cv_sys_max_cmd_len=32768
4860
 
    fi
4861
 
    ;;
4862
 
  *)
4863
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4864
 
    if test -n "$lt_cv_sys_max_cmd_len" && \
4865
 
        test undefined != "$lt_cv_sys_max_cmd_len"; then
4866
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4867
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4868
 
    else
4869
 
      # Make teststring a little bigger before we do anything with it.
4870
 
      # a 1K string should be a reasonable start.
4871
 
      for i in 1 2 3 4 5 6 7 8 ; do
4872
 
        teststring=$teststring$teststring
4873
 
      done
4874
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4875
 
      # If test is not a shell built-in, we'll probably end up computing a
4876
 
      # maximum length that is only half of the actual maximum length, but
4877
 
      # we can't tell.
4878
 
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4879
 
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4880
 
              test $i != 17 # 1/2 MB should be enough
4881
 
      do
4882
 
        i=`expr $i + 1`
4883
 
        teststring=$teststring$teststring
4884
 
      done
4885
 
      # Only check the string length outside the loop.
4886
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4887
 
      teststring=
4888
 
      # Add a significant safety factor because C++ compilers can tack on
4889
 
      # massive amounts of additional arguments before passing them to the
4890
 
      # linker.  It appears as though 1/2 is a usable value.
4891
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4892
 
    fi
4893
 
    ;;
4894
 
  esac
4895
 
 
4896
 
fi
4897
 
 
4898
 
if test -n $lt_cv_sys_max_cmd_len ; then
4899
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4900
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4901
 
else
4902
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4903
 
$as_echo "none" >&6; }
4904
 
fi
4905
 
max_cmd_len=$lt_cv_sys_max_cmd_len
4906
 
 
4907
 
    
4908
 
    
4909
 
    
4910
 
 
4911
 
 
4912
 
: ${CP="cp -f"}
4913
 
: ${MV="mv -f"}
4914
 
: ${RM="rm -f"}
4915
 
 
4916
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4917
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4918
 
# Try some XSI features
4919
 
xsi_shell=no
4920
 
( _lt_dummy="a/b/c"
4921
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4922
 
      = c,a/b,b/c, \
4923
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
4924
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4925
 
  && xsi_shell=yes
4926
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4927
 
$as_echo "$xsi_shell" >&6; }
4928
 
 
4929
 
 
4930
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4931
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4932
 
lt_shell_append=no
4933
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4934
 
    >/dev/null 2>&1 \
4935
 
  && lt_shell_append=yes
4936
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4937
 
$as_echo "$lt_shell_append" >&6; }
4938
 
 
4939
 
 
4940
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4941
 
  lt_unset=unset
4942
 
else
4943
 
  lt_unset=false
4944
 
fi
4945
 
 
4946
 
    
4947
 
    
4948
 
    
4949
 
 
4950
 
# test EBCDIC or ASCII
4951
 
case `echo X|tr X '\101'` in
4952
 
 A) # ASCII based system
4953
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4954
 
  lt_SP2NL='tr \040 \012'
4955
 
  lt_NL2SP='tr \015\012 \040\040'
4956
 
  ;;
4957
 
 *) # EBCDIC based system
4958
 
  lt_SP2NL='tr \100 \n'
4959
 
  lt_NL2SP='tr \r\n \100\100'
4960
 
  ;;
4961
 
esac
4962
 
 
4963
 
    
4964
 
    
4965
 
    
4966
 
 
4967
 
    
4968
 
    
4969
 
    
4970
 
 
4971
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4972
 
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4973
 
if ${lt_cv_to_host_file_cmd+:} false; then :
4974
 
  $as_echo_n "(cached) " >&6
4975
 
else
4976
 
  case $host in
4977
 
  *-*-mingw* )
4978
 
    case $build in
4979
 
      *-*-mingw* ) # actually msys
4980
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4981
 
        ;;
4982
 
      *-*-cygwin* )
4983
 
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4984
 
        ;;
4985
 
      * ) # otherwise, assume *nix
4986
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4987
 
        ;;
4988
 
    esac
4989
 
    ;;
4990
 
  *-*-cygwin* )
4991
 
    case $build in
4992
 
      *-*-mingw* ) # actually msys
4993
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4994
 
        ;;
4995
 
      *-*-cygwin* )
4996
 
        lt_cv_to_host_file_cmd=func_convert_file_noop
4997
 
        ;;
4998
 
      * ) # otherwise, assume *nix
4999
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5000
 
        ;;
5001
 
    esac
5002
 
    ;;
5003
 
  * ) # unhandled hosts (and "normal" native builds)
5004
 
    lt_cv_to_host_file_cmd=func_convert_file_noop
5005
 
    ;;
5006
 
esac
5007
 
 
5008
 
fi
5009
 
 
5010
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
5011
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5012
 
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5013
 
 
5014
 
    
5015
 
    
5016
 
    
5017
 
 
5018
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5019
 
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5020
 
if ${lt_cv_to_tool_file_cmd+:} false; then :
5021
 
  $as_echo_n "(cached) " >&6
5022
 
else
5023
 
  #assume ordinary cross tools, or native build.
5024
 
lt_cv_to_tool_file_cmd=func_convert_file_noop
5025
 
case $host in
5026
 
  *-*-mingw* )
5027
 
    case $build in
5028
 
      *-*-mingw* ) # actually msys
5029
 
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5030
 
        ;;
5031
 
    esac
5032
 
    ;;
5033
 
esac
5034
 
 
5035
 
fi
5036
 
 
5037
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5038
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5039
 
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5040
 
 
5041
 
    
5042
 
    
5043
 
    
5044
 
 
5045
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5046
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5047
 
if ${lt_cv_ld_reload_flag+:} false; then :
5048
 
  $as_echo_n "(cached) " >&6
5049
 
else
5050
 
  lt_cv_ld_reload_flag='-r'
5051
 
fi
5052
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5053
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5054
 
reload_flag=$lt_cv_ld_reload_flag
5055
 
case $reload_flag in
5056
 
"" | " "*) ;;
5057
 
*) reload_flag=" $reload_flag" ;;
5058
 
esac
5059
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5060
 
case $host_os in
5061
 
  cygwin* | mingw* | pw32* | cegcc*)
5062
 
    if test "$GCC" != yes; then
5063
 
      reload_cmds=false
5064
 
    fi
5065
 
    ;;
5066
 
  darwin*)
5067
 
    if test "$GCC" = yes; then
5068
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5069
 
    else
5070
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5071
 
    fi
5072
 
    ;;
5073
 
esac
5074
 
 
5075
 
    
5076
 
    
5077
 
    
5078
 
 
5079
 
    
5080
 
    
5081
 
    
5082
 
 
5083
 
if test -n "$ac_tool_prefix"; then
5084
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5085
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5086
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087
 
$as_echo_n "checking for $ac_word... " >&6; }
5088
 
if ${ac_cv_prog_OBJDUMP+:} false; then :
5089
 
  $as_echo_n "(cached) " >&6
5090
 
else
5091
 
  if test -n "$OBJDUMP"; then
5092
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5093
 
else
5094
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5095
 
for as_dir in $PATH
5096
 
do
5097
 
  IFS=$as_save_IFS
5098
 
  test -z "$as_dir" && as_dir=.
5099
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5100
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5101
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5102
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5103
 
    break 2
5104
 
  fi
5105
 
done
5106
 
  done
5107
 
IFS=$as_save_IFS
5108
 
 
5109
 
fi
5110
 
fi
5111
 
OBJDUMP=$ac_cv_prog_OBJDUMP
5112
 
if test -n "$OBJDUMP"; then
5113
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5114
 
$as_echo "$OBJDUMP" >&6; }
5115
 
else
5116
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117
 
$as_echo "no" >&6; }
5118
 
fi
5119
 
 
5120
 
 
5121
 
fi
5122
 
if test -z "$ac_cv_prog_OBJDUMP"; then
5123
 
  ac_ct_OBJDUMP=$OBJDUMP
5124
 
  # Extract the first word of "objdump", so it can be a program name with args.
5125
 
set dummy objdump; ac_word=$2
5126
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127
 
$as_echo_n "checking for $ac_word... " >&6; }
5128
 
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5129
 
  $as_echo_n "(cached) " >&6
5130
 
else
5131
 
  if test -n "$ac_ct_OBJDUMP"; then
5132
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5133
 
else
5134
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5135
 
for as_dir in $PATH
5136
 
do
5137
 
  IFS=$as_save_IFS
5138
 
  test -z "$as_dir" && as_dir=.
5139
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5140
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5141
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5142
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5143
 
    break 2
5144
 
  fi
5145
 
done
5146
 
  done
5147
 
IFS=$as_save_IFS
5148
 
 
5149
 
fi
5150
 
fi
5151
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5152
 
if test -n "$ac_ct_OBJDUMP"; then
5153
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5154
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
5155
 
else
5156
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157
 
$as_echo "no" >&6; }
5158
 
fi
5159
 
 
5160
 
  if test "x$ac_ct_OBJDUMP" = x; then
5161
 
    OBJDUMP="false"
5162
 
  else
5163
 
    case $cross_compiling:$ac_tool_warned in
5164
 
yes:)
5165
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5166
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5167
 
ac_tool_warned=yes ;;
5168
 
esac
5169
 
    OBJDUMP=$ac_ct_OBJDUMP
5170
 
  fi
5171
 
else
5172
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5173
 
fi
5174
 
 
5175
 
test -z "$OBJDUMP" && OBJDUMP=objdump
5176
 
 
5177
 
    
5178
 
    
5179
 
    
5180
 
 
5181
 
 
5182
 
 
5183
 
 
5184
 
 
5185
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5186
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5187
 
if ${lt_cv_deplibs_check_method+:} false; then :
5188
 
  $as_echo_n "(cached) " >&6
5189
 
else
5190
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5191
 
lt_cv_file_magic_test_file=
5192
 
lt_cv_deplibs_check_method='unknown'
5193
 
# Need to set the preceding variable on all platforms that support
5194
 
# interlibrary dependencies.
5195
 
# 'none' -- dependencies not supported.
5196
 
# `unknown' -- same as none, but documents that we really don't know.
5197
 
# 'pass_all' -- all dependencies passed with no checks.
5198
 
# 'test_compile' -- check by making test program.
5199
 
# 'file_magic [[regex]]' -- check by looking for files in library path
5200
 
# which responds to the $file_magic_cmd with a given extended regex.
5201
 
# If you have `file' or equivalent on your system and you're not sure
5202
 
# whether `pass_all' will *always* work, you probably want this one.
5203
 
 
5204
 
case $host_os in
5205
 
aix[4-9]*)
5206
 
  lt_cv_deplibs_check_method=pass_all
5207
 
  ;;
5208
 
 
5209
 
beos*)
5210
 
  lt_cv_deplibs_check_method=pass_all
5211
 
  ;;
5212
 
 
5213
 
bsdi[45]*)
5214
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5215
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
5216
 
  lt_cv_file_magic_test_file=/shlib/libc.so
5217
 
  ;;
5218
 
 
5219
 
cygwin*)
5220
 
  # func_win32_libid is a shell function defined in ltmain.sh
5221
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5222
 
  lt_cv_file_magic_cmd='func_win32_libid'
5223
 
  ;;
5224
 
 
5225
 
mingw* | pw32*)
5226
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
5227
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5228
 
  # unless we find 'file', for example because we are cross-compiling.
5229
 
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5230
 
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5231
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5232
 
    lt_cv_file_magic_cmd='func_win32_libid'
5233
 
  else
5234
 
    # Keep this pattern in sync with the one in func_win32_libid.
5235
 
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5236
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5237
 
  fi
5238
 
  ;;
5239
 
 
5240
 
cegcc*)
5241
 
  # use the weaker test based on 'objdump'. See mingw*.
5242
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5243
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5244
 
  ;;
5245
 
 
5246
 
darwin* | rhapsody*)
5247
 
  lt_cv_deplibs_check_method=pass_all
5248
 
  ;;
5249
 
 
5250
 
freebsd* | dragonfly*)
5251
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5252
 
    case $host_cpu in
5253
 
    i*86 )
5254
 
      # Not sure whether the presence of OpenBSD here was a mistake.
5255
 
      # Let's accept both of them until this is cleared up.
5256
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5257
 
      lt_cv_file_magic_cmd=/usr/bin/file
5258
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5259
 
      ;;
5260
 
    esac
5261
 
  else
5262
 
    lt_cv_deplibs_check_method=pass_all
5263
 
  fi
5264
 
  ;;
5265
 
 
5266
 
haiku*)
5267
 
  lt_cv_deplibs_check_method=pass_all
5268
 
  ;;
5269
 
 
5270
 
hpux10.20* | hpux11*)
5271
 
  lt_cv_file_magic_cmd=/usr/bin/file
5272
 
  case $host_cpu in
5273
 
  ia64*)
5274
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5275
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5276
 
    ;;
5277
 
  hppa*64*)
5278
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5279
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5280
 
    ;;
5281
 
  *)
5282
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5283
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5284
 
    ;;
5285
 
  esac
5286
 
  ;;
5287
 
 
5288
 
interix[3-9]*)
5289
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5290
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5291
 
  ;;
5292
 
 
5293
 
irix5* | irix6* | nonstopux*)
5294
 
  case $LD in
5295
 
  *-32|*"-32 ") libmagic=32-bit;;
5296
 
  *-n32|*"-n32 ") libmagic=N32;;
5297
 
  *-64|*"-64 ") libmagic=64-bit;;
5298
 
  *) libmagic=never-match;;
5299
 
  esac
5300
 
  lt_cv_deplibs_check_method=pass_all
5301
 
  ;;
5302
 
 
5303
 
# This must be glibc/ELF.
5304
 
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5305
 
  lt_cv_deplibs_check_method=pass_all
5306
 
  ;;
5307
 
 
5308
 
netbsd* | netbsdelf*-gnu)
5309
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5310
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5311
 
  else
5312
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5313
 
  fi
5314
 
  ;;
5315
 
 
5316
 
newos6*)
5317
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5318
 
  lt_cv_file_magic_cmd=/usr/bin/file
5319
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5320
 
  ;;
5321
 
 
5322
 
*nto* | *qnx*)
5323
 
  lt_cv_deplibs_check_method=pass_all
5324
 
  ;;
5325
 
 
5326
 
openbsd*)
5327
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5328
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5329
 
  else
5330
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5331
 
  fi
5332
 
  ;;
5333
 
 
5334
 
osf3* | osf4* | osf5*)
5335
 
  lt_cv_deplibs_check_method=pass_all
5336
 
  ;;
5337
 
 
5338
 
rdos*)
5339
 
  lt_cv_deplibs_check_method=pass_all
5340
 
  ;;
5341
 
 
5342
 
solaris*)
5343
 
  lt_cv_deplibs_check_method=pass_all
5344
 
  ;;
5345
 
 
5346
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5347
 
  lt_cv_deplibs_check_method=pass_all
5348
 
  ;;
5349
 
 
5350
 
sysv4 | sysv4.3*)
5351
 
  case $host_vendor in
5352
 
  motorola)
5353
 
    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]'
5354
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5355
 
    ;;
5356
 
  ncr)
5357
 
    lt_cv_deplibs_check_method=pass_all
5358
 
    ;;
5359
 
  sequent)
5360
 
    lt_cv_file_magic_cmd='/bin/file'
5361
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5362
 
    ;;
5363
 
  sni)
5364
 
    lt_cv_file_magic_cmd='/bin/file'
5365
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5366
 
    lt_cv_file_magic_test_file=/lib/libc.so
5367
 
    ;;
5368
 
  siemens)
5369
 
    lt_cv_deplibs_check_method=pass_all
5370
 
    ;;
5371
 
  pc)
5372
 
    lt_cv_deplibs_check_method=pass_all
5373
 
    ;;
5374
 
  esac
5375
 
  ;;
5376
 
 
5377
 
tpf*)
5378
 
  lt_cv_deplibs_check_method=pass_all
5379
 
  ;;
5380
 
esac
5381
 
 
5382
 
fi
5383
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5384
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5385
 
 
5386
 
file_magic_glob=
5387
 
want_nocaseglob=no
5388
 
if test "$build" = "$host"; then
5389
 
  case $host_os in
5390
 
  mingw* | pw32*)
5391
 
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5392
 
      want_nocaseglob=yes
5393
 
    else
5394
 
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5395
 
    fi
5396
 
    ;;
5397
 
  esac
5398
 
fi
5399
 
 
5400
 
file_magic_cmd=$lt_cv_file_magic_cmd
5401
 
deplibs_check_method=$lt_cv_deplibs_check_method
5402
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5403
 
 
5404
 
 
5405
 
    
5406
 
    
5407
 
    
5408
 
 
5409
 
 
5410
 
    
5411
 
    
5412
 
    
5413
 
 
5414
 
 
5415
 
    
5416
 
    
5417
 
    
5418
 
 
5419
 
 
5420
 
    
5421
 
    
5422
 
    
5423
 
 
5424
 
 
5425
 
if test -n "$ac_tool_prefix"; then
5426
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5427
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5428
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429
 
$as_echo_n "checking for $ac_word... " >&6; }
5430
 
if ${ac_cv_prog_DLLTOOL+:} false; then :
5431
 
  $as_echo_n "(cached) " >&6
5432
 
else
5433
 
  if test -n "$DLLTOOL"; then
5434
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5435
 
else
5436
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437
 
for as_dir in $PATH
5438
 
do
5439
 
  IFS=$as_save_IFS
5440
 
  test -z "$as_dir" && as_dir=.
5441
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5442
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5443
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5444
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445
 
    break 2
5446
 
  fi
5447
 
done
5448
 
  done
5449
 
IFS=$as_save_IFS
5450
 
 
5451
 
fi
5452
 
fi
5453
 
DLLTOOL=$ac_cv_prog_DLLTOOL
5454
 
if test -n "$DLLTOOL"; then
5455
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5456
 
$as_echo "$DLLTOOL" >&6; }
5457
 
else
5458
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459
 
$as_echo "no" >&6; }
5460
 
fi
5461
 
 
5462
 
 
5463
 
fi
5464
 
if test -z "$ac_cv_prog_DLLTOOL"; then
5465
 
  ac_ct_DLLTOOL=$DLLTOOL
5466
 
  # Extract the first word of "dlltool", so it can be a program name with args.
5467
 
set dummy dlltool; ac_word=$2
5468
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469
 
$as_echo_n "checking for $ac_word... " >&6; }
5470
 
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5471
 
  $as_echo_n "(cached) " >&6
5472
 
else
5473
 
  if test -n "$ac_ct_DLLTOOL"; then
5474
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5475
 
else
5476
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477
 
for as_dir in $PATH
5478
 
do
5479
 
  IFS=$as_save_IFS
5480
 
  test -z "$as_dir" && as_dir=.
5481
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5482
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5483
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5484
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485
 
    break 2
5486
 
  fi
5487
 
done
5488
 
  done
5489
 
IFS=$as_save_IFS
5490
 
 
5491
 
fi
5492
 
fi
5493
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5494
 
if test -n "$ac_ct_DLLTOOL"; then
5495
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5496
 
$as_echo "$ac_ct_DLLTOOL" >&6; }
5497
 
else
5498
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499
 
$as_echo "no" >&6; }
5500
 
fi
5501
 
 
5502
 
  if test "x$ac_ct_DLLTOOL" = x; then
5503
 
    DLLTOOL="false"
5504
 
  else
5505
 
    case $cross_compiling:$ac_tool_warned in
5506
 
yes:)
5507
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5508
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5509
 
ac_tool_warned=yes ;;
5510
 
esac
5511
 
    DLLTOOL=$ac_ct_DLLTOOL
5512
 
  fi
5513
 
else
5514
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
5515
 
fi
5516
 
 
5517
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
5518
 
 
5519
 
    
5520
 
    
5521
 
    
5522
 
 
5523
 
 
5524
 
 
5525
 
 
5526
 
 
5527
 
 
5528
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5529
 
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5530
 
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5531
 
  $as_echo_n "(cached) " >&6
5532
 
else
5533
 
  lt_cv_sharedlib_from_linklib_cmd='unknown'
5534
 
 
5535
 
case $host_os in
5536
 
cygwin* | mingw* | pw32* | cegcc*)
5537
 
  # two different shell functions defined in ltmain.sh
5538
 
  # decide which to use based on capabilities of $DLLTOOL
5539
 
  case `$DLLTOOL --help 2>&1` in
5540
 
  *--identify-strict*)
5541
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5542
 
    ;;
5543
 
  *)
5544
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5545
 
    ;;
5546
 
  esac
5547
 
  ;;
5548
 
*)
5549
 
  # fallback: assume linklib IS sharedlib
5550
 
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5551
 
  ;;
5552
 
esac
5553
 
 
5554
 
fi
5555
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5556
 
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5557
 
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5558
 
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5559
 
 
5560
 
 
5561
 
    
5562
 
    
5563
 
    
5564
 
 
5565
 
 
5566
 
 
5567
 
if test -n "$ac_tool_prefix"; then
5568
 
  for ac_prog in ar
5569
 
  do
5570
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5571
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5572
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573
 
$as_echo_n "checking for $ac_word... " >&6; }
5574
 
if ${ac_cv_prog_AR+:} false; then :
5575
 
  $as_echo_n "(cached) " >&6
5576
 
else
5577
 
  if test -n "$AR"; then
5578
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
5579
 
else
5580
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581
 
for as_dir in $PATH
5582
 
do
5583
 
  IFS=$as_save_IFS
5584
 
  test -z "$as_dir" && as_dir=.
5585
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5586
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5587
 
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5588
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589
 
    break 2
5590
 
  fi
5591
 
done
5592
 
  done
5593
 
IFS=$as_save_IFS
5594
 
 
5595
 
fi
5596
 
fi
5597
 
AR=$ac_cv_prog_AR
5598
 
if test -n "$AR"; then
5599
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5600
 
$as_echo "$AR" >&6; }
5601
 
else
5602
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5603
 
$as_echo "no" >&6; }
5604
 
fi
5605
 
 
5606
 
 
5607
 
    test -n "$AR" && break
5608
 
  done
5609
 
fi
5610
 
if test -z "$AR"; then
5611
 
  ac_ct_AR=$AR
5612
 
  for ac_prog in ar
5613
 
do
5614
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5615
 
set dummy $ac_prog; ac_word=$2
5616
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617
 
$as_echo_n "checking for $ac_word... " >&6; }
5618
 
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5619
 
  $as_echo_n "(cached) " >&6
5620
 
else
5621
 
  if test -n "$ac_ct_AR"; then
5622
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5623
 
else
5624
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5625
 
for as_dir in $PATH
5626
 
do
5627
 
  IFS=$as_save_IFS
5628
 
  test -z "$as_dir" && as_dir=.
5629
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5630
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5631
 
    ac_cv_prog_ac_ct_AR="$ac_prog"
5632
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5633
 
    break 2
5634
 
  fi
5635
 
done
5636
 
  done
5637
 
IFS=$as_save_IFS
5638
 
 
5639
 
fi
5640
 
fi
5641
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5642
 
if test -n "$ac_ct_AR"; then
5643
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5644
 
$as_echo "$ac_ct_AR" >&6; }
5645
 
else
5646
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647
 
$as_echo "no" >&6; }
5648
 
fi
5649
 
 
5650
 
 
5651
 
  test -n "$ac_ct_AR" && break
5652
 
done
5653
 
 
5654
 
  if test "x$ac_ct_AR" = x; then
5655
 
    AR="false"
5656
 
  else
5657
 
    case $cross_compiling:$ac_tool_warned in
5658
 
yes:)
5659
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5660
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5661
 
ac_tool_warned=yes ;;
5662
 
esac
5663
 
    AR=$ac_ct_AR
5664
 
  fi
5665
 
fi
5666
 
 
5667
 
: ${AR=ar}
5668
 
: ${AR_FLAGS=cru}
5669
 
 
5670
 
    
5671
 
    
5672
 
    
5673
 
 
5674
 
 
5675
 
    
5676
 
    
5677
 
    
5678
 
 
5679
 
 
5680
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5681
 
$as_echo_n "checking for archiver @FILE support... " >&6; }
5682
 
if ${lt_cv_ar_at_file+:} false; then :
5683
 
  $as_echo_n "(cached) " >&6
5684
 
else
5685
 
  lt_cv_ar_at_file=no
5686
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5687
 
/* end confdefs.h.  */
5688
 
 
5689
 
int
5690
 
main ()
5691
 
{
5692
 
 
5693
 
  ;
5694
 
  return 0;
5695
 
}
5696
 
_ACEOF
5697
 
if ac_fn_c_try_compile "$LINENO"; then :
5698
 
  echo conftest.$ac_objext > conftest.lst
5699
 
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5700
 
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5701
 
  (eval $lt_ar_try) 2>&5
5702
 
  ac_status=$?
5703
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5704
 
  test $ac_status = 0; }
5705
 
      if test "$ac_status" -eq 0; then
5706
 
        # Ensure the archiver fails upon bogus file names.
5707
 
        rm -f conftest.$ac_objext libconftest.a
5708
 
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5709
 
  (eval $lt_ar_try) 2>&5
5710
 
  ac_status=$?
5711
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5712
 
  test $ac_status = 0; }
5713
 
        if test "$ac_status" -ne 0; then
5714
 
          lt_cv_ar_at_file=@
5715
 
        fi
5716
 
      fi
5717
 
      rm -f conftest.* libconftest.a
5718
 
     
5719
 
fi
5720
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5721
 
  
5722
 
fi
5723
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5724
 
$as_echo "$lt_cv_ar_at_file" >&6; }
5725
 
 
5726
 
if test "x$lt_cv_ar_at_file" = xno; then
5727
 
  archiver_list_spec=
5728
 
else
5729
 
  archiver_list_spec=$lt_cv_ar_at_file
5730
 
fi
5731
 
 
5732
 
    
5733
 
    
5734
 
    
5735
 
 
5736
 
 
5737
 
 
5738
 
if test -n "$ac_tool_prefix"; then
5739
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5740
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
5741
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742
 
$as_echo_n "checking for $ac_word... " >&6; }
5743
 
if ${ac_cv_prog_STRIP+:} false; then :
5744
 
  $as_echo_n "(cached) " >&6
5745
 
else
5746
 
  if test -n "$STRIP"; then
5747
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5748
 
else
5749
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750
 
for as_dir in $PATH
5751
 
do
5752
 
  IFS=$as_save_IFS
5753
 
  test -z "$as_dir" && as_dir=.
5754
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5755
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5756
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5757
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758
 
    break 2
5759
 
  fi
5760
 
done
5761
 
  done
5762
 
IFS=$as_save_IFS
5763
 
 
5764
 
fi
5765
 
fi
5766
 
STRIP=$ac_cv_prog_STRIP
5767
 
if test -n "$STRIP"; then
5768
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5769
 
$as_echo "$STRIP" >&6; }
5770
 
else
5771
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772
 
$as_echo "no" >&6; }
5773
 
fi
5774
 
 
5775
 
 
5776
 
fi
5777
 
if test -z "$ac_cv_prog_STRIP"; then
5778
 
  ac_ct_STRIP=$STRIP
5779
 
  # Extract the first word of "strip", so it can be a program name with args.
5780
 
set dummy strip; ac_word=$2
5781
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5782
 
$as_echo_n "checking for $ac_word... " >&6; }
5783
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5784
 
  $as_echo_n "(cached) " >&6
5785
 
else
5786
 
  if test -n "$ac_ct_STRIP"; then
5787
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5788
 
else
5789
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790
 
for as_dir in $PATH
5791
 
do
5792
 
  IFS=$as_save_IFS
5793
 
  test -z "$as_dir" && as_dir=.
5794
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5795
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5796
 
    ac_cv_prog_ac_ct_STRIP="strip"
5797
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5798
 
    break 2
5799
 
  fi
5800
 
done
5801
 
  done
5802
 
IFS=$as_save_IFS
5803
 
 
5804
 
fi
5805
 
fi
5806
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5807
 
if test -n "$ac_ct_STRIP"; then
5808
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5809
 
$as_echo "$ac_ct_STRIP" >&6; }
5810
 
else
5811
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5812
 
$as_echo "no" >&6; }
5813
 
fi
5814
 
 
5815
 
  if test "x$ac_ct_STRIP" = x; then
5816
 
    STRIP=":"
5817
 
  else
5818
 
    case $cross_compiling:$ac_tool_warned in
5819
 
yes:)
5820
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5821
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5822
 
ac_tool_warned=yes ;;
5823
 
esac
5824
 
    STRIP=$ac_ct_STRIP
5825
 
  fi
5826
 
else
5827
 
  STRIP="$ac_cv_prog_STRIP"
5828
 
fi
5829
 
 
5830
 
test -z "$STRIP" && STRIP=:
5831
 
 
5832
 
    
5833
 
    
5834
 
    
5835
 
 
5836
 
 
5837
 
if test -n "$ac_tool_prefix"; then
5838
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5839
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5840
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5841
 
$as_echo_n "checking for $ac_word... " >&6; }
5842
 
if ${ac_cv_prog_RANLIB+:} false; then :
5843
 
  $as_echo_n "(cached) " >&6
5844
 
else
5845
 
  if test -n "$RANLIB"; then
5846
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5847
 
else
5848
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5849
 
for as_dir in $PATH
5850
 
do
5851
 
  IFS=$as_save_IFS
5852
 
  test -z "$as_dir" && as_dir=.
5853
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5854
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5855
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5856
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5857
 
    break 2
5858
 
  fi
5859
 
done
5860
 
  done
5861
 
IFS=$as_save_IFS
5862
 
 
5863
 
fi
5864
 
fi
5865
 
RANLIB=$ac_cv_prog_RANLIB
5866
 
if test -n "$RANLIB"; then
5867
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5868
 
$as_echo "$RANLIB" >&6; }
5869
 
else
5870
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5871
 
$as_echo "no" >&6; }
5872
 
fi
5873
 
 
5874
 
 
5875
 
fi
5876
 
if test -z "$ac_cv_prog_RANLIB"; then
5877
 
  ac_ct_RANLIB=$RANLIB
5878
 
  # Extract the first word of "ranlib", so it can be a program name with args.
5879
 
set dummy ranlib; ac_word=$2
5880
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5881
 
$as_echo_n "checking for $ac_word... " >&6; }
5882
 
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5883
 
  $as_echo_n "(cached) " >&6
5884
 
else
5885
 
  if test -n "$ac_ct_RANLIB"; then
5886
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5887
 
else
5888
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5889
 
for as_dir in $PATH
5890
 
do
5891
 
  IFS=$as_save_IFS
5892
 
  test -z "$as_dir" && as_dir=.
5893
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5894
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5895
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5896
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5897
 
    break 2
5898
 
  fi
5899
 
done
5900
 
  done
5901
 
IFS=$as_save_IFS
5902
 
 
5903
 
fi
5904
 
fi
5905
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5906
 
if test -n "$ac_ct_RANLIB"; then
5907
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5908
 
$as_echo "$ac_ct_RANLIB" >&6; }
5909
 
else
5910
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5911
 
$as_echo "no" >&6; }
5912
 
fi
5913
 
 
5914
 
  if test "x$ac_ct_RANLIB" = x; then
5915
 
    RANLIB=":"
5916
 
  else
5917
 
    case $cross_compiling:$ac_tool_warned in
5918
 
yes:)
5919
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5920
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5921
 
ac_tool_warned=yes ;;
5922
 
esac
5923
 
    RANLIB=$ac_ct_RANLIB
5924
 
  fi
5925
 
else
5926
 
  RANLIB="$ac_cv_prog_RANLIB"
5927
 
fi
5928
 
 
5929
 
test -z "$RANLIB" && RANLIB=:
5930
 
 
5931
 
    
5932
 
    
5933
 
    
5934
 
 
5935
 
 
5936
 
# Determine commands to create old-style static archives.
5937
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5938
 
old_postinstall_cmds='chmod 644 $oldlib'
5939
 
old_postuninstall_cmds=
5940
 
 
5941
 
if test -n "$RANLIB"; then
5942
 
  case $host_os in
5943
 
  openbsd*)
5944
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5945
 
    ;;
5946
 
  *)
5947
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5948
 
    ;;
5949
 
  esac
5950
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5951
 
fi
5952
 
 
5953
 
case $host_os in
5954
 
  darwin*)
5955
 
    lock_old_archive_extraction=yes ;;
5956
 
  *)
5957
 
    lock_old_archive_extraction=no ;;
5958
 
esac
5959
 
 
5960
 
    
5961
 
    
5962
 
    
5963
 
 
5964
 
 
5965
 
    
5966
 
    
5967
 
    
5968
 
 
5969
 
 
5970
 
    
5971
 
    
5972
 
    
5973
 
 
5974
 
 
5975
 
    
5976
 
    
5977
 
    
5978
 
 
5979
 
 
5980
 
 
5981
 
 
5982
 
    
5983
 
    
5984
 
    
5985
 
 
5986
 
    
5987
 
    
5988
 
    
5989
 
 
5990
 
    
5991
 
    
5992
 
    
5993
 
 
5994
 
    
5995
 
    
5996
 
    
5997
 
 
5998
 
# If no C compiler was specified, use CC.
5999
 
LTCC=${LTCC-"$CC"}
6000
 
 
6001
 
# If no C compiler flags were specified, use CFLAGS.
6002
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6003
 
 
6004
 
# Allow CC to be a program name with arguments.
6005
 
compiler=$CC
6006
 
 
6007
 
 
6008
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
6009
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6010
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6011
 
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6012
 
  $as_echo_n "(cached) " >&6
6013
 
else
6014
 
  
6015
 
# These are sane defaults that work on at least a few old systems.
6016
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6017
 
 
6018
 
# Character class describing NM global symbol codes.
6019
 
symcode='[BCDEGRST]'
6020
 
 
6021
 
# Regexp to match symbols that can be accessed directly from C.
6022
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6023
 
 
6024
 
# Define system-specific variables.
6025
 
case $host_os in
6026
 
aix*)
6027
 
  symcode='[BCDT]'
6028
 
  ;;
6029
 
cygwin* | mingw* | pw32* | cegcc*)
6030
 
  symcode='[ABCDGISTW]'
6031
 
  ;;
6032
 
hpux*)
6033
 
  if test "$host_cpu" = ia64; then
6034
 
    symcode='[ABCDEGRST]'
6035
 
  fi
6036
 
  ;;
6037
 
irix* | nonstopux*)
6038
 
  symcode='[BCDEGRST]'
6039
 
  ;;
6040
 
osf*)
6041
 
  symcode='[BCDEGQRST]'
6042
 
  ;;
6043
 
solaris*)
6044
 
  symcode='[BDRT]'
6045
 
  ;;
6046
 
sco3.2v5*)
6047
 
  symcode='[DT]'
6048
 
  ;;
6049
 
sysv4.2uw2*)
6050
 
  symcode='[DT]'
6051
 
  ;;
6052
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6053
 
  symcode='[ABDT]'
6054
 
  ;;
6055
 
sysv4)
6056
 
  symcode='[DFNSTU]'
6057
 
  ;;
6058
 
esac
6059
 
 
6060
 
# If we're using GNU nm, then use its standard symbol codes.
6061
 
case `$NM -V 2>&1` in
6062
 
*GNU* | *'with BFD'*)
6063
 
  symcode='[ABCDGIRSTW]' ;;
6064
 
esac
6065
 
 
6066
 
# Transform an extracted symbol line into a proper C declaration.
6067
 
# Some systems (esp. on ia64) link data and code symbols differently,
6068
 
# so use this general approach.
6069
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6070
 
 
6071
 
# Transform an extracted symbol line into symbol name and symbol address
6072
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6073
 
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'"
6074
 
 
6075
 
# Handle CRLF in mingw tool chain
6076
 
opt_cr=
6077
 
case $build_os in
6078
 
mingw*)
6079
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6080
 
  ;;
6081
 
esac
6082
 
 
6083
 
# Try without a prefix underscore, then with it.
6084
 
for ac_symprfx in "" "_"; do
6085
 
 
6086
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6087
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6088
 
 
6089
 
  # Write the raw and C identifiers.
6090
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6091
 
    # Fake it for dumpbin and say T for any non-static function
6092
 
    # and D for any global variable.
6093
 
    # Also find C++ and __fastcall symbols from MSVC++,
6094
 
    # which start with @ or ?.
6095
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6096
 
"     {last_section=section; section=\$ 3};"\
6097
 
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6098
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6099
 
"     \$ 0!~/External *\|/{next};"\
6100
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6101
 
"     {if(hide[section]) next};"\
6102
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6103
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6104
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6105
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6106
 
"     ' prfx=^$ac_symprfx"
6107
 
  else
6108
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6109
 
  fi
6110
 
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6111
 
 
6112
 
  # Check to see that the pipe works correctly.
6113
 
  pipe_works=no
6114
 
 
6115
 
  rm -f conftest*
6116
 
  cat > conftest.$ac_ext <<_LT_EOF
6117
 
#ifdef __cplusplus
6118
 
extern "C" {
6119
 
#endif
6120
 
char nm_test_var;
6121
 
void nm_test_func(void);
6122
 
void nm_test_func(void){}
6123
 
#ifdef __cplusplus
6124
 
}
6125
 
#endif
6126
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6127
 
_LT_EOF
6128
 
 
6129
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6130
 
  (eval $ac_compile) 2>&5
6131
 
  ac_status=$?
6132
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6133
 
  test $ac_status = 0; }; then
6134
 
    # Now try to grab the symbols.
6135
 
    nlist=conftest.nm
6136
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6137
 
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6138
 
  ac_status=$?
6139
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6140
 
  test $ac_status = 0; } && test -s "$nlist"; then
6141
 
      # Try sorting and uniquifying the output.
6142
 
      if sort "$nlist" | uniq > "$nlist"T; then
6143
 
        mv -f "$nlist"T "$nlist"
6144
 
      else
6145
 
        rm -f "$nlist"T
6146
 
      fi
6147
 
 
6148
 
      # Make sure that we snagged all the symbols we need.
6149
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6150
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6151
 
          cat <<_LT_EOF > conftest.$ac_ext
6152
 
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6153
 
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6154
 
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6155
 
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6156
 
# define LT@&t@_DLSYM_CONST
6157
 
#elif defined(__osf__)
6158
 
/* This system does not cope well with relocations in const data.  */
6159
 
# define LT@&t@_DLSYM_CONST
6160
 
#else
6161
 
# define LT@&t@_DLSYM_CONST const
6162
 
#endif
6163
 
 
6164
 
#ifdef __cplusplus
6165
 
extern "C" {
6166
 
#endif
6167
 
 
6168
 
_LT_EOF
6169
 
          # Now generate the symbol file.
6170
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6171
 
 
6172
 
          cat <<_LT_EOF >> conftest.$ac_ext
6173
 
 
6174
 
/* The mapping between symbol names and symbols.  */
6175
 
LT@&t@_DLSYM_CONST struct {
6176
 
  const char *name;
6177
 
  void       *address;
6178
 
}
6179
 
lt__PROGRAM__LTX_preloaded_symbols[] =
6180
 
{
6181
 
  { "@PROGRAM@", (void *) 0 },
6182
 
_LT_EOF
6183
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6184
 
          cat <<\_LT_EOF >> conftest.$ac_ext
6185
 
  {0, (void *) 0}
6186
 
};
6187
 
 
6188
 
/* This works around a problem in FreeBSD linker */
6189
 
#ifdef FREEBSD_WORKAROUND
6190
 
static const void *lt_preloaded_setup() {
6191
 
  return lt__PROGRAM__LTX_preloaded_symbols;
6192
 
}
6193
 
#endif
6194
 
 
6195
 
#ifdef __cplusplus
6196
 
}
6197
 
#endif
6198
 
_LT_EOF
6199
 
          # Now try linking the two files.
6200
 
          mv conftest.$ac_objext conftstm.$ac_objext
6201
 
          lt_globsym_save_LIBS=$LIBS
6202
 
          lt_globsym_save_CFLAGS=$CFLAGS
6203
 
          LIBS="conftstm.$ac_objext"
6204
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6205
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6206
 
  (eval $ac_link) 2>&5
6207
 
  ac_status=$?
6208
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6209
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6210
 
            pipe_works=yes
6211
 
          fi
6212
 
          LIBS=$lt_globsym_save_LIBS
6213
 
          CFLAGS=$lt_globsym_save_CFLAGS
6214
 
        else
6215
 
          echo "cannot find nm_test_func in $nlist" >&5
6216
 
        fi
6217
 
      else
6218
 
        echo "cannot find nm_test_var in $nlist" >&5
6219
 
      fi
6220
 
    else
6221
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6222
 
    fi
6223
 
  else
6224
 
    echo "$progname: failed program was:" >&5
6225
 
    cat conftest.$ac_ext >&5
6226
 
  fi
6227
 
  rm -rf conftest* conftst*
6228
 
 
6229
 
  # Do not use the global_symbol_pipe unless it works.
6230
 
  if test "$pipe_works" = yes; then
6231
 
    break
6232
 
  else
6233
 
    lt_cv_sys_global_symbol_pipe=
6234
 
  fi
6235
 
done
6236
 
 
6237
 
fi
6238
 
 
6239
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6240
 
  lt_cv_sys_global_symbol_to_cdecl=
6241
 
fi
6242
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6243
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6244
 
$as_echo "failed" >&6; }
6245
 
else
6246
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6247
 
$as_echo "ok" >&6; }
6248
 
fi
6249
 
 
6250
 
# Response file support.
6251
 
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6252
 
  nm_file_list_spec='@'
6253
 
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6254
 
  nm_file_list_spec='@'
6255
 
fi
6256
 
 
6257
 
 
6258
 
    
6259
 
    
6260
 
    
6261
 
 
6262
 
 
6263
 
    
6264
 
    
6265
 
    
6266
 
 
6267
 
 
6268
 
    
6269
 
    
6270
 
    
6271
 
 
6272
 
 
6273
 
    
6274
 
    
6275
 
    
6276
 
 
6277
 
 
6278
 
    
6279
 
    
6280
 
    
6281
 
 
6282
 
 
6283
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6284
 
$as_echo_n "checking for sysroot... " >&6; }
6285
 
 
6286
 
@%:@ Check whether --with-sysroot was given.
6287
 
if test "${with_sysroot+set}" = set; then :
6288
 
  withval=$with_sysroot; 
6289
 
else
6290
 
  with_sysroot=no
6291
 
fi
6292
 
 
6293
 
 
6294
 
lt_sysroot=
6295
 
case ${with_sysroot} in #(
6296
 
 yes)
6297
 
   if test "$GCC" = yes; then
6298
 
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6299
 
   fi
6300
 
   ;; #(
6301
 
 /*)
6302
 
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6303
 
   ;; #(
6304
 
 no|'')
6305
 
   ;; #(
6306
 
 *)
6307
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6308
 
$as_echo "${with_sysroot}" >&6; }
6309
 
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6310
 
   ;;
6311
 
esac
6312
 
 
6313
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6314
 
$as_echo "${lt_sysroot:-no}" >&6; }
6315
 
 
6316
 
    
6317
 
    
6318
 
    
6319
 
 
6320
 
@%:@ Check whether --enable-libtool-lock was given.
6321
 
if test "${enable_libtool_lock+set}" = set; then :
6322
 
  enableval=$enable_libtool_lock; 
6323
 
fi
6324
 
 
6325
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6326
 
 
6327
 
# Some flags need to be propagated to the compiler or linker for good
6328
 
# libtool support.
6329
 
case $host in
6330
 
ia64-*-hpux*)
6331
 
  # Find out which ABI we are using.
6332
 
  echo 'int i;' > conftest.$ac_ext
6333
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6334
 
  (eval $ac_compile) 2>&5
6335
 
  ac_status=$?
6336
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6337
 
  test $ac_status = 0; }; then
6338
 
    case `/usr/bin/file conftest.$ac_objext` in
6339
 
      *ELF-32*)
6340
 
        HPUX_IA64_MODE="32"
6341
 
        ;;
6342
 
      *ELF-64*)
6343
 
        HPUX_IA64_MODE="64"
6344
 
        ;;
6345
 
    esac
6346
 
  fi
6347
 
  rm -rf conftest*
6348
 
  ;;
6349
 
*-*-irix6*)
6350
 
  # Find out which ABI we are using.
6351
 
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6352
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6353
 
  (eval $ac_compile) 2>&5
6354
 
  ac_status=$?
6355
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6356
 
  test $ac_status = 0; }; then
6357
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
6358
 
      case `/usr/bin/file conftest.$ac_objext` in
6359
 
        *32-bit*)
6360
 
          LD="${LD-ld} -melf32bsmip"
6361
 
          ;;
6362
 
        *N32*)
6363
 
          LD="${LD-ld} -melf32bmipn32"
6364
 
          ;;
6365
 
        *64-bit*)
6366
 
          LD="${LD-ld} -melf64bmip"
6367
 
        ;;
6368
 
      esac
6369
 
    else
6370
 
      case `/usr/bin/file conftest.$ac_objext` in
6371
 
        *32-bit*)
6372
 
          LD="${LD-ld} -32"
6373
 
          ;;
6374
 
        *N32*)
6375
 
          LD="${LD-ld} -n32"
6376
 
          ;;
6377
 
        *64-bit*)
6378
 
          LD="${LD-ld} -64"
6379
 
          ;;
6380
 
      esac
6381
 
    fi
6382
 
  fi
6383
 
  rm -rf conftest*
6384
 
  ;;
6385
 
 
6386
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6387
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6388
 
  # Find out which ABI we are using.
6389
 
  echo 'int i;' > conftest.$ac_ext
6390
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6391
 
  (eval $ac_compile) 2>&5
6392
 
  ac_status=$?
6393
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6394
 
  test $ac_status = 0; }; then
6395
 
    case `/usr/bin/file conftest.o` in
6396
 
      *32-bit*)
6397
 
        case $host in
6398
 
          x86_64-*kfreebsd*-gnu)
6399
 
            LD="${LD-ld} -m elf_i386_fbsd"
6400
 
            ;;
6401
 
          x86_64-*linux*)
6402
 
            case `/usr/bin/file conftest.o` in
6403
 
              *x86-64*)
6404
 
                LD="${LD-ld} -m elf32_x86_64"
6405
 
                ;;
6406
 
              *)
6407
 
                LD="${LD-ld} -m elf_i386"
6408
 
                ;;
6409
 
            esac
6410
 
            ;;
6411
 
          ppc64-*linux*|powerpc64-*linux*)
6412
 
            LD="${LD-ld} -m elf32ppclinux"
6413
 
            ;;
6414
 
          s390x-*linux*)
6415
 
            LD="${LD-ld} -m elf_s390"
6416
 
            ;;
6417
 
          sparc64-*linux*)
6418
 
            LD="${LD-ld} -m elf32_sparc"
6419
 
            ;;
6420
 
        esac
6421
 
        ;;
6422
 
      *64-bit*)
6423
 
        case $host in
6424
 
          x86_64-*kfreebsd*-gnu)
6425
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
6426
 
            ;;
6427
 
          x86_64-*linux*)
6428
 
            LD="${LD-ld} -m elf_x86_64"
6429
 
            ;;
6430
 
          ppc*-*linux*|powerpc*-*linux*)
6431
 
            LD="${LD-ld} -m elf64ppc"
6432
 
            ;;
6433
 
          s390*-*linux*|s390*-*tpf*)
6434
 
            LD="${LD-ld} -m elf64_s390"
6435
 
            ;;
6436
 
          sparc*-*linux*)
6437
 
            LD="${LD-ld} -m elf64_sparc"
6438
 
            ;;
6439
 
        esac
6440
 
        ;;
6441
 
    esac
6442
 
  fi
6443
 
  rm -rf conftest*
6444
 
  ;;
6445
 
 
6446
 
*-*-sco3.2v5*)
6447
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6448
 
  SAVE_CFLAGS="$CFLAGS"
6449
 
  CFLAGS="$CFLAGS -belf"
6450
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6451
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6452
 
if ${lt_cv_cc_needs_belf+:} false; then :
6453
 
  $as_echo_n "(cached) " >&6
6454
 
else
6455
 
  ac_ext=c
6456
 
ac_cpp='$CPP $CPPFLAGS'
6457
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6458
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6459
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6460
 
 
6461
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6462
 
/* end confdefs.h.  */
6463
 
 
6464
 
int
6465
 
main ()
6466
 
{
6467
 
 
6468
 
  ;
6469
 
  return 0;
6470
 
}
6471
 
_ACEOF
6472
 
if ac_fn_c_try_link "$LINENO"; then :
6473
 
  lt_cv_cc_needs_belf=yes
6474
 
else
6475
 
  lt_cv_cc_needs_belf=no
6476
 
fi
6477
 
rm -f core conftest.err conftest.$ac_objext \
6478
 
    conftest$ac_exeext conftest.$ac_ext
6479
 
     ac_ext=c
6480
 
ac_cpp='$CPP $CPPFLAGS'
6481
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6482
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6483
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6484
 
 
6485
 
fi
6486
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6487
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6488
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6489
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6490
 
    CFLAGS="$SAVE_CFLAGS"
6491
 
  fi
6492
 
  ;;
6493
 
*-*solaris*)
6494
 
  # Find out which ABI we are using.
6495
 
  echo 'int i;' > conftest.$ac_ext
6496
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6497
 
  (eval $ac_compile) 2>&5
6498
 
  ac_status=$?
6499
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6500
 
  test $ac_status = 0; }; then
6501
 
    case `/usr/bin/file conftest.o` in
6502
 
    *64-bit*)
6503
 
      case $lt_cv_prog_gnu_ld in
6504
 
      yes*)
6505
 
        case $host in
6506
 
        i?86-*-solaris*)
6507
 
          LD="${LD-ld} -m elf_x86_64"
6508
 
          ;;
6509
 
        sparc*-*-solaris*)
6510
 
          LD="${LD-ld} -m elf64_sparc"
6511
 
          ;;
6512
 
        esac
6513
 
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6514
 
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6515
 
          LD="${LD-ld}_sol2"
6516
 
        fi
6517
 
        ;;
6518
 
      *)
6519
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6520
 
          LD="${LD-ld} -64"
6521
 
        fi
6522
 
        ;;
6523
 
      esac
6524
 
      ;;
6525
 
    esac
6526
 
  fi
6527
 
  rm -rf conftest*
6528
 
  ;;
6529
 
esac
6530
 
 
6531
 
need_locks="$enable_libtool_lock"
6532
 
 
6533
 
if test -n "$ac_tool_prefix"; then
6534
 
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6535
 
set dummy ${ac_tool_prefix}mt; ac_word=$2
6536
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6537
 
$as_echo_n "checking for $ac_word... " >&6; }
6538
 
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6539
 
  $as_echo_n "(cached) " >&6
6540
 
else
6541
 
  if test -n "$MANIFEST_TOOL"; then
6542
 
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6543
 
else
6544
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6545
 
for as_dir in $PATH
6546
 
do
6547
 
  IFS=$as_save_IFS
6548
 
  test -z "$as_dir" && as_dir=.
6549
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6550
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6551
 
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6552
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6553
 
    break 2
6554
 
  fi
6555
 
done
6556
 
  done
6557
 
IFS=$as_save_IFS
6558
 
 
6559
 
fi
6560
 
fi
6561
 
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6562
 
if test -n "$MANIFEST_TOOL"; then
6563
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6564
 
$as_echo "$MANIFEST_TOOL" >&6; }
6565
 
else
6566
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6567
 
$as_echo "no" >&6; }
6568
 
fi
6569
 
 
6570
 
 
6571
 
fi
6572
 
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6573
 
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6574
 
  # Extract the first word of "mt", so it can be a program name with args.
6575
 
set dummy mt; ac_word=$2
6576
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577
 
$as_echo_n "checking for $ac_word... " >&6; }
6578
 
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6579
 
  $as_echo_n "(cached) " >&6
6580
 
else
6581
 
  if test -n "$ac_ct_MANIFEST_TOOL"; then
6582
 
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6583
 
else
6584
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585
 
for as_dir in $PATH
6586
 
do
6587
 
  IFS=$as_save_IFS
6588
 
  test -z "$as_dir" && as_dir=.
6589
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6590
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6591
 
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6592
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6593
 
    break 2
6594
 
  fi
6595
 
done
6596
 
  done
6597
 
IFS=$as_save_IFS
6598
 
 
6599
 
fi
6600
 
fi
6601
 
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6602
 
if test -n "$ac_ct_MANIFEST_TOOL"; then
6603
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6604
 
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6605
 
else
6606
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6607
 
$as_echo "no" >&6; }
6608
 
fi
6609
 
 
6610
 
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6611
 
    MANIFEST_TOOL=":"
6612
 
  else
6613
 
    case $cross_compiling:$ac_tool_warned in
6614
 
yes:)
6615
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6616
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6617
 
ac_tool_warned=yes ;;
6618
 
esac
6619
 
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6620
 
  fi
6621
 
else
6622
 
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6623
 
fi
6624
 
 
6625
 
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6626
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6627
 
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6628
 
if ${lt_cv_path_mainfest_tool+:} false; then :
6629
 
  $as_echo_n "(cached) " >&6
6630
 
else
6631
 
  lt_cv_path_mainfest_tool=no
6632
 
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6633
 
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6634
 
  cat conftest.err >&5
6635
 
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6636
 
    lt_cv_path_mainfest_tool=yes
6637
 
  fi
6638
 
  rm -f conftest*
6639
 
fi
6640
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6641
 
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6642
 
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6643
 
  MANIFEST_TOOL=:
6644
 
fi
6645
 
 
6646
 
    
6647
 
    
6648
 
    
6649
 
 
6650
 
 
6651
 
  case $host_os in
6652
 
    rhapsody* | darwin*)
6653
 
    if test -n "$ac_tool_prefix"; then
6654
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6655
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6656
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657
 
$as_echo_n "checking for $ac_word... " >&6; }
6658
 
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6659
 
  $as_echo_n "(cached) " >&6
6660
 
else
6661
 
  if test -n "$DSYMUTIL"; then
6662
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6663
 
else
6664
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6665
 
for as_dir in $PATH
6666
 
do
6667
 
  IFS=$as_save_IFS
6668
 
  test -z "$as_dir" && as_dir=.
6669
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6670
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6671
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6672
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6673
 
    break 2
6674
 
  fi
6675
 
done
6676
 
  done
6677
 
IFS=$as_save_IFS
6678
 
 
6679
 
fi
6680
 
fi
6681
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6682
 
if test -n "$DSYMUTIL"; then
6683
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6684
 
$as_echo "$DSYMUTIL" >&6; }
6685
 
else
6686
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687
 
$as_echo "no" >&6; }
6688
 
fi
6689
 
 
6690
 
 
6691
 
fi
6692
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
6693
 
  ac_ct_DSYMUTIL=$DSYMUTIL
6694
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
6695
 
set dummy dsymutil; ac_word=$2
6696
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6697
 
$as_echo_n "checking for $ac_word... " >&6; }
6698
 
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6699
 
  $as_echo_n "(cached) " >&6
6700
 
else
6701
 
  if test -n "$ac_ct_DSYMUTIL"; then
6702
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6703
 
else
6704
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6705
 
for as_dir in $PATH
6706
 
do
6707
 
  IFS=$as_save_IFS
6708
 
  test -z "$as_dir" && as_dir=.
6709
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6710
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6711
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6712
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6713
 
    break 2
6714
 
  fi
6715
 
done
6716
 
  done
6717
 
IFS=$as_save_IFS
6718
 
 
6719
 
fi
6720
 
fi
6721
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6722
 
if test -n "$ac_ct_DSYMUTIL"; then
6723
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6724
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6725
 
else
6726
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6727
 
$as_echo "no" >&6; }
6728
 
fi
6729
 
 
6730
 
  if test "x$ac_ct_DSYMUTIL" = x; then
6731
 
    DSYMUTIL=":"
6732
 
  else
6733
 
    case $cross_compiling:$ac_tool_warned in
6734
 
yes:)
6735
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6736
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6737
 
ac_tool_warned=yes ;;
6738
 
esac
6739
 
    DSYMUTIL=$ac_ct_DSYMUTIL
6740
 
  fi
6741
 
else
6742
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6743
 
fi
6744
 
 
6745
 
    if test -n "$ac_tool_prefix"; then
6746
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6747
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6748
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749
 
$as_echo_n "checking for $ac_word... " >&6; }
6750
 
if ${ac_cv_prog_NMEDIT+:} false; then :
6751
 
  $as_echo_n "(cached) " >&6
6752
 
else
6753
 
  if test -n "$NMEDIT"; then
6754
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6755
 
else
6756
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757
 
for as_dir in $PATH
6758
 
do
6759
 
  IFS=$as_save_IFS
6760
 
  test -z "$as_dir" && as_dir=.
6761
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6762
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6763
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6764
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6765
 
    break 2
6766
 
  fi
6767
 
done
6768
 
  done
6769
 
IFS=$as_save_IFS
6770
 
 
6771
 
fi
6772
 
fi
6773
 
NMEDIT=$ac_cv_prog_NMEDIT
6774
 
if test -n "$NMEDIT"; then
6775
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6776
 
$as_echo "$NMEDIT" >&6; }
6777
 
else
6778
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779
 
$as_echo "no" >&6; }
6780
 
fi
6781
 
 
6782
 
 
6783
 
fi
6784
 
if test -z "$ac_cv_prog_NMEDIT"; then
6785
 
  ac_ct_NMEDIT=$NMEDIT
6786
 
  # Extract the first word of "nmedit", so it can be a program name with args.
6787
 
set dummy nmedit; ac_word=$2
6788
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789
 
$as_echo_n "checking for $ac_word... " >&6; }
6790
 
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6791
 
  $as_echo_n "(cached) " >&6
6792
 
else
6793
 
  if test -n "$ac_ct_NMEDIT"; then
6794
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6795
 
else
6796
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6797
 
for as_dir in $PATH
6798
 
do
6799
 
  IFS=$as_save_IFS
6800
 
  test -z "$as_dir" && as_dir=.
6801
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6802
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6803
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6804
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6805
 
    break 2
6806
 
  fi
6807
 
done
6808
 
  done
6809
 
IFS=$as_save_IFS
6810
 
 
6811
 
fi
6812
 
fi
6813
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6814
 
if test -n "$ac_ct_NMEDIT"; then
6815
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6816
 
$as_echo "$ac_ct_NMEDIT" >&6; }
6817
 
else
6818
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819
 
$as_echo "no" >&6; }
6820
 
fi
6821
 
 
6822
 
  if test "x$ac_ct_NMEDIT" = x; then
6823
 
    NMEDIT=":"
6824
 
  else
6825
 
    case $cross_compiling:$ac_tool_warned in
6826
 
yes:)
6827
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6828
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6829
 
ac_tool_warned=yes ;;
6830
 
esac
6831
 
    NMEDIT=$ac_ct_NMEDIT
6832
 
  fi
6833
 
else
6834
 
  NMEDIT="$ac_cv_prog_NMEDIT"
6835
 
fi
6836
 
 
6837
 
    if test -n "$ac_tool_prefix"; then
6838
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6839
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6840
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6841
 
$as_echo_n "checking for $ac_word... " >&6; }
6842
 
if ${ac_cv_prog_LIPO+:} false; then :
6843
 
  $as_echo_n "(cached) " >&6
6844
 
else
6845
 
  if test -n "$LIPO"; then
6846
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6847
 
else
6848
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6849
 
for as_dir in $PATH
6850
 
do
6851
 
  IFS=$as_save_IFS
6852
 
  test -z "$as_dir" && as_dir=.
6853
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6854
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6855
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6856
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6857
 
    break 2
6858
 
  fi
6859
 
done
6860
 
  done
6861
 
IFS=$as_save_IFS
6862
 
 
6863
 
fi
6864
 
fi
6865
 
LIPO=$ac_cv_prog_LIPO
6866
 
if test -n "$LIPO"; then
6867
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6868
 
$as_echo "$LIPO" >&6; }
6869
 
else
6870
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871
 
$as_echo "no" >&6; }
6872
 
fi
6873
 
 
6874
 
 
6875
 
fi
6876
 
if test -z "$ac_cv_prog_LIPO"; then
6877
 
  ac_ct_LIPO=$LIPO
6878
 
  # Extract the first word of "lipo", so it can be a program name with args.
6879
 
set dummy lipo; ac_word=$2
6880
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881
 
$as_echo_n "checking for $ac_word... " >&6; }
6882
 
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6883
 
  $as_echo_n "(cached) " >&6
6884
 
else
6885
 
  if test -n "$ac_ct_LIPO"; then
6886
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6887
 
else
6888
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6889
 
for as_dir in $PATH
6890
 
do
6891
 
  IFS=$as_save_IFS
6892
 
  test -z "$as_dir" && as_dir=.
6893
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6894
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6895
 
    ac_cv_prog_ac_ct_LIPO="lipo"
6896
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6897
 
    break 2
6898
 
  fi
6899
 
done
6900
 
  done
6901
 
IFS=$as_save_IFS
6902
 
 
6903
 
fi
6904
 
fi
6905
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6906
 
if test -n "$ac_ct_LIPO"; then
6907
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6908
 
$as_echo "$ac_ct_LIPO" >&6; }
6909
 
else
6910
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911
 
$as_echo "no" >&6; }
6912
 
fi
6913
 
 
6914
 
  if test "x$ac_ct_LIPO" = x; then
6915
 
    LIPO=":"
6916
 
  else
6917
 
    case $cross_compiling:$ac_tool_warned in
6918
 
yes:)
6919
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6920
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6921
 
ac_tool_warned=yes ;;
6922
 
esac
6923
 
    LIPO=$ac_ct_LIPO
6924
 
  fi
6925
 
else
6926
 
  LIPO="$ac_cv_prog_LIPO"
6927
 
fi
6928
 
 
6929
 
    if test -n "$ac_tool_prefix"; then
6930
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6931
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
6932
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6933
 
$as_echo_n "checking for $ac_word... " >&6; }
6934
 
if ${ac_cv_prog_OTOOL+:} false; then :
6935
 
  $as_echo_n "(cached) " >&6
6936
 
else
6937
 
  if test -n "$OTOOL"; then
6938
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6939
 
else
6940
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6941
 
for as_dir in $PATH
6942
 
do
6943
 
  IFS=$as_save_IFS
6944
 
  test -z "$as_dir" && as_dir=.
6945
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6946
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6947
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6948
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6949
 
    break 2
6950
 
  fi
6951
 
done
6952
 
  done
6953
 
IFS=$as_save_IFS
6954
 
 
6955
 
fi
6956
 
fi
6957
 
OTOOL=$ac_cv_prog_OTOOL
6958
 
if test -n "$OTOOL"; then
6959
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6960
 
$as_echo "$OTOOL" >&6; }
6961
 
else
6962
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6963
 
$as_echo "no" >&6; }
6964
 
fi
6965
 
 
6966
 
 
6967
 
fi
6968
 
if test -z "$ac_cv_prog_OTOOL"; then
6969
 
  ac_ct_OTOOL=$OTOOL
6970
 
  # Extract the first word of "otool", so it can be a program name with args.
6971
 
set dummy otool; ac_word=$2
6972
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6973
 
$as_echo_n "checking for $ac_word... " >&6; }
6974
 
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6975
 
  $as_echo_n "(cached) " >&6
6976
 
else
6977
 
  if test -n "$ac_ct_OTOOL"; then
6978
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6979
 
else
6980
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6981
 
for as_dir in $PATH
6982
 
do
6983
 
  IFS=$as_save_IFS
6984
 
  test -z "$as_dir" && as_dir=.
6985
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6986
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6987
 
    ac_cv_prog_ac_ct_OTOOL="otool"
6988
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6989
 
    break 2
6990
 
  fi
6991
 
done
6992
 
  done
6993
 
IFS=$as_save_IFS
6994
 
 
6995
 
fi
6996
 
fi
6997
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6998
 
if test -n "$ac_ct_OTOOL"; then
6999
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7000
 
$as_echo "$ac_ct_OTOOL" >&6; }
7001
 
else
7002
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7003
 
$as_echo "no" >&6; }
7004
 
fi
7005
 
 
7006
 
  if test "x$ac_ct_OTOOL" = x; then
7007
 
    OTOOL=":"
7008
 
  else
7009
 
    case $cross_compiling:$ac_tool_warned in
7010
 
yes:)
7011
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7012
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7013
 
ac_tool_warned=yes ;;
7014
 
esac
7015
 
    OTOOL=$ac_ct_OTOOL
7016
 
  fi
7017
 
else
7018
 
  OTOOL="$ac_cv_prog_OTOOL"
7019
 
fi
7020
 
 
7021
 
    if test -n "$ac_tool_prefix"; then
7022
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7023
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7024
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7025
 
$as_echo_n "checking for $ac_word... " >&6; }
7026
 
if ${ac_cv_prog_OTOOL64+:} false; then :
7027
 
  $as_echo_n "(cached) " >&6
7028
 
else
7029
 
  if test -n "$OTOOL64"; then
7030
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7031
 
else
7032
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7033
 
for as_dir in $PATH
7034
 
do
7035
 
  IFS=$as_save_IFS
7036
 
  test -z "$as_dir" && as_dir=.
7037
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7038
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7039
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7040
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7041
 
    break 2
7042
 
  fi
7043
 
done
7044
 
  done
7045
 
IFS=$as_save_IFS
7046
 
 
7047
 
fi
7048
 
fi
7049
 
OTOOL64=$ac_cv_prog_OTOOL64
7050
 
if test -n "$OTOOL64"; then
7051
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7052
 
$as_echo "$OTOOL64" >&6; }
7053
 
else
7054
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7055
 
$as_echo "no" >&6; }
7056
 
fi
7057
 
 
7058
 
 
7059
 
fi
7060
 
if test -z "$ac_cv_prog_OTOOL64"; then
7061
 
  ac_ct_OTOOL64=$OTOOL64
7062
 
  # Extract the first word of "otool64", so it can be a program name with args.
7063
 
set dummy otool64; ac_word=$2
7064
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065
 
$as_echo_n "checking for $ac_word... " >&6; }
7066
 
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7067
 
  $as_echo_n "(cached) " >&6
7068
 
else
7069
 
  if test -n "$ac_ct_OTOOL64"; then
7070
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7071
 
else
7072
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7073
 
for as_dir in $PATH
7074
 
do
7075
 
  IFS=$as_save_IFS
7076
 
  test -z "$as_dir" && as_dir=.
7077
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7078
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7079
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7080
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7081
 
    break 2
7082
 
  fi
7083
 
done
7084
 
  done
7085
 
IFS=$as_save_IFS
7086
 
 
7087
 
fi
7088
 
fi
7089
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7090
 
if test -n "$ac_ct_OTOOL64"; then
7091
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7092
 
$as_echo "$ac_ct_OTOOL64" >&6; }
7093
 
else
7094
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7095
 
$as_echo "no" >&6; }
7096
 
fi
7097
 
 
7098
 
  if test "x$ac_ct_OTOOL64" = x; then
7099
 
    OTOOL64=":"
7100
 
  else
7101
 
    case $cross_compiling:$ac_tool_warned in
7102
 
yes:)
7103
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7104
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7105
 
ac_tool_warned=yes ;;
7106
 
esac
7107
 
    OTOOL64=$ac_ct_OTOOL64
7108
 
  fi
7109
 
else
7110
 
  OTOOL64="$ac_cv_prog_OTOOL64"
7111
 
fi
7112
 
 
7113
 
    
7114
 
    
7115
 
    
7116
 
    
7117
 
 
7118
 
    
7119
 
    
7120
 
    
7121
 
    
7122
 
 
7123
 
    
7124
 
    
7125
 
    
7126
 
    
7127
 
 
7128
 
    
7129
 
    
7130
 
    
7131
 
    
7132
 
 
7133
 
    
7134
 
    
7135
 
    
7136
 
    
7137
 
 
7138
 
 
7139
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7140
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
7141
 
if ${lt_cv_apple_cc_single_mod+:} false; then :
7142
 
  $as_echo_n "(cached) " >&6
7143
 
else
7144
 
  lt_cv_apple_cc_single_mod=no
7145
 
      if test -z "${LT_MULTI_MODULE}"; then
7146
 
        # By default we will add the -single_module flag. You can override
7147
 
        # by either setting the environment variable LT_MULTI_MODULE
7148
 
        # non-empty at configure time, or by adding -multi_module to the
7149
 
        # link flags.
7150
 
        rm -rf libconftest.dylib*
7151
 
        echo "int foo(void){return 1;}" > conftest.c
7152
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7153
 
-dynamiclib -Wl,-single_module conftest.c" >&5
7154
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7155
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7156
 
        _lt_result=$?
7157
 
        # If there is a non-empty error log, and "single_module"
7158
 
        # appears in it, assume the flag caused a linker warning
7159
 
        if test -s conftest.err && $GREP single_module conftest.err; then
7160
 
          cat conftest.err >&5
7161
 
        # Otherwise, if the output was created with a 0 exit code from
7162
 
        # the compiler, it worked.
7163
 
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7164
 
          lt_cv_apple_cc_single_mod=yes
7165
 
        else
7166
 
          cat conftest.err >&5
7167
 
        fi
7168
 
        rm -rf libconftest.dylib*
7169
 
        rm -f conftest.*
7170
 
      fi
7171
 
fi
7172
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7173
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7174
 
 
7175
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7176
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7177
 
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7178
 
  $as_echo_n "(cached) " >&6
7179
 
else
7180
 
  lt_cv_ld_exported_symbols_list=no
7181
 
      save_LDFLAGS=$LDFLAGS
7182
 
      echo "_main" > conftest.sym
7183
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7184
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7185
 
/* end confdefs.h.  */
7186
 
 
7187
 
int
7188
 
main ()
7189
 
{
7190
 
 
7191
 
  ;
7192
 
  return 0;
7193
 
}
7194
 
_ACEOF
7195
 
if ac_fn_c_try_link "$LINENO"; then :
7196
 
  lt_cv_ld_exported_symbols_list=yes
7197
 
else
7198
 
  lt_cv_ld_exported_symbols_list=no
7199
 
fi
7200
 
rm -f core conftest.err conftest.$ac_objext \
7201
 
    conftest$ac_exeext conftest.$ac_ext
7202
 
        LDFLAGS="$save_LDFLAGS"
7203
 
    
7204
 
fi
7205
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7206
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7207
 
 
7208
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7209
 
$as_echo_n "checking for -force_load linker flag... " >&6; }
7210
 
if ${lt_cv_ld_force_load+:} false; then :
7211
 
  $as_echo_n "(cached) " >&6
7212
 
else
7213
 
  lt_cv_ld_force_load=no
7214
 
      cat > conftest.c << _LT_EOF
7215
 
int forced_loaded() { return 2;}
7216
 
_LT_EOF
7217
 
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7218
 
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7219
 
      echo "$AR cru libconftest.a conftest.o" >&5
7220
 
      $AR cru libconftest.a conftest.o 2>&5
7221
 
      echo "$RANLIB libconftest.a" >&5
7222
 
      $RANLIB libconftest.a 2>&5
7223
 
      cat > conftest.c << _LT_EOF
7224
 
int main() { return 0;}
7225
 
_LT_EOF
7226
 
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7227
 
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7228
 
      _lt_result=$?
7229
 
      if test -s conftest.err && $GREP force_load conftest.err; then
7230
 
        cat conftest.err >&5
7231
 
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7232
 
        lt_cv_ld_force_load=yes
7233
 
      else
7234
 
        cat conftest.err >&5
7235
 
      fi
7236
 
        rm -f conftest.err libconftest.a conftest conftest.c
7237
 
        rm -rf conftest.dSYM
7238
 
    
7239
 
fi
7240
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7241
 
$as_echo "$lt_cv_ld_force_load" >&6; }
7242
 
    case $host_os in
7243
 
    rhapsody* | darwin1.[012])
7244
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7245
 
    darwin1.*)
7246
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7247
 
    darwin*) # darwin 5.x on
7248
 
      # if running on 10.5 or later, the deployment target defaults
7249
 
      # to the OS version, if on x86, and 10.4, the deployment
7250
 
      # target defaults to 10.4. Don't you love it?
7251
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7252
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7253
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7254
 
        10.[012]*)
7255
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7256
 
        10.*)
7257
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7258
 
      esac
7259
 
    ;;
7260
 
  esac
7261
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7262
 
      _lt_dar_single_mod='$single_module'
7263
 
    fi
7264
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7265
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7266
 
    else
7267
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7268
 
    fi
7269
 
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7270
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7271
 
    else
7272
 
      _lt_dsymutil=
7273
 
    fi
7274
 
    ;;
7275
 
  esac
7276
 
 
7277
 
ac_ext=c
7278
 
ac_cpp='$CPP $CPPFLAGS'
7279
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7280
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7281
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7282
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7283
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7284
 
# On Suns, sometimes $CPP names a directory.
7285
 
if test -n "$CPP" && test -d "$CPP"; then
7286
 
  CPP=
7287
 
fi
7288
 
if test -z "$CPP"; then
7289
 
  if ${ac_cv_prog_CPP+:} false; then :
7290
 
  $as_echo_n "(cached) " >&6
7291
 
else
7292
 
      # Double quotes because CPP needs to be expanded
7293
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7294
 
    do
7295
 
      ac_preproc_ok=false
7296
 
for ac_c_preproc_warn_flag in '' yes
7297
 
do
7298
 
  # Use a header file that comes with gcc, so configuring glibc
7299
 
  # with a fresh cross-compiler works.
7300
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7301
 
  # <limits.h> exists even on freestanding compilers.
7302
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7303
 
  # not just through cpp. "Syntax error" is here to catch this case.
7304
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7305
 
/* end confdefs.h.  */
7306
 
@%:@ifdef __STDC__
7307
 
@%:@ include <limits.h>
7308
 
@%:@else
7309
 
@%:@ include <assert.h>
7310
 
@%:@endif
7311
 
                     Syntax error
7312
 
_ACEOF
7313
 
if ac_fn_c_try_cpp "$LINENO"; then :
7314
 
  
7315
 
else
7316
 
  # Broken: fails on valid input.
7317
 
continue
7318
 
fi
7319
 
rm -f conftest.err conftest.i conftest.$ac_ext
7320
 
 
7321
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7322
 
  # can be detected and how.
7323
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7324
 
/* end confdefs.h.  */
7325
 
@%:@include <ac_nonexistent.h>
7326
 
_ACEOF
7327
 
if ac_fn_c_try_cpp "$LINENO"; then :
7328
 
  # Broken: success on invalid input.
7329
 
continue
7330
 
else
7331
 
  # Passes both tests.
7332
 
ac_preproc_ok=:
7333
 
break
7334
 
fi
7335
 
rm -f conftest.err conftest.i conftest.$ac_ext
7336
 
 
7337
 
done
7338
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7339
 
rm -f conftest.i conftest.err conftest.$ac_ext
7340
 
if $ac_preproc_ok; then :
7341
 
  break
7342
 
fi
7343
 
 
7344
 
    done
7345
 
    ac_cv_prog_CPP=$CPP
7346
 
  
7347
 
fi
7348
 
  CPP=$ac_cv_prog_CPP
7349
 
else
7350
 
  ac_cv_prog_CPP=$CPP
7351
 
fi
7352
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7353
 
$as_echo "$CPP" >&6; }
7354
 
ac_preproc_ok=false
7355
 
for ac_c_preproc_warn_flag in '' yes
7356
 
do
7357
 
  # Use a header file that comes with gcc, so configuring glibc
7358
 
  # with a fresh cross-compiler works.
7359
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7360
 
  # <limits.h> exists even on freestanding compilers.
7361
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7362
 
  # not just through cpp. "Syntax error" is here to catch this case.
7363
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7364
 
/* end confdefs.h.  */
7365
 
@%:@ifdef __STDC__
7366
 
@%:@ include <limits.h>
7367
 
@%:@else
7368
 
@%:@ include <assert.h>
7369
 
@%:@endif
7370
 
                     Syntax error
7371
 
_ACEOF
7372
 
if ac_fn_c_try_cpp "$LINENO"; then :
7373
 
  
7374
 
else
7375
 
  # Broken: fails on valid input.
7376
 
continue
7377
 
fi
7378
 
rm -f conftest.err conftest.i conftest.$ac_ext
7379
 
 
7380
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7381
 
  # can be detected and how.
7382
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7383
 
/* end confdefs.h.  */
7384
 
@%:@include <ac_nonexistent.h>
7385
 
_ACEOF
7386
 
if ac_fn_c_try_cpp "$LINENO"; then :
7387
 
  # Broken: success on invalid input.
7388
 
continue
7389
 
else
7390
 
  # Passes both tests.
7391
 
ac_preproc_ok=:
7392
 
break
7393
 
fi
7394
 
rm -f conftest.err conftest.i conftest.$ac_ext
7395
 
 
7396
 
done
7397
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7398
 
rm -f conftest.i conftest.err conftest.$ac_ext
7399
 
if $ac_preproc_ok; then :
7400
 
  
7401
 
else
7402
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7403
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7404
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7405
 
See \`config.log' for more details" "$LINENO" 5; }
7406
 
fi
7407
 
 
7408
 
ac_ext=c
7409
 
ac_cpp='$CPP $CPPFLAGS'
7410
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7411
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7412
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7413
 
 
7414
 
 
7415
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7416
 
$as_echo_n "checking for ANSI C header files... " >&6; }
7417
 
if ${ac_cv_header_stdc+:} false; then :
7418
 
  $as_echo_n "(cached) " >&6
7419
 
else
7420
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7421
 
/* end confdefs.h.  */
7422
 
#include <stdlib.h>
7423
 
#include <stdarg.h>
7424
 
#include <string.h>
7425
 
#include <float.h>
7426
 
 
7427
 
int
7428
 
main ()
7429
 
{
7430
 
 
7431
 
  ;
7432
 
  return 0;
7433
 
}
7434
 
_ACEOF
7435
 
if ac_fn_c_try_compile "$LINENO"; then :
7436
 
  ac_cv_header_stdc=yes
7437
 
else
7438
 
  ac_cv_header_stdc=no
7439
 
fi
7440
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7441
 
 
7442
 
if test $ac_cv_header_stdc = yes; then
7443
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7444
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7445
 
/* end confdefs.h.  */
7446
 
#include <string.h>
7447
 
 
7448
 
_ACEOF
7449
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7450
 
  $EGREP "memchr" >/dev/null 2>&1; then :
7451
 
  
7452
 
else
7453
 
  ac_cv_header_stdc=no
7454
 
fi
7455
 
rm -f conftest*
7456
 
 
7457
 
fi
7458
 
 
7459
 
if test $ac_cv_header_stdc = yes; then
7460
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7461
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7462
 
/* end confdefs.h.  */
7463
 
#include <stdlib.h>
7464
 
 
7465
 
_ACEOF
7466
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7467
 
  $EGREP "free" >/dev/null 2>&1; then :
7468
 
  
7469
 
else
7470
 
  ac_cv_header_stdc=no
7471
 
fi
7472
 
rm -f conftest*
7473
 
 
7474
 
fi
7475
 
 
7476
 
if test $ac_cv_header_stdc = yes; then
7477
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7478
 
  if test "$cross_compiling" = yes; then :
7479
 
  :
7480
 
else
7481
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7482
 
/* end confdefs.h.  */
7483
 
#include <ctype.h>
7484
 
#include <stdlib.h>
7485
 
#if ((' ' & 0x0FF) == 0x020)
7486
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7487
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7488
 
#else
7489
 
# define ISLOWER(c) \
7490
 
                   (('a' <= (c) && (c) <= 'i') \
7491
 
                     || ('j' <= (c) && (c) <= 'r') \
7492
 
                     || ('s' <= (c) && (c) <= 'z'))
7493
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7494
 
#endif
7495
 
 
7496
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7497
 
int
7498
 
main ()
7499
 
{
7500
 
  int i;
7501
 
  for (i = 0; i < 256; i++)
7502
 
    if (XOR (islower (i), ISLOWER (i))
7503
 
        || toupper (i) != TOUPPER (i))
7504
 
      return 2;
7505
 
  return 0;
7506
 
}
7507
 
_ACEOF
7508
 
if ac_fn_c_try_run "$LINENO"; then :
7509
 
  
7510
 
else
7511
 
  ac_cv_header_stdc=no
7512
 
fi
7513
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7514
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7515
 
fi
7516
 
 
7517
 
fi
7518
 
fi
7519
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7520
 
$as_echo "$ac_cv_header_stdc" >&6; }
7521
 
if test $ac_cv_header_stdc = yes; then
7522
 
  
7523
 
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7524
 
 
7525
 
fi
7526
 
 
7527
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7528
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7529
 
                  inttypes.h stdint.h unistd.h
7530
 
do :
7531
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7532
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7533
 
"
7534
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7535
 
  cat >>confdefs.h <<_ACEOF
7536
 
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7537
 
_ACEOF
7538
 
 
7539
 
fi
7540
 
 
7541
 
done
7542
 
 
7543
 
 
7544
 
for ac_header in dlfcn.h
7545
 
do :
7546
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7547
 
"
7548
 
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7549
 
  cat >>confdefs.h <<_ACEOF
7550
 
@%:@define HAVE_DLFCN_H 1
7551
 
_ACEOF
7552
 
 
7553
 
fi
7554
 
 
7555
 
done
7556
 
 
7557
 
 
7558
 
 
7559
 
 
7560
 
 
7561
 
# Set options
7562
 
 
7563
 
 
7564
 
 
7565
 
        enable_dlopen=no
7566
 
  
7567
 
 
7568
 
  enable_win32_dll=no
7569
 
  
7570
 
 
7571
 
            @%:@ Check whether --enable-shared was given.
7572
 
if test "${enable_shared+set}" = set; then :
7573
 
  enableval=$enable_shared; p=${PACKAGE-default}
7574
 
    case $enableval in
7575
 
    yes) enable_shared=yes ;;
7576
 
    no) enable_shared=no ;;
7577
 
    *)
7578
 
      enable_shared=no
7579
 
      # Look at the argument we got.  We use all the common list separators.
7580
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7581
 
      for pkg in $enableval; do
7582
 
        IFS="$lt_save_ifs"
7583
 
        if test "X$pkg" = "X$p"; then
7584
 
          enable_shared=yes
7585
 
        fi
7586
 
      done
7587
 
      IFS="$lt_save_ifs"
7588
 
      ;;
7589
 
    esac
7590
 
else
7591
 
  enable_shared=yes
7592
 
fi
7593
 
 
7594
 
 
7595
 
    
7596
 
    
7597
 
    
7598
 
    
7599
 
 
7600
 
 
7601
 
 
7602
 
  @%:@ Check whether --enable-static was given.
7603
 
if test "${enable_static+set}" = set; then :
7604
 
  enableval=$enable_static; p=${PACKAGE-default}
7605
 
    case $enableval in
7606
 
    yes) enable_static=yes ;;
7607
 
    no) enable_static=no ;;
7608
 
    *)
7609
 
     enable_static=no
7610
 
      # Look at the argument we got.  We use all the common list separators.
7611
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7612
 
      for pkg in $enableval; do
7613
 
        IFS="$lt_save_ifs"
7614
 
        if test "X$pkg" = "X$p"; then
7615
 
          enable_static=yes
7616
 
        fi
7617
 
      done
7618
 
      IFS="$lt_save_ifs"
7619
 
      ;;
7620
 
    esac
7621
 
else
7622
 
  enable_static=yes
7623
 
fi
7624
 
 
7625
 
 
7626
 
    
7627
 
    
7628
 
    
7629
 
    
7630
 
 
7631
 
 
7632
 
 
7633
 
  
7634
 
@%:@ Check whether --with-pic was given.
7635
 
if test "${with_pic+set}" = set; then :
7636
 
  withval=$with_pic; lt_p=${PACKAGE-default}
7637
 
    case $withval in
7638
 
    yes|no) pic_mode=$withval ;;
7639
 
    *)
7640
 
      pic_mode=default
7641
 
      # Look at the argument we got.  We use all the common list separators.
7642
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7643
 
      for lt_pkg in $withval; do
7644
 
        IFS="$lt_save_ifs"
7645
 
        if test "X$lt_pkg" = "X$lt_p"; then
7646
 
          pic_mode=yes
7647
 
        fi
7648
 
      done
7649
 
      IFS="$lt_save_ifs"
7650
 
      ;;
7651
 
    esac
7652
 
else
7653
 
  pic_mode=default
7654
 
fi
7655
 
 
7656
 
 
7657
 
test -z "$pic_mode" && pic_mode=default
7658
 
 
7659
 
 
7660
 
    
7661
 
    
7662
 
    
7663
 
 
7664
 
 
7665
 
  @%:@ Check whether --enable-fast-install was given.
7666
 
if test "${enable_fast_install+set}" = set; then :
7667
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
7668
 
    case $enableval in
7669
 
    yes) enable_fast_install=yes ;;
7670
 
    no) enable_fast_install=no ;;
7671
 
    *)
7672
 
      enable_fast_install=no
7673
 
      # Look at the argument we got.  We use all the common list separators.
7674
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7675
 
      for pkg in $enableval; do
7676
 
        IFS="$lt_save_ifs"
7677
 
        if test "X$pkg" = "X$p"; then
7678
 
          enable_fast_install=yes
7679
 
        fi
7680
 
      done
7681
 
      IFS="$lt_save_ifs"
7682
 
      ;;
7683
 
    esac
7684
 
else
7685
 
  enable_fast_install=yes
7686
 
fi
7687
 
 
7688
 
 
7689
 
 
7690
 
    
7691
 
    
7692
 
    
7693
 
 
7694
 
 
7695
 
  
7696
 
 
7697
 
 
7698
 
# This can be used to rebuild libtool when needed
7699
 
LIBTOOL_DEPS="$ltmain"
7700
 
 
7701
 
# Always use our own libtool.
7702
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7703
 
 
7704
 
 
7705
 
 
7706
 
    
7707
 
    
7708
 
    
7709
 
 
7710
 
    
7711
 
    
7712
 
    
7713
 
 
7714
 
    
7715
 
    
7716
 
    
7717
 
 
7718
 
    
7719
 
    
7720
 
    
7721
 
 
7722
 
    
7723
 
    
7724
 
    
7725
 
 
7726
 
    
7727
 
    
7728
 
    
7729
 
 
7730
 
    
7731
 
    
7732
 
    
7733
 
test -z "$LN_S" && LN_S="ln -s"
7734
 
 
7735
 
    
7736
 
    
7737
 
    
7738
 
 
7739
 
    
7740
 
    
7741
 
    
7742
 
 
7743
 
    
7744
 
    
7745
 
    
7746
 
 
7747
 
 
7748
 
if test -n "${ZSH_VERSION+set}" ; then
7749
 
   setopt NO_GLOB_SUBST
7750
 
fi
7751
 
 
7752
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7753
 
$as_echo_n "checking for objdir... " >&6; }
7754
 
if ${lt_cv_objdir+:} false; then :
7755
 
  $as_echo_n "(cached) " >&6
7756
 
else
7757
 
  rm -f .libs 2>/dev/null
7758
 
mkdir .libs 2>/dev/null
7759
 
if test -d .libs; then
7760
 
  lt_cv_objdir=.libs
7761
 
else
7762
 
  # MS-DOS does not allow filenames that begin with a dot.
7763
 
  lt_cv_objdir=_libs
7764
 
fi
7765
 
rmdir .libs 2>/dev/null
7766
 
fi
7767
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7768
 
$as_echo "$lt_cv_objdir" >&6; }
7769
 
objdir=$lt_cv_objdir
7770
 
 
7771
 
    
7772
 
    
7773
 
    
7774
 
 
7775
 
cat >>confdefs.h <<_ACEOF
7776
 
@%:@define LT_OBJDIR "$lt_cv_objdir/"
7777
 
_ACEOF
7778
 
 
7779
 
 
7780
 
 
7781
 
 
7782
 
case $host_os in
7783
 
aix3*)
7784
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
7785
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
7786
 
  # vanish in a puff of smoke.
7787
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
7788
 
    COLLECT_NAMES=
7789
 
    export COLLECT_NAMES
7790
 
  fi
7791
 
  ;;
7792
 
esac
7793
 
 
7794
 
# Global variables:
7795
 
ofile=libtool
7796
 
can_build_shared=yes
7797
 
 
7798
 
# All known linkers require a `.a' archive for static linking (except MSVC,
7799
 
# which needs '.lib').
7800
 
libext=a
7801
 
 
7802
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
7803
 
 
7804
 
old_CC="$CC"
7805
 
old_CFLAGS="$CFLAGS"
7806
 
 
7807
 
# Set sane defaults for various variables
7808
 
test -z "$CC" && CC=cc
7809
 
test -z "$LTCC" && LTCC=$CC
7810
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7811
 
test -z "$LD" && LD=ld
7812
 
test -z "$ac_objext" && ac_objext=o
7813
 
 
7814
 
for cc_temp in $compiler""; do
7815
 
  case $cc_temp in
7816
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7817
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7818
 
    \-*) ;;
7819
 
    *) break;;
7820
 
  esac
7821
 
done
7822
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7823
 
 
7824
 
 
7825
 
# Only perform the check for file, if the check method requires it
7826
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7827
 
case $deplibs_check_method in
7828
 
file_magic*)
7829
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7830
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7831
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7832
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7833
 
  $as_echo_n "(cached) " >&6
7834
 
else
7835
 
  case $MAGIC_CMD in
7836
 
[\\/*] |  ?:[\\/]*)
7837
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7838
 
  ;;
7839
 
*)
7840
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7841
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7842
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7843
 
  for ac_dir in $ac_dummy; do
7844
 
    IFS="$lt_save_ifs"
7845
 
    test -z "$ac_dir" && ac_dir=.
7846
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
7847
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7848
 
      if test -n "$file_magic_test_file"; then
7849
 
        case $deplibs_check_method in
7850
 
        "file_magic "*)
7851
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7852
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7853
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7854
 
            $EGREP "$file_magic_regex" > /dev/null; then
7855
 
            :
7856
 
          else
7857
 
            cat <<_LT_EOF 1>&2
7858
 
 
7859
 
*** Warning: the command libtool uses to detect shared libraries,
7860
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7861
 
*** The result is that libtool may fail to recognize shared libraries
7862
 
*** as such.  This will affect the creation of libtool libraries that
7863
 
*** depend on shared libraries, but programs linked with such libtool
7864
 
*** libraries will work regardless of this problem.  Nevertheless, you
7865
 
*** may want to report the problem to your system manager and/or to
7866
 
*** bug-libtool@gnu.org
7867
 
 
7868
 
_LT_EOF
7869
 
          fi ;;
7870
 
        esac
7871
 
      fi
7872
 
      break
7873
 
    fi
7874
 
  done
7875
 
  IFS="$lt_save_ifs"
7876
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7877
 
  ;;
7878
 
esac
7879
 
fi
7880
 
 
7881
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7882
 
if test -n "$MAGIC_CMD"; then
7883
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7884
 
$as_echo "$MAGIC_CMD" >&6; }
7885
 
else
7886
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7887
 
$as_echo "no" >&6; }
7888
 
fi
7889
 
 
7890
 
    
7891
 
    
7892
 
    
7893
 
 
7894
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
7895
 
  if test -n "$ac_tool_prefix"; then
7896
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7897
 
$as_echo_n "checking for file... " >&6; }
7898
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7899
 
  $as_echo_n "(cached) " >&6
7900
 
else
7901
 
  case $MAGIC_CMD in
7902
 
[\\/*] |  ?:[\\/]*)
7903
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7904
 
  ;;
7905
 
*)
7906
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7907
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7908
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7909
 
  for ac_dir in $ac_dummy; do
7910
 
    IFS="$lt_save_ifs"
7911
 
    test -z "$ac_dir" && ac_dir=.
7912
 
    if test -f $ac_dir/file; then
7913
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7914
 
      if test -n "$file_magic_test_file"; then
7915
 
        case $deplibs_check_method in
7916
 
        "file_magic "*)
7917
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7918
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7919
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7920
 
            $EGREP "$file_magic_regex" > /dev/null; then
7921
 
            :
7922
 
          else
7923
 
            cat <<_LT_EOF 1>&2
7924
 
 
7925
 
*** Warning: the command libtool uses to detect shared libraries,
7926
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
7927
 
*** The result is that libtool may fail to recognize shared libraries
7928
 
*** as such.  This will affect the creation of libtool libraries that
7929
 
*** depend on shared libraries, but programs linked with such libtool
7930
 
*** libraries will work regardless of this problem.  Nevertheless, you
7931
 
*** may want to report the problem to your system manager and/or to
7932
 
*** bug-libtool@gnu.org
7933
 
 
7934
 
_LT_EOF
7935
 
          fi ;;
7936
 
        esac
7937
 
      fi
7938
 
      break
7939
 
    fi
7940
 
  done
7941
 
  IFS="$lt_save_ifs"
7942
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7943
 
  ;;
7944
 
esac
7945
 
fi
7946
 
 
7947
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7948
 
if test -n "$MAGIC_CMD"; then
7949
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7950
 
$as_echo "$MAGIC_CMD" >&6; }
7951
 
else
7952
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7953
 
$as_echo "no" >&6; }
7954
 
fi
7955
 
 
7956
 
 
7957
 
  else
7958
 
    MAGIC_CMD=:
7959
 
  fi
7960
 
fi
7961
 
 
7962
 
  fi
7963
 
  ;;
7964
 
esac
7965
 
 
7966
 
# Use C for the default configuration in the libtool script
7967
 
 
7968
 
lt_save_CC="$CC"
7969
 
ac_ext=c
7970
 
ac_cpp='$CPP $CPPFLAGS'
7971
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7972
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7973
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7974
 
 
7975
 
 
7976
 
# Source file extension for C test sources.
7977
 
ac_ext=c
7978
 
 
7979
 
# Object file extension for compiled C test sources.
7980
 
objext=o
7981
 
objext=$objext
7982
 
 
7983
 
# Code to be used in simple compile tests
7984
 
lt_simple_compile_test_code="int some_variable = 0;"
7985
 
 
7986
 
# Code to be used in simple link tests
7987
 
lt_simple_link_test_code='int main(){return(0);}'
7988
 
 
7989
 
 
7990
 
 
7991
 
 
7992
 
 
7993
 
 
7994
 
 
7995
 
# If no C compiler was specified, use CC.
7996
 
LTCC=${LTCC-"$CC"}
7997
 
 
7998
 
# If no C compiler flags were specified, use CFLAGS.
7999
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8000
 
 
8001
 
# Allow CC to be a program name with arguments.
8002
 
compiler=$CC
8003
 
 
8004
 
# Save the default compiler, since it gets overwritten when the other
8005
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8006
 
compiler_DEFAULT=$CC
8007
 
 
8008
 
# save warnings/boilerplate of simple test code
8009
 
ac_outfile=conftest.$ac_objext
8010
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8011
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8012
 
_lt_compiler_boilerplate=`cat conftest.err`
8013
 
$RM conftest*
8014
 
 
8015
 
ac_outfile=conftest.$ac_objext
8016
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8017
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8018
 
_lt_linker_boilerplate=`cat conftest.err`
8019
 
$RM -r conftest*
8020
 
 
8021
 
 
8022
 
## CAVEAT EMPTOR:
8023
 
## There is no encapsulation within the following macros, do not change
8024
 
## the running order or otherwise move them around unless you know exactly
8025
 
## what you are doing...
8026
 
if test -n "$compiler"; then
8027
 
  
8028
 
lt_prog_compiler_no_builtin_flag=
8029
 
 
8030
 
if test "$GCC" = yes; then
8031
 
  case $cc_basename in
8032
 
  nvcc*)
8033
 
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8034
 
  *)
8035
 
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8036
 
  esac
8037
 
 
8038
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8039
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8040
 
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8041
 
  $as_echo_n "(cached) " >&6
8042
 
else
8043
 
  lt_cv_prog_compiler_rtti_exceptions=no
8044
 
   ac_outfile=conftest.$ac_objext
8045
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8046
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8047
 
   # Insert the option either (1) after the last *FLAGS variable, or
8048
 
   # (2) before a word containing "conftest.", or (3) at the end.
8049
 
   # Note that $ac_compile itself does not contain backslashes and begins
8050
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8051
 
   # The option is referenced via a variable to avoid confusing sed.
8052
 
   lt_compile=`echo "$ac_compile" | $SED \
8053
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8054
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8055
 
   -e 's:$: $lt_compiler_flag:'`
8056
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8057
 
   (eval "$lt_compile" 2>conftest.err)
8058
 
   ac_status=$?
8059
 
   cat conftest.err >&5
8060
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8062
 
     # The compiler can only warn and ignore the option if not recognized
8063
 
     # So say no if there are warnings other than the usual output.
8064
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8065
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8066
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8067
 
       lt_cv_prog_compiler_rtti_exceptions=yes
8068
 
     fi
8069
 
   fi
8070
 
   $RM conftest*
8071
 
 
8072
 
fi
8073
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8074
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8075
 
 
8076
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8077
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8078
 
else
8079
 
    :
8080
 
fi
8081
 
 
8082
 
fi
8083
 
 
8084
 
    
8085
 
    
8086
 
    
8087
 
 
8088
 
 
8089
 
  lt_prog_compiler_wl=
8090
 
lt_prog_compiler_pic=
8091
 
lt_prog_compiler_static=
8092
 
 
8093
 
 
8094
 
  if test "$GCC" = yes; then
8095
 
    lt_prog_compiler_wl='-Wl,'
8096
 
    lt_prog_compiler_static='-static'
8097
 
 
8098
 
    case $host_os in
8099
 
      aix*)
8100
 
      # All AIX code is PIC.
8101
 
      if test "$host_cpu" = ia64; then
8102
 
        # AIX 5 now supports IA64 processor
8103
 
        lt_prog_compiler_static='-Bstatic'
8104
 
      fi
8105
 
      ;;
8106
 
 
8107
 
    amigaos*)
8108
 
      case $host_cpu in
8109
 
      powerpc)
8110
 
            # see comment about AmigaOS4 .so support
8111
 
            lt_prog_compiler_pic='-fPIC'
8112
 
        ;;
8113
 
      m68k)
8114
 
            # FIXME: we need at least 68020 code to build shared libraries, but
8115
 
            # adding the `-m68020' flag to GCC prevents building anything better,
8116
 
            # like `-m68040'.
8117
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8118
 
        ;;
8119
 
      esac
8120
 
      ;;
8121
 
 
8122
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8123
 
      # PIC is the default for these OSes.
8124
 
      ;;
8125
 
 
8126
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8127
 
      # This hack is so that the source file can tell whether it is being
8128
 
      # built for inclusion in a dll (and should export symbols for example).
8129
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8130
 
      # (--disable-auto-import) libraries
8131
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8132
 
      ;;
8133
 
 
8134
 
    darwin* | rhapsody*)
8135
 
      # PIC is the default on this platform
8136
 
      # Common symbols not allowed in MH_DYLIB files
8137
 
      lt_prog_compiler_pic='-fno-common'
8138
 
      ;;
8139
 
 
8140
 
    haiku*)
8141
 
      # PIC is the default for Haiku.
8142
 
      # The "-static" flag exists, but is broken.
8143
 
      lt_prog_compiler_static=
8144
 
      ;;
8145
 
 
8146
 
    hpux*)
8147
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8148
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8149
 
      # sets the default TLS model and affects inlining.
8150
 
      case $host_cpu in
8151
 
      hppa*64*)
8152
 
        # +Z the default
8153
 
        ;;
8154
 
      *)
8155
 
        lt_prog_compiler_pic='-fPIC'
8156
 
        ;;
8157
 
      esac
8158
 
      ;;
8159
 
 
8160
 
    interix[3-9]*)
8161
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8162
 
      # Instead, we relocate shared libraries at runtime.
8163
 
      ;;
8164
 
 
8165
 
    msdosdjgpp*)
8166
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8167
 
      # on systems that don't support them.
8168
 
      lt_prog_compiler_can_build_shared=no
8169
 
      enable_shared=no
8170
 
      ;;
8171
 
 
8172
 
    *nto* | *qnx*)
8173
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8174
 
      # it will coredump.
8175
 
      lt_prog_compiler_pic='-fPIC -shared'
8176
 
      ;;
8177
 
 
8178
 
    sysv4*MP*)
8179
 
      if test -d /usr/nec; then
8180
 
        lt_prog_compiler_pic=-Kconform_pic
8181
 
      fi
8182
 
      ;;
8183
 
 
8184
 
    *)
8185
 
      lt_prog_compiler_pic='-fPIC'
8186
 
      ;;
8187
 
    esac
8188
 
 
8189
 
    case $cc_basename in
8190
 
    nvcc*) # Cuda Compiler Driver 2.2
8191
 
      lt_prog_compiler_wl='-Xlinker '
8192
 
      if test -n "$lt_prog_compiler_pic"; then
8193
 
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8194
 
      fi
8195
 
      ;;
8196
 
    esac
8197
 
  else
8198
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8199
 
    case $host_os in
8200
 
    aix*)
8201
 
      lt_prog_compiler_wl='-Wl,'
8202
 
      if test "$host_cpu" = ia64; then
8203
 
        # AIX 5 now supports IA64 processor
8204
 
        lt_prog_compiler_static='-Bstatic'
8205
 
      else
8206
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8207
 
      fi
8208
 
      ;;
8209
 
 
8210
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8211
 
      # This hack is so that the source file can tell whether it is being
8212
 
      # built for inclusion in a dll (and should export symbols for example).
8213
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8214
 
      ;;
8215
 
 
8216
 
    hpux9* | hpux10* | hpux11*)
8217
 
      lt_prog_compiler_wl='-Wl,'
8218
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8219
 
      # not for PA HP-UX.
8220
 
      case $host_cpu in
8221
 
      hppa*64*|ia64*)
8222
 
        # +Z the default
8223
 
        ;;
8224
 
      *)
8225
 
        lt_prog_compiler_pic='+Z'
8226
 
        ;;
8227
 
      esac
8228
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8229
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8230
 
      ;;
8231
 
 
8232
 
    irix5* | irix6* | nonstopux*)
8233
 
      lt_prog_compiler_wl='-Wl,'
8234
 
      # PIC (with -KPIC) is the default.
8235
 
      lt_prog_compiler_static='-non_shared'
8236
 
      ;;
8237
 
 
8238
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8239
 
      case $cc_basename in
8240
 
      # old Intel for x86_64 which still supported -KPIC.
8241
 
      ecc*)
8242
 
        lt_prog_compiler_wl='-Wl,'
8243
 
        lt_prog_compiler_pic='-KPIC'
8244
 
        lt_prog_compiler_static='-static'
8245
 
        ;;
8246
 
      # icc used to be incompatible with GCC.
8247
 
      # ICC 10 doesn't accept -KPIC any more.
8248
 
      icc* | ifort*)
8249
 
        lt_prog_compiler_wl='-Wl,'
8250
 
        lt_prog_compiler_pic='-fPIC'
8251
 
        lt_prog_compiler_static='-static'
8252
 
        ;;
8253
 
      # Lahey Fortran 8.1.
8254
 
      lf95*)
8255
 
        lt_prog_compiler_wl='-Wl,'
8256
 
        lt_prog_compiler_pic='--shared'
8257
 
        lt_prog_compiler_static='--static'
8258
 
        ;;
8259
 
      nagfor*)
8260
 
        # NAG Fortran compiler
8261
 
        lt_prog_compiler_wl='-Wl,-Wl,,'
8262
 
        lt_prog_compiler_pic='-PIC'
8263
 
        lt_prog_compiler_static='-Bstatic'
8264
 
        ;;
8265
 
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8266
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8267
 
        # which looks to be a dead project)
8268
 
        lt_prog_compiler_wl='-Wl,'
8269
 
        lt_prog_compiler_pic='-fpic'
8270
 
        lt_prog_compiler_static='-Bstatic'
8271
 
        ;;
8272
 
      ccc*)
8273
 
        lt_prog_compiler_wl='-Wl,'
8274
 
        # All Alpha code is PIC.
8275
 
        lt_prog_compiler_static='-non_shared'
8276
 
        ;;
8277
 
      xl* | bgxl* | bgf* | mpixl*)
8278
 
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8279
 
        lt_prog_compiler_wl='-Wl,'
8280
 
        lt_prog_compiler_pic='-qpic'
8281
 
        lt_prog_compiler_static='-qstaticlink'
8282
 
        ;;
8283
 
      *)
8284
 
        case `$CC -V 2>&1 | sed 5q` in
8285
 
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8286
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8287
 
          lt_prog_compiler_pic='-KPIC'
8288
 
          lt_prog_compiler_static='-Bstatic'
8289
 
          lt_prog_compiler_wl=''
8290
 
          ;;
8291
 
        *Sun\ F* | *Sun*Fortran*)
8292
 
          lt_prog_compiler_pic='-KPIC'
8293
 
          lt_prog_compiler_static='-Bstatic'
8294
 
          lt_prog_compiler_wl='-Qoption ld '
8295
 
          ;;
8296
 
        *Sun\ C*)
8297
 
          # Sun C 5.9
8298
 
          lt_prog_compiler_pic='-KPIC'
8299
 
          lt_prog_compiler_static='-Bstatic'
8300
 
          lt_prog_compiler_wl='-Wl,'
8301
 
          ;;
8302
 
        *Intel*\ [CF]*Compiler*)
8303
 
          lt_prog_compiler_wl='-Wl,'
8304
 
          lt_prog_compiler_pic='-fPIC'
8305
 
          lt_prog_compiler_static='-static'
8306
 
          ;;
8307
 
        *Portland\ Group*)
8308
 
          lt_prog_compiler_wl='-Wl,'
8309
 
          lt_prog_compiler_pic='-fpic'
8310
 
          lt_prog_compiler_static='-Bstatic'
8311
 
          ;;
8312
 
        esac
8313
 
        ;;
8314
 
      esac
8315
 
      ;;
8316
 
 
8317
 
    newsos6)
8318
 
      lt_prog_compiler_pic='-KPIC'
8319
 
      lt_prog_compiler_static='-Bstatic'
8320
 
      ;;
8321
 
 
8322
 
    *nto* | *qnx*)
8323
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8324
 
      # it will coredump.
8325
 
      lt_prog_compiler_pic='-fPIC -shared'
8326
 
      ;;
8327
 
 
8328
 
    osf3* | osf4* | osf5*)
8329
 
      lt_prog_compiler_wl='-Wl,'
8330
 
      # All OSF/1 code is PIC.
8331
 
      lt_prog_compiler_static='-non_shared'
8332
 
      ;;
8333
 
 
8334
 
    rdos*)
8335
 
      lt_prog_compiler_static='-non_shared'
8336
 
      ;;
8337
 
 
8338
 
    solaris*)
8339
 
      lt_prog_compiler_pic='-KPIC'
8340
 
      lt_prog_compiler_static='-Bstatic'
8341
 
      case $cc_basename in
8342
 
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8343
 
        lt_prog_compiler_wl='-Qoption ld ';;
8344
 
      *)
8345
 
        lt_prog_compiler_wl='-Wl,';;
8346
 
      esac
8347
 
      ;;
8348
 
 
8349
 
    sunos4*)
8350
 
      lt_prog_compiler_wl='-Qoption ld '
8351
 
      lt_prog_compiler_pic='-PIC'
8352
 
      lt_prog_compiler_static='-Bstatic'
8353
 
      ;;
8354
 
 
8355
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8356
 
      lt_prog_compiler_wl='-Wl,'
8357
 
      lt_prog_compiler_pic='-KPIC'
8358
 
      lt_prog_compiler_static='-Bstatic'
8359
 
      ;;
8360
 
 
8361
 
    sysv4*MP*)
8362
 
      if test -d /usr/nec ;then
8363
 
        lt_prog_compiler_pic='-Kconform_pic'
8364
 
        lt_prog_compiler_static='-Bstatic'
8365
 
      fi
8366
 
      ;;
8367
 
 
8368
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8369
 
      lt_prog_compiler_wl='-Wl,'
8370
 
      lt_prog_compiler_pic='-KPIC'
8371
 
      lt_prog_compiler_static='-Bstatic'
8372
 
      ;;
8373
 
 
8374
 
    unicos*)
8375
 
      lt_prog_compiler_wl='-Wl,'
8376
 
      lt_prog_compiler_can_build_shared=no
8377
 
      ;;
8378
 
 
8379
 
    uts4*)
8380
 
      lt_prog_compiler_pic='-pic'
8381
 
      lt_prog_compiler_static='-Bstatic'
8382
 
      ;;
8383
 
 
8384
 
    *)
8385
 
      lt_prog_compiler_can_build_shared=no
8386
 
      ;;
8387
 
    esac
8388
 
  fi
8389
 
 
8390
 
case $host_os in
8391
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8392
 
  *djgpp*)
8393
 
    lt_prog_compiler_pic=
8394
 
    ;;
8395
 
  *)
8396
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8397
 
    ;;
8398
 
esac
8399
 
 
8400
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8401
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8402
 
if ${lt_cv_prog_compiler_pic+:} false; then :
8403
 
  $as_echo_n "(cached) " >&6
8404
 
else
8405
 
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8406
 
fi
8407
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8408
 
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8409
 
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8410
 
 
8411
 
#
8412
 
# Check to make sure the PIC flag actually works.
8413
 
#
8414
 
if test -n "$lt_prog_compiler_pic"; then
8415
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8416
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8417
 
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8418
 
  $as_echo_n "(cached) " >&6
8419
 
else
8420
 
  lt_cv_prog_compiler_pic_works=no
8421
 
   ac_outfile=conftest.$ac_objext
8422
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8423
 
   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8424
 
   # Insert the option either (1) after the last *FLAGS variable, or
8425
 
   # (2) before a word containing "conftest.", or (3) at the end.
8426
 
   # Note that $ac_compile itself does not contain backslashes and begins
8427
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8428
 
   # The option is referenced via a variable to avoid confusing sed.
8429
 
   lt_compile=`echo "$ac_compile" | $SED \
8430
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8431
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8432
 
   -e 's:$: $lt_compiler_flag:'`
8433
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8434
 
   (eval "$lt_compile" 2>conftest.err)
8435
 
   ac_status=$?
8436
 
   cat conftest.err >&5
8437
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8438
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8439
 
     # The compiler can only warn and ignore the option if not recognized
8440
 
     # So say no if there are warnings other than the usual output.
8441
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8442
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8443
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8444
 
       lt_cv_prog_compiler_pic_works=yes
8445
 
     fi
8446
 
   fi
8447
 
   $RM conftest*
8448
 
 
8449
 
fi
8450
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8451
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8452
 
 
8453
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8454
 
    case $lt_prog_compiler_pic in
8455
 
     "" | " "*) ;;
8456
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8457
 
     esac
8458
 
else
8459
 
    lt_prog_compiler_pic=
8460
 
     lt_prog_compiler_can_build_shared=no
8461
 
fi
8462
 
 
8463
 
fi
8464
 
 
8465
 
    
8466
 
    
8467
 
    
8468
 
 
8469
 
 
8470
 
 
8471
 
    
8472
 
    
8473
 
    
8474
 
 
8475
 
#
8476
 
# Check to make sure the static flag actually works.
8477
 
#
8478
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8479
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8480
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8481
 
if ${lt_cv_prog_compiler_static_works+:} false; then :
8482
 
  $as_echo_n "(cached) " >&6
8483
 
else
8484
 
  lt_cv_prog_compiler_static_works=no
8485
 
   save_LDFLAGS="$LDFLAGS"
8486
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8487
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8488
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8489
 
     # The linker can only warn and ignore the option if not recognized
8490
 
     # So say no if there are warnings
8491
 
     if test -s conftest.err; then
8492
 
       # Append any errors to the config.log.
8493
 
       cat conftest.err 1>&5
8494
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8495
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8496
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8497
 
         lt_cv_prog_compiler_static_works=yes
8498
 
       fi
8499
 
     else
8500
 
       lt_cv_prog_compiler_static_works=yes
8501
 
     fi
8502
 
   fi
8503
 
   $RM -r conftest*
8504
 
   LDFLAGS="$save_LDFLAGS"
8505
 
 
8506
 
fi
8507
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8508
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8509
 
 
8510
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8511
 
    :
8512
 
else
8513
 
    lt_prog_compiler_static=
8514
 
fi
8515
 
 
8516
 
 
8517
 
    
8518
 
    
8519
 
    
8520
 
 
8521
 
 
8522
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8523
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8524
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
8525
 
  $as_echo_n "(cached) " >&6
8526
 
else
8527
 
  lt_cv_prog_compiler_c_o=no
8528
 
   $RM -r conftest 2>/dev/null
8529
 
   mkdir conftest
8530
 
   cd conftest
8531
 
   mkdir out
8532
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8533
 
 
8534
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8535
 
   # Insert the option either (1) after the last *FLAGS variable, or
8536
 
   # (2) before a word containing "conftest.", or (3) at the end.
8537
 
   # Note that $ac_compile itself does not contain backslashes and begins
8538
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8539
 
   lt_compile=`echo "$ac_compile" | $SED \
8540
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8541
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8542
 
   -e 's:$: $lt_compiler_flag:'`
8543
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8544
 
   (eval "$lt_compile" 2>out/conftest.err)
8545
 
   ac_status=$?
8546
 
   cat out/conftest.err >&5
8547
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8548
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8549
 
   then
8550
 
     # The compiler can only warn and ignore the option if not recognized
8551
 
     # So say no if there are warnings
8552
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8553
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8554
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8555
 
       lt_cv_prog_compiler_c_o=yes
8556
 
     fi
8557
 
   fi
8558
 
   chmod u+w . 2>&5
8559
 
   $RM conftest*
8560
 
   # SGI C++ compiler will create directory out/ii_files/ for
8561
 
   # template instantiation
8562
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8563
 
   $RM out/* && rmdir out
8564
 
   cd ..
8565
 
   $RM -r conftest
8566
 
   $RM conftest*
8567
 
 
8568
 
fi
8569
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8570
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8571
 
 
8572
 
    
8573
 
    
8574
 
    
8575
 
 
8576
 
 
8577
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8578
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8579
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
8580
 
  $as_echo_n "(cached) " >&6
8581
 
else
8582
 
  lt_cv_prog_compiler_c_o=no
8583
 
   $RM -r conftest 2>/dev/null
8584
 
   mkdir conftest
8585
 
   cd conftest
8586
 
   mkdir out
8587
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8588
 
 
8589
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8590
 
   # Insert the option either (1) after the last *FLAGS variable, or
8591
 
   # (2) before a word containing "conftest.", or (3) at the end.
8592
 
   # Note that $ac_compile itself does not contain backslashes and begins
8593
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8594
 
   lt_compile=`echo "$ac_compile" | $SED \
8595
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8596
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8597
 
   -e 's:$: $lt_compiler_flag:'`
8598
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8599
 
   (eval "$lt_compile" 2>out/conftest.err)
8600
 
   ac_status=$?
8601
 
   cat out/conftest.err >&5
8602
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8604
 
   then
8605
 
     # The compiler can only warn and ignore the option if not recognized
8606
 
     # So say no if there are warnings
8607
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8608
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8609
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8610
 
       lt_cv_prog_compiler_c_o=yes
8611
 
     fi
8612
 
   fi
8613
 
   chmod u+w . 2>&5
8614
 
   $RM conftest*
8615
 
   # SGI C++ compiler will create directory out/ii_files/ for
8616
 
   # template instantiation
8617
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8618
 
   $RM out/* && rmdir out
8619
 
   cd ..
8620
 
   $RM -r conftest
8621
 
   $RM conftest*
8622
 
 
8623
 
fi
8624
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8625
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8626
 
 
8627
 
 
8628
 
 
8629
 
 
8630
 
hard_links="nottested"
8631
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8632
 
  # do not overwrite the value of need_locks provided by the user
8633
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8634
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
8635
 
  hard_links=yes
8636
 
  $RM conftest*
8637
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8638
 
  touch conftest.a
8639
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
8640
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8641
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8642
 
$as_echo "$hard_links" >&6; }
8643
 
  if test "$hard_links" = no; then
8644
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8645
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8646
 
    need_locks=warn
8647
 
  fi
8648
 
else
8649
 
  need_locks=no
8650
 
fi
8651
 
 
8652
 
    
8653
 
    
8654
 
    
8655
 
 
8656
 
 
8657
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8658
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8659
 
 
8660
 
  runpath_var=
8661
 
  allow_undefined_flag=
8662
 
  always_export_symbols=no
8663
 
  archive_cmds=
8664
 
  archive_expsym_cmds=
8665
 
  compiler_needs_object=no
8666
 
  enable_shared_with_static_runtimes=no
8667
 
  export_dynamic_flag_spec=
8668
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8669
 
  hardcode_automatic=no
8670
 
  hardcode_direct=no
8671
 
  hardcode_direct_absolute=no
8672
 
  hardcode_libdir_flag_spec=
8673
 
  hardcode_libdir_separator=
8674
 
  hardcode_minus_L=no
8675
 
  hardcode_shlibpath_var=unsupported
8676
 
  inherit_rpath=no
8677
 
  link_all_deplibs=unknown
8678
 
  module_cmds=
8679
 
  module_expsym_cmds=
8680
 
  old_archive_from_new_cmds=
8681
 
  old_archive_from_expsyms_cmds=
8682
 
  thread_safe_flag_spec=
8683
 
  whole_archive_flag_spec=
8684
 
  # include_expsyms should be a list of space-separated symbols to be *always*
8685
 
  # included in the symbol list
8686
 
  include_expsyms=
8687
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
8688
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8689
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8690
 
  # as well as any symbol that contains `d'.
8691
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8692
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8693
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
8694
 
  # the symbol is explicitly referenced.  Since portable code cannot
8695
 
  # rely on this symbol name, it's probably fine to never include it in
8696
 
  # preloaded symbol tables.
8697
 
  # Exclude shared library initialization/finalization symbols.
8698
 
  extract_expsyms_cmds=
8699
 
 
8700
 
  case $host_os in
8701
 
  cygwin* | mingw* | pw32* | cegcc*)
8702
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8703
 
    # When not using gcc, we currently assume that we are using
8704
 
    # Microsoft Visual C++.
8705
 
    if test "$GCC" != yes; then
8706
 
      with_gnu_ld=no
8707
 
    fi
8708
 
    ;;
8709
 
  interix*)
8710
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
8711
 
    with_gnu_ld=yes
8712
 
    ;;
8713
 
  openbsd*)
8714
 
    with_gnu_ld=no
8715
 
    ;;
8716
 
  linux* | k*bsd*-gnu | gnu*)
8717
 
    link_all_deplibs=no
8718
 
    ;;
8719
 
  esac
8720
 
 
8721
 
  ld_shlibs=yes
8722
 
 
8723
 
  # On some targets, GNU ld is compatible enough with the native linker
8724
 
  # that we're better off using the native interface for both.
8725
 
  lt_use_gnu_ld_interface=no
8726
 
  if test "$with_gnu_ld" = yes; then
8727
 
    case $host_os in
8728
 
      aix*)
8729
 
        # The AIX port of GNU ld has always aspired to compatibility
8730
 
        # with the native linker.  However, as the warning in the GNU ld
8731
 
        # block says, versions before 2.19.5* couldn't really create working
8732
 
        # shared libraries, regardless of the interface used.
8733
 
        case `$LD -v 2>&1` in
8734
 
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8735
 
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8736
 
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8737
 
          *)
8738
 
            lt_use_gnu_ld_interface=yes
8739
 
            ;;
8740
 
        esac
8741
 
        ;;
8742
 
      *)
8743
 
        lt_use_gnu_ld_interface=yes
8744
 
        ;;
8745
 
    esac
8746
 
  fi
8747
 
 
8748
 
  if test "$lt_use_gnu_ld_interface" = yes; then
8749
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
8750
 
    wlarc='${wl}'
8751
 
 
8752
 
    # Set some defaults for GNU ld with shared library support. These
8753
 
    # are reset later if shared libraries are not supported. Putting them
8754
 
    # here allows them to be overridden if necessary.
8755
 
    runpath_var=LD_RUN_PATH
8756
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8757
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
8758
 
    # ancient GNU ld didn't support --whole-archive et. al.
8759
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8760
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8761
 
    else
8762
 
      whole_archive_flag_spec=
8763
 
    fi
8764
 
    supports_anon_versioning=no
8765
 
    case `$LD -v 2>&1` in
8766
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
8767
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8768
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8769
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8770
 
      *\ 2.11.*) ;; # other 2.11 versions
8771
 
      *) supports_anon_versioning=yes ;;
8772
 
    esac
8773
 
 
8774
 
    # See if GNU ld supports shared libraries.
8775
 
    case $host_os in
8776
 
    aix[3-9]*)
8777
 
      # On AIX/PPC, the GNU linker is very broken
8778
 
      if test "$host_cpu" != ia64; then
8779
 
        ld_shlibs=no
8780
 
        cat <<_LT_EOF 1>&2
8781
 
 
8782
 
*** Warning: the GNU linker, at least up to release 2.19, is reported
8783
 
*** to be unable to reliably create shared libraries on AIX.
8784
 
*** Therefore, libtool is disabling shared libraries support.  If you
8785
 
*** really care for shared libraries, you may want to install binutils
8786
 
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8787
 
*** You will then need to restart the configuration process.
8788
 
 
8789
 
_LT_EOF
8790
 
      fi
8791
 
      ;;
8792
 
 
8793
 
    amigaos*)
8794
 
      case $host_cpu in
8795
 
      powerpc)
8796
 
            # see comment about AmigaOS4 .so support
8797
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8798
 
            archive_expsym_cmds=''
8799
 
        ;;
8800
 
      m68k)
8801
 
            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)'
8802
 
            hardcode_libdir_flag_spec='-L$libdir'
8803
 
            hardcode_minus_L=yes
8804
 
        ;;
8805
 
      esac
8806
 
      ;;
8807
 
 
8808
 
    beos*)
8809
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8810
 
        allow_undefined_flag=unsupported
8811
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8812
 
        # support --undefined.  This deserves some investigation.  FIXME
8813
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8814
 
      else
8815
 
        ld_shlibs=no
8816
 
      fi
8817
 
      ;;
8818
 
 
8819
 
    cygwin* | mingw* | pw32* | cegcc*)
8820
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8821
 
      # as there is no search path for DLLs.
8822
 
      hardcode_libdir_flag_spec='-L$libdir'
8823
 
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8824
 
      allow_undefined_flag=unsupported
8825
 
      always_export_symbols=no
8826
 
      enable_shared_with_static_runtimes=yes
8827
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8828
 
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8829
 
 
8830
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8831
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8832
 
        # If the export-symbols file already is a .def file (1st line
8833
 
        # is EXPORTS), use it as is; otherwise, prepend...
8834
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8835
 
          cp $export_symbols $output_objdir/$soname.def;
8836
 
        else
8837
 
          echo EXPORTS > $output_objdir/$soname.def;
8838
 
          cat $export_symbols >> $output_objdir/$soname.def;
8839
 
        fi~
8840
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8841
 
      else
8842
 
        ld_shlibs=no
8843
 
      fi
8844
 
      ;;
8845
 
 
8846
 
    haiku*)
8847
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8848
 
      link_all_deplibs=yes
8849
 
      ;;
8850
 
 
8851
 
    interix[3-9]*)
8852
 
      hardcode_direct=no
8853
 
      hardcode_shlibpath_var=no
8854
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8855
 
      export_dynamic_flag_spec='${wl}-E'
8856
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8857
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
8858
 
      # default) and relocated if they conflict, which is a slow very memory
8859
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
8860
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8861
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8862
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8863
 
      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'
8864
 
      ;;
8865
 
 
8866
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8867
 
      tmp_diet=no
8868
 
      if test "$host_os" = linux-dietlibc; then
8869
 
        case $cc_basename in
8870
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8871
 
        esac
8872
 
      fi
8873
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8874
 
         && test "$tmp_diet" = no
8875
 
      then
8876
 
        tmp_addflag=' $pic_flag'
8877
 
        tmp_sharedflag='-shared'
8878
 
        case $cc_basename,$host_cpu in
8879
 
        pgcc*)                          # Portland Group C compiler
8880
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8881
 
          tmp_addflag=' $pic_flag'
8882
 
          ;;
8883
 
        pgf77* | pgf90* | pgf95* | pgfortran*)
8884
 
                                        # Portland Group f77 and f90 compilers
8885
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8886
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
8887
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8888
 
          tmp_addflag=' -i_dynamic' ;;
8889
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8890
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8891
 
        ifc* | ifort*)                  # Intel Fortran compiler
8892
 
          tmp_addflag=' -nofor_main' ;;
8893
 
        lf95*)                          # Lahey Fortran 8.1
8894
 
          whole_archive_flag_spec=
8895
 
          tmp_sharedflag='--shared' ;;
8896
 
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8897
 
          tmp_sharedflag='-qmkshrobj'
8898
 
          tmp_addflag= ;;
8899
 
        nvcc*)  # Cuda Compiler Driver 2.2
8900
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8901
 
          compiler_needs_object=yes
8902
 
          ;;
8903
 
        esac
8904
 
        case `$CC -V 2>&1 | sed 5q` in
8905
 
        *Sun\ C*)                       # Sun C 5.9
8906
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8907
 
          compiler_needs_object=yes
8908
 
          tmp_sharedflag='-G' ;;
8909
 
        *Sun\ F*)                       # Sun Fortran 8.3
8910
 
          tmp_sharedflag='-G' ;;
8911
 
        esac
8912
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8913
 
 
8914
 
        if test "x$supports_anon_versioning" = xyes; then
8915
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8916
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8917
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
8918
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8919
 
        fi
8920
 
 
8921
 
        case $cc_basename in
8922
 
        xlf* | bgf* | bgxlf* | mpixlf*)
8923
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8924
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8925
 
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8926
 
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8927
 
          if test "x$supports_anon_versioning" = xyes; then
8928
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8929
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8930
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
8931
 
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8932
 
          fi
8933
 
          ;;
8934
 
        esac
8935
 
      else
8936
 
        ld_shlibs=no
8937
 
      fi
8938
 
      ;;
8939
 
 
8940
 
    netbsd* | netbsdelf*-gnu)
8941
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8942
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8943
 
        wlarc=
8944
 
      else
8945
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8946
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8947
 
      fi
8948
 
      ;;
8949
 
 
8950
 
    solaris*)
8951
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8952
 
        ld_shlibs=no
8953
 
        cat <<_LT_EOF 1>&2
8954
 
 
8955
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8956
 
*** create shared libraries on Solaris systems.  Therefore, libtool
8957
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8958
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
8959
 
*** your PATH or compiler configuration so that the native linker is
8960
 
*** used, and then restart.
8961
 
 
8962
 
_LT_EOF
8963
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8964
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8965
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8966
 
      else
8967
 
        ld_shlibs=no
8968
 
      fi
8969
 
      ;;
8970
 
 
8971
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8972
 
      case `$LD -v 2>&1` in
8973
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8974
 
        ld_shlibs=no
8975
 
        cat <<_LT_EOF 1>&2
8976
 
 
8977
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8978
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
8979
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
8980
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8981
 
*** your PATH or compiler configuration so that the native linker is
8982
 
*** used, and then restart.
8983
 
 
8984
 
_LT_EOF
8985
 
        ;;
8986
 
        *)
8987
 
          # For security reasons, it is highly recommended that you always
8988
 
          # use absolute paths for naming shared libraries, and exclude the
8989
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
8990
 
          # requires that you compile everything twice, which is a pain.
8991
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8992
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8993
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8994
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8995
 
          else
8996
 
            ld_shlibs=no
8997
 
          fi
8998
 
        ;;
8999
 
      esac
9000
 
      ;;
9001
 
 
9002
 
    sunos4*)
9003
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9004
 
      wlarc=
9005
 
      hardcode_direct=yes
9006
 
      hardcode_shlibpath_var=no
9007
 
      ;;
9008
 
 
9009
 
    *)
9010
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9011
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9012
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9013
 
      else
9014
 
        ld_shlibs=no
9015
 
      fi
9016
 
      ;;
9017
 
    esac
9018
 
 
9019
 
    if test "$ld_shlibs" = no; then
9020
 
      runpath_var=
9021
 
      hardcode_libdir_flag_spec=
9022
 
      export_dynamic_flag_spec=
9023
 
      whole_archive_flag_spec=
9024
 
    fi
9025
 
  else
9026
 
    # PORTME fill in a description of your system's linker (not GNU ld)
9027
 
    case $host_os in
9028
 
    aix3*)
9029
 
      allow_undefined_flag=unsupported
9030
 
      always_export_symbols=yes
9031
 
      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'
9032
 
      # Note: this linker hardcodes the directories in LIBPATH if there
9033
 
      # are no directories specified by -L.
9034
 
      hardcode_minus_L=yes
9035
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9036
 
        # Neither direct hardcoding nor static linking is supported with a
9037
 
        # broken collect2.
9038
 
        hardcode_direct=unsupported
9039
 
      fi
9040
 
      ;;
9041
 
 
9042
 
    aix[4-9]*)
9043
 
      if test "$host_cpu" = ia64; then
9044
 
        # On IA64, the linker does run time linking by default, so we don't
9045
 
        # have to do anything special.
9046
 
        aix_use_runtimelinking=no
9047
 
        exp_sym_flag='-Bexport'
9048
 
        no_entry_flag=""
9049
 
      else
9050
 
        # If we're using GNU nm, then we don't want the "-C" option.
9051
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9052
 
        # Also, AIX nm treats weak defined symbols like other global
9053
 
        # defined symbols, whereas GNU nm marks them as "W".
9054
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9055
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9056
 
        else
9057
 
          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'
9058
 
        fi
9059
 
        aix_use_runtimelinking=no
9060
 
 
9061
 
        # Test if we are trying to use run time linking or normal
9062
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9063
 
        # need to do runtime linking.
9064
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9065
 
          for ld_flag in $LDFLAGS; do
9066
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9067
 
            aix_use_runtimelinking=yes
9068
 
            break
9069
 
          fi
9070
 
          done
9071
 
          ;;
9072
 
        esac
9073
 
 
9074
 
        exp_sym_flag='-bexport'
9075
 
        no_entry_flag='-bnoentry'
9076
 
      fi
9077
 
 
9078
 
      # When large executables or shared objects are built, AIX ld can
9079
 
      # have problems creating the table of contents.  If linking a library
9080
 
      # or program results in "error TOC overflow" add -mminimal-toc to
9081
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9082
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9083
 
 
9084
 
      archive_cmds=''
9085
 
      hardcode_direct=yes
9086
 
      hardcode_direct_absolute=yes
9087
 
      hardcode_libdir_separator=':'
9088
 
      link_all_deplibs=yes
9089
 
      file_list_spec='${wl}-f,'
9090
 
 
9091
 
      if test "$GCC" = yes; then
9092
 
        case $host_os in aix4.[012]|aix4.[012].*)
9093
 
        # We only want to do this on AIX 4.2 and lower, the check
9094
 
        # below for broken collect2 doesn't work under 4.3+
9095
 
          collect2name=`${CC} -print-prog-name=collect2`
9096
 
          if test -f "$collect2name" &&
9097
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9098
 
          then
9099
 
          # We have reworked collect2
9100
 
          :
9101
 
          else
9102
 
          # We have old collect2
9103
 
          hardcode_direct=unsupported
9104
 
          # It fails to find uninstalled libraries when the uninstalled
9105
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9106
 
          # to unsupported forces relinking
9107
 
          hardcode_minus_L=yes
9108
 
          hardcode_libdir_flag_spec='-L$libdir'
9109
 
          hardcode_libdir_separator=
9110
 
          fi
9111
 
          ;;
9112
 
        esac
9113
 
        shared_flag='-shared'
9114
 
        if test "$aix_use_runtimelinking" = yes; then
9115
 
          shared_flag="$shared_flag "'${wl}-G'
9116
 
        fi
9117
 
        link_all_deplibs=no
9118
 
      else
9119
 
        # not using gcc
9120
 
        if test "$host_cpu" = ia64; then
9121
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9122
 
        # chokes on -Wl,-G. The following line is correct:
9123
 
          shared_flag='-G'
9124
 
        else
9125
 
          if test "$aix_use_runtimelinking" = yes; then
9126
 
            shared_flag='${wl}-G'
9127
 
          else
9128
 
            shared_flag='${wl}-bM:SRE'
9129
 
          fi
9130
 
        fi
9131
 
      fi
9132
 
 
9133
 
      export_dynamic_flag_spec='${wl}-bexpall'
9134
 
      # It seems that -bexpall does not export symbols beginning with
9135
 
      # underscore (_), so it is better to generate a list of symbols to export.
9136
 
      always_export_symbols=yes
9137
 
      if test "$aix_use_runtimelinking" = yes; then
9138
 
        # Warning - without using the other runtime loading flags (-brtl),
9139
 
        # -berok will link without error, but may produce a broken library.
9140
 
        allow_undefined_flag='-berok'
9141
 
        # Determine the default libpath from the value encoded in an
9142
 
        # empty executable.
9143
 
        if test "${lt_cv_aix_libpath+set}" = set; then
9144
 
  aix_libpath=$lt_cv_aix_libpath
9145
 
else
9146
 
  if ${lt_cv_aix_libpath_+:} false; then :
9147
 
  $as_echo_n "(cached) " >&6
9148
 
else
9149
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9150
 
/* end confdefs.h.  */
9151
 
 
9152
 
int
9153
 
main ()
9154
 
{
9155
 
 
9156
 
  ;
9157
 
  return 0;
9158
 
}
9159
 
_ACEOF
9160
 
if ac_fn_c_try_link "$LINENO"; then :
9161
 
  
9162
 
  lt_aix_libpath_sed='
9163
 
      /Import File Strings/,/^$/ {
9164
 
          /^0/ {
9165
 
              s/^0  *\([^ ]*\) *$/\1/
9166
 
              p
9167
 
          }
9168
 
      }'
9169
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9170
 
  # Check for a 64-bit object if we didn't find anything.
9171
 
  if test -z "$lt_cv_aix_libpath_"; then
9172
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9173
 
  fi
9174
 
fi
9175
 
rm -f core conftest.err conftest.$ac_objext \
9176
 
    conftest$ac_exeext conftest.$ac_ext
9177
 
  if test -z "$lt_cv_aix_libpath_"; then
9178
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9179
 
  fi
9180
 
  
9181
 
fi
9182
 
 
9183
 
  aix_libpath=$lt_cv_aix_libpath_
9184
 
fi
9185
 
 
9186
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9187
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9188
 
      else
9189
 
        if test "$host_cpu" = ia64; then
9190
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9191
 
          allow_undefined_flag="-z nodefs"
9192
 
          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"
9193
 
        else
9194
 
         # Determine the default libpath from the value encoded in an
9195
 
         # empty executable.
9196
 
         if test "${lt_cv_aix_libpath+set}" = set; then
9197
 
  aix_libpath=$lt_cv_aix_libpath
9198
 
else
9199
 
  if ${lt_cv_aix_libpath_+:} false; then :
9200
 
  $as_echo_n "(cached) " >&6
9201
 
else
9202
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9203
 
/* end confdefs.h.  */
9204
 
 
9205
 
int
9206
 
main ()
9207
 
{
9208
 
 
9209
 
  ;
9210
 
  return 0;
9211
 
}
9212
 
_ACEOF
9213
 
if ac_fn_c_try_link "$LINENO"; then :
9214
 
  
9215
 
  lt_aix_libpath_sed='
9216
 
      /Import File Strings/,/^$/ {
9217
 
          /^0/ {
9218
 
              s/^0  *\([^ ]*\) *$/\1/
9219
 
              p
9220
 
          }
9221
 
      }'
9222
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9223
 
  # Check for a 64-bit object if we didn't find anything.
9224
 
  if test -z "$lt_cv_aix_libpath_"; then
9225
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9226
 
  fi
9227
 
fi
9228
 
rm -f core conftest.err conftest.$ac_objext \
9229
 
    conftest$ac_exeext conftest.$ac_ext
9230
 
  if test -z "$lt_cv_aix_libpath_"; then
9231
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9232
 
  fi
9233
 
  
9234
 
fi
9235
 
 
9236
 
  aix_libpath=$lt_cv_aix_libpath_
9237
 
fi
9238
 
 
9239
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9240
 
          # Warning - without using the other run time loading flags,
9241
 
          # -berok will link without error, but may produce a broken library.
9242
 
          no_undefined_flag=' ${wl}-bernotok'
9243
 
          allow_undefined_flag=' ${wl}-berok'
9244
 
          if test "$with_gnu_ld" = yes; then
9245
 
            # We only use this code for GNU lds that support --whole-archive.
9246
 
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9247
 
          else
9248
 
            # Exported symbols can be pulled into shared objects from archives
9249
 
            whole_archive_flag_spec='$convenience'
9250
 
          fi
9251
 
          archive_cmds_need_lc=yes
9252
 
          # This is similar to how AIX traditionally builds its shared libraries.
9253
 
          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'
9254
 
        fi
9255
 
      fi
9256
 
      ;;
9257
 
 
9258
 
    amigaos*)
9259
 
      case $host_cpu in
9260
 
      powerpc)
9261
 
            # see comment about AmigaOS4 .so support
9262
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9263
 
            archive_expsym_cmds=''
9264
 
        ;;
9265
 
      m68k)
9266
 
            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)'
9267
 
            hardcode_libdir_flag_spec='-L$libdir'
9268
 
            hardcode_minus_L=yes
9269
 
        ;;
9270
 
      esac
9271
 
      ;;
9272
 
 
9273
 
    bsdi[45]*)
9274
 
      export_dynamic_flag_spec=-rdynamic
9275
 
      ;;
9276
 
 
9277
 
    cygwin* | mingw* | pw32* | cegcc*)
9278
 
      # When not using gcc, we currently assume that we are using
9279
 
      # Microsoft Visual C++.
9280
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9281
 
      # no search path for DLLs.
9282
 
      case $cc_basename in
9283
 
      cl*)
9284
 
        # Native MSVC
9285
 
        hardcode_libdir_flag_spec=' '
9286
 
        allow_undefined_flag=unsupported
9287
 
        always_export_symbols=yes
9288
 
        file_list_spec='@'
9289
 
        # Tell ltmain to make .lib files, not .a files.
9290
 
        libext=lib
9291
 
        # Tell ltmain to make .dll files, not .so files.
9292
 
        shrext_cmds=".dll"
9293
 
        # FIXME: Setting linknames here is a bad hack.
9294
 
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9295
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9296
 
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9297
 
          else
9298
 
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9299
 
          fi~
9300
 
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9301
 
          linknames='
9302
 
        # The linker will not automatically build a static lib if we build a DLL.
9303
 
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9304
 
        enable_shared_with_static_runtimes=yes
9305
 
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9306
 
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9307
 
        # Don't use ranlib
9308
 
        old_postinstall_cmds='chmod 644 $oldlib'
9309
 
        postlink_cmds='lt_outputfile="@OUTPUT@"~
9310
 
          lt_tool_outputfile="@TOOL_OUTPUT@"~
9311
 
          case $lt_outputfile in
9312
 
            *.exe|*.EXE) ;;
9313
 
            *)
9314
 
              lt_outputfile="$lt_outputfile.exe"
9315
 
              lt_tool_outputfile="$lt_tool_outputfile.exe"
9316
 
              ;;
9317
 
          esac~
9318
 
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9319
 
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9320
 
            $RM "$lt_outputfile.manifest";
9321
 
          fi'
9322
 
        ;;
9323
 
      *)
9324
 
        # Assume MSVC wrapper
9325
 
        hardcode_libdir_flag_spec=' '
9326
 
        allow_undefined_flag=unsupported
9327
 
        # Tell ltmain to make .lib files, not .a files.
9328
 
        libext=lib
9329
 
        # Tell ltmain to make .dll files, not .so files.
9330
 
        shrext_cmds=".dll"
9331
 
        # FIXME: Setting linknames here is a bad hack.
9332
 
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9333
 
        # The linker will automatically build a .lib file if we build a DLL.
9334
 
        old_archive_from_new_cmds='true'
9335
 
        # FIXME: Should let the user specify the lib program.
9336
 
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9337
 
        enable_shared_with_static_runtimes=yes
9338
 
        ;;
9339
 
      esac
9340
 
      ;;
9341
 
 
9342
 
    darwin* | rhapsody*)
9343
 
      
9344
 
  
9345
 
  archive_cmds_need_lc=no
9346
 
  hardcode_direct=no
9347
 
  hardcode_automatic=yes
9348
 
  hardcode_shlibpath_var=unsupported
9349
 
  if test "$lt_cv_ld_force_load" = "yes"; then
9350
 
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9351
 
    
9352
 
  else
9353
 
    whole_archive_flag_spec=''
9354
 
  fi
9355
 
  link_all_deplibs=yes
9356
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
9357
 
  case $cc_basename in
9358
 
     ifort*) _lt_dar_can_shared=yes ;;
9359
 
     *) _lt_dar_can_shared=$GCC ;;
9360
 
  esac
9361
 
  if test "$_lt_dar_can_shared" = "yes"; then
9362
 
    output_verbose_link_cmd=func_echo_all
9363
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9364
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9365
 
    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}"
9366
 
    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}"
9367
 
    
9368
 
  else
9369
 
  ld_shlibs=no
9370
 
  fi
9371
 
 
9372
 
      ;;
9373
 
 
9374
 
    dgux*)
9375
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9376
 
      hardcode_libdir_flag_spec='-L$libdir'
9377
 
      hardcode_shlibpath_var=no
9378
 
      ;;
9379
 
 
9380
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9381
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9382
 
    # does not break anything, and helps significantly (at the cost of a little
9383
 
    # extra space).
9384
 
    freebsd2.2*)
9385
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9386
 
      hardcode_libdir_flag_spec='-R$libdir'
9387
 
      hardcode_direct=yes
9388
 
      hardcode_shlibpath_var=no
9389
 
      ;;
9390
 
 
9391
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9392
 
    freebsd2.*)
9393
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9394
 
      hardcode_direct=yes
9395
 
      hardcode_minus_L=yes
9396
 
      hardcode_shlibpath_var=no
9397
 
      ;;
9398
 
 
9399
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9400
 
    freebsd* | dragonfly*)
9401
 
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9402
 
      hardcode_libdir_flag_spec='-R$libdir'
9403
 
      hardcode_direct=yes
9404
 
      hardcode_shlibpath_var=no
9405
 
      ;;
9406
 
 
9407
 
    hpux9*)
9408
 
      if test "$GCC" = yes; then
9409
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9410
 
      else
9411
 
        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'
9412
 
      fi
9413
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9414
 
      hardcode_libdir_separator=:
9415
 
      hardcode_direct=yes
9416
 
 
9417
 
      # hardcode_minus_L: Not really in the search PATH,
9418
 
      # but as the default location of the library.
9419
 
      hardcode_minus_L=yes
9420
 
      export_dynamic_flag_spec='${wl}-E'
9421
 
      ;;
9422
 
 
9423
 
    hpux10*)
9424
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9425
 
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9426
 
      else
9427
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9428
 
      fi
9429
 
      if test "$with_gnu_ld" = no; then
9430
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9431
 
        hardcode_libdir_separator=:
9432
 
        hardcode_direct=yes
9433
 
        hardcode_direct_absolute=yes
9434
 
        export_dynamic_flag_spec='${wl}-E'
9435
 
        # hardcode_minus_L: Not really in the search PATH,
9436
 
        # but as the default location of the library.
9437
 
        hardcode_minus_L=yes
9438
 
      fi
9439
 
      ;;
9440
 
 
9441
 
    hpux11*)
9442
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9443
 
        case $host_cpu in
9444
 
        hppa*64*)
9445
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9446
 
          ;;
9447
 
        ia64*)
9448
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9449
 
          ;;
9450
 
        *)
9451
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9452
 
          ;;
9453
 
        esac
9454
 
      else
9455
 
        case $host_cpu in
9456
 
        hppa*64*)
9457
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9458
 
          ;;
9459
 
        ia64*)
9460
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9461
 
          ;;
9462
 
        *)
9463
 
        
9464
 
          # Older versions of the 11.00 compiler do not understand -b yet
9465
 
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9466
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9467
 
$as_echo_n "checking if $CC understands -b... " >&6; }
9468
 
if ${lt_cv_prog_compiler__b+:} false; then :
9469
 
  $as_echo_n "(cached) " >&6
9470
 
else
9471
 
  lt_cv_prog_compiler__b=no
9472
 
   save_LDFLAGS="$LDFLAGS"
9473
 
   LDFLAGS="$LDFLAGS -b"
9474
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9475
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9476
 
     # The linker can only warn and ignore the option if not recognized
9477
 
     # So say no if there are warnings
9478
 
     if test -s conftest.err; then
9479
 
       # Append any errors to the config.log.
9480
 
       cat conftest.err 1>&5
9481
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9482
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9483
 
       if diff conftest.exp conftest.er2 >/dev/null; then
9484
 
         lt_cv_prog_compiler__b=yes
9485
 
       fi
9486
 
     else
9487
 
       lt_cv_prog_compiler__b=yes
9488
 
     fi
9489
 
   fi
9490
 
   $RM -r conftest*
9491
 
   LDFLAGS="$save_LDFLAGS"
9492
 
 
9493
 
fi
9494
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9495
 
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9496
 
 
9497
 
if test x"$lt_cv_prog_compiler__b" = xyes; then
9498
 
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9499
 
else
9500
 
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9501
 
fi
9502
 
 
9503
 
          ;;
9504
 
        esac
9505
 
      fi
9506
 
      if test "$with_gnu_ld" = no; then
9507
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9508
 
        hardcode_libdir_separator=:
9509
 
 
9510
 
        case $host_cpu in
9511
 
        hppa*64*|ia64*)
9512
 
          hardcode_direct=no
9513
 
          hardcode_shlibpath_var=no
9514
 
          ;;
9515
 
        *)
9516
 
          hardcode_direct=yes
9517
 
          hardcode_direct_absolute=yes
9518
 
          export_dynamic_flag_spec='${wl}-E'
9519
 
 
9520
 
          # hardcode_minus_L: Not really in the search PATH,
9521
 
          # but as the default location of the library.
9522
 
          hardcode_minus_L=yes
9523
 
          ;;
9524
 
        esac
9525
 
      fi
9526
 
      ;;
9527
 
 
9528
 
    irix5* | irix6* | nonstopux*)
9529
 
      if test "$GCC" = yes; then
9530
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9531
 
        # Try to use the -exported_symbol ld option, if it does not
9532
 
        # work, assume that -exports_file does not work either and
9533
 
        # implicitly export all symbols.
9534
 
        # This should be the same for all languages, so no per-tag cache variable.
9535
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9536
 
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9537
 
if ${lt_cv_irix_exported_symbol+:} false; then :
9538
 
  $as_echo_n "(cached) " >&6
9539
 
else
9540
 
  save_LDFLAGS="$LDFLAGS"
9541
 
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9542
 
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9543
 
/* end confdefs.h.  */
9544
 
int foo (void) { return 0; }
9545
 
_ACEOF
9546
 
if ac_fn_c_try_link "$LINENO"; then :
9547
 
  lt_cv_irix_exported_symbol=yes
9548
 
else
9549
 
  lt_cv_irix_exported_symbol=no
9550
 
fi
9551
 
rm -f core conftest.err conftest.$ac_objext \
9552
 
    conftest$ac_exeext conftest.$ac_ext
9553
 
           LDFLAGS="$save_LDFLAGS"
9554
 
fi
9555
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9556
 
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9557
 
        if test "$lt_cv_irix_exported_symbol" = yes; then
9558
 
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9559
 
        fi
9560
 
      else
9561
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9562
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9563
 
      fi
9564
 
      archive_cmds_need_lc='no'
9565
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9566
 
      hardcode_libdir_separator=:
9567
 
      inherit_rpath=yes
9568
 
      link_all_deplibs=yes
9569
 
      ;;
9570
 
 
9571
 
    netbsd* | netbsdelf*-gnu)
9572
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9573
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9574
 
      else
9575
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9576
 
      fi
9577
 
      hardcode_libdir_flag_spec='-R$libdir'
9578
 
      hardcode_direct=yes
9579
 
      hardcode_shlibpath_var=no
9580
 
      ;;
9581
 
 
9582
 
    newsos6)
9583
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9584
 
      hardcode_direct=yes
9585
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9586
 
      hardcode_libdir_separator=:
9587
 
      hardcode_shlibpath_var=no
9588
 
      ;;
9589
 
 
9590
 
    *nto* | *qnx*)
9591
 
      ;;
9592
 
 
9593
 
    openbsd*)
9594
 
      if test -f /usr/libexec/ld.so; then
9595
 
        hardcode_direct=yes
9596
 
        hardcode_shlibpath_var=no
9597
 
        hardcode_direct_absolute=yes
9598
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9599
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9600
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9601
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9602
 
          export_dynamic_flag_spec='${wl}-E'
9603
 
        else
9604
 
          case $host_os in
9605
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9606
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9607
 
             hardcode_libdir_flag_spec='-R$libdir'
9608
 
             ;;
9609
 
           *)
9610
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9611
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9612
 
             ;;
9613
 
          esac
9614
 
        fi
9615
 
      else
9616
 
        ld_shlibs=no
9617
 
      fi
9618
 
      ;;
9619
 
 
9620
 
    os2*)
9621
 
      hardcode_libdir_flag_spec='-L$libdir'
9622
 
      hardcode_minus_L=yes
9623
 
      allow_undefined_flag=unsupported
9624
 
      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'
9625
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9626
 
      ;;
9627
 
 
9628
 
    osf3*)
9629
 
      if test "$GCC" = yes; then
9630
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9631
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9632
 
      else
9633
 
        allow_undefined_flag=' -expect_unresolved \*'
9634
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9635
 
      fi
9636
 
      archive_cmds_need_lc='no'
9637
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9638
 
      hardcode_libdir_separator=:
9639
 
      ;;
9640
 
 
9641
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9642
 
      if test "$GCC" = yes; then
9643
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9644
 
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9645
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9646
 
      else
9647
 
        allow_undefined_flag=' -expect_unresolved \*'
9648
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9649
 
        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~
9650
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9651
 
 
9652
 
        # Both c and cxx compiler support -rpath directly
9653
 
        hardcode_libdir_flag_spec='-rpath $libdir'
9654
 
      fi
9655
 
      archive_cmds_need_lc='no'
9656
 
      hardcode_libdir_separator=:
9657
 
      ;;
9658
 
 
9659
 
    solaris*)
9660
 
      no_undefined_flag=' -z defs'
9661
 
      if test "$GCC" = yes; then
9662
 
        wlarc='${wl}'
9663
 
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9664
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9665
 
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9666
 
      else
9667
 
        case `$CC -V 2>&1` in
9668
 
        *"Compilers 5.0"*)
9669
 
          wlarc=''
9670
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9671
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9672
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9673
 
          ;;
9674
 
        *)
9675
 
          wlarc='${wl}'
9676
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9677
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9678
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9679
 
          ;;
9680
 
        esac
9681
 
      fi
9682
 
      hardcode_libdir_flag_spec='-R$libdir'
9683
 
      hardcode_shlibpath_var=no
9684
 
      case $host_os in
9685
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9686
 
      *)
9687
 
        # The compiler driver will combine and reorder linker options,
9688
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9689
 
        # but is careful enough not to reorder.
9690
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9691
 
        if test "$GCC" = yes; then
9692
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9693
 
        else
9694
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9695
 
        fi
9696
 
        ;;
9697
 
      esac
9698
 
      link_all_deplibs=yes
9699
 
      ;;
9700
 
 
9701
 
    sunos4*)
9702
 
      if test "x$host_vendor" = xsequent; then
9703
 
        # Use $CC to link under sequent, because it throws in some extra .o
9704
 
        # files that make .init and .fini sections work.
9705
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9706
 
      else
9707
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9708
 
      fi
9709
 
      hardcode_libdir_flag_spec='-L$libdir'
9710
 
      hardcode_direct=yes
9711
 
      hardcode_minus_L=yes
9712
 
      hardcode_shlibpath_var=no
9713
 
      ;;
9714
 
 
9715
 
    sysv4)
9716
 
      case $host_vendor in
9717
 
        sni)
9718
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9719
 
          hardcode_direct=yes # is this really true???
9720
 
        ;;
9721
 
        siemens)
9722
 
          ## LD is ld it makes a PLAMLIB
9723
 
          ## CC just makes a GrossModule.
9724
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9725
 
          reload_cmds='$CC -r -o $output$reload_objs'
9726
 
          hardcode_direct=no
9727
 
        ;;
9728
 
        motorola)
9729
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9730
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9731
 
        ;;
9732
 
      esac
9733
 
      runpath_var='LD_RUN_PATH'
9734
 
      hardcode_shlibpath_var=no
9735
 
      ;;
9736
 
 
9737
 
    sysv4.3*)
9738
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9739
 
      hardcode_shlibpath_var=no
9740
 
      export_dynamic_flag_spec='-Bexport'
9741
 
      ;;
9742
 
 
9743
 
    sysv4*MP*)
9744
 
      if test -d /usr/nec; then
9745
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9746
 
        hardcode_shlibpath_var=no
9747
 
        runpath_var=LD_RUN_PATH
9748
 
        hardcode_runpath_var=yes
9749
 
        ld_shlibs=yes
9750
 
      fi
9751
 
      ;;
9752
 
 
9753
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9754
 
      no_undefined_flag='${wl}-z,text'
9755
 
      archive_cmds_need_lc=no
9756
 
      hardcode_shlibpath_var=no
9757
 
      runpath_var='LD_RUN_PATH'
9758
 
 
9759
 
      if test "$GCC" = yes; then
9760
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9761
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9762
 
      else
9763
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9764
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9765
 
      fi
9766
 
      ;;
9767
 
 
9768
 
    sysv5* | sco3.2v5* | sco5v6*)
9769
 
      # Note: We can NOT use -z defs as we might desire, because we do not
9770
 
      # link with -lc, and that would cause any symbols used from libc to
9771
 
      # always be unresolved, which means just about no library would
9772
 
      # ever link correctly.  If we're not using GNU ld we use -z text
9773
 
      # though, which does catch some bad symbols but isn't as heavy-handed
9774
 
      # as -z defs.
9775
 
      no_undefined_flag='${wl}-z,text'
9776
 
      allow_undefined_flag='${wl}-z,nodefs'
9777
 
      archive_cmds_need_lc=no
9778
 
      hardcode_shlibpath_var=no
9779
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9780
 
      hardcode_libdir_separator=':'
9781
 
      link_all_deplibs=yes
9782
 
      export_dynamic_flag_spec='${wl}-Bexport'
9783
 
      runpath_var='LD_RUN_PATH'
9784
 
 
9785
 
      if test "$GCC" = yes; then
9786
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9787
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9788
 
      else
9789
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9790
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9791
 
      fi
9792
 
      ;;
9793
 
 
9794
 
    uts4*)
9795
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9796
 
      hardcode_libdir_flag_spec='-L$libdir'
9797
 
      hardcode_shlibpath_var=no
9798
 
      ;;
9799
 
 
9800
 
    *)
9801
 
      ld_shlibs=no
9802
 
      ;;
9803
 
    esac
9804
 
 
9805
 
    if test x$host_vendor = xsni; then
9806
 
      case $host in
9807
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9808
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
9809
 
        ;;
9810
 
      esac
9811
 
    fi
9812
 
  fi
9813
 
 
9814
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9815
 
$as_echo "$ld_shlibs" >&6; }
9816
 
test "$ld_shlibs" = no && can_build_shared=no
9817
 
 
9818
 
with_gnu_ld=$with_gnu_ld
9819
 
 
9820
 
 
9821
 
    
9822
 
    
9823
 
    
9824
 
 
9825
 
    
9826
 
    
9827
 
    
9828
 
 
9829
 
    
9830
 
    
9831
 
    
9832
 
 
9833
 
 
9834
 
#
9835
 
# Do we need to explicitly link libc?
9836
 
#
9837
 
case "x$archive_cmds_need_lc" in
9838
 
x|xyes)
9839
 
  # Assume -lc should be added
9840
 
  archive_cmds_need_lc=yes
9841
 
 
9842
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
9843
 
    case $archive_cmds in
9844
 
    *'~'*)
9845
 
      # FIXME: we may have to deal with multi-command sequences.
9846
 
      ;;
9847
 
    '$CC '*)
9848
 
      # Test whether the compiler implicitly links with -lc since on some
9849
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9850
 
      # to ld, don't add -lc before -lgcc.
9851
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9852
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9853
 
if ${lt_cv_archive_cmds_need_lc+:} false; then :
9854
 
  $as_echo_n "(cached) " >&6
9855
 
else
9856
 
  $RM conftest*
9857
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9858
 
 
9859
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9860
 
  (eval $ac_compile) 2>&5
9861
 
  ac_status=$?
9862
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9863
 
  test $ac_status = 0; } 2>conftest.err; then
9864
 
          soname=conftest
9865
 
          lib=conftest
9866
 
          libobjs=conftest.$ac_objext
9867
 
          deplibs=
9868
 
          wl=$lt_prog_compiler_wl
9869
 
          pic_flag=$lt_prog_compiler_pic
9870
 
          compiler_flags=-v
9871
 
          linker_flags=-v
9872
 
          verstring=
9873
 
          output_objdir=.
9874
 
          libname=conftest
9875
 
          lt_save_allow_undefined_flag=$allow_undefined_flag
9876
 
          allow_undefined_flag=
9877
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9878
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9879
 
  ac_status=$?
9880
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9881
 
  test $ac_status = 0; }
9882
 
          then
9883
 
            lt_cv_archive_cmds_need_lc=no
9884
 
          else
9885
 
            lt_cv_archive_cmds_need_lc=yes
9886
 
          fi
9887
 
          allow_undefined_flag=$lt_save_allow_undefined_flag
9888
 
        else
9889
 
          cat conftest.err 1>&5
9890
 
        fi
9891
 
        $RM conftest*
9892
 
        
9893
 
fi
9894
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9895
 
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9896
 
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9897
 
      ;;
9898
 
    esac
9899
 
  fi
9900
 
  ;;
9901
 
esac
9902
 
 
9903
 
 
9904
 
    
9905
 
    
9906
 
    
9907
 
 
9908
 
 
9909
 
    
9910
 
    
9911
 
    
9912
 
 
9913
 
 
9914
 
    
9915
 
    
9916
 
    
9917
 
 
9918
 
 
9919
 
    
9920
 
    
9921
 
    
9922
 
 
9923
 
 
9924
 
    
9925
 
    
9926
 
    
9927
 
 
9928
 
 
9929
 
    
9930
 
    
9931
 
    
9932
 
 
9933
 
 
9934
 
    
9935
 
    
9936
 
    
9937
 
 
9938
 
 
9939
 
    
9940
 
    
9941
 
    
9942
 
 
9943
 
 
9944
 
    
9945
 
    
9946
 
    
9947
 
 
9948
 
 
9949
 
    
9950
 
    
9951
 
    
9952
 
 
9953
 
 
9954
 
    
9955
 
    
9956
 
    
9957
 
 
9958
 
 
9959
 
    
9960
 
    
9961
 
    
9962
 
 
9963
 
 
9964
 
    
9965
 
    
9966
 
    
9967
 
 
9968
 
 
9969
 
    
9970
 
    
9971
 
    
9972
 
 
9973
 
 
9974
 
    
9975
 
    
9976
 
    
9977
 
 
9978
 
 
9979
 
    
9980
 
    
9981
 
    
9982
 
 
9983
 
 
9984
 
    
9985
 
    
9986
 
    
9987
 
 
9988
 
 
9989
 
    
9990
 
    
9991
 
    
9992
 
 
9993
 
 
9994
 
    
9995
 
    
9996
 
    
9997
 
 
9998
 
 
9999
 
    
10000
 
    
10001
 
    
10002
 
 
10003
 
 
10004
 
    
10005
 
    
10006
 
    
10007
 
 
10008
 
 
10009
 
    
10010
 
    
10011
 
    
10012
 
 
10013
 
 
10014
 
    
10015
 
    
10016
 
    
10017
 
 
10018
 
 
10019
 
    
10020
 
    
10021
 
    
10022
 
 
10023
 
 
10024
 
    
10025
 
    
10026
 
    
10027
 
 
10028
 
 
10029
 
    
10030
 
    
10031
 
    
10032
 
 
10033
 
 
10034
 
    
10035
 
    
10036
 
    
10037
 
 
10038
 
 
10039
 
    
10040
 
    
10041
 
    
10042
 
 
10043
 
 
10044
 
    
10045
 
    
10046
 
    
10047
 
 
10048
 
 
10049
 
    
10050
 
    
10051
 
    
10052
 
 
10053
 
 
10054
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10055
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10056
 
 
10057
 
if test "$GCC" = yes; then
10058
 
  case $host_os in
10059
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10060
 
    *) lt_awk_arg="/^libraries:/" ;;
10061
 
  esac
10062
 
  case $host_os in
10063
 
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10064
 
    *) lt_sed_strip_eq="s,=/,/,g" ;;
10065
 
  esac
10066
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10067
 
  case $lt_search_path_spec in
10068
 
  *\;*)
10069
 
    # if the path contains ";" then we assume it to be the separator
10070
 
    # otherwise default to the standard path separator (i.e. ":") - it is
10071
 
    # assumed that no part of a normal pathname contains ";" but that should
10072
 
    # okay in the real world where ";" in dirpaths is itself problematic.
10073
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10074
 
    ;;
10075
 
  *)
10076
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10077
 
    ;;
10078
 
  esac
10079
 
  # Ok, now we have the path, separated by spaces, we can step through it
10080
 
  # and add multilib dir if necessary.
10081
 
  lt_tmp_lt_search_path_spec=
10082
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10083
 
  for lt_sys_path in $lt_search_path_spec; do
10084
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10085
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10086
 
    else
10087
 
      test -d "$lt_sys_path" && \
10088
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10089
 
    fi
10090
 
  done
10091
 
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10092
 
BEGIN {RS=" "; FS="/|\n";} {
10093
 
  lt_foo="";
10094
 
  lt_count=0;
10095
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
10096
 
    if ($lt_i != "" && $lt_i != ".") {
10097
 
      if ($lt_i == "..") {
10098
 
        lt_count++;
10099
 
      } else {
10100
 
        if (lt_count == 0) {
10101
 
          lt_foo="/" $lt_i lt_foo;
10102
 
        } else {
10103
 
          lt_count--;
10104
 
        }
10105
 
      }
10106
 
    }
10107
 
  }
10108
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10109
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10110
 
}'`
10111
 
  # AWK program above erroneously prepends '/' to C:/dos/paths
10112
 
  # for these hosts.
10113
 
  case $host_os in
10114
 
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10115
 
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10116
 
  esac
10117
 
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10118
 
else
10119
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10120
 
fi
10121
 
library_names_spec=
10122
 
libname_spec='lib$name'
10123
 
soname_spec=
10124
 
shrext_cmds=".so"
10125
 
postinstall_cmds=
10126
 
postuninstall_cmds=
10127
 
finish_cmds=
10128
 
finish_eval=
10129
 
shlibpath_var=
10130
 
shlibpath_overrides_runpath=unknown
10131
 
version_type=none
10132
 
dynamic_linker="$host_os ld.so"
10133
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10134
 
need_lib_prefix=unknown
10135
 
hardcode_into_libs=no
10136
 
 
10137
 
# when you set need_version to no, make sure it does not cause -set_version
10138
 
# flags to be left without arguments
10139
 
need_version=unknown
10140
 
 
10141
 
case $host_os in
10142
 
aix3*)
10143
 
  version_type=linux # correct to gnu/linux during the next big refactor
10144
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10145
 
  shlibpath_var=LIBPATH
10146
 
 
10147
 
  # AIX 3 has no versioning support, so we append a major version to the name.
10148
 
  soname_spec='${libname}${release}${shared_ext}$major'
10149
 
  ;;
10150
 
 
10151
 
aix[4-9]*)
10152
 
  version_type=linux # correct to gnu/linux during the next big refactor
10153
 
  need_lib_prefix=no
10154
 
  need_version=no
10155
 
  hardcode_into_libs=yes
10156
 
  if test "$host_cpu" = ia64; then
10157
 
    # AIX 5 supports IA64
10158
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10159
 
    shlibpath_var=LD_LIBRARY_PATH
10160
 
  else
10161
 
    # With GCC up to 2.95.x, collect2 would create an import file
10162
 
    # for dependence libraries.  The import file would start with
10163
 
    # the line `#! .'.  This would cause the generated library to
10164
 
    # depend on `.', always an invalid library.  This was fixed in
10165
 
    # development snapshots of GCC prior to 3.0.
10166
 
    case $host_os in
10167
 
      aix4 | aix4.[01] | aix4.[01].*)
10168
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10169
 
           echo ' yes '
10170
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10171
 
        :
10172
 
      else
10173
 
        can_build_shared=no
10174
 
      fi
10175
 
      ;;
10176
 
    esac
10177
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10178
 
    # soname into executable. Probably we can add versioning support to
10179
 
    # collect2, so additional links can be useful in future.
10180
 
    if test "$aix_use_runtimelinking" = yes; then
10181
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10182
 
      # instead of lib<name>.a to let people know that these are not
10183
 
      # typical AIX shared libraries.
10184
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10185
 
    else
10186
 
      # We preserve .a as extension for shared libraries through AIX4.2
10187
 
      # and later when we are not doing run time linking.
10188
 
      library_names_spec='${libname}${release}.a $libname.a'
10189
 
      soname_spec='${libname}${release}${shared_ext}$major'
10190
 
    fi
10191
 
    shlibpath_var=LIBPATH
10192
 
  fi
10193
 
  ;;
10194
 
 
10195
 
amigaos*)
10196
 
  case $host_cpu in
10197
 
  powerpc)
10198
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10199
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10200
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10201
 
    ;;
10202
 
  m68k)
10203
 
    library_names_spec='$libname.ixlibrary $libname.a'
10204
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10205
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10206
 
    ;;
10207
 
  esac
10208
 
  ;;
10209
 
 
10210
 
beos*)
10211
 
  library_names_spec='${libname}${shared_ext}'
10212
 
  dynamic_linker="$host_os ld.so"
10213
 
  shlibpath_var=LIBRARY_PATH
10214
 
  ;;
10215
 
 
10216
 
bsdi[45]*)
10217
 
  version_type=linux # correct to gnu/linux during the next big refactor
10218
 
  need_version=no
10219
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10220
 
  soname_spec='${libname}${release}${shared_ext}$major'
10221
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10222
 
  shlibpath_var=LD_LIBRARY_PATH
10223
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10224
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10225
 
  # the default ld.so.conf also contains /usr/contrib/lib and
10226
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10227
 
  # libtool to hard-code these into programs
10228
 
  ;;
10229
 
 
10230
 
cygwin* | mingw* | pw32* | cegcc*)
10231
 
  version_type=windows
10232
 
  shrext_cmds=".dll"
10233
 
  need_version=no
10234
 
  need_lib_prefix=no
10235
 
 
10236
 
  case $GCC,$cc_basename in
10237
 
  yes,*)
10238
 
    # gcc
10239
 
    library_names_spec='$libname.dll.a'
10240
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10241
 
    postinstall_cmds='base_file=`basename \${file}`~
10242
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10243
 
      dldir=$destdir/`dirname \$dlpath`~
10244
 
      test -d \$dldir || mkdir -p \$dldir~
10245
 
      $install_prog $dir/$dlname \$dldir/$dlname~
10246
 
      chmod a+x \$dldir/$dlname~
10247
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10248
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10249
 
      fi'
10250
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10251
 
      dlpath=$dir/\$dldll~
10252
 
       $RM \$dlpath'
10253
 
    shlibpath_overrides_runpath=yes
10254
 
 
10255
 
    case $host_os in
10256
 
    cygwin*)
10257
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10258
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10259
 
 
10260
 
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10261
 
      ;;
10262
 
    mingw* | cegcc*)
10263
 
      # MinGW DLLs use traditional 'lib' prefix
10264
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10265
 
      ;;
10266
 
    pw32*)
10267
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10268
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10269
 
      ;;
10270
 
    esac
10271
 
    dynamic_linker='Win32 ld.exe'
10272
 
    ;;
10273
 
 
10274
 
  *,cl*)
10275
 
    # Native MSVC
10276
 
    libname_spec='$name'
10277
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10278
 
    library_names_spec='${libname}.dll.lib'
10279
 
 
10280
 
    case $build_os in
10281
 
    mingw*)
10282
 
      sys_lib_search_path_spec=
10283
 
      lt_save_ifs=$IFS
10284
 
      IFS=';'
10285
 
      for lt_path in $LIB
10286
 
      do
10287
 
        IFS=$lt_save_ifs
10288
 
        # Let DOS variable expansion print the short 8.3 style file name.
10289
 
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10290
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10291
 
      done
10292
 
      IFS=$lt_save_ifs
10293
 
      # Convert to MSYS style.
10294
 
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10295
 
      ;;
10296
 
    cygwin*)
10297
 
      # Convert to unix form, then to dos form, then back to unix form
10298
 
      # but this time dos style (no spaces!) so that the unix form looks
10299
 
      # like /cygdrive/c/PROGRA~1:/cygdr...
10300
 
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10301
 
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10302
 
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10303
 
      ;;
10304
 
    *)
10305
 
      sys_lib_search_path_spec="$LIB"
10306
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10307
 
        # It is most probably a Windows format PATH.
10308
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10309
 
      else
10310
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10311
 
      fi
10312
 
      # FIXME: find the short name or the path components, as spaces are
10313
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
10314
 
      ;;
10315
 
    esac
10316
 
 
10317
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10318
 
    postinstall_cmds='base_file=`basename \${file}`~
10319
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10320
 
      dldir=$destdir/`dirname \$dlpath`~
10321
 
      test -d \$dldir || mkdir -p \$dldir~
10322
 
      $install_prog $dir/$dlname \$dldir/$dlname'
10323
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10324
 
      dlpath=$dir/\$dldll~
10325
 
       $RM \$dlpath'
10326
 
    shlibpath_overrides_runpath=yes
10327
 
    dynamic_linker='Win32 link.exe'
10328
 
    ;;
10329
 
 
10330
 
  *)
10331
 
    # Assume MSVC wrapper
10332
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10333
 
    dynamic_linker='Win32 ld.exe'
10334
 
    ;;
10335
 
  esac
10336
 
  # FIXME: first we should search . and the directory the executable is in
10337
 
  shlibpath_var=PATH
10338
 
  ;;
10339
 
 
10340
 
darwin* | rhapsody*)
10341
 
  dynamic_linker="$host_os dyld"
10342
 
  version_type=darwin
10343
 
  need_lib_prefix=no
10344
 
  need_version=no
10345
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10346
 
  soname_spec='${libname}${release}${major}$shared_ext'
10347
 
  shlibpath_overrides_runpath=yes
10348
 
  shlibpath_var=DYLD_LIBRARY_PATH
10349
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10350
 
 
10351
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10352
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10353
 
  ;;
10354
 
 
10355
 
dgux*)
10356
 
  version_type=linux # correct to gnu/linux during the next big refactor
10357
 
  need_lib_prefix=no
10358
 
  need_version=no
10359
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10360
 
  soname_spec='${libname}${release}${shared_ext}$major'
10361
 
  shlibpath_var=LD_LIBRARY_PATH
10362
 
  ;;
10363
 
 
10364
 
freebsd* | dragonfly*)
10365
 
  # DragonFly does not have aout.  When/if they implement a new
10366
 
  # versioning mechanism, adjust this.
10367
 
  if test -x /usr/bin/objformat; then
10368
 
    objformat=`/usr/bin/objformat`
10369
 
  else
10370
 
    case $host_os in
10371
 
    freebsd[23].*) objformat=aout ;;
10372
 
    *) objformat=elf ;;
10373
 
    esac
10374
 
  fi
10375
 
  version_type=freebsd-$objformat
10376
 
  case $version_type in
10377
 
    freebsd-elf*)
10378
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10379
 
      need_version=no
10380
 
      need_lib_prefix=no
10381
 
      ;;
10382
 
    freebsd-*)
10383
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10384
 
      need_version=yes
10385
 
      ;;
10386
 
  esac
10387
 
  shlibpath_var=LD_LIBRARY_PATH
10388
 
  case $host_os in
10389
 
  freebsd2.*)
10390
 
    shlibpath_overrides_runpath=yes
10391
 
    ;;
10392
 
  freebsd3.[01]* | freebsdelf3.[01]*)
10393
 
    shlibpath_overrides_runpath=yes
10394
 
    hardcode_into_libs=yes
10395
 
    ;;
10396
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10397
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10398
 
    shlibpath_overrides_runpath=no
10399
 
    hardcode_into_libs=yes
10400
 
    ;;
10401
 
  *) # from 4.6 on, and DragonFly
10402
 
    shlibpath_overrides_runpath=yes
10403
 
    hardcode_into_libs=yes
10404
 
    ;;
10405
 
  esac
10406
 
  ;;
10407
 
 
10408
 
haiku*)
10409
 
  version_type=linux # correct to gnu/linux during the next big refactor
10410
 
  need_lib_prefix=no
10411
 
  need_version=no
10412
 
  dynamic_linker="$host_os runtime_loader"
10413
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10414
 
  soname_spec='${libname}${release}${shared_ext}$major'
10415
 
  shlibpath_var=LIBRARY_PATH
10416
 
  shlibpath_overrides_runpath=yes
10417
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10418
 
  hardcode_into_libs=yes
10419
 
  ;;
10420
 
 
10421
 
hpux9* | hpux10* | hpux11*)
10422
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
10423
 
  # link against other versions.
10424
 
  version_type=sunos
10425
 
  need_lib_prefix=no
10426
 
  need_version=no
10427
 
  case $host_cpu in
10428
 
  ia64*)
10429
 
    shrext_cmds='.so'
10430
 
    hardcode_into_libs=yes
10431
 
    dynamic_linker="$host_os dld.so"
10432
 
    shlibpath_var=LD_LIBRARY_PATH
10433
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10434
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10435
 
    soname_spec='${libname}${release}${shared_ext}$major'
10436
 
    if test "X$HPUX_IA64_MODE" = X32; then
10437
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10438
 
    else
10439
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10440
 
    fi
10441
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10442
 
    ;;
10443
 
  hppa*64*)
10444
 
    shrext_cmds='.sl'
10445
 
    hardcode_into_libs=yes
10446
 
    dynamic_linker="$host_os dld.sl"
10447
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10448
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10449
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10450
 
    soname_spec='${libname}${release}${shared_ext}$major'
10451
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10452
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10453
 
    ;;
10454
 
  *)
10455
 
    shrext_cmds='.sl'
10456
 
    dynamic_linker="$host_os dld.sl"
10457
 
    shlibpath_var=SHLIB_PATH
10458
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10459
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10460
 
    soname_spec='${libname}${release}${shared_ext}$major'
10461
 
    ;;
10462
 
  esac
10463
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10464
 
  postinstall_cmds='chmod 555 $lib'
10465
 
  # or fails outright, so override atomically:
10466
 
  install_override_mode=555
10467
 
  ;;
10468
 
 
10469
 
interix[3-9]*)
10470
 
  version_type=linux # correct to gnu/linux during the next big refactor
10471
 
  need_lib_prefix=no
10472
 
  need_version=no
10473
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10474
 
  soname_spec='${libname}${release}${shared_ext}$major'
10475
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10476
 
  shlibpath_var=LD_LIBRARY_PATH
10477
 
  shlibpath_overrides_runpath=no
10478
 
  hardcode_into_libs=yes
10479
 
  ;;
10480
 
 
10481
 
irix5* | irix6* | nonstopux*)
10482
 
  case $host_os in
10483
 
    nonstopux*) version_type=nonstopux ;;
10484
 
    *)
10485
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
10486
 
                version_type=linux # correct to gnu/linux during the next big refactor
10487
 
        else
10488
 
                version_type=irix
10489
 
        fi ;;
10490
 
  esac
10491
 
  need_lib_prefix=no
10492
 
  need_version=no
10493
 
  soname_spec='${libname}${release}${shared_ext}$major'
10494
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10495
 
  case $host_os in
10496
 
  irix5* | nonstopux*)
10497
 
    libsuff= shlibsuff=
10498
 
    ;;
10499
 
  *)
10500
 
    case $LD in # libtool.m4 will add one of these switches to LD
10501
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10502
 
      libsuff= shlibsuff= libmagic=32-bit;;
10503
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10504
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
10505
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10506
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10507
 
    *) libsuff= shlibsuff= libmagic=never-match;;
10508
 
    esac
10509
 
    ;;
10510
 
  esac
10511
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10512
 
  shlibpath_overrides_runpath=no
10513
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10514
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10515
 
  hardcode_into_libs=yes
10516
 
  ;;
10517
 
 
10518
 
# No shared lib support for Linux oldld, aout, or coff.
10519
 
linux*oldld* | linux*aout* | linux*coff*)
10520
 
  dynamic_linker=no
10521
 
  ;;
10522
 
 
10523
 
# This must be glibc/ELF.
10524
 
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10525
 
  version_type=linux # correct to gnu/linux during the next big refactor
10526
 
  need_lib_prefix=no
10527
 
  need_version=no
10528
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10529
 
  soname_spec='${libname}${release}${shared_ext}$major'
10530
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10531
 
  shlibpath_var=LD_LIBRARY_PATH
10532
 
  shlibpath_overrides_runpath=no
10533
 
 
10534
 
  # Some binutils ld are patched to set DT_RUNPATH
10535
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10536
 
  $as_echo_n "(cached) " >&6
10537
 
else
10538
 
  lt_cv_shlibpath_overrides_runpath=no
10539
 
    save_LDFLAGS=$LDFLAGS
10540
 
    save_libdir=$libdir
10541
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10542
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10543
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10544
 
/* end confdefs.h.  */
10545
 
 
10546
 
int
10547
 
main ()
10548
 
{
10549
 
 
10550
 
  ;
10551
 
  return 0;
10552
 
}
10553
 
_ACEOF
10554
 
if ac_fn_c_try_link "$LINENO"; then :
10555
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10556
 
  lt_cv_shlibpath_overrides_runpath=yes
10557
 
fi
10558
 
fi
10559
 
rm -f core conftest.err conftest.$ac_objext \
10560
 
    conftest$ac_exeext conftest.$ac_ext
10561
 
    LDFLAGS=$save_LDFLAGS
10562
 
    libdir=$save_libdir
10563
 
    
10564
 
fi
10565
 
 
10566
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10567
 
 
10568
 
  # This implies no fast_install, which is unacceptable.
10569
 
  # Some rework will be needed to allow for fast_install
10570
 
  # before this can be enabled.
10571
 
  hardcode_into_libs=yes
10572
 
 
10573
 
  # Append ld.so.conf contents to the search path
10574
 
  if test -f /etc/ld.so.conf; then
10575
 
    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;s/"//g;/^$/d' | tr '\n' ' '`
10576
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10577
 
  fi
10578
 
 
10579
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10580
 
  # powerpc, because MkLinux only supported shared libraries with the
10581
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
10582
 
  # most powerpc-linux boxes support dynamic linking these days and
10583
 
  # people can always --disable-shared, the test was removed, and we
10584
 
  # assume the GNU/Linux dynamic linker is in use.
10585
 
  dynamic_linker='GNU/Linux ld.so'
10586
 
  ;;
10587
 
 
10588
 
netbsdelf*-gnu)
10589
 
  version_type=linux
10590
 
  need_lib_prefix=no
10591
 
  need_version=no
10592
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10593
 
  soname_spec='${libname}${release}${shared_ext}$major'
10594
 
  shlibpath_var=LD_LIBRARY_PATH
10595
 
  shlibpath_overrides_runpath=no
10596
 
  hardcode_into_libs=yes
10597
 
  dynamic_linker='NetBSD ld.elf_so'
10598
 
  ;;
10599
 
 
10600
 
netbsd*)
10601
 
  version_type=sunos
10602
 
  need_lib_prefix=no
10603
 
  need_version=no
10604
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10605
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10606
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10607
 
    dynamic_linker='NetBSD (a.out) ld.so'
10608
 
  else
10609
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10610
 
    soname_spec='${libname}${release}${shared_ext}$major'
10611
 
    dynamic_linker='NetBSD ld.elf_so'
10612
 
  fi
10613
 
  shlibpath_var=LD_LIBRARY_PATH
10614
 
  shlibpath_overrides_runpath=yes
10615
 
  hardcode_into_libs=yes
10616
 
  ;;
10617
 
 
10618
 
newsos6)
10619
 
  version_type=linux # correct to gnu/linux during the next big refactor
10620
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10621
 
  shlibpath_var=LD_LIBRARY_PATH
10622
 
  shlibpath_overrides_runpath=yes
10623
 
  ;;
10624
 
 
10625
 
*nto* | *qnx*)
10626
 
  version_type=qnx
10627
 
  need_lib_prefix=no
10628
 
  need_version=no
10629
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10630
 
  soname_spec='${libname}${release}${shared_ext}$major'
10631
 
  shlibpath_var=LD_LIBRARY_PATH
10632
 
  shlibpath_overrides_runpath=no
10633
 
  hardcode_into_libs=yes
10634
 
  dynamic_linker='ldqnx.so'
10635
 
  ;;
10636
 
 
10637
 
openbsd*)
10638
 
  version_type=sunos
10639
 
  sys_lib_dlsearch_path_spec="/usr/lib"
10640
 
  need_lib_prefix=no
10641
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10642
 
  case $host_os in
10643
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10644
 
    *)                          need_version=no  ;;
10645
 
  esac
10646
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10647
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10648
 
  shlibpath_var=LD_LIBRARY_PATH
10649
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10650
 
    case $host_os in
10651
 
      openbsd2.[89] | openbsd2.[89].*)
10652
 
        shlibpath_overrides_runpath=no
10653
 
        ;;
10654
 
      *)
10655
 
        shlibpath_overrides_runpath=yes
10656
 
        ;;
10657
 
      esac
10658
 
  else
10659
 
    shlibpath_overrides_runpath=yes
10660
 
  fi
10661
 
  ;;
10662
 
 
10663
 
os2*)
10664
 
  libname_spec='$name'
10665
 
  shrext_cmds=".dll"
10666
 
  need_lib_prefix=no
10667
 
  library_names_spec='$libname${shared_ext} $libname.a'
10668
 
  dynamic_linker='OS/2 ld.exe'
10669
 
  shlibpath_var=LIBPATH
10670
 
  ;;
10671
 
 
10672
 
osf3* | osf4* | osf5*)
10673
 
  version_type=osf
10674
 
  need_lib_prefix=no
10675
 
  need_version=no
10676
 
  soname_spec='${libname}${release}${shared_ext}$major'
10677
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10678
 
  shlibpath_var=LD_LIBRARY_PATH
10679
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10680
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10681
 
  ;;
10682
 
 
10683
 
rdos*)
10684
 
  dynamic_linker=no
10685
 
  ;;
10686
 
 
10687
 
solaris*)
10688
 
  version_type=linux # correct to gnu/linux during the next big refactor
10689
 
  need_lib_prefix=no
10690
 
  need_version=no
10691
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10692
 
  soname_spec='${libname}${release}${shared_ext}$major'
10693
 
  shlibpath_var=LD_LIBRARY_PATH
10694
 
  shlibpath_overrides_runpath=yes
10695
 
  hardcode_into_libs=yes
10696
 
  # ldd complains unless libraries are executable
10697
 
  postinstall_cmds='chmod +x $lib'
10698
 
  ;;
10699
 
 
10700
 
sunos4*)
10701
 
  version_type=sunos
10702
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10703
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10704
 
  shlibpath_var=LD_LIBRARY_PATH
10705
 
  shlibpath_overrides_runpath=yes
10706
 
  if test "$with_gnu_ld" = yes; then
10707
 
    need_lib_prefix=no
10708
 
  fi
10709
 
  need_version=yes
10710
 
  ;;
10711
 
 
10712
 
sysv4 | sysv4.3*)
10713
 
  version_type=linux # correct to gnu/linux during the next big refactor
10714
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10715
 
  soname_spec='${libname}${release}${shared_ext}$major'
10716
 
  shlibpath_var=LD_LIBRARY_PATH
10717
 
  case $host_vendor in
10718
 
    sni)
10719
 
      shlibpath_overrides_runpath=no
10720
 
      need_lib_prefix=no
10721
 
      runpath_var=LD_RUN_PATH
10722
 
      ;;
10723
 
    siemens)
10724
 
      need_lib_prefix=no
10725
 
      ;;
10726
 
    motorola)
10727
 
      need_lib_prefix=no
10728
 
      need_version=no
10729
 
      shlibpath_overrides_runpath=no
10730
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10731
 
      ;;
10732
 
  esac
10733
 
  ;;
10734
 
 
10735
 
sysv4*MP*)
10736
 
  if test -d /usr/nec ;then
10737
 
    version_type=linux # correct to gnu/linux during the next big refactor
10738
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10739
 
    soname_spec='$libname${shared_ext}.$major'
10740
 
    shlibpath_var=LD_LIBRARY_PATH
10741
 
  fi
10742
 
  ;;
10743
 
 
10744
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10745
 
  version_type=freebsd-elf
10746
 
  need_lib_prefix=no
10747
 
  need_version=no
10748
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10749
 
  soname_spec='${libname}${release}${shared_ext}$major'
10750
 
  shlibpath_var=LD_LIBRARY_PATH
10751
 
  shlibpath_overrides_runpath=yes
10752
 
  hardcode_into_libs=yes
10753
 
  if test "$with_gnu_ld" = yes; then
10754
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10755
 
  else
10756
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10757
 
    case $host_os in
10758
 
      sco3.2v5*)
10759
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10760
 
        ;;
10761
 
    esac
10762
 
  fi
10763
 
  sys_lib_dlsearch_path_spec='/usr/lib'
10764
 
  ;;
10765
 
 
10766
 
tpf*)
10767
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10768
 
  version_type=linux # correct to gnu/linux during the next big refactor
10769
 
  need_lib_prefix=no
10770
 
  need_version=no
10771
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10772
 
  shlibpath_var=LD_LIBRARY_PATH
10773
 
  shlibpath_overrides_runpath=no
10774
 
  hardcode_into_libs=yes
10775
 
  ;;
10776
 
 
10777
 
uts4*)
10778
 
  version_type=linux # correct to gnu/linux during the next big refactor
10779
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10780
 
  soname_spec='${libname}${release}${shared_ext}$major'
10781
 
  shlibpath_var=LD_LIBRARY_PATH
10782
 
  ;;
10783
 
 
10784
 
*)
10785
 
  dynamic_linker=no
10786
 
  ;;
10787
 
esac
10788
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10789
 
$as_echo "$dynamic_linker" >&6; }
10790
 
test "$dynamic_linker" = no && can_build_shared=no
10791
 
 
10792
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10793
 
if test "$GCC" = yes; then
10794
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10795
 
fi
10796
 
 
10797
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10798
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10799
 
fi
10800
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10801
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10802
 
fi
10803
 
 
10804
 
 
10805
 
    
10806
 
    
10807
 
    
10808
 
 
10809
 
 
10810
 
    
10811
 
    
10812
 
    
10813
 
 
10814
 
 
10815
 
    
10816
 
    
10817
 
    
10818
 
 
10819
 
 
10820
 
    
10821
 
    
10822
 
    
10823
 
 
10824
 
 
10825
 
    
10826
 
    
10827
 
    
10828
 
 
10829
 
 
10830
 
    
10831
 
    
10832
 
    
10833
 
 
10834
 
 
10835
 
    
10836
 
    
10837
 
    
10838
 
 
10839
 
 
10840
 
    
10841
 
    
10842
 
    
10843
 
 
10844
 
 
10845
 
    
10846
 
    
10847
 
    
10848
 
 
10849
 
 
10850
 
    
10851
 
    
10852
 
    
10853
 
 
10854
 
 
10855
 
    
10856
 
    
10857
 
    
10858
 
 
10859
 
 
10860
 
    
10861
 
    
10862
 
    
10863
 
 
10864
 
 
10865
 
    
10866
 
    
10867
 
    
10868
 
 
10869
 
 
10870
 
    
10871
 
    
10872
 
    
10873
 
 
10874
 
 
10875
 
    
10876
 
    
10877
 
    
10878
 
 
10879
 
 
10880
 
    
10881
 
    
10882
 
    
10883
 
 
10884
 
 
10885
 
    
10886
 
    
10887
 
    
10888
 
 
10889
 
 
10890
 
    
10891
 
    
10892
 
    
10893
 
 
10894
 
 
10895
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10896
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10897
 
hardcode_action=
10898
 
if test -n "$hardcode_libdir_flag_spec" ||
10899
 
   test -n "$runpath_var" ||
10900
 
   test "X$hardcode_automatic" = "Xyes" ; then
10901
 
 
10902
 
  # We can hardcode non-existent directories.
10903
 
  if test "$hardcode_direct" != no &&
10904
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10905
 
     # have to relink, otherwise we might link with an installed library
10906
 
     # when we should be linking with a yet-to-be-installed one
10907
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10908
 
     test "$hardcode_minus_L" != no; then
10909
 
    # Linking always hardcodes the temporary library directory.
10910
 
    hardcode_action=relink
10911
 
  else
10912
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10913
 
    hardcode_action=immediate
10914
 
  fi
10915
 
else
10916
 
  # We cannot hardcode anything, or else we can only hardcode existing
10917
 
  # directories.
10918
 
  hardcode_action=unsupported
10919
 
fi
10920
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10921
 
$as_echo "$hardcode_action" >&6; }
10922
 
 
10923
 
if test "$hardcode_action" = relink ||
10924
 
   test "$inherit_rpath" = yes; then
10925
 
  # Fast installation is not supported
10926
 
  enable_fast_install=no
10927
 
elif test "$shlibpath_overrides_runpath" = yes ||
10928
 
     test "$enable_shared" = no; then
10929
 
  # Fast installation is not necessary
10930
 
  enable_fast_install=needless
10931
 
fi
10932
 
 
10933
 
    
10934
 
    
10935
 
    
10936
 
 
10937
 
 
10938
 
  if test "x$enable_dlopen" != xyes; then
10939
 
  enable_dlopen=unknown
10940
 
  enable_dlopen_self=unknown
10941
 
  enable_dlopen_self_static=unknown
10942
 
else
10943
 
  lt_cv_dlopen=no
10944
 
  lt_cv_dlopen_libs=
10945
 
 
10946
 
  case $host_os in
10947
 
  beos*)
10948
 
    lt_cv_dlopen="load_add_on"
10949
 
    lt_cv_dlopen_libs=
10950
 
    lt_cv_dlopen_self=yes
10951
 
    ;;
10952
 
 
10953
 
  mingw* | pw32* | cegcc*)
10954
 
    lt_cv_dlopen="LoadLibrary"
10955
 
    lt_cv_dlopen_libs=
10956
 
    ;;
10957
 
 
10958
 
  cygwin*)
10959
 
    lt_cv_dlopen="dlopen"
10960
 
    lt_cv_dlopen_libs=
10961
 
    ;;
10962
 
 
10963
 
  darwin*)
10964
 
  # if libdl is installed we need to link against it
10965
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10966
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10967
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
10968
 
  $as_echo_n "(cached) " >&6
10969
 
else
10970
 
  ac_check_lib_save_LIBS=$LIBS
10971
 
LIBS="-ldl  $LIBS"
10972
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973
 
/* end confdefs.h.  */
10974
 
 
10975
 
/* Override any GCC internal prototype to avoid an error.
10976
 
   Use char because int might match the return type of a GCC
10977
 
   builtin and then its argument prototype would still apply.  */
10978
 
#ifdef __cplusplus
10979
 
extern "C"
10980
 
#endif
10981
 
char dlopen ();
10982
 
int
10983
 
main ()
10984
 
{
10985
 
return dlopen ();
10986
 
  ;
10987
 
  return 0;
10988
 
}
10989
 
_ACEOF
10990
 
if ac_fn_c_try_link "$LINENO"; then :
10991
 
  ac_cv_lib_dl_dlopen=yes
10992
 
else
10993
 
  ac_cv_lib_dl_dlopen=no
10994
 
fi
10995
 
rm -f core conftest.err conftest.$ac_objext \
10996
 
    conftest$ac_exeext conftest.$ac_ext
10997
 
LIBS=$ac_check_lib_save_LIBS
10998
 
fi
10999
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11000
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11001
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11002
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11003
 
else
11004
 
  
11005
 
    lt_cv_dlopen="dyld"
11006
 
    lt_cv_dlopen_libs=
11007
 
    lt_cv_dlopen_self=yes
11008
 
    
11009
 
fi
11010
 
 
11011
 
    ;;
11012
 
 
11013
 
  *)
11014
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11015
 
if test "x$ac_cv_func_shl_load" = xyes; then :
11016
 
  lt_cv_dlopen="shl_load"
11017
 
else
11018
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11019
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11020
 
if ${ac_cv_lib_dld_shl_load+:} false; then :
11021
 
  $as_echo_n "(cached) " >&6
11022
 
else
11023
 
  ac_check_lib_save_LIBS=$LIBS
11024
 
LIBS="-ldld  $LIBS"
11025
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11026
 
/* end confdefs.h.  */
11027
 
 
11028
 
/* Override any GCC internal prototype to avoid an error.
11029
 
   Use char because int might match the return type of a GCC
11030
 
   builtin and then its argument prototype would still apply.  */
11031
 
#ifdef __cplusplus
11032
 
extern "C"
11033
 
#endif
11034
 
char shl_load ();
11035
 
int
11036
 
main ()
11037
 
{
11038
 
return shl_load ();
11039
 
  ;
11040
 
  return 0;
11041
 
}
11042
 
_ACEOF
11043
 
if ac_fn_c_try_link "$LINENO"; then :
11044
 
  ac_cv_lib_dld_shl_load=yes
11045
 
else
11046
 
  ac_cv_lib_dld_shl_load=no
11047
 
fi
11048
 
rm -f core conftest.err conftest.$ac_objext \
11049
 
    conftest$ac_exeext conftest.$ac_ext
11050
 
LIBS=$ac_check_lib_save_LIBS
11051
 
fi
11052
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11053
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11054
 
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11055
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11056
 
else
11057
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11058
 
if test "x$ac_cv_func_dlopen" = xyes; then :
11059
 
  lt_cv_dlopen="dlopen"
11060
 
else
11061
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11062
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11063
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
11064
 
  $as_echo_n "(cached) " >&6
11065
 
else
11066
 
  ac_check_lib_save_LIBS=$LIBS
11067
 
LIBS="-ldl  $LIBS"
11068
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11069
 
/* end confdefs.h.  */
11070
 
 
11071
 
/* Override any GCC internal prototype to avoid an error.
11072
 
   Use char because int might match the return type of a GCC
11073
 
   builtin and then its argument prototype would still apply.  */
11074
 
#ifdef __cplusplus
11075
 
extern "C"
11076
 
#endif
11077
 
char dlopen ();
11078
 
int
11079
 
main ()
11080
 
{
11081
 
return dlopen ();
11082
 
  ;
11083
 
  return 0;
11084
 
}
11085
 
_ACEOF
11086
 
if ac_fn_c_try_link "$LINENO"; then :
11087
 
  ac_cv_lib_dl_dlopen=yes
11088
 
else
11089
 
  ac_cv_lib_dl_dlopen=no
11090
 
fi
11091
 
rm -f core conftest.err conftest.$ac_objext \
11092
 
    conftest$ac_exeext conftest.$ac_ext
11093
 
LIBS=$ac_check_lib_save_LIBS
11094
 
fi
11095
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11096
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11097
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11098
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11099
 
else
11100
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11101
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11102
 
if ${ac_cv_lib_svld_dlopen+:} false; then :
11103
 
  $as_echo_n "(cached) " >&6
11104
 
else
11105
 
  ac_check_lib_save_LIBS=$LIBS
11106
 
LIBS="-lsvld  $LIBS"
11107
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11108
 
/* end confdefs.h.  */
11109
 
 
11110
 
/* Override any GCC internal prototype to avoid an error.
11111
 
   Use char because int might match the return type of a GCC
11112
 
   builtin and then its argument prototype would still apply.  */
11113
 
#ifdef __cplusplus
11114
 
extern "C"
11115
 
#endif
11116
 
char dlopen ();
11117
 
int
11118
 
main ()
11119
 
{
11120
 
return dlopen ();
11121
 
  ;
11122
 
  return 0;
11123
 
}
11124
 
_ACEOF
11125
 
if ac_fn_c_try_link "$LINENO"; then :
11126
 
  ac_cv_lib_svld_dlopen=yes
11127
 
else
11128
 
  ac_cv_lib_svld_dlopen=no
11129
 
fi
11130
 
rm -f core conftest.err conftest.$ac_objext \
11131
 
    conftest$ac_exeext conftest.$ac_ext
11132
 
LIBS=$ac_check_lib_save_LIBS
11133
 
fi
11134
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11135
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11136
 
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11137
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11138
 
else
11139
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11140
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11141
 
if ${ac_cv_lib_dld_dld_link+:} false; then :
11142
 
  $as_echo_n "(cached) " >&6
11143
 
else
11144
 
  ac_check_lib_save_LIBS=$LIBS
11145
 
LIBS="-ldld  $LIBS"
11146
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147
 
/* end confdefs.h.  */
11148
 
 
11149
 
/* Override any GCC internal prototype to avoid an error.
11150
 
   Use char because int might match the return type of a GCC
11151
 
   builtin and then its argument prototype would still apply.  */
11152
 
#ifdef __cplusplus
11153
 
extern "C"
11154
 
#endif
11155
 
char dld_link ();
11156
 
int
11157
 
main ()
11158
 
{
11159
 
return dld_link ();
11160
 
  ;
11161
 
  return 0;
11162
 
}
11163
 
_ACEOF
11164
 
if ac_fn_c_try_link "$LINENO"; then :
11165
 
  ac_cv_lib_dld_dld_link=yes
11166
 
else
11167
 
  ac_cv_lib_dld_dld_link=no
11168
 
fi
11169
 
rm -f core conftest.err conftest.$ac_objext \
11170
 
    conftest$ac_exeext conftest.$ac_ext
11171
 
LIBS=$ac_check_lib_save_LIBS
11172
 
fi
11173
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11174
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11175
 
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11176
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11177
 
fi
11178
 
 
11179
 
              
11180
 
fi
11181
 
 
11182
 
            
11183
 
fi
11184
 
 
11185
 
          
11186
 
fi
11187
 
 
11188
 
        
11189
 
fi
11190
 
 
11191
 
      
11192
 
fi
11193
 
 
11194
 
    ;;
11195
 
  esac
11196
 
 
11197
 
  if test "x$lt_cv_dlopen" != xno; then
11198
 
    enable_dlopen=yes
11199
 
  else
11200
 
    enable_dlopen=no
11201
 
  fi
11202
 
 
11203
 
  case $lt_cv_dlopen in
11204
 
  dlopen)
11205
 
    save_CPPFLAGS="$CPPFLAGS"
11206
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11207
 
 
11208
 
    save_LDFLAGS="$LDFLAGS"
11209
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11210
 
 
11211
 
    save_LIBS="$LIBS"
11212
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
11213
 
 
11214
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11215
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11216
 
if ${lt_cv_dlopen_self+:} false; then :
11217
 
  $as_echo_n "(cached) " >&6
11218
 
else
11219
 
          if test "$cross_compiling" = yes; then :
11220
 
  lt_cv_dlopen_self=cross
11221
 
else
11222
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11223
 
  lt_status=$lt_dlunknown
11224
 
  cat > conftest.$ac_ext <<_LT_EOF
11225
 
#line $LINENO "configure"
11226
 
#include "confdefs.h"
11227
 
 
11228
 
#if HAVE_DLFCN_H
11229
 
#include <dlfcn.h>
11230
 
#endif
11231
 
 
11232
 
#include <stdio.h>
11233
 
 
11234
 
#ifdef RTLD_GLOBAL
11235
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11236
 
#else
11237
 
#  ifdef DL_GLOBAL
11238
 
#    define LT_DLGLOBAL         DL_GLOBAL
11239
 
#  else
11240
 
#    define LT_DLGLOBAL         0
11241
 
#  endif
11242
 
#endif
11243
 
 
11244
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11245
 
   find out it does not work in some platform. */
11246
 
#ifndef LT_DLLAZY_OR_NOW
11247
 
#  ifdef RTLD_LAZY
11248
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11249
 
#  else
11250
 
#    ifdef DL_LAZY
11251
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11252
 
#    else
11253
 
#      ifdef RTLD_NOW
11254
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11255
 
#      else
11256
 
#        ifdef DL_NOW
11257
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11258
 
#        else
11259
 
#          define LT_DLLAZY_OR_NOW      0
11260
 
#        endif
11261
 
#      endif
11262
 
#    endif
11263
 
#  endif
11264
 
#endif
11265
 
 
11266
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11267
 
   correspondingly for the symbols needed.  */
11268
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11269
 
int fnord () __attribute__((visibility("default")));
11270
 
#endif
11271
 
 
11272
 
int fnord () { return 42; }
11273
 
int main ()
11274
 
{
11275
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11276
 
  int status = $lt_dlunknown;
11277
 
 
11278
 
  if (self)
11279
 
    {
11280
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11281
 
      else
11282
 
        {
11283
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11284
 
          else puts (dlerror ());
11285
 
        }
11286
 
      /* dlclose (self); */
11287
 
    }
11288
 
  else
11289
 
    puts (dlerror ());
11290
 
 
11291
 
  return status;
11292
 
}
11293
 
_LT_EOF
11294
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11295
 
  (eval $ac_link) 2>&5
11296
 
  ac_status=$?
11297
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11298
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11299
 
    (./conftest; exit; ) >&5 2>/dev/null
11300
 
    lt_status=$?
11301
 
    case x$lt_status in
11302
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11303
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11304
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11305
 
    esac
11306
 
  else :
11307
 
    # compilation failed
11308
 
    lt_cv_dlopen_self=no
11309
 
  fi
11310
 
fi
11311
 
rm -fr conftest*
11312
 
 
11313
 
    
11314
 
fi
11315
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11316
 
$as_echo "$lt_cv_dlopen_self" >&6; }
11317
 
 
11318
 
    if test "x$lt_cv_dlopen_self" = xyes; then
11319
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11320
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11321
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11322
 
if ${lt_cv_dlopen_self_static+:} false; then :
11323
 
  $as_echo_n "(cached) " >&6
11324
 
else
11325
 
          if test "$cross_compiling" = yes; then :
11326
 
  lt_cv_dlopen_self_static=cross
11327
 
else
11328
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11329
 
  lt_status=$lt_dlunknown
11330
 
  cat > conftest.$ac_ext <<_LT_EOF
11331
 
#line $LINENO "configure"
11332
 
#include "confdefs.h"
11333
 
 
11334
 
#if HAVE_DLFCN_H
11335
 
#include <dlfcn.h>
11336
 
#endif
11337
 
 
11338
 
#include <stdio.h>
11339
 
 
11340
 
#ifdef RTLD_GLOBAL
11341
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11342
 
#else
11343
 
#  ifdef DL_GLOBAL
11344
 
#    define LT_DLGLOBAL         DL_GLOBAL
11345
 
#  else
11346
 
#    define LT_DLGLOBAL         0
11347
 
#  endif
11348
 
#endif
11349
 
 
11350
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11351
 
   find out it does not work in some platform. */
11352
 
#ifndef LT_DLLAZY_OR_NOW
11353
 
#  ifdef RTLD_LAZY
11354
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11355
 
#  else
11356
 
#    ifdef DL_LAZY
11357
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11358
 
#    else
11359
 
#      ifdef RTLD_NOW
11360
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11361
 
#      else
11362
 
#        ifdef DL_NOW
11363
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11364
 
#        else
11365
 
#          define LT_DLLAZY_OR_NOW      0
11366
 
#        endif
11367
 
#      endif
11368
 
#    endif
11369
 
#  endif
11370
 
#endif
11371
 
 
11372
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11373
 
   correspondingly for the symbols needed.  */
11374
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11375
 
int fnord () __attribute__((visibility("default")));
11376
 
#endif
11377
 
 
11378
 
int fnord () { return 42; }
11379
 
int main ()
11380
 
{
11381
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11382
 
  int status = $lt_dlunknown;
11383
 
 
11384
 
  if (self)
11385
 
    {
11386
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11387
 
      else
11388
 
        {
11389
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11390
 
          else puts (dlerror ());
11391
 
        }
11392
 
      /* dlclose (self); */
11393
 
    }
11394
 
  else
11395
 
    puts (dlerror ());
11396
 
 
11397
 
  return status;
11398
 
}
11399
 
_LT_EOF
11400
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11401
 
  (eval $ac_link) 2>&5
11402
 
  ac_status=$?
11403
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11404
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11405
 
    (./conftest; exit; ) >&5 2>/dev/null
11406
 
    lt_status=$?
11407
 
    case x$lt_status in
11408
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11409
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11410
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11411
 
    esac
11412
 
  else :
11413
 
    # compilation failed
11414
 
    lt_cv_dlopen_self_static=no
11415
 
  fi
11416
 
fi
11417
 
rm -fr conftest*
11418
 
 
11419
 
      
11420
 
fi
11421
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11422
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11423
 
    fi
11424
 
 
11425
 
    CPPFLAGS="$save_CPPFLAGS"
11426
 
    LDFLAGS="$save_LDFLAGS"
11427
 
    LIBS="$save_LIBS"
11428
 
    ;;
11429
 
  esac
11430
 
 
11431
 
  case $lt_cv_dlopen_self in
11432
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11433
 
  *) enable_dlopen_self=unknown ;;
11434
 
  esac
11435
 
 
11436
 
  case $lt_cv_dlopen_self_static in
11437
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11438
 
  *) enable_dlopen_self_static=unknown ;;
11439
 
  esac
11440
 
fi
11441
 
 
11442
 
    
11443
 
    
11444
 
    
11445
 
 
11446
 
 
11447
 
    
11448
 
    
11449
 
    
11450
 
 
11451
 
 
11452
 
    
11453
 
    
11454
 
    
11455
 
 
11456
 
 
11457
 
  
11458
 
striplib=
11459
 
old_striplib=
11460
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11461
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11462
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11463
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11464
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11465
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11466
 
$as_echo "yes" >&6; }
11467
 
else
11468
 
# FIXME - insert some real tests, host_os isn't really good enough
11469
 
  case $host_os in
11470
 
  darwin*)
11471
 
    if test -n "$STRIP" ; then
11472
 
      striplib="$STRIP -x"
11473
 
      old_striplib="$STRIP -S"
11474
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11475
 
$as_echo "yes" >&6; }
11476
 
    else
11477
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11478
 
$as_echo "no" >&6; }
11479
 
    fi
11480
 
    ;;
11481
 
  *)
11482
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11483
 
$as_echo "no" >&6; }
11484
 
    ;;
11485
 
  esac
11486
 
fi
11487
 
 
11488
 
    
11489
 
    
11490
 
    
11491
 
 
11492
 
 
11493
 
    
11494
 
    
11495
 
    
11496
 
 
11497
 
 
11498
 
 
11499
 
  # Report which library types will actually be built
11500
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11501
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11502
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11503
 
$as_echo "$can_build_shared" >&6; }
11504
 
 
11505
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11506
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
11507
 
  test "$can_build_shared" = "no" && enable_shared=no
11508
 
 
11509
 
  # On AIX, shared libraries and static libraries use the same namespace, and
11510
 
  # are all built from PIC.
11511
 
  case $host_os in
11512
 
  aix3*)
11513
 
    test "$enable_shared" = yes && enable_static=no
11514
 
    if test -n "$RANLIB"; then
11515
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11516
 
      postinstall_cmds='$RANLIB $lib'
11517
 
    fi
11518
 
    ;;
11519
 
 
11520
 
  aix[4-9]*)
11521
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11522
 
      test "$enable_shared" = yes && enable_static=no
11523
 
    fi
11524
 
    ;;
11525
 
  esac
11526
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11527
 
$as_echo "$enable_shared" >&6; }
11528
 
 
11529
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11530
 
$as_echo_n "checking whether to build static libraries... " >&6; }
11531
 
  # Make sure either enable_shared or enable_static is yes.
11532
 
  test "$enable_shared" = yes || enable_static=yes
11533
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11534
 
$as_echo "$enable_static" >&6; }
11535
 
 
11536
 
  
11537
 
 
11538
 
 
11539
 
fi
11540
 
ac_ext=c
11541
 
ac_cpp='$CPP $CPPFLAGS'
11542
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11543
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11544
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11545
 
 
11546
 
CC="$lt_save_CC"
11547
 
 
11548
 
 
11549
 
 
11550
 
 
11551
 
 
11552
 
 
11553
 
 
11554
 
 
11555
 
       
11556
 
       
11557
 
 
11558
 
 
11559
 
 
11560
 
 
11561
 
 
11562
 
        ac_config_commands="$ac_config_commands libtool"
11563
 
 
11564
 
 
11565
 
 
11566
 
 
11567
 
# Only expand once:
11568
 
 
11569
 
 
11570
 
# Extract the first word of "texi2dvi", so it can be a program name with args.
11571
 
set dummy texi2dvi; ac_word=$2
11572
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11573
 
$as_echo_n "checking for $ac_word... " >&6; }
11574
 
if ${ac_cv_prog_TEXI2DVI+:} false; then :
11575
 
  $as_echo_n "(cached) " >&6
11576
 
else
11577
 
  if test -n "$TEXI2DVI"; then
11578
 
  ac_cv_prog_TEXI2DVI="$TEXI2DVI" # Let the user override the test.
11579
 
else
11580
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11581
 
for as_dir in $PATH
11582
 
do
11583
 
  IFS=$as_save_IFS
11584
 
  test -z "$as_dir" && as_dir=.
11585
 
    for ac_exec_ext in '' $ac_executable_extensions; do
11586
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11587
 
    ac_cv_prog_TEXI2DVI="texi2dvi"
11588
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11589
 
    break 2
11590
 
  fi
11591
 
done
11592
 
  done
11593
 
IFS=$as_save_IFS
11594
 
 
11595
 
fi
11596
 
fi
11597
 
TEXI2DVI=$ac_cv_prog_TEXI2DVI
11598
 
if test -n "$TEXI2DVI"; then
11599
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEXI2DVI" >&5
11600
 
$as_echo "$TEXI2DVI" >&6; }
11601
 
else
11602
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11603
 
$as_echo "no" >&6; }
11604
 
fi
11605
 
 
11606
 
 
11607
 
 if test -n "$TEXI2DVI"; then
11608
 
  HAVE_TEXI2DVI_TRUE=
11609
 
  HAVE_TEXI2DVI_FALSE='#'
11610
 
else
11611
 
  HAVE_TEXI2DVI_TRUE='#'
11612
 
  HAVE_TEXI2DVI_FALSE=
11613
 
fi
11614
 
 
11615
 
 
11616
 
 
11617
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler vendor" >&5
11618
 
$as_echo_n "checking for C compiler vendor... " >&6; }
11619
 
if ${ax_cv_c_compiler_vendor+:} false; then :
11620
 
  $as_echo_n "(cached) " >&6
11621
 
else
11622
 
  ax_cv_c_compiler_vendor=unknown
11623
 
  # note: don't check for gcc first since some other compilers define __GNUC__
11624
 
  for ventest in intel:__ICC,__ECC,__INTEL_COMPILER ibm:__xlc__,__xlC__,__IBMC__,__IBMCPP__ pathscale:__PATHCC__,__PATHSCALE__ gnu:__GNUC__ sun:__SUNPRO_C,__SUNPRO_CC hp:__HP_cc,__HP_aCC dec:__DECC,__DECCXX,__DECC_VER,__DECCXX_VER borland:__BORLANDC__,__TURBOC__ comeau:__COMO__ cray:_CRAYC kai:__KCC lcc:__LCC__ metrowerks:__MWERKS__ sgi:__sgi,sgi microsoft:_MSC_VER watcom:__WATCOMC__ portland:__PGI; do
11625
 
    vencpp="defined("`echo $ventest | cut -d: -f2 | sed 's/,/) || defined(/g'`")"
11626
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11627
 
/* end confdefs.h.  */
11628
 
 
11629
 
int
11630
 
main ()
11631
 
{
11632
 
 
11633
 
#if !($vencpp)
11634
 
      thisisanerror;
11635
 
#endif
11636
 
 
11637
 
  ;
11638
 
  return 0;
11639
 
}
11640
 
_ACEOF
11641
 
if ac_fn_c_try_compile "$LINENO"; then :
11642
 
  ax_cv_c_compiler_vendor=`echo $ventest | cut -d: -f1`; break
11643
 
fi
11644
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11645
 
  done
11646
 
 
11647
 
fi
11648
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_vendor" >&5
11649
 
$as_echo "$ax_cv_c_compiler_vendor" >&6; }
11650
 
 
11651
 
 
11652
 
 
11653
 
 
11654
 
 
11655
 
 
11656
 
@%:@ Check whether --enable-portable-binary was given.
11657
 
if test "${enable_portable_binary+set}" = set; then :
11658
 
  enableval=$enable_portable_binary; acx_maxopt_portable=$withval
11659
 
else
11660
 
  acx_maxopt_portable=no
11661
 
fi
11662
 
 
11663
 
 
11664
 
# Try to determine "good" native compiler flags if none specified via CFLAGS
11665
 
if test "$ac_test_CFLAGS" != "set"; then
11666
 
  CFLAGS=""
11667
 
  case $ax_cv_c_compiler_vendor in
11668
 
    dec) CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host"
11669
 
         if test "x$acx_maxopt_portable" = xno; then
11670
 
           CFLAGS="$CFLAGS -arch host"
11671
 
         fi;;
11672
 
 
11673
 
    sun) CFLAGS="-native -fast -xO5 -dalign"
11674
 
         if test "x$acx_maxopt_portable" = xyes; then
11675
 
           CFLAGS="$CFLAGS -xarch=generic"
11676
 
         fi;;
11677
 
 
11678
 
    hp)  CFLAGS="+Oall +Optrs_ansi +DSnative"
11679
 
         if test "x$acx_maxopt_portable" = xyes; then
11680
 
           CFLAGS="$CFLAGS +DAportable"
11681
 
         fi;;
11682
 
 
11683
 
    ibm) if test "x$acx_maxopt_portable" = xno; then
11684
 
           xlc_opt="-qarch=auto -qtune=auto"
11685
 
         else
11686
 
           xlc_opt="-qtune=auto"
11687
 
         fi
11688
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $xlc_opt" >&5
11689
 
$as_echo_n "checking whether C compiler accepts $xlc_opt... " >&6; }
11690
 
ax_save_FLAGS=$CFLAGS
11691
 
   CFLAGS="$xlc_opt"
11692
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11693
 
/* end confdefs.h.  */
11694
 
 
11695
 
int
11696
 
main ()
11697
 
{
11698
 
 
11699
 
  ;
11700
 
  return 0;
11701
 
}
11702
 
_ACEOF
11703
 
if ac_fn_c_try_compile "$LINENO"; then :
11704
 
  eval `$as_echo "ax_cv_c_flags_$xlc_opt" | $as_tr_sh`=yes
11705
 
else
11706
 
  eval `$as_echo "ax_cv_c_flags_$xlc_opt" | $as_tr_sh`=no
11707
 
fi
11708
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11709
 
   CFLAGS=$ax_save_FLAGS
11710
 
eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$xlc_opt" | $as_tr_sh`
11711
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
11712
 
$as_echo "$ax_check_compiler_flags" >&6; }
11713
 
if test "x$ax_check_compiler_flags" = xyes; then
11714
 
        CFLAGS="-O3 -qansialias -w $xlc_opt"
11715
 
else
11716
 
        CFLAGS="-O3 -qansialias -w"
11717
 
                echo "******************************************************"
11718
 
                echo "*  You seem to have the IBM  C compiler.  It is      *"
11719
 
                echo "*  recommended for best performance that you use:    *"
11720
 
                echo "*                                                    *"
11721
 
                echo "*    CFLAGS=-O3 -qarch=xxx -qtune=xxx -qansialias -w *"
11722
 
                echo "*                      ^^^        ^^^                *"
11723
 
                echo "*  where xxx is pwr2, pwr3, 604, or whatever kind of *"
11724
 
                echo "*  CPU you have.  (Set the CFLAGS environment var.   *"
11725
 
                echo "*  and re-run configure.)  For more info, man cc.    *"
11726
 
                echo "******************************************************"
11727
 
fi
11728
 
 
11729
 
         ;;
11730
 
 
11731
 
    intel) CFLAGS="-O3 -ansi_alias"
11732
 
        if test "x$acx_maxopt_portable" = xno; then
11733
 
          icc_archflag=unknown
11734
 
          icc_flags=""
11735
 
          case $host_cpu in
11736
 
            i686*|x86_64*)
11737
 
              # icc accepts gcc assembly syntax, so these should work:
11738
 
              
11739
 
ac_ext=c
11740
 
ac_cpp='$CPP $CPPFLAGS'
11741
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11742
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11743
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11744
 
 
11745
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0 output" >&5
11746
 
$as_echo_n "checking for x86 cpuid 0 output... " >&6; }
11747
 
if ${ax_cv_gcc_x86_cpuid_0+:} false; then :
11748
 
  $as_echo_n "(cached) " >&6
11749
 
else
11750
 
  if test "$cross_compiling" = yes; then :
11751
 
  ax_cv_gcc_x86_cpuid_0=unknown
11752
 
else
11753
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11754
 
/* end confdefs.h.  */
11755
 
#include <stdio.h>
11756
 
int
11757
 
main ()
11758
 
{
11759
 
 
11760
 
     int op = 0, eax, ebx, ecx, edx;
11761
 
     FILE *f;
11762
 
      __asm__("cpuid"
11763
 
        : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
11764
 
        : "a" (op));
11765
 
     f = fopen("conftest_cpuid", "w"); if (!f) return 1;
11766
 
     fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
11767
 
     fclose(f);
11768
 
     return 0;
11769
 
 
11770
 
  ;
11771
 
  return 0;
11772
 
}
11773
 
_ACEOF
11774
 
if ac_fn_c_try_run "$LINENO"; then :
11775
 
  ax_cv_gcc_x86_cpuid_0=`cat conftest_cpuid`; rm -f conftest_cpuid
11776
 
else
11777
 
  ax_cv_gcc_x86_cpuid_0=unknown; rm -f conftest_cpuid
11778
 
fi
11779
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11780
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
11781
 
fi
11782
 
 
11783
 
fi
11784
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0" >&5
11785
 
$as_echo "$ax_cv_gcc_x86_cpuid_0" >&6; }
11786
 
ac_ext=c
11787
 
ac_cpp='$CPP $CPPFLAGS'
11788
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11789
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11790
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11791
 
 
11792
 
 
11793
 
              
11794
 
ac_ext=c
11795
 
ac_cpp='$CPP $CPPFLAGS'
11796
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11797
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11798
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11799
 
 
11800
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 1 output" >&5
11801
 
$as_echo_n "checking for x86 cpuid 1 output... " >&6; }
11802
 
if ${ax_cv_gcc_x86_cpuid_1+:} false; then :
11803
 
  $as_echo_n "(cached) " >&6
11804
 
else
11805
 
  if test "$cross_compiling" = yes; then :
11806
 
  ax_cv_gcc_x86_cpuid_1=unknown
11807
 
else
11808
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11809
 
/* end confdefs.h.  */
11810
 
#include <stdio.h>
11811
 
int
11812
 
main ()
11813
 
{
11814
 
 
11815
 
     int op = 1, eax, ebx, ecx, edx;
11816
 
     FILE *f;
11817
 
      __asm__("cpuid"
11818
 
        : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
11819
 
        : "a" (op));
11820
 
     f = fopen("conftest_cpuid", "w"); if (!f) return 1;
11821
 
     fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
11822
 
     fclose(f);
11823
 
     return 0;
11824
 
 
11825
 
  ;
11826
 
  return 0;
11827
 
}
11828
 
_ACEOF
11829
 
if ac_fn_c_try_run "$LINENO"; then :
11830
 
  ax_cv_gcc_x86_cpuid_1=`cat conftest_cpuid`; rm -f conftest_cpuid
11831
 
else
11832
 
  ax_cv_gcc_x86_cpuid_1=unknown; rm -f conftest_cpuid
11833
 
fi
11834
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11835
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
11836
 
fi
11837
 
 
11838
 
fi
11839
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_1" >&5
11840
 
$as_echo "$ax_cv_gcc_x86_cpuid_1" >&6; }
11841
 
ac_ext=c
11842
 
ac_cpp='$CPP $CPPFLAGS'
11843
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11844
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11845
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11846
 
 
11847
 
 
11848
 
              case $ax_cv_gcc_x86_cpuid_0 in # see AX_GCC_ARCHFLAG
11849
 
                *:756e6547:*:*) # Intel
11850
 
                  case $ax_cv_gcc_x86_cpuid_1 in
11851
 
                    *6a?:*[234]:*:*|*6[789b]?:*:*:*) icc_flags="-xK";;
11852
 
                    *f3[347]:*:*:*|*f41347:*:*:*) icc_flags="-xP -xN -xW -xK";;
11853
 
                    *f??:*:*:*) icc_flags="-xN -xW -xK";;
11854
 
                  esac ;;
11855
 
              esac ;;
11856
 
          esac
11857
 
          if test "x$icc_flags" != x; then
11858
 
            for flag in $icc_flags; do
11859
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
11860
 
$as_echo_n "checking whether C compiler accepts $flag... " >&6; }
11861
 
ax_save_FLAGS=$CFLAGS
11862
 
   CFLAGS="$flag"
11863
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11864
 
/* end confdefs.h.  */
11865
 
 
11866
 
int
11867
 
main ()
11868
 
{
11869
 
 
11870
 
  ;
11871
 
  return 0;
11872
 
}
11873
 
_ACEOF
11874
 
if ac_fn_c_try_compile "$LINENO"; then :
11875
 
  eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=yes
11876
 
else
11877
 
  eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=no
11878
 
fi
11879
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11880
 
   CFLAGS=$ax_save_FLAGS
11881
 
eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`
11882
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
11883
 
$as_echo "$ax_check_compiler_flags" >&6; }
11884
 
if test "x$ax_check_compiler_flags" = xyes; then
11885
 
        icc_archflag=$flag; break
11886
 
else
11887
 
        :
11888
 
fi
11889
 
 
11890
 
            done
11891
 
          fi
11892
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for icc architecture flag" >&5
11893
 
$as_echo_n "checking for icc architecture flag... " >&6; }
11894
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: $icc_archflag" >&5
11895
 
$as_echo "$icc_archflag" >&6; }
11896
 
          if test "x$icc_archflag" != xunknown; then
11897
 
            CFLAGS="$CFLAGS $icc_archflag"
11898
 
          fi
11899
 
        fi
11900
 
        ;;
11901
 
 
11902
 
    gnu)
11903
 
     # default optimization flags for gcc on all systems
11904
 
     CFLAGS="-O3 -fomit-frame-pointer"
11905
 
 
11906
 
     # -malign-double for x86 systems
11907
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -malign-double" >&5
11908
 
$as_echo_n "checking whether C compiler accepts -malign-double... " >&6; }
11909
 
if ${ax_cv_c_flags__malign_double+:} false; then :
11910
 
  $as_echo_n "(cached) " >&6
11911
 
else
11912
 
  
11913
 
      ax_save_FLAGS=$CFLAGS
11914
 
      CFLAGS="-malign-double"
11915
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11916
 
/* end confdefs.h.  */
11917
 
 
11918
 
int
11919
 
main ()
11920
 
{
11921
 
 
11922
 
  ;
11923
 
  return 0;
11924
 
}
11925
 
_ACEOF
11926
 
if ac_fn_c_try_compile "$LINENO"; then :
11927
 
  ax_cv_c_flags__malign_double=yes
11928
 
else
11929
 
  ax_cv_c_flags__malign_double=no
11930
 
fi
11931
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11932
 
      CFLAGS=$ax_save_FLAGS
11933
 
fi
11934
 
 
11935
 
eval ax_check_compiler_flags=$ax_cv_c_flags__malign_double
11936
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
11937
 
$as_echo "$ax_check_compiler_flags" >&6; }
11938
 
if test "x$ax_check_compiler_flags" = xyes; then
11939
 
        CFLAGS="$CFLAGS -malign-double"
11940
 
else
11941
 
        :
11942
 
fi
11943
 
 
11944
 
 
11945
 
     #  -fstrict-aliasing for gcc-2.95+
11946
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstrict-aliasing" >&5
11947
 
$as_echo_n "checking whether C compiler accepts -fstrict-aliasing... " >&6; }
11948
 
if ${ax_cv_c_flags__fstrict_aliasing+:} false; then :
11949
 
  $as_echo_n "(cached) " >&6
11950
 
else
11951
 
  
11952
 
      ax_save_FLAGS=$CFLAGS
11953
 
      CFLAGS="-fstrict-aliasing"
11954
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11955
 
/* end confdefs.h.  */
11956
 
 
11957
 
int
11958
 
main ()
11959
 
{
11960
 
 
11961
 
  ;
11962
 
  return 0;
11963
 
}
11964
 
_ACEOF
11965
 
if ac_fn_c_try_compile "$LINENO"; then :
11966
 
  ax_cv_c_flags__fstrict_aliasing=yes
11967
 
else
11968
 
  ax_cv_c_flags__fstrict_aliasing=no
11969
 
fi
11970
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11971
 
      CFLAGS=$ax_save_FLAGS
11972
 
fi
11973
 
 
11974
 
eval ax_check_compiler_flags=$ax_cv_c_flags__fstrict_aliasing
11975
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
11976
 
$as_echo "$ax_check_compiler_flags" >&6; }
11977
 
if test "x$ax_check_compiler_flags" = xyes; then
11978
 
        CFLAGS="$CFLAGS -fstrict-aliasing"
11979
 
else
11980
 
        :
11981
 
fi
11982
 
 
11983
 
 
11984
 
     # note that we enable "unsafe" fp optimization with other compilers, too
11985
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -ffast-math" >&5
11986
 
$as_echo_n "checking whether C compiler accepts -ffast-math... " >&6; }
11987
 
if ${ax_cv_c_flags__ffast_math+:} false; then :
11988
 
  $as_echo_n "(cached) " >&6
11989
 
else
11990
 
  
11991
 
      ax_save_FLAGS=$CFLAGS
11992
 
      CFLAGS="-ffast-math"
11993
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994
 
/* end confdefs.h.  */
11995
 
 
11996
 
int
11997
 
main ()
11998
 
{
11999
 
 
12000
 
  ;
12001
 
  return 0;
12002
 
}
12003
 
_ACEOF
12004
 
if ac_fn_c_try_compile "$LINENO"; then :
12005
 
  ax_cv_c_flags__ffast_math=yes
12006
 
else
12007
 
  ax_cv_c_flags__ffast_math=no
12008
 
fi
12009
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12010
 
      CFLAGS=$ax_save_FLAGS
12011
 
fi
12012
 
 
12013
 
eval ax_check_compiler_flags=$ax_cv_c_flags__ffast_math
12014
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
12015
 
$as_echo "$ax_check_compiler_flags" >&6; }
12016
 
if test "x$ax_check_compiler_flags" = xyes; then
12017
 
        CFLAGS="$CFLAGS -ffast-math"
12018
 
else
12019
 
        :
12020
 
fi
12021
 
 
12022
 
 
12023
 
     
12024
 
 
12025
 
 
12026
 
 
12027
 
@%:@ Check whether --with-gcc-arch was given.
12028
 
if test "${with_gcc_arch+set}" = set; then :
12029
 
  withval=$with_gcc_arch; ax_gcc_arch=$withval
12030
 
else
12031
 
  ax_gcc_arch=yes
12032
 
fi
12033
 
 
12034
 
 
12035
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc architecture flag" >&5
12036
 
$as_echo_n "checking for gcc architecture flag... " >&6; }
12037
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12038
 
$as_echo "" >&6; }
12039
 
if ${ax_cv_gcc_archflag+:} false; then :
12040
 
  $as_echo_n "(cached) " >&6
12041
 
else
12042
 
  
12043
 
ax_cv_gcc_archflag="unknown"
12044
 
 
12045
 
if test "$GCC" = yes; then
12046
 
 
12047
 
if test "x$ax_gcc_arch" = xyes; then
12048
 
ax_gcc_arch=""
12049
 
if test "$cross_compiling" = no; then
12050
 
case $host_cpu in
12051
 
  i[3456]86*|x86_64*) # use cpuid codes, in part from x86info-1.7 by D. Jones
12052
 
     
12053
 
ac_ext=c
12054
 
ac_cpp='$CPP $CPPFLAGS'
12055
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12056
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12057
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12058
 
 
12059
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0 output" >&5
12060
 
$as_echo_n "checking for x86 cpuid 0 output... " >&6; }
12061
 
if ${ax_cv_gcc_x86_cpuid_0+:} false; then :
12062
 
  $as_echo_n "(cached) " >&6
12063
 
else
12064
 
  if test "$cross_compiling" = yes; then :
12065
 
  ax_cv_gcc_x86_cpuid_0=unknown
12066
 
else
12067
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12068
 
/* end confdefs.h.  */
12069
 
#include <stdio.h>
12070
 
int
12071
 
main ()
12072
 
{
12073
 
 
12074
 
     int op = 0, eax, ebx, ecx, edx;
12075
 
     FILE *f;
12076
 
      __asm__("cpuid"
12077
 
        : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
12078
 
        : "a" (op));
12079
 
     f = fopen("conftest_cpuid", "w"); if (!f) return 1;
12080
 
     fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
12081
 
     fclose(f);
12082
 
     return 0;
12083
 
 
12084
 
  ;
12085
 
  return 0;
12086
 
}
12087
 
_ACEOF
12088
 
if ac_fn_c_try_run "$LINENO"; then :
12089
 
  ax_cv_gcc_x86_cpuid_0=`cat conftest_cpuid`; rm -f conftest_cpuid
12090
 
else
12091
 
  ax_cv_gcc_x86_cpuid_0=unknown; rm -f conftest_cpuid
12092
 
fi
12093
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12094
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
12095
 
fi
12096
 
 
12097
 
fi
12098
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0" >&5
12099
 
$as_echo "$ax_cv_gcc_x86_cpuid_0" >&6; }
12100
 
ac_ext=c
12101
 
ac_cpp='$CPP $CPPFLAGS'
12102
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12103
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12104
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12105
 
 
12106
 
 
12107
 
     
12108
 
ac_ext=c
12109
 
ac_cpp='$CPP $CPPFLAGS'
12110
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12111
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12112
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12113
 
 
12114
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 1 output" >&5
12115
 
$as_echo_n "checking for x86 cpuid 1 output... " >&6; }
12116
 
if ${ax_cv_gcc_x86_cpuid_1+:} false; then :
12117
 
  $as_echo_n "(cached) " >&6
12118
 
else
12119
 
  if test "$cross_compiling" = yes; then :
12120
 
  ax_cv_gcc_x86_cpuid_1=unknown
12121
 
else
12122
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12123
 
/* end confdefs.h.  */
12124
 
#include <stdio.h>
12125
 
int
12126
 
main ()
12127
 
{
12128
 
 
12129
 
     int op = 1, eax, ebx, ecx, edx;
12130
 
     FILE *f;
12131
 
      __asm__("cpuid"
12132
 
        : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
12133
 
        : "a" (op));
12134
 
     f = fopen("conftest_cpuid", "w"); if (!f) return 1;
12135
 
     fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
12136
 
     fclose(f);
12137
 
     return 0;
12138
 
 
12139
 
  ;
12140
 
  return 0;
12141
 
}
12142
 
_ACEOF
12143
 
if ac_fn_c_try_run "$LINENO"; then :
12144
 
  ax_cv_gcc_x86_cpuid_1=`cat conftest_cpuid`; rm -f conftest_cpuid
12145
 
else
12146
 
  ax_cv_gcc_x86_cpuid_1=unknown; rm -f conftest_cpuid
12147
 
fi
12148
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12149
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
12150
 
fi
12151
 
 
12152
 
fi
12153
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_1" >&5
12154
 
$as_echo "$ax_cv_gcc_x86_cpuid_1" >&6; }
12155
 
ac_ext=c
12156
 
ac_cpp='$CPP $CPPFLAGS'
12157
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12158
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12159
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12160
 
 
12161
 
 
12162
 
     case $ax_cv_gcc_x86_cpuid_0 in
12163
 
       *:756e6547:*:*) # Intel
12164
 
          case $ax_cv_gcc_x86_cpuid_1 in
12165
 
            *5[48]?:*:*:*) ax_gcc_arch="pentium-mmx pentium" ;;
12166
 
            *5??:*:*:*) ax_gcc_arch=pentium ;;
12167
 
            *6[3456]?:*:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
12168
 
            *6a?:*[01]:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
12169
 
            *6a?:*[234]:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
12170
 
            *6[9d]?:*:*:*) ax_gcc_arch="pentium-m pentium3 pentiumpro" ;;
12171
 
            *6[78b]?:*:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
12172
 
            *6??:*:*:*) ax_gcc_arch=pentiumpro ;;
12173
 
            *f3[347]:*:*:*|*f41347:*:*:*)
12174
 
                case $host_cpu in
12175
 
                  x86_64*) ax_gcc_arch="nocona pentium4 pentiumpro" ;;
12176
 
                  *) ax_gcc_arch="prescott pentium4 pentiumpro" ;;
12177
 
                esac ;;
12178
 
            *f??:*:*:*) ax_gcc_arch="pentium4 pentiumpro";;
12179
 
          esac ;;
12180
 
       *:68747541:*:*) # AMD
12181
 
          case $ax_cv_gcc_x86_cpuid_1 in
12182
 
            *5[67]?:*:*:*) ax_gcc_arch=k6 ;;
12183
 
            *5[8d]?:*:*:*) ax_gcc_arch="k6-2 k6" ;;
12184
 
            *5[9]?:*:*:*) ax_gcc_arch="k6-3 k6" ;;
12185
 
            *60?:*:*:*) ax_gcc_arch=k7 ;;
12186
 
            *6[12]?:*:*:*) ax_gcc_arch="athlon k7" ;;
12187
 
            *6[34]?:*:*:*) ax_gcc_arch="athlon-tbird k7" ;;
12188
 
            *67?:*:*:*) ax_gcc_arch="athlon-4 athlon k7" ;;
12189
 
            *6[68a]?:*:*:*)
12190
 
               
12191
 
ac_ext=c
12192
 
ac_cpp='$CPP $CPPFLAGS'
12193
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12194
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12195
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12196
 
 
12197
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0x80000006 output" >&5
12198
 
$as_echo_n "checking for x86 cpuid 0x80000006 output... " >&6; }
12199
 
if ${ax_cv_gcc_x86_cpuid_0x80000006+:} false; then :
12200
 
  $as_echo_n "(cached) " >&6
12201
 
else
12202
 
  if test "$cross_compiling" = yes; then :
12203
 
  ax_cv_gcc_x86_cpuid_0x80000006=unknown
12204
 
else
12205
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206
 
/* end confdefs.h.  */
12207
 
#include <stdio.h>
12208
 
int
12209
 
main ()
12210
 
{
12211
 
 
12212
 
     int op = 0x80000006, eax, ebx, ecx, edx;
12213
 
     FILE *f;
12214
 
      __asm__("cpuid"
12215
 
        : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
12216
 
        : "a" (op));
12217
 
     f = fopen("conftest_cpuid", "w"); if (!f) return 1;
12218
 
     fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
12219
 
     fclose(f);
12220
 
     return 0;
12221
 
 
12222
 
  ;
12223
 
  return 0;
12224
 
}
12225
 
_ACEOF
12226
 
if ac_fn_c_try_run "$LINENO"; then :
12227
 
  ax_cv_gcc_x86_cpuid_0x80000006=`cat conftest_cpuid`; rm -f conftest_cpuid
12228
 
else
12229
 
  ax_cv_gcc_x86_cpuid_0x80000006=unknown; rm -f conftest_cpuid
12230
 
fi
12231
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12232
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
12233
 
fi
12234
 
 
12235
 
fi
12236
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0x80000006" >&5
12237
 
$as_echo "$ax_cv_gcc_x86_cpuid_0x80000006" >&6; }
12238
 
ac_ext=c
12239
 
ac_cpp='$CPP $CPPFLAGS'
12240
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12241
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12242
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12243
 
 
12244
 
 # L2 cache size
12245
 
               case $ax_cv_gcc_x86_cpuid_0x80000006 in
12246
 
                 *:*:*[1-9a-f]??????:*) # (L2 = ecx >> 16) >= 256
12247
 
                        ax_gcc_arch="athlon-xp athlon-4 athlon k7" ;;
12248
 
                 *) ax_gcc_arch="athlon-4 athlon k7" ;;
12249
 
               esac ;;
12250
 
            *f[4cef8b]?:*:*:*) ax_gcc_arch="athlon64 k8" ;;
12251
 
            *f5?:*:*:*) ax_gcc_arch="opteron k8" ;;
12252
 
            *f7?:*:*:*) ax_gcc_arch="athlon-fx opteron k8" ;;
12253
 
            *f??:*:*:*) ax_gcc_arch="k8" ;;
12254
 
          esac ;;
12255
 
        *:746e6543:*:*) # IDT
12256
 
           case $ax_cv_gcc_x86_cpuid_1 in
12257
 
             *54?:*:*:*) ax_gcc_arch=winchip-c6 ;;
12258
 
             *58?:*:*:*) ax_gcc_arch=winchip2 ;;
12259
 
             *6[78]?:*:*:*) ax_gcc_arch=c3 ;;
12260
 
             *69?:*:*:*) ax_gcc_arch="c3-2 c3" ;;
12261
 
           esac ;;
12262
 
     esac
12263
 
     if test x"$ax_gcc_arch" = x; then # fallback
12264
 
        case $host_cpu in
12265
 
          i586*) ax_gcc_arch=pentium ;;
12266
 
          i686*) ax_gcc_arch=pentiumpro ;;
12267
 
        esac
12268
 
     fi
12269
 
     ;;
12270
 
 
12271
 
  sparc*)
12272
 
     # Extract the first word of "prtdiag", so it can be a program name with args.
12273
 
set dummy prtdiag; ac_word=$2
12274
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12275
 
$as_echo_n "checking for $ac_word... " >&6; }
12276
 
if ${ac_cv_path_PRTDIAG+:} false; then :
12277
 
  $as_echo_n "(cached) " >&6
12278
 
else
12279
 
  case $PRTDIAG in
12280
 
  [\\/]* | ?:[\\/]*)
12281
 
  ac_cv_path_PRTDIAG="$PRTDIAG" # Let the user override the test with a path.
12282
 
  ;;
12283
 
  *)
12284
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12285
 
as_dummy="$PATH:/usr/platform/`uname -i`/sbin/:/usr/platform/`uname -m`/sbin/"
12286
 
for as_dir in $as_dummy
12287
 
do
12288
 
  IFS=$as_save_IFS
12289
 
  test -z "$as_dir" && as_dir=.
12290
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12291
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12292
 
    ac_cv_path_PRTDIAG="$as_dir/$ac_word$ac_exec_ext"
12293
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12294
 
    break 2
12295
 
  fi
12296
 
done
12297
 
  done
12298
 
IFS=$as_save_IFS
12299
 
 
12300
 
  test -z "$ac_cv_path_PRTDIAG" && ac_cv_path_PRTDIAG="prtdiag"
12301
 
  ;;
12302
 
esac
12303
 
fi
12304
 
PRTDIAG=$ac_cv_path_PRTDIAG
12305
 
if test -n "$PRTDIAG"; then
12306
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRTDIAG" >&5
12307
 
$as_echo "$PRTDIAG" >&6; }
12308
 
else
12309
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12310
 
$as_echo "no" >&6; }
12311
 
fi
12312
 
 
12313
 
 
12314
 
     cputype=`(((grep cpu /proc/cpuinfo | cut -d: -f2) ; ($PRTDIAG -v |grep -i sparc) ; grep -i cpu /var/run/dmesg.boot ) | head -n 1) 2> /dev/null`
12315
 
     cputype=`echo "$cputype" | tr -d ' -' |tr $as_cr_LETTERS $as_cr_letters`
12316
 
     case $cputype in
12317
 
         *ultrasparciv*) ax_gcc_arch="ultrasparc4 ultrasparc3 ultrasparc v9" ;;
12318
 
         *ultrasparciii*) ax_gcc_arch="ultrasparc3 ultrasparc v9" ;;
12319
 
         *ultrasparc*) ax_gcc_arch="ultrasparc v9" ;;
12320
 
         *supersparc*|*tms390z5[05]*) ax_gcc_arch="supersparc v8" ;;
12321
 
         *hypersparc*|*rt62[056]*) ax_gcc_arch="hypersparc v8" ;;
12322
 
         *cypress*) ax_gcc_arch=cypress ;;
12323
 
     esac ;;
12324
 
 
12325
 
  alphaev5) ax_gcc_arch=ev5 ;;
12326
 
  alphaev56) ax_gcc_arch=ev56 ;;
12327
 
  alphapca56) ax_gcc_arch="pca56 ev56" ;;
12328
 
  alphapca57) ax_gcc_arch="pca57 pca56 ev56" ;;
12329
 
  alphaev6) ax_gcc_arch=ev6 ;;
12330
 
  alphaev67) ax_gcc_arch=ev67 ;;
12331
 
  alphaev68) ax_gcc_arch="ev68 ev67" ;;
12332
 
  alphaev69) ax_gcc_arch="ev69 ev68 ev67" ;;
12333
 
  alphaev7) ax_gcc_arch="ev7 ev69 ev68 ev67" ;;
12334
 
  alphaev79) ax_gcc_arch="ev79 ev7 ev69 ev68 ev67" ;;
12335
 
 
12336
 
  powerpc*)
12337
 
     cputype=`((grep cpu /proc/cpuinfo | head -n 1 | cut -d: -f2 | cut -d, -f1 | sed 's/ //g') ; /usr/bin/machine ; /bin/machine; grep CPU /var/run/dmesg.boot | head -n 1 | cut -d" " -f2) 2> /dev/null`
12338
 
     cputype=`echo $cputype | sed -e 's/ppc//g;s/ *//g'`
12339
 
     case $cputype in
12340
 
       *750*) ax_gcc_arch="750 G3" ;;
12341
 
       *740[0-9]*) ax_gcc_arch="$cputype 7400 G4" ;;
12342
 
       *74[4-5][0-9]*) ax_gcc_arch="$cputype 7450 G4" ;;
12343
 
       *74[0-9][0-9]*) ax_gcc_arch="$cputype G4" ;;
12344
 
       *970*) ax_gcc_arch="970 G5 power4";;
12345
 
       *POWER4*|*power4*|*gq*) ax_gcc_arch="power4 970";;
12346
 
       *POWER5*|*power5*|*gr*|*gs*) ax_gcc_arch="power5 power4 970";;
12347
 
       603ev|8240) ax_gcc_arch="$cputype 603e 603";;
12348
 
       *) ax_gcc_arch=$cputype ;;
12349
 
     esac
12350
 
     ax_gcc_arch="$ax_gcc_arch powerpc"
12351
 
     ;;
12352
 
esac
12353
 
fi # not cross-compiling
12354
 
fi # guess arch
12355
 
 
12356
 
if test "x$ax_gcc_arch" != x -a "x$ax_gcc_arch" != xno; then
12357
 
for arch in $ax_gcc_arch; do
12358
 
  if test "x$acx_maxopt_portable" = xyes; then # if we require portable code
12359
 
    flags="-mtune=$arch"
12360
 
    # -mcpu=$arch and m$arch generate nonportable code on every arch except
12361
 
    # x86.  And some other arches (e.g. Alpha) don't accept -mtune.  Grrr.
12362
 
    case $host_cpu in i*86|x86_64*) flags="$flags -mcpu=$arch -m$arch";; esac
12363
 
  else
12364
 
    flags="-march=$arch -mcpu=$arch -m$arch"
12365
 
  fi
12366
 
  for flag in $flags; do
12367
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
12368
 
$as_echo_n "checking whether C compiler accepts $flag... " >&6; }
12369
 
ax_save_FLAGS=$CFLAGS
12370
 
   CFLAGS="$flag"
12371
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12372
 
/* end confdefs.h.  */
12373
 
 
12374
 
int
12375
 
main ()
12376
 
{
12377
 
 
12378
 
  ;
12379
 
  return 0;
12380
 
}
12381
 
_ACEOF
12382
 
if ac_fn_c_try_compile "$LINENO"; then :
12383
 
  eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=yes
12384
 
else
12385
 
  eval `$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`=no
12386
 
fi
12387
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12388
 
   CFLAGS=$ax_save_FLAGS
12389
 
eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$flag" | $as_tr_sh`
12390
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
12391
 
$as_echo "$ax_check_compiler_flags" >&6; }
12392
 
if test "x$ax_check_compiler_flags" = xyes; then
12393
 
        ax_cv_gcc_archflag=$flag; break
12394
 
else
12395
 
        :
12396
 
fi
12397
 
 
12398
 
  done
12399
 
  test "x$ax_cv_gcc_archflag" = xunknown || break
12400
 
done
12401
 
fi
12402
 
 
12403
 
fi # $GCC=yes
12404
 
 
12405
 
fi
12406
 
 
12407
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc architecture flag" >&5
12408
 
$as_echo_n "checking for gcc architecture flag... " >&6; }
12409
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_archflag" >&5
12410
 
$as_echo "$ax_cv_gcc_archflag" >&6; }
12411
 
if test "x$ax_cv_gcc_archflag" = xunknown; then
12412
 
  :
12413
 
else
12414
 
  CFLAGS="$CFLAGS $ax_cv_gcc_archflag"
12415
 
fi
12416
 
 
12417
 
     ;;
12418
 
  esac
12419
 
 
12420
 
  if test -z "$CFLAGS"; then
12421
 
        echo ""
12422
 
        echo "********************************************************"
12423
 
        echo "* WARNING: Don't know the best CFLAGS for this system  *"
12424
 
        echo "* Use ./configure CFLAGS=... to specify your own flags *"
12425
 
        echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
12426
 
        echo "********************************************************"
12427
 
        echo ""
12428
 
        CFLAGS="-O3"
12429
 
  fi
12430
 
 
12431
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CFLAGS" >&5
12432
 
$as_echo_n "checking whether C compiler accepts $CFLAGS... " >&6; }
12433
 
ax_save_FLAGS=$CFLAGS
12434
 
   CFLAGS="$CFLAGS"
12435
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12436
 
/* end confdefs.h.  */
12437
 
 
12438
 
int
12439
 
main ()
12440
 
{
12441
 
 
12442
 
  ;
12443
 
  return 0;
12444
 
}
12445
 
_ACEOF
12446
 
if ac_fn_c_try_compile "$LINENO"; then :
12447
 
  eval `$as_echo "ax_cv_c_flags_$CFLAGS" | $as_tr_sh`=yes
12448
 
else
12449
 
  eval `$as_echo "ax_cv_c_flags_$CFLAGS" | $as_tr_sh`=no
12450
 
fi
12451
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12452
 
   CFLAGS=$ax_save_FLAGS
12453
 
eval ax_check_compiler_flags=$`$as_echo "ax_cv_c_flags_$CFLAGS" | $as_tr_sh`
12454
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_check_compiler_flags" >&5
12455
 
$as_echo "$ax_check_compiler_flags" >&6; }
12456
 
if test "x$ax_check_compiler_flags" = xyes; then
12457
 
        :
12458
 
else
12459
 
        
12460
 
        echo ""
12461
 
        echo "********************************************************"
12462
 
        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
12463
 
        echo "* your compiler.                                       *"
12464
 
        echo "* Use ./configure CFLAGS=... to specify your own flags *"
12465
 
        echo "********************************************************"
12466
 
        echo ""
12467
 
        CFLAGS=""
12468
 
  
12469
 
fi
12470
 
 
12471
 
 
12472
 
fi
12473
 
 
12474
 
 
12475
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS_WARN for maximum warnings" >&5
12476
 
$as_echo_n "checking CFLAGS_WARN for maximum warnings... " >&6; }
12477
 
if ${ac_cv_cflags_warn_all+:} false; then :
12478
 
  $as_echo_n "(cached) " >&6
12479
 
else
12480
 
  ac_cv_cflags_warn_all="no, unknown"
12481
 
 
12482
 
 ac_ext=c
12483
 
ac_cpp='$CPP $CPPFLAGS'
12484
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12485
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12486
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12487
 
 
12488
 
 ac_save_CFLAGS="$CFLAGS"
12489
 
for ac_arg in "-pedantic  % -Wall"          "-xstrconst % -v"             "-std1      % -verbose -w0 -warnprotos"    "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd"    "-ansi -ansiE % -fullwarn"    "+ESlit     % +w1"            "-Xc        % -pvctl,fullmsg"    "-h conform % -h msglevel 2"    #
12490
 
do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
12491
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492
 
/* end confdefs.h.  */
12493
 
 
12494
 
int
12495
 
main ()
12496
 
{
12497
 
return 0;
12498
 
  ;
12499
 
  return 0;
12500
 
}
12501
 
_ACEOF
12502
 
if ac_fn_c_try_compile "$LINENO"; then :
12503
 
  ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
12504
 
fi
12505
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12506
 
done
12507
 
 CFLAGS="$ac_save_CFLAGS"
12508
 
 ac_ext=c
12509
 
ac_cpp='$CPP $CPPFLAGS'
12510
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12511
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12512
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12513
 
 
12514
 
 
12515
 
fi
12516
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
12517
 
$as_echo "$ac_cv_cflags_warn_all" >&6; }
12518
 
case ".$ac_cv_cflags_warn_all" in
12519
 
     .ok|.ok,*)  ;;
12520
 
   .|.no|.no,*) 
12521
 
 ;;
12522
 
   *) 
12523
 
   if echo " $CFLAGS_WARN " | grep " $ac_cv_cflags_warn_all " 2>&1 >/dev/null
12524
 
   then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS_WARN does contain \$ac_cv_cflags_warn_all"; } >&5
12525
 
  (: CFLAGS_WARN does contain $ac_cv_cflags_warn_all) 2>&5
12526
 
  ac_status=$?
12527
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12528
 
  test $ac_status = 0; }
12529
 
   else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS_WARN=\"\$CFLAGS_WARN \$ac_cv_cflags_warn_all\""; } >&5
12530
 
  (: CFLAGS_WARN="$CFLAGS_WARN $ac_cv_cflags_warn_all") 2>&5
12531
 
  ac_status=$?
12532
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12533
 
  test $ac_status = 0; }
12534
 
                      CFLAGS_WARN="$CFLAGS_WARN $ac_cv_cflags_warn_all"
12535
 
   fi 
12536
 
 ;;
12537
 
esac
12538
 
 
12539
 
 
12540
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12541
 
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12542
 
if ${ac_cv_c_const+:} false; then :
12543
 
  $as_echo_n "(cached) " >&6
12544
 
else
12545
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12546
 
/* end confdefs.h.  */
12547
 
 
12548
 
int
12549
 
main ()
12550
 
{
12551
 
 
12552
 
#ifndef __cplusplus
12553
 
  /* Ultrix mips cc rejects this sort of thing.  */
12554
 
  typedef int charset[2];
12555
 
  const charset cs = { 0, 0 };
12556
 
  /* SunOS 4.1.1 cc rejects this.  */
12557
 
  char const *const *pcpcc;
12558
 
  char **ppc;
12559
 
  /* NEC SVR4.0.2 mips cc rejects this.  */
12560
 
  struct point {int x, y;};
12561
 
  static struct point const zero = {0,0};
12562
 
  /* AIX XL C 1.02.0.0 rejects this.
12563
 
     It does not let you subtract one const X* pointer from another in
12564
 
     an arm of an if-expression whose if-part is not a constant
12565
 
     expression */
12566
 
  const char *g = "string";
12567
 
  pcpcc = &g + (g ? g-g : 0);
12568
 
  /* HPUX 7.0 cc rejects these. */
12569
 
  ++pcpcc;
12570
 
  ppc = (char**) pcpcc;
12571
 
  pcpcc = (char const *const *) ppc;
12572
 
  { /* SCO 3.2v4 cc rejects this sort of thing.  */
12573
 
    char tx;
12574
 
    char *t = &tx;
12575
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
12576
 
 
12577
 
    *t++ = 0;
12578
 
    if (s) return 0;
12579
 
  }
12580
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12581
 
    int x[] = {25, 17};
12582
 
    const int *foo = &x[0];
12583
 
    ++foo;
12584
 
  }
12585
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12586
 
    typedef const int *iptr;
12587
 
    iptr p = 0;
12588
 
    ++p;
12589
 
  }
12590
 
  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12591
 
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12592
 
    struct s { int j; const int *ap[3]; } bx;
12593
 
    struct s *b = &bx; b->j = 5;
12594
 
  }
12595
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12596
 
    const int foo = 10;
12597
 
    if (!foo) return 0;
12598
 
  }
12599
 
  return !cs[0] && !zero.x;
12600
 
#endif
12601
 
 
12602
 
  ;
12603
 
  return 0;
12604
 
}
12605
 
_ACEOF
12606
 
if ac_fn_c_try_compile "$LINENO"; then :
12607
 
  ac_cv_c_const=yes
12608
 
else
12609
 
  ac_cv_c_const=no
12610
 
fi
12611
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12612
 
fi
12613
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12614
 
$as_echo "$ac_cv_c_const" >&6; }
12615
 
if test $ac_cv_c_const = no; then
12616
 
  
12617
 
$as_echo "@%:@define const /**/" >>confdefs.h
12618
 
 
12619
 
fi
12620
 
 
12621
 
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12622
 
if test "x$ac_cv_type_size_t" = xyes; then :
12623
 
  
12624
 
else
12625
 
  
12626
 
cat >>confdefs.h <<_ACEOF
12627
 
@%:@define size_t unsigned int
12628
 
_ACEOF
12629
 
 
12630
 
fi
12631
 
 
12632
 
 
12633
 
 
12634
 
 
12635
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12636
 
$as_echo_n "checking for ANSI C header files... " >&6; }
12637
 
if ${ac_cv_header_stdc+:} false; then :
12638
 
  $as_echo_n "(cached) " >&6
12639
 
else
12640
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12641
 
/* end confdefs.h.  */
12642
 
#include <stdlib.h>
12643
 
#include <stdarg.h>
12644
 
#include <string.h>
12645
 
#include <float.h>
12646
 
 
12647
 
int
12648
 
main ()
12649
 
{
12650
 
 
12651
 
  ;
12652
 
  return 0;
12653
 
}
12654
 
_ACEOF
12655
 
if ac_fn_c_try_compile "$LINENO"; then :
12656
 
  ac_cv_header_stdc=yes
12657
 
else
12658
 
  ac_cv_header_stdc=no
12659
 
fi
12660
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12661
 
 
12662
 
if test $ac_cv_header_stdc = yes; then
12663
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12664
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665
 
/* end confdefs.h.  */
12666
 
#include <string.h>
12667
 
 
12668
 
_ACEOF
12669
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12670
 
  $EGREP "memchr" >/dev/null 2>&1; then :
12671
 
  
12672
 
else
12673
 
  ac_cv_header_stdc=no
12674
 
fi
12675
 
rm -f conftest*
12676
 
 
12677
 
fi
12678
 
 
12679
 
if test $ac_cv_header_stdc = yes; then
12680
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12681
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12682
 
/* end confdefs.h.  */
12683
 
#include <stdlib.h>
12684
 
 
12685
 
_ACEOF
12686
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12687
 
  $EGREP "free" >/dev/null 2>&1; then :
12688
 
  
12689
 
else
12690
 
  ac_cv_header_stdc=no
12691
 
fi
12692
 
rm -f conftest*
12693
 
 
12694
 
fi
12695
 
 
12696
 
if test $ac_cv_header_stdc = yes; then
12697
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12698
 
  if test "$cross_compiling" = yes; then :
12699
 
  :
12700
 
else
12701
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12702
 
/* end confdefs.h.  */
12703
 
#include <ctype.h>
12704
 
#include <stdlib.h>
12705
 
#if ((' ' & 0x0FF) == 0x020)
12706
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12707
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12708
 
#else
12709
 
# define ISLOWER(c) \
12710
 
                   (('a' <= (c) && (c) <= 'i') \
12711
 
                     || ('j' <= (c) && (c) <= 'r') \
12712
 
                     || ('s' <= (c) && (c) <= 'z'))
12713
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12714
 
#endif
12715
 
 
12716
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12717
 
int
12718
 
main ()
12719
 
{
12720
 
  int i;
12721
 
  for (i = 0; i < 256; i++)
12722
 
    if (XOR (islower (i), ISLOWER (i))
12723
 
        || toupper (i) != TOUPPER (i))
12724
 
      return 2;
12725
 
  return 0;
12726
 
}
12727
 
_ACEOF
12728
 
if ac_fn_c_try_run "$LINENO"; then :
12729
 
  
12730
 
else
12731
 
  ac_cv_header_stdc=no
12732
 
fi
12733
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12734
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
12735
 
fi
12736
 
 
12737
 
fi
12738
 
fi
12739
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12740
 
$as_echo "$ac_cv_header_stdc" >&6; }
12741
 
if test $ac_cv_header_stdc = yes; then
12742
 
  
12743
 
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
12744
 
 
12745
 
fi
12746
 
 
12747
 
 
12748
 
 
12749
 
for ac_func in strtol
12750
 
do :
12751
 
  ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
12752
 
if test "x$ac_cv_func_strtol" = xyes; then :
12753
 
  cat >>confdefs.h <<_ACEOF
12754
 
@%:@define HAVE_STRTOL 1
12755
 
_ACEOF
12756
 
 
12757
 
fi
12758
 
done
12759
 
 
12760
 
 
12761
 
 
12762
 
 
12763
 
for ac_func in getrusage
12764
 
do :
12765
 
  ac_fn_c_check_func "$LINENO" "getrusage" "ac_cv_func_getrusage"
12766
 
if test "x$ac_cv_func_getrusage" = xyes; then :
12767
 
  cat >>confdefs.h <<_ACEOF
12768
 
@%:@define HAVE_GETRUSAGE 1
12769
 
_ACEOF
12770
 
 
12771
 
$as_echo "@%:@define CLOOG_RUSAGE /**/" >>confdefs.h
12772
 
 
12773
 
fi
12774
 
done
12775
 
 
12776
 
 
12777
 
 
12778
 
 
12779
 
 
12780
 
@%:@ Check whether --with-isl was given.
12781
 
if test "${with_isl+set}" = set; then :
12782
 
  withval=$with_isl; 
12783
 
fi
12784
 
 
12785
 
case "system" in
12786
 
no|system|build|bundled)
12787
 
        
12788
 
@%:@ Check whether --with-isl_prefix was given.
12789
 
if test "${with_isl_prefix+set}" = set; then :
12790
 
  withval=$with_isl_prefix; 
12791
 
fi
12792
 
 
12793
 
        
12794
 
@%:@ Check whether --with-isl_exec_prefix was given.
12795
 
if test "${with_isl_exec_prefix+set}" = set; then :
12796
 
  withval=$with_isl_exec_prefix; 
12797
 
fi
12798
 
 
12799
 
esac
12800
 
case "build" in
12801
 
no|system|build|bundled)
12802
 
        
12803
 
@%:@ Check whether --with-isl_builddir was given.
12804
 
if test "${with_isl_builddir+set}" = set; then :
12805
 
  withval=$with_isl_builddir; 
12806
 
fi
12807
 
 
12808
 
esac
12809
 
if test "x$with_isl_prefix" != "x" -a "x$with_isl_exec_prefix" = "x"; then
12810
 
        with_isl_exec_prefix=$with_isl_prefix
12811
 
fi
12812
 
if test "x$with_isl_prefix" != "x" -o "x$with_isl_exec_prefix" != "x"; then
12813
 
        if test "x$with_isl" != "x" -a "x$with_isl" != "xsystem"; then
12814
 
                as_fn_error $? "Setting $with_isl_prefix implies use of system isl" "$LINENO" 5
12815
 
        fi
12816
 
        with_isl="system"
12817
 
fi
12818
 
if test "x$with_isl_builddir" != "x"; then
12819
 
        if test "x$with_isl" != "x" -a "x$with_isl" != "xbuild"; then
12820
 
                as_fn_error $? "Setting $with_isl_builddir implies use of build isl" "$LINENO" 5
12821
 
        fi
12822
 
        with_isl="build"
12823
 
        isl_srcdir=`echo @abs_srcdir@ | $with_isl_builddir/config.status --file=-`
12824
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: isl sources in $isl_srcdir" >&5
12825
 
$as_echo "$as_me: isl sources in $isl_srcdir" >&6;}
12826
 
fi
12827
 
case "$with_isl" in
12828
 
no|system|build|bundled)
12829
 
        ;;
12830
 
*)
12831
 
        if test -d $srcdir/.git -a \
12832
 
                -d $srcdir/isl -a \
12833
 
                ! -d $srcdir/isl/.git; then
12834
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule isl not initialized" >&5
12835
 
$as_echo "$as_me: WARNING: git repo detected, but submodule isl not initialized" >&2;}
12836
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
12837
 
$as_echo "$as_me: WARNING: You may want to run" >&2;}
12838
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:       git submodule init" >&5
12839
 
$as_echo "$as_me: WARNING:      git submodule init" >&2;}
12840
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:       git submodule update" >&5
12841
 
$as_echo "$as_me: WARNING:      git submodule update" >&2;}
12842
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:       sh autogen.sh" >&5
12843
 
$as_echo "$as_me: WARNING:      sh autogen.sh" >&2;}
12844
 
        fi
12845
 
        if test -f $srcdir/isl/configure -a "bundled" != "no"; then
12846
 
                with_isl="bundled"
12847
 
        else
12848
 
                with_isl="bundled"
12849
 
        fi
12850
 
        ;;
12851
 
esac
12852
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which isl to use" >&5
12853
 
$as_echo_n "checking which isl to use... " >&6; }
12854
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_isl" >&5
12855
 
$as_echo "$with_isl" >&6; }
12856
 
 
12857
 
 
12858
 
BITS="gmp"
12859
 
 
12860
 
 
12861
 
 
12862
 
 
12863
 
 
12864
 
@%:@ Check whether --with-gmp was given.
12865
 
if test "${with_gmp+set}" = set; then :
12866
 
  withval=$with_gmp; 
12867
 
fi
12868
 
 
12869
 
case "system" in
12870
 
system|build)
12871
 
        
12872
 
@%:@ Check whether --with-gmp_prefix was given.
12873
 
if test "${with_gmp_prefix+set}" = set; then :
12874
 
  withval=$with_gmp_prefix; 
12875
 
fi
12876
 
 
12877
 
        
12878
 
@%:@ Check whether --with-gmp_exec_prefix was given.
12879
 
if test "${with_gmp_exec_prefix+set}" = set; then :
12880
 
  withval=$with_gmp_exec_prefix; 
12881
 
fi
12882
 
 
12883
 
esac
12884
 
case "build" in
12885
 
system|build)
12886
 
        
12887
 
@%:@ Check whether --with-gmp_builddir was given.
12888
 
if test "${with_gmp_builddir+set}" = set; then :
12889
 
  withval=$with_gmp_builddir; 
12890
 
fi
12891
 
 
12892
 
esac
12893
 
if test "x$with_gmp_prefix" != "x" -a "x$with_gmp_exec_prefix" = "x"; then
12894
 
        with_gmp_exec_prefix=$with_gmp_prefix
12895
 
fi
12896
 
if test "x$with_gmp_prefix" != "x" -o "x$with_gmp_exec_prefix" != "x"; then
12897
 
        if test "x$with_gmp" != "x" -a "x$with_gmp" != "xsystem"; then
12898
 
                as_fn_error $? "Setting $with_gmp_prefix implies use of system gmp" "$LINENO" 5
12899
 
        fi
12900
 
        with_gmp="system"
12901
 
fi
12902
 
if test "x$with_gmp_builddir" != "x"; then
12903
 
        if test "x$with_gmp" != "x" -a "x$with_gmp" != "xbuild"; then
12904
 
                as_fn_error $? "Setting $with_gmp_builddir implies use of build gmp" "$LINENO" 5
12905
 
        fi
12906
 
        with_gmp="build"
12907
 
        gmp_srcdir=`echo @abs_srcdir@ | $with_gmp_builddir/config.status --file=-`
12908
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: gmp sources in $gmp_srcdir" >&5
12909
 
$as_echo "$as_me: gmp sources in $gmp_srcdir" >&6;}
12910
 
fi
12911
 
case "$with_gmp" in
12912
 
system|build)
12913
 
        ;;
12914
 
*)
12915
 
        if test -d $srcdir/.git -a \
12916
 
                -d $srcdir/gmp -a \
12917
 
                ! -d $srcdir/gmp/.git; then
12918
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule gmp not initialized" >&5
12919
 
$as_echo "$as_me: WARNING: git repo detected, but submodule gmp not initialized" >&2;}
12920
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
12921
 
$as_echo "$as_me: WARNING: You may want to run" >&2;}
12922
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:       git submodule init" >&5
12923
 
$as_echo "$as_me: WARNING:      git submodule init" >&2;}
12924
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:       git submodule update" >&5
12925
 
$as_echo "$as_me: WARNING:      git submodule update" >&2;}
12926
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:       sh autogen.sh" >&5
12927
 
$as_echo "$as_me: WARNING:      sh autogen.sh" >&2;}
12928
 
        fi
12929
 
        if test -f $srcdir/gmp/configure -a "system" != "no"; then
12930
 
                with_gmp="bundled"
12931
 
        else
12932
 
                with_gmp="system"
12933
 
        fi
12934
 
        ;;
12935
 
esac
12936
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which gmp to use" >&5
12937
 
$as_echo_n "checking which gmp to use... " >&6; }
12938
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gmp" >&5
12939
 
$as_echo "$with_gmp" >&6; }
12940
 
 
12941
 
 
12942
 
 
12943
 
need_get_memory_functions=false
12944
 
case "$with_gmp" in
12945
 
build)
12946
 
    CPPFLAGS="-I$with_gmp_builddir $CPPFLAGS"
12947
 
    LDFLAGS="-L$with_gmp_builddir/$lt_cv_objdir $LDFLAGS"
12948
 
    ;;
12949
 
system)
12950
 
    if test "x$with_gmp_prefix" != "x"; then
12951
 
        CPPFLAGS="-I$with_gmp_prefix/include $CPPFLAGS"
12952
 
    fi
12953
 
    
12954
 
    if test "$with_gmp_exec_prefix" != "yes" ; then
12955
 
        LDFLAGS="-L$with_gmp_exec_prefix/lib $LDFLAGS"
12956
 
    fi
12957
 
    ;;
12958
 
esac
12959
 
case "$with_gmp" in
12960
 
build|system)
12961
 
    ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
12962
 
if test "x$ac_cv_header_gmp_h" = xyes; then :
12963
 
  
12964
 
else
12965
 
  as_fn_error $? "Can't find gmp headers." "$LINENO" 5
12966
 
fi
12967
 
 
12968
 
 
12969
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5
12970
 
$as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
12971
 
if ${ac_cv_lib_gmp___gmpz_init+:} false; then :
12972
 
  $as_echo_n "(cached) " >&6
12973
 
else
12974
 
  ac_check_lib_save_LIBS=$LIBS
12975
 
LIBS="-lgmp  $LIBS"
12976
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12977
 
/* end confdefs.h.  */
12978
 
 
12979
 
/* Override any GCC internal prototype to avoid an error.
12980
 
   Use char because int might match the return type of a GCC
12981
 
   builtin and then its argument prototype would still apply.  */
12982
 
#ifdef __cplusplus
12983
 
extern "C"
12984
 
#endif
12985
 
char __gmpz_init ();
12986
 
int
12987
 
main ()
12988
 
{
12989
 
return __gmpz_init ();
12990
 
  ;
12991
 
  return 0;
12992
 
}
12993
 
_ACEOF
12994
 
if ac_fn_c_try_link "$LINENO"; then :
12995
 
  ac_cv_lib_gmp___gmpz_init=yes
12996
 
else
12997
 
  ac_cv_lib_gmp___gmpz_init=no
12998
 
fi
12999
 
rm -f core conftest.err conftest.$ac_objext \
13000
 
    conftest$ac_exeext conftest.$ac_ext
13001
 
LIBS=$ac_check_lib_save_LIBS
13002
 
fi
13003
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init" >&5
13004
 
$as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
13005
 
if test "x$ac_cv_lib_gmp___gmpz_init" = xyes; then :
13006
 
  LIBS="$LIBS -lgmp"
13007
 
else
13008
 
  as_fn_error $? "Can't find gmp library." "$LINENO" 5
13009
 
fi
13010
 
 
13011
 
    ac_fn_c_check_decl "$LINENO" "mp_get_memory_functions" "ac_cv_have_decl_mp_get_memory_functions" "#include <gmp.h>
13012
 
"
13013
 
if test "x$ac_cv_have_decl_mp_get_memory_functions" = xyes; then :
13014
 
  ac_have_decl=1
13015
 
else
13016
 
  ac_have_decl=0
13017
 
fi
13018
 
 
13019
 
cat >>confdefs.h <<_ACEOF
13020
 
@%:@define HAVE_DECL_MP_GET_MEMORY_FUNCTIONS $ac_have_decl
13021
 
_ACEOF
13022
 
if test $ac_have_decl = 1; then :
13023
 
  
13024
 
else
13025
 
  
13026
 
            need_get_memory_functions=true
13027
 
    
13028
 
fi
13029
 
 
13030
 
    ;;
13031
 
esac
13032
 
 if test x$need_get_memory_functions = xtrue; then
13033
 
  NEED_GET_MEMORY_FUNCTIONS_TRUE=
13034
 
  NEED_GET_MEMORY_FUNCTIONS_FALSE='#'
13035
 
else
13036
 
  NEED_GET_MEMORY_FUNCTIONS_TRUE='#'
13037
 
  NEED_GET_MEMORY_FUNCTIONS_FALSE=
13038
 
fi
13039
 
 
13040
 
 
13041
 
 
13042
 
 
13043
 
 
13044
 
 
13045
 
case "$with_isl" in
13046
 
bundled)
13047
 
        ISL_CPPFLAGS="-I$srcdir/isl/include -Iisl/include"
13048
 
        ;;
13049
 
build)
13050
 
        ISL_CPPFLAGS="-I$isl_srcdir/include -I$with_isl_builddir/include"
13051
 
        ISL_LIBS="$with_isl_builddir/libisl.la"
13052
 
        ;;
13053
 
system)
13054
 
        if test "x$with_isl_prefix" != "x"; then
13055
 
                ISL_CPPFLAGS="-I$with_isl_prefix/include"
13056
 
        fi
13057
 
        if test "x$with_isl_exec_prefix" != "x"; then
13058
 
                ISL_LDFLAGS="-L$with_isl_exec_prefix/lib"
13059
 
        fi
13060
 
        ISL_LIBS="-lisl"
13061
 
esac
13062
 
 if test $with_isl = bundled; then
13063
 
  BUNDLED_ISL_TRUE=
13064
 
  BUNDLED_ISL_FALSE='#'
13065
 
else
13066
 
  BUNDLED_ISL_TRUE='#'
13067
 
  BUNDLED_ISL_FALSE=
13068
 
fi
13069
 
 
13070
 
 if test $with_isl = no; then
13071
 
  NO_ISL_TRUE=
13072
 
  NO_ISL_FALSE='#'
13073
 
else
13074
 
  NO_ISL_TRUE='#'
13075
 
  NO_ISL_FALSE=
13076
 
fi
13077
 
 
13078
 
 
13079
 
 
13080
 
 
13081
 
 
13082
 
 
13083
 
 
13084
 
@%:@ Check whether --with-osl was given.
13085
 
if test "${with_osl+set}" = set; then :
13086
 
  withval=$with_osl; 
13087
 
fi
13088
 
 
13089
 
case "system" in
13090
 
no|system|build|bundled)
13091
 
        
13092
 
@%:@ Check whether --with-osl_prefix was given.
13093
 
if test "${with_osl_prefix+set}" = set; then :
13094
 
  withval=$with_osl_prefix; 
13095
 
fi
13096
 
 
13097
 
        
13098
 
@%:@ Check whether --with-osl_exec_prefix was given.
13099
 
if test "${with_osl_exec_prefix+set}" = set; then :
13100
 
  withval=$with_osl_exec_prefix; 
13101
 
fi
13102
 
 
13103
 
esac
13104
 
case "build" in
13105
 
no|system|build|bundled)
13106
 
        
13107
 
@%:@ Check whether --with-osl_builddir was given.
13108
 
if test "${with_osl_builddir+set}" = set; then :
13109
 
  withval=$with_osl_builddir; 
13110
 
fi
13111
 
 
13112
 
esac
13113
 
if test "x$with_osl_prefix" != "x" -a "x$with_osl_exec_prefix" = "x"; then
13114
 
        with_osl_exec_prefix=$with_osl_prefix
13115
 
fi
13116
 
if test "x$with_osl_prefix" != "x" -o "x$with_osl_exec_prefix" != "x"; then
13117
 
        if test "x$with_osl" != "x" -a "x$with_osl" != "xsystem"; then
13118
 
                as_fn_error $? "Setting $with_osl_prefix implies use of system osl" "$LINENO" 5
13119
 
        fi
13120
 
        with_osl="system"
13121
 
fi
13122
 
if test "x$with_osl_builddir" != "x"; then
13123
 
        if test "x$with_osl" != "x" -a "x$with_osl" != "xbuild"; then
13124
 
                as_fn_error $? "Setting $with_osl_builddir implies use of build osl" "$LINENO" 5
13125
 
        fi
13126
 
        with_osl="build"
13127
 
        osl_srcdir=`echo @abs_srcdir@ | $with_osl_builddir/config.status --file=-`
13128
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: osl sources in $osl_srcdir" >&5
13129
 
$as_echo "$as_me: osl sources in $osl_srcdir" >&6;}
13130
 
fi
13131
 
case "$with_osl" in
13132
 
no|system|build|bundled)
13133
 
        ;;
13134
 
*)
13135
 
        if test -d $srcdir/.git -a \
13136
 
                -d $srcdir/osl -a \
13137
 
                ! -d $srcdir/osl/.git; then
13138
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule osl not initialized" >&5
13139
 
$as_echo "$as_me: WARNING: git repo detected, but submodule osl not initialized" >&2;}
13140
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
13141
 
$as_echo "$as_me: WARNING: You may want to run" >&2;}
13142
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:       git submodule init" >&5
13143
 
$as_echo "$as_me: WARNING:      git submodule init" >&2;}
13144
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:       git submodule update" >&5
13145
 
$as_echo "$as_me: WARNING:      git submodule update" >&2;}
13146
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:       sh autogen.sh" >&5
13147
 
$as_echo "$as_me: WARNING:      sh autogen.sh" >&2;}
13148
 
        fi
13149
 
        if test -f $srcdir/osl/configure -a "no" != "no"; then
13150
 
                with_osl="bundled"
13151
 
        else
13152
 
                with_osl="no"
13153
 
        fi
13154
 
        ;;
13155
 
esac
13156
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which osl to use" >&5
13157
 
$as_echo_n "checking which osl to use... " >&6; }
13158
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_osl" >&5
13159
 
$as_echo "$with_osl" >&6; }
13160
 
 
13161
 
 
13162
 
osl_flag="OSL_SUPPORT"
13163
 
 
13164
 
 
13165
 
 
13166
 
 
13167
 
case "$with_osl" in
13168
 
bundled)
13169
 
        OSL_CPPFLAGS="-D$osl_flag -I$srcdir/osl/include -Iosl/include"
13170
 
        ;;
13171
 
build)
13172
 
        OSL_CPPFLAGS="-D$osl_flag -I$osl_srcdir/include -I$with_osl_builddir/include"
13173
 
        OSL_LIBS="$with_osl_builddir/libosl.la"
13174
 
        ;;
13175
 
system)
13176
 
        if test "x$with_osl_prefix" != "x"; then
13177
 
                OSL_CPPFLAGS="-D$osl_flag -I$with_osl_prefix/include"
13178
 
        fi
13179
 
        if test "x$with_osl_exec_prefix" != "x"; then
13180
 
                OSL_LDFLAGS="-L$with_osl_exec_prefix/lib"
13181
 
        fi
13182
 
        OSL_LIBS="-losl"
13183
 
esac
13184
 
 if test $with_osl = bundled; then
13185
 
  BUNDLED_OSL_TRUE=
13186
 
  BUNDLED_OSL_FALSE='#'
13187
 
else
13188
 
  BUNDLED_OSL_TRUE='#'
13189
 
  BUNDLED_OSL_FALSE=
13190
 
fi
13191
 
 
13192
 
 if test $with_osl = no; then
13193
 
  NO_OSL_TRUE=
13194
 
  NO_OSL_FALSE='#'
13195
 
else
13196
 
  NO_OSL_TRUE='#'
13197
 
  NO_OSL_FALSE=
13198
 
fi
13199
 
 
13200
 
 
13201
 
 
13202
 
 
13203
 
$as_echo "@%:@define CLOOG_INT_GMP 1" >>confdefs.h
13204
 
 
13205
 
 
13206
 
 
13207
 
if test -f $srcdir/.git/HEAD; then
13208
 
        GIT_INDEX="\$(top_srcdir)/.git/index"
13209
 
fi
13210
 
 
13211
 
 
13212
 
 
13213
 
 
13214
 
 
13215
 
 
13216
 
 
13217
 
 
13218
 
 
13219
 
 
13220
 
 
13221
 
 
13222
 
 
13223
 
 
13224
 
 
13225
 
 
13226
 
 
13227
 
PACKAGE_NAME="cloog-isl"
13228
 
PACKAGE_CFLAGS="-DCLOOG_INT_GMP=1"
13229
 
 
13230
 
# we need the expanded forms...
13231
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
13232
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13233
 
 
13234
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5
13235
 
$as_echo_n "checking our pkgconfig libname... " >&6; }
13236
 
test ".$ax_create_pkgconfig_libname" != "." || \
13237
 
ax_create_pkgconfig_libname="${PACKAGE_NAME}"
13238
 
test ".$ax_create_pkgconfig_libname" != "." || \
13239
 
ax_create_pkgconfig_libname="$PACKAGE"
13240
 
ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
13241
 
ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
13242
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5
13243
 
$as_echo "$ax_create_pkgconfig_libname" >&6; }
13244
 
 
13245
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5
13246
 
$as_echo_n "checking our pkgconfig version... " >&6; }
13247
 
test ".$ax_create_pkgconfig_version" != "." || \
13248
 
ax_create_pkgconfig_version="${PACKAGE_VERSION}"
13249
 
test ".$ax_create_pkgconfig_version" != "." || \
13250
 
ax_create_pkgconfig_version="$VERSION"
13251
 
ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
13252
 
ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
13253
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5
13254
 
$as_echo "$ax_create_pkgconfig_version" >&6; }
13255
 
 
13256
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5
13257
 
$as_echo_n "checking our pkgconfig_libdir... " >&6; }
13258
 
test ".$pkgconfig_libdir" = "." && \
13259
 
pkgconfig_libdir='${libdir}/pkgconfig'
13260
 
ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"`
13261
 
ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
13262
 
ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
13263
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5
13264
 
$as_echo "$pkgconfig_libdir" >&6; }
13265
 
test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
13266
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
13267
 
$as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
13268
 
 
13269
 
 
13270
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5
13271
 
$as_echo_n "checking our pkgconfig_libfile... " >&6; }
13272
 
test ".$pkgconfig_libfile" != "." || \
13273
 
pkgconfig_libfile="$ax_create_pkgconfig_libname.pc"
13274
 
ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"`
13275
 
ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"`
13276
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5
13277
 
$as_echo "$pkgconfig_libfile" >&6; }
13278
 
test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
13279
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
13280
 
$as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
13281
 
 
13282
 
 
13283
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5
13284
 
$as_echo_n "checking our package / suffix... " >&6; }
13285
 
ax_create_pkgconfig_suffix="$program_suffix"
13286
 
test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix=""
13287
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
13288
 
$as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
13289
 
 
13290
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5
13291
 
$as_echo_n "checking our pkgconfig description... " >&6; }
13292
 
ax_create_pkgconfig_description="$PACKAGE_SUMMARY"
13293
 
test ".$ax_create_pkgconfig_description" != "." || \
13294
 
ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library"
13295
 
ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
13296
 
ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
13297
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5
13298
 
$as_echo "$ax_create_pkgconfig_description" >&6; }
13299
 
 
13300
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5
13301
 
$as_echo_n "checking our pkgconfig requires... " >&6; }
13302
 
ax_create_pkgconfig_requires="$PACKAGE_REQUIRES"
13303
 
ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
13304
 
ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
13305
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5
13306
 
$as_echo "$ax_create_pkgconfig_requires" >&6; }
13307
 
 
13308
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5
13309
 
$as_echo_n "checking our pkgconfig ext libs... " >&6; }
13310
 
ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
13311
 
test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
13312
 
ax_create_pkgconfig_libs="$ax_create_pkgconfig_pkglibs $LIBS"
13313
 
ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
13314
 
ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
13315
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5
13316
 
$as_echo "$ax_create_pkgconfig_libs" >&6; }
13317
 
 
13318
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5
13319
 
$as_echo_n "checking our pkgconfig cppflags... " >&6; }
13320
 
ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS"
13321
 
ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
13322
 
ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
13323
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5
13324
 
$as_echo "$ax_create_pkgconfig_cppflags" >&6; }
13325
 
 
13326
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags" >&5
13327
 
$as_echo_n "checking our pkgconfig ldflags... " >&6; }
13328
 
ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS"
13329
 
ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
13330
 
ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
13331
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_ldflags" >&5
13332
 
$as_echo "$ax_create_pkgconfig_ldflags" >&6; }
13333
 
 
13334
 
test ".$ax_create_pkgconfig_generate" != "." || \
13335
 
ax_create_pkgconfig_generate="$ax_create_pkgconfig_libname.pc"
13336
 
ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
13337
 
ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
13338
 
test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
13339
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5
13340
 
$as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; })
13341
 
 
13342
 
if test ".$ax_create_pkgconfig_src_libdir" = "." ; then
13343
 
ax_create_pkgconfig_src_libdir=`pwd`
13344
 
ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
13345
 
$as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13346
 
         X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
13347
 
         X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
13348
 
         X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
13349
 
$as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
13350
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13351
 
            s//\1/
13352
 
            q
13353
 
          }
13354
 
          /^X\(\/\/\)[^/].*/{
13355
 
            s//\1/
13356
 
            q
13357
 
          }
13358
 
          /^X\(\/\/\)$/{
13359
 
            s//\1/
13360
 
            q
13361
 
          }
13362
 
          /^X\(\/\).*/{
13363
 
            s//\1/
13364
 
            q
13365
 
          }
13366
 
          s/.*/./; q'`
13367
 
test ! -d $ax_create_pkgconfig_src_libdir/src || \
13368
 
ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src"
13369
 
case ".$objdir" in
13370
 
*libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
13371
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5
13372
 
$as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; }
13373
 
fi
13374
 
 
13375
 
if test ".$ax_create_pkgconfig_src_headers" = "." ; then
13376
 
ax_create_pkgconfig_src_headers=`pwd`
13377
 
v="$ac_top_srcdir" ;
13378
 
test ".$v" != "." || v="$ax_spec_dir"
13379
 
test ".$v" != "." || v="$srcdir"
13380
 
case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac
13381
 
ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" ||
13382
 
$as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13383
 
         X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \
13384
 
         X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \
13385
 
         X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null ||
13386
 
$as_echo X"$ax_create_pkgconfig_src_headers/$v/x" |
13387
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13388
 
            s//\1/
13389
 
            q
13390
 
          }
13391
 
          /^X\(\/\/\)[^/].*/{
13392
 
            s//\1/
13393
 
            q
13394
 
          }
13395
 
          /^X\(\/\/\)$/{
13396
 
            s//\1/
13397
 
            q
13398
 
          }
13399
 
          /^X\(\/\).*/{
13400
 
            s//\1/
13401
 
            q
13402
 
          }
13403
 
          s/.*/./; q'`
13404
 
test ! -d $ax_create_pkgconfig_src_headers/include || \
13405
 
ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include"
13406
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5
13407
 
$as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; }
13408
 
fi
13409
 
 
13410
 
 
13411
 
ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
13412
 
 
13413
 
 
13414
 
ac_config_files="$ac_config_files Makefile test/Makefile"
13415
 
 
13416
 
ac_config_files="$ac_config_files autoconf/Doxyfile"
13417
 
 
13418
 
ac_config_files="$ac_config_files doc/Makefile"
13419
 
 
13420
 
ac_config_files="$ac_config_files source/version.c"
13421
 
 
13422
 
ac_config_files="$ac_config_files include/cloog/version.h"
13423
 
 
13424
 
ac_config_files="$ac_config_files genversion.sh"
13425
 
 
13426
 
ac_config_commands="$ac_config_commands version.h"
13427
 
 
13428
 
ac_config_commands="$ac_config_commands doc/gitversion.texi"
13429
 
 
13430
 
if test $with_isl = bundled; then
13431
 
        
13432
 
 
13433
 
subdirs="$subdirs isl"
13434
 
 
13435
 
fi
13436
 
if test $with_osl = bundled; then
13437
 
        subdirs="$subdirs osl"
13438
 
 
13439
 
fi
13440
 
 
13441
 
cat >confcache <<\_ACEOF
13442
 
# This file is a shell script that caches the results of configure
13443
 
# tests run on this system so they can be shared between configure
13444
 
# scripts and configure runs, see configure's option --config-cache.
13445
 
# It is not useful on other systems.  If it contains results you don't
13446
 
# want to keep, you may remove or edit it.
13447
 
#
13448
 
# config.status only pays attention to the cache file if you give it
13449
 
# the --recheck option to rerun configure.
13450
 
#
13451
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
13452
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
13453
 
# following values.
13454
 
 
13455
 
_ACEOF
13456
 
 
13457
 
# The following way of writing the cache mishandles newlines in values,
13458
 
# but we know of no workaround that is simple, portable, and efficient.
13459
 
# So, we kill variables containing newlines.
13460
 
# Ultrix sh set writes to stderr and can't be redirected directly,
13461
 
# and sets the high bit in the cache file unless we assign to the vars.
13462
 
(
13463
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13464
 
    eval ac_val=\$$ac_var
13465
 
    case $ac_val in #(
13466
 
    *${as_nl}*)
13467
 
      case $ac_var in #(
13468
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13469
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13470
 
      esac
13471
 
      case $ac_var in #(
13472
 
      _ | IFS | as_nl) ;; #(
13473
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13474
 
      *) { eval $ac_var=; unset $ac_var;} ;;
13475
 
      esac ;;
13476
 
    esac
13477
 
  done
13478
 
 
13479
 
  (set) 2>&1 |
13480
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13481
 
    *${as_nl}ac_space=\ *)
13482
 
      # `set' does not quote correctly, so add quotes: double-quote
13483
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
13484
 
      sed -n \
13485
 
        "s/'/'\\\\''/g;
13486
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13487
 
      ;; #(
13488
 
    *)
13489
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
13490
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13491
 
      ;;
13492
 
    esac |
13493
 
    sort
13494
 
) |
13495
 
  sed '
13496
 
     /^ac_cv_env_/b end
13497
 
     t clear
13498
 
     :clear
13499
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13500
 
     t end
13501
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13502
 
     :end' >>confcache
13503
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13504
 
  if test -w "$cache_file"; then
13505
 
    if test "x$cache_file" != "x/dev/null"; then
13506
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13507
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
13508
 
      if test ! -f "$cache_file" || test -h "$cache_file"; then
13509
 
        cat confcache >"$cache_file"
13510
 
      else
13511
 
        case $cache_file in #(
13512
 
        */* | ?:*)
13513
 
          mv -f confcache "$cache_file"$$ &&
13514
 
          mv -f "$cache_file"$$ "$cache_file" ;; #(
13515
 
        *)
13516
 
          mv -f confcache "$cache_file" ;;
13517
 
        esac
13518
 
      fi
13519
 
    fi
13520
 
  else
13521
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13522
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13523
 
  fi
13524
 
fi
13525
 
rm -f confcache
13526
 
 
13527
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
13528
 
# Let make expand exec_prefix.
13529
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13530
 
 
13531
 
# Transform confdefs.h into DEFS.
13532
 
# Protect against shell expansion while executing Makefile rules.
13533
 
# Protect against Makefile macro expansion.
13534
 
#
13535
 
# If the first sed substitution is executed (which looks for macros that
13536
 
# take arguments), then branch to the quote section.  Otherwise,
13537
 
# look for a macro that doesn't take arguments.
13538
 
ac_script='
13539
 
:mline
13540
 
/\\$/{
13541
 
 N
13542
 
 s,\\\n,,
13543
 
 b mline
13544
 
}
13545
 
t clear
13546
 
:clear
13547
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
13548
 
t quote
13549
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
13550
 
t quote
13551
 
b any
13552
 
:quote
13553
 
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
13554
 
s/\[/\\&/g
13555
 
s/\]/\\&/g
13556
 
s/\$/$$/g
13557
 
H
13558
 
:any
13559
 
${
13560
 
        g
13561
 
        s/^\n//
13562
 
        s/\n/ /g
13563
 
        p
13564
 
}
13565
 
'
13566
 
DEFS=`sed -n "$ac_script" confdefs.h`
13567
 
 
13568
 
 
13569
 
ac_libobjs=
13570
 
ac_ltlibobjs=
13571
 
U=
13572
 
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
13573
 
  # 1. Remove the extension, and $U if already installed.
13574
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13575
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13576
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13577
 
  #    will be set to the directory where LIBOBJS objects are built.
13578
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13579
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13580
 
done
13581
 
LIB@&t@OBJS=$ac_libobjs
13582
 
 
13583
 
LTLIBOBJS=$ac_ltlibobjs
13584
 
 
13585
 
 
13586
 
 if test -n "$EXEEXT"; then
13587
 
  am__EXEEXT_TRUE=
13588
 
  am__EXEEXT_FALSE='#'
13589
 
else
13590
 
  am__EXEEXT_TRUE='#'
13591
 
  am__EXEEXT_FALSE=
13592
 
fi
13593
 
 
13594
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13595
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
13596
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13597
 
fi
13598
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13599
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13600
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13601
 
fi
13602
 
if test -z "${HAVE_TEXI2DVI_TRUE}" && test -z "${HAVE_TEXI2DVI_FALSE}"; then
13603
 
  as_fn_error $? "conditional \"HAVE_TEXI2DVI\" was never defined.
13604
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13605
 
fi
13606
 
if test -z "${NEED_GET_MEMORY_FUNCTIONS_TRUE}" && test -z "${NEED_GET_MEMORY_FUNCTIONS_FALSE}"; then
13607
 
  as_fn_error $? "conditional \"NEED_GET_MEMORY_FUNCTIONS\" was never defined.
13608
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13609
 
fi
13610
 
if test -z "${BUNDLED_ISL_TRUE}" && test -z "${BUNDLED_ISL_FALSE}"; then
13611
 
  as_fn_error $? "conditional \"BUNDLED_ISL\" was never defined.
13612
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13613
 
fi
13614
 
if test -z "${NO_ISL_TRUE}" && test -z "${NO_ISL_FALSE}"; then
13615
 
  as_fn_error $? "conditional \"NO_ISL\" was never defined.
13616
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13617
 
fi
13618
 
if test -z "${BUNDLED_OSL_TRUE}" && test -z "${BUNDLED_OSL_FALSE}"; then
13619
 
  as_fn_error $? "conditional \"BUNDLED_OSL\" was never defined.
13620
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13621
 
fi
13622
 
if test -z "${NO_OSL_TRUE}" && test -z "${NO_OSL_FALSE}"; then
13623
 
  as_fn_error $? "conditional \"NO_OSL\" was never defined.
13624
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13625
 
fi
13626
 
 
13627
 
: "${CONFIG_STATUS=./config.status}"
13628
 
ac_write_fail=0
13629
 
ac_clean_files_save=$ac_clean_files
13630
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13631
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13632
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13633
 
as_write_fail=0
13634
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13635
 
#! $SHELL
13636
 
# Generated by $as_me.
13637
 
# Run this file to recreate the current configuration.
13638
 
# Compiler output produced by configure, useful for debugging
13639
 
# configure, is in config.log if it exists.
13640
 
 
13641
 
debug=false
13642
 
ac_cs_recheck=false
13643
 
ac_cs_silent=false
13644
 
 
13645
 
SHELL=\${CONFIG_SHELL-$SHELL}
13646
 
export SHELL
13647
 
_ASEOF
13648
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13649
 
## -------------------- ##
13650
 
## M4sh Initialization. ##
13651
 
## -------------------- ##
13652
 
 
13653
 
# Be more Bourne compatible
13654
 
DUALCASE=1; export DUALCASE # for MKS sh
13655
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13656
 
  emulate sh
13657
 
  NULLCMD=:
13658
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13659
 
  # is contrary to our usage.  Disable this feature.
13660
 
  alias -g '${1+"$@"}'='"$@"'
13661
 
  setopt NO_GLOB_SUBST
13662
 
else
13663
 
  case `(set -o) 2>/dev/null` in @%:@(
13664
 
  *posix*) :
13665
 
    set -o posix ;; @%:@(
13666
 
  *) :
13667
 
     ;;
13668
 
esac
13669
 
fi
13670
 
 
13671
 
 
13672
 
as_nl='
13673
 
'
13674
 
export as_nl
13675
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
13676
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13677
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13678
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13679
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
13680
 
# but without wasting forks for bash or zsh.
13681
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
13682
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13683
 
  as_echo='print -r --'
13684
 
  as_echo_n='print -rn --'
13685
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13686
 
  as_echo='printf %s\n'
13687
 
  as_echo_n='printf %s'
13688
 
else
13689
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13690
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13691
 
    as_echo_n='/usr/ucb/echo -n'
13692
 
  else
13693
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13694
 
    as_echo_n_body='eval
13695
 
      arg=$1;
13696
 
      case $arg in @%:@(
13697
 
      *"$as_nl"*)
13698
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
13699
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13700
 
      esac;
13701
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13702
 
    '
13703
 
    export as_echo_n_body
13704
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
13705
 
  fi
13706
 
  export as_echo_body
13707
 
  as_echo='sh -c $as_echo_body as_echo'
13708
 
fi
13709
 
 
13710
 
# The user is always right.
13711
 
if test "${PATH_SEPARATOR+set}" != set; then
13712
 
  PATH_SEPARATOR=:
13713
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13714
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13715
 
      PATH_SEPARATOR=';'
13716
 
  }
13717
 
fi
13718
 
 
13719
 
 
13720
 
# IFS
13721
 
# We need space, tab and new line, in precisely that order.  Quoting is
13722
 
# there to prevent editors from complaining about space-tab.
13723
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13724
 
# splitting by setting IFS to empty value.)
13725
 
IFS=" ""        $as_nl"
13726
 
 
13727
 
# Find who we are.  Look in the path if we contain no directory separator.
13728
 
as_myself=
13729
 
case $0 in @%:@((
13730
 
  *[\\/]* ) as_myself=$0 ;;
13731
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13732
 
for as_dir in $PATH
13733
 
do
13734
 
  IFS=$as_save_IFS
13735
 
  test -z "$as_dir" && as_dir=.
13736
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13737
 
  done
13738
 
IFS=$as_save_IFS
13739
 
 
13740
 
     ;;
13741
 
esac
13742
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
13743
 
# in which case we are not to be found in the path.
13744
 
if test "x$as_myself" = x; then
13745
 
  as_myself=$0
13746
 
fi
13747
 
if test ! -f "$as_myself"; then
13748
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13749
 
  exit 1
13750
 
fi
13751
 
 
13752
 
# Unset variables that we do not need and which cause bugs (e.g. in
13753
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13754
 
# suppresses any "Segmentation fault" message there.  '((' could
13755
 
# trigger a bug in pdksh 5.2.14.
13756
 
for as_var in BASH_ENV ENV MAIL MAILPATH
13757
 
do eval test x\${$as_var+set} = xset \
13758
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13759
 
done
13760
 
PS1='$ '
13761
 
PS2='> '
13762
 
PS4='+ '
13763
 
 
13764
 
# NLS nuisances.
13765
 
LC_ALL=C
13766
 
export LC_ALL
13767
 
LANGUAGE=C
13768
 
export LANGUAGE
13769
 
 
13770
 
# CDPATH.
13771
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13772
 
 
13773
 
 
13774
 
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
13775
 
@%:@ ----------------------------------------
13776
 
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13777
 
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13778
 
@%:@ script with STATUS, using 1 if that was 0.
13779
 
as_fn_error ()
13780
 
{
13781
 
  as_status=$1; test $as_status -eq 0 && as_status=1
13782
 
  if test "$4"; then
13783
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13784
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13785
 
  fi
13786
 
  $as_echo "$as_me: error: $2" >&2
13787
 
  as_fn_exit $as_status
13788
 
} @%:@ as_fn_error
13789
 
 
13790
 
 
13791
 
@%:@ as_fn_set_status STATUS
13792
 
@%:@ -----------------------
13793
 
@%:@ Set @S|@? to STATUS, without forking.
13794
 
as_fn_set_status ()
13795
 
{
13796
 
  return $1
13797
 
} @%:@ as_fn_set_status
13798
 
 
13799
 
@%:@ as_fn_exit STATUS
13800
 
@%:@ -----------------
13801
 
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13802
 
as_fn_exit ()
13803
 
{
13804
 
  set +e
13805
 
  as_fn_set_status $1
13806
 
  exit $1
13807
 
} @%:@ as_fn_exit
13808
 
 
13809
 
@%:@ as_fn_unset VAR
13810
 
@%:@ ---------------
13811
 
@%:@ Portably unset VAR.
13812
 
as_fn_unset ()
13813
 
{
13814
 
  { eval $1=; unset $1;}
13815
 
}
13816
 
as_unset=as_fn_unset
13817
 
@%:@ as_fn_append VAR VALUE
13818
 
@%:@ ----------------------
13819
 
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
13820
 
@%:@ advantage of any shell optimizations that allow amortized linear growth over
13821
 
@%:@ repeated appends, instead of the typical quadratic growth present in naive
13822
 
@%:@ implementations.
13823
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13824
 
  eval 'as_fn_append ()
13825
 
  {
13826
 
    eval $1+=\$2
13827
 
  }'
13828
 
else
13829
 
  as_fn_append ()
13830
 
  {
13831
 
    eval $1=\$$1\$2
13832
 
  }
13833
 
fi # as_fn_append
13834
 
 
13835
 
@%:@ as_fn_arith ARG...
13836
 
@%:@ ------------------
13837
 
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
13838
 
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
13839
 
@%:@ must be portable across @S|@(()) and expr.
13840
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13841
 
  eval 'as_fn_arith ()
13842
 
  {
13843
 
    as_val=$(( $* ))
13844
 
  }'
13845
 
else
13846
 
  as_fn_arith ()
13847
 
  {
13848
 
    as_val=`expr "$@" || test $? -eq 1`
13849
 
  }
13850
 
fi # as_fn_arith
13851
 
 
13852
 
 
13853
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
13854
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13855
 
  as_expr=expr
13856
 
else
13857
 
  as_expr=false
13858
 
fi
13859
 
 
13860
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13861
 
  as_basename=basename
13862
 
else
13863
 
  as_basename=false
13864
 
fi
13865
 
 
13866
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13867
 
  as_dirname=dirname
13868
 
else
13869
 
  as_dirname=false
13870
 
fi
13871
 
 
13872
 
as_me=`$as_basename -- "$0" ||
13873
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13874
 
         X"$0" : 'X\(//\)$' \| \
13875
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13876
 
$as_echo X/"$0" |
13877
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
13878
 
            s//\1/
13879
 
            q
13880
 
          }
13881
 
          /^X\/\(\/\/\)$/{
13882
 
            s//\1/
13883
 
            q
13884
 
          }
13885
 
          /^X\/\(\/\).*/{
13886
 
            s//\1/
13887
 
            q
13888
 
          }
13889
 
          s/.*/./; q'`
13890
 
 
13891
 
# Avoid depending upon Character Ranges.
13892
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13893
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13894
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13895
 
as_cr_digits='0123456789'
13896
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
13897
 
 
13898
 
ECHO_C= ECHO_N= ECHO_T=
13899
 
case `echo -n x` in @%:@(((((
13900
 
-n*)
13901
 
  case `echo 'xy\c'` in
13902
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13903
 
  xy)  ECHO_C='\c';;
13904
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13905
 
       ECHO_T=' ';;
13906
 
  esac;;
13907
 
*)
13908
 
  ECHO_N='-n';;
13909
 
esac
13910
 
 
13911
 
rm -f conf$$ conf$$.exe conf$$.file
13912
 
if test -d conf$$.dir; then
13913
 
  rm -f conf$$.dir/conf$$.file
13914
 
else
13915
 
  rm -f conf$$.dir
13916
 
  mkdir conf$$.dir 2>/dev/null
13917
 
fi
13918
 
if (echo >conf$$.file) 2>/dev/null; then
13919
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
13920
 
    as_ln_s='ln -s'
13921
 
    # ... but there are two gotchas:
13922
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13923
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13924
 
    # In both cases, we have to default to `cp -pR'.
13925
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13926
 
      as_ln_s='cp -pR'
13927
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
13928
 
    as_ln_s=ln
13929
 
  else
13930
 
    as_ln_s='cp -pR'
13931
 
  fi
13932
 
else
13933
 
  as_ln_s='cp -pR'
13934
 
fi
13935
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13936
 
rmdir conf$$.dir 2>/dev/null
13937
 
 
13938
 
 
13939
 
@%:@ as_fn_mkdir_p
13940
 
@%:@ -------------
13941
 
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
13942
 
as_fn_mkdir_p ()
13943
 
{
13944
 
 
13945
 
  case $as_dir in #(
13946
 
  -*) as_dir=./$as_dir;;
13947
 
  esac
13948
 
  test -d "$as_dir" || eval $as_mkdir_p || {
13949
 
    as_dirs=
13950
 
    while :; do
13951
 
      case $as_dir in #(
13952
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13953
 
      *) as_qdir=$as_dir;;
13954
 
      esac
13955
 
      as_dirs="'$as_qdir' $as_dirs"
13956
 
      as_dir=`$as_dirname -- "$as_dir" ||
13957
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13958
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
13959
 
         X"$as_dir" : 'X\(//\)$' \| \
13960
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13961
 
$as_echo X"$as_dir" |
13962
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13963
 
            s//\1/
13964
 
            q
13965
 
          }
13966
 
          /^X\(\/\/\)[^/].*/{
13967
 
            s//\1/
13968
 
            q
13969
 
          }
13970
 
          /^X\(\/\/\)$/{
13971
 
            s//\1/
13972
 
            q
13973
 
          }
13974
 
          /^X\(\/\).*/{
13975
 
            s//\1/
13976
 
            q
13977
 
          }
13978
 
          s/.*/./; q'`
13979
 
      test -d "$as_dir" && break
13980
 
    done
13981
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
13982
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13983
 
 
13984
 
 
13985
 
} @%:@ as_fn_mkdir_p
13986
 
if mkdir -p . 2>/dev/null; then
13987
 
  as_mkdir_p='mkdir -p "$as_dir"'
13988
 
else
13989
 
  test -d ./-p && rmdir ./-p
13990
 
  as_mkdir_p=false
13991
 
fi
13992
 
 
13993
 
 
13994
 
@%:@ as_fn_executable_p FILE
13995
 
@%:@ -----------------------
13996
 
@%:@ Test if FILE is an executable regular file.
13997
 
as_fn_executable_p ()
13998
 
{
13999
 
  test -f "$1" && test -x "$1"
14000
 
} @%:@ as_fn_executable_p
14001
 
as_test_x='test -x'
14002
 
as_executable_p=as_fn_executable_p
14003
 
 
14004
 
# Sed expression to map a string onto a valid CPP name.
14005
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14006
 
 
14007
 
# Sed expression to map a string onto a valid variable name.
14008
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14009
 
 
14010
 
 
14011
 
exec 6>&1
14012
 
## ----------------------------------- ##
14013
 
## Main body of $CONFIG_STATUS script. ##
14014
 
## ----------------------------------- ##
14015
 
_ASEOF
14016
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14017
 
 
14018
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14019
 
# Save the log message, to keep $0 and so on meaningful, and to
14020
 
# report actual input values of CONFIG_FILES etc. instead of their
14021
 
# values after options handling.
14022
 
ac_log="
14023
 
This file was extended by cloog $as_me 0.18.1, which was
14024
 
generated by GNU Autoconf 2.69.  Invocation command line was
14025
 
 
14026
 
  CONFIG_FILES    = $CONFIG_FILES
14027
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
14028
 
  CONFIG_LINKS    = $CONFIG_LINKS
14029
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
14030
 
  $ $0 $@
14031
 
 
14032
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
14033
 
"
14034
 
 
14035
 
_ACEOF
14036
 
 
14037
 
case $ac_config_files in *"
14038
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
14039
 
esac
14040
 
 
14041
 
 
14042
 
 
14043
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14044
 
# Files that config.status was made for.
14045
 
config_files="$ac_config_files"
14046
 
config_commands="$ac_config_commands"
14047
 
 
14048
 
_ACEOF
14049
 
 
14050
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14051
 
ac_cs_usage="\
14052
 
\`$as_me' instantiates files and other configuration actions
14053
 
from templates according to the current configuration.  Unless the files
14054
 
and actions are specified as TAGs, all are instantiated by default.
14055
 
 
14056
 
Usage: $0 [OPTION]... [TAG]...
14057
 
 
14058
 
  -h, --help       print this help, then exit
14059
 
  -V, --version    print version number and configuration settings, then exit
14060
 
      --config     print configuration, then exit
14061
 
  -q, --quiet, --silent
14062
 
                   do not print progress messages
14063
 
  -d, --debug      don't remove temporary files
14064
 
      --recheck    update $as_me by reconfiguring in the same conditions
14065
 
      --file=FILE[:TEMPLATE] 
14066
 
                   instantiate the configuration file FILE
14067
 
 
14068
 
Configuration files:
14069
 
$config_files
14070
 
 
14071
 
Configuration commands:
14072
 
$config_commands
14073
 
 
14074
 
Report bugs to <cloog-development@googlegroups.com>."
14075
 
 
14076
 
_ACEOF
14077
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14078
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14079
 
ac_cs_version="\\
14080
 
cloog config.status 0.18.1
14081
 
configured by $0, generated by GNU Autoconf 2.69,
14082
 
  with options \\"\$ac_cs_config\\"
14083
 
 
14084
 
Copyright (C) 2012 Free Software Foundation, Inc.
14085
 
This config.status script is free software; the Free Software Foundation
14086
 
gives unlimited permission to copy, distribute and modify it."
14087
 
 
14088
 
ac_pwd='$ac_pwd'
14089
 
srcdir='$srcdir'
14090
 
INSTALL='$INSTALL'
14091
 
MKDIR_P='$MKDIR_P'
14092
 
AWK='$AWK'
14093
 
test -n "\$AWK" || AWK=awk
14094
 
_ACEOF
14095
 
 
14096
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14097
 
# The default lists apply if the user does not specify any file.
14098
 
ac_need_defaults=:
14099
 
while test $# != 0
14100
 
do
14101
 
  case $1 in
14102
 
  --*=?*)
14103
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14104
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14105
 
    ac_shift=:
14106
 
    ;;
14107
 
  --*=)
14108
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14109
 
    ac_optarg=
14110
 
    ac_shift=:
14111
 
    ;;
14112
 
  *)
14113
 
    ac_option=$1
14114
 
    ac_optarg=$2
14115
 
    ac_shift=shift
14116
 
    ;;
14117
 
  esac
14118
 
 
14119
 
  case $ac_option in
14120
 
  # Handling of the options.
14121
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14122
 
    ac_cs_recheck=: ;;
14123
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14124
 
    $as_echo "$ac_cs_version"; exit ;;
14125
 
  --config | --confi | --conf | --con | --co | --c )
14126
 
    $as_echo "$ac_cs_config"; exit ;;
14127
 
  --debug | --debu | --deb | --de | --d | -d )
14128
 
    debug=: ;;
14129
 
  --file | --fil | --fi | --f )
14130
 
    $ac_shift
14131
 
    case $ac_optarg in
14132
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14133
 
    '') as_fn_error $? "missing file argument" ;;
14134
 
    esac
14135
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
14136
 
    ac_need_defaults=false;;
14137
 
  --he | --h |  --help | --hel | -h )
14138
 
    $as_echo "$ac_cs_usage"; exit ;;
14139
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14140
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14141
 
    ac_cs_silent=: ;;
14142
 
 
14143
 
  # This is an error.
14144
 
  -*) as_fn_error $? "unrecognized option: \`$1'
14145
 
Try \`$0 --help' for more information." ;;
14146
 
 
14147
 
  *) as_fn_append ac_config_targets " $1"
14148
 
     ac_need_defaults=false ;;
14149
 
 
14150
 
  esac
14151
 
  shift
14152
 
done
14153
 
 
14154
 
ac_configure_extra_args=
14155
 
 
14156
 
if $ac_cs_silent; then
14157
 
  exec 6>/dev/null
14158
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
14159
 
fi
14160
 
 
14161
 
_ACEOF
14162
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14163
 
if \$ac_cs_recheck; then
14164
 
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14165
 
  shift
14166
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14167
 
  CONFIG_SHELL='$SHELL'
14168
 
  export CONFIG_SHELL
14169
 
  exec "\$@"
14170
 
fi
14171
 
 
14172
 
_ACEOF
14173
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14174
 
exec 5>>config.log
14175
 
{
14176
 
  echo
14177
 
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
14178
 
@%:@@%:@ Running $as_me. @%:@@%:@
14179
 
_ASBOX
14180
 
  $as_echo "$ac_log"
14181
 
} >&5
14182
 
 
14183
 
_ACEOF
14184
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14185
 
#
14186
 
# INIT-COMMANDS
14187
 
#
14188
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14189
 
 
14190
 
 
14191
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
14192
 
# if CDPATH is set.
14193
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14194
 
 
14195
 
sed_quote_subst='$sed_quote_subst'
14196
 
double_quote_subst='$double_quote_subst'
14197
 
delay_variable_subst='$delay_variable_subst'
14198
 
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14199
 
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14200
 
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14201
 
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14202
 
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14203
 
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14204
 
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14205
 
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14206
 
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14207
 
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14208
 
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14209
 
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14210
 
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14211
 
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14212
 
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14213
 
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14214
 
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14215
 
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14216
 
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14217
 
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14218
 
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14219
 
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14220
 
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14221
 
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14222
 
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14223
 
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14224
 
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14225
 
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14226
 
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14227
 
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14228
 
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14229
 
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14230
 
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14231
 
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14232
 
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14233
 
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14234
 
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14235
 
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14236
 
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14237
 
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14238
 
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14239
 
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14240
 
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14241
 
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14242
 
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14243
 
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14244
 
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14245
 
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14246
 
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14247
 
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14248
 
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14249
 
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14250
 
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14251
 
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14252
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14253
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14254
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
14255
 
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14256
 
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14257
 
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14258
 
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14259
 
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14260
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14261
 
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14262
 
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14263
 
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14264
 
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14265
 
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14266
 
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14267
 
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14268
 
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14269
 
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14270
 
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14271
 
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14272
 
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14273
 
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14274
 
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14275
 
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14276
 
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14277
 
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14278
 
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14279
 
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14280
 
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14281
 
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14282
 
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14283
 
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14284
 
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14285
 
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14286
 
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14287
 
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14288
 
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14289
 
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14290
 
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14291
 
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14292
 
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14293
 
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14294
 
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14295
 
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14296
 
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14297
 
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14298
 
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14299
 
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14300
 
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14301
 
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14302
 
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14303
 
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14304
 
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14305
 
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14306
 
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14307
 
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14308
 
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14309
 
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14310
 
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14311
 
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14312
 
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14313
 
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14314
 
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14315
 
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14316
 
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14317
 
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14318
 
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14319
 
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14320
 
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14321
 
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14322
 
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14323
 
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14324
 
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14325
 
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14326
 
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14327
 
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14328
 
 
14329
 
LTCC='$LTCC'
14330
 
LTCFLAGS='$LTCFLAGS'
14331
 
compiler='$compiler_DEFAULT'
14332
 
 
14333
 
# A function that is used when there is no print builtin or printf.
14334
 
func_fallback_echo ()
14335
 
{
14336
 
  eval 'cat <<_LTECHO_EOF
14337
 
\$1
14338
 
_LTECHO_EOF'
14339
 
}
14340
 
 
14341
 
# Quote evaled strings.
14342
 
for var in SHELL \
14343
 
ECHO \
14344
 
PATH_SEPARATOR \
14345
 
SED \
14346
 
GREP \
14347
 
EGREP \
14348
 
FGREP \
14349
 
LD \
14350
 
NM \
14351
 
LN_S \
14352
 
lt_SP2NL \
14353
 
lt_NL2SP \
14354
 
reload_flag \
14355
 
OBJDUMP \
14356
 
deplibs_check_method \
14357
 
file_magic_cmd \
14358
 
file_magic_glob \
14359
 
want_nocaseglob \
14360
 
DLLTOOL \
14361
 
sharedlib_from_linklib_cmd \
14362
 
AR \
14363
 
AR_FLAGS \
14364
 
archiver_list_spec \
14365
 
STRIP \
14366
 
RANLIB \
14367
 
CC \
14368
 
CFLAGS \
14369
 
compiler \
14370
 
lt_cv_sys_global_symbol_pipe \
14371
 
lt_cv_sys_global_symbol_to_cdecl \
14372
 
lt_cv_sys_global_symbol_to_c_name_address \
14373
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14374
 
nm_file_list_spec \
14375
 
lt_prog_compiler_no_builtin_flag \
14376
 
lt_prog_compiler_pic \
14377
 
lt_prog_compiler_wl \
14378
 
lt_prog_compiler_static \
14379
 
lt_cv_prog_compiler_c_o \
14380
 
need_locks \
14381
 
MANIFEST_TOOL \
14382
 
DSYMUTIL \
14383
 
NMEDIT \
14384
 
LIPO \
14385
 
OTOOL \
14386
 
OTOOL64 \
14387
 
shrext_cmds \
14388
 
export_dynamic_flag_spec \
14389
 
whole_archive_flag_spec \
14390
 
compiler_needs_object \
14391
 
with_gnu_ld \
14392
 
allow_undefined_flag \
14393
 
no_undefined_flag \
14394
 
hardcode_libdir_flag_spec \
14395
 
hardcode_libdir_separator \
14396
 
exclude_expsyms \
14397
 
include_expsyms \
14398
 
file_list_spec \
14399
 
variables_saved_for_relink \
14400
 
libname_spec \
14401
 
library_names_spec \
14402
 
soname_spec \
14403
 
install_override_mode \
14404
 
finish_eval \
14405
 
old_striplib \
14406
 
striplib; do
14407
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14408
 
    *[\\\\\\\`\\"\\\$]*)
14409
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14410
 
      ;;
14411
 
    *)
14412
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14413
 
      ;;
14414
 
    esac
14415
 
done
14416
 
 
14417
 
# Double-quote double-evaled strings.
14418
 
for var in reload_cmds \
14419
 
old_postinstall_cmds \
14420
 
old_postuninstall_cmds \
14421
 
old_archive_cmds \
14422
 
extract_expsyms_cmds \
14423
 
old_archive_from_new_cmds \
14424
 
old_archive_from_expsyms_cmds \
14425
 
archive_cmds \
14426
 
archive_expsym_cmds \
14427
 
module_cmds \
14428
 
module_expsym_cmds \
14429
 
export_symbols_cmds \
14430
 
prelink_cmds \
14431
 
postlink_cmds \
14432
 
postinstall_cmds \
14433
 
postuninstall_cmds \
14434
 
finish_cmds \
14435
 
sys_lib_search_path_spec \
14436
 
sys_lib_dlsearch_path_spec; do
14437
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14438
 
    *[\\\\\\\`\\"\\\$]*)
14439
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14440
 
      ;;
14441
 
    *)
14442
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14443
 
      ;;
14444
 
    esac
14445
 
done
14446
 
 
14447
 
ac_aux_dir='$ac_aux_dir'
14448
 
xsi_shell='$xsi_shell'
14449
 
lt_shell_append='$lt_shell_append'
14450
 
 
14451
 
# See if we are running on zsh, and set the options which allow our
14452
 
# commands through without removal of \ escapes INIT.
14453
 
if test -n "\${ZSH_VERSION+set}" ; then
14454
 
   setopt NO_GLOB_SUBST
14455
 
fi
14456
 
 
14457
 
 
14458
 
    PACKAGE='$PACKAGE'
14459
 
    VERSION='$VERSION'
14460
 
    TIMESTAMP='$TIMESTAMP'
14461
 
    RM='$RM'
14462
 
    ofile='$ofile'
14463
 
 
14464
 
 
14465
 
 
14466
 
 
14467
 
ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
14468
 
pkgconfig_prefix='$prefix'
14469
 
pkgconfig_execprefix='$exec_prefix'
14470
 
pkgconfig_bindir='$bindir'
14471
 
pkgconfig_libdir='$libdir'
14472
 
pkgconfig_includedir='$includedir'
14473
 
pkgconfig_datarootdir='$datarootdir'
14474
 
pkgconfig_datadir='$datadir'
14475
 
pkgconfig_sysconfdir='$sysconfdir'
14476
 
pkgconfig_suffix='$ax_create_pkgconfig_suffix'
14477
 
pkgconfig_package='$PACKAGE_NAME'
14478
 
pkgconfig_libname='$ax_create_pkgconfig_libname'
14479
 
pkgconfig_description='$ax_create_pkgconfig_description'
14480
 
pkgconfig_version='$ax_create_pkgconfig_version'
14481
 
pkgconfig_requires='$ax_create_pkgconfig_requires'
14482
 
pkgconfig_libs='$ax_create_pkgconfig_libs'
14483
 
pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
14484
 
pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
14485
 
pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
14486
 
pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
14487
 
 
14488
 
 
14489
 
_ACEOF
14490
 
 
14491
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14492
 
 
14493
 
# Handling of arguments.
14494
 
for ac_config_target in $ac_config_targets
14495
 
do
14496
 
  case $ac_config_target in
14497
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14498
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14499
 
    "$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
14500
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14501
 
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
14502
 
    "autoconf/Doxyfile") CONFIG_FILES="$CONFIG_FILES autoconf/Doxyfile" ;;
14503
 
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14504
 
    "source/version.c") CONFIG_FILES="$CONFIG_FILES source/version.c" ;;
14505
 
    "include/cloog/version.h") CONFIG_FILES="$CONFIG_FILES include/cloog/version.h" ;;
14506
 
    "genversion.sh") CONFIG_FILES="$CONFIG_FILES genversion.sh" ;;
14507
 
    "version.h") CONFIG_COMMANDS="$CONFIG_COMMANDS version.h" ;;
14508
 
    "doc/gitversion.texi") CONFIG_COMMANDS="$CONFIG_COMMANDS doc/gitversion.texi" ;;
14509
 
 
14510
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14511
 
  esac
14512
 
done
14513
 
 
14514
 
 
14515
 
# If the user did not use the arguments to specify the items to instantiate,
14516
 
# then the envvar interface is used.  Set only those that are not.
14517
 
# We use the long form for the default assignment because of an extremely
14518
 
# bizarre bug on SunOS 4.1.3.
14519
 
if $ac_need_defaults; then
14520
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14521
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14522
 
fi
14523
 
 
14524
 
# Have a temporary directory for convenience.  Make it in the build tree
14525
 
# simply because there is no reason against having it here, and in addition,
14526
 
# creating and moving files from /tmp can sometimes cause problems.
14527
 
# Hook for its removal unless debugging.
14528
 
# Note that there is a small window in which the directory will not be cleaned:
14529
 
# after its creation but before its name has been assigned to `$tmp'.
14530
 
$debug ||
14531
 
{
14532
 
  tmp= ac_tmp=
14533
 
  trap 'exit_status=$?
14534
 
  : "${ac_tmp:=$tmp}"
14535
 
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14536
 
' 0
14537
 
  trap 'as_fn_exit 1' 1 2 13 15
14538
 
}
14539
 
# Create a (secure) tmp directory for tmp files.
14540
 
 
14541
 
{
14542
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14543
 
  test -d "$tmp"
14544
 
}  ||
14545
 
{
14546
 
  tmp=./conf$$-$RANDOM
14547
 
  (umask 077 && mkdir "$tmp")
14548
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14549
 
ac_tmp=$tmp
14550
 
 
14551
 
# Set up the scripts for CONFIG_FILES section.
14552
 
# No need to generate them if there are no CONFIG_FILES.
14553
 
# This happens for instance with `./config.status config.h'.
14554
 
if test -n "$CONFIG_FILES"; then
14555
 
 
14556
 
 
14557
 
ac_cr=`echo X | tr X '\015'`
14558
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
14559
 
# But we know of no other shell where ac_cr would be empty at this
14560
 
# point, so we can use a bashism as a fallback.
14561
 
if test "x$ac_cr" = x; then
14562
 
  eval ac_cr=\$\'\\r\'
14563
 
fi
14564
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14565
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14566
 
  ac_cs_awk_cr='\\r'
14567
 
else
14568
 
  ac_cs_awk_cr=$ac_cr
14569
 
fi
14570
 
 
14571
 
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14572
 
_ACEOF
14573
 
 
14574
 
 
14575
 
{
14576
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
14577
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14578
 
  echo "_ACEOF"
14579
 
} >conf$$subs.sh ||
14580
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14581
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14582
 
ac_delim='%!_!# '
14583
 
for ac_last_try in false false false false false :; do
14584
 
  . ./conf$$subs.sh ||
14585
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14586
 
 
14587
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14588
 
  if test $ac_delim_n = $ac_delim_num; then
14589
 
    break
14590
 
  elif $ac_last_try; then
14591
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14592
 
  else
14593
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14594
 
  fi
14595
 
done
14596
 
rm -f conf$$subs.sh
14597
 
 
14598
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14599
 
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14600
 
_ACEOF
14601
 
sed -n '
14602
 
h
14603
 
s/^/S["/; s/!.*/"]=/
14604
 
p
14605
 
g
14606
 
s/^[^!]*!//
14607
 
:repl
14608
 
t repl
14609
 
s/'"$ac_delim"'$//
14610
 
t delim
14611
 
:nl
14612
 
h
14613
 
s/\(.\{148\}\)..*/\1/
14614
 
t more1
14615
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14616
 
p
14617
 
n
14618
 
b repl
14619
 
:more1
14620
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14621
 
p
14622
 
g
14623
 
s/.\{148\}//
14624
 
t nl
14625
 
:delim
14626
 
h
14627
 
s/\(.\{148\}\)..*/\1/
14628
 
t more2
14629
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
14630
 
p
14631
 
b
14632
 
:more2
14633
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14634
 
p
14635
 
g
14636
 
s/.\{148\}//
14637
 
t delim
14638
 
' <conf$$subs.awk | sed '
14639
 
/^[^""]/{
14640
 
  N
14641
 
  s/\n//
14642
 
}
14643
 
' >>$CONFIG_STATUS || ac_write_fail=1
14644
 
rm -f conf$$subs.awk
14645
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14646
 
_ACAWK
14647
 
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14648
 
  for (key in S) S_is_set[key] = 1
14649
 
  FS = ""
14650
 
 
14651
 
}
14652
 
{
14653
 
  line = $ 0
14654
 
  nfields = split(line, field, "@")
14655
 
  substed = 0
14656
 
  len = length(field[1])
14657
 
  for (i = 2; i < nfields; i++) {
14658
 
    key = field[i]
14659
 
    keylen = length(key)
14660
 
    if (S_is_set[key]) {
14661
 
      value = S[key]
14662
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14663
 
      len += length(value) + length(field[++i])
14664
 
      substed = 1
14665
 
    } else
14666
 
      len += 1 + keylen
14667
 
  }
14668
 
 
14669
 
  print line
14670
 
}
14671
 
 
14672
 
_ACAWK
14673
 
_ACEOF
14674
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14675
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14676
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14677
 
else
14678
 
  cat
14679
 
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14680
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14681
 
_ACEOF
14682
 
 
14683
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14684
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14685
 
# trailing colons and then remove the whole line if VPATH becomes empty
14686
 
# (actually we leave an empty line to preserve line numbers).
14687
 
if test "x$srcdir" = x.; then
14688
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14689
 
h
14690
 
s///
14691
 
s/^/:/
14692
 
s/[      ]*$/:/
14693
 
s/:\$(srcdir):/:/g
14694
 
s/:\${srcdir}:/:/g
14695
 
s/:@srcdir@:/:/g
14696
 
s/^:*//
14697
 
s/:*$//
14698
 
x
14699
 
s/\(=[   ]*\).*/\1/
14700
 
G
14701
 
s/\n//
14702
 
s/^[^=]*=[       ]*$//
14703
 
}'
14704
 
fi
14705
 
 
14706
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14707
 
fi # test -n "$CONFIG_FILES"
14708
 
 
14709
 
 
14710
 
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
14711
 
shift
14712
 
for ac_tag
14713
 
do
14714
 
  case $ac_tag in
14715
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
14716
 
  esac
14717
 
  case $ac_mode$ac_tag in
14718
 
  :[FHL]*:*);;
14719
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14720
 
  :[FH]-) ac_tag=-:-;;
14721
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14722
 
  esac
14723
 
  ac_save_IFS=$IFS
14724
 
  IFS=:
14725
 
  set x $ac_tag
14726
 
  IFS=$ac_save_IFS
14727
 
  shift
14728
 
  ac_file=$1
14729
 
  shift
14730
 
 
14731
 
  case $ac_mode in
14732
 
  :L) ac_source=$1;;
14733
 
  :[FH])
14734
 
    ac_file_inputs=
14735
 
    for ac_f
14736
 
    do
14737
 
      case $ac_f in
14738
 
      -) ac_f="$ac_tmp/stdin";;
14739
 
      *) # Look for the file first in the build tree, then in the source tree
14740
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
14741
 
         # because $ac_f cannot contain `:'.
14742
 
         test -f "$ac_f" ||
14743
 
           case $ac_f in
14744
 
           [\\/$]*) false;;
14745
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14746
 
           esac ||
14747
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14748
 
      esac
14749
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14750
 
      as_fn_append ac_file_inputs " '$ac_f'"
14751
 
    done
14752
 
 
14753
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
14754
 
    # use $as_me), people would be surprised to read:
14755
 
    #    /* config.h.  Generated by config.status.  */
14756
 
    configure_input='Generated from '`
14757
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14758
 
        `' by configure.'
14759
 
    if test x"$ac_file" != x-; then
14760
 
      configure_input="$ac_file.  $configure_input"
14761
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14762
 
$as_echo "$as_me: creating $ac_file" >&6;}
14763
 
    fi
14764
 
    # Neutralize special characters interpreted by sed in replacement strings.
14765
 
    case $configure_input in #(
14766
 
    *\&* | *\|* | *\\* )
14767
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
14768
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14769
 
    *) ac_sed_conf_input=$configure_input;;
14770
 
    esac
14771
 
 
14772
 
    case $ac_tag in
14773
 
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
14774
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14775
 
    esac
14776
 
    ;;
14777
 
  esac
14778
 
 
14779
 
  ac_dir=`$as_dirname -- "$ac_file" ||
14780
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14781
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
14782
 
         X"$ac_file" : 'X\(//\)$' \| \
14783
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14784
 
$as_echo X"$ac_file" |
14785
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14786
 
            s//\1/
14787
 
            q
14788
 
          }
14789
 
          /^X\(\/\/\)[^/].*/{
14790
 
            s//\1/
14791
 
            q
14792
 
          }
14793
 
          /^X\(\/\/\)$/{
14794
 
            s//\1/
14795
 
            q
14796
 
          }
14797
 
          /^X\(\/\).*/{
14798
 
            s//\1/
14799
 
            q
14800
 
          }
14801
 
          s/.*/./; q'`
14802
 
  as_dir="$ac_dir"; as_fn_mkdir_p
14803
 
  ac_builddir=.
14804
 
 
14805
 
case "$ac_dir" in
14806
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14807
 
*)
14808
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14809
 
  # A ".." for each directory in $ac_dir_suffix.
14810
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14811
 
  case $ac_top_builddir_sub in
14812
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14813
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14814
 
  esac ;;
14815
 
esac
14816
 
ac_abs_top_builddir=$ac_pwd
14817
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
14818
 
# for backward compatibility:
14819
 
ac_top_builddir=$ac_top_build_prefix
14820
 
 
14821
 
case $srcdir in
14822
 
  .)  # We are building in place.
14823
 
    ac_srcdir=.
14824
 
    ac_top_srcdir=$ac_top_builddir_sub
14825
 
    ac_abs_top_srcdir=$ac_pwd ;;
14826
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
14827
 
    ac_srcdir=$srcdir$ac_dir_suffix;
14828
 
    ac_top_srcdir=$srcdir
14829
 
    ac_abs_top_srcdir=$srcdir ;;
14830
 
  *) # Relative name.
14831
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14832
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
14833
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14834
 
esac
14835
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14836
 
 
14837
 
 
14838
 
  case $ac_mode in
14839
 
  :F)
14840
 
  #
14841
 
  # CONFIG_FILE
14842
 
  #
14843
 
 
14844
 
  case $INSTALL in
14845
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14846
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14847
 
  esac
14848
 
  ac_MKDIR_P=$MKDIR_P
14849
 
  case $MKDIR_P in
14850
 
  [\\/$]* | ?:[\\/]* ) ;;
14851
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14852
 
  esac
14853
 
_ACEOF
14854
 
 
14855
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14856
 
# If the template does not know about datarootdir, expand it.
14857
 
# FIXME: This hack should be removed a few years after 2.60.
14858
 
ac_datarootdir_hack=; ac_datarootdir_seen=
14859
 
ac_sed_dataroot='
14860
 
/datarootdir/ {
14861
 
  p
14862
 
  q
14863
 
}
14864
 
/@datadir@/p
14865
 
/@docdir@/p
14866
 
/@infodir@/p
14867
 
/@localedir@/p
14868
 
/@mandir@/p'
14869
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14870
 
*datarootdir*) ac_datarootdir_seen=yes;;
14871
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14872
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14873
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14874
 
_ACEOF
14875
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14876
 
  ac_datarootdir_hack='
14877
 
  s&@datadir@&$datadir&g
14878
 
  s&@docdir@&$docdir&g
14879
 
  s&@infodir@&$infodir&g
14880
 
  s&@localedir@&$localedir&g
14881
 
  s&@mandir@&$mandir&g
14882
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
14883
 
esac
14884
 
_ACEOF
14885
 
 
14886
 
# Neutralize VPATH when `$srcdir' = `.'.
14887
 
# Shell code in configure.ac might set extrasub.
14888
 
# FIXME: do we really want to maintain this feature?
14889
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14890
 
ac_sed_extra="$ac_vpsub
14891
 
$extrasub
14892
 
_ACEOF
14893
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14894
 
:t
14895
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14896
 
s|@configure_input@|$ac_sed_conf_input|;t t
14897
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
14898
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
14899
 
s&@srcdir@&$ac_srcdir&;t t
14900
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
14901
 
s&@top_srcdir@&$ac_top_srcdir&;t t
14902
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14903
 
s&@builddir@&$ac_builddir&;t t
14904
 
s&@abs_builddir@&$ac_abs_builddir&;t t
14905
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14906
 
s&@INSTALL@&$ac_INSTALL&;t t
14907
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14908
 
$ac_datarootdir_hack
14909
 
"
14910
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14911
 
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14912
 
 
14913
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14914
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14915
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14916
 
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14917
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14918
 
which seems to be undefined.  Please make sure it is defined" >&5
14919
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14920
 
which seems to be undefined.  Please make sure it is defined" >&2;}
14921
 
 
14922
 
  rm -f "$ac_tmp/stdin"
14923
 
  case $ac_file in
14924
 
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14925
 
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14926
 
  esac \
14927
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14928
 
 ;;
14929
 
  
14930
 
  
14931
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14932
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
14933
 
 ;;
14934
 
  esac
14935
 
 
14936
 
 
14937
 
  case $ac_file$ac_mode in
14938
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14939
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
14940
 
  # are listed without --file.  Let's play safe and only enable the eval
14941
 
  # if we detect the quoting.
14942
 
  case $CONFIG_FILES in
14943
 
  *\'*) eval set x "$CONFIG_FILES" ;;
14944
 
  *)   set x $CONFIG_FILES ;;
14945
 
  esac
14946
 
  shift
14947
 
  for mf
14948
 
  do
14949
 
    # Strip MF so we end up with the name of the file.
14950
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
14951
 
    # Check whether this is an Automake generated Makefile or not.
14952
 
    # We used to match only the files named `Makefile.in', but
14953
 
    # some people rename them; so instead we look at the file content.
14954
 
    # Grep'ing the first line is not enough: some people post-process
14955
 
    # each Makefile.in and add a new line on top of each file to say so.
14956
 
    # Grep'ing the whole file is not good either: AIX grep has a line
14957
 
    # limit of 2048, but all sed's we know have understand at least 4000.
14958
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14959
 
      dirpart=`$as_dirname -- "$mf" ||
14960
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14961
 
         X"$mf" : 'X\(//\)[^/]' \| \
14962
 
         X"$mf" : 'X\(//\)$' \| \
14963
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14964
 
$as_echo X"$mf" |
14965
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14966
 
            s//\1/
14967
 
            q
14968
 
          }
14969
 
          /^X\(\/\/\)[^/].*/{
14970
 
            s//\1/
14971
 
            q
14972
 
          }
14973
 
          /^X\(\/\/\)$/{
14974
 
            s//\1/
14975
 
            q
14976
 
          }
14977
 
          /^X\(\/\).*/{
14978
 
            s//\1/
14979
 
            q
14980
 
          }
14981
 
          s/.*/./; q'`
14982
 
    else
14983
 
      continue
14984
 
    fi
14985
 
    # Extract the definition of DEPDIR, am__include, and am__quote
14986
 
    # from the Makefile without running `make'.
14987
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14988
 
    test -z "$DEPDIR" && continue
14989
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14990
 
    test -z "am__include" && continue
14991
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14992
 
    # When using ansi2knr, U may be empty or an underscore; expand it
14993
 
    U=`sed -n 's/^U = //p' < "$mf"`
14994
 
    # Find all dependency output files, they are included files with
14995
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14996
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
14997
 
    # expansion.
14998
 
    for file in `sed -n "
14999
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15000
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15001
 
      # Make sure the directory exists.
15002
 
      test -f "$dirpart/$file" && continue
15003
 
      fdir=`$as_dirname -- "$file" ||
15004
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15005
 
         X"$file" : 'X\(//\)[^/]' \| \
15006
 
         X"$file" : 'X\(//\)$' \| \
15007
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15008
 
$as_echo X"$file" |
15009
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15010
 
            s//\1/
15011
 
            q
15012
 
          }
15013
 
          /^X\(\/\/\)[^/].*/{
15014
 
            s//\1/
15015
 
            q
15016
 
          }
15017
 
          /^X\(\/\/\)$/{
15018
 
            s//\1/
15019
 
            q
15020
 
          }
15021
 
          /^X\(\/\).*/{
15022
 
            s//\1/
15023
 
            q
15024
 
          }
15025
 
          s/.*/./; q'`
15026
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
15027
 
      # echo "creating $dirpart/$file"
15028
 
      echo '# dummy' > "$dirpart/$file"
15029
 
    done
15030
 
  done
15031
 
}
15032
 
 ;;
15033
 
    "libtool":C) 
15034
 
    
15035
 
    # See if we are running on zsh, and set the options which allow our
15036
 
    # commands through without removal of \ escapes.
15037
 
    if test -n "${ZSH_VERSION+set}" ; then
15038
 
      setopt NO_GLOB_SUBST
15039
 
    fi
15040
 
 
15041
 
    cfgfile="${ofile}T"
15042
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15043
 
    $RM "$cfgfile"
15044
 
 
15045
 
    cat <<_LT_EOF >> "$cfgfile"
15046
 
#! $SHELL
15047
 
 
15048
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15049
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15050
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15051
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15052
 
#
15053
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15054
 
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15055
 
#                 Foundation, Inc.
15056
 
#   Written by Gordon Matzigkeit, 1996
15057
 
#
15058
 
#   This file is part of GNU Libtool.
15059
 
#
15060
 
# GNU Libtool is free software; you can redistribute it and/or
15061
 
# modify it under the terms of the GNU General Public License as
15062
 
# published by the Free Software Foundation; either version 2 of
15063
 
# the License, or (at your option) any later version.
15064
 
#
15065
 
# As a special exception to the GNU General Public License,
15066
 
# if you distribute this file as part of a program or library that
15067
 
# is built using GNU Libtool, you may include this file under the
15068
 
# same distribution terms that you use for the rest of that program.
15069
 
#
15070
 
# GNU Libtool is distributed in the hope that it will be useful,
15071
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15072
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15073
 
# GNU General Public License for more details.
15074
 
#
15075
 
# You should have received a copy of the GNU General Public License
15076
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
15077
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15078
 
# obtained by writing to the Free Software Foundation, Inc.,
15079
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15080
 
 
15081
 
 
15082
 
# The names of the tagged configurations supported by this script.
15083
 
available_tags=""
15084
 
 
15085
 
# ### BEGIN LIBTOOL CONFIG
15086
 
 
15087
 
# Which release of libtool.m4 was used?
15088
 
macro_version=$macro_version
15089
 
macro_revision=$macro_revision
15090
 
 
15091
 
# Whether or not to build shared libraries.
15092
 
build_libtool_libs=$enable_shared
15093
 
 
15094
 
# Whether or not to build static libraries.
15095
 
build_old_libs=$enable_static
15096
 
 
15097
 
# What type of objects to build.
15098
 
pic_mode=$pic_mode
15099
 
 
15100
 
# Whether or not to optimize for fast installation.
15101
 
fast_install=$enable_fast_install
15102
 
 
15103
 
# Shell to use when invoking shell scripts.
15104
 
SHELL=$lt_SHELL
15105
 
 
15106
 
# An echo program that protects backslashes.
15107
 
ECHO=$lt_ECHO
15108
 
 
15109
 
# The PATH separator for the build system.
15110
 
PATH_SEPARATOR=$lt_PATH_SEPARATOR
15111
 
 
15112
 
# The host system.
15113
 
host_alias=$host_alias
15114
 
host=$host
15115
 
host_os=$host_os
15116
 
 
15117
 
# The build system.
15118
 
build_alias=$build_alias
15119
 
build=$build
15120
 
build_os=$build_os
15121
 
 
15122
 
# A sed program that does not truncate output.
15123
 
SED=$lt_SED
15124
 
 
15125
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15126
 
Xsed="\$SED -e 1s/^X//"
15127
 
 
15128
 
# A grep program that handles long lines.
15129
 
GREP=$lt_GREP
15130
 
 
15131
 
# An ERE matcher.
15132
 
EGREP=$lt_EGREP
15133
 
 
15134
 
# A literal string matcher.
15135
 
FGREP=$lt_FGREP
15136
 
 
15137
 
# A BSD- or MS-compatible name lister.
15138
 
NM=$lt_NM
15139
 
 
15140
 
# Whether we need soft or hard links.
15141
 
LN_S=$lt_LN_S
15142
 
 
15143
 
# What is the maximum length of a command?
15144
 
max_cmd_len=$max_cmd_len
15145
 
 
15146
 
# Object file suffix (normally "o").
15147
 
objext=$ac_objext
15148
 
 
15149
 
# Executable file suffix (normally "").
15150
 
exeext=$exeext
15151
 
 
15152
 
# whether the shell understands "unset".
15153
 
lt_unset=$lt_unset
15154
 
 
15155
 
# turn spaces into newlines.
15156
 
SP2NL=$lt_lt_SP2NL
15157
 
 
15158
 
# turn newlines into spaces.
15159
 
NL2SP=$lt_lt_NL2SP
15160
 
 
15161
 
# convert \$build file names to \$host format.
15162
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
15163
 
 
15164
 
# convert \$build files to toolchain format.
15165
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15166
 
 
15167
 
# An object symbol dumper.
15168
 
OBJDUMP=$lt_OBJDUMP
15169
 
 
15170
 
# Method to check whether dependent libraries are shared objects.
15171
 
deplibs_check_method=$lt_deplibs_check_method
15172
 
 
15173
 
# Command to use when deplibs_check_method = "file_magic".
15174
 
file_magic_cmd=$lt_file_magic_cmd
15175
 
 
15176
 
# How to find potential files when deplibs_check_method = "file_magic".
15177
 
file_magic_glob=$lt_file_magic_glob
15178
 
 
15179
 
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15180
 
want_nocaseglob=$lt_want_nocaseglob
15181
 
 
15182
 
# DLL creation program.
15183
 
DLLTOOL=$lt_DLLTOOL
15184
 
 
15185
 
# Command to associate shared and link libraries.
15186
 
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15187
 
 
15188
 
# The archiver.
15189
 
AR=$lt_AR
15190
 
 
15191
 
# Flags to create an archive.
15192
 
AR_FLAGS=$lt_AR_FLAGS
15193
 
 
15194
 
# How to feed a file listing to the archiver.
15195
 
archiver_list_spec=$lt_archiver_list_spec
15196
 
 
15197
 
# A symbol stripping program.
15198
 
STRIP=$lt_STRIP
15199
 
 
15200
 
# Commands used to install an old-style archive.
15201
 
RANLIB=$lt_RANLIB
15202
 
old_postinstall_cmds=$lt_old_postinstall_cmds
15203
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15204
 
 
15205
 
# Whether to use a lock for old archive extraction.
15206
 
lock_old_archive_extraction=$lock_old_archive_extraction
15207
 
 
15208
 
# A C compiler.
15209
 
LTCC=$lt_CC
15210
 
 
15211
 
# LTCC compiler flags.
15212
 
LTCFLAGS=$lt_CFLAGS
15213
 
 
15214
 
# Take the output of nm and produce a listing of raw symbols and C names.
15215
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15216
 
 
15217
 
# Transform the output of nm in a proper C declaration.
15218
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15219
 
 
15220
 
# Transform the output of nm in a C name address pair.
15221
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15222
 
 
15223
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
15224
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15225
 
 
15226
 
# Specify filename containing input files for \$NM.
15227
 
nm_file_list_spec=$lt_nm_file_list_spec
15228
 
 
15229
 
# The root where to search for dependent libraries,and in which our libraries should be installed.
15230
 
lt_sysroot=$lt_sysroot
15231
 
 
15232
 
# The name of the directory that contains temporary libtool files.
15233
 
objdir=$objdir
15234
 
 
15235
 
# Used to examine libraries when file_magic_cmd begins with "file".
15236
 
MAGIC_CMD=$MAGIC_CMD
15237
 
 
15238
 
# Must we lock files when doing compilation?
15239
 
need_locks=$lt_need_locks
15240
 
 
15241
 
# Manifest tool.
15242
 
MANIFEST_TOOL=$lt_MANIFEST_TOOL
15243
 
 
15244
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15245
 
DSYMUTIL=$lt_DSYMUTIL
15246
 
 
15247
 
# Tool to change global to local symbols on Mac OS X.
15248
 
NMEDIT=$lt_NMEDIT
15249
 
 
15250
 
# Tool to manipulate fat objects and archives on Mac OS X.
15251
 
LIPO=$lt_LIPO
15252
 
 
15253
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15254
 
OTOOL=$lt_OTOOL
15255
 
 
15256
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15257
 
OTOOL64=$lt_OTOOL64
15258
 
 
15259
 
# Old archive suffix (normally "a").
15260
 
libext=$libext
15261
 
 
15262
 
# Shared library suffix (normally ".so").
15263
 
shrext_cmds=$lt_shrext_cmds
15264
 
 
15265
 
# The commands to extract the exported symbol list from a shared archive.
15266
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15267
 
 
15268
 
# Variables whose values should be saved in libtool wrapper scripts and
15269
 
# restored at link time.
15270
 
variables_saved_for_relink=$lt_variables_saved_for_relink
15271
 
 
15272
 
# Do we need the "lib" prefix for modules?
15273
 
need_lib_prefix=$need_lib_prefix
15274
 
 
15275
 
# Do we need a version for libraries?
15276
 
need_version=$need_version
15277
 
 
15278
 
# Library versioning type.
15279
 
version_type=$version_type
15280
 
 
15281
 
# Shared library runtime path variable.
15282
 
runpath_var=$runpath_var
15283
 
 
15284
 
# Shared library path variable.
15285
 
shlibpath_var=$shlibpath_var
15286
 
 
15287
 
# Is shlibpath searched before the hard-coded library search path?
15288
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15289
 
 
15290
 
# Format of library name prefix.
15291
 
libname_spec=$lt_libname_spec
15292
 
 
15293
 
# List of archive names.  First name is the real one, the rest are links.
15294
 
# The last name is the one that the linker finds with -lNAME
15295
 
library_names_spec=$lt_library_names_spec
15296
 
 
15297
 
# The coded name of the library, if different from the real name.
15298
 
soname_spec=$lt_soname_spec
15299
 
 
15300
 
# Permission mode override for installation of shared libraries.
15301
 
install_override_mode=$lt_install_override_mode
15302
 
 
15303
 
# Command to use after installation of a shared archive.
15304
 
postinstall_cmds=$lt_postinstall_cmds
15305
 
 
15306
 
# Command to use after uninstallation of a shared archive.
15307
 
postuninstall_cmds=$lt_postuninstall_cmds
15308
 
 
15309
 
# Commands used to finish a libtool library installation in a directory.
15310
 
finish_cmds=$lt_finish_cmds
15311
 
 
15312
 
# As "finish_cmds", except a single script fragment to be evaled but
15313
 
# not shown.
15314
 
finish_eval=$lt_finish_eval
15315
 
 
15316
 
# Whether we should hardcode library paths into libraries.
15317
 
hardcode_into_libs=$hardcode_into_libs
15318
 
 
15319
 
# Compile-time system search path for libraries.
15320
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15321
 
 
15322
 
# Run-time system search path for libraries.
15323
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15324
 
 
15325
 
# Whether dlopen is supported.
15326
 
dlopen_support=$enable_dlopen
15327
 
 
15328
 
# Whether dlopen of programs is supported.
15329
 
dlopen_self=$enable_dlopen_self
15330
 
 
15331
 
# Whether dlopen of statically linked programs is supported.
15332
 
dlopen_self_static=$enable_dlopen_self_static
15333
 
 
15334
 
# Commands to strip libraries.
15335
 
old_striplib=$lt_old_striplib
15336
 
striplib=$lt_striplib
15337
 
 
15338
 
 
15339
 
# The linker used to build libraries.
15340
 
LD=$lt_LD
15341
 
 
15342
 
# How to create reloadable object files.
15343
 
reload_flag=$lt_reload_flag
15344
 
reload_cmds=$lt_reload_cmds
15345
 
 
15346
 
# Commands used to build an old-style archive.
15347
 
old_archive_cmds=$lt_old_archive_cmds
15348
 
 
15349
 
# A language specific compiler.
15350
 
CC=$lt_compiler
15351
 
 
15352
 
# Is the compiler the GNU compiler?
15353
 
with_gcc=$GCC
15354
 
 
15355
 
# Compiler flag to turn off builtin functions.
15356
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15357
 
 
15358
 
# Additional compiler flags for building library objects.
15359
 
pic_flag=$lt_lt_prog_compiler_pic
15360
 
 
15361
 
# How to pass a linker flag through the compiler.
15362
 
wl=$lt_lt_prog_compiler_wl
15363
 
 
15364
 
# Compiler flag to prevent dynamic linking.
15365
 
link_static_flag=$lt_lt_prog_compiler_static
15366
 
 
15367
 
# Does compiler simultaneously support -c and -o options?
15368
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15369
 
 
15370
 
# Whether or not to add -lc for building shared libraries.
15371
 
build_libtool_need_lc=$archive_cmds_need_lc
15372
 
 
15373
 
# Whether or not to disallow shared libs when runtime libs are static.
15374
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15375
 
 
15376
 
# Compiler flag to allow reflexive dlopens.
15377
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15378
 
 
15379
 
# Compiler flag to generate shared objects directly from archives.
15380
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
15381
 
 
15382
 
# Whether the compiler copes with passing no objects directly.
15383
 
compiler_needs_object=$lt_compiler_needs_object
15384
 
 
15385
 
# Create an old-style archive from a shared archive.
15386
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15387
 
 
15388
 
# Create a temporary old-style archive to link instead of a shared archive.
15389
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15390
 
 
15391
 
# Commands used to build a shared archive.
15392
 
archive_cmds=$lt_archive_cmds
15393
 
archive_expsym_cmds=$lt_archive_expsym_cmds
15394
 
 
15395
 
# Commands used to build a loadable module if different from building
15396
 
# a shared archive.
15397
 
module_cmds=$lt_module_cmds
15398
 
module_expsym_cmds=$lt_module_expsym_cmds
15399
 
 
15400
 
# Whether we are building with GNU ld or not.
15401
 
with_gnu_ld=$lt_with_gnu_ld
15402
 
 
15403
 
# Flag that allows shared libraries with undefined symbols to be built.
15404
 
allow_undefined_flag=$lt_allow_undefined_flag
15405
 
 
15406
 
# Flag that enforces no undefined symbols.
15407
 
no_undefined_flag=$lt_no_undefined_flag
15408
 
 
15409
 
# Flag to hardcode \$libdir into a binary during linking.
15410
 
# This must work even if \$libdir does not exist
15411
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15412
 
 
15413
 
# Whether we need a single "-rpath" flag with a separated argument.
15414
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
15415
 
 
15416
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15417
 
# DIR into the resulting binary.
15418
 
hardcode_direct=$hardcode_direct
15419
 
 
15420
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15421
 
# DIR into the resulting binary and the resulting library dependency is
15422
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15423
 
# library is relocated.
15424
 
hardcode_direct_absolute=$hardcode_direct_absolute
15425
 
 
15426
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15427
 
# into the resulting binary.
15428
 
hardcode_minus_L=$hardcode_minus_L
15429
 
 
15430
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15431
 
# into the resulting binary.
15432
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
15433
 
 
15434
 
# Set to "yes" if building a shared library automatically hardcodes DIR
15435
 
# into the library and all subsequent libraries and executables linked
15436
 
# against it.
15437
 
hardcode_automatic=$hardcode_automatic
15438
 
 
15439
 
# Set to yes if linker adds runtime paths of dependent libraries
15440
 
# to runtime path list.
15441
 
inherit_rpath=$inherit_rpath
15442
 
 
15443
 
# Whether libtool must link a program against all its dependency libraries.
15444
 
link_all_deplibs=$link_all_deplibs
15445
 
 
15446
 
# Set to "yes" if exported symbols are required.
15447
 
always_export_symbols=$always_export_symbols
15448
 
 
15449
 
# The commands to list exported symbols.
15450
 
export_symbols_cmds=$lt_export_symbols_cmds
15451
 
 
15452
 
# Symbols that should not be listed in the preloaded symbols.
15453
 
exclude_expsyms=$lt_exclude_expsyms
15454
 
 
15455
 
# Symbols that must always be exported.
15456
 
include_expsyms=$lt_include_expsyms
15457
 
 
15458
 
# Commands necessary for linking programs (against libraries) with templates.
15459
 
prelink_cmds=$lt_prelink_cmds
15460
 
 
15461
 
# Commands necessary for finishing linking programs.
15462
 
postlink_cmds=$lt_postlink_cmds
15463
 
 
15464
 
# Specify filename containing input files.
15465
 
file_list_spec=$lt_file_list_spec
15466
 
 
15467
 
# How to hardcode a shared library path into an executable.
15468
 
hardcode_action=$hardcode_action
15469
 
 
15470
 
# ### END LIBTOOL CONFIG
15471
 
 
15472
 
_LT_EOF
15473
 
 
15474
 
  case $host_os in
15475
 
  aix3*)
15476
 
    cat <<\_LT_EOF >> "$cfgfile"
15477
 
# AIX sometimes has problems with the GCC collect2 program.  For some
15478
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
15479
 
# vanish in a puff of smoke.
15480
 
if test "X${COLLECT_NAMES+set}" != Xset; then
15481
 
  COLLECT_NAMES=
15482
 
  export COLLECT_NAMES
15483
 
fi
15484
 
_LT_EOF
15485
 
    ;;
15486
 
  esac
15487
 
 
15488
 
  
15489
 
ltmain="$ac_aux_dir/ltmain.sh"
15490
 
 
15491
 
 
15492
 
  # We use sed instead of cat because bash on DJGPP gets confused if
15493
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15494
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
15495
 
  # is reportedly fixed, but why not run on old versions too?
15496
 
  sed '$q' "$ltmain" >> "$cfgfile" \
15497
 
     || (rm -f "$cfgfile"; exit 1)
15498
 
 
15499
 
  if test x"$xsi_shell" = xyes; then
15500
 
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15501
 
func_dirname ()\
15502
 
{\
15503
 
\    case ${1} in\
15504
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
15505
 
\      *  ) func_dirname_result="${3}" ;;\
15506
 
\    esac\
15507
 
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15508
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15509
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15510
 
test 0 -eq $? || _lt_function_replace_fail=:
15511
 
 
15512
 
 
15513
 
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
15514
 
func_basename ()\
15515
 
{\
15516
 
\    func_basename_result="${1##*/}"\
15517
 
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15518
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15519
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15520
 
test 0 -eq $? || _lt_function_replace_fail=:
15521
 
 
15522
 
 
15523
 
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15524
 
func_dirname_and_basename ()\
15525
 
{\
15526
 
\    case ${1} in\
15527
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
15528
 
\      *  ) func_dirname_result="${3}" ;;\
15529
 
\    esac\
15530
 
\    func_basename_result="${1##*/}"\
15531
 
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15532
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15533
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15534
 
test 0 -eq $? || _lt_function_replace_fail=:
15535
 
 
15536
 
 
15537
 
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15538
 
func_stripname ()\
15539
 
{\
15540
 
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15541
 
\    # positional parameters, so assign one to ordinary parameter first.\
15542
 
\    func_stripname_result=${3}\
15543
 
\    func_stripname_result=${func_stripname_result#"${1}"}\
15544
 
\    func_stripname_result=${func_stripname_result%"${2}"}\
15545
 
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15546
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15547
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15548
 
test 0 -eq $? || _lt_function_replace_fail=:
15549
 
 
15550
 
 
15551
 
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15552
 
func_split_long_opt ()\
15553
 
{\
15554
 
\    func_split_long_opt_name=${1%%=*}\
15555
 
\    func_split_long_opt_arg=${1#*=}\
15556
 
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15557
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15558
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15559
 
test 0 -eq $? || _lt_function_replace_fail=:
15560
 
 
15561
 
 
15562
 
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15563
 
func_split_short_opt ()\
15564
 
{\
15565
 
\    func_split_short_opt_arg=${1#??}\
15566
 
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15567
 
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15568
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15569
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15570
 
test 0 -eq $? || _lt_function_replace_fail=:
15571
 
 
15572
 
 
15573
 
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15574
 
func_lo2o ()\
15575
 
{\
15576
 
\    case ${1} in\
15577
 
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15578
 
\      *)    func_lo2o_result=${1} ;;\
15579
 
\    esac\
15580
 
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15581
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15582
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15583
 
test 0 -eq $? || _lt_function_replace_fail=:
15584
 
 
15585
 
 
15586
 
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
15587
 
func_xform ()\
15588
 
{\
15589
 
    func_xform_result=${1%.*}.lo\
15590
 
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15591
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15592
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15593
 
test 0 -eq $? || _lt_function_replace_fail=:
15594
 
 
15595
 
 
15596
 
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
15597
 
func_arith ()\
15598
 
{\
15599
 
    func_arith_result=$(( $* ))\
15600
 
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15601
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15602
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15603
 
test 0 -eq $? || _lt_function_replace_fail=:
15604
 
 
15605
 
 
15606
 
  sed -e '/^func_len ()$/,/^} # func_len /c\
15607
 
func_len ()\
15608
 
{\
15609
 
    func_len_result=${#1}\
15610
 
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15611
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15612
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15613
 
test 0 -eq $? || _lt_function_replace_fail=:
15614
 
 
15615
 
fi
15616
 
 
15617
 
if test x"$lt_shell_append" = xyes; then
15618
 
  sed -e '/^func_append ()$/,/^} # func_append /c\
15619
 
func_append ()\
15620
 
{\
15621
 
    eval "${1}+=\\${2}"\
15622
 
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15623
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15624
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15625
 
test 0 -eq $? || _lt_function_replace_fail=:
15626
 
 
15627
 
 
15628
 
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15629
 
func_append_quoted ()\
15630
 
{\
15631
 
\    func_quote_for_eval "${2}"\
15632
 
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15633
 
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15634
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
15635
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15636
 
test 0 -eq $? || _lt_function_replace_fail=:
15637
 
 
15638
 
 
15639
 
  # Save a `func_append' function call where possible by direct use of '+='
15640
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15641
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
15642
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15643
 
  test 0 -eq $? || _lt_function_replace_fail=:
15644
 
else
15645
 
  # Save a `func_append' function call even when '+=' is not available
15646
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15647
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
15648
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15649
 
  test 0 -eq $? || _lt_function_replace_fail=:
15650
 
fi
15651
 
 
15652
 
if test x"$_lt_function_replace_fail" = x":"; then
15653
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15654
 
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15655
 
fi
15656
 
 
15657
 
 
15658
 
   mv -f "$cfgfile" "$ofile" ||
15659
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15660
 
  chmod +x "$ofile"
15661
 
 
15662
 
 ;;
15663
 
    "$ax_create_pkgconfig_generate":C) 
15664
 
pkgconfig_generate="$ax_create_pkgconfig_generate"
15665
 
if test ! -f "$pkgconfig_generate.in"
15666
 
then generate="true"
15667
 
elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
15668
 
then generate="true"
15669
 
else generate="false";
15670
 
fi
15671
 
if $generate ; then
15672
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5
15673
 
$as_echo "$as_me: creating $pkgconfig_generate.in" >&6;}
15674
 
cat > $pkgconfig_generate.in <<AXEOF
15675
 
# generated by configure / remove this line to disable regeneration
15676
 
prefix=@prefix@
15677
 
exec_prefix=@exec_prefix@
15678
 
bindir=@bindir@
15679
 
libdir=@libdir@
15680
 
datarootdir=@datarootdir@
15681
 
datadir=@datadir@
15682
 
sysconfdir=@sysconfdir@
15683
 
includedir=@includedir@
15684
 
package=@PACKAGE@
15685
 
suffix=@suffix@
15686
 
 
15687
 
Name: @PACKAGE_NAME@
15688
 
Description: @PACKAGE_DESCRIPTION@
15689
 
Version: @PACKAGE_VERSION@
15690
 
Requires: @PACKAGE_REQUIRES@
15691
 
Libs: -L\${libdir} @LDFLAGS@ @LIBS@
15692
 
Cflags: -I\${includedir} @CPPFLAGS@
15693
 
AXEOF
15694
 
fi # DONE generate $pkgconfig_generate.in
15695
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
15696
 
$as_echo "$as_me: creating $pkgconfig_generate" >&6;}
15697
 
cat >conftest.sed <<AXEOF
15698
 
s|@prefix@|${pkgconfig_prefix}|
15699
 
s|@exec_prefix@|${pkgconfig_execprefix}|
15700
 
s|@bindir@|${pkgconfig_bindir}|
15701
 
s|@libdir@|${pkgconfig_libdir}|
15702
 
s|@datarootdir@|${pkgconfig_datarootdir}|
15703
 
s|@datadir@|${pkgconfig_datadir}|
15704
 
s|@sysconfdir@|${pkgconfig_sysconfdir}|
15705
 
s|@includedir@|${pkgconfig_includedir}|
15706
 
s|@suffix@|${pkgconfig_suffix}|
15707
 
s|@PACKAGE@|${pkgconfig_package}|
15708
 
s|@PACKAGE_NAME@|${pkgconfig_libname}|
15709
 
s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
15710
 
s|@PACKAGE_VERSION@|${pkgconfig_version}|
15711
 
s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
15712
 
s|@LIBS@|${pkgconfig_libs}|
15713
 
s|@LDFLAGS@|${pkgconfig_ldflags}|
15714
 
s|@CPPFLAGS@|${pkgconfig_cppflags}|
15715
 
AXEOF
15716
 
sed -f conftest.sed  $pkgconfig_generate.in > $pkgconfig_generate
15717
 
if test ! -s $pkgconfig_generate ; then
15718
 
    as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5
15719
 
fi ; rm conftest.sed # DONE generate $pkgconfig_generate
15720
 
pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
15721
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
15722
 
$as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
15723
 
cat >conftest.sed <<AXEOF
15724
 
s|@prefix@|${pkgconfig_prefix}|
15725
 
s|@exec_prefix@|${pkgconfig_execprefix}|
15726
 
s|@bindir@|${pkgconfig_bindir}|
15727
 
s|@libdir@|${pkgconfig_src_libdir}|
15728
 
s|@datarootdir@|${pkgconfig_datarootdir}|
15729
 
s|@datadir@|${pkgconfig_datadir}|
15730
 
s|@sysconfdir@|${pkgconfig_sysconfdir}|
15731
 
s|@includedir@|${pkgconfig_src_headers}|
15732
 
s|@suffix@|${pkgconfig_suffix}|
15733
 
s|@PACKAGE@|${pkgconfig_package}|
15734
 
s|@PACKAGE_NAME@|${pkgconfig_libname}|
15735
 
s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
15736
 
s|@PACKAGE_VERSION@|${pkgconfig_version}|
15737
 
s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
15738
 
s|@LIBS@|${pkgconfig_libs}|
15739
 
s|@LDFLAGS@|${pkgconfig_ldflags}|
15740
 
s|@CPPFLAGS@|${pkgconfig_cppflags}|
15741
 
AXEOF
15742
 
sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
15743
 
if test ! -s $pkgconfig_uninstalled ; then
15744
 
    as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
15745
 
fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
15746
 
           pkgconfig_requires_add=`echo ${pkgconfig_requires}`
15747
 
if test ".$pkgconfig_requires_add" != "." ; then
15748
 
           pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
15749
 
    else   pkgconfig_requires_add=":" ; fi
15750
 
pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
15751
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
15752
 
$as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
15753
 
cat >conftest.sed <<AXEOF
15754
 
s|@prefix@|\"${pkgconfig_prefix}\"|
15755
 
s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
15756
 
s|@bindir@|\"${pkgconfig_bindir}\"|
15757
 
s|@libdir@|\"${pkgconfig_src_libdir}\"|
15758
 
s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
15759
 
s|@datadir@|\"${pkgconfig_datadir}\"|
15760
 
s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
15761
 
s|@includedir@|\"${pkgconfig_src_headers}\"|
15762
 
s|@suffix@|\"${pkgconfig_suffix}\"|
15763
 
s|@PACKAGE@|\"${pkgconfig_package}\"|
15764
 
s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
15765
 
s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
15766
 
s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
15767
 
s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
15768
 
s|@LIBS@|\"${pkgconfig_libs}\"|
15769
 
s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
15770
 
s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
15771
 
s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
15772
 
s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
15773
 
s>Version: *>\\;\\; --modversion|--version) echo >
15774
 
s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
15775
 
s>Libs: *>\\;\\; --libs) echo >
15776
 
s>Cflags: *>\\;\\; --cflags) echo >
15777
 
/--libs)/a\\
15778
 
       $pkgconfig_requires_add
15779
 
/--cflags)/a\\
15780
 
       $pkgconfig_requires_add\\
15781
 
;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
15782
 
;; --uninstalled) exit 0 \\
15783
 
;; *) ;; esac done
15784
 
AXEOF
15785
 
sed -f conftest.sed  $pkgconfig_generate.in > $pkgconfig_uninstalled
15786
 
if test ! -s $pkgconfig_uninstalled ; then
15787
 
    as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
15788
 
fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
15789
 
 ;;
15790
 
    "genversion.sh":F) chmod +x genversion.sh ;;
15791
 
    "version.h":C) echo '#define CLOOG_HEAD "'`./genversion.sh`'"' > version.h ;;
15792
 
    "doc/gitversion.texi":C) echo '@set VERSION '`./genversion.sh`'' > doc/gitversion.texi ;;
15793
 
 
15794
 
  esac
15795
 
done # for ac_tag
15796
 
 
15797
 
 
15798
 
as_fn_exit 0
15799
 
_ACEOF
15800
 
ac_clean_files=$ac_clean_files_save
15801
 
 
15802
 
test $ac_write_fail = 0 ||
15803
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15804
 
 
15805
 
 
15806
 
        ac_configure_args="$ac_configure_args $cloog_configure_args"
15807
 
 
15808
 
 
15809
 
# configure is writing to config.log, and then calls config.status.
15810
 
# config.status does its own redirection, appending to config.log.
15811
 
# Unfortunately, on DOS this fails, as config.log is still kept open
15812
 
# by configure, so config.status won't be able to write to it; its
15813
 
# output is simply discarded.  So we exec the FD to /dev/null,
15814
 
# effectively closing config.log, so it can be properly (re)opened and
15815
 
# appended to by config.status.  When coming back to configure, we
15816
 
# need to make the FD available again.
15817
 
if test "$no_create" != yes; then
15818
 
  ac_cs_success=:
15819
 
  ac_config_status_args=
15820
 
  test "$silent" = yes &&
15821
 
    ac_config_status_args="$ac_config_status_args --quiet"
15822
 
  exec 5>/dev/null
15823
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15824
 
  exec 5>>config.log
15825
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15826
 
  # would make configure fail if this is the last instruction.
15827
 
  $ac_cs_success || as_fn_exit 1
15828
 
fi
15829
 
 
15830
 
#
15831
 
# CONFIG_SUBDIRS section.
15832
 
#
15833
 
if test "$no_recursion" != yes; then
15834
 
 
15835
 
  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15836
 
  # so they do not pile up.
15837
 
  ac_sub_configure_args=
15838
 
  ac_prev=
15839
 
  eval "set x $ac_configure_args"
15840
 
  shift
15841
 
  for ac_arg
15842
 
  do
15843
 
    if test -n "$ac_prev"; then
15844
 
      ac_prev=
15845
 
      continue
15846
 
    fi
15847
 
    case $ac_arg in
15848
 
    -cache-file | --cache-file | --cache-fil | --cache-fi \
15849
 
    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15850
 
      ac_prev=cache_file ;;
15851
 
    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15852
 
    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15853
 
    | --c=*)
15854
 
      ;;
15855
 
    --config-cache | -C)
15856
 
      ;;
15857
 
    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15858
 
      ac_prev=srcdir ;;
15859
 
    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15860
 
      ;;
15861
 
    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15862
 
      ac_prev=prefix ;;
15863
 
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15864
 
      ;;
15865
 
    --disable-option-checking)
15866
 
      ;;
15867
 
    *)
15868
 
      case $ac_arg in
15869
 
      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15870
 
      esac
15871
 
      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
15872
 
    esac
15873
 
  done
15874
 
 
15875
 
  # Always prepend --prefix to ensure using the same prefix
15876
 
  # in subdir configurations.
15877
 
  ac_arg="--prefix=$prefix"
15878
 
  case $ac_arg in
15879
 
  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15880
 
  esac
15881
 
  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
15882
 
 
15883
 
  # Pass --silent
15884
 
  if test "$silent" = yes; then
15885
 
    ac_sub_configure_args="--silent $ac_sub_configure_args"
15886
 
  fi
15887
 
 
15888
 
  # Always prepend --disable-option-checking to silence warnings, since
15889
 
  # different subdirs can have different --enable and --with options.
15890
 
  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
15891
 
 
15892
 
  ac_popdir=`pwd`
15893
 
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
15894
 
 
15895
 
    # Do not complain, so a configure script can configure whichever
15896
 
    # parts of a large source tree are present.
15897
 
    test -d "$srcdir/$ac_dir" || continue
15898
 
 
15899
 
    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15900
 
    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15901
 
    $as_echo "$ac_msg" >&6
15902
 
    as_dir="$ac_dir"; as_fn_mkdir_p
15903
 
    ac_builddir=.
15904
 
 
15905
 
case "$ac_dir" in
15906
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15907
 
*)
15908
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15909
 
  # A ".." for each directory in $ac_dir_suffix.
15910
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15911
 
  case $ac_top_builddir_sub in
15912
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15913
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15914
 
  esac ;;
15915
 
esac
15916
 
ac_abs_top_builddir=$ac_pwd
15917
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
15918
 
# for backward compatibility:
15919
 
ac_top_builddir=$ac_top_build_prefix
15920
 
 
15921
 
case $srcdir in
15922
 
  .)  # We are building in place.
15923
 
    ac_srcdir=.
15924
 
    ac_top_srcdir=$ac_top_builddir_sub
15925
 
    ac_abs_top_srcdir=$ac_pwd ;;
15926
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
15927
 
    ac_srcdir=$srcdir$ac_dir_suffix;
15928
 
    ac_top_srcdir=$srcdir
15929
 
    ac_abs_top_srcdir=$srcdir ;;
15930
 
  *) # Relative name.
15931
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15932
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
15933
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15934
 
esac
15935
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15936
 
 
15937
 
 
15938
 
    cd "$ac_dir"
15939
 
 
15940
 
    # Check for guested configure; otherwise get Cygnus style configure.
15941
 
    if test -f "$ac_srcdir/configure.gnu"; then
15942
 
      ac_sub_configure=$ac_srcdir/configure.gnu
15943
 
    elif test -f "$ac_srcdir/configure"; then
15944
 
      ac_sub_configure=$ac_srcdir/configure
15945
 
    elif test -f "$ac_srcdir/configure.in"; then
15946
 
      # This should be Cygnus configure.
15947
 
      ac_sub_configure=$ac_aux_dir/configure
15948
 
    else
15949
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
15950
 
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15951
 
      ac_sub_configure=
15952
 
    fi
15953
 
 
15954
 
    # The recursion is here.
15955
 
    if test -n "$ac_sub_configure"; then
15956
 
      # Make the cache file name correct relative to the subdirectory.
15957
 
      case $cache_file in
15958
 
      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
15959
 
      *) # Relative name.
15960
 
        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
15961
 
      esac
15962
 
 
15963
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
15964
 
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15965
 
      # The eval makes quoting arguments work.
15966
 
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15967
 
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15968
 
        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15969
 
    fi
15970
 
 
15971
 
    cd "$ac_popdir"
15972
 
  done
15973
 
fi
15974
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15975
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15976
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15977
 
fi
15978
 
 
15979
 
 
15980
 
 
15981
 
echo "             /*-----------------------------------------------*"
15982
 
echo "              *           CLooG configuration is OK           *"
15983
 
echo "              *-----------------------------------------------*/"
15984
 
echo "It appears that your system is OK to start CLooG compilation. You need"
15985
 
echo "now to type \"make\". After compilation, you should check CLooG by typing"
15986
 
echo "\"make check\". If no problem occur, you can type \"make uninstall\" if"
15987
 
echo "you are upgrading an old version. Lastly type \"make install\" to install"
15988
 
echo "CLooG on your system (log as root if necessary)."