~ubuntu-branches/debian/sid/gxneur/sid

« back to all changes in this revision

Viewing changes to .pc/03_disable_werror.patch/configure

  • Committer: Package Import Robot
  • Author(s): Luk Claes
  • Date: 2012-07-05 20:04:58 UTC
  • Revision ID: package-import@ubuntu.com-20120705200458-rqbioyvjdnx3c5iw
Tags: 0.15.0-2.1
* Non-maintainer upload.
* Remove -Werror so it does not complain about deprecated declarations
  (Closes: #665670).

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.68.
 
4
#
 
5
#
 
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
8
# 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
if test "x$CONFIG_SHELL" = x; then
 
138
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
139
  emulate sh
 
140
  NULLCMD=:
 
141
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
142
  # is contrary to our usage.  Disable this feature.
 
143
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
144
  setopt NO_GLOB_SUBST
 
145
else
 
146
  case \`(set -o) 2>/dev/null\` in #(
 
147
  *posix*) :
 
148
    set -o posix ;; #(
 
149
  *) :
 
150
     ;;
 
151
esac
 
152
fi
 
153
"
 
154
  as_required="as_fn_return () { (exit \$1); }
 
155
as_fn_success () { as_fn_return 0; }
 
156
as_fn_failure () { as_fn_return 1; }
 
157
as_fn_ret_success () { return 0; }
 
158
as_fn_ret_failure () { return 1; }
 
159
 
 
160
exitcode=0
 
161
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
162
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
163
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
164
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
165
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
166
 
 
167
else
 
168
  exitcode=1; echo positional parameters were not saved.
 
169
fi
 
170
test x\$exitcode = x0 || exit 1"
 
171
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
172
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
173
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
174
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
175
 
 
176
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
177
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
178
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
179
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
180
    PATH=/empty FPATH=/empty; export PATH FPATH
 
181
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
182
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
 
183
test \$(( 1 + 1 )) = 2 || exit 1"
 
184
  if (eval "$as_required") 2>/dev/null; then :
 
185
  as_have_required=yes
 
186
else
 
187
  as_have_required=no
 
188
fi
 
189
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
190
 
 
191
else
 
192
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
193
as_found=false
 
194
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
195
do
 
196
  IFS=$as_save_IFS
 
197
  test -z "$as_dir" && as_dir=.
 
198
  as_found=:
 
199
  case $as_dir in #(
 
200
         /*)
 
201
           for as_base in sh bash ksh sh5; do
 
202
             # Try only shells that exist, to save several forks.
 
203
             as_shell=$as_dir/$as_base
 
204
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
205
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
206
  CONFIG_SHELL=$as_shell as_have_required=yes
 
207
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
208
  break 2
 
209
fi
 
210
fi
 
211
           done;;
 
212
       esac
 
213
  as_found=false
 
214
done
 
215
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
216
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
217
  CONFIG_SHELL=$SHELL as_have_required=yes
 
218
fi; }
 
219
IFS=$as_save_IFS
 
220
 
 
221
 
 
222
      if test "x$CONFIG_SHELL" != x; then :
 
223
  # We cannot yet assume a decent shell, so we have to provide a
 
224
        # neutralization value for shells without unset; and this also
 
225
        # works around shells that cannot unset nonexistent variables.
 
226
        # Preserve -v and -x to the replacement shell.
 
227
        BASH_ENV=/dev/null
 
228
        ENV=/dev/null
 
229
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
230
        export CONFIG_SHELL
 
231
        case $- in # ((((
 
232
          *v*x* | *x*v* ) as_opts=-vx ;;
 
233
          *v* ) as_opts=-v ;;
 
234
          *x* ) as_opts=-x ;;
 
235
          * ) as_opts= ;;
 
236
        esac
 
237
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
238
fi
 
239
 
 
240
    if test x$as_have_required = xno; then :
 
241
  $as_echo "$0: This script requires a shell more modern than all"
 
242
  $as_echo "$0: the shells that I found on your system."
 
243
  if test x${ZSH_VERSION+set} = xset ; then
 
244
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
245
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
246
  else
 
247
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
248
$0: including any error possibly output before this
 
249
$0: message. Then install a modern shell, or manually run
 
250
$0: the script under such a shell if you do have one."
 
251
  fi
 
252
  exit 1
 
253
fi
 
254
fi
 
255
fi
 
256
SHELL=${CONFIG_SHELL-/bin/sh}
 
257
export SHELL
 
258
# Unset more variables known to interfere with behavior of common tools.
 
259
CLICOLOR_FORCE= GREP_OPTIONS=
 
260
unset CLICOLOR_FORCE GREP_OPTIONS
 
261
 
 
262
## --------------------- ##
 
263
## M4sh Shell Functions. ##
 
264
## --------------------- ##
 
265
# as_fn_unset VAR
 
266
# ---------------
 
267
# Portably unset VAR.
 
268
as_fn_unset ()
 
269
{
 
270
  { eval $1=; unset $1;}
 
271
}
 
272
as_unset=as_fn_unset
 
273
 
 
274
# as_fn_set_status STATUS
 
275
# -----------------------
 
276
# Set $? to STATUS, without forking.
 
277
as_fn_set_status ()
 
278
{
 
279
  return $1
 
280
} # as_fn_set_status
 
281
 
 
282
# as_fn_exit STATUS
 
283
# -----------------
 
284
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
285
as_fn_exit ()
 
286
{
 
287
  set +e
 
288
  as_fn_set_status $1
 
289
  exit $1
 
290
} # as_fn_exit
 
291
 
 
292
# as_fn_mkdir_p
 
293
# -------------
 
294
# Create "$as_dir" as a directory, including parents if necessary.
 
295
as_fn_mkdir_p ()
 
296
{
 
297
 
 
298
  case $as_dir in #(
 
299
  -*) as_dir=./$as_dir;;
 
300
  esac
 
301
  test -d "$as_dir" || eval $as_mkdir_p || {
 
302
    as_dirs=
 
303
    while :; do
 
304
      case $as_dir in #(
 
305
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
306
      *) as_qdir=$as_dir;;
 
307
      esac
 
308
      as_dirs="'$as_qdir' $as_dirs"
 
309
      as_dir=`$as_dirname -- "$as_dir" ||
 
310
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
311
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
312
         X"$as_dir" : 'X\(//\)$' \| \
 
313
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
314
$as_echo X"$as_dir" |
 
315
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
316
            s//\1/
 
317
            q
 
318
          }
 
319
          /^X\(\/\/\)[^/].*/{
 
320
            s//\1/
 
321
            q
 
322
          }
 
323
          /^X\(\/\/\)$/{
 
324
            s//\1/
 
325
            q
 
326
          }
 
327
          /^X\(\/\).*/{
 
328
            s//\1/
 
329
            q
 
330
          }
 
331
          s/.*/./; q'`
 
332
      test -d "$as_dir" && break
 
333
    done
 
334
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
335
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
336
 
 
337
 
 
338
} # as_fn_mkdir_p
 
339
# as_fn_append VAR VALUE
 
340
# ----------------------
 
341
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
342
# advantage of any shell optimizations that allow amortized linear growth over
 
343
# repeated appends, instead of the typical quadratic growth present in naive
 
344
# implementations.
 
345
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
346
  eval 'as_fn_append ()
 
347
  {
 
348
    eval $1+=\$2
 
349
  }'
 
350
else
 
351
  as_fn_append ()
 
352
  {
 
353
    eval $1=\$$1\$2
 
354
  }
 
355
fi # as_fn_append
 
356
 
 
357
# as_fn_arith ARG...
 
358
# ------------------
 
359
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
360
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
361
# must be portable across $(()) and expr.
 
362
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
363
  eval 'as_fn_arith ()
 
364
  {
 
365
    as_val=$(( $* ))
 
366
  }'
 
367
else
 
368
  as_fn_arith ()
 
369
  {
 
370
    as_val=`expr "$@" || test $? -eq 1`
 
371
  }
 
372
fi # as_fn_arith
 
373
 
 
374
 
 
375
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
376
# ----------------------------------------
 
377
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
378
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
379
# script with STATUS, using 1 if that was 0.
 
380
as_fn_error ()
 
381
{
 
382
  as_status=$1; test $as_status -eq 0 && as_status=1
 
383
  if test "$4"; then
 
384
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
385
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
386
  fi
 
387
  $as_echo "$as_me: error: $2" >&2
 
388
  as_fn_exit $as_status
 
389
} # as_fn_error
 
390
 
 
391
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
392
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
393
  as_expr=expr
 
394
else
 
395
  as_expr=false
 
396
fi
 
397
 
 
398
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
399
  as_basename=basename
 
400
else
 
401
  as_basename=false
 
402
fi
 
403
 
 
404
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
405
  as_dirname=dirname
 
406
else
 
407
  as_dirname=false
 
408
fi
 
409
 
 
410
as_me=`$as_basename -- "$0" ||
 
411
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
412
         X"$0" : 'X\(//\)$' \| \
 
413
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
414
$as_echo X/"$0" |
 
415
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
416
            s//\1/
 
417
            q
 
418
          }
 
419
          /^X\/\(\/\/\)$/{
 
420
            s//\1/
 
421
            q
 
422
          }
 
423
          /^X\/\(\/\).*/{
 
424
            s//\1/
 
425
            q
 
426
          }
 
427
          s/.*/./; q'`
 
428
 
 
429
# Avoid depending upon Character Ranges.
 
430
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
431
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
432
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
433
as_cr_digits='0123456789'
 
434
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
435
 
 
436
 
 
437
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
438
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
439
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
440
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
441
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
442
  sed -n '
 
443
    p
 
444
    /[$]LINENO/=
 
445
  ' <$as_myself |
 
446
    sed '
 
447
      s/[$]LINENO.*/&-/
 
448
      t lineno
 
449
      b
 
450
      :lineno
 
451
      N
 
452
      :loop
 
453
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
454
      t loop
 
455
      s/-\n.*//
 
456
    ' >$as_me.lineno &&
 
457
  chmod +x "$as_me.lineno" ||
 
458
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
459
 
 
460
  # Don't try to exec as it changes $[0], causing all sort of problems
 
461
  # (the dirname of $[0] is not the place where we might find the
 
462
  # original and so on.  Autoconf is especially sensitive to this).
 
463
  . "./$as_me.lineno"
 
464
  # Exit status is that of the last command.
 
465
  exit
 
466
}
 
467
 
 
468
ECHO_C= ECHO_N= ECHO_T=
 
469
case `echo -n x` in #(((((
 
470
-n*)
 
471
  case `echo 'xy\c'` in
 
472
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
473
  xy)  ECHO_C='\c';;
 
474
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
475
       ECHO_T=' ';;
 
476
  esac;;
 
477
*)
 
478
  ECHO_N='-n';;
 
479
esac
 
480
 
 
481
rm -f conf$$ conf$$.exe conf$$.file
 
482
if test -d conf$$.dir; then
 
483
  rm -f conf$$.dir/conf$$.file
 
484
else
 
485
  rm -f conf$$.dir
 
486
  mkdir conf$$.dir 2>/dev/null
 
487
fi
 
488
if (echo >conf$$.file) 2>/dev/null; then
 
489
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
490
    as_ln_s='ln -s'
 
491
    # ... but there are two gotchas:
 
492
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
493
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
494
    # In both cases, we have to default to `cp -p'.
 
495
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
496
      as_ln_s='cp -p'
 
497
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
498
    as_ln_s=ln
 
499
  else
 
500
    as_ln_s='cp -p'
 
501
  fi
 
502
else
 
503
  as_ln_s='cp -p'
 
504
fi
 
505
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
506
rmdir conf$$.dir 2>/dev/null
 
507
 
 
508
if mkdir -p . 2>/dev/null; then
 
509
  as_mkdir_p='mkdir -p "$as_dir"'
 
510
else
 
511
  test -d ./-p && rmdir ./-p
 
512
  as_mkdir_p=false
 
513
fi
 
514
 
 
515
if test -x / >/dev/null 2>&1; then
 
516
  as_test_x='test -x'
 
517
else
 
518
  if ls -dL / >/dev/null 2>&1; then
 
519
    as_ls_L_option=L
 
520
  else
 
521
    as_ls_L_option=
 
522
  fi
 
523
  as_test_x='
 
524
    eval sh -c '\''
 
525
      if test -d "$1"; then
 
526
        test -d "$1/.";
 
527
      else
 
528
        case $1 in #(
 
529
        -*)set "./$1";;
 
530
        esac;
 
531
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
532
        ???[sx]*):;;*)false;;esac;fi
 
533
    '\'' sh
 
534
  '
 
535
fi
 
536
as_executable_p=$as_test_x
 
537
 
 
538
# Sed expression to map a string onto a valid CPP name.
 
539
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
540
 
 
541
# Sed expression to map a string onto a valid variable name.
 
542
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
543
 
 
544
SHELL=${CONFIG_SHELL-/bin/sh}
 
545
 
 
546
 
 
547
test -n "$DJDIR" || exec 7<&0 </dev/null
 
548
exec 6>&1
 
549
 
 
550
# Name of the host.
 
551
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
552
# so uname gets run too.
 
553
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
554
 
 
555
#
 
556
# Initializations.
 
557
#
 
558
ac_default_prefix=/usr/local
 
559
ac_clean_files=
 
560
ac_config_libobj_dir=.
 
561
LIBOBJS=
 
562
cross_compiling=no
 
563
subdirs=
 
564
MFLAGS=
 
565
MAKEFLAGS=
 
566
 
 
567
# Identity of this package.
 
568
PACKAGE_NAME=
 
569
PACKAGE_TARNAME=
 
570
PACKAGE_VERSION=
 
571
PACKAGE_STRING=
 
572
PACKAGE_BUGREPORT=
 
573
PACKAGE_URL=
 
574
 
 
575
ac_unique_file="configure.in"
 
576
# Factoring default headers for most tests.
 
577
ac_includes_default="\
 
578
#include <stdio.h>
 
579
#ifdef HAVE_SYS_TYPES_H
 
580
# include <sys/types.h>
 
581
#endif
 
582
#ifdef HAVE_SYS_STAT_H
 
583
# include <sys/stat.h>
 
584
#endif
 
585
#ifdef STDC_HEADERS
 
586
# include <stdlib.h>
 
587
# include <stddef.h>
 
588
#else
 
589
# ifdef HAVE_STDLIB_H
 
590
#  include <stdlib.h>
 
591
# endif
 
592
#endif
 
593
#ifdef HAVE_STRING_H
 
594
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
595
#  include <memory.h>
 
596
# endif
 
597
# include <string.h>
 
598
#endif
 
599
#ifdef HAVE_STRINGS_H
 
600
# include <strings.h>
 
601
#endif
 
602
#ifdef HAVE_INTTYPES_H
 
603
# include <inttypes.h>
 
604
#endif
 
605
#ifdef HAVE_STDINT_H
 
606
# include <stdint.h>
 
607
#endif
 
608
#ifdef HAVE_UNISTD_H
 
609
# include <unistd.h>
 
610
#endif"
 
611
 
 
612
gt_needs=
 
613
ac_subst_vars='am__EXEEXT_FALSE
 
614
am__EXEEXT_TRUE
 
615
LTLIBOBJS
 
616
LIBOBJS
 
617
DEFAULT_CFLAGS
 
618
POSUB
 
619
LTLIBINTL
 
620
LIBINTL
 
621
INTLLIBS
 
622
LTLIBICONV
 
623
LIBICONV
 
624
INTL_MACOSX_LIBS
 
625
MSGMERGE
 
626
XGETTEXT_015
 
627
XGETTEXT
 
628
GMSGFMT_015
 
629
MSGFMT_015
 
630
GMSGFMT
 
631
MSGFMT
 
632
USE_NLS
 
633
GCONF_LIBS
 
634
GCONF_CFLAGS
 
635
GLADE_LIBS
 
636
GLADE_CFLAGS
 
637
APP_INDICATOR_LIBS
 
638
APP_INDICATOR_CFLAGS
 
639
GTK_LIBS
 
640
GTK_CFLAGS
 
641
X_EXTRA_LIBS
 
642
X_LIBS
 
643
X_PRE_LIBS
 
644
X_CFLAGS
 
645
XMKMF
 
646
X11_LIBS
 
647
X11_CFLAGS
 
648
XNEURLIB_LIBS
 
649
XNEURLIB_CFLAGS
 
650
XNEURCONF_LIBS
 
651
XNEURCONF_CFLAGS
 
652
PKG_CONFIG
 
653
CPP
 
654
OTOOL64
 
655
OTOOL
 
656
LIPO
 
657
NMEDIT
 
658
DSYMUTIL
 
659
MANIFEST_TOOL
 
660
RANLIB
 
661
ac_ct_AR
 
662
AR
 
663
DLLTOOL
 
664
OBJDUMP
 
665
LN_S
 
666
NM
 
667
ac_ct_DUMPBIN
 
668
DUMPBIN
 
669
LD
 
670
FGREP
 
671
EGREP
 
672
GREP
 
673
SED
 
674
am__fastdepCC_FALSE
 
675
am__fastdepCC_TRUE
 
676
CCDEPMODE
 
677
AMDEPBACKSLASH
 
678
AMDEP_FALSE
 
679
AMDEP_TRUE
 
680
am__quote
 
681
am__include
 
682
DEPDIR
 
683
OBJEXT
 
684
EXEEXT
 
685
ac_ct_CC
 
686
CPPFLAGS
 
687
LDFLAGS
 
688
CFLAGS
 
689
CC
 
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
am__untar
 
700
am__tar
 
701
AMTAR
 
702
am__leading_dot
 
703
SET_MAKE
 
704
AWK
 
705
mkdir_p
 
706
MKDIR_P
 
707
INSTALL_STRIP_PROGRAM
 
708
STRIP
 
709
install_sh
 
710
MAKEINFO
 
711
AUTOHEADER
 
712
AUTOMAKE
 
713
AUTOCONF
 
714
ACLOCAL
 
715
VERSION
 
716
PACKAGE
 
717
CYGPATH_W
 
718
am__isrc
 
719
INSTALL_DATA
 
720
INSTALL_SCRIPT
 
721
INSTALL_PROGRAM
 
722
target_alias
 
723
host_alias
 
724
build_alias
 
725
LIBS
 
726
ECHO_T
 
727
ECHO_N
 
728
ECHO_C
 
729
DEFS
 
730
mandir
 
731
localedir
 
732
libdir
 
733
psdir
 
734
pdfdir
 
735
dvidir
 
736
htmldir
 
737
infodir
 
738
docdir
 
739
oldincludedir
 
740
includedir
 
741
localstatedir
 
742
sharedstatedir
 
743
sysconfdir
 
744
datadir
 
745
datarootdir
 
746
libexecdir
 
747
sbindir
 
748
bindir
 
749
program_transform_name
 
750
prefix
 
751
exec_prefix
 
752
PACKAGE_URL
 
753
PACKAGE_BUGREPORT
 
754
PACKAGE_STRING
 
755
PACKAGE_VERSION
 
756
PACKAGE_TARNAME
 
757
PACKAGE_NAME
 
758
PATH_SEPARATOR
 
759
SHELL'
 
760
ac_subst_files=''
 
761
ac_user_opts='
 
762
enable_option_checking
 
763
enable_shared
 
764
enable_static
 
765
with_pic
 
766
enable_fast_install
 
767
enable_dependency_tracking
 
768
with_gnu_ld
 
769
with_sysroot
 
770
enable_libtool_lock
 
771
with_x
 
772
with_appindicator
 
773
with_gconf
 
774
enable_nls
 
775
enable_rpath
 
776
with_libiconv_prefix
 
777
with_libintl_prefix
 
778
'
 
779
      ac_precious_vars='build_alias
 
780
host_alias
 
781
target_alias
 
782
CC
 
783
CFLAGS
 
784
LDFLAGS
 
785
LIBS
 
786
CPPFLAGS
 
787
CPP
 
788
PKG_CONFIG
 
789
XNEURCONF_CFLAGS
 
790
XNEURCONF_LIBS
 
791
XNEURLIB_CFLAGS
 
792
XNEURLIB_LIBS
 
793
X11_CFLAGS
 
794
X11_LIBS
 
795
XMKMF
 
796
GTK_CFLAGS
 
797
GTK_LIBS
 
798
APP_INDICATOR_CFLAGS
 
799
APP_INDICATOR_LIBS
 
800
GLADE_CFLAGS
 
801
GLADE_LIBS
 
802
GCONF_CFLAGS
 
803
GCONF_LIBS'
 
804
 
 
805
 
 
806
# Initialize some variables set by options.
 
807
ac_init_help=
 
808
ac_init_version=false
 
809
ac_unrecognized_opts=
 
810
ac_unrecognized_sep=
 
811
# The variables have the same names as the options, with
 
812
# dashes changed to underlines.
 
813
cache_file=/dev/null
 
814
exec_prefix=NONE
 
815
no_create=
 
816
no_recursion=
 
817
prefix=NONE
 
818
program_prefix=NONE
 
819
program_suffix=NONE
 
820
program_transform_name=s,x,x,
 
821
silent=
 
822
site=
 
823
srcdir=
 
824
verbose=
 
825
x_includes=NONE
 
826
x_libraries=NONE
 
827
 
 
828
# Installation directory options.
 
829
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
830
# and all the variables that are supposed to be based on exec_prefix
 
831
# by default will actually change.
 
832
# Use braces instead of parens because sh, perl, etc. also accept them.
 
833
# (The list follows the same order as the GNU Coding Standards.)
 
834
bindir='${exec_prefix}/bin'
 
835
sbindir='${exec_prefix}/sbin'
 
836
libexecdir='${exec_prefix}/libexec'
 
837
datarootdir='${prefix}/share'
 
838
datadir='${datarootdir}'
 
839
sysconfdir='${prefix}/etc'
 
840
sharedstatedir='${prefix}/com'
 
841
localstatedir='${prefix}/var'
 
842
includedir='${prefix}/include'
 
843
oldincludedir='/usr/include'
 
844
docdir='${datarootdir}/doc/${PACKAGE}'
 
845
infodir='${datarootdir}/info'
 
846
htmldir='${docdir}'
 
847
dvidir='${docdir}'
 
848
pdfdir='${docdir}'
 
849
psdir='${docdir}'
 
850
libdir='${exec_prefix}/lib'
 
851
localedir='${datarootdir}/locale'
 
852
mandir='${datarootdir}/man'
 
853
 
 
854
ac_prev=
 
855
ac_dashdash=
 
856
for ac_option
 
857
do
 
858
  # If the previous option needs an argument, assign it.
 
859
  if test -n "$ac_prev"; then
 
860
    eval $ac_prev=\$ac_option
 
861
    ac_prev=
 
862
    continue
 
863
  fi
 
864
 
 
865
  case $ac_option in
 
866
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
867
  *=)   ac_optarg= ;;
 
868
  *)    ac_optarg=yes ;;
 
869
  esac
 
870
 
 
871
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
872
 
 
873
  case $ac_dashdash$ac_option in
 
874
  --)
 
875
    ac_dashdash=yes ;;
 
876
 
 
877
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
878
    ac_prev=bindir ;;
 
879
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
880
    bindir=$ac_optarg ;;
 
881
 
 
882
  -build | --build | --buil | --bui | --bu)
 
883
    ac_prev=build_alias ;;
 
884
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
885
    build_alias=$ac_optarg ;;
 
886
 
 
887
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
888
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
889
    ac_prev=cache_file ;;
 
890
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
891
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
892
    cache_file=$ac_optarg ;;
 
893
 
 
894
  --config-cache | -C)
 
895
    cache_file=config.cache ;;
 
896
 
 
897
  -datadir | --datadir | --datadi | --datad)
 
898
    ac_prev=datadir ;;
 
899
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
900
    datadir=$ac_optarg ;;
 
901
 
 
902
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
903
  | --dataroo | --dataro | --datar)
 
904
    ac_prev=datarootdir ;;
 
905
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
906
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
907
    datarootdir=$ac_optarg ;;
 
908
 
 
909
  -disable-* | --disable-*)
 
910
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
911
    # Reject names that are not valid shell variable names.
 
912
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
913
      as_fn_error $? "invalid feature name: $ac_useropt"
 
914
    ac_useropt_orig=$ac_useropt
 
915
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
916
    case $ac_user_opts in
 
917
      *"
 
918
"enable_$ac_useropt"
 
919
"*) ;;
 
920
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
921
         ac_unrecognized_sep=', ';;
 
922
    esac
 
923
    eval enable_$ac_useropt=no ;;
 
924
 
 
925
  -docdir | --docdir | --docdi | --doc | --do)
 
926
    ac_prev=docdir ;;
 
927
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
928
    docdir=$ac_optarg ;;
 
929
 
 
930
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
931
    ac_prev=dvidir ;;
 
932
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
933
    dvidir=$ac_optarg ;;
 
934
 
 
935
  -enable-* | --enable-*)
 
936
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
937
    # Reject names that are not valid shell variable names.
 
938
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
939
      as_fn_error $? "invalid feature name: $ac_useropt"
 
940
    ac_useropt_orig=$ac_useropt
 
941
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
942
    case $ac_user_opts in
 
943
      *"
 
944
"enable_$ac_useropt"
 
945
"*) ;;
 
946
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
947
         ac_unrecognized_sep=', ';;
 
948
    esac
 
949
    eval enable_$ac_useropt=\$ac_optarg ;;
 
950
 
 
951
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
952
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
953
  | --exec | --exe | --ex)
 
954
    ac_prev=exec_prefix ;;
 
955
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
956
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
957
  | --exec=* | --exe=* | --ex=*)
 
958
    exec_prefix=$ac_optarg ;;
 
959
 
 
960
  -gas | --gas | --ga | --g)
 
961
    # Obsolete; use --with-gas.
 
962
    with_gas=yes ;;
 
963
 
 
964
  -help | --help | --hel | --he | -h)
 
965
    ac_init_help=long ;;
 
966
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
967
    ac_init_help=recursive ;;
 
968
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
969
    ac_init_help=short ;;
 
970
 
 
971
  -host | --host | --hos | --ho)
 
972
    ac_prev=host_alias ;;
 
973
  -host=* | --host=* | --hos=* | --ho=*)
 
974
    host_alias=$ac_optarg ;;
 
975
 
 
976
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
977
    ac_prev=htmldir ;;
 
978
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
979
  | --ht=*)
 
980
    htmldir=$ac_optarg ;;
 
981
 
 
982
  -includedir | --includedir | --includedi | --included | --include \
 
983
  | --includ | --inclu | --incl | --inc)
 
984
    ac_prev=includedir ;;
 
985
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
986
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
987
    includedir=$ac_optarg ;;
 
988
 
 
989
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
990
    ac_prev=infodir ;;
 
991
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
992
    infodir=$ac_optarg ;;
 
993
 
 
994
  -libdir | --libdir | --libdi | --libd)
 
995
    ac_prev=libdir ;;
 
996
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
997
    libdir=$ac_optarg ;;
 
998
 
 
999
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1000
  | --libexe | --libex | --libe)
 
1001
    ac_prev=libexecdir ;;
 
1002
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1003
  | --libexe=* | --libex=* | --libe=*)
 
1004
    libexecdir=$ac_optarg ;;
 
1005
 
 
1006
  -localedir | --localedir | --localedi | --localed | --locale)
 
1007
    ac_prev=localedir ;;
 
1008
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1009
    localedir=$ac_optarg ;;
 
1010
 
 
1011
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1012
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1013
    ac_prev=localstatedir ;;
 
1014
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1015
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1016
    localstatedir=$ac_optarg ;;
 
1017
 
 
1018
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1019
    ac_prev=mandir ;;
 
1020
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1021
    mandir=$ac_optarg ;;
 
1022
 
 
1023
  -nfp | --nfp | --nf)
 
1024
    # Obsolete; use --without-fp.
 
1025
    with_fp=no ;;
 
1026
 
 
1027
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1028
  | --no-cr | --no-c | -n)
 
1029
    no_create=yes ;;
 
1030
 
 
1031
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1032
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1033
    no_recursion=yes ;;
 
1034
 
 
1035
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1036
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1037
  | --oldin | --oldi | --old | --ol | --o)
 
1038
    ac_prev=oldincludedir ;;
 
1039
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1040
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1041
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1042
    oldincludedir=$ac_optarg ;;
 
1043
 
 
1044
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1045
    ac_prev=prefix ;;
 
1046
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1047
    prefix=$ac_optarg ;;
 
1048
 
 
1049
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1050
  | --program-pre | --program-pr | --program-p)
 
1051
    ac_prev=program_prefix ;;
 
1052
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1053
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1054
    program_prefix=$ac_optarg ;;
 
1055
 
 
1056
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1057
  | --program-suf | --program-su | --program-s)
 
1058
    ac_prev=program_suffix ;;
 
1059
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1060
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1061
    program_suffix=$ac_optarg ;;
 
1062
 
 
1063
  -program-transform-name | --program-transform-name \
 
1064
  | --program-transform-nam | --program-transform-na \
 
1065
  | --program-transform-n | --program-transform- \
 
1066
  | --program-transform | --program-transfor \
 
1067
  | --program-transfo | --program-transf \
 
1068
  | --program-trans | --program-tran \
 
1069
  | --progr-tra | --program-tr | --program-t)
 
1070
    ac_prev=program_transform_name ;;
 
1071
  -program-transform-name=* | --program-transform-name=* \
 
1072
  | --program-transform-nam=* | --program-transform-na=* \
 
1073
  | --program-transform-n=* | --program-transform-=* \
 
1074
  | --program-transform=* | --program-transfor=* \
 
1075
  | --program-transfo=* | --program-transf=* \
 
1076
  | --program-trans=* | --program-tran=* \
 
1077
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1078
    program_transform_name=$ac_optarg ;;
 
1079
 
 
1080
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1081
    ac_prev=pdfdir ;;
 
1082
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1083
    pdfdir=$ac_optarg ;;
 
1084
 
 
1085
  -psdir | --psdir | --psdi | --psd | --ps)
 
1086
    ac_prev=psdir ;;
 
1087
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1088
    psdir=$ac_optarg ;;
 
1089
 
 
1090
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1091
  | -silent | --silent | --silen | --sile | --sil)
 
1092
    silent=yes ;;
 
1093
 
 
1094
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1095
    ac_prev=sbindir ;;
 
1096
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1097
  | --sbi=* | --sb=*)
 
1098
    sbindir=$ac_optarg ;;
 
1099
 
 
1100
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1101
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1102
  | --sharedst | --shareds | --shared | --share | --shar \
 
1103
  | --sha | --sh)
 
1104
    ac_prev=sharedstatedir ;;
 
1105
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1106
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1107
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1108
  | --sha=* | --sh=*)
 
1109
    sharedstatedir=$ac_optarg ;;
 
1110
 
 
1111
  -site | --site | --sit)
 
1112
    ac_prev=site ;;
 
1113
  -site=* | --site=* | --sit=*)
 
1114
    site=$ac_optarg ;;
 
1115
 
 
1116
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1117
    ac_prev=srcdir ;;
 
1118
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1119
    srcdir=$ac_optarg ;;
 
1120
 
 
1121
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1122
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1123
    ac_prev=sysconfdir ;;
 
1124
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1125
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1126
    sysconfdir=$ac_optarg ;;
 
1127
 
 
1128
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1129
    ac_prev=target_alias ;;
 
1130
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1131
    target_alias=$ac_optarg ;;
 
1132
 
 
1133
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1134
    verbose=yes ;;
 
1135
 
 
1136
  -version | --version | --versio | --versi | --vers | -V)
 
1137
    ac_init_version=: ;;
 
1138
 
 
1139
  -with-* | --with-*)
 
1140
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1141
    # Reject names that are not valid shell variable names.
 
1142
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1143
      as_fn_error $? "invalid package name: $ac_useropt"
 
1144
    ac_useropt_orig=$ac_useropt
 
1145
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1146
    case $ac_user_opts in
 
1147
      *"
 
1148
"with_$ac_useropt"
 
1149
"*) ;;
 
1150
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1151
         ac_unrecognized_sep=', ';;
 
1152
    esac
 
1153
    eval with_$ac_useropt=\$ac_optarg ;;
 
1154
 
 
1155
  -without-* | --without-*)
 
1156
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1157
    # Reject names that are not valid shell variable names.
 
1158
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1159
      as_fn_error $? "invalid package name: $ac_useropt"
 
1160
    ac_useropt_orig=$ac_useropt
 
1161
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1162
    case $ac_user_opts in
 
1163
      *"
 
1164
"with_$ac_useropt"
 
1165
"*) ;;
 
1166
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1167
         ac_unrecognized_sep=', ';;
 
1168
    esac
 
1169
    eval with_$ac_useropt=no ;;
 
1170
 
 
1171
  --x)
 
1172
    # Obsolete; use --with-x.
 
1173
    with_x=yes ;;
 
1174
 
 
1175
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1176
  | --x-incl | --x-inc | --x-in | --x-i)
 
1177
    ac_prev=x_includes ;;
 
1178
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1179
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1180
    x_includes=$ac_optarg ;;
 
1181
 
 
1182
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1183
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1184
    ac_prev=x_libraries ;;
 
1185
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1186
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1187
    x_libraries=$ac_optarg ;;
 
1188
 
 
1189
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1190
Try \`$0 --help' for more information"
 
1191
    ;;
 
1192
 
 
1193
  *=*)
 
1194
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1195
    # Reject names that are not valid shell variable names.
 
1196
    case $ac_envvar in #(
 
1197
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1198
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1199
    esac
 
1200
    eval $ac_envvar=\$ac_optarg
 
1201
    export $ac_envvar ;;
 
1202
 
 
1203
  *)
 
1204
    # FIXME: should be removed in autoconf 3.0.
 
1205
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1206
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1207
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1208
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
1209
    ;;
 
1210
 
 
1211
  esac
 
1212
done
 
1213
 
 
1214
if test -n "$ac_prev"; then
 
1215
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1216
  as_fn_error $? "missing argument to $ac_option"
 
1217
fi
 
1218
 
 
1219
if test -n "$ac_unrecognized_opts"; then
 
1220
  case $enable_option_checking in
 
1221
    no) ;;
 
1222
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1223
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1224
  esac
 
1225
fi
 
1226
 
 
1227
# Check all directory arguments for consistency.
 
1228
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1229
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1230
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1231
                libdir localedir mandir
 
1232
do
 
1233
  eval ac_val=\$$ac_var
 
1234
  # Remove trailing slashes.
 
1235
  case $ac_val in
 
1236
    */ )
 
1237
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1238
      eval $ac_var=\$ac_val;;
 
1239
  esac
 
1240
  # Be sure to have absolute directory names.
 
1241
  case $ac_val in
 
1242
    [\\/$]* | ?:[\\/]* )  continue;;
 
1243
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1244
  esac
 
1245
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1246
done
 
1247
 
 
1248
# There might be people who depend on the old broken behavior: `$host'
 
1249
# used to hold the argument of --host etc.
 
1250
# FIXME: To remove some day.
 
1251
build=$build_alias
 
1252
host=$host_alias
 
1253
target=$target_alias
 
1254
 
 
1255
# FIXME: To remove some day.
 
1256
if test "x$host_alias" != x; then
 
1257
  if test "x$build_alias" = x; then
 
1258
    cross_compiling=maybe
 
1259
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1260
    If a cross compiler is detected then cross compile mode will be used" >&2
 
1261
  elif test "x$build_alias" != "x$host_alias"; then
 
1262
    cross_compiling=yes
 
1263
  fi
 
1264
fi
 
1265
 
 
1266
ac_tool_prefix=
 
1267
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1268
 
 
1269
test "$silent" = yes && exec 6>/dev/null
 
1270
 
 
1271
 
 
1272
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1273
ac_ls_di=`ls -di .` &&
 
1274
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1275
  as_fn_error $? "working directory cannot be determined"
 
1276
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1277
  as_fn_error $? "pwd does not report name of working directory"
 
1278
 
 
1279
 
 
1280
# Find the source files, if location was not specified.
 
1281
if test -z "$srcdir"; then
 
1282
  ac_srcdir_defaulted=yes
 
1283
  # Try the directory containing this script, then the parent directory.
 
1284
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1285
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1286
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1287
         X"$as_myself" : 'X\(//\)$' \| \
 
1288
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1289
$as_echo X"$as_myself" |
 
1290
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1291
            s//\1/
 
1292
            q
 
1293
          }
 
1294
          /^X\(\/\/\)[^/].*/{
 
1295
            s//\1/
 
1296
            q
 
1297
          }
 
1298
          /^X\(\/\/\)$/{
 
1299
            s//\1/
 
1300
            q
 
1301
          }
 
1302
          /^X\(\/\).*/{
 
1303
            s//\1/
 
1304
            q
 
1305
          }
 
1306
          s/.*/./; q'`
 
1307
  srcdir=$ac_confdir
 
1308
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1309
    srcdir=..
 
1310
  fi
 
1311
else
 
1312
  ac_srcdir_defaulted=no
 
1313
fi
 
1314
if test ! -r "$srcdir/$ac_unique_file"; then
 
1315
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1316
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1317
fi
 
1318
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1319
ac_abs_confdir=`(
 
1320
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1321
        pwd)`
 
1322
# When building in place, set srcdir=.
 
1323
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1324
  srcdir=.
 
1325
fi
 
1326
# Remove unnecessary trailing slashes from srcdir.
 
1327
# Double slashes in file names in object file debugging info
 
1328
# mess up M-x gdb in Emacs.
 
1329
case $srcdir in
 
1330
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1331
esac
 
1332
for ac_var in $ac_precious_vars; do
 
1333
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1334
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1335
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1336
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1337
done
 
1338
 
 
1339
#
 
1340
# Report the --help message.
 
1341
#
 
1342
if test "$ac_init_help" = "long"; then
 
1343
  # Omit some internal or obsolete options to make the list less imposing.
 
1344
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1345
  cat <<_ACEOF
 
1346
\`configure' configures this package to adapt to many kinds of systems.
 
1347
 
 
1348
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1349
 
 
1350
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1351
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1352
 
 
1353
Defaults for the options are specified in brackets.
 
1354
 
 
1355
Configuration:
 
1356
  -h, --help              display this help and exit
 
1357
      --help=short        display options specific to this package
 
1358
      --help=recursive    display the short help of all the included packages
 
1359
  -V, --version           display version information and exit
 
1360
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1361
      --cache-file=FILE   cache test results in FILE [disabled]
 
1362
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1363
  -n, --no-create         do not create output files
 
1364
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1365
 
 
1366
Installation directories:
 
1367
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1368
                          [$ac_default_prefix]
 
1369
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1370
                          [PREFIX]
 
1371
 
 
1372
By default, \`make install' will install all the files in
 
1373
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1374
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1375
for instance \`--prefix=\$HOME'.
 
1376
 
 
1377
For better control, use the options below.
 
1378
 
 
1379
Fine tuning of the installation directories:
 
1380
  --bindir=DIR            user executables [EPREFIX/bin]
 
1381
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1382
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1383
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1384
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1385
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1386
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1387
  --includedir=DIR        C header files [PREFIX/include]
 
1388
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1389
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1390
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1391
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1392
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1393
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1394
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 
1395
  --htmldir=DIR           html documentation [DOCDIR]
 
1396
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1397
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1398
  --psdir=DIR             ps documentation [DOCDIR]
 
1399
_ACEOF
 
1400
 
 
1401
  cat <<\_ACEOF
 
1402
 
 
1403
Program names:
 
1404
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1405
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1406
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1407
 
 
1408
X features:
 
1409
  --x-includes=DIR    X include files are in DIR
 
1410
  --x-libraries=DIR   X library files are in DIR
 
1411
 
 
1412
System types:
 
1413
  --build=BUILD     configure for building on BUILD [guessed]
 
1414
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1415
_ACEOF
 
1416
fi
 
1417
 
 
1418
if test -n "$ac_init_help"; then
 
1419
 
 
1420
  cat <<\_ACEOF
 
1421
 
 
1422
Optional Features:
 
1423
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1424
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1425
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1426
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1427
  --enable-static[=PKGS]  build static libraries [default=yes]
 
1428
  --enable-fast-install[=PKGS]
 
1429
                          optimize for fast installation [default=yes]
 
1430
  --disable-dependency-tracking  speeds up one-time build
 
1431
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1432
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1433
  --disable-nls           do not use Native Language Support
 
1434
  --disable-rpath         do not hardcode runtime library paths
 
1435
 
 
1436
Optional Packages:
 
1437
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1438
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1439
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1440
                          both]
 
1441
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1442
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1443
                        (or the compiler's sysroot if not specified).
 
1444
  --with-x                use the X Window System
 
1445
  --without-appindicator        Compile without AppIndicator library support
 
1446
  --without-gconf       Compile without GConf support
 
1447
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
 
1448
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
 
1449
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
 
1450
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
 
1451
  --without-libintl-prefix     don't search for libintl in includedir and libdir
 
1452
 
 
1453
Some influential environment variables:
 
1454
  CC          C compiler command
 
1455
  CFLAGS      C compiler flags
 
1456
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1457
              nonstandard directory <lib dir>
 
1458
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1459
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1460
              you have headers in a nonstandard directory <include dir>
 
1461
  CPP         C preprocessor
 
1462
  PKG_CONFIG  path to pkg-config utility
 
1463
  XNEURCONF_CFLAGS
 
1464
              C compiler flags for XNEURCONF, overriding pkg-config
 
1465
  XNEURCONF_LIBS
 
1466
              linker flags for XNEURCONF, overriding pkg-config
 
1467
  XNEURLIB_CFLAGS
 
1468
              C compiler flags for XNEURLIB, overriding pkg-config
 
1469
  XNEURLIB_LIBS
 
1470
              linker flags for XNEURLIB, overriding pkg-config
 
1471
  X11_CFLAGS  C compiler flags for X11, overriding pkg-config
 
1472
  X11_LIBS    linker flags for X11, overriding pkg-config
 
1473
  XMKMF       Path to xmkmf, Makefile generator for X Window System
 
1474
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
 
1475
  GTK_LIBS    linker flags for GTK, overriding pkg-config
 
1476
  APP_INDICATOR_CFLAGS
 
1477
              C compiler flags for APP_INDICATOR, overriding pkg-config
 
1478
  APP_INDICATOR_LIBS
 
1479
              linker flags for APP_INDICATOR, overriding pkg-config
 
1480
  GLADE_CFLAGS
 
1481
              C compiler flags for GLADE, overriding pkg-config
 
1482
  GLADE_LIBS  linker flags for GLADE, overriding pkg-config
 
1483
  GCONF_CFLAGS
 
1484
              C compiler flags for GCONF, overriding pkg-config
 
1485
  GCONF_LIBS  linker flags for GCONF, overriding pkg-config
 
1486
 
 
1487
Use these variables to override the choices made by `configure' or to help
 
1488
it to find libraries and programs with nonstandard names/locations.
 
1489
 
 
1490
Report bugs to the package provider.
 
1491
_ACEOF
 
1492
ac_status=$?
 
1493
fi
 
1494
 
 
1495
if test "$ac_init_help" = "recursive"; then
 
1496
  # If there are subdirs, report their specific --help.
 
1497
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1498
    test -d "$ac_dir" ||
 
1499
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1500
      continue
 
1501
    ac_builddir=.
 
1502
 
 
1503
case "$ac_dir" in
 
1504
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1505
*)
 
1506
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1507
  # A ".." for each directory in $ac_dir_suffix.
 
1508
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1509
  case $ac_top_builddir_sub in
 
1510
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1511
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1512
  esac ;;
 
1513
esac
 
1514
ac_abs_top_builddir=$ac_pwd
 
1515
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1516
# for backward compatibility:
 
1517
ac_top_builddir=$ac_top_build_prefix
 
1518
 
 
1519
case $srcdir in
 
1520
  .)  # We are building in place.
 
1521
    ac_srcdir=.
 
1522
    ac_top_srcdir=$ac_top_builddir_sub
 
1523
    ac_abs_top_srcdir=$ac_pwd ;;
 
1524
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1525
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1526
    ac_top_srcdir=$srcdir
 
1527
    ac_abs_top_srcdir=$srcdir ;;
 
1528
  *) # Relative name.
 
1529
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1530
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1531
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1532
esac
 
1533
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1534
 
 
1535
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1536
    # Check for guested configure.
 
1537
    if test -f "$ac_srcdir/configure.gnu"; then
 
1538
      echo &&
 
1539
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1540
    elif test -f "$ac_srcdir/configure"; then
 
1541
      echo &&
 
1542
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1543
    else
 
1544
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1545
    fi || ac_status=$?
 
1546
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1547
  done
 
1548
fi
 
1549
 
 
1550
test -n "$ac_init_help" && exit $ac_status
 
1551
if $ac_init_version; then
 
1552
  cat <<\_ACEOF
 
1553
configure
 
1554
generated by GNU Autoconf 2.68
 
1555
 
 
1556
Copyright (C) 2010 Free Software Foundation, Inc.
 
1557
This configure script is free software; the Free Software Foundation
 
1558
gives unlimited permission to copy, distribute and modify it.
 
1559
_ACEOF
 
1560
  exit
 
1561
fi
 
1562
 
 
1563
## ------------------------ ##
 
1564
## Autoconf initialization. ##
 
1565
## ------------------------ ##
 
1566
 
 
1567
# ac_fn_c_try_compile LINENO
 
1568
# --------------------------
 
1569
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1570
ac_fn_c_try_compile ()
 
1571
{
 
1572
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1573
  rm -f conftest.$ac_objext
 
1574
  if { { ac_try="$ac_compile"
 
1575
case "(($ac_try" in
 
1576
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1577
  *) ac_try_echo=$ac_try;;
 
1578
esac
 
1579
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1580
$as_echo "$ac_try_echo"; } >&5
 
1581
  (eval "$ac_compile") 2>conftest.err
 
1582
  ac_status=$?
 
1583
  if test -s conftest.err; then
 
1584
    grep -v '^ *+' conftest.err >conftest.er1
 
1585
    cat conftest.er1 >&5
 
1586
    mv -f conftest.er1 conftest.err
 
1587
  fi
 
1588
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1589
  test $ac_status = 0; } && {
 
1590
         test -z "$ac_c_werror_flag" ||
 
1591
         test ! -s conftest.err
 
1592
       } && test -s conftest.$ac_objext; then :
 
1593
  ac_retval=0
 
1594
else
 
1595
  $as_echo "$as_me: failed program was:" >&5
 
1596
sed 's/^/| /' conftest.$ac_ext >&5
 
1597
 
 
1598
        ac_retval=1
 
1599
fi
 
1600
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1601
  as_fn_set_status $ac_retval
 
1602
 
 
1603
} # ac_fn_c_try_compile
 
1604
 
 
1605
# ac_fn_c_try_link LINENO
 
1606
# -----------------------
 
1607
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1608
ac_fn_c_try_link ()
 
1609
{
 
1610
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1611
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1612
  if { { ac_try="$ac_link"
 
1613
case "(($ac_try" in
 
1614
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1615
  *) ac_try_echo=$ac_try;;
 
1616
esac
 
1617
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1618
$as_echo "$ac_try_echo"; } >&5
 
1619
  (eval "$ac_link") 2>conftest.err
 
1620
  ac_status=$?
 
1621
  if test -s conftest.err; then
 
1622
    grep -v '^ *+' conftest.err >conftest.er1
 
1623
    cat conftest.er1 >&5
 
1624
    mv -f conftest.er1 conftest.err
 
1625
  fi
 
1626
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1627
  test $ac_status = 0; } && {
 
1628
         test -z "$ac_c_werror_flag" ||
 
1629
         test ! -s conftest.err
 
1630
       } && test -s conftest$ac_exeext && {
 
1631
         test "$cross_compiling" = yes ||
 
1632
         $as_test_x conftest$ac_exeext
 
1633
       }; then :
 
1634
  ac_retval=0
 
1635
else
 
1636
  $as_echo "$as_me: failed program was:" >&5
 
1637
sed 's/^/| /' conftest.$ac_ext >&5
 
1638
 
 
1639
        ac_retval=1
 
1640
fi
 
1641
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1642
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1643
  # interfere with the next link command; also delete a directory that is
 
1644
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1645
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1646
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1647
  as_fn_set_status $ac_retval
 
1648
 
 
1649
} # ac_fn_c_try_link
 
1650
 
 
1651
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1652
# -------------------------------------------------------
 
1653
# Tests whether HEADER exists and can be compiled using the include files in
 
1654
# INCLUDES, setting the cache variable VAR accordingly.
 
1655
ac_fn_c_check_header_compile ()
 
1656
{
 
1657
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1658
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1659
$as_echo_n "checking for $2... " >&6; }
 
1660
if eval \${$3+:} false; then :
 
1661
  $as_echo_n "(cached) " >&6
 
1662
else
 
1663
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1664
/* end confdefs.h.  */
 
1665
$4
 
1666
#include <$2>
 
1667
_ACEOF
 
1668
if ac_fn_c_try_compile "$LINENO"; then :
 
1669
  eval "$3=yes"
 
1670
else
 
1671
  eval "$3=no"
 
1672
fi
 
1673
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1674
fi
 
1675
eval ac_res=\$$3
 
1676
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1677
$as_echo "$ac_res" >&6; }
 
1678
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1679
 
 
1680
} # ac_fn_c_check_header_compile
 
1681
 
 
1682
# ac_fn_c_try_cpp LINENO
 
1683
# ----------------------
 
1684
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1685
ac_fn_c_try_cpp ()
 
1686
{
 
1687
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1688
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1689
case "(($ac_try" in
 
1690
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1691
  *) ac_try_echo=$ac_try;;
 
1692
esac
 
1693
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1694
$as_echo "$ac_try_echo"; } >&5
 
1695
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1696
  ac_status=$?
 
1697
  if test -s conftest.err; then
 
1698
    grep -v '^ *+' conftest.err >conftest.er1
 
1699
    cat conftest.er1 >&5
 
1700
    mv -f conftest.er1 conftest.err
 
1701
  fi
 
1702
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1703
  test $ac_status = 0; } > conftest.i && {
 
1704
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1705
         test ! -s conftest.err
 
1706
       }; then :
 
1707
  ac_retval=0
 
1708
else
 
1709
  $as_echo "$as_me: failed program was:" >&5
 
1710
sed 's/^/| /' conftest.$ac_ext >&5
 
1711
 
 
1712
    ac_retval=1
 
1713
fi
 
1714
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1715
  as_fn_set_status $ac_retval
 
1716
 
 
1717
} # ac_fn_c_try_cpp
 
1718
 
 
1719
# ac_fn_c_try_run LINENO
 
1720
# ----------------------
 
1721
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1722
# that executables *can* be run.
 
1723
ac_fn_c_try_run ()
 
1724
{
 
1725
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1726
  if { { ac_try="$ac_link"
 
1727
case "(($ac_try" in
 
1728
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1729
  *) ac_try_echo=$ac_try;;
 
1730
esac
 
1731
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1732
$as_echo "$ac_try_echo"; } >&5
 
1733
  (eval "$ac_link") 2>&5
 
1734
  ac_status=$?
 
1735
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1736
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1737
  { { case "(($ac_try" in
 
1738
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1739
  *) ac_try_echo=$ac_try;;
 
1740
esac
 
1741
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1742
$as_echo "$ac_try_echo"; } >&5
 
1743
  (eval "$ac_try") 2>&5
 
1744
  ac_status=$?
 
1745
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1746
  test $ac_status = 0; }; }; then :
 
1747
  ac_retval=0
 
1748
else
 
1749
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1750
       $as_echo "$as_me: failed program was:" >&5
 
1751
sed 's/^/| /' conftest.$ac_ext >&5
 
1752
 
 
1753
       ac_retval=$ac_status
 
1754
fi
 
1755
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1756
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1757
  as_fn_set_status $ac_retval
 
1758
 
 
1759
} # ac_fn_c_try_run
 
1760
 
 
1761
# ac_fn_c_check_func LINENO FUNC VAR
 
1762
# ----------------------------------
 
1763
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1764
ac_fn_c_check_func ()
 
1765
{
 
1766
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1767
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1768
$as_echo_n "checking for $2... " >&6; }
 
1769
if eval \${$3+:} false; then :
 
1770
  $as_echo_n "(cached) " >&6
 
1771
else
 
1772
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1773
/* end confdefs.h.  */
 
1774
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1775
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1776
#define $2 innocuous_$2
 
1777
 
 
1778
/* System header to define __stub macros and hopefully few prototypes,
 
1779
    which can conflict with char $2 (); below.
 
1780
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1781
    <limits.h> exists even on freestanding compilers.  */
 
1782
 
 
1783
#ifdef __STDC__
 
1784
# include <limits.h>
 
1785
#else
 
1786
# include <assert.h>
 
1787
#endif
 
1788
 
 
1789
#undef $2
 
1790
 
 
1791
/* Override any GCC internal prototype to avoid an error.
 
1792
   Use char because int might match the return type of a GCC
 
1793
   builtin and then its argument prototype would still apply.  */
 
1794
#ifdef __cplusplus
 
1795
extern "C"
 
1796
#endif
 
1797
char $2 ();
 
1798
/* The GNU C library defines this for functions which it implements
 
1799
    to always fail with ENOSYS.  Some functions are actually named
 
1800
    something starting with __ and the normal name is an alias.  */
 
1801
#if defined __stub_$2 || defined __stub___$2
 
1802
choke me
 
1803
#endif
 
1804
 
 
1805
int
 
1806
main ()
 
1807
{
 
1808
return $2 ();
 
1809
  ;
 
1810
  return 0;
 
1811
}
 
1812
_ACEOF
 
1813
if ac_fn_c_try_link "$LINENO"; then :
 
1814
  eval "$3=yes"
 
1815
else
 
1816
  eval "$3=no"
 
1817
fi
 
1818
rm -f core conftest.err conftest.$ac_objext \
 
1819
    conftest$ac_exeext conftest.$ac_ext
 
1820
fi
 
1821
eval ac_res=\$$3
 
1822
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1823
$as_echo "$ac_res" >&6; }
 
1824
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1825
 
 
1826
} # ac_fn_c_check_func
 
1827
cat >config.log <<_ACEOF
 
1828
This file contains any messages produced by compilers while
 
1829
running configure, to aid debugging if configure makes a mistake.
 
1830
 
 
1831
It was created by $as_me, which was
 
1832
generated by GNU Autoconf 2.68.  Invocation command line was
 
1833
 
 
1834
  $ $0 $@
 
1835
 
 
1836
_ACEOF
 
1837
exec 5>>config.log
 
1838
{
 
1839
cat <<_ASUNAME
 
1840
## --------- ##
 
1841
## Platform. ##
 
1842
## --------- ##
 
1843
 
 
1844
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1845
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1846
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1847
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1848
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1849
 
 
1850
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1851
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1852
 
 
1853
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1854
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1855
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1856
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1857
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1858
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1859
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1860
 
 
1861
_ASUNAME
 
1862
 
 
1863
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1864
for as_dir in $PATH
 
1865
do
 
1866
  IFS=$as_save_IFS
 
1867
  test -z "$as_dir" && as_dir=.
 
1868
    $as_echo "PATH: $as_dir"
 
1869
  done
 
1870
IFS=$as_save_IFS
 
1871
 
 
1872
} >&5
 
1873
 
 
1874
cat >&5 <<_ACEOF
 
1875
 
 
1876
 
 
1877
## ----------- ##
 
1878
## Core tests. ##
 
1879
## ----------- ##
 
1880
 
 
1881
_ACEOF
 
1882
 
 
1883
 
 
1884
# Keep a trace of the command line.
 
1885
# Strip out --no-create and --no-recursion so they do not pile up.
 
1886
# Strip out --silent because we don't want to record it for future runs.
 
1887
# Also quote any args containing shell meta-characters.
 
1888
# Make two passes to allow for proper duplicate-argument suppression.
 
1889
ac_configure_args=
 
1890
ac_configure_args0=
 
1891
ac_configure_args1=
 
1892
ac_must_keep_next=false
 
1893
for ac_pass in 1 2
 
1894
do
 
1895
  for ac_arg
 
1896
  do
 
1897
    case $ac_arg in
 
1898
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1899
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1900
    | -silent | --silent | --silen | --sile | --sil)
 
1901
      continue ;;
 
1902
    *\'*)
 
1903
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1904
    esac
 
1905
    case $ac_pass in
 
1906
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
1907
    2)
 
1908
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
1909
      if test $ac_must_keep_next = true; then
 
1910
        ac_must_keep_next=false # Got value, back to normal.
 
1911
      else
 
1912
        case $ac_arg in
 
1913
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1914
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1915
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1916
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1917
            case "$ac_configure_args0 " in
 
1918
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1919
            esac
 
1920
            ;;
 
1921
          -* ) ac_must_keep_next=true ;;
 
1922
        esac
 
1923
      fi
 
1924
      as_fn_append ac_configure_args " '$ac_arg'"
 
1925
      ;;
 
1926
    esac
 
1927
  done
 
1928
done
 
1929
{ ac_configure_args0=; unset ac_configure_args0;}
 
1930
{ ac_configure_args1=; unset ac_configure_args1;}
 
1931
 
 
1932
# When interrupted or exit'd, cleanup temporary files, and complete
 
1933
# config.log.  We remove comments because anyway the quotes in there
 
1934
# would cause problems or look ugly.
 
1935
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1936
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
1937
trap 'exit_status=$?
 
1938
  # Save into config.log some information that might help in debugging.
 
1939
  {
 
1940
    echo
 
1941
 
 
1942
    $as_echo "## ---------------- ##
 
1943
## Cache variables. ##
 
1944
## ---------------- ##"
 
1945
    echo
 
1946
    # The following way of writing the cache mishandles newlines in values,
 
1947
(
 
1948
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1949
    eval ac_val=\$$ac_var
 
1950
    case $ac_val in #(
 
1951
    *${as_nl}*)
 
1952
      case $ac_var in #(
 
1953
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
1954
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
1955
      esac
 
1956
      case $ac_var in #(
 
1957
      _ | IFS | as_nl) ;; #(
 
1958
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1959
      *) { eval $ac_var=; unset $ac_var;} ;;
 
1960
      esac ;;
 
1961
    esac
 
1962
  done
 
1963
  (set) 2>&1 |
 
1964
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1965
    *${as_nl}ac_space=\ *)
 
1966
      sed -n \
 
1967
        "s/'\''/'\''\\\\'\'''\''/g;
 
1968
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1969
      ;; #(
 
1970
    *)
 
1971
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
1972
      ;;
 
1973
    esac |
 
1974
    sort
 
1975
)
 
1976
    echo
 
1977
 
 
1978
    $as_echo "## ----------------- ##
 
1979
## Output variables. ##
 
1980
## ----------------- ##"
 
1981
    echo
 
1982
    for ac_var in $ac_subst_vars
 
1983
    do
 
1984
      eval ac_val=\$$ac_var
 
1985
      case $ac_val in
 
1986
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1987
      esac
 
1988
      $as_echo "$ac_var='\''$ac_val'\''"
 
1989
    done | sort
 
1990
    echo
 
1991
 
 
1992
    if test -n "$ac_subst_files"; then
 
1993
      $as_echo "## ------------------- ##
 
1994
## File substitutions. ##
 
1995
## ------------------- ##"
 
1996
      echo
 
1997
      for ac_var in $ac_subst_files
 
1998
      do
 
1999
        eval ac_val=\$$ac_var
 
2000
        case $ac_val in
 
2001
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2002
        esac
 
2003
        $as_echo "$ac_var='\''$ac_val'\''"
 
2004
      done | sort
 
2005
      echo
 
2006
    fi
 
2007
 
 
2008
    if test -s confdefs.h; then
 
2009
      $as_echo "## ----------- ##
 
2010
## confdefs.h. ##
 
2011
## ----------- ##"
 
2012
      echo
 
2013
      cat confdefs.h
 
2014
      echo
 
2015
    fi
 
2016
    test "$ac_signal" != 0 &&
 
2017
      $as_echo "$as_me: caught signal $ac_signal"
 
2018
    $as_echo "$as_me: exit $exit_status"
 
2019
  } >&5
 
2020
  rm -f core *.core core.conftest.* &&
 
2021
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2022
    exit $exit_status
 
2023
' 0
 
2024
for ac_signal in 1 2 13 15; do
 
2025
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2026
done
 
2027
ac_signal=0
 
2028
 
 
2029
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2030
rm -f -r conftest* confdefs.h
 
2031
 
 
2032
$as_echo "/* confdefs.h */" > confdefs.h
 
2033
 
 
2034
# Predefined preprocessor variables.
 
2035
 
 
2036
cat >>confdefs.h <<_ACEOF
 
2037
#define PACKAGE_NAME "$PACKAGE_NAME"
 
2038
_ACEOF
 
2039
 
 
2040
cat >>confdefs.h <<_ACEOF
 
2041
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2042
_ACEOF
 
2043
 
 
2044
cat >>confdefs.h <<_ACEOF
 
2045
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2046
_ACEOF
 
2047
 
 
2048
cat >>confdefs.h <<_ACEOF
 
2049
#define PACKAGE_STRING "$PACKAGE_STRING"
 
2050
_ACEOF
 
2051
 
 
2052
cat >>confdefs.h <<_ACEOF
 
2053
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2054
_ACEOF
 
2055
 
 
2056
cat >>confdefs.h <<_ACEOF
 
2057
#define PACKAGE_URL "$PACKAGE_URL"
 
2058
_ACEOF
 
2059
 
 
2060
 
 
2061
# Let the site file select an alternate cache file if it wants to.
 
2062
# Prefer an explicitly selected file to automatically selected ones.
 
2063
ac_site_file1=NONE
 
2064
ac_site_file2=NONE
 
2065
if test -n "$CONFIG_SITE"; then
 
2066
  # We do not want a PATH search for config.site.
 
2067
  case $CONFIG_SITE in #((
 
2068
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2069
    */*) ac_site_file1=$CONFIG_SITE;;
 
2070
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2071
  esac
 
2072
elif test "x$prefix" != xNONE; then
 
2073
  ac_site_file1=$prefix/share/config.site
 
2074
  ac_site_file2=$prefix/etc/config.site
 
2075
else
 
2076
  ac_site_file1=$ac_default_prefix/share/config.site
 
2077
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2078
fi
 
2079
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2080
do
 
2081
  test "x$ac_site_file" = xNONE && continue
 
2082
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2083
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2084
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2085
    sed 's/^/| /' "$ac_site_file" >&5
 
2086
    . "$ac_site_file" \
 
2087
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2088
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2089
as_fn_error $? "failed to load site script $ac_site_file
 
2090
See \`config.log' for more details" "$LINENO" 5; }
 
2091
  fi
 
2092
done
 
2093
 
 
2094
if test -r "$cache_file"; then
 
2095
  # Some versions of bash will fail to source /dev/null (special files
 
2096
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2097
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2098
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2099
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2100
    case $cache_file in
 
2101
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2102
      *)                      . "./$cache_file";;
 
2103
    esac
 
2104
  fi
 
2105
else
 
2106
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2107
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2108
  >$cache_file
 
2109
fi
 
2110
 
 
2111
gt_needs="$gt_needs "
 
2112
# Check that the precious variables saved in the cache have kept the same
 
2113
# value.
 
2114
ac_cache_corrupted=false
 
2115
for ac_var in $ac_precious_vars; do
 
2116
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2117
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2118
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2119
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2120
  case $ac_old_set,$ac_new_set in
 
2121
    set,)
 
2122
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2123
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2124
      ac_cache_corrupted=: ;;
 
2125
    ,set)
 
2126
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2127
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2128
      ac_cache_corrupted=: ;;
 
2129
    ,);;
 
2130
    *)
 
2131
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2132
        # differences in whitespace do not lead to failure.
 
2133
        ac_old_val_w=`echo x $ac_old_val`
 
2134
        ac_new_val_w=`echo x $ac_new_val`
 
2135
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2136
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2137
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2138
          ac_cache_corrupted=:
 
2139
        else
 
2140
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2141
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2142
          eval $ac_var=\$ac_old_val
 
2143
        fi
 
2144
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2145
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2146
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2147
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2148
      fi;;
 
2149
  esac
 
2150
  # Pass precious variables to config.status.
 
2151
  if test "$ac_new_set" = set; then
 
2152
    case $ac_new_val in
 
2153
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2154
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2155
    esac
 
2156
    case " $ac_configure_args " in
 
2157
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2158
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2159
    esac
 
2160
  fi
 
2161
done
 
2162
if $ac_cache_corrupted; then
 
2163
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2164
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2165
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2166
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2167
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2168
fi
 
2169
## -------------------- ##
 
2170
## Main body of script. ##
 
2171
## -------------------- ##
 
2172
 
 
2173
ac_ext=c
 
2174
ac_cpp='$CPP $CPPFLAGS'
 
2175
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2176
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2177
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2178
 
 
2179
 
 
2180
 
 
2181
ac_config_headers="$ac_config_headers config.h"
 
2182
 
 
2183
 
 
2184
 
 
2185
am__api_version='1.11'
 
2186
 
 
2187
ac_aux_dir=
 
2188
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2189
  if test -f "$ac_dir/install-sh"; then
 
2190
    ac_aux_dir=$ac_dir
 
2191
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2192
    break
 
2193
  elif test -f "$ac_dir/install.sh"; then
 
2194
    ac_aux_dir=$ac_dir
 
2195
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2196
    break
 
2197
  elif test -f "$ac_dir/shtool"; then
 
2198
    ac_aux_dir=$ac_dir
 
2199
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2200
    break
 
2201
  fi
 
2202
done
 
2203
if test -z "$ac_aux_dir"; then
 
2204
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2205
fi
 
2206
 
 
2207
# These three variables are undocumented and unsupported,
 
2208
# and are intended to be withdrawn in a future Autoconf release.
 
2209
# They can cause serious problems if a builder's source tree is in a directory
 
2210
# whose full name contains unusual characters.
 
2211
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2212
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2213
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2214
 
 
2215
 
 
2216
# Find a good install program.  We prefer a C program (faster),
 
2217
# so one script is as good as another.  But avoid the broken or
 
2218
# incompatible versions:
 
2219
# SysV /etc/install, /usr/sbin/install
 
2220
# SunOS /usr/etc/install
 
2221
# IRIX /sbin/install
 
2222
# AIX /bin/install
 
2223
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2224
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2225
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2226
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2227
# OS/2's system install, which has a completely different semantic
 
2228
# ./install, which can be erroneously created by make from ./install.sh.
 
2229
# Reject install programs that cannot install multiple files.
 
2230
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2231
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2232
if test -z "$INSTALL"; then
 
2233
if ${ac_cv_path_install+:} false; then :
 
2234
  $as_echo_n "(cached) " >&6
 
2235
else
 
2236
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2237
for as_dir in $PATH
 
2238
do
 
2239
  IFS=$as_save_IFS
 
2240
  test -z "$as_dir" && as_dir=.
 
2241
    # Account for people who put trailing slashes in PATH elements.
 
2242
case $as_dir/ in #((
 
2243
  ./ | .// | /[cC]/* | \
 
2244
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2245
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2246
  /usr/ucb/* ) ;;
 
2247
  *)
 
2248
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2249
    # Don't use installbsd from OSF since it installs stuff as root
 
2250
    # by default.
 
2251
    for ac_prog in ginstall scoinst install; do
 
2252
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2253
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2254
          if test $ac_prog = install &&
 
2255
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2256
            # AIX install.  It has an incompatible calling convention.
 
2257
            :
 
2258
          elif test $ac_prog = install &&
 
2259
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2260
            # program-specific install script used by HP pwplus--don't use.
 
2261
            :
 
2262
          else
 
2263
            rm -rf conftest.one conftest.two conftest.dir
 
2264
            echo one > conftest.one
 
2265
            echo two > conftest.two
 
2266
            mkdir conftest.dir
 
2267
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2268
              test -s conftest.one && test -s conftest.two &&
 
2269
              test -s conftest.dir/conftest.one &&
 
2270
              test -s conftest.dir/conftest.two
 
2271
            then
 
2272
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2273
              break 3
 
2274
            fi
 
2275
          fi
 
2276
        fi
 
2277
      done
 
2278
    done
 
2279
    ;;
 
2280
esac
 
2281
 
 
2282
  done
 
2283
IFS=$as_save_IFS
 
2284
 
 
2285
rm -rf conftest.one conftest.two conftest.dir
 
2286
 
 
2287
fi
 
2288
  if test "${ac_cv_path_install+set}" = set; then
 
2289
    INSTALL=$ac_cv_path_install
 
2290
  else
 
2291
    # As a last resort, use the slow shell script.  Don't cache a
 
2292
    # value for INSTALL within a source directory, because that will
 
2293
    # break other packages using the cache if that directory is
 
2294
    # removed, or if the value is a relative name.
 
2295
    INSTALL=$ac_install_sh
 
2296
  fi
 
2297
fi
 
2298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2299
$as_echo "$INSTALL" >&6; }
 
2300
 
 
2301
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2302
# It thinks the first close brace ends the variable substitution.
 
2303
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2304
 
 
2305
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2306
 
 
2307
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2308
 
 
2309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2310
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2311
# Just in case
 
2312
sleep 1
 
2313
echo timestamp > conftest.file
 
2314
# Reject unsafe characters in $srcdir or the absolute working directory
 
2315
# name.  Accept space and tab only in the latter.
 
2316
am_lf='
 
2317
'
 
2318
case `pwd` in
 
2319
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2320
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
2321
esac
 
2322
case $srcdir in
 
2323
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2324
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2325
esac
 
2326
 
 
2327
# Do `set' in a subshell so we don't clobber the current shell's
 
2328
# arguments.  Must try -L first in case configure is actually a
 
2329
# symlink; some systems play weird games with the mod time of symlinks
 
2330
# (eg FreeBSD returns the mod time of the symlink's containing
 
2331
# directory).
 
2332
if (
 
2333
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2334
   if test "$*" = "X"; then
 
2335
      # -L didn't work.
 
2336
      set X `ls -t "$srcdir/configure" conftest.file`
 
2337
   fi
 
2338
   rm -f conftest.file
 
2339
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2340
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2341
 
 
2342
      # If neither matched, then we have a broken ls.  This can happen
 
2343
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2344
      # broken ls alias from the environment.  This has actually
 
2345
      # happened.  Such a system could not be considered "sane".
 
2346
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2347
alias in your environment" "$LINENO" 5
 
2348
   fi
 
2349
 
 
2350
   test "$2" = conftest.file
 
2351
   )
 
2352
then
 
2353
   # Ok.
 
2354
   :
 
2355
else
 
2356
   as_fn_error $? "newly created file is older than distributed files!
 
2357
Check your system clock" "$LINENO" 5
 
2358
fi
 
2359
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2360
$as_echo "yes" >&6; }
 
2361
test "$program_prefix" != NONE &&
 
2362
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2363
# Use a double $ so make ignores it.
 
2364
test "$program_suffix" != NONE &&
 
2365
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2366
# Double any \ or $.
 
2367
# By default was `s,x,x', remove it if useless.
 
2368
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2369
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2370
 
 
2371
# expand $ac_aux_dir to an absolute path
 
2372
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2373
 
 
2374
if test x"${MISSING+set}" != xset; then
 
2375
  case $am_aux_dir in
 
2376
  *\ * | *\     *)
 
2377
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2378
  *)
 
2379
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2380
  esac
 
2381
fi
 
2382
# Use eval to expand $SHELL
 
2383
if eval "$MISSING --run true"; then
 
2384
  am_missing_run="$MISSING --run "
 
2385
else
 
2386
  am_missing_run=
 
2387
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2388
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2389
fi
 
2390
 
 
2391
if test x"${install_sh}" != xset; then
 
2392
  case $am_aux_dir in
 
2393
  *\ * | *\     *)
 
2394
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2395
  *)
 
2396
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2397
  esac
 
2398
fi
 
2399
 
 
2400
# Installed binaries are usually stripped using `strip' when the user
 
2401
# run `make install-strip'.  However `strip' might not be the right
 
2402
# tool to use in cross-compilation environments, therefore Automake
 
2403
# will honor the `STRIP' environment variable to overrule this program.
 
2404
if test "$cross_compiling" != no; then
 
2405
  if test -n "$ac_tool_prefix"; then
 
2406
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2407
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2409
$as_echo_n "checking for $ac_word... " >&6; }
 
2410
if ${ac_cv_prog_STRIP+:} false; then :
 
2411
  $as_echo_n "(cached) " >&6
 
2412
else
 
2413
  if test -n "$STRIP"; then
 
2414
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2415
else
 
2416
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2417
for as_dir in $PATH
 
2418
do
 
2419
  IFS=$as_save_IFS
 
2420
  test -z "$as_dir" && as_dir=.
 
2421
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2422
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2423
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2424
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2425
    break 2
 
2426
  fi
 
2427
done
 
2428
  done
 
2429
IFS=$as_save_IFS
 
2430
 
 
2431
fi
 
2432
fi
 
2433
STRIP=$ac_cv_prog_STRIP
 
2434
if test -n "$STRIP"; then
 
2435
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2436
$as_echo "$STRIP" >&6; }
 
2437
else
 
2438
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2439
$as_echo "no" >&6; }
 
2440
fi
 
2441
 
 
2442
 
 
2443
fi
 
2444
if test -z "$ac_cv_prog_STRIP"; then
 
2445
  ac_ct_STRIP=$STRIP
 
2446
  # Extract the first word of "strip", so it can be a program name with args.
 
2447
set dummy strip; ac_word=$2
 
2448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2449
$as_echo_n "checking for $ac_word... " >&6; }
 
2450
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
2451
  $as_echo_n "(cached) " >&6
 
2452
else
 
2453
  if test -n "$ac_ct_STRIP"; then
 
2454
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2455
else
 
2456
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2457
for as_dir in $PATH
 
2458
do
 
2459
  IFS=$as_save_IFS
 
2460
  test -z "$as_dir" && as_dir=.
 
2461
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2462
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2463
    ac_cv_prog_ac_ct_STRIP="strip"
 
2464
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2465
    break 2
 
2466
  fi
 
2467
done
 
2468
  done
 
2469
IFS=$as_save_IFS
 
2470
 
 
2471
fi
 
2472
fi
 
2473
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2474
if test -n "$ac_ct_STRIP"; then
 
2475
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2476
$as_echo "$ac_ct_STRIP" >&6; }
 
2477
else
 
2478
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2479
$as_echo "no" >&6; }
 
2480
fi
 
2481
 
 
2482
  if test "x$ac_ct_STRIP" = x; then
 
2483
    STRIP=":"
 
2484
  else
 
2485
    case $cross_compiling:$ac_tool_warned in
 
2486
yes:)
 
2487
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2488
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2489
ac_tool_warned=yes ;;
 
2490
esac
 
2491
    STRIP=$ac_ct_STRIP
 
2492
  fi
 
2493
else
 
2494
  STRIP="$ac_cv_prog_STRIP"
 
2495
fi
 
2496
 
 
2497
fi
 
2498
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2499
 
 
2500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2501
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2502
if test -z "$MKDIR_P"; then
 
2503
  if ${ac_cv_path_mkdir+:} false; then :
 
2504
  $as_echo_n "(cached) " >&6
 
2505
else
 
2506
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2507
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2508
do
 
2509
  IFS=$as_save_IFS
 
2510
  test -z "$as_dir" && as_dir=.
 
2511
    for ac_prog in mkdir gmkdir; do
 
2512
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2513
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2514
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2515
             'mkdir (GNU coreutils) '* | \
 
2516
             'mkdir (coreutils) '* | \
 
2517
             'mkdir (fileutils) '4.1*)
 
2518
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2519
               break 3;;
 
2520
           esac
 
2521
         done
 
2522
       done
 
2523
  done
 
2524
IFS=$as_save_IFS
 
2525
 
 
2526
fi
 
2527
 
 
2528
  test -d ./--version && rmdir ./--version
 
2529
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2530
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2531
  else
 
2532
    # As a last resort, use the slow shell script.  Don't cache a
 
2533
    # value for MKDIR_P within a source directory, because that will
 
2534
    # break other packages using the cache if that directory is
 
2535
    # removed, or if the value is a relative name.
 
2536
    MKDIR_P="$ac_install_sh -d"
 
2537
  fi
 
2538
fi
 
2539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2540
$as_echo "$MKDIR_P" >&6; }
 
2541
 
 
2542
mkdir_p="$MKDIR_P"
 
2543
case $mkdir_p in
 
2544
  [\\/$]* | ?:[\\/]*) ;;
 
2545
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2546
esac
 
2547
 
 
2548
for ac_prog in gawk mawk nawk awk
 
2549
do
 
2550
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2551
set dummy $ac_prog; ac_word=$2
 
2552
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2553
$as_echo_n "checking for $ac_word... " >&6; }
 
2554
if ${ac_cv_prog_AWK+:} false; then :
 
2555
  $as_echo_n "(cached) " >&6
 
2556
else
 
2557
  if test -n "$AWK"; then
 
2558
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2559
else
 
2560
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2561
for as_dir in $PATH
 
2562
do
 
2563
  IFS=$as_save_IFS
 
2564
  test -z "$as_dir" && as_dir=.
 
2565
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2566
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2567
    ac_cv_prog_AWK="$ac_prog"
 
2568
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2569
    break 2
 
2570
  fi
 
2571
done
 
2572
  done
 
2573
IFS=$as_save_IFS
 
2574
 
 
2575
fi
 
2576
fi
 
2577
AWK=$ac_cv_prog_AWK
 
2578
if test -n "$AWK"; then
 
2579
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2580
$as_echo "$AWK" >&6; }
 
2581
else
 
2582
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2583
$as_echo "no" >&6; }
 
2584
fi
 
2585
 
 
2586
 
 
2587
  test -n "$AWK" && break
 
2588
done
 
2589
 
 
2590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2591
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2592
set x ${MAKE-make}
 
2593
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2594
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
2595
  $as_echo_n "(cached) " >&6
 
2596
else
 
2597
  cat >conftest.make <<\_ACEOF
 
2598
SHELL = /bin/sh
 
2599
all:
 
2600
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2601
_ACEOF
 
2602
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
2603
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2604
  *@@@%%%=?*=@@@%%%*)
 
2605
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2606
  *)
 
2607
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2608
esac
 
2609
rm -f conftest.make
 
2610
fi
 
2611
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2612
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2613
$as_echo "yes" >&6; }
 
2614
  SET_MAKE=
 
2615
else
 
2616
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2617
$as_echo "no" >&6; }
 
2618
  SET_MAKE="MAKE=${MAKE-make}"
 
2619
fi
 
2620
 
 
2621
rm -rf .tst 2>/dev/null
 
2622
mkdir .tst 2>/dev/null
 
2623
if test -d .tst; then
 
2624
  am__leading_dot=.
 
2625
else
 
2626
  am__leading_dot=_
 
2627
fi
 
2628
rmdir .tst 2>/dev/null
 
2629
 
 
2630
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2631
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2632
  # is not polluted with repeated "-I."
 
2633
  am__isrc=' -I$(srcdir)'
 
2634
  # test to see if srcdir already configured
 
2635
  if test -f $srcdir/config.status; then
 
2636
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2637
  fi
 
2638
fi
 
2639
 
 
2640
# test whether we have cygpath
 
2641
if test -z "$CYGPATH_W"; then
 
2642
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2643
    CYGPATH_W='cygpath -w'
 
2644
  else
 
2645
    CYGPATH_W=echo
 
2646
  fi
 
2647
fi
 
2648
 
 
2649
 
 
2650
# Define the identity of the package.
 
2651
 PACKAGE=gxneur
 
2652
 VERSION=0.15.0
 
2653
 
 
2654
 
 
2655
cat >>confdefs.h <<_ACEOF
 
2656
#define PACKAGE "$PACKAGE"
 
2657
_ACEOF
 
2658
 
 
2659
 
 
2660
cat >>confdefs.h <<_ACEOF
 
2661
#define VERSION "$VERSION"
 
2662
_ACEOF
 
2663
 
 
2664
# Some tools Automake needs.
 
2665
 
 
2666
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2667
 
 
2668
 
 
2669
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2670
 
 
2671
 
 
2672
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2673
 
 
2674
 
 
2675
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2676
 
 
2677
 
 
2678
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2679
 
 
2680
# We need awk for the "check" target.  The system "awk" is bad on
 
2681
# some platforms.
 
2682
# Always define AMTAR for backward compatibility.
 
2683
 
 
2684
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2685
 
 
2686
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2687
 
 
2688
 
 
2689
 
 
2690
 
 
2691
 
 
2692
 
 
2693
case `pwd` in
 
2694
  *\ * | *\     *)
 
2695
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
2696
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
2697
esac
 
2698
 
 
2699
 
 
2700
 
 
2701
macro_version='2.4'
 
2702
macro_revision='1.3293'
 
2703
 
 
2704
 
 
2705
 
 
2706
 
 
2707
 
 
2708
 
 
2709
 
 
2710
 
 
2711
 
 
2712
 
 
2713
 
 
2714
 
 
2715
 
 
2716
ltmain="$ac_aux_dir/ltmain.sh"
 
2717
 
 
2718
# Make sure we can run config.sub.
 
2719
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2720
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
2721
 
 
2722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
2723
$as_echo_n "checking build system type... " >&6; }
 
2724
if ${ac_cv_build+:} false; then :
 
2725
  $as_echo_n "(cached) " >&6
 
2726
else
 
2727
  ac_build_alias=$build_alias
 
2728
test "x$ac_build_alias" = x &&
 
2729
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2730
test "x$ac_build_alias" = x &&
 
2731
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
2732
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2733
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
2734
 
 
2735
fi
 
2736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2737
$as_echo "$ac_cv_build" >&6; }
 
2738
case $ac_cv_build in
 
2739
*-*-*) ;;
 
2740
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
2741
esac
 
2742
build=$ac_cv_build
 
2743
ac_save_IFS=$IFS; IFS='-'
 
2744
set x $ac_cv_build
 
2745
shift
 
2746
build_cpu=$1
 
2747
build_vendor=$2
 
2748
shift; shift
 
2749
# Remember, the first character of IFS is used to create $*,
 
2750
# except with old shells:
 
2751
build_os=$*
 
2752
IFS=$ac_save_IFS
 
2753
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2754
 
 
2755
 
 
2756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
2757
$as_echo_n "checking host system type... " >&6; }
 
2758
if ${ac_cv_host+:} false; then :
 
2759
  $as_echo_n "(cached) " >&6
 
2760
else
 
2761
  if test "x$host_alias" = x; then
 
2762
  ac_cv_host=$ac_cv_build
 
2763
else
 
2764
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2765
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2766
fi
 
2767
 
 
2768
fi
 
2769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
2770
$as_echo "$ac_cv_host" >&6; }
 
2771
case $ac_cv_host in
 
2772
*-*-*) ;;
 
2773
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
2774
esac
 
2775
host=$ac_cv_host
 
2776
ac_save_IFS=$IFS; IFS='-'
 
2777
set x $ac_cv_host
 
2778
shift
 
2779
host_cpu=$1
 
2780
host_vendor=$2
 
2781
shift; shift
 
2782
# Remember, the first character of IFS is used to create $*,
 
2783
# except with old shells:
 
2784
host_os=$*
 
2785
IFS=$ac_save_IFS
 
2786
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
2787
 
 
2788
 
 
2789
# Backslashify metacharacters that are still active within
 
2790
# double-quoted strings.
 
2791
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
2792
 
 
2793
# Same as above, but do not quote variable references.
 
2794
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
2795
 
 
2796
# Sed substitution to delay expansion of an escaped shell variable in a
 
2797
# double_quote_subst'ed string.
 
2798
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
2799
 
 
2800
# Sed substitution to delay expansion of an escaped single quote.
 
2801
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
2802
 
 
2803
# Sed substitution to avoid accidental globbing in evaled expressions
 
2804
no_glob_subst='s/\*/\\\*/g'
 
2805
 
 
2806
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
2807
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
2808
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
2809
 
 
2810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
2811
$as_echo_n "checking how to print strings... " >&6; }
 
2812
# Test print first, because it will be a builtin if present.
 
2813
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
2814
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
2815
  ECHO='print -r --'
 
2816
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
2817
  ECHO='printf %s\n'
 
2818
else
 
2819
  # Use this function as a fallback that always works.
 
2820
  func_fallback_echo ()
 
2821
  {
 
2822
    eval 'cat <<_LTECHO_EOF
 
2823
$1
 
2824
_LTECHO_EOF'
 
2825
  }
 
2826
  ECHO='func_fallback_echo'
 
2827
fi
 
2828
 
 
2829
# func_echo_all arg...
 
2830
# Invoke $ECHO with all args, space-separated.
 
2831
func_echo_all ()
 
2832
{
 
2833
    $ECHO ""
 
2834
}
 
2835
 
 
2836
case "$ECHO" in
 
2837
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
2838
$as_echo "printf" >&6; } ;;
 
2839
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
2840
$as_echo "print -r" >&6; } ;;
 
2841
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
2842
$as_echo "cat" >&6; } ;;
 
2843
esac
 
2844
 
 
2845
 
 
2846
 
 
2847
 
 
2848
 
 
2849
 
 
2850
 
 
2851
 
 
2852
 
 
2853
 
 
2854
 
 
2855
 
 
2856
 
 
2857
 
 
2858
DEPDIR="${am__leading_dot}deps"
 
2859
 
 
2860
ac_config_commands="$ac_config_commands depfiles"
 
2861
 
 
2862
 
 
2863
am_make=${MAKE-make}
 
2864
cat > confinc << 'END'
 
2865
am__doit:
 
2866
        @echo this is the am__doit target
 
2867
.PHONY: am__doit
 
2868
END
 
2869
# If we don't find an include directive, just comment out the code.
 
2870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
2871
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
2872
am__include="#"
 
2873
am__quote=
 
2874
_am_result=none
 
2875
# First try GNU make style include.
 
2876
echo "include confinc" > confmf
 
2877
# Ignore all kinds of additional output from `make'.
 
2878
case `$am_make -s -f confmf 2> /dev/null` in #(
 
2879
*the\ am__doit\ target*)
 
2880
  am__include=include
 
2881
  am__quote=
 
2882
  _am_result=GNU
 
2883
  ;;
 
2884
esac
 
2885
# Now try BSD make style include.
 
2886
if test "$am__include" = "#"; then
 
2887
   echo '.include "confinc"' > confmf
 
2888
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
2889
   *the\ am__doit\ target*)
 
2890
     am__include=.include
 
2891
     am__quote="\""
 
2892
     _am_result=BSD
 
2893
     ;;
 
2894
   esac
 
2895
fi
 
2896
 
 
2897
 
 
2898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
2899
$as_echo "$_am_result" >&6; }
 
2900
rm -f confinc confmf
 
2901
 
 
2902
# Check whether --enable-dependency-tracking was given.
 
2903
if test "${enable_dependency_tracking+set}" = set; then :
 
2904
  enableval=$enable_dependency_tracking;
 
2905
fi
 
2906
 
 
2907
if test "x$enable_dependency_tracking" != xno; then
 
2908
  am_depcomp="$ac_aux_dir/depcomp"
 
2909
  AMDEPBACKSLASH='\'
 
2910
fi
 
2911
 if test "x$enable_dependency_tracking" != xno; then
 
2912
  AMDEP_TRUE=
 
2913
  AMDEP_FALSE='#'
 
2914
else
 
2915
  AMDEP_TRUE='#'
 
2916
  AMDEP_FALSE=
 
2917
fi
 
2918
 
 
2919
 
 
2920
ac_ext=c
 
2921
ac_cpp='$CPP $CPPFLAGS'
 
2922
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2923
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2924
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2925
if test -n "$ac_tool_prefix"; then
 
2926
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
2927
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
2928
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2929
$as_echo_n "checking for $ac_word... " >&6; }
 
2930
if ${ac_cv_prog_CC+:} false; then :
 
2931
  $as_echo_n "(cached) " >&6
 
2932
else
 
2933
  if test -n "$CC"; then
 
2934
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2935
else
 
2936
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2937
for as_dir in $PATH
 
2938
do
 
2939
  IFS=$as_save_IFS
 
2940
  test -z "$as_dir" && as_dir=.
 
2941
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2942
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2943
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
2944
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2945
    break 2
 
2946
  fi
 
2947
done
 
2948
  done
 
2949
IFS=$as_save_IFS
 
2950
 
 
2951
fi
 
2952
fi
 
2953
CC=$ac_cv_prog_CC
 
2954
if test -n "$CC"; then
 
2955
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2956
$as_echo "$CC" >&6; }
 
2957
else
 
2958
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2959
$as_echo "no" >&6; }
 
2960
fi
 
2961
 
 
2962
 
 
2963
fi
 
2964
if test -z "$ac_cv_prog_CC"; then
 
2965
  ac_ct_CC=$CC
 
2966
  # Extract the first word of "gcc", so it can be a program name with args.
 
2967
set dummy gcc; ac_word=$2
 
2968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2969
$as_echo_n "checking for $ac_word... " >&6; }
 
2970
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
2971
  $as_echo_n "(cached) " >&6
 
2972
else
 
2973
  if test -n "$ac_ct_CC"; then
 
2974
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2975
else
 
2976
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2977
for as_dir in $PATH
 
2978
do
 
2979
  IFS=$as_save_IFS
 
2980
  test -z "$as_dir" && as_dir=.
 
2981
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2982
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2983
    ac_cv_prog_ac_ct_CC="gcc"
 
2984
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2985
    break 2
 
2986
  fi
 
2987
done
 
2988
  done
 
2989
IFS=$as_save_IFS
 
2990
 
 
2991
fi
 
2992
fi
 
2993
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2994
if test -n "$ac_ct_CC"; then
 
2995
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2996
$as_echo "$ac_ct_CC" >&6; }
 
2997
else
 
2998
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2999
$as_echo "no" >&6; }
 
3000
fi
 
3001
 
 
3002
  if test "x$ac_ct_CC" = x; then
 
3003
    CC=""
 
3004
  else
 
3005
    case $cross_compiling:$ac_tool_warned in
 
3006
yes:)
 
3007
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3008
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3009
ac_tool_warned=yes ;;
 
3010
esac
 
3011
    CC=$ac_ct_CC
 
3012
  fi
 
3013
else
 
3014
  CC="$ac_cv_prog_CC"
 
3015
fi
 
3016
 
 
3017
if test -z "$CC"; then
 
3018
          if test -n "$ac_tool_prefix"; then
 
3019
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3020
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3021
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3022
$as_echo_n "checking for $ac_word... " >&6; }
 
3023
if ${ac_cv_prog_CC+:} false; then :
 
3024
  $as_echo_n "(cached) " >&6
 
3025
else
 
3026
  if test -n "$CC"; then
 
3027
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3028
else
 
3029
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3030
for as_dir in $PATH
 
3031
do
 
3032
  IFS=$as_save_IFS
 
3033
  test -z "$as_dir" && as_dir=.
 
3034
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3035
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3036
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3037
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3038
    break 2
 
3039
  fi
 
3040
done
 
3041
  done
 
3042
IFS=$as_save_IFS
 
3043
 
 
3044
fi
 
3045
fi
 
3046
CC=$ac_cv_prog_CC
 
3047
if test -n "$CC"; then
 
3048
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3049
$as_echo "$CC" >&6; }
 
3050
else
 
3051
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3052
$as_echo "no" >&6; }
 
3053
fi
 
3054
 
 
3055
 
 
3056
  fi
 
3057
fi
 
3058
if test -z "$CC"; then
 
3059
  # Extract the first word of "cc", so it can be a program name with args.
 
3060
set dummy cc; ac_word=$2
 
3061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3062
$as_echo_n "checking for $ac_word... " >&6; }
 
3063
if ${ac_cv_prog_CC+:} false; then :
 
3064
  $as_echo_n "(cached) " >&6
 
3065
else
 
3066
  if test -n "$CC"; then
 
3067
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3068
else
 
3069
  ac_prog_rejected=no
 
3070
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3071
for as_dir in $PATH
 
3072
do
 
3073
  IFS=$as_save_IFS
 
3074
  test -z "$as_dir" && as_dir=.
 
3075
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3076
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3077
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3078
       ac_prog_rejected=yes
 
3079
       continue
 
3080
     fi
 
3081
    ac_cv_prog_CC="cc"
 
3082
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3083
    break 2
 
3084
  fi
 
3085
done
 
3086
  done
 
3087
IFS=$as_save_IFS
 
3088
 
 
3089
if test $ac_prog_rejected = yes; then
 
3090
  # We found a bogon in the path, so make sure we never use it.
 
3091
  set dummy $ac_cv_prog_CC
 
3092
  shift
 
3093
  if test $# != 0; then
 
3094
    # We chose a different compiler from the bogus one.
 
3095
    # However, it has the same basename, so the bogon will be chosen
 
3096
    # first if we set CC to just the basename; use the full file name.
 
3097
    shift
 
3098
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3099
  fi
 
3100
fi
 
3101
fi
 
3102
fi
 
3103
CC=$ac_cv_prog_CC
 
3104
if test -n "$CC"; then
 
3105
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3106
$as_echo "$CC" >&6; }
 
3107
else
 
3108
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3109
$as_echo "no" >&6; }
 
3110
fi
 
3111
 
 
3112
 
 
3113
fi
 
3114
if test -z "$CC"; then
 
3115
  if test -n "$ac_tool_prefix"; then
 
3116
  for ac_prog in cl.exe
 
3117
  do
 
3118
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3119
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3121
$as_echo_n "checking for $ac_word... " >&6; }
 
3122
if ${ac_cv_prog_CC+:} false; then :
 
3123
  $as_echo_n "(cached) " >&6
 
3124
else
 
3125
  if test -n "$CC"; then
 
3126
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3127
else
 
3128
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3129
for as_dir in $PATH
 
3130
do
 
3131
  IFS=$as_save_IFS
 
3132
  test -z "$as_dir" && as_dir=.
 
3133
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3134
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3135
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3136
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3137
    break 2
 
3138
  fi
 
3139
done
 
3140
  done
 
3141
IFS=$as_save_IFS
 
3142
 
 
3143
fi
 
3144
fi
 
3145
CC=$ac_cv_prog_CC
 
3146
if test -n "$CC"; then
 
3147
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3148
$as_echo "$CC" >&6; }
 
3149
else
 
3150
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3151
$as_echo "no" >&6; }
 
3152
fi
 
3153
 
 
3154
 
 
3155
    test -n "$CC" && break
 
3156
  done
 
3157
fi
 
3158
if test -z "$CC"; then
 
3159
  ac_ct_CC=$CC
 
3160
  for ac_prog in cl.exe
 
3161
do
 
3162
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3163
set dummy $ac_prog; ac_word=$2
 
3164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3165
$as_echo_n "checking for $ac_word... " >&6; }
 
3166
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3167
  $as_echo_n "(cached) " >&6
 
3168
else
 
3169
  if test -n "$ac_ct_CC"; then
 
3170
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3171
else
 
3172
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3173
for as_dir in $PATH
 
3174
do
 
3175
  IFS=$as_save_IFS
 
3176
  test -z "$as_dir" && as_dir=.
 
3177
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3178
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3179
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3180
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3181
    break 2
 
3182
  fi
 
3183
done
 
3184
  done
 
3185
IFS=$as_save_IFS
 
3186
 
 
3187
fi
 
3188
fi
 
3189
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3190
if test -n "$ac_ct_CC"; then
 
3191
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3192
$as_echo "$ac_ct_CC" >&6; }
 
3193
else
 
3194
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3195
$as_echo "no" >&6; }
 
3196
fi
 
3197
 
 
3198
 
 
3199
  test -n "$ac_ct_CC" && break
 
3200
done
 
3201
 
 
3202
  if test "x$ac_ct_CC" = x; then
 
3203
    CC=""
 
3204
  else
 
3205
    case $cross_compiling:$ac_tool_warned in
 
3206
yes:)
 
3207
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3208
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3209
ac_tool_warned=yes ;;
 
3210
esac
 
3211
    CC=$ac_ct_CC
 
3212
  fi
 
3213
fi
 
3214
 
 
3215
fi
 
3216
 
 
3217
 
 
3218
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3219
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3220
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3221
See \`config.log' for more details" "$LINENO" 5; }
 
3222
 
 
3223
# Provide some information about the compiler.
 
3224
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3225
set X $ac_compile
 
3226
ac_compiler=$2
 
3227
for ac_option in --version -v -V -qversion; do
 
3228
  { { ac_try="$ac_compiler $ac_option >&5"
 
3229
case "(($ac_try" in
 
3230
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3231
  *) ac_try_echo=$ac_try;;
 
3232
esac
 
3233
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3234
$as_echo "$ac_try_echo"; } >&5
 
3235
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3236
  ac_status=$?
 
3237
  if test -s conftest.err; then
 
3238
    sed '10a\
 
3239
... rest of stderr output deleted ...
 
3240
         10q' conftest.err >conftest.er1
 
3241
    cat conftest.er1 >&5
 
3242
  fi
 
3243
  rm -f conftest.er1 conftest.err
 
3244
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3245
  test $ac_status = 0; }
 
3246
done
 
3247
 
 
3248
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3249
/* end confdefs.h.  */
 
3250
 
 
3251
int
 
3252
main ()
 
3253
{
 
3254
 
 
3255
  ;
 
3256
  return 0;
 
3257
}
 
3258
_ACEOF
 
3259
ac_clean_files_save=$ac_clean_files
 
3260
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3261
# Try to create an executable without -o first, disregard a.out.
 
3262
# It will help us diagnose broken compilers, and finding out an intuition
 
3263
# of exeext.
 
3264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3265
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3266
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3267
 
 
3268
# The possible output files:
 
3269
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3270
 
 
3271
ac_rmfiles=
 
3272
for ac_file in $ac_files
 
3273
do
 
3274
  case $ac_file in
 
3275
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3276
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3277
  esac
 
3278
done
 
3279
rm -f $ac_rmfiles
 
3280
 
 
3281
if { { ac_try="$ac_link_default"
 
3282
case "(($ac_try" in
 
3283
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3284
  *) ac_try_echo=$ac_try;;
 
3285
esac
 
3286
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3287
$as_echo "$ac_try_echo"; } >&5
 
3288
  (eval "$ac_link_default") 2>&5
 
3289
  ac_status=$?
 
3290
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3291
  test $ac_status = 0; }; then :
 
3292
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3293
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3294
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3295
# so that the user can short-circuit this test for compilers unknown to
 
3296
# Autoconf.
 
3297
for ac_file in $ac_files ''
 
3298
do
 
3299
  test -f "$ac_file" || continue
 
3300
  case $ac_file in
 
3301
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3302
        ;;
 
3303
    [ab].out )
 
3304
        # We found the default executable, but exeext='' is most
 
3305
        # certainly right.
 
3306
        break;;
 
3307
    *.* )
 
3308
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3309
        then :; else
 
3310
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3311
        fi
 
3312
        # We set ac_cv_exeext here because the later test for it is not
 
3313
        # safe: cross compilers may not add the suffix if given an `-o'
 
3314
        # argument, so we may need to know it at that point already.
 
3315
        # Even if this section looks crufty: it has the advantage of
 
3316
        # actually working.
 
3317
        break;;
 
3318
    * )
 
3319
        break;;
 
3320
  esac
 
3321
done
 
3322
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3323
 
 
3324
else
 
3325
  ac_file=''
 
3326
fi
 
3327
if test -z "$ac_file"; then :
 
3328
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3329
$as_echo "no" >&6; }
 
3330
$as_echo "$as_me: failed program was:" >&5
 
3331
sed 's/^/| /' conftest.$ac_ext >&5
 
3332
 
 
3333
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3334
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3335
as_fn_error 77 "C compiler cannot create executables
 
3336
See \`config.log' for more details" "$LINENO" 5; }
 
3337
else
 
3338
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3339
$as_echo "yes" >&6; }
 
3340
fi
 
3341
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3342
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3344
$as_echo "$ac_file" >&6; }
 
3345
ac_exeext=$ac_cv_exeext
 
3346
 
 
3347
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3348
ac_clean_files=$ac_clean_files_save
 
3349
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3350
$as_echo_n "checking for suffix of executables... " >&6; }
 
3351
if { { ac_try="$ac_link"
 
3352
case "(($ac_try" in
 
3353
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3354
  *) ac_try_echo=$ac_try;;
 
3355
esac
 
3356
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3357
$as_echo "$ac_try_echo"; } >&5
 
3358
  (eval "$ac_link") 2>&5
 
3359
  ac_status=$?
 
3360
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3361
  test $ac_status = 0; }; then :
 
3362
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3363
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3364
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3365
# `rm'.
 
3366
for ac_file in conftest.exe conftest conftest.*; do
 
3367
  test -f "$ac_file" || continue
 
3368
  case $ac_file in
 
3369
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3370
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3371
          break;;
 
3372
    * ) break;;
 
3373
  esac
 
3374
done
 
3375
else
 
3376
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3377
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3378
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3379
See \`config.log' for more details" "$LINENO" 5; }
 
3380
fi
 
3381
rm -f conftest conftest$ac_cv_exeext
 
3382
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3383
$as_echo "$ac_cv_exeext" >&6; }
 
3384
 
 
3385
rm -f conftest.$ac_ext
 
3386
EXEEXT=$ac_cv_exeext
 
3387
ac_exeext=$EXEEXT
 
3388
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3389
/* end confdefs.h.  */
 
3390
#include <stdio.h>
 
3391
int
 
3392
main ()
 
3393
{
 
3394
FILE *f = fopen ("conftest.out", "w");
 
3395
 return ferror (f) || fclose (f) != 0;
 
3396
 
 
3397
  ;
 
3398
  return 0;
 
3399
}
 
3400
_ACEOF
 
3401
ac_clean_files="$ac_clean_files conftest.out"
 
3402
# Check that the compiler produces executables we can run.  If not, either
 
3403
# the compiler is broken, or we cross compile.
 
3404
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3405
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3406
if test "$cross_compiling" != yes; then
 
3407
  { { ac_try="$ac_link"
 
3408
case "(($ac_try" in
 
3409
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3410
  *) ac_try_echo=$ac_try;;
 
3411
esac
 
3412
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3413
$as_echo "$ac_try_echo"; } >&5
 
3414
  (eval "$ac_link") 2>&5
 
3415
  ac_status=$?
 
3416
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3417
  test $ac_status = 0; }
 
3418
  if { ac_try='./conftest$ac_cv_exeext'
 
3419
  { { case "(($ac_try" in
 
3420
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3421
  *) ac_try_echo=$ac_try;;
 
3422
esac
 
3423
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3424
$as_echo "$ac_try_echo"; } >&5
 
3425
  (eval "$ac_try") 2>&5
 
3426
  ac_status=$?
 
3427
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3428
  test $ac_status = 0; }; }; then
 
3429
    cross_compiling=no
 
3430
  else
 
3431
    if test "$cross_compiling" = maybe; then
 
3432
        cross_compiling=yes
 
3433
    else
 
3434
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3435
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3436
as_fn_error $? "cannot run C compiled programs.
 
3437
If you meant to cross compile, use \`--host'.
 
3438
See \`config.log' for more details" "$LINENO" 5; }
 
3439
    fi
 
3440
  fi
 
3441
fi
 
3442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3443
$as_echo "$cross_compiling" >&6; }
 
3444
 
 
3445
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3446
ac_clean_files=$ac_clean_files_save
 
3447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3448
$as_echo_n "checking for suffix of object files... " >&6; }
 
3449
if ${ac_cv_objext+:} false; then :
 
3450
  $as_echo_n "(cached) " >&6
 
3451
else
 
3452
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3453
/* end confdefs.h.  */
 
3454
 
 
3455
int
 
3456
main ()
 
3457
{
 
3458
 
 
3459
  ;
 
3460
  return 0;
 
3461
}
 
3462
_ACEOF
 
3463
rm -f conftest.o conftest.obj
 
3464
if { { ac_try="$ac_compile"
 
3465
case "(($ac_try" in
 
3466
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3467
  *) ac_try_echo=$ac_try;;
 
3468
esac
 
3469
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3470
$as_echo "$ac_try_echo"; } >&5
 
3471
  (eval "$ac_compile") 2>&5
 
3472
  ac_status=$?
 
3473
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3474
  test $ac_status = 0; }; then :
 
3475
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3476
  test -f "$ac_file" || continue;
 
3477
  case $ac_file in
 
3478
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3479
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3480
       break;;
 
3481
  esac
 
3482
done
 
3483
else
 
3484
  $as_echo "$as_me: failed program was:" >&5
 
3485
sed 's/^/| /' conftest.$ac_ext >&5
 
3486
 
 
3487
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3488
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3489
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3490
See \`config.log' for more details" "$LINENO" 5; }
 
3491
fi
 
3492
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3493
fi
 
3494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3495
$as_echo "$ac_cv_objext" >&6; }
 
3496
OBJEXT=$ac_cv_objext
 
3497
ac_objext=$OBJEXT
 
3498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3499
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3500
if ${ac_cv_c_compiler_gnu+:} false; then :
 
3501
  $as_echo_n "(cached) " >&6
 
3502
else
 
3503
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3504
/* end confdefs.h.  */
 
3505
 
 
3506
int
 
3507
main ()
 
3508
{
 
3509
#ifndef __GNUC__
 
3510
       choke me
 
3511
#endif
 
3512
 
 
3513
  ;
 
3514
  return 0;
 
3515
}
 
3516
_ACEOF
 
3517
if ac_fn_c_try_compile "$LINENO"; then :
 
3518
  ac_compiler_gnu=yes
 
3519
else
 
3520
  ac_compiler_gnu=no
 
3521
fi
 
3522
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3523
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3524
 
 
3525
fi
 
3526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3527
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3528
if test $ac_compiler_gnu = yes; then
 
3529
  GCC=yes
 
3530
else
 
3531
  GCC=
 
3532
fi
 
3533
ac_test_CFLAGS=${CFLAGS+set}
 
3534
ac_save_CFLAGS=$CFLAGS
 
3535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3536
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3537
if ${ac_cv_prog_cc_g+:} false; then :
 
3538
  $as_echo_n "(cached) " >&6
 
3539
else
 
3540
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3541
   ac_c_werror_flag=yes
 
3542
   ac_cv_prog_cc_g=no
 
3543
   CFLAGS="-g"
 
3544
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3545
/* end confdefs.h.  */
 
3546
 
 
3547
int
 
3548
main ()
 
3549
{
 
3550
 
 
3551
  ;
 
3552
  return 0;
 
3553
}
 
3554
_ACEOF
 
3555
if ac_fn_c_try_compile "$LINENO"; then :
 
3556
  ac_cv_prog_cc_g=yes
 
3557
else
 
3558
  CFLAGS=""
 
3559
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3560
/* end confdefs.h.  */
 
3561
 
 
3562
int
 
3563
main ()
 
3564
{
 
3565
 
 
3566
  ;
 
3567
  return 0;
 
3568
}
 
3569
_ACEOF
 
3570
if ac_fn_c_try_compile "$LINENO"; then :
 
3571
 
 
3572
else
 
3573
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3574
         CFLAGS="-g"
 
3575
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3576
/* end confdefs.h.  */
 
3577
 
 
3578
int
 
3579
main ()
 
3580
{
 
3581
 
 
3582
  ;
 
3583
  return 0;
 
3584
}
 
3585
_ACEOF
 
3586
if ac_fn_c_try_compile "$LINENO"; then :
 
3587
  ac_cv_prog_cc_g=yes
 
3588
fi
 
3589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3590
fi
 
3591
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3592
fi
 
3593
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3594
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3595
fi
 
3596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3597
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3598
if test "$ac_test_CFLAGS" = set; then
 
3599
  CFLAGS=$ac_save_CFLAGS
 
3600
elif test $ac_cv_prog_cc_g = yes; then
 
3601
  if test "$GCC" = yes; then
 
3602
    CFLAGS="-g -O2"
 
3603
  else
 
3604
    CFLAGS="-g"
 
3605
  fi
 
3606
else
 
3607
  if test "$GCC" = yes; then
 
3608
    CFLAGS="-O2"
 
3609
  else
 
3610
    CFLAGS=
 
3611
  fi
 
3612
fi
 
3613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3614
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3615
if ${ac_cv_prog_cc_c89+:} false; then :
 
3616
  $as_echo_n "(cached) " >&6
 
3617
else
 
3618
  ac_cv_prog_cc_c89=no
 
3619
ac_save_CC=$CC
 
3620
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3621
/* end confdefs.h.  */
 
3622
#include <stdarg.h>
 
3623
#include <stdio.h>
 
3624
#include <sys/types.h>
 
3625
#include <sys/stat.h>
 
3626
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3627
struct buf { int x; };
 
3628
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3629
static char *e (p, i)
 
3630
     char **p;
 
3631
     int i;
 
3632
{
 
3633
  return p[i];
 
3634
}
 
3635
static char *f (char * (*g) (char **, int), char **p, ...)
 
3636
{
 
3637
  char *s;
 
3638
  va_list v;
 
3639
  va_start (v,p);
 
3640
  s = g (p, va_arg (v,int));
 
3641
  va_end (v);
 
3642
  return s;
 
3643
}
 
3644
 
 
3645
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3646
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3647
   These don't provoke an error unfortunately, instead are silently treated
 
3648
   as 'x'.  The following induces an error, until -std is added to get
 
3649
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3650
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3651
   that's true only with -std.  */
 
3652
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3653
 
 
3654
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3655
   inside strings and character constants.  */
 
3656
#define FOO(x) 'x'
 
3657
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3658
 
 
3659
int test (int i, double x);
 
3660
struct s1 {int (*f) (int a);};
 
3661
struct s2 {int (*f) (double a);};
 
3662
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3663
int argc;
 
3664
char **argv;
 
3665
int
 
3666
main ()
 
3667
{
 
3668
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3669
  ;
 
3670
  return 0;
 
3671
}
 
3672
_ACEOF
 
3673
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3674
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3675
do
 
3676
  CC="$ac_save_CC $ac_arg"
 
3677
  if ac_fn_c_try_compile "$LINENO"; then :
 
3678
  ac_cv_prog_cc_c89=$ac_arg
 
3679
fi
 
3680
rm -f core conftest.err conftest.$ac_objext
 
3681
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3682
done
 
3683
rm -f conftest.$ac_ext
 
3684
CC=$ac_save_CC
 
3685
 
 
3686
fi
 
3687
# AC_CACHE_VAL
 
3688
case "x$ac_cv_prog_cc_c89" in
 
3689
  x)
 
3690
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3691
$as_echo "none needed" >&6; } ;;
 
3692
  xno)
 
3693
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3694
$as_echo "unsupported" >&6; } ;;
 
3695
  *)
 
3696
    CC="$CC $ac_cv_prog_cc_c89"
 
3697
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3698
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3699
esac
 
3700
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3701
 
 
3702
fi
 
3703
 
 
3704
ac_ext=c
 
3705
ac_cpp='$CPP $CPPFLAGS'
 
3706
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3707
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3708
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3709
 
 
3710
depcc="$CC"   am_compiler_list=
 
3711
 
 
3712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3713
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3714
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
3715
  $as_echo_n "(cached) " >&6
 
3716
else
 
3717
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3718
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3719
  # making bogus files that we don't know about and never remove.  For
 
3720
  # instance it was reported that on HP-UX the gcc test will end up
 
3721
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3722
  # in D'.
 
3723
  mkdir conftest.dir
 
3724
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3725
  # using a relative directory.
 
3726
  cp "$am_depcomp" conftest.dir
 
3727
  cd conftest.dir
 
3728
  # We will build objects and dependencies in a subdirectory because
 
3729
  # it helps to detect inapplicable dependency modes.  For instance
 
3730
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3731
  # side effect of compilation, but ICC will put the dependencies in
 
3732
  # the current directory while Tru64 will put them in the object
 
3733
  # directory.
 
3734
  mkdir sub
 
3735
 
 
3736
  am_cv_CC_dependencies_compiler_type=none
 
3737
  if test "$am_compiler_list" = ""; then
 
3738
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3739
  fi
 
3740
  am__universal=false
 
3741
  case " $depcc " in #(
 
3742
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3743
     esac
 
3744
 
 
3745
  for depmode in $am_compiler_list; do
 
3746
    # Setup a source with many dependencies, because some compilers
 
3747
    # like to wrap large dependency lists on column 80 (with \), and
 
3748
    # we should not choose a depcomp mode which is confused by this.
 
3749
    #
 
3750
    # We need to recreate these files for each test, as the compiler may
 
3751
    # overwrite some of them when testing with obscure command lines.
 
3752
    # This happens at least with the AIX C compiler.
 
3753
    : > sub/conftest.c
 
3754
    for i in 1 2 3 4 5 6; do
 
3755
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3756
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3757
      # Solaris 8's {/usr,}/bin/sh.
 
3758
      touch sub/conftst$i.h
 
3759
    done
 
3760
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3761
 
 
3762
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3763
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3764
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3765
    # versions had trouble with output in subdirs
 
3766
    am__obj=sub/conftest.${OBJEXT-o}
 
3767
    am__minus_obj="-o $am__obj"
 
3768
    case $depmode in
 
3769
    gcc)
 
3770
      # This depmode causes a compiler race in universal mode.
 
3771
      test "$am__universal" = false || continue
 
3772
      ;;
 
3773
    nosideeffect)
 
3774
      # after this tag, mechanisms are not by side-effect, so they'll
 
3775
      # only be used when explicitly requested
 
3776
      if test "x$enable_dependency_tracking" = xyes; then
 
3777
        continue
 
3778
      else
 
3779
        break
 
3780
      fi
 
3781
      ;;
 
3782
    msvisualcpp | msvcmsys)
 
3783
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3784
      # not run yet.  These depmodes are late enough in the game, and
 
3785
      # so weak that their functioning should not be impacted.
 
3786
      am__obj=conftest.${OBJEXT-o}
 
3787
      am__minus_obj=
 
3788
      ;;
 
3789
    none) break ;;
 
3790
    esac
 
3791
    if depmode=$depmode \
 
3792
       source=sub/conftest.c object=$am__obj \
 
3793
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3794
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
3795
         >/dev/null 2>conftest.err &&
 
3796
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3797
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3798
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
3799
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3800
      # icc doesn't choke on unknown options, it will just issue warnings
 
3801
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3802
      # that says an option was ignored or not supported.
 
3803
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3804
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3805
      # The diagnosis changed in icc 8.0:
 
3806
      #   icc: Command line remark: option '-MP' not supported
 
3807
      if (grep 'ignoring option' conftest.err ||
 
3808
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3809
        am_cv_CC_dependencies_compiler_type=$depmode
 
3810
        break
 
3811
      fi
 
3812
    fi
 
3813
  done
 
3814
 
 
3815
  cd ..
 
3816
  rm -rf conftest.dir
 
3817
else
 
3818
  am_cv_CC_dependencies_compiler_type=none
 
3819
fi
 
3820
 
 
3821
fi
 
3822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3823
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
3824
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3825
 
 
3826
 if
 
3827
  test "x$enable_dependency_tracking" != xno \
 
3828
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3829
  am__fastdepCC_TRUE=
 
3830
  am__fastdepCC_FALSE='#'
 
3831
else
 
3832
  am__fastdepCC_TRUE='#'
 
3833
  am__fastdepCC_FALSE=
 
3834
fi
 
3835
 
 
3836
 
 
3837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
3838
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
3839
if ${ac_cv_path_SED+:} false; then :
 
3840
  $as_echo_n "(cached) " >&6
 
3841
else
 
3842
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
3843
     for ac_i in 1 2 3 4 5 6 7; do
 
3844
       ac_script="$ac_script$as_nl$ac_script"
 
3845
     done
 
3846
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
3847
     { ac_script=; unset ac_script;}
 
3848
     if test -z "$SED"; then
 
3849
  ac_path_SED_found=false
 
3850
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3851
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3852
for as_dir in $PATH
 
3853
do
 
3854
  IFS=$as_save_IFS
 
3855
  test -z "$as_dir" && as_dir=.
 
3856
    for ac_prog in sed gsed; do
 
3857
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3858
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
3859
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
3860
# Check for GNU ac_path_SED and select it if it is found.
 
3861
  # Check for GNU $ac_path_SED
 
3862
case `"$ac_path_SED" --version 2>&1` in
 
3863
*GNU*)
 
3864
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
3865
*)
 
3866
  ac_count=0
 
3867
  $as_echo_n 0123456789 >"conftest.in"
 
3868
  while :
 
3869
  do
 
3870
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3871
    mv "conftest.tmp" "conftest.in"
 
3872
    cp "conftest.in" "conftest.nl"
 
3873
    $as_echo '' >> "conftest.nl"
 
3874
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3875
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3876
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
3877
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
3878
      # Best one so far, save it but keep looking for a better one
 
3879
      ac_cv_path_SED="$ac_path_SED"
 
3880
      ac_path_SED_max=$ac_count
 
3881
    fi
 
3882
    # 10*(2^10) chars as input seems more than enough
 
3883
    test $ac_count -gt 10 && break
 
3884
  done
 
3885
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3886
esac
 
3887
 
 
3888
      $ac_path_SED_found && break 3
 
3889
    done
 
3890
  done
 
3891
  done
 
3892
IFS=$as_save_IFS
 
3893
  if test -z "$ac_cv_path_SED"; then
 
3894
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
3895
  fi
 
3896
else
 
3897
  ac_cv_path_SED=$SED
 
3898
fi
 
3899
 
 
3900
fi
 
3901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
3902
$as_echo "$ac_cv_path_SED" >&6; }
 
3903
 SED="$ac_cv_path_SED"
 
3904
  rm -f conftest.sed
 
3905
 
 
3906
test -z "$SED" && SED=sed
 
3907
Xsed="$SED -e 1s/^X//"
 
3908
 
 
3909
 
 
3910
 
 
3911
 
 
3912
 
 
3913
 
 
3914
 
 
3915
 
 
3916
 
 
3917
 
 
3918
 
 
3919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
3920
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
3921
if ${ac_cv_path_GREP+:} false; then :
 
3922
  $as_echo_n "(cached) " >&6
 
3923
else
 
3924
  if test -z "$GREP"; then
 
3925
  ac_path_GREP_found=false
 
3926
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3927
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3928
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3929
do
 
3930
  IFS=$as_save_IFS
 
3931
  test -z "$as_dir" && as_dir=.
 
3932
    for ac_prog in grep ggrep; do
 
3933
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3934
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3935
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3936
# Check for GNU ac_path_GREP and select it if it is found.
 
3937
  # Check for GNU $ac_path_GREP
 
3938
case `"$ac_path_GREP" --version 2>&1` in
 
3939
*GNU*)
 
3940
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3941
*)
 
3942
  ac_count=0
 
3943
  $as_echo_n 0123456789 >"conftest.in"
 
3944
  while :
 
3945
  do
 
3946
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3947
    mv "conftest.tmp" "conftest.in"
 
3948
    cp "conftest.in" "conftest.nl"
 
3949
    $as_echo 'GREP' >> "conftest.nl"
 
3950
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3951
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3952
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
3953
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3954
      # Best one so far, save it but keep looking for a better one
 
3955
      ac_cv_path_GREP="$ac_path_GREP"
 
3956
      ac_path_GREP_max=$ac_count
 
3957
    fi
 
3958
    # 10*(2^10) chars as input seems more than enough
 
3959
    test $ac_count -gt 10 && break
 
3960
  done
 
3961
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3962
esac
 
3963
 
 
3964
      $ac_path_GREP_found && break 3
 
3965
    done
 
3966
  done
 
3967
  done
 
3968
IFS=$as_save_IFS
 
3969
  if test -z "$ac_cv_path_GREP"; then
 
3970
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
3971
  fi
 
3972
else
 
3973
  ac_cv_path_GREP=$GREP
 
3974
fi
 
3975
 
 
3976
fi
 
3977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
3978
$as_echo "$ac_cv_path_GREP" >&6; }
 
3979
 GREP="$ac_cv_path_GREP"
 
3980
 
 
3981
 
 
3982
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
3983
$as_echo_n "checking for egrep... " >&6; }
 
3984
if ${ac_cv_path_EGREP+:} false; then :
 
3985
  $as_echo_n "(cached) " >&6
 
3986
else
 
3987
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3988
   then ac_cv_path_EGREP="$GREP -E"
 
3989
   else
 
3990
     if test -z "$EGREP"; then
 
3991
  ac_path_EGREP_found=false
 
3992
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3993
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3994
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3995
do
 
3996
  IFS=$as_save_IFS
 
3997
  test -z "$as_dir" && as_dir=.
 
3998
    for ac_prog in egrep; do
 
3999
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4000
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4001
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4002
# Check for GNU ac_path_EGREP and select it if it is found.
 
4003
  # Check for GNU $ac_path_EGREP
 
4004
case `"$ac_path_EGREP" --version 2>&1` in
 
4005
*GNU*)
 
4006
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4007
*)
 
4008
  ac_count=0
 
4009
  $as_echo_n 0123456789 >"conftest.in"
 
4010
  while :
 
4011
  do
 
4012
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4013
    mv "conftest.tmp" "conftest.in"
 
4014
    cp "conftest.in" "conftest.nl"
 
4015
    $as_echo 'EGREP' >> "conftest.nl"
 
4016
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4017
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4018
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4019
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4020
      # Best one so far, save it but keep looking for a better one
 
4021
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4022
      ac_path_EGREP_max=$ac_count
 
4023
    fi
 
4024
    # 10*(2^10) chars as input seems more than enough
 
4025
    test $ac_count -gt 10 && break
 
4026
  done
 
4027
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4028
esac
 
4029
 
 
4030
      $ac_path_EGREP_found && break 3
 
4031
    done
 
4032
  done
 
4033
  done
 
4034
IFS=$as_save_IFS
 
4035
  if test -z "$ac_cv_path_EGREP"; then
 
4036
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4037
  fi
 
4038
else
 
4039
  ac_cv_path_EGREP=$EGREP
 
4040
fi
 
4041
 
 
4042
   fi
 
4043
fi
 
4044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4045
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4046
 EGREP="$ac_cv_path_EGREP"
 
4047
 
 
4048
 
 
4049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
4050
$as_echo_n "checking for fgrep... " >&6; }
 
4051
if ${ac_cv_path_FGREP+:} false; then :
 
4052
  $as_echo_n "(cached) " >&6
 
4053
else
 
4054
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4055
   then ac_cv_path_FGREP="$GREP -F"
 
4056
   else
 
4057
     if test -z "$FGREP"; then
 
4058
  ac_path_FGREP_found=false
 
4059
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4060
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4061
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4062
do
 
4063
  IFS=$as_save_IFS
 
4064
  test -z "$as_dir" && as_dir=.
 
4065
    for ac_prog in fgrep; do
 
4066
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4067
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4068
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4069
# Check for GNU ac_path_FGREP and select it if it is found.
 
4070
  # Check for GNU $ac_path_FGREP
 
4071
case `"$ac_path_FGREP" --version 2>&1` in
 
4072
*GNU*)
 
4073
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4074
*)
 
4075
  ac_count=0
 
4076
  $as_echo_n 0123456789 >"conftest.in"
 
4077
  while :
 
4078
  do
 
4079
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4080
    mv "conftest.tmp" "conftest.in"
 
4081
    cp "conftest.in" "conftest.nl"
 
4082
    $as_echo 'FGREP' >> "conftest.nl"
 
4083
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4084
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4085
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4086
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4087
      # Best one so far, save it but keep looking for a better one
 
4088
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4089
      ac_path_FGREP_max=$ac_count
 
4090
    fi
 
4091
    # 10*(2^10) chars as input seems more than enough
 
4092
    test $ac_count -gt 10 && break
 
4093
  done
 
4094
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4095
esac
 
4096
 
 
4097
      $ac_path_FGREP_found && break 3
 
4098
    done
 
4099
  done
 
4100
  done
 
4101
IFS=$as_save_IFS
 
4102
  if test -z "$ac_cv_path_FGREP"; then
 
4103
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4104
  fi
 
4105
else
 
4106
  ac_cv_path_FGREP=$FGREP
 
4107
fi
 
4108
 
 
4109
   fi
 
4110
fi
 
4111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
4112
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4113
 FGREP="$ac_cv_path_FGREP"
 
4114
 
 
4115
 
 
4116
test -z "$GREP" && GREP=grep
 
4117
 
 
4118
 
 
4119
 
 
4120
 
 
4121
 
 
4122
 
 
4123
 
 
4124
 
 
4125
 
 
4126
 
 
4127
 
 
4128
 
 
4129
 
 
4130
 
 
4131
 
 
4132
 
 
4133
 
 
4134
 
 
4135
 
 
4136
# Check whether --with-gnu-ld was given.
 
4137
if test "${with_gnu_ld+set}" = set; then :
 
4138
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
4139
else
 
4140
  with_gnu_ld=no
 
4141
fi
 
4142
 
 
4143
ac_prog=ld
 
4144
if test "$GCC" = yes; then
 
4145
  # Check if gcc -print-prog-name=ld gives a path.
 
4146
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
4147
$as_echo_n "checking for ld used by $CC... " >&6; }
 
4148
  case $host in
 
4149
  *-*-mingw*)
 
4150
    # gcc leaves a trailing carriage return which upsets mingw
 
4151
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
4152
  *)
 
4153
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
4154
  esac
 
4155
  case $ac_prog in
 
4156
    # Accept absolute paths.
 
4157
    [\\/]* | ?:[\\/]*)
 
4158
      re_direlt='/[^/][^/]*/\.\./'
 
4159
      # Canonicalize the pathname of ld
 
4160
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4161
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4162
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
4163
      done
 
4164
      test -z "$LD" && LD="$ac_prog"
 
4165
      ;;
 
4166
  "")
 
4167
    # If it fails, then pretend we aren't using GCC.
 
4168
    ac_prog=ld
 
4169
    ;;
 
4170
  *)
 
4171
    # If it is relative, then search for the first ld in PATH.
 
4172
    with_gnu_ld=unknown
 
4173
    ;;
 
4174
  esac
 
4175
elif test "$with_gnu_ld" = yes; then
 
4176
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
4177
$as_echo_n "checking for GNU ld... " >&6; }
 
4178
else
 
4179
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
4180
$as_echo_n "checking for non-GNU ld... " >&6; }
 
4181
fi
 
4182
if ${lt_cv_path_LD+:} false; then :
 
4183
  $as_echo_n "(cached) " >&6
 
4184
else
 
4185
  if test -z "$LD"; then
 
4186
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4187
  for ac_dir in $PATH; do
 
4188
    IFS="$lt_save_ifs"
 
4189
    test -z "$ac_dir" && ac_dir=.
 
4190
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
4191
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
4192
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
4193
      # but apparently some variants of GNU ld only accept -v.
 
4194
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
4195
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
4196
      *GNU* | *'with BFD'*)
 
4197
        test "$with_gnu_ld" != no && break
 
4198
        ;;
 
4199
      *)
 
4200
        test "$with_gnu_ld" != yes && break
 
4201
        ;;
 
4202
      esac
 
4203
    fi
 
4204
  done
 
4205
  IFS="$lt_save_ifs"
 
4206
else
 
4207
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
4208
fi
 
4209
fi
 
4210
 
 
4211
LD="$lt_cv_path_LD"
 
4212
if test -n "$LD"; then
 
4213
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
4214
$as_echo "$LD" >&6; }
 
4215
else
 
4216
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4217
$as_echo "no" >&6; }
 
4218
fi
 
4219
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
4220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
4221
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
4222
if ${lt_cv_prog_gnu_ld+:} false; then :
 
4223
  $as_echo_n "(cached) " >&6
 
4224
else
 
4225
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
4226
case `$LD -v 2>&1 </dev/null` in
 
4227
*GNU* | *'with BFD'*)
 
4228
  lt_cv_prog_gnu_ld=yes
 
4229
  ;;
 
4230
*)
 
4231
  lt_cv_prog_gnu_ld=no
 
4232
  ;;
 
4233
esac
 
4234
fi
 
4235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
4236
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
4237
with_gnu_ld=$lt_cv_prog_gnu_ld
 
4238
 
 
4239
 
 
4240
 
 
4241
 
 
4242
 
 
4243
 
 
4244
 
 
4245
 
 
4246
 
 
4247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4248
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
4249
if ${lt_cv_path_NM+:} false; then :
 
4250
  $as_echo_n "(cached) " >&6
 
4251
else
 
4252
  if test -n "$NM"; then
 
4253
  # Let the user override the test.
 
4254
  lt_cv_path_NM="$NM"
 
4255
else
 
4256
  lt_nm_to_check="${ac_tool_prefix}nm"
 
4257
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
4258
    lt_nm_to_check="$lt_nm_to_check nm"
 
4259
  fi
 
4260
  for lt_tmp_nm in $lt_nm_to_check; do
 
4261
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4262
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
4263
      IFS="$lt_save_ifs"
 
4264
      test -z "$ac_dir" && ac_dir=.
 
4265
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
4266
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
4267
        # Check to see if the nm accepts a BSD-compat flag.
 
4268
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
4269
        #   nm: unknown option "B" ignored
 
4270
        # Tru64's nm complains that /dev/null is an invalid object file
 
4271
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
4272
        */dev/null* | *'Invalid file or object type'*)
 
4273
          lt_cv_path_NM="$tmp_nm -B"
 
4274
          break
 
4275
          ;;
 
4276
        *)
 
4277
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
4278
          */dev/null*)
 
4279
            lt_cv_path_NM="$tmp_nm -p"
 
4280
            break
 
4281
            ;;
 
4282
          *)
 
4283
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
4284
            continue # so that we can try to find one that supports BSD flags
 
4285
            ;;
 
4286
          esac
 
4287
          ;;
 
4288
        esac
 
4289
      fi
 
4290
    done
 
4291
    IFS="$lt_save_ifs"
 
4292
  done
 
4293
  : ${lt_cv_path_NM=no}
 
4294
fi
 
4295
fi
 
4296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
4297
$as_echo "$lt_cv_path_NM" >&6; }
 
4298
if test "$lt_cv_path_NM" != "no"; then
 
4299
  NM="$lt_cv_path_NM"
 
4300
else
 
4301
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
4302
  if test -n "$DUMPBIN"; then :
 
4303
    # Let the user override the test.
 
4304
  else
 
4305
    if test -n "$ac_tool_prefix"; then
 
4306
  for ac_prog in dumpbin "link -dump"
 
4307
  do
 
4308
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4309
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4311
$as_echo_n "checking for $ac_word... " >&6; }
 
4312
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
4313
  $as_echo_n "(cached) " >&6
 
4314
else
 
4315
  if test -n "$DUMPBIN"; then
 
4316
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
4317
else
 
4318
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4319
for as_dir in $PATH
 
4320
do
 
4321
  IFS=$as_save_IFS
 
4322
  test -z "$as_dir" && as_dir=.
 
4323
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4324
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4325
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
4326
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4327
    break 2
 
4328
  fi
 
4329
done
 
4330
  done
 
4331
IFS=$as_save_IFS
 
4332
 
 
4333
fi
 
4334
fi
 
4335
DUMPBIN=$ac_cv_prog_DUMPBIN
 
4336
if test -n "$DUMPBIN"; then
 
4337
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
4338
$as_echo "$DUMPBIN" >&6; }
 
4339
else
 
4340
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4341
$as_echo "no" >&6; }
 
4342
fi
 
4343
 
 
4344
 
 
4345
    test -n "$DUMPBIN" && break
 
4346
  done
 
4347
fi
 
4348
if test -z "$DUMPBIN"; then
 
4349
  ac_ct_DUMPBIN=$DUMPBIN
 
4350
  for ac_prog in dumpbin "link -dump"
 
4351
do
 
4352
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4353
set dummy $ac_prog; ac_word=$2
 
4354
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4355
$as_echo_n "checking for $ac_word... " >&6; }
 
4356
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
4357
  $as_echo_n "(cached) " >&6
 
4358
else
 
4359
  if test -n "$ac_ct_DUMPBIN"; then
 
4360
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
4361
else
 
4362
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4363
for as_dir in $PATH
 
4364
do
 
4365
  IFS=$as_save_IFS
 
4366
  test -z "$as_dir" && as_dir=.
 
4367
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4368
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4369
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
4370
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4371
    break 2
 
4372
  fi
 
4373
done
 
4374
  done
 
4375
IFS=$as_save_IFS
 
4376
 
 
4377
fi
 
4378
fi
 
4379
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
4380
if test -n "$ac_ct_DUMPBIN"; then
 
4381
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
4382
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
4383
else
 
4384
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4385
$as_echo "no" >&6; }
 
4386
fi
 
4387
 
 
4388
 
 
4389
  test -n "$ac_ct_DUMPBIN" && break
 
4390
done
 
4391
 
 
4392
  if test "x$ac_ct_DUMPBIN" = x; then
 
4393
    DUMPBIN=":"
 
4394
  else
 
4395
    case $cross_compiling:$ac_tool_warned in
 
4396
yes:)
 
4397
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4398
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4399
ac_tool_warned=yes ;;
 
4400
esac
 
4401
    DUMPBIN=$ac_ct_DUMPBIN
 
4402
  fi
 
4403
fi
 
4404
 
 
4405
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
4406
    *COFF*)
 
4407
      DUMPBIN="$DUMPBIN -symbols"
 
4408
      ;;
 
4409
    *)
 
4410
      DUMPBIN=:
 
4411
      ;;
 
4412
    esac
 
4413
  fi
 
4414
 
 
4415
  if test "$DUMPBIN" != ":"; then
 
4416
    NM="$DUMPBIN"
 
4417
  fi
 
4418
fi
 
4419
test -z "$NM" && NM=nm
 
4420
 
 
4421
 
 
4422
 
 
4423
 
 
4424
 
 
4425
 
 
4426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
4427
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
4428
if ${lt_cv_nm_interface+:} false; then :
 
4429
  $as_echo_n "(cached) " >&6
 
4430
else
 
4431
  lt_cv_nm_interface="BSD nm"
 
4432
  echo "int some_variable = 0;" > conftest.$ac_ext
 
4433
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
4434
  (eval "$ac_compile" 2>conftest.err)
 
4435
  cat conftest.err >&5
 
4436
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4437
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
4438
  cat conftest.err >&5
 
4439
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
4440
  cat conftest.out >&5
 
4441
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
4442
    lt_cv_nm_interface="MS dumpbin"
 
4443
  fi
 
4444
  rm -f conftest*
 
4445
fi
 
4446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
4447
$as_echo "$lt_cv_nm_interface" >&6; }
 
4448
 
 
4449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
4450
$as_echo_n "checking whether ln -s works... " >&6; }
 
4451
LN_S=$as_ln_s
 
4452
if test "$LN_S" = "ln -s"; then
 
4453
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4454
$as_echo "yes" >&6; }
 
4455
else
 
4456
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
4457
$as_echo "no, using $LN_S" >&6; }
 
4458
fi
 
4459
 
 
4460
# find the maximum length of command line arguments
 
4461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
4462
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
4463
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
4464
  $as_echo_n "(cached) " >&6
 
4465
else
 
4466
    i=0
 
4467
  teststring="ABCD"
 
4468
 
 
4469
  case $build_os in
 
4470
  msdosdjgpp*)
 
4471
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
4472
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
4473
    # during glob expansion).  Even if it were fixed, the result of this
 
4474
    # check would be larger than it should be.
 
4475
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
4476
    ;;
 
4477
 
 
4478
  gnu*)
 
4479
    # Under GNU Hurd, this test is not required because there is
 
4480
    # no limit to the length of command line arguments.
 
4481
    # Libtool will interpret -1 as no limit whatsoever
 
4482
    lt_cv_sys_max_cmd_len=-1;
 
4483
    ;;
 
4484
 
 
4485
  cygwin* | mingw* | cegcc*)
 
4486
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
4487
    # about 5 minutes as the teststring grows exponentially.
 
4488
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
4489
    # you end up with a "frozen" computer, even though with patience
 
4490
    # the test eventually succeeds (with a max line length of 256k).
 
4491
    # Instead, let's just punt: use the minimum linelength reported by
 
4492
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
4493
    lt_cv_sys_max_cmd_len=8192;
 
4494
    ;;
 
4495
 
 
4496
  mint*)
 
4497
    # On MiNT this can take a long time and run out of memory.
 
4498
    lt_cv_sys_max_cmd_len=8192;
 
4499
    ;;
 
4500
 
 
4501
  amigaos*)
 
4502
    # On AmigaOS with pdksh, this test takes hours, literally.
 
4503
    # So we just punt and use a minimum line length of 8192.
 
4504
    lt_cv_sys_max_cmd_len=8192;
 
4505
    ;;
 
4506
 
 
4507
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
4508
    # This has been around since 386BSD, at least.  Likely further.
 
4509
    if test -x /sbin/sysctl; then
 
4510
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
4511
    elif test -x /usr/sbin/sysctl; then
 
4512
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
4513
    else
 
4514
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
4515
    fi
 
4516
    # And add a safety zone
 
4517
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4518
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4519
    ;;
 
4520
 
 
4521
  interix*)
 
4522
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
4523
    lt_cv_sys_max_cmd_len=196608
 
4524
    ;;
 
4525
 
 
4526
  osf*)
 
4527
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
4528
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
4529
    # nice to cause kernel panics so lets avoid the loop below.
 
4530
    # First set a reasonable default.
 
4531
    lt_cv_sys_max_cmd_len=16384
 
4532
    #
 
4533
    if test -x /sbin/sysconfig; then
 
4534
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
4535
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
4536
      esac
 
4537
    fi
 
4538
    ;;
 
4539
  sco3.2v5*)
 
4540
    lt_cv_sys_max_cmd_len=102400
 
4541
    ;;
 
4542
  sysv5* | sco5v6* | sysv4.2uw2*)
 
4543
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
4544
    if test -n "$kargmax"; then
 
4545
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
4546
    else
 
4547
      lt_cv_sys_max_cmd_len=32768
 
4548
    fi
 
4549
    ;;
 
4550
  *)
 
4551
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
4552
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
4553
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4554
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4555
    else
 
4556
      # Make teststring a little bigger before we do anything with it.
 
4557
      # a 1K string should be a reasonable start.
 
4558
      for i in 1 2 3 4 5 6 7 8 ; do
 
4559
        teststring=$teststring$teststring
 
4560
      done
 
4561
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
4562
      # If test is not a shell built-in, we'll probably end up computing a
 
4563
      # maximum length that is only half of the actual maximum length, but
 
4564
      # we can't tell.
 
4565
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
4566
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
4567
              test $i != 17 # 1/2 MB should be enough
 
4568
      do
 
4569
        i=`expr $i + 1`
 
4570
        teststring=$teststring$teststring
 
4571
      done
 
4572
      # Only check the string length outside the loop.
 
4573
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
4574
      teststring=
 
4575
      # Add a significant safety factor because C++ compilers can tack on
 
4576
      # massive amounts of additional arguments before passing them to the
 
4577
      # linker.  It appears as though 1/2 is a usable value.
 
4578
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
4579
    fi
 
4580
    ;;
 
4581
  esac
 
4582
 
 
4583
fi
 
4584
 
 
4585
if test -n $lt_cv_sys_max_cmd_len ; then
 
4586
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
4587
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
4588
else
 
4589
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
4590
$as_echo "none" >&6; }
 
4591
fi
 
4592
max_cmd_len=$lt_cv_sys_max_cmd_len
 
4593
 
 
4594
 
 
4595
 
 
4596
 
 
4597
 
 
4598
 
 
4599
: ${CP="cp -f"}
 
4600
: ${MV="mv -f"}
 
4601
: ${RM="rm -f"}
 
4602
 
 
4603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
4604
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
4605
# Try some XSI features
 
4606
xsi_shell=no
 
4607
( _lt_dummy="a/b/c"
 
4608
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
4609
      = c,a/b,b/c, \
 
4610
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
4611
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
4612
  && xsi_shell=yes
 
4613
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
4614
$as_echo "$xsi_shell" >&6; }
 
4615
 
 
4616
 
 
4617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
4618
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
4619
lt_shell_append=no
 
4620
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
4621
    >/dev/null 2>&1 \
 
4622
  && lt_shell_append=yes
 
4623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
4624
$as_echo "$lt_shell_append" >&6; }
 
4625
 
 
4626
 
 
4627
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
4628
  lt_unset=unset
 
4629
else
 
4630
  lt_unset=false
 
4631
fi
 
4632
 
 
4633
 
 
4634
 
 
4635
 
 
4636
 
 
4637
# test EBCDIC or ASCII
 
4638
case `echo X|tr X '\101'` in
 
4639
 A) # ASCII based system
 
4640
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
4641
  lt_SP2NL='tr \040 \012'
 
4642
  lt_NL2SP='tr \015\012 \040\040'
 
4643
  ;;
 
4644
 *) # EBCDIC based system
 
4645
  lt_SP2NL='tr \100 \n'
 
4646
  lt_NL2SP='tr \r\n \100\100'
 
4647
  ;;
 
4648
esac
 
4649
 
 
4650
 
 
4651
 
 
4652
 
 
4653
 
 
4654
 
 
4655
 
 
4656
 
 
4657
 
 
4658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
4659
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
4660
if ${lt_cv_to_host_file_cmd+:} false; then :
 
4661
  $as_echo_n "(cached) " >&6
 
4662
else
 
4663
  case $host in
 
4664
  *-*-mingw* )
 
4665
    case $build in
 
4666
      *-*-mingw* ) # actually msys
 
4667
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
4668
        ;;
 
4669
      *-*-cygwin* )
 
4670
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
4671
        ;;
 
4672
      * ) # otherwise, assume *nix
 
4673
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
4674
        ;;
 
4675
    esac
 
4676
    ;;
 
4677
  *-*-cygwin* )
 
4678
    case $build in
 
4679
      *-*-mingw* ) # actually msys
 
4680
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
4681
        ;;
 
4682
      *-*-cygwin* )
 
4683
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
4684
        ;;
 
4685
      * ) # otherwise, assume *nix
 
4686
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
4687
        ;;
 
4688
    esac
 
4689
    ;;
 
4690
  * ) # unhandled hosts (and "normal" native builds)
 
4691
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
4692
    ;;
 
4693
esac
 
4694
 
 
4695
fi
 
4696
 
 
4697
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
4698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
4699
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
4700
 
 
4701
 
 
4702
 
 
4703
 
 
4704
 
 
4705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
4706
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
4707
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
4708
  $as_echo_n "(cached) " >&6
 
4709
else
 
4710
  #assume ordinary cross tools, or native build.
 
4711
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
4712
case $host in
 
4713
  *-*-mingw* )
 
4714
    case $build in
 
4715
      *-*-mingw* ) # actually msys
 
4716
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
4717
        ;;
 
4718
    esac
 
4719
    ;;
 
4720
esac
 
4721
 
 
4722
fi
 
4723
 
 
4724
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
4725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
4726
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
4727
 
 
4728
 
 
4729
 
 
4730
 
 
4731
 
 
4732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
4733
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
4734
if ${lt_cv_ld_reload_flag+:} false; then :
 
4735
  $as_echo_n "(cached) " >&6
 
4736
else
 
4737
  lt_cv_ld_reload_flag='-r'
 
4738
fi
 
4739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
4740
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
4741
reload_flag=$lt_cv_ld_reload_flag
 
4742
case $reload_flag in
 
4743
"" | " "*) ;;
 
4744
*) reload_flag=" $reload_flag" ;;
 
4745
esac
 
4746
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4747
case $host_os in
 
4748
  cygwin* | mingw* | pw32* | cegcc*)
 
4749
    if test "$GCC" != yes; then
 
4750
      reload_cmds=false
 
4751
    fi
 
4752
    ;;
 
4753
  darwin*)
 
4754
    if test "$GCC" = yes; then
 
4755
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
4756
    else
 
4757
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4758
    fi
 
4759
    ;;
 
4760
esac
 
4761
 
 
4762
 
 
4763
 
 
4764
 
 
4765
 
 
4766
 
 
4767
 
 
4768
 
 
4769
 
 
4770
if test -n "$ac_tool_prefix"; then
 
4771
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
4772
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
4773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4774
$as_echo_n "checking for $ac_word... " >&6; }
 
4775
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
4776
  $as_echo_n "(cached) " >&6
 
4777
else
 
4778
  if test -n "$OBJDUMP"; then
 
4779
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
4780
else
 
4781
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4782
for as_dir in $PATH
 
4783
do
 
4784
  IFS=$as_save_IFS
 
4785
  test -z "$as_dir" && as_dir=.
 
4786
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4787
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4788
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
4789
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4790
    break 2
 
4791
  fi
 
4792
done
 
4793
  done
 
4794
IFS=$as_save_IFS
 
4795
 
 
4796
fi
 
4797
fi
 
4798
OBJDUMP=$ac_cv_prog_OBJDUMP
 
4799
if test -n "$OBJDUMP"; then
 
4800
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
4801
$as_echo "$OBJDUMP" >&6; }
 
4802
else
 
4803
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4804
$as_echo "no" >&6; }
 
4805
fi
 
4806
 
 
4807
 
 
4808
fi
 
4809
if test -z "$ac_cv_prog_OBJDUMP"; then
 
4810
  ac_ct_OBJDUMP=$OBJDUMP
 
4811
  # Extract the first word of "objdump", so it can be a program name with args.
 
4812
set dummy objdump; ac_word=$2
 
4813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4814
$as_echo_n "checking for $ac_word... " >&6; }
 
4815
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
4816
  $as_echo_n "(cached) " >&6
 
4817
else
 
4818
  if test -n "$ac_ct_OBJDUMP"; then
 
4819
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
4820
else
 
4821
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4822
for as_dir in $PATH
 
4823
do
 
4824
  IFS=$as_save_IFS
 
4825
  test -z "$as_dir" && as_dir=.
 
4826
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4827
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4828
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
4829
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4830
    break 2
 
4831
  fi
 
4832
done
 
4833
  done
 
4834
IFS=$as_save_IFS
 
4835
 
 
4836
fi
 
4837
fi
 
4838
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
4839
if test -n "$ac_ct_OBJDUMP"; then
 
4840
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
4841
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
4842
else
 
4843
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4844
$as_echo "no" >&6; }
 
4845
fi
 
4846
 
 
4847
  if test "x$ac_ct_OBJDUMP" = x; then
 
4848
    OBJDUMP="false"
 
4849
  else
 
4850
    case $cross_compiling:$ac_tool_warned in
 
4851
yes:)
 
4852
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4853
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4854
ac_tool_warned=yes ;;
 
4855
esac
 
4856
    OBJDUMP=$ac_ct_OBJDUMP
 
4857
  fi
 
4858
else
 
4859
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
4860
fi
 
4861
 
 
4862
test -z "$OBJDUMP" && OBJDUMP=objdump
 
4863
 
 
4864
 
 
4865
 
 
4866
 
 
4867
 
 
4868
 
 
4869
 
 
4870
 
 
4871
 
 
4872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
4873
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
4874
if ${lt_cv_deplibs_check_method+:} false; then :
 
4875
  $as_echo_n "(cached) " >&6
 
4876
else
 
4877
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
4878
lt_cv_file_magic_test_file=
 
4879
lt_cv_deplibs_check_method='unknown'
 
4880
# Need to set the preceding variable on all platforms that support
 
4881
# interlibrary dependencies.
 
4882
# 'none' -- dependencies not supported.
 
4883
# `unknown' -- same as none, but documents that we really don't know.
 
4884
# 'pass_all' -- all dependencies passed with no checks.
 
4885
# 'test_compile' -- check by making test program.
 
4886
# 'file_magic [[regex]]' -- check by looking for files in library path
 
4887
# which responds to the $file_magic_cmd with a given extended regex.
 
4888
# If you have `file' or equivalent on your system and you're not sure
 
4889
# whether `pass_all' will *always* work, you probably want this one.
 
4890
 
 
4891
case $host_os in
 
4892
aix[4-9]*)
 
4893
  lt_cv_deplibs_check_method=pass_all
 
4894
  ;;
 
4895
 
 
4896
beos*)
 
4897
  lt_cv_deplibs_check_method=pass_all
 
4898
  ;;
 
4899
 
 
4900
bsdi[45]*)
 
4901
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
4902
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
4903
  lt_cv_file_magic_test_file=/shlib/libc.so
 
4904
  ;;
 
4905
 
 
4906
cygwin*)
 
4907
  # func_win32_libid is a shell function defined in ltmain.sh
 
4908
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
4909
  lt_cv_file_magic_cmd='func_win32_libid'
 
4910
  ;;
 
4911
 
 
4912
mingw* | pw32*)
 
4913
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
4914
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
4915
  # unless we find 'file', for example because we are cross-compiling.
 
4916
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
4917
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
4918
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
4919
    lt_cv_file_magic_cmd='func_win32_libid'
 
4920
  else
 
4921
    # Keep this pattern in sync with the one in func_win32_libid.
 
4922
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 
4923
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4924
  fi
 
4925
  ;;
 
4926
 
 
4927
cegcc*)
 
4928
  # use the weaker test based on 'objdump'. See mingw*.
 
4929
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
4930
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4931
  ;;
 
4932
 
 
4933
darwin* | rhapsody*)
 
4934
  lt_cv_deplibs_check_method=pass_all
 
4935
  ;;
 
4936
 
 
4937
freebsd* | dragonfly*)
 
4938
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
4939
    case $host_cpu in
 
4940
    i*86 )
 
4941
      # Not sure whether the presence of OpenBSD here was a mistake.
 
4942
      # Let's accept both of them until this is cleared up.
 
4943
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
4944
      lt_cv_file_magic_cmd=/usr/bin/file
 
4945
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
4946
      ;;
 
4947
    esac
 
4948
  else
 
4949
    lt_cv_deplibs_check_method=pass_all
 
4950
  fi
 
4951
  ;;
 
4952
 
 
4953
gnu*)
 
4954
  lt_cv_deplibs_check_method=pass_all
 
4955
  ;;
 
4956
 
 
4957
haiku*)
 
4958
  lt_cv_deplibs_check_method=pass_all
 
4959
  ;;
 
4960
 
 
4961
hpux10.20* | hpux11*)
 
4962
  lt_cv_file_magic_cmd=/usr/bin/file
 
4963
  case $host_cpu in
 
4964
  ia64*)
 
4965
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
4966
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
4967
    ;;
 
4968
  hppa*64*)
 
4969
    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]'
 
4970
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
4971
    ;;
 
4972
  *)
 
4973
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 
4974
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
4975
    ;;
 
4976
  esac
 
4977
  ;;
 
4978
 
 
4979
interix[3-9]*)
 
4980
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
4981
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
4982
  ;;
 
4983
 
 
4984
irix5* | irix6* | nonstopux*)
 
4985
  case $LD in
 
4986
  *-32|*"-32 ") libmagic=32-bit;;
 
4987
  *-n32|*"-n32 ") libmagic=N32;;
 
4988
  *-64|*"-64 ") libmagic=64-bit;;
 
4989
  *) libmagic=never-match;;
 
4990
  esac
 
4991
  lt_cv_deplibs_check_method=pass_all
 
4992
  ;;
 
4993
 
 
4994
# This must be Linux ELF.
 
4995
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
4996
  lt_cv_deplibs_check_method=pass_all
 
4997
  ;;
 
4998
 
 
4999
netbsd* | netbsdelf*-gnu)
 
5000
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5001
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5002
  else
 
5003
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
5004
  fi
 
5005
  ;;
 
5006
 
 
5007
newos6*)
 
5008
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
5009
  lt_cv_file_magic_cmd=/usr/bin/file
 
5010
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
5011
  ;;
 
5012
 
 
5013
*nto* | *qnx*)
 
5014
  lt_cv_deplibs_check_method=pass_all
 
5015
  ;;
 
5016
 
 
5017
openbsd*)
 
5018
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5019
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
5020
  else
 
5021
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5022
  fi
 
5023
  ;;
 
5024
 
 
5025
osf3* | osf4* | osf5*)
 
5026
  lt_cv_deplibs_check_method=pass_all
 
5027
  ;;
 
5028
 
 
5029
rdos*)
 
5030
  lt_cv_deplibs_check_method=pass_all
 
5031
  ;;
 
5032
 
 
5033
solaris*)
 
5034
  lt_cv_deplibs_check_method=pass_all
 
5035
  ;;
 
5036
 
 
5037
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5038
  lt_cv_deplibs_check_method=pass_all
 
5039
  ;;
 
5040
 
 
5041
sysv4 | sysv4.3*)
 
5042
  case $host_vendor in
 
5043
  motorola)
 
5044
    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]'
 
5045
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
5046
    ;;
 
5047
  ncr)
 
5048
    lt_cv_deplibs_check_method=pass_all
 
5049
    ;;
 
5050
  sequent)
 
5051
    lt_cv_file_magic_cmd='/bin/file'
 
5052
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
5053
    ;;
 
5054
  sni)
 
5055
    lt_cv_file_magic_cmd='/bin/file'
 
5056
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
5057
    lt_cv_file_magic_test_file=/lib/libc.so
 
5058
    ;;
 
5059
  siemens)
 
5060
    lt_cv_deplibs_check_method=pass_all
 
5061
    ;;
 
5062
  pc)
 
5063
    lt_cv_deplibs_check_method=pass_all
 
5064
    ;;
 
5065
  esac
 
5066
  ;;
 
5067
 
 
5068
tpf*)
 
5069
  lt_cv_deplibs_check_method=pass_all
 
5070
  ;;
 
5071
esac
 
5072
 
 
5073
fi
 
5074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
5075
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5076
 
 
5077
file_magic_glob=
 
5078
want_nocaseglob=no
 
5079
if test "$build" = "$host"; then
 
5080
  case $host_os in
 
5081
  mingw* | pw32*)
 
5082
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5083
      want_nocaseglob=yes
 
5084
    else
 
5085
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5086
    fi
 
5087
    ;;
 
5088
  esac
 
5089
fi
 
5090
 
 
5091
file_magic_cmd=$lt_cv_file_magic_cmd
 
5092
deplibs_check_method=$lt_cv_deplibs_check_method
 
5093
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
5094
 
 
5095
 
 
5096
 
 
5097
 
 
5098
 
 
5099
 
 
5100
 
 
5101
 
 
5102
 
 
5103
 
 
5104
 
 
5105
 
 
5106
 
 
5107
 
 
5108
 
 
5109
 
 
5110
 
 
5111
 
 
5112
 
 
5113
 
 
5114
 
 
5115
 
 
5116
if test -n "$ac_tool_prefix"; then
 
5117
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5118
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5120
$as_echo_n "checking for $ac_word... " >&6; }
 
5121
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5122
  $as_echo_n "(cached) " >&6
 
5123
else
 
5124
  if test -n "$DLLTOOL"; then
 
5125
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5126
else
 
5127
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5128
for as_dir in $PATH
 
5129
do
 
5130
  IFS=$as_save_IFS
 
5131
  test -z "$as_dir" && as_dir=.
 
5132
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5133
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5134
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5135
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5136
    break 2
 
5137
  fi
 
5138
done
 
5139
  done
 
5140
IFS=$as_save_IFS
 
5141
 
 
5142
fi
 
5143
fi
 
5144
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5145
if test -n "$DLLTOOL"; then
 
5146
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5147
$as_echo "$DLLTOOL" >&6; }
 
5148
else
 
5149
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5150
$as_echo "no" >&6; }
 
5151
fi
 
5152
 
 
5153
 
 
5154
fi
 
5155
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5156
  ac_ct_DLLTOOL=$DLLTOOL
 
5157
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5158
set dummy dlltool; ac_word=$2
 
5159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5160
$as_echo_n "checking for $ac_word... " >&6; }
 
5161
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5162
  $as_echo_n "(cached) " >&6
 
5163
else
 
5164
  if test -n "$ac_ct_DLLTOOL"; then
 
5165
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5166
else
 
5167
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5168
for as_dir in $PATH
 
5169
do
 
5170
  IFS=$as_save_IFS
 
5171
  test -z "$as_dir" && as_dir=.
 
5172
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5173
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5174
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5175
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5176
    break 2
 
5177
  fi
 
5178
done
 
5179
  done
 
5180
IFS=$as_save_IFS
 
5181
 
 
5182
fi
 
5183
fi
 
5184
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5185
if test -n "$ac_ct_DLLTOOL"; then
 
5186
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5187
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5188
else
 
5189
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5190
$as_echo "no" >&6; }
 
5191
fi
 
5192
 
 
5193
  if test "x$ac_ct_DLLTOOL" = x; then
 
5194
    DLLTOOL="false"
 
5195
  else
 
5196
    case $cross_compiling:$ac_tool_warned in
 
5197
yes:)
 
5198
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5199
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5200
ac_tool_warned=yes ;;
 
5201
esac
 
5202
    DLLTOOL=$ac_ct_DLLTOOL
 
5203
  fi
 
5204
else
 
5205
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5206
fi
 
5207
 
 
5208
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5209
 
 
5210
 
 
5211
 
 
5212
 
 
5213
 
 
5214
 
 
5215
 
 
5216
 
 
5217
 
 
5218
 
 
5219
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5220
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5221
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5222
  $as_echo_n "(cached) " >&6
 
5223
else
 
5224
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5225
 
 
5226
case $host_os in
 
5227
cygwin* | mingw* | pw32* | cegcc*)
 
5228
  # two different shell functions defined in ltmain.sh
 
5229
  # decide which to use based on capabilities of $DLLTOOL
 
5230
  case `$DLLTOOL --help 2>&1` in
 
5231
  *--identify-strict*)
 
5232
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5233
    ;;
 
5234
  *)
 
5235
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5236
    ;;
 
5237
  esac
 
5238
  ;;
 
5239
*)
 
5240
  # fallback: assume linklib IS sharedlib
 
5241
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5242
  ;;
 
5243
esac
 
5244
 
 
5245
fi
 
5246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5247
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5248
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5249
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5250
 
 
5251
 
 
5252
 
 
5253
 
 
5254
 
 
5255
 
 
5256
 
 
5257
 
 
5258
if test -n "$ac_tool_prefix"; then
 
5259
  for ac_prog in ar
 
5260
  do
 
5261
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5262
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5264
$as_echo_n "checking for $ac_word... " >&6; }
 
5265
if ${ac_cv_prog_AR+:} false; then :
 
5266
  $as_echo_n "(cached) " >&6
 
5267
else
 
5268
  if test -n "$AR"; then
 
5269
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5270
else
 
5271
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5272
for as_dir in $PATH
 
5273
do
 
5274
  IFS=$as_save_IFS
 
5275
  test -z "$as_dir" && as_dir=.
 
5276
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5277
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5278
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
5279
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5280
    break 2
 
5281
  fi
 
5282
done
 
5283
  done
 
5284
IFS=$as_save_IFS
 
5285
 
 
5286
fi
 
5287
fi
 
5288
AR=$ac_cv_prog_AR
 
5289
if test -n "$AR"; then
 
5290
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
5291
$as_echo "$AR" >&6; }
 
5292
else
 
5293
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5294
$as_echo "no" >&6; }
 
5295
fi
 
5296
 
 
5297
 
 
5298
    test -n "$AR" && break
 
5299
  done
 
5300
fi
 
5301
if test -z "$AR"; then
 
5302
  ac_ct_AR=$AR
 
5303
  for ac_prog in ar
 
5304
do
 
5305
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5306
set dummy $ac_prog; ac_word=$2
 
5307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5308
$as_echo_n "checking for $ac_word... " >&6; }
 
5309
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
5310
  $as_echo_n "(cached) " >&6
 
5311
else
 
5312
  if test -n "$ac_ct_AR"; then
 
5313
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5314
else
 
5315
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5316
for as_dir in $PATH
 
5317
do
 
5318
  IFS=$as_save_IFS
 
5319
  test -z "$as_dir" && as_dir=.
 
5320
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5321
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5322
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
5323
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5324
    break 2
 
5325
  fi
 
5326
done
 
5327
  done
 
5328
IFS=$as_save_IFS
 
5329
 
 
5330
fi
 
5331
fi
 
5332
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5333
if test -n "$ac_ct_AR"; then
 
5334
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
5335
$as_echo "$ac_ct_AR" >&6; }
 
5336
else
 
5337
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5338
$as_echo "no" >&6; }
 
5339
fi
 
5340
 
 
5341
 
 
5342
  test -n "$ac_ct_AR" && break
 
5343
done
 
5344
 
 
5345
  if test "x$ac_ct_AR" = x; then
 
5346
    AR="false"
 
5347
  else
 
5348
    case $cross_compiling:$ac_tool_warned in
 
5349
yes:)
 
5350
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5351
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5352
ac_tool_warned=yes ;;
 
5353
esac
 
5354
    AR=$ac_ct_AR
 
5355
  fi
 
5356
fi
 
5357
 
 
5358
: ${AR=ar}
 
5359
: ${AR_FLAGS=cru}
 
5360
 
 
5361
 
 
5362
 
 
5363
 
 
5364
 
 
5365
 
 
5366
 
 
5367
 
 
5368
 
 
5369
 
 
5370
 
 
5371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
5372
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
5373
if ${lt_cv_ar_at_file+:} false; then :
 
5374
  $as_echo_n "(cached) " >&6
 
5375
else
 
5376
  lt_cv_ar_at_file=no
 
5377
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5378
/* end confdefs.h.  */
 
5379
 
 
5380
int
 
5381
main ()
 
5382
{
 
5383
 
 
5384
  ;
 
5385
  return 0;
 
5386
}
 
5387
_ACEOF
 
5388
if ac_fn_c_try_compile "$LINENO"; then :
 
5389
  echo conftest.$ac_objext > conftest.lst
 
5390
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
5391
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5392
  (eval $lt_ar_try) 2>&5
 
5393
  ac_status=$?
 
5394
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5395
  test $ac_status = 0; }
 
5396
      if test "$ac_status" -eq 0; then
 
5397
        # Ensure the archiver fails upon bogus file names.
 
5398
        rm -f conftest.$ac_objext libconftest.a
 
5399
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5400
  (eval $lt_ar_try) 2>&5
 
5401
  ac_status=$?
 
5402
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5403
  test $ac_status = 0; }
 
5404
        if test "$ac_status" -ne 0; then
 
5405
          lt_cv_ar_at_file=@
 
5406
        fi
 
5407
      fi
 
5408
      rm -f conftest.* libconftest.a
 
5409
 
 
5410
fi
 
5411
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5412
 
 
5413
fi
 
5414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
5415
$as_echo "$lt_cv_ar_at_file" >&6; }
 
5416
 
 
5417
if test "x$lt_cv_ar_at_file" = xno; then
 
5418
  archiver_list_spec=
 
5419
else
 
5420
  archiver_list_spec=$lt_cv_ar_at_file
 
5421
fi
 
5422
 
 
5423
 
 
5424
 
 
5425
 
 
5426
 
 
5427
 
 
5428
 
 
5429
if test -n "$ac_tool_prefix"; then
 
5430
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5431
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
5432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5433
$as_echo_n "checking for $ac_word... " >&6; }
 
5434
if ${ac_cv_prog_STRIP+:} false; then :
 
5435
  $as_echo_n "(cached) " >&6
 
5436
else
 
5437
  if test -n "$STRIP"; then
 
5438
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
5439
else
 
5440
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5441
for as_dir in $PATH
 
5442
do
 
5443
  IFS=$as_save_IFS
 
5444
  test -z "$as_dir" && as_dir=.
 
5445
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5446
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5447
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5448
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5449
    break 2
 
5450
  fi
 
5451
done
 
5452
  done
 
5453
IFS=$as_save_IFS
 
5454
 
 
5455
fi
 
5456
fi
 
5457
STRIP=$ac_cv_prog_STRIP
 
5458
if test -n "$STRIP"; then
 
5459
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
5460
$as_echo "$STRIP" >&6; }
 
5461
else
 
5462
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5463
$as_echo "no" >&6; }
 
5464
fi
 
5465
 
 
5466
 
 
5467
fi
 
5468
if test -z "$ac_cv_prog_STRIP"; then
 
5469
  ac_ct_STRIP=$STRIP
 
5470
  # Extract the first word of "strip", so it can be a program name with args.
 
5471
set dummy strip; ac_word=$2
 
5472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5473
$as_echo_n "checking for $ac_word... " >&6; }
 
5474
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
5475
  $as_echo_n "(cached) " >&6
 
5476
else
 
5477
  if test -n "$ac_ct_STRIP"; then
 
5478
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
5479
else
 
5480
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5481
for as_dir in $PATH
 
5482
do
 
5483
  IFS=$as_save_IFS
 
5484
  test -z "$as_dir" && as_dir=.
 
5485
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5486
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5487
    ac_cv_prog_ac_ct_STRIP="strip"
 
5488
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5489
    break 2
 
5490
  fi
 
5491
done
 
5492
  done
 
5493
IFS=$as_save_IFS
 
5494
 
 
5495
fi
 
5496
fi
 
5497
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
5498
if test -n "$ac_ct_STRIP"; then
 
5499
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
5500
$as_echo "$ac_ct_STRIP" >&6; }
 
5501
else
 
5502
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5503
$as_echo "no" >&6; }
 
5504
fi
 
5505
 
 
5506
  if test "x$ac_ct_STRIP" = x; then
 
5507
    STRIP=":"
 
5508
  else
 
5509
    case $cross_compiling:$ac_tool_warned in
 
5510
yes:)
 
5511
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5512
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5513
ac_tool_warned=yes ;;
 
5514
esac
 
5515
    STRIP=$ac_ct_STRIP
 
5516
  fi
 
5517
else
 
5518
  STRIP="$ac_cv_prog_STRIP"
 
5519
fi
 
5520
 
 
5521
test -z "$STRIP" && STRIP=:
 
5522
 
 
5523
 
 
5524
 
 
5525
 
 
5526
 
 
5527
 
 
5528
if test -n "$ac_tool_prefix"; then
 
5529
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
5530
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
5531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5532
$as_echo_n "checking for $ac_word... " >&6; }
 
5533
if ${ac_cv_prog_RANLIB+:} false; then :
 
5534
  $as_echo_n "(cached) " >&6
 
5535
else
 
5536
  if test -n "$RANLIB"; then
 
5537
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
5538
else
 
5539
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5540
for as_dir in $PATH
 
5541
do
 
5542
  IFS=$as_save_IFS
 
5543
  test -z "$as_dir" && as_dir=.
 
5544
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5545
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5546
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
5547
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5548
    break 2
 
5549
  fi
 
5550
done
 
5551
  done
 
5552
IFS=$as_save_IFS
 
5553
 
 
5554
fi
 
5555
fi
 
5556
RANLIB=$ac_cv_prog_RANLIB
 
5557
if test -n "$RANLIB"; then
 
5558
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
5559
$as_echo "$RANLIB" >&6; }
 
5560
else
 
5561
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5562
$as_echo "no" >&6; }
 
5563
fi
 
5564
 
 
5565
 
 
5566
fi
 
5567
if test -z "$ac_cv_prog_RANLIB"; then
 
5568
  ac_ct_RANLIB=$RANLIB
 
5569
  # Extract the first word of "ranlib", so it can be a program name with args.
 
5570
set dummy ranlib; ac_word=$2
 
5571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5572
$as_echo_n "checking for $ac_word... " >&6; }
 
5573
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
5574
  $as_echo_n "(cached) " >&6
 
5575
else
 
5576
  if test -n "$ac_ct_RANLIB"; then
 
5577
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
5578
else
 
5579
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5580
for as_dir in $PATH
 
5581
do
 
5582
  IFS=$as_save_IFS
 
5583
  test -z "$as_dir" && as_dir=.
 
5584
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5585
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5586
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
5587
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5588
    break 2
 
5589
  fi
 
5590
done
 
5591
  done
 
5592
IFS=$as_save_IFS
 
5593
 
 
5594
fi
 
5595
fi
 
5596
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
5597
if test -n "$ac_ct_RANLIB"; then
 
5598
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
5599
$as_echo "$ac_ct_RANLIB" >&6; }
 
5600
else
 
5601
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5602
$as_echo "no" >&6; }
 
5603
fi
 
5604
 
 
5605
  if test "x$ac_ct_RANLIB" = x; then
 
5606
    RANLIB=":"
 
5607
  else
 
5608
    case $cross_compiling:$ac_tool_warned in
 
5609
yes:)
 
5610
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5611
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5612
ac_tool_warned=yes ;;
 
5613
esac
 
5614
    RANLIB=$ac_ct_RANLIB
 
5615
  fi
 
5616
else
 
5617
  RANLIB="$ac_cv_prog_RANLIB"
 
5618
fi
 
5619
 
 
5620
test -z "$RANLIB" && RANLIB=:
 
5621
 
 
5622
 
 
5623
 
 
5624
 
 
5625
 
 
5626
 
 
5627
# Determine commands to create old-style static archives.
 
5628
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
5629
old_postinstall_cmds='chmod 644 $oldlib'
 
5630
old_postuninstall_cmds=
 
5631
 
 
5632
if test -n "$RANLIB"; then
 
5633
  case $host_os in
 
5634
  openbsd*)
 
5635
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
5636
    ;;
 
5637
  *)
 
5638
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
5639
    ;;
 
5640
  esac
 
5641
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5642
fi
 
5643
 
 
5644
case $host_os in
 
5645
  darwin*)
 
5646
    lock_old_archive_extraction=yes ;;
 
5647
  *)
 
5648
    lock_old_archive_extraction=no ;;
 
5649
esac
 
5650
 
 
5651
 
 
5652
 
 
5653
 
 
5654
 
 
5655
 
 
5656
 
 
5657
 
 
5658
 
 
5659
 
 
5660
 
 
5661
 
 
5662
 
 
5663
 
 
5664
 
 
5665
 
 
5666
 
 
5667
 
 
5668
 
 
5669
 
 
5670
 
 
5671
 
 
5672
 
 
5673
 
 
5674
 
 
5675
 
 
5676
 
 
5677
 
 
5678
 
 
5679
 
 
5680
 
 
5681
 
 
5682
 
 
5683
 
 
5684
 
 
5685
 
 
5686
 
 
5687
 
 
5688
 
 
5689
# If no C compiler was specified, use CC.
 
5690
LTCC=${LTCC-"$CC"}
 
5691
 
 
5692
# If no C compiler flags were specified, use CFLAGS.
 
5693
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
5694
 
 
5695
# Allow CC to be a program name with arguments.
 
5696
compiler=$CC
 
5697
 
 
5698
 
 
5699
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
5700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
5701
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
5702
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
5703
  $as_echo_n "(cached) " >&6
 
5704
else
 
5705
 
 
5706
# These are sane defaults that work on at least a few old systems.
 
5707
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
5708
 
 
5709
# Character class describing NM global symbol codes.
 
5710
symcode='[BCDEGRST]'
 
5711
 
 
5712
# Regexp to match symbols that can be accessed directly from C.
 
5713
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
5714
 
 
5715
# Define system-specific variables.
 
5716
case $host_os in
 
5717
aix*)
 
5718
  symcode='[BCDT]'
 
5719
  ;;
 
5720
cygwin* | mingw* | pw32* | cegcc*)
 
5721
  symcode='[ABCDGISTW]'
 
5722
  ;;
 
5723
hpux*)
 
5724
  if test "$host_cpu" = ia64; then
 
5725
    symcode='[ABCDEGRST]'
 
5726
  fi
 
5727
  ;;
 
5728
irix* | nonstopux*)
 
5729
  symcode='[BCDEGRST]'
 
5730
  ;;
 
5731
osf*)
 
5732
  symcode='[BCDEGQRST]'
 
5733
  ;;
 
5734
solaris*)
 
5735
  symcode='[BDRT]'
 
5736
  ;;
 
5737
sco3.2v5*)
 
5738
  symcode='[DT]'
 
5739
  ;;
 
5740
sysv4.2uw2*)
 
5741
  symcode='[DT]'
 
5742
  ;;
 
5743
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
5744
  symcode='[ABDT]'
 
5745
  ;;
 
5746
sysv4)
 
5747
  symcode='[DFNSTU]'
 
5748
  ;;
 
5749
esac
 
5750
 
 
5751
# If we're using GNU nm, then use its standard symbol codes.
 
5752
case `$NM -V 2>&1` in
 
5753
*GNU* | *'with BFD'*)
 
5754
  symcode='[ABCDGIRSTW]' ;;
 
5755
esac
 
5756
 
 
5757
# Transform an extracted symbol line into a proper C declaration.
 
5758
# Some systems (esp. on ia64) link data and code symbols differently,
 
5759
# so use this general approach.
 
5760
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
5761
 
 
5762
# Transform an extracted symbol line into symbol name and symbol address
 
5763
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5764
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'"
 
5765
 
 
5766
# Handle CRLF in mingw tool chain
 
5767
opt_cr=
 
5768
case $build_os in
 
5769
mingw*)
 
5770
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
5771
  ;;
 
5772
esac
 
5773
 
 
5774
# Try without a prefix underscore, then with it.
 
5775
for ac_symprfx in "" "_"; do
 
5776
 
 
5777
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
5778
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
5779
 
 
5780
  # Write the raw and C identifiers.
 
5781
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
5782
    # Fake it for dumpbin and say T for any non-static function
 
5783
    # and D for any global variable.
 
5784
    # Also find C++ and __fastcall symbols from MSVC++,
 
5785
    # which start with @ or ?.
 
5786
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
5787
"     {last_section=section; section=\$ 3};"\
 
5788
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
5789
"     \$ 0!~/External *\|/{next};"\
 
5790
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
5791
"     {if(hide[section]) next};"\
 
5792
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
5793
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
5794
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
5795
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
5796
"     ' prfx=^$ac_symprfx"
 
5797
  else
 
5798
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5799
  fi
 
5800
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
5801
 
 
5802
  # Check to see that the pipe works correctly.
 
5803
  pipe_works=no
 
5804
 
 
5805
  rm -f conftest*
 
5806
  cat > conftest.$ac_ext <<_LT_EOF
 
5807
#ifdef __cplusplus
 
5808
extern "C" {
 
5809
#endif
 
5810
char nm_test_var;
 
5811
void nm_test_func(void);
 
5812
void nm_test_func(void){}
 
5813
#ifdef __cplusplus
 
5814
}
 
5815
#endif
 
5816
int main(){nm_test_var='a';nm_test_func();return(0);}
 
5817
_LT_EOF
 
5818
 
 
5819
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
5820
  (eval $ac_compile) 2>&5
 
5821
  ac_status=$?
 
5822
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5823
  test $ac_status = 0; }; then
 
5824
    # Now try to grab the symbols.
 
5825
    nlist=conftest.nm
 
5826
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
5827
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 
5828
  ac_status=$?
 
5829
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5830
  test $ac_status = 0; } && test -s "$nlist"; then
 
5831
      # Try sorting and uniquifying the output.
 
5832
      if sort "$nlist" | uniq > "$nlist"T; then
 
5833
        mv -f "$nlist"T "$nlist"
 
5834
      else
 
5835
        rm -f "$nlist"T
 
5836
      fi
 
5837
 
 
5838
      # Make sure that we snagged all the symbols we need.
 
5839
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
5840
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
5841
          cat <<_LT_EOF > conftest.$ac_ext
 
5842
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
5843
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
5844
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
5845
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
5846
# define LT_DLSYM_CONST
 
5847
#elif defined(__osf__)
 
5848
/* This system does not cope well with relocations in const data.  */
 
5849
# define LT_DLSYM_CONST
 
5850
#else
 
5851
# define LT_DLSYM_CONST const
 
5852
#endif
 
5853
 
 
5854
#ifdef __cplusplus
 
5855
extern "C" {
 
5856
#endif
 
5857
 
 
5858
_LT_EOF
 
5859
          # Now generate the symbol file.
 
5860
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
5861
 
 
5862
          cat <<_LT_EOF >> conftest.$ac_ext
 
5863
 
 
5864
/* The mapping between symbol names and symbols.  */
 
5865
LT_DLSYM_CONST struct {
 
5866
  const char *name;
 
5867
  void       *address;
 
5868
}
 
5869
lt__PROGRAM__LTX_preloaded_symbols[] =
 
5870
{
 
5871
  { "@PROGRAM@", (void *) 0 },
 
5872
_LT_EOF
 
5873
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
5874
          cat <<\_LT_EOF >> conftest.$ac_ext
 
5875
  {0, (void *) 0}
 
5876
};
 
5877
 
 
5878
/* This works around a problem in FreeBSD linker */
 
5879
#ifdef FREEBSD_WORKAROUND
 
5880
static const void *lt_preloaded_setup() {
 
5881
  return lt__PROGRAM__LTX_preloaded_symbols;
 
5882
}
 
5883
#endif
 
5884
 
 
5885
#ifdef __cplusplus
 
5886
}
 
5887
#endif
 
5888
_LT_EOF
 
5889
          # Now try linking the two files.
 
5890
          mv conftest.$ac_objext conftstm.$ac_objext
 
5891
          lt_globsym_save_LIBS=$LIBS
 
5892
          lt_globsym_save_CFLAGS=$CFLAGS
 
5893
          LIBS="conftstm.$ac_objext"
 
5894
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
5895
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
5896
  (eval $ac_link) 2>&5
 
5897
  ac_status=$?
 
5898
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5899
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
5900
            pipe_works=yes
 
5901
          fi
 
5902
          LIBS=$lt_globsym_save_LIBS
 
5903
          CFLAGS=$lt_globsym_save_CFLAGS
 
5904
        else
 
5905
          echo "cannot find nm_test_func in $nlist" >&5
 
5906
        fi
 
5907
      else
 
5908
        echo "cannot find nm_test_var in $nlist" >&5
 
5909
      fi
 
5910
    else
 
5911
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
5912
    fi
 
5913
  else
 
5914
    echo "$progname: failed program was:" >&5
 
5915
    cat conftest.$ac_ext >&5
 
5916
  fi
 
5917
  rm -rf conftest* conftst*
 
5918
 
 
5919
  # Do not use the global_symbol_pipe unless it works.
 
5920
  if test "$pipe_works" = yes; then
 
5921
    break
 
5922
  else
 
5923
    lt_cv_sys_global_symbol_pipe=
 
5924
  fi
 
5925
done
 
5926
 
 
5927
fi
 
5928
 
 
5929
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
5930
  lt_cv_sys_global_symbol_to_cdecl=
 
5931
fi
 
5932
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
5933
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
5934
$as_echo "failed" >&6; }
 
5935
else
 
5936
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
5937
$as_echo "ok" >&6; }
 
5938
fi
 
5939
 
 
5940
# Response file support.
 
5941
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
5942
  nm_file_list_spec='@'
 
5943
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
5944
  nm_file_list_spec='@'
 
5945
fi
 
5946
 
 
5947
 
 
5948
 
 
5949
 
 
5950
 
 
5951
 
 
5952
 
 
5953
 
 
5954
 
 
5955
 
 
5956
 
 
5957
 
 
5958
 
 
5959
 
 
5960
 
 
5961
 
 
5962
 
 
5963
 
 
5964
 
 
5965
 
 
5966
 
 
5967
 
 
5968
 
 
5969
 
 
5970
 
 
5971
 
 
5972
 
 
5973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
5974
$as_echo_n "checking for sysroot... " >&6; }
 
5975
 
 
5976
# Check whether --with-sysroot was given.
 
5977
if test "${with_sysroot+set}" = set; then :
 
5978
  withval=$with_sysroot;
 
5979
else
 
5980
  with_sysroot=no
 
5981
fi
 
5982
 
 
5983
 
 
5984
lt_sysroot=
 
5985
case ${with_sysroot} in #(
 
5986
 yes)
 
5987
   if test "$GCC" = yes; then
 
5988
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
5989
   fi
 
5990
   ;; #(
 
5991
 /*)
 
5992
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
5993
   ;; #(
 
5994
 no|'')
 
5995
   ;; #(
 
5996
 *)
 
5997
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
5998
$as_echo "${with_sysroot}" >&6; }
 
5999
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6000
   ;;
 
6001
esac
 
6002
 
 
6003
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6004
$as_echo "${lt_sysroot:-no}" >&6; }
 
6005
 
 
6006
 
 
6007
 
 
6008
 
 
6009
 
 
6010
# Check whether --enable-libtool-lock was given.
 
6011
if test "${enable_libtool_lock+set}" = set; then :
 
6012
  enableval=$enable_libtool_lock;
 
6013
fi
 
6014
 
 
6015
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6016
 
 
6017
# Some flags need to be propagated to the compiler or linker for good
 
6018
# libtool support.
 
6019
case $host in
 
6020
ia64-*-hpux*)
 
6021
  # Find out which ABI we are using.
 
6022
  echo 'int i;' > conftest.$ac_ext
 
6023
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6024
  (eval $ac_compile) 2>&5
 
6025
  ac_status=$?
 
6026
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6027
  test $ac_status = 0; }; then
 
6028
    case `/usr/bin/file conftest.$ac_objext` in
 
6029
      *ELF-32*)
 
6030
        HPUX_IA64_MODE="32"
 
6031
        ;;
 
6032
      *ELF-64*)
 
6033
        HPUX_IA64_MODE="64"
 
6034
        ;;
 
6035
    esac
 
6036
  fi
 
6037
  rm -rf conftest*
 
6038
  ;;
 
6039
*-*-irix6*)
 
6040
  # Find out which ABI we are using.
 
6041
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
6042
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6043
  (eval $ac_compile) 2>&5
 
6044
  ac_status=$?
 
6045
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6046
  test $ac_status = 0; }; then
 
6047
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
6048
      case `/usr/bin/file conftest.$ac_objext` in
 
6049
        *32-bit*)
 
6050
          LD="${LD-ld} -melf32bsmip"
 
6051
          ;;
 
6052
        *N32*)
 
6053
          LD="${LD-ld} -melf32bmipn32"
 
6054
          ;;
 
6055
        *64-bit*)
 
6056
          LD="${LD-ld} -melf64bmip"
 
6057
        ;;
 
6058
      esac
 
6059
    else
 
6060
      case `/usr/bin/file conftest.$ac_objext` in
 
6061
        *32-bit*)
 
6062
          LD="${LD-ld} -32"
 
6063
          ;;
 
6064
        *N32*)
 
6065
          LD="${LD-ld} -n32"
 
6066
          ;;
 
6067
        *64-bit*)
 
6068
          LD="${LD-ld} -64"
 
6069
          ;;
 
6070
      esac
 
6071
    fi
 
6072
  fi
 
6073
  rm -rf conftest*
 
6074
  ;;
 
6075
 
 
6076
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6077
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6078
  # Find out which ABI we are using.
 
6079
  echo 'int i;' > conftest.$ac_ext
 
6080
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6081
  (eval $ac_compile) 2>&5
 
6082
  ac_status=$?
 
6083
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6084
  test $ac_status = 0; }; then
 
6085
    case `/usr/bin/file conftest.o` in
 
6086
      *32-bit*)
 
6087
        case $host in
 
6088
          x86_64-*kfreebsd*-gnu)
 
6089
            LD="${LD-ld} -m elf_i386_fbsd"
 
6090
            ;;
 
6091
          x86_64-*linux*)
 
6092
            LD="${LD-ld} -m elf_i386"
 
6093
            ;;
 
6094
          ppc64-*linux*|powerpc64-*linux*)
 
6095
            LD="${LD-ld} -m elf32ppclinux"
 
6096
            ;;
 
6097
          s390x-*linux*)
 
6098
            LD="${LD-ld} -m elf_s390"
 
6099
            ;;
 
6100
          sparc64-*linux*)
 
6101
            LD="${LD-ld} -m elf32_sparc"
 
6102
            ;;
 
6103
        esac
 
6104
        ;;
 
6105
      *64-bit*)
 
6106
        case $host in
 
6107
          x86_64-*kfreebsd*-gnu)
 
6108
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6109
            ;;
 
6110
          x86_64-*linux*)
 
6111
            LD="${LD-ld} -m elf_x86_64"
 
6112
            ;;
 
6113
          ppc*-*linux*|powerpc*-*linux*)
 
6114
            LD="${LD-ld} -m elf64ppc"
 
6115
            ;;
 
6116
          s390*-*linux*|s390*-*tpf*)
 
6117
            LD="${LD-ld} -m elf64_s390"
 
6118
            ;;
 
6119
          sparc*-*linux*)
 
6120
            LD="${LD-ld} -m elf64_sparc"
 
6121
            ;;
 
6122
        esac
 
6123
        ;;
 
6124
    esac
 
6125
  fi
 
6126
  rm -rf conftest*
 
6127
  ;;
 
6128
 
 
6129
*-*-sco3.2v5*)
 
6130
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6131
  SAVE_CFLAGS="$CFLAGS"
 
6132
  CFLAGS="$CFLAGS -belf"
 
6133
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
6134
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6135
if ${lt_cv_cc_needs_belf+:} false; then :
 
6136
  $as_echo_n "(cached) " >&6
 
6137
else
 
6138
  ac_ext=c
 
6139
ac_cpp='$CPP $CPPFLAGS'
 
6140
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6141
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6142
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6143
 
 
6144
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6145
/* end confdefs.h.  */
 
6146
 
 
6147
int
 
6148
main ()
 
6149
{
 
6150
 
 
6151
  ;
 
6152
  return 0;
 
6153
}
 
6154
_ACEOF
 
6155
if ac_fn_c_try_link "$LINENO"; then :
 
6156
  lt_cv_cc_needs_belf=yes
 
6157
else
 
6158
  lt_cv_cc_needs_belf=no
 
6159
fi
 
6160
rm -f core conftest.err conftest.$ac_objext \
 
6161
    conftest$ac_exeext conftest.$ac_ext
 
6162
     ac_ext=c
 
6163
ac_cpp='$CPP $CPPFLAGS'
 
6164
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6165
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6166
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6167
 
 
6168
fi
 
6169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
6170
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6171
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6172
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6173
    CFLAGS="$SAVE_CFLAGS"
 
6174
  fi
 
6175
  ;;
 
6176
sparc*-*solaris*)
 
6177
  # Find out which ABI we are using.
 
6178
  echo 'int i;' > conftest.$ac_ext
 
6179
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6180
  (eval $ac_compile) 2>&5
 
6181
  ac_status=$?
 
6182
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6183
  test $ac_status = 0; }; then
 
6184
    case `/usr/bin/file conftest.o` in
 
6185
    *64-bit*)
 
6186
      case $lt_cv_prog_gnu_ld in
 
6187
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6188
      *)
 
6189
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6190
          LD="${LD-ld} -64"
 
6191
        fi
 
6192
        ;;
 
6193
      esac
 
6194
      ;;
 
6195
    esac
 
6196
  fi
 
6197
  rm -rf conftest*
 
6198
  ;;
 
6199
esac
 
6200
 
 
6201
need_locks="$enable_libtool_lock"
 
6202
 
 
6203
if test -n "$ac_tool_prefix"; then
 
6204
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6205
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6207
$as_echo_n "checking for $ac_word... " >&6; }
 
6208
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6209
  $as_echo_n "(cached) " >&6
 
6210
else
 
6211
  if test -n "$MANIFEST_TOOL"; then
 
6212
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6213
else
 
6214
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6215
for as_dir in $PATH
 
6216
do
 
6217
  IFS=$as_save_IFS
 
6218
  test -z "$as_dir" && as_dir=.
 
6219
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6220
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6221
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6222
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6223
    break 2
 
6224
  fi
 
6225
done
 
6226
  done
 
6227
IFS=$as_save_IFS
 
6228
 
 
6229
fi
 
6230
fi
 
6231
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6232
if test -n "$MANIFEST_TOOL"; then
 
6233
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6234
$as_echo "$MANIFEST_TOOL" >&6; }
 
6235
else
 
6236
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6237
$as_echo "no" >&6; }
 
6238
fi
 
6239
 
 
6240
 
 
6241
fi
 
6242
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6243
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6244
  # Extract the first word of "mt", so it can be a program name with args.
 
6245
set dummy mt; ac_word=$2
 
6246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6247
$as_echo_n "checking for $ac_word... " >&6; }
 
6248
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6249
  $as_echo_n "(cached) " >&6
 
6250
else
 
6251
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6252
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6253
else
 
6254
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6255
for as_dir in $PATH
 
6256
do
 
6257
  IFS=$as_save_IFS
 
6258
  test -z "$as_dir" && as_dir=.
 
6259
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6260
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6261
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6262
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6263
    break 2
 
6264
  fi
 
6265
done
 
6266
  done
 
6267
IFS=$as_save_IFS
 
6268
 
 
6269
fi
 
6270
fi
 
6271
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6272
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6273
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6274
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6275
else
 
6276
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6277
$as_echo "no" >&6; }
 
6278
fi
 
6279
 
 
6280
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6281
    MANIFEST_TOOL=":"
 
6282
  else
 
6283
    case $cross_compiling:$ac_tool_warned in
 
6284
yes:)
 
6285
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6286
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6287
ac_tool_warned=yes ;;
 
6288
esac
 
6289
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6290
  fi
 
6291
else
 
6292
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6293
fi
 
6294
 
 
6295
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6297
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6298
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6299
  $as_echo_n "(cached) " >&6
 
6300
else
 
6301
  lt_cv_path_mainfest_tool=no
 
6302
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6303
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6304
  cat conftest.err >&5
 
6305
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6306
    lt_cv_path_mainfest_tool=yes
 
6307
  fi
 
6308
  rm -f conftest*
 
6309
fi
 
6310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6311
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6312
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6313
  MANIFEST_TOOL=:
 
6314
fi
 
6315
 
 
6316
 
 
6317
 
 
6318
 
 
6319
 
 
6320
 
 
6321
  case $host_os in
 
6322
    rhapsody* | darwin*)
 
6323
    if test -n "$ac_tool_prefix"; then
 
6324
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
6325
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
6326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6327
$as_echo_n "checking for $ac_word... " >&6; }
 
6328
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
6329
  $as_echo_n "(cached) " >&6
 
6330
else
 
6331
  if test -n "$DSYMUTIL"; then
 
6332
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
6333
else
 
6334
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6335
for as_dir in $PATH
 
6336
do
 
6337
  IFS=$as_save_IFS
 
6338
  test -z "$as_dir" && as_dir=.
 
6339
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6340
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6341
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
6342
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6343
    break 2
 
6344
  fi
 
6345
done
 
6346
  done
 
6347
IFS=$as_save_IFS
 
6348
 
 
6349
fi
 
6350
fi
 
6351
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
6352
if test -n "$DSYMUTIL"; then
 
6353
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
6354
$as_echo "$DSYMUTIL" >&6; }
 
6355
else
 
6356
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6357
$as_echo "no" >&6; }
 
6358
fi
 
6359
 
 
6360
 
 
6361
fi
 
6362
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
6363
  ac_ct_DSYMUTIL=$DSYMUTIL
 
6364
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
6365
set dummy dsymutil; ac_word=$2
 
6366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6367
$as_echo_n "checking for $ac_word... " >&6; }
 
6368
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
6369
  $as_echo_n "(cached) " >&6
 
6370
else
 
6371
  if test -n "$ac_ct_DSYMUTIL"; then
 
6372
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
6373
else
 
6374
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6375
for as_dir in $PATH
 
6376
do
 
6377
  IFS=$as_save_IFS
 
6378
  test -z "$as_dir" && as_dir=.
 
6379
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6380
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6381
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
6382
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6383
    break 2
 
6384
  fi
 
6385
done
 
6386
  done
 
6387
IFS=$as_save_IFS
 
6388
 
 
6389
fi
 
6390
fi
 
6391
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
6392
if test -n "$ac_ct_DSYMUTIL"; then
 
6393
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
6394
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
6395
else
 
6396
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6397
$as_echo "no" >&6; }
 
6398
fi
 
6399
 
 
6400
  if test "x$ac_ct_DSYMUTIL" = x; then
 
6401
    DSYMUTIL=":"
 
6402
  else
 
6403
    case $cross_compiling:$ac_tool_warned in
 
6404
yes:)
 
6405
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6406
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6407
ac_tool_warned=yes ;;
 
6408
esac
 
6409
    DSYMUTIL=$ac_ct_DSYMUTIL
 
6410
  fi
 
6411
else
 
6412
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
6413
fi
 
6414
 
 
6415
    if test -n "$ac_tool_prefix"; then
 
6416
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
6417
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
6418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6419
$as_echo_n "checking for $ac_word... " >&6; }
 
6420
if ${ac_cv_prog_NMEDIT+:} false; then :
 
6421
  $as_echo_n "(cached) " >&6
 
6422
else
 
6423
  if test -n "$NMEDIT"; then
 
6424
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
6425
else
 
6426
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6427
for as_dir in $PATH
 
6428
do
 
6429
  IFS=$as_save_IFS
 
6430
  test -z "$as_dir" && as_dir=.
 
6431
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6432
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6433
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
6434
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6435
    break 2
 
6436
  fi
 
6437
done
 
6438
  done
 
6439
IFS=$as_save_IFS
 
6440
 
 
6441
fi
 
6442
fi
 
6443
NMEDIT=$ac_cv_prog_NMEDIT
 
6444
if test -n "$NMEDIT"; then
 
6445
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
6446
$as_echo "$NMEDIT" >&6; }
 
6447
else
 
6448
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6449
$as_echo "no" >&6; }
 
6450
fi
 
6451
 
 
6452
 
 
6453
fi
 
6454
if test -z "$ac_cv_prog_NMEDIT"; then
 
6455
  ac_ct_NMEDIT=$NMEDIT
 
6456
  # Extract the first word of "nmedit", so it can be a program name with args.
 
6457
set dummy nmedit; ac_word=$2
 
6458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6459
$as_echo_n "checking for $ac_word... " >&6; }
 
6460
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
6461
  $as_echo_n "(cached) " >&6
 
6462
else
 
6463
  if test -n "$ac_ct_NMEDIT"; then
 
6464
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
6465
else
 
6466
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6467
for as_dir in $PATH
 
6468
do
 
6469
  IFS=$as_save_IFS
 
6470
  test -z "$as_dir" && as_dir=.
 
6471
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6472
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6473
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
6474
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6475
    break 2
 
6476
  fi
 
6477
done
 
6478
  done
 
6479
IFS=$as_save_IFS
 
6480
 
 
6481
fi
 
6482
fi
 
6483
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
6484
if test -n "$ac_ct_NMEDIT"; then
 
6485
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
6486
$as_echo "$ac_ct_NMEDIT" >&6; }
 
6487
else
 
6488
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6489
$as_echo "no" >&6; }
 
6490
fi
 
6491
 
 
6492
  if test "x$ac_ct_NMEDIT" = x; then
 
6493
    NMEDIT=":"
 
6494
  else
 
6495
    case $cross_compiling:$ac_tool_warned in
 
6496
yes:)
 
6497
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6498
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6499
ac_tool_warned=yes ;;
 
6500
esac
 
6501
    NMEDIT=$ac_ct_NMEDIT
 
6502
  fi
 
6503
else
 
6504
  NMEDIT="$ac_cv_prog_NMEDIT"
 
6505
fi
 
6506
 
 
6507
    if test -n "$ac_tool_prefix"; then
 
6508
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
6509
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
6510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6511
$as_echo_n "checking for $ac_word... " >&6; }
 
6512
if ${ac_cv_prog_LIPO+:} false; then :
 
6513
  $as_echo_n "(cached) " >&6
 
6514
else
 
6515
  if test -n "$LIPO"; then
 
6516
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6517
else
 
6518
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6519
for as_dir in $PATH
 
6520
do
 
6521
  IFS=$as_save_IFS
 
6522
  test -z "$as_dir" && as_dir=.
 
6523
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6524
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6525
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6526
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6527
    break 2
 
6528
  fi
 
6529
done
 
6530
  done
 
6531
IFS=$as_save_IFS
 
6532
 
 
6533
fi
 
6534
fi
 
6535
LIPO=$ac_cv_prog_LIPO
 
6536
if test -n "$LIPO"; then
 
6537
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
6538
$as_echo "$LIPO" >&6; }
 
6539
else
 
6540
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6541
$as_echo "no" >&6; }
 
6542
fi
 
6543
 
 
6544
 
 
6545
fi
 
6546
if test -z "$ac_cv_prog_LIPO"; then
 
6547
  ac_ct_LIPO=$LIPO
 
6548
  # Extract the first word of "lipo", so it can be a program name with args.
 
6549
set dummy lipo; ac_word=$2
 
6550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6551
$as_echo_n "checking for $ac_word... " >&6; }
 
6552
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
6553
  $as_echo_n "(cached) " >&6
 
6554
else
 
6555
  if test -n "$ac_ct_LIPO"; then
 
6556
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6557
else
 
6558
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6559
for as_dir in $PATH
 
6560
do
 
6561
  IFS=$as_save_IFS
 
6562
  test -z "$as_dir" && as_dir=.
 
6563
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6564
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6565
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6566
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6567
    break 2
 
6568
  fi
 
6569
done
 
6570
  done
 
6571
IFS=$as_save_IFS
 
6572
 
 
6573
fi
 
6574
fi
 
6575
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6576
if test -n "$ac_ct_LIPO"; then
 
6577
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
6578
$as_echo "$ac_ct_LIPO" >&6; }
 
6579
else
 
6580
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6581
$as_echo "no" >&6; }
 
6582
fi
 
6583
 
 
6584
  if test "x$ac_ct_LIPO" = x; then
 
6585
    LIPO=":"
 
6586
  else
 
6587
    case $cross_compiling:$ac_tool_warned in
 
6588
yes:)
 
6589
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6590
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6591
ac_tool_warned=yes ;;
 
6592
esac
 
6593
    LIPO=$ac_ct_LIPO
 
6594
  fi
 
6595
else
 
6596
  LIPO="$ac_cv_prog_LIPO"
 
6597
fi
 
6598
 
 
6599
    if test -n "$ac_tool_prefix"; then
 
6600
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6601
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6602
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6603
$as_echo_n "checking for $ac_word... " >&6; }
 
6604
if ${ac_cv_prog_OTOOL+:} false; then :
 
6605
  $as_echo_n "(cached) " >&6
 
6606
else
 
6607
  if test -n "$OTOOL"; then
 
6608
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6609
else
 
6610
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6611
for as_dir in $PATH
 
6612
do
 
6613
  IFS=$as_save_IFS
 
6614
  test -z "$as_dir" && as_dir=.
 
6615
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6616
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6617
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6618
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6619
    break 2
 
6620
  fi
 
6621
done
 
6622
  done
 
6623
IFS=$as_save_IFS
 
6624
 
 
6625
fi
 
6626
fi
 
6627
OTOOL=$ac_cv_prog_OTOOL
 
6628
if test -n "$OTOOL"; then
 
6629
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
6630
$as_echo "$OTOOL" >&6; }
 
6631
else
 
6632
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6633
$as_echo "no" >&6; }
 
6634
fi
 
6635
 
 
6636
 
 
6637
fi
 
6638
if test -z "$ac_cv_prog_OTOOL"; then
 
6639
  ac_ct_OTOOL=$OTOOL
 
6640
  # Extract the first word of "otool", so it can be a program name with args.
 
6641
set dummy otool; ac_word=$2
 
6642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6643
$as_echo_n "checking for $ac_word... " >&6; }
 
6644
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
6645
  $as_echo_n "(cached) " >&6
 
6646
else
 
6647
  if test -n "$ac_ct_OTOOL"; then
 
6648
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
6649
else
 
6650
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6651
for as_dir in $PATH
 
6652
do
 
6653
  IFS=$as_save_IFS
 
6654
  test -z "$as_dir" && as_dir=.
 
6655
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6656
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6657
    ac_cv_prog_ac_ct_OTOOL="otool"
 
6658
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6659
    break 2
 
6660
  fi
 
6661
done
 
6662
  done
 
6663
IFS=$as_save_IFS
 
6664
 
 
6665
fi
 
6666
fi
 
6667
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
6668
if test -n "$ac_ct_OTOOL"; then
 
6669
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
6670
$as_echo "$ac_ct_OTOOL" >&6; }
 
6671
else
 
6672
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6673
$as_echo "no" >&6; }
 
6674
fi
 
6675
 
 
6676
  if test "x$ac_ct_OTOOL" = x; then
 
6677
    OTOOL=":"
 
6678
  else
 
6679
    case $cross_compiling:$ac_tool_warned in
 
6680
yes:)
 
6681
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6682
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6683
ac_tool_warned=yes ;;
 
6684
esac
 
6685
    OTOOL=$ac_ct_OTOOL
 
6686
  fi
 
6687
else
 
6688
  OTOOL="$ac_cv_prog_OTOOL"
 
6689
fi
 
6690
 
 
6691
    if test -n "$ac_tool_prefix"; then
 
6692
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
6693
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
6694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6695
$as_echo_n "checking for $ac_word... " >&6; }
 
6696
if ${ac_cv_prog_OTOOL64+:} false; then :
 
6697
  $as_echo_n "(cached) " >&6
 
6698
else
 
6699
  if test -n "$OTOOL64"; then
 
6700
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
6701
else
 
6702
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6703
for as_dir in $PATH
 
6704
do
 
6705
  IFS=$as_save_IFS
 
6706
  test -z "$as_dir" && as_dir=.
 
6707
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6708
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6709
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
6710
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6711
    break 2
 
6712
  fi
 
6713
done
 
6714
  done
 
6715
IFS=$as_save_IFS
 
6716
 
 
6717
fi
 
6718
fi
 
6719
OTOOL64=$ac_cv_prog_OTOOL64
 
6720
if test -n "$OTOOL64"; then
 
6721
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
6722
$as_echo "$OTOOL64" >&6; }
 
6723
else
 
6724
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6725
$as_echo "no" >&6; }
 
6726
fi
 
6727
 
 
6728
 
 
6729
fi
 
6730
if test -z "$ac_cv_prog_OTOOL64"; then
 
6731
  ac_ct_OTOOL64=$OTOOL64
 
6732
  # Extract the first word of "otool64", so it can be a program name with args.
 
6733
set dummy otool64; ac_word=$2
 
6734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6735
$as_echo_n "checking for $ac_word... " >&6; }
 
6736
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
6737
  $as_echo_n "(cached) " >&6
 
6738
else
 
6739
  if test -n "$ac_ct_OTOOL64"; then
 
6740
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
6741
else
 
6742
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6743
for as_dir in $PATH
 
6744
do
 
6745
  IFS=$as_save_IFS
 
6746
  test -z "$as_dir" && as_dir=.
 
6747
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6748
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6749
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
6750
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6751
    break 2
 
6752
  fi
 
6753
done
 
6754
  done
 
6755
IFS=$as_save_IFS
 
6756
 
 
6757
fi
 
6758
fi
 
6759
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
6760
if test -n "$ac_ct_OTOOL64"; then
 
6761
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
6762
$as_echo "$ac_ct_OTOOL64" >&6; }
 
6763
else
 
6764
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6765
$as_echo "no" >&6; }
 
6766
fi
 
6767
 
 
6768
  if test "x$ac_ct_OTOOL64" = x; then
 
6769
    OTOOL64=":"
 
6770
  else
 
6771
    case $cross_compiling:$ac_tool_warned in
 
6772
yes:)
 
6773
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6774
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6775
ac_tool_warned=yes ;;
 
6776
esac
 
6777
    OTOOL64=$ac_ct_OTOOL64
 
6778
  fi
 
6779
else
 
6780
  OTOOL64="$ac_cv_prog_OTOOL64"
 
6781
fi
 
6782
 
 
6783
 
 
6784
 
 
6785
 
 
6786
 
 
6787
 
 
6788
 
 
6789
 
 
6790
 
 
6791
 
 
6792
 
 
6793
 
 
6794
 
 
6795
 
 
6796
 
 
6797
 
 
6798
 
 
6799
 
 
6800
 
 
6801
 
 
6802
 
 
6803
 
 
6804
 
 
6805
 
 
6806
 
 
6807
 
 
6808
 
 
6809
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
6810
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
6811
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
6812
  $as_echo_n "(cached) " >&6
 
6813
else
 
6814
  lt_cv_apple_cc_single_mod=no
 
6815
      if test -z "${LT_MULTI_MODULE}"; then
 
6816
        # By default we will add the -single_module flag. You can override
 
6817
        # by either setting the environment variable LT_MULTI_MODULE
 
6818
        # non-empty at configure time, or by adding -multi_module to the
 
6819
        # link flags.
 
6820
        rm -rf libconftest.dylib*
 
6821
        echo "int foo(void){return 1;}" > conftest.c
 
6822
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6823
-dynamiclib -Wl,-single_module conftest.c" >&5
 
6824
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6825
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
6826
        _lt_result=$?
 
6827
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
6828
          lt_cv_apple_cc_single_mod=yes
 
6829
        else
 
6830
          cat conftest.err >&5
 
6831
        fi
 
6832
        rm -rf libconftest.dylib*
 
6833
        rm -f conftest.*
 
6834
      fi
 
6835
fi
 
6836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
6837
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
6838
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
6839
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
6840
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
6841
  $as_echo_n "(cached) " >&6
 
6842
else
 
6843
  lt_cv_ld_exported_symbols_list=no
 
6844
      save_LDFLAGS=$LDFLAGS
 
6845
      echo "_main" > conftest.sym
 
6846
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
6847
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6848
/* end confdefs.h.  */
 
6849
 
 
6850
int
 
6851
main ()
 
6852
{
 
6853
 
 
6854
  ;
 
6855
  return 0;
 
6856
}
 
6857
_ACEOF
 
6858
if ac_fn_c_try_link "$LINENO"; then :
 
6859
  lt_cv_ld_exported_symbols_list=yes
 
6860
else
 
6861
  lt_cv_ld_exported_symbols_list=no
 
6862
fi
 
6863
rm -f core conftest.err conftest.$ac_objext \
 
6864
    conftest$ac_exeext conftest.$ac_ext
 
6865
        LDFLAGS="$save_LDFLAGS"
 
6866
 
 
6867
fi
 
6868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
6869
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
6870
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
6871
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
6872
if ${lt_cv_ld_force_load+:} false; then :
 
6873
  $as_echo_n "(cached) " >&6
 
6874
else
 
6875
  lt_cv_ld_force_load=no
 
6876
      cat > conftest.c << _LT_EOF
 
6877
int forced_loaded() { return 2;}
 
6878
_LT_EOF
 
6879
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
6880
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
6881
      echo "$AR cru libconftest.a conftest.o" >&5
 
6882
      $AR cru libconftest.a conftest.o 2>&5
 
6883
      echo "$RANLIB libconftest.a" >&5
 
6884
      $RANLIB libconftest.a 2>&5
 
6885
      cat > conftest.c << _LT_EOF
 
6886
int main() { return 0;}
 
6887
_LT_EOF
 
6888
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
6889
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
6890
      _lt_result=$?
 
6891
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
6892
        lt_cv_ld_force_load=yes
 
6893
      else
 
6894
        cat conftest.err >&5
 
6895
      fi
 
6896
        rm -f conftest.err libconftest.a conftest conftest.c
 
6897
        rm -rf conftest.dSYM
 
6898
 
 
6899
fi
 
6900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
6901
$as_echo "$lt_cv_ld_force_load" >&6; }
 
6902
    case $host_os in
 
6903
    rhapsody* | darwin1.[012])
 
6904
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
6905
    darwin1.*)
 
6906
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6907
    darwin*) # darwin 5.x on
 
6908
      # if running on 10.5 or later, the deployment target defaults
 
6909
      # to the OS version, if on x86, and 10.4, the deployment
 
6910
      # target defaults to 10.4. Don't you love it?
 
6911
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
6912
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
6913
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6914
        10.[012]*)
 
6915
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6916
        10.*)
 
6917
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6918
      esac
 
6919
    ;;
 
6920
  esac
 
6921
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
6922
      _lt_dar_single_mod='$single_module'
 
6923
    fi
 
6924
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
6925
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
6926
    else
 
6927
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
6928
    fi
 
6929
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
6930
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
6931
    else
 
6932
      _lt_dsymutil=
 
6933
    fi
 
6934
    ;;
 
6935
  esac
 
6936
 
 
6937
ac_ext=c
 
6938
ac_cpp='$CPP $CPPFLAGS'
 
6939
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6940
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6941
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
6943
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
6944
# On Suns, sometimes $CPP names a directory.
 
6945
if test -n "$CPP" && test -d "$CPP"; then
 
6946
  CPP=
 
6947
fi
 
6948
if test -z "$CPP"; then
 
6949
  if ${ac_cv_prog_CPP+:} false; then :
 
6950
  $as_echo_n "(cached) " >&6
 
6951
else
 
6952
      # Double quotes because CPP needs to be expanded
 
6953
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
6954
    do
 
6955
      ac_preproc_ok=false
 
6956
for ac_c_preproc_warn_flag in '' yes
 
6957
do
 
6958
  # Use a header file that comes with gcc, so configuring glibc
 
6959
  # with a fresh cross-compiler works.
 
6960
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6961
  # <limits.h> exists even on freestanding compilers.
 
6962
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6963
  # not just through cpp. "Syntax error" is here to catch this case.
 
6964
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6965
/* end confdefs.h.  */
 
6966
#ifdef __STDC__
 
6967
# include <limits.h>
 
6968
#else
 
6969
# include <assert.h>
 
6970
#endif
 
6971
                     Syntax error
 
6972
_ACEOF
 
6973
if ac_fn_c_try_cpp "$LINENO"; then :
 
6974
 
 
6975
else
 
6976
  # Broken: fails on valid input.
 
6977
continue
 
6978
fi
 
6979
rm -f conftest.err conftest.i conftest.$ac_ext
 
6980
 
 
6981
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6982
  # can be detected and how.
 
6983
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6984
/* end confdefs.h.  */
 
6985
#include <ac_nonexistent.h>
 
6986
_ACEOF
 
6987
if ac_fn_c_try_cpp "$LINENO"; then :
 
6988
  # Broken: success on invalid input.
 
6989
continue
 
6990
else
 
6991
  # Passes both tests.
 
6992
ac_preproc_ok=:
 
6993
break
 
6994
fi
 
6995
rm -f conftest.err conftest.i conftest.$ac_ext
 
6996
 
 
6997
done
 
6998
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6999
rm -f conftest.i conftest.err conftest.$ac_ext
 
7000
if $ac_preproc_ok; then :
 
7001
  break
 
7002
fi
 
7003
 
 
7004
    done
 
7005
    ac_cv_prog_CPP=$CPP
 
7006
 
 
7007
fi
 
7008
  CPP=$ac_cv_prog_CPP
 
7009
else
 
7010
  ac_cv_prog_CPP=$CPP
 
7011
fi
 
7012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
7013
$as_echo "$CPP" >&6; }
 
7014
ac_preproc_ok=false
 
7015
for ac_c_preproc_warn_flag in '' yes
 
7016
do
 
7017
  # Use a header file that comes with gcc, so configuring glibc
 
7018
  # with a fresh cross-compiler works.
 
7019
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7020
  # <limits.h> exists even on freestanding compilers.
 
7021
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7022
  # not just through cpp. "Syntax error" is here to catch this case.
 
7023
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7024
/* end confdefs.h.  */
 
7025
#ifdef __STDC__
 
7026
# include <limits.h>
 
7027
#else
 
7028
# include <assert.h>
 
7029
#endif
 
7030
                     Syntax error
 
7031
_ACEOF
 
7032
if ac_fn_c_try_cpp "$LINENO"; then :
 
7033
 
 
7034
else
 
7035
  # Broken: fails on valid input.
 
7036
continue
 
7037
fi
 
7038
rm -f conftest.err conftest.i conftest.$ac_ext
 
7039
 
 
7040
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7041
  # can be detected and how.
 
7042
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7043
/* end confdefs.h.  */
 
7044
#include <ac_nonexistent.h>
 
7045
_ACEOF
 
7046
if ac_fn_c_try_cpp "$LINENO"; then :
 
7047
  # Broken: success on invalid input.
 
7048
continue
 
7049
else
 
7050
  # Passes both tests.
 
7051
ac_preproc_ok=:
 
7052
break
 
7053
fi
 
7054
rm -f conftest.err conftest.i conftest.$ac_ext
 
7055
 
 
7056
done
 
7057
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7058
rm -f conftest.i conftest.err conftest.$ac_ext
 
7059
if $ac_preproc_ok; then :
 
7060
 
 
7061
else
 
7062
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
7063
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7064
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
7065
See \`config.log' for more details" "$LINENO" 5; }
 
7066
fi
 
7067
 
 
7068
ac_ext=c
 
7069
ac_cpp='$CPP $CPPFLAGS'
 
7070
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7071
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7072
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7073
 
 
7074
 
 
7075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
7076
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7077
if ${ac_cv_header_stdc+:} false; then :
 
7078
  $as_echo_n "(cached) " >&6
 
7079
else
 
7080
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7081
/* end confdefs.h.  */
 
7082
#include <stdlib.h>
 
7083
#include <stdarg.h>
 
7084
#include <string.h>
 
7085
#include <float.h>
 
7086
 
 
7087
int
 
7088
main ()
 
7089
{
 
7090
 
 
7091
  ;
 
7092
  return 0;
 
7093
}
 
7094
_ACEOF
 
7095
if ac_fn_c_try_compile "$LINENO"; then :
 
7096
  ac_cv_header_stdc=yes
 
7097
else
 
7098
  ac_cv_header_stdc=no
 
7099
fi
 
7100
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7101
 
 
7102
if test $ac_cv_header_stdc = yes; then
 
7103
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
7104
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7105
/* end confdefs.h.  */
 
7106
#include <string.h>
 
7107
 
 
7108
_ACEOF
 
7109
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7110
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7111
 
 
7112
else
 
7113
  ac_cv_header_stdc=no
 
7114
fi
 
7115
rm -f conftest*
 
7116
 
 
7117
fi
 
7118
 
 
7119
if test $ac_cv_header_stdc = yes; then
 
7120
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
7121
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7122
/* end confdefs.h.  */
 
7123
#include <stdlib.h>
 
7124
 
 
7125
_ACEOF
 
7126
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7127
  $EGREP "free" >/dev/null 2>&1; then :
 
7128
 
 
7129
else
 
7130
  ac_cv_header_stdc=no
 
7131
fi
 
7132
rm -f conftest*
 
7133
 
 
7134
fi
 
7135
 
 
7136
if test $ac_cv_header_stdc = yes; then
 
7137
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
7138
  if test "$cross_compiling" = yes; then :
 
7139
  :
 
7140
else
 
7141
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7142
/* end confdefs.h.  */
 
7143
#include <ctype.h>
 
7144
#include <stdlib.h>
 
7145
#if ((' ' & 0x0FF) == 0x020)
 
7146
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
7147
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
7148
#else
 
7149
# define ISLOWER(c) \
 
7150
                   (('a' <= (c) && (c) <= 'i') \
 
7151
                     || ('j' <= (c) && (c) <= 'r') \
 
7152
                     || ('s' <= (c) && (c) <= 'z'))
 
7153
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
7154
#endif
 
7155
 
 
7156
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
7157
int
 
7158
main ()
 
7159
{
 
7160
  int i;
 
7161
  for (i = 0; i < 256; i++)
 
7162
    if (XOR (islower (i), ISLOWER (i))
 
7163
        || toupper (i) != TOUPPER (i))
 
7164
      return 2;
 
7165
  return 0;
 
7166
}
 
7167
_ACEOF
 
7168
if ac_fn_c_try_run "$LINENO"; then :
 
7169
 
 
7170
else
 
7171
  ac_cv_header_stdc=no
 
7172
fi
 
7173
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7174
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7175
fi
 
7176
 
 
7177
fi
 
7178
fi
 
7179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
7180
$as_echo "$ac_cv_header_stdc" >&6; }
 
7181
if test $ac_cv_header_stdc = yes; then
 
7182
 
 
7183
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
7184
 
 
7185
fi
 
7186
 
 
7187
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7188
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7189
                  inttypes.h stdint.h unistd.h
 
7190
do :
 
7191
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7192
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7193
"
 
7194
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
7195
  cat >>confdefs.h <<_ACEOF
 
7196
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7197
_ACEOF
 
7198
 
 
7199
fi
 
7200
 
 
7201
done
 
7202
 
 
7203
 
 
7204
for ac_header in dlfcn.h
 
7205
do :
 
7206
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7207
"
 
7208
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
7209
  cat >>confdefs.h <<_ACEOF
 
7210
#define HAVE_DLFCN_H 1
 
7211
_ACEOF
 
7212
 
 
7213
fi
 
7214
 
 
7215
done
 
7216
 
 
7217
 
 
7218
 
 
7219
 
 
7220
 
 
7221
# Set options
 
7222
 
 
7223
 
 
7224
 
 
7225
        enable_dlopen=no
 
7226
 
 
7227
 
 
7228
  enable_win32_dll=no
 
7229
 
 
7230
 
 
7231
            # Check whether --enable-shared was given.
 
7232
if test "${enable_shared+set}" = set; then :
 
7233
  enableval=$enable_shared; p=${PACKAGE-default}
 
7234
    case $enableval in
 
7235
    yes) enable_shared=yes ;;
 
7236
    no) enable_shared=no ;;
 
7237
    *)
 
7238
      enable_shared=no
 
7239
      # Look at the argument we got.  We use all the common list separators.
 
7240
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7241
      for pkg in $enableval; do
 
7242
        IFS="$lt_save_ifs"
 
7243
        if test "X$pkg" = "X$p"; then
 
7244
          enable_shared=yes
 
7245
        fi
 
7246
      done
 
7247
      IFS="$lt_save_ifs"
 
7248
      ;;
 
7249
    esac
 
7250
else
 
7251
  enable_shared=yes
 
7252
fi
 
7253
 
 
7254
 
 
7255
 
 
7256
 
 
7257
 
 
7258
 
 
7259
 
 
7260
 
 
7261
 
 
7262
  # Check whether --enable-static was given.
 
7263
if test "${enable_static+set}" = set; then :
 
7264
  enableval=$enable_static; p=${PACKAGE-default}
 
7265
    case $enableval in
 
7266
    yes) enable_static=yes ;;
 
7267
    no) enable_static=no ;;
 
7268
    *)
 
7269
     enable_static=no
 
7270
      # Look at the argument we got.  We use all the common list separators.
 
7271
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7272
      for pkg in $enableval; do
 
7273
        IFS="$lt_save_ifs"
 
7274
        if test "X$pkg" = "X$p"; then
 
7275
          enable_static=yes
 
7276
        fi
 
7277
      done
 
7278
      IFS="$lt_save_ifs"
 
7279
      ;;
 
7280
    esac
 
7281
else
 
7282
  enable_static=yes
 
7283
fi
 
7284
 
 
7285
 
 
7286
 
 
7287
 
 
7288
 
 
7289
 
 
7290
 
 
7291
 
 
7292
 
 
7293
 
 
7294
# Check whether --with-pic was given.
 
7295
if test "${with_pic+set}" = set; then :
 
7296
  withval=$with_pic; pic_mode="$withval"
 
7297
else
 
7298
  pic_mode=default
 
7299
fi
 
7300
 
 
7301
 
 
7302
test -z "$pic_mode" && pic_mode=default
 
7303
 
 
7304
 
 
7305
 
 
7306
 
 
7307
 
 
7308
 
 
7309
 
 
7310
  # Check whether --enable-fast-install was given.
 
7311
if test "${enable_fast_install+set}" = set; then :
 
7312
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
7313
    case $enableval in
 
7314
    yes) enable_fast_install=yes ;;
 
7315
    no) enable_fast_install=no ;;
 
7316
    *)
 
7317
      enable_fast_install=no
 
7318
      # Look at the argument we got.  We use all the common list separators.
 
7319
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7320
      for pkg in $enableval; do
 
7321
        IFS="$lt_save_ifs"
 
7322
        if test "X$pkg" = "X$p"; then
 
7323
          enable_fast_install=yes
 
7324
        fi
 
7325
      done
 
7326
      IFS="$lt_save_ifs"
 
7327
      ;;
 
7328
    esac
 
7329
else
 
7330
  enable_fast_install=yes
 
7331
fi
 
7332
 
 
7333
 
 
7334
 
 
7335
 
 
7336
 
 
7337
 
 
7338
 
 
7339
 
 
7340
 
 
7341
 
 
7342
 
 
7343
# This can be used to rebuild libtool when needed
 
7344
LIBTOOL_DEPS="$ltmain"
 
7345
 
 
7346
# Always use our own libtool.
 
7347
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
7348
 
 
7349
 
 
7350
 
 
7351
 
 
7352
 
 
7353
 
 
7354
 
 
7355
 
 
7356
 
 
7357
 
 
7358
 
 
7359
 
 
7360
 
 
7361
 
 
7362
 
 
7363
 
 
7364
 
 
7365
 
 
7366
 
 
7367
 
 
7368
 
 
7369
 
 
7370
 
 
7371
 
 
7372
 
 
7373
 
 
7374
test -z "$LN_S" && LN_S="ln -s"
 
7375
 
 
7376
 
 
7377
 
 
7378
 
 
7379
 
 
7380
 
 
7381
 
 
7382
 
 
7383
 
 
7384
 
 
7385
 
 
7386
 
 
7387
 
 
7388
 
 
7389
if test -n "${ZSH_VERSION+set}" ; then
 
7390
   setopt NO_GLOB_SUBST
 
7391
fi
 
7392
 
 
7393
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
7394
$as_echo_n "checking for objdir... " >&6; }
 
7395
if ${lt_cv_objdir+:} false; then :
 
7396
  $as_echo_n "(cached) " >&6
 
7397
else
 
7398
  rm -f .libs 2>/dev/null
 
7399
mkdir .libs 2>/dev/null
 
7400
if test -d .libs; then
 
7401
  lt_cv_objdir=.libs
 
7402
else
 
7403
  # MS-DOS does not allow filenames that begin with a dot.
 
7404
  lt_cv_objdir=_libs
 
7405
fi
 
7406
rmdir .libs 2>/dev/null
 
7407
fi
 
7408
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
7409
$as_echo "$lt_cv_objdir" >&6; }
 
7410
objdir=$lt_cv_objdir
 
7411
 
 
7412
 
 
7413
 
 
7414
 
 
7415
 
 
7416
cat >>confdefs.h <<_ACEOF
 
7417
#define LT_OBJDIR "$lt_cv_objdir/"
 
7418
_ACEOF
 
7419
 
 
7420
 
 
7421
 
 
7422
 
 
7423
case $host_os in
 
7424
aix3*)
 
7425
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
7426
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
7427
  # vanish in a puff of smoke.
 
7428
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
7429
    COLLECT_NAMES=
 
7430
    export COLLECT_NAMES
 
7431
  fi
 
7432
  ;;
 
7433
esac
 
7434
 
 
7435
# Global variables:
 
7436
ofile=libtool
 
7437
can_build_shared=yes
 
7438
 
 
7439
# All known linkers require a `.a' archive for static linking (except MSVC,
 
7440
# which needs '.lib').
 
7441
libext=a
 
7442
 
 
7443
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
7444
 
 
7445
old_CC="$CC"
 
7446
old_CFLAGS="$CFLAGS"
 
7447
 
 
7448
# Set sane defaults for various variables
 
7449
test -z "$CC" && CC=cc
 
7450
test -z "$LTCC" && LTCC=$CC
 
7451
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
7452
test -z "$LD" && LD=ld
 
7453
test -z "$ac_objext" && ac_objext=o
 
7454
 
 
7455
for cc_temp in $compiler""; do
 
7456
  case $cc_temp in
 
7457
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7458
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7459
    \-*) ;;
 
7460
    *) break;;
 
7461
  esac
 
7462
done
 
7463
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
7464
 
 
7465
 
 
7466
# Only perform the check for file, if the check method requires it
 
7467
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
7468
case $deplibs_check_method in
 
7469
file_magic*)
 
7470
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
7471
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
7472
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
7473
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
7474
  $as_echo_n "(cached) " >&6
 
7475
else
 
7476
  case $MAGIC_CMD in
 
7477
[\\/*] |  ?:[\\/]*)
 
7478
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7479
  ;;
 
7480
*)
 
7481
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7482
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7483
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7484
  for ac_dir in $ac_dummy; do
 
7485
    IFS="$lt_save_ifs"
 
7486
    test -z "$ac_dir" && ac_dir=.
 
7487
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
7488
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
7489
      if test -n "$file_magic_test_file"; then
 
7490
        case $deplibs_check_method in
 
7491
        "file_magic "*)
 
7492
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7493
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7494
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7495
            $EGREP "$file_magic_regex" > /dev/null; then
 
7496
            :
 
7497
          else
 
7498
            cat <<_LT_EOF 1>&2
 
7499
 
 
7500
*** Warning: the command libtool uses to detect shared libraries,
 
7501
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7502
*** The result is that libtool may fail to recognize shared libraries
 
7503
*** as such.  This will affect the creation of libtool libraries that
 
7504
*** depend on shared libraries, but programs linked with such libtool
 
7505
*** libraries will work regardless of this problem.  Nevertheless, you
 
7506
*** may want to report the problem to your system manager and/or to
 
7507
*** bug-libtool@gnu.org
 
7508
 
 
7509
_LT_EOF
 
7510
          fi ;;
 
7511
        esac
 
7512
      fi
 
7513
      break
 
7514
    fi
 
7515
  done
 
7516
  IFS="$lt_save_ifs"
 
7517
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7518
  ;;
 
7519
esac
 
7520
fi
 
7521
 
 
7522
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7523
if test -n "$MAGIC_CMD"; then
 
7524
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
7525
$as_echo "$MAGIC_CMD" >&6; }
 
7526
else
 
7527
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7528
$as_echo "no" >&6; }
 
7529
fi
 
7530
 
 
7531
 
 
7532
 
 
7533
 
 
7534
 
 
7535
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
7536
  if test -n "$ac_tool_prefix"; then
 
7537
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
7538
$as_echo_n "checking for file... " >&6; }
 
7539
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
7540
  $as_echo_n "(cached) " >&6
 
7541
else
 
7542
  case $MAGIC_CMD in
 
7543
[\\/*] |  ?:[\\/]*)
 
7544
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7545
  ;;
 
7546
*)
 
7547
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7548
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7549
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7550
  for ac_dir in $ac_dummy; do
 
7551
    IFS="$lt_save_ifs"
 
7552
    test -z "$ac_dir" && ac_dir=.
 
7553
    if test -f $ac_dir/file; then
 
7554
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
7555
      if test -n "$file_magic_test_file"; then
 
7556
        case $deplibs_check_method in
 
7557
        "file_magic "*)
 
7558
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7559
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7560
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7561
            $EGREP "$file_magic_regex" > /dev/null; then
 
7562
            :
 
7563
          else
 
7564
            cat <<_LT_EOF 1>&2
 
7565
 
 
7566
*** Warning: the command libtool uses to detect shared libraries,
 
7567
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7568
*** The result is that libtool may fail to recognize shared libraries
 
7569
*** as such.  This will affect the creation of libtool libraries that
 
7570
*** depend on shared libraries, but programs linked with such libtool
 
7571
*** libraries will work regardless of this problem.  Nevertheless, you
 
7572
*** may want to report the problem to your system manager and/or to
 
7573
*** bug-libtool@gnu.org
 
7574
 
 
7575
_LT_EOF
 
7576
          fi ;;
 
7577
        esac
 
7578
      fi
 
7579
      break
 
7580
    fi
 
7581
  done
 
7582
  IFS="$lt_save_ifs"
 
7583
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7584
  ;;
 
7585
esac
 
7586
fi
 
7587
 
 
7588
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7589
if test -n "$MAGIC_CMD"; then
 
7590
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
7591
$as_echo "$MAGIC_CMD" >&6; }
 
7592
else
 
7593
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7594
$as_echo "no" >&6; }
 
7595
fi
 
7596
 
 
7597
 
 
7598
  else
 
7599
    MAGIC_CMD=:
 
7600
  fi
 
7601
fi
 
7602
 
 
7603
  fi
 
7604
  ;;
 
7605
esac
 
7606
 
 
7607
# Use C for the default configuration in the libtool script
 
7608
 
 
7609
lt_save_CC="$CC"
 
7610
ac_ext=c
 
7611
ac_cpp='$CPP $CPPFLAGS'
 
7612
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7613
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7614
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7615
 
 
7616
 
 
7617
# Source file extension for C test sources.
 
7618
ac_ext=c
 
7619
 
 
7620
# Object file extension for compiled C test sources.
 
7621
objext=o
 
7622
objext=$objext
 
7623
 
 
7624
# Code to be used in simple compile tests
 
7625
lt_simple_compile_test_code="int some_variable = 0;"
 
7626
 
 
7627
# Code to be used in simple link tests
 
7628
lt_simple_link_test_code='int main(){return(0);}'
 
7629
 
 
7630
 
 
7631
 
 
7632
 
 
7633
 
 
7634
 
 
7635
 
 
7636
# If no C compiler was specified, use CC.
 
7637
LTCC=${LTCC-"$CC"}
 
7638
 
 
7639
# If no C compiler flags were specified, use CFLAGS.
 
7640
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7641
 
 
7642
# Allow CC to be a program name with arguments.
 
7643
compiler=$CC
 
7644
 
 
7645
# Save the default compiler, since it gets overwritten when the other
 
7646
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
7647
compiler_DEFAULT=$CC
 
7648
 
 
7649
# save warnings/boilerplate of simple test code
 
7650
ac_outfile=conftest.$ac_objext
 
7651
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7652
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7653
_lt_compiler_boilerplate=`cat conftest.err`
 
7654
$RM conftest*
 
7655
 
 
7656
ac_outfile=conftest.$ac_objext
 
7657
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
7658
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7659
_lt_linker_boilerplate=`cat conftest.err`
 
7660
$RM -r conftest*
 
7661
 
 
7662
 
 
7663
## CAVEAT EMPTOR:
 
7664
## There is no encapsulation within the following macros, do not change
 
7665
## the running order or otherwise move them around unless you know exactly
 
7666
## what you are doing...
 
7667
if test -n "$compiler"; then
 
7668
 
 
7669
lt_prog_compiler_no_builtin_flag=
 
7670
 
 
7671
if test "$GCC" = yes; then
 
7672
  case $cc_basename in
 
7673
  nvcc*)
 
7674
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
7675
  *)
 
7676
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
7677
  esac
 
7678
 
 
7679
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7680
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
7681
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
7682
  $as_echo_n "(cached) " >&6
 
7683
else
 
7684
  lt_cv_prog_compiler_rtti_exceptions=no
 
7685
   ac_outfile=conftest.$ac_objext
 
7686
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7687
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
7688
   # Insert the option either (1) after the last *FLAGS variable, or
 
7689
   # (2) before a word containing "conftest.", or (3) at the end.
 
7690
   # Note that $ac_compile itself does not contain backslashes and begins
 
7691
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
7692
   # The option is referenced via a variable to avoid confusing sed.
 
7693
   lt_compile=`echo "$ac_compile" | $SED \
 
7694
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
7695
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
7696
   -e 's:$: $lt_compiler_flag:'`
 
7697
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
7698
   (eval "$lt_compile" 2>conftest.err)
 
7699
   ac_status=$?
 
7700
   cat conftest.err >&5
 
7701
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7702
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
7703
     # The compiler can only warn and ignore the option if not recognized
 
7704
     # So say no if there are warnings other than the usual output.
 
7705
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
7706
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
7707
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
7708
       lt_cv_prog_compiler_rtti_exceptions=yes
 
7709
     fi
 
7710
   fi
 
7711
   $RM conftest*
 
7712
 
 
7713
fi
 
7714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7715
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
7716
 
 
7717
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
7718
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
7719
else
 
7720
    :
 
7721
fi
 
7722
 
 
7723
fi
 
7724
 
 
7725
 
 
7726
 
 
7727
 
 
7728
 
 
7729
 
 
7730
  lt_prog_compiler_wl=
 
7731
lt_prog_compiler_pic=
 
7732
lt_prog_compiler_static=
 
7733
 
 
7734
 
 
7735
  if test "$GCC" = yes; then
 
7736
    lt_prog_compiler_wl='-Wl,'
 
7737
    lt_prog_compiler_static='-static'
 
7738
 
 
7739
    case $host_os in
 
7740
      aix*)
 
7741
      # All AIX code is PIC.
 
7742
      if test "$host_cpu" = ia64; then
 
7743
        # AIX 5 now supports IA64 processor
 
7744
        lt_prog_compiler_static='-Bstatic'
 
7745
      fi
 
7746
      ;;
 
7747
 
 
7748
    amigaos*)
 
7749
      case $host_cpu in
 
7750
      powerpc)
 
7751
            # see comment about AmigaOS4 .so support
 
7752
            lt_prog_compiler_pic='-fPIC'
 
7753
        ;;
 
7754
      m68k)
 
7755
            # FIXME: we need at least 68020 code to build shared libraries, but
 
7756
            # adding the `-m68020' flag to GCC prevents building anything better,
 
7757
            # like `-m68040'.
 
7758
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7759
        ;;
 
7760
      esac
 
7761
      ;;
 
7762
 
 
7763
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7764
      # PIC is the default for these OSes.
 
7765
      ;;
 
7766
 
 
7767
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
7768
      # This hack is so that the source file can tell whether it is being
 
7769
      # built for inclusion in a dll (and should export symbols for example).
 
7770
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7771
      # (--disable-auto-import) libraries
 
7772
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
7773
      ;;
 
7774
 
 
7775
    darwin* | rhapsody*)
 
7776
      # PIC is the default on this platform
 
7777
      # Common symbols not allowed in MH_DYLIB files
 
7778
      lt_prog_compiler_pic='-fno-common'
 
7779
      ;;
 
7780
 
 
7781
    haiku*)
 
7782
      # PIC is the default for Haiku.
 
7783
      # The "-static" flag exists, but is broken.
 
7784
      lt_prog_compiler_static=
 
7785
      ;;
 
7786
 
 
7787
    hpux*)
 
7788
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
7789
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
7790
      # sets the default TLS model and affects inlining.
 
7791
      case $host_cpu in
 
7792
      hppa*64*)
 
7793
        # +Z the default
 
7794
        ;;
 
7795
      *)
 
7796
        lt_prog_compiler_pic='-fPIC'
 
7797
        ;;
 
7798
      esac
 
7799
      ;;
 
7800
 
 
7801
    interix[3-9]*)
 
7802
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
7803
      # Instead, we relocate shared libraries at runtime.
 
7804
      ;;
 
7805
 
 
7806
    msdosdjgpp*)
 
7807
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
7808
      # on systems that don't support them.
 
7809
      lt_prog_compiler_can_build_shared=no
 
7810
      enable_shared=no
 
7811
      ;;
 
7812
 
 
7813
    *nto* | *qnx*)
 
7814
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7815
      # it will coredump.
 
7816
      lt_prog_compiler_pic='-fPIC -shared'
 
7817
      ;;
 
7818
 
 
7819
    sysv4*MP*)
 
7820
      if test -d /usr/nec; then
 
7821
        lt_prog_compiler_pic=-Kconform_pic
 
7822
      fi
 
7823
      ;;
 
7824
 
 
7825
    *)
 
7826
      lt_prog_compiler_pic='-fPIC'
 
7827
      ;;
 
7828
    esac
 
7829
 
 
7830
    case $cc_basename in
 
7831
    nvcc*) # Cuda Compiler Driver 2.2
 
7832
      lt_prog_compiler_wl='-Xlinker '
 
7833
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
7834
      ;;
 
7835
    esac
 
7836
  else
 
7837
    # PORTME Check for flag to pass linker flags through the system compiler.
 
7838
    case $host_os in
 
7839
    aix*)
 
7840
      lt_prog_compiler_wl='-Wl,'
 
7841
      if test "$host_cpu" = ia64; then
 
7842
        # AIX 5 now supports IA64 processor
 
7843
        lt_prog_compiler_static='-Bstatic'
 
7844
      else
 
7845
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
7846
      fi
 
7847
      ;;
 
7848
 
 
7849
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
7850
      # This hack is so that the source file can tell whether it is being
 
7851
      # built for inclusion in a dll (and should export symbols for example).
 
7852
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
7853
      ;;
 
7854
 
 
7855
    hpux9* | hpux10* | hpux11*)
 
7856
      lt_prog_compiler_wl='-Wl,'
 
7857
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
7858
      # not for PA HP-UX.
 
7859
      case $host_cpu in
 
7860
      hppa*64*|ia64*)
 
7861
        # +Z the default
 
7862
        ;;
 
7863
      *)
 
7864
        lt_prog_compiler_pic='+Z'
 
7865
        ;;
 
7866
      esac
 
7867
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
7868
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
7869
      ;;
 
7870
 
 
7871
    irix5* | irix6* | nonstopux*)
 
7872
      lt_prog_compiler_wl='-Wl,'
 
7873
      # PIC (with -KPIC) is the default.
 
7874
      lt_prog_compiler_static='-non_shared'
 
7875
      ;;
 
7876
 
 
7877
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
7878
      case $cc_basename in
 
7879
      # old Intel for x86_64 which still supported -KPIC.
 
7880
      ecc*)
 
7881
        lt_prog_compiler_wl='-Wl,'
 
7882
        lt_prog_compiler_pic='-KPIC'
 
7883
        lt_prog_compiler_static='-static'
 
7884
        ;;
 
7885
      # icc used to be incompatible with GCC.
 
7886
      # ICC 10 doesn't accept -KPIC any more.
 
7887
      icc* | ifort*)
 
7888
        lt_prog_compiler_wl='-Wl,'
 
7889
        lt_prog_compiler_pic='-fPIC'
 
7890
        lt_prog_compiler_static='-static'
 
7891
        ;;
 
7892
      # Lahey Fortran 8.1.
 
7893
      lf95*)
 
7894
        lt_prog_compiler_wl='-Wl,'
 
7895
        lt_prog_compiler_pic='--shared'
 
7896
        lt_prog_compiler_static='--static'
 
7897
        ;;
 
7898
      nagfor*)
 
7899
        # NAG Fortran compiler
 
7900
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
7901
        lt_prog_compiler_pic='-PIC'
 
7902
        lt_prog_compiler_static='-Bstatic'
 
7903
        ;;
 
7904
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 
7905
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
7906
        # which looks to be a dead project)
 
7907
        lt_prog_compiler_wl='-Wl,'
 
7908
        lt_prog_compiler_pic='-fpic'
 
7909
        lt_prog_compiler_static='-Bstatic'
 
7910
        ;;
 
7911
      ccc*)
 
7912
        lt_prog_compiler_wl='-Wl,'
 
7913
        # All Alpha code is PIC.
 
7914
        lt_prog_compiler_static='-non_shared'
 
7915
        ;;
 
7916
      xl* | bgxl* | bgf* | mpixl*)
 
7917
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
7918
        lt_prog_compiler_wl='-Wl,'
 
7919
        lt_prog_compiler_pic='-qpic'
 
7920
        lt_prog_compiler_static='-qstaticlink'
 
7921
        ;;
 
7922
      *)
 
7923
        case `$CC -V 2>&1 | sed 5q` in
 
7924
        *Sun\ F* | *Sun*Fortran*)
 
7925
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7926
          lt_prog_compiler_pic='-KPIC'
 
7927
          lt_prog_compiler_static='-Bstatic'
 
7928
          lt_prog_compiler_wl=''
 
7929
          ;;
 
7930
        *Sun\ C*)
 
7931
          # Sun C 5.9
 
7932
          lt_prog_compiler_pic='-KPIC'
 
7933
          lt_prog_compiler_static='-Bstatic'
 
7934
          lt_prog_compiler_wl='-Wl,'
 
7935
          ;;
 
7936
        esac
 
7937
        ;;
 
7938
      esac
 
7939
      ;;
 
7940
 
 
7941
    newsos6)
 
7942
      lt_prog_compiler_pic='-KPIC'
 
7943
      lt_prog_compiler_static='-Bstatic'
 
7944
      ;;
 
7945
 
 
7946
    *nto* | *qnx*)
 
7947
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7948
      # it will coredump.
 
7949
      lt_prog_compiler_pic='-fPIC -shared'
 
7950
      ;;
 
7951
 
 
7952
    osf3* | osf4* | osf5*)
 
7953
      lt_prog_compiler_wl='-Wl,'
 
7954
      # All OSF/1 code is PIC.
 
7955
      lt_prog_compiler_static='-non_shared'
 
7956
      ;;
 
7957
 
 
7958
    rdos*)
 
7959
      lt_prog_compiler_static='-non_shared'
 
7960
      ;;
 
7961
 
 
7962
    solaris*)
 
7963
      lt_prog_compiler_pic='-KPIC'
 
7964
      lt_prog_compiler_static='-Bstatic'
 
7965
      case $cc_basename in
 
7966
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
7967
        lt_prog_compiler_wl='-Qoption ld ';;
 
7968
      *)
 
7969
        lt_prog_compiler_wl='-Wl,';;
 
7970
      esac
 
7971
      ;;
 
7972
 
 
7973
    sunos4*)
 
7974
      lt_prog_compiler_wl='-Qoption ld '
 
7975
      lt_prog_compiler_pic='-PIC'
 
7976
      lt_prog_compiler_static='-Bstatic'
 
7977
      ;;
 
7978
 
 
7979
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
7980
      lt_prog_compiler_wl='-Wl,'
 
7981
      lt_prog_compiler_pic='-KPIC'
 
7982
      lt_prog_compiler_static='-Bstatic'
 
7983
      ;;
 
7984
 
 
7985
    sysv4*MP*)
 
7986
      if test -d /usr/nec ;then
 
7987
        lt_prog_compiler_pic='-Kconform_pic'
 
7988
        lt_prog_compiler_static='-Bstatic'
 
7989
      fi
 
7990
      ;;
 
7991
 
 
7992
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
7993
      lt_prog_compiler_wl='-Wl,'
 
7994
      lt_prog_compiler_pic='-KPIC'
 
7995
      lt_prog_compiler_static='-Bstatic'
 
7996
      ;;
 
7997
 
 
7998
    unicos*)
 
7999
      lt_prog_compiler_wl='-Wl,'
 
8000
      lt_prog_compiler_can_build_shared=no
 
8001
      ;;
 
8002
 
 
8003
    uts4*)
 
8004
      lt_prog_compiler_pic='-pic'
 
8005
      lt_prog_compiler_static='-Bstatic'
 
8006
      ;;
 
8007
 
 
8008
    *)
 
8009
      lt_prog_compiler_can_build_shared=no
 
8010
      ;;
 
8011
    esac
 
8012
  fi
 
8013
 
 
8014
case $host_os in
 
8015
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8016
  *djgpp*)
 
8017
    lt_prog_compiler_pic=
 
8018
    ;;
 
8019
  *)
 
8020
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
8021
    ;;
 
8022
esac
 
8023
 
 
8024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8025
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8026
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8027
  $as_echo_n "(cached) " >&6
 
8028
else
 
8029
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8030
fi
 
8031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8032
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8033
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
8034
 
 
8035
#
 
8036
# Check to make sure the PIC flag actually works.
 
8037
#
 
8038
if test -n "$lt_prog_compiler_pic"; then
 
8039
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8040
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
8041
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
8042
  $as_echo_n "(cached) " >&6
 
8043
else
 
8044
  lt_cv_prog_compiler_pic_works=no
 
8045
   ac_outfile=conftest.$ac_objext
 
8046
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8047
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
8048
   # Insert the option either (1) after the last *FLAGS variable, or
 
8049
   # (2) before a word containing "conftest.", or (3) at the end.
 
8050
   # Note that $ac_compile itself does not contain backslashes and begins
 
8051
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8052
   # The option is referenced via a variable to avoid confusing sed.
 
8053
   lt_compile=`echo "$ac_compile" | $SED \
 
8054
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8055
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8056
   -e 's:$: $lt_compiler_flag:'`
 
8057
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8058
   (eval "$lt_compile" 2>conftest.err)
 
8059
   ac_status=$?
 
8060
   cat conftest.err >&5
 
8061
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8062
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8063
     # The compiler can only warn and ignore the option if not recognized
 
8064
     # So say no if there are warnings other than the usual output.
 
8065
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
8066
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8067
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8068
       lt_cv_prog_compiler_pic_works=yes
 
8069
     fi
 
8070
   fi
 
8071
   $RM conftest*
 
8072
 
 
8073
fi
 
8074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
8075
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
8076
 
 
8077
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
8078
    case $lt_prog_compiler_pic in
 
8079
     "" | " "*) ;;
 
8080
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
8081
     esac
 
8082
else
 
8083
    lt_prog_compiler_pic=
 
8084
     lt_prog_compiler_can_build_shared=no
 
8085
fi
 
8086
 
 
8087
fi
 
8088
 
 
8089
 
 
8090
 
 
8091
 
 
8092
 
 
8093
 
 
8094
 
 
8095
 
 
8096
 
 
8097
 
 
8098
 
 
8099
#
 
8100
# Check to make sure the static flag actually works.
 
8101
#
 
8102
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
8103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8104
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
8105
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
8106
  $as_echo_n "(cached) " >&6
 
8107
else
 
8108
  lt_cv_prog_compiler_static_works=no
 
8109
   save_LDFLAGS="$LDFLAGS"
 
8110
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
8111
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
8112
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8113
     # The linker can only warn and ignore the option if not recognized
 
8114
     # So say no if there are warnings
 
8115
     if test -s conftest.err; then
 
8116
       # Append any errors to the config.log.
 
8117
       cat conftest.err 1>&5
 
8118
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
8119
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8120
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8121
         lt_cv_prog_compiler_static_works=yes
 
8122
       fi
 
8123
     else
 
8124
       lt_cv_prog_compiler_static_works=yes
 
8125
     fi
 
8126
   fi
 
8127
   $RM -r conftest*
 
8128
   LDFLAGS="$save_LDFLAGS"
 
8129
 
 
8130
fi
 
8131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
8132
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
8133
 
 
8134
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
8135
    :
 
8136
else
 
8137
    lt_prog_compiler_static=
 
8138
fi
 
8139
 
 
8140
 
 
8141
 
 
8142
 
 
8143
 
 
8144
 
 
8145
 
 
8146
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8147
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8148
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
8149
  $as_echo_n "(cached) " >&6
 
8150
else
 
8151
  lt_cv_prog_compiler_c_o=no
 
8152
   $RM -r conftest 2>/dev/null
 
8153
   mkdir conftest
 
8154
   cd conftest
 
8155
   mkdir out
 
8156
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8157
 
 
8158
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8159
   # Insert the option either (1) after the last *FLAGS variable, or
 
8160
   # (2) before a word containing "conftest.", or (3) at the end.
 
8161
   # Note that $ac_compile itself does not contain backslashes and begins
 
8162
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8163
   lt_compile=`echo "$ac_compile" | $SED \
 
8164
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8165
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8166
   -e 's:$: $lt_compiler_flag:'`
 
8167
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8168
   (eval "$lt_compile" 2>out/conftest.err)
 
8169
   ac_status=$?
 
8170
   cat out/conftest.err >&5
 
8171
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8172
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8173
   then
 
8174
     # The compiler can only warn and ignore the option if not recognized
 
8175
     # So say no if there are warnings
 
8176
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
8177
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8178
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8179
       lt_cv_prog_compiler_c_o=yes
 
8180
     fi
 
8181
   fi
 
8182
   chmod u+w . 2>&5
 
8183
   $RM conftest*
 
8184
   # SGI C++ compiler will create directory out/ii_files/ for
 
8185
   # template instantiation
 
8186
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8187
   $RM out/* && rmdir out
 
8188
   cd ..
 
8189
   $RM -r conftest
 
8190
   $RM conftest*
 
8191
 
 
8192
fi
 
8193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8194
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8195
 
 
8196
 
 
8197
 
 
8198
 
 
8199
 
 
8200
 
 
8201
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8202
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8203
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
8204
  $as_echo_n "(cached) " >&6
 
8205
else
 
8206
  lt_cv_prog_compiler_c_o=no
 
8207
   $RM -r conftest 2>/dev/null
 
8208
   mkdir conftest
 
8209
   cd conftest
 
8210
   mkdir out
 
8211
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8212
 
 
8213
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8214
   # Insert the option either (1) after the last *FLAGS variable, or
 
8215
   # (2) before a word containing "conftest.", or (3) at the end.
 
8216
   # Note that $ac_compile itself does not contain backslashes and begins
 
8217
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8218
   lt_compile=`echo "$ac_compile" | $SED \
 
8219
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8220
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8221
   -e 's:$: $lt_compiler_flag:'`
 
8222
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8223
   (eval "$lt_compile" 2>out/conftest.err)
 
8224
   ac_status=$?
 
8225
   cat out/conftest.err >&5
 
8226
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8227
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8228
   then
 
8229
     # The compiler can only warn and ignore the option if not recognized
 
8230
     # So say no if there are warnings
 
8231
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
8232
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8233
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8234
       lt_cv_prog_compiler_c_o=yes
 
8235
     fi
 
8236
   fi
 
8237
   chmod u+w . 2>&5
 
8238
   $RM conftest*
 
8239
   # SGI C++ compiler will create directory out/ii_files/ for
 
8240
   # template instantiation
 
8241
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8242
   $RM out/* && rmdir out
 
8243
   cd ..
 
8244
   $RM -r conftest
 
8245
   $RM conftest*
 
8246
 
 
8247
fi
 
8248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8249
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8250
 
 
8251
 
 
8252
 
 
8253
 
 
8254
hard_links="nottested"
 
8255
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
8256
  # do not overwrite the value of need_locks provided by the user
 
8257
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
8258
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
8259
  hard_links=yes
 
8260
  $RM conftest*
 
8261
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8262
  touch conftest.a
 
8263
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
8264
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8265
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
8266
$as_echo "$hard_links" >&6; }
 
8267
  if test "$hard_links" = no; then
 
8268
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8269
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
8270
    need_locks=warn
 
8271
  fi
 
8272
else
 
8273
  need_locks=no
 
8274
fi
 
8275
 
 
8276
 
 
8277
 
 
8278
 
 
8279
 
 
8280
 
 
8281
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8282
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
8283
 
 
8284
  runpath_var=
 
8285
  allow_undefined_flag=
 
8286
  always_export_symbols=no
 
8287
  archive_cmds=
 
8288
  archive_expsym_cmds=
 
8289
  compiler_needs_object=no
 
8290
  enable_shared_with_static_runtimes=no
 
8291
  export_dynamic_flag_spec=
 
8292
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8293
  hardcode_automatic=no
 
8294
  hardcode_direct=no
 
8295
  hardcode_direct_absolute=no
 
8296
  hardcode_libdir_flag_spec=
 
8297
  hardcode_libdir_flag_spec_ld=
 
8298
  hardcode_libdir_separator=
 
8299
  hardcode_minus_L=no
 
8300
  hardcode_shlibpath_var=unsupported
 
8301
  inherit_rpath=no
 
8302
  link_all_deplibs=unknown
 
8303
  module_cmds=
 
8304
  module_expsym_cmds=
 
8305
  old_archive_from_new_cmds=
 
8306
  old_archive_from_expsyms_cmds=
 
8307
  thread_safe_flag_spec=
 
8308
  whole_archive_flag_spec=
 
8309
  # include_expsyms should be a list of space-separated symbols to be *always*
 
8310
  # included in the symbol list
 
8311
  include_expsyms=
 
8312
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
8313
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
8314
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
8315
  # as well as any symbol that contains `d'.
 
8316
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
8317
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
8318
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
8319
  # the symbol is explicitly referenced.  Since portable code cannot
 
8320
  # rely on this symbol name, it's probably fine to never include it in
 
8321
  # preloaded symbol tables.
 
8322
  # Exclude shared library initialization/finalization symbols.
 
8323
  extract_expsyms_cmds=
 
8324
 
 
8325
  case $host_os in
 
8326
  cygwin* | mingw* | pw32* | cegcc*)
 
8327
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
8328
    # When not using gcc, we currently assume that we are using
 
8329
    # Microsoft Visual C++.
 
8330
    if test "$GCC" != yes; then
 
8331
      with_gnu_ld=no
 
8332
    fi
 
8333
    ;;
 
8334
  interix*)
 
8335
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
8336
    with_gnu_ld=yes
 
8337
    ;;
 
8338
  openbsd*)
 
8339
    with_gnu_ld=no
 
8340
    ;;
 
8341
  linux* | k*bsd*-gnu | gnu*)
 
8342
    link_all_deplibs=no
 
8343
    ;;
 
8344
  esac
 
8345
 
 
8346
  ld_shlibs=yes
 
8347
 
 
8348
  # On some targets, GNU ld is compatible enough with the native linker
 
8349
  # that we're better off using the native interface for both.
 
8350
  lt_use_gnu_ld_interface=no
 
8351
  if test "$with_gnu_ld" = yes; then
 
8352
    case $host_os in
 
8353
      aix*)
 
8354
        # The AIX port of GNU ld has always aspired to compatibility
 
8355
        # with the native linker.  However, as the warning in the GNU ld
 
8356
        # block says, versions before 2.19.5* couldn't really create working
 
8357
        # shared libraries, regardless of the interface used.
 
8358
        case `$LD -v 2>&1` in
 
8359
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8360
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8361
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8362
          *)
 
8363
            lt_use_gnu_ld_interface=yes
 
8364
            ;;
 
8365
        esac
 
8366
        ;;
 
8367
      *)
 
8368
        lt_use_gnu_ld_interface=yes
 
8369
        ;;
 
8370
    esac
 
8371
  fi
 
8372
 
 
8373
  if test "$lt_use_gnu_ld_interface" = yes; then
 
8374
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
8375
    wlarc='${wl}'
 
8376
 
 
8377
    # Set some defaults for GNU ld with shared library support. These
 
8378
    # are reset later if shared libraries are not supported. Putting them
 
8379
    # here allows them to be overridden if necessary.
 
8380
    runpath_var=LD_RUN_PATH
 
8381
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8382
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
8383
    # ancient GNU ld didn't support --whole-archive et. al.
 
8384
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
8385
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8386
    else
 
8387
      whole_archive_flag_spec=
 
8388
    fi
 
8389
    supports_anon_versioning=no
 
8390
    case `$LD -v 2>&1` in
 
8391
      *GNU\ gold*) supports_anon_versioning=yes ;;
 
8392
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
8393
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
8394
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
8395
      *\ 2.11.*) ;; # other 2.11 versions
 
8396
      *) supports_anon_versioning=yes ;;
 
8397
    esac
 
8398
 
 
8399
    # See if GNU ld supports shared libraries.
 
8400
    case $host_os in
 
8401
    aix[3-9]*)
 
8402
      # On AIX/PPC, the GNU linker is very broken
 
8403
      if test "$host_cpu" != ia64; then
 
8404
        ld_shlibs=no
 
8405
        cat <<_LT_EOF 1>&2
 
8406
 
 
8407
*** Warning: the GNU linker, at least up to release 2.19, is reported
 
8408
*** to be unable to reliably create shared libraries on AIX.
 
8409
*** Therefore, libtool is disabling shared libraries support.  If you
 
8410
*** really care for shared libraries, you may want to install binutils
 
8411
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8412
*** You will then need to restart the configuration process.
 
8413
 
 
8414
_LT_EOF
 
8415
      fi
 
8416
      ;;
 
8417
 
 
8418
    amigaos*)
 
8419
      case $host_cpu in
 
8420
      powerpc)
 
8421
            # see comment about AmigaOS4 .so support
 
8422
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8423
            archive_expsym_cmds=''
 
8424
        ;;
 
8425
      m68k)
 
8426
            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)'
 
8427
            hardcode_libdir_flag_spec='-L$libdir'
 
8428
            hardcode_minus_L=yes
 
8429
        ;;
 
8430
      esac
 
8431
      ;;
 
8432
 
 
8433
    beos*)
 
8434
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8435
        allow_undefined_flag=unsupported
 
8436
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
8437
        # support --undefined.  This deserves some investigation.  FIXME
 
8438
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8439
      else
 
8440
        ld_shlibs=no
 
8441
      fi
 
8442
      ;;
 
8443
 
 
8444
    cygwin* | mingw* | pw32* | cegcc*)
 
8445
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
8446
      # as there is no search path for DLLs.
 
8447
      hardcode_libdir_flag_spec='-L$libdir'
 
8448
      export_dynamic_flag_spec='${wl}--export-all-symbols'
 
8449
      allow_undefined_flag=unsupported
 
8450
      always_export_symbols=no
 
8451
      enable_shared_with_static_runtimes=yes
 
8452
      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'
 
8453
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
8454
 
 
8455
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
8456
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8457
        # If the export-symbols file already is a .def file (1st line
 
8458
        # is EXPORTS), use it as is; otherwise, prepend...
 
8459
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
8460
          cp $export_symbols $output_objdir/$soname.def;
 
8461
        else
 
8462
          echo EXPORTS > $output_objdir/$soname.def;
 
8463
          cat $export_symbols >> $output_objdir/$soname.def;
 
8464
        fi~
 
8465
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8466
      else
 
8467
        ld_shlibs=no
 
8468
      fi
 
8469
      ;;
 
8470
 
 
8471
    haiku*)
 
8472
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8473
      link_all_deplibs=yes
 
8474
      ;;
 
8475
 
 
8476
    interix[3-9]*)
 
8477
      hardcode_direct=no
 
8478
      hardcode_shlibpath_var=no
 
8479
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8480
      export_dynamic_flag_spec='${wl}-E'
 
8481
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
8482
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
8483
      # default) and relocated if they conflict, which is a slow very memory
 
8484
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
8485
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
8486
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
8487
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
8488
      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'
 
8489
      ;;
 
8490
 
 
8491
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
8492
      tmp_diet=no
 
8493
      if test "$host_os" = linux-dietlibc; then
 
8494
        case $cc_basename in
 
8495
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
8496
        esac
 
8497
      fi
 
8498
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
8499
         && test "$tmp_diet" = no
 
8500
      then
 
8501
        tmp_addflag=' $pic_flag'
 
8502
        tmp_sharedflag='-shared'
 
8503
        case $cc_basename,$host_cpu in
 
8504
        pgcc*)                          # Portland Group C compiler
 
8505
          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'
 
8506
          tmp_addflag=' $pic_flag'
 
8507
          ;;
 
8508
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
8509
                                        # Portland Group f77 and f90 compilers
 
8510
          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'
 
8511
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
8512
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
8513
          tmp_addflag=' -i_dynamic' ;;
 
8514
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
8515
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
8516
        ifc* | ifort*)                  # Intel Fortran compiler
 
8517
          tmp_addflag=' -nofor_main' ;;
 
8518
        lf95*)                          # Lahey Fortran 8.1
 
8519
          whole_archive_flag_spec=
 
8520
          tmp_sharedflag='--shared' ;;
 
8521
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
8522
          tmp_sharedflag='-qmkshrobj'
 
8523
          tmp_addflag= ;;
 
8524
        nvcc*)  # Cuda Compiler Driver 2.2
 
8525
          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'
 
8526
          compiler_needs_object=yes
 
8527
          ;;
 
8528
        esac
 
8529
        case `$CC -V 2>&1 | sed 5q` in
 
8530
        *Sun\ C*)                       # Sun C 5.9
 
8531
          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'
 
8532
          compiler_needs_object=yes
 
8533
          tmp_sharedflag='-G' ;;
 
8534
        *Sun\ F*)                       # Sun Fortran 8.3
 
8535
          tmp_sharedflag='-G' ;;
 
8536
        esac
 
8537
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8538
 
 
8539
        if test "x$supports_anon_versioning" = xyes; then
 
8540
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8541
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8542
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
8543
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8544
        fi
 
8545
 
 
8546
        case $cc_basename in
 
8547
        xlf* | bgf* | bgxlf* | mpixlf*)
 
8548
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
8549
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
8550
          hardcode_libdir_flag_spec=
 
8551
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8552
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
8553
          if test "x$supports_anon_versioning" = xyes; then
 
8554
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8555
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8556
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
8557
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8558
          fi
 
8559
          ;;
 
8560
        esac
 
8561
      else
 
8562
        ld_shlibs=no
 
8563
      fi
 
8564
      ;;
 
8565
 
 
8566
    netbsd* | netbsdelf*-gnu)
 
8567
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
8568
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
8569
        wlarc=
 
8570
      else
 
8571
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8572
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8573
      fi
 
8574
      ;;
 
8575
 
 
8576
    solaris*)
 
8577
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
8578
        ld_shlibs=no
 
8579
        cat <<_LT_EOF 1>&2
 
8580
 
 
8581
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
8582
*** create shared libraries on Solaris systems.  Therefore, libtool
 
8583
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8584
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
8585
*** your PATH or compiler configuration so that the native linker is
 
8586
*** used, and then restart.
 
8587
 
 
8588
_LT_EOF
 
8589
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8590
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8591
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8592
      else
 
8593
        ld_shlibs=no
 
8594
      fi
 
8595
      ;;
 
8596
 
 
8597
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
8598
      case `$LD -v 2>&1` in
 
8599
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
8600
        ld_shlibs=no
 
8601
        cat <<_LT_EOF 1>&2
 
8602
 
 
8603
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
8604
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
8605
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8606
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
8607
*** your PATH or compiler configuration so that the native linker is
 
8608
*** used, and then restart.
 
8609
 
 
8610
_LT_EOF
 
8611
        ;;
 
8612
        *)
 
8613
          # For security reasons, it is highly recommended that you always
 
8614
          # use absolute paths for naming shared libraries, and exclude the
 
8615
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
8616
          # requires that you compile everything twice, which is a pain.
 
8617
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8618
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8619
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8620
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8621
          else
 
8622
            ld_shlibs=no
 
8623
          fi
 
8624
        ;;
 
8625
      esac
 
8626
      ;;
 
8627
 
 
8628
    sunos4*)
 
8629
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8630
      wlarc=
 
8631
      hardcode_direct=yes
 
8632
      hardcode_shlibpath_var=no
 
8633
      ;;
 
8634
 
 
8635
    *)
 
8636
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8637
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8638
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8639
      else
 
8640
        ld_shlibs=no
 
8641
      fi
 
8642
      ;;
 
8643
    esac
 
8644
 
 
8645
    if test "$ld_shlibs" = no; then
 
8646
      runpath_var=
 
8647
      hardcode_libdir_flag_spec=
 
8648
      export_dynamic_flag_spec=
 
8649
      whole_archive_flag_spec=
 
8650
    fi
 
8651
  else
 
8652
    # PORTME fill in a description of your system's linker (not GNU ld)
 
8653
    case $host_os in
 
8654
    aix3*)
 
8655
      allow_undefined_flag=unsupported
 
8656
      always_export_symbols=yes
 
8657
      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'
 
8658
      # Note: this linker hardcodes the directories in LIBPATH if there
 
8659
      # are no directories specified by -L.
 
8660
      hardcode_minus_L=yes
 
8661
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
8662
        # Neither direct hardcoding nor static linking is supported with a
 
8663
        # broken collect2.
 
8664
        hardcode_direct=unsupported
 
8665
      fi
 
8666
      ;;
 
8667
 
 
8668
    aix[4-9]*)
 
8669
      if test "$host_cpu" = ia64; then
 
8670
        # On IA64, the linker does run time linking by default, so we don't
 
8671
        # have to do anything special.
 
8672
        aix_use_runtimelinking=no
 
8673
        exp_sym_flag='-Bexport'
 
8674
        no_entry_flag=""
 
8675
      else
 
8676
        # If we're using GNU nm, then we don't want the "-C" option.
 
8677
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
8678
        # Also, AIX nm treats weak defined symbols like other global
 
8679
        # defined symbols, whereas GNU nm marks them as "W".
 
8680
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
8681
          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'
 
8682
        else
 
8683
          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'
 
8684
        fi
 
8685
        aix_use_runtimelinking=no
 
8686
 
 
8687
        # Test if we are trying to use run time linking or normal
 
8688
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
8689
        # need to do runtime linking.
 
8690
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
8691
          for ld_flag in $LDFLAGS; do
 
8692
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
8693
            aix_use_runtimelinking=yes
 
8694
            break
 
8695
          fi
 
8696
          done
 
8697
          ;;
 
8698
        esac
 
8699
 
 
8700
        exp_sym_flag='-bexport'
 
8701
        no_entry_flag='-bnoentry'
 
8702
      fi
 
8703
 
 
8704
      # When large executables or shared objects are built, AIX ld can
 
8705
      # have problems creating the table of contents.  If linking a library
 
8706
      # or program results in "error TOC overflow" add -mminimal-toc to
 
8707
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
8708
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
8709
 
 
8710
      archive_cmds=''
 
8711
      hardcode_direct=yes
 
8712
      hardcode_direct_absolute=yes
 
8713
      hardcode_libdir_separator=':'
 
8714
      link_all_deplibs=yes
 
8715
      file_list_spec='${wl}-f,'
 
8716
 
 
8717
      if test "$GCC" = yes; then
 
8718
        case $host_os in aix4.[012]|aix4.[012].*)
 
8719
        # We only want to do this on AIX 4.2 and lower, the check
 
8720
        # below for broken collect2 doesn't work under 4.3+
 
8721
          collect2name=`${CC} -print-prog-name=collect2`
 
8722
          if test -f "$collect2name" &&
 
8723
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
8724
          then
 
8725
          # We have reworked collect2
 
8726
          :
 
8727
          else
 
8728
          # We have old collect2
 
8729
          hardcode_direct=unsupported
 
8730
          # It fails to find uninstalled libraries when the uninstalled
 
8731
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
8732
          # to unsupported forces relinking
 
8733
          hardcode_minus_L=yes
 
8734
          hardcode_libdir_flag_spec='-L$libdir'
 
8735
          hardcode_libdir_separator=
 
8736
          fi
 
8737
          ;;
 
8738
        esac
 
8739
        shared_flag='-shared'
 
8740
        if test "$aix_use_runtimelinking" = yes; then
 
8741
          shared_flag="$shared_flag "'${wl}-G'
 
8742
        fi
 
8743
        link_all_deplibs=no
 
8744
      else
 
8745
        # not using gcc
 
8746
        if test "$host_cpu" = ia64; then
 
8747
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
8748
        # chokes on -Wl,-G. The following line is correct:
 
8749
          shared_flag='-G'
 
8750
        else
 
8751
          if test "$aix_use_runtimelinking" = yes; then
 
8752
            shared_flag='${wl}-G'
 
8753
          else
 
8754
            shared_flag='${wl}-bM:SRE'
 
8755
          fi
 
8756
        fi
 
8757
      fi
 
8758
 
 
8759
      export_dynamic_flag_spec='${wl}-bexpall'
 
8760
      # It seems that -bexpall does not export symbols beginning with
 
8761
      # underscore (_), so it is better to generate a list of symbols to export.
 
8762
      always_export_symbols=yes
 
8763
      if test "$aix_use_runtimelinking" = yes; then
 
8764
        # Warning - without using the other runtime loading flags (-brtl),
 
8765
        # -berok will link without error, but may produce a broken library.
 
8766
        allow_undefined_flag='-berok'
 
8767
        # Determine the default libpath from the value encoded in an
 
8768
        # empty executable.
 
8769
        if test "${lt_cv_aix_libpath+set}" = set; then
 
8770
  aix_libpath=$lt_cv_aix_libpath
 
8771
else
 
8772
  if ${lt_cv_aix_libpath_+:} false; then :
 
8773
  $as_echo_n "(cached) " >&6
 
8774
else
 
8775
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8776
/* end confdefs.h.  */
 
8777
 
 
8778
int
 
8779
main ()
 
8780
{
 
8781
 
 
8782
  ;
 
8783
  return 0;
 
8784
}
 
8785
_ACEOF
 
8786
if ac_fn_c_try_link "$LINENO"; then :
 
8787
 
 
8788
  lt_aix_libpath_sed='
 
8789
      /Import File Strings/,/^$/ {
 
8790
          /^0/ {
 
8791
              s/^0  *\([^ ]*\) *$/\1/
 
8792
              p
 
8793
          }
 
8794
      }'
 
8795
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8796
  # Check for a 64-bit object if we didn't find anything.
 
8797
  if test -z "$lt_cv_aix_libpath_"; then
 
8798
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8799
  fi
 
8800
fi
 
8801
rm -f core conftest.err conftest.$ac_objext \
 
8802
    conftest$ac_exeext conftest.$ac_ext
 
8803
  if test -z "$lt_cv_aix_libpath_"; then
 
8804
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
8805
  fi
 
8806
 
 
8807
fi
 
8808
 
 
8809
  aix_libpath=$lt_cv_aix_libpath_
 
8810
fi
 
8811
 
 
8812
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8813
        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"
 
8814
      else
 
8815
        if test "$host_cpu" = ia64; then
 
8816
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
8817
          allow_undefined_flag="-z nodefs"
 
8818
          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"
 
8819
        else
 
8820
         # Determine the default libpath from the value encoded in an
 
8821
         # empty executable.
 
8822
         if test "${lt_cv_aix_libpath+set}" = set; then
 
8823
  aix_libpath=$lt_cv_aix_libpath
 
8824
else
 
8825
  if ${lt_cv_aix_libpath_+:} false; then :
 
8826
  $as_echo_n "(cached) " >&6
 
8827
else
 
8828
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8829
/* end confdefs.h.  */
 
8830
 
 
8831
int
 
8832
main ()
 
8833
{
 
8834
 
 
8835
  ;
 
8836
  return 0;
 
8837
}
 
8838
_ACEOF
 
8839
if ac_fn_c_try_link "$LINENO"; then :
 
8840
 
 
8841
  lt_aix_libpath_sed='
 
8842
      /Import File Strings/,/^$/ {
 
8843
          /^0/ {
 
8844
              s/^0  *\([^ ]*\) *$/\1/
 
8845
              p
 
8846
          }
 
8847
      }'
 
8848
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8849
  # Check for a 64-bit object if we didn't find anything.
 
8850
  if test -z "$lt_cv_aix_libpath_"; then
 
8851
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8852
  fi
 
8853
fi
 
8854
rm -f core conftest.err conftest.$ac_objext \
 
8855
    conftest$ac_exeext conftest.$ac_ext
 
8856
  if test -z "$lt_cv_aix_libpath_"; then
 
8857
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
8858
  fi
 
8859
 
 
8860
fi
 
8861
 
 
8862
  aix_libpath=$lt_cv_aix_libpath_
 
8863
fi
 
8864
 
 
8865
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8866
          # Warning - without using the other run time loading flags,
 
8867
          # -berok will link without error, but may produce a broken library.
 
8868
          no_undefined_flag=' ${wl}-bernotok'
 
8869
          allow_undefined_flag=' ${wl}-berok'
 
8870
          if test "$with_gnu_ld" = yes; then
 
8871
            # We only use this code for GNU lds that support --whole-archive.
 
8872
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
8873
          else
 
8874
            # Exported symbols can be pulled into shared objects from archives
 
8875
            whole_archive_flag_spec='$convenience'
 
8876
          fi
 
8877
          archive_cmds_need_lc=yes
 
8878
          # This is similar to how AIX traditionally builds its shared libraries.
 
8879
          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'
 
8880
        fi
 
8881
      fi
 
8882
      ;;
 
8883
 
 
8884
    amigaos*)
 
8885
      case $host_cpu in
 
8886
      powerpc)
 
8887
            # see comment about AmigaOS4 .so support
 
8888
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8889
            archive_expsym_cmds=''
 
8890
        ;;
 
8891
      m68k)
 
8892
            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)'
 
8893
            hardcode_libdir_flag_spec='-L$libdir'
 
8894
            hardcode_minus_L=yes
 
8895
        ;;
 
8896
      esac
 
8897
      ;;
 
8898
 
 
8899
    bsdi[45]*)
 
8900
      export_dynamic_flag_spec=-rdynamic
 
8901
      ;;
 
8902
 
 
8903
    cygwin* | mingw* | pw32* | cegcc*)
 
8904
      # When not using gcc, we currently assume that we are using
 
8905
      # Microsoft Visual C++.
 
8906
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
8907
      # no search path for DLLs.
 
8908
      case $cc_basename in
 
8909
      cl*)
 
8910
        # Native MSVC
 
8911
        hardcode_libdir_flag_spec=' '
 
8912
        allow_undefined_flag=unsupported
 
8913
        always_export_symbols=yes
 
8914
        file_list_spec='@'
 
8915
        # Tell ltmain to make .lib files, not .a files.
 
8916
        libext=lib
 
8917
        # Tell ltmain to make .dll files, not .so files.
 
8918
        shrext_cmds=".dll"
 
8919
        # FIXME: Setting linknames here is a bad hack.
 
8920
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
8921
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
8922
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
8923
          else
 
8924
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
8925
          fi~
 
8926
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
8927
          linknames='
 
8928
        # The linker will not automatically build a static lib if we build a DLL.
 
8929
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
8930
        enable_shared_with_static_runtimes=yes
 
8931
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8932
        # Don't use ranlib
 
8933
        old_postinstall_cmds='chmod 644 $oldlib'
 
8934
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
8935
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
8936
          case $lt_outputfile in
 
8937
            *.exe|*.EXE) ;;
 
8938
            *)
 
8939
              lt_outputfile="$lt_outputfile.exe"
 
8940
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
8941
              ;;
 
8942
          esac~
 
8943
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
8944
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
8945
            $RM "$lt_outputfile.manifest";
 
8946
          fi'
 
8947
        ;;
 
8948
      *)
 
8949
        # Assume MSVC wrapper
 
8950
        hardcode_libdir_flag_spec=' '
 
8951
        allow_undefined_flag=unsupported
 
8952
        # Tell ltmain to make .lib files, not .a files.
 
8953
        libext=lib
 
8954
        # Tell ltmain to make .dll files, not .so files.
 
8955
        shrext_cmds=".dll"
 
8956
        # FIXME: Setting linknames here is a bad hack.
 
8957
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
8958
        # The linker will automatically build a .lib file if we build a DLL.
 
8959
        old_archive_from_new_cmds='true'
 
8960
        # FIXME: Should let the user specify the lib program.
 
8961
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
8962
        enable_shared_with_static_runtimes=yes
 
8963
        ;;
 
8964
      esac
 
8965
      ;;
 
8966
 
 
8967
    darwin* | rhapsody*)
 
8968
 
 
8969
 
 
8970
  archive_cmds_need_lc=no
 
8971
  hardcode_direct=no
 
8972
  hardcode_automatic=yes
 
8973
  hardcode_shlibpath_var=unsupported
 
8974
  if test "$lt_cv_ld_force_load" = "yes"; then
 
8975
    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\"`'
 
8976
  else
 
8977
    whole_archive_flag_spec=''
 
8978
  fi
 
8979
  link_all_deplibs=yes
 
8980
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
8981
  case $cc_basename in
 
8982
     ifort*) _lt_dar_can_shared=yes ;;
 
8983
     *) _lt_dar_can_shared=$GCC ;;
 
8984
  esac
 
8985
  if test "$_lt_dar_can_shared" = "yes"; then
 
8986
    output_verbose_link_cmd=func_echo_all
 
8987
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8988
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8989
    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}"
 
8990
    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}"
 
8991
 
 
8992
  else
 
8993
  ld_shlibs=no
 
8994
  fi
 
8995
 
 
8996
      ;;
 
8997
 
 
8998
    dgux*)
 
8999
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9000
      hardcode_libdir_flag_spec='-L$libdir'
 
9001
      hardcode_shlibpath_var=no
 
9002
      ;;
 
9003
 
 
9004
    freebsd1*)
 
9005
      ld_shlibs=no
 
9006
      ;;
 
9007
 
 
9008
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
9009
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
9010
    # does not break anything, and helps significantly (at the cost of a little
 
9011
    # extra space).
 
9012
    freebsd2.2*)
 
9013
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
9014
      hardcode_libdir_flag_spec='-R$libdir'
 
9015
      hardcode_direct=yes
 
9016
      hardcode_shlibpath_var=no
 
9017
      ;;
 
9018
 
 
9019
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
9020
    freebsd2*)
 
9021
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9022
      hardcode_direct=yes
 
9023
      hardcode_minus_L=yes
 
9024
      hardcode_shlibpath_var=no
 
9025
      ;;
 
9026
 
 
9027
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
9028
    freebsd* | dragonfly*)
 
9029
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9030
      hardcode_libdir_flag_spec='-R$libdir'
 
9031
      hardcode_direct=yes
 
9032
      hardcode_shlibpath_var=no
 
9033
      ;;
 
9034
 
 
9035
    hpux9*)
 
9036
      if test "$GCC" = yes; then
 
9037
        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'
 
9038
      else
 
9039
        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'
 
9040
      fi
 
9041
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9042
      hardcode_libdir_separator=:
 
9043
      hardcode_direct=yes
 
9044
 
 
9045
      # hardcode_minus_L: Not really in the search PATH,
 
9046
      # but as the default location of the library.
 
9047
      hardcode_minus_L=yes
 
9048
      export_dynamic_flag_spec='${wl}-E'
 
9049
      ;;
 
9050
 
 
9051
    hpux10*)
 
9052
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9053
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9054
      else
 
9055
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9056
      fi
 
9057
      if test "$with_gnu_ld" = no; then
 
9058
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9059
        hardcode_libdir_flag_spec_ld='+b $libdir'
 
9060
        hardcode_libdir_separator=:
 
9061
        hardcode_direct=yes
 
9062
        hardcode_direct_absolute=yes
 
9063
        export_dynamic_flag_spec='${wl}-E'
 
9064
        # hardcode_minus_L: Not really in the search PATH,
 
9065
        # but as the default location of the library.
 
9066
        hardcode_minus_L=yes
 
9067
      fi
 
9068
      ;;
 
9069
 
 
9070
    hpux11*)
 
9071
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9072
        case $host_cpu in
 
9073
        hppa*64*)
 
9074
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9075
          ;;
 
9076
        ia64*)
 
9077
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9078
          ;;
 
9079
        *)
 
9080
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9081
          ;;
 
9082
        esac
 
9083
      else
 
9084
        case $host_cpu in
 
9085
        hppa*64*)
 
9086
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9087
          ;;
 
9088
        ia64*)
 
9089
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9090
          ;;
 
9091
        *)
 
9092
 
 
9093
          # Older versions of the 11.00 compiler do not understand -b yet
 
9094
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9095
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9096
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9097
if ${lt_cv_prog_compiler__b+:} false; then :
 
9098
  $as_echo_n "(cached) " >&6
 
9099
else
 
9100
  lt_cv_prog_compiler__b=no
 
9101
   save_LDFLAGS="$LDFLAGS"
 
9102
   LDFLAGS="$LDFLAGS -b"
 
9103
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9104
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9105
     # The linker can only warn and ignore the option if not recognized
 
9106
     # So say no if there are warnings
 
9107
     if test -s conftest.err; then
 
9108
       # Append any errors to the config.log.
 
9109
       cat conftest.err 1>&5
 
9110
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9111
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9112
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9113
         lt_cv_prog_compiler__b=yes
 
9114
       fi
 
9115
     else
 
9116
       lt_cv_prog_compiler__b=yes
 
9117
     fi
 
9118
   fi
 
9119
   $RM -r conftest*
 
9120
   LDFLAGS="$save_LDFLAGS"
 
9121
 
 
9122
fi
 
9123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9124
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9125
 
 
9126
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9127
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9128
else
 
9129
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9130
fi
 
9131
 
 
9132
          ;;
 
9133
        esac
 
9134
      fi
 
9135
      if test "$with_gnu_ld" = no; then
 
9136
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9137
        hardcode_libdir_separator=:
 
9138
 
 
9139
        case $host_cpu in
 
9140
        hppa*64*|ia64*)
 
9141
          hardcode_direct=no
 
9142
          hardcode_shlibpath_var=no
 
9143
          ;;
 
9144
        *)
 
9145
          hardcode_direct=yes
 
9146
          hardcode_direct_absolute=yes
 
9147
          export_dynamic_flag_spec='${wl}-E'
 
9148
 
 
9149
          # hardcode_minus_L: Not really in the search PATH,
 
9150
          # but as the default location of the library.
 
9151
          hardcode_minus_L=yes
 
9152
          ;;
 
9153
        esac
 
9154
      fi
 
9155
      ;;
 
9156
 
 
9157
    irix5* | irix6* | nonstopux*)
 
9158
      if test "$GCC" = yes; then
 
9159
        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'
 
9160
        # Try to use the -exported_symbol ld option, if it does not
 
9161
        # work, assume that -exports_file does not work either and
 
9162
        # implicitly export all symbols.
 
9163
        # This should be the same for all languages, so no per-tag cache variable.
 
9164
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9165
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9166
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9167
  $as_echo_n "(cached) " >&6
 
9168
else
 
9169
  save_LDFLAGS="$LDFLAGS"
 
9170
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9171
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9172
/* end confdefs.h.  */
 
9173
int foo (void) { return 0; }
 
9174
_ACEOF
 
9175
if ac_fn_c_try_link "$LINENO"; then :
 
9176
  lt_cv_irix_exported_symbol=yes
 
9177
else
 
9178
  lt_cv_irix_exported_symbol=no
 
9179
fi
 
9180
rm -f core conftest.err conftest.$ac_objext \
 
9181
    conftest$ac_exeext conftest.$ac_ext
 
9182
           LDFLAGS="$save_LDFLAGS"
 
9183
fi
 
9184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9185
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9186
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9187
          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'
 
9188
        fi
 
9189
      else
 
9190
        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'
 
9191
        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'
 
9192
      fi
 
9193
      archive_cmds_need_lc='no'
 
9194
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9195
      hardcode_libdir_separator=:
 
9196
      inherit_rpath=yes
 
9197
      link_all_deplibs=yes
 
9198
      ;;
 
9199
 
 
9200
    netbsd* | netbsdelf*-gnu)
 
9201
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9202
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
9203
      else
 
9204
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
9205
      fi
 
9206
      hardcode_libdir_flag_spec='-R$libdir'
 
9207
      hardcode_direct=yes
 
9208
      hardcode_shlibpath_var=no
 
9209
      ;;
 
9210
 
 
9211
    newsos6)
 
9212
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9213
      hardcode_direct=yes
 
9214
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9215
      hardcode_libdir_separator=:
 
9216
      hardcode_shlibpath_var=no
 
9217
      ;;
 
9218
 
 
9219
    *nto* | *qnx*)
 
9220
      ;;
 
9221
 
 
9222
    openbsd*)
 
9223
      if test -f /usr/libexec/ld.so; then
 
9224
        hardcode_direct=yes
 
9225
        hardcode_shlibpath_var=no
 
9226
        hardcode_direct_absolute=yes
 
9227
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9228
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9229
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9230
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9231
          export_dynamic_flag_spec='${wl}-E'
 
9232
        else
 
9233
          case $host_os in
 
9234
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
9235
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9236
             hardcode_libdir_flag_spec='-R$libdir'
 
9237
             ;;
 
9238
           *)
 
9239
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9240
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9241
             ;;
 
9242
          esac
 
9243
        fi
 
9244
      else
 
9245
        ld_shlibs=no
 
9246
      fi
 
9247
      ;;
 
9248
 
 
9249
    os2*)
 
9250
      hardcode_libdir_flag_spec='-L$libdir'
 
9251
      hardcode_minus_L=yes
 
9252
      allow_undefined_flag=unsupported
 
9253
      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'
 
9254
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
9255
      ;;
 
9256
 
 
9257
    osf3*)
 
9258
      if test "$GCC" = yes; then
 
9259
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9260
        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'
 
9261
      else
 
9262
        allow_undefined_flag=' -expect_unresolved \*'
 
9263
        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'
 
9264
      fi
 
9265
      archive_cmds_need_lc='no'
 
9266
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9267
      hardcode_libdir_separator=:
 
9268
      ;;
 
9269
 
 
9270
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
9271
      if test "$GCC" = yes; then
 
9272
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9273
        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'
 
9274
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9275
      else
 
9276
        allow_undefined_flag=' -expect_unresolved \*'
 
9277
        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'
 
9278
        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~
 
9279
        $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'
 
9280
 
 
9281
        # Both c and cxx compiler support -rpath directly
 
9282
        hardcode_libdir_flag_spec='-rpath $libdir'
 
9283
      fi
 
9284
      archive_cmds_need_lc='no'
 
9285
      hardcode_libdir_separator=:
 
9286
      ;;
 
9287
 
 
9288
    solaris*)
 
9289
      no_undefined_flag=' -z defs'
 
9290
      if test "$GCC" = yes; then
 
9291
        wlarc='${wl}'
 
9292
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9293
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9294
          $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'
 
9295
      else
 
9296
        case `$CC -V 2>&1` in
 
9297
        *"Compilers 5.0"*)
 
9298
          wlarc=''
 
9299
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9300
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9301
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
9302
          ;;
 
9303
        *)
 
9304
          wlarc='${wl}'
 
9305
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9306
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9307
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9308
          ;;
 
9309
        esac
 
9310
      fi
 
9311
      hardcode_libdir_flag_spec='-R$libdir'
 
9312
      hardcode_shlibpath_var=no
 
9313
      case $host_os in
 
9314
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
9315
      *)
 
9316
        # The compiler driver will combine and reorder linker options,
 
9317
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
9318
        # but is careful enough not to reorder.
 
9319
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9320
        if test "$GCC" = yes; then
 
9321
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
9322
        else
 
9323
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
9324
        fi
 
9325
        ;;
 
9326
      esac
 
9327
      link_all_deplibs=yes
 
9328
      ;;
 
9329
 
 
9330
    sunos4*)
 
9331
      if test "x$host_vendor" = xsequent; then
 
9332
        # Use $CC to link under sequent, because it throws in some extra .o
 
9333
        # files that make .init and .fini sections work.
 
9334
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9335
      else
 
9336
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
9337
      fi
 
9338
      hardcode_libdir_flag_spec='-L$libdir'
 
9339
      hardcode_direct=yes
 
9340
      hardcode_minus_L=yes
 
9341
      hardcode_shlibpath_var=no
 
9342
      ;;
 
9343
 
 
9344
    sysv4)
 
9345
      case $host_vendor in
 
9346
        sni)
 
9347
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9348
          hardcode_direct=yes # is this really true???
 
9349
        ;;
 
9350
        siemens)
 
9351
          ## LD is ld it makes a PLAMLIB
 
9352
          ## CC just makes a GrossModule.
 
9353
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
9354
          reload_cmds='$CC -r -o $output$reload_objs'
 
9355
          hardcode_direct=no
 
9356
        ;;
 
9357
        motorola)
 
9358
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9359
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
9360
        ;;
 
9361
      esac
 
9362
      runpath_var='LD_RUN_PATH'
 
9363
      hardcode_shlibpath_var=no
 
9364
      ;;
 
9365
 
 
9366
    sysv4.3*)
 
9367
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9368
      hardcode_shlibpath_var=no
 
9369
      export_dynamic_flag_spec='-Bexport'
 
9370
      ;;
 
9371
 
 
9372
    sysv4*MP*)
 
9373
      if test -d /usr/nec; then
 
9374
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9375
        hardcode_shlibpath_var=no
 
9376
        runpath_var=LD_RUN_PATH
 
9377
        hardcode_runpath_var=yes
 
9378
        ld_shlibs=yes
 
9379
      fi
 
9380
      ;;
 
9381
 
 
9382
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
9383
      no_undefined_flag='${wl}-z,text'
 
9384
      archive_cmds_need_lc=no
 
9385
      hardcode_shlibpath_var=no
 
9386
      runpath_var='LD_RUN_PATH'
 
9387
 
 
9388
      if test "$GCC" = yes; then
 
9389
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9390
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9391
      else
 
9392
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9393
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9394
      fi
 
9395
      ;;
 
9396
 
 
9397
    sysv5* | sco3.2v5* | sco5v6*)
 
9398
      # Note: We can NOT use -z defs as we might desire, because we do not
 
9399
      # link with -lc, and that would cause any symbols used from libc to
 
9400
      # always be unresolved, which means just about no library would
 
9401
      # ever link correctly.  If we're not using GNU ld we use -z text
 
9402
      # though, which does catch some bad symbols but isn't as heavy-handed
 
9403
      # as -z defs.
 
9404
      no_undefined_flag='${wl}-z,text'
 
9405
      allow_undefined_flag='${wl}-z,nodefs'
 
9406
      archive_cmds_need_lc=no
 
9407
      hardcode_shlibpath_var=no
 
9408
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
9409
      hardcode_libdir_separator=':'
 
9410
      link_all_deplibs=yes
 
9411
      export_dynamic_flag_spec='${wl}-Bexport'
 
9412
      runpath_var='LD_RUN_PATH'
 
9413
 
 
9414
      if test "$GCC" = yes; then
 
9415
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9416
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9417
      else
 
9418
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9419
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9420
      fi
 
9421
      ;;
 
9422
 
 
9423
    uts4*)
 
9424
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9425
      hardcode_libdir_flag_spec='-L$libdir'
 
9426
      hardcode_shlibpath_var=no
 
9427
      ;;
 
9428
 
 
9429
    *)
 
9430
      ld_shlibs=no
 
9431
      ;;
 
9432
    esac
 
9433
 
 
9434
    if test x$host_vendor = xsni; then
 
9435
      case $host in
 
9436
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9437
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
9438
        ;;
 
9439
      esac
 
9440
    fi
 
9441
  fi
 
9442
 
 
9443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
9444
$as_echo "$ld_shlibs" >&6; }
 
9445
test "$ld_shlibs" = no && can_build_shared=no
 
9446
 
 
9447
with_gnu_ld=$with_gnu_ld
 
9448
 
 
9449
 
 
9450
 
 
9451
 
 
9452
 
 
9453
 
 
9454
 
 
9455
 
 
9456
 
 
9457
 
 
9458
 
 
9459
 
 
9460
 
 
9461
 
 
9462
 
 
9463
#
 
9464
# Do we need to explicitly link libc?
 
9465
#
 
9466
case "x$archive_cmds_need_lc" in
 
9467
x|xyes)
 
9468
  # Assume -lc should be added
 
9469
  archive_cmds_need_lc=yes
 
9470
 
 
9471
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
9472
    case $archive_cmds in
 
9473
    *'~'*)
 
9474
      # FIXME: we may have to deal with multi-command sequences.
 
9475
      ;;
 
9476
    '$CC '*)
 
9477
      # Test whether the compiler implicitly links with -lc since on some
 
9478
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
9479
      # to ld, don't add -lc before -lgcc.
 
9480
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
9481
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
9482
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
9483
  $as_echo_n "(cached) " >&6
 
9484
else
 
9485
  $RM conftest*
 
9486
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9487
 
 
9488
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9489
  (eval $ac_compile) 2>&5
 
9490
  ac_status=$?
 
9491
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9492
  test $ac_status = 0; } 2>conftest.err; then
 
9493
          soname=conftest
 
9494
          lib=conftest
 
9495
          libobjs=conftest.$ac_objext
 
9496
          deplibs=
 
9497
          wl=$lt_prog_compiler_wl
 
9498
          pic_flag=$lt_prog_compiler_pic
 
9499
          compiler_flags=-v
 
9500
          linker_flags=-v
 
9501
          verstring=
 
9502
          output_objdir=.
 
9503
          libname=conftest
 
9504
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
9505
          allow_undefined_flag=
 
9506
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
9507
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
9508
  ac_status=$?
 
9509
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9510
  test $ac_status = 0; }
 
9511
          then
 
9512
            lt_cv_archive_cmds_need_lc=no
 
9513
          else
 
9514
            lt_cv_archive_cmds_need_lc=yes
 
9515
          fi
 
9516
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
9517
        else
 
9518
          cat conftest.err 1>&5
 
9519
        fi
 
9520
        $RM conftest*
 
9521
 
 
9522
fi
 
9523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
9524
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
9525
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 
9526
      ;;
 
9527
    esac
 
9528
  fi
 
9529
  ;;
 
9530
esac
 
9531
 
 
9532
 
 
9533
 
 
9534
 
 
9535
 
 
9536
 
 
9537
 
 
9538
 
 
9539
 
 
9540
 
 
9541
 
 
9542
 
 
9543
 
 
9544
 
 
9545
 
 
9546
 
 
9547
 
 
9548
 
 
9549
 
 
9550
 
 
9551
 
 
9552
 
 
9553
 
 
9554
 
 
9555
 
 
9556
 
 
9557
 
 
9558
 
 
9559
 
 
9560
 
 
9561
 
 
9562
 
 
9563
 
 
9564
 
 
9565
 
 
9566
 
 
9567
 
 
9568
 
 
9569
 
 
9570
 
 
9571
 
 
9572
 
 
9573
 
 
9574
 
 
9575
 
 
9576
 
 
9577
 
 
9578
 
 
9579
 
 
9580
 
 
9581
 
 
9582
 
 
9583
 
 
9584
 
 
9585
 
 
9586
 
 
9587
 
 
9588
 
 
9589
 
 
9590
 
 
9591
 
 
9592
 
 
9593
 
 
9594
 
 
9595
 
 
9596
 
 
9597
 
 
9598
 
 
9599
 
 
9600
 
 
9601
 
 
9602
 
 
9603
 
 
9604
 
 
9605
 
 
9606
 
 
9607
 
 
9608
 
 
9609
 
 
9610
 
 
9611
 
 
9612
 
 
9613
 
 
9614
 
 
9615
 
 
9616
 
 
9617
 
 
9618
 
 
9619
 
 
9620
 
 
9621
 
 
9622
 
 
9623
 
 
9624
 
 
9625
 
 
9626
 
 
9627
 
 
9628
 
 
9629
 
 
9630
 
 
9631
 
 
9632
 
 
9633
 
 
9634
 
 
9635
 
 
9636
 
 
9637
 
 
9638
 
 
9639
 
 
9640
 
 
9641
 
 
9642
 
 
9643
 
 
9644
 
 
9645
 
 
9646
 
 
9647
 
 
9648
 
 
9649
 
 
9650
 
 
9651
 
 
9652
 
 
9653
 
 
9654
 
 
9655
 
 
9656
 
 
9657
 
 
9658
 
 
9659
 
 
9660
 
 
9661
 
 
9662
 
 
9663
 
 
9664
 
 
9665
 
 
9666
 
 
9667
 
 
9668
 
 
9669
 
 
9670
 
 
9671
 
 
9672
 
 
9673
 
 
9674
 
 
9675
 
 
9676
 
 
9677
 
 
9678
 
 
9679
 
 
9680
 
 
9681
 
 
9682
 
 
9683
 
 
9684
 
 
9685
 
 
9686
 
 
9687
 
 
9688
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
9689
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
9690
 
 
9691
if test "$GCC" = yes; then
 
9692
  case $host_os in
 
9693
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
9694
    *) lt_awk_arg="/^libraries:/" ;;
 
9695
  esac
 
9696
  case $host_os in
 
9697
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
9698
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
9699
  esac
 
9700
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
9701
  case $lt_search_path_spec in
 
9702
  *\;*)
 
9703
    # if the path contains ";" then we assume it to be the separator
 
9704
    # otherwise default to the standard path separator (i.e. ":") - it is
 
9705
    # assumed that no part of a normal pathname contains ";" but that should
 
9706
    # okay in the real world where ";" in dirpaths is itself problematic.
 
9707
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
9708
    ;;
 
9709
  *)
 
9710
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
9711
    ;;
 
9712
  esac
 
9713
  # Ok, now we have the path, separated by spaces, we can step through it
 
9714
  # and add multilib dir if necessary.
 
9715
  lt_tmp_lt_search_path_spec=
 
9716
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
9717
  for lt_sys_path in $lt_search_path_spec; do
 
9718
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
9719
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
9720
    else
 
9721
      test -d "$lt_sys_path" && \
 
9722
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
9723
    fi
 
9724
  done
 
9725
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 
9726
BEGIN {RS=" "; FS="/|\n";} {
 
9727
  lt_foo="";
 
9728
  lt_count=0;
 
9729
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
9730
    if ($lt_i != "" && $lt_i != ".") {
 
9731
      if ($lt_i == "..") {
 
9732
        lt_count++;
 
9733
      } else {
 
9734
        if (lt_count == 0) {
 
9735
          lt_foo="/" $lt_i lt_foo;
 
9736
        } else {
 
9737
          lt_count--;
 
9738
        }
 
9739
      }
 
9740
    }
 
9741
  }
 
9742
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
9743
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
9744
}'`
 
9745
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
9746
  # for these hosts.
 
9747
  case $host_os in
 
9748
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
9749
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
9750
  esac
 
9751
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 
9752
else
 
9753
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
9754
fi
 
9755
library_names_spec=
 
9756
libname_spec='lib$name'
 
9757
soname_spec=
 
9758
shrext_cmds=".so"
 
9759
postinstall_cmds=
 
9760
postuninstall_cmds=
 
9761
finish_cmds=
 
9762
finish_eval=
 
9763
shlibpath_var=
 
9764
shlibpath_overrides_runpath=unknown
 
9765
version_type=none
 
9766
dynamic_linker="$host_os ld.so"
 
9767
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
9768
need_lib_prefix=unknown
 
9769
hardcode_into_libs=no
 
9770
 
 
9771
# when you set need_version to no, make sure it does not cause -set_version
 
9772
# flags to be left without arguments
 
9773
need_version=unknown
 
9774
 
 
9775
case $host_os in
 
9776
aix3*)
 
9777
  version_type=linux
 
9778
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
9779
  shlibpath_var=LIBPATH
 
9780
 
 
9781
  # AIX 3 has no versioning support, so we append a major version to the name.
 
9782
  soname_spec='${libname}${release}${shared_ext}$major'
 
9783
  ;;
 
9784
 
 
9785
aix[4-9]*)
 
9786
  version_type=linux
 
9787
  need_lib_prefix=no
 
9788
  need_version=no
 
9789
  hardcode_into_libs=yes
 
9790
  if test "$host_cpu" = ia64; then
 
9791
    # AIX 5 supports IA64
 
9792
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
9793
    shlibpath_var=LD_LIBRARY_PATH
 
9794
  else
 
9795
    # With GCC up to 2.95.x, collect2 would create an import file
 
9796
    # for dependence libraries.  The import file would start with
 
9797
    # the line `#! .'.  This would cause the generated library to
 
9798
    # depend on `.', always an invalid library.  This was fixed in
 
9799
    # development snapshots of GCC prior to 3.0.
 
9800
    case $host_os in
 
9801
      aix4 | aix4.[01] | aix4.[01].*)
 
9802
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
9803
           echo ' yes '
 
9804
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
9805
        :
 
9806
      else
 
9807
        can_build_shared=no
 
9808
      fi
 
9809
      ;;
 
9810
    esac
 
9811
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
9812
    # soname into executable. Probably we can add versioning support to
 
9813
    # collect2, so additional links can be useful in future.
 
9814
    if test "$aix_use_runtimelinking" = yes; then
 
9815
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
9816
      # instead of lib<name>.a to let people know that these are not
 
9817
      # typical AIX shared libraries.
 
9818
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9819
    else
 
9820
      # We preserve .a as extension for shared libraries through AIX4.2
 
9821
      # and later when we are not doing run time linking.
 
9822
      library_names_spec='${libname}${release}.a $libname.a'
 
9823
      soname_spec='${libname}${release}${shared_ext}$major'
 
9824
    fi
 
9825
    shlibpath_var=LIBPATH
 
9826
  fi
 
9827
  ;;
 
9828
 
 
9829
amigaos*)
 
9830
  case $host_cpu in
 
9831
  powerpc)
 
9832
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
9833
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
9834
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9835
    ;;
 
9836
  m68k)
 
9837
    library_names_spec='$libname.ixlibrary $libname.a'
 
9838
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
9839
    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'
 
9840
    ;;
 
9841
  esac
 
9842
  ;;
 
9843
 
 
9844
beos*)
 
9845
  library_names_spec='${libname}${shared_ext}'
 
9846
  dynamic_linker="$host_os ld.so"
 
9847
  shlibpath_var=LIBRARY_PATH
 
9848
  ;;
 
9849
 
 
9850
bsdi[45]*)
 
9851
  version_type=linux
 
9852
  need_version=no
 
9853
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9854
  soname_spec='${libname}${release}${shared_ext}$major'
 
9855
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
9856
  shlibpath_var=LD_LIBRARY_PATH
 
9857
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
9858
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
9859
  # the default ld.so.conf also contains /usr/contrib/lib and
 
9860
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
9861
  # libtool to hard-code these into programs
 
9862
  ;;
 
9863
 
 
9864
cygwin* | mingw* | pw32* | cegcc*)
 
9865
  version_type=windows
 
9866
  shrext_cmds=".dll"
 
9867
  need_version=no
 
9868
  need_lib_prefix=no
 
9869
 
 
9870
  case $GCC,$cc_basename in
 
9871
  yes,*)
 
9872
    # gcc
 
9873
    library_names_spec='$libname.dll.a'
 
9874
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
9875
    postinstall_cmds='base_file=`basename \${file}`~
 
9876
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
9877
      dldir=$destdir/`dirname \$dlpath`~
 
9878
      test -d \$dldir || mkdir -p \$dldir~
 
9879
      $install_prog $dir/$dlname \$dldir/$dlname~
 
9880
      chmod a+x \$dldir/$dlname~
 
9881
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
9882
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
9883
      fi'
 
9884
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
9885
      dlpath=$dir/\$dldll~
 
9886
       $RM \$dlpath'
 
9887
    shlibpath_overrides_runpath=yes
 
9888
 
 
9889
    case $host_os in
 
9890
    cygwin*)
 
9891
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
9892
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9893
 
 
9894
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 
9895
      ;;
 
9896
    mingw* | cegcc*)
 
9897
      # MinGW DLLs use traditional 'lib' prefix
 
9898
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9899
      ;;
 
9900
    pw32*)
 
9901
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
9902
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9903
      ;;
 
9904
    esac
 
9905
    dynamic_linker='Win32 ld.exe'
 
9906
    ;;
 
9907
 
 
9908
  *,cl*)
 
9909
    # Native MSVC
 
9910
    libname_spec='$name'
 
9911
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9912
    library_names_spec='${libname}.dll.lib'
 
9913
 
 
9914
    case $build_os in
 
9915
    mingw*)
 
9916
      sys_lib_search_path_spec=
 
9917
      lt_save_ifs=$IFS
 
9918
      IFS=';'
 
9919
      for lt_path in $LIB
 
9920
      do
 
9921
        IFS=$lt_save_ifs
 
9922
        # Let DOS variable expansion print the short 8.3 style file name.
 
9923
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
9924
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
9925
      done
 
9926
      IFS=$lt_save_ifs
 
9927
      # Convert to MSYS style.
 
9928
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
9929
      ;;
 
9930
    cygwin*)
 
9931
      # Convert to unix form, then to dos form, then back to unix form
 
9932
      # but this time dos style (no spaces!) so that the unix form looks
 
9933
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
9934
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
9935
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
9936
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
9937
      ;;
 
9938
    *)
 
9939
      sys_lib_search_path_spec="$LIB"
 
9940
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
9941
        # It is most probably a Windows format PATH.
 
9942
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9943
      else
 
9944
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
9945
      fi
 
9946
      # FIXME: find the short name or the path components, as spaces are
 
9947
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
9948
      ;;
 
9949
    esac
 
9950
 
 
9951
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
9952
    postinstall_cmds='base_file=`basename \${file}`~
 
9953
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
9954
      dldir=$destdir/`dirname \$dlpath`~
 
9955
      test -d \$dldir || mkdir -p \$dldir~
 
9956
      $install_prog $dir/$dlname \$dldir/$dlname'
 
9957
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
9958
      dlpath=$dir/\$dldll~
 
9959
       $RM \$dlpath'
 
9960
    shlibpath_overrides_runpath=yes
 
9961
    dynamic_linker='Win32 link.exe'
 
9962
    ;;
 
9963
 
 
9964
  *)
 
9965
    # Assume MSVC wrapper
 
9966
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
9967
    dynamic_linker='Win32 ld.exe'
 
9968
    ;;
 
9969
  esac
 
9970
  # FIXME: first we should search . and the directory the executable is in
 
9971
  shlibpath_var=PATH
 
9972
  ;;
 
9973
 
 
9974
darwin* | rhapsody*)
 
9975
  dynamic_linker="$host_os dyld"
 
9976
  version_type=darwin
 
9977
  need_lib_prefix=no
 
9978
  need_version=no
 
9979
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
9980
  soname_spec='${libname}${release}${major}$shared_ext'
 
9981
  shlibpath_overrides_runpath=yes
 
9982
  shlibpath_var=DYLD_LIBRARY_PATH
 
9983
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
9984
 
 
9985
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
9986
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
9987
  ;;
 
9988
 
 
9989
dgux*)
 
9990
  version_type=linux
 
9991
  need_lib_prefix=no
 
9992
  need_version=no
 
9993
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
9994
  soname_spec='${libname}${release}${shared_ext}$major'
 
9995
  shlibpath_var=LD_LIBRARY_PATH
 
9996
  ;;
 
9997
 
 
9998
freebsd1*)
 
9999
  dynamic_linker=no
 
10000
  ;;
 
10001
 
 
10002
freebsd* | dragonfly*)
 
10003
  # DragonFly does not have aout.  When/if they implement a new
 
10004
  # versioning mechanism, adjust this.
 
10005
  if test -x /usr/bin/objformat; then
 
10006
    objformat=`/usr/bin/objformat`
 
10007
  else
 
10008
    case $host_os in
 
10009
    freebsd[123]*) objformat=aout ;;
 
10010
    *) objformat=elf ;;
 
10011
    esac
 
10012
  fi
 
10013
  version_type=freebsd-$objformat
 
10014
  case $version_type in
 
10015
    freebsd-elf*)
 
10016
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10017
      need_version=no
 
10018
      need_lib_prefix=no
 
10019
      ;;
 
10020
    freebsd-*)
 
10021
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
10022
      need_version=yes
 
10023
      ;;
 
10024
  esac
 
10025
  shlibpath_var=LD_LIBRARY_PATH
 
10026
  case $host_os in
 
10027
  freebsd2*)
 
10028
    shlibpath_overrides_runpath=yes
 
10029
    ;;
 
10030
  freebsd3.[01]* | freebsdelf3.[01]*)
 
10031
    shlibpath_overrides_runpath=yes
 
10032
    hardcode_into_libs=yes
 
10033
    ;;
 
10034
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
10035
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
10036
    shlibpath_overrides_runpath=no
 
10037
    hardcode_into_libs=yes
 
10038
    ;;
 
10039
  *) # from 4.6 on, and DragonFly
 
10040
    shlibpath_overrides_runpath=yes
 
10041
    hardcode_into_libs=yes
 
10042
    ;;
 
10043
  esac
 
10044
  ;;
 
10045
 
 
10046
gnu*)
 
10047
  version_type=linux
 
10048
  need_lib_prefix=no
 
10049
  need_version=no
 
10050
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10051
  soname_spec='${libname}${release}${shared_ext}$major'
 
10052
  shlibpath_var=LD_LIBRARY_PATH
 
10053
  shlibpath_overrides_runpath=no
 
10054
  hardcode_into_libs=yes
 
10055
  ;;
 
10056
 
 
10057
haiku*)
 
10058
  version_type=linux
 
10059
  need_lib_prefix=no
 
10060
  need_version=no
 
10061
  dynamic_linker="$host_os runtime_loader"
 
10062
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10063
  soname_spec='${libname}${release}${shared_ext}$major'
 
10064
  shlibpath_var=LIBRARY_PATH
 
10065
  shlibpath_overrides_runpath=yes
 
10066
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
10067
  hardcode_into_libs=yes
 
10068
  ;;
 
10069
 
 
10070
hpux9* | hpux10* | hpux11*)
 
10071
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
10072
  # link against other versions.
 
10073
  version_type=sunos
 
10074
  need_lib_prefix=no
 
10075
  need_version=no
 
10076
  case $host_cpu in
 
10077
  ia64*)
 
10078
    shrext_cmds='.so'
 
10079
    hardcode_into_libs=yes
 
10080
    dynamic_linker="$host_os dld.so"
 
10081
    shlibpath_var=LD_LIBRARY_PATH
 
10082
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10083
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10084
    soname_spec='${libname}${release}${shared_ext}$major'
 
10085
    if test "X$HPUX_IA64_MODE" = X32; then
 
10086
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
10087
    else
 
10088
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
10089
    fi
 
10090
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10091
    ;;
 
10092
  hppa*64*)
 
10093
    shrext_cmds='.sl'
 
10094
    hardcode_into_libs=yes
 
10095
    dynamic_linker="$host_os dld.sl"
 
10096
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10097
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10098
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10099
    soname_spec='${libname}${release}${shared_ext}$major'
 
10100
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10101
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10102
    ;;
 
10103
  *)
 
10104
    shrext_cmds='.sl'
 
10105
    dynamic_linker="$host_os dld.sl"
 
10106
    shlibpath_var=SHLIB_PATH
 
10107
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
10108
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10109
    soname_spec='${libname}${release}${shared_ext}$major'
 
10110
    ;;
 
10111
  esac
 
10112
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
10113
  postinstall_cmds='chmod 555 $lib'
 
10114
  # or fails outright, so override atomically:
 
10115
  install_override_mode=555
 
10116
  ;;
 
10117
 
 
10118
interix[3-9]*)
 
10119
  version_type=linux
 
10120
  need_lib_prefix=no
 
10121
  need_version=no
 
10122
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10123
  soname_spec='${libname}${release}${shared_ext}$major'
 
10124
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
10125
  shlibpath_var=LD_LIBRARY_PATH
 
10126
  shlibpath_overrides_runpath=no
 
10127
  hardcode_into_libs=yes
 
10128
  ;;
 
10129
 
 
10130
irix5* | irix6* | nonstopux*)
 
10131
  case $host_os in
 
10132
    nonstopux*) version_type=nonstopux ;;
 
10133
    *)
 
10134
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
10135
                version_type=linux
 
10136
        else
 
10137
                version_type=irix
 
10138
        fi ;;
 
10139
  esac
 
10140
  need_lib_prefix=no
 
10141
  need_version=no
 
10142
  soname_spec='${libname}${release}${shared_ext}$major'
 
10143
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10144
  case $host_os in
 
10145
  irix5* | nonstopux*)
 
10146
    libsuff= shlibsuff=
 
10147
    ;;
 
10148
  *)
 
10149
    case $LD in # libtool.m4 will add one of these switches to LD
 
10150
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
10151
      libsuff= shlibsuff= libmagic=32-bit;;
 
10152
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
10153
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
10154
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
10155
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
10156
    *) libsuff= shlibsuff= libmagic=never-match;;
 
10157
    esac
 
10158
    ;;
 
10159
  esac
 
10160
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
10161
  shlibpath_overrides_runpath=no
 
10162
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
10163
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
10164
  hardcode_into_libs=yes
 
10165
  ;;
 
10166
 
 
10167
# No shared lib support for Linux oldld, aout, or coff.
 
10168
linux*oldld* | linux*aout* | linux*coff*)
 
10169
  dynamic_linker=no
 
10170
  ;;
 
10171
 
 
10172
# This must be Linux ELF.
 
10173
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
10174
  version_type=linux
 
10175
  need_lib_prefix=no
 
10176
  need_version=no
 
10177
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10178
  soname_spec='${libname}${release}${shared_ext}$major'
 
10179
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
10180
  shlibpath_var=LD_LIBRARY_PATH
 
10181
  shlibpath_overrides_runpath=no
 
10182
 
 
10183
  # Some binutils ld are patched to set DT_RUNPATH
 
10184
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10185
  $as_echo_n "(cached) " >&6
 
10186
else
 
10187
  lt_cv_shlibpath_overrides_runpath=no
 
10188
    save_LDFLAGS=$LDFLAGS
 
10189
    save_libdir=$libdir
 
10190
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10191
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10192
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10193
/* end confdefs.h.  */
 
10194
 
 
10195
int
 
10196
main ()
 
10197
{
 
10198
 
 
10199
  ;
 
10200
  return 0;
 
10201
}
 
10202
_ACEOF
 
10203
if ac_fn_c_try_link "$LINENO"; then :
 
10204
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
10205
  lt_cv_shlibpath_overrides_runpath=yes
 
10206
fi
 
10207
fi
 
10208
rm -f core conftest.err conftest.$ac_objext \
 
10209
    conftest$ac_exeext conftest.$ac_ext
 
10210
    LDFLAGS=$save_LDFLAGS
 
10211
    libdir=$save_libdir
 
10212
 
 
10213
fi
 
10214
 
 
10215
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
10216
 
 
10217
  # This implies no fast_install, which is unacceptable.
 
10218
  # Some rework will be needed to allow for fast_install
 
10219
  # before this can be enabled.
 
10220
  hardcode_into_libs=yes
 
10221
 
 
10222
  # Append ld.so.conf contents to the search path
 
10223
  if test -f /etc/ld.so.conf; then
 
10224
    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' ' '`
 
10225
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
10226
  fi
 
10227
 
 
10228
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
10229
  # powerpc, because MkLinux only supported shared libraries with the
 
10230
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
10231
  # most powerpc-linux boxes support dynamic linking these days and
 
10232
  # people can always --disable-shared, the test was removed, and we
 
10233
  # assume the GNU/Linux dynamic linker is in use.
 
10234
  dynamic_linker='GNU/Linux ld.so'
 
10235
  ;;
 
10236
 
 
10237
netbsdelf*-gnu)
 
10238
  version_type=linux
 
10239
  need_lib_prefix=no
 
10240
  need_version=no
 
10241
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10242
  soname_spec='${libname}${release}${shared_ext}$major'
 
10243
  shlibpath_var=LD_LIBRARY_PATH
 
10244
  shlibpath_overrides_runpath=no
 
10245
  hardcode_into_libs=yes
 
10246
  dynamic_linker='NetBSD ld.elf_so'
 
10247
  ;;
 
10248
 
 
10249
netbsd*)
 
10250
  version_type=sunos
 
10251
  need_lib_prefix=no
 
10252
  need_version=no
 
10253
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
10254
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10255
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10256
    dynamic_linker='NetBSD (a.out) ld.so'
 
10257
  else
 
10258
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10259
    soname_spec='${libname}${release}${shared_ext}$major'
 
10260
    dynamic_linker='NetBSD ld.elf_so'
 
10261
  fi
 
10262
  shlibpath_var=LD_LIBRARY_PATH
 
10263
  shlibpath_overrides_runpath=yes
 
10264
  hardcode_into_libs=yes
 
10265
  ;;
 
10266
 
 
10267
newsos6)
 
10268
  version_type=linux
 
10269
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10270
  shlibpath_var=LD_LIBRARY_PATH
 
10271
  shlibpath_overrides_runpath=yes
 
10272
  ;;
 
10273
 
 
10274
*nto* | *qnx*)
 
10275
  version_type=qnx
 
10276
  need_lib_prefix=no
 
10277
  need_version=no
 
10278
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10279
  soname_spec='${libname}${release}${shared_ext}$major'
 
10280
  shlibpath_var=LD_LIBRARY_PATH
 
10281
  shlibpath_overrides_runpath=no
 
10282
  hardcode_into_libs=yes
 
10283
  dynamic_linker='ldqnx.so'
 
10284
  ;;
 
10285
 
 
10286
openbsd*)
 
10287
  version_type=sunos
 
10288
  sys_lib_dlsearch_path_spec="/usr/lib"
 
10289
  need_lib_prefix=no
 
10290
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
10291
  case $host_os in
 
10292
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
10293
    *)                          need_version=no  ;;
 
10294
  esac
 
10295
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10296
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10297
  shlibpath_var=LD_LIBRARY_PATH
 
10298
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10299
    case $host_os in
 
10300
      openbsd2.[89] | openbsd2.[89].*)
 
10301
        shlibpath_overrides_runpath=no
 
10302
        ;;
 
10303
      *)
 
10304
        shlibpath_overrides_runpath=yes
 
10305
        ;;
 
10306
      esac
 
10307
  else
 
10308
    shlibpath_overrides_runpath=yes
 
10309
  fi
 
10310
  ;;
 
10311
 
 
10312
os2*)
 
10313
  libname_spec='$name'
 
10314
  shrext_cmds=".dll"
 
10315
  need_lib_prefix=no
 
10316
  library_names_spec='$libname${shared_ext} $libname.a'
 
10317
  dynamic_linker='OS/2 ld.exe'
 
10318
  shlibpath_var=LIBPATH
 
10319
  ;;
 
10320
 
 
10321
osf3* | osf4* | osf5*)
 
10322
  version_type=osf
 
10323
  need_lib_prefix=no
 
10324
  need_version=no
 
10325
  soname_spec='${libname}${release}${shared_ext}$major'
 
10326
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10327
  shlibpath_var=LD_LIBRARY_PATH
 
10328
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
10329
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
10330
  ;;
 
10331
 
 
10332
rdos*)
 
10333
  dynamic_linker=no
 
10334
  ;;
 
10335
 
 
10336
solaris*)
 
10337
  version_type=linux
 
10338
  need_lib_prefix=no
 
10339
  need_version=no
 
10340
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10341
  soname_spec='${libname}${release}${shared_ext}$major'
 
10342
  shlibpath_var=LD_LIBRARY_PATH
 
10343
  shlibpath_overrides_runpath=yes
 
10344
  hardcode_into_libs=yes
 
10345
  # ldd complains unless libraries are executable
 
10346
  postinstall_cmds='chmod +x $lib'
 
10347
  ;;
 
10348
 
 
10349
sunos4*)
 
10350
  version_type=sunos
 
10351
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10352
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
10353
  shlibpath_var=LD_LIBRARY_PATH
 
10354
  shlibpath_overrides_runpath=yes
 
10355
  if test "$with_gnu_ld" = yes; then
 
10356
    need_lib_prefix=no
 
10357
  fi
 
10358
  need_version=yes
 
10359
  ;;
 
10360
 
 
10361
sysv4 | sysv4.3*)
 
10362
  version_type=linux
 
10363
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10364
  soname_spec='${libname}${release}${shared_ext}$major'
 
10365
  shlibpath_var=LD_LIBRARY_PATH
 
10366
  case $host_vendor in
 
10367
    sni)
 
10368
      shlibpath_overrides_runpath=no
 
10369
      need_lib_prefix=no
 
10370
      runpath_var=LD_RUN_PATH
 
10371
      ;;
 
10372
    siemens)
 
10373
      need_lib_prefix=no
 
10374
      ;;
 
10375
    motorola)
 
10376
      need_lib_prefix=no
 
10377
      need_version=no
 
10378
      shlibpath_overrides_runpath=no
 
10379
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
10380
      ;;
 
10381
  esac
 
10382
  ;;
 
10383
 
 
10384
sysv4*MP*)
 
10385
  if test -d /usr/nec ;then
 
10386
    version_type=linux
 
10387
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
10388
    soname_spec='$libname${shared_ext}.$major'
 
10389
    shlibpath_var=LD_LIBRARY_PATH
 
10390
  fi
 
10391
  ;;
 
10392
 
 
10393
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
10394
  version_type=freebsd-elf
 
10395
  need_lib_prefix=no
 
10396
  need_version=no
 
10397
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10398
  soname_spec='${libname}${release}${shared_ext}$major'
 
10399
  shlibpath_var=LD_LIBRARY_PATH
 
10400
  shlibpath_overrides_runpath=yes
 
10401
  hardcode_into_libs=yes
 
10402
  if test "$with_gnu_ld" = yes; then
 
10403
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
10404
  else
 
10405
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
10406
    case $host_os in
 
10407
      sco3.2v5*)
 
10408
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
10409
        ;;
 
10410
    esac
 
10411
  fi
 
10412
  sys_lib_dlsearch_path_spec='/usr/lib'
 
10413
  ;;
 
10414
 
 
10415
tpf*)
 
10416
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
10417
  version_type=linux
 
10418
  need_lib_prefix=no
 
10419
  need_version=no
 
10420
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10421
  shlibpath_var=LD_LIBRARY_PATH
 
10422
  shlibpath_overrides_runpath=no
 
10423
  hardcode_into_libs=yes
 
10424
  ;;
 
10425
 
 
10426
uts4*)
 
10427
  version_type=linux
 
10428
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10429
  soname_spec='${libname}${release}${shared_ext}$major'
 
10430
  shlibpath_var=LD_LIBRARY_PATH
 
10431
  ;;
 
10432
 
 
10433
*)
 
10434
  dynamic_linker=no
 
10435
  ;;
 
10436
esac
 
10437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
10438
$as_echo "$dynamic_linker" >&6; }
 
10439
test "$dynamic_linker" = no && can_build_shared=no
 
10440
 
 
10441
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
10442
if test "$GCC" = yes; then
 
10443
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
10444
fi
 
10445
 
 
10446
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
10447
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
10448
fi
 
10449
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10450
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10451
fi
 
10452
 
 
10453
 
 
10454
 
 
10455
 
 
10456
 
 
10457
 
 
10458
 
 
10459
 
 
10460
 
 
10461
 
 
10462
 
 
10463
 
 
10464
 
 
10465
 
 
10466
 
 
10467
 
 
10468
 
 
10469
 
 
10470
 
 
10471
 
 
10472
 
 
10473
 
 
10474
 
 
10475
 
 
10476
 
 
10477
 
 
10478
 
 
10479
 
 
10480
 
 
10481
 
 
10482
 
 
10483
 
 
10484
 
 
10485
 
 
10486
 
 
10487
 
 
10488
 
 
10489
 
 
10490
 
 
10491
 
 
10492
 
 
10493
 
 
10494
 
 
10495
 
 
10496
 
 
10497
 
 
10498
 
 
10499
 
 
10500
 
 
10501
 
 
10502
 
 
10503
 
 
10504
 
 
10505
 
 
10506
 
 
10507
 
 
10508
 
 
10509
 
 
10510
 
 
10511
 
 
10512
 
 
10513
 
 
10514
 
 
10515
 
 
10516
 
 
10517
 
 
10518
 
 
10519
 
 
10520
 
 
10521
 
 
10522
 
 
10523
 
 
10524
 
 
10525
 
 
10526
 
 
10527
 
 
10528
 
 
10529
 
 
10530
 
 
10531
 
 
10532
 
 
10533
 
 
10534
 
 
10535
 
 
10536
 
 
10537
 
 
10538
 
 
10539
 
 
10540
 
 
10541
 
 
10542
 
 
10543
 
 
10544
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
10545
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
10546
hardcode_action=
 
10547
if test -n "$hardcode_libdir_flag_spec" ||
 
10548
   test -n "$runpath_var" ||
 
10549
   test "X$hardcode_automatic" = "Xyes" ; then
 
10550
 
 
10551
  # We can hardcode non-existent directories.
 
10552
  if test "$hardcode_direct" != no &&
 
10553
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
10554
     # have to relink, otherwise we might link with an installed library
 
10555
     # when we should be linking with a yet-to-be-installed one
 
10556
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
10557
     test "$hardcode_minus_L" != no; then
 
10558
    # Linking always hardcodes the temporary library directory.
 
10559
    hardcode_action=relink
 
10560
  else
 
10561
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
10562
    hardcode_action=immediate
 
10563
  fi
 
10564
else
 
10565
  # We cannot hardcode anything, or else we can only hardcode existing
 
10566
  # directories.
 
10567
  hardcode_action=unsupported
 
10568
fi
 
10569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
10570
$as_echo "$hardcode_action" >&6; }
 
10571
 
 
10572
if test "$hardcode_action" = relink ||
 
10573
   test "$inherit_rpath" = yes; then
 
10574
  # Fast installation is not supported
 
10575
  enable_fast_install=no
 
10576
elif test "$shlibpath_overrides_runpath" = yes ||
 
10577
     test "$enable_shared" = no; then
 
10578
  # Fast installation is not necessary
 
10579
  enable_fast_install=needless
 
10580
fi
 
10581
 
 
10582
 
 
10583
 
 
10584
 
 
10585
 
 
10586
 
 
10587
  if test "x$enable_dlopen" != xyes; then
 
10588
  enable_dlopen=unknown
 
10589
  enable_dlopen_self=unknown
 
10590
  enable_dlopen_self_static=unknown
 
10591
else
 
10592
  lt_cv_dlopen=no
 
10593
  lt_cv_dlopen_libs=
 
10594
 
 
10595
  case $host_os in
 
10596
  beos*)
 
10597
    lt_cv_dlopen="load_add_on"
 
10598
    lt_cv_dlopen_libs=
 
10599
    lt_cv_dlopen_self=yes
 
10600
    ;;
 
10601
 
 
10602
  mingw* | pw32* | cegcc*)
 
10603
    lt_cv_dlopen="LoadLibrary"
 
10604
    lt_cv_dlopen_libs=
 
10605
    ;;
 
10606
 
 
10607
  cygwin*)
 
10608
    lt_cv_dlopen="dlopen"
 
10609
    lt_cv_dlopen_libs=
 
10610
    ;;
 
10611
 
 
10612
  darwin*)
 
10613
  # if libdl is installed we need to link against it
 
10614
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
10615
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
10616
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
10617
  $as_echo_n "(cached) " >&6
 
10618
else
 
10619
  ac_check_lib_save_LIBS=$LIBS
 
10620
LIBS="-ldl  $LIBS"
 
10621
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10622
/* end confdefs.h.  */
 
10623
 
 
10624
/* Override any GCC internal prototype to avoid an error.
 
10625
   Use char because int might match the return type of a GCC
 
10626
   builtin and then its argument prototype would still apply.  */
 
10627
#ifdef __cplusplus
 
10628
extern "C"
 
10629
#endif
 
10630
char dlopen ();
 
10631
int
 
10632
main ()
 
10633
{
 
10634
return dlopen ();
 
10635
  ;
 
10636
  return 0;
 
10637
}
 
10638
_ACEOF
 
10639
if ac_fn_c_try_link "$LINENO"; then :
 
10640
  ac_cv_lib_dl_dlopen=yes
 
10641
else
 
10642
  ac_cv_lib_dl_dlopen=no
 
10643
fi
 
10644
rm -f core conftest.err conftest.$ac_objext \
 
10645
    conftest$ac_exeext conftest.$ac_ext
 
10646
LIBS=$ac_check_lib_save_LIBS
 
10647
fi
 
10648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
10649
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10650
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
10651
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
10652
else
 
10653
 
 
10654
    lt_cv_dlopen="dyld"
 
10655
    lt_cv_dlopen_libs=
 
10656
    lt_cv_dlopen_self=yes
 
10657
 
 
10658
fi
 
10659
 
 
10660
    ;;
 
10661
 
 
10662
  *)
 
10663
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
10664
if test "x$ac_cv_func_shl_load" = xyes; then :
 
10665
  lt_cv_dlopen="shl_load"
 
10666
else
 
10667
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
10668
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
10669
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
10670
  $as_echo_n "(cached) " >&6
 
10671
else
 
10672
  ac_check_lib_save_LIBS=$LIBS
 
10673
LIBS="-ldld  $LIBS"
 
10674
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10675
/* end confdefs.h.  */
 
10676
 
 
10677
/* Override any GCC internal prototype to avoid an error.
 
10678
   Use char because int might match the return type of a GCC
 
10679
   builtin and then its argument prototype would still apply.  */
 
10680
#ifdef __cplusplus
 
10681
extern "C"
 
10682
#endif
 
10683
char shl_load ();
 
10684
int
 
10685
main ()
 
10686
{
 
10687
return shl_load ();
 
10688
  ;
 
10689
  return 0;
 
10690
}
 
10691
_ACEOF
 
10692
if ac_fn_c_try_link "$LINENO"; then :
 
10693
  ac_cv_lib_dld_shl_load=yes
 
10694
else
 
10695
  ac_cv_lib_dld_shl_load=no
 
10696
fi
 
10697
rm -f core conftest.err conftest.$ac_objext \
 
10698
    conftest$ac_exeext conftest.$ac_ext
 
10699
LIBS=$ac_check_lib_save_LIBS
 
10700
fi
 
10701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
10702
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
10703
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
10704
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
10705
else
 
10706
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
10707
if test "x$ac_cv_func_dlopen" = xyes; then :
 
10708
  lt_cv_dlopen="dlopen"
 
10709
else
 
10710
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
10711
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
10712
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
10713
  $as_echo_n "(cached) " >&6
 
10714
else
 
10715
  ac_check_lib_save_LIBS=$LIBS
 
10716
LIBS="-ldl  $LIBS"
 
10717
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10718
/* end confdefs.h.  */
 
10719
 
 
10720
/* Override any GCC internal prototype to avoid an error.
 
10721
   Use char because int might match the return type of a GCC
 
10722
   builtin and then its argument prototype would still apply.  */
 
10723
#ifdef __cplusplus
 
10724
extern "C"
 
10725
#endif
 
10726
char dlopen ();
 
10727
int
 
10728
main ()
 
10729
{
 
10730
return dlopen ();
 
10731
  ;
 
10732
  return 0;
 
10733
}
 
10734
_ACEOF
 
10735
if ac_fn_c_try_link "$LINENO"; then :
 
10736
  ac_cv_lib_dl_dlopen=yes
 
10737
else
 
10738
  ac_cv_lib_dl_dlopen=no
 
10739
fi
 
10740
rm -f core conftest.err conftest.$ac_objext \
 
10741
    conftest$ac_exeext conftest.$ac_ext
 
10742
LIBS=$ac_check_lib_save_LIBS
 
10743
fi
 
10744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
10745
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10746
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
10747
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
10748
else
 
10749
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
10750
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
10751
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
10752
  $as_echo_n "(cached) " >&6
 
10753
else
 
10754
  ac_check_lib_save_LIBS=$LIBS
 
10755
LIBS="-lsvld  $LIBS"
 
10756
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10757
/* end confdefs.h.  */
 
10758
 
 
10759
/* Override any GCC internal prototype to avoid an error.
 
10760
   Use char because int might match the return type of a GCC
 
10761
   builtin and then its argument prototype would still apply.  */
 
10762
#ifdef __cplusplus
 
10763
extern "C"
 
10764
#endif
 
10765
char dlopen ();
 
10766
int
 
10767
main ()
 
10768
{
 
10769
return dlopen ();
 
10770
  ;
 
10771
  return 0;
 
10772
}
 
10773
_ACEOF
 
10774
if ac_fn_c_try_link "$LINENO"; then :
 
10775
  ac_cv_lib_svld_dlopen=yes
 
10776
else
 
10777
  ac_cv_lib_svld_dlopen=no
 
10778
fi
 
10779
rm -f core conftest.err conftest.$ac_objext \
 
10780
    conftest$ac_exeext conftest.$ac_ext
 
10781
LIBS=$ac_check_lib_save_LIBS
 
10782
fi
 
10783
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
10784
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
10785
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
10786
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
10787
else
 
10788
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
10789
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
10790
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
10791
  $as_echo_n "(cached) " >&6
 
10792
else
 
10793
  ac_check_lib_save_LIBS=$LIBS
 
10794
LIBS="-ldld  $LIBS"
 
10795
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10796
/* end confdefs.h.  */
 
10797
 
 
10798
/* Override any GCC internal prototype to avoid an error.
 
10799
   Use char because int might match the return type of a GCC
 
10800
   builtin and then its argument prototype would still apply.  */
 
10801
#ifdef __cplusplus
 
10802
extern "C"
 
10803
#endif
 
10804
char dld_link ();
 
10805
int
 
10806
main ()
 
10807
{
 
10808
return dld_link ();
 
10809
  ;
 
10810
  return 0;
 
10811
}
 
10812
_ACEOF
 
10813
if ac_fn_c_try_link "$LINENO"; then :
 
10814
  ac_cv_lib_dld_dld_link=yes
 
10815
else
 
10816
  ac_cv_lib_dld_dld_link=no
 
10817
fi
 
10818
rm -f core conftest.err conftest.$ac_objext \
 
10819
    conftest$ac_exeext conftest.$ac_ext
 
10820
LIBS=$ac_check_lib_save_LIBS
 
10821
fi
 
10822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
10823
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
10824
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
10825
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
10826
fi
 
10827
 
 
10828
 
 
10829
fi
 
10830
 
 
10831
 
 
10832
fi
 
10833
 
 
10834
 
 
10835
fi
 
10836
 
 
10837
 
 
10838
fi
 
10839
 
 
10840
 
 
10841
fi
 
10842
 
 
10843
    ;;
 
10844
  esac
 
10845
 
 
10846
  if test "x$lt_cv_dlopen" != xno; then
 
10847
    enable_dlopen=yes
 
10848
  else
 
10849
    enable_dlopen=no
 
10850
  fi
 
10851
 
 
10852
  case $lt_cv_dlopen in
 
10853
  dlopen)
 
10854
    save_CPPFLAGS="$CPPFLAGS"
 
10855
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
10856
 
 
10857
    save_LDFLAGS="$LDFLAGS"
 
10858
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
10859
 
 
10860
    save_LIBS="$LIBS"
 
10861
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
10862
 
 
10863
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
10864
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
10865
if ${lt_cv_dlopen_self+:} false; then :
 
10866
  $as_echo_n "(cached) " >&6
 
10867
else
 
10868
          if test "$cross_compiling" = yes; then :
 
10869
  lt_cv_dlopen_self=cross
 
10870
else
 
10871
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
10872
  lt_status=$lt_dlunknown
 
10873
  cat > conftest.$ac_ext <<_LT_EOF
 
10874
#line $LINENO "configure"
 
10875
#include "confdefs.h"
 
10876
 
 
10877
#if HAVE_DLFCN_H
 
10878
#include <dlfcn.h>
 
10879
#endif
 
10880
 
 
10881
#include <stdio.h>
 
10882
 
 
10883
#ifdef RTLD_GLOBAL
 
10884
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
10885
#else
 
10886
#  ifdef DL_GLOBAL
 
10887
#    define LT_DLGLOBAL         DL_GLOBAL
 
10888
#  else
 
10889
#    define LT_DLGLOBAL         0
 
10890
#  endif
 
10891
#endif
 
10892
 
 
10893
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
10894
   find out it does not work in some platform. */
 
10895
#ifndef LT_DLLAZY_OR_NOW
 
10896
#  ifdef RTLD_LAZY
 
10897
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
10898
#  else
 
10899
#    ifdef DL_LAZY
 
10900
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
10901
#    else
 
10902
#      ifdef RTLD_NOW
 
10903
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
10904
#      else
 
10905
#        ifdef DL_NOW
 
10906
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
10907
#        else
 
10908
#          define LT_DLLAZY_OR_NOW      0
 
10909
#        endif
 
10910
#      endif
 
10911
#    endif
 
10912
#  endif
 
10913
#endif
 
10914
 
 
10915
/* When -fvisbility=hidden is used, assume the code has been annotated
 
10916
   correspondingly for the symbols needed.  */
 
10917
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
10918
int fnord () __attribute__((visibility("default")));
 
10919
#endif
 
10920
 
 
10921
int fnord () { return 42; }
 
10922
int main ()
 
10923
{
 
10924
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
10925
  int status = $lt_dlunknown;
 
10926
 
 
10927
  if (self)
 
10928
    {
 
10929
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
10930
      else
 
10931
        {
 
10932
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
10933
          else puts (dlerror ());
 
10934
        }
 
10935
      /* dlclose (self); */
 
10936
    }
 
10937
  else
 
10938
    puts (dlerror ());
 
10939
 
 
10940
  return status;
 
10941
}
 
10942
_LT_EOF
 
10943
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
10944
  (eval $ac_link) 2>&5
 
10945
  ac_status=$?
 
10946
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10947
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10948
    (./conftest; exit; ) >&5 2>/dev/null
 
10949
    lt_status=$?
 
10950
    case x$lt_status in
 
10951
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
10952
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
10953
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
10954
    esac
 
10955
  else :
 
10956
    # compilation failed
 
10957
    lt_cv_dlopen_self=no
 
10958
  fi
 
10959
fi
 
10960
rm -fr conftest*
 
10961
 
 
10962
 
 
10963
fi
 
10964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
10965
$as_echo "$lt_cv_dlopen_self" >&6; }
 
10966
 
 
10967
    if test "x$lt_cv_dlopen_self" = xyes; then
 
10968
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
10969
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
10970
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
10971
if ${lt_cv_dlopen_self_static+:} false; then :
 
10972
  $as_echo_n "(cached) " >&6
 
10973
else
 
10974
          if test "$cross_compiling" = yes; then :
 
10975
  lt_cv_dlopen_self_static=cross
 
10976
else
 
10977
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
10978
  lt_status=$lt_dlunknown
 
10979
  cat > conftest.$ac_ext <<_LT_EOF
 
10980
#line $LINENO "configure"
 
10981
#include "confdefs.h"
 
10982
 
 
10983
#if HAVE_DLFCN_H
 
10984
#include <dlfcn.h>
 
10985
#endif
 
10986
 
 
10987
#include <stdio.h>
 
10988
 
 
10989
#ifdef RTLD_GLOBAL
 
10990
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
10991
#else
 
10992
#  ifdef DL_GLOBAL
 
10993
#    define LT_DLGLOBAL         DL_GLOBAL
 
10994
#  else
 
10995
#    define LT_DLGLOBAL         0
 
10996
#  endif
 
10997
#endif
 
10998
 
 
10999
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11000
   find out it does not work in some platform. */
 
11001
#ifndef LT_DLLAZY_OR_NOW
 
11002
#  ifdef RTLD_LAZY
 
11003
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11004
#  else
 
11005
#    ifdef DL_LAZY
 
11006
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11007
#    else
 
11008
#      ifdef RTLD_NOW
 
11009
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11010
#      else
 
11011
#        ifdef DL_NOW
 
11012
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11013
#        else
 
11014
#          define LT_DLLAZY_OR_NOW      0
 
11015
#        endif
 
11016
#      endif
 
11017
#    endif
 
11018
#  endif
 
11019
#endif
 
11020
 
 
11021
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11022
   correspondingly for the symbols needed.  */
 
11023
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11024
int fnord () __attribute__((visibility("default")));
 
11025
#endif
 
11026
 
 
11027
int fnord () { return 42; }
 
11028
int main ()
 
11029
{
 
11030
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11031
  int status = $lt_dlunknown;
 
11032
 
 
11033
  if (self)
 
11034
    {
 
11035
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11036
      else
 
11037
        {
 
11038
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11039
          else puts (dlerror ());
 
11040
        }
 
11041
      /* dlclose (self); */
 
11042
    }
 
11043
  else
 
11044
    puts (dlerror ());
 
11045
 
 
11046
  return status;
 
11047
}
 
11048
_LT_EOF
 
11049
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
11050
  (eval $ac_link) 2>&5
 
11051
  ac_status=$?
 
11052
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11053
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11054
    (./conftest; exit; ) >&5 2>/dev/null
 
11055
    lt_status=$?
 
11056
    case x$lt_status in
 
11057
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
11058
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
11059
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
11060
    esac
 
11061
  else :
 
11062
    # compilation failed
 
11063
    lt_cv_dlopen_self_static=no
 
11064
  fi
 
11065
fi
 
11066
rm -fr conftest*
 
11067
 
 
11068
 
 
11069
fi
 
11070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
11071
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
11072
    fi
 
11073
 
 
11074
    CPPFLAGS="$save_CPPFLAGS"
 
11075
    LDFLAGS="$save_LDFLAGS"
 
11076
    LIBS="$save_LIBS"
 
11077
    ;;
 
11078
  esac
 
11079
 
 
11080
  case $lt_cv_dlopen_self in
 
11081
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
11082
  *) enable_dlopen_self=unknown ;;
 
11083
  esac
 
11084
 
 
11085
  case $lt_cv_dlopen_self_static in
 
11086
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
11087
  *) enable_dlopen_self_static=unknown ;;
 
11088
  esac
 
11089
fi
 
11090
 
 
11091
 
 
11092
 
 
11093
 
 
11094
 
 
11095
 
 
11096
 
 
11097
 
 
11098
 
 
11099
 
 
11100
 
 
11101
 
 
11102
 
 
11103
 
 
11104
 
 
11105
 
 
11106
 
 
11107
striplib=
 
11108
old_striplib=
 
11109
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
11110
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
11111
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
11112
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11113
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11114
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11115
$as_echo "yes" >&6; }
 
11116
else
 
11117
# FIXME - insert some real tests, host_os isn't really good enough
 
11118
  case $host_os in
 
11119
  darwin*)
 
11120
    if test -n "$STRIP" ; then
 
11121
      striplib="$STRIP -x"
 
11122
      old_striplib="$STRIP -S"
 
11123
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11124
$as_echo "yes" >&6; }
 
11125
    else
 
11126
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11127
$as_echo "no" >&6; }
 
11128
    fi
 
11129
    ;;
 
11130
  *)
 
11131
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11132
$as_echo "no" >&6; }
 
11133
    ;;
 
11134
  esac
 
11135
fi
 
11136
 
 
11137
 
 
11138
 
 
11139
 
 
11140
 
 
11141
 
 
11142
 
 
11143
 
 
11144
 
 
11145
 
 
11146
 
 
11147
 
 
11148
  # Report which library types will actually be built
 
11149
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
11150
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11151
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
11152
$as_echo "$can_build_shared" >&6; }
 
11153
 
 
11154
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
11155
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
11156
  test "$can_build_shared" = "no" && enable_shared=no
 
11157
 
 
11158
  # On AIX, shared libraries and static libraries use the same namespace, and
 
11159
  # are all built from PIC.
 
11160
  case $host_os in
 
11161
  aix3*)
 
11162
    test "$enable_shared" = yes && enable_static=no
 
11163
    if test -n "$RANLIB"; then
 
11164
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11165
      postinstall_cmds='$RANLIB $lib'
 
11166
    fi
 
11167
    ;;
 
11168
 
 
11169
  aix[4-9]*)
 
11170
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11171
      test "$enable_shared" = yes && enable_static=no
 
11172
    fi
 
11173
    ;;
 
11174
  esac
 
11175
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
11176
$as_echo "$enable_shared" >&6; }
 
11177
 
 
11178
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
11179
$as_echo_n "checking whether to build static libraries... " >&6; }
 
11180
  # Make sure either enable_shared or enable_static is yes.
 
11181
  test "$enable_shared" = yes || enable_static=yes
 
11182
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
11183
$as_echo "$enable_static" >&6; }
 
11184
 
 
11185
 
 
11186
 
 
11187
 
 
11188
fi
 
11189
ac_ext=c
 
11190
ac_cpp='$CPP $CPPFLAGS'
 
11191
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11192
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11193
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11194
 
 
11195
CC="$lt_save_CC"
 
11196
 
 
11197
 
 
11198
 
 
11199
 
 
11200
 
 
11201
 
 
11202
 
 
11203
 
 
11204
 
 
11205
 
 
11206
 
 
11207
 
 
11208
 
 
11209
        ac_config_commands="$ac_config_commands libtool"
 
11210
 
 
11211
 
 
11212
 
 
11213
 
 
11214
# Only expand once:
 
11215
 
 
11216
 
 
11217
 
 
11218
 
 
11219
ac_ext=c
 
11220
ac_cpp='$CPP $CPPFLAGS'
 
11221
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11222
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11223
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11224
 
 
11225
if test "x$CC" != xcc; then
 
11226
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 
11227
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 
11228
else
 
11229
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 
11230
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 
11231
fi
 
11232
set dummy $CC; ac_cc=`$as_echo "$2" |
 
11233
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
11234
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
 
11235
  $as_echo_n "(cached) " >&6
 
11236
else
 
11237
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11238
/* end confdefs.h.  */
 
11239
 
 
11240
int
 
11241
main ()
 
11242
{
 
11243
 
 
11244
  ;
 
11245
  return 0;
 
11246
}
 
11247
_ACEOF
 
11248
# Make sure it works both with $CC and with simple cc.
 
11249
# We do the test twice because some compilers refuse to overwrite an
 
11250
# existing .o file with -o, though they will create one.
 
11251
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
11252
rm -f conftest2.*
 
11253
if { { case "(($ac_try" in
 
11254
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11255
  *) ac_try_echo=$ac_try;;
 
11256
esac
 
11257
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
11258
$as_echo "$ac_try_echo"; } >&5
 
11259
  (eval "$ac_try") 2>&5
 
11260
  ac_status=$?
 
11261
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11262
  test $ac_status = 0; } &&
 
11263
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
11264
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11265
  *) ac_try_echo=$ac_try;;
 
11266
esac
 
11267
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
11268
$as_echo "$ac_try_echo"; } >&5
 
11269
  (eval "$ac_try") 2>&5
 
11270
  ac_status=$?
 
11271
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11272
  test $ac_status = 0; };
 
11273
then
 
11274
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 
11275
  if test "x$CC" != xcc; then
 
11276
    # Test first that cc exists at all.
 
11277
    if { ac_try='cc -c conftest.$ac_ext >&5'
 
11278
  { { case "(($ac_try" in
 
11279
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11280
  *) ac_try_echo=$ac_try;;
 
11281
esac
 
11282
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
11283
$as_echo "$ac_try_echo"; } >&5
 
11284
  (eval "$ac_try") 2>&5
 
11285
  ac_status=$?
 
11286
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11287
  test $ac_status = 0; }; }; then
 
11288
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
11289
      rm -f conftest2.*
 
11290
      if { { case "(($ac_try" in
 
11291
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11292
  *) ac_try_echo=$ac_try;;
 
11293
esac
 
11294
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
11295
$as_echo "$ac_try_echo"; } >&5
 
11296
  (eval "$ac_try") 2>&5
 
11297
  ac_status=$?
 
11298
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11299
  test $ac_status = 0; } &&
 
11300
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
11301
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11302
  *) ac_try_echo=$ac_try;;
 
11303
esac
 
11304
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
11305
$as_echo "$ac_try_echo"; } >&5
 
11306
  (eval "$ac_try") 2>&5
 
11307
  ac_status=$?
 
11308
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11309
  test $ac_status = 0; };
 
11310
      then
 
11311
        # cc works too.
 
11312
        :
 
11313
      else
 
11314
        # cc exists but doesn't like -o.
 
11315
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
11316
      fi
 
11317
    fi
 
11318
  fi
 
11319
else
 
11320
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
11321
fi
 
11322
rm -f core conftest*
 
11323
 
 
11324
fi
 
11325
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 
11326
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11327
$as_echo "yes" >&6; }
 
11328
else
 
11329
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11330
$as_echo "no" >&6; }
 
11331
 
 
11332
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 
11333
 
 
11334
fi
 
11335
 
 
11336
# FIXME: we rely on the cache variable name because
 
11337
# there is no other way.
 
11338
set dummy $CC
 
11339
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
11340
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
11341
if test "$am_t" != yes; then
 
11342
   # Losing compiler, so override with the script.
 
11343
   # FIXME: It is wrong to rewrite CC.
 
11344
   # But if we don't then we get into trouble of one sort or another.
 
11345
   # A longer-term fix would be to have automake use am__CC in this case,
 
11346
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
11347
   CC="$am_aux_dir/compile $CC"
 
11348
fi
 
11349
 
 
11350
 
 
11351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
11352
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
11353
set x ${MAKE-make}
 
11354
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
11355
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
11356
  $as_echo_n "(cached) " >&6
 
11357
else
 
11358
  cat >conftest.make <<\_ACEOF
 
11359
SHELL = /bin/sh
 
11360
all:
 
11361
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
11362
_ACEOF
 
11363
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
11364
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
11365
  *@@@%%%=?*=@@@%%%*)
 
11366
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
11367
  *)
 
11368
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
11369
esac
 
11370
rm -f conftest.make
 
11371
fi
 
11372
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
11373
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11374
$as_echo "yes" >&6; }
 
11375
  SET_MAKE=
 
11376
else
 
11377
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11378
$as_echo "no" >&6; }
 
11379
  SET_MAKE="MAKE=${MAKE-make}"
 
11380
fi
 
11381
 
 
11382
 
 
11383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
11384
$as_echo_n "checking for ANSI C header files... " >&6; }
 
11385
if ${ac_cv_header_stdc+:} false; then :
 
11386
  $as_echo_n "(cached) " >&6
 
11387
else
 
11388
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11389
/* end confdefs.h.  */
 
11390
#include <stdlib.h>
 
11391
#include <stdarg.h>
 
11392
#include <string.h>
 
11393
#include <float.h>
 
11394
 
 
11395
int
 
11396
main ()
 
11397
{
 
11398
 
 
11399
  ;
 
11400
  return 0;
 
11401
}
 
11402
_ACEOF
 
11403
if ac_fn_c_try_compile "$LINENO"; then :
 
11404
  ac_cv_header_stdc=yes
 
11405
else
 
11406
  ac_cv_header_stdc=no
 
11407
fi
 
11408
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11409
 
 
11410
if test $ac_cv_header_stdc = yes; then
 
11411
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
11412
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11413
/* end confdefs.h.  */
 
11414
#include <string.h>
 
11415
 
 
11416
_ACEOF
 
11417
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
11418
  $EGREP "memchr" >/dev/null 2>&1; then :
 
11419
 
 
11420
else
 
11421
  ac_cv_header_stdc=no
 
11422
fi
 
11423
rm -f conftest*
 
11424
 
 
11425
fi
 
11426
 
 
11427
if test $ac_cv_header_stdc = yes; then
 
11428
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
11429
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11430
/* end confdefs.h.  */
 
11431
#include <stdlib.h>
 
11432
 
 
11433
_ACEOF
 
11434
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
11435
  $EGREP "free" >/dev/null 2>&1; then :
 
11436
 
 
11437
else
 
11438
  ac_cv_header_stdc=no
 
11439
fi
 
11440
rm -f conftest*
 
11441
 
 
11442
fi
 
11443
 
 
11444
if test $ac_cv_header_stdc = yes; then
 
11445
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
11446
  if test "$cross_compiling" = yes; then :
 
11447
  :
 
11448
else
 
11449
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11450
/* end confdefs.h.  */
 
11451
#include <ctype.h>
 
11452
#include <stdlib.h>
 
11453
#if ((' ' & 0x0FF) == 0x020)
 
11454
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
11455
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
11456
#else
 
11457
# define ISLOWER(c) \
 
11458
                   (('a' <= (c) && (c) <= 'i') \
 
11459
                     || ('j' <= (c) && (c) <= 'r') \
 
11460
                     || ('s' <= (c) && (c) <= 'z'))
 
11461
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
11462
#endif
 
11463
 
 
11464
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
11465
int
 
11466
main ()
 
11467
{
 
11468
  int i;
 
11469
  for (i = 0; i < 256; i++)
 
11470
    if (XOR (islower (i), ISLOWER (i))
 
11471
        || toupper (i) != TOUPPER (i))
 
11472
      return 2;
 
11473
  return 0;
 
11474
}
 
11475
_ACEOF
 
11476
if ac_fn_c_try_run "$LINENO"; then :
 
11477
 
 
11478
else
 
11479
  ac_cv_header_stdc=no
 
11480
fi
 
11481
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
11482
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
11483
fi
 
11484
 
 
11485
fi
 
11486
fi
 
11487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
11488
$as_echo "$ac_cv_header_stdc" >&6; }
 
11489
if test $ac_cv_header_stdc = yes; then
 
11490
 
 
11491
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
11492
 
 
11493
fi
 
11494
 
 
11495
 
 
11496
 
 
11497
 
 
11498
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
11499
        if test -n "$ac_tool_prefix"; then
 
11500
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
11501
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
11502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11503
$as_echo_n "checking for $ac_word... " >&6; }
 
11504
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
11505
  $as_echo_n "(cached) " >&6
 
11506
else
 
11507
  case $PKG_CONFIG in
 
11508
  [\\/]* | ?:[\\/]*)
 
11509
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
11510
  ;;
 
11511
  *)
 
11512
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11513
for as_dir in $PATH
 
11514
do
 
11515
  IFS=$as_save_IFS
 
11516
  test -z "$as_dir" && as_dir=.
 
11517
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11518
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11519
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
11520
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11521
    break 2
 
11522
  fi
 
11523
done
 
11524
  done
 
11525
IFS=$as_save_IFS
 
11526
 
 
11527
  ;;
 
11528
esac
 
11529
fi
 
11530
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
11531
if test -n "$PKG_CONFIG"; then
 
11532
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
11533
$as_echo "$PKG_CONFIG" >&6; }
 
11534
else
 
11535
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11536
$as_echo "no" >&6; }
 
11537
fi
 
11538
 
 
11539
 
 
11540
fi
 
11541
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
11542
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
11543
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
11544
set dummy pkg-config; ac_word=$2
 
11545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11546
$as_echo_n "checking for $ac_word... " >&6; }
 
11547
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
11548
  $as_echo_n "(cached) " >&6
 
11549
else
 
11550
  case $ac_pt_PKG_CONFIG in
 
11551
  [\\/]* | ?:[\\/]*)
 
11552
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
11553
  ;;
 
11554
  *)
 
11555
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11556
for as_dir in $PATH
 
11557
do
 
11558
  IFS=$as_save_IFS
 
11559
  test -z "$as_dir" && as_dir=.
 
11560
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11561
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11562
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
11563
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11564
    break 2
 
11565
  fi
 
11566
done
 
11567
  done
 
11568
IFS=$as_save_IFS
 
11569
 
 
11570
  ;;
 
11571
esac
 
11572
fi
 
11573
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
11574
if test -n "$ac_pt_PKG_CONFIG"; then
 
11575
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
11576
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
11577
else
 
11578
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11579
$as_echo "no" >&6; }
 
11580
fi
 
11581
 
 
11582
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
11583
    PKG_CONFIG=""
 
11584
  else
 
11585
    case $cross_compiling:$ac_tool_warned in
 
11586
yes:)
 
11587
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
11588
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
11589
ac_tool_warned=yes ;;
 
11590
esac
 
11591
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
11592
  fi
 
11593
else
 
11594
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
11595
fi
 
11596
 
 
11597
fi
 
11598
if test -n "$PKG_CONFIG"; then
 
11599
        _pkg_min_version=0.20
 
11600
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
11601
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
11602
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
11603
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11604
$as_echo "yes" >&6; }
 
11605
        else
 
11606
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11607
$as_echo "no" >&6; }
 
11608
                PKG_CONFIG=""
 
11609
        fi
 
11610
 
 
11611
fi
 
11612
 
 
11613
 
 
11614
pkg_failed=no
 
11615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNEURCONF" >&5
 
11616
$as_echo_n "checking for XNEURCONF... " >&6; }
 
11617
 
 
11618
if test -n "$PKG_CONFIG"; then
 
11619
    if test -n "$XNEURCONF_CFLAGS"; then
 
11620
        pkg_cv_XNEURCONF_CFLAGS="$XNEURCONF_CFLAGS"
 
11621
    else
 
11622
        if test -n "$PKG_CONFIG" && \
 
11623
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xnconfig = 0.15.0\""; } >&5
 
11624
  ($PKG_CONFIG --exists --print-errors "xnconfig = 0.15.0") 2>&5
 
11625
  ac_status=$?
 
11626
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11627
  test $ac_status = 0; }; then
 
11628
  pkg_cv_XNEURCONF_CFLAGS=`$PKG_CONFIG --cflags "xnconfig = 0.15.0" 2>/dev/null`
 
11629
else
 
11630
  pkg_failed=yes
 
11631
fi
 
11632
    fi
 
11633
else
 
11634
        pkg_failed=untried
 
11635
fi
 
11636
if test -n "$PKG_CONFIG"; then
 
11637
    if test -n "$XNEURCONF_LIBS"; then
 
11638
        pkg_cv_XNEURCONF_LIBS="$XNEURCONF_LIBS"
 
11639
    else
 
11640
        if test -n "$PKG_CONFIG" && \
 
11641
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xnconfig = 0.15.0\""; } >&5
 
11642
  ($PKG_CONFIG --exists --print-errors "xnconfig = 0.15.0") 2>&5
 
11643
  ac_status=$?
 
11644
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11645
  test $ac_status = 0; }; then
 
11646
  pkg_cv_XNEURCONF_LIBS=`$PKG_CONFIG --libs "xnconfig = 0.15.0" 2>/dev/null`
 
11647
else
 
11648
  pkg_failed=yes
 
11649
fi
 
11650
    fi
 
11651
else
 
11652
        pkg_failed=untried
 
11653
fi
 
11654
 
 
11655
 
 
11656
 
 
11657
if test $pkg_failed = yes; then
 
11658
 
 
11659
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
11660
        _pkg_short_errors_supported=yes
 
11661
else
 
11662
        _pkg_short_errors_supported=no
 
11663
fi
 
11664
        if test $_pkg_short_errors_supported = yes; then
 
11665
                XNEURCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xnconfig = 0.15.0"`
 
11666
        else
 
11667
                XNEURCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xnconfig = 0.15.0"`
 
11668
        fi
 
11669
        # Put the nasty error message in config.log where it belongs
 
11670
        echo "$XNEURCONF_PKG_ERRORS" >&5
 
11671
 
 
11672
        as_fn_error $? "Package requirements (xnconfig = 0.15.0) were not met:
 
11673
 
 
11674
$XNEURCONF_PKG_ERRORS
 
11675
 
 
11676
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
11677
installed software in a non-standard prefix.
 
11678
 
 
11679
Alternatively, you may set the environment variables XNEURCONF_CFLAGS
 
11680
and XNEURCONF_LIBS to avoid the need to call pkg-config.
 
11681
See the pkg-config man page for more details.
 
11682
" "$LINENO" 5
 
11683
elif test $pkg_failed = untried; then
 
11684
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
11685
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
11686
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
11687
is in your PATH or set the PKG_CONFIG environment variable to the full
 
11688
path to pkg-config.
 
11689
 
 
11690
Alternatively, you may set the environment variables XNEURCONF_CFLAGS
 
11691
and XNEURCONF_LIBS to avoid the need to call pkg-config.
 
11692
See the pkg-config man page for more details.
 
11693
 
 
11694
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
11695
See \`config.log' for more details" "$LINENO" 5; }
 
11696
else
 
11697
        XNEURCONF_CFLAGS=$pkg_cv_XNEURCONF_CFLAGS
 
11698
        XNEURCONF_LIBS=$pkg_cv_XNEURCONF_LIBS
 
11699
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11700
$as_echo "yes" >&6; }
 
11701
        :
 
11702
fi
 
11703
 
 
11704
pkg_failed=no
 
11705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNEURLIB" >&5
 
11706
$as_echo_n "checking for XNEURLIB... " >&6; }
 
11707
 
 
11708
if test -n "$PKG_CONFIG"; then
 
11709
    if test -n "$XNEURLIB_CFLAGS"; then
 
11710
        pkg_cv_XNEURLIB_CFLAGS="$XNEURLIB_CFLAGS"
 
11711
    else
 
11712
        if test -n "$PKG_CONFIG" && \
 
11713
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xneur = 0.15.0\""; } >&5
 
11714
  ($PKG_CONFIG --exists --print-errors "xneur = 0.15.0") 2>&5
 
11715
  ac_status=$?
 
11716
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11717
  test $ac_status = 0; }; then
 
11718
  pkg_cv_XNEURLIB_CFLAGS=`$PKG_CONFIG --cflags "xneur = 0.15.0" 2>/dev/null`
 
11719
else
 
11720
  pkg_failed=yes
 
11721
fi
 
11722
    fi
 
11723
else
 
11724
        pkg_failed=untried
 
11725
fi
 
11726
if test -n "$PKG_CONFIG"; then
 
11727
    if test -n "$XNEURLIB_LIBS"; then
 
11728
        pkg_cv_XNEURLIB_LIBS="$XNEURLIB_LIBS"
 
11729
    else
 
11730
        if test -n "$PKG_CONFIG" && \
 
11731
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xneur = 0.15.0\""; } >&5
 
11732
  ($PKG_CONFIG --exists --print-errors "xneur = 0.15.0") 2>&5
 
11733
  ac_status=$?
 
11734
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11735
  test $ac_status = 0; }; then
 
11736
  pkg_cv_XNEURLIB_LIBS=`$PKG_CONFIG --libs "xneur = 0.15.0" 2>/dev/null`
 
11737
else
 
11738
  pkg_failed=yes
 
11739
fi
 
11740
    fi
 
11741
else
 
11742
        pkg_failed=untried
 
11743
fi
 
11744
 
 
11745
 
 
11746
 
 
11747
if test $pkg_failed = yes; then
 
11748
 
 
11749
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
11750
        _pkg_short_errors_supported=yes
 
11751
else
 
11752
        _pkg_short_errors_supported=no
 
11753
fi
 
11754
        if test $_pkg_short_errors_supported = yes; then
 
11755
                XNEURLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xneur = 0.15.0"`
 
11756
        else
 
11757
                XNEURLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xneur = 0.15.0"`
 
11758
        fi
 
11759
        # Put the nasty error message in config.log where it belongs
 
11760
        echo "$XNEURLIB_PKG_ERRORS" >&5
 
11761
 
 
11762
        as_fn_error $? "Package requirements (xneur = 0.15.0) were not met:
 
11763
 
 
11764
$XNEURLIB_PKG_ERRORS
 
11765
 
 
11766
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
11767
installed software in a non-standard prefix.
 
11768
 
 
11769
Alternatively, you may set the environment variables XNEURLIB_CFLAGS
 
11770
and XNEURLIB_LIBS to avoid the need to call pkg-config.
 
11771
See the pkg-config man page for more details.
 
11772
" "$LINENO" 5
 
11773
elif test $pkg_failed = untried; then
 
11774
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
11775
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
11776
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
11777
is in your PATH or set the PKG_CONFIG environment variable to the full
 
11778
path to pkg-config.
 
11779
 
 
11780
Alternatively, you may set the environment variables XNEURLIB_CFLAGS
 
11781
and XNEURLIB_LIBS to avoid the need to call pkg-config.
 
11782
See the pkg-config man page for more details.
 
11783
 
 
11784
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
11785
See \`config.log' for more details" "$LINENO" 5; }
 
11786
else
 
11787
        XNEURLIB_CFLAGS=$pkg_cv_XNEURLIB_CFLAGS
 
11788
        XNEURLIB_LIBS=$pkg_cv_XNEURLIB_LIBS
 
11789
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11790
$as_echo "yes" >&6; }
 
11791
        :
 
11792
fi
 
11793
 
 
11794
 
 
11795
pkg_failed=no
 
11796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
 
11797
$as_echo_n "checking for X11... " >&6; }
 
11798
 
 
11799
if test -n "$PKG_CONFIG"; then
 
11800
    if test -n "$X11_CFLAGS"; then
 
11801
        pkg_cv_X11_CFLAGS="$X11_CFLAGS"
 
11802
    else
 
11803
        if test -n "$PKG_CONFIG" && \
 
11804
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.1\""; } >&5
 
11805
  ($PKG_CONFIG --exists --print-errors "x11 >= 1.1") 2>&5
 
11806
  ac_status=$?
 
11807
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11808
  test $ac_status = 0; }; then
 
11809
  pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 1.1" 2>/dev/null`
 
11810
else
 
11811
  pkg_failed=yes
 
11812
fi
 
11813
    fi
 
11814
else
 
11815
        pkg_failed=untried
 
11816
fi
 
11817
if test -n "$PKG_CONFIG"; then
 
11818
    if test -n "$X11_LIBS"; then
 
11819
        pkg_cv_X11_LIBS="$X11_LIBS"
 
11820
    else
 
11821
        if test -n "$PKG_CONFIG" && \
 
11822
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.1\""; } >&5
 
11823
  ($PKG_CONFIG --exists --print-errors "x11 >= 1.1") 2>&5
 
11824
  ac_status=$?
 
11825
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11826
  test $ac_status = 0; }; then
 
11827
  pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11 >= 1.1" 2>/dev/null`
 
11828
else
 
11829
  pkg_failed=yes
 
11830
fi
 
11831
    fi
 
11832
else
 
11833
        pkg_failed=untried
 
11834
fi
 
11835
 
 
11836
 
 
11837
 
 
11838
if test $pkg_failed = yes; then
 
11839
 
 
11840
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
11841
        _pkg_short_errors_supported=yes
 
11842
else
 
11843
        _pkg_short_errors_supported=no
 
11844
fi
 
11845
        if test $_pkg_short_errors_supported = yes; then
 
11846
                X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11 >= 1.1"`
 
11847
        else
 
11848
                X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 >= 1.1"`
 
11849
        fi
 
11850
        # Put the nasty error message in config.log where it belongs
 
11851
        echo "$X11_PKG_ERRORS" >&5
 
11852
 
 
11853
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11854
$as_echo "no" >&6; }
 
11855
                found_x11="no"
 
11856
elif test $pkg_failed = untried; then
 
11857
        found_x11="no"
 
11858
else
 
11859
        X11_CFLAGS=$pkg_cv_X11_CFLAGS
 
11860
        X11_LIBS=$pkg_cv_X11_LIBS
 
11861
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11862
$as_echo "yes" >&6; }
 
11863
        found_x11="yes"
 
11864
fi
 
11865
if test "x$found_x11" = "xno"; then
 
11866
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 
11867
$as_echo_n "checking for X... " >&6; }
 
11868
 
 
11869
 
 
11870
# Check whether --with-x was given.
 
11871
if test "${with_x+set}" = set; then :
 
11872
  withval=$with_x;
 
11873
fi
 
11874
 
 
11875
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 
11876
if test "x$with_x" = xno; then
 
11877
  # The user explicitly disabled X.
 
11878
  have_x=disabled
 
11879
else
 
11880
  case $x_includes,$x_libraries in #(
 
11881
    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
 
11882
    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
 
11883
  $as_echo_n "(cached) " >&6
 
11884
else
 
11885
  # One or both of the vars are not set, and there is no cached value.
 
11886
ac_x_includes=no ac_x_libraries=no
 
11887
rm -f -r conftest.dir
 
11888
if mkdir conftest.dir; then
 
11889
  cd conftest.dir
 
11890
  cat >Imakefile <<'_ACEOF'
 
11891
incroot:
 
11892
        @echo incroot='${INCROOT}'
 
11893
usrlibdir:
 
11894
        @echo usrlibdir='${USRLIBDIR}'
 
11895
libdir:
 
11896
        @echo libdir='${LIBDIR}'
 
11897
_ACEOF
 
11898
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 
11899
    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
11900
    for ac_var in incroot usrlibdir libdir; do
 
11901
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 
11902
    done
 
11903
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 
11904
    for ac_extension in a so sl dylib la dll; do
 
11905
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 
11906
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
 
11907
        ac_im_usrlibdir=$ac_im_libdir; break
 
11908
      fi
 
11909
    done
 
11910
    # Screen out bogus values from the imake configuration.  They are
 
11911
    # bogus both because they are the default anyway, and because
 
11912
    # using them would break gcc on systems where it needs fixed includes.
 
11913
    case $ac_im_incroot in
 
11914
        /usr/include) ac_x_includes= ;;
 
11915
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 
11916
    esac
 
11917
    case $ac_im_usrlibdir in
 
11918
        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
 
11919
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 
11920
    esac
 
11921
  fi
 
11922
  cd ..
 
11923
  rm -f -r conftest.dir
 
11924
fi
 
11925
 
 
11926
# Standard set of common directories for X headers.
 
11927
# Check X11 before X11Rn because it is often a symlink to the current release.
 
11928
ac_x_header_dirs='
 
11929
/usr/X11/include
 
11930
/usr/X11R7/include
 
11931
/usr/X11R6/include
 
11932
/usr/X11R5/include
 
11933
/usr/X11R4/include
 
11934
 
 
11935
/usr/include/X11
 
11936
/usr/include/X11R7
 
11937
/usr/include/X11R6
 
11938
/usr/include/X11R5
 
11939
/usr/include/X11R4
 
11940
 
 
11941
/usr/local/X11/include
 
11942
/usr/local/X11R7/include
 
11943
/usr/local/X11R6/include
 
11944
/usr/local/X11R5/include
 
11945
/usr/local/X11R4/include
 
11946
 
 
11947
/usr/local/include/X11
 
11948
/usr/local/include/X11R7
 
11949
/usr/local/include/X11R6
 
11950
/usr/local/include/X11R5
 
11951
/usr/local/include/X11R4
 
11952
 
 
11953
/usr/X386/include
 
11954
/usr/x386/include
 
11955
/usr/XFree86/include/X11
 
11956
 
 
11957
/usr/include
 
11958
/usr/local/include
 
11959
/usr/unsupported/include
 
11960
/usr/athena/include
 
11961
/usr/local/x11r5/include
 
11962
/usr/lpp/Xamples/include
 
11963
 
 
11964
/usr/openwin/include
 
11965
/usr/openwin/share/include'
 
11966
 
 
11967
if test "$ac_x_includes" = no; then
 
11968
  # Guess where to find include files, by looking for Xlib.h.
 
11969
  # First, try using that file with no special directory specified.
 
11970
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11971
/* end confdefs.h.  */
 
11972
#include <X11/Xlib.h>
 
11973
_ACEOF
 
11974
if ac_fn_c_try_cpp "$LINENO"; then :
 
11975
  # We can compile using X headers with no special include directory.
 
11976
ac_x_includes=
 
11977
else
 
11978
  for ac_dir in $ac_x_header_dirs; do
 
11979
  if test -r "$ac_dir/X11/Xlib.h"; then
 
11980
    ac_x_includes=$ac_dir
 
11981
    break
 
11982
  fi
 
11983
done
 
11984
fi
 
11985
rm -f conftest.err conftest.i conftest.$ac_ext
 
11986
fi # $ac_x_includes = no
 
11987
 
 
11988
if test "$ac_x_libraries" = no; then
 
11989
  # Check for the libraries.
 
11990
  # See if we find them without any special options.
 
11991
  # Don't add to $LIBS permanently.
 
11992
  ac_save_LIBS=$LIBS
 
11993
  LIBS="-lX11 $LIBS"
 
11994
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11995
/* end confdefs.h.  */
 
11996
#include <X11/Xlib.h>
 
11997
int
 
11998
main ()
 
11999
{
 
12000
XrmInitialize ()
 
12001
  ;
 
12002
  return 0;
 
12003
}
 
12004
_ACEOF
 
12005
if ac_fn_c_try_link "$LINENO"; then :
 
12006
  LIBS=$ac_save_LIBS
 
12007
# We can link X programs with no special library path.
 
12008
ac_x_libraries=
 
12009
else
 
12010
  LIBS=$ac_save_LIBS
 
12011
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 
12012
do
 
12013
  # Don't even attempt the hair of trying to link an X program!
 
12014
  for ac_extension in a so sl dylib la dll; do
 
12015
    if test -r "$ac_dir/libX11.$ac_extension"; then
 
12016
      ac_x_libraries=$ac_dir
 
12017
      break 2
 
12018
    fi
 
12019
  done
 
12020
done
 
12021
fi
 
12022
rm -f core conftest.err conftest.$ac_objext \
 
12023
    conftest$ac_exeext conftest.$ac_ext
 
12024
fi # $ac_x_libraries = no
 
12025
 
 
12026
case $ac_x_includes,$ac_x_libraries in #(
 
12027
  no,* | *,no | *\'*)
 
12028
    # Didn't find X, or a directory has "'" in its name.
 
12029
    ac_cv_have_x="have_x=no";; #(
 
12030
  *)
 
12031
    # Record where we found X for the cache.
 
12032
    ac_cv_have_x="have_x=yes\
 
12033
        ac_x_includes='$ac_x_includes'\
 
12034
        ac_x_libraries='$ac_x_libraries'"
 
12035
esac
 
12036
fi
 
12037
;; #(
 
12038
    *) have_x=yes;;
 
12039
  esac
 
12040
  eval "$ac_cv_have_x"
 
12041
fi # $with_x != no
 
12042
 
 
12043
if test "$have_x" != yes; then
 
12044
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 
12045
$as_echo "$have_x" >&6; }
 
12046
  no_x=yes
 
12047
else
 
12048
  # If each of the values was on the command line, it overrides each guess.
 
12049
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 
12050
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 
12051
  # Update the cache value to reflect the command line values.
 
12052
  ac_cv_have_x="have_x=yes\
 
12053
        ac_x_includes='$x_includes'\
 
12054
        ac_x_libraries='$x_libraries'"
 
12055
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 
12056
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
 
12057
fi
 
12058
 
 
12059
if test "$no_x" = yes; then
 
12060
  # Not all programs may use this symbol, but it does not hurt to define it.
 
12061
 
 
12062
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
 
12063
 
 
12064
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 
12065
else
 
12066
  if test -n "$x_includes"; then
 
12067
    X_CFLAGS="$X_CFLAGS -I$x_includes"
 
12068
  fi
 
12069
 
 
12070
  # It would also be nice to do this for all -L options, not just this one.
 
12071
  if test -n "$x_libraries"; then
 
12072
    X_LIBS="$X_LIBS -L$x_libraries"
 
12073
    # For Solaris; some versions of Sun CC require a space after -R and
 
12074
    # others require no space.  Words are not sufficient . . . .
 
12075
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 
12076
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
 
12077
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 
12078
    ac_xsave_c_werror_flag=$ac_c_werror_flag
 
12079
    ac_c_werror_flag=yes
 
12080
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12081
/* end confdefs.h.  */
 
12082
 
 
12083
int
 
12084
main ()
 
12085
{
 
12086
 
 
12087
  ;
 
12088
  return 0;
 
12089
}
 
12090
_ACEOF
 
12091
if ac_fn_c_try_link "$LINENO"; then :
 
12092
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12093
$as_echo "no" >&6; }
 
12094
       X_LIBS="$X_LIBS -R$x_libraries"
 
12095
else
 
12096
  LIBS="$ac_xsave_LIBS -R $x_libraries"
 
12097
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12098
/* end confdefs.h.  */
 
12099
 
 
12100
int
 
12101
main ()
 
12102
{
 
12103
 
 
12104
  ;
 
12105
  return 0;
 
12106
}
 
12107
_ACEOF
 
12108
if ac_fn_c_try_link "$LINENO"; then :
 
12109
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12110
$as_echo "yes" >&6; }
 
12111
          X_LIBS="$X_LIBS -R $x_libraries"
 
12112
else
 
12113
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 
12114
$as_echo "neither works" >&6; }
 
12115
fi
 
12116
rm -f core conftest.err conftest.$ac_objext \
 
12117
    conftest$ac_exeext conftest.$ac_ext
 
12118
fi
 
12119
rm -f core conftest.err conftest.$ac_objext \
 
12120
    conftest$ac_exeext conftest.$ac_ext
 
12121
    ac_c_werror_flag=$ac_xsave_c_werror_flag
 
12122
    LIBS=$ac_xsave_LIBS
 
12123
  fi
 
12124
 
 
12125
  # Check for system-dependent libraries X programs must link with.
 
12126
  # Do this before checking for the system-independent R6 libraries
 
12127
  # (-lICE), since we may need -lsocket or whatever for X linking.
 
12128
 
 
12129
  if test "$ISC" = yes; then
 
12130
    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 
12131
  else
 
12132
    # Martyn Johnson says this is needed for Ultrix, if the X
 
12133
    # libraries were built with DECnet support.  And Karl Berry says
 
12134
    # the Alpha needs dnet_stub (dnet does not exist).
 
12135
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 
12136
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12137
/* end confdefs.h.  */
 
12138
 
 
12139
/* Override any GCC internal prototype to avoid an error.
 
12140
   Use char because int might match the return type of a GCC
 
12141
   builtin and then its argument prototype would still apply.  */
 
12142
#ifdef __cplusplus
 
12143
extern "C"
 
12144
#endif
 
12145
char XOpenDisplay ();
 
12146
int
 
12147
main ()
 
12148
{
 
12149
return XOpenDisplay ();
 
12150
  ;
 
12151
  return 0;
 
12152
}
 
12153
_ACEOF
 
12154
if ac_fn_c_try_link "$LINENO"; then :
 
12155
 
 
12156
else
 
12157
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 
12158
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
 
12159
if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
 
12160
  $as_echo_n "(cached) " >&6
 
12161
else
 
12162
  ac_check_lib_save_LIBS=$LIBS
 
12163
LIBS="-ldnet  $LIBS"
 
12164
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12165
/* end confdefs.h.  */
 
12166
 
 
12167
/* Override any GCC internal prototype to avoid an error.
 
12168
   Use char because int might match the return type of a GCC
 
12169
   builtin and then its argument prototype would still apply.  */
 
12170
#ifdef __cplusplus
 
12171
extern "C"
 
12172
#endif
 
12173
char dnet_ntoa ();
 
12174
int
 
12175
main ()
 
12176
{
 
12177
return dnet_ntoa ();
 
12178
  ;
 
12179
  return 0;
 
12180
}
 
12181
_ACEOF
 
12182
if ac_fn_c_try_link "$LINENO"; then :
 
12183
  ac_cv_lib_dnet_dnet_ntoa=yes
 
12184
else
 
12185
  ac_cv_lib_dnet_dnet_ntoa=no
 
12186
fi
 
12187
rm -f core conftest.err conftest.$ac_objext \
 
12188
    conftest$ac_exeext conftest.$ac_ext
 
12189
LIBS=$ac_check_lib_save_LIBS
 
12190
fi
 
12191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
12192
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 
12193
if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
 
12194
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 
12195
fi
 
12196
 
 
12197
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 
12198
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 
12199
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
 
12200
if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
 
12201
  $as_echo_n "(cached) " >&6
 
12202
else
 
12203
  ac_check_lib_save_LIBS=$LIBS
 
12204
LIBS="-ldnet_stub  $LIBS"
 
12205
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12206
/* end confdefs.h.  */
 
12207
 
 
12208
/* Override any GCC internal prototype to avoid an error.
 
12209
   Use char because int might match the return type of a GCC
 
12210
   builtin and then its argument prototype would still apply.  */
 
12211
#ifdef __cplusplus
 
12212
extern "C"
 
12213
#endif
 
12214
char dnet_ntoa ();
 
12215
int
 
12216
main ()
 
12217
{
 
12218
return dnet_ntoa ();
 
12219
  ;
 
12220
  return 0;
 
12221
}
 
12222
_ACEOF
 
12223
if ac_fn_c_try_link "$LINENO"; then :
 
12224
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
 
12225
else
 
12226
  ac_cv_lib_dnet_stub_dnet_ntoa=no
 
12227
fi
 
12228
rm -f core conftest.err conftest.$ac_objext \
 
12229
    conftest$ac_exeext conftest.$ac_ext
 
12230
LIBS=$ac_check_lib_save_LIBS
 
12231
fi
 
12232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
12233
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 
12234
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
 
12235
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 
12236
fi
 
12237
 
 
12238
    fi
 
12239
fi
 
12240
rm -f core conftest.err conftest.$ac_objext \
 
12241
    conftest$ac_exeext conftest.$ac_ext
 
12242
    LIBS="$ac_xsave_LIBS"
 
12243
 
 
12244
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 
12245
    # to get the SysV transport functions.
 
12246
    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 
12247
    # needs -lnsl.
 
12248
    # The nsl library prevents programs from opening the X display
 
12249
    # on Irix 5.2, according to T.E. Dickey.
 
12250
    # The functions gethostbyname, getservbyname, and inet_addr are
 
12251
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 
12252
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 
12253
if test "x$ac_cv_func_gethostbyname" = xyes; then :
 
12254
 
 
12255
fi
 
12256
 
 
12257
    if test $ac_cv_func_gethostbyname = no; then
 
12258
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 
12259
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 
12260
if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
 
12261
  $as_echo_n "(cached) " >&6
 
12262
else
 
12263
  ac_check_lib_save_LIBS=$LIBS
 
12264
LIBS="-lnsl  $LIBS"
 
12265
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12266
/* end confdefs.h.  */
 
12267
 
 
12268
/* Override any GCC internal prototype to avoid an error.
 
12269
   Use char because int might match the return type of a GCC
 
12270
   builtin and then its argument prototype would still apply.  */
 
12271
#ifdef __cplusplus
 
12272
extern "C"
 
12273
#endif
 
12274
char gethostbyname ();
 
12275
int
 
12276
main ()
 
12277
{
 
12278
return gethostbyname ();
 
12279
  ;
 
12280
  return 0;
 
12281
}
 
12282
_ACEOF
 
12283
if ac_fn_c_try_link "$LINENO"; then :
 
12284
  ac_cv_lib_nsl_gethostbyname=yes
 
12285
else
 
12286
  ac_cv_lib_nsl_gethostbyname=no
 
12287
fi
 
12288
rm -f core conftest.err conftest.$ac_objext \
 
12289
    conftest$ac_exeext conftest.$ac_ext
 
12290
LIBS=$ac_check_lib_save_LIBS
 
12291
fi
 
12292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
12293
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 
12294
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
 
12295
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 
12296
fi
 
12297
 
 
12298
      if test $ac_cv_lib_nsl_gethostbyname = no; then
 
12299
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 
12300
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
 
12301
if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
 
12302
  $as_echo_n "(cached) " >&6
 
12303
else
 
12304
  ac_check_lib_save_LIBS=$LIBS
 
12305
LIBS="-lbsd  $LIBS"
 
12306
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12307
/* end confdefs.h.  */
 
12308
 
 
12309
/* Override any GCC internal prototype to avoid an error.
 
12310
   Use char because int might match the return type of a GCC
 
12311
   builtin and then its argument prototype would still apply.  */
 
12312
#ifdef __cplusplus
 
12313
extern "C"
 
12314
#endif
 
12315
char gethostbyname ();
 
12316
int
 
12317
main ()
 
12318
{
 
12319
return gethostbyname ();
 
12320
  ;
 
12321
  return 0;
 
12322
}
 
12323
_ACEOF
 
12324
if ac_fn_c_try_link "$LINENO"; then :
 
12325
  ac_cv_lib_bsd_gethostbyname=yes
 
12326
else
 
12327
  ac_cv_lib_bsd_gethostbyname=no
 
12328
fi
 
12329
rm -f core conftest.err conftest.$ac_objext \
 
12330
    conftest$ac_exeext conftest.$ac_ext
 
12331
LIBS=$ac_check_lib_save_LIBS
 
12332
fi
 
12333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
12334
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 
12335
if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
 
12336
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 
12337
fi
 
12338
 
 
12339
      fi
 
12340
    fi
 
12341
 
 
12342
    # lieder@skyler.mavd.honeywell.com says without -lsocket,
 
12343
    # socket/setsockopt and other routines are undefined under SCO ODT
 
12344
    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 
12345
    # on later versions), says Simon Leinen: it contains gethostby*
 
12346
    # variants that don't use the name server (or something).  -lsocket
 
12347
    # must be given before -lnsl if both are needed.  We assume that
 
12348
    # if connect needs -lnsl, so does gethostbyname.
 
12349
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 
12350
if test "x$ac_cv_func_connect" = xyes; then :
 
12351
 
 
12352
fi
 
12353
 
 
12354
    if test $ac_cv_func_connect = no; then
 
12355
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 
12356
$as_echo_n "checking for connect in -lsocket... " >&6; }
 
12357
if ${ac_cv_lib_socket_connect+:} false; then :
 
12358
  $as_echo_n "(cached) " >&6
 
12359
else
 
12360
  ac_check_lib_save_LIBS=$LIBS
 
12361
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 
12362
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12363
/* end confdefs.h.  */
 
12364
 
 
12365
/* Override any GCC internal prototype to avoid an error.
 
12366
   Use char because int might match the return type of a GCC
 
12367
   builtin and then its argument prototype would still apply.  */
 
12368
#ifdef __cplusplus
 
12369
extern "C"
 
12370
#endif
 
12371
char connect ();
 
12372
int
 
12373
main ()
 
12374
{
 
12375
return connect ();
 
12376
  ;
 
12377
  return 0;
 
12378
}
 
12379
_ACEOF
 
12380
if ac_fn_c_try_link "$LINENO"; then :
 
12381
  ac_cv_lib_socket_connect=yes
 
12382
else
 
12383
  ac_cv_lib_socket_connect=no
 
12384
fi
 
12385
rm -f core conftest.err conftest.$ac_objext \
 
12386
    conftest$ac_exeext conftest.$ac_ext
 
12387
LIBS=$ac_check_lib_save_LIBS
 
12388
fi
 
12389
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 
12390
$as_echo "$ac_cv_lib_socket_connect" >&6; }
 
12391
if test "x$ac_cv_lib_socket_connect" = xyes; then :
 
12392
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 
12393
fi
 
12394
 
 
12395
    fi
 
12396
 
 
12397
    # Guillermo Gomez says -lposix is necessary on A/UX.
 
12398
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 
12399
if test "x$ac_cv_func_remove" = xyes; then :
 
12400
 
 
12401
fi
 
12402
 
 
12403
    if test $ac_cv_func_remove = no; then
 
12404
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 
12405
$as_echo_n "checking for remove in -lposix... " >&6; }
 
12406
if ${ac_cv_lib_posix_remove+:} false; then :
 
12407
  $as_echo_n "(cached) " >&6
 
12408
else
 
12409
  ac_check_lib_save_LIBS=$LIBS
 
12410
LIBS="-lposix  $LIBS"
 
12411
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12412
/* end confdefs.h.  */
 
12413
 
 
12414
/* Override any GCC internal prototype to avoid an error.
 
12415
   Use char because int might match the return type of a GCC
 
12416
   builtin and then its argument prototype would still apply.  */
 
12417
#ifdef __cplusplus
 
12418
extern "C"
 
12419
#endif
 
12420
char remove ();
 
12421
int
 
12422
main ()
 
12423
{
 
12424
return remove ();
 
12425
  ;
 
12426
  return 0;
 
12427
}
 
12428
_ACEOF
 
12429
if ac_fn_c_try_link "$LINENO"; then :
 
12430
  ac_cv_lib_posix_remove=yes
 
12431
else
 
12432
  ac_cv_lib_posix_remove=no
 
12433
fi
 
12434
rm -f core conftest.err conftest.$ac_objext \
 
12435
    conftest$ac_exeext conftest.$ac_ext
 
12436
LIBS=$ac_check_lib_save_LIBS
 
12437
fi
 
12438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 
12439
$as_echo "$ac_cv_lib_posix_remove" >&6; }
 
12440
if test "x$ac_cv_lib_posix_remove" = xyes; then :
 
12441
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 
12442
fi
 
12443
 
 
12444
    fi
 
12445
 
 
12446
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 
12447
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 
12448
if test "x$ac_cv_func_shmat" = xyes; then :
 
12449
 
 
12450
fi
 
12451
 
 
12452
    if test $ac_cv_func_shmat = no; then
 
12453
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 
12454
$as_echo_n "checking for shmat in -lipc... " >&6; }
 
12455
if ${ac_cv_lib_ipc_shmat+:} false; then :
 
12456
  $as_echo_n "(cached) " >&6
 
12457
else
 
12458
  ac_check_lib_save_LIBS=$LIBS
 
12459
LIBS="-lipc  $LIBS"
 
12460
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12461
/* end confdefs.h.  */
 
12462
 
 
12463
/* Override any GCC internal prototype to avoid an error.
 
12464
   Use char because int might match the return type of a GCC
 
12465
   builtin and then its argument prototype would still apply.  */
 
12466
#ifdef __cplusplus
 
12467
extern "C"
 
12468
#endif
 
12469
char shmat ();
 
12470
int
 
12471
main ()
 
12472
{
 
12473
return shmat ();
 
12474
  ;
 
12475
  return 0;
 
12476
}
 
12477
_ACEOF
 
12478
if ac_fn_c_try_link "$LINENO"; then :
 
12479
  ac_cv_lib_ipc_shmat=yes
 
12480
else
 
12481
  ac_cv_lib_ipc_shmat=no
 
12482
fi
 
12483
rm -f core conftest.err conftest.$ac_objext \
 
12484
    conftest$ac_exeext conftest.$ac_ext
 
12485
LIBS=$ac_check_lib_save_LIBS
 
12486
fi
 
12487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 
12488
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 
12489
if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
 
12490
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 
12491
fi
 
12492
 
 
12493
    fi
 
12494
  fi
 
12495
 
 
12496
  # Check for libraries that X11R6 Xt/Xaw programs need.
 
12497
  ac_save_LDFLAGS=$LDFLAGS
 
12498
  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 
12499
  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 
12500
  # check for ICE first), but we must link in the order -lSM -lICE or
 
12501
  # we get undefined symbols.  So assume we have SM if we have ICE.
 
12502
  # These have to be linked with before -lX11, unlike the other
 
12503
  # libraries we check for below, so use a different variable.
 
12504
  # John Interrante, Karl Berry
 
12505
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 
12506
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
 
12507
if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
 
12508
  $as_echo_n "(cached) " >&6
 
12509
else
 
12510
  ac_check_lib_save_LIBS=$LIBS
 
12511
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 
12512
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12513
/* end confdefs.h.  */
 
12514
 
 
12515
/* Override any GCC internal prototype to avoid an error.
 
12516
   Use char because int might match the return type of a GCC
 
12517
   builtin and then its argument prototype would still apply.  */
 
12518
#ifdef __cplusplus
 
12519
extern "C"
 
12520
#endif
 
12521
char IceConnectionNumber ();
 
12522
int
 
12523
main ()
 
12524
{
 
12525
return IceConnectionNumber ();
 
12526
  ;
 
12527
  return 0;
 
12528
}
 
12529
_ACEOF
 
12530
if ac_fn_c_try_link "$LINENO"; then :
 
12531
  ac_cv_lib_ICE_IceConnectionNumber=yes
 
12532
else
 
12533
  ac_cv_lib_ICE_IceConnectionNumber=no
 
12534
fi
 
12535
rm -f core conftest.err conftest.$ac_objext \
 
12536
    conftest$ac_exeext conftest.$ac_ext
 
12537
LIBS=$ac_check_lib_save_LIBS
 
12538
fi
 
12539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
12540
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 
12541
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
 
12542
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 
12543
fi
 
12544
 
 
12545
  LDFLAGS=$ac_save_LDFLAGS
 
12546
 
 
12547
fi
 
12548
 
 
12549
 
 
12550
        if test "x$no_x" = "xyes"; then
 
12551
                as_fn_error $? "Can't locate your X11 installation" "$LINENO" 5
 
12552
        fi
 
12553
 
 
12554
        X11_CFLAGS="$X_CFLAGS"
 
12555
        X11_LIBS="$X_LIBS -lX11"
 
12556
 
 
12557
 
 
12558
 
 
12559
else
 
12560
        X11_LIBS="$X11_LIBS"
 
12561
 
 
12562
fi
 
12563
 
 
12564
#PKG_CHECK_MODULES(GTK, [gtk+-3.0], found_gtk="yes", found_gtk="no")
 
12565
#if test "x$found_gtk" = "xno"; then
 
12566
 
 
12567
pkg_failed=no
 
12568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
 
12569
$as_echo_n "checking for GTK... " >&6; }
 
12570
 
 
12571
if test -n "$PKG_CONFIG"; then
 
12572
    if test -n "$GTK_CFLAGS"; then
 
12573
        pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
 
12574
    else
 
12575
        if test -n "$PKG_CONFIG" && \
 
12576
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.20.0\""; } >&5
 
12577
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.20.0") 2>&5
 
12578
  ac_status=$?
 
12579
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12580
  test $ac_status = 0; }; then
 
12581
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.20.0" 2>/dev/null`
 
12582
else
 
12583
  pkg_failed=yes
 
12584
fi
 
12585
    fi
 
12586
else
 
12587
        pkg_failed=untried
 
12588
fi
 
12589
if test -n "$PKG_CONFIG"; then
 
12590
    if test -n "$GTK_LIBS"; then
 
12591
        pkg_cv_GTK_LIBS="$GTK_LIBS"
 
12592
    else
 
12593
        if test -n "$PKG_CONFIG" && \
 
12594
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.20.0\""; } >&5
 
12595
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.20.0") 2>&5
 
12596
  ac_status=$?
 
12597
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12598
  test $ac_status = 0; }; then
 
12599
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.20.0" 2>/dev/null`
 
12600
else
 
12601
  pkg_failed=yes
 
12602
fi
 
12603
    fi
 
12604
else
 
12605
        pkg_failed=untried
 
12606
fi
 
12607
 
 
12608
 
 
12609
 
 
12610
if test $pkg_failed = yes; then
 
12611
 
 
12612
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12613
        _pkg_short_errors_supported=yes
 
12614
else
 
12615
        _pkg_short_errors_supported=no
 
12616
fi
 
12617
        if test $_pkg_short_errors_supported = yes; then
 
12618
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.20.0"`
 
12619
        else
 
12620
                GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.20.0"`
 
12621
        fi
 
12622
        # Put the nasty error message in config.log where it belongs
 
12623
        echo "$GTK_PKG_ERRORS" >&5
 
12624
 
 
12625
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12626
$as_echo "no" >&6; }
 
12627
                found_gtk="no"
 
12628
elif test $pkg_failed = untried; then
 
12629
        found_gtk="no"
 
12630
else
 
12631
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
 
12632
        GTK_LIBS=$pkg_cv_GTK_LIBS
 
12633
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12634
$as_echo "yes" >&6; }
 
12635
        found_gtk="yes"
 
12636
fi
 
12637
        if test "x$found_gtk" = "xno"; then
 
12638
 
 
12639
pkg_failed=no
 
12640
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
 
12641
$as_echo_n "checking for GTK... " >&6; }
 
12642
 
 
12643
if test -n "$PKG_CONFIG"; then
 
12644
    if test -n "$GTK_CFLAGS"; then
 
12645
        pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
 
12646
    else
 
12647
        if test -n "$PKG_CONFIG" && \
 
12648
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 < 2.20.0\""; } >&5
 
12649
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 < 2.20.0") 2>&5
 
12650
  ac_status=$?
 
12651
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12652
  test $ac_status = 0; }; then
 
12653
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 < 2.20.0" 2>/dev/null`
 
12654
else
 
12655
  pkg_failed=yes
 
12656
fi
 
12657
    fi
 
12658
else
 
12659
        pkg_failed=untried
 
12660
fi
 
12661
if test -n "$PKG_CONFIG"; then
 
12662
    if test -n "$GTK_LIBS"; then
 
12663
        pkg_cv_GTK_LIBS="$GTK_LIBS"
 
12664
    else
 
12665
        if test -n "$PKG_CONFIG" && \
 
12666
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 < 2.20.0\""; } >&5
 
12667
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 < 2.20.0") 2>&5
 
12668
  ac_status=$?
 
12669
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12670
  test $ac_status = 0; }; then
 
12671
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 < 2.20.0" 2>/dev/null`
 
12672
else
 
12673
  pkg_failed=yes
 
12674
fi
 
12675
    fi
 
12676
else
 
12677
        pkg_failed=untried
 
12678
fi
 
12679
 
 
12680
 
 
12681
 
 
12682
if test $pkg_failed = yes; then
 
12683
 
 
12684
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12685
        _pkg_short_errors_supported=yes
 
12686
else
 
12687
        _pkg_short_errors_supported=no
 
12688
fi
 
12689
        if test $_pkg_short_errors_supported = yes; then
 
12690
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 < 2.20.0"`
 
12691
        else
 
12692
                GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 < 2.20.0"`
 
12693
        fi
 
12694
        # Put the nasty error message in config.log where it belongs
 
12695
        echo "$GTK_PKG_ERRORS" >&5
 
12696
 
 
12697
        as_fn_error $? "Package requirements (gtk+-2.0 < 2.20.0) were not met:
 
12698
 
 
12699
$GTK_PKG_ERRORS
 
12700
 
 
12701
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12702
installed software in a non-standard prefix.
 
12703
 
 
12704
Alternatively, you may set the environment variables GTK_CFLAGS
 
12705
and GTK_LIBS to avoid the need to call pkg-config.
 
12706
See the pkg-config man page for more details.
 
12707
" "$LINENO" 5
 
12708
elif test $pkg_failed = untried; then
 
12709
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12710
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
12711
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
12712
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12713
path to pkg-config.
 
12714
 
 
12715
Alternatively, you may set the environment variables GTK_CFLAGS
 
12716
and GTK_LIBS to avoid the need to call pkg-config.
 
12717
See the pkg-config man page for more details.
 
12718
 
 
12719
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
12720
See \`config.log' for more details" "$LINENO" 5; }
 
12721
else
 
12722
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
 
12723
        GTK_LIBS=$pkg_cv_GTK_LIBS
 
12724
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12725
$as_echo "yes" >&6; }
 
12726
        :
 
12727
fi
 
12728
        else
 
12729
 
 
12730
$as_echo "#define WITH_GTK_NEW 1" >>confdefs.h
 
12731
 
 
12732
        fi
 
12733
#else
 
12734
#       AC_DEFINE(WITH_GTK_NEW, 1, [Define if you use GTK+ >= 2.20.0 support])
 
12735
#fi
 
12736
 
 
12737
 
 
12738
 
 
12739
# Check whether --with-appindicator was given.
 
12740
if test "${with_appindicator+set}" = set; then :
 
12741
  withval=$with_appindicator;
 
12742
fi
 
12743
 
 
12744
if test "x$with_appindicator" != "xno"; then
 
12745
        APPINDICATOR_REQUIRED=0.2.9
 
12746
 
 
12747
 
 
12748
pkg_failed=no
 
12749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APP_INDICATOR" >&5
 
12750
$as_echo_n "checking for APP_INDICATOR... " >&6; }
 
12751
 
 
12752
if test -n "$PKG_CONFIG"; then
 
12753
    if test -n "$APP_INDICATOR_CFLAGS"; then
 
12754
        pkg_cv_APP_INDICATOR_CFLAGS="$APP_INDICATOR_CFLAGS"
 
12755
    else
 
12756
        if test -n "$PKG_CONFIG" && \
 
12757
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= \$APPINDICATOR_REQUIRED\""; } >&5
 
12758
  ($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= $APPINDICATOR_REQUIRED") 2>&5
 
12759
  ac_status=$?
 
12760
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12761
  test $ac_status = 0; }; then
 
12762
  pkg_cv_APP_INDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 >= $APPINDICATOR_REQUIRED" 2>/dev/null`
 
12763
else
 
12764
  pkg_failed=yes
 
12765
fi
 
12766
    fi
 
12767
else
 
12768
        pkg_failed=untried
 
12769
fi
 
12770
if test -n "$PKG_CONFIG"; then
 
12771
    if test -n "$APP_INDICATOR_LIBS"; then
 
12772
        pkg_cv_APP_INDICATOR_LIBS="$APP_INDICATOR_LIBS"
 
12773
    else
 
12774
        if test -n "$PKG_CONFIG" && \
 
12775
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= \$APPINDICATOR_REQUIRED\""; } >&5
 
12776
  ($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= $APPINDICATOR_REQUIRED") 2>&5
 
12777
  ac_status=$?
 
12778
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12779
  test $ac_status = 0; }; then
 
12780
  pkg_cv_APP_INDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 >= $APPINDICATOR_REQUIRED" 2>/dev/null`
 
12781
else
 
12782
  pkg_failed=yes
 
12783
fi
 
12784
    fi
 
12785
else
 
12786
        pkg_failed=untried
 
12787
fi
 
12788
 
 
12789
 
 
12790
 
 
12791
if test $pkg_failed = yes; then
 
12792
 
 
12793
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12794
        _pkg_short_errors_supported=yes
 
12795
else
 
12796
        _pkg_short_errors_supported=no
 
12797
fi
 
12798
        if test $_pkg_short_errors_supported = yes; then
 
12799
                APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "appindicator-0.1 >= $APPINDICATOR_REQUIRED"`
 
12800
        else
 
12801
                APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "appindicator-0.1 >= $APPINDICATOR_REQUIRED"`
 
12802
        fi
 
12803
        # Put the nasty error message in config.log where it belongs
 
12804
        echo "$APP_INDICATOR_PKG_ERRORS" >&5
 
12805
 
 
12806
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12807
$as_echo "no" >&6; }
 
12808
                found_appindicator="no"
 
12809
elif test $pkg_failed = untried; then
 
12810
        found_appindicator="no"
 
12811
else
 
12812
        APP_INDICATOR_CFLAGS=$pkg_cv_APP_INDICATOR_CFLAGS
 
12813
        APP_INDICATOR_LIBS=$pkg_cv_APP_INDICATOR_LIBS
 
12814
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12815
$as_echo "yes" >&6; }
 
12816
        found_appindicator="yes"
 
12817
fi
 
12818
        if test "x$found_appindicator" = "xno"; then
 
12819
 
 
12820
pkg_failed=no
 
12821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APP_INDICATOR" >&5
 
12822
$as_echo_n "checking for APP_INDICATOR... " >&6; }
 
12823
 
 
12824
if test -n "$PKG_CONFIG"; then
 
12825
    if test -n "$APP_INDICATOR_CFLAGS"; then
 
12826
        pkg_cv_APP_INDICATOR_CFLAGS="$APP_INDICATOR_CFLAGS"
 
12827
    else
 
12828
        if test -n "$PKG_CONFIG" && \
 
12829
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 < \$APPINDICATOR_REQUIRED\""; } >&5
 
12830
  ($PKG_CONFIG --exists --print-errors "appindicator-0.1 < $APPINDICATOR_REQUIRED") 2>&5
 
12831
  ac_status=$?
 
12832
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12833
  test $ac_status = 0; }; then
 
12834
  pkg_cv_APP_INDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 < $APPINDICATOR_REQUIRED" 2>/dev/null`
 
12835
else
 
12836
  pkg_failed=yes
 
12837
fi
 
12838
    fi
 
12839
else
 
12840
        pkg_failed=untried
 
12841
fi
 
12842
if test -n "$PKG_CONFIG"; then
 
12843
    if test -n "$APP_INDICATOR_LIBS"; then
 
12844
        pkg_cv_APP_INDICATOR_LIBS="$APP_INDICATOR_LIBS"
 
12845
    else
 
12846
        if test -n "$PKG_CONFIG" && \
 
12847
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 < \$APPINDICATOR_REQUIRED\""; } >&5
 
12848
  ($PKG_CONFIG --exists --print-errors "appindicator-0.1 < $APPINDICATOR_REQUIRED") 2>&5
 
12849
  ac_status=$?
 
12850
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12851
  test $ac_status = 0; }; then
 
12852
  pkg_cv_APP_INDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 < $APPINDICATOR_REQUIRED" 2>/dev/null`
 
12853
else
 
12854
  pkg_failed=yes
 
12855
fi
 
12856
    fi
 
12857
else
 
12858
        pkg_failed=untried
 
12859
fi
 
12860
 
 
12861
 
 
12862
 
 
12863
if test $pkg_failed = yes; then
 
12864
 
 
12865
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12866
        _pkg_short_errors_supported=yes
 
12867
else
 
12868
        _pkg_short_errors_supported=no
 
12869
fi
 
12870
        if test $_pkg_short_errors_supported = yes; then
 
12871
                APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "appindicator-0.1 < $APPINDICATOR_REQUIRED"`
 
12872
        else
 
12873
                APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "appindicator-0.1 < $APPINDICATOR_REQUIRED"`
 
12874
        fi
 
12875
        # Put the nasty error message in config.log where it belongs
 
12876
        echo "$APP_INDICATOR_PKG_ERRORS" >&5
 
12877
 
 
12878
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12879
$as_echo "no" >&6; }
 
12880
                found_deprec_appindicator="no"
 
12881
elif test $pkg_failed = untried; then
 
12882
        found_deprec_appindicator="no"
 
12883
else
 
12884
        APP_INDICATOR_CFLAGS=$pkg_cv_APP_INDICATOR_CFLAGS
 
12885
        APP_INDICATOR_LIBS=$pkg_cv_APP_INDICATOR_LIBS
 
12886
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12887
$as_echo "yes" >&6; }
 
12888
        found_deprec_appindicator="yes"
 
12889
fi
 
12890
 
 
12891
                if test "x$found_deprec_appindicator" = "xyes"; then
 
12892
 
 
12893
$as_echo "#define HAVE_APP_INDICATOR 1" >>confdefs.h
 
12894
 
 
12895
 
 
12896
$as_echo "#define HAVE_DEPREC_APP_INDICATOR 1" >>confdefs.h
 
12897
 
 
12898
                fi
 
12899
        else
 
12900
 
 
12901
$as_echo "#define HAVE_APP_INDICATOR 1" >>confdefs.h
 
12902
 
 
12903
        fi
 
12904
fi
 
12905
 
 
12906
 
 
12907
$as_echo "#define PACKAGE_GCONF_DIR \"/apps/\" PACKAGE" >>confdefs.h
 
12908
 
 
12909
 
 
12910
 
 
12911
$as_echo "#define KB_PROP_COMMAND \"/usr/bin/gnome-keyboard-properties\"" >>confdefs.h
 
12912
 
 
12913
 
 
12914
 
 
12915
pkg_failed=no
 
12916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLADE" >&5
 
12917
$as_echo_n "checking for GLADE... " >&6; }
 
12918
 
 
12919
if test -n "$PKG_CONFIG"; then
 
12920
    if test -n "$GLADE_CFLAGS"; then
 
12921
        pkg_cv_GLADE_CFLAGS="$GLADE_CFLAGS"
 
12922
    else
 
12923
        if test -n "$PKG_CONFIG" && \
 
12924
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.6.0\""; } >&5
 
12925
  ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= 2.6.0") 2>&5
 
12926
  ac_status=$?
 
12927
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12928
  test $ac_status = 0; }; then
 
12929
  pkg_cv_GLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0 >= 2.6.0" 2>/dev/null`
 
12930
else
 
12931
  pkg_failed=yes
 
12932
fi
 
12933
    fi
 
12934
else
 
12935
        pkg_failed=untried
 
12936
fi
 
12937
if test -n "$PKG_CONFIG"; then
 
12938
    if test -n "$GLADE_LIBS"; then
 
12939
        pkg_cv_GLADE_LIBS="$GLADE_LIBS"
 
12940
    else
 
12941
        if test -n "$PKG_CONFIG" && \
 
12942
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.6.0\""; } >&5
 
12943
  ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= 2.6.0") 2>&5
 
12944
  ac_status=$?
 
12945
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12946
  test $ac_status = 0; }; then
 
12947
  pkg_cv_GLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0 >= 2.6.0" 2>/dev/null`
 
12948
else
 
12949
  pkg_failed=yes
 
12950
fi
 
12951
    fi
 
12952
else
 
12953
        pkg_failed=untried
 
12954
fi
 
12955
 
 
12956
 
 
12957
 
 
12958
if test $pkg_failed = yes; then
 
12959
 
 
12960
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12961
        _pkg_short_errors_supported=yes
 
12962
else
 
12963
        _pkg_short_errors_supported=no
 
12964
fi
 
12965
        if test $_pkg_short_errors_supported = yes; then
 
12966
                GLADE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libglade-2.0 >= 2.6.0"`
 
12967
        else
 
12968
                GLADE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libglade-2.0 >= 2.6.0"`
 
12969
        fi
 
12970
        # Put the nasty error message in config.log where it belongs
 
12971
        echo "$GLADE_PKG_ERRORS" >&5
 
12972
 
 
12973
        as_fn_error $? "Package requirements (libglade-2.0 >= 2.6.0) were not met:
 
12974
 
 
12975
$GLADE_PKG_ERRORS
 
12976
 
 
12977
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12978
installed software in a non-standard prefix.
 
12979
 
 
12980
Alternatively, you may set the environment variables GLADE_CFLAGS
 
12981
and GLADE_LIBS to avoid the need to call pkg-config.
 
12982
See the pkg-config man page for more details.
 
12983
" "$LINENO" 5
 
12984
elif test $pkg_failed = untried; then
 
12985
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12986
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
12987
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
12988
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12989
path to pkg-config.
 
12990
 
 
12991
Alternatively, you may set the environment variables GLADE_CFLAGS
 
12992
and GLADE_LIBS to avoid the need to call pkg-config.
 
12993
See the pkg-config man page for more details.
 
12994
 
 
12995
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
12996
See \`config.log' for more details" "$LINENO" 5; }
 
12997
else
 
12998
        GLADE_CFLAGS=$pkg_cv_GLADE_CFLAGS
 
12999
        GLADE_LIBS=$pkg_cv_GLADE_LIBS
 
13000
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13001
$as_echo "yes" >&6; }
 
13002
        :
 
13003
fi
 
13004
 
 
13005
 
 
13006
 
 
13007
#PKG_CHECK_MODULES(GCONF, [gconf-2.0 >= 2.0])
 
13008
 
 
13009
# Check whether --with-gconf was given.
 
13010
if test "${with_gconf+set}" = set; then :
 
13011
  withval=$with_gconf;
 
13012
fi
 
13013
 
 
13014
if test "x$with_gconf" != "xno"; then
 
13015
 
 
13016
pkg_failed=no
 
13017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
 
13018
$as_echo_n "checking for GCONF... " >&6; }
 
13019
 
 
13020
if test -n "$PKG_CONFIG"; then
 
13021
    if test -n "$GCONF_CFLAGS"; then
 
13022
        pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
 
13023
    else
 
13024
        if test -n "$PKG_CONFIG" && \
 
13025
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.0\""; } >&5
 
13026
  ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.0") 2>&5
 
13027
  ac_status=$?
 
13028
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13029
  test $ac_status = 0; }; then
 
13030
  pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.0" 2>/dev/null`
 
13031
else
 
13032
  pkg_failed=yes
 
13033
fi
 
13034
    fi
 
13035
else
 
13036
        pkg_failed=untried
 
13037
fi
 
13038
if test -n "$PKG_CONFIG"; then
 
13039
    if test -n "$GCONF_LIBS"; then
 
13040
        pkg_cv_GCONF_LIBS="$GCONF_LIBS"
 
13041
    else
 
13042
        if test -n "$PKG_CONFIG" && \
 
13043
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.0\""; } >&5
 
13044
  ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.0") 2>&5
 
13045
  ac_status=$?
 
13046
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13047
  test $ac_status = 0; }; then
 
13048
  pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.0" 2>/dev/null`
 
13049
else
 
13050
  pkg_failed=yes
 
13051
fi
 
13052
    fi
 
13053
else
 
13054
        pkg_failed=untried
 
13055
fi
 
13056
 
 
13057
 
 
13058
 
 
13059
if test $pkg_failed = yes; then
 
13060
 
 
13061
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13062
        _pkg_short_errors_supported=yes
 
13063
else
 
13064
        _pkg_short_errors_supported=no
 
13065
fi
 
13066
        if test $_pkg_short_errors_supported = yes; then
 
13067
                GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gconf-2.0 >= 2.0"`
 
13068
        else
 
13069
                GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.0"`
 
13070
        fi
 
13071
        # Put the nasty error message in config.log where it belongs
 
13072
        echo "$GCONF_PKG_ERRORS" >&5
 
13073
 
 
13074
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13075
$as_echo "no" >&6; }
 
13076
                found_gconf="no"
 
13077
elif test $pkg_failed = untried; then
 
13078
        found_gconf="no"
 
13079
else
 
13080
        GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
 
13081
        GCONF_LIBS=$pkg_cv_GCONF_LIBS
 
13082
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13083
$as_echo "yes" >&6; }
 
13084
        found_gconf="yes"
 
13085
fi
 
13086
        if test "x$found_gconf" = "xyes"; then
 
13087
 
 
13088
$as_echo "#define HAVE_GCONF 1" >>confdefs.h
 
13089
 
 
13090
        fi
 
13091
fi
 
13092
 
 
13093
 
 
13094
 
 
13095
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
13096
$as_echo_n "checking whether NLS is requested... " >&6; }
 
13097
    # Check whether --enable-nls was given.
 
13098
if test "${enable_nls+set}" = set; then :
 
13099
  enableval=$enable_nls; USE_NLS=$enableval
 
13100
else
 
13101
  USE_NLS=yes
 
13102
fi
 
13103
 
 
13104
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
13105
$as_echo "$USE_NLS" >&6; }
 
13106
 
 
13107
 
 
13108
 
 
13109
 
 
13110
 
 
13111
 
 
13112
# Prepare PATH_SEPARATOR.
 
13113
# The user is always right.
 
13114
if test "${PATH_SEPARATOR+set}" != set; then
 
13115
  echo "#! /bin/sh" >conf$$.sh
 
13116
  echo  "exit 0"   >>conf$$.sh
 
13117
  chmod +x conf$$.sh
 
13118
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
13119
    PATH_SEPARATOR=';'
 
13120
  else
 
13121
    PATH_SEPARATOR=:
 
13122
  fi
 
13123
  rm -f conf$$.sh
 
13124
fi
 
13125
 
 
13126
# Find out how to test for executable files. Don't use a zero-byte file,
 
13127
# as systems may use methods other than mode bits to determine executability.
 
13128
cat >conf$$.file <<_ASEOF
 
13129
#! /bin/sh
 
13130
exit 0
 
13131
_ASEOF
 
13132
chmod +x conf$$.file
 
13133
if test -x conf$$.file >/dev/null 2>&1; then
 
13134
  ac_executable_p="test -x"
 
13135
else
 
13136
  ac_executable_p="test -f"
 
13137
fi
 
13138
rm -f conf$$.file
 
13139
 
 
13140
# Extract the first word of "msgfmt", so it can be a program name with args.
 
13141
set dummy msgfmt; ac_word=$2
 
13142
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13143
$as_echo_n "checking for $ac_word... " >&6; }
 
13144
if ${ac_cv_path_MSGFMT+:} false; then :
 
13145
  $as_echo_n "(cached) " >&6
 
13146
else
 
13147
  case "$MSGFMT" in
 
13148
  [\\/]* | ?:[\\/]*)
 
13149
    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
13150
    ;;
 
13151
  *)
 
13152
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
13153
    for ac_dir in $PATH; do
 
13154
      IFS="$ac_save_IFS"
 
13155
      test -z "$ac_dir" && ac_dir=.
 
13156
      for ac_exec_ext in '' $ac_executable_extensions; do
 
13157
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
13158
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
13159
          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
 
13160
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
13161
            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
 
13162
            break 2
 
13163
          fi
 
13164
        fi
 
13165
      done
 
13166
    done
 
13167
    IFS="$ac_save_IFS"
 
13168
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
 
13169
    ;;
 
13170
esac
 
13171
fi
 
13172
MSGFMT="$ac_cv_path_MSGFMT"
 
13173
if test "$MSGFMT" != ":"; then
 
13174
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
13175
$as_echo "$MSGFMT" >&6; }
 
13176
else
 
13177
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13178
$as_echo "no" >&6; }
 
13179
fi
 
13180
 
 
13181
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
13182
set dummy gmsgfmt; ac_word=$2
 
13183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13184
$as_echo_n "checking for $ac_word... " >&6; }
 
13185
if ${ac_cv_path_GMSGFMT+:} false; then :
 
13186
  $as_echo_n "(cached) " >&6
 
13187
else
 
13188
  case $GMSGFMT in
 
13189
  [\\/]* | ?:[\\/]*)
 
13190
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
13191
  ;;
 
13192
  *)
 
13193
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13194
for as_dir in $PATH
 
13195
do
 
13196
  IFS=$as_save_IFS
 
13197
  test -z "$as_dir" && as_dir=.
 
13198
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13199
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13200
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
13201
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13202
    break 2
 
13203
  fi
 
13204
done
 
13205
  done
 
13206
IFS=$as_save_IFS
 
13207
 
 
13208
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
13209
  ;;
 
13210
esac
 
13211
fi
 
13212
GMSGFMT=$ac_cv_path_GMSGFMT
 
13213
if test -n "$GMSGFMT"; then
 
13214
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
13215
$as_echo "$GMSGFMT" >&6; }
 
13216
else
 
13217
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13218
$as_echo "no" >&6; }
 
13219
fi
 
13220
 
 
13221
 
 
13222
 
 
13223
    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
13224
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
 
13225
    *) MSGFMT_015=$MSGFMT ;;
 
13226
  esac
 
13227
 
 
13228
  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
13229
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
 
13230
    *) GMSGFMT_015=$GMSGFMT ;;
 
13231
  esac
 
13232
 
 
13233
 
 
13234
 
 
13235
# Prepare PATH_SEPARATOR.
 
13236
# The user is always right.
 
13237
if test "${PATH_SEPARATOR+set}" != set; then
 
13238
  echo "#! /bin/sh" >conf$$.sh
 
13239
  echo  "exit 0"   >>conf$$.sh
 
13240
  chmod +x conf$$.sh
 
13241
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
13242
    PATH_SEPARATOR=';'
 
13243
  else
 
13244
    PATH_SEPARATOR=:
 
13245
  fi
 
13246
  rm -f conf$$.sh
 
13247
fi
 
13248
 
 
13249
# Find out how to test for executable files. Don't use a zero-byte file,
 
13250
# as systems may use methods other than mode bits to determine executability.
 
13251
cat >conf$$.file <<_ASEOF
 
13252
#! /bin/sh
 
13253
exit 0
 
13254
_ASEOF
 
13255
chmod +x conf$$.file
 
13256
if test -x conf$$.file >/dev/null 2>&1; then
 
13257
  ac_executable_p="test -x"
 
13258
else
 
13259
  ac_executable_p="test -f"
 
13260
fi
 
13261
rm -f conf$$.file
 
13262
 
 
13263
# Extract the first word of "xgettext", so it can be a program name with args.
 
13264
set dummy xgettext; ac_word=$2
 
13265
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13266
$as_echo_n "checking for $ac_word... " >&6; }
 
13267
if ${ac_cv_path_XGETTEXT+:} false; then :
 
13268
  $as_echo_n "(cached) " >&6
 
13269
else
 
13270
  case "$XGETTEXT" in
 
13271
  [\\/]* | ?:[\\/]*)
 
13272
    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
13273
    ;;
 
13274
  *)
 
13275
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
13276
    for ac_dir in $PATH; do
 
13277
      IFS="$ac_save_IFS"
 
13278
      test -z "$ac_dir" && ac_dir=.
 
13279
      for ac_exec_ext in '' $ac_executable_extensions; do
 
13280
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
13281
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
13282
          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
 
13283
     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
13284
            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
 
13285
            break 2
 
13286
          fi
 
13287
        fi
 
13288
      done
 
13289
    done
 
13290
    IFS="$ac_save_IFS"
 
13291
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
13292
    ;;
 
13293
esac
 
13294
fi
 
13295
XGETTEXT="$ac_cv_path_XGETTEXT"
 
13296
if test "$XGETTEXT" != ":"; then
 
13297
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
13298
$as_echo "$XGETTEXT" >&6; }
 
13299
else
 
13300
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13301
$as_echo "no" >&6; }
 
13302
fi
 
13303
 
 
13304
    rm -f messages.po
 
13305
 
 
13306
    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
13307
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
 
13308
    *) XGETTEXT_015=$XGETTEXT ;;
 
13309
  esac
 
13310
 
 
13311
 
 
13312
 
 
13313
# Prepare PATH_SEPARATOR.
 
13314
# The user is always right.
 
13315
if test "${PATH_SEPARATOR+set}" != set; then
 
13316
  echo "#! /bin/sh" >conf$$.sh
 
13317
  echo  "exit 0"   >>conf$$.sh
 
13318
  chmod +x conf$$.sh
 
13319
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
13320
    PATH_SEPARATOR=';'
 
13321
  else
 
13322
    PATH_SEPARATOR=:
 
13323
  fi
 
13324
  rm -f conf$$.sh
 
13325
fi
 
13326
 
 
13327
# Find out how to test for executable files. Don't use a zero-byte file,
 
13328
# as systems may use methods other than mode bits to determine executability.
 
13329
cat >conf$$.file <<_ASEOF
 
13330
#! /bin/sh
 
13331
exit 0
 
13332
_ASEOF
 
13333
chmod +x conf$$.file
 
13334
if test -x conf$$.file >/dev/null 2>&1; then
 
13335
  ac_executable_p="test -x"
 
13336
else
 
13337
  ac_executable_p="test -f"
 
13338
fi
 
13339
rm -f conf$$.file
 
13340
 
 
13341
# Extract the first word of "msgmerge", so it can be a program name with args.
 
13342
set dummy msgmerge; ac_word=$2
 
13343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13344
$as_echo_n "checking for $ac_word... " >&6; }
 
13345
if ${ac_cv_path_MSGMERGE+:} false; then :
 
13346
  $as_echo_n "(cached) " >&6
 
13347
else
 
13348
  case "$MSGMERGE" in
 
13349
  [\\/]* | ?:[\\/]*)
 
13350
    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
13351
    ;;
 
13352
  *)
 
13353
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
13354
    for ac_dir in $PATH; do
 
13355
      IFS="$ac_save_IFS"
 
13356
      test -z "$ac_dir" && ac_dir=.
 
13357
      for ac_exec_ext in '' $ac_executable_extensions; do
 
13358
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
13359
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
13360
          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
 
13361
            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
 
13362
            break 2
 
13363
          fi
 
13364
        fi
 
13365
      done
 
13366
    done
 
13367
    IFS="$ac_save_IFS"
 
13368
  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
 
13369
    ;;
 
13370
esac
 
13371
fi
 
13372
MSGMERGE="$ac_cv_path_MSGMERGE"
 
13373
if test "$MSGMERGE" != ":"; then
 
13374
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
13375
$as_echo "$MSGMERGE" >&6; }
 
13376
else
 
13377
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13378
$as_echo "no" >&6; }
 
13379
fi
 
13380
 
 
13381
 
 
13382
        test -n "$localedir" || localedir='${datadir}/locale'
 
13383
 
 
13384
 
 
13385
  ac_config_commands="$ac_config_commands po-directories"
 
13386
 
 
13387
 
 
13388
 
 
13389
      if test "X$prefix" = "XNONE"; then
 
13390
    acl_final_prefix="$ac_default_prefix"
 
13391
  else
 
13392
    acl_final_prefix="$prefix"
 
13393
  fi
 
13394
  if test "X$exec_prefix" = "XNONE"; then
 
13395
    acl_final_exec_prefix='${prefix}'
 
13396
  else
 
13397
    acl_final_exec_prefix="$exec_prefix"
 
13398
  fi
 
13399
  acl_save_prefix="$prefix"
 
13400
  prefix="$acl_final_prefix"
 
13401
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
 
13402
  prefix="$acl_save_prefix"
 
13403
 
 
13404
 
 
13405
# Check whether --with-gnu-ld was given.
 
13406
if test "${with_gnu_ld+set}" = set; then :
 
13407
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
13408
else
 
13409
  with_gnu_ld=no
 
13410
fi
 
13411
 
 
13412
# Prepare PATH_SEPARATOR.
 
13413
# The user is always right.
 
13414
if test "${PATH_SEPARATOR+set}" != set; then
 
13415
  echo "#! /bin/sh" >conf$$.sh
 
13416
  echo  "exit 0"   >>conf$$.sh
 
13417
  chmod +x conf$$.sh
 
13418
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
13419
    PATH_SEPARATOR=';'
 
13420
  else
 
13421
    PATH_SEPARATOR=:
 
13422
  fi
 
13423
  rm -f conf$$.sh
 
13424
fi
 
13425
ac_prog=ld
 
13426
if test "$GCC" = yes; then
 
13427
  # Check if gcc -print-prog-name=ld gives a path.
 
13428
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
 
13429
$as_echo_n "checking for ld used by GCC... " >&6; }
 
13430
  case $host in
 
13431
  *-*-mingw*)
 
13432
    # gcc leaves a trailing carriage return which upsets mingw
 
13433
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
13434
  *)
 
13435
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
13436
  esac
 
13437
  case $ac_prog in
 
13438
    # Accept absolute paths.
 
13439
    [\\/]* | [A-Za-z]:[\\/]*)
 
13440
      re_direlt='/[^/][^/]*/\.\./'
 
13441
      # Canonicalize the path of ld
 
13442
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
 
13443
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
13444
        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 
13445
      done
 
13446
      test -z "$LD" && LD="$ac_prog"
 
13447
      ;;
 
13448
  "")
 
13449
    # If it fails, then pretend we aren't using GCC.
 
13450
    ac_prog=ld
 
13451
    ;;
 
13452
  *)
 
13453
    # If it is relative, then search for the first ld in PATH.
 
13454
    with_gnu_ld=unknown
 
13455
    ;;
 
13456
  esac
 
13457
elif test "$with_gnu_ld" = yes; then
 
13458
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
13459
$as_echo_n "checking for GNU ld... " >&6; }
 
13460
else
 
13461
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
13462
$as_echo_n "checking for non-GNU ld... " >&6; }
 
13463
fi
 
13464
if ${acl_cv_path_LD+:} false; then :
 
13465
  $as_echo_n "(cached) " >&6
 
13466
else
 
13467
  if test -z "$LD"; then
 
13468
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
 
13469
  for ac_dir in $PATH; do
 
13470
    test -z "$ac_dir" && ac_dir=.
 
13471
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
13472
      acl_cv_path_LD="$ac_dir/$ac_prog"
 
13473
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
13474
      # but apparently some GNU ld's only accept -v.
 
13475
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
13476
      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
 
13477
      *GNU* | *'with BFD'*)
 
13478
        test "$with_gnu_ld" != no && break ;;
 
13479
      *)
 
13480
        test "$with_gnu_ld" != yes && break ;;
 
13481
      esac
 
13482
    fi
 
13483
  done
 
13484
  IFS="$ac_save_ifs"
 
13485
else
 
13486
  acl_cv_path_LD="$LD" # Let the user override the test with a path.
 
13487
fi
 
13488
fi
 
13489
 
 
13490
LD="$acl_cv_path_LD"
 
13491
if test -n "$LD"; then
 
13492
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
13493
$as_echo "$LD" >&6; }
 
13494
else
 
13495
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13496
$as_echo "no" >&6; }
 
13497
fi
 
13498
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
13499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
13500
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
13501
if ${acl_cv_prog_gnu_ld+:} false; then :
 
13502
  $as_echo_n "(cached) " >&6
 
13503
else
 
13504
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
13505
case `$LD -v 2>&1 </dev/null` in
 
13506
*GNU* | *'with BFD'*)
 
13507
  acl_cv_prog_gnu_ld=yes ;;
 
13508
*)
 
13509
  acl_cv_prog_gnu_ld=no ;;
 
13510
esac
 
13511
fi
 
13512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
 
13513
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
 
13514
with_gnu_ld=$acl_cv_prog_gnu_ld
 
13515
 
 
13516
 
 
13517
 
 
13518
 
 
13519
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
 
13520
$as_echo_n "checking for shared library run path origin... " >&6; }
 
13521
if ${acl_cv_rpath+:} false; then :
 
13522
  $as_echo_n "(cached) " >&6
 
13523
else
 
13524
 
 
13525
    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
 
13526
    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
 
13527
    . ./conftest.sh
 
13528
    rm -f ./conftest.sh
 
13529
    acl_cv_rpath=done
 
13530
 
 
13531
fi
 
13532
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
 
13533
$as_echo "$acl_cv_rpath" >&6; }
 
13534
  wl="$acl_cv_wl"
 
13535
  libext="$acl_cv_libext"
 
13536
  shlibext="$acl_cv_shlibext"
 
13537
  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
 
13538
  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
 
13539
  hardcode_direct="$acl_cv_hardcode_direct"
 
13540
  hardcode_minus_L="$acl_cv_hardcode_minus_L"
 
13541
    # Check whether --enable-rpath was given.
 
13542
if test "${enable_rpath+set}" = set; then :
 
13543
  enableval=$enable_rpath; :
 
13544
else
 
13545
  enable_rpath=yes
 
13546
fi
 
13547
 
 
13548
 
 
13549
 
 
13550
                  acl_libdirstem=lib
 
13551
  searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
 
13552
  if test -n "$searchpath"; then
 
13553
    acl_save_IFS="${IFS=        }"; IFS=":"
 
13554
    for searchdir in $searchpath; do
 
13555
      if test -d "$searchdir"; then
 
13556
        case "$searchdir" in
 
13557
          */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
 
13558
          *) searchdir=`cd "$searchdir" && pwd`
 
13559
             case "$searchdir" in
 
13560
               */lib64 ) acl_libdirstem=lib64 ;;
 
13561
             esac ;;
 
13562
        esac
 
13563
      fi
 
13564
    done
 
13565
    IFS="$acl_save_IFS"
 
13566
  fi
 
13567
 
 
13568
 
 
13569
 
 
13570
 
 
13571
 
 
13572
 
 
13573
 
 
13574
 
 
13575
    use_additional=yes
 
13576
 
 
13577
  acl_save_prefix="$prefix"
 
13578
  prefix="$acl_final_prefix"
 
13579
  acl_save_exec_prefix="$exec_prefix"
 
13580
  exec_prefix="$acl_final_exec_prefix"
 
13581
 
 
13582
    eval additional_includedir=\"$includedir\"
 
13583
    eval additional_libdir=\"$libdir\"
 
13584
 
 
13585
  exec_prefix="$acl_save_exec_prefix"
 
13586
  prefix="$acl_save_prefix"
 
13587
 
 
13588
 
 
13589
# Check whether --with-libiconv-prefix was given.
 
13590
if test "${with_libiconv_prefix+set}" = set; then :
 
13591
  withval=$with_libiconv_prefix;
 
13592
    if test "X$withval" = "Xno"; then
 
13593
      use_additional=no
 
13594
    else
 
13595
      if test "X$withval" = "X"; then
 
13596
 
 
13597
  acl_save_prefix="$prefix"
 
13598
  prefix="$acl_final_prefix"
 
13599
  acl_save_exec_prefix="$exec_prefix"
 
13600
  exec_prefix="$acl_final_exec_prefix"
 
13601
 
 
13602
          eval additional_includedir=\"$includedir\"
 
13603
          eval additional_libdir=\"$libdir\"
 
13604
 
 
13605
  exec_prefix="$acl_save_exec_prefix"
 
13606
  prefix="$acl_save_prefix"
 
13607
 
 
13608
      else
 
13609
        additional_includedir="$withval/include"
 
13610
        additional_libdir="$withval/$acl_libdirstem"
 
13611
      fi
 
13612
    fi
 
13613
 
 
13614
fi
 
13615
 
 
13616
      LIBICONV=
 
13617
  LTLIBICONV=
 
13618
  INCICONV=
 
13619
  rpathdirs=
 
13620
  ltrpathdirs=
 
13621
  names_already_handled=
 
13622
  names_next_round='iconv '
 
13623
  while test -n "$names_next_round"; do
 
13624
    names_this_round="$names_next_round"
 
13625
    names_next_round=
 
13626
    for name in $names_this_round; do
 
13627
      already_handled=
 
13628
      for n in $names_already_handled; do
 
13629
        if test "$n" = "$name"; then
 
13630
          already_handled=yes
 
13631
          break
 
13632
        fi
 
13633
      done
 
13634
      if test -z "$already_handled"; then
 
13635
        names_already_handled="$names_already_handled $name"
 
13636
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
13637
        eval value=\"\$HAVE_LIB$uppername\"
 
13638
        if test -n "$value"; then
 
13639
          if test "$value" = yes; then
 
13640
            eval value=\"\$LIB$uppername\"
 
13641
            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
 
13642
            eval value=\"\$LTLIB$uppername\"
 
13643
            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
 
13644
          else
 
13645
                                    :
 
13646
          fi
 
13647
        else
 
13648
                              found_dir=
 
13649
          found_la=
 
13650
          found_so=
 
13651
          found_a=
 
13652
          if test $use_additional = yes; then
 
13653
            if test -n "$shlibext" \
 
13654
               && { test -f "$additional_libdir/lib$name.$shlibext" \
 
13655
                    || { test "$shlibext" = dll \
 
13656
                         && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
 
13657
              found_dir="$additional_libdir"
 
13658
              if test -f "$additional_libdir/lib$name.$shlibext"; then
 
13659
                found_so="$additional_libdir/lib$name.$shlibext"
 
13660
              else
 
13661
                found_so="$additional_libdir/lib$name.dll.a"
 
13662
              fi
 
13663
              if test -f "$additional_libdir/lib$name.la"; then
 
13664
                found_la="$additional_libdir/lib$name.la"
 
13665
              fi
 
13666
            else
 
13667
              if test -f "$additional_libdir/lib$name.$libext"; then
 
13668
                found_dir="$additional_libdir"
 
13669
                found_a="$additional_libdir/lib$name.$libext"
 
13670
                if test -f "$additional_libdir/lib$name.la"; then
 
13671
                  found_la="$additional_libdir/lib$name.la"
 
13672
                fi
 
13673
              fi
 
13674
            fi
 
13675
          fi
 
13676
          if test "X$found_dir" = "X"; then
 
13677
            for x in $LDFLAGS $LTLIBICONV; do
 
13678
 
 
13679
  acl_save_prefix="$prefix"
 
13680
  prefix="$acl_final_prefix"
 
13681
  acl_save_exec_prefix="$exec_prefix"
 
13682
  exec_prefix="$acl_final_exec_prefix"
 
13683
  eval x=\"$x\"
 
13684
  exec_prefix="$acl_save_exec_prefix"
 
13685
  prefix="$acl_save_prefix"
 
13686
 
 
13687
              case "$x" in
 
13688
                -L*)
 
13689
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
13690
                  if test -n "$shlibext" \
 
13691
                     && { test -f "$dir/lib$name.$shlibext" \
 
13692
                          || { test "$shlibext" = dll \
 
13693
                               && test -f "$dir/lib$name.dll.a"; }; }; then
 
13694
                    found_dir="$dir"
 
13695
                    if test -f "$dir/lib$name.$shlibext"; then
 
13696
                      found_so="$dir/lib$name.$shlibext"
 
13697
                    else
 
13698
                      found_so="$dir/lib$name.dll.a"
 
13699
                    fi
 
13700
                    if test -f "$dir/lib$name.la"; then
 
13701
                      found_la="$dir/lib$name.la"
 
13702
                    fi
 
13703
                  else
 
13704
                    if test -f "$dir/lib$name.$libext"; then
 
13705
                      found_dir="$dir"
 
13706
                      found_a="$dir/lib$name.$libext"
 
13707
                      if test -f "$dir/lib$name.la"; then
 
13708
                        found_la="$dir/lib$name.la"
 
13709
                      fi
 
13710
                    fi
 
13711
                  fi
 
13712
                  ;;
 
13713
              esac
 
13714
              if test "X$found_dir" != "X"; then
 
13715
                break
 
13716
              fi
 
13717
            done
 
13718
          fi
 
13719
          if test "X$found_dir" != "X"; then
 
13720
                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
 
13721
            if test "X$found_so" != "X"; then
 
13722
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
 
13723
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
13724
              else
 
13725
                                                                                haveit=
 
13726
                for x in $ltrpathdirs; do
 
13727
                  if test "X$x" = "X$found_dir"; then
 
13728
                    haveit=yes
 
13729
                    break
 
13730
                  fi
 
13731
                done
 
13732
                if test -z "$haveit"; then
 
13733
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
13734
                fi
 
13735
                                if test "$hardcode_direct" = yes; then
 
13736
                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
13737
                else
 
13738
                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
 
13739
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
13740
                                                            haveit=
 
13741
                    for x in $rpathdirs; do
 
13742
                      if test "X$x" = "X$found_dir"; then
 
13743
                        haveit=yes
 
13744
                        break
 
13745
                      fi
 
13746
                    done
 
13747
                    if test -z "$haveit"; then
 
13748
                      rpathdirs="$rpathdirs $found_dir"
 
13749
                    fi
 
13750
                  else
 
13751
                                                                                haveit=
 
13752
                    for x in $LDFLAGS $LIBICONV; do
 
13753
 
 
13754
  acl_save_prefix="$prefix"
 
13755
  prefix="$acl_final_prefix"
 
13756
  acl_save_exec_prefix="$exec_prefix"
 
13757
  exec_prefix="$acl_final_exec_prefix"
 
13758
  eval x=\"$x\"
 
13759
  exec_prefix="$acl_save_exec_prefix"
 
13760
  prefix="$acl_save_prefix"
 
13761
 
 
13762
                      if test "X$x" = "X-L$found_dir"; then
 
13763
                        haveit=yes
 
13764
                        break
 
13765
                      fi
 
13766
                    done
 
13767
                    if test -z "$haveit"; then
 
13768
                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
 
13769
                    fi
 
13770
                    if test "$hardcode_minus_L" != no; then
 
13771
                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
13772
                    else
 
13773
                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
13774
                    fi
 
13775
                  fi
 
13776
                fi
 
13777
              fi
 
13778
            else
 
13779
              if test "X$found_a" != "X"; then
 
13780
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
 
13781
              else
 
13782
                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
 
13783
              fi
 
13784
            fi
 
13785
                        additional_includedir=
 
13786
            case "$found_dir" in
 
13787
              */$acl_libdirstem | */$acl_libdirstem/)
 
13788
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
13789
                additional_includedir="$basedir/include"
 
13790
                ;;
 
13791
            esac
 
13792
            if test "X$additional_includedir" != "X"; then
 
13793
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
13794
                haveit=
 
13795
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
13796
                  if test -n "$GCC"; then
 
13797
                    case $host_os in
 
13798
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
13799
                    esac
 
13800
                  fi
 
13801
                fi
 
13802
                if test -z "$haveit"; then
 
13803
                  for x in $CPPFLAGS $INCICONV; do
 
13804
 
 
13805
  acl_save_prefix="$prefix"
 
13806
  prefix="$acl_final_prefix"
 
13807
  acl_save_exec_prefix="$exec_prefix"
 
13808
  exec_prefix="$acl_final_exec_prefix"
 
13809
  eval x=\"$x\"
 
13810
  exec_prefix="$acl_save_exec_prefix"
 
13811
  prefix="$acl_save_prefix"
 
13812
 
 
13813
                    if test "X$x" = "X-I$additional_includedir"; then
 
13814
                      haveit=yes
 
13815
                      break
 
13816
                    fi
 
13817
                  done
 
13818
                  if test -z "$haveit"; then
 
13819
                    if test -d "$additional_includedir"; then
 
13820
                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
 
13821
                    fi
 
13822
                  fi
 
13823
                fi
 
13824
              fi
 
13825
            fi
 
13826
                        if test -n "$found_la"; then
 
13827
                                                        save_libdir="$libdir"
 
13828
              case "$found_la" in
 
13829
                */* | *\\*) . "$found_la" ;;
 
13830
                *) . "./$found_la" ;;
 
13831
              esac
 
13832
              libdir="$save_libdir"
 
13833
                            for dep in $dependency_libs; do
 
13834
                case "$dep" in
 
13835
                  -L*)
 
13836
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
13837
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
13838
                      haveit=
 
13839
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
13840
                        if test -n "$GCC"; then
 
13841
                          case $host_os in
 
13842
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
13843
                          esac
 
13844
                        fi
 
13845
                      fi
 
13846
                      if test -z "$haveit"; then
 
13847
                        haveit=
 
13848
                        for x in $LDFLAGS $LIBICONV; do
 
13849
 
 
13850
  acl_save_prefix="$prefix"
 
13851
  prefix="$acl_final_prefix"
 
13852
  acl_save_exec_prefix="$exec_prefix"
 
13853
  exec_prefix="$acl_final_exec_prefix"
 
13854
  eval x=\"$x\"
 
13855
  exec_prefix="$acl_save_exec_prefix"
 
13856
  prefix="$acl_save_prefix"
 
13857
 
 
13858
                          if test "X$x" = "X-L$additional_libdir"; then
 
13859
                            haveit=yes
 
13860
                            break
 
13861
                          fi
 
13862
                        done
 
13863
                        if test -z "$haveit"; then
 
13864
                          if test -d "$additional_libdir"; then
 
13865
                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
 
13866
                          fi
 
13867
                        fi
 
13868
                        haveit=
 
13869
                        for x in $LDFLAGS $LTLIBICONV; do
 
13870
 
 
13871
  acl_save_prefix="$prefix"
 
13872
  prefix="$acl_final_prefix"
 
13873
  acl_save_exec_prefix="$exec_prefix"
 
13874
  exec_prefix="$acl_final_exec_prefix"
 
13875
  eval x=\"$x\"
 
13876
  exec_prefix="$acl_save_exec_prefix"
 
13877
  prefix="$acl_save_prefix"
 
13878
 
 
13879
                          if test "X$x" = "X-L$additional_libdir"; then
 
13880
                            haveit=yes
 
13881
                            break
 
13882
                          fi
 
13883
                        done
 
13884
                        if test -z "$haveit"; then
 
13885
                          if test -d "$additional_libdir"; then
 
13886
                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
 
13887
                          fi
 
13888
                        fi
 
13889
                      fi
 
13890
                    fi
 
13891
                    ;;
 
13892
                  -R*)
 
13893
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
13894
                    if test "$enable_rpath" != no; then
 
13895
                                                                  haveit=
 
13896
                      for x in $rpathdirs; do
 
13897
                        if test "X$x" = "X$dir"; then
 
13898
                          haveit=yes
 
13899
                          break
 
13900
                        fi
 
13901
                      done
 
13902
                      if test -z "$haveit"; then
 
13903
                        rpathdirs="$rpathdirs $dir"
 
13904
                      fi
 
13905
                                                                  haveit=
 
13906
                      for x in $ltrpathdirs; do
 
13907
                        if test "X$x" = "X$dir"; then
 
13908
                          haveit=yes
 
13909
                          break
 
13910
                        fi
 
13911
                      done
 
13912
                      if test -z "$haveit"; then
 
13913
                        ltrpathdirs="$ltrpathdirs $dir"
 
13914
                      fi
 
13915
                    fi
 
13916
                    ;;
 
13917
                  -l*)
 
13918
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
13919
                    ;;
 
13920
                  *.la)
 
13921
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
13922
                    ;;
 
13923
                  *)
 
13924
                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
 
13925
                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
 
13926
                    ;;
 
13927
                esac
 
13928
              done
 
13929
            fi
 
13930
          else
 
13931
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
13932
            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
 
13933
          fi
 
13934
        fi
 
13935
      fi
 
13936
    done
 
13937
  done
 
13938
  if test "X$rpathdirs" != "X"; then
 
13939
    if test -n "$hardcode_libdir_separator"; then
 
13940
                        alldirs=
 
13941
      for found_dir in $rpathdirs; do
 
13942
        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
 
13943
      done
 
13944
            acl_save_libdir="$libdir"
 
13945
      libdir="$alldirs"
 
13946
      eval flag=\"$hardcode_libdir_flag_spec\"
 
13947
      libdir="$acl_save_libdir"
 
13948
      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
13949
    else
 
13950
            for found_dir in $rpathdirs; do
 
13951
        acl_save_libdir="$libdir"
 
13952
        libdir="$found_dir"
 
13953
        eval flag=\"$hardcode_libdir_flag_spec\"
 
13954
        libdir="$acl_save_libdir"
 
13955
        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
13956
      done
 
13957
    fi
 
13958
  fi
 
13959
  if test "X$ltrpathdirs" != "X"; then
 
13960
            for found_dir in $ltrpathdirs; do
 
13961
      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
 
13962
    done
 
13963
  fi
 
13964
 
 
13965
 
 
13966
 
 
13967
 
 
13968
 
 
13969
 
 
13970
 
 
13971
 
 
13972
 
 
13973
 
 
13974
 
 
13975
 
 
13976
 
 
13977
 
 
13978
 
 
13979
 
 
13980
 
 
13981
 
 
13982
 
 
13983
 
 
13984
 
 
13985
 
 
13986
 
 
13987
 
 
13988
 
 
13989
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
 
13990
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
 
13991
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
 
13992
  $as_echo_n "(cached) " >&6
 
13993
else
 
13994
  gt_save_LIBS="$LIBS"
 
13995
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
13996
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13997
/* end confdefs.h.  */
 
13998
#include <CoreFoundation/CFPreferences.h>
 
13999
int
 
14000
main ()
 
14001
{
 
14002
CFPreferencesCopyAppValue(NULL, NULL)
 
14003
  ;
 
14004
  return 0;
 
14005
}
 
14006
_ACEOF
 
14007
if ac_fn_c_try_link "$LINENO"; then :
 
14008
  gt_cv_func_CFPreferencesCopyAppValue=yes
 
14009
else
 
14010
  gt_cv_func_CFPreferencesCopyAppValue=no
 
14011
fi
 
14012
rm -f core conftest.err conftest.$ac_objext \
 
14013
    conftest$ac_exeext conftest.$ac_ext
 
14014
     LIBS="$gt_save_LIBS"
 
14015
fi
 
14016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
 
14017
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
 
14018
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
 
14019
 
 
14020
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
 
14021
 
 
14022
  fi
 
14023
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
 
14024
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
 
14025
if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
 
14026
  $as_echo_n "(cached) " >&6
 
14027
else
 
14028
  gt_save_LIBS="$LIBS"
 
14029
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
14030
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14031
/* end confdefs.h.  */
 
14032
#include <CoreFoundation/CFLocale.h>
 
14033
int
 
14034
main ()
 
14035
{
 
14036
CFLocaleCopyCurrent();
 
14037
  ;
 
14038
  return 0;
 
14039
}
 
14040
_ACEOF
 
14041
if ac_fn_c_try_link "$LINENO"; then :
 
14042
  gt_cv_func_CFLocaleCopyCurrent=yes
 
14043
else
 
14044
  gt_cv_func_CFLocaleCopyCurrent=no
 
14045
fi
 
14046
rm -f core conftest.err conftest.$ac_objext \
 
14047
    conftest$ac_exeext conftest.$ac_ext
 
14048
     LIBS="$gt_save_LIBS"
 
14049
fi
 
14050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
 
14051
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
 
14052
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
14053
 
 
14054
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
 
14055
 
 
14056
  fi
 
14057
  INTL_MACOSX_LIBS=
 
14058
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
14059
    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
 
14060
  fi
 
14061
 
 
14062
 
 
14063
 
 
14064
 
 
14065
 
 
14066
 
 
14067
  LIBINTL=
 
14068
  LTLIBINTL=
 
14069
  POSUB=
 
14070
 
 
14071
    case " $gt_needs " in
 
14072
    *" need-formatstring-macros "*) gt_api_version=3 ;;
 
14073
    *" need-ngettext "*) gt_api_version=2 ;;
 
14074
    *) gt_api_version=1 ;;
 
14075
  esac
 
14076
  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
 
14077
  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
 
14078
 
 
14079
    if test "$USE_NLS" = "yes"; then
 
14080
    gt_use_preinstalled_gnugettext=no
 
14081
 
 
14082
 
 
14083
        if test $gt_api_version -ge 3; then
 
14084
          gt_revision_test_code='
 
14085
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
 
14086
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
 
14087
#endif
 
14088
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
 
14089
'
 
14090
        else
 
14091
          gt_revision_test_code=
 
14092
        fi
 
14093
        if test $gt_api_version -ge 2; then
 
14094
          gt_expression_test_code=' + * ngettext ("", "", 0)'
 
14095
        else
 
14096
          gt_expression_test_code=
 
14097
        fi
 
14098
 
 
14099
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
 
14100
$as_echo_n "checking for GNU gettext in libc... " >&6; }
 
14101
if eval \${$gt_func_gnugettext_libc+:} false; then :
 
14102
  $as_echo_n "(cached) " >&6
 
14103
else
 
14104
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14105
/* end confdefs.h.  */
 
14106
#include <libintl.h>
 
14107
$gt_revision_test_code
 
14108
extern int _nl_msg_cat_cntr;
 
14109
extern int *_nl_domain_bindings;
 
14110
int
 
14111
main ()
 
14112
{
 
14113
bindtextdomain ("", "");
 
14114
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
 
14115
  ;
 
14116
  return 0;
 
14117
}
 
14118
_ACEOF
 
14119
if ac_fn_c_try_link "$LINENO"; then :
 
14120
  eval "$gt_func_gnugettext_libc=yes"
 
14121
else
 
14122
  eval "$gt_func_gnugettext_libc=no"
 
14123
fi
 
14124
rm -f core conftest.err conftest.$ac_objext \
 
14125
    conftest$ac_exeext conftest.$ac_ext
 
14126
fi
 
14127
eval ac_res=\$$gt_func_gnugettext_libc
 
14128
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
14129
$as_echo "$ac_res" >&6; }
 
14130
 
 
14131
        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
 
14132
 
 
14133
 
 
14134
 
 
14135
 
 
14136
 
 
14137
          am_save_CPPFLAGS="$CPPFLAGS"
 
14138
 
 
14139
  for element in $INCICONV; do
 
14140
    haveit=
 
14141
    for x in $CPPFLAGS; do
 
14142
 
 
14143
  acl_save_prefix="$prefix"
 
14144
  prefix="$acl_final_prefix"
 
14145
  acl_save_exec_prefix="$exec_prefix"
 
14146
  exec_prefix="$acl_final_exec_prefix"
 
14147
  eval x=\"$x\"
 
14148
  exec_prefix="$acl_save_exec_prefix"
 
14149
  prefix="$acl_save_prefix"
 
14150
 
 
14151
      if test "X$x" = "X$element"; then
 
14152
        haveit=yes
 
14153
        break
 
14154
      fi
 
14155
    done
 
14156
    if test -z "$haveit"; then
 
14157
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
14158
    fi
 
14159
  done
 
14160
 
 
14161
 
 
14162
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
 
14163
$as_echo_n "checking for iconv... " >&6; }
 
14164
if ${am_cv_func_iconv+:} false; then :
 
14165
  $as_echo_n "(cached) " >&6
 
14166
else
 
14167
 
 
14168
    am_cv_func_iconv="no, consider installing GNU libiconv"
 
14169
    am_cv_lib_iconv=no
 
14170
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14171
/* end confdefs.h.  */
 
14172
#include <stdlib.h>
 
14173
#include <iconv.h>
 
14174
int
 
14175
main ()
 
14176
{
 
14177
iconv_t cd = iconv_open("","");
 
14178
       iconv(cd,NULL,NULL,NULL,NULL);
 
14179
       iconv_close(cd);
 
14180
  ;
 
14181
  return 0;
 
14182
}
 
14183
_ACEOF
 
14184
if ac_fn_c_try_link "$LINENO"; then :
 
14185
  am_cv_func_iconv=yes
 
14186
fi
 
14187
rm -f core conftest.err conftest.$ac_objext \
 
14188
    conftest$ac_exeext conftest.$ac_ext
 
14189
    if test "$am_cv_func_iconv" != yes; then
 
14190
      am_save_LIBS="$LIBS"
 
14191
      LIBS="$LIBS $LIBICONV"
 
14192
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14193
/* end confdefs.h.  */
 
14194
#include <stdlib.h>
 
14195
#include <iconv.h>
 
14196
int
 
14197
main ()
 
14198
{
 
14199
iconv_t cd = iconv_open("","");
 
14200
         iconv(cd,NULL,NULL,NULL,NULL);
 
14201
         iconv_close(cd);
 
14202
  ;
 
14203
  return 0;
 
14204
}
 
14205
_ACEOF
 
14206
if ac_fn_c_try_link "$LINENO"; then :
 
14207
  am_cv_lib_iconv=yes
 
14208
        am_cv_func_iconv=yes
 
14209
fi
 
14210
rm -f core conftest.err conftest.$ac_objext \
 
14211
    conftest$ac_exeext conftest.$ac_ext
 
14212
      LIBS="$am_save_LIBS"
 
14213
    fi
 
14214
 
 
14215
fi
 
14216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
 
14217
$as_echo "$am_cv_func_iconv" >&6; }
 
14218
  if test "$am_cv_func_iconv" = yes; then
 
14219
 
 
14220
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
 
14221
 
 
14222
  fi
 
14223
  if test "$am_cv_lib_iconv" = yes; then
 
14224
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
 
14225
$as_echo_n "checking how to link with libiconv... " >&6; }
 
14226
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
 
14227
$as_echo "$LIBICONV" >&6; }
 
14228
  else
 
14229
            CPPFLAGS="$am_save_CPPFLAGS"
 
14230
    LIBICONV=
 
14231
    LTLIBICONV=
 
14232
  fi
 
14233
 
 
14234
 
 
14235
 
 
14236
 
 
14237
 
 
14238
 
 
14239
 
 
14240
    use_additional=yes
 
14241
 
 
14242
  acl_save_prefix="$prefix"
 
14243
  prefix="$acl_final_prefix"
 
14244
  acl_save_exec_prefix="$exec_prefix"
 
14245
  exec_prefix="$acl_final_exec_prefix"
 
14246
 
 
14247
    eval additional_includedir=\"$includedir\"
 
14248
    eval additional_libdir=\"$libdir\"
 
14249
 
 
14250
  exec_prefix="$acl_save_exec_prefix"
 
14251
  prefix="$acl_save_prefix"
 
14252
 
 
14253
 
 
14254
# Check whether --with-libintl-prefix was given.
 
14255
if test "${with_libintl_prefix+set}" = set; then :
 
14256
  withval=$with_libintl_prefix;
 
14257
    if test "X$withval" = "Xno"; then
 
14258
      use_additional=no
 
14259
    else
 
14260
      if test "X$withval" = "X"; then
 
14261
 
 
14262
  acl_save_prefix="$prefix"
 
14263
  prefix="$acl_final_prefix"
 
14264
  acl_save_exec_prefix="$exec_prefix"
 
14265
  exec_prefix="$acl_final_exec_prefix"
 
14266
 
 
14267
          eval additional_includedir=\"$includedir\"
 
14268
          eval additional_libdir=\"$libdir\"
 
14269
 
 
14270
  exec_prefix="$acl_save_exec_prefix"
 
14271
  prefix="$acl_save_prefix"
 
14272
 
 
14273
      else
 
14274
        additional_includedir="$withval/include"
 
14275
        additional_libdir="$withval/$acl_libdirstem"
 
14276
      fi
 
14277
    fi
 
14278
 
 
14279
fi
 
14280
 
 
14281
      LIBINTL=
 
14282
  LTLIBINTL=
 
14283
  INCINTL=
 
14284
  rpathdirs=
 
14285
  ltrpathdirs=
 
14286
  names_already_handled=
 
14287
  names_next_round='intl '
 
14288
  while test -n "$names_next_round"; do
 
14289
    names_this_round="$names_next_round"
 
14290
    names_next_round=
 
14291
    for name in $names_this_round; do
 
14292
      already_handled=
 
14293
      for n in $names_already_handled; do
 
14294
        if test "$n" = "$name"; then
 
14295
          already_handled=yes
 
14296
          break
 
14297
        fi
 
14298
      done
 
14299
      if test -z "$already_handled"; then
 
14300
        names_already_handled="$names_already_handled $name"
 
14301
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
14302
        eval value=\"\$HAVE_LIB$uppername\"
 
14303
        if test -n "$value"; then
 
14304
          if test "$value" = yes; then
 
14305
            eval value=\"\$LIB$uppername\"
 
14306
            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
 
14307
            eval value=\"\$LTLIB$uppername\"
 
14308
            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
 
14309
          else
 
14310
                                    :
 
14311
          fi
 
14312
        else
 
14313
                              found_dir=
 
14314
          found_la=
 
14315
          found_so=
 
14316
          found_a=
 
14317
          if test $use_additional = yes; then
 
14318
            if test -n "$shlibext" \
 
14319
               && { test -f "$additional_libdir/lib$name.$shlibext" \
 
14320
                    || { test "$shlibext" = dll \
 
14321
                         && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
 
14322
              found_dir="$additional_libdir"
 
14323
              if test -f "$additional_libdir/lib$name.$shlibext"; then
 
14324
                found_so="$additional_libdir/lib$name.$shlibext"
 
14325
              else
 
14326
                found_so="$additional_libdir/lib$name.dll.a"
 
14327
              fi
 
14328
              if test -f "$additional_libdir/lib$name.la"; then
 
14329
                found_la="$additional_libdir/lib$name.la"
 
14330
              fi
 
14331
            else
 
14332
              if test -f "$additional_libdir/lib$name.$libext"; then
 
14333
                found_dir="$additional_libdir"
 
14334
                found_a="$additional_libdir/lib$name.$libext"
 
14335
                if test -f "$additional_libdir/lib$name.la"; then
 
14336
                  found_la="$additional_libdir/lib$name.la"
 
14337
                fi
 
14338
              fi
 
14339
            fi
 
14340
          fi
 
14341
          if test "X$found_dir" = "X"; then
 
14342
            for x in $LDFLAGS $LTLIBINTL; do
 
14343
 
 
14344
  acl_save_prefix="$prefix"
 
14345
  prefix="$acl_final_prefix"
 
14346
  acl_save_exec_prefix="$exec_prefix"
 
14347
  exec_prefix="$acl_final_exec_prefix"
 
14348
  eval x=\"$x\"
 
14349
  exec_prefix="$acl_save_exec_prefix"
 
14350
  prefix="$acl_save_prefix"
 
14351
 
 
14352
              case "$x" in
 
14353
                -L*)
 
14354
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
14355
                  if test -n "$shlibext" \
 
14356
                     && { test -f "$dir/lib$name.$shlibext" \
 
14357
                          || { test "$shlibext" = dll \
 
14358
                               && test -f "$dir/lib$name.dll.a"; }; }; then
 
14359
                    found_dir="$dir"
 
14360
                    if test -f "$dir/lib$name.$shlibext"; then
 
14361
                      found_so="$dir/lib$name.$shlibext"
 
14362
                    else
 
14363
                      found_so="$dir/lib$name.dll.a"
 
14364
                    fi
 
14365
                    if test -f "$dir/lib$name.la"; then
 
14366
                      found_la="$dir/lib$name.la"
 
14367
                    fi
 
14368
                  else
 
14369
                    if test -f "$dir/lib$name.$libext"; then
 
14370
                      found_dir="$dir"
 
14371
                      found_a="$dir/lib$name.$libext"
 
14372
                      if test -f "$dir/lib$name.la"; then
 
14373
                        found_la="$dir/lib$name.la"
 
14374
                      fi
 
14375
                    fi
 
14376
                  fi
 
14377
                  ;;
 
14378
              esac
 
14379
              if test "X$found_dir" != "X"; then
 
14380
                break
 
14381
              fi
 
14382
            done
 
14383
          fi
 
14384
          if test "X$found_dir" != "X"; then
 
14385
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
 
14386
            if test "X$found_so" != "X"; then
 
14387
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
 
14388
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
14389
              else
 
14390
                                                                                haveit=
 
14391
                for x in $ltrpathdirs; do
 
14392
                  if test "X$x" = "X$found_dir"; then
 
14393
                    haveit=yes
 
14394
                    break
 
14395
                  fi
 
14396
                done
 
14397
                if test -z "$haveit"; then
 
14398
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
14399
                fi
 
14400
                                if test "$hardcode_direct" = yes; then
 
14401
                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
14402
                else
 
14403
                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
 
14404
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
14405
                                                            haveit=
 
14406
                    for x in $rpathdirs; do
 
14407
                      if test "X$x" = "X$found_dir"; then
 
14408
                        haveit=yes
 
14409
                        break
 
14410
                      fi
 
14411
                    done
 
14412
                    if test -z "$haveit"; then
 
14413
                      rpathdirs="$rpathdirs $found_dir"
 
14414
                    fi
 
14415
                  else
 
14416
                                                                                haveit=
 
14417
                    for x in $LDFLAGS $LIBINTL; do
 
14418
 
 
14419
  acl_save_prefix="$prefix"
 
14420
  prefix="$acl_final_prefix"
 
14421
  acl_save_exec_prefix="$exec_prefix"
 
14422
  exec_prefix="$acl_final_exec_prefix"
 
14423
  eval x=\"$x\"
 
14424
  exec_prefix="$acl_save_exec_prefix"
 
14425
  prefix="$acl_save_prefix"
 
14426
 
 
14427
                      if test "X$x" = "X-L$found_dir"; then
 
14428
                        haveit=yes
 
14429
                        break
 
14430
                      fi
 
14431
                    done
 
14432
                    if test -z "$haveit"; then
 
14433
                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
 
14434
                    fi
 
14435
                    if test "$hardcode_minus_L" != no; then
 
14436
                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
14437
                    else
 
14438
                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
14439
                    fi
 
14440
                  fi
 
14441
                fi
 
14442
              fi
 
14443
            else
 
14444
              if test "X$found_a" != "X"; then
 
14445
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
 
14446
              else
 
14447
                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
 
14448
              fi
 
14449
            fi
 
14450
                        additional_includedir=
 
14451
            case "$found_dir" in
 
14452
              */$acl_libdirstem | */$acl_libdirstem/)
 
14453
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
14454
                additional_includedir="$basedir/include"
 
14455
                ;;
 
14456
            esac
 
14457
            if test "X$additional_includedir" != "X"; then
 
14458
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
14459
                haveit=
 
14460
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
14461
                  if test -n "$GCC"; then
 
14462
                    case $host_os in
 
14463
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
14464
                    esac
 
14465
                  fi
 
14466
                fi
 
14467
                if test -z "$haveit"; then
 
14468
                  for x in $CPPFLAGS $INCINTL; do
 
14469
 
 
14470
  acl_save_prefix="$prefix"
 
14471
  prefix="$acl_final_prefix"
 
14472
  acl_save_exec_prefix="$exec_prefix"
 
14473
  exec_prefix="$acl_final_exec_prefix"
 
14474
  eval x=\"$x\"
 
14475
  exec_prefix="$acl_save_exec_prefix"
 
14476
  prefix="$acl_save_prefix"
 
14477
 
 
14478
                    if test "X$x" = "X-I$additional_includedir"; then
 
14479
                      haveit=yes
 
14480
                      break
 
14481
                    fi
 
14482
                  done
 
14483
                  if test -z "$haveit"; then
 
14484
                    if test -d "$additional_includedir"; then
 
14485
                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
 
14486
                    fi
 
14487
                  fi
 
14488
                fi
 
14489
              fi
 
14490
            fi
 
14491
                        if test -n "$found_la"; then
 
14492
                                                        save_libdir="$libdir"
 
14493
              case "$found_la" in
 
14494
                */* | *\\*) . "$found_la" ;;
 
14495
                *) . "./$found_la" ;;
 
14496
              esac
 
14497
              libdir="$save_libdir"
 
14498
                            for dep in $dependency_libs; do
 
14499
                case "$dep" in
 
14500
                  -L*)
 
14501
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
14502
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
14503
                      haveit=
 
14504
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
14505
                        if test -n "$GCC"; then
 
14506
                          case $host_os in
 
14507
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
14508
                          esac
 
14509
                        fi
 
14510
                      fi
 
14511
                      if test -z "$haveit"; then
 
14512
                        haveit=
 
14513
                        for x in $LDFLAGS $LIBINTL; do
 
14514
 
 
14515
  acl_save_prefix="$prefix"
 
14516
  prefix="$acl_final_prefix"
 
14517
  acl_save_exec_prefix="$exec_prefix"
 
14518
  exec_prefix="$acl_final_exec_prefix"
 
14519
  eval x=\"$x\"
 
14520
  exec_prefix="$acl_save_exec_prefix"
 
14521
  prefix="$acl_save_prefix"
 
14522
 
 
14523
                          if test "X$x" = "X-L$additional_libdir"; then
 
14524
                            haveit=yes
 
14525
                            break
 
14526
                          fi
 
14527
                        done
 
14528
                        if test -z "$haveit"; then
 
14529
                          if test -d "$additional_libdir"; then
 
14530
                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
 
14531
                          fi
 
14532
                        fi
 
14533
                        haveit=
 
14534
                        for x in $LDFLAGS $LTLIBINTL; do
 
14535
 
 
14536
  acl_save_prefix="$prefix"
 
14537
  prefix="$acl_final_prefix"
 
14538
  acl_save_exec_prefix="$exec_prefix"
 
14539
  exec_prefix="$acl_final_exec_prefix"
 
14540
  eval x=\"$x\"
 
14541
  exec_prefix="$acl_save_exec_prefix"
 
14542
  prefix="$acl_save_prefix"
 
14543
 
 
14544
                          if test "X$x" = "X-L$additional_libdir"; then
 
14545
                            haveit=yes
 
14546
                            break
 
14547
                          fi
 
14548
                        done
 
14549
                        if test -z "$haveit"; then
 
14550
                          if test -d "$additional_libdir"; then
 
14551
                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
 
14552
                          fi
 
14553
                        fi
 
14554
                      fi
 
14555
                    fi
 
14556
                    ;;
 
14557
                  -R*)
 
14558
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
14559
                    if test "$enable_rpath" != no; then
 
14560
                                                                  haveit=
 
14561
                      for x in $rpathdirs; do
 
14562
                        if test "X$x" = "X$dir"; then
 
14563
                          haveit=yes
 
14564
                          break
 
14565
                        fi
 
14566
                      done
 
14567
                      if test -z "$haveit"; then
 
14568
                        rpathdirs="$rpathdirs $dir"
 
14569
                      fi
 
14570
                                                                  haveit=
 
14571
                      for x in $ltrpathdirs; do
 
14572
                        if test "X$x" = "X$dir"; then
 
14573
                          haveit=yes
 
14574
                          break
 
14575
                        fi
 
14576
                      done
 
14577
                      if test -z "$haveit"; then
 
14578
                        ltrpathdirs="$ltrpathdirs $dir"
 
14579
                      fi
 
14580
                    fi
 
14581
                    ;;
 
14582
                  -l*)
 
14583
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
14584
                    ;;
 
14585
                  *.la)
 
14586
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
14587
                    ;;
 
14588
                  *)
 
14589
                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
 
14590
                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
 
14591
                    ;;
 
14592
                esac
 
14593
              done
 
14594
            fi
 
14595
          else
 
14596
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
14597
            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
 
14598
          fi
 
14599
        fi
 
14600
      fi
 
14601
    done
 
14602
  done
 
14603
  if test "X$rpathdirs" != "X"; then
 
14604
    if test -n "$hardcode_libdir_separator"; then
 
14605
                        alldirs=
 
14606
      for found_dir in $rpathdirs; do
 
14607
        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
 
14608
      done
 
14609
            acl_save_libdir="$libdir"
 
14610
      libdir="$alldirs"
 
14611
      eval flag=\"$hardcode_libdir_flag_spec\"
 
14612
      libdir="$acl_save_libdir"
 
14613
      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
14614
    else
 
14615
            for found_dir in $rpathdirs; do
 
14616
        acl_save_libdir="$libdir"
 
14617
        libdir="$found_dir"
 
14618
        eval flag=\"$hardcode_libdir_flag_spec\"
 
14619
        libdir="$acl_save_libdir"
 
14620
        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
14621
      done
 
14622
    fi
 
14623
  fi
 
14624
  if test "X$ltrpathdirs" != "X"; then
 
14625
            for found_dir in $ltrpathdirs; do
 
14626
      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
 
14627
    done
 
14628
  fi
 
14629
 
 
14630
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
 
14631
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
 
14632
if eval \${$gt_func_gnugettext_libintl+:} false; then :
 
14633
  $as_echo_n "(cached) " >&6
 
14634
else
 
14635
  gt_save_CPPFLAGS="$CPPFLAGS"
 
14636
            CPPFLAGS="$CPPFLAGS $INCINTL"
 
14637
            gt_save_LIBS="$LIBS"
 
14638
            LIBS="$LIBS $LIBINTL"
 
14639
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14640
/* end confdefs.h.  */
 
14641
#include <libintl.h>
 
14642
$gt_revision_test_code
 
14643
extern int _nl_msg_cat_cntr;
 
14644
extern
 
14645
#ifdef __cplusplus
 
14646
"C"
 
14647
#endif
 
14648
const char *_nl_expand_alias (const char *);
 
14649
int
 
14650
main ()
 
14651
{
 
14652
bindtextdomain ("", "");
 
14653
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
14654
  ;
 
14655
  return 0;
 
14656
}
 
14657
_ACEOF
 
14658
if ac_fn_c_try_link "$LINENO"; then :
 
14659
  eval "$gt_func_gnugettext_libintl=yes"
 
14660
else
 
14661
  eval "$gt_func_gnugettext_libintl=no"
 
14662
fi
 
14663
rm -f core conftest.err conftest.$ac_objext \
 
14664
    conftest$ac_exeext conftest.$ac_ext
 
14665
                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
 
14666
              LIBS="$LIBS $LIBICONV"
 
14667
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14668
/* end confdefs.h.  */
 
14669
#include <libintl.h>
 
14670
$gt_revision_test_code
 
14671
extern int _nl_msg_cat_cntr;
 
14672
extern
 
14673
#ifdef __cplusplus
 
14674
"C"
 
14675
#endif
 
14676
const char *_nl_expand_alias (const char *);
 
14677
int
 
14678
main ()
 
14679
{
 
14680
bindtextdomain ("", "");
 
14681
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
14682
  ;
 
14683
  return 0;
 
14684
}
 
14685
_ACEOF
 
14686
if ac_fn_c_try_link "$LINENO"; then :
 
14687
  LIBINTL="$LIBINTL $LIBICONV"
 
14688
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
 
14689
                eval "$gt_func_gnugettext_libintl=yes"
 
14690
 
 
14691
fi
 
14692
rm -f core conftest.err conftest.$ac_objext \
 
14693
    conftest$ac_exeext conftest.$ac_ext
 
14694
            fi
 
14695
            CPPFLAGS="$gt_save_CPPFLAGS"
 
14696
            LIBS="$gt_save_LIBS"
 
14697
fi
 
14698
eval ac_res=\$$gt_func_gnugettext_libintl
 
14699
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
14700
$as_echo "$ac_res" >&6; }
 
14701
        fi
 
14702
 
 
14703
                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
 
14704
           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
 
14705
                && test "$PACKAGE" != gettext-runtime \
 
14706
                && test "$PACKAGE" != gettext-tools; }; then
 
14707
          gt_use_preinstalled_gnugettext=yes
 
14708
        else
 
14709
                    LIBINTL=
 
14710
          LTLIBINTL=
 
14711
          INCINTL=
 
14712
        fi
 
14713
 
 
14714
 
 
14715
 
 
14716
    if test -n "$INTL_MACOSX_LIBS"; then
 
14717
      if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
14718
         || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
14719
                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
 
14720
        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
 
14721
      fi
 
14722
    fi
 
14723
 
 
14724
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
14725
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
14726
 
 
14727
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
14728
 
 
14729
    else
 
14730
      USE_NLS=no
 
14731
    fi
 
14732
  fi
 
14733
 
 
14734
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
 
14735
$as_echo_n "checking whether to use NLS... " >&6; }
 
14736
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
14737
$as_echo "$USE_NLS" >&6; }
 
14738
  if test "$USE_NLS" = "yes"; then
 
14739
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
 
14740
$as_echo_n "checking where the gettext function comes from... " >&6; }
 
14741
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
14742
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
 
14743
        gt_source="external libintl"
 
14744
      else
 
14745
        gt_source="libc"
 
14746
      fi
 
14747
    else
 
14748
      gt_source="included intl directory"
 
14749
    fi
 
14750
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
 
14751
$as_echo "$gt_source" >&6; }
 
14752
  fi
 
14753
 
 
14754
  if test "$USE_NLS" = "yes"; then
 
14755
 
 
14756
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
14757
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
 
14758
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
 
14759
$as_echo_n "checking how to link with libintl... " >&6; }
 
14760
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
 
14761
$as_echo "$LIBINTL" >&6; }
 
14762
 
 
14763
  for element in $INCINTL; do
 
14764
    haveit=
 
14765
    for x in $CPPFLAGS; do
 
14766
 
 
14767
  acl_save_prefix="$prefix"
 
14768
  prefix="$acl_final_prefix"
 
14769
  acl_save_exec_prefix="$exec_prefix"
 
14770
  exec_prefix="$acl_final_exec_prefix"
 
14771
  eval x=\"$x\"
 
14772
  exec_prefix="$acl_save_exec_prefix"
 
14773
  prefix="$acl_save_prefix"
 
14774
 
 
14775
      if test "X$x" = "X$element"; then
 
14776
        haveit=yes
 
14777
        break
 
14778
      fi
 
14779
    done
 
14780
    if test -z "$haveit"; then
 
14781
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
14782
    fi
 
14783
  done
 
14784
 
 
14785
      fi
 
14786
 
 
14787
 
 
14788
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
14789
 
 
14790
 
 
14791
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
 
14792
 
 
14793
    fi
 
14794
 
 
14795
        POSUB=po
 
14796
  fi
 
14797
 
 
14798
 
 
14799
 
 
14800
    INTLLIBS="$LIBINTL"
 
14801
 
 
14802
 
 
14803
 
 
14804
 
 
14805
 
 
14806
 
 
14807
 
 
14808
DEFAULT_CFLAGS="-Wall -Wextra -Werror -g0 -fPIC -std=gnu99"
 
14809
 
 
14810
 
 
14811
ac_config_files="$ac_config_files Makefile gxneur.desktop src/Makefile pixmaps/Makefile glade/Makefile po/Makefile.in"
 
14812
 
 
14813
cat >confcache <<\_ACEOF
 
14814
# This file is a shell script that caches the results of configure
 
14815
# tests run on this system so they can be shared between configure
 
14816
# scripts and configure runs, see configure's option --config-cache.
 
14817
# It is not useful on other systems.  If it contains results you don't
 
14818
# want to keep, you may remove or edit it.
 
14819
#
 
14820
# config.status only pays attention to the cache file if you give it
 
14821
# the --recheck option to rerun configure.
 
14822
#
 
14823
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
14824
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
14825
# following values.
 
14826
 
 
14827
_ACEOF
 
14828
 
 
14829
# The following way of writing the cache mishandles newlines in values,
 
14830
# but we know of no workaround that is simple, portable, and efficient.
 
14831
# So, we kill variables containing newlines.
 
14832
# Ultrix sh set writes to stderr and can't be redirected directly,
 
14833
# and sets the high bit in the cache file unless we assign to the vars.
 
14834
(
 
14835
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
14836
    eval ac_val=\$$ac_var
 
14837
    case $ac_val in #(
 
14838
    *${as_nl}*)
 
14839
      case $ac_var in #(
 
14840
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
14841
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
14842
      esac
 
14843
      case $ac_var in #(
 
14844
      _ | IFS | as_nl) ;; #(
 
14845
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
14846
      *) { eval $ac_var=; unset $ac_var;} ;;
 
14847
      esac ;;
 
14848
    esac
 
14849
  done
 
14850
 
 
14851
  (set) 2>&1 |
 
14852
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
14853
    *${as_nl}ac_space=\ *)
 
14854
      # `set' does not quote correctly, so add quotes: double-quote
 
14855
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
14856
      sed -n \
 
14857
        "s/'/'\\\\''/g;
 
14858
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
14859
      ;; #(
 
14860
    *)
 
14861
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
14862
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
14863
      ;;
 
14864
    esac |
 
14865
    sort
 
14866
) |
 
14867
  sed '
 
14868
     /^ac_cv_env_/b end
 
14869
     t clear
 
14870
     :clear
 
14871
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
14872
     t end
 
14873
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
14874
     :end' >>confcache
 
14875
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
14876
  if test -w "$cache_file"; then
 
14877
    if test "x$cache_file" != "x/dev/null"; then
 
14878
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
14879
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
14880
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
14881
        cat confcache >"$cache_file"
 
14882
      else
 
14883
        case $cache_file in #(
 
14884
        */* | ?:*)
 
14885
          mv -f confcache "$cache_file"$$ &&
 
14886
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
14887
        *)
 
14888
          mv -f confcache "$cache_file" ;;
 
14889
        esac
 
14890
      fi
 
14891
    fi
 
14892
  else
 
14893
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
14894
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
14895
  fi
 
14896
fi
 
14897
rm -f confcache
 
14898
 
 
14899
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
14900
# Let make expand exec_prefix.
 
14901
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
14902
 
 
14903
DEFS=-DHAVE_CONFIG_H
 
14904
 
 
14905
ac_libobjs=
 
14906
ac_ltlibobjs=
 
14907
U=
 
14908
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
14909
  # 1. Remove the extension, and $U if already installed.
 
14910
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
14911
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
14912
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
14913
  #    will be set to the directory where LIBOBJS objects are built.
 
14914
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
14915
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
14916
done
 
14917
LIBOBJS=$ac_libobjs
 
14918
 
 
14919
LTLIBOBJS=$ac_ltlibobjs
 
14920
 
 
14921
 
 
14922
 if test -n "$EXEEXT"; then
 
14923
  am__EXEEXT_TRUE=
 
14924
  am__EXEEXT_FALSE='#'
 
14925
else
 
14926
  am__EXEEXT_TRUE='#'
 
14927
  am__EXEEXT_FALSE=
 
14928
fi
 
14929
 
 
14930
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
14931
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
14932
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14933
fi
 
14934
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
14935
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
14936
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14937
fi
 
14938
 
 
14939
: "${CONFIG_STATUS=./config.status}"
 
14940
ac_write_fail=0
 
14941
ac_clean_files_save=$ac_clean_files
 
14942
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
14943
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
14944
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
14945
as_write_fail=0
 
14946
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
14947
#! $SHELL
 
14948
# Generated by $as_me.
 
14949
# Run this file to recreate the current configuration.
 
14950
# Compiler output produced by configure, useful for debugging
 
14951
# configure, is in config.log if it exists.
 
14952
 
 
14953
debug=false
 
14954
ac_cs_recheck=false
 
14955
ac_cs_silent=false
 
14956
 
 
14957
SHELL=\${CONFIG_SHELL-$SHELL}
 
14958
export SHELL
 
14959
_ASEOF
 
14960
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
14961
## -------------------- ##
 
14962
## M4sh Initialization. ##
 
14963
## -------------------- ##
 
14964
 
 
14965
# Be more Bourne compatible
 
14966
DUALCASE=1; export DUALCASE # for MKS sh
 
14967
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
14968
  emulate sh
 
14969
  NULLCMD=:
 
14970
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
14971
  # is contrary to our usage.  Disable this feature.
 
14972
  alias -g '${1+"$@"}'='"$@"'
 
14973
  setopt NO_GLOB_SUBST
 
14974
else
 
14975
  case `(set -o) 2>/dev/null` in #(
 
14976
  *posix*) :
 
14977
    set -o posix ;; #(
 
14978
  *) :
 
14979
     ;;
 
14980
esac
 
14981
fi
 
14982
 
 
14983
 
 
14984
as_nl='
 
14985
'
 
14986
export as_nl
 
14987
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
14988
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
14989
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
14990
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
14991
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
14992
# but without wasting forks for bash or zsh.
 
14993
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
14994
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
14995
  as_echo='print -r --'
 
14996
  as_echo_n='print -rn --'
 
14997
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
14998
  as_echo='printf %s\n'
 
14999
  as_echo_n='printf %s'
 
15000
else
 
15001
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
15002
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
15003
    as_echo_n='/usr/ucb/echo -n'
 
15004
  else
 
15005
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
15006
    as_echo_n_body='eval
 
15007
      arg=$1;
 
15008
      case $arg in #(
 
15009
      *"$as_nl"*)
 
15010
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
15011
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
15012
      esac;
 
15013
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
15014
    '
 
15015
    export as_echo_n_body
 
15016
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
15017
  fi
 
15018
  export as_echo_body
 
15019
  as_echo='sh -c $as_echo_body as_echo'
 
15020
fi
 
15021
 
 
15022
# The user is always right.
 
15023
if test "${PATH_SEPARATOR+set}" != set; then
 
15024
  PATH_SEPARATOR=:
 
15025
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
15026
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
15027
      PATH_SEPARATOR=';'
 
15028
  }
 
15029
fi
 
15030
 
 
15031
 
 
15032
# IFS
 
15033
# We need space, tab and new line, in precisely that order.  Quoting is
 
15034
# there to prevent editors from complaining about space-tab.
 
15035
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
15036
# splitting by setting IFS to empty value.)
 
15037
IFS=" ""        $as_nl"
 
15038
 
 
15039
# Find who we are.  Look in the path if we contain no directory separator.
 
15040
as_myself=
 
15041
case $0 in #((
 
15042
  *[\\/]* ) as_myself=$0 ;;
 
15043
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15044
for as_dir in $PATH
 
15045
do
 
15046
  IFS=$as_save_IFS
 
15047
  test -z "$as_dir" && as_dir=.
 
15048
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
15049
  done
 
15050
IFS=$as_save_IFS
 
15051
 
 
15052
     ;;
 
15053
esac
 
15054
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
15055
# in which case we are not to be found in the path.
 
15056
if test "x$as_myself" = x; then
 
15057
  as_myself=$0
 
15058
fi
 
15059
if test ! -f "$as_myself"; then
 
15060
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
15061
  exit 1
 
15062
fi
 
15063
 
 
15064
# Unset variables that we do not need and which cause bugs (e.g. in
 
15065
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
15066
# suppresses any "Segmentation fault" message there.  '((' could
 
15067
# trigger a bug in pdksh 5.2.14.
 
15068
for as_var in BASH_ENV ENV MAIL MAILPATH
 
15069
do eval test x\${$as_var+set} = xset \
 
15070
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
15071
done
 
15072
PS1='$ '
 
15073
PS2='> '
 
15074
PS4='+ '
 
15075
 
 
15076
# NLS nuisances.
 
15077
LC_ALL=C
 
15078
export LC_ALL
 
15079
LANGUAGE=C
 
15080
export LANGUAGE
 
15081
 
 
15082
# CDPATH.
 
15083
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
15084
 
 
15085
 
 
15086
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
15087
# ----------------------------------------
 
15088
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
15089
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
15090
# script with STATUS, using 1 if that was 0.
 
15091
as_fn_error ()
 
15092
{
 
15093
  as_status=$1; test $as_status -eq 0 && as_status=1
 
15094
  if test "$4"; then
 
15095
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
15096
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
15097
  fi
 
15098
  $as_echo "$as_me: error: $2" >&2
 
15099
  as_fn_exit $as_status
 
15100
} # as_fn_error
 
15101
 
 
15102
 
 
15103
# as_fn_set_status STATUS
 
15104
# -----------------------
 
15105
# Set $? to STATUS, without forking.
 
15106
as_fn_set_status ()
 
15107
{
 
15108
  return $1
 
15109
} # as_fn_set_status
 
15110
 
 
15111
# as_fn_exit STATUS
 
15112
# -----------------
 
15113
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
15114
as_fn_exit ()
 
15115
{
 
15116
  set +e
 
15117
  as_fn_set_status $1
 
15118
  exit $1
 
15119
} # as_fn_exit
 
15120
 
 
15121
# as_fn_unset VAR
 
15122
# ---------------
 
15123
# Portably unset VAR.
 
15124
as_fn_unset ()
 
15125
{
 
15126
  { eval $1=; unset $1;}
 
15127
}
 
15128
as_unset=as_fn_unset
 
15129
# as_fn_append VAR VALUE
 
15130
# ----------------------
 
15131
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
15132
# advantage of any shell optimizations that allow amortized linear growth over
 
15133
# repeated appends, instead of the typical quadratic growth present in naive
 
15134
# implementations.
 
15135
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
15136
  eval 'as_fn_append ()
 
15137
  {
 
15138
    eval $1+=\$2
 
15139
  }'
 
15140
else
 
15141
  as_fn_append ()
 
15142
  {
 
15143
    eval $1=\$$1\$2
 
15144
  }
 
15145
fi # as_fn_append
 
15146
 
 
15147
# as_fn_arith ARG...
 
15148
# ------------------
 
15149
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
15150
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
15151
# must be portable across $(()) and expr.
 
15152
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
15153
  eval 'as_fn_arith ()
 
15154
  {
 
15155
    as_val=$(( $* ))
 
15156
  }'
 
15157
else
 
15158
  as_fn_arith ()
 
15159
  {
 
15160
    as_val=`expr "$@" || test $? -eq 1`
 
15161
  }
 
15162
fi # as_fn_arith
 
15163
 
 
15164
 
 
15165
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
15166
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
15167
  as_expr=expr
 
15168
else
 
15169
  as_expr=false
 
15170
fi
 
15171
 
 
15172
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
15173
  as_basename=basename
 
15174
else
 
15175
  as_basename=false
 
15176
fi
 
15177
 
 
15178
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
15179
  as_dirname=dirname
 
15180
else
 
15181
  as_dirname=false
 
15182
fi
 
15183
 
 
15184
as_me=`$as_basename -- "$0" ||
 
15185
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
15186
         X"$0" : 'X\(//\)$' \| \
 
15187
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
15188
$as_echo X/"$0" |
 
15189
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
15190
            s//\1/
 
15191
            q
 
15192
          }
 
15193
          /^X\/\(\/\/\)$/{
 
15194
            s//\1/
 
15195
            q
 
15196
          }
 
15197
          /^X\/\(\/\).*/{
 
15198
            s//\1/
 
15199
            q
 
15200
          }
 
15201
          s/.*/./; q'`
 
15202
 
 
15203
# Avoid depending upon Character Ranges.
 
15204
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
15205
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
15206
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
15207
as_cr_digits='0123456789'
 
15208
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
15209
 
 
15210
ECHO_C= ECHO_N= ECHO_T=
 
15211
case `echo -n x` in #(((((
 
15212
-n*)
 
15213
  case `echo 'xy\c'` in
 
15214
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
15215
  xy)  ECHO_C='\c';;
 
15216
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
15217
       ECHO_T=' ';;
 
15218
  esac;;
 
15219
*)
 
15220
  ECHO_N='-n';;
 
15221
esac
 
15222
 
 
15223
rm -f conf$$ conf$$.exe conf$$.file
 
15224
if test -d conf$$.dir; then
 
15225
  rm -f conf$$.dir/conf$$.file
 
15226
else
 
15227
  rm -f conf$$.dir
 
15228
  mkdir conf$$.dir 2>/dev/null
 
15229
fi
 
15230
if (echo >conf$$.file) 2>/dev/null; then
 
15231
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
15232
    as_ln_s='ln -s'
 
15233
    # ... but there are two gotchas:
 
15234
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
15235
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
15236
    # In both cases, we have to default to `cp -p'.
 
15237
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
15238
      as_ln_s='cp -p'
 
15239
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
15240
    as_ln_s=ln
 
15241
  else
 
15242
    as_ln_s='cp -p'
 
15243
  fi
 
15244
else
 
15245
  as_ln_s='cp -p'
 
15246
fi
 
15247
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
15248
rmdir conf$$.dir 2>/dev/null
 
15249
 
 
15250
 
 
15251
# as_fn_mkdir_p
 
15252
# -------------
 
15253
# Create "$as_dir" as a directory, including parents if necessary.
 
15254
as_fn_mkdir_p ()
 
15255
{
 
15256
 
 
15257
  case $as_dir in #(
 
15258
  -*) as_dir=./$as_dir;;
 
15259
  esac
 
15260
  test -d "$as_dir" || eval $as_mkdir_p || {
 
15261
    as_dirs=
 
15262
    while :; do
 
15263
      case $as_dir in #(
 
15264
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
15265
      *) as_qdir=$as_dir;;
 
15266
      esac
 
15267
      as_dirs="'$as_qdir' $as_dirs"
 
15268
      as_dir=`$as_dirname -- "$as_dir" ||
 
15269
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15270
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
15271
         X"$as_dir" : 'X\(//\)$' \| \
 
15272
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
15273
$as_echo X"$as_dir" |
 
15274
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
15275
            s//\1/
 
15276
            q
 
15277
          }
 
15278
          /^X\(\/\/\)[^/].*/{
 
15279
            s//\1/
 
15280
            q
 
15281
          }
 
15282
          /^X\(\/\/\)$/{
 
15283
            s//\1/
 
15284
            q
 
15285
          }
 
15286
          /^X\(\/\).*/{
 
15287
            s//\1/
 
15288
            q
 
15289
          }
 
15290
          s/.*/./; q'`
 
15291
      test -d "$as_dir" && break
 
15292
    done
 
15293
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
15294
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
15295
 
 
15296
 
 
15297
} # as_fn_mkdir_p
 
15298
if mkdir -p . 2>/dev/null; then
 
15299
  as_mkdir_p='mkdir -p "$as_dir"'
 
15300
else
 
15301
  test -d ./-p && rmdir ./-p
 
15302
  as_mkdir_p=false
 
15303
fi
 
15304
 
 
15305
if test -x / >/dev/null 2>&1; then
 
15306
  as_test_x='test -x'
 
15307
else
 
15308
  if ls -dL / >/dev/null 2>&1; then
 
15309
    as_ls_L_option=L
 
15310
  else
 
15311
    as_ls_L_option=
 
15312
  fi
 
15313
  as_test_x='
 
15314
    eval sh -c '\''
 
15315
      if test -d "$1"; then
 
15316
        test -d "$1/.";
 
15317
      else
 
15318
        case $1 in #(
 
15319
        -*)set "./$1";;
 
15320
        esac;
 
15321
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
15322
        ???[sx]*):;;*)false;;esac;fi
 
15323
    '\'' sh
 
15324
  '
 
15325
fi
 
15326
as_executable_p=$as_test_x
 
15327
 
 
15328
# Sed expression to map a string onto a valid CPP name.
 
15329
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
15330
 
 
15331
# Sed expression to map a string onto a valid variable name.
 
15332
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
15333
 
 
15334
 
 
15335
exec 6>&1
 
15336
## ----------------------------------- ##
 
15337
## Main body of $CONFIG_STATUS script. ##
 
15338
## ----------------------------------- ##
 
15339
_ASEOF
 
15340
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
15341
 
 
15342
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15343
# Save the log message, to keep $0 and so on meaningful, and to
 
15344
# report actual input values of CONFIG_FILES etc. instead of their
 
15345
# values after options handling.
 
15346
ac_log="
 
15347
This file was extended by $as_me, which was
 
15348
generated by GNU Autoconf 2.68.  Invocation command line was
 
15349
 
 
15350
  CONFIG_FILES    = $CONFIG_FILES
 
15351
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
15352
  CONFIG_LINKS    = $CONFIG_LINKS
 
15353
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
15354
  $ $0 $@
 
15355
 
 
15356
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
15357
"
 
15358
 
 
15359
_ACEOF
 
15360
 
 
15361
case $ac_config_files in *"
 
15362
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
15363
esac
 
15364
 
 
15365
case $ac_config_headers in *"
 
15366
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
15367
esac
 
15368
 
 
15369
 
 
15370
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15371
# Files that config.status was made for.
 
15372
config_files="$ac_config_files"
 
15373
config_headers="$ac_config_headers"
 
15374
config_commands="$ac_config_commands"
 
15375
 
 
15376
_ACEOF
 
15377
 
 
15378
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15379
ac_cs_usage="\
 
15380
\`$as_me' instantiates files and other configuration actions
 
15381
from templates according to the current configuration.  Unless the files
 
15382
and actions are specified as TAGs, all are instantiated by default.
 
15383
 
 
15384
Usage: $0 [OPTION]... [TAG]...
 
15385
 
 
15386
  -h, --help       print this help, then exit
 
15387
  -V, --version    print version number and configuration settings, then exit
 
15388
      --config     print configuration, then exit
 
15389
  -q, --quiet, --silent
 
15390
                   do not print progress messages
 
15391
  -d, --debug      don't remove temporary files
 
15392
      --recheck    update $as_me by reconfiguring in the same conditions
 
15393
      --file=FILE[:TEMPLATE]
 
15394
                   instantiate the configuration file FILE
 
15395
      --header=FILE[:TEMPLATE]
 
15396
                   instantiate the configuration header FILE
 
15397
 
 
15398
Configuration files:
 
15399
$config_files
 
15400
 
 
15401
Configuration headers:
 
15402
$config_headers
 
15403
 
 
15404
Configuration commands:
 
15405
$config_commands
 
15406
 
 
15407
Report bugs to the package provider."
 
15408
 
 
15409
_ACEOF
 
15410
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15411
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
15412
ac_cs_version="\\
 
15413
config.status
 
15414
configured by $0, generated by GNU Autoconf 2.68,
 
15415
  with options \\"\$ac_cs_config\\"
 
15416
 
 
15417
Copyright (C) 2010 Free Software Foundation, Inc.
 
15418
This config.status script is free software; the Free Software Foundation
 
15419
gives unlimited permission to copy, distribute and modify it."
 
15420
 
 
15421
ac_pwd='$ac_pwd'
 
15422
srcdir='$srcdir'
 
15423
INSTALL='$INSTALL'
 
15424
MKDIR_P='$MKDIR_P'
 
15425
AWK='$AWK'
 
15426
test -n "\$AWK" || AWK=awk
 
15427
_ACEOF
 
15428
 
 
15429
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15430
# The default lists apply if the user does not specify any file.
 
15431
ac_need_defaults=:
 
15432
while test $# != 0
 
15433
do
 
15434
  case $1 in
 
15435
  --*=?*)
 
15436
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
15437
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
15438
    ac_shift=:
 
15439
    ;;
 
15440
  --*=)
 
15441
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
15442
    ac_optarg=
 
15443
    ac_shift=:
 
15444
    ;;
 
15445
  *)
 
15446
    ac_option=$1
 
15447
    ac_optarg=$2
 
15448
    ac_shift=shift
 
15449
    ;;
 
15450
  esac
 
15451
 
 
15452
  case $ac_option in
 
15453
  # Handling of the options.
 
15454
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
15455
    ac_cs_recheck=: ;;
 
15456
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
15457
    $as_echo "$ac_cs_version"; exit ;;
 
15458
  --config | --confi | --conf | --con | --co | --c )
 
15459
    $as_echo "$ac_cs_config"; exit ;;
 
15460
  --debug | --debu | --deb | --de | --d | -d )
 
15461
    debug=: ;;
 
15462
  --file | --fil | --fi | --f )
 
15463
    $ac_shift
 
15464
    case $ac_optarg in
 
15465
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
15466
    '') as_fn_error $? "missing file argument" ;;
 
15467
    esac
 
15468
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
15469
    ac_need_defaults=false;;
 
15470
  --header | --heade | --head | --hea )
 
15471
    $ac_shift
 
15472
    case $ac_optarg in
 
15473
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
15474
    esac
 
15475
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
15476
    ac_need_defaults=false;;
 
15477
  --he | --h)
 
15478
    # Conflict between --help and --header
 
15479
    as_fn_error $? "ambiguous option: \`$1'
 
15480
Try \`$0 --help' for more information.";;
 
15481
  --help | --hel | -h )
 
15482
    $as_echo "$ac_cs_usage"; exit ;;
 
15483
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
15484
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
15485
    ac_cs_silent=: ;;
 
15486
 
 
15487
  # This is an error.
 
15488
  -*) as_fn_error $? "unrecognized option: \`$1'
 
15489
Try \`$0 --help' for more information." ;;
 
15490
 
 
15491
  *) as_fn_append ac_config_targets " $1"
 
15492
     ac_need_defaults=false ;;
 
15493
 
 
15494
  esac
 
15495
  shift
 
15496
done
 
15497
 
 
15498
ac_configure_extra_args=
 
15499
 
 
15500
if $ac_cs_silent; then
 
15501
  exec 6>/dev/null
 
15502
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
15503
fi
 
15504
 
 
15505
_ACEOF
 
15506
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15507
if \$ac_cs_recheck; then
 
15508
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
15509
  shift
 
15510
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
15511
  CONFIG_SHELL='$SHELL'
 
15512
  export CONFIG_SHELL
 
15513
  exec "\$@"
 
15514
fi
 
15515
 
 
15516
_ACEOF
 
15517
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15518
exec 5>>config.log
 
15519
{
 
15520
  echo
 
15521
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
15522
## Running $as_me. ##
 
15523
_ASBOX
 
15524
  $as_echo "$ac_log"
 
15525
} >&5
 
15526
 
 
15527
_ACEOF
 
15528
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15529
#
 
15530
# INIT-COMMANDS
 
15531
#
 
15532
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
15533
 
 
15534
 
 
15535
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
15536
# if CDPATH is set.
 
15537
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
15538
 
 
15539
sed_quote_subst='$sed_quote_subst'
 
15540
double_quote_subst='$double_quote_subst'
 
15541
delay_variable_subst='$delay_variable_subst'
 
15542
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
15543
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
15544
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
15545
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
15546
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
15547
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
15548
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
15549
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
15550
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
15551
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
15552
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
15553
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
15554
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
15555
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
15556
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
15557
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
15558
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
15559
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
15560
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
15561
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
15562
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
15563
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
15564
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
15565
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
15566
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
15567
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
15568
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
15569
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
15570
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15571
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15572
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
15573
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
15574
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
15575
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
15576
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
15577
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
15578
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
15579
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
15580
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
15581
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
15582
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
15583
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
15584
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
15585
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
15586
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15587
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15588
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15589
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
15590
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
15591
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
15592
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
15593
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
15594
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
15595
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
15596
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
15597
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"`'
 
15598
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15599
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
15600
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
15601
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
15602
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
15603
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
15604
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
15605
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
15606
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
15607
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
15608
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
15609
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
15610
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
15611
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
15612
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
15613
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
15614
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
15615
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
15616
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15617
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
15618
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
15619
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15620
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15621
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
15622
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
15623
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15624
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15625
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15626
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
15627
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15628
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
15629
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15630
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15631
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15632
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
15633
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
15634
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
15635
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
15636
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
15637
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15638
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
15639
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
15640
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
15641
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
15642
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
15643
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
15644
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
15645
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
15646
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
15647
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15648
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
15649
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
15650
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
15651
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
15652
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
15653
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15654
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
15655
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
15656
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
15657
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
15658
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
15659
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15660
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15661
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
15662
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
15663
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
15664
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
15665
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
15666
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
15667
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
15668
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
15669
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
15670
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
15671
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
15672
 
 
15673
LTCC='$LTCC'
 
15674
LTCFLAGS='$LTCFLAGS'
 
15675
compiler='$compiler_DEFAULT'
 
15676
 
 
15677
# A function that is used when there is no print builtin or printf.
 
15678
func_fallback_echo ()
 
15679
{
 
15680
  eval 'cat <<_LTECHO_EOF
 
15681
\$1
 
15682
_LTECHO_EOF'
 
15683
}
 
15684
 
 
15685
# Quote evaled strings.
 
15686
for var in SHELL \
 
15687
ECHO \
 
15688
SED \
 
15689
GREP \
 
15690
EGREP \
 
15691
FGREP \
 
15692
LD \
 
15693
NM \
 
15694
LN_S \
 
15695
lt_SP2NL \
 
15696
lt_NL2SP \
 
15697
reload_flag \
 
15698
OBJDUMP \
 
15699
deplibs_check_method \
 
15700
file_magic_cmd \
 
15701
file_magic_glob \
 
15702
want_nocaseglob \
 
15703
DLLTOOL \
 
15704
sharedlib_from_linklib_cmd \
 
15705
AR \
 
15706
AR_FLAGS \
 
15707
archiver_list_spec \
 
15708
STRIP \
 
15709
RANLIB \
 
15710
CC \
 
15711
CFLAGS \
 
15712
compiler \
 
15713
lt_cv_sys_global_symbol_pipe \
 
15714
lt_cv_sys_global_symbol_to_cdecl \
 
15715
lt_cv_sys_global_symbol_to_c_name_address \
 
15716
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
15717
nm_file_list_spec \
 
15718
lt_prog_compiler_no_builtin_flag \
 
15719
lt_prog_compiler_pic \
 
15720
lt_prog_compiler_wl \
 
15721
lt_prog_compiler_static \
 
15722
lt_cv_prog_compiler_c_o \
 
15723
need_locks \
 
15724
MANIFEST_TOOL \
 
15725
DSYMUTIL \
 
15726
NMEDIT \
 
15727
LIPO \
 
15728
OTOOL \
 
15729
OTOOL64 \
 
15730
shrext_cmds \
 
15731
export_dynamic_flag_spec \
 
15732
whole_archive_flag_spec \
 
15733
compiler_needs_object \
 
15734
with_gnu_ld \
 
15735
allow_undefined_flag \
 
15736
no_undefined_flag \
 
15737
hardcode_libdir_flag_spec \
 
15738
hardcode_libdir_flag_spec_ld \
 
15739
hardcode_libdir_separator \
 
15740
exclude_expsyms \
 
15741
include_expsyms \
 
15742
file_list_spec \
 
15743
variables_saved_for_relink \
 
15744
libname_spec \
 
15745
library_names_spec \
 
15746
soname_spec \
 
15747
install_override_mode \
 
15748
finish_eval \
 
15749
old_striplib \
 
15750
striplib; do
 
15751
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
15752
    *[\\\\\\\`\\"\\\$]*)
 
15753
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
15754
      ;;
 
15755
    *)
 
15756
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
15757
      ;;
 
15758
    esac
 
15759
done
 
15760
 
 
15761
# Double-quote double-evaled strings.
 
15762
for var in reload_cmds \
 
15763
old_postinstall_cmds \
 
15764
old_postuninstall_cmds \
 
15765
old_archive_cmds \
 
15766
extract_expsyms_cmds \
 
15767
old_archive_from_new_cmds \
 
15768
old_archive_from_expsyms_cmds \
 
15769
archive_cmds \
 
15770
archive_expsym_cmds \
 
15771
module_cmds \
 
15772
module_expsym_cmds \
 
15773
export_symbols_cmds \
 
15774
prelink_cmds \
 
15775
postlink_cmds \
 
15776
postinstall_cmds \
 
15777
postuninstall_cmds \
 
15778
finish_cmds \
 
15779
sys_lib_search_path_spec \
 
15780
sys_lib_dlsearch_path_spec; do
 
15781
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
15782
    *[\\\\\\\`\\"\\\$]*)
 
15783
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
15784
      ;;
 
15785
    *)
 
15786
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
15787
      ;;
 
15788
    esac
 
15789
done
 
15790
 
 
15791
ac_aux_dir='$ac_aux_dir'
 
15792
xsi_shell='$xsi_shell'
 
15793
lt_shell_append='$lt_shell_append'
 
15794
 
 
15795
# See if we are running on zsh, and set the options which allow our
 
15796
# commands through without removal of \ escapes INIT.
 
15797
if test -n "\${ZSH_VERSION+set}" ; then
 
15798
   setopt NO_GLOB_SUBST
 
15799
fi
 
15800
 
 
15801
 
 
15802
    PACKAGE='$PACKAGE'
 
15803
    VERSION='$VERSION'
 
15804
    TIMESTAMP='$TIMESTAMP'
 
15805
    RM='$RM'
 
15806
    ofile='$ofile'
 
15807
 
 
15808
 
 
15809
 
 
15810
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
 
15811
    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
 
15812
    # from automake < 1.5.
 
15813
    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
 
15814
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
 
15815
    LINGUAS="${LINGUAS-%UNSET%}"
 
15816
 
 
15817
 
 
15818
_ACEOF
 
15819
 
 
15820
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15821
 
 
15822
# Handling of arguments.
 
15823
for ac_config_target in $ac_config_targets
 
15824
do
 
15825
  case $ac_config_target in
 
15826
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
15827
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
15828
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
15829
    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
 
15830
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
15831
    "gxneur.desktop") CONFIG_FILES="$CONFIG_FILES gxneur.desktop" ;;
 
15832
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
15833
    "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
 
15834
    "glade/Makefile") CONFIG_FILES="$CONFIG_FILES glade/Makefile" ;;
 
15835
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
15836
 
 
15837
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
15838
  esac
 
15839
done
 
15840
 
 
15841
 
 
15842
# If the user did not use the arguments to specify the items to instantiate,
 
15843
# then the envvar interface is used.  Set only those that are not.
 
15844
# We use the long form for the default assignment because of an extremely
 
15845
# bizarre bug on SunOS 4.1.3.
 
15846
if $ac_need_defaults; then
 
15847
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
15848
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
15849
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
15850
fi
 
15851
 
 
15852
# Have a temporary directory for convenience.  Make it in the build tree
 
15853
# simply because there is no reason against having it here, and in addition,
 
15854
# creating and moving files from /tmp can sometimes cause problems.
 
15855
# Hook for its removal unless debugging.
 
15856
# Note that there is a small window in which the directory will not be cleaned:
 
15857
# after its creation but before its name has been assigned to `$tmp'.
 
15858
$debug ||
 
15859
{
 
15860
  tmp= ac_tmp=
 
15861
  trap 'exit_status=$?
 
15862
  : "${ac_tmp:=$tmp}"
 
15863
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
15864
' 0
 
15865
  trap 'as_fn_exit 1' 1 2 13 15
 
15866
}
 
15867
# Create a (secure) tmp directory for tmp files.
 
15868
 
 
15869
{
 
15870
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
15871
  test -d "$tmp"
 
15872
}  ||
 
15873
{
 
15874
  tmp=./conf$$-$RANDOM
 
15875
  (umask 077 && mkdir "$tmp")
 
15876
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
15877
ac_tmp=$tmp
 
15878
 
 
15879
# Set up the scripts for CONFIG_FILES section.
 
15880
# No need to generate them if there are no CONFIG_FILES.
 
15881
# This happens for instance with `./config.status config.h'.
 
15882
if test -n "$CONFIG_FILES"; then
 
15883
 
 
15884
 
 
15885
ac_cr=`echo X | tr X '\015'`
 
15886
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
15887
# But we know of no other shell where ac_cr would be empty at this
 
15888
# point, so we can use a bashism as a fallback.
 
15889
if test "x$ac_cr" = x; then
 
15890
  eval ac_cr=\$\'\\r\'
 
15891
fi
 
15892
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
15893
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
15894
  ac_cs_awk_cr='\\r'
 
15895
else
 
15896
  ac_cs_awk_cr=$ac_cr
 
15897
fi
 
15898
 
 
15899
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
15900
_ACEOF
 
15901
 
 
15902
 
 
15903
{
 
15904
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
15905
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
15906
  echo "_ACEOF"
 
15907
} >conf$$subs.sh ||
 
15908
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15909
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
15910
ac_delim='%!_!# '
 
15911
for ac_last_try in false false false false false :; do
 
15912
  . ./conf$$subs.sh ||
 
15913
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15914
 
 
15915
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
15916
  if test $ac_delim_n = $ac_delim_num; then
 
15917
    break
 
15918
  elif $ac_last_try; then
 
15919
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15920
  else
 
15921
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
15922
  fi
 
15923
done
 
15924
rm -f conf$$subs.sh
 
15925
 
 
15926
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15927
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
15928
_ACEOF
 
15929
sed -n '
 
15930
h
 
15931
s/^/S["/; s/!.*/"]=/
 
15932
p
 
15933
g
 
15934
s/^[^!]*!//
 
15935
:repl
 
15936
t repl
 
15937
s/'"$ac_delim"'$//
 
15938
t delim
 
15939
:nl
 
15940
h
 
15941
s/\(.\{148\}\)..*/\1/
 
15942
t more1
 
15943
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
15944
p
 
15945
n
 
15946
b repl
 
15947
:more1
 
15948
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
15949
p
 
15950
g
 
15951
s/.\{148\}//
 
15952
t nl
 
15953
:delim
 
15954
h
 
15955
s/\(.\{148\}\)..*/\1/
 
15956
t more2
 
15957
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
15958
p
 
15959
b
 
15960
:more2
 
15961
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
15962
p
 
15963
g
 
15964
s/.\{148\}//
 
15965
t delim
 
15966
' <conf$$subs.awk | sed '
 
15967
/^[^""]/{
 
15968
  N
 
15969
  s/\n//
 
15970
}
 
15971
' >>$CONFIG_STATUS || ac_write_fail=1
 
15972
rm -f conf$$subs.awk
 
15973
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15974
_ACAWK
 
15975
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
15976
  for (key in S) S_is_set[key] = 1
 
15977
  FS = ""
 
15978
 
 
15979
}
 
15980
{
 
15981
  line = $ 0
 
15982
  nfields = split(line, field, "@")
 
15983
  substed = 0
 
15984
  len = length(field[1])
 
15985
  for (i = 2; i < nfields; i++) {
 
15986
    key = field[i]
 
15987
    keylen = length(key)
 
15988
    if (S_is_set[key]) {
 
15989
      value = S[key]
 
15990
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
15991
      len += length(value) + length(field[++i])
 
15992
      substed = 1
 
15993
    } else
 
15994
      len += 1 + keylen
 
15995
  }
 
15996
 
 
15997
  print line
 
15998
}
 
15999
 
 
16000
_ACAWK
 
16001
_ACEOF
 
16002
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16003
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
16004
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
16005
else
 
16006
  cat
 
16007
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
16008
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
16009
_ACEOF
 
16010
 
 
16011
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
16012
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
16013
# trailing colons and then remove the whole line if VPATH becomes empty
 
16014
# (actually we leave an empty line to preserve line numbers).
 
16015
if test "x$srcdir" = x.; then
 
16016
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
16017
h
 
16018
s///
 
16019
s/^/:/
 
16020
s/[      ]*$/:/
 
16021
s/:\$(srcdir):/:/g
 
16022
s/:\${srcdir}:/:/g
 
16023
s/:@srcdir@:/:/g
 
16024
s/^:*//
 
16025
s/:*$//
 
16026
x
 
16027
s/\(=[   ]*\).*/\1/
 
16028
G
 
16029
s/\n//
 
16030
s/^[^=]*=[       ]*$//
 
16031
}'
 
16032
fi
 
16033
 
 
16034
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16035
fi # test -n "$CONFIG_FILES"
 
16036
 
 
16037
# Set up the scripts for CONFIG_HEADERS section.
 
16038
# No need to generate them if there are no CONFIG_HEADERS.
 
16039
# This happens for instance with `./config.status Makefile'.
 
16040
if test -n "$CONFIG_HEADERS"; then
 
16041
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
16042
BEGIN {
 
16043
_ACEOF
 
16044
 
 
16045
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
16046
# here-document in config.status, that substitutes the proper values into
 
16047
# config.h.in to produce config.h.
 
16048
 
 
16049
# Create a delimiter string that does not exist in confdefs.h, to ease
 
16050
# handling of long lines.
 
16051
ac_delim='%!_!# '
 
16052
for ac_last_try in false false :; do
 
16053
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
16054
  if test -z "$ac_tt"; then
 
16055
    break
 
16056
  elif $ac_last_try; then
 
16057
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
16058
  else
 
16059
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
16060
  fi
 
16061
done
 
16062
 
 
16063
# For the awk script, D is an array of macro values keyed by name,
 
16064
# likewise P contains macro parameters if any.  Preserve backslash
 
16065
# newline sequences.
 
16066
 
 
16067
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
16068
sed -n '
 
16069
s/.\{148\}/&'"$ac_delim"'/g
 
16070
t rset
 
16071
:rset
 
16072
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
16073
t def
 
16074
d
 
16075
:def
 
16076
s/\\$//
 
16077
t bsnl
 
16078
s/["\\]/\\&/g
 
16079
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
16080
D["\1"]=" \3"/p
 
16081
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
16082
d
 
16083
:bsnl
 
16084
s/["\\]/\\&/g
 
16085
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
16086
D["\1"]=" \3\\\\\\n"\\/p
 
16087
t cont
 
16088
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
16089
t cont
 
16090
d
 
16091
:cont
 
16092
n
 
16093
s/.\{148\}/&'"$ac_delim"'/g
 
16094
t clear
 
16095
:clear
 
16096
s/\\$//
 
16097
t bsnlc
 
16098
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
16099
d
 
16100
:bsnlc
 
16101
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
16102
b cont
 
16103
' <confdefs.h | sed '
 
16104
s/'"$ac_delim"'/"\\\
 
16105
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
16106
 
 
16107
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16108
  for (key in D) D_is_set[key] = 1
 
16109
  FS = ""
 
16110
}
 
16111
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
16112
  line = \$ 0
 
16113
  split(line, arg, " ")
 
16114
  if (arg[1] == "#") {
 
16115
    defundef = arg[2]
 
16116
    mac1 = arg[3]
 
16117
  } else {
 
16118
    defundef = substr(arg[1], 2)
 
16119
    mac1 = arg[2]
 
16120
  }
 
16121
  split(mac1, mac2, "(") #)
 
16122
  macro = mac2[1]
 
16123
  prefix = substr(line, 1, index(line, defundef) - 1)
 
16124
  if (D_is_set[macro]) {
 
16125
    # Preserve the white space surrounding the "#".
 
16126
    print prefix "define", macro P[macro] D[macro]
 
16127
    next
 
16128
  } else {
 
16129
    # Replace #undef with comments.  This is necessary, for example,
 
16130
    # in the case of _POSIX_SOURCE, which is predefined and required
 
16131
    # on some systems where configure will not decide to define it.
 
16132
    if (defundef == "undef") {
 
16133
      print "/*", prefix defundef, macro, "*/"
 
16134
      next
 
16135
    }
 
16136
  }
 
16137
}
 
16138
{ print }
 
16139
_ACAWK
 
16140
_ACEOF
 
16141
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16142
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
16143
fi # test -n "$CONFIG_HEADERS"
 
16144
 
 
16145
 
 
16146
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
16147
shift
 
16148
for ac_tag
 
16149
do
 
16150
  case $ac_tag in
 
16151
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
16152
  esac
 
16153
  case $ac_mode$ac_tag in
 
16154
  :[FHL]*:*);;
 
16155
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
16156
  :[FH]-) ac_tag=-:-;;
 
16157
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
16158
  esac
 
16159
  ac_save_IFS=$IFS
 
16160
  IFS=:
 
16161
  set x $ac_tag
 
16162
  IFS=$ac_save_IFS
 
16163
  shift
 
16164
  ac_file=$1
 
16165
  shift
 
16166
 
 
16167
  case $ac_mode in
 
16168
  :L) ac_source=$1;;
 
16169
  :[FH])
 
16170
    ac_file_inputs=
 
16171
    for ac_f
 
16172
    do
 
16173
      case $ac_f in
 
16174
      -) ac_f="$ac_tmp/stdin";;
 
16175
      *) # Look for the file first in the build tree, then in the source tree
 
16176
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
16177
         # because $ac_f cannot contain `:'.
 
16178
         test -f "$ac_f" ||
 
16179
           case $ac_f in
 
16180
           [\\/$]*) false;;
 
16181
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
16182
           esac ||
 
16183
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
16184
      esac
 
16185
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
16186
      as_fn_append ac_file_inputs " '$ac_f'"
 
16187
    done
 
16188
 
 
16189
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
16190
    # use $as_me), people would be surprised to read:
 
16191
    #    /* config.h.  Generated by config.status.  */
 
16192
    configure_input='Generated from '`
 
16193
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
16194
        `' by configure.'
 
16195
    if test x"$ac_file" != x-; then
 
16196
      configure_input="$ac_file.  $configure_input"
 
16197
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
16198
$as_echo "$as_me: creating $ac_file" >&6;}
 
16199
    fi
 
16200
    # Neutralize special characters interpreted by sed in replacement strings.
 
16201
    case $configure_input in #(
 
16202
    *\&* | *\|* | *\\* )
 
16203
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
16204
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
16205
    *) ac_sed_conf_input=$configure_input;;
 
16206
    esac
 
16207
 
 
16208
    case $ac_tag in
 
16209
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
16210
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
16211
    esac
 
16212
    ;;
 
16213
  esac
 
16214
 
 
16215
  ac_dir=`$as_dirname -- "$ac_file" ||
 
16216
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16217
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
16218
         X"$ac_file" : 'X\(//\)$' \| \
 
16219
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
16220
$as_echo X"$ac_file" |
 
16221
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16222
            s//\1/
 
16223
            q
 
16224
          }
 
16225
          /^X\(\/\/\)[^/].*/{
 
16226
            s//\1/
 
16227
            q
 
16228
          }
 
16229
          /^X\(\/\/\)$/{
 
16230
            s//\1/
 
16231
            q
 
16232
          }
 
16233
          /^X\(\/\).*/{
 
16234
            s//\1/
 
16235
            q
 
16236
          }
 
16237
          s/.*/./; q'`
 
16238
  as_dir="$ac_dir"; as_fn_mkdir_p
 
16239
  ac_builddir=.
 
16240
 
 
16241
case "$ac_dir" in
 
16242
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
16243
*)
 
16244
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
16245
  # A ".." for each directory in $ac_dir_suffix.
 
16246
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
16247
  case $ac_top_builddir_sub in
 
16248
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
16249
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
16250
  esac ;;
 
16251
esac
 
16252
ac_abs_top_builddir=$ac_pwd
 
16253
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
16254
# for backward compatibility:
 
16255
ac_top_builddir=$ac_top_build_prefix
 
16256
 
 
16257
case $srcdir in
 
16258
  .)  # We are building in place.
 
16259
    ac_srcdir=.
 
16260
    ac_top_srcdir=$ac_top_builddir_sub
 
16261
    ac_abs_top_srcdir=$ac_pwd ;;
 
16262
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
16263
    ac_srcdir=$srcdir$ac_dir_suffix;
 
16264
    ac_top_srcdir=$srcdir
 
16265
    ac_abs_top_srcdir=$srcdir ;;
 
16266
  *) # Relative name.
 
16267
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
16268
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
16269
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
16270
esac
 
16271
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
16272
 
 
16273
 
 
16274
  case $ac_mode in
 
16275
  :F)
 
16276
  #
 
16277
  # CONFIG_FILE
 
16278
  #
 
16279
 
 
16280
  case $INSTALL in
 
16281
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
16282
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
16283
  esac
 
16284
  ac_MKDIR_P=$MKDIR_P
 
16285
  case $MKDIR_P in
 
16286
  [\\/$]* | ?:[\\/]* ) ;;
 
16287
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
16288
  esac
 
16289
_ACEOF
 
16290
 
 
16291
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16292
# If the template does not know about datarootdir, expand it.
 
16293
# FIXME: This hack should be removed a few years after 2.60.
 
16294
ac_datarootdir_hack=; ac_datarootdir_seen=
 
16295
ac_sed_dataroot='
 
16296
/datarootdir/ {
 
16297
  p
 
16298
  q
 
16299
}
 
16300
/@datadir@/p
 
16301
/@docdir@/p
 
16302
/@infodir@/p
 
16303
/@localedir@/p
 
16304
/@mandir@/p'
 
16305
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
16306
*datarootdir*) ac_datarootdir_seen=yes;;
 
16307
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
16308
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
16309
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
16310
_ACEOF
 
16311
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16312
  ac_datarootdir_hack='
 
16313
  s&@datadir@&$datadir&g
 
16314
  s&@docdir@&$docdir&g
 
16315
  s&@infodir@&$infodir&g
 
16316
  s&@localedir@&$localedir&g
 
16317
  s&@mandir@&$mandir&g
 
16318
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
16319
esac
 
16320
_ACEOF
 
16321
 
 
16322
# Neutralize VPATH when `$srcdir' = `.'.
 
16323
# Shell code in configure.ac might set extrasub.
 
16324
# FIXME: do we really want to maintain this feature?
 
16325
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16326
ac_sed_extra="$ac_vpsub
 
16327
$extrasub
 
16328
_ACEOF
 
16329
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16330
:t
 
16331
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
16332
s|@configure_input@|$ac_sed_conf_input|;t t
 
16333
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
16334
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
16335
s&@srcdir@&$ac_srcdir&;t t
 
16336
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
16337
s&@top_srcdir@&$ac_top_srcdir&;t t
 
16338
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
16339
s&@builddir@&$ac_builddir&;t t
 
16340
s&@abs_builddir@&$ac_abs_builddir&;t t
 
16341
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
16342
s&@INSTALL@&$ac_INSTALL&;t t
 
16343
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
16344
$ac_datarootdir_hack
 
16345
"
 
16346
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
16347
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16348
 
 
16349
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
16350
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
16351
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
16352
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
16353
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
16354
which seems to be undefined.  Please make sure it is defined" >&5
 
16355
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
16356
which seems to be undefined.  Please make sure it is defined" >&2;}
 
16357
 
 
16358
  rm -f "$ac_tmp/stdin"
 
16359
  case $ac_file in
 
16360
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
16361
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
16362
  esac \
 
16363
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16364
 ;;
 
16365
  :H)
 
16366
  #
 
16367
  # CONFIG_HEADER
 
16368
  #
 
16369
  if test x"$ac_file" != x-; then
 
16370
    {
 
16371
      $as_echo "/* $configure_input  */" \
 
16372
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
16373
    } >"$ac_tmp/config.h" \
 
16374
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16375
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
16376
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
16377
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
16378
    else
 
16379
      rm -f "$ac_file"
 
16380
      mv "$ac_tmp/config.h" "$ac_file" \
 
16381
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16382
    fi
 
16383
  else
 
16384
    $as_echo "/* $configure_input  */" \
 
16385
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
16386
      || as_fn_error $? "could not create -" "$LINENO" 5
 
16387
  fi
 
16388
# Compute "$ac_file"'s index in $config_headers.
 
16389
_am_arg="$ac_file"
 
16390
_am_stamp_count=1
 
16391
for _am_header in $config_headers :; do
 
16392
  case $_am_header in
 
16393
    $_am_arg | $_am_arg:* )
 
16394
      break ;;
 
16395
    * )
 
16396
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
16397
  esac
 
16398
done
 
16399
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
16400
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16401
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
16402
         X"$_am_arg" : 'X\(//\)$' \| \
 
16403
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
16404
$as_echo X"$_am_arg" |
 
16405
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16406
            s//\1/
 
16407
            q
 
16408
          }
 
16409
          /^X\(\/\/\)[^/].*/{
 
16410
            s//\1/
 
16411
            q
 
16412
          }
 
16413
          /^X\(\/\/\)$/{
 
16414
            s//\1/
 
16415
            q
 
16416
          }
 
16417
          /^X\(\/\).*/{
 
16418
            s//\1/
 
16419
            q
 
16420
          }
 
16421
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
16422
 ;;
 
16423
 
 
16424
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
16425
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
16426
 ;;
 
16427
  esac
 
16428
 
 
16429
 
 
16430
  case $ac_file$ac_mode in
 
16431
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
16432
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
16433
  # are listed without --file.  Let's play safe and only enable the eval
 
16434
  # if we detect the quoting.
 
16435
  case $CONFIG_FILES in
 
16436
  *\'*) eval set x "$CONFIG_FILES" ;;
 
16437
  *)   set x $CONFIG_FILES ;;
 
16438
  esac
 
16439
  shift
 
16440
  for mf
 
16441
  do
 
16442
    # Strip MF so we end up with the name of the file.
 
16443
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
16444
    # Check whether this is an Automake generated Makefile or not.
 
16445
    # We used to match only the files named `Makefile.in', but
 
16446
    # some people rename them; so instead we look at the file content.
 
16447
    # Grep'ing the first line is not enough: some people post-process
 
16448
    # each Makefile.in and add a new line on top of each file to say so.
 
16449
    # Grep'ing the whole file is not good either: AIX grep has a line
 
16450
    # limit of 2048, but all sed's we know have understand at least 4000.
 
16451
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
16452
      dirpart=`$as_dirname -- "$mf" ||
 
16453
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16454
         X"$mf" : 'X\(//\)[^/]' \| \
 
16455
         X"$mf" : 'X\(//\)$' \| \
 
16456
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
16457
$as_echo X"$mf" |
 
16458
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16459
            s//\1/
 
16460
            q
 
16461
          }
 
16462
          /^X\(\/\/\)[^/].*/{
 
16463
            s//\1/
 
16464
            q
 
16465
          }
 
16466
          /^X\(\/\/\)$/{
 
16467
            s//\1/
 
16468
            q
 
16469
          }
 
16470
          /^X\(\/\).*/{
 
16471
            s//\1/
 
16472
            q
 
16473
          }
 
16474
          s/.*/./; q'`
 
16475
    else
 
16476
      continue
 
16477
    fi
 
16478
    # Extract the definition of DEPDIR, am__include, and am__quote
 
16479
    # from the Makefile without running `make'.
 
16480
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
16481
    test -z "$DEPDIR" && continue
 
16482
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
16483
    test -z "am__include" && continue
 
16484
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
16485
    # When using ansi2knr, U may be empty or an underscore; expand it
 
16486
    U=`sed -n 's/^U = //p' < "$mf"`
 
16487
    # Find all dependency output files, they are included files with
 
16488
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
16489
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
16490
    # expansion.
 
16491
    for file in `sed -n "
 
16492
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
16493
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
16494
      # Make sure the directory exists.
 
16495
      test -f "$dirpart/$file" && continue
 
16496
      fdir=`$as_dirname -- "$file" ||
 
16497
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16498
         X"$file" : 'X\(//\)[^/]' \| \
 
16499
         X"$file" : 'X\(//\)$' \| \
 
16500
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
16501
$as_echo X"$file" |
 
16502
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16503
            s//\1/
 
16504
            q
 
16505
          }
 
16506
          /^X\(\/\/\)[^/].*/{
 
16507
            s//\1/
 
16508
            q
 
16509
          }
 
16510
          /^X\(\/\/\)$/{
 
16511
            s//\1/
 
16512
            q
 
16513
          }
 
16514
          /^X\(\/\).*/{
 
16515
            s//\1/
 
16516
            q
 
16517
          }
 
16518
          s/.*/./; q'`
 
16519
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
16520
      # echo "creating $dirpart/$file"
 
16521
      echo '# dummy' > "$dirpart/$file"
 
16522
    done
 
16523
  done
 
16524
}
 
16525
 ;;
 
16526
    "libtool":C)
 
16527
 
 
16528
    # See if we are running on zsh, and set the options which allow our
 
16529
    # commands through without removal of \ escapes.
 
16530
    if test -n "${ZSH_VERSION+set}" ; then
 
16531
      setopt NO_GLOB_SUBST
 
16532
    fi
 
16533
 
 
16534
    cfgfile="${ofile}T"
 
16535
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
16536
    $RM "$cfgfile"
 
16537
 
 
16538
    cat <<_LT_EOF >> "$cfgfile"
 
16539
#! $SHELL
 
16540
 
 
16541
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
16542
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
16543
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
16544
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
16545
#
 
16546
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
16547
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
16548
#                 Inc.
 
16549
#   Written by Gordon Matzigkeit, 1996
 
16550
#
 
16551
#   This file is part of GNU Libtool.
 
16552
#
 
16553
# GNU Libtool is free software; you can redistribute it and/or
 
16554
# modify it under the terms of the GNU General Public License as
 
16555
# published by the Free Software Foundation; either version 2 of
 
16556
# the License, or (at your option) any later version.
 
16557
#
 
16558
# As a special exception to the GNU General Public License,
 
16559
# if you distribute this file as part of a program or library that
 
16560
# is built using GNU Libtool, you may include this file under the
 
16561
# same distribution terms that you use for the rest of that program.
 
16562
#
 
16563
# GNU Libtool is distributed in the hope that it will be useful,
 
16564
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16565
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16566
# GNU General Public License for more details.
 
16567
#
 
16568
# You should have received a copy of the GNU General Public License
 
16569
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
16570
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
16571
# obtained by writing to the Free Software Foundation, Inc.,
 
16572
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
16573
 
 
16574
 
 
16575
# The names of the tagged configurations supported by this script.
 
16576
available_tags=""
 
16577
 
 
16578
# ### BEGIN LIBTOOL CONFIG
 
16579
 
 
16580
# Which release of libtool.m4 was used?
 
16581
macro_version=$macro_version
 
16582
macro_revision=$macro_revision
 
16583
 
 
16584
# Whether or not to build shared libraries.
 
16585
build_libtool_libs=$enable_shared
 
16586
 
 
16587
# Whether or not to build static libraries.
 
16588
build_old_libs=$enable_static
 
16589
 
 
16590
# What type of objects to build.
 
16591
pic_mode=$pic_mode
 
16592
 
 
16593
# Whether or not to optimize for fast installation.
 
16594
fast_install=$enable_fast_install
 
16595
 
 
16596
# Shell to use when invoking shell scripts.
 
16597
SHELL=$lt_SHELL
 
16598
 
 
16599
# An echo program that protects backslashes.
 
16600
ECHO=$lt_ECHO
 
16601
 
 
16602
# The host system.
 
16603
host_alias=$host_alias
 
16604
host=$host
 
16605
host_os=$host_os
 
16606
 
 
16607
# The build system.
 
16608
build_alias=$build_alias
 
16609
build=$build
 
16610
build_os=$build_os
 
16611
 
 
16612
# A sed program that does not truncate output.
 
16613
SED=$lt_SED
 
16614
 
 
16615
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
16616
Xsed="\$SED -e 1s/^X//"
 
16617
 
 
16618
# A grep program that handles long lines.
 
16619
GREP=$lt_GREP
 
16620
 
 
16621
# An ERE matcher.
 
16622
EGREP=$lt_EGREP
 
16623
 
 
16624
# A literal string matcher.
 
16625
FGREP=$lt_FGREP
 
16626
 
 
16627
# A BSD- or MS-compatible name lister.
 
16628
NM=$lt_NM
 
16629
 
 
16630
# Whether we need soft or hard links.
 
16631
LN_S=$lt_LN_S
 
16632
 
 
16633
# What is the maximum length of a command?
 
16634
max_cmd_len=$max_cmd_len
 
16635
 
 
16636
# Object file suffix (normally "o").
 
16637
objext=$ac_objext
 
16638
 
 
16639
# Executable file suffix (normally "").
 
16640
exeext=$exeext
 
16641
 
 
16642
# whether the shell understands "unset".
 
16643
lt_unset=$lt_unset
 
16644
 
 
16645
# turn spaces into newlines.
 
16646
SP2NL=$lt_lt_SP2NL
 
16647
 
 
16648
# turn newlines into spaces.
 
16649
NL2SP=$lt_lt_NL2SP
 
16650
 
 
16651
# convert \$build file names to \$host format.
 
16652
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
16653
 
 
16654
# convert \$build files to toolchain format.
 
16655
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
16656
 
 
16657
# An object symbol dumper.
 
16658
OBJDUMP=$lt_OBJDUMP
 
16659
 
 
16660
# Method to check whether dependent libraries are shared objects.
 
16661
deplibs_check_method=$lt_deplibs_check_method
 
16662
 
 
16663
# Command to use when deplibs_check_method = "file_magic".
 
16664
file_magic_cmd=$lt_file_magic_cmd
 
16665
 
 
16666
# How to find potential files when deplibs_check_method = "file_magic".
 
16667
file_magic_glob=$lt_file_magic_glob
 
16668
 
 
16669
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
16670
want_nocaseglob=$lt_want_nocaseglob
 
16671
 
 
16672
# DLL creation program.
 
16673
DLLTOOL=$lt_DLLTOOL
 
16674
 
 
16675
# Command to associate shared and link libraries.
 
16676
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
16677
 
 
16678
# The archiver.
 
16679
AR=$lt_AR
 
16680
 
 
16681
# Flags to create an archive.
 
16682
AR_FLAGS=$lt_AR_FLAGS
 
16683
 
 
16684
# How to feed a file listing to the archiver.
 
16685
archiver_list_spec=$lt_archiver_list_spec
 
16686
 
 
16687
# A symbol stripping program.
 
16688
STRIP=$lt_STRIP
 
16689
 
 
16690
# Commands used to install an old-style archive.
 
16691
RANLIB=$lt_RANLIB
 
16692
old_postinstall_cmds=$lt_old_postinstall_cmds
 
16693
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
16694
 
 
16695
# Whether to use a lock for old archive extraction.
 
16696
lock_old_archive_extraction=$lock_old_archive_extraction
 
16697
 
 
16698
# A C compiler.
 
16699
LTCC=$lt_CC
 
16700
 
 
16701
# LTCC compiler flags.
 
16702
LTCFLAGS=$lt_CFLAGS
 
16703
 
 
16704
# Take the output of nm and produce a listing of raw symbols and C names.
 
16705
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
16706
 
 
16707
# Transform the output of nm in a proper C declaration.
 
16708
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
16709
 
 
16710
# Transform the output of nm in a C name address pair.
 
16711
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
16712
 
 
16713
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
16714
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
16715
 
 
16716
# Specify filename containing input files for \$NM.
 
16717
nm_file_list_spec=$lt_nm_file_list_spec
 
16718
 
 
16719
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
16720
lt_sysroot=$lt_sysroot
 
16721
 
 
16722
# The name of the directory that contains temporary libtool files.
 
16723
objdir=$objdir
 
16724
 
 
16725
# Used to examine libraries when file_magic_cmd begins with "file".
 
16726
MAGIC_CMD=$MAGIC_CMD
 
16727
 
 
16728
# Must we lock files when doing compilation?
 
16729
need_locks=$lt_need_locks
 
16730
 
 
16731
# Manifest tool.
 
16732
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
16733
 
 
16734
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
16735
DSYMUTIL=$lt_DSYMUTIL
 
16736
 
 
16737
# Tool to change global to local symbols on Mac OS X.
 
16738
NMEDIT=$lt_NMEDIT
 
16739
 
 
16740
# Tool to manipulate fat objects and archives on Mac OS X.
 
16741
LIPO=$lt_LIPO
 
16742
 
 
16743
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
16744
OTOOL=$lt_OTOOL
 
16745
 
 
16746
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
16747
OTOOL64=$lt_OTOOL64
 
16748
 
 
16749
# Old archive suffix (normally "a").
 
16750
libext=$libext
 
16751
 
 
16752
# Shared library suffix (normally ".so").
 
16753
shrext_cmds=$lt_shrext_cmds
 
16754
 
 
16755
# The commands to extract the exported symbol list from a shared archive.
 
16756
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
16757
 
 
16758
# Variables whose values should be saved in libtool wrapper scripts and
 
16759
# restored at link time.
 
16760
variables_saved_for_relink=$lt_variables_saved_for_relink
 
16761
 
 
16762
# Do we need the "lib" prefix for modules?
 
16763
need_lib_prefix=$need_lib_prefix
 
16764
 
 
16765
# Do we need a version for libraries?
 
16766
need_version=$need_version
 
16767
 
 
16768
# Library versioning type.
 
16769
version_type=$version_type
 
16770
 
 
16771
# Shared library runtime path variable.
 
16772
runpath_var=$runpath_var
 
16773
 
 
16774
# Shared library path variable.
 
16775
shlibpath_var=$shlibpath_var
 
16776
 
 
16777
# Is shlibpath searched before the hard-coded library search path?
 
16778
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
16779
 
 
16780
# Format of library name prefix.
 
16781
libname_spec=$lt_libname_spec
 
16782
 
 
16783
# List of archive names.  First name is the real one, the rest are links.
 
16784
# The last name is the one that the linker finds with -lNAME
 
16785
library_names_spec=$lt_library_names_spec
 
16786
 
 
16787
# The coded name of the library, if different from the real name.
 
16788
soname_spec=$lt_soname_spec
 
16789
 
 
16790
# Permission mode override for installation of shared libraries.
 
16791
install_override_mode=$lt_install_override_mode
 
16792
 
 
16793
# Command to use after installation of a shared archive.
 
16794
postinstall_cmds=$lt_postinstall_cmds
 
16795
 
 
16796
# Command to use after uninstallation of a shared archive.
 
16797
postuninstall_cmds=$lt_postuninstall_cmds
 
16798
 
 
16799
# Commands used to finish a libtool library installation in a directory.
 
16800
finish_cmds=$lt_finish_cmds
 
16801
 
 
16802
# As "finish_cmds", except a single script fragment to be evaled but
 
16803
# not shown.
 
16804
finish_eval=$lt_finish_eval
 
16805
 
 
16806
# Whether we should hardcode library paths into libraries.
 
16807
hardcode_into_libs=$hardcode_into_libs
 
16808
 
 
16809
# Compile-time system search path for libraries.
 
16810
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
16811
 
 
16812
# Run-time system search path for libraries.
 
16813
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
16814
 
 
16815
# Whether dlopen is supported.
 
16816
dlopen_support=$enable_dlopen
 
16817
 
 
16818
# Whether dlopen of programs is supported.
 
16819
dlopen_self=$enable_dlopen_self
 
16820
 
 
16821
# Whether dlopen of statically linked programs is supported.
 
16822
dlopen_self_static=$enable_dlopen_self_static
 
16823
 
 
16824
# Commands to strip libraries.
 
16825
old_striplib=$lt_old_striplib
 
16826
striplib=$lt_striplib
 
16827
 
 
16828
 
 
16829
# The linker used to build libraries.
 
16830
LD=$lt_LD
 
16831
 
 
16832
# How to create reloadable object files.
 
16833
reload_flag=$lt_reload_flag
 
16834
reload_cmds=$lt_reload_cmds
 
16835
 
 
16836
# Commands used to build an old-style archive.
 
16837
old_archive_cmds=$lt_old_archive_cmds
 
16838
 
 
16839
# A language specific compiler.
 
16840
CC=$lt_compiler
 
16841
 
 
16842
# Is the compiler the GNU compiler?
 
16843
with_gcc=$GCC
 
16844
 
 
16845
# Compiler flag to turn off builtin functions.
 
16846
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
16847
 
 
16848
# Additional compiler flags for building library objects.
 
16849
pic_flag=$lt_lt_prog_compiler_pic
 
16850
 
 
16851
# How to pass a linker flag through the compiler.
 
16852
wl=$lt_lt_prog_compiler_wl
 
16853
 
 
16854
# Compiler flag to prevent dynamic linking.
 
16855
link_static_flag=$lt_lt_prog_compiler_static
 
16856
 
 
16857
# Does compiler simultaneously support -c and -o options?
 
16858
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
16859
 
 
16860
# Whether or not to add -lc for building shared libraries.
 
16861
build_libtool_need_lc=$archive_cmds_need_lc
 
16862
 
 
16863
# Whether or not to disallow shared libs when runtime libs are static.
 
16864
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
16865
 
 
16866
# Compiler flag to allow reflexive dlopens.
 
16867
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
16868
 
 
16869
# Compiler flag to generate shared objects directly from archives.
 
16870
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
16871
 
 
16872
# Whether the compiler copes with passing no objects directly.
 
16873
compiler_needs_object=$lt_compiler_needs_object
 
16874
 
 
16875
# Create an old-style archive from a shared archive.
 
16876
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
16877
 
 
16878
# Create a temporary old-style archive to link instead of a shared archive.
 
16879
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
16880
 
 
16881
# Commands used to build a shared archive.
 
16882
archive_cmds=$lt_archive_cmds
 
16883
archive_expsym_cmds=$lt_archive_expsym_cmds
 
16884
 
 
16885
# Commands used to build a loadable module if different from building
 
16886
# a shared archive.
 
16887
module_cmds=$lt_module_cmds
 
16888
module_expsym_cmds=$lt_module_expsym_cmds
 
16889
 
 
16890
# Whether we are building with GNU ld or not.
 
16891
with_gnu_ld=$lt_with_gnu_ld
 
16892
 
 
16893
# Flag that allows shared libraries with undefined symbols to be built.
 
16894
allow_undefined_flag=$lt_allow_undefined_flag
 
16895
 
 
16896
# Flag that enforces no undefined symbols.
 
16897
no_undefined_flag=$lt_no_undefined_flag
 
16898
 
 
16899
# Flag to hardcode \$libdir into a binary during linking.
 
16900
# This must work even if \$libdir does not exist
 
16901
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
16902
 
 
16903
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
16904
# during linking.  This must work even if \$libdir does not exist.
 
16905
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
16906
 
 
16907
# Whether we need a single "-rpath" flag with a separated argument.
 
16908
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
16909
 
 
16910
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
16911
# DIR into the resulting binary.
 
16912
hardcode_direct=$hardcode_direct
 
16913
 
 
16914
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
16915
# DIR into the resulting binary and the resulting library dependency is
 
16916
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
16917
# library is relocated.
 
16918
hardcode_direct_absolute=$hardcode_direct_absolute
 
16919
 
 
16920
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
16921
# into the resulting binary.
 
16922
hardcode_minus_L=$hardcode_minus_L
 
16923
 
 
16924
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
16925
# into the resulting binary.
 
16926
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
16927
 
 
16928
# Set to "yes" if building a shared library automatically hardcodes DIR
 
16929
# into the library and all subsequent libraries and executables linked
 
16930
# against it.
 
16931
hardcode_automatic=$hardcode_automatic
 
16932
 
 
16933
# Set to yes if linker adds runtime paths of dependent libraries
 
16934
# to runtime path list.
 
16935
inherit_rpath=$inherit_rpath
 
16936
 
 
16937
# Whether libtool must link a program against all its dependency libraries.
 
16938
link_all_deplibs=$link_all_deplibs
 
16939
 
 
16940
# Set to "yes" if exported symbols are required.
 
16941
always_export_symbols=$always_export_symbols
 
16942
 
 
16943
# The commands to list exported symbols.
 
16944
export_symbols_cmds=$lt_export_symbols_cmds
 
16945
 
 
16946
# Symbols that should not be listed in the preloaded symbols.
 
16947
exclude_expsyms=$lt_exclude_expsyms
 
16948
 
 
16949
# Symbols that must always be exported.
 
16950
include_expsyms=$lt_include_expsyms
 
16951
 
 
16952
# Commands necessary for linking programs (against libraries) with templates.
 
16953
prelink_cmds=$lt_prelink_cmds
 
16954
 
 
16955
# Commands necessary for finishing linking programs.
 
16956
postlink_cmds=$lt_postlink_cmds
 
16957
 
 
16958
# Specify filename containing input files.
 
16959
file_list_spec=$lt_file_list_spec
 
16960
 
 
16961
# How to hardcode a shared library path into an executable.
 
16962
hardcode_action=$hardcode_action
 
16963
 
 
16964
# ### END LIBTOOL CONFIG
 
16965
 
 
16966
_LT_EOF
 
16967
 
 
16968
  case $host_os in
 
16969
  aix3*)
 
16970
    cat <<\_LT_EOF >> "$cfgfile"
 
16971
# AIX sometimes has problems with the GCC collect2 program.  For some
 
16972
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
16973
# vanish in a puff of smoke.
 
16974
if test "X${COLLECT_NAMES+set}" != Xset; then
 
16975
  COLLECT_NAMES=
 
16976
  export COLLECT_NAMES
 
16977
fi
 
16978
_LT_EOF
 
16979
    ;;
 
16980
  esac
 
16981
 
 
16982
 
 
16983
ltmain="$ac_aux_dir/ltmain.sh"
 
16984
 
 
16985
 
 
16986
  # We use sed instead of cat because bash on DJGPP gets confused if
 
16987
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
16988
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
16989
  # is reportedly fixed, but why not run on old versions too?
 
16990
  sed '$q' "$ltmain" >> "$cfgfile" \
 
16991
     || (rm -f "$cfgfile"; exit 1)
 
16992
 
 
16993
  if test x"$xsi_shell" = xyes; then
 
16994
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
16995
func_dirname ()\
 
16996
{\
 
16997
\    case ${1} in\
 
16998
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
16999
\      *  ) func_dirname_result="${3}" ;;\
 
17000
\    esac\
 
17001
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
17002
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17003
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17004
test 0 -eq $? || _lt_function_replace_fail=:
 
17005
 
 
17006
 
 
17007
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
17008
func_basename ()\
 
17009
{\
 
17010
\    func_basename_result="${1##*/}"\
 
17011
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17012
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17013
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17014
test 0 -eq $? || _lt_function_replace_fail=:
 
17015
 
 
17016
 
 
17017
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
17018
func_dirname_and_basename ()\
 
17019
{\
 
17020
\    case ${1} in\
 
17021
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17022
\      *  ) func_dirname_result="${3}" ;;\
 
17023
\    esac\
 
17024
\    func_basename_result="${1##*/}"\
 
17025
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17026
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17027
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17028
test 0 -eq $? || _lt_function_replace_fail=:
 
17029
 
 
17030
 
 
17031
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
17032
func_stripname ()\
 
17033
{\
 
17034
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
17035
\    # positional parameters, so assign one to ordinary parameter first.\
 
17036
\    func_stripname_result=${3}\
 
17037
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
17038
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
17039
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
17040
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17041
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17042
test 0 -eq $? || _lt_function_replace_fail=:
 
17043
 
 
17044
 
 
17045
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
17046
func_split_long_opt ()\
 
17047
{\
 
17048
\    func_split_long_opt_name=${1%%=*}\
 
17049
\    func_split_long_opt_arg=${1#*=}\
 
17050
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17051
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17052
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17053
test 0 -eq $? || _lt_function_replace_fail=:
 
17054
 
 
17055
 
 
17056
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
17057
func_split_short_opt ()\
 
17058
{\
 
17059
\    func_split_short_opt_arg=${1#??}\
 
17060
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
17061
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17062
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17063
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17064
test 0 -eq $? || _lt_function_replace_fail=:
 
17065
 
 
17066
 
 
17067
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
17068
func_lo2o ()\
 
17069
{\
 
17070
\    case ${1} in\
 
17071
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
17072
\      *)    func_lo2o_result=${1} ;;\
 
17073
\    esac\
 
17074
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
17075
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17076
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17077
test 0 -eq $? || _lt_function_replace_fail=:
 
17078
 
 
17079
 
 
17080
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
17081
func_xform ()\
 
17082
{\
 
17083
    func_xform_result=${1%.*}.lo\
 
17084
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
17085
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17086
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17087
test 0 -eq $? || _lt_function_replace_fail=:
 
17088
 
 
17089
 
 
17090
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
17091
func_arith ()\
 
17092
{\
 
17093
    func_arith_result=$(( $* ))\
 
17094
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
17095
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17096
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17097
test 0 -eq $? || _lt_function_replace_fail=:
 
17098
 
 
17099
 
 
17100
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
17101
func_len ()\
 
17102
{\
 
17103
    func_len_result=${#1}\
 
17104
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
17105
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17106
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17107
test 0 -eq $? || _lt_function_replace_fail=:
 
17108
 
 
17109
fi
 
17110
 
 
17111
if test x"$lt_shell_append" = xyes; then
 
17112
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
17113
func_append ()\
 
17114
{\
 
17115
    eval "${1}+=\\${2}"\
 
17116
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
17117
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17118
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17119
test 0 -eq $? || _lt_function_replace_fail=:
 
17120
 
 
17121
 
 
17122
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
17123
func_append_quoted ()\
 
17124
{\
 
17125
\    func_quote_for_eval "${2}"\
 
17126
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
17127
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
17128
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17129
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17130
test 0 -eq $? || _lt_function_replace_fail=:
 
17131
 
 
17132
 
 
17133
  # Save a `func_append' function call where possible by direct use of '+='
 
17134
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
17135
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17136
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17137
  test 0 -eq $? || _lt_function_replace_fail=:
 
17138
else
 
17139
  # Save a `func_append' function call even when '+=' is not available
 
17140
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
17141
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17142
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17143
  test 0 -eq $? || _lt_function_replace_fail=:
 
17144
fi
 
17145
 
 
17146
if test x"$_lt_function_replace_fail" = x":"; then
 
17147
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
17148
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
17149
fi
 
17150
 
 
17151
 
 
17152
   mv -f "$cfgfile" "$ofile" ||
 
17153
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
17154
  chmod +x "$ofile"
 
17155
 
 
17156
 ;;
 
17157
    "po-directories":C)
 
17158
    for ac_file in $CONFIG_FILES; do
 
17159
      # Support "outfile[:infile[:infile...]]"
 
17160
      case "$ac_file" in
 
17161
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
 
17162
      esac
 
17163
      # PO directories have a Makefile.in generated from Makefile.in.in.
 
17164
      case "$ac_file" in */Makefile.in)
 
17165
        # Adjust a relative srcdir.
 
17166
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
 
17167
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
 
17168
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
 
17169
        # In autoconf-2.13 it is called $ac_given_srcdir.
 
17170
        # In autoconf-2.50 it is called $srcdir.
 
17171
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
 
17172
        case "$ac_given_srcdir" in
 
17173
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
 
17174
          /*) top_srcdir="$ac_given_srcdir" ;;
 
17175
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
 
17176
        esac
 
17177
        # Treat a directory as a PO directory if and only if it has a
 
17178
        # POTFILES.in file. This allows packages to have multiple PO
 
17179
        # directories under different names or in different locations.
 
17180
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
 
17181
          rm -f "$ac_dir/POTFILES"
 
17182
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
 
17183
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
 
17184
          POMAKEFILEDEPS="POTFILES.in"
 
17185
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
 
17186
          # on $ac_dir but don't depend on user-specified configuration
 
17187
          # parameters.
 
17188
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
 
17189
            # The LINGUAS file contains the set of available languages.
 
17190
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
 
17191
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
 
17192
            fi
 
17193
            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
 
17194
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
 
17195
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
 
17196
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
 
17197
          else
 
17198
            # The set of available languages was given in configure.in.
 
17199
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
 
17200
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
 
17201
          fi
 
17202
          # Compute POFILES
 
17203
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
 
17204
          # Compute UPDATEPOFILES
 
17205
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
 
17206
          # Compute DUMMYPOFILES
 
17207
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
 
17208
          # Compute GMOFILES
 
17209
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
 
17210
          case "$ac_given_srcdir" in
 
17211
            .) srcdirpre= ;;
 
17212
            *) srcdirpre='$(srcdir)/' ;;
 
17213
          esac
 
17214
          POFILES=
 
17215
          UPDATEPOFILES=
 
17216
          DUMMYPOFILES=
 
17217
          GMOFILES=
 
17218
          for lang in $ALL_LINGUAS; do
 
17219
            POFILES="$POFILES $srcdirpre$lang.po"
 
17220
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
 
17221
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
 
17222
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
 
17223
          done
 
17224
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
 
17225
          # environment variable.
 
17226
          INST_LINGUAS=
 
17227
          if test -n "$ALL_LINGUAS"; then
 
17228
            for presentlang in $ALL_LINGUAS; do
 
17229
              useit=no
 
17230
              if test "%UNSET%" != "$LINGUAS"; then
 
17231
                desiredlanguages="$LINGUAS"
 
17232
              else
 
17233
                desiredlanguages="$ALL_LINGUAS"
 
17234
              fi
 
17235
              for desiredlang in $desiredlanguages; do
 
17236
                # Use the presentlang catalog if desiredlang is
 
17237
                #   a. equal to presentlang, or
 
17238
                #   b. a variant of presentlang (because in this case,
 
17239
                #      presentlang can be used as a fallback for messages
 
17240
                #      which are not translated in the desiredlang catalog).
 
17241
                case "$desiredlang" in
 
17242
                  "$presentlang"*) useit=yes;;
 
17243
                esac
 
17244
              done
 
17245
              if test $useit = yes; then
 
17246
                INST_LINGUAS="$INST_LINGUAS $presentlang"
 
17247
              fi
 
17248
            done
 
17249
          fi
 
17250
          CATALOGS=
 
17251
          if test -n "$INST_LINGUAS"; then
 
17252
            for lang in $INST_LINGUAS; do
 
17253
              CATALOGS="$CATALOGS $lang.gmo"
 
17254
            done
 
17255
          fi
 
17256
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
 
17257
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
 
17258
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
 
17259
            if test -f "$f"; then
 
17260
              case "$f" in
 
17261
                *.orig | *.bak | *~) ;;
 
17262
                *) cat "$f" >> "$ac_dir/Makefile" ;;
 
17263
              esac
 
17264
            fi
 
17265
          done
 
17266
        fi
 
17267
        ;;
 
17268
      esac
 
17269
    done ;;
 
17270
 
 
17271
  esac
 
17272
done # for ac_tag
 
17273
 
 
17274
 
 
17275
as_fn_exit 0
 
17276
_ACEOF
 
17277
ac_clean_files=$ac_clean_files_save
 
17278
 
 
17279
test $ac_write_fail = 0 ||
 
17280
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
17281
 
 
17282
 
 
17283
# configure is writing to config.log, and then calls config.status.
 
17284
# config.status does its own redirection, appending to config.log.
 
17285
# Unfortunately, on DOS this fails, as config.log is still kept open
 
17286
# by configure, so config.status won't be able to write to it; its
 
17287
# output is simply discarded.  So we exec the FD to /dev/null,
 
17288
# effectively closing config.log, so it can be properly (re)opened and
 
17289
# appended to by config.status.  When coming back to configure, we
 
17290
# need to make the FD available again.
 
17291
if test "$no_create" != yes; then
 
17292
  ac_cs_success=:
 
17293
  ac_config_status_args=
 
17294
  test "$silent" = yes &&
 
17295
    ac_config_status_args="$ac_config_status_args --quiet"
 
17296
  exec 5>/dev/null
 
17297
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
17298
  exec 5>>config.log
 
17299
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
17300
  # would make configure fail if this is the last instruction.
 
17301
  $ac_cs_success || as_fn_exit 1
 
17302
fi
 
17303
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
17304
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
17305
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
17306
fi
 
17307
 
 
17308
 
 
17309
cat << EOF
 
17310
 
 
17311
$PACKAGE $VERSION configured successfully:
 
17312
 
 
17313
        Installing into:        $prefix
 
17314
 
 
17315
        Compiler flags:         $CFLAGS
 
17316
 
 
17317
        X11 compiler flags:     $X11_CFLAGS
 
17318
        X11 linker flags:       $X11_LIBS
 
17319
 
 
17320
        GTK compiler flags:     $GTK_CFLAGS
 
17321
        GTK linker flags:       $GTK_LIBS
 
17322
 
 
17323
        XNeur Config flags:     $XNEURCONF_CFLAGS
 
17324
        XNeur Config libs:      $XNEURCONF_LIBS
 
17325
 
 
17326
        XNeur flags:            $XNEURLIB_CFLAGS
 
17327
        XNeur libs:             $XNEURLIB_LIBS
 
17328
 
 
17329
EOF
 
17330
 
 
17331
#if (test "x$found_gtk2" != "xno") || (test "x$found_gtk3" != "xno"); then
 
17332
if (test "x$found_gtk2" != "xno"); then
 
17333
cat <<EOF
 
17334
        Use GTK+ >= 2.20.0 support
 
17335
 
 
17336
EOF
 
17337
fi
 
17338
 
 
17339
if test "x$with_appindicator" != "xno"; then
 
17340
        if test "x$found_appindicator" != "xno"; then
 
17341
cat <<EOF
 
17342
        Use App Indicator 0.1 >= $APPINDICATOR_REQUIRED support
 
17343
 
 
17344
EOF
 
17345
        else
 
17346
        if test "x$found_deprec_appindicator" != "xno"; then
 
17347
cat <<EOF
 
17348
        Use App Indicator 0.1 < $APPINDICATOR_REQUIRED support
 
17349
 
 
17350
EOF
 
17351
        fi
 
17352
        fi
 
17353
fi