~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to autom4te.cache/output.1

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@%:@! /bin/sh
 
2
@%:@ Guess values for system-dependent variables and create Makefiles.
 
3
@%:@ Generated by GNU Autoconf 2.69 for codeblocks 16.01svn10692.
 
4
@%:@ 
 
5
@%:@ 
 
6
@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
 
7
@%:@ 
 
8
@%:@ 
 
9
@%:@ This configure script is free software; the Free Software Foundation
 
10
@%:@ gives unlimited permission to copy, distribute and modify it.
 
11
## -------------------- ##
 
12
## M4sh Initialization. ##
 
13
## -------------------- ##
 
14
 
 
15
# Be more Bourne compatible
 
16
DUALCASE=1; export DUALCASE # for MKS sh
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
18
  emulate sh
 
19
  NULLCMD=:
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
21
  # is contrary to our usage.  Disable this feature.
 
22
  alias -g '${1+"$@"}'='"$@"'
 
23
  setopt NO_GLOB_SUBST
 
24
else
 
25
  case `(set -o) 2>/dev/null` in @%:@(
 
26
  *posix*) :
 
27
    set -o posix ;; @%:@(
 
28
  *) :
 
29
     ;;
 
30
esac
 
31
fi
 
32
 
 
33
 
 
34
as_nl='
 
35
'
 
36
export as_nl
 
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
42
# but without wasting forks for bash or zsh.
 
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
44
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
  as_echo='print -r --'
 
46
  as_echo_n='print -rn --'
 
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
48
  as_echo='printf %s\n'
 
49
  as_echo_n='printf %s'
 
50
else
 
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
53
    as_echo_n='/usr/ucb/echo -n'
 
54
  else
 
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
56
    as_echo_n_body='eval
 
57
      arg=$1;
 
58
      case $arg in @%:@(
 
59
      *"$as_nl"*)
 
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
62
      esac;
 
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
64
    '
 
65
    export as_echo_n_body
 
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
67
  fi
 
68
  export as_echo_body
 
69
  as_echo='sh -c $as_echo_body as_echo'
 
70
fi
 
71
 
 
72
# The user is always right.
 
73
if test "${PATH_SEPARATOR+set}" != set; then
 
74
  PATH_SEPARATOR=:
 
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
77
      PATH_SEPARATOR=';'
 
78
  }
 
79
fi
 
80
 
 
81
 
 
82
# IFS
 
83
# We need space, tab and new line, in precisely that order.  Quoting is
 
84
# there to prevent editors from complaining about space-tab.
 
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
86
# splitting by setting IFS to empty value.)
 
87
IFS=" ""        $as_nl"
 
88
 
 
89
# Find who we are.  Look in the path if we contain no directory separator.
 
90
as_myself=
 
91
case $0 in @%:@((
 
92
  *[\\/]* ) as_myself=$0 ;;
 
93
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
94
for as_dir in $PATH
 
95
do
 
96
  IFS=$as_save_IFS
 
97
  test -z "$as_dir" && as_dir=.
 
98
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
99
  done
 
100
IFS=$as_save_IFS
 
101
 
 
102
     ;;
 
103
esac
 
104
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
105
# in which case we are not to be found in the path.
 
106
if test "x$as_myself" = x; then
 
107
  as_myself=$0
 
108
fi
 
109
if test ! -f "$as_myself"; then
 
110
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
111
  exit 1
 
112
fi
 
113
 
 
114
# Unset variables that we do not need and which cause bugs (e.g. in
 
115
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
116
# suppresses any "Segmentation fault" message there.  '((' could
 
117
# trigger a bug in pdksh 5.2.14.
 
118
for as_var in BASH_ENV ENV MAIL MAILPATH
 
119
do eval test x\${$as_var+set} = xset \
 
120
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
121
done
 
122
PS1='$ '
 
123
PS2='> '
 
124
PS4='+ '
 
125
 
 
126
# NLS nuisances.
 
127
LC_ALL=C
 
128
export LC_ALL
 
129
LANGUAGE=C
 
130
export LANGUAGE
 
131
 
 
132
# CDPATH.
 
133
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
134
 
 
135
# Use a proper internal environment variable to ensure we don't fall
 
136
  # into an infinite loop, continuously re-executing ourselves.
 
137
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
 
138
    _as_can_reexec=no; export _as_can_reexec;
 
139
    # We cannot yet assume a decent shell, so we have to provide a
 
140
# neutralization value for shells without unset; and this also
 
141
# works around shells that cannot unset nonexistent variables.
 
142
# Preserve -v and -x to the replacement shell.
 
143
BASH_ENV=/dev/null
 
144
ENV=/dev/null
 
145
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
146
case $- in @%:@ ((((
 
147
  *v*x* | *x*v* ) as_opts=-vx ;;
 
148
  *v* ) as_opts=-v ;;
 
149
  *x* ) as_opts=-x ;;
 
150
  * ) as_opts= ;;
 
151
esac
 
152
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
153
# Admittedly, this is quite paranoid, since all the known shells bail
 
154
# out after a failed `exec'.
 
155
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
156
as_fn_exit 255
 
157
  fi
 
158
  # We don't want this to propagate to other subprocesses.
 
159
          { _as_can_reexec=; unset _as_can_reexec;}
 
160
if test "x$CONFIG_SHELL" = x; then
 
161
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
162
  emulate sh
 
163
  NULLCMD=:
 
164
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
165
  # is contrary to our usage.  Disable this feature.
 
166
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
167
  setopt NO_GLOB_SUBST
 
168
else
 
169
  case \`(set -o) 2>/dev/null\` in @%:@(
 
170
  *posix*) :
 
171
    set -o posix ;; @%:@(
 
172
  *) :
 
173
     ;;
 
174
esac
 
175
fi
 
176
"
 
177
  as_required="as_fn_return () { (exit \$1); }
 
178
as_fn_success () { as_fn_return 0; }
 
179
as_fn_failure () { as_fn_return 1; }
 
180
as_fn_ret_success () { return 0; }
 
181
as_fn_ret_failure () { return 1; }
 
182
 
 
183
exitcode=0
 
184
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
185
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
186
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
187
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
188
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
189
  
 
190
else
 
191
  exitcode=1; echo positional parameters were not saved.
 
192
fi
 
193
test x\$exitcode = x0 || exit 1
 
194
test -x / || exit 1"
 
195
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
196
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
197
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
198
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
199
 
 
200
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
201
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
202
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
203
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
204
    PATH=/empty FPATH=/empty; export PATH FPATH
 
205
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
206
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
 
207
test \$(( 1 + 1 )) = 2 || exit 1"
 
208
  if (eval "$as_required") 2>/dev/null; then :
 
209
  as_have_required=yes
 
210
else
 
211
  as_have_required=no
 
212
fi
 
213
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
214
  
 
215
else
 
216
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
217
as_found=false
 
218
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
219
do
 
220
  IFS=$as_save_IFS
 
221
  test -z "$as_dir" && as_dir=.
 
222
  as_found=:
 
223
  case $as_dir in @%:@(
 
224
         /*)
 
225
           for as_base in sh bash ksh sh5; do
 
226
             # Try only shells that exist, to save several forks.
 
227
             as_shell=$as_dir/$as_base
 
228
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
229
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
230
  CONFIG_SHELL=$as_shell as_have_required=yes
 
231
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
232
  break 2
 
233
fi
 
234
fi
 
235
           done;;
 
236
       esac
 
237
  as_found=false
 
238
done
 
239
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
240
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
241
  CONFIG_SHELL=$SHELL as_have_required=yes
 
242
fi; }
 
243
IFS=$as_save_IFS
 
244
 
 
245
 
 
246
      if test "x$CONFIG_SHELL" != x; then :
 
247
  export CONFIG_SHELL
 
248
             # We cannot yet assume a decent shell, so we have to provide a
 
249
# neutralization value for shells without unset; and this also
 
250
# works around shells that cannot unset nonexistent variables.
 
251
# Preserve -v and -x to the replacement shell.
 
252
BASH_ENV=/dev/null
 
253
ENV=/dev/null
 
254
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
255
case $- in @%:@ ((((
 
256
  *v*x* | *x*v* ) as_opts=-vx ;;
 
257
  *v* ) as_opts=-v ;;
 
258
  *x* ) as_opts=-x ;;
 
259
  * ) as_opts= ;;
 
260
esac
 
261
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
262
# Admittedly, this is quite paranoid, since all the known shells bail
 
263
# out after a failed `exec'.
 
264
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
265
exit 255
 
266
fi
 
267
 
 
268
    if test x$as_have_required = xno; then :
 
269
  $as_echo "$0: This script requires a shell more modern than all"
 
270
  $as_echo "$0: the shells that I found on your system."
 
271
  if test x${ZSH_VERSION+set} = xset ; then
 
272
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
273
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
274
  else
 
275
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
276
$0: including any error possibly output before this
 
277
$0: message. Then install a modern shell, or manually run
 
278
$0: the script under such a shell if you do have one."
 
279
  fi
 
280
  exit 1
 
281
fi
 
282
fi
 
283
fi
 
284
SHELL=${CONFIG_SHELL-/bin/sh}
 
285
export SHELL
 
286
# Unset more variables known to interfere with behavior of common tools.
 
287
CLICOLOR_FORCE= GREP_OPTIONS=
 
288
unset CLICOLOR_FORCE GREP_OPTIONS
 
289
 
 
290
## --------------------- ##
 
291
## M4sh Shell Functions. ##
 
292
## --------------------- ##
 
293
@%:@ as_fn_unset VAR
 
294
@%:@ ---------------
 
295
@%:@ Portably unset VAR.
 
296
as_fn_unset ()
 
297
{
 
298
  { eval $1=; unset $1;}
 
299
}
 
300
as_unset=as_fn_unset
 
301
 
 
302
@%:@ as_fn_set_status STATUS
 
303
@%:@ -----------------------
 
304
@%:@ Set @S|@? to STATUS, without forking.
 
305
as_fn_set_status ()
 
306
{
 
307
  return $1
 
308
} @%:@ as_fn_set_status
 
309
 
 
310
@%:@ as_fn_exit STATUS
 
311
@%:@ -----------------
 
312
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
313
as_fn_exit ()
 
314
{
 
315
  set +e
 
316
  as_fn_set_status $1
 
317
  exit $1
 
318
} @%:@ as_fn_exit
 
319
 
 
320
@%:@ as_fn_mkdir_p
 
321
@%:@ -------------
 
322
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
 
323
as_fn_mkdir_p ()
 
324
{
 
325
 
 
326
  case $as_dir in #(
 
327
  -*) as_dir=./$as_dir;;
 
328
  esac
 
329
  test -d "$as_dir" || eval $as_mkdir_p || {
 
330
    as_dirs=
 
331
    while :; do
 
332
      case $as_dir in #(
 
333
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
334
      *) as_qdir=$as_dir;;
 
335
      esac
 
336
      as_dirs="'$as_qdir' $as_dirs"
 
337
      as_dir=`$as_dirname -- "$as_dir" ||
 
338
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
339
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
340
         X"$as_dir" : 'X\(//\)$' \| \
 
341
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
342
$as_echo X"$as_dir" |
 
343
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
344
            s//\1/
 
345
            q
 
346
          }
 
347
          /^X\(\/\/\)[^/].*/{
 
348
            s//\1/
 
349
            q
 
350
          }
 
351
          /^X\(\/\/\)$/{
 
352
            s//\1/
 
353
            q
 
354
          }
 
355
          /^X\(\/\).*/{
 
356
            s//\1/
 
357
            q
 
358
          }
 
359
          s/.*/./; q'`
 
360
      test -d "$as_dir" && break
 
361
    done
 
362
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
363
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
364
 
 
365
 
 
366
} @%:@ as_fn_mkdir_p
 
367
 
 
368
@%:@ as_fn_executable_p FILE
 
369
@%:@ -----------------------
 
370
@%:@ Test if FILE is an executable regular file.
 
371
as_fn_executable_p ()
 
372
{
 
373
  test -f "$1" && test -x "$1"
 
374
} @%:@ as_fn_executable_p
 
375
@%:@ as_fn_append VAR VALUE
 
376
@%:@ ----------------------
 
377
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
 
378
@%:@ advantage of any shell optimizations that allow amortized linear growth over
 
379
@%:@ repeated appends, instead of the typical quadratic growth present in naive
 
380
@%:@ implementations.
 
381
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
382
  eval 'as_fn_append ()
 
383
  {
 
384
    eval $1+=\$2
 
385
  }'
 
386
else
 
387
  as_fn_append ()
 
388
  {
 
389
    eval $1=\$$1\$2
 
390
  }
 
391
fi # as_fn_append
 
392
 
 
393
@%:@ as_fn_arith ARG...
 
394
@%:@ ------------------
 
395
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
 
396
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
 
397
@%:@ must be portable across @S|@(()) and expr.
 
398
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
399
  eval 'as_fn_arith ()
 
400
  {
 
401
    as_val=$(( $* ))
 
402
  }'
 
403
else
 
404
  as_fn_arith ()
 
405
  {
 
406
    as_val=`expr "$@" || test $? -eq 1`
 
407
  }
 
408
fi # as_fn_arith
 
409
 
 
410
 
 
411
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
 
412
@%:@ ----------------------------------------
 
413
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
414
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
415
@%:@ script with STATUS, using 1 if that was 0.
 
416
as_fn_error ()
 
417
{
 
418
  as_status=$1; test $as_status -eq 0 && as_status=1
 
419
  if test "$4"; then
 
420
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
421
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
422
  fi
 
423
  $as_echo "$as_me: error: $2" >&2
 
424
  as_fn_exit $as_status
 
425
} @%:@ as_fn_error
 
426
 
 
427
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
428
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
429
  as_expr=expr
 
430
else
 
431
  as_expr=false
 
432
fi
 
433
 
 
434
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
435
  as_basename=basename
 
436
else
 
437
  as_basename=false
 
438
fi
 
439
 
 
440
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
441
  as_dirname=dirname
 
442
else
 
443
  as_dirname=false
 
444
fi
 
445
 
 
446
as_me=`$as_basename -- "$0" ||
 
447
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
448
         X"$0" : 'X\(//\)$' \| \
 
449
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
450
$as_echo X/"$0" |
 
451
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
452
            s//\1/
 
453
            q
 
454
          }
 
455
          /^X\/\(\/\/\)$/{
 
456
            s//\1/
 
457
            q
 
458
          }
 
459
          /^X\/\(\/\).*/{
 
460
            s//\1/
 
461
            q
 
462
          }
 
463
          s/.*/./; q'`
 
464
 
 
465
# Avoid depending upon Character Ranges.
 
466
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
467
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
468
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
469
as_cr_digits='0123456789'
 
470
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
471
 
 
472
 
 
473
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
474
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
475
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
476
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
477
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
478
  sed -n '
 
479
    p
 
480
    /[$]LINENO/=
 
481
  ' <$as_myself |
 
482
    sed '
 
483
      s/[$]LINENO.*/&-/
 
484
      t lineno
 
485
      b
 
486
      :lineno
 
487
      N
 
488
      :loop
 
489
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
490
      t loop
 
491
      s/-\n.*//
 
492
    ' >$as_me.lineno &&
 
493
  chmod +x "$as_me.lineno" ||
 
494
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
495
 
 
496
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 
497
  # already done that, so ensure we don't try to do so again and fall
 
498
  # in an infinite loop.  This has already happened in practice.
 
499
  _as_can_reexec=no; export _as_can_reexec
 
500
  # Don't try to exec as it changes $[0], causing all sort of problems
 
501
  # (the dirname of $[0] is not the place where we might find the
 
502
  # original and so on.  Autoconf is especially sensitive to this).
 
503
  . "./$as_me.lineno"
 
504
  # Exit status is that of the last command.
 
505
  exit
 
506
}
 
507
 
 
508
ECHO_C= ECHO_N= ECHO_T=
 
509
case `echo -n x` in @%:@(((((
 
510
-n*)
 
511
  case `echo 'xy\c'` in
 
512
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
513
  xy)  ECHO_C='\c';;
 
514
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
515
       ECHO_T=' ';;
 
516
  esac;;
 
517
*)
 
518
  ECHO_N='-n';;
 
519
esac
 
520
 
 
521
rm -f conf$$ conf$$.exe conf$$.file
 
522
if test -d conf$$.dir; then
 
523
  rm -f conf$$.dir/conf$$.file
 
524
else
 
525
  rm -f conf$$.dir
 
526
  mkdir conf$$.dir 2>/dev/null
 
527
fi
 
528
if (echo >conf$$.file) 2>/dev/null; then
 
529
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
530
    as_ln_s='ln -s'
 
531
    # ... but there are two gotchas:
 
532
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
533
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
534
    # In both cases, we have to default to `cp -pR'.
 
535
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
536
      as_ln_s='cp -pR'
 
537
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
538
    as_ln_s=ln
 
539
  else
 
540
    as_ln_s='cp -pR'
 
541
  fi
 
542
else
 
543
  as_ln_s='cp -pR'
 
544
fi
 
545
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
546
rmdir conf$$.dir 2>/dev/null
 
547
 
 
548
if mkdir -p . 2>/dev/null; then
 
549
  as_mkdir_p='mkdir -p "$as_dir"'
 
550
else
 
551
  test -d ./-p && rmdir ./-p
 
552
  as_mkdir_p=false
 
553
fi
 
554
 
 
555
as_test_x='test -x'
 
556
as_executable_p=as_fn_executable_p
 
557
 
 
558
# Sed expression to map a string onto a valid CPP name.
 
559
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
560
 
 
561
# Sed expression to map a string onto a valid variable name.
 
562
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
563
 
 
564
SHELL=${CONFIG_SHELL-/bin/sh}
 
565
 
 
566
 
 
567
test -n "$DJDIR" || exec 7<&0 </dev/null
 
568
exec 6>&1
 
569
 
 
570
# Name of the host.
 
571
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
572
# so uname gets run too.
 
573
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
574
 
 
575
#
 
576
# Initializations.
 
577
#
 
578
ac_default_prefix=/usr/local
 
579
ac_clean_files=
 
580
ac_config_libobj_dir=.
 
581
LIB@&t@OBJS=
 
582
cross_compiling=no
 
583
subdirs=
 
584
MFLAGS=
 
585
MAKEFLAGS=
 
586
 
 
587
# Identity of this package.
 
588
PACKAGE_NAME='codeblocks'
 
589
PACKAGE_TARNAME='codeblocks'
 
590
PACKAGE_VERSION='16.01svn10692'
 
591
PACKAGE_STRING='codeblocks 16.01svn10692'
 
592
PACKAGE_BUGREPORT=''
 
593
PACKAGE_URL=''
 
594
 
 
595
# Factoring default headers for most tests.
 
596
ac_includes_default="\
 
597
#include <stdio.h>
 
598
#ifdef HAVE_SYS_TYPES_H
 
599
# include <sys/types.h>
 
600
#endif
 
601
#ifdef HAVE_SYS_STAT_H
 
602
# include <sys/stat.h>
 
603
#endif
 
604
#ifdef STDC_HEADERS
 
605
# include <stdlib.h>
 
606
# include <stddef.h>
 
607
#else
 
608
# ifdef HAVE_STDLIB_H
 
609
#  include <stdlib.h>
 
610
# endif
 
611
#endif
 
612
#ifdef HAVE_STRING_H
 
613
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
614
#  include <memory.h>
 
615
# endif
 
616
# include <string.h>
 
617
#endif
 
618
#ifdef HAVE_STRINGS_H
 
619
# include <strings.h>
 
620
#endif
 
621
#ifdef HAVE_INTTYPES_H
 
622
# include <inttypes.h>
 
623
#endif
 
624
#ifdef HAVE_STDINT_H
 
625
# include <stdint.h>
 
626
#endif
 
627
#ifdef HAVE_UNISTD_H
 
628
# include <unistd.h>
 
629
#endif"
 
630
 
 
631
ac_subst_vars='am__EXEEXT_FALSE
 
632
am__EXEEXT_TRUE
 
633
LTLIBOBJS
 
634
DATE
 
635
REVISION
 
636
codeblocks_PCH_FLAGS
 
637
MACSETFILE
 
638
POSTLINK_COMMAND
 
639
WXPROPGRID_HEADERS
 
640
WXPROPGRID_INCLUDE
 
641
WXPROPGRID_LIB
 
642
WXPROPGRID_DIR
 
643
WX_X11_LIBS
 
644
WX_X11_CFLAGS
 
645
CB_FONTCONFIG_LIBS
 
646
CB_FONTCONFIG_CFLAGS
 
647
CB_HUNSPELL_LIBS
 
648
CB_HUNSPELL_CFLAGS
 
649
CB_GAMIN_LIBS
 
650
CB_GAMIN_CFLAGS
 
651
CB_GLIB2_LIBS
 
652
CB_GLIB2_CFLAGS
 
653
WX_GTK2_LIBS
 
654
WX_GTK2_CFLAGS
 
655
HAVE_WX29_FALSE
 
656
HAVE_WX29_TRUE
 
657
HAVE_GCC48_FALSE
 
658
HAVE_GCC48_TRUE
 
659
GCC_PATCH_VERSION
 
660
GCC_MINOR_VERSION
 
661
GCC_MAJOR_VERSION
 
662
GCC_VERSION
 
663
SETFILE
 
664
REZ
 
665
X_EXTRA_LIBS
 
666
X_LIBS
 
667
X_PRE_LIBS
 
668
X_CFLAGS
 
669
XMKMF
 
670
FONTCONFIG_LIBS
 
671
FONTCONFIG_CFLAGS
 
672
GAMIN_LIBS
 
673
GAMIN_CFLAGS
 
674
GTK2_LIBS
 
675
GTK2_CFLAGS
 
676
HUNSPELL_LIBS
 
677
HUNSPELL_CFLAGS
 
678
GLIB2_LIBS
 
679
GLIB2_CFLAGS
 
680
PKG_CONFIG_LIBDIR
 
681
PKG_CONFIG_PATH
 
682
PKG_CONFIG
 
683
HAVE_PKG_CONFIG
 
684
WX_RESCOMP
 
685
WX_VERSION
 
686
WX_LIBS_STATIC
 
687
WX_LIBS
 
688
WX_CXXFLAGS_ONLY
 
689
WX_CFLAGS_ONLY
 
690
WX_CXXFLAGS
 
691
WX_CFLAGS
 
692
WX_CPPFLAGS
 
693
WX_CONFIG_PATH
 
694
PRECOMPILE_HEADERS_FALSE
 
695
PRECOMPILE_HEADERS_TRUE
 
696
BUILD_WXSMITHAUI
 
697
BUILD_WXSMITHCONTRIB
 
698
BUILD_WXSMITH
 
699
BUILD_WXCONTRIB
 
700
BUILD_VALGRIND
 
701
BUILD_TOOLSPLUS
 
702
BUILD_THREADSEARCH
 
703
BUILD_SPELLCHECKER
 
704
BUILD_SMARTINDENT
 
705
BUILD_SYMTAB
 
706
BUILD_EXPORTER
 
707
BUILD_REOPENEDITOR
 
708
BUILD_REGEX
 
709
BUILD_PROFILER
 
710
BUILD_NASSISHNEIDERMAN
 
711
BUILD_MOUSESAP
 
712
BUILD_LIBFINDER
 
713
BUILD_KEYBINDER
 
714
BUILD_INCSEARCH
 
715
BUILD_HEXEDITOR
 
716
BUILD_HELP
 
717
BUILD_HEADERFIXUP
 
718
BUILD_FILEMANAGER
 
719
BUILD_ENVVARS
 
720
BUILD_EDITORTWEAKS
 
721
BUILD_EDITORCONFIG
 
722
BUILD_DRAGSCROLL
 
723
BUILD_DOXYBLOCKS
 
724
BUILD_CSCOPE
 
725
BUILD_CPPCHECK
 
726
BUILD_COPYSTRINGS
 
727
BUILD_CODESTAT
 
728
BUILD_CODESNIPPETS
 
729
BUILD_CCCC
 
730
BUILD_CBKODERS
 
731
BUILD_BYOGAMES
 
732
BUILD_BROWSETRACKER
 
733
BUILD_AUTOVERSIONING
 
734
BUILD_CPPCHECK_FALSE
 
735
BUILD_CPPCHECK_TRUE
 
736
BUILD_CCCC_FALSE
 
737
BUILD_CCCC_TRUE
 
738
BUILD_MOUSESAP_FALSE
 
739
BUILD_MOUSESAP_TRUE
 
740
BUILD_INCSEARCH_FALSE
 
741
BUILD_INCSEARCH_TRUE
 
742
BUILD_HEXEDITOR_FALSE
 
743
BUILD_HEXEDITOR_TRUE
 
744
BUILD_WXSMITHAUI_FALSE
 
745
BUILD_WXSMITHAUI_TRUE
 
746
BUILD_WXSMITHCONTRIB_FALSE
 
747
BUILD_WXSMITHCONTRIB_TRUE
 
748
BUILD_WXSMITH_FALSE
 
749
BUILD_WXSMITH_TRUE
 
750
BUILD_WXCONTRIB_FALSE
 
751
BUILD_WXCONTRIB_TRUE
 
752
BUILD_VALGRIND_FALSE
 
753
BUILD_VALGRIND_TRUE
 
754
BUILD_TOOLSPLUS_FALSE
 
755
BUILD_TOOLSPLUS_TRUE
 
756
BUILD_THREADSEARCH_FALSE
 
757
BUILD_THREADSEARCH_TRUE
 
758
BUILD_SYMTAB_FALSE
 
759
BUILD_SYMTAB_TRUE
 
760
BUILD_SPELLCHECKER_FALSE
 
761
BUILD_SPELLCHECKER_TRUE
 
762
BUILD_SMARTINDENT_FALSE
 
763
BUILD_SMARTINDENT_TRUE
 
764
BUILD_EXPORTER_FALSE
 
765
BUILD_EXPORTER_TRUE
 
766
BUILD_REOPENEDITOR_FALSE
 
767
BUILD_REOPENEDITOR_TRUE
 
768
BUILD_REGEX_FALSE
 
769
BUILD_REGEX_TRUE
 
770
BUILD_PROJECTOPTIONSMANIPULATOR_FALSE
 
771
BUILD_PROJECTOPTIONSMANIPULATOR_TRUE
 
772
BUILD_PROFILER_FALSE
 
773
BUILD_PROFILER_TRUE
 
774
BUILD_NASSISHNEIDERMAN_FALSE
 
775
BUILD_NASSISHNEIDERMAN_TRUE
 
776
BUILD_LIBFINDER_FALSE
 
777
BUILD_LIBFINDER_TRUE
 
778
BUILD_KEYBINDER_FALSE
 
779
BUILD_KEYBINDER_TRUE
 
780
BUILD_HELP_FALSE
 
781
BUILD_HELP_TRUE
 
782
BUILD_HEADERFIXUP_FALSE
 
783
BUILD_HEADERFIXUP_TRUE
 
784
BUILD_FILEMANAGER_FALSE
 
785
BUILD_FILEMANAGER_TRUE
 
786
BUILD_ENVVARS_FALSE
 
787
BUILD_ENVVARS_TRUE
 
788
BUILD_EDITORTWEAKS_FALSE
 
789
BUILD_EDITORTWEAKS_TRUE
 
790
BUILD_EDITORCONFIG_FALSE
 
791
BUILD_EDITORCONFIG_TRUE
 
792
BUILD_DRAGSCROLL_FALSE
 
793
BUILD_DRAGSCROLL_TRUE
 
794
BUILD_DOXYBLOCKS_FALSE
 
795
BUILD_DOXYBLOCKS_TRUE
 
796
BUILD_CSCOPE_FALSE
 
797
BUILD_CSCOPE_TRUE
 
798
BUILD_COPYSTRINGS_FALSE
 
799
BUILD_COPYSTRINGS_TRUE
 
800
BUILD_CODESTAT_FALSE
 
801
BUILD_CODESTAT_TRUE
 
802
BUILD_CODESNIPPETS_FALSE
 
803
BUILD_CODESNIPPETS_TRUE
 
804
BUILD_CBKODERS_FALSE
 
805
BUILD_CBKODERS_TRUE
 
806
BUILD_BYOGAMES_FALSE
 
807
BUILD_BYOGAMES_TRUE
 
808
BUILD_BROWSETRACKER_FALSE
 
809
BUILD_BROWSETRACKER_TRUE
 
810
BUILD_AUTOVERSIONING_FALSE
 
811
BUILD_AUTOVERSIONING_TRUE
 
812
BUILD_MANIFEST_FALSE
 
813
BUILD_MANIFEST_TRUE
 
814
GTK_NOTEBOOK_FALSE
 
815
GTK_NOTEBOOK_TRUE
 
816
ENABLE_FORTRAN_FALSE
 
817
ENABLE_FORTRAN_TRUE
 
818
KEEP_DLLS_FALSE
 
819
KEEP_DLLS_TRUE
 
820
BUILD_ABBREVIATIONS_FALSE
 
821
BUILD_ABBREVIATIONS_TRUE
 
822
BUILD_TODO_FALSE
 
823
BUILD_TODO_TRUE
 
824
BUILD_SCRIPTEDWIZARD_FALSE
 
825
BUILD_SCRIPTEDWIZARD_TRUE
 
826
BUILD_PROJECTSIMPORTER_FALSE
 
827
BUILD_PROJECTSIMPORTER_TRUE
 
828
BUILD_OCCURRENCESHIGHLIGHTING_FALSE
 
829
BUILD_OCCURRENCESHIGHLIGHTING_TRUE
 
830
BUILD_OPENFILESLIST_FALSE
 
831
BUILD_OPENFILESLIST_TRUE
 
832
BUILD_MIMEHANDLER_FALSE
 
833
BUILD_MIMEHANDLER_TRUE
 
834
BUILD_DEBUGGER_FALSE
 
835
BUILD_DEBUGGER_TRUE
 
836
BUILD_COMPILER_FALSE
 
837
BUILD_COMPILER_TRUE
 
838
BUILD_CODECOMPLETION_FALSE
 
839
BUILD_CODECOMPLETION_TRUE
 
840
BUILD_CLASSWIZARD_FALSE
 
841
BUILD_CLASSWIZARD_TRUE
 
842
BUILD_AUTOSAVE_FALSE
 
843
BUILD_AUTOSAVE_TRUE
 
844
BUILD_ASTYLE_FALSE
 
845
BUILD_ASTYLE_TRUE
 
846
CODEBLOCKS_PLATFORM
 
847
PLATFORM_LIBS
 
848
PLATFORM_CFLAGS
 
849
CODEBLOCKS_VERSION_INFO
 
850
HAVE_BZIP2_FALSE
 
851
HAVE_BZIP2_TRUE
 
852
HAVE_ZLIB_FALSE
 
853
HAVE_ZLIB_TRUE
 
854
LIB@&t@OBJS
 
855
CODEBLOCKS_DARWIN_FALSE
 
856
CODEBLOCKS_DARWIN_TRUE
 
857
CODEBLOCKS_LINUX_FALSE
 
858
CODEBLOCKS_LINUX_TRUE
 
859
CODEBLOCKS_NT_FALSE
 
860
CODEBLOCKS_NT_TRUE
 
861
RC
 
862
PLUGIN_FLAGS
 
863
SHARED_FLAGS
 
864
CXXCPP
 
865
am__fastdepCXX_FALSE
 
866
am__fastdepCXX_TRUE
 
867
CXXDEPMODE
 
868
ac_ct_CXX
 
869
CXXFLAGS
 
870
CXX
 
871
DARWIN_FALSE
 
872
DARWIN_TRUE
 
873
LINUX_FALSE
 
874
LINUX_TRUE
 
875
CPP
 
876
OTOOL64
 
877
OTOOL
 
878
LIPO
 
879
NMEDIT
 
880
DSYMUTIL
 
881
MANIFEST_TOOL
 
882
RANLIB
 
883
ac_ct_AR
 
884
AR
 
885
DLLTOOL
 
886
OBJDUMP
 
887
LN_S
 
888
NM
 
889
ac_ct_DUMPBIN
 
890
DUMPBIN
 
891
LD
 
892
FGREP
 
893
EGREP
 
894
GREP
 
895
SED
 
896
am__fastdepCC_FALSE
 
897
am__fastdepCC_TRUE
 
898
CCDEPMODE
 
899
am__nodep
 
900
AMDEPBACKSLASH
 
901
AMDEP_FALSE
 
902
AMDEP_TRUE
 
903
am__quote
 
904
am__include
 
905
DEPDIR
 
906
OBJEXT
 
907
EXEEXT
 
908
ac_ct_CC
 
909
CPPFLAGS
 
910
LDFLAGS
 
911
CFLAGS
 
912
CC
 
913
LIBTOOL
 
914
AM_BACKSLASH
 
915
AM_DEFAULT_VERBOSITY
 
916
AM_DEFAULT_V
 
917
AM_V
 
918
am__untar
 
919
am__tar
 
920
AMTAR
 
921
am__leading_dot
 
922
SET_MAKE
 
923
AWK
 
924
mkdir_p
 
925
MKDIR_P
 
926
INSTALL_STRIP_PROGRAM
 
927
STRIP
 
928
install_sh
 
929
MAKEINFO
 
930
AUTOHEADER
 
931
AUTOMAKE
 
932
AUTOCONF
 
933
ACLOCAL
 
934
VERSION
 
935
PACKAGE
 
936
CYGPATH_W
 
937
am__isrc
 
938
INSTALL_DATA
 
939
INSTALL_SCRIPT
 
940
INSTALL_PROGRAM
 
941
target_os
 
942
target_vendor
 
943
target_cpu
 
944
target
 
945
host_os
 
946
host_vendor
 
947
host_cpu
 
948
host
 
949
build_os
 
950
build_vendor
 
951
build_cpu
 
952
build
 
953
target_alias
 
954
host_alias
 
955
build_alias
 
956
LIBS
 
957
ECHO_T
 
958
ECHO_N
 
959
ECHO_C
 
960
DEFS
 
961
mandir
 
962
localedir
 
963
libdir
 
964
psdir
 
965
pdfdir
 
966
dvidir
 
967
htmldir
 
968
infodir
 
969
docdir
 
970
oldincludedir
 
971
includedir
 
972
localstatedir
 
973
sharedstatedir
 
974
sysconfdir
 
975
datadir
 
976
datarootdir
 
977
libexecdir
 
978
sbindir
 
979
bindir
 
980
program_transform_name
 
981
prefix
 
982
exec_prefix
 
983
PACKAGE_URL
 
984
PACKAGE_BUGREPORT
 
985
PACKAGE_STRING
 
986
PACKAGE_VERSION
 
987
PACKAGE_TARNAME
 
988
PACKAGE_NAME
 
989
PATH_SEPARATOR
 
990
SHELL'
 
991
ac_subst_files=''
 
992
ac_user_opts='
 
993
enable_option_checking
 
994
enable_silent_rules
 
995
enable_static
 
996
enable_shared
 
997
with_pic
 
998
enable_fast_install
 
999
enable_dependency_tracking
 
1000
with_gnu_ld
 
1001
with_sysroot
 
1002
enable_libtool_lock
 
1003
enable_debug
 
1004
with_platform
 
1005
enable_source_formatter
 
1006
enable_autosave
 
1007
enable_class_wizard
 
1008
enable_code_completion
 
1009
enable_compiler
 
1010
enable_debugger
 
1011
enable_mime_handler
 
1012
enable_open_files_list
 
1013
enable_occurrences_highlighting
 
1014
enable_projects_importer
 
1015
enable_scripted_wizard
 
1016
enable_todo
 
1017
enable_abbreviations
 
1018
enable_keep_dlls
 
1019
enable_fortran
 
1020
enable_gtk_notebook
 
1021
enable_xpmanifest
 
1022
with_contrib_plugins
 
1023
enable_pch
 
1024
with_wxdir
 
1025
with_wx_config
 
1026
with_wx_prefix
 
1027
with_wx_exec_prefix
 
1028
with_x
 
1029
'
 
1030
      ac_precious_vars='build_alias
 
1031
host_alias
 
1032
target_alias
 
1033
CC
 
1034
CFLAGS
 
1035
LDFLAGS
 
1036
LIBS
 
1037
CPPFLAGS
 
1038
CPP
 
1039
CXX
 
1040
CXXFLAGS
 
1041
CCC
 
1042
CXXCPP
 
1043
PKG_CONFIG
 
1044
PKG_CONFIG_PATH
 
1045
PKG_CONFIG_LIBDIR
 
1046
GLIB2_CFLAGS
 
1047
GLIB2_LIBS
 
1048
HUNSPELL_CFLAGS
 
1049
HUNSPELL_LIBS
 
1050
GTK2_CFLAGS
 
1051
GTK2_LIBS
 
1052
GAMIN_CFLAGS
 
1053
GAMIN_LIBS
 
1054
FONTCONFIG_CFLAGS
 
1055
FONTCONFIG_LIBS
 
1056
XMKMF'
 
1057
 
 
1058
 
 
1059
# Initialize some variables set by options.
 
1060
ac_init_help=
 
1061
ac_init_version=false
 
1062
ac_unrecognized_opts=
 
1063
ac_unrecognized_sep=
 
1064
# The variables have the same names as the options, with
 
1065
# dashes changed to underlines.
 
1066
cache_file=/dev/null
 
1067
exec_prefix=NONE
 
1068
no_create=
 
1069
no_recursion=
 
1070
prefix=NONE
 
1071
program_prefix=NONE
 
1072
program_suffix=NONE
 
1073
program_transform_name=s,x,x,
 
1074
silent=
 
1075
site=
 
1076
srcdir=
 
1077
verbose=
 
1078
x_includes=NONE
 
1079
x_libraries=NONE
 
1080
 
 
1081
# Installation directory options.
 
1082
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
1083
# and all the variables that are supposed to be based on exec_prefix
 
1084
# by default will actually change.
 
1085
# Use braces instead of parens because sh, perl, etc. also accept them.
 
1086
# (The list follows the same order as the GNU Coding Standards.)
 
1087
bindir='${exec_prefix}/bin'
 
1088
sbindir='${exec_prefix}/sbin'
 
1089
libexecdir='${exec_prefix}/libexec'
 
1090
datarootdir='${prefix}/share'
 
1091
datadir='${datarootdir}'
 
1092
sysconfdir='${prefix}/etc'
 
1093
sharedstatedir='${prefix}/com'
 
1094
localstatedir='${prefix}/var'
 
1095
includedir='${prefix}/include'
 
1096
oldincludedir='/usr/include'
 
1097
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
1098
infodir='${datarootdir}/info'
 
1099
htmldir='${docdir}'
 
1100
dvidir='${docdir}'
 
1101
pdfdir='${docdir}'
 
1102
psdir='${docdir}'
 
1103
libdir='${exec_prefix}/lib'
 
1104
localedir='${datarootdir}/locale'
 
1105
mandir='${datarootdir}/man'
 
1106
 
 
1107
ac_prev=
 
1108
ac_dashdash=
 
1109
for ac_option
 
1110
do
 
1111
  # If the previous option needs an argument, assign it.
 
1112
  if test -n "$ac_prev"; then
 
1113
    eval $ac_prev=\$ac_option
 
1114
    ac_prev=
 
1115
    continue
 
1116
  fi
 
1117
 
 
1118
  case $ac_option in
 
1119
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1120
  *=)   ac_optarg= ;;
 
1121
  *)    ac_optarg=yes ;;
 
1122
  esac
 
1123
 
 
1124
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
1125
 
 
1126
  case $ac_dashdash$ac_option in
 
1127
  --)
 
1128
    ac_dashdash=yes ;;
 
1129
 
 
1130
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
1131
    ac_prev=bindir ;;
 
1132
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
1133
    bindir=$ac_optarg ;;
 
1134
 
 
1135
  -build | --build | --buil | --bui | --bu)
 
1136
    ac_prev=build_alias ;;
 
1137
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
1138
    build_alias=$ac_optarg ;;
 
1139
 
 
1140
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
1141
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
1142
    ac_prev=cache_file ;;
 
1143
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
1144
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
1145
    cache_file=$ac_optarg ;;
 
1146
 
 
1147
  --config-cache | -C)
 
1148
    cache_file=config.cache ;;
 
1149
 
 
1150
  -datadir | --datadir | --datadi | --datad)
 
1151
    ac_prev=datadir ;;
 
1152
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
1153
    datadir=$ac_optarg ;;
 
1154
 
 
1155
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1156
  | --dataroo | --dataro | --datar)
 
1157
    ac_prev=datarootdir ;;
 
1158
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1159
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1160
    datarootdir=$ac_optarg ;;
 
1161
 
 
1162
  -disable-* | --disable-*)
 
1163
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1164
    # Reject names that are not valid shell variable names.
 
1165
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1166
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1167
    ac_useropt_orig=$ac_useropt
 
1168
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1169
    case $ac_user_opts in
 
1170
      *"
 
1171
"enable_$ac_useropt"
 
1172
"*) ;;
 
1173
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1174
         ac_unrecognized_sep=', ';;
 
1175
    esac
 
1176
    eval enable_$ac_useropt=no ;;
 
1177
 
 
1178
  -docdir | --docdir | --docdi | --doc | --do)
 
1179
    ac_prev=docdir ;;
 
1180
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1181
    docdir=$ac_optarg ;;
 
1182
 
 
1183
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1184
    ac_prev=dvidir ;;
 
1185
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1186
    dvidir=$ac_optarg ;;
 
1187
 
 
1188
  -enable-* | --enable-*)
 
1189
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1190
    # Reject names that are not valid shell variable names.
 
1191
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1192
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1193
    ac_useropt_orig=$ac_useropt
 
1194
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1195
    case $ac_user_opts in
 
1196
      *"
 
1197
"enable_$ac_useropt"
 
1198
"*) ;;
 
1199
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1200
         ac_unrecognized_sep=', ';;
 
1201
    esac
 
1202
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1203
 
 
1204
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1205
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1206
  | --exec | --exe | --ex)
 
1207
    ac_prev=exec_prefix ;;
 
1208
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1209
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1210
  | --exec=* | --exe=* | --ex=*)
 
1211
    exec_prefix=$ac_optarg ;;
 
1212
 
 
1213
  -gas | --gas | --ga | --g)
 
1214
    # Obsolete; use --with-gas.
 
1215
    with_gas=yes ;;
 
1216
 
 
1217
  -help | --help | --hel | --he | -h)
 
1218
    ac_init_help=long ;;
 
1219
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1220
    ac_init_help=recursive ;;
 
1221
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1222
    ac_init_help=short ;;
 
1223
 
 
1224
  -host | --host | --hos | --ho)
 
1225
    ac_prev=host_alias ;;
 
1226
  -host=* | --host=* | --hos=* | --ho=*)
 
1227
    host_alias=$ac_optarg ;;
 
1228
 
 
1229
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1230
    ac_prev=htmldir ;;
 
1231
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1232
  | --ht=*)
 
1233
    htmldir=$ac_optarg ;;
 
1234
 
 
1235
  -includedir | --includedir | --includedi | --included | --include \
 
1236
  | --includ | --inclu | --incl | --inc)
 
1237
    ac_prev=includedir ;;
 
1238
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1239
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1240
    includedir=$ac_optarg ;;
 
1241
 
 
1242
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1243
    ac_prev=infodir ;;
 
1244
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1245
    infodir=$ac_optarg ;;
 
1246
 
 
1247
  -libdir | --libdir | --libdi | --libd)
 
1248
    ac_prev=libdir ;;
 
1249
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1250
    libdir=$ac_optarg ;;
 
1251
 
 
1252
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1253
  | --libexe | --libex | --libe)
 
1254
    ac_prev=libexecdir ;;
 
1255
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1256
  | --libexe=* | --libex=* | --libe=*)
 
1257
    libexecdir=$ac_optarg ;;
 
1258
 
 
1259
  -localedir | --localedir | --localedi | --localed | --locale)
 
1260
    ac_prev=localedir ;;
 
1261
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1262
    localedir=$ac_optarg ;;
 
1263
 
 
1264
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1265
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1266
    ac_prev=localstatedir ;;
 
1267
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1268
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1269
    localstatedir=$ac_optarg ;;
 
1270
 
 
1271
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1272
    ac_prev=mandir ;;
 
1273
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1274
    mandir=$ac_optarg ;;
 
1275
 
 
1276
  -nfp | --nfp | --nf)
 
1277
    # Obsolete; use --without-fp.
 
1278
    with_fp=no ;;
 
1279
 
 
1280
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1281
  | --no-cr | --no-c | -n)
 
1282
    no_create=yes ;;
 
1283
 
 
1284
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1285
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1286
    no_recursion=yes ;;
 
1287
 
 
1288
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1289
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1290
  | --oldin | --oldi | --old | --ol | --o)
 
1291
    ac_prev=oldincludedir ;;
 
1292
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1293
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1294
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1295
    oldincludedir=$ac_optarg ;;
 
1296
 
 
1297
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1298
    ac_prev=prefix ;;
 
1299
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1300
    prefix=$ac_optarg ;;
 
1301
 
 
1302
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1303
  | --program-pre | --program-pr | --program-p)
 
1304
    ac_prev=program_prefix ;;
 
1305
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1306
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1307
    program_prefix=$ac_optarg ;;
 
1308
 
 
1309
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1310
  | --program-suf | --program-su | --program-s)
 
1311
    ac_prev=program_suffix ;;
 
1312
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1313
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1314
    program_suffix=$ac_optarg ;;
 
1315
 
 
1316
  -program-transform-name | --program-transform-name \
 
1317
  | --program-transform-nam | --program-transform-na \
 
1318
  | --program-transform-n | --program-transform- \
 
1319
  | --program-transform | --program-transfor \
 
1320
  | --program-transfo | --program-transf \
 
1321
  | --program-trans | --program-tran \
 
1322
  | --progr-tra | --program-tr | --program-t)
 
1323
    ac_prev=program_transform_name ;;
 
1324
  -program-transform-name=* | --program-transform-name=* \
 
1325
  | --program-transform-nam=* | --program-transform-na=* \
 
1326
  | --program-transform-n=* | --program-transform-=* \
 
1327
  | --program-transform=* | --program-transfor=* \
 
1328
  | --program-transfo=* | --program-transf=* \
 
1329
  | --program-trans=* | --program-tran=* \
 
1330
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1331
    program_transform_name=$ac_optarg ;;
 
1332
 
 
1333
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1334
    ac_prev=pdfdir ;;
 
1335
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1336
    pdfdir=$ac_optarg ;;
 
1337
 
 
1338
  -psdir | --psdir | --psdi | --psd | --ps)
 
1339
    ac_prev=psdir ;;
 
1340
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1341
    psdir=$ac_optarg ;;
 
1342
 
 
1343
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1344
  | -silent | --silent | --silen | --sile | --sil)
 
1345
    silent=yes ;;
 
1346
 
 
1347
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1348
    ac_prev=sbindir ;;
 
1349
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1350
  | --sbi=* | --sb=*)
 
1351
    sbindir=$ac_optarg ;;
 
1352
 
 
1353
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1354
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1355
  | --sharedst | --shareds | --shared | --share | --shar \
 
1356
  | --sha | --sh)
 
1357
    ac_prev=sharedstatedir ;;
 
1358
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1359
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1360
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1361
  | --sha=* | --sh=*)
 
1362
    sharedstatedir=$ac_optarg ;;
 
1363
 
 
1364
  -site | --site | --sit)
 
1365
    ac_prev=site ;;
 
1366
  -site=* | --site=* | --sit=*)
 
1367
    site=$ac_optarg ;;
 
1368
 
 
1369
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1370
    ac_prev=srcdir ;;
 
1371
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1372
    srcdir=$ac_optarg ;;
 
1373
 
 
1374
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1375
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1376
    ac_prev=sysconfdir ;;
 
1377
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1378
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1379
    sysconfdir=$ac_optarg ;;
 
1380
 
 
1381
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1382
    ac_prev=target_alias ;;
 
1383
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1384
    target_alias=$ac_optarg ;;
 
1385
 
 
1386
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1387
    verbose=yes ;;
 
1388
 
 
1389
  -version | --version | --versio | --versi | --vers | -V)
 
1390
    ac_init_version=: ;;
 
1391
 
 
1392
  -with-* | --with-*)
 
1393
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1394
    # Reject names that are not valid shell variable names.
 
1395
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1396
      as_fn_error $? "invalid package name: $ac_useropt"
 
1397
    ac_useropt_orig=$ac_useropt
 
1398
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1399
    case $ac_user_opts in
 
1400
      *"
 
1401
"with_$ac_useropt"
 
1402
"*) ;;
 
1403
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1404
         ac_unrecognized_sep=', ';;
 
1405
    esac
 
1406
    eval with_$ac_useropt=\$ac_optarg ;;
 
1407
 
 
1408
  -without-* | --without-*)
 
1409
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1410
    # Reject names that are not valid shell variable names.
 
1411
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1412
      as_fn_error $? "invalid package name: $ac_useropt"
 
1413
    ac_useropt_orig=$ac_useropt
 
1414
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1415
    case $ac_user_opts in
 
1416
      *"
 
1417
"with_$ac_useropt"
 
1418
"*) ;;
 
1419
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1420
         ac_unrecognized_sep=', ';;
 
1421
    esac
 
1422
    eval with_$ac_useropt=no ;;
 
1423
 
 
1424
  --x)
 
1425
    # Obsolete; use --with-x.
 
1426
    with_x=yes ;;
 
1427
 
 
1428
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1429
  | --x-incl | --x-inc | --x-in | --x-i)
 
1430
    ac_prev=x_includes ;;
 
1431
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1432
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1433
    x_includes=$ac_optarg ;;
 
1434
 
 
1435
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1436
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1437
    ac_prev=x_libraries ;;
 
1438
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1439
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1440
    x_libraries=$ac_optarg ;;
 
1441
 
 
1442
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1443
Try \`$0 --help' for more information"
 
1444
    ;;
 
1445
 
 
1446
  *=*)
 
1447
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1448
    # Reject names that are not valid shell variable names.
 
1449
    case $ac_envvar in #(
 
1450
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1451
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1452
    esac
 
1453
    eval $ac_envvar=\$ac_optarg
 
1454
    export $ac_envvar ;;
 
1455
 
 
1456
  *)
 
1457
    # FIXME: should be removed in autoconf 3.0.
 
1458
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1459
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1460
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1461
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
1462
    ;;
 
1463
 
 
1464
  esac
 
1465
done
 
1466
 
 
1467
if test -n "$ac_prev"; then
 
1468
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1469
  as_fn_error $? "missing argument to $ac_option"
 
1470
fi
 
1471
 
 
1472
if test -n "$ac_unrecognized_opts"; then
 
1473
  case $enable_option_checking in
 
1474
    no) ;;
 
1475
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1476
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1477
  esac
 
1478
fi
 
1479
 
 
1480
# Check all directory arguments for consistency.
 
1481
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1482
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1483
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1484
                libdir localedir mandir
 
1485
do
 
1486
  eval ac_val=\$$ac_var
 
1487
  # Remove trailing slashes.
 
1488
  case $ac_val in
 
1489
    */ )
 
1490
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1491
      eval $ac_var=\$ac_val;;
 
1492
  esac
 
1493
  # Be sure to have absolute directory names.
 
1494
  case $ac_val in
 
1495
    [\\/$]* | ?:[\\/]* )  continue;;
 
1496
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1497
  esac
 
1498
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1499
done
 
1500
 
 
1501
# There might be people who depend on the old broken behavior: `$host'
 
1502
# used to hold the argument of --host etc.
 
1503
# FIXME: To remove some day.
 
1504
build=$build_alias
 
1505
host=$host_alias
 
1506
target=$target_alias
 
1507
 
 
1508
# FIXME: To remove some day.
 
1509
if test "x$host_alias" != x; then
 
1510
  if test "x$build_alias" = x; then
 
1511
    cross_compiling=maybe
 
1512
  elif test "x$build_alias" != "x$host_alias"; then
 
1513
    cross_compiling=yes
 
1514
  fi
 
1515
fi
 
1516
 
 
1517
ac_tool_prefix=
 
1518
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1519
 
 
1520
test "$silent" = yes && exec 6>/dev/null
 
1521
 
 
1522
 
 
1523
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1524
ac_ls_di=`ls -di .` &&
 
1525
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1526
  as_fn_error $? "working directory cannot be determined"
 
1527
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1528
  as_fn_error $? "pwd does not report name of working directory"
 
1529
 
 
1530
 
 
1531
# Find the source files, if location was not specified.
 
1532
if test -z "$srcdir"; then
 
1533
  ac_srcdir_defaulted=yes
 
1534
  # Try the directory containing this script, then the parent directory.
 
1535
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1536
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1537
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1538
         X"$as_myself" : 'X\(//\)$' \| \
 
1539
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1540
$as_echo X"$as_myself" |
 
1541
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1542
            s//\1/
 
1543
            q
 
1544
          }
 
1545
          /^X\(\/\/\)[^/].*/{
 
1546
            s//\1/
 
1547
            q
 
1548
          }
 
1549
          /^X\(\/\/\)$/{
 
1550
            s//\1/
 
1551
            q
 
1552
          }
 
1553
          /^X\(\/\).*/{
 
1554
            s//\1/
 
1555
            q
 
1556
          }
 
1557
          s/.*/./; q'`
 
1558
  srcdir=$ac_confdir
 
1559
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1560
    srcdir=..
 
1561
  fi
 
1562
else
 
1563
  ac_srcdir_defaulted=no
 
1564
fi
 
1565
if test ! -r "$srcdir/$ac_unique_file"; then
 
1566
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1567
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1568
fi
 
1569
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1570
ac_abs_confdir=`(
 
1571
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1572
        pwd)`
 
1573
# When building in place, set srcdir=.
 
1574
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1575
  srcdir=.
 
1576
fi
 
1577
# Remove unnecessary trailing slashes from srcdir.
 
1578
# Double slashes in file names in object file debugging info
 
1579
# mess up M-x gdb in Emacs.
 
1580
case $srcdir in
 
1581
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1582
esac
 
1583
for ac_var in $ac_precious_vars; do
 
1584
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1585
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1586
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1587
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1588
done
 
1589
 
 
1590
#
 
1591
# Report the --help message.
 
1592
#
 
1593
if test "$ac_init_help" = "long"; then
 
1594
  # Omit some internal or obsolete options to make the list less imposing.
 
1595
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1596
  cat <<_ACEOF
 
1597
\`configure' configures codeblocks 16.01svn10692 to adapt to many kinds of systems.
 
1598
 
 
1599
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1600
 
 
1601
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1602
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1603
 
 
1604
Defaults for the options are specified in brackets.
 
1605
 
 
1606
Configuration:
 
1607
  -h, --help              display this help and exit
 
1608
      --help=short        display options specific to this package
 
1609
      --help=recursive    display the short help of all the included packages
 
1610
  -V, --version           display version information and exit
 
1611
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1612
      --cache-file=FILE   cache test results in FILE [disabled]
 
1613
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1614
  -n, --no-create         do not create output files
 
1615
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1616
 
 
1617
Installation directories:
 
1618
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1619
                          @<:@@S|@ac_default_prefix@:>@
 
1620
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1621
                          @<:@PREFIX@:>@
 
1622
 
 
1623
By default, \`make install' will install all the files in
 
1624
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1625
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1626
for instance \`--prefix=\$HOME'.
 
1627
 
 
1628
For better control, use the options below.
 
1629
 
 
1630
Fine tuning of the installation directories:
 
1631
  --bindir=DIR            user executables [EPREFIX/bin]
 
1632
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1633
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1634
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1635
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1636
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1637
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1638
  --includedir=DIR        C header files [PREFIX/include]
 
1639
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1640
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1641
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1642
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1643
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1644
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1645
  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/codeblocks@:>@
 
1646
  --htmldir=DIR           html documentation [DOCDIR]
 
1647
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1648
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1649
  --psdir=DIR             ps documentation [DOCDIR]
 
1650
_ACEOF
 
1651
 
 
1652
  cat <<\_ACEOF
 
1653
 
 
1654
Program names:
 
1655
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1656
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1657
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1658
 
 
1659
X features:
 
1660
  --x-includes=DIR    X include files are in DIR
 
1661
  --x-libraries=DIR   X library files are in DIR
 
1662
 
 
1663
System types:
 
1664
  --build=BUILD     configure for building on BUILD [guessed]
 
1665
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1666
  --target=TARGET   configure for building compilers for TARGET [HOST]
 
1667
_ACEOF
 
1668
fi
 
1669
 
 
1670
if test -n "$ac_init_help"; then
 
1671
  case $ac_init_help in
 
1672
     short | recursive ) echo "Configuration of codeblocks 16.01svn10692:";;
 
1673
   esac
 
1674
  cat <<\_ACEOF
 
1675
 
 
1676
Optional Features:
 
1677
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1678
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1679
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1680
  --enable-silent-rules   less verbose build output (undo: "make V=1")
 
1681
  --disable-silent-rules  verbose build output (undo: "make V=0")
 
1682
  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=no@:>@
 
1683
  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
 
1684
  --enable-fast-install@<:@=PKGS@:>@ 
 
1685
                          optimize for fast installation @<:@default=yes@:>@
 
1686
  --enable-dependency-tracking 
 
1687
                          do not reject slow dependency extractors
 
1688
  --disable-dependency-tracking 
 
1689
                          speeds up one-time build
 
1690
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1691
  --enable-debug          turn on debugging (default is OFF)
 
1692
  --enable-source-formatter 
 
1693
                          build the source formatter plugin (default YES)
 
1694
  --enable-autosave       build the autosave plugin (default YES)
 
1695
  --enable-class-wizard   build the class wizard plugin (default YES)
 
1696
  --enable-code-completion 
 
1697
                          build the code completion plugin (default YES)
 
1698
  --enable-compiler       build the compiler plugin (default YES)
 
1699
  --enable-debugger       build the debugger plugin (default YES)
 
1700
  --enable-mime-handler   build the default MIME handler plugin (default YES)
 
1701
  --enable-open-files-list 
 
1702
                          build the open files list plugin (default YES)
 
1703
  --enable-occurrences-highlighting 
 
1704
                          build the occurrences highlighting plugin (default
 
1705
                          YES)
 
1706
  --enable-projects-importer 
 
1707
                          build the foreign projects importer plugin (default
 
1708
                          YES)
 
1709
  --enable-scripted-wizard 
 
1710
                          build the scripted wizard plugin (default YES)
 
1711
  --enable-todo           build the to-do plugin (default YES)
 
1712
  --enable-abbreviations  build the abbreviations plugin (default YES)
 
1713
  --enable-keep-dlls      keep prebuild windows dll's in dist-tarball (default
 
1714
                          YES)
 
1715
  --enable-fortran        integrate (external) fortran plugin in dist-tarball
 
1716
                          (default YES), NOTE: it will not be build
 
1717
                          automatically
 
1718
  --enable-gtk-notebook   use gtk-notebook as default notebook (default YES)
 
1719
  --enable-xpmanifest     build the xp-manifest plugin (default YES)
 
1720
  --enable-pch            use precompiled headers if available (default YES)
 
1721
 
 
1722
Optional Packages:
 
1723
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1724
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1725
  --with-pic@<:@=PKGS@:>@       try to use only PIC/non-PIC objects @<:@default=use
 
1726
                          both@:>@
 
1727
  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
 
1728
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1729
                        (or the compiler's sysroot if not specified).
 
1730
  --with-platform=PLATFORM 
 
1731
                          the platform to build, win32, macosx or gtk(default)
 
1732
  --with-contrib-plugins=<list>     compile contrib plugins in <list>. 
 
1733
                          plugins may be separated with commas. 
 
1734
                          "all", "yes" or just "--with-contrib-plugins" compiles all contrib plugins 
 
1735
                          "all,-help" or "yes,-help" compiles all contrib plugins except the help plugin 
 
1736
                          "none", "no", "--without-contrib-plugins" or skipping the parameter at all, 
 
1737
                          compiles none of the contrib-plugins 
 
1738
                          Plugin names are: AutoVersioning, BrowseTracker, byogames, Cccc, CppCheck, cbkoders, codesnippets, 
 
1739
                                             codestat, copystrings, Cscope, DoxyBlocks, dragscroll, EditorConfig, EditorTweaks, envvars, 
 
1740
                                             FileManager, headerfixup, help, hexeditor, incsearch, keybinder, libfinder, MouseSap, 
 
1741
                                             NassiShneiderman, ProjectOptionsManipulator, profiler, regex, ReopenEditor, exporter, smartindent, spellchecker, 
 
1742
                                             symtab, ThreadSearch, ToolsPlus, Valgrind, wxcontrib, wxsmith, wxsmithcontrib, wxsmithaui 
 
1743
  --with-wxdir=PATH       Use uninstalled version of wxWidgets in PATH
 
1744
  --with-wx-config=CONFIG wx-config script to use (optional)
 
1745
  --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
 
1746
  --with-wx-exec-prefix=PREFIX
 
1747
                          Exec prefix where wxWidgets is installed (optional)
 
1748
  --with-x                use the X Window System
 
1749
 
 
1750
Some influential environment variables:
 
1751
  CC          C compiler command
 
1752
  CFLAGS      C compiler flags
 
1753
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1754
              nonstandard directory <lib dir>
 
1755
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1756
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1757
              you have headers in a nonstandard directory <include dir>
 
1758
  CPP         C preprocessor
 
1759
  CXX         C++ compiler command
 
1760
  CXXFLAGS    C++ compiler flags
 
1761
  CXXCPP      C++ preprocessor
 
1762
  PKG_CONFIG  path to pkg-config utility
 
1763
  PKG_CONFIG_PATH 
 
1764
              directories to add to pkg-config's search path
 
1765
  PKG_CONFIG_LIBDIR 
 
1766
              path overriding pkg-config's built-in search path
 
1767
  GLIB2_CFLAGS 
 
1768
              C compiler flags for GLIB2, overriding pkg-config
 
1769
  GLIB2_LIBS  linker flags for GLIB2, overriding pkg-config
 
1770
  HUNSPELL_CFLAGS 
 
1771
              C compiler flags for HUNSPELL, overriding pkg-config
 
1772
  HUNSPELL_LIBS 
 
1773
              linker flags for HUNSPELL, overriding pkg-config
 
1774
  GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
 
1775
  GTK2_LIBS   linker flags for GTK2, overriding pkg-config
 
1776
  GAMIN_CFLAGS 
 
1777
              C compiler flags for GAMIN, overriding pkg-config
 
1778
  GAMIN_LIBS  linker flags for GAMIN, overriding pkg-config
 
1779
  FONTCONFIG_CFLAGS 
 
1780
              C compiler flags for FONTCONFIG, overriding pkg-config
 
1781
  FONTCONFIG_LIBS 
 
1782
              linker flags for FONTCONFIG, overriding pkg-config
 
1783
  XMKMF       Path to xmkmf, Makefile generator for X Window System
 
1784
 
 
1785
Use these variables to override the choices made by `configure' or to help
 
1786
it to find libraries and programs with nonstandard names/locations.
 
1787
 
 
1788
Report bugs to the package provider.
 
1789
_ACEOF
 
1790
ac_status=$?
 
1791
fi
 
1792
 
 
1793
if test "$ac_init_help" = "recursive"; then
 
1794
  # If there are subdirs, report their specific --help.
 
1795
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1796
    test -d "$ac_dir" ||
 
1797
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1798
      continue
 
1799
    ac_builddir=.
 
1800
 
 
1801
case "$ac_dir" in
 
1802
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1803
*)
 
1804
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1805
  # A ".." for each directory in $ac_dir_suffix.
 
1806
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1807
  case $ac_top_builddir_sub in
 
1808
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1809
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1810
  esac ;;
 
1811
esac
 
1812
ac_abs_top_builddir=$ac_pwd
 
1813
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1814
# for backward compatibility:
 
1815
ac_top_builddir=$ac_top_build_prefix
 
1816
 
 
1817
case $srcdir in
 
1818
  .)  # We are building in place.
 
1819
    ac_srcdir=.
 
1820
    ac_top_srcdir=$ac_top_builddir_sub
 
1821
    ac_abs_top_srcdir=$ac_pwd ;;
 
1822
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1823
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1824
    ac_top_srcdir=$srcdir
 
1825
    ac_abs_top_srcdir=$srcdir ;;
 
1826
  *) # Relative name.
 
1827
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1828
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1829
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1830
esac
 
1831
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1832
 
 
1833
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1834
    # Check for guested configure.
 
1835
    if test -f "$ac_srcdir/configure.gnu"; then
 
1836
      echo &&
 
1837
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1838
    elif test -f "$ac_srcdir/configure"; then
 
1839
      echo &&
 
1840
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1841
    else
 
1842
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1843
    fi || ac_status=$?
 
1844
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1845
  done
 
1846
fi
 
1847
 
 
1848
test -n "$ac_init_help" && exit $ac_status
 
1849
if $ac_init_version; then
 
1850
  cat <<\_ACEOF
 
1851
codeblocks configure 16.01svn10692
 
1852
generated by GNU Autoconf 2.69
 
1853
 
 
1854
Copyright (C) 2012 Free Software Foundation, Inc.
 
1855
This configure script is free software; the Free Software Foundation
 
1856
gives unlimited permission to copy, distribute and modify it.
 
1857
_ACEOF
 
1858
  exit
 
1859
fi
 
1860
 
 
1861
## ------------------------ ##
 
1862
## Autoconf initialization. ##
 
1863
## ------------------------ ##
 
1864
 
 
1865
@%:@ ac_fn_c_try_compile LINENO
 
1866
@%:@ --------------------------
 
1867
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
 
1868
ac_fn_c_try_compile ()
 
1869
{
 
1870
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1871
  rm -f conftest.$ac_objext
 
1872
  if { { ac_try="$ac_compile"
 
1873
case "(($ac_try" in
 
1874
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1875
  *) ac_try_echo=$ac_try;;
 
1876
esac
 
1877
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1878
$as_echo "$ac_try_echo"; } >&5
 
1879
  (eval "$ac_compile") 2>conftest.err
 
1880
  ac_status=$?
 
1881
  if test -s conftest.err; then
 
1882
    grep -v '^ *+' conftest.err >conftest.er1
 
1883
    cat conftest.er1 >&5
 
1884
    mv -f conftest.er1 conftest.err
 
1885
  fi
 
1886
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1887
  test $ac_status = 0; } && {
 
1888
         test -z "$ac_c_werror_flag" ||
 
1889
         test ! -s conftest.err
 
1890
       } && test -s conftest.$ac_objext; then :
 
1891
  ac_retval=0
 
1892
else
 
1893
  $as_echo "$as_me: failed program was:" >&5
 
1894
sed 's/^/| /' conftest.$ac_ext >&5
 
1895
 
 
1896
        ac_retval=1
 
1897
fi
 
1898
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1899
  as_fn_set_status $ac_retval
 
1900
 
 
1901
} @%:@ ac_fn_c_try_compile
 
1902
 
 
1903
@%:@ ac_fn_c_try_link LINENO
 
1904
@%:@ -----------------------
 
1905
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
 
1906
ac_fn_c_try_link ()
 
1907
{
 
1908
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1909
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1910
  if { { ac_try="$ac_link"
 
1911
case "(($ac_try" in
 
1912
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1913
  *) ac_try_echo=$ac_try;;
 
1914
esac
 
1915
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1916
$as_echo "$ac_try_echo"; } >&5
 
1917
  (eval "$ac_link") 2>conftest.err
 
1918
  ac_status=$?
 
1919
  if test -s conftest.err; then
 
1920
    grep -v '^ *+' conftest.err >conftest.er1
 
1921
    cat conftest.er1 >&5
 
1922
    mv -f conftest.er1 conftest.err
 
1923
  fi
 
1924
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1925
  test $ac_status = 0; } && {
 
1926
         test -z "$ac_c_werror_flag" ||
 
1927
         test ! -s conftest.err
 
1928
       } && test -s conftest$ac_exeext && {
 
1929
         test "$cross_compiling" = yes ||
 
1930
         test -x conftest$ac_exeext
 
1931
       }; then :
 
1932
  ac_retval=0
 
1933
else
 
1934
  $as_echo "$as_me: failed program was:" >&5
 
1935
sed 's/^/| /' conftest.$ac_ext >&5
 
1936
 
 
1937
        ac_retval=1
 
1938
fi
 
1939
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1940
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1941
  # interfere with the next link command; also delete a directory that is
 
1942
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1943
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1944
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1945
  as_fn_set_status $ac_retval
 
1946
 
 
1947
} @%:@ ac_fn_c_try_link
 
1948
 
 
1949
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1950
@%:@ -------------------------------------------------------
 
1951
@%:@ Tests whether HEADER exists and can be compiled using the include files in
 
1952
@%:@ INCLUDES, setting the cache variable VAR accordingly.
 
1953
ac_fn_c_check_header_compile ()
 
1954
{
 
1955
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1956
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1957
$as_echo_n "checking for $2... " >&6; }
 
1958
if eval \${$3+:} false; then :
 
1959
  $as_echo_n "(cached) " >&6
 
1960
else
 
1961
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1962
/* end confdefs.h.  */
 
1963
$4
 
1964
@%:@include <$2>
 
1965
_ACEOF
 
1966
if ac_fn_c_try_compile "$LINENO"; then :
 
1967
  eval "$3=yes"
 
1968
else
 
1969
  eval "$3=no"
 
1970
fi
 
1971
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1972
fi
 
1973
eval ac_res=\$$3
 
1974
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1975
$as_echo "$ac_res" >&6; }
 
1976
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1977
 
 
1978
} @%:@ ac_fn_c_check_header_compile
 
1979
 
 
1980
@%:@ ac_fn_c_try_cpp LINENO
 
1981
@%:@ ----------------------
 
1982
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
 
1983
ac_fn_c_try_cpp ()
 
1984
{
 
1985
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1986
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1987
case "(($ac_try" in
 
1988
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1989
  *) ac_try_echo=$ac_try;;
 
1990
esac
 
1991
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1992
$as_echo "$ac_try_echo"; } >&5
 
1993
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1994
  ac_status=$?
 
1995
  if test -s conftest.err; then
 
1996
    grep -v '^ *+' conftest.err >conftest.er1
 
1997
    cat conftest.er1 >&5
 
1998
    mv -f conftest.er1 conftest.err
 
1999
  fi
 
2000
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2001
  test $ac_status = 0; } > conftest.i && {
 
2002
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
2003
         test ! -s conftest.err
 
2004
       }; then :
 
2005
  ac_retval=0
 
2006
else
 
2007
  $as_echo "$as_me: failed program was:" >&5
 
2008
sed 's/^/| /' conftest.$ac_ext >&5
 
2009
 
 
2010
    ac_retval=1
 
2011
fi
 
2012
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2013
  as_fn_set_status $ac_retval
 
2014
 
 
2015
} @%:@ ac_fn_c_try_cpp
 
2016
 
 
2017
@%:@ ac_fn_c_try_run LINENO
 
2018
@%:@ ----------------------
 
2019
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
 
2020
@%:@ that executables *can* be run.
 
2021
ac_fn_c_try_run ()
 
2022
{
 
2023
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2024
  if { { ac_try="$ac_link"
 
2025
case "(($ac_try" in
 
2026
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2027
  *) ac_try_echo=$ac_try;;
 
2028
esac
 
2029
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2030
$as_echo "$ac_try_echo"; } >&5
 
2031
  (eval "$ac_link") 2>&5
 
2032
  ac_status=$?
 
2033
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2034
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
2035
  { { case "(($ac_try" in
 
2036
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2037
  *) ac_try_echo=$ac_try;;
 
2038
esac
 
2039
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2040
$as_echo "$ac_try_echo"; } >&5
 
2041
  (eval "$ac_try") 2>&5
 
2042
  ac_status=$?
 
2043
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2044
  test $ac_status = 0; }; }; then :
 
2045
  ac_retval=0
 
2046
else
 
2047
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
2048
       $as_echo "$as_me: failed program was:" >&5
 
2049
sed 's/^/| /' conftest.$ac_ext >&5
 
2050
 
 
2051
       ac_retval=$ac_status
 
2052
fi
 
2053
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2054
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2055
  as_fn_set_status $ac_retval
 
2056
 
 
2057
} @%:@ ac_fn_c_try_run
 
2058
 
 
2059
@%:@ ac_fn_c_check_func LINENO FUNC VAR
 
2060
@%:@ ----------------------------------
 
2061
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2062
ac_fn_c_check_func ()
 
2063
{
 
2064
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2065
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2066
$as_echo_n "checking for $2... " >&6; }
 
2067
if eval \${$3+:} false; then :
 
2068
  $as_echo_n "(cached) " >&6
 
2069
else
 
2070
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2071
/* end confdefs.h.  */
 
2072
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2073
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2074
#define $2 innocuous_$2
 
2075
 
 
2076
/* System header to define __stub macros and hopefully few prototypes,
 
2077
    which can conflict with char $2 (); below.
 
2078
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2079
    <limits.h> exists even on freestanding compilers.  */
 
2080
 
 
2081
#ifdef __STDC__
 
2082
# include <limits.h>
 
2083
#else
 
2084
# include <assert.h>
 
2085
#endif
 
2086
 
 
2087
#undef $2
 
2088
 
 
2089
/* Override any GCC internal prototype to avoid an error.
 
2090
   Use char because int might match the return type of a GCC
 
2091
   builtin and then its argument prototype would still apply.  */
 
2092
#ifdef __cplusplus
 
2093
extern "C"
 
2094
#endif
 
2095
char $2 ();
 
2096
/* The GNU C library defines this for functions which it implements
 
2097
    to always fail with ENOSYS.  Some functions are actually named
 
2098
    something starting with __ and the normal name is an alias.  */
 
2099
#if defined __stub_$2 || defined __stub___$2
 
2100
choke me
 
2101
#endif
 
2102
 
 
2103
int
 
2104
main ()
 
2105
{
 
2106
return $2 ();
 
2107
  ;
 
2108
  return 0;
 
2109
}
 
2110
_ACEOF
 
2111
if ac_fn_c_try_link "$LINENO"; then :
 
2112
  eval "$3=yes"
 
2113
else
 
2114
  eval "$3=no"
 
2115
fi
 
2116
rm -f core conftest.err conftest.$ac_objext \
 
2117
    conftest$ac_exeext conftest.$ac_ext
 
2118
fi
 
2119
eval ac_res=\$$3
 
2120
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2121
$as_echo "$ac_res" >&6; }
 
2122
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2123
 
 
2124
} @%:@ ac_fn_c_check_func
 
2125
 
 
2126
@%:@ ac_fn_cxx_try_compile LINENO
 
2127
@%:@ ----------------------------
 
2128
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
 
2129
ac_fn_cxx_try_compile ()
 
2130
{
 
2131
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2132
  rm -f conftest.$ac_objext
 
2133
  if { { ac_try="$ac_compile"
 
2134
case "(($ac_try" in
 
2135
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2136
  *) ac_try_echo=$ac_try;;
 
2137
esac
 
2138
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2139
$as_echo "$ac_try_echo"; } >&5
 
2140
  (eval "$ac_compile") 2>conftest.err
 
2141
  ac_status=$?
 
2142
  if test -s conftest.err; then
 
2143
    grep -v '^ *+' conftest.err >conftest.er1
 
2144
    cat conftest.er1 >&5
 
2145
    mv -f conftest.er1 conftest.err
 
2146
  fi
 
2147
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2148
  test $ac_status = 0; } && {
 
2149
         test -z "$ac_cxx_werror_flag" ||
 
2150
         test ! -s conftest.err
 
2151
       } && test -s conftest.$ac_objext; then :
 
2152
  ac_retval=0
 
2153
else
 
2154
  $as_echo "$as_me: failed program was:" >&5
 
2155
sed 's/^/| /' conftest.$ac_ext >&5
 
2156
 
 
2157
        ac_retval=1
 
2158
fi
 
2159
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2160
  as_fn_set_status $ac_retval
 
2161
 
 
2162
} @%:@ ac_fn_cxx_try_compile
 
2163
 
 
2164
@%:@ ac_fn_cxx_try_cpp LINENO
 
2165
@%:@ ------------------------
 
2166
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
 
2167
ac_fn_cxx_try_cpp ()
 
2168
{
 
2169
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2170
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
2171
case "(($ac_try" in
 
2172
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2173
  *) ac_try_echo=$ac_try;;
 
2174
esac
 
2175
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2176
$as_echo "$ac_try_echo"; } >&5
 
2177
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
2178
  ac_status=$?
 
2179
  if test -s conftest.err; then
 
2180
    grep -v '^ *+' conftest.err >conftest.er1
 
2181
    cat conftest.er1 >&5
 
2182
    mv -f conftest.er1 conftest.err
 
2183
  fi
 
2184
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2185
  test $ac_status = 0; } > conftest.i && {
 
2186
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
2187
         test ! -s conftest.err
 
2188
       }; then :
 
2189
  ac_retval=0
 
2190
else
 
2191
  $as_echo "$as_me: failed program was:" >&5
 
2192
sed 's/^/| /' conftest.$ac_ext >&5
 
2193
 
 
2194
    ac_retval=1
 
2195
fi
 
2196
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2197
  as_fn_set_status $ac_retval
 
2198
 
 
2199
} @%:@ ac_fn_cxx_try_cpp
 
2200
 
 
2201
@%:@ ac_fn_cxx_try_link LINENO
 
2202
@%:@ -------------------------
 
2203
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
 
2204
ac_fn_cxx_try_link ()
 
2205
{
 
2206
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2207
  rm -f conftest.$ac_objext conftest$ac_exeext
 
2208
  if { { ac_try="$ac_link"
 
2209
case "(($ac_try" in
 
2210
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2211
  *) ac_try_echo=$ac_try;;
 
2212
esac
 
2213
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2214
$as_echo "$ac_try_echo"; } >&5
 
2215
  (eval "$ac_link") 2>conftest.err
 
2216
  ac_status=$?
 
2217
  if test -s conftest.err; then
 
2218
    grep -v '^ *+' conftest.err >conftest.er1
 
2219
    cat conftest.er1 >&5
 
2220
    mv -f conftest.er1 conftest.err
 
2221
  fi
 
2222
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2223
  test $ac_status = 0; } && {
 
2224
         test -z "$ac_cxx_werror_flag" ||
 
2225
         test ! -s conftest.err
 
2226
       } && test -s conftest$ac_exeext && {
 
2227
         test "$cross_compiling" = yes ||
 
2228
         test -x conftest$ac_exeext
 
2229
       }; then :
 
2230
  ac_retval=0
 
2231
else
 
2232
  $as_echo "$as_me: failed program was:" >&5
 
2233
sed 's/^/| /' conftest.$ac_ext >&5
 
2234
 
 
2235
        ac_retval=1
 
2236
fi
 
2237
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2238
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2239
  # interfere with the next link command; also delete a directory that is
 
2240
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2241
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2242
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2243
  as_fn_set_status $ac_retval
 
2244
 
 
2245
} @%:@ ac_fn_cxx_try_link
 
2246
 
 
2247
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2248
@%:@ -------------------------------------------------------
 
2249
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2250
@%:@ the include files in INCLUDES and setting the cache variable VAR
 
2251
@%:@ accordingly.
 
2252
ac_fn_c_check_header_mongrel ()
 
2253
{
 
2254
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2255
  if eval \${$3+:} false; then :
 
2256
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2257
$as_echo_n "checking for $2... " >&6; }
 
2258
if eval \${$3+:} false; then :
 
2259
  $as_echo_n "(cached) " >&6
 
2260
fi
 
2261
eval ac_res=\$$3
 
2262
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2263
$as_echo "$ac_res" >&6; }
 
2264
else
 
2265
  # Is the header compilable?
 
2266
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2267
$as_echo_n "checking $2 usability... " >&6; }
 
2268
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2269
/* end confdefs.h.  */
 
2270
$4
 
2271
@%:@include <$2>
 
2272
_ACEOF
 
2273
if ac_fn_c_try_compile "$LINENO"; then :
 
2274
  ac_header_compiler=yes
 
2275
else
 
2276
  ac_header_compiler=no
 
2277
fi
 
2278
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2280
$as_echo "$ac_header_compiler" >&6; }
 
2281
 
 
2282
# Is the header present?
 
2283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2284
$as_echo_n "checking $2 presence... " >&6; }
 
2285
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2286
/* end confdefs.h.  */
 
2287
@%:@include <$2>
 
2288
_ACEOF
 
2289
if ac_fn_c_try_cpp "$LINENO"; then :
 
2290
  ac_header_preproc=yes
 
2291
else
 
2292
  ac_header_preproc=no
 
2293
fi
 
2294
rm -f conftest.err conftest.i conftest.$ac_ext
 
2295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2296
$as_echo "$ac_header_preproc" >&6; }
 
2297
 
 
2298
# So?  What about this header?
 
2299
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2300
  yes:no: )
 
2301
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2302
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2303
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2304
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2305
    ;;
 
2306
  no:yes:* )
 
2307
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2308
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2309
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2310
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2311
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2312
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2313
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2314
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2315
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2316
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2317
    ;;
 
2318
esac
 
2319
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2320
$as_echo_n "checking for $2... " >&6; }
 
2321
if eval \${$3+:} false; then :
 
2322
  $as_echo_n "(cached) " >&6
 
2323
else
 
2324
  eval "$3=\$ac_header_compiler"
 
2325
fi
 
2326
eval ac_res=\$$3
 
2327
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2328
$as_echo "$ac_res" >&6; }
 
2329
fi
 
2330
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2331
 
 
2332
} @%:@ ac_fn_c_check_header_mongrel
 
2333
 
 
2334
@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
2335
@%:@ -------------------------------------------
 
2336
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
 
2337
@%:@ variable VAR accordingly.
 
2338
ac_fn_c_check_type ()
 
2339
{
 
2340
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2341
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2342
$as_echo_n "checking for $2... " >&6; }
 
2343
if eval \${$3+:} false; then :
 
2344
  $as_echo_n "(cached) " >&6
 
2345
else
 
2346
  eval "$3=no"
 
2347
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2348
/* end confdefs.h.  */
 
2349
$4
 
2350
int
 
2351
main ()
 
2352
{
 
2353
if (sizeof ($2))
 
2354
         return 0;
 
2355
  ;
 
2356
  return 0;
 
2357
}
 
2358
_ACEOF
 
2359
if ac_fn_c_try_compile "$LINENO"; then :
 
2360
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2361
/* end confdefs.h.  */
 
2362
$4
 
2363
int
 
2364
main ()
 
2365
{
 
2366
if (sizeof (($2)))
 
2367
            return 0;
 
2368
  ;
 
2369
  return 0;
 
2370
}
 
2371
_ACEOF
 
2372
if ac_fn_c_try_compile "$LINENO"; then :
 
2373
  
 
2374
else
 
2375
  eval "$3=yes"
 
2376
fi
 
2377
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2378
fi
 
2379
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2380
fi
 
2381
eval ac_res=\$$3
 
2382
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2383
$as_echo "$ac_res" >&6; }
 
2384
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2385
 
 
2386
} @%:@ ac_fn_c_check_type
 
2387
 
 
2388
@%:@ ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2389
@%:@ ---------------------------------------------------------
 
2390
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2391
@%:@ the include files in INCLUDES and setting the cache variable VAR
 
2392
@%:@ accordingly.
 
2393
ac_fn_cxx_check_header_mongrel ()
 
2394
{
 
2395
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2396
  if eval \${$3+:} false; then :
 
2397
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2398
$as_echo_n "checking for $2... " >&6; }
 
2399
if eval \${$3+:} false; then :
 
2400
  $as_echo_n "(cached) " >&6
 
2401
fi
 
2402
eval ac_res=\$$3
 
2403
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2404
$as_echo "$ac_res" >&6; }
 
2405
else
 
2406
  # Is the header compilable?
 
2407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2408
$as_echo_n "checking $2 usability... " >&6; }
 
2409
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2410
/* end confdefs.h.  */
 
2411
$4
 
2412
@%:@include <$2>
 
2413
_ACEOF
 
2414
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2415
  ac_header_compiler=yes
 
2416
else
 
2417
  ac_header_compiler=no
 
2418
fi
 
2419
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2421
$as_echo "$ac_header_compiler" >&6; }
 
2422
 
 
2423
# Is the header present?
 
2424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2425
$as_echo_n "checking $2 presence... " >&6; }
 
2426
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2427
/* end confdefs.h.  */
 
2428
@%:@include <$2>
 
2429
_ACEOF
 
2430
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
2431
  ac_header_preproc=yes
 
2432
else
 
2433
  ac_header_preproc=no
 
2434
fi
 
2435
rm -f conftest.err conftest.i conftest.$ac_ext
 
2436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2437
$as_echo "$ac_header_preproc" >&6; }
 
2438
 
 
2439
# So?  What about this header?
 
2440
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
 
2441
  yes:no: )
 
2442
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2443
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2444
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2445
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2446
    ;;
 
2447
  no:yes:* )
 
2448
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2449
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2450
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2451
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2452
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2453
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2454
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2455
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2456
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2457
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2458
    ;;
 
2459
esac
 
2460
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2461
$as_echo_n "checking for $2... " >&6; }
 
2462
if eval \${$3+:} false; then :
 
2463
  $as_echo_n "(cached) " >&6
 
2464
else
 
2465
  eval "$3=\$ac_header_compiler"
 
2466
fi
 
2467
eval ac_res=\$$3
 
2468
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2469
$as_echo "$ac_res" >&6; }
 
2470
fi
 
2471
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2472
 
 
2473
} @%:@ ac_fn_cxx_check_header_mongrel
 
2474
cat >config.log <<_ACEOF
 
2475
This file contains any messages produced by compilers while
 
2476
running configure, to aid debugging if configure makes a mistake.
 
2477
 
 
2478
It was created by codeblocks $as_me 16.01svn10692, which was
 
2479
generated by GNU Autoconf 2.69.  Invocation command line was
 
2480
 
 
2481
  $ $0 $@
 
2482
 
 
2483
_ACEOF
 
2484
exec 5>>config.log
 
2485
{
 
2486
cat <<_ASUNAME
 
2487
## --------- ##
 
2488
## Platform. ##
 
2489
## --------- ##
 
2490
 
 
2491
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2492
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
2493
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
2494
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
2495
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
2496
 
 
2497
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
2498
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
2499
 
 
2500
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
2501
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
2502
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
2503
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
2504
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
2505
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
2506
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2507
 
 
2508
_ASUNAME
 
2509
 
 
2510
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2511
for as_dir in $PATH
 
2512
do
 
2513
  IFS=$as_save_IFS
 
2514
  test -z "$as_dir" && as_dir=.
 
2515
    $as_echo "PATH: $as_dir"
 
2516
  done
 
2517
IFS=$as_save_IFS
 
2518
 
 
2519
} >&5
 
2520
 
 
2521
cat >&5 <<_ACEOF
 
2522
 
 
2523
 
 
2524
## ----------- ##
 
2525
## Core tests. ##
 
2526
## ----------- ##
 
2527
 
 
2528
_ACEOF
 
2529
 
 
2530
 
 
2531
# Keep a trace of the command line.
 
2532
# Strip out --no-create and --no-recursion so they do not pile up.
 
2533
# Strip out --silent because we don't want to record it for future runs.
 
2534
# Also quote any args containing shell meta-characters.
 
2535
# Make two passes to allow for proper duplicate-argument suppression.
 
2536
ac_configure_args=
 
2537
ac_configure_args0=
 
2538
ac_configure_args1=
 
2539
ac_must_keep_next=false
 
2540
for ac_pass in 1 2
 
2541
do
 
2542
  for ac_arg
 
2543
  do
 
2544
    case $ac_arg in
 
2545
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2546
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2547
    | -silent | --silent | --silen | --sile | --sil)
 
2548
      continue ;;
 
2549
    *\'*)
 
2550
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2551
    esac
 
2552
    case $ac_pass in
 
2553
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2554
    2)
 
2555
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2556
      if test $ac_must_keep_next = true; then
 
2557
        ac_must_keep_next=false # Got value, back to normal.
 
2558
      else
 
2559
        case $ac_arg in
 
2560
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2561
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2562
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2563
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2564
            case "$ac_configure_args0 " in
 
2565
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2566
            esac
 
2567
            ;;
 
2568
          -* ) ac_must_keep_next=true ;;
 
2569
        esac
 
2570
      fi
 
2571
      as_fn_append ac_configure_args " '$ac_arg'"
 
2572
      ;;
 
2573
    esac
 
2574
  done
 
2575
done
 
2576
{ ac_configure_args0=; unset ac_configure_args0;}
 
2577
{ ac_configure_args1=; unset ac_configure_args1;}
 
2578
 
 
2579
# When interrupted or exit'd, cleanup temporary files, and complete
 
2580
# config.log.  We remove comments because anyway the quotes in there
 
2581
# would cause problems or look ugly.
 
2582
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2583
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2584
trap 'exit_status=$?
 
2585
  # Save into config.log some information that might help in debugging.
 
2586
  {
 
2587
    echo
 
2588
 
 
2589
    $as_echo "## ---------------- ##
 
2590
## Cache variables. ##
 
2591
## ---------------- ##"
 
2592
    echo
 
2593
    # The following way of writing the cache mishandles newlines in values,
 
2594
(
 
2595
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2596
    eval ac_val=\$$ac_var
 
2597
    case $ac_val in #(
 
2598
    *${as_nl}*)
 
2599
      case $ac_var in #(
 
2600
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2601
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2602
      esac
 
2603
      case $ac_var in #(
 
2604
      _ | IFS | as_nl) ;; #(
 
2605
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2606
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2607
      esac ;;
 
2608
    esac
 
2609
  done
 
2610
  (set) 2>&1 |
 
2611
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2612
    *${as_nl}ac_space=\ *)
 
2613
      sed -n \
 
2614
        "s/'\''/'\''\\\\'\'''\''/g;
 
2615
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2616
      ;; #(
 
2617
    *)
 
2618
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2619
      ;;
 
2620
    esac |
 
2621
    sort
 
2622
)
 
2623
    echo
 
2624
 
 
2625
    $as_echo "## ----------------- ##
 
2626
## Output variables. ##
 
2627
## ----------------- ##"
 
2628
    echo
 
2629
    for ac_var in $ac_subst_vars
 
2630
    do
 
2631
      eval ac_val=\$$ac_var
 
2632
      case $ac_val in
 
2633
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2634
      esac
 
2635
      $as_echo "$ac_var='\''$ac_val'\''"
 
2636
    done | sort
 
2637
    echo
 
2638
 
 
2639
    if test -n "$ac_subst_files"; then
 
2640
      $as_echo "## ------------------- ##
 
2641
## File substitutions. ##
 
2642
## ------------------- ##"
 
2643
      echo
 
2644
      for ac_var in $ac_subst_files
 
2645
      do
 
2646
        eval ac_val=\$$ac_var
 
2647
        case $ac_val in
 
2648
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2649
        esac
 
2650
        $as_echo "$ac_var='\''$ac_val'\''"
 
2651
      done | sort
 
2652
      echo
 
2653
    fi
 
2654
 
 
2655
    if test -s confdefs.h; then
 
2656
      $as_echo "## ----------- ##
 
2657
## confdefs.h. ##
 
2658
## ----------- ##"
 
2659
      echo
 
2660
      cat confdefs.h
 
2661
      echo
 
2662
    fi
 
2663
    test "$ac_signal" != 0 &&
 
2664
      $as_echo "$as_me: caught signal $ac_signal"
 
2665
    $as_echo "$as_me: exit $exit_status"
 
2666
  } >&5
 
2667
  rm -f core *.core core.conftest.* &&
 
2668
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2669
    exit $exit_status
 
2670
' 0
 
2671
for ac_signal in 1 2 13 15; do
 
2672
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2673
done
 
2674
ac_signal=0
 
2675
 
 
2676
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2677
rm -f -r conftest* confdefs.h
 
2678
 
 
2679
$as_echo "/* confdefs.h */" > confdefs.h
 
2680
 
 
2681
# Predefined preprocessor variables.
 
2682
 
 
2683
cat >>confdefs.h <<_ACEOF
 
2684
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
 
2685
_ACEOF
 
2686
 
 
2687
cat >>confdefs.h <<_ACEOF
 
2688
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2689
_ACEOF
 
2690
 
 
2691
cat >>confdefs.h <<_ACEOF
 
2692
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2693
_ACEOF
 
2694
 
 
2695
cat >>confdefs.h <<_ACEOF
 
2696
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
 
2697
_ACEOF
 
2698
 
 
2699
cat >>confdefs.h <<_ACEOF
 
2700
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2701
_ACEOF
 
2702
 
 
2703
cat >>confdefs.h <<_ACEOF
 
2704
@%:@define PACKAGE_URL "$PACKAGE_URL"
 
2705
_ACEOF
 
2706
 
 
2707
 
 
2708
# Let the site file select an alternate cache file if it wants to.
 
2709
# Prefer an explicitly selected file to automatically selected ones.
 
2710
ac_site_file1=NONE
 
2711
ac_site_file2=NONE
 
2712
if test -n "$CONFIG_SITE"; then
 
2713
  # We do not want a PATH search for config.site.
 
2714
  case $CONFIG_SITE in @%:@((
 
2715
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2716
    */*) ac_site_file1=$CONFIG_SITE;;
 
2717
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2718
  esac
 
2719
elif test "x$prefix" != xNONE; then
 
2720
  ac_site_file1=$prefix/share/config.site
 
2721
  ac_site_file2=$prefix/etc/config.site
 
2722
else
 
2723
  ac_site_file1=$ac_default_prefix/share/config.site
 
2724
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2725
fi
 
2726
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2727
do
 
2728
  test "x$ac_site_file" = xNONE && continue
 
2729
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2730
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2731
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2732
    sed 's/^/| /' "$ac_site_file" >&5
 
2733
    . "$ac_site_file" \
 
2734
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2735
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2736
as_fn_error $? "failed to load site script $ac_site_file
 
2737
See \`config.log' for more details" "$LINENO" 5; }
 
2738
  fi
 
2739
done
 
2740
 
 
2741
if test -r "$cache_file"; then
 
2742
  # Some versions of bash will fail to source /dev/null (special files
 
2743
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2744
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2745
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2746
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2747
    case $cache_file in
 
2748
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2749
      *)                      . "./$cache_file";;
 
2750
    esac
 
2751
  fi
 
2752
else
 
2753
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2754
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2755
  >$cache_file
 
2756
fi
 
2757
 
 
2758
# Check that the precious variables saved in the cache have kept the same
 
2759
# value.
 
2760
ac_cache_corrupted=false
 
2761
for ac_var in $ac_precious_vars; do
 
2762
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2763
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2764
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2765
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2766
  case $ac_old_set,$ac_new_set in
 
2767
    set,)
 
2768
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2769
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2770
      ac_cache_corrupted=: ;;
 
2771
    ,set)
 
2772
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2773
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2774
      ac_cache_corrupted=: ;;
 
2775
    ,);;
 
2776
    *)
 
2777
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2778
        # differences in whitespace do not lead to failure.
 
2779
        ac_old_val_w=`echo x $ac_old_val`
 
2780
        ac_new_val_w=`echo x $ac_new_val`
 
2781
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2782
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2783
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2784
          ac_cache_corrupted=:
 
2785
        else
 
2786
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2787
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2788
          eval $ac_var=\$ac_old_val
 
2789
        fi
 
2790
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2791
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2792
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2793
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2794
      fi;;
 
2795
  esac
 
2796
  # Pass precious variables to config.status.
 
2797
  if test "$ac_new_set" = set; then
 
2798
    case $ac_new_val in
 
2799
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2800
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2801
    esac
 
2802
    case " $ac_configure_args " in
 
2803
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2804
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2805
    esac
 
2806
  fi
 
2807
done
 
2808
if $ac_cache_corrupted; then
 
2809
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2810
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2811
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2812
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2813
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2814
fi
 
2815
## -------------------- ##
 
2816
## Main body of script. ##
 
2817
## -------------------- ##
 
2818
 
 
2819
ac_ext=c
 
2820
ac_cpp='$CPP $CPPFLAGS'
 
2821
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2822
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2823
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2824
 
 
2825
 
 
2826
 
 
2827
ac_aux_dir=
 
2828
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2829
  if test -f "$ac_dir/install-sh"; then
 
2830
    ac_aux_dir=$ac_dir
 
2831
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2832
    break
 
2833
  elif test -f "$ac_dir/install.sh"; then
 
2834
    ac_aux_dir=$ac_dir
 
2835
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2836
    break
 
2837
  elif test -f "$ac_dir/shtool"; then
 
2838
    ac_aux_dir=$ac_dir
 
2839
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2840
    break
 
2841
  fi
 
2842
done
 
2843
if test -z "$ac_aux_dir"; then
 
2844
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2845
fi
 
2846
 
 
2847
# These three variables are undocumented and unsupported,
 
2848
# and are intended to be withdrawn in a future Autoconf release.
 
2849
# They can cause serious problems if a builder's source tree is in a directory
 
2850
# whose full name contains unusual characters.
 
2851
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2852
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2853
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2854
 
 
2855
 
 
2856
# Make sure we can run config.sub.
 
2857
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2858
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
2859
 
 
2860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
2861
$as_echo_n "checking build system type... " >&6; }
 
2862
if ${ac_cv_build+:} false; then :
 
2863
  $as_echo_n "(cached) " >&6
 
2864
else
 
2865
  ac_build_alias=$build_alias
 
2866
test "x$ac_build_alias" = x &&
 
2867
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2868
test "x$ac_build_alias" = x &&
 
2869
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
2870
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2871
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
2872
 
 
2873
fi
 
2874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2875
$as_echo "$ac_cv_build" >&6; }
 
2876
case $ac_cv_build in
 
2877
*-*-*) ;;
 
2878
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
2879
esac
 
2880
build=$ac_cv_build
 
2881
ac_save_IFS=$IFS; IFS='-'
 
2882
set x $ac_cv_build
 
2883
shift
 
2884
build_cpu=$1
 
2885
build_vendor=$2
 
2886
shift; shift
 
2887
# Remember, the first character of IFS is used to create $*,
 
2888
# except with old shells:
 
2889
build_os=$*
 
2890
IFS=$ac_save_IFS
 
2891
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2892
 
 
2893
 
 
2894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
2895
$as_echo_n "checking host system type... " >&6; }
 
2896
if ${ac_cv_host+:} false; then :
 
2897
  $as_echo_n "(cached) " >&6
 
2898
else
 
2899
  if test "x$host_alias" = x; then
 
2900
  ac_cv_host=$ac_cv_build
 
2901
else
 
2902
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2903
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2904
fi
 
2905
 
 
2906
fi
 
2907
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
2908
$as_echo "$ac_cv_host" >&6; }
 
2909
case $ac_cv_host in
 
2910
*-*-*) ;;
 
2911
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
2912
esac
 
2913
host=$ac_cv_host
 
2914
ac_save_IFS=$IFS; IFS='-'
 
2915
set x $ac_cv_host
 
2916
shift
 
2917
host_cpu=$1
 
2918
host_vendor=$2
 
2919
shift; shift
 
2920
# Remember, the first character of IFS is used to create $*,
 
2921
# except with old shells:
 
2922
host_os=$*
 
2923
IFS=$ac_save_IFS
 
2924
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
2925
 
 
2926
 
 
2927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 
2928
$as_echo_n "checking target system type... " >&6; }
 
2929
if ${ac_cv_target+:} false; then :
 
2930
  $as_echo_n "(cached) " >&6
 
2931
else
 
2932
  if test "x$target_alias" = x; then
 
2933
  ac_cv_target=$ac_cv_host
 
2934
else
 
2935
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 
2936
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 
2937
fi
 
2938
 
 
2939
fi
 
2940
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 
2941
$as_echo "$ac_cv_target" >&6; }
 
2942
case $ac_cv_target in
 
2943
*-*-*) ;;
 
2944
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
 
2945
esac
 
2946
target=$ac_cv_target
 
2947
ac_save_IFS=$IFS; IFS='-'
 
2948
set x $ac_cv_target
 
2949
shift
 
2950
target_cpu=$1
 
2951
target_vendor=$2
 
2952
shift; shift
 
2953
# Remember, the first character of IFS is used to create $*,
 
2954
# except with old shells:
 
2955
target_os=$*
 
2956
IFS=$ac_save_IFS
 
2957
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 
2958
 
 
2959
 
 
2960
# The aliases save the names the user supplied, while $host etc.
 
2961
# will get canonicalized.
 
2962
test -n "$target_alias" &&
 
2963
  test "$program_prefix$program_suffix$program_transform_name" = \
 
2964
    NONENONEs,x,x, &&
 
2965
  program_prefix=${target_alias}-
 
2966
 
 
2967
 
 
2968
 
 
2969
am__api_version='1.13'
 
2970
 
 
2971
# Find a good install program.  We prefer a C program (faster),
 
2972
# so one script is as good as another.  But avoid the broken or
 
2973
# incompatible versions:
 
2974
# SysV /etc/install, /usr/sbin/install
 
2975
# SunOS /usr/etc/install
 
2976
# IRIX /sbin/install
 
2977
# AIX /bin/install
 
2978
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2979
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2980
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2981
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2982
# OS/2's system install, which has a completely different semantic
 
2983
# ./install, which can be erroneously created by make from ./install.sh.
 
2984
# Reject install programs that cannot install multiple files.
 
2985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2986
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2987
if test -z "$INSTALL"; then
 
2988
if ${ac_cv_path_install+:} false; then :
 
2989
  $as_echo_n "(cached) " >&6
 
2990
else
 
2991
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2992
for as_dir in $PATH
 
2993
do
 
2994
  IFS=$as_save_IFS
 
2995
  test -z "$as_dir" && as_dir=.
 
2996
    # Account for people who put trailing slashes in PATH elements.
 
2997
case $as_dir/ in @%:@((
 
2998
  ./ | .// | /[cC]/* | \
 
2999
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
3000
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
3001
  /usr/ucb/* ) ;;
 
3002
  *)
 
3003
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
3004
    # Don't use installbsd from OSF since it installs stuff as root
 
3005
    # by default.
 
3006
    for ac_prog in ginstall scoinst install; do
 
3007
      for ac_exec_ext in '' $ac_executable_extensions; do
 
3008
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
3009
          if test $ac_prog = install &&
 
3010
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
3011
            # AIX install.  It has an incompatible calling convention.
 
3012
            :
 
3013
          elif test $ac_prog = install &&
 
3014
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
3015
            # program-specific install script used by HP pwplus--don't use.
 
3016
            :
 
3017
          else
 
3018
            rm -rf conftest.one conftest.two conftest.dir
 
3019
            echo one > conftest.one
 
3020
            echo two > conftest.two
 
3021
            mkdir conftest.dir
 
3022
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
3023
              test -s conftest.one && test -s conftest.two &&
 
3024
              test -s conftest.dir/conftest.one &&
 
3025
              test -s conftest.dir/conftest.two
 
3026
            then
 
3027
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
3028
              break 3
 
3029
            fi
 
3030
          fi
 
3031
        fi
 
3032
      done
 
3033
    done
 
3034
    ;;
 
3035
esac
 
3036
 
 
3037
  done
 
3038
IFS=$as_save_IFS
 
3039
 
 
3040
rm -rf conftest.one conftest.two conftest.dir
 
3041
 
 
3042
fi
 
3043
  if test "${ac_cv_path_install+set}" = set; then
 
3044
    INSTALL=$ac_cv_path_install
 
3045
  else
 
3046
    # As a last resort, use the slow shell script.  Don't cache a
 
3047
    # value for INSTALL within a source directory, because that will
 
3048
    # break other packages using the cache if that directory is
 
3049
    # removed, or if the value is a relative name.
 
3050
    INSTALL=$ac_install_sh
 
3051
  fi
 
3052
fi
 
3053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
3054
$as_echo "$INSTALL" >&6; }
 
3055
 
 
3056
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
3057
# It thinks the first close brace ends the variable substitution.
 
3058
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
3059
 
 
3060
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
3061
 
 
3062
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
3063
 
 
3064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
3065
$as_echo_n "checking whether build environment is sane... " >&6; }
 
3066
# Reject unsafe characters in $srcdir or the absolute working directory
 
3067
# name.  Accept space and tab only in the latter.
 
3068
am_lf='
 
3069
'
 
3070
case `pwd` in
 
3071
  *[\\\"\#\$\&\'\`$am_lf]*)
 
3072
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
3073
esac
 
3074
case $srcdir in
 
3075
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
3076
    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 
3077
esac
 
3078
 
 
3079
# Do 'set' in a subshell so we don't clobber the current shell's
 
3080
# arguments.  Must try -L first in case configure is actually a
 
3081
# symlink; some systems play weird games with the mod time of symlinks
 
3082
# (eg FreeBSD returns the mod time of the symlink's containing
 
3083
# directory).
 
3084
if (
 
3085
   am_has_slept=no
 
3086
   for am_try in 1 2; do
 
3087
     echo "timestamp, slept: $am_has_slept" > conftest.file
 
3088
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
3089
     if test "$*" = "X"; then
 
3090
        # -L didn't work.
 
3091
        set X `ls -t "$srcdir/configure" conftest.file`
 
3092
     fi
 
3093
     if test "$*" != "X $srcdir/configure conftest.file" \
 
3094
        && test "$*" != "X conftest.file $srcdir/configure"; then
 
3095
 
 
3096
        # If neither matched, then we have a broken ls.  This can happen
 
3097
        # if, for instance, CONFIG_SHELL is bash and it inherits a
 
3098
        # broken ls alias from the environment.  This has actually
 
3099
        # happened.  Such a system could not be considered "sane".
 
3100
        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
3101
  alias in your environment" "$LINENO" 5
 
3102
     fi
 
3103
     if test "$2" = conftest.file || test $am_try -eq 2; then
 
3104
       break
 
3105
     fi
 
3106
     # Just in case.
 
3107
     sleep 1
 
3108
     am_has_slept=yes
 
3109
   done
 
3110
   test "$2" = conftest.file
 
3111
   )
 
3112
then
 
3113
   # Ok.
 
3114
   :
 
3115
else
 
3116
   as_fn_error $? "newly created file is older than distributed files!
 
3117
Check your system clock" "$LINENO" 5
 
3118
fi
 
3119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3120
$as_echo "yes" >&6; }
 
3121
# If we didn't sleep, we still need to ensure time stamps of config.status and
 
3122
# generated files are strictly newer.
 
3123
am_sleep_pid=
 
3124
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 
3125
  ( sleep 1 ) &
 
3126
  am_sleep_pid=$!
 
3127
fi
 
3128
 
 
3129
rm -f conftest.file
 
3130
 
 
3131
test "$program_prefix" != NONE &&
 
3132
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
3133
# Use a double $ so make ignores it.
 
3134
test "$program_suffix" != NONE &&
 
3135
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
3136
# Double any \ or $.
 
3137
# By default was `s,x,x', remove it if useless.
 
3138
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
3139
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
3140
 
 
3141
# expand $ac_aux_dir to an absolute path
 
3142
am_aux_dir=`cd $ac_aux_dir && pwd`
 
3143
 
 
3144
if test x"${MISSING+set}" != xset; then
 
3145
  case $am_aux_dir in
 
3146
  *\ * | *\     *)
 
3147
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
3148
  *)
 
3149
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
3150
  esac
 
3151
fi
 
3152
# Use eval to expand $SHELL
 
3153
if eval "$MISSING --is-lightweight"; then
 
3154
  am_missing_run="$MISSING "
 
3155
else
 
3156
  am_missing_run=
 
3157
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 
3158
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 
3159
fi
 
3160
 
 
3161
if test x"${install_sh}" != xset; then
 
3162
  case $am_aux_dir in
 
3163
  *\ * | *\     *)
 
3164
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
3165
  *)
 
3166
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
3167
  esac
 
3168
fi
 
3169
 
 
3170
# Installed binaries are usually stripped using 'strip' when the user
 
3171
# run "make install-strip".  However 'strip' might not be the right
 
3172
# tool to use in cross-compilation environments, therefore Automake
 
3173
# will honor the 'STRIP' environment variable to overrule this program.
 
3174
if test "$cross_compiling" != no; then
 
3175
  if test -n "$ac_tool_prefix"; then
 
3176
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
3177
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
3178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3179
$as_echo_n "checking for $ac_word... " >&6; }
 
3180
if ${ac_cv_prog_STRIP+:} false; then :
 
3181
  $as_echo_n "(cached) " >&6
 
3182
else
 
3183
  if test -n "$STRIP"; then
 
3184
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
3185
else
 
3186
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3187
for as_dir in $PATH
 
3188
do
 
3189
  IFS=$as_save_IFS
 
3190
  test -z "$as_dir" && as_dir=.
 
3191
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3192
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3193
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
3194
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3195
    break 2
 
3196
  fi
 
3197
done
 
3198
  done
 
3199
IFS=$as_save_IFS
 
3200
 
 
3201
fi
 
3202
fi
 
3203
STRIP=$ac_cv_prog_STRIP
 
3204
if test -n "$STRIP"; then
 
3205
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
3206
$as_echo "$STRIP" >&6; }
 
3207
else
 
3208
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3209
$as_echo "no" >&6; }
 
3210
fi
 
3211
 
 
3212
 
 
3213
fi
 
3214
if test -z "$ac_cv_prog_STRIP"; then
 
3215
  ac_ct_STRIP=$STRIP
 
3216
  # Extract the first word of "strip", so it can be a program name with args.
 
3217
set dummy strip; ac_word=$2
 
3218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3219
$as_echo_n "checking for $ac_word... " >&6; }
 
3220
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
3221
  $as_echo_n "(cached) " >&6
 
3222
else
 
3223
  if test -n "$ac_ct_STRIP"; then
 
3224
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
3225
else
 
3226
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3227
for as_dir in $PATH
 
3228
do
 
3229
  IFS=$as_save_IFS
 
3230
  test -z "$as_dir" && as_dir=.
 
3231
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3232
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3233
    ac_cv_prog_ac_ct_STRIP="strip"
 
3234
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3235
    break 2
 
3236
  fi
 
3237
done
 
3238
  done
 
3239
IFS=$as_save_IFS
 
3240
 
 
3241
fi
 
3242
fi
 
3243
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
3244
if test -n "$ac_ct_STRIP"; then
 
3245
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
3246
$as_echo "$ac_ct_STRIP" >&6; }
 
3247
else
 
3248
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3249
$as_echo "no" >&6; }
 
3250
fi
 
3251
 
 
3252
  if test "x$ac_ct_STRIP" = x; then
 
3253
    STRIP=":"
 
3254
  else
 
3255
    case $cross_compiling:$ac_tool_warned in
 
3256
yes:)
 
3257
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3258
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3259
ac_tool_warned=yes ;;
 
3260
esac
 
3261
    STRIP=$ac_ct_STRIP
 
3262
  fi
 
3263
else
 
3264
  STRIP="$ac_cv_prog_STRIP"
 
3265
fi
 
3266
 
 
3267
fi
 
3268
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
3269
 
 
3270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
3271
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
3272
if test -z "$MKDIR_P"; then
 
3273
  if ${ac_cv_path_mkdir+:} false; then :
 
3274
  $as_echo_n "(cached) " >&6
 
3275
else
 
3276
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3277
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
3278
do
 
3279
  IFS=$as_save_IFS
 
3280
  test -z "$as_dir" && as_dir=.
 
3281
    for ac_prog in mkdir gmkdir; do
 
3282
         for ac_exec_ext in '' $ac_executable_extensions; do
 
3283
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 
3284
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
3285
             'mkdir (GNU coreutils) '* | \
 
3286
             'mkdir (coreutils) '* | \
 
3287
             'mkdir (fileutils) '4.1*)
 
3288
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
3289
               break 3;;
 
3290
           esac
 
3291
         done
 
3292
       done
 
3293
  done
 
3294
IFS=$as_save_IFS
 
3295
 
 
3296
fi
 
3297
 
 
3298
  test -d ./--version && rmdir ./--version
 
3299
  if test "${ac_cv_path_mkdir+set}" = set; then
 
3300
    MKDIR_P="$ac_cv_path_mkdir -p"
 
3301
  else
 
3302
    # As a last resort, use the slow shell script.  Don't cache a
 
3303
    # value for MKDIR_P within a source directory, because that will
 
3304
    # break other packages using the cache if that directory is
 
3305
    # removed, or if the value is a relative name.
 
3306
    MKDIR_P="$ac_install_sh -d"
 
3307
  fi
 
3308
fi
 
3309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
3310
$as_echo "$MKDIR_P" >&6; }
 
3311
 
 
3312
for ac_prog in gawk mawk nawk awk
 
3313
do
 
3314
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3315
set dummy $ac_prog; ac_word=$2
 
3316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3317
$as_echo_n "checking for $ac_word... " >&6; }
 
3318
if ${ac_cv_prog_AWK+:} false; then :
 
3319
  $as_echo_n "(cached) " >&6
 
3320
else
 
3321
  if test -n "$AWK"; then
 
3322
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
3323
else
 
3324
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3325
for as_dir in $PATH
 
3326
do
 
3327
  IFS=$as_save_IFS
 
3328
  test -z "$as_dir" && as_dir=.
 
3329
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3330
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3331
    ac_cv_prog_AWK="$ac_prog"
 
3332
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3333
    break 2
 
3334
  fi
 
3335
done
 
3336
  done
 
3337
IFS=$as_save_IFS
 
3338
 
 
3339
fi
 
3340
fi
 
3341
AWK=$ac_cv_prog_AWK
 
3342
if test -n "$AWK"; then
 
3343
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
3344
$as_echo "$AWK" >&6; }
 
3345
else
 
3346
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3347
$as_echo "no" >&6; }
 
3348
fi
 
3349
 
 
3350
 
 
3351
  test -n "$AWK" && break
 
3352
done
 
3353
 
 
3354
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3355
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
3356
set x ${MAKE-make}
 
3357
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3358
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
3359
  $as_echo_n "(cached) " >&6
 
3360
else
 
3361
  cat >conftest.make <<\_ACEOF
 
3362
SHELL = /bin/sh
 
3363
all:
 
3364
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
3365
_ACEOF
 
3366
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
3367
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
3368
  *@@@%%%=?*=@@@%%%*)
 
3369
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
3370
  *)
 
3371
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
3372
esac
 
3373
rm -f conftest.make
 
3374
fi
 
3375
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
3376
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3377
$as_echo "yes" >&6; }
 
3378
  SET_MAKE=
 
3379
else
 
3380
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3381
$as_echo "no" >&6; }
 
3382
  SET_MAKE="MAKE=${MAKE-make}"
 
3383
fi
 
3384
 
 
3385
rm -rf .tst 2>/dev/null
 
3386
mkdir .tst 2>/dev/null
 
3387
if test -d .tst; then
 
3388
  am__leading_dot=.
 
3389
else
 
3390
  am__leading_dot=_
 
3391
fi
 
3392
rmdir .tst 2>/dev/null
 
3393
 
 
3394
@%:@ Check whether --enable-silent-rules was given.
 
3395
if test "${enable_silent_rules+set}" = set; then :
 
3396
  enableval=$enable_silent_rules; 
 
3397
fi
 
3398
 
 
3399
case $enable_silent_rules in @%:@ (((
 
3400
  yes) AM_DEFAULT_VERBOSITY=0;;
 
3401
   no) AM_DEFAULT_VERBOSITY=1;;
 
3402
    *) AM_DEFAULT_VERBOSITY=1;;
 
3403
esac
 
3404
am_make=${MAKE-make}
 
3405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
3406
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
3407
if ${am_cv_make_support_nested_variables+:} false; then :
 
3408
  $as_echo_n "(cached) " >&6
 
3409
else
 
3410
  if $as_echo 'TRUE=$(BAR$(V))
 
3411
BAR0=false
 
3412
BAR1=true
 
3413
V=1
 
3414
am__doit:
 
3415
        @$(TRUE)
 
3416
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
3417
  am_cv_make_support_nested_variables=yes
 
3418
else
 
3419
  am_cv_make_support_nested_variables=no
 
3420
fi
 
3421
fi
 
3422
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
3423
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
3424
if test $am_cv_make_support_nested_variables = yes; then
 
3425
    AM_V='$(V)'
 
3426
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
3427
else
 
3428
  AM_V=$AM_DEFAULT_VERBOSITY
 
3429
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
3430
fi
 
3431
AM_BACKSLASH='\'
 
3432
 
 
3433
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
3434
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
3435
  # is not polluted with repeated "-I."
 
3436
  am__isrc=' -I$(srcdir)'
 
3437
  # test to see if srcdir already configured
 
3438
  if test -f $srcdir/config.status; then
 
3439
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3440
  fi
 
3441
fi
 
3442
 
 
3443
# test whether we have cygpath
 
3444
if test -z "$CYGPATH_W"; then
 
3445
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
3446
    CYGPATH_W='cygpath -w'
 
3447
  else
 
3448
    CYGPATH_W=echo
 
3449
  fi
 
3450
fi
 
3451
 
 
3452
 
 
3453
# Define the identity of the package.
 
3454
 PACKAGE='codeblocks'
 
3455
 VERSION='16.01svn10692'
 
3456
 
 
3457
 
 
3458
cat >>confdefs.h <<_ACEOF
 
3459
@%:@define PACKAGE "$PACKAGE"
 
3460
_ACEOF
 
3461
 
 
3462
 
 
3463
cat >>confdefs.h <<_ACEOF
 
3464
@%:@define VERSION "$VERSION"
 
3465
_ACEOF
 
3466
 
 
3467
# Some tools Automake needs.
 
3468
 
 
3469
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
3470
 
 
3471
 
 
3472
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
3473
 
 
3474
 
 
3475
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
3476
 
 
3477
 
 
3478
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
3479
 
 
3480
 
 
3481
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
3482
 
 
3483
# For better backward compatibility.  To be removed once Automake 1.9.x
 
3484
# dies out for good.  For more background, see:
 
3485
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 
3486
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 
3487
mkdir_p='$(MKDIR_P)'
 
3488
 
 
3489
# We need awk for the "check" target.  The system "awk" is bad on
 
3490
# some platforms.
 
3491
# Always define AMTAR for backward compatibility.
 
3492
 
 
3493
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
3494
 
 
3495
am__tar='${AMTAR} chf - "$$tardir"'; am__untar='${AMTAR} xf -'
 
3496
 
 
3497
 
 
3498
 
 
3499
 
 
3500
 
 
3501
 
 
3502
@%:@ Check whether --enable-static was given.
 
3503
if test "${enable_static+set}" = set; then :
 
3504
  enableval=$enable_static; p=${PACKAGE-default}
 
3505
    case $enableval in
 
3506
    yes) enable_static=yes ;;
 
3507
    no) enable_static=no ;;
 
3508
    *)
 
3509
     enable_static=no
 
3510
      # Look at the argument we got.  We use all the common list separators.
 
3511
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
3512
      for pkg in $enableval; do
 
3513
        IFS="$lt_save_ifs"
 
3514
        if test "X$pkg" = "X$p"; then
 
3515
          enable_static=yes
 
3516
        fi
 
3517
      done
 
3518
      IFS="$lt_save_ifs"
 
3519
      ;;
 
3520
    esac
 
3521
else
 
3522
  enable_static=no
 
3523
fi
 
3524
 
 
3525
 
 
3526
    
 
3527
    
 
3528
    
 
3529
    
 
3530
 
 
3531
 
 
3532
 
 
3533
 
 
3534
case `pwd` in
 
3535
  *\ * | *\     *)
 
3536
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
3537
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
3538
esac
 
3539
 
 
3540
 
 
3541
 
 
3542
macro_version='2.4.2'
 
3543
macro_revision='1.3337'
 
3544
 
 
3545
    
 
3546
    
 
3547
    
 
3548
 
 
3549
 
 
3550
    
 
3551
    
 
3552
    
 
3553
 
 
3554
 
 
3555
 
 
3556
 
 
3557
ltmain="$ac_aux_dir/ltmain.sh"
 
3558
 
 
3559
# Backslashify metacharacters that are still active within
 
3560
# double-quoted strings.
 
3561
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
3562
 
 
3563
# Same as above, but do not quote variable references.
 
3564
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
3565
 
 
3566
# Sed substitution to delay expansion of an escaped shell variable in a
 
3567
# double_quote_subst'ed string.
 
3568
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
3569
 
 
3570
# Sed substitution to delay expansion of an escaped single quote.
 
3571
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
3572
 
 
3573
# Sed substitution to avoid accidental globbing in evaled expressions
 
3574
no_glob_subst='s/\*/\\\*/g'
 
3575
 
 
3576
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
3577
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
3578
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
3579
 
 
3580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
3581
$as_echo_n "checking how to print strings... " >&6; }
 
3582
# Test print first, because it will be a builtin if present.
 
3583
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
3584
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
3585
  ECHO='print -r --'
 
3586
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
3587
  ECHO='printf %s\n'
 
3588
else
 
3589
  # Use this function as a fallback that always works.
 
3590
  func_fallback_echo ()
 
3591
  {
 
3592
    eval 'cat <<_LTECHO_EOF
 
3593
$1
 
3594
_LTECHO_EOF'
 
3595
  }
 
3596
  ECHO='func_fallback_echo'
 
3597
fi
 
3598
 
 
3599
# func_echo_all arg...
 
3600
# Invoke $ECHO with all args, space-separated.
 
3601
func_echo_all ()
 
3602
{
 
3603
    $ECHO "" 
 
3604
}
 
3605
 
 
3606
case "$ECHO" in
 
3607
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
3608
$as_echo "printf" >&6; } ;;
 
3609
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
3610
$as_echo "print -r" >&6; } ;;
 
3611
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
3612
$as_echo "cat" >&6; } ;;
 
3613
esac
 
3614
 
 
3615
 
 
3616
 
 
3617
 
 
3618
    
 
3619
    
 
3620
    
 
3621
 
 
3622
 
 
3623
    
 
3624
    
 
3625
    
 
3626
 
 
3627
 
 
3628
DEPDIR="${am__leading_dot}deps"
 
3629
 
 
3630
ac_config_commands="$ac_config_commands depfiles"
 
3631
 
 
3632
 
 
3633
am_make=${MAKE-make}
 
3634
cat > confinc << 'END'
 
3635
am__doit:
 
3636
        @echo this is the am__doit target
 
3637
.PHONY: am__doit
 
3638
END
 
3639
# If we don't find an include directive, just comment out the code.
 
3640
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3641
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3642
am__include="#"
 
3643
am__quote=
 
3644
_am_result=none
 
3645
# First try GNU make style include.
 
3646
echo "include confinc" > confmf
 
3647
# Ignore all kinds of additional output from 'make'.
 
3648
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3649
*the\ am__doit\ target*)
 
3650
  am__include=include
 
3651
  am__quote=
 
3652
  _am_result=GNU
 
3653
  ;;
 
3654
esac
 
3655
# Now try BSD make style include.
 
3656
if test "$am__include" = "#"; then
 
3657
   echo '.include "confinc"' > confmf
 
3658
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3659
   *the\ am__doit\ target*)
 
3660
     am__include=.include
 
3661
     am__quote="\""
 
3662
     _am_result=BSD
 
3663
     ;;
 
3664
   esac
 
3665
fi
 
3666
 
 
3667
 
 
3668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3669
$as_echo "$_am_result" >&6; }
 
3670
rm -f confinc confmf
 
3671
 
 
3672
@%:@ Check whether --enable-dependency-tracking was given.
 
3673
if test "${enable_dependency_tracking+set}" = set; then :
 
3674
  enableval=$enable_dependency_tracking; 
 
3675
fi
 
3676
 
 
3677
if test "x$enable_dependency_tracking" != xno; then
 
3678
  am_depcomp="$ac_aux_dir/depcomp"
 
3679
  AMDEPBACKSLASH='\'
 
3680
  am__nodep='_no'
 
3681
fi
 
3682
 if test "x$enable_dependency_tracking" != xno; then
 
3683
  AMDEP_TRUE=
 
3684
  AMDEP_FALSE='#'
 
3685
else
 
3686
  AMDEP_TRUE='#'
 
3687
  AMDEP_FALSE=
 
3688
fi
 
3689
 
 
3690
 
 
3691
ac_ext=c
 
3692
ac_cpp='$CPP $CPPFLAGS'
 
3693
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3694
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3695
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3696
if test -n "$ac_tool_prefix"; then
 
3697
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3698
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3700
$as_echo_n "checking for $ac_word... " >&6; }
 
3701
if ${ac_cv_prog_CC+:} false; then :
 
3702
  $as_echo_n "(cached) " >&6
 
3703
else
 
3704
  if test -n "$CC"; then
 
3705
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3706
else
 
3707
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3708
for as_dir in $PATH
 
3709
do
 
3710
  IFS=$as_save_IFS
 
3711
  test -z "$as_dir" && as_dir=.
 
3712
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3713
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3714
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3715
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3716
    break 2
 
3717
  fi
 
3718
done
 
3719
  done
 
3720
IFS=$as_save_IFS
 
3721
 
 
3722
fi
 
3723
fi
 
3724
CC=$ac_cv_prog_CC
 
3725
if test -n "$CC"; then
 
3726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3727
$as_echo "$CC" >&6; }
 
3728
else
 
3729
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3730
$as_echo "no" >&6; }
 
3731
fi
 
3732
 
 
3733
 
 
3734
fi
 
3735
if test -z "$ac_cv_prog_CC"; then
 
3736
  ac_ct_CC=$CC
 
3737
  # Extract the first word of "gcc", so it can be a program name with args.
 
3738
set dummy gcc; ac_word=$2
 
3739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3740
$as_echo_n "checking for $ac_word... " >&6; }
 
3741
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3742
  $as_echo_n "(cached) " >&6
 
3743
else
 
3744
  if test -n "$ac_ct_CC"; then
 
3745
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3746
else
 
3747
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3748
for as_dir in $PATH
 
3749
do
 
3750
  IFS=$as_save_IFS
 
3751
  test -z "$as_dir" && as_dir=.
 
3752
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3753
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3754
    ac_cv_prog_ac_ct_CC="gcc"
 
3755
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3756
    break 2
 
3757
  fi
 
3758
done
 
3759
  done
 
3760
IFS=$as_save_IFS
 
3761
 
 
3762
fi
 
3763
fi
 
3764
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3765
if test -n "$ac_ct_CC"; then
 
3766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3767
$as_echo "$ac_ct_CC" >&6; }
 
3768
else
 
3769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3770
$as_echo "no" >&6; }
 
3771
fi
 
3772
 
 
3773
  if test "x$ac_ct_CC" = x; then
 
3774
    CC=""
 
3775
  else
 
3776
    case $cross_compiling:$ac_tool_warned in
 
3777
yes:)
 
3778
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3779
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3780
ac_tool_warned=yes ;;
 
3781
esac
 
3782
    CC=$ac_ct_CC
 
3783
  fi
 
3784
else
 
3785
  CC="$ac_cv_prog_CC"
 
3786
fi
 
3787
 
 
3788
if test -z "$CC"; then
 
3789
          if test -n "$ac_tool_prefix"; then
 
3790
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3791
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3793
$as_echo_n "checking for $ac_word... " >&6; }
 
3794
if ${ac_cv_prog_CC+:} false; then :
 
3795
  $as_echo_n "(cached) " >&6
 
3796
else
 
3797
  if test -n "$CC"; then
 
3798
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3799
else
 
3800
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3801
for as_dir in $PATH
 
3802
do
 
3803
  IFS=$as_save_IFS
 
3804
  test -z "$as_dir" && as_dir=.
 
3805
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3806
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3807
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3808
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3809
    break 2
 
3810
  fi
 
3811
done
 
3812
  done
 
3813
IFS=$as_save_IFS
 
3814
 
 
3815
fi
 
3816
fi
 
3817
CC=$ac_cv_prog_CC
 
3818
if test -n "$CC"; then
 
3819
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3820
$as_echo "$CC" >&6; }
 
3821
else
 
3822
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3823
$as_echo "no" >&6; }
 
3824
fi
 
3825
 
 
3826
 
 
3827
  fi
 
3828
fi
 
3829
if test -z "$CC"; then
 
3830
  # Extract the first word of "cc", so it can be a program name with args.
 
3831
set dummy cc; ac_word=$2
 
3832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3833
$as_echo_n "checking for $ac_word... " >&6; }
 
3834
if ${ac_cv_prog_CC+:} false; then :
 
3835
  $as_echo_n "(cached) " >&6
 
3836
else
 
3837
  if test -n "$CC"; then
 
3838
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3839
else
 
3840
  ac_prog_rejected=no
 
3841
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3842
for as_dir in $PATH
 
3843
do
 
3844
  IFS=$as_save_IFS
 
3845
  test -z "$as_dir" && as_dir=.
 
3846
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3847
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3848
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3849
       ac_prog_rejected=yes
 
3850
       continue
 
3851
     fi
 
3852
    ac_cv_prog_CC="cc"
 
3853
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3854
    break 2
 
3855
  fi
 
3856
done
 
3857
  done
 
3858
IFS=$as_save_IFS
 
3859
 
 
3860
if test $ac_prog_rejected = yes; then
 
3861
  # We found a bogon in the path, so make sure we never use it.
 
3862
  set dummy $ac_cv_prog_CC
 
3863
  shift
 
3864
  if test $@%:@ != 0; then
 
3865
    # We chose a different compiler from the bogus one.
 
3866
    # However, it has the same basename, so the bogon will be chosen
 
3867
    # first if we set CC to just the basename; use the full file name.
 
3868
    shift
 
3869
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3870
  fi
 
3871
fi
 
3872
fi
 
3873
fi
 
3874
CC=$ac_cv_prog_CC
 
3875
if test -n "$CC"; then
 
3876
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3877
$as_echo "$CC" >&6; }
 
3878
else
 
3879
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3880
$as_echo "no" >&6; }
 
3881
fi
 
3882
 
 
3883
 
 
3884
fi
 
3885
if test -z "$CC"; then
 
3886
  if test -n "$ac_tool_prefix"; then
 
3887
  for ac_prog in cl.exe
 
3888
  do
 
3889
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3890
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3892
$as_echo_n "checking for $ac_word... " >&6; }
 
3893
if ${ac_cv_prog_CC+:} false; then :
 
3894
  $as_echo_n "(cached) " >&6
 
3895
else
 
3896
  if test -n "$CC"; then
 
3897
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3898
else
 
3899
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3900
for as_dir in $PATH
 
3901
do
 
3902
  IFS=$as_save_IFS
 
3903
  test -z "$as_dir" && as_dir=.
 
3904
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3905
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3906
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3907
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3908
    break 2
 
3909
  fi
 
3910
done
 
3911
  done
 
3912
IFS=$as_save_IFS
 
3913
 
 
3914
fi
 
3915
fi
 
3916
CC=$ac_cv_prog_CC
 
3917
if test -n "$CC"; then
 
3918
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3919
$as_echo "$CC" >&6; }
 
3920
else
 
3921
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3922
$as_echo "no" >&6; }
 
3923
fi
 
3924
 
 
3925
 
 
3926
    test -n "$CC" && break
 
3927
  done
 
3928
fi
 
3929
if test -z "$CC"; then
 
3930
  ac_ct_CC=$CC
 
3931
  for ac_prog in cl.exe
 
3932
do
 
3933
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3934
set dummy $ac_prog; ac_word=$2
 
3935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3936
$as_echo_n "checking for $ac_word... " >&6; }
 
3937
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3938
  $as_echo_n "(cached) " >&6
 
3939
else
 
3940
  if test -n "$ac_ct_CC"; then
 
3941
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3942
else
 
3943
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3944
for as_dir in $PATH
 
3945
do
 
3946
  IFS=$as_save_IFS
 
3947
  test -z "$as_dir" && as_dir=.
 
3948
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3949
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3950
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3951
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3952
    break 2
 
3953
  fi
 
3954
done
 
3955
  done
 
3956
IFS=$as_save_IFS
 
3957
 
 
3958
fi
 
3959
fi
 
3960
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3961
if test -n "$ac_ct_CC"; then
 
3962
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3963
$as_echo "$ac_ct_CC" >&6; }
 
3964
else
 
3965
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3966
$as_echo "no" >&6; }
 
3967
fi
 
3968
 
 
3969
 
 
3970
  test -n "$ac_ct_CC" && break
 
3971
done
 
3972
 
 
3973
  if test "x$ac_ct_CC" = x; then
 
3974
    CC=""
 
3975
  else
 
3976
    case $cross_compiling:$ac_tool_warned in
 
3977
yes:)
 
3978
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3979
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3980
ac_tool_warned=yes ;;
 
3981
esac
 
3982
    CC=$ac_ct_CC
 
3983
  fi
 
3984
fi
 
3985
 
 
3986
fi
 
3987
 
 
3988
 
 
3989
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3990
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3991
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3992
See \`config.log' for more details" "$LINENO" 5; }
 
3993
 
 
3994
# Provide some information about the compiler.
 
3995
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3996
set X $ac_compile
 
3997
ac_compiler=$2
 
3998
for ac_option in --version -v -V -qversion; do
 
3999
  { { ac_try="$ac_compiler $ac_option >&5"
 
4000
case "(($ac_try" in
 
4001
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4002
  *) ac_try_echo=$ac_try;;
 
4003
esac
 
4004
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4005
$as_echo "$ac_try_echo"; } >&5
 
4006
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4007
  ac_status=$?
 
4008
  if test -s conftest.err; then
 
4009
    sed '10a\
 
4010
... rest of stderr output deleted ...
 
4011
         10q' conftest.err >conftest.er1
 
4012
    cat conftest.er1 >&5
 
4013
  fi
 
4014
  rm -f conftest.er1 conftest.err
 
4015
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4016
  test $ac_status = 0; }
 
4017
done
 
4018
 
 
4019
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4020
/* end confdefs.h.  */
 
4021
 
 
4022
int
 
4023
main ()
 
4024
{
 
4025
 
 
4026
  ;
 
4027
  return 0;
 
4028
}
 
4029
_ACEOF
 
4030
ac_clean_files_save=$ac_clean_files
 
4031
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
4032
# Try to create an executable without -o first, disregard a.out.
 
4033
# It will help us diagnose broken compilers, and finding out an intuition
 
4034
# of exeext.
 
4035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
4036
$as_echo_n "checking whether the C compiler works... " >&6; }
 
4037
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
4038
 
 
4039
# The possible output files:
 
4040
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
4041
 
 
4042
ac_rmfiles=
 
4043
for ac_file in $ac_files
 
4044
do
 
4045
  case $ac_file in
 
4046
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
4047
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
4048
  esac
 
4049
done
 
4050
rm -f $ac_rmfiles
 
4051
 
 
4052
if { { ac_try="$ac_link_default"
 
4053
case "(($ac_try" in
 
4054
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4055
  *) ac_try_echo=$ac_try;;
 
4056
esac
 
4057
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4058
$as_echo "$ac_try_echo"; } >&5
 
4059
  (eval "$ac_link_default") 2>&5
 
4060
  ac_status=$?
 
4061
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4062
  test $ac_status = 0; }; then :
 
4063
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
4064
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
4065
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
4066
# so that the user can short-circuit this test for compilers unknown to
 
4067
# Autoconf.
 
4068
for ac_file in $ac_files ''
 
4069
do
 
4070
  test -f "$ac_file" || continue
 
4071
  case $ac_file in
 
4072
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
4073
        ;;
 
4074
    [ab].out )
 
4075
        # We found the default executable, but exeext='' is most
 
4076
        # certainly right.
 
4077
        break;;
 
4078
    *.* )
 
4079
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
4080
        then :; else
 
4081
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
4082
        fi
 
4083
        # We set ac_cv_exeext here because the later test for it is not
 
4084
        # safe: cross compilers may not add the suffix if given an `-o'
 
4085
        # argument, so we may need to know it at that point already.
 
4086
        # Even if this section looks crufty: it has the advantage of
 
4087
        # actually working.
 
4088
        break;;
 
4089
    * )
 
4090
        break;;
 
4091
  esac
 
4092
done
 
4093
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
4094
 
 
4095
else
 
4096
  ac_file=''
 
4097
fi
 
4098
if test -z "$ac_file"; then :
 
4099
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4100
$as_echo "no" >&6; }
 
4101
$as_echo "$as_me: failed program was:" >&5
 
4102
sed 's/^/| /' conftest.$ac_ext >&5
 
4103
 
 
4104
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4105
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4106
as_fn_error 77 "C compiler cannot create executables
 
4107
See \`config.log' for more details" "$LINENO" 5; }
 
4108
else
 
4109
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4110
$as_echo "yes" >&6; }
 
4111
fi
 
4112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
4113
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
4114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
4115
$as_echo "$ac_file" >&6; }
 
4116
ac_exeext=$ac_cv_exeext
 
4117
 
 
4118
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
4119
ac_clean_files=$ac_clean_files_save
 
4120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
4121
$as_echo_n "checking for suffix of executables... " >&6; }
 
4122
if { { ac_try="$ac_link"
 
4123
case "(($ac_try" in
 
4124
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4125
  *) ac_try_echo=$ac_try;;
 
4126
esac
 
4127
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4128
$as_echo "$ac_try_echo"; } >&5
 
4129
  (eval "$ac_link") 2>&5
 
4130
  ac_status=$?
 
4131
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4132
  test $ac_status = 0; }; then :
 
4133
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
4134
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
4135
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
4136
# `rm'.
 
4137
for ac_file in conftest.exe conftest conftest.*; do
 
4138
  test -f "$ac_file" || continue
 
4139
  case $ac_file in
 
4140
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
4141
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
4142
          break;;
 
4143
    * ) break;;
 
4144
  esac
 
4145
done
 
4146
else
 
4147
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4148
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4149
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
4150
See \`config.log' for more details" "$LINENO" 5; }
 
4151
fi
 
4152
rm -f conftest conftest$ac_cv_exeext
 
4153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
4154
$as_echo "$ac_cv_exeext" >&6; }
 
4155
 
 
4156
rm -f conftest.$ac_ext
 
4157
EXEEXT=$ac_cv_exeext
 
4158
ac_exeext=$EXEEXT
 
4159
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4160
/* end confdefs.h.  */
 
4161
@%:@include <stdio.h>
 
4162
int
 
4163
main ()
 
4164
{
 
4165
FILE *f = fopen ("conftest.out", "w");
 
4166
 return ferror (f) || fclose (f) != 0;
 
4167
 
 
4168
  ;
 
4169
  return 0;
 
4170
}
 
4171
_ACEOF
 
4172
ac_clean_files="$ac_clean_files conftest.out"
 
4173
# Check that the compiler produces executables we can run.  If not, either
 
4174
# the compiler is broken, or we cross compile.
 
4175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
4176
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
4177
if test "$cross_compiling" != yes; then
 
4178
  { { ac_try="$ac_link"
 
4179
case "(($ac_try" in
 
4180
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4181
  *) ac_try_echo=$ac_try;;
 
4182
esac
 
4183
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4184
$as_echo "$ac_try_echo"; } >&5
 
4185
  (eval "$ac_link") 2>&5
 
4186
  ac_status=$?
 
4187
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4188
  test $ac_status = 0; }
 
4189
  if { ac_try='./conftest$ac_cv_exeext'
 
4190
  { { case "(($ac_try" in
 
4191
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4192
  *) ac_try_echo=$ac_try;;
 
4193
esac
 
4194
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4195
$as_echo "$ac_try_echo"; } >&5
 
4196
  (eval "$ac_try") 2>&5
 
4197
  ac_status=$?
 
4198
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4199
  test $ac_status = 0; }; }; then
 
4200
    cross_compiling=no
 
4201
  else
 
4202
    if test "$cross_compiling" = maybe; then
 
4203
        cross_compiling=yes
 
4204
    else
 
4205
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4206
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4207
as_fn_error $? "cannot run C compiled programs.
 
4208
If you meant to cross compile, use \`--host'.
 
4209
See \`config.log' for more details" "$LINENO" 5; }
 
4210
    fi
 
4211
  fi
 
4212
fi
 
4213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
4214
$as_echo "$cross_compiling" >&6; }
 
4215
 
 
4216
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
4217
ac_clean_files=$ac_clean_files_save
 
4218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
4219
$as_echo_n "checking for suffix of object files... " >&6; }
 
4220
if ${ac_cv_objext+:} false; then :
 
4221
  $as_echo_n "(cached) " >&6
 
4222
else
 
4223
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4224
/* end confdefs.h.  */
 
4225
 
 
4226
int
 
4227
main ()
 
4228
{
 
4229
 
 
4230
  ;
 
4231
  return 0;
 
4232
}
 
4233
_ACEOF
 
4234
rm -f conftest.o conftest.obj
 
4235
if { { ac_try="$ac_compile"
 
4236
case "(($ac_try" in
 
4237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4238
  *) ac_try_echo=$ac_try;;
 
4239
esac
 
4240
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4241
$as_echo "$ac_try_echo"; } >&5
 
4242
  (eval "$ac_compile") 2>&5
 
4243
  ac_status=$?
 
4244
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4245
  test $ac_status = 0; }; then :
 
4246
  for ac_file in conftest.o conftest.obj conftest.*; do
 
4247
  test -f "$ac_file" || continue;
 
4248
  case $ac_file in
 
4249
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
4250
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
4251
       break;;
 
4252
  esac
 
4253
done
 
4254
else
 
4255
  $as_echo "$as_me: failed program was:" >&5
 
4256
sed 's/^/| /' conftest.$ac_ext >&5
 
4257
 
 
4258
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4259
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4260
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
4261
See \`config.log' for more details" "$LINENO" 5; }
 
4262
fi
 
4263
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
4264
fi
 
4265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
4266
$as_echo "$ac_cv_objext" >&6; }
 
4267
OBJEXT=$ac_cv_objext
 
4268
ac_objext=$OBJEXT
 
4269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4270
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4271
if ${ac_cv_c_compiler_gnu+:} false; then :
 
4272
  $as_echo_n "(cached) " >&6
 
4273
else
 
4274
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4275
/* end confdefs.h.  */
 
4276
 
 
4277
int
 
4278
main ()
 
4279
{
 
4280
#ifndef __GNUC__
 
4281
       choke me
 
4282
#endif
 
4283
 
 
4284
  ;
 
4285
  return 0;
 
4286
}
 
4287
_ACEOF
 
4288
if ac_fn_c_try_compile "$LINENO"; then :
 
4289
  ac_compiler_gnu=yes
 
4290
else
 
4291
  ac_compiler_gnu=no
 
4292
fi
 
4293
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4294
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
4295
 
 
4296
fi
 
4297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4298
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4299
if test $ac_compiler_gnu = yes; then
 
4300
  GCC=yes
 
4301
else
 
4302
  GCC=
 
4303
fi
 
4304
ac_test_CFLAGS=${CFLAGS+set}
 
4305
ac_save_CFLAGS=$CFLAGS
 
4306
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4307
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4308
if ${ac_cv_prog_cc_g+:} false; then :
 
4309
  $as_echo_n "(cached) " >&6
 
4310
else
 
4311
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4312
   ac_c_werror_flag=yes
 
4313
   ac_cv_prog_cc_g=no
 
4314
   CFLAGS="-g"
 
4315
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4316
/* end confdefs.h.  */
 
4317
 
 
4318
int
 
4319
main ()
 
4320
{
 
4321
 
 
4322
  ;
 
4323
  return 0;
 
4324
}
 
4325
_ACEOF
 
4326
if ac_fn_c_try_compile "$LINENO"; then :
 
4327
  ac_cv_prog_cc_g=yes
 
4328
else
 
4329
  CFLAGS=""
 
4330
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4331
/* end confdefs.h.  */
 
4332
 
 
4333
int
 
4334
main ()
 
4335
{
 
4336
 
 
4337
  ;
 
4338
  return 0;
 
4339
}
 
4340
_ACEOF
 
4341
if ac_fn_c_try_compile "$LINENO"; then :
 
4342
  
 
4343
else
 
4344
  ac_c_werror_flag=$ac_save_c_werror_flag
 
4345
         CFLAGS="-g"
 
4346
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4347
/* end confdefs.h.  */
 
4348
 
 
4349
int
 
4350
main ()
 
4351
{
 
4352
 
 
4353
  ;
 
4354
  return 0;
 
4355
}
 
4356
_ACEOF
 
4357
if ac_fn_c_try_compile "$LINENO"; then :
 
4358
  ac_cv_prog_cc_g=yes
 
4359
fi
 
4360
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4361
fi
 
4362
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4363
fi
 
4364
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4365
   ac_c_werror_flag=$ac_save_c_werror_flag
 
4366
fi
 
4367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4368
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
4369
if test "$ac_test_CFLAGS" = set; then
 
4370
  CFLAGS=$ac_save_CFLAGS
 
4371
elif test $ac_cv_prog_cc_g = yes; then
 
4372
  if test "$GCC" = yes; then
 
4373
    CFLAGS="-g -O2"
 
4374
  else
 
4375
    CFLAGS="-g"
 
4376
  fi
 
4377
else
 
4378
  if test "$GCC" = yes; then
 
4379
    CFLAGS="-O2"
 
4380
  else
 
4381
    CFLAGS=
 
4382
  fi
 
4383
fi
 
4384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4385
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4386
if ${ac_cv_prog_cc_c89+:} false; then :
 
4387
  $as_echo_n "(cached) " >&6
 
4388
else
 
4389
  ac_cv_prog_cc_c89=no
 
4390
ac_save_CC=$CC
 
4391
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4392
/* end confdefs.h.  */
 
4393
#include <stdarg.h>
 
4394
#include <stdio.h>
 
4395
struct stat;
 
4396
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
4397
struct buf { int x; };
 
4398
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
4399
static char *e (p, i)
 
4400
     char **p;
 
4401
     int i;
 
4402
{
 
4403
  return p[i];
 
4404
}
 
4405
static char *f (char * (*g) (char **, int), char **p, ...)
 
4406
{
 
4407
  char *s;
 
4408
  va_list v;
 
4409
  va_start (v,p);
 
4410
  s = g (p, va_arg (v,int));
 
4411
  va_end (v);
 
4412
  return s;
 
4413
}
 
4414
 
 
4415
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
4416
   function prototypes and stuff, but not '\xHH' hex character constants.
 
4417
   These don't provoke an error unfortunately, instead are silently treated
 
4418
   as 'x'.  The following induces an error, until -std is added to get
 
4419
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
4420
   array size at least.  It's necessary to write '\x00'==0 to get something
 
4421
   that's true only with -std.  */
 
4422
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
4423
 
 
4424
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
4425
   inside strings and character constants.  */
 
4426
#define FOO(x) 'x'
 
4427
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
4428
 
 
4429
int test (int i, double x);
 
4430
struct s1 {int (*f) (int a);};
 
4431
struct s2 {int (*f) (double a);};
 
4432
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
4433
int argc;
 
4434
char **argv;
 
4435
int
 
4436
main ()
 
4437
{
 
4438
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
4439
  ;
 
4440
  return 0;
 
4441
}
 
4442
_ACEOF
 
4443
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
4444
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
4445
do
 
4446
  CC="$ac_save_CC $ac_arg"
 
4447
  if ac_fn_c_try_compile "$LINENO"; then :
 
4448
  ac_cv_prog_cc_c89=$ac_arg
 
4449
fi
 
4450
rm -f core conftest.err conftest.$ac_objext
 
4451
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
4452
done
 
4453
rm -f conftest.$ac_ext
 
4454
CC=$ac_save_CC
 
4455
 
 
4456
fi
 
4457
# AC_CACHE_VAL
 
4458
case "x$ac_cv_prog_cc_c89" in
 
4459
  x)
 
4460
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4461
$as_echo "none needed" >&6; } ;;
 
4462
  xno)
 
4463
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4464
$as_echo "unsupported" >&6; } ;;
 
4465
  *)
 
4466
    CC="$CC $ac_cv_prog_cc_c89"
 
4467
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4468
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
4469
esac
 
4470
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
4471
  
 
4472
fi
 
4473
 
 
4474
ac_ext=c
 
4475
ac_cpp='$CPP $CPPFLAGS'
 
4476
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4477
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4478
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4479
 
 
4480
depcc="$CC"   am_compiler_list=
 
4481
 
 
4482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4483
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4484
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
4485
  $as_echo_n "(cached) " >&6
 
4486
else
 
4487
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
4488
  # We make a subdir and do the tests there.  Otherwise we can end up
 
4489
  # making bogus files that we don't know about and never remove.  For
 
4490
  # instance it was reported that on HP-UX the gcc test will end up
 
4491
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
4492
  # in D".
 
4493
  rm -rf conftest.dir
 
4494
  mkdir conftest.dir
 
4495
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
4496
  # using a relative directory.
 
4497
  cp "$am_depcomp" conftest.dir
 
4498
  cd conftest.dir
 
4499
  # We will build objects and dependencies in a subdirectory because
 
4500
  # it helps to detect inapplicable dependency modes.  For instance
 
4501
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
4502
  # side effect of compilation, but ICC will put the dependencies in
 
4503
  # the current directory while Tru64 will put them in the object
 
4504
  # directory.
 
4505
  mkdir sub
 
4506
 
 
4507
  am_cv_CC_dependencies_compiler_type=none
 
4508
  if test "$am_compiler_list" = ""; then
 
4509
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
4510
  fi
 
4511
  am__universal=false
 
4512
  case " $depcc " in #(
 
4513
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4514
     esac
 
4515
 
 
4516
  for depmode in $am_compiler_list; do
 
4517
    # Setup a source with many dependencies, because some compilers
 
4518
    # like to wrap large dependency lists on column 80 (with \), and
 
4519
    # we should not choose a depcomp mode which is confused by this.
 
4520
    #
 
4521
    # We need to recreate these files for each test, as the compiler may
 
4522
    # overwrite some of them when testing with obscure command lines.
 
4523
    # This happens at least with the AIX C compiler.
 
4524
    : > sub/conftest.c
 
4525
    for i in 1 2 3 4 5 6; do
 
4526
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4527
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
4528
      # Solaris 10 /bin/sh.
 
4529
      echo '/* dummy */' > sub/conftst$i.h
 
4530
    done
 
4531
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
4532
 
 
4533
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
 
4534
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4535
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
4536
    # versions had trouble with output in subdirs.
 
4537
    am__obj=sub/conftest.${OBJEXT-o}
 
4538
    am__minus_obj="-o $am__obj"
 
4539
    case $depmode in
 
4540
    gcc)
 
4541
      # This depmode causes a compiler race in universal mode.
 
4542
      test "$am__universal" = false || continue
 
4543
      ;;
 
4544
    nosideeffect)
 
4545
      # After this tag, mechanisms are not by side-effect, so they'll
 
4546
      # only be used when explicitly requested.
 
4547
      if test "x$enable_dependency_tracking" = xyes; then
 
4548
        continue
 
4549
      else
 
4550
        break
 
4551
      fi
 
4552
      ;;
 
4553
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
4554
      # This compiler won't grok '-c -o', but also, the minuso test has
 
4555
      # not run yet.  These depmodes are late enough in the game, and
 
4556
      # so weak that their functioning should not be impacted.
 
4557
      am__obj=conftest.${OBJEXT-o}
 
4558
      am__minus_obj=
 
4559
      ;;
 
4560
    none) break ;;
 
4561
    esac
 
4562
    if depmode=$depmode \
 
4563
       source=sub/conftest.c object=$am__obj \
 
4564
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4565
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
4566
         >/dev/null 2>conftest.err &&
 
4567
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4568
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4569
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
4570
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4571
      # icc doesn't choke on unknown options, it will just issue warnings
 
4572
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4573
      # that says an option was ignored or not supported.
 
4574
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4575
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4576
      # The diagnosis changed in icc 8.0:
 
4577
      #   icc: Command line remark: option '-MP' not supported
 
4578
      if (grep 'ignoring option' conftest.err ||
 
4579
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4580
        am_cv_CC_dependencies_compiler_type=$depmode
 
4581
        break
 
4582
      fi
 
4583
    fi
 
4584
  done
 
4585
 
 
4586
  cd ..
 
4587
  rm -rf conftest.dir
 
4588
else
 
4589
  am_cv_CC_dependencies_compiler_type=none
 
4590
fi
 
4591
 
 
4592
fi
 
4593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4594
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4595
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4596
 
 
4597
 if 
 
4598
  test "x$enable_dependency_tracking" != xno \
 
4599
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4600
  am__fastdepCC_TRUE=
 
4601
  am__fastdepCC_FALSE='#'
 
4602
else
 
4603
  am__fastdepCC_TRUE='#'
 
4604
  am__fastdepCC_FALSE=
 
4605
fi
 
4606
 
 
4607
 
 
4608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4609
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4610
if ${ac_cv_path_SED+:} false; then :
 
4611
  $as_echo_n "(cached) " >&6
 
4612
else
 
4613
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4614
     for ac_i in 1 2 3 4 5 6 7; do
 
4615
       ac_script="$ac_script$as_nl$ac_script"
 
4616
     done
 
4617
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4618
     { ac_script=; unset ac_script;}
 
4619
     if test -z "$SED"; then
 
4620
  ac_path_SED_found=false
 
4621
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4622
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4623
for as_dir in $PATH
 
4624
do
 
4625
  IFS=$as_save_IFS
 
4626
  test -z "$as_dir" && as_dir=.
 
4627
    for ac_prog in sed gsed; do
 
4628
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4629
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4630
      as_fn_executable_p "$ac_path_SED" || continue
 
4631
# Check for GNU ac_path_SED and select it if it is found.
 
4632
  # Check for GNU $ac_path_SED
 
4633
case `"$ac_path_SED" --version 2>&1` in
 
4634
*GNU*)
 
4635
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4636
*)
 
4637
  ac_count=0
 
4638
  $as_echo_n 0123456789 >"conftest.in"
 
4639
  while :
 
4640
  do
 
4641
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4642
    mv "conftest.tmp" "conftest.in"
 
4643
    cp "conftest.in" "conftest.nl"
 
4644
    $as_echo '' >> "conftest.nl"
 
4645
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4646
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4647
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4648
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4649
      # Best one so far, save it but keep looking for a better one
 
4650
      ac_cv_path_SED="$ac_path_SED"
 
4651
      ac_path_SED_max=$ac_count
 
4652
    fi
 
4653
    # 10*(2^10) chars as input seems more than enough
 
4654
    test $ac_count -gt 10 && break
 
4655
  done
 
4656
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4657
esac
 
4658
 
 
4659
      $ac_path_SED_found && break 3
 
4660
    done
 
4661
  done
 
4662
  done
 
4663
IFS=$as_save_IFS
 
4664
  if test -z "$ac_cv_path_SED"; then
 
4665
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4666
  fi
 
4667
else
 
4668
  ac_cv_path_SED=$SED
 
4669
fi
 
4670
 
 
4671
fi
 
4672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4673
$as_echo "$ac_cv_path_SED" >&6; }
 
4674
 SED="$ac_cv_path_SED"
 
4675
  rm -f conftest.sed
 
4676
 
 
4677
test -z "$SED" && SED=sed
 
4678
Xsed="$SED -e 1s/^X//"
 
4679
 
 
4680
    
 
4681
    
 
4682
    
 
4683
 
 
4684
 
 
4685
    
 
4686
    
 
4687
    
 
4688
 
 
4689
 
 
4690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4691
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4692
if ${ac_cv_path_GREP+:} false; then :
 
4693
  $as_echo_n "(cached) " >&6
 
4694
else
 
4695
  if test -z "$GREP"; then
 
4696
  ac_path_GREP_found=false
 
4697
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4698
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4699
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4700
do
 
4701
  IFS=$as_save_IFS
 
4702
  test -z "$as_dir" && as_dir=.
 
4703
    for ac_prog in grep ggrep; do
 
4704
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4705
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4706
      as_fn_executable_p "$ac_path_GREP" || continue
 
4707
# Check for GNU ac_path_GREP and select it if it is found.
 
4708
  # Check for GNU $ac_path_GREP
 
4709
case `"$ac_path_GREP" --version 2>&1` in
 
4710
*GNU*)
 
4711
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4712
*)
 
4713
  ac_count=0
 
4714
  $as_echo_n 0123456789 >"conftest.in"
 
4715
  while :
 
4716
  do
 
4717
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4718
    mv "conftest.tmp" "conftest.in"
 
4719
    cp "conftest.in" "conftest.nl"
 
4720
    $as_echo 'GREP' >> "conftest.nl"
 
4721
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4722
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4723
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4724
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4725
      # Best one so far, save it but keep looking for a better one
 
4726
      ac_cv_path_GREP="$ac_path_GREP"
 
4727
      ac_path_GREP_max=$ac_count
 
4728
    fi
 
4729
    # 10*(2^10) chars as input seems more than enough
 
4730
    test $ac_count -gt 10 && break
 
4731
  done
 
4732
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4733
esac
 
4734
 
 
4735
      $ac_path_GREP_found && break 3
 
4736
    done
 
4737
  done
 
4738
  done
 
4739
IFS=$as_save_IFS
 
4740
  if test -z "$ac_cv_path_GREP"; then
 
4741
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4742
  fi
 
4743
else
 
4744
  ac_cv_path_GREP=$GREP
 
4745
fi
 
4746
 
 
4747
fi
 
4748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4749
$as_echo "$ac_cv_path_GREP" >&6; }
 
4750
 GREP="$ac_cv_path_GREP"
 
4751
 
 
4752
 
 
4753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4754
$as_echo_n "checking for egrep... " >&6; }
 
4755
if ${ac_cv_path_EGREP+:} false; then :
 
4756
  $as_echo_n "(cached) " >&6
 
4757
else
 
4758
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4759
   then ac_cv_path_EGREP="$GREP -E"
 
4760
   else
 
4761
     if test -z "$EGREP"; then
 
4762
  ac_path_EGREP_found=false
 
4763
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4764
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4765
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4766
do
 
4767
  IFS=$as_save_IFS
 
4768
  test -z "$as_dir" && as_dir=.
 
4769
    for ac_prog in egrep; do
 
4770
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4771
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4772
      as_fn_executable_p "$ac_path_EGREP" || continue
 
4773
# Check for GNU ac_path_EGREP and select it if it is found.
 
4774
  # Check for GNU $ac_path_EGREP
 
4775
case `"$ac_path_EGREP" --version 2>&1` in
 
4776
*GNU*)
 
4777
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4778
*)
 
4779
  ac_count=0
 
4780
  $as_echo_n 0123456789 >"conftest.in"
 
4781
  while :
 
4782
  do
 
4783
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4784
    mv "conftest.tmp" "conftest.in"
 
4785
    cp "conftest.in" "conftest.nl"
 
4786
    $as_echo 'EGREP' >> "conftest.nl"
 
4787
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4788
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4789
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4790
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4791
      # Best one so far, save it but keep looking for a better one
 
4792
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4793
      ac_path_EGREP_max=$ac_count
 
4794
    fi
 
4795
    # 10*(2^10) chars as input seems more than enough
 
4796
    test $ac_count -gt 10 && break
 
4797
  done
 
4798
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4799
esac
 
4800
 
 
4801
      $ac_path_EGREP_found && break 3
 
4802
    done
 
4803
  done
 
4804
  done
 
4805
IFS=$as_save_IFS
 
4806
  if test -z "$ac_cv_path_EGREP"; then
 
4807
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4808
  fi
 
4809
else
 
4810
  ac_cv_path_EGREP=$EGREP
 
4811
fi
 
4812
 
 
4813
   fi
 
4814
fi
 
4815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4816
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4817
 EGREP="$ac_cv_path_EGREP"
 
4818
 
 
4819
 
 
4820
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
4821
$as_echo_n "checking for fgrep... " >&6; }
 
4822
if ${ac_cv_path_FGREP+:} false; then :
 
4823
  $as_echo_n "(cached) " >&6
 
4824
else
 
4825
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4826
   then ac_cv_path_FGREP="$GREP -F"
 
4827
   else
 
4828
     if test -z "$FGREP"; then
 
4829
  ac_path_FGREP_found=false
 
4830
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4831
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4832
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4833
do
 
4834
  IFS=$as_save_IFS
 
4835
  test -z "$as_dir" && as_dir=.
 
4836
    for ac_prog in fgrep; do
 
4837
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4838
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4839
      as_fn_executable_p "$ac_path_FGREP" || continue
 
4840
# Check for GNU ac_path_FGREP and select it if it is found.
 
4841
  # Check for GNU $ac_path_FGREP
 
4842
case `"$ac_path_FGREP" --version 2>&1` in
 
4843
*GNU*)
 
4844
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4845
*)
 
4846
  ac_count=0
 
4847
  $as_echo_n 0123456789 >"conftest.in"
 
4848
  while :
 
4849
  do
 
4850
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4851
    mv "conftest.tmp" "conftest.in"
 
4852
    cp "conftest.in" "conftest.nl"
 
4853
    $as_echo 'FGREP' >> "conftest.nl"
 
4854
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4855
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4856
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4857
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4858
      # Best one so far, save it but keep looking for a better one
 
4859
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4860
      ac_path_FGREP_max=$ac_count
 
4861
    fi
 
4862
    # 10*(2^10) chars as input seems more than enough
 
4863
    test $ac_count -gt 10 && break
 
4864
  done
 
4865
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4866
esac
 
4867
 
 
4868
      $ac_path_FGREP_found && break 3
 
4869
    done
 
4870
  done
 
4871
  done
 
4872
IFS=$as_save_IFS
 
4873
  if test -z "$ac_cv_path_FGREP"; then
 
4874
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4875
  fi
 
4876
else
 
4877
  ac_cv_path_FGREP=$FGREP
 
4878
fi
 
4879
 
 
4880
   fi
 
4881
fi
 
4882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
4883
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4884
 FGREP="$ac_cv_path_FGREP"
 
4885
 
 
4886
 
 
4887
test -z "$GREP" && GREP=grep
 
4888
 
 
4889
    
 
4890
    
 
4891
    
 
4892
 
 
4893
 
 
4894
    
 
4895
    
 
4896
    
 
4897
 
 
4898
 
 
4899
    
 
4900
    
 
4901
    
 
4902
 
 
4903
 
 
4904
 
 
4905
 
 
4906
 
 
4907
@%:@ Check whether --with-gnu-ld was given.
 
4908
if test "${with_gnu_ld+set}" = set; then :
 
4909
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
4910
else
 
4911
  with_gnu_ld=no
 
4912
fi
 
4913
 
 
4914
ac_prog=ld
 
4915
if test "$GCC" = yes; then
 
4916
  # Check if gcc -print-prog-name=ld gives a path.
 
4917
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
4918
$as_echo_n "checking for ld used by $CC... " >&6; }
 
4919
  case $host in
 
4920
  *-*-mingw*)
 
4921
    # gcc leaves a trailing carriage return which upsets mingw
 
4922
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
4923
  *)
 
4924
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
4925
  esac
 
4926
  case $ac_prog in
 
4927
    # Accept absolute paths.
 
4928
    [\\/]* | ?:[\\/]*)
 
4929
      re_direlt='/[^/][^/]*/\.\./'
 
4930
      # Canonicalize the pathname of ld
 
4931
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4932
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4933
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
4934
      done
 
4935
      test -z "$LD" && LD="$ac_prog"
 
4936
      ;;
 
4937
  "")
 
4938
    # If it fails, then pretend we aren't using GCC.
 
4939
    ac_prog=ld
 
4940
    ;;
 
4941
  *)
 
4942
    # If it is relative, then search for the first ld in PATH.
 
4943
    with_gnu_ld=unknown
 
4944
    ;;
 
4945
  esac
 
4946
elif test "$with_gnu_ld" = yes; then
 
4947
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
4948
$as_echo_n "checking for GNU ld... " >&6; }
 
4949
else
 
4950
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
4951
$as_echo_n "checking for non-GNU ld... " >&6; }
 
4952
fi
 
4953
if ${lt_cv_path_LD+:} false; then :
 
4954
  $as_echo_n "(cached) " >&6
 
4955
else
 
4956
  if test -z "$LD"; then
 
4957
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4958
  for ac_dir in $PATH; do
 
4959
    IFS="$lt_save_ifs"
 
4960
    test -z "$ac_dir" && ac_dir=.
 
4961
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
4962
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
4963
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
4964
      # but apparently some variants of GNU ld only accept -v.
 
4965
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
4966
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
4967
      *GNU* | *'with BFD'*)
 
4968
        test "$with_gnu_ld" != no && break
 
4969
        ;;
 
4970
      *)
 
4971
        test "$with_gnu_ld" != yes && break
 
4972
        ;;
 
4973
      esac
 
4974
    fi
 
4975
  done
 
4976
  IFS="$lt_save_ifs"
 
4977
else
 
4978
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
4979
fi
 
4980
fi
 
4981
 
 
4982
LD="$lt_cv_path_LD"
 
4983
if test -n "$LD"; then
 
4984
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
4985
$as_echo "$LD" >&6; }
 
4986
else
 
4987
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4988
$as_echo "no" >&6; }
 
4989
fi
 
4990
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
4991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
4992
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
4993
if ${lt_cv_prog_gnu_ld+:} false; then :
 
4994
  $as_echo_n "(cached) " >&6
 
4995
else
 
4996
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
4997
case `$LD -v 2>&1 </dev/null` in
 
4998
*GNU* | *'with BFD'*)
 
4999
  lt_cv_prog_gnu_ld=yes
 
5000
  ;;
 
5001
*)
 
5002
  lt_cv_prog_gnu_ld=no
 
5003
  ;;
 
5004
esac
 
5005
fi
 
5006
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
5007
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
5008
with_gnu_ld=$lt_cv_prog_gnu_ld
 
5009
 
 
5010
 
 
5011
 
 
5012
 
 
5013
    
 
5014
    
 
5015
    
 
5016
 
 
5017
 
 
5018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5019
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
5020
if ${lt_cv_path_NM+:} false; then :
 
5021
  $as_echo_n "(cached) " >&6
 
5022
else
 
5023
  if test -n "$NM"; then
 
5024
  # Let the user override the test.
 
5025
  lt_cv_path_NM="$NM"
 
5026
else
 
5027
  lt_nm_to_check="${ac_tool_prefix}nm"
 
5028
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
5029
    lt_nm_to_check="$lt_nm_to_check nm"
 
5030
  fi
 
5031
  for lt_tmp_nm in $lt_nm_to_check; do
 
5032
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
5033
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
5034
      IFS="$lt_save_ifs"
 
5035
      test -z "$ac_dir" && ac_dir=.
 
5036
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
5037
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
5038
        # Check to see if the nm accepts a BSD-compat flag.
 
5039
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
5040
        #   nm: unknown option "B" ignored
 
5041
        # Tru64's nm complains that /dev/null is an invalid object file
 
5042
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
5043
        */dev/null* | *'Invalid file or object type'*)
 
5044
          lt_cv_path_NM="$tmp_nm -B"
 
5045
          break
 
5046
          ;;
 
5047
        *)
 
5048
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
5049
          */dev/null*)
 
5050
            lt_cv_path_NM="$tmp_nm -p"
 
5051
            break
 
5052
            ;;
 
5053
          *)
 
5054
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
5055
            continue # so that we can try to find one that supports BSD flags
 
5056
            ;;
 
5057
          esac
 
5058
          ;;
 
5059
        esac
 
5060
      fi
 
5061
    done
 
5062
    IFS="$lt_save_ifs"
 
5063
  done
 
5064
  : ${lt_cv_path_NM=no}
 
5065
fi
 
5066
fi
 
5067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
5068
$as_echo "$lt_cv_path_NM" >&6; }
 
5069
if test "$lt_cv_path_NM" != "no"; then
 
5070
  NM="$lt_cv_path_NM"
 
5071
else
 
5072
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
5073
  if test -n "$DUMPBIN"; then :
 
5074
    # Let the user override the test.
 
5075
  else
 
5076
    if test -n "$ac_tool_prefix"; then
 
5077
  for ac_prog in dumpbin "link -dump"
 
5078
  do
 
5079
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5080
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5081
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5082
$as_echo_n "checking for $ac_word... " >&6; }
 
5083
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
5084
  $as_echo_n "(cached) " >&6
 
5085
else
 
5086
  if test -n "$DUMPBIN"; then
 
5087
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
5088
else
 
5089
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5090
for as_dir in $PATH
 
5091
do
 
5092
  IFS=$as_save_IFS
 
5093
  test -z "$as_dir" && as_dir=.
 
5094
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5095
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5096
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
5097
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5098
    break 2
 
5099
  fi
 
5100
done
 
5101
  done
 
5102
IFS=$as_save_IFS
 
5103
 
 
5104
fi
 
5105
fi
 
5106
DUMPBIN=$ac_cv_prog_DUMPBIN
 
5107
if test -n "$DUMPBIN"; then
 
5108
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
5109
$as_echo "$DUMPBIN" >&6; }
 
5110
else
 
5111
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5112
$as_echo "no" >&6; }
 
5113
fi
 
5114
 
 
5115
 
 
5116
    test -n "$DUMPBIN" && break
 
5117
  done
 
5118
fi
 
5119
if test -z "$DUMPBIN"; then
 
5120
  ac_ct_DUMPBIN=$DUMPBIN
 
5121
  for ac_prog in dumpbin "link -dump"
 
5122
do
 
5123
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5124
set dummy $ac_prog; ac_word=$2
 
5125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5126
$as_echo_n "checking for $ac_word... " >&6; }
 
5127
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
5128
  $as_echo_n "(cached) " >&6
 
5129
else
 
5130
  if test -n "$ac_ct_DUMPBIN"; then
 
5131
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
5132
else
 
5133
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5134
for as_dir in $PATH
 
5135
do
 
5136
  IFS=$as_save_IFS
 
5137
  test -z "$as_dir" && as_dir=.
 
5138
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5139
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5140
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
5141
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5142
    break 2
 
5143
  fi
 
5144
done
 
5145
  done
 
5146
IFS=$as_save_IFS
 
5147
 
 
5148
fi
 
5149
fi
 
5150
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
5151
if test -n "$ac_ct_DUMPBIN"; then
 
5152
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
5153
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
5154
else
 
5155
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5156
$as_echo "no" >&6; }
 
5157
fi
 
5158
 
 
5159
 
 
5160
  test -n "$ac_ct_DUMPBIN" && break
 
5161
done
 
5162
 
 
5163
  if test "x$ac_ct_DUMPBIN" = x; then
 
5164
    DUMPBIN=":"
 
5165
  else
 
5166
    case $cross_compiling:$ac_tool_warned in
 
5167
yes:)
 
5168
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5169
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5170
ac_tool_warned=yes ;;
 
5171
esac
 
5172
    DUMPBIN=$ac_ct_DUMPBIN
 
5173
  fi
 
5174
fi
 
5175
 
 
5176
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5177
    *COFF*)
 
5178
      DUMPBIN="$DUMPBIN -symbols"
 
5179
      ;;
 
5180
    *)
 
5181
      DUMPBIN=:
 
5182
      ;;
 
5183
    esac
 
5184
  fi
 
5185
  
 
5186
  if test "$DUMPBIN" != ":"; then
 
5187
    NM="$DUMPBIN"
 
5188
  fi
 
5189
fi
 
5190
test -z "$NM" && NM=nm
 
5191
 
 
5192
 
 
5193
    
 
5194
    
 
5195
    
 
5196
 
 
5197
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
5198
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
5199
if ${lt_cv_nm_interface+:} false; then :
 
5200
  $as_echo_n "(cached) " >&6
 
5201
else
 
5202
  lt_cv_nm_interface="BSD nm"
 
5203
  echo "int some_variable = 0;" > conftest.$ac_ext
 
5204
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
5205
  (eval "$ac_compile" 2>conftest.err)
 
5206
  cat conftest.err >&5
 
5207
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5208
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
5209
  cat conftest.err >&5
 
5210
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
5211
  cat conftest.out >&5
 
5212
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
5213
    lt_cv_nm_interface="MS dumpbin"
 
5214
  fi
 
5215
  rm -f conftest*
 
5216
fi
 
5217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
5218
$as_echo "$lt_cv_nm_interface" >&6; }
 
5219
 
 
5220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
5221
$as_echo_n "checking whether ln -s works... " >&6; }
 
5222
LN_S=$as_ln_s
 
5223
if test "$LN_S" = "ln -s"; then
 
5224
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5225
$as_echo "yes" >&6; }
 
5226
else
 
5227
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
5228
$as_echo "no, using $LN_S" >&6; }
 
5229
fi
 
5230
 
 
5231
# find the maximum length of command line arguments
 
5232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
5233
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
5234
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
5235
  $as_echo_n "(cached) " >&6
 
5236
else
 
5237
    i=0
 
5238
  teststring="ABCD"
 
5239
 
 
5240
  case $build_os in
 
5241
  msdosdjgpp*)
 
5242
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
5243
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
5244
    # during glob expansion).  Even if it were fixed, the result of this
 
5245
    # check would be larger than it should be.
 
5246
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
5247
    ;;
 
5248
 
 
5249
  gnu*)
 
5250
    # Under GNU Hurd, this test is not required because there is
 
5251
    # no limit to the length of command line arguments.
 
5252
    # Libtool will interpret -1 as no limit whatsoever
 
5253
    lt_cv_sys_max_cmd_len=-1;
 
5254
    ;;
 
5255
 
 
5256
  cygwin* | mingw* | cegcc*)
 
5257
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
5258
    # about 5 minutes as the teststring grows exponentially.
 
5259
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
5260
    # you end up with a "frozen" computer, even though with patience
 
5261
    # the test eventually succeeds (with a max line length of 256k).
 
5262
    # Instead, let's just punt: use the minimum linelength reported by
 
5263
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
5264
    lt_cv_sys_max_cmd_len=8192;
 
5265
    ;;
 
5266
 
 
5267
  mint*)
 
5268
    # On MiNT this can take a long time and run out of memory.
 
5269
    lt_cv_sys_max_cmd_len=8192;
 
5270
    ;;
 
5271
 
 
5272
  amigaos*)
 
5273
    # On AmigaOS with pdksh, this test takes hours, literally.
 
5274
    # So we just punt and use a minimum line length of 8192.
 
5275
    lt_cv_sys_max_cmd_len=8192;
 
5276
    ;;
 
5277
 
 
5278
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
5279
    # This has been around since 386BSD, at least.  Likely further.
 
5280
    if test -x /sbin/sysctl; then
 
5281
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
5282
    elif test -x /usr/sbin/sysctl; then
 
5283
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
5284
    else
 
5285
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
5286
    fi
 
5287
    # And add a safety zone
 
5288
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5289
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5290
    ;;
 
5291
 
 
5292
  interix*)
 
5293
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
5294
    lt_cv_sys_max_cmd_len=196608
 
5295
    ;;
 
5296
 
 
5297
  os2*)
 
5298
    # The test takes a long time on OS/2.
 
5299
    lt_cv_sys_max_cmd_len=8192
 
5300
    ;;
 
5301
 
 
5302
  osf*)
 
5303
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
5304
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
5305
    # nice to cause kernel panics so lets avoid the loop below.
 
5306
    # First set a reasonable default.
 
5307
    lt_cv_sys_max_cmd_len=16384
 
5308
    #
 
5309
    if test -x /sbin/sysconfig; then
 
5310
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
5311
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
5312
      esac
 
5313
    fi
 
5314
    ;;
 
5315
  sco3.2v5*)
 
5316
    lt_cv_sys_max_cmd_len=102400
 
5317
    ;;
 
5318
  sysv5* | sco5v6* | sysv4.2uw2*)
 
5319
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
5320
    if test -n "$kargmax"; then
 
5321
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
5322
    else
 
5323
      lt_cv_sys_max_cmd_len=32768
 
5324
    fi
 
5325
    ;;
 
5326
  *)
 
5327
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
5328
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
5329
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5330
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5331
    else
 
5332
      # Make teststring a little bigger before we do anything with it.
 
5333
      # a 1K string should be a reasonable start.
 
5334
      for i in 1 2 3 4 5 6 7 8 ; do
 
5335
        teststring=$teststring$teststring
 
5336
      done
 
5337
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
5338
      # If test is not a shell built-in, we'll probably end up computing a
 
5339
      # maximum length that is only half of the actual maximum length, but
 
5340
      # we can't tell.
 
5341
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
5342
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
5343
              test $i != 17 # 1/2 MB should be enough
 
5344
      do
 
5345
        i=`expr $i + 1`
 
5346
        teststring=$teststring$teststring
 
5347
      done
 
5348
      # Only check the string length outside the loop.
 
5349
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
5350
      teststring=
 
5351
      # Add a significant safety factor because C++ compilers can tack on
 
5352
      # massive amounts of additional arguments before passing them to the
 
5353
      # linker.  It appears as though 1/2 is a usable value.
 
5354
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
5355
    fi
 
5356
    ;;
 
5357
  esac
 
5358
 
 
5359
fi
 
5360
 
 
5361
if test -n $lt_cv_sys_max_cmd_len ; then
 
5362
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
5363
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
5364
else
 
5365
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
5366
$as_echo "none" >&6; }
 
5367
fi
 
5368
max_cmd_len=$lt_cv_sys_max_cmd_len
 
5369
 
 
5370
    
 
5371
    
 
5372
    
 
5373
 
 
5374
 
 
5375
: ${CP="cp -f"}
 
5376
: ${MV="mv -f"}
 
5377
: ${RM="rm -f"}
 
5378
 
 
5379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
5380
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
5381
# Try some XSI features
 
5382
xsi_shell=no
 
5383
( _lt_dummy="a/b/c"
 
5384
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
5385
      = c,a/b,b/c, \
 
5386
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
5387
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
5388
  && xsi_shell=yes
 
5389
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
5390
$as_echo "$xsi_shell" >&6; }
 
5391
 
 
5392
 
 
5393
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
5394
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
5395
lt_shell_append=no
 
5396
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
5397
    >/dev/null 2>&1 \
 
5398
  && lt_shell_append=yes
 
5399
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
5400
$as_echo "$lt_shell_append" >&6; }
 
5401
 
 
5402
 
 
5403
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
5404
  lt_unset=unset
 
5405
else
 
5406
  lt_unset=false
 
5407
fi
 
5408
 
 
5409
    
 
5410
    
 
5411
    
 
5412
 
 
5413
# test EBCDIC or ASCII
 
5414
case `echo X|tr X '\101'` in
 
5415
 A) # ASCII based system
 
5416
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
5417
  lt_SP2NL='tr \040 \012'
 
5418
  lt_NL2SP='tr \015\012 \040\040'
 
5419
  ;;
 
5420
 *) # EBCDIC based system
 
5421
  lt_SP2NL='tr \100 \n'
 
5422
  lt_NL2SP='tr \r\n \100\100'
 
5423
  ;;
 
5424
esac
 
5425
 
 
5426
    
 
5427
    
 
5428
    
 
5429
 
 
5430
    
 
5431
    
 
5432
    
 
5433
 
 
5434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
5435
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
5436
if ${lt_cv_to_host_file_cmd+:} false; then :
 
5437
  $as_echo_n "(cached) " >&6
 
5438
else
 
5439
  case $host in
 
5440
  *-*-mingw* )
 
5441
    case $build in
 
5442
      *-*-mingw* ) # actually msys
 
5443
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
5444
        ;;
 
5445
      *-*-cygwin* )
 
5446
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
5447
        ;;
 
5448
      * ) # otherwise, assume *nix
 
5449
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
5450
        ;;
 
5451
    esac
 
5452
    ;;
 
5453
  *-*-cygwin* )
 
5454
    case $build in
 
5455
      *-*-mingw* ) # actually msys
 
5456
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
5457
        ;;
 
5458
      *-*-cygwin* )
 
5459
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
5460
        ;;
 
5461
      * ) # otherwise, assume *nix
 
5462
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
5463
        ;;
 
5464
    esac
 
5465
    ;;
 
5466
  * ) # unhandled hosts (and "normal" native builds)
 
5467
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
5468
    ;;
 
5469
esac
 
5470
 
 
5471
fi
 
5472
 
 
5473
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
5474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
5475
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
5476
 
 
5477
    
 
5478
    
 
5479
    
 
5480
 
 
5481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5482
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5483
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
5484
  $as_echo_n "(cached) " >&6
 
5485
else
 
5486
  #assume ordinary cross tools, or native build.
 
5487
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5488
case $host in
 
5489
  *-*-mingw* )
 
5490
    case $build in
 
5491
      *-*-mingw* ) # actually msys
 
5492
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5493
        ;;
 
5494
    esac
 
5495
    ;;
 
5496
esac
 
5497
 
 
5498
fi
 
5499
 
 
5500
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5501
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5502
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5503
 
 
5504
    
 
5505
    
 
5506
    
 
5507
 
 
5508
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
5509
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
5510
if ${lt_cv_ld_reload_flag+:} false; then :
 
5511
  $as_echo_n "(cached) " >&6
 
5512
else
 
5513
  lt_cv_ld_reload_flag='-r'
 
5514
fi
 
5515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
5516
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
5517
reload_flag=$lt_cv_ld_reload_flag
 
5518
case $reload_flag in
 
5519
"" | " "*) ;;
 
5520
*) reload_flag=" $reload_flag" ;;
 
5521
esac
 
5522
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5523
case $host_os in
 
5524
  cygwin* | mingw* | pw32* | cegcc*)
 
5525
    if test "$GCC" != yes; then
 
5526
      reload_cmds=false
 
5527
    fi
 
5528
    ;;
 
5529
  darwin*)
 
5530
    if test "$GCC" = yes; then
 
5531
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5532
    else
 
5533
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5534
    fi
 
5535
    ;;
 
5536
esac
 
5537
 
 
5538
    
 
5539
    
 
5540
    
 
5541
 
 
5542
    
 
5543
    
 
5544
    
 
5545
 
 
5546
if test -n "$ac_tool_prefix"; then
 
5547
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5548
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5549
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5550
$as_echo_n "checking for $ac_word... " >&6; }
 
5551
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
5552
  $as_echo_n "(cached) " >&6
 
5553
else
 
5554
  if test -n "$OBJDUMP"; then
 
5555
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5556
else
 
5557
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5558
for as_dir in $PATH
 
5559
do
 
5560
  IFS=$as_save_IFS
 
5561
  test -z "$as_dir" && as_dir=.
 
5562
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5563
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5564
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5565
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5566
    break 2
 
5567
  fi
 
5568
done
 
5569
  done
 
5570
IFS=$as_save_IFS
 
5571
 
 
5572
fi
 
5573
fi
 
5574
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5575
if test -n "$OBJDUMP"; then
 
5576
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
5577
$as_echo "$OBJDUMP" >&6; }
 
5578
else
 
5579
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5580
$as_echo "no" >&6; }
 
5581
fi
 
5582
 
 
5583
 
 
5584
fi
 
5585
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5586
  ac_ct_OBJDUMP=$OBJDUMP
 
5587
  # Extract the first word of "objdump", so it can be a program name with args.
 
5588
set dummy objdump; ac_word=$2
 
5589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5590
$as_echo_n "checking for $ac_word... " >&6; }
 
5591
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
5592
  $as_echo_n "(cached) " >&6
 
5593
else
 
5594
  if test -n "$ac_ct_OBJDUMP"; then
 
5595
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5596
else
 
5597
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5598
for as_dir in $PATH
 
5599
do
 
5600
  IFS=$as_save_IFS
 
5601
  test -z "$as_dir" && as_dir=.
 
5602
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5603
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5604
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5605
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5606
    break 2
 
5607
  fi
 
5608
done
 
5609
  done
 
5610
IFS=$as_save_IFS
 
5611
 
 
5612
fi
 
5613
fi
 
5614
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5615
if test -n "$ac_ct_OBJDUMP"; then
 
5616
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
5617
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
5618
else
 
5619
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5620
$as_echo "no" >&6; }
 
5621
fi
 
5622
 
 
5623
  if test "x$ac_ct_OBJDUMP" = x; then
 
5624
    OBJDUMP="false"
 
5625
  else
 
5626
    case $cross_compiling:$ac_tool_warned in
 
5627
yes:)
 
5628
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5629
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5630
ac_tool_warned=yes ;;
 
5631
esac
 
5632
    OBJDUMP=$ac_ct_OBJDUMP
 
5633
  fi
 
5634
else
 
5635
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5636
fi
 
5637
 
 
5638
test -z "$OBJDUMP" && OBJDUMP=objdump
 
5639
 
 
5640
    
 
5641
    
 
5642
    
 
5643
 
 
5644
 
 
5645
 
 
5646
 
 
5647
 
 
5648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
5649
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
5650
if ${lt_cv_deplibs_check_method+:} false; then :
 
5651
  $as_echo_n "(cached) " >&6
 
5652
else
 
5653
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
5654
lt_cv_file_magic_test_file=
 
5655
lt_cv_deplibs_check_method='unknown'
 
5656
# Need to set the preceding variable on all platforms that support
 
5657
# interlibrary dependencies.
 
5658
# 'none' -- dependencies not supported.
 
5659
# `unknown' -- same as none, but documents that we really don't know.
 
5660
# 'pass_all' -- all dependencies passed with no checks.
 
5661
# 'test_compile' -- check by making test program.
 
5662
# 'file_magic [[regex]]' -- check by looking for files in library path
 
5663
# which responds to the $file_magic_cmd with a given extended regex.
 
5664
# If you have `file' or equivalent on your system and you're not sure
 
5665
# whether `pass_all' will *always* work, you probably want this one.
 
5666
 
 
5667
case $host_os in
 
5668
aix[4-9]*)
 
5669
  lt_cv_deplibs_check_method=pass_all
 
5670
  ;;
 
5671
 
 
5672
beos*)
 
5673
  lt_cv_deplibs_check_method=pass_all
 
5674
  ;;
 
5675
 
 
5676
bsdi[45]*)
 
5677
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
5678
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
5679
  lt_cv_file_magic_test_file=/shlib/libc.so
 
5680
  ;;
 
5681
 
 
5682
cygwin*)
 
5683
  # func_win32_libid is a shell function defined in ltmain.sh
 
5684
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5685
  lt_cv_file_magic_cmd='func_win32_libid'
 
5686
  ;;
 
5687
 
 
5688
mingw* | pw32*)
 
5689
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
5690
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
5691
  # unless we find 'file', for example because we are cross-compiling.
 
5692
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5693
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
5694
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5695
    lt_cv_file_magic_cmd='func_win32_libid'
 
5696
  else
 
5697
    # Keep this pattern in sync with the one in func_win32_libid.
 
5698
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 
5699
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5700
  fi
 
5701
  ;;
 
5702
 
 
5703
cegcc*)
 
5704
  # use the weaker test based on 'objdump'. See mingw*.
 
5705
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
5706
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5707
  ;;
 
5708
 
 
5709
darwin* | rhapsody*)
 
5710
  lt_cv_deplibs_check_method=pass_all
 
5711
  ;;
 
5712
 
 
5713
freebsd* | dragonfly*)
 
5714
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5715
    case $host_cpu in
 
5716
    i*86 )
 
5717
      # Not sure whether the presence of OpenBSD here was a mistake.
 
5718
      # Let's accept both of them until this is cleared up.
 
5719
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
5720
      lt_cv_file_magic_cmd=/usr/bin/file
 
5721
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
5722
      ;;
 
5723
    esac
 
5724
  else
 
5725
    lt_cv_deplibs_check_method=pass_all
 
5726
  fi
 
5727
  ;;
 
5728
 
 
5729
gnu*)
 
5730
  lt_cv_deplibs_check_method=pass_all
 
5731
  ;;
 
5732
 
 
5733
haiku*)
 
5734
  lt_cv_deplibs_check_method=pass_all
 
5735
  ;;
 
5736
 
 
5737
hpux10.20* | hpux11*)
 
5738
  lt_cv_file_magic_cmd=/usr/bin/file
 
5739
  case $host_cpu in
 
5740
  ia64*)
 
5741
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
5742
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
5743
    ;;
 
5744
  hppa*64*)
 
5745
    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]'
 
5746
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
5747
    ;;
 
5748
  *)
 
5749
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 
5750
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
5751
    ;;
 
5752
  esac
 
5753
  ;;
 
5754
 
 
5755
interix[3-9]*)
 
5756
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
5757
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
5758
  ;;
 
5759
 
 
5760
irix5* | irix6* | nonstopux*)
 
5761
  case $LD in
 
5762
  *-32|*"-32 ") libmagic=32-bit;;
 
5763
  *-n32|*"-n32 ") libmagic=N32;;
 
5764
  *-64|*"-64 ") libmagic=64-bit;;
 
5765
  *) libmagic=never-match;;
 
5766
  esac
 
5767
  lt_cv_deplibs_check_method=pass_all
 
5768
  ;;
 
5769
 
 
5770
# This must be glibc/ELF.
 
5771
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
5772
  lt_cv_deplibs_check_method=pass_all
 
5773
  ;;
 
5774
 
 
5775
netbsd*)
 
5776
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5777
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5778
  else
 
5779
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
5780
  fi
 
5781
  ;;
 
5782
 
 
5783
newos6*)
 
5784
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
5785
  lt_cv_file_magic_cmd=/usr/bin/file
 
5786
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
5787
  ;;
 
5788
 
 
5789
*nto* | *qnx*)
 
5790
  lt_cv_deplibs_check_method=pass_all
 
5791
  ;;
 
5792
 
 
5793
openbsd*)
 
5794
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5795
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
5796
  else
 
5797
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5798
  fi
 
5799
  ;;
 
5800
 
 
5801
osf3* | osf4* | osf5*)
 
5802
  lt_cv_deplibs_check_method=pass_all
 
5803
  ;;
 
5804
 
 
5805
rdos*)
 
5806
  lt_cv_deplibs_check_method=pass_all
 
5807
  ;;
 
5808
 
 
5809
solaris*)
 
5810
  lt_cv_deplibs_check_method=pass_all
 
5811
  ;;
 
5812
 
 
5813
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5814
  lt_cv_deplibs_check_method=pass_all
 
5815
  ;;
 
5816
 
 
5817
sysv4 | sysv4.3*)
 
5818
  case $host_vendor in
 
5819
  motorola)
 
5820
    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]'
 
5821
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
5822
    ;;
 
5823
  ncr)
 
5824
    lt_cv_deplibs_check_method=pass_all
 
5825
    ;;
 
5826
  sequent)
 
5827
    lt_cv_file_magic_cmd='/bin/file'
 
5828
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
5829
    ;;
 
5830
  sni)
 
5831
    lt_cv_file_magic_cmd='/bin/file'
 
5832
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
5833
    lt_cv_file_magic_test_file=/lib/libc.so
 
5834
    ;;
 
5835
  siemens)
 
5836
    lt_cv_deplibs_check_method=pass_all
 
5837
    ;;
 
5838
  pc)
 
5839
    lt_cv_deplibs_check_method=pass_all
 
5840
    ;;
 
5841
  esac
 
5842
  ;;
 
5843
 
 
5844
tpf*)
 
5845
  lt_cv_deplibs_check_method=pass_all
 
5846
  ;;
 
5847
esac
 
5848
 
 
5849
fi
 
5850
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
5851
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5852
 
 
5853
file_magic_glob=
 
5854
want_nocaseglob=no
 
5855
if test "$build" = "$host"; then
 
5856
  case $host_os in
 
5857
  mingw* | pw32*)
 
5858
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5859
      want_nocaseglob=yes
 
5860
    else
 
5861
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5862
    fi
 
5863
    ;;
 
5864
  esac
 
5865
fi
 
5866
 
 
5867
file_magic_cmd=$lt_cv_file_magic_cmd
 
5868
deplibs_check_method=$lt_cv_deplibs_check_method
 
5869
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
5870
 
 
5871
 
 
5872
    
 
5873
    
 
5874
    
 
5875
 
 
5876
 
 
5877
    
 
5878
    
 
5879
    
 
5880
 
 
5881
 
 
5882
    
 
5883
    
 
5884
    
 
5885
 
 
5886
 
 
5887
    
 
5888
    
 
5889
    
 
5890
 
 
5891
 
 
5892
if test -n "$ac_tool_prefix"; then
 
5893
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5894
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5896
$as_echo_n "checking for $ac_word... " >&6; }
 
5897
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5898
  $as_echo_n "(cached) " >&6
 
5899
else
 
5900
  if test -n "$DLLTOOL"; then
 
5901
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5902
else
 
5903
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5904
for as_dir in $PATH
 
5905
do
 
5906
  IFS=$as_save_IFS
 
5907
  test -z "$as_dir" && as_dir=.
 
5908
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5909
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5910
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5911
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5912
    break 2
 
5913
  fi
 
5914
done
 
5915
  done
 
5916
IFS=$as_save_IFS
 
5917
 
 
5918
fi
 
5919
fi
 
5920
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5921
if test -n "$DLLTOOL"; then
 
5922
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5923
$as_echo "$DLLTOOL" >&6; }
 
5924
else
 
5925
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5926
$as_echo "no" >&6; }
 
5927
fi
 
5928
 
 
5929
 
 
5930
fi
 
5931
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5932
  ac_ct_DLLTOOL=$DLLTOOL
 
5933
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5934
set dummy dlltool; ac_word=$2
 
5935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5936
$as_echo_n "checking for $ac_word... " >&6; }
 
5937
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5938
  $as_echo_n "(cached) " >&6
 
5939
else
 
5940
  if test -n "$ac_ct_DLLTOOL"; then
 
5941
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5942
else
 
5943
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5944
for as_dir in $PATH
 
5945
do
 
5946
  IFS=$as_save_IFS
 
5947
  test -z "$as_dir" && as_dir=.
 
5948
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5949
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5950
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5951
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5952
    break 2
 
5953
  fi
 
5954
done
 
5955
  done
 
5956
IFS=$as_save_IFS
 
5957
 
 
5958
fi
 
5959
fi
 
5960
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5961
if test -n "$ac_ct_DLLTOOL"; then
 
5962
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5963
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5964
else
 
5965
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5966
$as_echo "no" >&6; }
 
5967
fi
 
5968
 
 
5969
  if test "x$ac_ct_DLLTOOL" = x; then
 
5970
    DLLTOOL="false"
 
5971
  else
 
5972
    case $cross_compiling:$ac_tool_warned in
 
5973
yes:)
 
5974
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5975
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5976
ac_tool_warned=yes ;;
 
5977
esac
 
5978
    DLLTOOL=$ac_ct_DLLTOOL
 
5979
  fi
 
5980
else
 
5981
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5982
fi
 
5983
 
 
5984
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5985
 
 
5986
    
 
5987
    
 
5988
    
 
5989
 
 
5990
 
 
5991
 
 
5992
 
 
5993
 
 
5994
 
 
5995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5996
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5997
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5998
  $as_echo_n "(cached) " >&6
 
5999
else
 
6000
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
6001
 
 
6002
case $host_os in
 
6003
cygwin* | mingw* | pw32* | cegcc*)
 
6004
  # two different shell functions defined in ltmain.sh
 
6005
  # decide which to use based on capabilities of $DLLTOOL
 
6006
  case `$DLLTOOL --help 2>&1` in
 
6007
  *--identify-strict*)
 
6008
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
6009
    ;;
 
6010
  *)
 
6011
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
6012
    ;;
 
6013
  esac
 
6014
  ;;
 
6015
*)
 
6016
  # fallback: assume linklib IS sharedlib
 
6017
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
6018
  ;;
 
6019
esac
 
6020
 
 
6021
fi
 
6022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
6023
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
6024
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
6025
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
6026
 
 
6027
 
 
6028
    
 
6029
    
 
6030
    
 
6031
 
 
6032
 
 
6033
 
 
6034
if test -n "$ac_tool_prefix"; then
 
6035
  for ac_prog in ar
 
6036
  do
 
6037
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6038
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6040
$as_echo_n "checking for $ac_word... " >&6; }
 
6041
if ${ac_cv_prog_AR+:} false; then :
 
6042
  $as_echo_n "(cached) " >&6
 
6043
else
 
6044
  if test -n "$AR"; then
 
6045
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
6046
else
 
6047
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6048
for as_dir in $PATH
 
6049
do
 
6050
  IFS=$as_save_IFS
 
6051
  test -z "$as_dir" && as_dir=.
 
6052
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6053
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6054
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
6055
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6056
    break 2
 
6057
  fi
 
6058
done
 
6059
  done
 
6060
IFS=$as_save_IFS
 
6061
 
 
6062
fi
 
6063
fi
 
6064
AR=$ac_cv_prog_AR
 
6065
if test -n "$AR"; then
 
6066
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
6067
$as_echo "$AR" >&6; }
 
6068
else
 
6069
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6070
$as_echo "no" >&6; }
 
6071
fi
 
6072
 
 
6073
 
 
6074
    test -n "$AR" && break
 
6075
  done
 
6076
fi
 
6077
if test -z "$AR"; then
 
6078
  ac_ct_AR=$AR
 
6079
  for ac_prog in ar
 
6080
do
 
6081
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6082
set dummy $ac_prog; ac_word=$2
 
6083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6084
$as_echo_n "checking for $ac_word... " >&6; }
 
6085
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
6086
  $as_echo_n "(cached) " >&6
 
6087
else
 
6088
  if test -n "$ac_ct_AR"; then
 
6089
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
6090
else
 
6091
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6092
for as_dir in $PATH
 
6093
do
 
6094
  IFS=$as_save_IFS
 
6095
  test -z "$as_dir" && as_dir=.
 
6096
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6097
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6098
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
6099
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6100
    break 2
 
6101
  fi
 
6102
done
 
6103
  done
 
6104
IFS=$as_save_IFS
 
6105
 
 
6106
fi
 
6107
fi
 
6108
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
6109
if test -n "$ac_ct_AR"; then
 
6110
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
6111
$as_echo "$ac_ct_AR" >&6; }
 
6112
else
 
6113
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6114
$as_echo "no" >&6; }
 
6115
fi
 
6116
 
 
6117
 
 
6118
  test -n "$ac_ct_AR" && break
 
6119
done
 
6120
 
 
6121
  if test "x$ac_ct_AR" = x; then
 
6122
    AR="false"
 
6123
  else
 
6124
    case $cross_compiling:$ac_tool_warned in
 
6125
yes:)
 
6126
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6127
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6128
ac_tool_warned=yes ;;
 
6129
esac
 
6130
    AR=$ac_ct_AR
 
6131
  fi
 
6132
fi
 
6133
 
 
6134
: ${AR=ar}
 
6135
: ${AR_FLAGS=cru}
 
6136
 
 
6137
    
 
6138
    
 
6139
    
 
6140
 
 
6141
 
 
6142
    
 
6143
    
 
6144
    
 
6145
 
 
6146
 
 
6147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
6148
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
6149
if ${lt_cv_ar_at_file+:} false; then :
 
6150
  $as_echo_n "(cached) " >&6
 
6151
else
 
6152
  lt_cv_ar_at_file=no
 
6153
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6154
/* end confdefs.h.  */
 
6155
 
 
6156
int
 
6157
main ()
 
6158
{
 
6159
 
 
6160
  ;
 
6161
  return 0;
 
6162
}
 
6163
_ACEOF
 
6164
if ac_fn_c_try_compile "$LINENO"; then :
 
6165
  echo conftest.$ac_objext > conftest.lst
 
6166
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
6167
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6168
  (eval $lt_ar_try) 2>&5
 
6169
  ac_status=$?
 
6170
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6171
  test $ac_status = 0; }
 
6172
      if test "$ac_status" -eq 0; then
 
6173
        # Ensure the archiver fails upon bogus file names.
 
6174
        rm -f conftest.$ac_objext libconftest.a
 
6175
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6176
  (eval $lt_ar_try) 2>&5
 
6177
  ac_status=$?
 
6178
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6179
  test $ac_status = 0; }
 
6180
        if test "$ac_status" -ne 0; then
 
6181
          lt_cv_ar_at_file=@
 
6182
        fi
 
6183
      fi
 
6184
      rm -f conftest.* libconftest.a
 
6185
     
 
6186
fi
 
6187
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6188
  
 
6189
fi
 
6190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
6191
$as_echo "$lt_cv_ar_at_file" >&6; }
 
6192
 
 
6193
if test "x$lt_cv_ar_at_file" = xno; then
 
6194
  archiver_list_spec=
 
6195
else
 
6196
  archiver_list_spec=$lt_cv_ar_at_file
 
6197
fi
 
6198
 
 
6199
    
 
6200
    
 
6201
    
 
6202
 
 
6203
 
 
6204
 
 
6205
if test -n "$ac_tool_prefix"; then
 
6206
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
6207
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
6208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6209
$as_echo_n "checking for $ac_word... " >&6; }
 
6210
if ${ac_cv_prog_STRIP+:} false; then :
 
6211
  $as_echo_n "(cached) " >&6
 
6212
else
 
6213
  if test -n "$STRIP"; then
 
6214
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
6215
else
 
6216
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6217
for as_dir in $PATH
 
6218
do
 
6219
  IFS=$as_save_IFS
 
6220
  test -z "$as_dir" && as_dir=.
 
6221
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6222
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6223
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
6224
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6225
    break 2
 
6226
  fi
 
6227
done
 
6228
  done
 
6229
IFS=$as_save_IFS
 
6230
 
 
6231
fi
 
6232
fi
 
6233
STRIP=$ac_cv_prog_STRIP
 
6234
if test -n "$STRIP"; then
 
6235
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
6236
$as_echo "$STRIP" >&6; }
 
6237
else
 
6238
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6239
$as_echo "no" >&6; }
 
6240
fi
 
6241
 
 
6242
 
 
6243
fi
 
6244
if test -z "$ac_cv_prog_STRIP"; then
 
6245
  ac_ct_STRIP=$STRIP
 
6246
  # Extract the first word of "strip", so it can be a program name with args.
 
6247
set dummy strip; ac_word=$2
 
6248
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6249
$as_echo_n "checking for $ac_word... " >&6; }
 
6250
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
6251
  $as_echo_n "(cached) " >&6
 
6252
else
 
6253
  if test -n "$ac_ct_STRIP"; then
 
6254
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
6255
else
 
6256
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6257
for as_dir in $PATH
 
6258
do
 
6259
  IFS=$as_save_IFS
 
6260
  test -z "$as_dir" && as_dir=.
 
6261
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6262
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6263
    ac_cv_prog_ac_ct_STRIP="strip"
 
6264
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6265
    break 2
 
6266
  fi
 
6267
done
 
6268
  done
 
6269
IFS=$as_save_IFS
 
6270
 
 
6271
fi
 
6272
fi
 
6273
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
6274
if test -n "$ac_ct_STRIP"; then
 
6275
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
6276
$as_echo "$ac_ct_STRIP" >&6; }
 
6277
else
 
6278
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6279
$as_echo "no" >&6; }
 
6280
fi
 
6281
 
 
6282
  if test "x$ac_ct_STRIP" = x; then
 
6283
    STRIP=":"
 
6284
  else
 
6285
    case $cross_compiling:$ac_tool_warned in
 
6286
yes:)
 
6287
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6288
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6289
ac_tool_warned=yes ;;
 
6290
esac
 
6291
    STRIP=$ac_ct_STRIP
 
6292
  fi
 
6293
else
 
6294
  STRIP="$ac_cv_prog_STRIP"
 
6295
fi
 
6296
 
 
6297
test -z "$STRIP" && STRIP=:
 
6298
 
 
6299
    
 
6300
    
 
6301
    
 
6302
 
 
6303
 
 
6304
if test -n "$ac_tool_prefix"; then
 
6305
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
6306
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
6307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6308
$as_echo_n "checking for $ac_word... " >&6; }
 
6309
if ${ac_cv_prog_RANLIB+:} false; then :
 
6310
  $as_echo_n "(cached) " >&6
 
6311
else
 
6312
  if test -n "$RANLIB"; then
 
6313
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
6314
else
 
6315
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6316
for as_dir in $PATH
 
6317
do
 
6318
  IFS=$as_save_IFS
 
6319
  test -z "$as_dir" && as_dir=.
 
6320
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6321
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6322
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
6323
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6324
    break 2
 
6325
  fi
 
6326
done
 
6327
  done
 
6328
IFS=$as_save_IFS
 
6329
 
 
6330
fi
 
6331
fi
 
6332
RANLIB=$ac_cv_prog_RANLIB
 
6333
if test -n "$RANLIB"; then
 
6334
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
6335
$as_echo "$RANLIB" >&6; }
 
6336
else
 
6337
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6338
$as_echo "no" >&6; }
 
6339
fi
 
6340
 
 
6341
 
 
6342
fi
 
6343
if test -z "$ac_cv_prog_RANLIB"; then
 
6344
  ac_ct_RANLIB=$RANLIB
 
6345
  # Extract the first word of "ranlib", so it can be a program name with args.
 
6346
set dummy ranlib; ac_word=$2
 
6347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6348
$as_echo_n "checking for $ac_word... " >&6; }
 
6349
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
6350
  $as_echo_n "(cached) " >&6
 
6351
else
 
6352
  if test -n "$ac_ct_RANLIB"; then
 
6353
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
6354
else
 
6355
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6356
for as_dir in $PATH
 
6357
do
 
6358
  IFS=$as_save_IFS
 
6359
  test -z "$as_dir" && as_dir=.
 
6360
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6361
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6362
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
6363
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6364
    break 2
 
6365
  fi
 
6366
done
 
6367
  done
 
6368
IFS=$as_save_IFS
 
6369
 
 
6370
fi
 
6371
fi
 
6372
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
6373
if test -n "$ac_ct_RANLIB"; then
 
6374
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
6375
$as_echo "$ac_ct_RANLIB" >&6; }
 
6376
else
 
6377
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6378
$as_echo "no" >&6; }
 
6379
fi
 
6380
 
 
6381
  if test "x$ac_ct_RANLIB" = x; then
 
6382
    RANLIB=":"
 
6383
  else
 
6384
    case $cross_compiling:$ac_tool_warned in
 
6385
yes:)
 
6386
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6387
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6388
ac_tool_warned=yes ;;
 
6389
esac
 
6390
    RANLIB=$ac_ct_RANLIB
 
6391
  fi
 
6392
else
 
6393
  RANLIB="$ac_cv_prog_RANLIB"
 
6394
fi
 
6395
 
 
6396
test -z "$RANLIB" && RANLIB=:
 
6397
 
 
6398
    
 
6399
    
 
6400
    
 
6401
 
 
6402
 
 
6403
# Determine commands to create old-style static archives.
 
6404
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
6405
old_postinstall_cmds='chmod 644 $oldlib'
 
6406
old_postuninstall_cmds=
 
6407
 
 
6408
if test -n "$RANLIB"; then
 
6409
  case $host_os in
 
6410
  openbsd*)
 
6411
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 
6412
    ;;
 
6413
  *)
 
6414
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 
6415
    ;;
 
6416
  esac
 
6417
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 
6418
fi
 
6419
 
 
6420
case $host_os in
 
6421
  darwin*)
 
6422
    lock_old_archive_extraction=yes ;;
 
6423
  *)
 
6424
    lock_old_archive_extraction=no ;;
 
6425
esac
 
6426
 
 
6427
    
 
6428
    
 
6429
    
 
6430
 
 
6431
 
 
6432
    
 
6433
    
 
6434
    
 
6435
 
 
6436
 
 
6437
    
 
6438
    
 
6439
    
 
6440
 
 
6441
 
 
6442
    
 
6443
    
 
6444
    
 
6445
 
 
6446
 
 
6447
 
 
6448
 
 
6449
    
 
6450
    
 
6451
    
 
6452
 
 
6453
    
 
6454
    
 
6455
    
 
6456
 
 
6457
    
 
6458
    
 
6459
    
 
6460
 
 
6461
    
 
6462
    
 
6463
    
 
6464
 
 
6465
# If no C compiler was specified, use CC.
 
6466
LTCC=${LTCC-"$CC"}
 
6467
 
 
6468
# If no C compiler flags were specified, use CFLAGS.
 
6469
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
6470
 
 
6471
# Allow CC to be a program name with arguments.
 
6472
compiler=$CC
 
6473
 
 
6474
 
 
6475
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
6476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
6477
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
6478
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
6479
  $as_echo_n "(cached) " >&6
 
6480
else
 
6481
  
 
6482
# These are sane defaults that work on at least a few old systems.
 
6483
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
6484
 
 
6485
# Character class describing NM global symbol codes.
 
6486
symcode='[BCDEGRST]'
 
6487
 
 
6488
# Regexp to match symbols that can be accessed directly from C.
 
6489
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
6490
 
 
6491
# Define system-specific variables.
 
6492
case $host_os in
 
6493
aix*)
 
6494
  symcode='[BCDT]'
 
6495
  ;;
 
6496
cygwin* | mingw* | pw32* | cegcc*)
 
6497
  symcode='[ABCDGISTW]'
 
6498
  ;;
 
6499
hpux*)
 
6500
  if test "$host_cpu" = ia64; then
 
6501
    symcode='[ABCDEGRST]'
 
6502
  fi
 
6503
  ;;
 
6504
irix* | nonstopux*)
 
6505
  symcode='[BCDEGRST]'
 
6506
  ;;
 
6507
osf*)
 
6508
  symcode='[BCDEGQRST]'
 
6509
  ;;
 
6510
solaris*)
 
6511
  symcode='[BDRT]'
 
6512
  ;;
 
6513
sco3.2v5*)
 
6514
  symcode='[DT]'
 
6515
  ;;
 
6516
sysv4.2uw2*)
 
6517
  symcode='[DT]'
 
6518
  ;;
 
6519
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
6520
  symcode='[ABDT]'
 
6521
  ;;
 
6522
sysv4)
 
6523
  symcode='[DFNSTU]'
 
6524
  ;;
 
6525
esac
 
6526
 
 
6527
# If we're using GNU nm, then use its standard symbol codes.
 
6528
case `$NM -V 2>&1` in
 
6529
*GNU* | *'with BFD'*)
 
6530
  symcode='[ABCDGIRSTW]' ;;
 
6531
esac
 
6532
 
 
6533
# Transform an extracted symbol line into a proper C declaration.
 
6534
# Some systems (esp. on ia64) link data and code symbols differently,
 
6535
# so use this general approach.
 
6536
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6537
 
 
6538
# Transform an extracted symbol line into symbol name and symbol address
 
6539
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6540
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'"
 
6541
 
 
6542
# Handle CRLF in mingw tool chain
 
6543
opt_cr=
 
6544
case $build_os in
 
6545
mingw*)
 
6546
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
6547
  ;;
 
6548
esac
 
6549
 
 
6550
# Try without a prefix underscore, then with it.
 
6551
for ac_symprfx in "" "_"; do
 
6552
 
 
6553
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
6554
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
6555
 
 
6556
  # Write the raw and C identifiers.
 
6557
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6558
    # Fake it for dumpbin and say T for any non-static function
 
6559
    # and D for any global variable.
 
6560
    # Also find C++ and __fastcall symbols from MSVC++,
 
6561
    # which start with @ or ?.
 
6562
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
6563
"     {last_section=section; section=\$ 3};"\
 
6564
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 
6565
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
6566
"     \$ 0!~/External *\|/{next};"\
 
6567
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
6568
"     {if(hide[section]) next};"\
 
6569
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
6570
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
6571
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
6572
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
6573
"     ' prfx=^$ac_symprfx"
 
6574
  else
 
6575
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6576
  fi
 
6577
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
6578
 
 
6579
  # Check to see that the pipe works correctly.
 
6580
  pipe_works=no
 
6581
 
 
6582
  rm -f conftest*
 
6583
  cat > conftest.$ac_ext <<_LT_EOF
 
6584
#ifdef __cplusplus
 
6585
extern "C" {
 
6586
#endif
 
6587
char nm_test_var;
 
6588
void nm_test_func(void);
 
6589
void nm_test_func(void){}
 
6590
#ifdef __cplusplus
 
6591
}
 
6592
#endif
 
6593
int main(){nm_test_var='a';nm_test_func();return(0);}
 
6594
_LT_EOF
 
6595
 
 
6596
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6597
  (eval $ac_compile) 2>&5
 
6598
  ac_status=$?
 
6599
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6600
  test $ac_status = 0; }; then
 
6601
    # Now try to grab the symbols.
 
6602
    nlist=conftest.nm
 
6603
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6604
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 
6605
  ac_status=$?
 
6606
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6607
  test $ac_status = 0; } && test -s "$nlist"; then
 
6608
      # Try sorting and uniquifying the output.
 
6609
      if sort "$nlist" | uniq > "$nlist"T; then
 
6610
        mv -f "$nlist"T "$nlist"
 
6611
      else
 
6612
        rm -f "$nlist"T
 
6613
      fi
 
6614
 
 
6615
      # Make sure that we snagged all the symbols we need.
 
6616
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
6617
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
6618
          cat <<_LT_EOF > conftest.$ac_ext
 
6619
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6620
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6621
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6622
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6623
# define LT@&t@_DLSYM_CONST
 
6624
#elif defined(__osf__)
 
6625
/* This system does not cope well with relocations in const data.  */
 
6626
# define LT@&t@_DLSYM_CONST
 
6627
#else
 
6628
# define LT@&t@_DLSYM_CONST const
 
6629
#endif
 
6630
 
 
6631
#ifdef __cplusplus
 
6632
extern "C" {
 
6633
#endif
 
6634
 
 
6635
_LT_EOF
 
6636
          # Now generate the symbol file.
 
6637
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
6638
 
 
6639
          cat <<_LT_EOF >> conftest.$ac_ext
 
6640
 
 
6641
/* The mapping between symbol names and symbols.  */
 
6642
LT@&t@_DLSYM_CONST struct {
 
6643
  const char *name;
 
6644
  void       *address;
 
6645
}
 
6646
lt__PROGRAM__LTX_preloaded_symbols[] =
 
6647
{
 
6648
  { "@PROGRAM@", (void *) 0 },
 
6649
_LT_EOF
 
6650
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
6651
          cat <<\_LT_EOF >> conftest.$ac_ext
 
6652
  {0, (void *) 0}
 
6653
};
 
6654
 
 
6655
/* This works around a problem in FreeBSD linker */
 
6656
#ifdef FREEBSD_WORKAROUND
 
6657
static const void *lt_preloaded_setup() {
 
6658
  return lt__PROGRAM__LTX_preloaded_symbols;
 
6659
}
 
6660
#endif
 
6661
 
 
6662
#ifdef __cplusplus
 
6663
}
 
6664
#endif
 
6665
_LT_EOF
 
6666
          # Now try linking the two files.
 
6667
          mv conftest.$ac_objext conftstm.$ac_objext
 
6668
          lt_globsym_save_LIBS=$LIBS
 
6669
          lt_globsym_save_CFLAGS=$CFLAGS
 
6670
          LIBS="conftstm.$ac_objext"
 
6671
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
6672
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
6673
  (eval $ac_link) 2>&5
 
6674
  ac_status=$?
 
6675
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6676
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
6677
            pipe_works=yes
 
6678
          fi
 
6679
          LIBS=$lt_globsym_save_LIBS
 
6680
          CFLAGS=$lt_globsym_save_CFLAGS
 
6681
        else
 
6682
          echo "cannot find nm_test_func in $nlist" >&5
 
6683
        fi
 
6684
      else
 
6685
        echo "cannot find nm_test_var in $nlist" >&5
 
6686
      fi
 
6687
    else
 
6688
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
6689
    fi
 
6690
  else
 
6691
    echo "$progname: failed program was:" >&5
 
6692
    cat conftest.$ac_ext >&5
 
6693
  fi
 
6694
  rm -rf conftest* conftst*
 
6695
 
 
6696
  # Do not use the global_symbol_pipe unless it works.
 
6697
  if test "$pipe_works" = yes; then
 
6698
    break
 
6699
  else
 
6700
    lt_cv_sys_global_symbol_pipe=
 
6701
  fi
 
6702
done
 
6703
 
 
6704
fi
 
6705
 
 
6706
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
6707
  lt_cv_sys_global_symbol_to_cdecl=
 
6708
fi
 
6709
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
6710
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
6711
$as_echo "failed" >&6; }
 
6712
else
 
6713
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
6714
$as_echo "ok" >&6; }
 
6715
fi
 
6716
 
 
6717
# Response file support.
 
6718
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6719
  nm_file_list_spec='@'
 
6720
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6721
  nm_file_list_spec='@'
 
6722
fi
 
6723
 
 
6724
 
 
6725
    
 
6726
    
 
6727
    
 
6728
 
 
6729
 
 
6730
    
 
6731
    
 
6732
    
 
6733
 
 
6734
 
 
6735
    
 
6736
    
 
6737
    
 
6738
 
 
6739
 
 
6740
    
 
6741
    
 
6742
    
 
6743
 
 
6744
 
 
6745
    
 
6746
    
 
6747
    
 
6748
 
 
6749
 
 
6750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6751
$as_echo_n "checking for sysroot... " >&6; }
 
6752
 
 
6753
@%:@ Check whether --with-sysroot was given.
 
6754
if test "${with_sysroot+set}" = set; then :
 
6755
  withval=$with_sysroot; 
 
6756
else
 
6757
  with_sysroot=no
 
6758
fi
 
6759
 
 
6760
 
 
6761
lt_sysroot=
 
6762
case ${with_sysroot} in #(
 
6763
 yes)
 
6764
   if test "$GCC" = yes; then
 
6765
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6766
   fi
 
6767
   ;; #(
 
6768
 /*)
 
6769
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6770
   ;; #(
 
6771
 no|'')
 
6772
   ;; #(
 
6773
 *)
 
6774
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6775
$as_echo "${with_sysroot}" >&6; }
 
6776
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6777
   ;;
 
6778
esac
 
6779
 
 
6780
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6781
$as_echo "${lt_sysroot:-no}" >&6; }
 
6782
 
 
6783
    
 
6784
    
 
6785
    
 
6786
 
 
6787
@%:@ Check whether --enable-libtool-lock was given.
 
6788
if test "${enable_libtool_lock+set}" = set; then :
 
6789
  enableval=$enable_libtool_lock; 
 
6790
fi
 
6791
 
 
6792
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6793
 
 
6794
# Some flags need to be propagated to the compiler or linker for good
 
6795
# libtool support.
 
6796
case $host in
 
6797
ia64-*-hpux*)
 
6798
  # Find out which ABI we are using.
 
6799
  echo 'int i;' > conftest.$ac_ext
 
6800
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6801
  (eval $ac_compile) 2>&5
 
6802
  ac_status=$?
 
6803
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6804
  test $ac_status = 0; }; then
 
6805
    case `/usr/bin/file conftest.$ac_objext` in
 
6806
      *ELF-32*)
 
6807
        HPUX_IA64_MODE="32"
 
6808
        ;;
 
6809
      *ELF-64*)
 
6810
        HPUX_IA64_MODE="64"
 
6811
        ;;
 
6812
    esac
 
6813
  fi
 
6814
  rm -rf conftest*
 
6815
  ;;
 
6816
*-*-irix6*)
 
6817
  # Find out which ABI we are using.
 
6818
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
6819
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6820
  (eval $ac_compile) 2>&5
 
6821
  ac_status=$?
 
6822
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6823
  test $ac_status = 0; }; then
 
6824
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
6825
      case `/usr/bin/file conftest.$ac_objext` in
 
6826
        *32-bit*)
 
6827
          LD="${LD-ld} -melf32bsmip"
 
6828
          ;;
 
6829
        *N32*)
 
6830
          LD="${LD-ld} -melf32bmipn32"
 
6831
          ;;
 
6832
        *64-bit*)
 
6833
          LD="${LD-ld} -melf64bmip"
 
6834
        ;;
 
6835
      esac
 
6836
    else
 
6837
      case `/usr/bin/file conftest.$ac_objext` in
 
6838
        *32-bit*)
 
6839
          LD="${LD-ld} -32"
 
6840
          ;;
 
6841
        *N32*)
 
6842
          LD="${LD-ld} -n32"
 
6843
          ;;
 
6844
        *64-bit*)
 
6845
          LD="${LD-ld} -64"
 
6846
          ;;
 
6847
      esac
 
6848
    fi
 
6849
  fi
 
6850
  rm -rf conftest*
 
6851
  ;;
 
6852
 
 
6853
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6854
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6855
  # Find out which ABI we are using.
 
6856
  echo 'int i;' > conftest.$ac_ext
 
6857
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6858
  (eval $ac_compile) 2>&5
 
6859
  ac_status=$?
 
6860
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6861
  test $ac_status = 0; }; then
 
6862
    case `/usr/bin/file conftest.o` in
 
6863
      *32-bit*)
 
6864
        case $host in
 
6865
          x86_64-*kfreebsd*-gnu)
 
6866
            LD="${LD-ld} -m elf_i386_fbsd"
 
6867
            ;;
 
6868
          x86_64-*linux*)
 
6869
            LD="${LD-ld} -m elf_i386"
 
6870
            ;;
 
6871
          ppc64-*linux*|powerpc64-*linux*)
 
6872
            LD="${LD-ld} -m elf32ppclinux"
 
6873
            ;;
 
6874
          s390x-*linux*)
 
6875
            LD="${LD-ld} -m elf_s390"
 
6876
            ;;
 
6877
          sparc64-*linux*)
 
6878
            LD="${LD-ld} -m elf32_sparc"
 
6879
            ;;
 
6880
        esac
 
6881
        ;;
 
6882
      *64-bit*)
 
6883
        case $host in
 
6884
          x86_64-*kfreebsd*-gnu)
 
6885
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6886
            ;;
 
6887
          x86_64-*linux*)
 
6888
            LD="${LD-ld} -m elf_x86_64"
 
6889
            ;;
 
6890
          ppc*-*linux*|powerpc*-*linux*)
 
6891
            LD="${LD-ld} -m elf64ppc"
 
6892
            ;;
 
6893
          s390*-*linux*|s390*-*tpf*)
 
6894
            LD="${LD-ld} -m elf64_s390"
 
6895
            ;;
 
6896
          sparc*-*linux*)
 
6897
            LD="${LD-ld} -m elf64_sparc"
 
6898
            ;;
 
6899
        esac
 
6900
        ;;
 
6901
    esac
 
6902
  fi
 
6903
  rm -rf conftest*
 
6904
  ;;
 
6905
 
 
6906
*-*-sco3.2v5*)
 
6907
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6908
  SAVE_CFLAGS="$CFLAGS"
 
6909
  CFLAGS="$CFLAGS -belf"
 
6910
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
6911
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6912
if ${lt_cv_cc_needs_belf+:} false; then :
 
6913
  $as_echo_n "(cached) " >&6
 
6914
else
 
6915
  ac_ext=c
 
6916
ac_cpp='$CPP $CPPFLAGS'
 
6917
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6918
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6919
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6920
 
 
6921
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6922
/* end confdefs.h.  */
 
6923
 
 
6924
int
 
6925
main ()
 
6926
{
 
6927
 
 
6928
  ;
 
6929
  return 0;
 
6930
}
 
6931
_ACEOF
 
6932
if ac_fn_c_try_link "$LINENO"; then :
 
6933
  lt_cv_cc_needs_belf=yes
 
6934
else
 
6935
  lt_cv_cc_needs_belf=no
 
6936
fi
 
6937
rm -f core conftest.err conftest.$ac_objext \
 
6938
    conftest$ac_exeext conftest.$ac_ext
 
6939
     ac_ext=c
 
6940
ac_cpp='$CPP $CPPFLAGS'
 
6941
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6942
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6943
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6944
 
 
6945
fi
 
6946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
6947
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6948
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6949
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6950
    CFLAGS="$SAVE_CFLAGS"
 
6951
  fi
 
6952
  ;;
 
6953
*-*solaris*)
 
6954
  # Find out which ABI we are using.
 
6955
  echo 'int i;' > conftest.$ac_ext
 
6956
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6957
  (eval $ac_compile) 2>&5
 
6958
  ac_status=$?
 
6959
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6960
  test $ac_status = 0; }; then
 
6961
    case `/usr/bin/file conftest.o` in
 
6962
    *64-bit*)
 
6963
      case $lt_cv_prog_gnu_ld in
 
6964
      yes*)
 
6965
        case $host in
 
6966
        i?86-*-solaris*)
 
6967
          LD="${LD-ld} -m elf_x86_64"
 
6968
          ;;
 
6969
        sparc*-*-solaris*)
 
6970
          LD="${LD-ld} -m elf64_sparc"
 
6971
          ;;
 
6972
        esac
 
6973
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
6974
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
6975
          LD="${LD-ld}_sol2"
 
6976
        fi
 
6977
        ;;
 
6978
      *)
 
6979
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6980
          LD="${LD-ld} -64"
 
6981
        fi
 
6982
        ;;
 
6983
      esac
 
6984
      ;;
 
6985
    esac
 
6986
  fi
 
6987
  rm -rf conftest*
 
6988
  ;;
 
6989
esac
 
6990
 
 
6991
need_locks="$enable_libtool_lock"
 
6992
 
 
6993
if test -n "$ac_tool_prefix"; then
 
6994
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6995
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6997
$as_echo_n "checking for $ac_word... " >&6; }
 
6998
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6999
  $as_echo_n "(cached) " >&6
 
7000
else
 
7001
  if test -n "$MANIFEST_TOOL"; then
 
7002
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
7003
else
 
7004
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7005
for as_dir in $PATH
 
7006
do
 
7007
  IFS=$as_save_IFS
 
7008
  test -z "$as_dir" && as_dir=.
 
7009
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7010
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7011
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
7012
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7013
    break 2
 
7014
  fi
 
7015
done
 
7016
  done
 
7017
IFS=$as_save_IFS
 
7018
 
 
7019
fi
 
7020
fi
 
7021
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
7022
if test -n "$MANIFEST_TOOL"; then
 
7023
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
7024
$as_echo "$MANIFEST_TOOL" >&6; }
 
7025
else
 
7026
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7027
$as_echo "no" >&6; }
 
7028
fi
 
7029
 
 
7030
 
 
7031
fi
 
7032
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
7033
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
7034
  # Extract the first word of "mt", so it can be a program name with args.
 
7035
set dummy mt; ac_word=$2
 
7036
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7037
$as_echo_n "checking for $ac_word... " >&6; }
 
7038
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
7039
  $as_echo_n "(cached) " >&6
 
7040
else
 
7041
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7042
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
7043
else
 
7044
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7045
for as_dir in $PATH
 
7046
do
 
7047
  IFS=$as_save_IFS
 
7048
  test -z "$as_dir" && as_dir=.
 
7049
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7050
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7051
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
7052
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7053
    break 2
 
7054
  fi
 
7055
done
 
7056
  done
 
7057
IFS=$as_save_IFS
 
7058
 
 
7059
fi
 
7060
fi
 
7061
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
7062
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7063
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
7064
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
7065
else
 
7066
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7067
$as_echo "no" >&6; }
 
7068
fi
 
7069
 
 
7070
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
7071
    MANIFEST_TOOL=":"
 
7072
  else
 
7073
    case $cross_compiling:$ac_tool_warned in
 
7074
yes:)
 
7075
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7076
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7077
ac_tool_warned=yes ;;
 
7078
esac
 
7079
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
7080
  fi
 
7081
else
 
7082
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
7083
fi
 
7084
 
 
7085
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
7086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
7087
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
7088
if ${lt_cv_path_mainfest_tool+:} false; then :
 
7089
  $as_echo_n "(cached) " >&6
 
7090
else
 
7091
  lt_cv_path_mainfest_tool=no
 
7092
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
7093
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
7094
  cat conftest.err >&5
 
7095
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
7096
    lt_cv_path_mainfest_tool=yes
 
7097
  fi
 
7098
  rm -f conftest*
 
7099
fi
 
7100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
7101
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
7102
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
7103
  MANIFEST_TOOL=:
 
7104
fi
 
7105
 
 
7106
    
 
7107
    
 
7108
    
 
7109
 
 
7110
 
 
7111
  case $host_os in
 
7112
    rhapsody* | darwin*)
 
7113
    if test -n "$ac_tool_prefix"; then
 
7114
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
7115
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
7116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7117
$as_echo_n "checking for $ac_word... " >&6; }
 
7118
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
7119
  $as_echo_n "(cached) " >&6
 
7120
else
 
7121
  if test -n "$DSYMUTIL"; then
 
7122
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
7123
else
 
7124
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7125
for as_dir in $PATH
 
7126
do
 
7127
  IFS=$as_save_IFS
 
7128
  test -z "$as_dir" && as_dir=.
 
7129
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7130
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7131
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7132
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7133
    break 2
 
7134
  fi
 
7135
done
 
7136
  done
 
7137
IFS=$as_save_IFS
 
7138
 
 
7139
fi
 
7140
fi
 
7141
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7142
if test -n "$DSYMUTIL"; then
 
7143
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
7144
$as_echo "$DSYMUTIL" >&6; }
 
7145
else
 
7146
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7147
$as_echo "no" >&6; }
 
7148
fi
 
7149
 
 
7150
 
 
7151
fi
 
7152
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7153
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7154
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7155
set dummy dsymutil; ac_word=$2
 
7156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7157
$as_echo_n "checking for $ac_word... " >&6; }
 
7158
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
7159
  $as_echo_n "(cached) " >&6
 
7160
else
 
7161
  if test -n "$ac_ct_DSYMUTIL"; then
 
7162
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7163
else
 
7164
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7165
for as_dir in $PATH
 
7166
do
 
7167
  IFS=$as_save_IFS
 
7168
  test -z "$as_dir" && as_dir=.
 
7169
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7170
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7171
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7172
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7173
    break 2
 
7174
  fi
 
7175
done
 
7176
  done
 
7177
IFS=$as_save_IFS
 
7178
 
 
7179
fi
 
7180
fi
 
7181
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7182
if test -n "$ac_ct_DSYMUTIL"; then
 
7183
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
7184
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
7185
else
 
7186
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7187
$as_echo "no" >&6; }
 
7188
fi
 
7189
 
 
7190
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7191
    DSYMUTIL=":"
 
7192
  else
 
7193
    case $cross_compiling:$ac_tool_warned in
 
7194
yes:)
 
7195
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7196
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7197
ac_tool_warned=yes ;;
 
7198
esac
 
7199
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7200
  fi
 
7201
else
 
7202
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7203
fi
 
7204
 
 
7205
    if test -n "$ac_tool_prefix"; then
 
7206
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7207
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7209
$as_echo_n "checking for $ac_word... " >&6; }
 
7210
if ${ac_cv_prog_NMEDIT+:} false; then :
 
7211
  $as_echo_n "(cached) " >&6
 
7212
else
 
7213
  if test -n "$NMEDIT"; then
 
7214
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7215
else
 
7216
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7217
for as_dir in $PATH
 
7218
do
 
7219
  IFS=$as_save_IFS
 
7220
  test -z "$as_dir" && as_dir=.
 
7221
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7222
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7223
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7224
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7225
    break 2
 
7226
  fi
 
7227
done
 
7228
  done
 
7229
IFS=$as_save_IFS
 
7230
 
 
7231
fi
 
7232
fi
 
7233
NMEDIT=$ac_cv_prog_NMEDIT
 
7234
if test -n "$NMEDIT"; then
 
7235
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
7236
$as_echo "$NMEDIT" >&6; }
 
7237
else
 
7238
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7239
$as_echo "no" >&6; }
 
7240
fi
 
7241
 
 
7242
 
 
7243
fi
 
7244
if test -z "$ac_cv_prog_NMEDIT"; then
 
7245
  ac_ct_NMEDIT=$NMEDIT
 
7246
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7247
set dummy nmedit; ac_word=$2
 
7248
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7249
$as_echo_n "checking for $ac_word... " >&6; }
 
7250
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
7251
  $as_echo_n "(cached) " >&6
 
7252
else
 
7253
  if test -n "$ac_ct_NMEDIT"; then
 
7254
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7255
else
 
7256
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7257
for as_dir in $PATH
 
7258
do
 
7259
  IFS=$as_save_IFS
 
7260
  test -z "$as_dir" && as_dir=.
 
7261
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7262
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7263
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7264
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7265
    break 2
 
7266
  fi
 
7267
done
 
7268
  done
 
7269
IFS=$as_save_IFS
 
7270
 
 
7271
fi
 
7272
fi
 
7273
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7274
if test -n "$ac_ct_NMEDIT"; then
 
7275
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
7276
$as_echo "$ac_ct_NMEDIT" >&6; }
 
7277
else
 
7278
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7279
$as_echo "no" >&6; }
 
7280
fi
 
7281
 
 
7282
  if test "x$ac_ct_NMEDIT" = x; then
 
7283
    NMEDIT=":"
 
7284
  else
 
7285
    case $cross_compiling:$ac_tool_warned in
 
7286
yes:)
 
7287
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7288
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7289
ac_tool_warned=yes ;;
 
7290
esac
 
7291
    NMEDIT=$ac_ct_NMEDIT
 
7292
  fi
 
7293
else
 
7294
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7295
fi
 
7296
 
 
7297
    if test -n "$ac_tool_prefix"; then
 
7298
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
7299
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
7300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7301
$as_echo_n "checking for $ac_word... " >&6; }
 
7302
if ${ac_cv_prog_LIPO+:} false; then :
 
7303
  $as_echo_n "(cached) " >&6
 
7304
else
 
7305
  if test -n "$LIPO"; then
 
7306
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
7307
else
 
7308
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7309
for as_dir in $PATH
 
7310
do
 
7311
  IFS=$as_save_IFS
 
7312
  test -z "$as_dir" && as_dir=.
 
7313
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7314
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7315
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
7316
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7317
    break 2
 
7318
  fi
 
7319
done
 
7320
  done
 
7321
IFS=$as_save_IFS
 
7322
 
 
7323
fi
 
7324
fi
 
7325
LIPO=$ac_cv_prog_LIPO
 
7326
if test -n "$LIPO"; then
 
7327
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
7328
$as_echo "$LIPO" >&6; }
 
7329
else
 
7330
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7331
$as_echo "no" >&6; }
 
7332
fi
 
7333
 
 
7334
 
 
7335
fi
 
7336
if test -z "$ac_cv_prog_LIPO"; then
 
7337
  ac_ct_LIPO=$LIPO
 
7338
  # Extract the first word of "lipo", so it can be a program name with args.
 
7339
set dummy lipo; ac_word=$2
 
7340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7341
$as_echo_n "checking for $ac_word... " >&6; }
 
7342
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
7343
  $as_echo_n "(cached) " >&6
 
7344
else
 
7345
  if test -n "$ac_ct_LIPO"; then
 
7346
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
7347
else
 
7348
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7349
for as_dir in $PATH
 
7350
do
 
7351
  IFS=$as_save_IFS
 
7352
  test -z "$as_dir" && as_dir=.
 
7353
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7354
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7355
    ac_cv_prog_ac_ct_LIPO="lipo"
 
7356
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7357
    break 2
 
7358
  fi
 
7359
done
 
7360
  done
 
7361
IFS=$as_save_IFS
 
7362
 
 
7363
fi
 
7364
fi
 
7365
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
7366
if test -n "$ac_ct_LIPO"; then
 
7367
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
7368
$as_echo "$ac_ct_LIPO" >&6; }
 
7369
else
 
7370
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7371
$as_echo "no" >&6; }
 
7372
fi
 
7373
 
 
7374
  if test "x$ac_ct_LIPO" = x; then
 
7375
    LIPO=":"
 
7376
  else
 
7377
    case $cross_compiling:$ac_tool_warned in
 
7378
yes:)
 
7379
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7380
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7381
ac_tool_warned=yes ;;
 
7382
esac
 
7383
    LIPO=$ac_ct_LIPO
 
7384
  fi
 
7385
else
 
7386
  LIPO="$ac_cv_prog_LIPO"
 
7387
fi
 
7388
 
 
7389
    if test -n "$ac_tool_prefix"; then
 
7390
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
7391
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
7392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7393
$as_echo_n "checking for $ac_word... " >&6; }
 
7394
if ${ac_cv_prog_OTOOL+:} false; then :
 
7395
  $as_echo_n "(cached) " >&6
 
7396
else
 
7397
  if test -n "$OTOOL"; then
 
7398
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
7399
else
 
7400
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7401
for as_dir in $PATH
 
7402
do
 
7403
  IFS=$as_save_IFS
 
7404
  test -z "$as_dir" && as_dir=.
 
7405
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7406
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7407
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
7408
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7409
    break 2
 
7410
  fi
 
7411
done
 
7412
  done
 
7413
IFS=$as_save_IFS
 
7414
 
 
7415
fi
 
7416
fi
 
7417
OTOOL=$ac_cv_prog_OTOOL
 
7418
if test -n "$OTOOL"; then
 
7419
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
7420
$as_echo "$OTOOL" >&6; }
 
7421
else
 
7422
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7423
$as_echo "no" >&6; }
 
7424
fi
 
7425
 
 
7426
 
 
7427
fi
 
7428
if test -z "$ac_cv_prog_OTOOL"; then
 
7429
  ac_ct_OTOOL=$OTOOL
 
7430
  # Extract the first word of "otool", so it can be a program name with args.
 
7431
set dummy otool; ac_word=$2
 
7432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7433
$as_echo_n "checking for $ac_word... " >&6; }
 
7434
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
7435
  $as_echo_n "(cached) " >&6
 
7436
else
 
7437
  if test -n "$ac_ct_OTOOL"; then
 
7438
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
7439
else
 
7440
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7441
for as_dir in $PATH
 
7442
do
 
7443
  IFS=$as_save_IFS
 
7444
  test -z "$as_dir" && as_dir=.
 
7445
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7446
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7447
    ac_cv_prog_ac_ct_OTOOL="otool"
 
7448
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7449
    break 2
 
7450
  fi
 
7451
done
 
7452
  done
 
7453
IFS=$as_save_IFS
 
7454
 
 
7455
fi
 
7456
fi
 
7457
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
7458
if test -n "$ac_ct_OTOOL"; then
 
7459
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
7460
$as_echo "$ac_ct_OTOOL" >&6; }
 
7461
else
 
7462
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7463
$as_echo "no" >&6; }
 
7464
fi
 
7465
 
 
7466
  if test "x$ac_ct_OTOOL" = x; then
 
7467
    OTOOL=":"
 
7468
  else
 
7469
    case $cross_compiling:$ac_tool_warned in
 
7470
yes:)
 
7471
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7472
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7473
ac_tool_warned=yes ;;
 
7474
esac
 
7475
    OTOOL=$ac_ct_OTOOL
 
7476
  fi
 
7477
else
 
7478
  OTOOL="$ac_cv_prog_OTOOL"
 
7479
fi
 
7480
 
 
7481
    if test -n "$ac_tool_prefix"; then
 
7482
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
7483
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
7484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7485
$as_echo_n "checking for $ac_word... " >&6; }
 
7486
if ${ac_cv_prog_OTOOL64+:} false; then :
 
7487
  $as_echo_n "(cached) " >&6
 
7488
else
 
7489
  if test -n "$OTOOL64"; then
 
7490
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
7491
else
 
7492
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7493
for as_dir in $PATH
 
7494
do
 
7495
  IFS=$as_save_IFS
 
7496
  test -z "$as_dir" && as_dir=.
 
7497
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7498
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7499
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
7500
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7501
    break 2
 
7502
  fi
 
7503
done
 
7504
  done
 
7505
IFS=$as_save_IFS
 
7506
 
 
7507
fi
 
7508
fi
 
7509
OTOOL64=$ac_cv_prog_OTOOL64
 
7510
if test -n "$OTOOL64"; then
 
7511
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
7512
$as_echo "$OTOOL64" >&6; }
 
7513
else
 
7514
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7515
$as_echo "no" >&6; }
 
7516
fi
 
7517
 
 
7518
 
 
7519
fi
 
7520
if test -z "$ac_cv_prog_OTOOL64"; then
 
7521
  ac_ct_OTOOL64=$OTOOL64
 
7522
  # Extract the first word of "otool64", so it can be a program name with args.
 
7523
set dummy otool64; ac_word=$2
 
7524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7525
$as_echo_n "checking for $ac_word... " >&6; }
 
7526
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
7527
  $as_echo_n "(cached) " >&6
 
7528
else
 
7529
  if test -n "$ac_ct_OTOOL64"; then
 
7530
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
7531
else
 
7532
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7533
for as_dir in $PATH
 
7534
do
 
7535
  IFS=$as_save_IFS
 
7536
  test -z "$as_dir" && as_dir=.
 
7537
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7538
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7539
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
7540
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7541
    break 2
 
7542
  fi
 
7543
done
 
7544
  done
 
7545
IFS=$as_save_IFS
 
7546
 
 
7547
fi
 
7548
fi
 
7549
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
7550
if test -n "$ac_ct_OTOOL64"; then
 
7551
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
7552
$as_echo "$ac_ct_OTOOL64" >&6; }
 
7553
else
 
7554
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7555
$as_echo "no" >&6; }
 
7556
fi
 
7557
 
 
7558
  if test "x$ac_ct_OTOOL64" = x; then
 
7559
    OTOOL64=":"
 
7560
  else
 
7561
    case $cross_compiling:$ac_tool_warned in
 
7562
yes:)
 
7563
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7564
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7565
ac_tool_warned=yes ;;
 
7566
esac
 
7567
    OTOOL64=$ac_ct_OTOOL64
 
7568
  fi
 
7569
else
 
7570
  OTOOL64="$ac_cv_prog_OTOOL64"
 
7571
fi
 
7572
 
 
7573
    
 
7574
    
 
7575
    
 
7576
    
 
7577
 
 
7578
    
 
7579
    
 
7580
    
 
7581
    
 
7582
 
 
7583
    
 
7584
    
 
7585
    
 
7586
    
 
7587
 
 
7588
    
 
7589
    
 
7590
    
 
7591
    
 
7592
 
 
7593
    
 
7594
    
 
7595
    
 
7596
    
 
7597
 
 
7598
 
 
7599
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
7600
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7601
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
7602
  $as_echo_n "(cached) " >&6
 
7603
else
 
7604
  lt_cv_apple_cc_single_mod=no
 
7605
      if test -z "${LT_MULTI_MODULE}"; then
 
7606
        # By default we will add the -single_module flag. You can override
 
7607
        # by either setting the environment variable LT_MULTI_MODULE
 
7608
        # non-empty at configure time, or by adding -multi_module to the
 
7609
        # link flags.
 
7610
        rm -rf libconftest.dylib*
 
7611
        echo "int foo(void){return 1;}" > conftest.c
 
7612
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7613
-dynamiclib -Wl,-single_module conftest.c" >&5
 
7614
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7615
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
7616
        _lt_result=$?
 
7617
        # If there is a non-empty error log, and "single_module"
 
7618
        # appears in it, assume the flag caused a linker warning
 
7619
        if test -s conftest.err && $GREP single_module conftest.err; then
 
7620
          cat conftest.err >&5
 
7621
        # Otherwise, if the output was created with a 0 exit code from
 
7622
        # the compiler, it worked.
 
7623
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
 
7624
          lt_cv_apple_cc_single_mod=yes
 
7625
        else
 
7626
          cat conftest.err >&5
 
7627
        fi
 
7628
        rm -rf libconftest.dylib*
 
7629
        rm -f conftest.*
 
7630
      fi
 
7631
fi
 
7632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
7633
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7634
 
 
7635
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
7636
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7637
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
7638
  $as_echo_n "(cached) " >&6
 
7639
else
 
7640
  lt_cv_ld_exported_symbols_list=no
 
7641
      save_LDFLAGS=$LDFLAGS
 
7642
      echo "_main" > conftest.sym
 
7643
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7644
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7645
/* end confdefs.h.  */
 
7646
 
 
7647
int
 
7648
main ()
 
7649
{
 
7650
 
 
7651
  ;
 
7652
  return 0;
 
7653
}
 
7654
_ACEOF
 
7655
if ac_fn_c_try_link "$LINENO"; then :
 
7656
  lt_cv_ld_exported_symbols_list=yes
 
7657
else
 
7658
  lt_cv_ld_exported_symbols_list=no
 
7659
fi
 
7660
rm -f core conftest.err conftest.$ac_objext \
 
7661
    conftest$ac_exeext conftest.$ac_ext
 
7662
        LDFLAGS="$save_LDFLAGS"
 
7663
    
 
7664
fi
 
7665
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
7666
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7667
 
 
7668
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7669
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7670
if ${lt_cv_ld_force_load+:} false; then :
 
7671
  $as_echo_n "(cached) " >&6
 
7672
else
 
7673
  lt_cv_ld_force_load=no
 
7674
      cat > conftest.c << _LT_EOF
 
7675
int forced_loaded() { return 2;}
 
7676
_LT_EOF
 
7677
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7678
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7679
      echo "$AR cru libconftest.a conftest.o" >&5
 
7680
      $AR cru libconftest.a conftest.o 2>&5
 
7681
      echo "$RANLIB libconftest.a" >&5
 
7682
      $RANLIB libconftest.a 2>&5
 
7683
      cat > conftest.c << _LT_EOF
 
7684
int main() { return 0;}
 
7685
_LT_EOF
 
7686
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7687
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7688
      _lt_result=$?
 
7689
      if test -s conftest.err && $GREP force_load conftest.err; then
 
7690
        cat conftest.err >&5
 
7691
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
7692
        lt_cv_ld_force_load=yes
 
7693
      else
 
7694
        cat conftest.err >&5
 
7695
      fi
 
7696
        rm -f conftest.err libconftest.a conftest conftest.c
 
7697
        rm -rf conftest.dSYM
 
7698
    
 
7699
fi
 
7700
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7701
$as_echo "$lt_cv_ld_force_load" >&6; }
 
7702
    case $host_os in
 
7703
    rhapsody* | darwin1.[012])
 
7704
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7705
    darwin1.*)
 
7706
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7707
    darwin*) # darwin 5.x on
 
7708
      # if running on 10.5 or later, the deployment target defaults
 
7709
      # to the OS version, if on x86, and 10.4, the deployment
 
7710
      # target defaults to 10.4. Don't you love it?
 
7711
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7712
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7713
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7714
        10.[012]*)
 
7715
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7716
        10.*)
 
7717
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7718
      esac
 
7719
    ;;
 
7720
  esac
 
7721
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7722
      _lt_dar_single_mod='$single_module'
 
7723
    fi
 
7724
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7725
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7726
    else
 
7727
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7728
    fi
 
7729
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
7730
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
7731
    else
 
7732
      _lt_dsymutil=
 
7733
    fi
 
7734
    ;;
 
7735
  esac
 
7736
 
 
7737
ac_ext=c
 
7738
ac_cpp='$CPP $CPPFLAGS'
 
7739
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7740
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7741
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
7743
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
7744
# On Suns, sometimes $CPP names a directory.
 
7745
if test -n "$CPP" && test -d "$CPP"; then
 
7746
  CPP=
 
7747
fi
 
7748
if test -z "$CPP"; then
 
7749
  if ${ac_cv_prog_CPP+:} false; then :
 
7750
  $as_echo_n "(cached) " >&6
 
7751
else
 
7752
      # Double quotes because CPP needs to be expanded
 
7753
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
7754
    do
 
7755
      ac_preproc_ok=false
 
7756
for ac_c_preproc_warn_flag in '' yes
 
7757
do
 
7758
  # Use a header file that comes with gcc, so configuring glibc
 
7759
  # with a fresh cross-compiler works.
 
7760
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7761
  # <limits.h> exists even on freestanding compilers.
 
7762
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7763
  # not just through cpp. "Syntax error" is here to catch this case.
 
7764
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7765
/* end confdefs.h.  */
 
7766
@%:@ifdef __STDC__
 
7767
@%:@ include <limits.h>
 
7768
@%:@else
 
7769
@%:@ include <assert.h>
 
7770
@%:@endif
 
7771
                     Syntax error
 
7772
_ACEOF
 
7773
if ac_fn_c_try_cpp "$LINENO"; then :
 
7774
  
 
7775
else
 
7776
  # Broken: fails on valid input.
 
7777
continue
 
7778
fi
 
7779
rm -f conftest.err conftest.i conftest.$ac_ext
 
7780
 
 
7781
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7782
  # can be detected and how.
 
7783
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7784
/* end confdefs.h.  */
 
7785
@%:@include <ac_nonexistent.h>
 
7786
_ACEOF
 
7787
if ac_fn_c_try_cpp "$LINENO"; then :
 
7788
  # Broken: success on invalid input.
 
7789
continue
 
7790
else
 
7791
  # Passes both tests.
 
7792
ac_preproc_ok=:
 
7793
break
 
7794
fi
 
7795
rm -f conftest.err conftest.i conftest.$ac_ext
 
7796
 
 
7797
done
 
7798
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7799
rm -f conftest.i conftest.err conftest.$ac_ext
 
7800
if $ac_preproc_ok; then :
 
7801
  break
 
7802
fi
 
7803
 
 
7804
    done
 
7805
    ac_cv_prog_CPP=$CPP
 
7806
  
 
7807
fi
 
7808
  CPP=$ac_cv_prog_CPP
 
7809
else
 
7810
  ac_cv_prog_CPP=$CPP
 
7811
fi
 
7812
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
7813
$as_echo "$CPP" >&6; }
 
7814
ac_preproc_ok=false
 
7815
for ac_c_preproc_warn_flag in '' yes
 
7816
do
 
7817
  # Use a header file that comes with gcc, so configuring glibc
 
7818
  # with a fresh cross-compiler works.
 
7819
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7820
  # <limits.h> exists even on freestanding compilers.
 
7821
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7822
  # not just through cpp. "Syntax error" is here to catch this case.
 
7823
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7824
/* end confdefs.h.  */
 
7825
@%:@ifdef __STDC__
 
7826
@%:@ include <limits.h>
 
7827
@%:@else
 
7828
@%:@ include <assert.h>
 
7829
@%:@endif
 
7830
                     Syntax error
 
7831
_ACEOF
 
7832
if ac_fn_c_try_cpp "$LINENO"; then :
 
7833
  
 
7834
else
 
7835
  # Broken: fails on valid input.
 
7836
continue
 
7837
fi
 
7838
rm -f conftest.err conftest.i conftest.$ac_ext
 
7839
 
 
7840
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7841
  # can be detected and how.
 
7842
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7843
/* end confdefs.h.  */
 
7844
@%:@include <ac_nonexistent.h>
 
7845
_ACEOF
 
7846
if ac_fn_c_try_cpp "$LINENO"; then :
 
7847
  # Broken: success on invalid input.
 
7848
continue
 
7849
else
 
7850
  # Passes both tests.
 
7851
ac_preproc_ok=:
 
7852
break
 
7853
fi
 
7854
rm -f conftest.err conftest.i conftest.$ac_ext
 
7855
 
 
7856
done
 
7857
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7858
rm -f conftest.i conftest.err conftest.$ac_ext
 
7859
if $ac_preproc_ok; then :
 
7860
  
 
7861
else
 
7862
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
7863
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7864
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
7865
See \`config.log' for more details" "$LINENO" 5; }
 
7866
fi
 
7867
 
 
7868
ac_ext=c
 
7869
ac_cpp='$CPP $CPPFLAGS'
 
7870
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7871
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7872
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7873
 
 
7874
 
 
7875
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
7876
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7877
if ${ac_cv_header_stdc+:} false; then :
 
7878
  $as_echo_n "(cached) " >&6
 
7879
else
 
7880
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7881
/* end confdefs.h.  */
 
7882
#include <stdlib.h>
 
7883
#include <stdarg.h>
 
7884
#include <string.h>
 
7885
#include <float.h>
 
7886
 
 
7887
int
 
7888
main ()
 
7889
{
 
7890
 
 
7891
  ;
 
7892
  return 0;
 
7893
}
 
7894
_ACEOF
 
7895
if ac_fn_c_try_compile "$LINENO"; then :
 
7896
  ac_cv_header_stdc=yes
 
7897
else
 
7898
  ac_cv_header_stdc=no
 
7899
fi
 
7900
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7901
 
 
7902
if test $ac_cv_header_stdc = yes; then
 
7903
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
7904
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7905
/* end confdefs.h.  */
 
7906
#include <string.h>
 
7907
 
 
7908
_ACEOF
 
7909
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7910
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7911
  
 
7912
else
 
7913
  ac_cv_header_stdc=no
 
7914
fi
 
7915
rm -f conftest*
 
7916
 
 
7917
fi
 
7918
 
 
7919
if test $ac_cv_header_stdc = yes; then
 
7920
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
7921
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7922
/* end confdefs.h.  */
 
7923
#include <stdlib.h>
 
7924
 
 
7925
_ACEOF
 
7926
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7927
  $EGREP "free" >/dev/null 2>&1; then :
 
7928
  
 
7929
else
 
7930
  ac_cv_header_stdc=no
 
7931
fi
 
7932
rm -f conftest*
 
7933
 
 
7934
fi
 
7935
 
 
7936
if test $ac_cv_header_stdc = yes; then
 
7937
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
7938
  if test "$cross_compiling" = yes; then :
 
7939
  :
 
7940
else
 
7941
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7942
/* end confdefs.h.  */
 
7943
#include <ctype.h>
 
7944
#include <stdlib.h>
 
7945
#if ((' ' & 0x0FF) == 0x020)
 
7946
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
7947
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
7948
#else
 
7949
# define ISLOWER(c) \
 
7950
                   (('a' <= (c) && (c) <= 'i') \
 
7951
                     || ('j' <= (c) && (c) <= 'r') \
 
7952
                     || ('s' <= (c) && (c) <= 'z'))
 
7953
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
7954
#endif
 
7955
 
 
7956
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
7957
int
 
7958
main ()
 
7959
{
 
7960
  int i;
 
7961
  for (i = 0; i < 256; i++)
 
7962
    if (XOR (islower (i), ISLOWER (i))
 
7963
        || toupper (i) != TOUPPER (i))
 
7964
      return 2;
 
7965
  return 0;
 
7966
}
 
7967
_ACEOF
 
7968
if ac_fn_c_try_run "$LINENO"; then :
 
7969
  
 
7970
else
 
7971
  ac_cv_header_stdc=no
 
7972
fi
 
7973
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7974
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7975
fi
 
7976
 
 
7977
fi
 
7978
fi
 
7979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
7980
$as_echo "$ac_cv_header_stdc" >&6; }
 
7981
if test $ac_cv_header_stdc = yes; then
 
7982
  
 
7983
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
 
7984
 
 
7985
fi
 
7986
 
 
7987
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7988
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7989
                  inttypes.h stdint.h unistd.h
 
7990
do :
 
7991
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7992
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7993
"
 
7994
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
7995
  cat >>confdefs.h <<_ACEOF
 
7996
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7997
_ACEOF
 
7998
 
 
7999
fi
 
8000
 
 
8001
done
 
8002
 
 
8003
 
 
8004
for ac_header in dlfcn.h
 
8005
do :
 
8006
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
8007
"
 
8008
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
8009
  cat >>confdefs.h <<_ACEOF
 
8010
@%:@define HAVE_DLFCN_H 1
 
8011
_ACEOF
 
8012
 
 
8013
fi
 
8014
 
 
8015
done
 
8016
 
 
8017
 
 
8018
 
 
8019
 
 
8020
 
 
8021
# Set options
 
8022
 
 
8023
 
 
8024
 
 
8025
        enable_dlopen=no
 
8026
  
 
8027
 
 
8028
  enable_win32_dll=no
 
8029
  
 
8030
 
 
8031
            @%:@ Check whether --enable-shared was given.
 
8032
if test "${enable_shared+set}" = set; then :
 
8033
  enableval=$enable_shared; p=${PACKAGE-default}
 
8034
    case $enableval in
 
8035
    yes) enable_shared=yes ;;
 
8036
    no) enable_shared=no ;;
 
8037
    *)
 
8038
      enable_shared=no
 
8039
      # Look at the argument we got.  We use all the common list separators.
 
8040
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8041
      for pkg in $enableval; do
 
8042
        IFS="$lt_save_ifs"
 
8043
        if test "X$pkg" = "X$p"; then
 
8044
          enable_shared=yes
 
8045
        fi
 
8046
      done
 
8047
      IFS="$lt_save_ifs"
 
8048
      ;;
 
8049
    esac
 
8050
else
 
8051
  enable_shared=yes
 
8052
fi
 
8053
 
 
8054
 
 
8055
    
 
8056
    
 
8057
    
 
8058
    
 
8059
 
 
8060
 
 
8061
 
 
8062
  
 
8063
  
 
8064
@%:@ Check whether --with-pic was given.
 
8065
if test "${with_pic+set}" = set; then :
 
8066
  withval=$with_pic; lt_p=${PACKAGE-default}
 
8067
    case $withval in
 
8068
    yes|no) pic_mode=$withval ;;
 
8069
    *)
 
8070
      pic_mode=default
 
8071
      # Look at the argument we got.  We use all the common list separators.
 
8072
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8073
      for lt_pkg in $withval; do
 
8074
        IFS="$lt_save_ifs"
 
8075
        if test "X$lt_pkg" = "X$lt_p"; then
 
8076
          pic_mode=yes
 
8077
        fi
 
8078
      done
 
8079
      IFS="$lt_save_ifs"
 
8080
      ;;
 
8081
    esac
 
8082
else
 
8083
  pic_mode=default
 
8084
fi
 
8085
 
 
8086
 
 
8087
test -z "$pic_mode" && pic_mode=default
 
8088
 
 
8089
 
 
8090
    
 
8091
    
 
8092
    
 
8093
 
 
8094
 
 
8095
  @%:@ Check whether --enable-fast-install was given.
 
8096
if test "${enable_fast_install+set}" = set; then :
 
8097
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
8098
    case $enableval in
 
8099
    yes) enable_fast_install=yes ;;
 
8100
    no) enable_fast_install=no ;;
 
8101
    *)
 
8102
      enable_fast_install=no
 
8103
      # Look at the argument we got.  We use all the common list separators.
 
8104
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8105
      for pkg in $enableval; do
 
8106
        IFS="$lt_save_ifs"
 
8107
        if test "X$pkg" = "X$p"; then
 
8108
          enable_fast_install=yes
 
8109
        fi
 
8110
      done
 
8111
      IFS="$lt_save_ifs"
 
8112
      ;;
 
8113
    esac
 
8114
else
 
8115
  enable_fast_install=yes
 
8116
fi
 
8117
 
 
8118
 
 
8119
 
 
8120
    
 
8121
    
 
8122
    
 
8123
 
 
8124
 
 
8125
  
 
8126
 
 
8127
 
 
8128
# This can be used to rebuild libtool when needed
 
8129
LIBTOOL_DEPS="$ltmain"
 
8130
 
 
8131
# Always use our own libtool.
 
8132
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
8133
 
 
8134
 
 
8135
 
 
8136
    
 
8137
    
 
8138
    
 
8139
 
 
8140
    
 
8141
    
 
8142
    
 
8143
 
 
8144
    
 
8145
    
 
8146
    
 
8147
 
 
8148
    
 
8149
    
 
8150
    
 
8151
 
 
8152
    
 
8153
    
 
8154
    
 
8155
 
 
8156
    
 
8157
    
 
8158
    
 
8159
 
 
8160
    
 
8161
    
 
8162
    
 
8163
test -z "$LN_S" && LN_S="ln -s"
 
8164
 
 
8165
    
 
8166
    
 
8167
    
 
8168
 
 
8169
    
 
8170
    
 
8171
    
 
8172
 
 
8173
    
 
8174
    
 
8175
    
 
8176
 
 
8177
 
 
8178
if test -n "${ZSH_VERSION+set}" ; then
 
8179
   setopt NO_GLOB_SUBST
 
8180
fi
 
8181
 
 
8182
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
8183
$as_echo_n "checking for objdir... " >&6; }
 
8184
if ${lt_cv_objdir+:} false; then :
 
8185
  $as_echo_n "(cached) " >&6
 
8186
else
 
8187
  rm -f .libs 2>/dev/null
 
8188
mkdir .libs 2>/dev/null
 
8189
if test -d .libs; then
 
8190
  lt_cv_objdir=.libs
 
8191
else
 
8192
  # MS-DOS does not allow filenames that begin with a dot.
 
8193
  lt_cv_objdir=_libs
 
8194
fi
 
8195
rmdir .libs 2>/dev/null
 
8196
fi
 
8197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
8198
$as_echo "$lt_cv_objdir" >&6; }
 
8199
objdir=$lt_cv_objdir
 
8200
 
 
8201
    
 
8202
    
 
8203
    
 
8204
 
 
8205
cat >>confdefs.h <<_ACEOF
 
8206
@%:@define LT_OBJDIR "$lt_cv_objdir/"
 
8207
_ACEOF
 
8208
 
 
8209
 
 
8210
 
 
8211
 
 
8212
case $host_os in
 
8213
aix3*)
 
8214
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
8215
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
8216
  # vanish in a puff of smoke.
 
8217
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
8218
    COLLECT_NAMES=
 
8219
    export COLLECT_NAMES
 
8220
  fi
 
8221
  ;;
 
8222
esac
 
8223
 
 
8224
# Global variables:
 
8225
ofile=libtool
 
8226
can_build_shared=yes
 
8227
 
 
8228
# All known linkers require a `.a' archive for static linking (except MSVC,
 
8229
# which needs '.lib').
 
8230
libext=a
 
8231
 
 
8232
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
8233
 
 
8234
old_CC="$CC"
 
8235
old_CFLAGS="$CFLAGS"
 
8236
 
 
8237
# Set sane defaults for various variables
 
8238
test -z "$CC" && CC=cc
 
8239
test -z "$LTCC" && LTCC=$CC
 
8240
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
8241
test -z "$LD" && LD=ld
 
8242
test -z "$ac_objext" && ac_objext=o
 
8243
 
 
8244
for cc_temp in $compiler""; do
 
8245
  case $cc_temp in
 
8246
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8247
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8248
    \-*) ;;
 
8249
    *) break;;
 
8250
  esac
 
8251
done
 
8252
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
8253
 
 
8254
 
 
8255
# Only perform the check for file, if the check method requires it
 
8256
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
8257
case $deplibs_check_method in
 
8258
file_magic*)
 
8259
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
8260
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
8261
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
8262
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
8263
  $as_echo_n "(cached) " >&6
 
8264
else
 
8265
  case $MAGIC_CMD in
 
8266
[\\/*] |  ?:[\\/]*)
 
8267
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8268
  ;;
 
8269
*)
 
8270
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8271
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8272
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8273
  for ac_dir in $ac_dummy; do
 
8274
    IFS="$lt_save_ifs"
 
8275
    test -z "$ac_dir" && ac_dir=.
 
8276
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
8277
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
8278
      if test -n "$file_magic_test_file"; then
 
8279
        case $deplibs_check_method in
 
8280
        "file_magic "*)
 
8281
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8282
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8283
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8284
            $EGREP "$file_magic_regex" > /dev/null; then
 
8285
            :
 
8286
          else
 
8287
            cat <<_LT_EOF 1>&2
 
8288
 
 
8289
*** Warning: the command libtool uses to detect shared libraries,
 
8290
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8291
*** The result is that libtool may fail to recognize shared libraries
 
8292
*** as such.  This will affect the creation of libtool libraries that
 
8293
*** depend on shared libraries, but programs linked with such libtool
 
8294
*** libraries will work regardless of this problem.  Nevertheless, you
 
8295
*** may want to report the problem to your system manager and/or to
 
8296
*** bug-libtool@gnu.org
 
8297
 
 
8298
_LT_EOF
 
8299
          fi ;;
 
8300
        esac
 
8301
      fi
 
8302
      break
 
8303
    fi
 
8304
  done
 
8305
  IFS="$lt_save_ifs"
 
8306
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8307
  ;;
 
8308
esac
 
8309
fi
 
8310
 
 
8311
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8312
if test -n "$MAGIC_CMD"; then
 
8313
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8314
$as_echo "$MAGIC_CMD" >&6; }
 
8315
else
 
8316
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8317
$as_echo "no" >&6; }
 
8318
fi
 
8319
 
 
8320
    
 
8321
    
 
8322
    
 
8323
 
 
8324
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
8325
  if test -n "$ac_tool_prefix"; then
 
8326
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
8327
$as_echo_n "checking for file... " >&6; }
 
8328
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
8329
  $as_echo_n "(cached) " >&6
 
8330
else
 
8331
  case $MAGIC_CMD in
 
8332
[\\/*] |  ?:[\\/]*)
 
8333
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8334
  ;;
 
8335
*)
 
8336
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8337
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8338
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8339
  for ac_dir in $ac_dummy; do
 
8340
    IFS="$lt_save_ifs"
 
8341
    test -z "$ac_dir" && ac_dir=.
 
8342
    if test -f $ac_dir/file; then
 
8343
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
8344
      if test -n "$file_magic_test_file"; then
 
8345
        case $deplibs_check_method in
 
8346
        "file_magic "*)
 
8347
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8348
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8349
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8350
            $EGREP "$file_magic_regex" > /dev/null; then
 
8351
            :
 
8352
          else
 
8353
            cat <<_LT_EOF 1>&2
 
8354
 
 
8355
*** Warning: the command libtool uses to detect shared libraries,
 
8356
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8357
*** The result is that libtool may fail to recognize shared libraries
 
8358
*** as such.  This will affect the creation of libtool libraries that
 
8359
*** depend on shared libraries, but programs linked with such libtool
 
8360
*** libraries will work regardless of this problem.  Nevertheless, you
 
8361
*** may want to report the problem to your system manager and/or to
 
8362
*** bug-libtool@gnu.org
 
8363
 
 
8364
_LT_EOF
 
8365
          fi ;;
 
8366
        esac
 
8367
      fi
 
8368
      break
 
8369
    fi
 
8370
  done
 
8371
  IFS="$lt_save_ifs"
 
8372
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8373
  ;;
 
8374
esac
 
8375
fi
 
8376
 
 
8377
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8378
if test -n "$MAGIC_CMD"; then
 
8379
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8380
$as_echo "$MAGIC_CMD" >&6; }
 
8381
else
 
8382
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8383
$as_echo "no" >&6; }
 
8384
fi
 
8385
 
 
8386
 
 
8387
  else
 
8388
    MAGIC_CMD=:
 
8389
  fi
 
8390
fi
 
8391
 
 
8392
  fi
 
8393
  ;;
 
8394
esac
 
8395
 
 
8396
# Use C for the default configuration in the libtool script
 
8397
 
 
8398
lt_save_CC="$CC"
 
8399
ac_ext=c
 
8400
ac_cpp='$CPP $CPPFLAGS'
 
8401
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8402
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8403
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8404
 
 
8405
 
 
8406
# Source file extension for C test sources.
 
8407
ac_ext=c
 
8408
 
 
8409
# Object file extension for compiled C test sources.
 
8410
objext=o
 
8411
objext=$objext
 
8412
 
 
8413
# Code to be used in simple compile tests
 
8414
lt_simple_compile_test_code="int some_variable = 0;"
 
8415
 
 
8416
# Code to be used in simple link tests
 
8417
lt_simple_link_test_code='int main(){return(0);}'
 
8418
 
 
8419
 
 
8420
 
 
8421
 
 
8422
 
 
8423
 
 
8424
 
 
8425
# If no C compiler was specified, use CC.
 
8426
LTCC=${LTCC-"$CC"}
 
8427
 
 
8428
# If no C compiler flags were specified, use CFLAGS.
 
8429
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
8430
 
 
8431
# Allow CC to be a program name with arguments.
 
8432
compiler=$CC
 
8433
 
 
8434
# Save the default compiler, since it gets overwritten when the other
 
8435
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
8436
compiler_DEFAULT=$CC
 
8437
 
 
8438
# save warnings/boilerplate of simple test code
 
8439
ac_outfile=conftest.$ac_objext
 
8440
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
8441
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
8442
_lt_compiler_boilerplate=`cat conftest.err`
 
8443
$RM conftest*
 
8444
 
 
8445
ac_outfile=conftest.$ac_objext
 
8446
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
8447
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
8448
_lt_linker_boilerplate=`cat conftest.err`
 
8449
$RM -r conftest*
 
8450
 
 
8451
 
 
8452
## CAVEAT EMPTOR:
 
8453
## There is no encapsulation within the following macros, do not change
 
8454
## the running order or otherwise move them around unless you know exactly
 
8455
## what you are doing...
 
8456
if test -n "$compiler"; then
 
8457
  
 
8458
lt_prog_compiler_no_builtin_flag=
 
8459
 
 
8460
if test "$GCC" = yes; then
 
8461
  case $cc_basename in
 
8462
  nvcc*)
 
8463
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8464
  *)
 
8465
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8466
  esac
 
8467
 
 
8468
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8469
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
8470
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
8471
  $as_echo_n "(cached) " >&6
 
8472
else
 
8473
  lt_cv_prog_compiler_rtti_exceptions=no
 
8474
   ac_outfile=conftest.$ac_objext
 
8475
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8476
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
8477
   # Insert the option either (1) after the last *FLAGS variable, or
 
8478
   # (2) before a word containing "conftest.", or (3) at the end.
 
8479
   # Note that $ac_compile itself does not contain backslashes and begins
 
8480
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8481
   # The option is referenced via a variable to avoid confusing sed.
 
8482
   lt_compile=`echo "$ac_compile" | $SED \
 
8483
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8484
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8485
   -e 's:$: $lt_compiler_flag:'`
 
8486
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8487
   (eval "$lt_compile" 2>conftest.err)
 
8488
   ac_status=$?
 
8489
   cat conftest.err >&5
 
8490
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8491
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8492
     # The compiler can only warn and ignore the option if not recognized
 
8493
     # So say no if there are warnings other than the usual output.
 
8494
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
8495
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8496
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8497
       lt_cv_prog_compiler_rtti_exceptions=yes
 
8498
     fi
 
8499
   fi
 
8500
   $RM conftest*
 
8501
 
 
8502
fi
 
8503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8504
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8505
 
 
8506
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
8507
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
8508
else
 
8509
    :
 
8510
fi
 
8511
 
 
8512
fi
 
8513
 
 
8514
    
 
8515
    
 
8516
    
 
8517
 
 
8518
 
 
8519
  lt_prog_compiler_wl=
 
8520
lt_prog_compiler_pic=
 
8521
lt_prog_compiler_static=
 
8522
 
 
8523
 
 
8524
  if test "$GCC" = yes; then
 
8525
    lt_prog_compiler_wl='-Wl,'
 
8526
    lt_prog_compiler_static='-static'
 
8527
 
 
8528
    case $host_os in
 
8529
      aix*)
 
8530
      # All AIX code is PIC.
 
8531
      if test "$host_cpu" = ia64; then
 
8532
        # AIX 5 now supports IA64 processor
 
8533
        lt_prog_compiler_static='-Bstatic'
 
8534
      fi
 
8535
      ;;
 
8536
 
 
8537
    amigaos*)
 
8538
      case $host_cpu in
 
8539
      powerpc)
 
8540
            # see comment about AmigaOS4 .so support
 
8541
            lt_prog_compiler_pic='-fPIC'
 
8542
        ;;
 
8543
      m68k)
 
8544
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8545
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8546
            # like `-m68040'.
 
8547
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8548
        ;;
 
8549
      esac
 
8550
      ;;
 
8551
 
 
8552
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8553
      # PIC is the default for these OSes.
 
8554
      ;;
 
8555
 
 
8556
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8557
      # This hack is so that the source file can tell whether it is being
 
8558
      # built for inclusion in a dll (and should export symbols for example).
 
8559
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
8560
      # (--disable-auto-import) libraries
 
8561
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8562
      ;;
 
8563
 
 
8564
    darwin* | rhapsody*)
 
8565
      # PIC is the default on this platform
 
8566
      # Common symbols not allowed in MH_DYLIB files
 
8567
      lt_prog_compiler_pic='-fno-common'
 
8568
      ;;
 
8569
 
 
8570
    haiku*)
 
8571
      # PIC is the default for Haiku.
 
8572
      # The "-static" flag exists, but is broken.
 
8573
      lt_prog_compiler_static=
 
8574
      ;;
 
8575
 
 
8576
    hpux*)
 
8577
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8578
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8579
      # sets the default TLS model and affects inlining.
 
8580
      case $host_cpu in
 
8581
      hppa*64*)
 
8582
        # +Z the default
 
8583
        ;;
 
8584
      *)
 
8585
        lt_prog_compiler_pic='-fPIC'
 
8586
        ;;
 
8587
      esac
 
8588
      ;;
 
8589
 
 
8590
    interix[3-9]*)
 
8591
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
8592
      # Instead, we relocate shared libraries at runtime.
 
8593
      ;;
 
8594
 
 
8595
    msdosdjgpp*)
 
8596
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
8597
      # on systems that don't support them.
 
8598
      lt_prog_compiler_can_build_shared=no
 
8599
      enable_shared=no
 
8600
      ;;
 
8601
 
 
8602
    *nto* | *qnx*)
 
8603
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8604
      # it will coredump.
 
8605
      lt_prog_compiler_pic='-fPIC -shared'
 
8606
      ;;
 
8607
 
 
8608
    sysv4*MP*)
 
8609
      if test -d /usr/nec; then
 
8610
        lt_prog_compiler_pic=-Kconform_pic
 
8611
      fi
 
8612
      ;;
 
8613
 
 
8614
    *)
 
8615
      lt_prog_compiler_pic='-fPIC'
 
8616
      ;;
 
8617
    esac
 
8618
 
 
8619
    case $cc_basename in
 
8620
    nvcc*) # Cuda Compiler Driver 2.2
 
8621
      lt_prog_compiler_wl='-Xlinker '
 
8622
      if test -n "$lt_prog_compiler_pic"; then
 
8623
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
8624
      fi
 
8625
      ;;
 
8626
    esac
 
8627
  else
 
8628
    # PORTME Check for flag to pass linker flags through the system compiler.
 
8629
    case $host_os in
 
8630
    aix*)
 
8631
      lt_prog_compiler_wl='-Wl,'
 
8632
      if test "$host_cpu" = ia64; then
 
8633
        # AIX 5 now supports IA64 processor
 
8634
        lt_prog_compiler_static='-Bstatic'
 
8635
      else
 
8636
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
8637
      fi
 
8638
      ;;
 
8639
 
 
8640
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8641
      # This hack is so that the source file can tell whether it is being
 
8642
      # built for inclusion in a dll (and should export symbols for example).
 
8643
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8644
      ;;
 
8645
 
 
8646
    hpux9* | hpux10* | hpux11*)
 
8647
      lt_prog_compiler_wl='-Wl,'
 
8648
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
8649
      # not for PA HP-UX.
 
8650
      case $host_cpu in
 
8651
      hppa*64*|ia64*)
 
8652
        # +Z the default
 
8653
        ;;
 
8654
      *)
 
8655
        lt_prog_compiler_pic='+Z'
 
8656
        ;;
 
8657
      esac
 
8658
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
8659
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
8660
      ;;
 
8661
 
 
8662
    irix5* | irix6* | nonstopux*)
 
8663
      lt_prog_compiler_wl='-Wl,'
 
8664
      # PIC (with -KPIC) is the default.
 
8665
      lt_prog_compiler_static='-non_shared'
 
8666
      ;;
 
8667
 
 
8668
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
8669
      case $cc_basename in
 
8670
      # old Intel for x86_64 which still supported -KPIC.
 
8671
      ecc*)
 
8672
        lt_prog_compiler_wl='-Wl,'
 
8673
        lt_prog_compiler_pic='-KPIC'
 
8674
        lt_prog_compiler_static='-static'
 
8675
        ;;
 
8676
      # icc used to be incompatible with GCC.
 
8677
      # ICC 10 doesn't accept -KPIC any more.
 
8678
      icc* | ifort*)
 
8679
        lt_prog_compiler_wl='-Wl,'
 
8680
        lt_prog_compiler_pic='-fPIC'
 
8681
        lt_prog_compiler_static='-static'
 
8682
        ;;
 
8683
      # Lahey Fortran 8.1.
 
8684
      lf95*)
 
8685
        lt_prog_compiler_wl='-Wl,'
 
8686
        lt_prog_compiler_pic='--shared'
 
8687
        lt_prog_compiler_static='--static'
 
8688
        ;;
 
8689
      nagfor*)
 
8690
        # NAG Fortran compiler
 
8691
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8692
        lt_prog_compiler_pic='-PIC'
 
8693
        lt_prog_compiler_static='-Bstatic'
 
8694
        ;;
 
8695
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 
8696
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
8697
        # which looks to be a dead project)
 
8698
        lt_prog_compiler_wl='-Wl,'
 
8699
        lt_prog_compiler_pic='-fpic'
 
8700
        lt_prog_compiler_static='-Bstatic'
 
8701
        ;;
 
8702
      ccc*)
 
8703
        lt_prog_compiler_wl='-Wl,'
 
8704
        # All Alpha code is PIC.
 
8705
        lt_prog_compiler_static='-non_shared'
 
8706
        ;;
 
8707
      xl* | bgxl* | bgf* | mpixl*)
 
8708
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
8709
        lt_prog_compiler_wl='-Wl,'
 
8710
        lt_prog_compiler_pic='-qpic'
 
8711
        lt_prog_compiler_static='-qstaticlink'
 
8712
        ;;
 
8713
      *)
 
8714
        case `$CC -V 2>&1 | sed 5q` in
 
8715
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
8716
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8717
          lt_prog_compiler_pic='-KPIC'
 
8718
          lt_prog_compiler_static='-Bstatic'
 
8719
          lt_prog_compiler_wl=''
 
8720
          ;;
 
8721
        *Sun\ F* | *Sun*Fortran*)
 
8722
          lt_prog_compiler_pic='-KPIC'
 
8723
          lt_prog_compiler_static='-Bstatic'
 
8724
          lt_prog_compiler_wl='-Qoption ld '
 
8725
          ;;
 
8726
        *Sun\ C*)
 
8727
          # Sun C 5.9
 
8728
          lt_prog_compiler_pic='-KPIC'
 
8729
          lt_prog_compiler_static='-Bstatic'
 
8730
          lt_prog_compiler_wl='-Wl,'
 
8731
          ;;
 
8732
        *Intel*\ [CF]*Compiler*)
 
8733
          lt_prog_compiler_wl='-Wl,'
 
8734
          lt_prog_compiler_pic='-fPIC'
 
8735
          lt_prog_compiler_static='-static'
 
8736
          ;;
 
8737
        *Portland\ Group*)
 
8738
          lt_prog_compiler_wl='-Wl,'
 
8739
          lt_prog_compiler_pic='-fpic'
 
8740
          lt_prog_compiler_static='-Bstatic'
 
8741
          ;;
 
8742
        esac
 
8743
        ;;
 
8744
      esac
 
8745
      ;;
 
8746
 
 
8747
    newsos6)
 
8748
      lt_prog_compiler_pic='-KPIC'
 
8749
      lt_prog_compiler_static='-Bstatic'
 
8750
      ;;
 
8751
 
 
8752
    *nto* | *qnx*)
 
8753
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8754
      # it will coredump.
 
8755
      lt_prog_compiler_pic='-fPIC -shared'
 
8756
      ;;
 
8757
 
 
8758
    osf3* | osf4* | osf5*)
 
8759
      lt_prog_compiler_wl='-Wl,'
 
8760
      # All OSF/1 code is PIC.
 
8761
      lt_prog_compiler_static='-non_shared'
 
8762
      ;;
 
8763
 
 
8764
    rdos*)
 
8765
      lt_prog_compiler_static='-non_shared'
 
8766
      ;;
 
8767
 
 
8768
    solaris*)
 
8769
      lt_prog_compiler_pic='-KPIC'
 
8770
      lt_prog_compiler_static='-Bstatic'
 
8771
      case $cc_basename in
 
8772
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
8773
        lt_prog_compiler_wl='-Qoption ld ';;
 
8774
      *)
 
8775
        lt_prog_compiler_wl='-Wl,';;
 
8776
      esac
 
8777
      ;;
 
8778
 
 
8779
    sunos4*)
 
8780
      lt_prog_compiler_wl='-Qoption ld '
 
8781
      lt_prog_compiler_pic='-PIC'
 
8782
      lt_prog_compiler_static='-Bstatic'
 
8783
      ;;
 
8784
 
 
8785
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
8786
      lt_prog_compiler_wl='-Wl,'
 
8787
      lt_prog_compiler_pic='-KPIC'
 
8788
      lt_prog_compiler_static='-Bstatic'
 
8789
      ;;
 
8790
 
 
8791
    sysv4*MP*)
 
8792
      if test -d /usr/nec ;then
 
8793
        lt_prog_compiler_pic='-Kconform_pic'
 
8794
        lt_prog_compiler_static='-Bstatic'
 
8795
      fi
 
8796
      ;;
 
8797
 
 
8798
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
8799
      lt_prog_compiler_wl='-Wl,'
 
8800
      lt_prog_compiler_pic='-KPIC'
 
8801
      lt_prog_compiler_static='-Bstatic'
 
8802
      ;;
 
8803
 
 
8804
    unicos*)
 
8805
      lt_prog_compiler_wl='-Wl,'
 
8806
      lt_prog_compiler_can_build_shared=no
 
8807
      ;;
 
8808
 
 
8809
    uts4*)
 
8810
      lt_prog_compiler_pic='-pic'
 
8811
      lt_prog_compiler_static='-Bstatic'
 
8812
      ;;
 
8813
 
 
8814
    *)
 
8815
      lt_prog_compiler_can_build_shared=no
 
8816
      ;;
 
8817
    esac
 
8818
  fi
 
8819
 
 
8820
case $host_os in
 
8821
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8822
  *djgpp*)
 
8823
    lt_prog_compiler_pic=
 
8824
    ;;
 
8825
  *)
 
8826
    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
 
8827
    ;;
 
8828
esac
 
8829
 
 
8830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8831
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8832
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8833
  $as_echo_n "(cached) " >&6
 
8834
else
 
8835
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8836
fi
 
8837
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8838
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8839
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
8840
 
 
8841
#
 
8842
# Check to make sure the PIC flag actually works.
 
8843
#
 
8844
if test -n "$lt_prog_compiler_pic"; then
 
8845
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8846
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
8847
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
8848
  $as_echo_n "(cached) " >&6
 
8849
else
 
8850
  lt_cv_prog_compiler_pic_works=no
 
8851
   ac_outfile=conftest.$ac_objext
 
8852
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8853
   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
 
8854
   # Insert the option either (1) after the last *FLAGS variable, or
 
8855
   # (2) before a word containing "conftest.", or (3) at the end.
 
8856
   # Note that $ac_compile itself does not contain backslashes and begins
 
8857
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8858
   # The option is referenced via a variable to avoid confusing sed.
 
8859
   lt_compile=`echo "$ac_compile" | $SED \
 
8860
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8861
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8862
   -e 's:$: $lt_compiler_flag:'`
 
8863
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8864
   (eval "$lt_compile" 2>conftest.err)
 
8865
   ac_status=$?
 
8866
   cat conftest.err >&5
 
8867
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8868
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8869
     # The compiler can only warn and ignore the option if not recognized
 
8870
     # So say no if there are warnings other than the usual output.
 
8871
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
8872
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8873
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8874
       lt_cv_prog_compiler_pic_works=yes
 
8875
     fi
 
8876
   fi
 
8877
   $RM conftest*
 
8878
 
 
8879
fi
 
8880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
8881
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
8882
 
 
8883
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
8884
    case $lt_prog_compiler_pic in
 
8885
     "" | " "*) ;;
 
8886
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
8887
     esac
 
8888
else
 
8889
    lt_prog_compiler_pic=
 
8890
     lt_prog_compiler_can_build_shared=no
 
8891
fi
 
8892
 
 
8893
fi
 
8894
 
 
8895
    
 
8896
    
 
8897
    
 
8898
 
 
8899
 
 
8900
 
 
8901
    
 
8902
    
 
8903
    
 
8904
 
 
8905
#
 
8906
# Check to make sure the static flag actually works.
 
8907
#
 
8908
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
8909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8910
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
8911
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
8912
  $as_echo_n "(cached) " >&6
 
8913
else
 
8914
  lt_cv_prog_compiler_static_works=no
 
8915
   save_LDFLAGS="$LDFLAGS"
 
8916
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
8917
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
8918
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8919
     # The linker can only warn and ignore the option if not recognized
 
8920
     # So say no if there are warnings
 
8921
     if test -s conftest.err; then
 
8922
       # Append any errors to the config.log.
 
8923
       cat conftest.err 1>&5
 
8924
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
8925
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8926
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8927
         lt_cv_prog_compiler_static_works=yes
 
8928
       fi
 
8929
     else
 
8930
       lt_cv_prog_compiler_static_works=yes
 
8931
     fi
 
8932
   fi
 
8933
   $RM -r conftest*
 
8934
   LDFLAGS="$save_LDFLAGS"
 
8935
 
 
8936
fi
 
8937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
8938
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
8939
 
 
8940
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
8941
    :
 
8942
else
 
8943
    lt_prog_compiler_static=
 
8944
fi
 
8945
 
 
8946
 
 
8947
    
 
8948
    
 
8949
    
 
8950
 
 
8951
 
 
8952
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8953
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8954
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
8955
  $as_echo_n "(cached) " >&6
 
8956
else
 
8957
  lt_cv_prog_compiler_c_o=no
 
8958
   $RM -r conftest 2>/dev/null
 
8959
   mkdir conftest
 
8960
   cd conftest
 
8961
   mkdir out
 
8962
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8963
 
 
8964
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8965
   # Insert the option either (1) after the last *FLAGS variable, or
 
8966
   # (2) before a word containing "conftest.", or (3) at the end.
 
8967
   # Note that $ac_compile itself does not contain backslashes and begins
 
8968
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8969
   lt_compile=`echo "$ac_compile" | $SED \
 
8970
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8971
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8972
   -e 's:$: $lt_compiler_flag:'`
 
8973
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8974
   (eval "$lt_compile" 2>out/conftest.err)
 
8975
   ac_status=$?
 
8976
   cat out/conftest.err >&5
 
8977
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8978
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8979
   then
 
8980
     # The compiler can only warn and ignore the option if not recognized
 
8981
     # So say no if there are warnings
 
8982
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
8983
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8984
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8985
       lt_cv_prog_compiler_c_o=yes
 
8986
     fi
 
8987
   fi
 
8988
   chmod u+w . 2>&5
 
8989
   $RM conftest*
 
8990
   # SGI C++ compiler will create directory out/ii_files/ for
 
8991
   # template instantiation
 
8992
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8993
   $RM out/* && rmdir out
 
8994
   cd ..
 
8995
   $RM -r conftest
 
8996
   $RM conftest*
 
8997
 
 
8998
fi
 
8999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9000
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9001
 
 
9002
    
 
9003
    
 
9004
    
 
9005
 
 
9006
 
 
9007
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9008
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9009
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
9010
  $as_echo_n "(cached) " >&6
 
9011
else
 
9012
  lt_cv_prog_compiler_c_o=no
 
9013
   $RM -r conftest 2>/dev/null
 
9014
   mkdir conftest
 
9015
   cd conftest
 
9016
   mkdir out
 
9017
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9018
 
 
9019
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9020
   # Insert the option either (1) after the last *FLAGS variable, or
 
9021
   # (2) before a word containing "conftest.", or (3) at the end.
 
9022
   # Note that $ac_compile itself does not contain backslashes and begins
 
9023
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9024
   lt_compile=`echo "$ac_compile" | $SED \
 
9025
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9026
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9027
   -e 's:$: $lt_compiler_flag:'`
 
9028
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
9029
   (eval "$lt_compile" 2>out/conftest.err)
 
9030
   ac_status=$?
 
9031
   cat out/conftest.err >&5
 
9032
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9033
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9034
   then
 
9035
     # The compiler can only warn and ignore the option if not recognized
 
9036
     # So say no if there are warnings
 
9037
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
9038
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9039
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9040
       lt_cv_prog_compiler_c_o=yes
 
9041
     fi
 
9042
   fi
 
9043
   chmod u+w . 2>&5
 
9044
   $RM conftest*
 
9045
   # SGI C++ compiler will create directory out/ii_files/ for
 
9046
   # template instantiation
 
9047
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9048
   $RM out/* && rmdir out
 
9049
   cd ..
 
9050
   $RM -r conftest
 
9051
   $RM conftest*
 
9052
 
 
9053
fi
 
9054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9055
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9056
 
 
9057
 
 
9058
 
 
9059
 
 
9060
hard_links="nottested"
 
9061
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
9062
  # do not overwrite the value of need_locks provided by the user
 
9063
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
9064
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
9065
  hard_links=yes
 
9066
  $RM conftest*
 
9067
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
9068
  touch conftest.a
 
9069
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
9070
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
9071
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
9072
$as_echo "$hard_links" >&6; }
 
9073
  if test "$hard_links" = no; then
 
9074
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9075
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
9076
    need_locks=warn
 
9077
  fi
 
9078
else
 
9079
  need_locks=no
 
9080
fi
 
9081
 
 
9082
    
 
9083
    
 
9084
    
 
9085
 
 
9086
 
 
9087
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9088
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
9089
 
 
9090
  runpath_var=
 
9091
  allow_undefined_flag=
 
9092
  always_export_symbols=no
 
9093
  archive_cmds=
 
9094
  archive_expsym_cmds=
 
9095
  compiler_needs_object=no
 
9096
  enable_shared_with_static_runtimes=no
 
9097
  export_dynamic_flag_spec=
 
9098
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9099
  hardcode_automatic=no
 
9100
  hardcode_direct=no
 
9101
  hardcode_direct_absolute=no
 
9102
  hardcode_libdir_flag_spec=
 
9103
  hardcode_libdir_separator=
 
9104
  hardcode_minus_L=no
 
9105
  hardcode_shlibpath_var=unsupported
 
9106
  inherit_rpath=no
 
9107
  link_all_deplibs=unknown
 
9108
  module_cmds=
 
9109
  module_expsym_cmds=
 
9110
  old_archive_from_new_cmds=
 
9111
  old_archive_from_expsyms_cmds=
 
9112
  thread_safe_flag_spec=
 
9113
  whole_archive_flag_spec=
 
9114
  # include_expsyms should be a list of space-separated symbols to be *always*
 
9115
  # included in the symbol list
 
9116
  include_expsyms=
 
9117
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
9118
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
9119
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
9120
  # as well as any symbol that contains `d'.
 
9121
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
9122
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
9123
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
9124
  # the symbol is explicitly referenced.  Since portable code cannot
 
9125
  # rely on this symbol name, it's probably fine to never include it in
 
9126
  # preloaded symbol tables.
 
9127
  # Exclude shared library initialization/finalization symbols.
 
9128
  extract_expsyms_cmds=
 
9129
 
 
9130
  case $host_os in
 
9131
  cygwin* | mingw* | pw32* | cegcc*)
 
9132
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
9133
    # When not using gcc, we currently assume that we are using
 
9134
    # Microsoft Visual C++.
 
9135
    if test "$GCC" != yes; then
 
9136
      with_gnu_ld=no
 
9137
    fi
 
9138
    ;;
 
9139
  interix*)
 
9140
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
9141
    with_gnu_ld=yes
 
9142
    ;;
 
9143
  openbsd*)
 
9144
    with_gnu_ld=no
 
9145
    ;;
 
9146
  esac
 
9147
 
 
9148
  ld_shlibs=yes
 
9149
 
 
9150
  # On some targets, GNU ld is compatible enough with the native linker
 
9151
  # that we're better off using the native interface for both.
 
9152
  lt_use_gnu_ld_interface=no
 
9153
  if test "$with_gnu_ld" = yes; then
 
9154
    case $host_os in
 
9155
      aix*)
 
9156
        # The AIX port of GNU ld has always aspired to compatibility
 
9157
        # with the native linker.  However, as the warning in the GNU ld
 
9158
        # block says, versions before 2.19.5* couldn't really create working
 
9159
        # shared libraries, regardless of the interface used.
 
9160
        case `$LD -v 2>&1` in
 
9161
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
9162
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
9163
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
9164
          *)
 
9165
            lt_use_gnu_ld_interface=yes
 
9166
            ;;
 
9167
        esac
 
9168
        ;;
 
9169
      *)
 
9170
        lt_use_gnu_ld_interface=yes
 
9171
        ;;
 
9172
    esac
 
9173
  fi
 
9174
 
 
9175
  if test "$lt_use_gnu_ld_interface" = yes; then
 
9176
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
9177
    wlarc='${wl}'
 
9178
 
 
9179
    # Set some defaults for GNU ld with shared library support. These
 
9180
    # are reset later if shared libraries are not supported. Putting them
 
9181
    # here allows them to be overridden if necessary.
 
9182
    runpath_var=LD_RUN_PATH
 
9183
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9184
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
9185
    # ancient GNU ld didn't support --whole-archive et. al.
 
9186
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
9187
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9188
    else
 
9189
      whole_archive_flag_spec=
 
9190
    fi
 
9191
    supports_anon_versioning=no
 
9192
    case `$LD -v 2>&1` in
 
9193
      *GNU\ gold*) supports_anon_versioning=yes ;;
 
9194
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
9195
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
9196
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
9197
      *\ 2.11.*) ;; # other 2.11 versions
 
9198
      *) supports_anon_versioning=yes ;;
 
9199
    esac
 
9200
 
 
9201
    # See if GNU ld supports shared libraries.
 
9202
    case $host_os in
 
9203
    aix[3-9]*)
 
9204
      # On AIX/PPC, the GNU linker is very broken
 
9205
      if test "$host_cpu" != ia64; then
 
9206
        ld_shlibs=no
 
9207
        cat <<_LT_EOF 1>&2
 
9208
 
 
9209
*** Warning: the GNU linker, at least up to release 2.19, is reported
 
9210
*** to be unable to reliably create shared libraries on AIX.
 
9211
*** Therefore, libtool is disabling shared libraries support.  If you
 
9212
*** really care for shared libraries, you may want to install binutils
 
9213
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
9214
*** You will then need to restart the configuration process.
 
9215
 
 
9216
_LT_EOF
 
9217
      fi
 
9218
      ;;
 
9219
 
 
9220
    amigaos*)
 
9221
      case $host_cpu in
 
9222
      powerpc)
 
9223
            # see comment about AmigaOS4 .so support
 
9224
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9225
            archive_expsym_cmds=''
 
9226
        ;;
 
9227
      m68k)
 
9228
            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)'
 
9229
            hardcode_libdir_flag_spec='-L$libdir'
 
9230
            hardcode_minus_L=yes
 
9231
        ;;
 
9232
      esac
 
9233
      ;;
 
9234
 
 
9235
    beos*)
 
9236
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9237
        allow_undefined_flag=unsupported
 
9238
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
9239
        # support --undefined.  This deserves some investigation.  FIXME
 
9240
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9241
      else
 
9242
        ld_shlibs=no
 
9243
      fi
 
9244
      ;;
 
9245
 
 
9246
    cygwin* | mingw* | pw32* | cegcc*)
 
9247
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9248
      # as there is no search path for DLLs.
 
9249
      hardcode_libdir_flag_spec='-L$libdir'
 
9250
      export_dynamic_flag_spec='${wl}--export-all-symbols'
 
9251
      allow_undefined_flag=unsupported
 
9252
      always_export_symbols=no
 
9253
      enable_shared_with_static_runtimes=yes
 
9254
      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'
 
9255
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
9256
 
 
9257
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
9258
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
9259
        # If the export-symbols file already is a .def file (1st line
 
9260
        # is EXPORTS), use it as is; otherwise, prepend...
 
9261
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9262
          cp $export_symbols $output_objdir/$soname.def;
 
9263
        else
 
9264
          echo EXPORTS > $output_objdir/$soname.def;
 
9265
          cat $export_symbols >> $output_objdir/$soname.def;
 
9266
        fi~
 
9267
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
9268
      else
 
9269
        ld_shlibs=no
 
9270
      fi
 
9271
      ;;
 
9272
 
 
9273
    haiku*)
 
9274
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9275
      link_all_deplibs=yes
 
9276
      ;;
 
9277
 
 
9278
    interix[3-9]*)
 
9279
      hardcode_direct=no
 
9280
      hardcode_shlibpath_var=no
 
9281
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9282
      export_dynamic_flag_spec='${wl}-E'
 
9283
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
9284
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
9285
      # default) and relocated if they conflict, which is a slow very memory
 
9286
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
9287
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
9288
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
9289
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
9290
      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'
 
9291
      ;;
 
9292
 
 
9293
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
9294
      tmp_diet=no
 
9295
      if test "$host_os" = linux-dietlibc; then
 
9296
        case $cc_basename in
 
9297
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9298
        esac
 
9299
      fi
 
9300
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9301
         && test "$tmp_diet" = no
 
9302
      then
 
9303
        tmp_addflag=' $pic_flag'
 
9304
        tmp_sharedflag='-shared'
 
9305
        case $cc_basename,$host_cpu in
 
9306
        pgcc*)                          # Portland Group C compiler
 
9307
          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'
 
9308
          tmp_addflag=' $pic_flag'
 
9309
          ;;
 
9310
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9311
                                        # Portland Group f77 and f90 compilers
 
9312
          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'
 
9313
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
9314
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
9315
          tmp_addflag=' -i_dynamic' ;;
 
9316
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
9317
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
9318
        ifc* | ifort*)                  # Intel Fortran compiler
 
9319
          tmp_addflag=' -nofor_main' ;;
 
9320
        lf95*)                          # Lahey Fortran 8.1
 
9321
          whole_archive_flag_spec=
 
9322
          tmp_sharedflag='--shared' ;;
 
9323
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
9324
          tmp_sharedflag='-qmkshrobj'
 
9325
          tmp_addflag= ;;
 
9326
        nvcc*)  # Cuda Compiler Driver 2.2
 
9327
          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'
 
9328
          compiler_needs_object=yes
 
9329
          ;;
 
9330
        esac
 
9331
        case `$CC -V 2>&1 | sed 5q` in
 
9332
        *Sun\ C*)                       # Sun C 5.9
 
9333
          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'
 
9334
          compiler_needs_object=yes
 
9335
          tmp_sharedflag='-G' ;;
 
9336
        *Sun\ F*)                       # Sun Fortran 8.3
 
9337
          tmp_sharedflag='-G' ;;
 
9338
        esac
 
9339
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9340
 
 
9341
        if test "x$supports_anon_versioning" = xyes; then
 
9342
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9343
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9344
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
9345
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9346
        fi
 
9347
 
 
9348
        case $cc_basename in
 
9349
        xlf* | bgf* | bgxlf* | mpixlf*)
 
9350
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
9351
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
9352
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9353
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
9354
          if test "x$supports_anon_versioning" = xyes; then
 
9355
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9356
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9357
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
9358
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9359
          fi
 
9360
          ;;
 
9361
        esac
 
9362
      else
 
9363
        ld_shlibs=no
 
9364
      fi
 
9365
      ;;
 
9366
 
 
9367
    netbsd*)
 
9368
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9369
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
9370
        wlarc=
 
9371
      else
 
9372
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9373
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9374
      fi
 
9375
      ;;
 
9376
 
 
9377
    solaris*)
 
9378
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
9379
        ld_shlibs=no
 
9380
        cat <<_LT_EOF 1>&2
 
9381
 
 
9382
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
9383
*** create shared libraries on Solaris systems.  Therefore, libtool
 
9384
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
9385
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
9386
*** your PATH or compiler configuration so that the native linker is
 
9387
*** used, and then restart.
 
9388
 
 
9389
_LT_EOF
 
9390
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9391
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9392
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9393
      else
 
9394
        ld_shlibs=no
 
9395
      fi
 
9396
      ;;
 
9397
 
 
9398
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
9399
      case `$LD -v 2>&1` in
 
9400
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
9401
        ld_shlibs=no
 
9402
        cat <<_LT_EOF 1>&2
 
9403
 
 
9404
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
9405
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
9406
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
9407
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
9408
*** your PATH or compiler configuration so that the native linker is
 
9409
*** used, and then restart.
 
9410
 
 
9411
_LT_EOF
 
9412
        ;;
 
9413
        *)
 
9414
          # For security reasons, it is highly recommended that you always
 
9415
          # use absolute paths for naming shared libraries, and exclude the
 
9416
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
9417
          # requires that you compile everything twice, which is a pain.
 
9418
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9419
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9420
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9421
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9422
          else
 
9423
            ld_shlibs=no
 
9424
          fi
 
9425
        ;;
 
9426
      esac
 
9427
      ;;
 
9428
 
 
9429
    sunos4*)
 
9430
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9431
      wlarc=
 
9432
      hardcode_direct=yes
 
9433
      hardcode_shlibpath_var=no
 
9434
      ;;
 
9435
 
 
9436
    *)
 
9437
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9438
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9439
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9440
      else
 
9441
        ld_shlibs=no
 
9442
      fi
 
9443
      ;;
 
9444
    esac
 
9445
 
 
9446
    if test "$ld_shlibs" = no; then
 
9447
      runpath_var=
 
9448
      hardcode_libdir_flag_spec=
 
9449
      export_dynamic_flag_spec=
 
9450
      whole_archive_flag_spec=
 
9451
    fi
 
9452
  else
 
9453
    # PORTME fill in a description of your system's linker (not GNU ld)
 
9454
    case $host_os in
 
9455
    aix3*)
 
9456
      allow_undefined_flag=unsupported
 
9457
      always_export_symbols=yes
 
9458
      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'
 
9459
      # Note: this linker hardcodes the directories in LIBPATH if there
 
9460
      # are no directories specified by -L.
 
9461
      hardcode_minus_L=yes
 
9462
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
9463
        # Neither direct hardcoding nor static linking is supported with a
 
9464
        # broken collect2.
 
9465
        hardcode_direct=unsupported
 
9466
      fi
 
9467
      ;;
 
9468
 
 
9469
    aix[4-9]*)
 
9470
      if test "$host_cpu" = ia64; then
 
9471
        # On IA64, the linker does run time linking by default, so we don't
 
9472
        # have to do anything special.
 
9473
        aix_use_runtimelinking=no
 
9474
        exp_sym_flag='-Bexport'
 
9475
        no_entry_flag=""
 
9476
      else
 
9477
        # If we're using GNU nm, then we don't want the "-C" option.
 
9478
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9479
        # Also, AIX nm treats weak defined symbols like other global
 
9480
        # defined symbols, whereas GNU nm marks them as "W".
 
9481
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9482
          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'
 
9483
        else
 
9484
          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'
 
9485
        fi
 
9486
        aix_use_runtimelinking=no
 
9487
 
 
9488
        # Test if we are trying to use run time linking or normal
 
9489
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
9490
        # need to do runtime linking.
 
9491
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
9492
          for ld_flag in $LDFLAGS; do
 
9493
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9494
            aix_use_runtimelinking=yes
 
9495
            break
 
9496
          fi
 
9497
          done
 
9498
          ;;
 
9499
        esac
 
9500
 
 
9501
        exp_sym_flag='-bexport'
 
9502
        no_entry_flag='-bnoentry'
 
9503
      fi
 
9504
 
 
9505
      # When large executables or shared objects are built, AIX ld can
 
9506
      # have problems creating the table of contents.  If linking a library
 
9507
      # or program results in "error TOC overflow" add -mminimal-toc to
 
9508
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
9509
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
9510
 
 
9511
      archive_cmds=''
 
9512
      hardcode_direct=yes
 
9513
      hardcode_direct_absolute=yes
 
9514
      hardcode_libdir_separator=':'
 
9515
      link_all_deplibs=yes
 
9516
      file_list_spec='${wl}-f,'
 
9517
 
 
9518
      if test "$GCC" = yes; then
 
9519
        case $host_os in aix4.[012]|aix4.[012].*)
 
9520
        # We only want to do this on AIX 4.2 and lower, the check
 
9521
        # below for broken collect2 doesn't work under 4.3+
 
9522
          collect2name=`${CC} -print-prog-name=collect2`
 
9523
          if test -f "$collect2name" &&
 
9524
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
9525
          then
 
9526
          # We have reworked collect2
 
9527
          :
 
9528
          else
 
9529
          # We have old collect2
 
9530
          hardcode_direct=unsupported
 
9531
          # It fails to find uninstalled libraries when the uninstalled
 
9532
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9533
          # to unsupported forces relinking
 
9534
          hardcode_minus_L=yes
 
9535
          hardcode_libdir_flag_spec='-L$libdir'
 
9536
          hardcode_libdir_separator=
 
9537
          fi
 
9538
          ;;
 
9539
        esac
 
9540
        shared_flag='-shared'
 
9541
        if test "$aix_use_runtimelinking" = yes; then
 
9542
          shared_flag="$shared_flag "'${wl}-G'
 
9543
        fi
 
9544
      else
 
9545
        # not using gcc
 
9546
        if test "$host_cpu" = ia64; then
 
9547
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9548
        # chokes on -Wl,-G. The following line is correct:
 
9549
          shared_flag='-G'
 
9550
        else
 
9551
          if test "$aix_use_runtimelinking" = yes; then
 
9552
            shared_flag='${wl}-G'
 
9553
          else
 
9554
            shared_flag='${wl}-bM:SRE'
 
9555
          fi
 
9556
        fi
 
9557
      fi
 
9558
 
 
9559
      export_dynamic_flag_spec='${wl}-bexpall'
 
9560
      # It seems that -bexpall does not export symbols beginning with
 
9561
      # underscore (_), so it is better to generate a list of symbols to export.
 
9562
      always_export_symbols=yes
 
9563
      if test "$aix_use_runtimelinking" = yes; then
 
9564
        # Warning - without using the other runtime loading flags (-brtl),
 
9565
        # -berok will link without error, but may produce a broken library.
 
9566
        allow_undefined_flag='-berok'
 
9567
        # Determine the default libpath from the value encoded in an
 
9568
        # empty executable.
 
9569
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9570
  aix_libpath=$lt_cv_aix_libpath
 
9571
else
 
9572
  if ${lt_cv_aix_libpath_+:} false; then :
 
9573
  $as_echo_n "(cached) " >&6
 
9574
else
 
9575
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9576
/* end confdefs.h.  */
 
9577
 
 
9578
int
 
9579
main ()
 
9580
{
 
9581
 
 
9582
  ;
 
9583
  return 0;
 
9584
}
 
9585
_ACEOF
 
9586
if ac_fn_c_try_link "$LINENO"; then :
 
9587
  
 
9588
  lt_aix_libpath_sed='
 
9589
      /Import File Strings/,/^$/ {
 
9590
          /^0/ {
 
9591
              s/^0  *\([^ ]*\) *$/\1/
 
9592
              p
 
9593
          }
 
9594
      }'
 
9595
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9596
  # Check for a 64-bit object if we didn't find anything.
 
9597
  if test -z "$lt_cv_aix_libpath_"; then
 
9598
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9599
  fi
 
9600
fi
 
9601
rm -f core conftest.err conftest.$ac_objext \
 
9602
    conftest$ac_exeext conftest.$ac_ext
 
9603
  if test -z "$lt_cv_aix_libpath_"; then
 
9604
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9605
  fi
 
9606
  
 
9607
fi
 
9608
 
 
9609
  aix_libpath=$lt_cv_aix_libpath_
 
9610
fi
 
9611
 
 
9612
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9613
        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"
 
9614
      else
 
9615
        if test "$host_cpu" = ia64; then
 
9616
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
9617
          allow_undefined_flag="-z nodefs"
 
9618
          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"
 
9619
        else
 
9620
         # Determine the default libpath from the value encoded in an
 
9621
         # empty executable.
 
9622
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9623
  aix_libpath=$lt_cv_aix_libpath
 
9624
else
 
9625
  if ${lt_cv_aix_libpath_+:} false; then :
 
9626
  $as_echo_n "(cached) " >&6
 
9627
else
 
9628
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9629
/* end confdefs.h.  */
 
9630
 
 
9631
int
 
9632
main ()
 
9633
{
 
9634
 
 
9635
  ;
 
9636
  return 0;
 
9637
}
 
9638
_ACEOF
 
9639
if ac_fn_c_try_link "$LINENO"; then :
 
9640
  
 
9641
  lt_aix_libpath_sed='
 
9642
      /Import File Strings/,/^$/ {
 
9643
          /^0/ {
 
9644
              s/^0  *\([^ ]*\) *$/\1/
 
9645
              p
 
9646
          }
 
9647
      }'
 
9648
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9649
  # Check for a 64-bit object if we didn't find anything.
 
9650
  if test -z "$lt_cv_aix_libpath_"; then
 
9651
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9652
  fi
 
9653
fi
 
9654
rm -f core conftest.err conftest.$ac_objext \
 
9655
    conftest$ac_exeext conftest.$ac_ext
 
9656
  if test -z "$lt_cv_aix_libpath_"; then
 
9657
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9658
  fi
 
9659
  
 
9660
fi
 
9661
 
 
9662
  aix_libpath=$lt_cv_aix_libpath_
 
9663
fi
 
9664
 
 
9665
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9666
          # Warning - without using the other run time loading flags,
 
9667
          # -berok will link without error, but may produce a broken library.
 
9668
          no_undefined_flag=' ${wl}-bernotok'
 
9669
          allow_undefined_flag=' ${wl}-berok'
 
9670
          if test "$with_gnu_ld" = yes; then
 
9671
            # We only use this code for GNU lds that support --whole-archive.
 
9672
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9673
          else
 
9674
            # Exported symbols can be pulled into shared objects from archives
 
9675
            whole_archive_flag_spec='$convenience'
 
9676
          fi
 
9677
          archive_cmds_need_lc=yes
 
9678
          # This is similar to how AIX traditionally builds its shared libraries.
 
9679
          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'
 
9680
        fi
 
9681
      fi
 
9682
      ;;
 
9683
 
 
9684
    amigaos*)
 
9685
      case $host_cpu in
 
9686
      powerpc)
 
9687
            # see comment about AmigaOS4 .so support
 
9688
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9689
            archive_expsym_cmds=''
 
9690
        ;;
 
9691
      m68k)
 
9692
            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)'
 
9693
            hardcode_libdir_flag_spec='-L$libdir'
 
9694
            hardcode_minus_L=yes
 
9695
        ;;
 
9696
      esac
 
9697
      ;;
 
9698
 
 
9699
    bsdi[45]*)
 
9700
      export_dynamic_flag_spec=-rdynamic
 
9701
      ;;
 
9702
 
 
9703
    cygwin* | mingw* | pw32* | cegcc*)
 
9704
      # When not using gcc, we currently assume that we are using
 
9705
      # Microsoft Visual C++.
 
9706
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
9707
      # no search path for DLLs.
 
9708
      case $cc_basename in
 
9709
      cl*)
 
9710
        # Native MSVC
 
9711
        hardcode_libdir_flag_spec=' '
 
9712
        allow_undefined_flag=unsupported
 
9713
        always_export_symbols=yes
 
9714
        file_list_spec='@'
 
9715
        # Tell ltmain to make .lib files, not .a files.
 
9716
        libext=lib
 
9717
        # Tell ltmain to make .dll files, not .so files.
 
9718
        shrext_cmds=".dll"
 
9719
        # FIXME: Setting linknames here is a bad hack.
 
9720
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9721
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9722
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9723
          else
 
9724
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9725
          fi~
 
9726
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9727
          linknames='
 
9728
        # The linker will not automatically build a static lib if we build a DLL.
 
9729
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9730
        enable_shared_with_static_runtimes=yes
 
9731
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
9732
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9733
        # Don't use ranlib
 
9734
        old_postinstall_cmds='chmod 644 $oldlib'
 
9735
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9736
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9737
          case $lt_outputfile in
 
9738
            *.exe|*.EXE) ;;
 
9739
            *)
 
9740
              lt_outputfile="$lt_outputfile.exe"
 
9741
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9742
              ;;
 
9743
          esac~
 
9744
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9745
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9746
            $RM "$lt_outputfile.manifest";
 
9747
          fi'
 
9748
        ;;
 
9749
      *)
 
9750
        # Assume MSVC wrapper
 
9751
        hardcode_libdir_flag_spec=' '
 
9752
        allow_undefined_flag=unsupported
 
9753
        # Tell ltmain to make .lib files, not .a files.
 
9754
        libext=lib
 
9755
        # Tell ltmain to make .dll files, not .so files.
 
9756
        shrext_cmds=".dll"
 
9757
        # FIXME: Setting linknames here is a bad hack.
 
9758
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9759
        # The linker will automatically build a .lib file if we build a DLL.
 
9760
        old_archive_from_new_cmds='true'
 
9761
        # FIXME: Should let the user specify the lib program.
 
9762
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9763
        enable_shared_with_static_runtimes=yes
 
9764
        ;;
 
9765
      esac
 
9766
      ;;
 
9767
 
 
9768
    darwin* | rhapsody*)
 
9769
      
 
9770
  
 
9771
  archive_cmds_need_lc=no
 
9772
  hardcode_direct=no
 
9773
  hardcode_automatic=yes
 
9774
  hardcode_shlibpath_var=unsupported
 
9775
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9776
    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\"`'
 
9777
    
 
9778
  else
 
9779
    whole_archive_flag_spec=''
 
9780
  fi
 
9781
  link_all_deplibs=yes
 
9782
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
9783
  case $cc_basename in
 
9784
     ifort*) _lt_dar_can_shared=yes ;;
 
9785
     *) _lt_dar_can_shared=$GCC ;;
 
9786
  esac
 
9787
  if test "$_lt_dar_can_shared" = "yes"; then
 
9788
    output_verbose_link_cmd=func_echo_all
 
9789
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9790
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9791
    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}"
 
9792
    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}"
 
9793
    
 
9794
  else
 
9795
  ld_shlibs=no
 
9796
  fi
 
9797
 
 
9798
      ;;
 
9799
 
 
9800
    dgux*)
 
9801
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9802
      hardcode_libdir_flag_spec='-L$libdir'
 
9803
      hardcode_shlibpath_var=no
 
9804
      ;;
 
9805
 
 
9806
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
9807
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
9808
    # does not break anything, and helps significantly (at the cost of a little
 
9809
    # extra space).
 
9810
    freebsd2.2*)
 
9811
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
9812
      hardcode_libdir_flag_spec='-R$libdir'
 
9813
      hardcode_direct=yes
 
9814
      hardcode_shlibpath_var=no
 
9815
      ;;
 
9816
 
 
9817
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
9818
    freebsd2.*)
 
9819
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9820
      hardcode_direct=yes
 
9821
      hardcode_minus_L=yes
 
9822
      hardcode_shlibpath_var=no
 
9823
      ;;
 
9824
 
 
9825
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
9826
    freebsd* | dragonfly*)
 
9827
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9828
      hardcode_libdir_flag_spec='-R$libdir'
 
9829
      hardcode_direct=yes
 
9830
      hardcode_shlibpath_var=no
 
9831
      ;;
 
9832
 
 
9833
    hpux9*)
 
9834
      if test "$GCC" = yes; then
 
9835
        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'
 
9836
      else
 
9837
        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'
 
9838
      fi
 
9839
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9840
      hardcode_libdir_separator=:
 
9841
      hardcode_direct=yes
 
9842
 
 
9843
      # hardcode_minus_L: Not really in the search PATH,
 
9844
      # but as the default location of the library.
 
9845
      hardcode_minus_L=yes
 
9846
      export_dynamic_flag_spec='${wl}-E'
 
9847
      ;;
 
9848
 
 
9849
    hpux10*)
 
9850
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9851
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9852
      else
 
9853
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9854
      fi
 
9855
      if test "$with_gnu_ld" = no; then
 
9856
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9857
        hardcode_libdir_separator=:
 
9858
        hardcode_direct=yes
 
9859
        hardcode_direct_absolute=yes
 
9860
        export_dynamic_flag_spec='${wl}-E'
 
9861
        # hardcode_minus_L: Not really in the search PATH,
 
9862
        # but as the default location of the library.
 
9863
        hardcode_minus_L=yes
 
9864
      fi
 
9865
      ;;
 
9866
 
 
9867
    hpux11*)
 
9868
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9869
        case $host_cpu in
 
9870
        hppa*64*)
 
9871
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9872
          ;;
 
9873
        ia64*)
 
9874
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9875
          ;;
 
9876
        *)
 
9877
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9878
          ;;
 
9879
        esac
 
9880
      else
 
9881
        case $host_cpu in
 
9882
        hppa*64*)
 
9883
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9884
          ;;
 
9885
        ia64*)
 
9886
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9887
          ;;
 
9888
        *)
 
9889
        
 
9890
          # Older versions of the 11.00 compiler do not understand -b yet
 
9891
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9892
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9893
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9894
if ${lt_cv_prog_compiler__b+:} false; then :
 
9895
  $as_echo_n "(cached) " >&6
 
9896
else
 
9897
  lt_cv_prog_compiler__b=no
 
9898
   save_LDFLAGS="$LDFLAGS"
 
9899
   LDFLAGS="$LDFLAGS -b"
 
9900
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9901
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9902
     # The linker can only warn and ignore the option if not recognized
 
9903
     # So say no if there are warnings
 
9904
     if test -s conftest.err; then
 
9905
       # Append any errors to the config.log.
 
9906
       cat conftest.err 1>&5
 
9907
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9908
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9909
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9910
         lt_cv_prog_compiler__b=yes
 
9911
       fi
 
9912
     else
 
9913
       lt_cv_prog_compiler__b=yes
 
9914
     fi
 
9915
   fi
 
9916
   $RM -r conftest*
 
9917
   LDFLAGS="$save_LDFLAGS"
 
9918
 
 
9919
fi
 
9920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9921
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9922
 
 
9923
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9924
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9925
else
 
9926
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9927
fi
 
9928
 
 
9929
          ;;
 
9930
        esac
 
9931
      fi
 
9932
      if test "$with_gnu_ld" = no; then
 
9933
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9934
        hardcode_libdir_separator=:
 
9935
 
 
9936
        case $host_cpu in
 
9937
        hppa*64*|ia64*)
 
9938
          hardcode_direct=no
 
9939
          hardcode_shlibpath_var=no
 
9940
          ;;
 
9941
        *)
 
9942
          hardcode_direct=yes
 
9943
          hardcode_direct_absolute=yes
 
9944
          export_dynamic_flag_spec='${wl}-E'
 
9945
 
 
9946
          # hardcode_minus_L: Not really in the search PATH,
 
9947
          # but as the default location of the library.
 
9948
          hardcode_minus_L=yes
 
9949
          ;;
 
9950
        esac
 
9951
      fi
 
9952
      ;;
 
9953
 
 
9954
    irix5* | irix6* | nonstopux*)
 
9955
      if test "$GCC" = yes; then
 
9956
        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'
 
9957
        # Try to use the -exported_symbol ld option, if it does not
 
9958
        # work, assume that -exports_file does not work either and
 
9959
        # implicitly export all symbols.
 
9960
        # This should be the same for all languages, so no per-tag cache variable.
 
9961
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9962
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9963
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9964
  $as_echo_n "(cached) " >&6
 
9965
else
 
9966
  save_LDFLAGS="$LDFLAGS"
 
9967
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9968
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9969
/* end confdefs.h.  */
 
9970
int foo (void) { return 0; }
 
9971
_ACEOF
 
9972
if ac_fn_c_try_link "$LINENO"; then :
 
9973
  lt_cv_irix_exported_symbol=yes
 
9974
else
 
9975
  lt_cv_irix_exported_symbol=no
 
9976
fi
 
9977
rm -f core conftest.err conftest.$ac_objext \
 
9978
    conftest$ac_exeext conftest.$ac_ext
 
9979
           LDFLAGS="$save_LDFLAGS"
 
9980
fi
 
9981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9982
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9983
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9984
          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'
 
9985
        fi
 
9986
      else
 
9987
        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'
 
9988
        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'
 
9989
      fi
 
9990
      archive_cmds_need_lc='no'
 
9991
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9992
      hardcode_libdir_separator=:
 
9993
      inherit_rpath=yes
 
9994
      link_all_deplibs=yes
 
9995
      ;;
 
9996
 
 
9997
    netbsd*)
 
9998
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9999
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
10000
      else
 
10001
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
10002
      fi
 
10003
      hardcode_libdir_flag_spec='-R$libdir'
 
10004
      hardcode_direct=yes
 
10005
      hardcode_shlibpath_var=no
 
10006
      ;;
 
10007
 
 
10008
    newsos6)
 
10009
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10010
      hardcode_direct=yes
 
10011
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10012
      hardcode_libdir_separator=:
 
10013
      hardcode_shlibpath_var=no
 
10014
      ;;
 
10015
 
 
10016
    *nto* | *qnx*)
 
10017
      ;;
 
10018
 
 
10019
    openbsd*)
 
10020
      if test -f /usr/libexec/ld.so; then
 
10021
        hardcode_direct=yes
 
10022
        hardcode_shlibpath_var=no
 
10023
        hardcode_direct_absolute=yes
 
10024
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10025
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
10026
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
10027
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10028
          export_dynamic_flag_spec='${wl}-E'
 
10029
        else
 
10030
          case $host_os in
 
10031
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
10032
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
10033
             hardcode_libdir_flag_spec='-R$libdir'
 
10034
             ;;
 
10035
           *)
 
10036
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
10037
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10038
             ;;
 
10039
          esac
 
10040
        fi
 
10041
      else
 
10042
        ld_shlibs=no
 
10043
      fi
 
10044
      ;;
 
10045
 
 
10046
    os2*)
 
10047
      hardcode_libdir_flag_spec='-L$libdir'
 
10048
      hardcode_minus_L=yes
 
10049
      allow_undefined_flag=unsupported
 
10050
      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'
 
10051
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
10052
      ;;
 
10053
 
 
10054
    osf3*)
 
10055
      if test "$GCC" = yes; then
 
10056
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
10057
        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'
 
10058
      else
 
10059
        allow_undefined_flag=' -expect_unresolved \*'
 
10060
        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'
 
10061
      fi
 
10062
      archive_cmds_need_lc='no'
 
10063
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10064
      hardcode_libdir_separator=:
 
10065
      ;;
 
10066
 
 
10067
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
10068
      if test "$GCC" = yes; then
 
10069
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
10070
        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'
 
10071
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10072
      else
 
10073
        allow_undefined_flag=' -expect_unresolved \*'
 
10074
        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'
 
10075
        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~
 
10076
        $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'
 
10077
 
 
10078
        # Both c and cxx compiler support -rpath directly
 
10079
        hardcode_libdir_flag_spec='-rpath $libdir'
 
10080
      fi
 
10081
      archive_cmds_need_lc='no'
 
10082
      hardcode_libdir_separator=:
 
10083
      ;;
 
10084
 
 
10085
    solaris*)
 
10086
      no_undefined_flag=' -z defs'
 
10087
      if test "$GCC" = yes; then
 
10088
        wlarc='${wl}'
 
10089
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10090
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10091
          $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'
 
10092
      else
 
10093
        case `$CC -V 2>&1` in
 
10094
        *"Compilers 5.0"*)
 
10095
          wlarc=''
 
10096
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10097
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10098
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
10099
          ;;
 
10100
        *)
 
10101
          wlarc='${wl}'
 
10102
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
10103
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10104
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10105
          ;;
 
10106
        esac
 
10107
      fi
 
10108
      hardcode_libdir_flag_spec='-R$libdir'
 
10109
      hardcode_shlibpath_var=no
 
10110
      case $host_os in
 
10111
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
10112
      *)
 
10113
        # The compiler driver will combine and reorder linker options,
 
10114
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
10115
        # but is careful enough not to reorder.
 
10116
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
10117
        if test "$GCC" = yes; then
 
10118
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
10119
        else
 
10120
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
10121
        fi
 
10122
        ;;
 
10123
      esac
 
10124
      link_all_deplibs=yes
 
10125
      ;;
 
10126
 
 
10127
    sunos4*)
 
10128
      if test "x$host_vendor" = xsequent; then
 
10129
        # Use $CC to link under sequent, because it throws in some extra .o
 
10130
        # files that make .init and .fini sections work.
 
10131
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
10132
      else
 
10133
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
10134
      fi
 
10135
      hardcode_libdir_flag_spec='-L$libdir'
 
10136
      hardcode_direct=yes
 
10137
      hardcode_minus_L=yes
 
10138
      hardcode_shlibpath_var=no
 
10139
      ;;
 
10140
 
 
10141
    sysv4)
 
10142
      case $host_vendor in
 
10143
        sni)
 
10144
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10145
          hardcode_direct=yes # is this really true???
 
10146
        ;;
 
10147
        siemens)
 
10148
          ## LD is ld it makes a PLAMLIB
 
10149
          ## CC just makes a GrossModule.
 
10150
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
10151
          reload_cmds='$CC -r -o $output$reload_objs'
 
10152
          hardcode_direct=no
 
10153
        ;;
 
10154
        motorola)
 
10155
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10156
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
10157
        ;;
 
10158
      esac
 
10159
      runpath_var='LD_RUN_PATH'
 
10160
      hardcode_shlibpath_var=no
 
10161
      ;;
 
10162
 
 
10163
    sysv4.3*)
 
10164
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10165
      hardcode_shlibpath_var=no
 
10166
      export_dynamic_flag_spec='-Bexport'
 
10167
      ;;
 
10168
 
 
10169
    sysv4*MP*)
 
10170
      if test -d /usr/nec; then
 
10171
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10172
        hardcode_shlibpath_var=no
 
10173
        runpath_var=LD_RUN_PATH
 
10174
        hardcode_runpath_var=yes
 
10175
        ld_shlibs=yes
 
10176
      fi
 
10177
      ;;
 
10178
 
 
10179
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
10180
      no_undefined_flag='${wl}-z,text'
 
10181
      archive_cmds_need_lc=no
 
10182
      hardcode_shlibpath_var=no
 
10183
      runpath_var='LD_RUN_PATH'
 
10184
 
 
10185
      if test "$GCC" = yes; then
 
10186
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10187
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10188
      else
 
10189
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10190
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10191
      fi
 
10192
      ;;
 
10193
 
 
10194
    sysv5* | sco3.2v5* | sco5v6*)
 
10195
      # Note: We can NOT use -z defs as we might desire, because we do not
 
10196
      # link with -lc, and that would cause any symbols used from libc to
 
10197
      # always be unresolved, which means just about no library would
 
10198
      # ever link correctly.  If we're not using GNU ld we use -z text
 
10199
      # though, which does catch some bad symbols but isn't as heavy-handed
 
10200
      # as -z defs.
 
10201
      no_undefined_flag='${wl}-z,text'
 
10202
      allow_undefined_flag='${wl}-z,nodefs'
 
10203
      archive_cmds_need_lc=no
 
10204
      hardcode_shlibpath_var=no
 
10205
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
10206
      hardcode_libdir_separator=':'
 
10207
      link_all_deplibs=yes
 
10208
      export_dynamic_flag_spec='${wl}-Bexport'
 
10209
      runpath_var='LD_RUN_PATH'
 
10210
 
 
10211
      if test "$GCC" = yes; then
 
10212
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10213
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10214
      else
 
10215
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10216
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10217
      fi
 
10218
      ;;
 
10219
 
 
10220
    uts4*)
 
10221
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10222
      hardcode_libdir_flag_spec='-L$libdir'
 
10223
      hardcode_shlibpath_var=no
 
10224
      ;;
 
10225
 
 
10226
    *)
 
10227
      ld_shlibs=no
 
10228
      ;;
 
10229
    esac
 
10230
 
 
10231
    if test x$host_vendor = xsni; then
 
10232
      case $host in
 
10233
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10234
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10235
        ;;
 
10236
      esac
 
10237
    fi
 
10238
  fi
 
10239
 
 
10240
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
10241
$as_echo "$ld_shlibs" >&6; }
 
10242
test "$ld_shlibs" = no && can_build_shared=no
 
10243
 
 
10244
with_gnu_ld=$with_gnu_ld
 
10245
 
 
10246
 
 
10247
    
 
10248
    
 
10249
    
 
10250
 
 
10251
    
 
10252
    
 
10253
    
 
10254
 
 
10255
    
 
10256
    
 
10257
    
 
10258
 
 
10259
 
 
10260
#
 
10261
# Do we need to explicitly link libc?
 
10262
#
 
10263
case "x$archive_cmds_need_lc" in
 
10264
x|xyes)
 
10265
  # Assume -lc should be added
 
10266
  archive_cmds_need_lc=yes
 
10267
 
 
10268
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
10269
    case $archive_cmds in
 
10270
    *'~'*)
 
10271
      # FIXME: we may have to deal with multi-command sequences.
 
10272
      ;;
 
10273
    '$CC '*)
 
10274
      # Test whether the compiler implicitly links with -lc since on some
 
10275
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
10276
      # to ld, don't add -lc before -lgcc.
 
10277
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
10278
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
10279
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
10280
  $as_echo_n "(cached) " >&6
 
10281
else
 
10282
  $RM conftest*
 
10283
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10284
 
 
10285
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10286
  (eval $ac_compile) 2>&5
 
10287
  ac_status=$?
 
10288
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10289
  test $ac_status = 0; } 2>conftest.err; then
 
10290
          soname=conftest
 
10291
          lib=conftest
 
10292
          libobjs=conftest.$ac_objext
 
10293
          deplibs=
 
10294
          wl=$lt_prog_compiler_wl
 
10295
          pic_flag=$lt_prog_compiler_pic
 
10296
          compiler_flags=-v
 
10297
          linker_flags=-v
 
10298
          verstring=
 
10299
          output_objdir=.
 
10300
          libname=conftest
 
10301
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10302
          allow_undefined_flag=
 
10303
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10304
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10305
  ac_status=$?
 
10306
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10307
  test $ac_status = 0; }
 
10308
          then
 
10309
            lt_cv_archive_cmds_need_lc=no
 
10310
          else
 
10311
            lt_cv_archive_cmds_need_lc=yes
 
10312
          fi
 
10313
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10314
        else
 
10315
          cat conftest.err 1>&5
 
10316
        fi
 
10317
        $RM conftest*
 
10318
        
 
10319
fi
 
10320
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10321
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10322
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 
10323
      ;;
 
10324
    esac
 
10325
  fi
 
10326
  ;;
 
10327
esac
 
10328
 
 
10329
 
 
10330
    
 
10331
    
 
10332
    
 
10333
 
 
10334
 
 
10335
    
 
10336
    
 
10337
    
 
10338
 
 
10339
 
 
10340
    
 
10341
    
 
10342
    
 
10343
 
 
10344
 
 
10345
    
 
10346
    
 
10347
    
 
10348
 
 
10349
 
 
10350
    
 
10351
    
 
10352
    
 
10353
 
 
10354
 
 
10355
    
 
10356
    
 
10357
    
 
10358
 
 
10359
 
 
10360
    
 
10361
    
 
10362
    
 
10363
 
 
10364
 
 
10365
    
 
10366
    
 
10367
    
 
10368
 
 
10369
 
 
10370
    
 
10371
    
 
10372
    
 
10373
 
 
10374
 
 
10375
    
 
10376
    
 
10377
    
 
10378
 
 
10379
 
 
10380
    
 
10381
    
 
10382
    
 
10383
 
 
10384
 
 
10385
    
 
10386
    
 
10387
    
 
10388
 
 
10389
 
 
10390
    
 
10391
    
 
10392
    
 
10393
 
 
10394
 
 
10395
    
 
10396
    
 
10397
    
 
10398
 
 
10399
 
 
10400
    
 
10401
    
 
10402
    
 
10403
 
 
10404
 
 
10405
    
 
10406
    
 
10407
    
 
10408
 
 
10409
 
 
10410
    
 
10411
    
 
10412
    
 
10413
 
 
10414
 
 
10415
    
 
10416
    
 
10417
    
 
10418
 
 
10419
 
 
10420
    
 
10421
    
 
10422
    
 
10423
 
 
10424
 
 
10425
    
 
10426
    
 
10427
    
 
10428
 
 
10429
 
 
10430
    
 
10431
    
 
10432
    
 
10433
 
 
10434
 
 
10435
    
 
10436
    
 
10437
    
 
10438
 
 
10439
 
 
10440
    
 
10441
    
 
10442
    
 
10443
 
 
10444
 
 
10445
    
 
10446
    
 
10447
    
 
10448
 
 
10449
 
 
10450
    
 
10451
    
 
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
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
10481
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
10482
 
 
10483
if test "$GCC" = yes; then
 
10484
  case $host_os in
 
10485
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10486
    *) lt_awk_arg="/^libraries:/" ;;
 
10487
  esac
 
10488
  case $host_os in
 
10489
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10490
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10491
  esac
 
10492
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10493
  case $lt_search_path_spec in
 
10494
  *\;*)
 
10495
    # if the path contains ";" then we assume it to be the separator
 
10496
    # otherwise default to the standard path separator (i.e. ":") - it is
 
10497
    # assumed that no part of a normal pathname contains ";" but that should
 
10498
    # okay in the real world where ";" in dirpaths is itself problematic.
 
10499
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10500
    ;;
 
10501
  *)
 
10502
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10503
    ;;
 
10504
  esac
 
10505
  # Ok, now we have the path, separated by spaces, we can step through it
 
10506
  # and add multilib dir if necessary.
 
10507
  lt_tmp_lt_search_path_spec=
 
10508
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10509
  for lt_sys_path in $lt_search_path_spec; do
 
10510
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10511
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10512
    else
 
10513
      test -d "$lt_sys_path" && \
 
10514
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
10515
    fi
 
10516
  done
 
10517
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 
10518
BEGIN {RS=" "; FS="/|\n";} {
 
10519
  lt_foo="";
 
10520
  lt_count=0;
 
10521
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
10522
    if ($lt_i != "" && $lt_i != ".") {
 
10523
      if ($lt_i == "..") {
 
10524
        lt_count++;
 
10525
      } else {
 
10526
        if (lt_count == 0) {
 
10527
          lt_foo="/" $lt_i lt_foo;
 
10528
        } else {
 
10529
          lt_count--;
 
10530
        }
 
10531
      }
 
10532
    }
 
10533
  }
 
10534
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
10535
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
10536
}'`
 
10537
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10538
  # for these hosts.
 
10539
  case $host_os in
 
10540
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10541
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10542
  esac
 
10543
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 
10544
else
 
10545
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
10546
fi
 
10547
library_names_spec=
 
10548
libname_spec='lib$name'
 
10549
soname_spec=
 
10550
shrext_cmds=".so"
 
10551
postinstall_cmds=
 
10552
postuninstall_cmds=
 
10553
finish_cmds=
 
10554
finish_eval=
 
10555
shlibpath_var=
 
10556
shlibpath_overrides_runpath=unknown
 
10557
version_type=none
 
10558
dynamic_linker="$host_os ld.so"
 
10559
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10560
need_lib_prefix=unknown
 
10561
hardcode_into_libs=no
 
10562
 
 
10563
# when you set need_version to no, make sure it does not cause -set_version
 
10564
# flags to be left without arguments
 
10565
need_version=unknown
 
10566
 
 
10567
case $host_os in
 
10568
aix3*)
 
10569
  version_type=linux # correct to gnu/linux during the next big refactor
 
10570
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
10571
  shlibpath_var=LIBPATH
 
10572
 
 
10573
  # AIX 3 has no versioning support, so we append a major version to the name.
 
10574
  soname_spec='${libname}${release}${shared_ext}$major'
 
10575
  ;;
 
10576
 
 
10577
aix[4-9]*)
 
10578
  version_type=linux # correct to gnu/linux during the next big refactor
 
10579
  need_lib_prefix=no
 
10580
  need_version=no
 
10581
  hardcode_into_libs=yes
 
10582
  if test "$host_cpu" = ia64; then
 
10583
    # AIX 5 supports IA64
 
10584
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
10585
    shlibpath_var=LD_LIBRARY_PATH
 
10586
  else
 
10587
    # With GCC up to 2.95.x, collect2 would create an import file
 
10588
    # for dependence libraries.  The import file would start with
 
10589
    # the line `#! .'.  This would cause the generated library to
 
10590
    # depend on `.', always an invalid library.  This was fixed in
 
10591
    # development snapshots of GCC prior to 3.0.
 
10592
    case $host_os in
 
10593
      aix4 | aix4.[01] | aix4.[01].*)
 
10594
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
10595
           echo ' yes '
 
10596
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
10597
        :
 
10598
      else
 
10599
        can_build_shared=no
 
10600
      fi
 
10601
      ;;
 
10602
    esac
 
10603
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
10604
    # soname into executable. Probably we can add versioning support to
 
10605
    # collect2, so additional links can be useful in future.
 
10606
    if test "$aix_use_runtimelinking" = yes; then
 
10607
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
10608
      # instead of lib<name>.a to let people know that these are not
 
10609
      # typical AIX shared libraries.
 
10610
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10611
    else
 
10612
      # We preserve .a as extension for shared libraries through AIX4.2
 
10613
      # and later when we are not doing run time linking.
 
10614
      library_names_spec='${libname}${release}.a $libname.a'
 
10615
      soname_spec='${libname}${release}${shared_ext}$major'
 
10616
    fi
 
10617
    shlibpath_var=LIBPATH
 
10618
  fi
 
10619
  ;;
 
10620
 
 
10621
amigaos*)
 
10622
  case $host_cpu in
 
10623
  powerpc)
 
10624
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10625
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10626
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10627
    ;;
 
10628
  m68k)
 
10629
    library_names_spec='$libname.ixlibrary $libname.a'
 
10630
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10631
    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'
 
10632
    ;;
 
10633
  esac
 
10634
  ;;
 
10635
 
 
10636
beos*)
 
10637
  library_names_spec='${libname}${shared_ext}'
 
10638
  dynamic_linker="$host_os ld.so"
 
10639
  shlibpath_var=LIBRARY_PATH
 
10640
  ;;
 
10641
 
 
10642
bsdi[45]*)
 
10643
  version_type=linux # correct to gnu/linux during the next big refactor
 
10644
  need_version=no
 
10645
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10646
  soname_spec='${libname}${release}${shared_ext}$major'
 
10647
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
10648
  shlibpath_var=LD_LIBRARY_PATH
 
10649
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
10650
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
10651
  # the default ld.so.conf also contains /usr/contrib/lib and
 
10652
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
10653
  # libtool to hard-code these into programs
 
10654
  ;;
 
10655
 
 
10656
cygwin* | mingw* | pw32* | cegcc*)
 
10657
  version_type=windows
 
10658
  shrext_cmds=".dll"
 
10659
  need_version=no
 
10660
  need_lib_prefix=no
 
10661
 
 
10662
  case $GCC,$cc_basename in
 
10663
  yes,*)
 
10664
    # gcc
 
10665
    library_names_spec='$libname.dll.a'
 
10666
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10667
    postinstall_cmds='base_file=`basename \${file}`~
 
10668
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10669
      dldir=$destdir/`dirname \$dlpath`~
 
10670
      test -d \$dldir || mkdir -p \$dldir~
 
10671
      $install_prog $dir/$dlname \$dldir/$dlname~
 
10672
      chmod a+x \$dldir/$dlname~
 
10673
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
10674
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
10675
      fi'
 
10676
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10677
      dlpath=$dir/\$dldll~
 
10678
       $RM \$dlpath'
 
10679
    shlibpath_overrides_runpath=yes
 
10680
 
 
10681
    case $host_os in
 
10682
    cygwin*)
 
10683
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
10684
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10685
 
 
10686
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 
10687
      ;;
 
10688
    mingw* | cegcc*)
 
10689
      # MinGW DLLs use traditional 'lib' prefix
 
10690
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10691
      ;;
 
10692
    pw32*)
 
10693
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
10694
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10695
      ;;
 
10696
    esac
 
10697
    dynamic_linker='Win32 ld.exe'
 
10698
    ;;
 
10699
 
 
10700
  *,cl*)
 
10701
    # Native MSVC
 
10702
    libname_spec='$name'
 
10703
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10704
    library_names_spec='${libname}.dll.lib'
 
10705
 
 
10706
    case $build_os in
 
10707
    mingw*)
 
10708
      sys_lib_search_path_spec=
 
10709
      lt_save_ifs=$IFS
 
10710
      IFS=';'
 
10711
      for lt_path in $LIB
 
10712
      do
 
10713
        IFS=$lt_save_ifs
 
10714
        # Let DOS variable expansion print the short 8.3 style file name.
 
10715
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10716
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10717
      done
 
10718
      IFS=$lt_save_ifs
 
10719
      # Convert to MSYS style.
 
10720
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10721
      ;;
 
10722
    cygwin*)
 
10723
      # Convert to unix form, then to dos form, then back to unix form
 
10724
      # but this time dos style (no spaces!) so that the unix form looks
 
10725
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10726
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10727
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10728
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10729
      ;;
 
10730
    *)
 
10731
      sys_lib_search_path_spec="$LIB"
 
10732
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10733
        # It is most probably a Windows format PATH.
 
10734
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10735
      else
 
10736
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10737
      fi
 
10738
      # FIXME: find the short name or the path components, as spaces are
 
10739
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10740
      ;;
 
10741
    esac
 
10742
 
 
10743
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10744
    postinstall_cmds='base_file=`basename \${file}`~
 
10745
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10746
      dldir=$destdir/`dirname \$dlpath`~
 
10747
      test -d \$dldir || mkdir -p \$dldir~
 
10748
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10749
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10750
      dlpath=$dir/\$dldll~
 
10751
       $RM \$dlpath'
 
10752
    shlibpath_overrides_runpath=yes
 
10753
    dynamic_linker='Win32 link.exe'
 
10754
    ;;
 
10755
 
 
10756
  *)
 
10757
    # Assume MSVC wrapper
 
10758
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10759
    dynamic_linker='Win32 ld.exe'
 
10760
    ;;
 
10761
  esac
 
10762
  # FIXME: first we should search . and the directory the executable is in
 
10763
  shlibpath_var=PATH
 
10764
  ;;
 
10765
 
 
10766
darwin* | rhapsody*)
 
10767
  dynamic_linker="$host_os dyld"
 
10768
  version_type=darwin
 
10769
  need_lib_prefix=no
 
10770
  need_version=no
 
10771
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10772
  soname_spec='${libname}${release}${major}$shared_ext'
 
10773
  shlibpath_overrides_runpath=yes
 
10774
  shlibpath_var=DYLD_LIBRARY_PATH
 
10775
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
10776
 
 
10777
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
10778
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
10779
  ;;
 
10780
 
 
10781
dgux*)
 
10782
  version_type=linux # correct to gnu/linux during the next big refactor
 
10783
  need_lib_prefix=no
 
10784
  need_version=no
 
10785
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
10786
  soname_spec='${libname}${release}${shared_ext}$major'
 
10787
  shlibpath_var=LD_LIBRARY_PATH
 
10788
  ;;
 
10789
 
 
10790
freebsd* | dragonfly*)
 
10791
  # DragonFly does not have aout.  When/if they implement a new
 
10792
  # versioning mechanism, adjust this.
 
10793
  if test -x /usr/bin/objformat; then
 
10794
    objformat=`/usr/bin/objformat`
 
10795
  else
 
10796
    case $host_os in
 
10797
    freebsd[23].*) objformat=aout ;;
 
10798
    *) objformat=elf ;;
 
10799
    esac
 
10800
  fi
 
10801
  version_type=freebsd-$objformat
 
10802
  case $version_type in
 
10803
    freebsd-elf*)
 
10804
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10805
      need_version=no
 
10806
      need_lib_prefix=no
 
10807
      ;;
 
10808
    freebsd-*)
 
10809
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
10810
      need_version=yes
 
10811
      ;;
 
10812
  esac
 
10813
  shlibpath_var=LD_LIBRARY_PATH
 
10814
  case $host_os in
 
10815
  freebsd2.*)
 
10816
    shlibpath_overrides_runpath=yes
 
10817
    ;;
 
10818
  freebsd3.[01]* | freebsdelf3.[01]*)
 
10819
    shlibpath_overrides_runpath=yes
 
10820
    hardcode_into_libs=yes
 
10821
    ;;
 
10822
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
10823
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
10824
    shlibpath_overrides_runpath=no
 
10825
    hardcode_into_libs=yes
 
10826
    ;;
 
10827
  *) # from 4.6 on, and DragonFly
 
10828
    shlibpath_overrides_runpath=yes
 
10829
    hardcode_into_libs=yes
 
10830
    ;;
 
10831
  esac
 
10832
  ;;
 
10833
 
 
10834
gnu*)
 
10835
  version_type=linux # correct to gnu/linux during the next big refactor
 
10836
  need_lib_prefix=no
 
10837
  need_version=no
 
10838
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10839
  soname_spec='${libname}${release}${shared_ext}$major'
 
10840
  shlibpath_var=LD_LIBRARY_PATH
 
10841
  shlibpath_overrides_runpath=no
 
10842
  hardcode_into_libs=yes
 
10843
  ;;
 
10844
 
 
10845
haiku*)
 
10846
  version_type=linux # correct to gnu/linux during the next big refactor
 
10847
  need_lib_prefix=no
 
10848
  need_version=no
 
10849
  dynamic_linker="$host_os runtime_loader"
 
10850
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10851
  soname_spec='${libname}${release}${shared_ext}$major'
 
10852
  shlibpath_var=LIBRARY_PATH
 
10853
  shlibpath_overrides_runpath=yes
 
10854
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
10855
  hardcode_into_libs=yes
 
10856
  ;;
 
10857
 
 
10858
hpux9* | hpux10* | hpux11*)
 
10859
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
10860
  # link against other versions.
 
10861
  version_type=sunos
 
10862
  need_lib_prefix=no
 
10863
  need_version=no
 
10864
  case $host_cpu in
 
10865
  ia64*)
 
10866
    shrext_cmds='.so'
 
10867
    hardcode_into_libs=yes
 
10868
    dynamic_linker="$host_os dld.so"
 
10869
    shlibpath_var=LD_LIBRARY_PATH
 
10870
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10871
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10872
    soname_spec='${libname}${release}${shared_ext}$major'
 
10873
    if test "X$HPUX_IA64_MODE" = X32; then
 
10874
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
10875
    else
 
10876
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
10877
    fi
 
10878
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10879
    ;;
 
10880
  hppa*64*)
 
10881
    shrext_cmds='.sl'
 
10882
    hardcode_into_libs=yes
 
10883
    dynamic_linker="$host_os dld.sl"
 
10884
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10885
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10886
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10887
    soname_spec='${libname}${release}${shared_ext}$major'
 
10888
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10889
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10890
    ;;
 
10891
  *)
 
10892
    shrext_cmds='.sl'
 
10893
    dynamic_linker="$host_os dld.sl"
 
10894
    shlibpath_var=SHLIB_PATH
 
10895
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
10896
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10897
    soname_spec='${libname}${release}${shared_ext}$major'
 
10898
    ;;
 
10899
  esac
 
10900
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
10901
  postinstall_cmds='chmod 555 $lib'
 
10902
  # or fails outright, so override atomically:
 
10903
  install_override_mode=555
 
10904
  ;;
 
10905
 
 
10906
interix[3-9]*)
 
10907
  version_type=linux # correct to gnu/linux during the next big refactor
 
10908
  need_lib_prefix=no
 
10909
  need_version=no
 
10910
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10911
  soname_spec='${libname}${release}${shared_ext}$major'
 
10912
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
10913
  shlibpath_var=LD_LIBRARY_PATH
 
10914
  shlibpath_overrides_runpath=no
 
10915
  hardcode_into_libs=yes
 
10916
  ;;
 
10917
 
 
10918
irix5* | irix6* | nonstopux*)
 
10919
  case $host_os in
 
10920
    nonstopux*) version_type=nonstopux ;;
 
10921
    *)
 
10922
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
10923
                version_type=linux # correct to gnu/linux during the next big refactor
 
10924
        else
 
10925
                version_type=irix
 
10926
        fi ;;
 
10927
  esac
 
10928
  need_lib_prefix=no
 
10929
  need_version=no
 
10930
  soname_spec='${libname}${release}${shared_ext}$major'
 
10931
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10932
  case $host_os in
 
10933
  irix5* | nonstopux*)
 
10934
    libsuff= shlibsuff=
 
10935
    ;;
 
10936
  *)
 
10937
    case $LD in # libtool.m4 will add one of these switches to LD
 
10938
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
10939
      libsuff= shlibsuff= libmagic=32-bit;;
 
10940
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
10941
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
10942
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
10943
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
10944
    *) libsuff= shlibsuff= libmagic=never-match;;
 
10945
    esac
 
10946
    ;;
 
10947
  esac
 
10948
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
10949
  shlibpath_overrides_runpath=no
 
10950
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
10951
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
10952
  hardcode_into_libs=yes
 
10953
  ;;
 
10954
 
 
10955
# No shared lib support for Linux oldld, aout, or coff.
 
10956
linux*oldld* | linux*aout* | linux*coff*)
 
10957
  dynamic_linker=no
 
10958
  ;;
 
10959
 
 
10960
# This must be glibc/ELF.
 
10961
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
10962
  version_type=linux # correct to gnu/linux during the next big refactor
 
10963
  need_lib_prefix=no
 
10964
  need_version=no
 
10965
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10966
  soname_spec='${libname}${release}${shared_ext}$major'
 
10967
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
10968
  shlibpath_var=LD_LIBRARY_PATH
 
10969
  shlibpath_overrides_runpath=no
 
10970
 
 
10971
  # Some binutils ld are patched to set DT_RUNPATH
 
10972
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10973
  $as_echo_n "(cached) " >&6
 
10974
else
 
10975
  lt_cv_shlibpath_overrides_runpath=no
 
10976
    save_LDFLAGS=$LDFLAGS
 
10977
    save_libdir=$libdir
 
10978
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10979
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10980
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10981
/* end confdefs.h.  */
 
10982
 
 
10983
int
 
10984
main ()
 
10985
{
 
10986
 
 
10987
  ;
 
10988
  return 0;
 
10989
}
 
10990
_ACEOF
 
10991
if ac_fn_c_try_link "$LINENO"; then :
 
10992
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
10993
  lt_cv_shlibpath_overrides_runpath=yes
 
10994
fi
 
10995
fi
 
10996
rm -f core conftest.err conftest.$ac_objext \
 
10997
    conftest$ac_exeext conftest.$ac_ext
 
10998
    LDFLAGS=$save_LDFLAGS
 
10999
    libdir=$save_libdir
 
11000
    
 
11001
fi
 
11002
 
 
11003
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
11004
 
 
11005
  # This implies no fast_install, which is unacceptable.
 
11006
  # Some rework will be needed to allow for fast_install
 
11007
  # before this can be enabled.
 
11008
  hardcode_into_libs=yes
 
11009
 
 
11010
  # Add ABI-specific directories to the system library path.
 
11011
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
11012
 
 
11013
  # Append ld.so.conf contents to the search path
 
11014
  if test -f /etc/ld.so.conf; then
 
11015
    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' ' '`
 
11016
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
11017
 
 
11018
  fi
 
11019
 
 
11020
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
11021
  # powerpc, because MkLinux only supported shared libraries with the
 
11022
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
11023
  # most powerpc-linux boxes support dynamic linking these days and
 
11024
  # people can always --disable-shared, the test was removed, and we
 
11025
  # assume the GNU/Linux dynamic linker is in use.
 
11026
  dynamic_linker='GNU/Linux ld.so'
 
11027
  ;;
 
11028
 
 
11029
netbsd*)
 
11030
  version_type=sunos
 
11031
  need_lib_prefix=no
 
11032
  need_version=no
 
11033
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
11034
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
11035
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
11036
    dynamic_linker='NetBSD (a.out) ld.so'
 
11037
  else
 
11038
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
11039
    soname_spec='${libname}${release}${shared_ext}$major'
 
11040
    dynamic_linker='NetBSD ld.elf_so'
 
11041
  fi
 
11042
  shlibpath_var=LD_LIBRARY_PATH
 
11043
  shlibpath_overrides_runpath=yes
 
11044
  hardcode_into_libs=yes
 
11045
  ;;
 
11046
 
 
11047
newsos6)
 
11048
  version_type=linux # correct to gnu/linux during the next big refactor
 
11049
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11050
  shlibpath_var=LD_LIBRARY_PATH
 
11051
  shlibpath_overrides_runpath=yes
 
11052
  ;;
 
11053
 
 
11054
*nto* | *qnx*)
 
11055
  version_type=qnx
 
11056
  need_lib_prefix=no
 
11057
  need_version=no
 
11058
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11059
  soname_spec='${libname}${release}${shared_ext}$major'
 
11060
  shlibpath_var=LD_LIBRARY_PATH
 
11061
  shlibpath_overrides_runpath=no
 
11062
  hardcode_into_libs=yes
 
11063
  dynamic_linker='ldqnx.so'
 
11064
  ;;
 
11065
 
 
11066
openbsd*)
 
11067
  version_type=sunos
 
11068
  sys_lib_dlsearch_path_spec="/usr/lib"
 
11069
  need_lib_prefix=no
 
11070
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
11071
  case $host_os in
 
11072
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
11073
    *)                          need_version=no  ;;
 
11074
  esac
 
11075
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
11076
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
11077
  shlibpath_var=LD_LIBRARY_PATH
 
11078
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11079
    case $host_os in
 
11080
      openbsd2.[89] | openbsd2.[89].*)
 
11081
        shlibpath_overrides_runpath=no
 
11082
        ;;
 
11083
      *)
 
11084
        shlibpath_overrides_runpath=yes
 
11085
        ;;
 
11086
      esac
 
11087
  else
 
11088
    shlibpath_overrides_runpath=yes
 
11089
  fi
 
11090
  ;;
 
11091
 
 
11092
os2*)
 
11093
  libname_spec='$name'
 
11094
  shrext_cmds=".dll"
 
11095
  need_lib_prefix=no
 
11096
  library_names_spec='$libname${shared_ext} $libname.a'
 
11097
  dynamic_linker='OS/2 ld.exe'
 
11098
  shlibpath_var=LIBPATH
 
11099
  ;;
 
11100
 
 
11101
osf3* | osf4* | osf5*)
 
11102
  version_type=osf
 
11103
  need_lib_prefix=no
 
11104
  need_version=no
 
11105
  soname_spec='${libname}${release}${shared_ext}$major'
 
11106
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11107
  shlibpath_var=LD_LIBRARY_PATH
 
11108
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
11109
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
11110
  ;;
 
11111
 
 
11112
rdos*)
 
11113
  dynamic_linker=no
 
11114
  ;;
 
11115
 
 
11116
solaris*)
 
11117
  version_type=linux # correct to gnu/linux during the next big refactor
 
11118
  need_lib_prefix=no
 
11119
  need_version=no
 
11120
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11121
  soname_spec='${libname}${release}${shared_ext}$major'
 
11122
  shlibpath_var=LD_LIBRARY_PATH
 
11123
  shlibpath_overrides_runpath=yes
 
11124
  hardcode_into_libs=yes
 
11125
  # ldd complains unless libraries are executable
 
11126
  postinstall_cmds='chmod +x $lib'
 
11127
  ;;
 
11128
 
 
11129
sunos4*)
 
11130
  version_type=sunos
 
11131
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
11132
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
11133
  shlibpath_var=LD_LIBRARY_PATH
 
11134
  shlibpath_overrides_runpath=yes
 
11135
  if test "$with_gnu_ld" = yes; then
 
11136
    need_lib_prefix=no
 
11137
  fi
 
11138
  need_version=yes
 
11139
  ;;
 
11140
 
 
11141
sysv4 | sysv4.3*)
 
11142
  version_type=linux # correct to gnu/linux during the next big refactor
 
11143
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11144
  soname_spec='${libname}${release}${shared_ext}$major'
 
11145
  shlibpath_var=LD_LIBRARY_PATH
 
11146
  case $host_vendor in
 
11147
    sni)
 
11148
      shlibpath_overrides_runpath=no
 
11149
      need_lib_prefix=no
 
11150
      runpath_var=LD_RUN_PATH
 
11151
      ;;
 
11152
    siemens)
 
11153
      need_lib_prefix=no
 
11154
      ;;
 
11155
    motorola)
 
11156
      need_lib_prefix=no
 
11157
      need_version=no
 
11158
      shlibpath_overrides_runpath=no
 
11159
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
11160
      ;;
 
11161
  esac
 
11162
  ;;
 
11163
 
 
11164
sysv4*MP*)
 
11165
  if test -d /usr/nec ;then
 
11166
    version_type=linux # correct to gnu/linux during the next big refactor
 
11167
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
11168
    soname_spec='$libname${shared_ext}.$major'
 
11169
    shlibpath_var=LD_LIBRARY_PATH
 
11170
  fi
 
11171
  ;;
 
11172
 
 
11173
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
11174
  version_type=freebsd-elf
 
11175
  need_lib_prefix=no
 
11176
  need_version=no
 
11177
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
11178
  soname_spec='${libname}${release}${shared_ext}$major'
 
11179
  shlibpath_var=LD_LIBRARY_PATH
 
11180
  shlibpath_overrides_runpath=yes
 
11181
  hardcode_into_libs=yes
 
11182
  if test "$with_gnu_ld" = yes; then
 
11183
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
11184
  else
 
11185
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
11186
    case $host_os in
 
11187
      sco3.2v5*)
 
11188
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
11189
        ;;
 
11190
    esac
 
11191
  fi
 
11192
  sys_lib_dlsearch_path_spec='/usr/lib'
 
11193
  ;;
 
11194
 
 
11195
tpf*)
 
11196
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
11197
  version_type=linux # correct to gnu/linux during the next big refactor
 
11198
  need_lib_prefix=no
 
11199
  need_version=no
 
11200
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11201
  shlibpath_var=LD_LIBRARY_PATH
 
11202
  shlibpath_overrides_runpath=no
 
11203
  hardcode_into_libs=yes
 
11204
  ;;
 
11205
 
 
11206
uts4*)
 
11207
  version_type=linux # correct to gnu/linux during the next big refactor
 
11208
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11209
  soname_spec='${libname}${release}${shared_ext}$major'
 
11210
  shlibpath_var=LD_LIBRARY_PATH
 
11211
  ;;
 
11212
 
 
11213
*)
 
11214
  dynamic_linker=no
 
11215
  ;;
 
11216
esac
 
11217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
11218
$as_echo "$dynamic_linker" >&6; }
 
11219
test "$dynamic_linker" = no && can_build_shared=no
 
11220
 
 
11221
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
11222
if test "$GCC" = yes; then
 
11223
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
11224
fi
 
11225
 
 
11226
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11227
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11228
fi
 
11229
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11230
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11231
fi
 
11232
 
 
11233
 
 
11234
    
 
11235
    
 
11236
    
 
11237
 
 
11238
 
 
11239
    
 
11240
    
 
11241
    
 
11242
 
 
11243
 
 
11244
    
 
11245
    
 
11246
    
 
11247
 
 
11248
 
 
11249
    
 
11250
    
 
11251
    
 
11252
 
 
11253
 
 
11254
    
 
11255
    
 
11256
    
 
11257
 
 
11258
 
 
11259
    
 
11260
    
 
11261
    
 
11262
 
 
11263
 
 
11264
    
 
11265
    
 
11266
    
 
11267
 
 
11268
 
 
11269
    
 
11270
    
 
11271
    
 
11272
 
 
11273
 
 
11274
    
 
11275
    
 
11276
    
 
11277
 
 
11278
 
 
11279
    
 
11280
    
 
11281
    
 
11282
 
 
11283
 
 
11284
    
 
11285
    
 
11286
    
 
11287
 
 
11288
 
 
11289
    
 
11290
    
 
11291
    
 
11292
 
 
11293
 
 
11294
    
 
11295
    
 
11296
    
 
11297
 
 
11298
 
 
11299
    
 
11300
    
 
11301
    
 
11302
 
 
11303
 
 
11304
    
 
11305
    
 
11306
    
 
11307
 
 
11308
 
 
11309
    
 
11310
    
 
11311
    
 
11312
 
 
11313
 
 
11314
    
 
11315
    
 
11316
    
 
11317
 
 
11318
 
 
11319
    
 
11320
    
 
11321
    
 
11322
 
 
11323
 
 
11324
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
11325
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
11326
hardcode_action=
 
11327
if test -n "$hardcode_libdir_flag_spec" ||
 
11328
   test -n "$runpath_var" ||
 
11329
   test "X$hardcode_automatic" = "Xyes" ; then
 
11330
 
 
11331
  # We can hardcode non-existent directories.
 
11332
  if test "$hardcode_direct" != no &&
 
11333
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
11334
     # have to relink, otherwise we might link with an installed library
 
11335
     # when we should be linking with a yet-to-be-installed one
 
11336
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11337
     test "$hardcode_minus_L" != no; then
 
11338
    # Linking always hardcodes the temporary library directory.
 
11339
    hardcode_action=relink
 
11340
  else
 
11341
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
11342
    hardcode_action=immediate
 
11343
  fi
 
11344
else
 
11345
  # We cannot hardcode anything, or else we can only hardcode existing
 
11346
  # directories.
 
11347
  hardcode_action=unsupported
 
11348
fi
 
11349
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
11350
$as_echo "$hardcode_action" >&6; }
 
11351
 
 
11352
if test "$hardcode_action" = relink ||
 
11353
   test "$inherit_rpath" = yes; then
 
11354
  # Fast installation is not supported
 
11355
  enable_fast_install=no
 
11356
elif test "$shlibpath_overrides_runpath" = yes ||
 
11357
     test "$enable_shared" = no; then
 
11358
  # Fast installation is not necessary
 
11359
  enable_fast_install=needless
 
11360
fi
 
11361
 
 
11362
    
 
11363
    
 
11364
    
 
11365
 
 
11366
 
 
11367
  if test "x$enable_dlopen" != xyes; then
 
11368
  enable_dlopen=unknown
 
11369
  enable_dlopen_self=unknown
 
11370
  enable_dlopen_self_static=unknown
 
11371
else
 
11372
  lt_cv_dlopen=no
 
11373
  lt_cv_dlopen_libs=
 
11374
 
 
11375
  case $host_os in
 
11376
  beos*)
 
11377
    lt_cv_dlopen="load_add_on"
 
11378
    lt_cv_dlopen_libs=
 
11379
    lt_cv_dlopen_self=yes
 
11380
    ;;
 
11381
 
 
11382
  mingw* | pw32* | cegcc*)
 
11383
    lt_cv_dlopen="LoadLibrary"
 
11384
    lt_cv_dlopen_libs=
 
11385
    ;;
 
11386
 
 
11387
  cygwin*)
 
11388
    lt_cv_dlopen="dlopen"
 
11389
    lt_cv_dlopen_libs=
 
11390
    ;;
 
11391
 
 
11392
  darwin*)
 
11393
  # if libdl is installed we need to link against it
 
11394
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11395
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11396
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
11397
  $as_echo_n "(cached) " >&6
 
11398
else
 
11399
  ac_check_lib_save_LIBS=$LIBS
 
11400
LIBS="-ldl  $LIBS"
 
11401
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11402
/* end confdefs.h.  */
 
11403
 
 
11404
/* Override any GCC internal prototype to avoid an error.
 
11405
   Use char because int might match the return type of a GCC
 
11406
   builtin and then its argument prototype would still apply.  */
 
11407
#ifdef __cplusplus
 
11408
extern "C"
 
11409
#endif
 
11410
char dlopen ();
 
11411
int
 
11412
main ()
 
11413
{
 
11414
return dlopen ();
 
11415
  ;
 
11416
  return 0;
 
11417
}
 
11418
_ACEOF
 
11419
if ac_fn_c_try_link "$LINENO"; then :
 
11420
  ac_cv_lib_dl_dlopen=yes
 
11421
else
 
11422
  ac_cv_lib_dl_dlopen=no
 
11423
fi
 
11424
rm -f core conftest.err conftest.$ac_objext \
 
11425
    conftest$ac_exeext conftest.$ac_ext
 
11426
LIBS=$ac_check_lib_save_LIBS
 
11427
fi
 
11428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11429
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11430
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
11431
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
11432
else
 
11433
  
 
11434
    lt_cv_dlopen="dyld"
 
11435
    lt_cv_dlopen_libs=
 
11436
    lt_cv_dlopen_self=yes
 
11437
    
 
11438
fi
 
11439
 
 
11440
    ;;
 
11441
 
 
11442
  *)
 
11443
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11444
if test "x$ac_cv_func_shl_load" = xyes; then :
 
11445
  lt_cv_dlopen="shl_load"
 
11446
else
 
11447
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
11448
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
11449
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
11450
  $as_echo_n "(cached) " >&6
 
11451
else
 
11452
  ac_check_lib_save_LIBS=$LIBS
 
11453
LIBS="-ldld  $LIBS"
 
11454
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11455
/* end confdefs.h.  */
 
11456
 
 
11457
/* Override any GCC internal prototype to avoid an error.
 
11458
   Use char because int might match the return type of a GCC
 
11459
   builtin and then its argument prototype would still apply.  */
 
11460
#ifdef __cplusplus
 
11461
extern "C"
 
11462
#endif
 
11463
char shl_load ();
 
11464
int
 
11465
main ()
 
11466
{
 
11467
return shl_load ();
 
11468
  ;
 
11469
  return 0;
 
11470
}
 
11471
_ACEOF
 
11472
if ac_fn_c_try_link "$LINENO"; then :
 
11473
  ac_cv_lib_dld_shl_load=yes
 
11474
else
 
11475
  ac_cv_lib_dld_shl_load=no
 
11476
fi
 
11477
rm -f core conftest.err conftest.$ac_objext \
 
11478
    conftest$ac_exeext conftest.$ac_ext
 
11479
LIBS=$ac_check_lib_save_LIBS
 
11480
fi
 
11481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
11482
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11483
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
11484
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
11485
else
 
11486
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11487
if test "x$ac_cv_func_dlopen" = xyes; then :
 
11488
  lt_cv_dlopen="dlopen"
 
11489
else
 
11490
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11491
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11492
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
11493
  $as_echo_n "(cached) " >&6
 
11494
else
 
11495
  ac_check_lib_save_LIBS=$LIBS
 
11496
LIBS="-ldl  $LIBS"
 
11497
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11498
/* end confdefs.h.  */
 
11499
 
 
11500
/* Override any GCC internal prototype to avoid an error.
 
11501
   Use char because int might match the return type of a GCC
 
11502
   builtin and then its argument prototype would still apply.  */
 
11503
#ifdef __cplusplus
 
11504
extern "C"
 
11505
#endif
 
11506
char dlopen ();
 
11507
int
 
11508
main ()
 
11509
{
 
11510
return dlopen ();
 
11511
  ;
 
11512
  return 0;
 
11513
}
 
11514
_ACEOF
 
11515
if ac_fn_c_try_link "$LINENO"; then :
 
11516
  ac_cv_lib_dl_dlopen=yes
 
11517
else
 
11518
  ac_cv_lib_dl_dlopen=no
 
11519
fi
 
11520
rm -f core conftest.err conftest.$ac_objext \
 
11521
    conftest$ac_exeext conftest.$ac_ext
 
11522
LIBS=$ac_check_lib_save_LIBS
 
11523
fi
 
11524
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11525
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11526
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
11527
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
11528
else
 
11529
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
11530
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
11531
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
11532
  $as_echo_n "(cached) " >&6
 
11533
else
 
11534
  ac_check_lib_save_LIBS=$LIBS
 
11535
LIBS="-lsvld  $LIBS"
 
11536
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11537
/* end confdefs.h.  */
 
11538
 
 
11539
/* Override any GCC internal prototype to avoid an error.
 
11540
   Use char because int might match the return type of a GCC
 
11541
   builtin and then its argument prototype would still apply.  */
 
11542
#ifdef __cplusplus
 
11543
extern "C"
 
11544
#endif
 
11545
char dlopen ();
 
11546
int
 
11547
main ()
 
11548
{
 
11549
return dlopen ();
 
11550
  ;
 
11551
  return 0;
 
11552
}
 
11553
_ACEOF
 
11554
if ac_fn_c_try_link "$LINENO"; then :
 
11555
  ac_cv_lib_svld_dlopen=yes
 
11556
else
 
11557
  ac_cv_lib_svld_dlopen=no
 
11558
fi
 
11559
rm -f core conftest.err conftest.$ac_objext \
 
11560
    conftest$ac_exeext conftest.$ac_ext
 
11561
LIBS=$ac_check_lib_save_LIBS
 
11562
fi
 
11563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
11564
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11565
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
11566
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
11567
else
 
11568
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
11569
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
11570
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
11571
  $as_echo_n "(cached) " >&6
 
11572
else
 
11573
  ac_check_lib_save_LIBS=$LIBS
 
11574
LIBS="-ldld  $LIBS"
 
11575
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11576
/* end confdefs.h.  */
 
11577
 
 
11578
/* Override any GCC internal prototype to avoid an error.
 
11579
   Use char because int might match the return type of a GCC
 
11580
   builtin and then its argument prototype would still apply.  */
 
11581
#ifdef __cplusplus
 
11582
extern "C"
 
11583
#endif
 
11584
char dld_link ();
 
11585
int
 
11586
main ()
 
11587
{
 
11588
return dld_link ();
 
11589
  ;
 
11590
  return 0;
 
11591
}
 
11592
_ACEOF
 
11593
if ac_fn_c_try_link "$LINENO"; then :
 
11594
  ac_cv_lib_dld_dld_link=yes
 
11595
else
 
11596
  ac_cv_lib_dld_dld_link=no
 
11597
fi
 
11598
rm -f core conftest.err conftest.$ac_objext \
 
11599
    conftest$ac_exeext conftest.$ac_ext
 
11600
LIBS=$ac_check_lib_save_LIBS
 
11601
fi
 
11602
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
11603
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11604
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
11605
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
11606
fi
 
11607
 
 
11608
              
 
11609
fi
 
11610
 
 
11611
            
 
11612
fi
 
11613
 
 
11614
          
 
11615
fi
 
11616
 
 
11617
        
 
11618
fi
 
11619
 
 
11620
      
 
11621
fi
 
11622
 
 
11623
    ;;
 
11624
  esac
 
11625
 
 
11626
  if test "x$lt_cv_dlopen" != xno; then
 
11627
    enable_dlopen=yes
 
11628
  else
 
11629
    enable_dlopen=no
 
11630
  fi
 
11631
 
 
11632
  case $lt_cv_dlopen in
 
11633
  dlopen)
 
11634
    save_CPPFLAGS="$CPPFLAGS"
 
11635
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
11636
 
 
11637
    save_LDFLAGS="$LDFLAGS"
 
11638
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
11639
 
 
11640
    save_LIBS="$LIBS"
 
11641
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
11642
 
 
11643
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
11644
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
11645
if ${lt_cv_dlopen_self+:} false; then :
 
11646
  $as_echo_n "(cached) " >&6
 
11647
else
 
11648
          if test "$cross_compiling" = yes; then :
 
11649
  lt_cv_dlopen_self=cross
 
11650
else
 
11651
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
11652
  lt_status=$lt_dlunknown
 
11653
  cat > conftest.$ac_ext <<_LT_EOF
 
11654
#line $LINENO "configure"
 
11655
#include "confdefs.h"
 
11656
 
 
11657
#if HAVE_DLFCN_H
 
11658
#include <dlfcn.h>
 
11659
#endif
 
11660
 
 
11661
#include <stdio.h>
 
11662
 
 
11663
#ifdef RTLD_GLOBAL
 
11664
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
11665
#else
 
11666
#  ifdef DL_GLOBAL
 
11667
#    define LT_DLGLOBAL         DL_GLOBAL
 
11668
#  else
 
11669
#    define LT_DLGLOBAL         0
 
11670
#  endif
 
11671
#endif
 
11672
 
 
11673
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11674
   find out it does not work in some platform. */
 
11675
#ifndef LT_DLLAZY_OR_NOW
 
11676
#  ifdef RTLD_LAZY
 
11677
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11678
#  else
 
11679
#    ifdef DL_LAZY
 
11680
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11681
#    else
 
11682
#      ifdef RTLD_NOW
 
11683
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11684
#      else
 
11685
#        ifdef DL_NOW
 
11686
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11687
#        else
 
11688
#          define LT_DLLAZY_OR_NOW      0
 
11689
#        endif
 
11690
#      endif
 
11691
#    endif
 
11692
#  endif
 
11693
#endif
 
11694
 
 
11695
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11696
   correspondingly for the symbols needed.  */
 
11697
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11698
int fnord () __attribute__((visibility("default")));
 
11699
#endif
 
11700
 
 
11701
int fnord () { return 42; }
 
11702
int main ()
 
11703
{
 
11704
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11705
  int status = $lt_dlunknown;
 
11706
 
 
11707
  if (self)
 
11708
    {
 
11709
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11710
      else
 
11711
        {
 
11712
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11713
          else puts (dlerror ());
 
11714
        }
 
11715
      /* dlclose (self); */
 
11716
    }
 
11717
  else
 
11718
    puts (dlerror ());
 
11719
 
 
11720
  return status;
 
11721
}
 
11722
_LT_EOF
 
11723
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
11724
  (eval $ac_link) 2>&5
 
11725
  ac_status=$?
 
11726
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11727
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11728
    (./conftest; exit; ) >&5 2>/dev/null
 
11729
    lt_status=$?
 
11730
    case x$lt_status in
 
11731
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
11732
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
11733
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
11734
    esac
 
11735
  else :
 
11736
    # compilation failed
 
11737
    lt_cv_dlopen_self=no
 
11738
  fi
 
11739
fi
 
11740
rm -fr conftest*
 
11741
 
 
11742
    
 
11743
fi
 
11744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
11745
$as_echo "$lt_cv_dlopen_self" >&6; }
 
11746
 
 
11747
    if test "x$lt_cv_dlopen_self" = xyes; then
 
11748
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
11749
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
11750
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
11751
if ${lt_cv_dlopen_self_static+:} false; then :
 
11752
  $as_echo_n "(cached) " >&6
 
11753
else
 
11754
          if test "$cross_compiling" = yes; then :
 
11755
  lt_cv_dlopen_self_static=cross
 
11756
else
 
11757
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
11758
  lt_status=$lt_dlunknown
 
11759
  cat > conftest.$ac_ext <<_LT_EOF
 
11760
#line $LINENO "configure"
 
11761
#include "confdefs.h"
 
11762
 
 
11763
#if HAVE_DLFCN_H
 
11764
#include <dlfcn.h>
 
11765
#endif
 
11766
 
 
11767
#include <stdio.h>
 
11768
 
 
11769
#ifdef RTLD_GLOBAL
 
11770
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
11771
#else
 
11772
#  ifdef DL_GLOBAL
 
11773
#    define LT_DLGLOBAL         DL_GLOBAL
 
11774
#  else
 
11775
#    define LT_DLGLOBAL         0
 
11776
#  endif
 
11777
#endif
 
11778
 
 
11779
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11780
   find out it does not work in some platform. */
 
11781
#ifndef LT_DLLAZY_OR_NOW
 
11782
#  ifdef RTLD_LAZY
 
11783
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11784
#  else
 
11785
#    ifdef DL_LAZY
 
11786
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11787
#    else
 
11788
#      ifdef RTLD_NOW
 
11789
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11790
#      else
 
11791
#        ifdef DL_NOW
 
11792
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11793
#        else
 
11794
#          define LT_DLLAZY_OR_NOW      0
 
11795
#        endif
 
11796
#      endif
 
11797
#    endif
 
11798
#  endif
 
11799
#endif
 
11800
 
 
11801
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11802
   correspondingly for the symbols needed.  */
 
11803
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11804
int fnord () __attribute__((visibility("default")));
 
11805
#endif
 
11806
 
 
11807
int fnord () { return 42; }
 
11808
int main ()
 
11809
{
 
11810
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11811
  int status = $lt_dlunknown;
 
11812
 
 
11813
  if (self)
 
11814
    {
 
11815
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11816
      else
 
11817
        {
 
11818
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11819
          else puts (dlerror ());
 
11820
        }
 
11821
      /* dlclose (self); */
 
11822
    }
 
11823
  else
 
11824
    puts (dlerror ());
 
11825
 
 
11826
  return status;
 
11827
}
 
11828
_LT_EOF
 
11829
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
11830
  (eval $ac_link) 2>&5
 
11831
  ac_status=$?
 
11832
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11833
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11834
    (./conftest; exit; ) >&5 2>/dev/null
 
11835
    lt_status=$?
 
11836
    case x$lt_status in
 
11837
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
11838
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
11839
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
11840
    esac
 
11841
  else :
 
11842
    # compilation failed
 
11843
    lt_cv_dlopen_self_static=no
 
11844
  fi
 
11845
fi
 
11846
rm -fr conftest*
 
11847
 
 
11848
      
 
11849
fi
 
11850
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
11851
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
11852
    fi
 
11853
 
 
11854
    CPPFLAGS="$save_CPPFLAGS"
 
11855
    LDFLAGS="$save_LDFLAGS"
 
11856
    LIBS="$save_LIBS"
 
11857
    ;;
 
11858
  esac
 
11859
 
 
11860
  case $lt_cv_dlopen_self in
 
11861
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
11862
  *) enable_dlopen_self=unknown ;;
 
11863
  esac
 
11864
 
 
11865
  case $lt_cv_dlopen_self_static in
 
11866
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
11867
  *) enable_dlopen_self_static=unknown ;;
 
11868
  esac
 
11869
fi
 
11870
 
 
11871
    
 
11872
    
 
11873
    
 
11874
 
 
11875
 
 
11876
    
 
11877
    
 
11878
    
 
11879
 
 
11880
 
 
11881
    
 
11882
    
 
11883
    
 
11884
 
 
11885
 
 
11886
  
 
11887
striplib=
 
11888
old_striplib=
 
11889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
11890
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
11891
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
11892
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11893
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11894
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11895
$as_echo "yes" >&6; }
 
11896
else
 
11897
# FIXME - insert some real tests, host_os isn't really good enough
 
11898
  case $host_os in
 
11899
  darwin*)
 
11900
    if test -n "$STRIP" ; then
 
11901
      striplib="$STRIP -x"
 
11902
      old_striplib="$STRIP -S"
 
11903
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11904
$as_echo "yes" >&6; }
 
11905
    else
 
11906
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11907
$as_echo "no" >&6; }
 
11908
    fi
 
11909
    ;;
 
11910
  *)
 
11911
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11912
$as_echo "no" >&6; }
 
11913
    ;;
 
11914
  esac
 
11915
fi
 
11916
 
 
11917
    
 
11918
    
 
11919
    
 
11920
 
 
11921
 
 
11922
    
 
11923
    
 
11924
    
 
11925
 
 
11926
 
 
11927
 
 
11928
  # Report which library types will actually be built
 
11929
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
11930
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11931
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
11932
$as_echo "$can_build_shared" >&6; }
 
11933
 
 
11934
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
11935
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
11936
  test "$can_build_shared" = "no" && enable_shared=no
 
11937
 
 
11938
  # On AIX, shared libraries and static libraries use the same namespace, and
 
11939
  # are all built from PIC.
 
11940
  case $host_os in
 
11941
  aix3*)
 
11942
    test "$enable_shared" = yes && enable_static=no
 
11943
    if test -n "$RANLIB"; then
 
11944
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11945
      postinstall_cmds='$RANLIB $lib'
 
11946
    fi
 
11947
    ;;
 
11948
 
 
11949
  aix[4-9]*)
 
11950
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11951
      test "$enable_shared" = yes && enable_static=no
 
11952
    fi
 
11953
    ;;
 
11954
  esac
 
11955
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
11956
$as_echo "$enable_shared" >&6; }
 
11957
 
 
11958
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
11959
$as_echo_n "checking whether to build static libraries... " >&6; }
 
11960
  # Make sure either enable_shared or enable_static is yes.
 
11961
  test "$enable_shared" = yes || enable_static=yes
 
11962
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
11963
$as_echo "$enable_static" >&6; }
 
11964
 
 
11965
  
 
11966
 
 
11967
 
 
11968
fi
 
11969
ac_ext=c
 
11970
ac_cpp='$CPP $CPPFLAGS'
 
11971
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11972
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11973
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11974
 
 
11975
CC="$lt_save_CC"
 
11976
 
 
11977
 
 
11978
 
 
11979
 
 
11980
 
 
11981
 
 
11982
 
 
11983
 
 
11984
       
 
11985
       
 
11986
 
 
11987
 
 
11988
 
 
11989
 
 
11990
 
 
11991
        ac_config_commands="$ac_config_commands libtool"
 
11992
 
 
11993
 
 
11994
 
 
11995
 
 
11996
# Only expand once:
 
11997
 
 
11998
 
 
11999
 
 
12000
ac_config_headers="$ac_config_headers src/include/config.h"
 
12001
 
 
12002
 
 
12003
@%:@ Check whether --enable-silent-rules was given.
 
12004
if test "${enable_silent_rules+set}" = set; then :
 
12005
  enableval=$enable_silent_rules; 
 
12006
fi
 
12007
 
 
12008
case $enable_silent_rules in @%:@ (((
 
12009
  yes) AM_DEFAULT_VERBOSITY=0;;
 
12010
   no) AM_DEFAULT_VERBOSITY=1;;
 
12011
    *) AM_DEFAULT_VERBOSITY=1;;
 
12012
esac
 
12013
am_make=${MAKE-make}
 
12014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
12015
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
12016
if ${am_cv_make_support_nested_variables+:} false; then :
 
12017
  $as_echo_n "(cached) " >&6
 
12018
else
 
12019
  if $as_echo 'TRUE=$(BAR$(V))
 
12020
BAR0=false
 
12021
BAR1=true
 
12022
V=1
 
12023
am__doit:
 
12024
        @$(TRUE)
 
12025
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
12026
  am_cv_make_support_nested_variables=yes
 
12027
else
 
12028
  am_cv_make_support_nested_variables=no
 
12029
fi
 
12030
fi
 
12031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
12032
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
12033
if test $am_cv_make_support_nested_variables = yes; then
 
12034
    AM_V='$(V)'
 
12035
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
12036
else
 
12037
  AM_V=$AM_DEFAULT_VERBOSITY
 
12038
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
12039
fi
 
12040
AM_BACKSLASH='\'
 
12041
 
 
12042
 
 
12043
 if test `uname` = "Linux"; then
 
12044
  LINUX_TRUE=
 
12045
  LINUX_FALSE='#'
 
12046
else
 
12047
  LINUX_TRUE='#'
 
12048
  LINUX_FALSE=
 
12049
fi
 
12050
 
 
12051
 if test `uname` = "Darwin"; then
 
12052
  DARWIN_TRUE=
 
12053
  DARWIN_FALSE='#'
 
12054
else
 
12055
  DARWIN_TRUE='#'
 
12056
  DARWIN_FALSE=
 
12057
fi
 
12058
 
 
12059
 
 
12060
ac_ext=cpp
 
12061
ac_cpp='$CXXCPP $CPPFLAGS'
 
12062
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12063
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12064
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
12065
if test -z "$CXX"; then
 
12066
  if test -n "$CCC"; then
 
12067
    CXX=$CCC
 
12068
  else
 
12069
    if test -n "$ac_tool_prefix"; then
 
12070
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
12071
  do
 
12072
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
12073
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
12074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12075
$as_echo_n "checking for $ac_word... " >&6; }
 
12076
if ${ac_cv_prog_CXX+:} false; then :
 
12077
  $as_echo_n "(cached) " >&6
 
12078
else
 
12079
  if test -n "$CXX"; then
 
12080
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
12081
else
 
12082
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12083
for as_dir in $PATH
 
12084
do
 
12085
  IFS=$as_save_IFS
 
12086
  test -z "$as_dir" && as_dir=.
 
12087
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12088
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12089
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
12090
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12091
    break 2
 
12092
  fi
 
12093
done
 
12094
  done
 
12095
IFS=$as_save_IFS
 
12096
 
 
12097
fi
 
12098
fi
 
12099
CXX=$ac_cv_prog_CXX
 
12100
if test -n "$CXX"; then
 
12101
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
12102
$as_echo "$CXX" >&6; }
 
12103
else
 
12104
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12105
$as_echo "no" >&6; }
 
12106
fi
 
12107
 
 
12108
 
 
12109
    test -n "$CXX" && break
 
12110
  done
 
12111
fi
 
12112
if test -z "$CXX"; then
 
12113
  ac_ct_CXX=$CXX
 
12114
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
12115
do
 
12116
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
12117
set dummy $ac_prog; ac_word=$2
 
12118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12119
$as_echo_n "checking for $ac_word... " >&6; }
 
12120
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
 
12121
  $as_echo_n "(cached) " >&6
 
12122
else
 
12123
  if test -n "$ac_ct_CXX"; then
 
12124
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
12125
else
 
12126
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12127
for as_dir in $PATH
 
12128
do
 
12129
  IFS=$as_save_IFS
 
12130
  test -z "$as_dir" && as_dir=.
 
12131
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12132
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12133
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
12134
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12135
    break 2
 
12136
  fi
 
12137
done
 
12138
  done
 
12139
IFS=$as_save_IFS
 
12140
 
 
12141
fi
 
12142
fi
 
12143
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
12144
if test -n "$ac_ct_CXX"; then
 
12145
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
12146
$as_echo "$ac_ct_CXX" >&6; }
 
12147
else
 
12148
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12149
$as_echo "no" >&6; }
 
12150
fi
 
12151
 
 
12152
 
 
12153
  test -n "$ac_ct_CXX" && break
 
12154
done
 
12155
 
 
12156
  if test "x$ac_ct_CXX" = x; then
 
12157
    CXX="g++"
 
12158
  else
 
12159
    case $cross_compiling:$ac_tool_warned in
 
12160
yes:)
 
12161
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
12162
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
12163
ac_tool_warned=yes ;;
 
12164
esac
 
12165
    CXX=$ac_ct_CXX
 
12166
  fi
 
12167
fi
 
12168
 
 
12169
  fi
 
12170
fi
 
12171
# Provide some information about the compiler.
 
12172
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
12173
set X $ac_compile
 
12174
ac_compiler=$2
 
12175
for ac_option in --version -v -V -qversion; do
 
12176
  { { ac_try="$ac_compiler $ac_option >&5"
 
12177
case "(($ac_try" in
 
12178
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12179
  *) ac_try_echo=$ac_try;;
 
12180
esac
 
12181
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
12182
$as_echo "$ac_try_echo"; } >&5
 
12183
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
12184
  ac_status=$?
 
12185
  if test -s conftest.err; then
 
12186
    sed '10a\
 
12187
... rest of stderr output deleted ...
 
12188
         10q' conftest.err >conftest.er1
 
12189
    cat conftest.er1 >&5
 
12190
  fi
 
12191
  rm -f conftest.er1 conftest.err
 
12192
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12193
  test $ac_status = 0; }
 
12194
done
 
12195
 
 
12196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
12197
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
12198
if ${ac_cv_cxx_compiler_gnu+:} false; then :
 
12199
  $as_echo_n "(cached) " >&6
 
12200
else
 
12201
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12202
/* end confdefs.h.  */
 
12203
 
 
12204
int
 
12205
main ()
 
12206
{
 
12207
#ifndef __GNUC__
 
12208
       choke me
 
12209
#endif
 
12210
 
 
12211
  ;
 
12212
  return 0;
 
12213
}
 
12214
_ACEOF
 
12215
if ac_fn_cxx_try_compile "$LINENO"; then :
 
12216
  ac_compiler_gnu=yes
 
12217
else
 
12218
  ac_compiler_gnu=no
 
12219
fi
 
12220
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12221
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
12222
 
 
12223
fi
 
12224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
12225
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
12226
if test $ac_compiler_gnu = yes; then
 
12227
  GXX=yes
 
12228
else
 
12229
  GXX=
 
12230
fi
 
12231
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
12232
ac_save_CXXFLAGS=$CXXFLAGS
 
12233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
12234
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
12235
if ${ac_cv_prog_cxx_g+:} false; then :
 
12236
  $as_echo_n "(cached) " >&6
 
12237
else
 
12238
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
12239
   ac_cxx_werror_flag=yes
 
12240
   ac_cv_prog_cxx_g=no
 
12241
   CXXFLAGS="-g"
 
12242
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12243
/* end confdefs.h.  */
 
12244
 
 
12245
int
 
12246
main ()
 
12247
{
 
12248
 
 
12249
  ;
 
12250
  return 0;
 
12251
}
 
12252
_ACEOF
 
12253
if ac_fn_cxx_try_compile "$LINENO"; then :
 
12254
  ac_cv_prog_cxx_g=yes
 
12255
else
 
12256
  CXXFLAGS=""
 
12257
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12258
/* end confdefs.h.  */
 
12259
 
 
12260
int
 
12261
main ()
 
12262
{
 
12263
 
 
12264
  ;
 
12265
  return 0;
 
12266
}
 
12267
_ACEOF
 
12268
if ac_fn_cxx_try_compile "$LINENO"; then :
 
12269
  
 
12270
else
 
12271
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
12272
         CXXFLAGS="-g"
 
12273
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12274
/* end confdefs.h.  */
 
12275
 
 
12276
int
 
12277
main ()
 
12278
{
 
12279
 
 
12280
  ;
 
12281
  return 0;
 
12282
}
 
12283
_ACEOF
 
12284
if ac_fn_cxx_try_compile "$LINENO"; then :
 
12285
  ac_cv_prog_cxx_g=yes
 
12286
fi
 
12287
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12288
fi
 
12289
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12290
fi
 
12291
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12292
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
12293
fi
 
12294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
12295
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
12296
if test "$ac_test_CXXFLAGS" = set; then
 
12297
  CXXFLAGS=$ac_save_CXXFLAGS
 
12298
elif test $ac_cv_prog_cxx_g = yes; then
 
12299
  if test "$GXX" = yes; then
 
12300
    CXXFLAGS="-g -O2"
 
12301
  else
 
12302
    CXXFLAGS="-g"
 
12303
  fi
 
12304
else
 
12305
  if test "$GXX" = yes; then
 
12306
    CXXFLAGS="-O2"
 
12307
  else
 
12308
    CXXFLAGS=
 
12309
  fi
 
12310
fi
 
12311
ac_ext=c
 
12312
ac_cpp='$CPP $CPPFLAGS'
 
12313
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12314
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12315
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12316
 
 
12317
depcc="$CXX"  am_compiler_list=
 
12318
 
 
12319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
12320
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
12321
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
 
12322
  $as_echo_n "(cached) " >&6
 
12323
else
 
12324
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
12325
  # We make a subdir and do the tests there.  Otherwise we can end up
 
12326
  # making bogus files that we don't know about and never remove.  For
 
12327
  # instance it was reported that on HP-UX the gcc test will end up
 
12328
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
12329
  # in D".
 
12330
  rm -rf conftest.dir
 
12331
  mkdir conftest.dir
 
12332
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
12333
  # using a relative directory.
 
12334
  cp "$am_depcomp" conftest.dir
 
12335
  cd conftest.dir
 
12336
  # We will build objects and dependencies in a subdirectory because
 
12337
  # it helps to detect inapplicable dependency modes.  For instance
 
12338
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
12339
  # side effect of compilation, but ICC will put the dependencies in
 
12340
  # the current directory while Tru64 will put them in the object
 
12341
  # directory.
 
12342
  mkdir sub
 
12343
 
 
12344
  am_cv_CXX_dependencies_compiler_type=none
 
12345
  if test "$am_compiler_list" = ""; then
 
12346
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
12347
  fi
 
12348
  am__universal=false
 
12349
  case " $depcc " in #(
 
12350
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
12351
     esac
 
12352
 
 
12353
  for depmode in $am_compiler_list; do
 
12354
    # Setup a source with many dependencies, because some compilers
 
12355
    # like to wrap large dependency lists on column 80 (with \), and
 
12356
    # we should not choose a depcomp mode which is confused by this.
 
12357
    #
 
12358
    # We need to recreate these files for each test, as the compiler may
 
12359
    # overwrite some of them when testing with obscure command lines.
 
12360
    # This happens at least with the AIX C compiler.
 
12361
    : > sub/conftest.c
 
12362
    for i in 1 2 3 4 5 6; do
 
12363
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
12364
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
12365
      # Solaris 10 /bin/sh.
 
12366
      echo '/* dummy */' > sub/conftst$i.h
 
12367
    done
 
12368
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
12369
 
 
12370
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
 
12371
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
12372
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
12373
    # versions had trouble with output in subdirs.
 
12374
    am__obj=sub/conftest.${OBJEXT-o}
 
12375
    am__minus_obj="-o $am__obj"
 
12376
    case $depmode in
 
12377
    gcc)
 
12378
      # This depmode causes a compiler race in universal mode.
 
12379
      test "$am__universal" = false || continue
 
12380
      ;;
 
12381
    nosideeffect)
 
12382
      # After this tag, mechanisms are not by side-effect, so they'll
 
12383
      # only be used when explicitly requested.
 
12384
      if test "x$enable_dependency_tracking" = xyes; then
 
12385
        continue
 
12386
      else
 
12387
        break
 
12388
      fi
 
12389
      ;;
 
12390
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
12391
      # This compiler won't grok '-c -o', but also, the minuso test has
 
12392
      # not run yet.  These depmodes are late enough in the game, and
 
12393
      # so weak that their functioning should not be impacted.
 
12394
      am__obj=conftest.${OBJEXT-o}
 
12395
      am__minus_obj=
 
12396
      ;;
 
12397
    none) break ;;
 
12398
    esac
 
12399
    if depmode=$depmode \
 
12400
       source=sub/conftest.c object=$am__obj \
 
12401
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
12402
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
12403
         >/dev/null 2>conftest.err &&
 
12404
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
12405
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
12406
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
12407
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
12408
      # icc doesn't choke on unknown options, it will just issue warnings
 
12409
      # or remarks (even with -Werror).  So we grep stderr for any message
 
12410
      # that says an option was ignored or not supported.
 
12411
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
12412
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
12413
      # The diagnosis changed in icc 8.0:
 
12414
      #   icc: Command line remark: option '-MP' not supported
 
12415
      if (grep 'ignoring option' conftest.err ||
 
12416
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
12417
        am_cv_CXX_dependencies_compiler_type=$depmode
 
12418
        break
 
12419
      fi
 
12420
    fi
 
12421
  done
 
12422
 
 
12423
  cd ..
 
12424
  rm -rf conftest.dir
 
12425
else
 
12426
  am_cv_CXX_dependencies_compiler_type=none
 
12427
fi
 
12428
 
 
12429
fi
 
12430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
12431
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
12432
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
12433
 
 
12434
 if 
 
12435
  test "x$enable_dependency_tracking" != xno \
 
12436
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
12437
  am__fastdepCXX_TRUE=
 
12438
  am__fastdepCXX_FALSE='#'
 
12439
else
 
12440
  am__fastdepCXX_TRUE='#'
 
12441
  am__fastdepCXX_FALSE=
 
12442
fi
 
12443
 
 
12444
 
 
12445
 
 
12446
 
 
12447
func_stripname_cnf ()
 
12448
{
 
12449
  case ${2} in
 
12450
  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
12451
  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 
12452
  esac
 
12453
} # func_stripname_cnf
 
12454
 
 
12455
      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
12456
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
12457
    (test "X$CXX" != "Xg++"))) ; then
 
12458
  ac_ext=cpp
 
12459
ac_cpp='$CXXCPP $CPPFLAGS'
 
12460
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12461
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12462
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
12463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
12464
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
12465
if test -z "$CXXCPP"; then
 
12466
  if ${ac_cv_prog_CXXCPP+:} false; then :
 
12467
  $as_echo_n "(cached) " >&6
 
12468
else
 
12469
      # Double quotes because CXXCPP needs to be expanded
 
12470
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
12471
    do
 
12472
      ac_preproc_ok=false
 
12473
for ac_cxx_preproc_warn_flag in '' yes
 
12474
do
 
12475
  # Use a header file that comes with gcc, so configuring glibc
 
12476
  # with a fresh cross-compiler works.
 
12477
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
12478
  # <limits.h> exists even on freestanding compilers.
 
12479
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
12480
  # not just through cpp. "Syntax error" is here to catch this case.
 
12481
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12482
/* end confdefs.h.  */
 
12483
@%:@ifdef __STDC__
 
12484
@%:@ include <limits.h>
 
12485
@%:@else
 
12486
@%:@ include <assert.h>
 
12487
@%:@endif
 
12488
                     Syntax error
 
12489
_ACEOF
 
12490
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
12491
  
 
12492
else
 
12493
  # Broken: fails on valid input.
 
12494
continue
 
12495
fi
 
12496
rm -f conftest.err conftest.i conftest.$ac_ext
 
12497
 
 
12498
  # OK, works on sane cases.  Now check whether nonexistent headers
 
12499
  # can be detected and how.
 
12500
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12501
/* end confdefs.h.  */
 
12502
@%:@include <ac_nonexistent.h>
 
12503
_ACEOF
 
12504
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
12505
  # Broken: success on invalid input.
 
12506
continue
 
12507
else
 
12508
  # Passes both tests.
 
12509
ac_preproc_ok=:
 
12510
break
 
12511
fi
 
12512
rm -f conftest.err conftest.i conftest.$ac_ext
 
12513
 
 
12514
done
 
12515
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
12516
rm -f conftest.i conftest.err conftest.$ac_ext
 
12517
if $ac_preproc_ok; then :
 
12518
  break
 
12519
fi
 
12520
 
 
12521
    done
 
12522
    ac_cv_prog_CXXCPP=$CXXCPP
 
12523
  
 
12524
fi
 
12525
  CXXCPP=$ac_cv_prog_CXXCPP
 
12526
else
 
12527
  ac_cv_prog_CXXCPP=$CXXCPP
 
12528
fi
 
12529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
12530
$as_echo "$CXXCPP" >&6; }
 
12531
ac_preproc_ok=false
 
12532
for ac_cxx_preproc_warn_flag in '' yes
 
12533
do
 
12534
  # Use a header file that comes with gcc, so configuring glibc
 
12535
  # with a fresh cross-compiler works.
 
12536
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
12537
  # <limits.h> exists even on freestanding compilers.
 
12538
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
12539
  # not just through cpp. "Syntax error" is here to catch this case.
 
12540
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12541
/* end confdefs.h.  */
 
12542
@%:@ifdef __STDC__
 
12543
@%:@ include <limits.h>
 
12544
@%:@else
 
12545
@%:@ include <assert.h>
 
12546
@%:@endif
 
12547
                     Syntax error
 
12548
_ACEOF
 
12549
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
12550
  
 
12551
else
 
12552
  # Broken: fails on valid input.
 
12553
continue
 
12554
fi
 
12555
rm -f conftest.err conftest.i conftest.$ac_ext
 
12556
 
 
12557
  # OK, works on sane cases.  Now check whether nonexistent headers
 
12558
  # can be detected and how.
 
12559
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12560
/* end confdefs.h.  */
 
12561
@%:@include <ac_nonexistent.h>
 
12562
_ACEOF
 
12563
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
12564
  # Broken: success on invalid input.
 
12565
continue
 
12566
else
 
12567
  # Passes both tests.
 
12568
ac_preproc_ok=:
 
12569
break
 
12570
fi
 
12571
rm -f conftest.err conftest.i conftest.$ac_ext
 
12572
 
 
12573
done
 
12574
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
12575
rm -f conftest.i conftest.err conftest.$ac_ext
 
12576
if $ac_preproc_ok; then :
 
12577
  
 
12578
else
 
12579
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12580
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
12581
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
 
12582
See \`config.log' for more details" "$LINENO" 5; }
 
12583
fi
 
12584
 
 
12585
ac_ext=c
 
12586
ac_cpp='$CPP $CPPFLAGS'
 
12587
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12588
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12589
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12590
 
 
12591
else
 
12592
  _lt_caught_CXX_error=yes
 
12593
fi
 
12594
 
 
12595
ac_ext=cpp
 
12596
ac_cpp='$CXXCPP $CPPFLAGS'
 
12597
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12598
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12599
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
12600
 
 
12601
archive_cmds_need_lc_CXX=no
 
12602
allow_undefined_flag_CXX=
 
12603
always_export_symbols_CXX=no
 
12604
archive_expsym_cmds_CXX=
 
12605
compiler_needs_object_CXX=no
 
12606
export_dynamic_flag_spec_CXX=
 
12607
hardcode_direct_CXX=no
 
12608
hardcode_direct_absolute_CXX=no
 
12609
hardcode_libdir_flag_spec_CXX=
 
12610
hardcode_libdir_separator_CXX=
 
12611
hardcode_minus_L_CXX=no
 
12612
hardcode_shlibpath_var_CXX=unsupported
 
12613
hardcode_automatic_CXX=no
 
12614
inherit_rpath_CXX=no
 
12615
module_cmds_CXX=
 
12616
module_expsym_cmds_CXX=
 
12617
link_all_deplibs_CXX=unknown
 
12618
old_archive_cmds_CXX=$old_archive_cmds
 
12619
reload_flag_CXX=$reload_flag
 
12620
reload_cmds_CXX=$reload_cmds
 
12621
no_undefined_flag_CXX=
 
12622
whole_archive_flag_spec_CXX=
 
12623
enable_shared_with_static_runtimes_CXX=no
 
12624
 
 
12625
# Source file extension for C++ test sources.
 
12626
ac_ext=cpp
 
12627
 
 
12628
# Object file extension for compiled C++ test sources.
 
12629
objext=o
 
12630
objext_CXX=$objext
 
12631
 
 
12632
# No sense in running all these tests if we already determined that
 
12633
# the CXX compiler isn't working.  Some variables (like enable_shared)
 
12634
# are currently assumed to apply to all compilers on this platform,
 
12635
# and will be corrupted by setting them based on a non-working compiler.
 
12636
if test "$_lt_caught_CXX_error" != yes; then
 
12637
  # Code to be used in simple compile tests
 
12638
  lt_simple_compile_test_code="int some_variable = 0;"
 
12639
 
 
12640
  # Code to be used in simple link tests
 
12641
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 
12642
 
 
12643
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
12644
  
 
12645
 
 
12646
 
 
12647
 
 
12648
 
 
12649
 
 
12650
# If no C compiler was specified, use CC.
 
12651
LTCC=${LTCC-"$CC"}
 
12652
 
 
12653
# If no C compiler flags were specified, use CFLAGS.
 
12654
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
12655
 
 
12656
# Allow CC to be a program name with arguments.
 
12657
compiler=$CC
 
12658
 
 
12659
 
 
12660
  # save warnings/boilerplate of simple test code
 
12661
  ac_outfile=conftest.$ac_objext
 
12662
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
12663
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
12664
_lt_compiler_boilerplate=`cat conftest.err`
 
12665
$RM conftest*
 
12666
 
 
12667
  ac_outfile=conftest.$ac_objext
 
12668
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
12669
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
12670
_lt_linker_boilerplate=`cat conftest.err`
 
12671
$RM -r conftest*
 
12672
 
 
12673
 
 
12674
  # Allow CC to be a program name with arguments.
 
12675
  lt_save_CC=$CC
 
12676
  lt_save_CFLAGS=$CFLAGS
 
12677
  lt_save_LD=$LD
 
12678
  lt_save_GCC=$GCC
 
12679
  GCC=$GXX
 
12680
  lt_save_with_gnu_ld=$with_gnu_ld
 
12681
  lt_save_path_LD=$lt_cv_path_LD
 
12682
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
12683
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
12684
  else
 
12685
    $as_unset lt_cv_prog_gnu_ld
 
12686
  fi
 
12687
  if test -n "${lt_cv_path_LDCXX+set}"; then
 
12688
    lt_cv_path_LD=$lt_cv_path_LDCXX
 
12689
  else
 
12690
    $as_unset lt_cv_path_LD
 
12691
  fi
 
12692
  test -z "${LDCXX+set}" || LD=$LDCXX
 
12693
  CC=${CXX-"c++"}
 
12694
  CFLAGS=$CXXFLAGS
 
12695
  compiler=$CC
 
12696
  compiler_CXX=$CC
 
12697
  for cc_temp in $compiler""; do
 
12698
  case $cc_temp in
 
12699
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
12700
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
12701
    \-*) ;;
 
12702
    *) break;;
 
12703
  esac
 
12704
done
 
12705
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
12706
 
 
12707
 
 
12708
  if test -n "$compiler"; then
 
12709
    # We don't want -fno-exception when compiling C++ code, so set the
 
12710
    # no_builtin_flag separately
 
12711
    if test "$GXX" = yes; then
 
12712
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 
12713
    else
 
12714
      lt_prog_compiler_no_builtin_flag_CXX=
 
12715
    fi
 
12716
 
 
12717
    if test "$GXX" = yes; then
 
12718
      # Set up default GNU C++ configuration
 
12719
 
 
12720
      
 
12721
 
 
12722
@%:@ Check whether --with-gnu-ld was given.
 
12723
if test "${with_gnu_ld+set}" = set; then :
 
12724
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
12725
else
 
12726
  with_gnu_ld=no
 
12727
fi
 
12728
 
 
12729
ac_prog=ld
 
12730
if test "$GCC" = yes; then
 
12731
  # Check if gcc -print-prog-name=ld gives a path.
 
12732
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
12733
$as_echo_n "checking for ld used by $CC... " >&6; }
 
12734
  case $host in
 
12735
  *-*-mingw*)
 
12736
    # gcc leaves a trailing carriage return which upsets mingw
 
12737
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
12738
  *)
 
12739
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
12740
  esac
 
12741
  case $ac_prog in
 
12742
    # Accept absolute paths.
 
12743
    [\\/]* | ?:[\\/]*)
 
12744
      re_direlt='/[^/][^/]*/\.\./'
 
12745
      # Canonicalize the pathname of ld
 
12746
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
12747
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
12748
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
12749
      done
 
12750
      test -z "$LD" && LD="$ac_prog"
 
12751
      ;;
 
12752
  "")
 
12753
    # If it fails, then pretend we aren't using GCC.
 
12754
    ac_prog=ld
 
12755
    ;;
 
12756
  *)
 
12757
    # If it is relative, then search for the first ld in PATH.
 
12758
    with_gnu_ld=unknown
 
12759
    ;;
 
12760
  esac
 
12761
elif test "$with_gnu_ld" = yes; then
 
12762
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
12763
$as_echo_n "checking for GNU ld... " >&6; }
 
12764
else
 
12765
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
12766
$as_echo_n "checking for non-GNU ld... " >&6; }
 
12767
fi
 
12768
if ${lt_cv_path_LD+:} false; then :
 
12769
  $as_echo_n "(cached) " >&6
 
12770
else
 
12771
  if test -z "$LD"; then
 
12772
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
12773
  for ac_dir in $PATH; do
 
12774
    IFS="$lt_save_ifs"
 
12775
    test -z "$ac_dir" && ac_dir=.
 
12776
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
12777
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
12778
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
12779
      # but apparently some variants of GNU ld only accept -v.
 
12780
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
12781
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
12782
      *GNU* | *'with BFD'*)
 
12783
        test "$with_gnu_ld" != no && break
 
12784
        ;;
 
12785
      *)
 
12786
        test "$with_gnu_ld" != yes && break
 
12787
        ;;
 
12788
      esac
 
12789
    fi
 
12790
  done
 
12791
  IFS="$lt_save_ifs"
 
12792
else
 
12793
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
12794
fi
 
12795
fi
 
12796
 
 
12797
LD="$lt_cv_path_LD"
 
12798
if test -n "$LD"; then
 
12799
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
12800
$as_echo "$LD" >&6; }
 
12801
else
 
12802
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12803
$as_echo "no" >&6; }
 
12804
fi
 
12805
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
12806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
12807
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
12808
if ${lt_cv_prog_gnu_ld+:} false; then :
 
12809
  $as_echo_n "(cached) " >&6
 
12810
else
 
12811
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
12812
case `$LD -v 2>&1 </dev/null` in
 
12813
*GNU* | *'with BFD'*)
 
12814
  lt_cv_prog_gnu_ld=yes
 
12815
  ;;
 
12816
*)
 
12817
  lt_cv_prog_gnu_ld=no
 
12818
  ;;
 
12819
esac
 
12820
fi
 
12821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
12822
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
12823
with_gnu_ld=$lt_cv_prog_gnu_ld
 
12824
 
 
12825
 
 
12826
 
 
12827
 
 
12828
 
 
12829
 
 
12830
 
 
12831
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
12832
      # archiving commands below assume that GNU ld is being used.
 
12833
      if test "$with_gnu_ld" = yes; then
 
12834
        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12835
        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
12836
 
 
12837
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12838
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12839
 
 
12840
        # If archive_cmds runs LD, not CC, wlarc should be empty
 
12841
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
12842
        #     investigate it a little bit more. (MM)
 
12843
        wlarc='${wl}'
 
12844
 
 
12845
        # ancient GNU ld didn't support --whole-archive et. al.
 
12846
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
 
12847
          $GREP 'no-whole-archive' > /dev/null; then
 
12848
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12849
        else
 
12850
          whole_archive_flag_spec_CXX=
 
12851
        fi
 
12852
      else
 
12853
        with_gnu_ld=no
 
12854
        wlarc=
 
12855
 
 
12856
        # A generic and very simple default shared library creation
 
12857
        # command for GNU C++ for the case where it uses the native
 
12858
        # linker, instead of GNU ld.  If possible, this setting should
 
12859
        # overridden to take advantage of the native linker features on
 
12860
        # the platform it is being used on.
 
12861
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
12862
      fi
 
12863
 
 
12864
      # Commands to make compiler produce verbose output that lists
 
12865
      # what "hidden" libraries, object files and flags are used when
 
12866
      # linking a shared library.
 
12867
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
12868
 
 
12869
    else
 
12870
      GXX=no
 
12871
      with_gnu_ld=no
 
12872
      wlarc=
 
12873
    fi
 
12874
 
 
12875
    # PORTME: fill in a description of your system's C++ link characteristics
 
12876
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12877
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
12878
    ld_shlibs_CXX=yes
 
12879
    case $host_os in
 
12880
      aix3*)
 
12881
        # FIXME: insert proper C++ library support
 
12882
        ld_shlibs_CXX=no
 
12883
        ;;
 
12884
      aix[4-9]*)
 
12885
        if test "$host_cpu" = ia64; then
 
12886
          # On IA64, the linker does run time linking by default, so we don't
 
12887
          # have to do anything special.
 
12888
          aix_use_runtimelinking=no
 
12889
          exp_sym_flag='-Bexport'
 
12890
          no_entry_flag=""
 
12891
        else
 
12892
          aix_use_runtimelinking=no
 
12893
 
 
12894
          # Test if we are trying to use run time linking or normal
 
12895
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
12896
          # need to do runtime linking.
 
12897
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
12898
            for ld_flag in $LDFLAGS; do
 
12899
              case $ld_flag in
 
12900
              *-brtl*)
 
12901
                aix_use_runtimelinking=yes
 
12902
                break
 
12903
                ;;
 
12904
              esac
 
12905
            done
 
12906
            ;;
 
12907
          esac
 
12908
 
 
12909
          exp_sym_flag='-bexport'
 
12910
          no_entry_flag='-bnoentry'
 
12911
        fi
 
12912
 
 
12913
        # When large executables or shared objects are built, AIX ld can
 
12914
        # have problems creating the table of contents.  If linking a library
 
12915
        # or program results in "error TOC overflow" add -mminimal-toc to
 
12916
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
12917
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
12918
 
 
12919
        archive_cmds_CXX=''
 
12920
        hardcode_direct_CXX=yes
 
12921
        hardcode_direct_absolute_CXX=yes
 
12922
        hardcode_libdir_separator_CXX=':'
 
12923
        link_all_deplibs_CXX=yes
 
12924
        file_list_spec_CXX='${wl}-f,'
 
12925
 
 
12926
        if test "$GXX" = yes; then
 
12927
          case $host_os in aix4.[012]|aix4.[012].*)
 
12928
          # We only want to do this on AIX 4.2 and lower, the check
 
12929
          # below for broken collect2 doesn't work under 4.3+
 
12930
          collect2name=`${CC} -print-prog-name=collect2`
 
12931
          if test -f "$collect2name" &&
 
12932
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
12933
          then
 
12934
            # We have reworked collect2
 
12935
            :
 
12936
          else
 
12937
            # We have old collect2
 
12938
            hardcode_direct_CXX=unsupported
 
12939
            # It fails to find uninstalled libraries when the uninstalled
 
12940
            # path is not listed in the libpath.  Setting hardcode_minus_L
 
12941
            # to unsupported forces relinking
 
12942
            hardcode_minus_L_CXX=yes
 
12943
            hardcode_libdir_flag_spec_CXX='-L$libdir'
 
12944
            hardcode_libdir_separator_CXX=
 
12945
          fi
 
12946
          esac
 
12947
          shared_flag='-shared'
 
12948
          if test "$aix_use_runtimelinking" = yes; then
 
12949
            shared_flag="$shared_flag "'${wl}-G'
 
12950
          fi
 
12951
        else
 
12952
          # not using gcc
 
12953
          if test "$host_cpu" = ia64; then
 
12954
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
12955
          # chokes on -Wl,-G. The following line is correct:
 
12956
          shared_flag='-G'
 
12957
          else
 
12958
            if test "$aix_use_runtimelinking" = yes; then
 
12959
              shared_flag='${wl}-G'
 
12960
            else
 
12961
              shared_flag='${wl}-bM:SRE'
 
12962
            fi
 
12963
          fi
 
12964
        fi
 
12965
 
 
12966
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
 
12967
        # It seems that -bexpall does not export symbols beginning with
 
12968
        # underscore (_), so it is better to generate a list of symbols to
 
12969
        # export.
 
12970
        always_export_symbols_CXX=yes
 
12971
        if test "$aix_use_runtimelinking" = yes; then
 
12972
          # Warning - without using the other runtime loading flags (-brtl),
 
12973
          # -berok will link without error, but may produce a broken library.
 
12974
          allow_undefined_flag_CXX='-berok'
 
12975
          # Determine the default libpath from the value encoded in an empty
 
12976
          # executable.
 
12977
          if test "${lt_cv_aix_libpath+set}" = set; then
 
12978
  aix_libpath=$lt_cv_aix_libpath
 
12979
else
 
12980
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
12981
  $as_echo_n "(cached) " >&6
 
12982
else
 
12983
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12984
/* end confdefs.h.  */
 
12985
 
 
12986
int
 
12987
main ()
 
12988
{
 
12989
 
 
12990
  ;
 
12991
  return 0;
 
12992
}
 
12993
_ACEOF
 
12994
if ac_fn_cxx_try_link "$LINENO"; then :
 
12995
  
 
12996
  lt_aix_libpath_sed='
 
12997
      /Import File Strings/,/^$/ {
 
12998
          /^0/ {
 
12999
              s/^0  *\([^ ]*\) *$/\1/
 
13000
              p
 
13001
          }
 
13002
      }'
 
13003
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13004
  # Check for a 64-bit object if we didn't find anything.
 
13005
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13006
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13007
  fi
 
13008
fi
 
13009
rm -f core conftest.err conftest.$ac_objext \
 
13010
    conftest$ac_exeext conftest.$ac_ext
 
13011
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13012
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
13013
  fi
 
13014
  
 
13015
fi
 
13016
 
 
13017
  aix_libpath=$lt_cv_aix_libpath__CXX
 
13018
fi
 
13019
 
 
13020
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
13021
 
 
13022
          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
13023
        else
 
13024
          if test "$host_cpu" = ia64; then
 
13025
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 
13026
            allow_undefined_flag_CXX="-z nodefs"
 
13027
            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 
13028
          else
 
13029
            # Determine the default libpath from the value encoded in an
 
13030
            # empty executable.
 
13031
            if test "${lt_cv_aix_libpath+set}" = set; then
 
13032
  aix_libpath=$lt_cv_aix_libpath
 
13033
else
 
13034
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
13035
  $as_echo_n "(cached) " >&6
 
13036
else
 
13037
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13038
/* end confdefs.h.  */
 
13039
 
 
13040
int
 
13041
main ()
 
13042
{
 
13043
 
 
13044
  ;
 
13045
  return 0;
 
13046
}
 
13047
_ACEOF
 
13048
if ac_fn_cxx_try_link "$LINENO"; then :
 
13049
  
 
13050
  lt_aix_libpath_sed='
 
13051
      /Import File Strings/,/^$/ {
 
13052
          /^0/ {
 
13053
              s/^0  *\([^ ]*\) *$/\1/
 
13054
              p
 
13055
          }
 
13056
      }'
 
13057
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13058
  # Check for a 64-bit object if we didn't find anything.
 
13059
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13060
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13061
  fi
 
13062
fi
 
13063
rm -f core conftest.err conftest.$ac_objext \
 
13064
    conftest$ac_exeext conftest.$ac_ext
 
13065
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13066
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
13067
  fi
 
13068
  
 
13069
fi
 
13070
 
 
13071
  aix_libpath=$lt_cv_aix_libpath__CXX
 
13072
fi
 
13073
 
 
13074
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
13075
            # Warning - without using the other run time loading flags,
 
13076
            # -berok will link without error, but may produce a broken library.
 
13077
            no_undefined_flag_CXX=' ${wl}-bernotok'
 
13078
            allow_undefined_flag_CXX=' ${wl}-berok'
 
13079
            if test "$with_gnu_ld" = yes; then
 
13080
              # We only use this code for GNU lds that support --whole-archive.
 
13081
              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
13082
            else
 
13083
              # Exported symbols can be pulled into shared objects from archives
 
13084
              whole_archive_flag_spec_CXX='$convenience'
 
13085
            fi
 
13086
            archive_cmds_need_lc_CXX=yes
 
13087
            # This is similar to how AIX traditionally builds its shared
 
13088
            # libraries.
 
13089
            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
13090
          fi
 
13091
        fi
 
13092
        ;;
 
13093
 
 
13094
      beos*)
 
13095
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
13096
          allow_undefined_flag_CXX=unsupported
 
13097
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
13098
          # support --undefined.  This deserves some investigation.  FIXME
 
13099
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13100
        else
 
13101
          ld_shlibs_CXX=no
 
13102
        fi
 
13103
        ;;
 
13104
 
 
13105
      chorus*)
 
13106
        case $cc_basename in
 
13107
          *)
 
13108
          # FIXME: insert proper C++ library support
 
13109
          ld_shlibs_CXX=no
 
13110
          ;;
 
13111
        esac
 
13112
        ;;
 
13113
 
 
13114
      cygwin* | mingw* | pw32* | cegcc*)
 
13115
        case $GXX,$cc_basename in
 
13116
        ,cl* | no,cl*)
 
13117
          # Native MSVC
 
13118
          # hardcode_libdir_flag_spec is actually meaningless, as there is
 
13119
          # no search path for DLLs.
 
13120
          hardcode_libdir_flag_spec_CXX=' '
 
13121
          allow_undefined_flag_CXX=unsupported
 
13122
          always_export_symbols_CXX=yes
 
13123
          file_list_spec_CXX='@'
 
13124
          # Tell ltmain to make .lib files, not .a files.
 
13125
          libext=lib
 
13126
          # Tell ltmain to make .dll files, not .so files.
 
13127
          shrext_cmds=".dll"
 
13128
          # FIXME: Setting linknames here is a bad hack.
 
13129
          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
13130
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
13131
              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
13132
            else
 
13133
              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
13134
            fi~
 
13135
            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
13136
            linknames='
 
13137
          # The linker will not automatically build a static lib if we build a DLL.
 
13138
          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
 
13139
          enable_shared_with_static_runtimes_CXX=yes
 
13140
          # Don't use ranlib
 
13141
          old_postinstall_cmds_CXX='chmod 644 $oldlib'
 
13142
          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
 
13143
            lt_tool_outputfile="@TOOL_OUTPUT@"~
 
13144
            case $lt_outputfile in
 
13145
              *.exe|*.EXE) ;;
 
13146
              *)
 
13147
                lt_outputfile="$lt_outputfile.exe"
 
13148
                lt_tool_outputfile="$lt_tool_outputfile.exe"
 
13149
                ;;
 
13150
            esac~
 
13151
            func_to_tool_file "$lt_outputfile"~
 
13152
            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
13153
              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
13154
              $RM "$lt_outputfile.manifest";
 
13155
            fi'
 
13156
          ;;
 
13157
        *)
 
13158
          # g++
 
13159
          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
13160
          # as there is no search path for DLLs.
 
13161
          hardcode_libdir_flag_spec_CXX='-L$libdir'
 
13162
          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
 
13163
          allow_undefined_flag_CXX=unsupported
 
13164
          always_export_symbols_CXX=no
 
13165
          enable_shared_with_static_runtimes_CXX=yes
 
13166
 
 
13167
          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
13168
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
13169
            # If the export-symbols file already is a .def file (1st line
 
13170
            # is EXPORTS), use it as is; otherwise, prepend...
 
13171
            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
13172
              cp $export_symbols $output_objdir/$soname.def;
 
13173
            else
 
13174
              echo EXPORTS > $output_objdir/$soname.def;
 
13175
              cat $export_symbols >> $output_objdir/$soname.def;
 
13176
            fi~
 
13177
            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
13178
          else
 
13179
            ld_shlibs_CXX=no
 
13180
          fi
 
13181
          ;;
 
13182
        esac
 
13183
        ;;
 
13184
      darwin* | rhapsody*)
 
13185
        
 
13186
  
 
13187
  archive_cmds_need_lc_CXX=no
 
13188
  hardcode_direct_CXX=no
 
13189
  hardcode_automatic_CXX=yes
 
13190
  hardcode_shlibpath_var_CXX=unsupported
 
13191
  if test "$lt_cv_ld_force_load" = "yes"; then
 
13192
    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
13193
    
 
13194
  else
 
13195
    whole_archive_flag_spec_CXX=''
 
13196
  fi
 
13197
  link_all_deplibs_CXX=yes
 
13198
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
13199
  case $cc_basename in
 
13200
     ifort*) _lt_dar_can_shared=yes ;;
 
13201
     *) _lt_dar_can_shared=$GCC ;;
 
13202
  esac
 
13203
  if test "$_lt_dar_can_shared" = "yes"; then
 
13204
    output_verbose_link_cmd=func_echo_all
 
13205
    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
13206
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
13207
    archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
13208
    module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
13209
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
13210
      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
13211
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
 
13212
    fi
 
13213
 
 
13214
  else
 
13215
  ld_shlibs_CXX=no
 
13216
  fi
 
13217
 
 
13218
        ;;
 
13219
 
 
13220
      dgux*)
 
13221
        case $cc_basename in
 
13222
          ec++*)
 
13223
            # FIXME: insert proper C++ library support
 
13224
            ld_shlibs_CXX=no
 
13225
            ;;
 
13226
          ghcx*)
 
13227
            # Green Hills C++ Compiler
 
13228
            # FIXME: insert proper C++ library support
 
13229
            ld_shlibs_CXX=no
 
13230
            ;;
 
13231
          *)
 
13232
            # FIXME: insert proper C++ library support
 
13233
            ld_shlibs_CXX=no
 
13234
            ;;
 
13235
        esac
 
13236
        ;;
 
13237
 
 
13238
      freebsd2.*)
 
13239
        # C++ shared libraries reported to be fairly broken before
 
13240
        # switch to ELF
 
13241
        ld_shlibs_CXX=no
 
13242
        ;;
 
13243
 
 
13244
      freebsd-elf*)
 
13245
        archive_cmds_need_lc_CXX=no
 
13246
        ;;
 
13247
 
 
13248
      freebsd* | dragonfly*)
 
13249
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
13250
        # conventions
 
13251
        ld_shlibs_CXX=yes
 
13252
        ;;
 
13253
 
 
13254
      gnu*)
 
13255
        ;;
 
13256
 
 
13257
      haiku*)
 
13258
        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13259
        link_all_deplibs_CXX=yes
 
13260
        ;;
 
13261
 
 
13262
      hpux9*)
 
13263
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
13264
        hardcode_libdir_separator_CXX=:
 
13265
        export_dynamic_flag_spec_CXX='${wl}-E'
 
13266
        hardcode_direct_CXX=yes
 
13267
        hardcode_minus_L_CXX=yes # Not in the search PATH,
 
13268
                                             # but as the default
 
13269
                                             # location of the library.
 
13270
 
 
13271
        case $cc_basename in
 
13272
          CC*)
 
13273
            # FIXME: insert proper C++ library support
 
13274
            ld_shlibs_CXX=no
 
13275
            ;;
 
13276
          aCC*)
 
13277
            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
13278
            # Commands to make compiler produce verbose output that lists
 
13279
            # what "hidden" libraries, object files and flags are used when
 
13280
            # linking a shared library.
 
13281
            #
 
13282
            # There doesn't appear to be a way to prevent this compiler from
 
13283
            # explicitly linking system object files so we need to strip them
 
13284
            # from the output so that they don't get included in the library
 
13285
            # dependencies.
 
13286
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 
13287
            ;;
 
13288
          *)
 
13289
            if test "$GXX" = yes; then
 
13290
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
13291
            else
 
13292
              # FIXME: insert proper C++ library support
 
13293
              ld_shlibs_CXX=no
 
13294
            fi
 
13295
            ;;
 
13296
        esac
 
13297
        ;;
 
13298
 
 
13299
      hpux10*|hpux11*)
 
13300
        if test $with_gnu_ld = no; then
 
13301
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
13302
          hardcode_libdir_separator_CXX=:
 
13303
 
 
13304
          case $host_cpu in
 
13305
            hppa*64*|ia64*)
 
13306
              ;;
 
13307
            *)
 
13308
              export_dynamic_flag_spec_CXX='${wl}-E'
 
13309
              ;;
 
13310
          esac
 
13311
        fi
 
13312
        case $host_cpu in
 
13313
          hppa*64*|ia64*)
 
13314
            hardcode_direct_CXX=no
 
13315
            hardcode_shlibpath_var_CXX=no
 
13316
            ;;
 
13317
          *)
 
13318
            hardcode_direct_CXX=yes
 
13319
            hardcode_direct_absolute_CXX=yes
 
13320
            hardcode_minus_L_CXX=yes # Not in the search PATH,
 
13321
                                                 # but as the default
 
13322
                                                 # location of the library.
 
13323
            ;;
 
13324
        esac
 
13325
 
 
13326
        case $cc_basename in
 
13327
          CC*)
 
13328
            # FIXME: insert proper C++ library support
 
13329
            ld_shlibs_CXX=no
 
13330
            ;;
 
13331
          aCC*)
 
13332
            case $host_cpu in
 
13333
              hppa*64*)
 
13334
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13335
                ;;
 
13336
              ia64*)
 
13337
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13338
                ;;
 
13339
              *)
 
13340
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13341
                ;;
 
13342
            esac
 
13343
            # Commands to make compiler produce verbose output that lists
 
13344
            # what "hidden" libraries, object files and flags are used when
 
13345
            # linking a shared library.
 
13346
            #
 
13347
            # There doesn't appear to be a way to prevent this compiler from
 
13348
            # explicitly linking system object files so we need to strip them
 
13349
            # from the output so that they don't get included in the library
 
13350
            # dependencies.
 
13351
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 
13352
            ;;
 
13353
          *)
 
13354
            if test "$GXX" = yes; then
 
13355
              if test $with_gnu_ld = no; then
 
13356
                case $host_cpu in
 
13357
                  hppa*64*)
 
13358
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13359
                    ;;
 
13360
                  ia64*)
 
13361
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13362
                    ;;
 
13363
                  *)
 
13364
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13365
                    ;;
 
13366
                esac
 
13367
              fi
 
13368
            else
 
13369
              # FIXME: insert proper C++ library support
 
13370
              ld_shlibs_CXX=no
 
13371
            fi
 
13372
            ;;
 
13373
        esac
 
13374
        ;;
 
13375
 
 
13376
      interix[3-9]*)
 
13377
        hardcode_direct_CXX=no
 
13378
        hardcode_shlibpath_var_CXX=no
 
13379
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13380
        export_dynamic_flag_spec_CXX='${wl}-E'
 
13381
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
13382
        # Instead, shared libraries are loaded at an image base (0x10000000 by
 
13383
        # default) and relocated if they conflict, which is a slow very memory
 
13384
        # consuming and fragmenting process.  To avoid this, we pick a random,
 
13385
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
13386
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
13387
        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
13388
        archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
13389
        ;;
 
13390
      irix5* | irix6*)
 
13391
        case $cc_basename in
 
13392
          CC*)
 
13393
            # SGI C++
 
13394
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
13395
 
 
13396
            # Archives containing C++ object files must be created using
 
13397
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
13398
            # necessary to make sure instantiated templates are included
 
13399
            # in the archive.
 
13400
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
13401
            ;;
 
13402
          *)
 
13403
            if test "$GXX" = yes; then
 
13404
              if test "$with_gnu_ld" = no; then
 
13405
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
 
13406
              else
 
13407
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
 
13408
              fi
 
13409
            fi
 
13410
            link_all_deplibs_CXX=yes
 
13411
            ;;
 
13412
        esac
 
13413
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13414
        hardcode_libdir_separator_CXX=:
 
13415
        inherit_rpath_CXX=yes
 
13416
        ;;
 
13417
 
 
13418
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
13419
        case $cc_basename in
 
13420
          KCC*)
 
13421
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
13422
 
 
13423
            # KCC will only create a shared library if the output file
 
13424
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
13425
            # to its proper name (with version) after linking.
 
13426
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
13427
            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
 
13428
            # Commands to make compiler produce verbose output that lists
 
13429
            # what "hidden" libraries, object files and flags are used when
 
13430
            # linking a shared library.
 
13431
            #
 
13432
            # There doesn't appear to be a way to prevent this compiler from
 
13433
            # explicitly linking system object files so we need to strip them
 
13434
            # from the output so that they don't get included in the library
 
13435
            # dependencies.
 
13436
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 
13437
 
 
13438
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13439
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13440
 
 
13441
            # Archives containing C++ object files must be created using
 
13442
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
13443
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
13444
            ;;
 
13445
          icpc* | ecpc* )
 
13446
            # Intel C++
 
13447
            with_gnu_ld=yes
 
13448
            # version 8.0 and above of icpc choke on multiply defined symbols
 
13449
            # if we add $predep_objects and $postdep_objects, however 7.1 and
 
13450
            # earlier do not add the objects themselves.
 
13451
            case `$CC -V 2>&1` in
 
13452
              *"Version 7."*)
 
13453
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13454
                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
13455
                ;;
 
13456
              *)  # Version 8.0 or newer
 
13457
                tmp_idyn=
 
13458
                case $host_cpu in
 
13459
                  ia64*) tmp_idyn=' -i_dynamic';;
 
13460
                esac
 
13461
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13462
                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
13463
                ;;
 
13464
            esac
 
13465
            archive_cmds_need_lc_CXX=no
 
13466
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13467
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13468
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
13469
            ;;
 
13470
          pgCC* | pgcpp*)
 
13471
            # Portland Group C++ compiler
 
13472
            case `$CC -V` in
 
13473
            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
 
13474
              prelink_cmds_CXX='tpldir=Template.dir~
 
13475
                rm -rf $tpldir~
 
13476
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
 
13477
                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
 
13478
              old_archive_cmds_CXX='tpldir=Template.dir~
 
13479
                rm -rf $tpldir~
 
13480
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
 
13481
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
 
13482
                $RANLIB $oldlib'
 
13483
              archive_cmds_CXX='tpldir=Template.dir~
 
13484
                rm -rf $tpldir~
 
13485
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
13486
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
13487
              archive_expsym_cmds_CXX='tpldir=Template.dir~
 
13488
                rm -rf $tpldir~
 
13489
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
13490
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
13491
              ;;
 
13492
            *) # Version 6 and above use weak symbols
 
13493
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
13494
              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
13495
              ;;
 
13496
            esac
 
13497
 
 
13498
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
13499
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13500
            whole_archive_flag_spec_CXX='${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'
 
13501
            ;;
 
13502
          cxx*)
 
13503
            # Compaq C++
 
13504
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13505
            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
 
13506
 
 
13507
            runpath_var=LD_RUN_PATH
 
13508
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
13509
            hardcode_libdir_separator_CXX=:
 
13510
 
 
13511
            # Commands to make compiler produce verbose output that lists
 
13512
            # what "hidden" libraries, object files and flags are used when
 
13513
            # linking a shared library.
 
13514
            #
 
13515
            # There doesn't appear to be a way to prevent this compiler from
 
13516
            # explicitly linking system object files so we need to strip them
 
13517
            # from the output so that they don't get included in the library
 
13518
            # dependencies.
 
13519
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
 
13520
            ;;
 
13521
          xl* | mpixl* | bgxl*)
 
13522
            # IBM XL 8.0 on PPC, with GNU ld
 
13523
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13524
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13525
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13526
            if test "x$supports_anon_versioning" = xyes; then
 
13527
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
 
13528
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
13529
                echo "local: *; };" >> $output_objdir/$libname.ver~
 
13530
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
13531
            fi
 
13532
            ;;
 
13533
          *)
 
13534
            case `$CC -V 2>&1 | sed 5q` in
 
13535
            *Sun\ C*)
 
13536
              # Sun C++ 5.9
 
13537
              no_undefined_flag_CXX=' -zdefs'
 
13538
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13539
              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
13540
              hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13541
              whole_archive_flag_spec_CXX='${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'
 
13542
              compiler_needs_object_CXX=yes
 
13543
 
 
13544
              # Not sure whether something based on
 
13545
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
13546
              # would be better.
 
13547
              output_verbose_link_cmd='func_echo_all'
 
13548
 
 
13549
              # Archives containing C++ object files must be created using
 
13550
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
13551
              # necessary to make sure instantiated templates are included
 
13552
              # in the archive.
 
13553
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
13554
              ;;
 
13555
            esac
 
13556
            ;;
 
13557
        esac
 
13558
        ;;
 
13559
 
 
13560
      lynxos*)
 
13561
        # FIXME: insert proper C++ library support
 
13562
        ld_shlibs_CXX=no
 
13563
        ;;
 
13564
 
 
13565
      m88k*)
 
13566
        # FIXME: insert proper C++ library support
 
13567
        ld_shlibs_CXX=no
 
13568
        ;;
 
13569
 
 
13570
      mvs*)
 
13571
        case $cc_basename in
 
13572
          cxx*)
 
13573
            # FIXME: insert proper C++ library support
 
13574
            ld_shlibs_CXX=no
 
13575
            ;;
 
13576
          *)
 
13577
            # FIXME: insert proper C++ library support
 
13578
            ld_shlibs_CXX=no
 
13579
            ;;
 
13580
        esac
 
13581
        ;;
 
13582
 
 
13583
      netbsd*)
 
13584
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
13585
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
13586
          wlarc=
 
13587
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13588
          hardcode_direct_CXX=yes
 
13589
          hardcode_shlibpath_var_CXX=no
 
13590
        fi
 
13591
        # Workaround some broken pre-1.5 toolchains
 
13592
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
13593
        ;;
 
13594
 
 
13595
      *nto* | *qnx*)
 
13596
        ld_shlibs_CXX=yes
 
13597
        ;;
 
13598
 
 
13599
      openbsd2*)
 
13600
        # C++ shared libraries are fairly broken
 
13601
        ld_shlibs_CXX=no
 
13602
        ;;
 
13603
 
 
13604
      openbsd*)
 
13605
        if test -f /usr/libexec/ld.so; then
 
13606
          hardcode_direct_CXX=yes
 
13607
          hardcode_shlibpath_var_CXX=no
 
13608
          hardcode_direct_absolute_CXX=yes
 
13609
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
13610
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13611
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13612
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
13613
            export_dynamic_flag_spec_CXX='${wl}-E'
 
13614
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13615
          fi
 
13616
          output_verbose_link_cmd=func_echo_all
 
13617
        else
 
13618
          ld_shlibs_CXX=no
 
13619
        fi
 
13620
        ;;
 
13621
 
 
13622
      osf3* | osf4* | osf5*)
 
13623
        case $cc_basename in
 
13624
          KCC*)
 
13625
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
13626
 
 
13627
            # KCC will only create a shared library if the output file
 
13628
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
13629
            # to its proper name (with version) after linking.
 
13630
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
13631
 
 
13632
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13633
            hardcode_libdir_separator_CXX=:
 
13634
 
 
13635
            # Archives containing C++ object files must be created using
 
13636
            # the KAI C++ compiler.
 
13637
            case $host in
 
13638
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
 
13639
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
 
13640
            esac
 
13641
            ;;
 
13642
          RCC*)
 
13643
            # Rational C++ 2.4.1
 
13644
            # FIXME: insert proper C++ library support
 
13645
            ld_shlibs_CXX=no
 
13646
            ;;
 
13647
          cxx*)
 
13648
            case $host in
 
13649
              osf3*)
 
13650
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
13651
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
13652
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13653
                ;;
 
13654
              *)
 
13655
                allow_undefined_flag_CXX=' -expect_unresolved \*'
 
13656
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
13657
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
13658
                  echo "-hidden">> $lib.exp~
 
13659
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
 
13660
                  $RM $lib.exp'
 
13661
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
13662
                ;;
 
13663
            esac
 
13664
 
 
13665
            hardcode_libdir_separator_CXX=:
 
13666
 
 
13667
            # Commands to make compiler produce verbose output that lists
 
13668
            # what "hidden" libraries, object files and flags are used when
 
13669
            # linking a shared library.
 
13670
            #
 
13671
            # There doesn't appear to be a way to prevent this compiler from
 
13672
            # explicitly linking system object files so we need to strip them
 
13673
            # from the output so that they don't get included in the library
 
13674
            # dependencies.
 
13675
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 
13676
            ;;
 
13677
          *)
 
13678
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
13679
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
13680
              case $host in
 
13681
                osf3*)
 
13682
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
 
13683
                  ;;
 
13684
                *)
 
13685
                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
 
13686
                  ;;
 
13687
              esac
 
13688
 
 
13689
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13690
              hardcode_libdir_separator_CXX=:
 
13691
 
 
13692
              # Commands to make compiler produce verbose output that lists
 
13693
              # what "hidden" libraries, object files and flags are used when
 
13694
              # linking a shared library.
 
13695
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
13696
 
 
13697
            else
 
13698
              # FIXME: insert proper C++ library support
 
13699
              ld_shlibs_CXX=no
 
13700
            fi
 
13701
            ;;
 
13702
        esac
 
13703
        ;;
 
13704
 
 
13705
      psos*)
 
13706
        # FIXME: insert proper C++ library support
 
13707
        ld_shlibs_CXX=no
 
13708
        ;;
 
13709
 
 
13710
      sunos4*)
 
13711
        case $cc_basename in
 
13712
          CC*)
 
13713
            # Sun C++ 4.x
 
13714
            # FIXME: insert proper C++ library support
 
13715
            ld_shlibs_CXX=no
 
13716
            ;;
 
13717
          lcc*)
 
13718
            # Lucid
 
13719
            # FIXME: insert proper C++ library support
 
13720
            ld_shlibs_CXX=no
 
13721
            ;;
 
13722
          *)
 
13723
            # FIXME: insert proper C++ library support
 
13724
            ld_shlibs_CXX=no
 
13725
            ;;
 
13726
        esac
 
13727
        ;;
 
13728
 
 
13729
      solaris*)
 
13730
        case $cc_basename in
 
13731
          CC* | sunCC*)
 
13732
            # Sun C++ 4.2, 5.x and Centerline C++
 
13733
            archive_cmds_need_lc_CXX=yes
 
13734
            no_undefined_flag_CXX=' -zdefs'
 
13735
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13736
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13737
              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13738
 
 
13739
            hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13740
            hardcode_shlibpath_var_CXX=no
 
13741
            case $host_os in
 
13742
              solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13743
              *)
 
13744
                # The compiler driver will combine and reorder linker options,
 
13745
                # but understands `-z linker_flag'.
 
13746
                # Supported since Solaris 2.6 (maybe 2.5.1?)
 
13747
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 
13748
                ;;
 
13749
            esac
 
13750
            link_all_deplibs_CXX=yes
 
13751
 
 
13752
            output_verbose_link_cmd='func_echo_all'
 
13753
 
 
13754
            # Archives containing C++ object files must be created using
 
13755
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
13756
            # necessary to make sure instantiated templates are included
 
13757
            # in the archive.
 
13758
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
13759
            ;;
 
13760
          gcx*)
 
13761
            # Green Hills C++ Compiler
 
13762
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13763
 
 
13764
            # The C++ compiler must be used to create the archive.
 
13765
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
13766
            ;;
 
13767
          *)
 
13768
            # GNU C++ compiler with Solaris linker
 
13769
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
13770
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 
13771
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 
13772
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13773
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13774
                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13775
 
 
13776
                # Commands to make compiler produce verbose output that lists
 
13777
                # what "hidden" libraries, object files and flags are used when
 
13778
                # linking a shared library.
 
13779
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
13780
              else
 
13781
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
13782
                # platform.
 
13783
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13784
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13785
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13786
 
 
13787
                # Commands to make compiler produce verbose output that lists
 
13788
                # what "hidden" libraries, object files and flags are used when
 
13789
                # linking a shared library.
 
13790
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
13791
              fi
 
13792
 
 
13793
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
13794
              case $host_os in
 
13795
                solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13796
                *)
 
13797
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
13798
                  ;;
 
13799
              esac
 
13800
            fi
 
13801
            ;;
 
13802
        esac
 
13803
        ;;
 
13804
 
 
13805
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
13806
      no_undefined_flag_CXX='${wl}-z,text'
 
13807
      archive_cmds_need_lc_CXX=no
 
13808
      hardcode_shlibpath_var_CXX=no
 
13809
      runpath_var='LD_RUN_PATH'
 
13810
 
 
13811
      case $cc_basename in
 
13812
        CC*)
 
13813
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13814
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13815
          ;;
 
13816
        *)
 
13817
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13818
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13819
          ;;
 
13820
      esac
 
13821
      ;;
 
13822
 
 
13823
      sysv5* | sco3.2v5* | sco5v6*)
 
13824
        # Note: We can NOT use -z defs as we might desire, because we do not
 
13825
        # link with -lc, and that would cause any symbols used from libc to
 
13826
        # always be unresolved, which means just about no library would
 
13827
        # ever link correctly.  If we're not using GNU ld we use -z text
 
13828
        # though, which does catch some bad symbols but isn't as heavy-handed
 
13829
        # as -z defs.
 
13830
        no_undefined_flag_CXX='${wl}-z,text'
 
13831
        allow_undefined_flag_CXX='${wl}-z,nodefs'
 
13832
        archive_cmds_need_lc_CXX=no
 
13833
        hardcode_shlibpath_var_CXX=no
 
13834
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
 
13835
        hardcode_libdir_separator_CXX=':'
 
13836
        link_all_deplibs_CXX=yes
 
13837
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
13838
        runpath_var='LD_RUN_PATH'
 
13839
 
 
13840
        case $cc_basename in
 
13841
          CC*)
 
13842
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13843
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13844
            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
 
13845
              '"$old_archive_cmds_CXX"
 
13846
            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
 
13847
              '"$reload_cmds_CXX"
 
13848
            ;;
 
13849
          *)
 
13850
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13851
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13852
            ;;
 
13853
        esac
 
13854
      ;;
 
13855
 
 
13856
      tandem*)
 
13857
        case $cc_basename in
 
13858
          NCC*)
 
13859
            # NonStop-UX NCC 3.20
 
13860
            # FIXME: insert proper C++ library support
 
13861
            ld_shlibs_CXX=no
 
13862
            ;;
 
13863
          *)
 
13864
            # FIXME: insert proper C++ library support
 
13865
            ld_shlibs_CXX=no
 
13866
            ;;
 
13867
        esac
 
13868
        ;;
 
13869
 
 
13870
      vxworks*)
 
13871
        # FIXME: insert proper C++ library support
 
13872
        ld_shlibs_CXX=no
 
13873
        ;;
 
13874
 
 
13875
      *)
 
13876
        # FIXME: insert proper C++ library support
 
13877
        ld_shlibs_CXX=no
 
13878
        ;;
 
13879
    esac
 
13880
 
 
13881
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
13882
$as_echo "$ld_shlibs_CXX" >&6; }
 
13883
    test "$ld_shlibs_CXX" = no && can_build_shared=no
 
13884
 
 
13885
    GCC_CXX="$GXX"
 
13886
    LD_CXX="$LD"
 
13887
 
 
13888
    ## CAVEAT EMPTOR:
 
13889
    ## There is no encapsulation within the following macros, do not change
 
13890
    ## the running order or otherwise move them around unless you know exactly
 
13891
    ## what you are doing...
 
13892
    # Dependencies to place before and after the object being linked:
 
13893
predep_objects_CXX=
 
13894
postdep_objects_CXX=
 
13895
predeps_CXX=
 
13896
postdeps_CXX=
 
13897
compiler_lib_search_path_CXX=
 
13898
 
 
13899
cat > conftest.$ac_ext <<_LT_EOF
 
13900
class Foo
 
13901
{
 
13902
public:
 
13903
  Foo (void) { a = 0; }
 
13904
private:
 
13905
  int a;
 
13906
};
 
13907
_LT_EOF
 
13908
 
 
13909
 
 
13910
_lt_libdeps_save_CFLAGS=$CFLAGS
 
13911
case "$CC $CFLAGS " in #(
 
13912
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 
13913
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 
13914
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
 
13915
esac
 
13916
 
 
13917
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
13918
  (eval $ac_compile) 2>&5
 
13919
  ac_status=$?
 
13920
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13921
  test $ac_status = 0; }; then
 
13922
  # Parse the compiler output and extract the necessary
 
13923
  # objects, libraries and library flags.
 
13924
 
 
13925
  # Sentinel used to keep track of whether or not we are before
 
13926
  # the conftest object file.
 
13927
  pre_test_object_deps_done=no
 
13928
 
 
13929
  for p in `eval "$output_verbose_link_cmd"`; do
 
13930
    case ${prev}${p} in
 
13931
 
 
13932
    -L* | -R* | -l*)
 
13933
       # Some compilers place space between "-{L,R}" and the path.
 
13934
       # Remove the space.
 
13935
       if test $p = "-L" ||
 
13936
          test $p = "-R"; then
 
13937
         prev=$p
 
13938
         continue
 
13939
       fi
 
13940
 
 
13941
       # Expand the sysroot to ease extracting the directories later.
 
13942
       if test -z "$prev"; then
 
13943
         case $p in
 
13944
         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
 
13945
         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
 
13946
         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
 
13947
         esac
 
13948
       fi
 
13949
       case $p in
 
13950
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
 
13951
       esac
 
13952
       if test "$pre_test_object_deps_done" = no; then
 
13953
         case ${prev} in
 
13954
         -L | -R)
 
13955
           # Internal compiler library paths should come after those
 
13956
           # provided the user.  The postdeps already come after the
 
13957
           # user supplied libs so there is no need to process them.
 
13958
           if test -z "$compiler_lib_search_path_CXX"; then
 
13959
             compiler_lib_search_path_CXX="${prev}${p}"
 
13960
           else
 
13961
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
 
13962
           fi
 
13963
           ;;
 
13964
         # The "-l" case would never come before the object being
 
13965
         # linked, so don't bother handling this case.
 
13966
         esac
 
13967
       else
 
13968
         if test -z "$postdeps_CXX"; then
 
13969
           postdeps_CXX="${prev}${p}"
 
13970
         else
 
13971
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
 
13972
         fi
 
13973
       fi
 
13974
       prev=
 
13975
       ;;
 
13976
 
 
13977
    *.lto.$objext) ;; # Ignore GCC LTO objects
 
13978
    *.$objext)
 
13979
       # This assumes that the test object file only shows up
 
13980
       # once in the compiler output.
 
13981
       if test "$p" = "conftest.$objext"; then
 
13982
         pre_test_object_deps_done=yes
 
13983
         continue
 
13984
       fi
 
13985
 
 
13986
       if test "$pre_test_object_deps_done" = no; then
 
13987
         if test -z "$predep_objects_CXX"; then
 
13988
           predep_objects_CXX="$p"
 
13989
         else
 
13990
           predep_objects_CXX="$predep_objects_CXX $p"
 
13991
         fi
 
13992
       else
 
13993
         if test -z "$postdep_objects_CXX"; then
 
13994
           postdep_objects_CXX="$p"
 
13995
         else
 
13996
           postdep_objects_CXX="$postdep_objects_CXX $p"
 
13997
         fi
 
13998
       fi
 
13999
       ;;
 
14000
 
 
14001
    *) ;; # Ignore the rest.
 
14002
 
 
14003
    esac
 
14004
  done
 
14005
 
 
14006
  # Clean up.
 
14007
  rm -f a.out a.exe
 
14008
else
 
14009
  echo "libtool.m4: error: problem compiling CXX test program"
 
14010
fi
 
14011
 
 
14012
$RM -f confest.$objext
 
14013
CFLAGS=$_lt_libdeps_save_CFLAGS
 
14014
 
 
14015
# PORTME: override above test on systems where it is broken
 
14016
case $host_os in
 
14017
interix[3-9]*)
 
14018
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
14019
  # hack all around it, let's just trust "g++" to DTRT.
 
14020
  predep_objects_CXX=
 
14021
  postdep_objects_CXX=
 
14022
  postdeps_CXX=
 
14023
  ;;
 
14024
 
 
14025
linux*)
 
14026
  case `$CC -V 2>&1 | sed 5q` in
 
14027
  *Sun\ C*)
 
14028
    # Sun C++ 5.9
 
14029
 
 
14030
    # The more standards-conforming stlport4 library is
 
14031
    # incompatible with the Cstd library. Avoid specifying
 
14032
    # it if it's in CXXFLAGS. Ignore libCrun as
 
14033
    # -library=stlport4 depends on it.
 
14034
    case " $CXX $CXXFLAGS " in
 
14035
    *" -library=stlport4 "*)
 
14036
      solaris_use_stlport4=yes
 
14037
      ;;
 
14038
    esac
 
14039
 
 
14040
    if test "$solaris_use_stlport4" != yes; then
 
14041
      postdeps_CXX='-library=Cstd -library=Crun'
 
14042
    fi
 
14043
    ;;
 
14044
  esac
 
14045
  ;;
 
14046
 
 
14047
solaris*)
 
14048
  case $cc_basename in
 
14049
  CC* | sunCC*)
 
14050
    # The more standards-conforming stlport4 library is
 
14051
    # incompatible with the Cstd library. Avoid specifying
 
14052
    # it if it's in CXXFLAGS. Ignore libCrun as
 
14053
    # -library=stlport4 depends on it.
 
14054
    case " $CXX $CXXFLAGS " in
 
14055
    *" -library=stlport4 "*)
 
14056
      solaris_use_stlport4=yes
 
14057
      ;;
 
14058
    esac
 
14059
 
 
14060
    # Adding this requires a known-good setup of shared libraries for
 
14061
    # Sun compiler versions before 5.6, else PIC objects from an old
 
14062
    # archive will be linked into the output, leading to subtle bugs.
 
14063
    if test "$solaris_use_stlport4" != yes; then
 
14064
      postdeps_CXX='-library=Cstd -library=Crun'
 
14065
    fi
 
14066
    ;;
 
14067
  esac
 
14068
  ;;
 
14069
esac
 
14070
 
 
14071
 
 
14072
case " $postdeps_CXX " in
 
14073
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
 
14074
esac
 
14075
 compiler_lib_search_dirs_CXX=
 
14076
if test -n "${compiler_lib_search_path_CXX}"; then
 
14077
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
14078
fi
 
14079
 
 
14080
    
 
14081
    
 
14082
    
 
14083
 
 
14084
 
 
14085
    
 
14086
    
 
14087
    
 
14088
 
 
14089
 
 
14090
    
 
14091
    
 
14092
    
 
14093
 
 
14094
 
 
14095
    
 
14096
    
 
14097
    
 
14098
 
 
14099
 
 
14100
    
 
14101
    
 
14102
    
 
14103
 
 
14104
 
 
14105
    
 
14106
    
 
14107
    
 
14108
 
 
14109
 
 
14110
    lt_prog_compiler_wl_CXX=
 
14111
lt_prog_compiler_pic_CXX=
 
14112
lt_prog_compiler_static_CXX=
 
14113
 
 
14114
 
 
14115
  # C++ specific cases for pic, static, wl, etc.
 
14116
  if test "$GXX" = yes; then
 
14117
    lt_prog_compiler_wl_CXX='-Wl,'
 
14118
    lt_prog_compiler_static_CXX='-static'
 
14119
 
 
14120
    case $host_os in
 
14121
    aix*)
 
14122
      # All AIX code is PIC.
 
14123
      if test "$host_cpu" = ia64; then
 
14124
        # AIX 5 now supports IA64 processor
 
14125
        lt_prog_compiler_static_CXX='-Bstatic'
 
14126
      fi
 
14127
      ;;
 
14128
 
 
14129
    amigaos*)
 
14130
      case $host_cpu in
 
14131
      powerpc)
 
14132
            # see comment about AmigaOS4 .so support
 
14133
            lt_prog_compiler_pic_CXX='-fPIC'
 
14134
        ;;
 
14135
      m68k)
 
14136
            # FIXME: we need at least 68020 code to build shared libraries, but
 
14137
            # adding the `-m68020' flag to GCC prevents building anything better,
 
14138
            # like `-m68040'.
 
14139
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
14140
        ;;
 
14141
      esac
 
14142
      ;;
 
14143
 
 
14144
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
14145
      # PIC is the default for these OSes.
 
14146
      ;;
 
14147
    mingw* | cygwin* | os2* | pw32* | cegcc*)
 
14148
      # This hack is so that the source file can tell whether it is being
 
14149
      # built for inclusion in a dll (and should export symbols for example).
 
14150
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
14151
      # (--disable-auto-import) libraries
 
14152
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
14153
      ;;
 
14154
    darwin* | rhapsody*)
 
14155
      # PIC is the default on this platform
 
14156
      # Common symbols not allowed in MH_DYLIB files
 
14157
      lt_prog_compiler_pic_CXX='-fno-common'
 
14158
      ;;
 
14159
    *djgpp*)
 
14160
      # DJGPP does not support shared libraries at all
 
14161
      lt_prog_compiler_pic_CXX=
 
14162
      ;;
 
14163
    haiku*)
 
14164
      # PIC is the default for Haiku.
 
14165
      # The "-static" flag exists, but is broken.
 
14166
      lt_prog_compiler_static_CXX=
 
14167
      ;;
 
14168
    interix[3-9]*)
 
14169
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
14170
      # Instead, we relocate shared libraries at runtime.
 
14171
      ;;
 
14172
    sysv4*MP*)
 
14173
      if test -d /usr/nec; then
 
14174
        lt_prog_compiler_pic_CXX=-Kconform_pic
 
14175
      fi
 
14176
      ;;
 
14177
    hpux*)
 
14178
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
14179
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
14180
      # sets the default TLS model and affects inlining.
 
14181
      case $host_cpu in
 
14182
      hppa*64*)
 
14183
        ;;
 
14184
      *)
 
14185
        lt_prog_compiler_pic_CXX='-fPIC'
 
14186
        ;;
 
14187
      esac
 
14188
      ;;
 
14189
    *qnx* | *nto*)
 
14190
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
14191
      # it will coredump.
 
14192
      lt_prog_compiler_pic_CXX='-fPIC -shared'
 
14193
      ;;
 
14194
    *)
 
14195
      lt_prog_compiler_pic_CXX='-fPIC'
 
14196
      ;;
 
14197
    esac
 
14198
  else
 
14199
    case $host_os in
 
14200
      aix[4-9]*)
 
14201
        # All AIX code is PIC.
 
14202
        if test "$host_cpu" = ia64; then
 
14203
          # AIX 5 now supports IA64 processor
 
14204
          lt_prog_compiler_static_CXX='-Bstatic'
 
14205
        else
 
14206
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
 
14207
        fi
 
14208
        ;;
 
14209
      chorus*)
 
14210
        case $cc_basename in
 
14211
        cxch68*)
 
14212
          # Green Hills C++ Compiler
 
14213
          # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
 
14214
          ;;
 
14215
        esac
 
14216
        ;;
 
14217
      mingw* | cygwin* | os2* | pw32* | cegcc*)
 
14218
        # This hack is so that the source file can tell whether it is being
 
14219
        # built for inclusion in a dll (and should export symbols for example).
 
14220
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
14221
        ;;
 
14222
      dgux*)
 
14223
        case $cc_basename in
 
14224
          ec++*)
 
14225
            lt_prog_compiler_pic_CXX='-KPIC'
 
14226
            ;;
 
14227
          ghcx*)
 
14228
            # Green Hills C++ Compiler
 
14229
            lt_prog_compiler_pic_CXX='-pic'
 
14230
            ;;
 
14231
          *)
 
14232
            ;;
 
14233
        esac
 
14234
        ;;
 
14235
      freebsd* | dragonfly*)
 
14236
        # FreeBSD uses GNU C++
 
14237
        ;;
 
14238
      hpux9* | hpux10* | hpux11*)
 
14239
        case $cc_basename in
 
14240
          CC*)
 
14241
            lt_prog_compiler_wl_CXX='-Wl,'
 
14242
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
14243
            if test "$host_cpu" != ia64; then
 
14244
              lt_prog_compiler_pic_CXX='+Z'
 
14245
            fi
 
14246
            ;;
 
14247
          aCC*)
 
14248
            lt_prog_compiler_wl_CXX='-Wl,'
 
14249
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
14250
            case $host_cpu in
 
14251
            hppa*64*|ia64*)
 
14252
              # +Z the default
 
14253
              ;;
 
14254
            *)
 
14255
              lt_prog_compiler_pic_CXX='+Z'
 
14256
              ;;
 
14257
            esac
 
14258
            ;;
 
14259
          *)
 
14260
            ;;
 
14261
        esac
 
14262
        ;;
 
14263
      interix*)
 
14264
        # This is c89, which is MS Visual C++ (no shared libs)
 
14265
        # Anyone wants to do a port?
 
14266
        ;;
 
14267
      irix5* | irix6* | nonstopux*)
 
14268
        case $cc_basename in
 
14269
          CC*)
 
14270
            lt_prog_compiler_wl_CXX='-Wl,'
 
14271
            lt_prog_compiler_static_CXX='-non_shared'
 
14272
            # CC pic flag -KPIC is the default.
 
14273
            ;;
 
14274
          *)
 
14275
            ;;
 
14276
        esac
 
14277
        ;;
 
14278
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
14279
        case $cc_basename in
 
14280
          KCC*)
 
14281
            # KAI C++ Compiler
 
14282
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
14283
            lt_prog_compiler_pic_CXX='-fPIC'
 
14284
            ;;
 
14285
          ecpc* )
 
14286
            # old Intel C++ for x86_64 which still supported -KPIC.
 
14287
            lt_prog_compiler_wl_CXX='-Wl,'
 
14288
            lt_prog_compiler_pic_CXX='-KPIC'
 
14289
            lt_prog_compiler_static_CXX='-static'
 
14290
            ;;
 
14291
          icpc* )
 
14292
            # Intel C++, used to be incompatible with GCC.
 
14293
            # ICC 10 doesn't accept -KPIC any more.
 
14294
            lt_prog_compiler_wl_CXX='-Wl,'
 
14295
            lt_prog_compiler_pic_CXX='-fPIC'
 
14296
            lt_prog_compiler_static_CXX='-static'
 
14297
            ;;
 
14298
          pgCC* | pgcpp*)
 
14299
            # Portland Group C++ compiler
 
14300
            lt_prog_compiler_wl_CXX='-Wl,'
 
14301
            lt_prog_compiler_pic_CXX='-fpic'
 
14302
            lt_prog_compiler_static_CXX='-Bstatic'
 
14303
            ;;
 
14304
          cxx*)
 
14305
            # Compaq C++
 
14306
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
14307
            # Linux and Compaq Tru64 Unix objects are PIC.
 
14308
            lt_prog_compiler_pic_CXX=
 
14309
            lt_prog_compiler_static_CXX='-non_shared'
 
14310
            ;;
 
14311
          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
 
14312
            # IBM XL 8.0, 9.0 on PPC and BlueGene
 
14313
            lt_prog_compiler_wl_CXX='-Wl,'
 
14314
            lt_prog_compiler_pic_CXX='-qpic'
 
14315
            lt_prog_compiler_static_CXX='-qstaticlink'
 
14316
            ;;
 
14317
          *)
 
14318
            case `$CC -V 2>&1 | sed 5q` in
 
14319
            *Sun\ C*)
 
14320
              # Sun C++ 5.9
 
14321
              lt_prog_compiler_pic_CXX='-KPIC'
 
14322
              lt_prog_compiler_static_CXX='-Bstatic'
 
14323
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
14324
              ;;
 
14325
            esac
 
14326
            ;;
 
14327
        esac
 
14328
        ;;
 
14329
      lynxos*)
 
14330
        ;;
 
14331
      m88k*)
 
14332
        ;;
 
14333
      mvs*)
 
14334
        case $cc_basename in
 
14335
          cxx*)
 
14336
            lt_prog_compiler_pic_CXX='-W c,exportall'
 
14337
            ;;
 
14338
          *)
 
14339
            ;;
 
14340
        esac
 
14341
        ;;
 
14342
      netbsd*)
 
14343
        ;;
 
14344
      *qnx* | *nto*)
 
14345
        # QNX uses GNU C++, but need to define -shared option too, otherwise
 
14346
        # it will coredump.
 
14347
        lt_prog_compiler_pic_CXX='-fPIC -shared'
 
14348
        ;;
 
14349
      osf3* | osf4* | osf5*)
 
14350
        case $cc_basename in
 
14351
          KCC*)
 
14352
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
14353
            ;;
 
14354
          RCC*)
 
14355
            # Rational C++ 2.4.1
 
14356
            lt_prog_compiler_pic_CXX='-pic'
 
14357
            ;;
 
14358
          cxx*)
 
14359
            # Digital/Compaq C++
 
14360
            lt_prog_compiler_wl_CXX='-Wl,'
 
14361
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
14362
            # Linux and Compaq Tru64 Unix objects are PIC.
 
14363
            lt_prog_compiler_pic_CXX=
 
14364
            lt_prog_compiler_static_CXX='-non_shared'
 
14365
            ;;
 
14366
          *)
 
14367
            ;;
 
14368
        esac
 
14369
        ;;
 
14370
      psos*)
 
14371
        ;;
 
14372
      solaris*)
 
14373
        case $cc_basename in
 
14374
          CC* | sunCC*)
 
14375
            # Sun C++ 4.2, 5.x and Centerline C++
 
14376
            lt_prog_compiler_pic_CXX='-KPIC'
 
14377
            lt_prog_compiler_static_CXX='-Bstatic'
 
14378
            lt_prog_compiler_wl_CXX='-Qoption ld '
 
14379
            ;;
 
14380
          gcx*)
 
14381
            # Green Hills C++ Compiler
 
14382
            lt_prog_compiler_pic_CXX='-PIC'
 
14383
            ;;
 
14384
          *)
 
14385
            ;;
 
14386
        esac
 
14387
        ;;
 
14388
      sunos4*)
 
14389
        case $cc_basename in
 
14390
          CC*)
 
14391
            # Sun C++ 4.x
 
14392
            lt_prog_compiler_pic_CXX='-pic'
 
14393
            lt_prog_compiler_static_CXX='-Bstatic'
 
14394
            ;;
 
14395
          lcc*)
 
14396
            # Lucid
 
14397
            lt_prog_compiler_pic_CXX='-pic'
 
14398
            ;;
 
14399
          *)
 
14400
            ;;
 
14401
        esac
 
14402
        ;;
 
14403
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
14404
        case $cc_basename in
 
14405
          CC*)
 
14406
            lt_prog_compiler_wl_CXX='-Wl,'
 
14407
            lt_prog_compiler_pic_CXX='-KPIC'
 
14408
            lt_prog_compiler_static_CXX='-Bstatic'
 
14409
            ;;
 
14410
        esac
 
14411
        ;;
 
14412
      tandem*)
 
14413
        case $cc_basename in
 
14414
          NCC*)
 
14415
            # NonStop-UX NCC 3.20
 
14416
            lt_prog_compiler_pic_CXX='-KPIC'
 
14417
            ;;
 
14418
          *)
 
14419
            ;;
 
14420
        esac
 
14421
        ;;
 
14422
      vxworks*)
 
14423
        ;;
 
14424
      *)
 
14425
        lt_prog_compiler_can_build_shared_CXX=no
 
14426
        ;;
 
14427
    esac
 
14428
  fi
 
14429
 
 
14430
case $host_os in
 
14431
  # For platforms which do not support PIC, -DPIC is meaningless:
 
14432
  *djgpp*)
 
14433
    lt_prog_compiler_pic_CXX=
 
14434
    ;;
 
14435
  *)
 
14436
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
 
14437
    ;;
 
14438
esac
 
14439
 
 
14440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
14441
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
14442
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
 
14443
  $as_echo_n "(cached) " >&6
 
14444
else
 
14445
  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
 
14446
fi
 
14447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
 
14448
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
 
14449
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
 
14450
 
 
14451
#
 
14452
# Check to make sure the PIC flag actually works.
 
14453
#
 
14454
if test -n "$lt_prog_compiler_pic_CXX"; then
 
14455
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
14456
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
14457
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
 
14458
  $as_echo_n "(cached) " >&6
 
14459
else
 
14460
  lt_cv_prog_compiler_pic_works_CXX=no
 
14461
   ac_outfile=conftest.$ac_objext
 
14462
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14463
   lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
 
14464
   # Insert the option either (1) after the last *FLAGS variable, or
 
14465
   # (2) before a word containing "conftest.", or (3) at the end.
 
14466
   # Note that $ac_compile itself does not contain backslashes and begins
 
14467
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
14468
   # The option is referenced via a variable to avoid confusing sed.
 
14469
   lt_compile=`echo "$ac_compile" | $SED \
 
14470
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14471
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14472
   -e 's:$: $lt_compiler_flag:'`
 
14473
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
14474
   (eval "$lt_compile" 2>conftest.err)
 
14475
   ac_status=$?
 
14476
   cat conftest.err >&5
 
14477
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14478
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
14479
     # The compiler can only warn and ignore the option if not recognized
 
14480
     # So say no if there are warnings other than the usual output.
 
14481
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
14482
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14483
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
14484
       lt_cv_prog_compiler_pic_works_CXX=yes
 
14485
     fi
 
14486
   fi
 
14487
   $RM conftest*
 
14488
 
 
14489
fi
 
14490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
14491
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
 
14492
 
 
14493
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
 
14494
    case $lt_prog_compiler_pic_CXX in
 
14495
     "" | " "*) ;;
 
14496
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
 
14497
     esac
 
14498
else
 
14499
    lt_prog_compiler_pic_CXX=
 
14500
     lt_prog_compiler_can_build_shared_CXX=no
 
14501
fi
 
14502
 
 
14503
fi
 
14504
 
 
14505
 
 
14506
 
 
14507
 
 
14508
 
 
14509
#
 
14510
# Check to make sure the static flag actually works.
 
14511
#
 
14512
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
14513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14514
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
14515
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
 
14516
  $as_echo_n "(cached) " >&6
 
14517
else
 
14518
  lt_cv_prog_compiler_static_works_CXX=no
 
14519
   save_LDFLAGS="$LDFLAGS"
 
14520
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
14521
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
14522
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
14523
     # The linker can only warn and ignore the option if not recognized
 
14524
     # So say no if there are warnings
 
14525
     if test -s conftest.err; then
 
14526
       # Append any errors to the config.log.
 
14527
       cat conftest.err 1>&5
 
14528
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
14529
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
14530
       if diff conftest.exp conftest.er2 >/dev/null; then
 
14531
         lt_cv_prog_compiler_static_works_CXX=yes
 
14532
       fi
 
14533
     else
 
14534
       lt_cv_prog_compiler_static_works_CXX=yes
 
14535
     fi
 
14536
   fi
 
14537
   $RM -r conftest*
 
14538
   LDFLAGS="$save_LDFLAGS"
 
14539
 
 
14540
fi
 
14541
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
14542
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
 
14543
 
 
14544
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
 
14545
    :
 
14546
else
 
14547
    lt_prog_compiler_static_CXX=
 
14548
fi
 
14549
 
 
14550
 
 
14551
 
 
14552
 
 
14553
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14554
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
14555
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
 
14556
  $as_echo_n "(cached) " >&6
 
14557
else
 
14558
  lt_cv_prog_compiler_c_o_CXX=no
 
14559
   $RM -r conftest 2>/dev/null
 
14560
   mkdir conftest
 
14561
   cd conftest
 
14562
   mkdir out
 
14563
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14564
 
 
14565
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
14566
   # Insert the option either (1) after the last *FLAGS variable, or
 
14567
   # (2) before a word containing "conftest.", or (3) at the end.
 
14568
   # Note that $ac_compile itself does not contain backslashes and begins
 
14569
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
14570
   lt_compile=`echo "$ac_compile" | $SED \
 
14571
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14572
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14573
   -e 's:$: $lt_compiler_flag:'`
 
14574
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
14575
   (eval "$lt_compile" 2>out/conftest.err)
 
14576
   ac_status=$?
 
14577
   cat out/conftest.err >&5
 
14578
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14579
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
14580
   then
 
14581
     # The compiler can only warn and ignore the option if not recognized
 
14582
     # So say no if there are warnings
 
14583
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
14584
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14585
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14586
       lt_cv_prog_compiler_c_o_CXX=yes
 
14587
     fi
 
14588
   fi
 
14589
   chmod u+w . 2>&5
 
14590
   $RM conftest*
 
14591
   # SGI C++ compiler will create directory out/ii_files/ for
 
14592
   # template instantiation
 
14593
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
14594
   $RM out/* && rmdir out
 
14595
   cd ..
 
14596
   $RM -r conftest
 
14597
   $RM conftest*
 
14598
 
 
14599
fi
 
14600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14601
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14602
 
 
14603
 
 
14604
 
 
14605
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14606
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
14607
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
 
14608
  $as_echo_n "(cached) " >&6
 
14609
else
 
14610
  lt_cv_prog_compiler_c_o_CXX=no
 
14611
   $RM -r conftest 2>/dev/null
 
14612
   mkdir conftest
 
14613
   cd conftest
 
14614
   mkdir out
 
14615
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14616
 
 
14617
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
14618
   # Insert the option either (1) after the last *FLAGS variable, or
 
14619
   # (2) before a word containing "conftest.", or (3) at the end.
 
14620
   # Note that $ac_compile itself does not contain backslashes and begins
 
14621
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
14622
   lt_compile=`echo "$ac_compile" | $SED \
 
14623
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14624
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14625
   -e 's:$: $lt_compiler_flag:'`
 
14626
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
14627
   (eval "$lt_compile" 2>out/conftest.err)
 
14628
   ac_status=$?
 
14629
   cat out/conftest.err >&5
 
14630
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14631
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
14632
   then
 
14633
     # The compiler can only warn and ignore the option if not recognized
 
14634
     # So say no if there are warnings
 
14635
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
14636
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14637
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14638
       lt_cv_prog_compiler_c_o_CXX=yes
 
14639
     fi
 
14640
   fi
 
14641
   chmod u+w . 2>&5
 
14642
   $RM conftest*
 
14643
   # SGI C++ compiler will create directory out/ii_files/ for
 
14644
   # template instantiation
 
14645
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
14646
   $RM out/* && rmdir out
 
14647
   cd ..
 
14648
   $RM -r conftest
 
14649
   $RM conftest*
 
14650
 
 
14651
fi
 
14652
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14653
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14654
 
 
14655
 
 
14656
 
 
14657
 
 
14658
hard_links="nottested"
 
14659
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
 
14660
  # do not overwrite the value of need_locks provided by the user
 
14661
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
14662
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
14663
  hard_links=yes
 
14664
  $RM conftest*
 
14665
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
14666
  touch conftest.a
 
14667
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
14668
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
14669
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
14670
$as_echo "$hard_links" >&6; }
 
14671
  if test "$hard_links" = no; then
 
14672
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
14673
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
14674
    need_locks=warn
 
14675
  fi
 
14676
else
 
14677
  need_locks=no
 
14678
fi
 
14679
 
 
14680
 
 
14681
 
 
14682
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14683
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
14684
 
 
14685
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
14686
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
14687
  case $host_os in
 
14688
  aix[4-9]*)
 
14689
    # If we're using GNU nm, then we don't want the "-C" option.
 
14690
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
14691
    # Also, AIX nm treats weak defined symbols like other global defined
 
14692
    # symbols, whereas GNU nm marks them as "W".
 
14693
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
14694
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
14695
    else
 
14696
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
14697
    fi
 
14698
    ;;
 
14699
  pw32*)
 
14700
    export_symbols_cmds_CXX="$ltdll_cmds"
 
14701
    ;;
 
14702
  cygwin* | mingw* | cegcc*)
 
14703
    case $cc_basename in
 
14704
    cl*)
 
14705
      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
14706
      ;;
 
14707
    *)
 
14708
      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
14709
      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
14710
      ;;
 
14711
    esac
 
14712
    ;;
 
14713
  *)
 
14714
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
14715
    ;;
 
14716
  esac
 
14717
 
 
14718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
14719
$as_echo "$ld_shlibs_CXX" >&6; }
 
14720
test "$ld_shlibs_CXX" = no && can_build_shared=no
 
14721
 
 
14722
with_gnu_ld_CXX=$with_gnu_ld
 
14723
 
 
14724
 
 
14725
 
 
14726
 
 
14727
 
 
14728
 
 
14729
#
 
14730
# Do we need to explicitly link libc?
 
14731
#
 
14732
case "x$archive_cmds_need_lc_CXX" in
 
14733
x|xyes)
 
14734
  # Assume -lc should be added
 
14735
  archive_cmds_need_lc_CXX=yes
 
14736
 
 
14737
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
14738
    case $archive_cmds_CXX in
 
14739
    *'~'*)
 
14740
      # FIXME: we may have to deal with multi-command sequences.
 
14741
      ;;
 
14742
    '$CC '*)
 
14743
      # Test whether the compiler implicitly links with -lc since on some
 
14744
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
14745
      # to ld, don't add -lc before -lgcc.
 
14746
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
14747
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
14748
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
 
14749
  $as_echo_n "(cached) " >&6
 
14750
else
 
14751
  $RM conftest*
 
14752
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14753
 
 
14754
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
14755
  (eval $ac_compile) 2>&5
 
14756
  ac_status=$?
 
14757
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14758
  test $ac_status = 0; } 2>conftest.err; then
 
14759
          soname=conftest
 
14760
          lib=conftest
 
14761
          libobjs=conftest.$ac_objext
 
14762
          deplibs=
 
14763
          wl=$lt_prog_compiler_wl_CXX
 
14764
          pic_flag=$lt_prog_compiler_pic_CXX
 
14765
          compiler_flags=-v
 
14766
          linker_flags=-v
 
14767
          verstring=
 
14768
          output_objdir=.
 
14769
          libname=conftest
 
14770
          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
14771
          allow_undefined_flag_CXX=
 
14772
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
14773
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
14774
  ac_status=$?
 
14775
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14776
  test $ac_status = 0; }
 
14777
          then
 
14778
            lt_cv_archive_cmds_need_lc_CXX=no
 
14779
          else
 
14780
            lt_cv_archive_cmds_need_lc_CXX=yes
 
14781
          fi
 
14782
          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
14783
        else
 
14784
          cat conftest.err 1>&5
 
14785
        fi
 
14786
        $RM conftest*
 
14787
        
 
14788
fi
 
14789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
 
14790
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
 
14791
      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
 
14792
      ;;
 
14793
    esac
 
14794
  fi
 
14795
  ;;
 
14796
esac
 
14797
 
 
14798
 
 
14799
 
 
14800
 
 
14801
 
 
14802
 
 
14803
 
 
14804
 
 
14805
 
 
14806
 
 
14807
 
 
14808
 
 
14809
 
 
14810
 
 
14811
 
 
14812
 
 
14813
 
 
14814
 
 
14815
 
 
14816
 
 
14817
 
 
14818
 
 
14819
 
 
14820
 
 
14821
 
 
14822
 
 
14823
 
 
14824
 
 
14825
 
 
14826
 
 
14827
 
 
14828
 
 
14829
 
 
14830
 
 
14831
 
 
14832
 
 
14833
 
 
14834
 
 
14835
 
 
14836
 
 
14837
 
 
14838
 
 
14839
 
 
14840
 
 
14841
 
 
14842
 
 
14843
 
 
14844
 
 
14845
 
 
14846
 
 
14847
 
 
14848
 
 
14849
 
 
14850
 
 
14851
 
 
14852
 
 
14853
 
 
14854
 
 
14855
 
 
14856
 
 
14857
 
 
14858
 
 
14859
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
14860
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
14861
 
 
14862
library_names_spec=
 
14863
libname_spec='lib$name'
 
14864
soname_spec=
 
14865
shrext_cmds=".so"
 
14866
postinstall_cmds=
 
14867
postuninstall_cmds=
 
14868
finish_cmds=
 
14869
finish_eval=
 
14870
shlibpath_var=
 
14871
shlibpath_overrides_runpath=unknown
 
14872
version_type=none
 
14873
dynamic_linker="$host_os ld.so"
 
14874
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
14875
need_lib_prefix=unknown
 
14876
hardcode_into_libs=no
 
14877
 
 
14878
# when you set need_version to no, make sure it does not cause -set_version
 
14879
# flags to be left without arguments
 
14880
need_version=unknown
 
14881
 
 
14882
case $host_os in
 
14883
aix3*)
 
14884
  version_type=linux # correct to gnu/linux during the next big refactor
 
14885
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
14886
  shlibpath_var=LIBPATH
 
14887
 
 
14888
  # AIX 3 has no versioning support, so we append a major version to the name.
 
14889
  soname_spec='${libname}${release}${shared_ext}$major'
 
14890
  ;;
 
14891
 
 
14892
aix[4-9]*)
 
14893
  version_type=linux # correct to gnu/linux during the next big refactor
 
14894
  need_lib_prefix=no
 
14895
  need_version=no
 
14896
  hardcode_into_libs=yes
 
14897
  if test "$host_cpu" = ia64; then
 
14898
    # AIX 5 supports IA64
 
14899
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
14900
    shlibpath_var=LD_LIBRARY_PATH
 
14901
  else
 
14902
    # With GCC up to 2.95.x, collect2 would create an import file
 
14903
    # for dependence libraries.  The import file would start with
 
14904
    # the line `#! .'.  This would cause the generated library to
 
14905
    # depend on `.', always an invalid library.  This was fixed in
 
14906
    # development snapshots of GCC prior to 3.0.
 
14907
    case $host_os in
 
14908
      aix4 | aix4.[01] | aix4.[01].*)
 
14909
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
14910
           echo ' yes '
 
14911
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
14912
        :
 
14913
      else
 
14914
        can_build_shared=no
 
14915
      fi
 
14916
      ;;
 
14917
    esac
 
14918
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
14919
    # soname into executable. Probably we can add versioning support to
 
14920
    # collect2, so additional links can be useful in future.
 
14921
    if test "$aix_use_runtimelinking" = yes; then
 
14922
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
14923
      # instead of lib<name>.a to let people know that these are not
 
14924
      # typical AIX shared libraries.
 
14925
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14926
    else
 
14927
      # We preserve .a as extension for shared libraries through AIX4.2
 
14928
      # and later when we are not doing run time linking.
 
14929
      library_names_spec='${libname}${release}.a $libname.a'
 
14930
      soname_spec='${libname}${release}${shared_ext}$major'
 
14931
    fi
 
14932
    shlibpath_var=LIBPATH
 
14933
  fi
 
14934
  ;;
 
14935
 
 
14936
amigaos*)
 
14937
  case $host_cpu in
 
14938
  powerpc)
 
14939
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
14940
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
14941
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14942
    ;;
 
14943
  m68k)
 
14944
    library_names_spec='$libname.ixlibrary $libname.a'
 
14945
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
14946
    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'
 
14947
    ;;
 
14948
  esac
 
14949
  ;;
 
14950
 
 
14951
beos*)
 
14952
  library_names_spec='${libname}${shared_ext}'
 
14953
  dynamic_linker="$host_os ld.so"
 
14954
  shlibpath_var=LIBRARY_PATH
 
14955
  ;;
 
14956
 
 
14957
bsdi[45]*)
 
14958
  version_type=linux # correct to gnu/linux during the next big refactor
 
14959
  need_version=no
 
14960
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14961
  soname_spec='${libname}${release}${shared_ext}$major'
 
14962
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
14963
  shlibpath_var=LD_LIBRARY_PATH
 
14964
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
14965
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
14966
  # the default ld.so.conf also contains /usr/contrib/lib and
 
14967
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
14968
  # libtool to hard-code these into programs
 
14969
  ;;
 
14970
 
 
14971
cygwin* | mingw* | pw32* | cegcc*)
 
14972
  version_type=windows
 
14973
  shrext_cmds=".dll"
 
14974
  need_version=no
 
14975
  need_lib_prefix=no
 
14976
 
 
14977
  case $GCC,$cc_basename in
 
14978
  yes,*)
 
14979
    # gcc
 
14980
    library_names_spec='$libname.dll.a'
 
14981
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
14982
    postinstall_cmds='base_file=`basename \${file}`~
 
14983
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
14984
      dldir=$destdir/`dirname \$dlpath`~
 
14985
      test -d \$dldir || mkdir -p \$dldir~
 
14986
      $install_prog $dir/$dlname \$dldir/$dlname~
 
14987
      chmod a+x \$dldir/$dlname~
 
14988
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
14989
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
14990
      fi'
 
14991
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
14992
      dlpath=$dir/\$dldll~
 
14993
       $RM \$dlpath'
 
14994
    shlibpath_overrides_runpath=yes
 
14995
 
 
14996
    case $host_os in
 
14997
    cygwin*)
 
14998
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
14999
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
15000
 
 
15001
      ;;
 
15002
    mingw* | cegcc*)
 
15003
      # MinGW DLLs use traditional 'lib' prefix
 
15004
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
15005
      ;;
 
15006
    pw32*)
 
15007
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
15008
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
15009
      ;;
 
15010
    esac
 
15011
    dynamic_linker='Win32 ld.exe'
 
15012
    ;;
 
15013
 
 
15014
  *,cl*)
 
15015
    # Native MSVC
 
15016
    libname_spec='$name'
 
15017
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
15018
    library_names_spec='${libname}.dll.lib'
 
15019
 
 
15020
    case $build_os in
 
15021
    mingw*)
 
15022
      sys_lib_search_path_spec=
 
15023
      lt_save_ifs=$IFS
 
15024
      IFS=';'
 
15025
      for lt_path in $LIB
 
15026
      do
 
15027
        IFS=$lt_save_ifs
 
15028
        # Let DOS variable expansion print the short 8.3 style file name.
 
15029
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
15030
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
15031
      done
 
15032
      IFS=$lt_save_ifs
 
15033
      # Convert to MSYS style.
 
15034
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
15035
      ;;
 
15036
    cygwin*)
 
15037
      # Convert to unix form, then to dos form, then back to unix form
 
15038
      # but this time dos style (no spaces!) so that the unix form looks
 
15039
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
15040
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
15041
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
15042
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
15043
      ;;
 
15044
    *)
 
15045
      sys_lib_search_path_spec="$LIB"
 
15046
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
15047
        # It is most probably a Windows format PATH.
 
15048
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
15049
      else
 
15050
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
15051
      fi
 
15052
      # FIXME: find the short name or the path components, as spaces are
 
15053
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
15054
      ;;
 
15055
    esac
 
15056
 
 
15057
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
15058
    postinstall_cmds='base_file=`basename \${file}`~
 
15059
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
15060
      dldir=$destdir/`dirname \$dlpath`~
 
15061
      test -d \$dldir || mkdir -p \$dldir~
 
15062
      $install_prog $dir/$dlname \$dldir/$dlname'
 
15063
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
15064
      dlpath=$dir/\$dldll~
 
15065
       $RM \$dlpath'
 
15066
    shlibpath_overrides_runpath=yes
 
15067
    dynamic_linker='Win32 link.exe'
 
15068
    ;;
 
15069
 
 
15070
  *)
 
15071
    # Assume MSVC wrapper
 
15072
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
15073
    dynamic_linker='Win32 ld.exe'
 
15074
    ;;
 
15075
  esac
 
15076
  # FIXME: first we should search . and the directory the executable is in
 
15077
  shlibpath_var=PATH
 
15078
  ;;
 
15079
 
 
15080
darwin* | rhapsody*)
 
15081
  dynamic_linker="$host_os dyld"
 
15082
  version_type=darwin
 
15083
  need_lib_prefix=no
 
15084
  need_version=no
 
15085
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
15086
  soname_spec='${libname}${release}${major}$shared_ext'
 
15087
  shlibpath_overrides_runpath=yes
 
15088
  shlibpath_var=DYLD_LIBRARY_PATH
 
15089
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
15090
 
 
15091
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
15092
  ;;
 
15093
 
 
15094
dgux*)
 
15095
  version_type=linux # correct to gnu/linux during the next big refactor
 
15096
  need_lib_prefix=no
 
15097
  need_version=no
 
15098
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
15099
  soname_spec='${libname}${release}${shared_ext}$major'
 
15100
  shlibpath_var=LD_LIBRARY_PATH
 
15101
  ;;
 
15102
 
 
15103
freebsd* | dragonfly*)
 
15104
  # DragonFly does not have aout.  When/if they implement a new
 
15105
  # versioning mechanism, adjust this.
 
15106
  if test -x /usr/bin/objformat; then
 
15107
    objformat=`/usr/bin/objformat`
 
15108
  else
 
15109
    case $host_os in
 
15110
    freebsd[23].*) objformat=aout ;;
 
15111
    *) objformat=elf ;;
 
15112
    esac
 
15113
  fi
 
15114
  version_type=freebsd-$objformat
 
15115
  case $version_type in
 
15116
    freebsd-elf*)
 
15117
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
15118
      need_version=no
 
15119
      need_lib_prefix=no
 
15120
      ;;
 
15121
    freebsd-*)
 
15122
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
15123
      need_version=yes
 
15124
      ;;
 
15125
  esac
 
15126
  shlibpath_var=LD_LIBRARY_PATH
 
15127
  case $host_os in
 
15128
  freebsd2.*)
 
15129
    shlibpath_overrides_runpath=yes
 
15130
    ;;
 
15131
  freebsd3.[01]* | freebsdelf3.[01]*)
 
15132
    shlibpath_overrides_runpath=yes
 
15133
    hardcode_into_libs=yes
 
15134
    ;;
 
15135
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
15136
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
15137
    shlibpath_overrides_runpath=no
 
15138
    hardcode_into_libs=yes
 
15139
    ;;
 
15140
  *) # from 4.6 on, and DragonFly
 
15141
    shlibpath_overrides_runpath=yes
 
15142
    hardcode_into_libs=yes
 
15143
    ;;
 
15144
  esac
 
15145
  ;;
 
15146
 
 
15147
gnu*)
 
15148
  version_type=linux # correct to gnu/linux during the next big refactor
 
15149
  need_lib_prefix=no
 
15150
  need_version=no
 
15151
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
15152
  soname_spec='${libname}${release}${shared_ext}$major'
 
15153
  shlibpath_var=LD_LIBRARY_PATH
 
15154
  shlibpath_overrides_runpath=no
 
15155
  hardcode_into_libs=yes
 
15156
  ;;
 
15157
 
 
15158
haiku*)
 
15159
  version_type=linux # correct to gnu/linux during the next big refactor
 
15160
  need_lib_prefix=no
 
15161
  need_version=no
 
15162
  dynamic_linker="$host_os runtime_loader"
 
15163
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
15164
  soname_spec='${libname}${release}${shared_ext}$major'
 
15165
  shlibpath_var=LIBRARY_PATH
 
15166
  shlibpath_overrides_runpath=yes
 
15167
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
15168
  hardcode_into_libs=yes
 
15169
  ;;
 
15170
 
 
15171
hpux9* | hpux10* | hpux11*)
 
15172
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
15173
  # link against other versions.
 
15174
  version_type=sunos
 
15175
  need_lib_prefix=no
 
15176
  need_version=no
 
15177
  case $host_cpu in
 
15178
  ia64*)
 
15179
    shrext_cmds='.so'
 
15180
    hardcode_into_libs=yes
 
15181
    dynamic_linker="$host_os dld.so"
 
15182
    shlibpath_var=LD_LIBRARY_PATH
 
15183
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
15184
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15185
    soname_spec='${libname}${release}${shared_ext}$major'
 
15186
    if test "X$HPUX_IA64_MODE" = X32; then
 
15187
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
15188
    else
 
15189
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
15190
    fi
 
15191
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
15192
    ;;
 
15193
  hppa*64*)
 
15194
    shrext_cmds='.sl'
 
15195
    hardcode_into_libs=yes
 
15196
    dynamic_linker="$host_os dld.sl"
 
15197
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
15198
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
15199
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15200
    soname_spec='${libname}${release}${shared_ext}$major'
 
15201
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
15202
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
15203
    ;;
 
15204
  *)
 
15205
    shrext_cmds='.sl'
 
15206
    dynamic_linker="$host_os dld.sl"
 
15207
    shlibpath_var=SHLIB_PATH
 
15208
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
15209
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15210
    soname_spec='${libname}${release}${shared_ext}$major'
 
15211
    ;;
 
15212
  esac
 
15213
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
15214
  postinstall_cmds='chmod 555 $lib'
 
15215
  # or fails outright, so override atomically:
 
15216
  install_override_mode=555
 
15217
  ;;
 
15218
 
 
15219
interix[3-9]*)
 
15220
  version_type=linux # correct to gnu/linux during the next big refactor
 
15221
  need_lib_prefix=no
 
15222
  need_version=no
 
15223
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
15224
  soname_spec='${libname}${release}${shared_ext}$major'
 
15225
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
15226
  shlibpath_var=LD_LIBRARY_PATH
 
15227
  shlibpath_overrides_runpath=no
 
15228
  hardcode_into_libs=yes
 
15229
  ;;
 
15230
 
 
15231
irix5* | irix6* | nonstopux*)
 
15232
  case $host_os in
 
15233
    nonstopux*) version_type=nonstopux ;;
 
15234
    *)
 
15235
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
15236
                version_type=linux # correct to gnu/linux during the next big refactor
 
15237
        else
 
15238
                version_type=irix
 
15239
        fi ;;
 
15240
  esac
 
15241
  need_lib_prefix=no
 
15242
  need_version=no
 
15243
  soname_spec='${libname}${release}${shared_ext}$major'
 
15244
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
15245
  case $host_os in
 
15246
  irix5* | nonstopux*)
 
15247
    libsuff= shlibsuff=
 
15248
    ;;
 
15249
  *)
 
15250
    case $LD in # libtool.m4 will add one of these switches to LD
 
15251
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
15252
      libsuff= shlibsuff= libmagic=32-bit;;
 
15253
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
15254
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
15255
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
15256
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
15257
    *) libsuff= shlibsuff= libmagic=never-match;;
 
15258
    esac
 
15259
    ;;
 
15260
  esac
 
15261
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
15262
  shlibpath_overrides_runpath=no
 
15263
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
15264
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
15265
  hardcode_into_libs=yes
 
15266
  ;;
 
15267
 
 
15268
# No shared lib support for Linux oldld, aout, or coff.
 
15269
linux*oldld* | linux*aout* | linux*coff*)
 
15270
  dynamic_linker=no
 
15271
  ;;
 
15272
 
 
15273
# This must be glibc/ELF.
 
15274
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
15275
  version_type=linux # correct to gnu/linux during the next big refactor
 
15276
  need_lib_prefix=no
 
15277
  need_version=no
 
15278
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15279
  soname_spec='${libname}${release}${shared_ext}$major'
 
15280
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
15281
  shlibpath_var=LD_LIBRARY_PATH
 
15282
  shlibpath_overrides_runpath=no
 
15283
 
 
15284
  # Some binutils ld are patched to set DT_RUNPATH
 
15285
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
15286
  $as_echo_n "(cached) " >&6
 
15287
else
 
15288
  lt_cv_shlibpath_overrides_runpath=no
 
15289
    save_LDFLAGS=$LDFLAGS
 
15290
    save_libdir=$libdir
 
15291
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
15292
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
15293
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15294
/* end confdefs.h.  */
 
15295
 
 
15296
int
 
15297
main ()
 
15298
{
 
15299
 
 
15300
  ;
 
15301
  return 0;
 
15302
}
 
15303
_ACEOF
 
15304
if ac_fn_cxx_try_link "$LINENO"; then :
 
15305
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
15306
  lt_cv_shlibpath_overrides_runpath=yes
 
15307
fi
 
15308
fi
 
15309
rm -f core conftest.err conftest.$ac_objext \
 
15310
    conftest$ac_exeext conftest.$ac_ext
 
15311
    LDFLAGS=$save_LDFLAGS
 
15312
    libdir=$save_libdir
 
15313
    
 
15314
fi
 
15315
 
 
15316
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
15317
 
 
15318
  # This implies no fast_install, which is unacceptable.
 
15319
  # Some rework will be needed to allow for fast_install
 
15320
  # before this can be enabled.
 
15321
  hardcode_into_libs=yes
 
15322
 
 
15323
  # Add ABI-specific directories to the system library path.
 
15324
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
15325
 
 
15326
  # Append ld.so.conf contents to the search path
 
15327
  if test -f /etc/ld.so.conf; then
 
15328
    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' ' '`
 
15329
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
15330
 
 
15331
  fi
 
15332
 
 
15333
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
15334
  # powerpc, because MkLinux only supported shared libraries with the
 
15335
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
15336
  # most powerpc-linux boxes support dynamic linking these days and
 
15337
  # people can always --disable-shared, the test was removed, and we
 
15338
  # assume the GNU/Linux dynamic linker is in use.
 
15339
  dynamic_linker='GNU/Linux ld.so'
 
15340
  ;;
 
15341
 
 
15342
netbsd*)
 
15343
  version_type=sunos
 
15344
  need_lib_prefix=no
 
15345
  need_version=no
 
15346
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
15347
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
15348
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
15349
    dynamic_linker='NetBSD (a.out) ld.so'
 
15350
  else
 
15351
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
15352
    soname_spec='${libname}${release}${shared_ext}$major'
 
15353
    dynamic_linker='NetBSD ld.elf_so'
 
15354
  fi
 
15355
  shlibpath_var=LD_LIBRARY_PATH
 
15356
  shlibpath_overrides_runpath=yes
 
15357
  hardcode_into_libs=yes
 
15358
  ;;
 
15359
 
 
15360
newsos6)
 
15361
  version_type=linux # correct to gnu/linux during the next big refactor
 
15362
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15363
  shlibpath_var=LD_LIBRARY_PATH
 
15364
  shlibpath_overrides_runpath=yes
 
15365
  ;;
 
15366
 
 
15367
*nto* | *qnx*)
 
15368
  version_type=qnx
 
15369
  need_lib_prefix=no
 
15370
  need_version=no
 
15371
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15372
  soname_spec='${libname}${release}${shared_ext}$major'
 
15373
  shlibpath_var=LD_LIBRARY_PATH
 
15374
  shlibpath_overrides_runpath=no
 
15375
  hardcode_into_libs=yes
 
15376
  dynamic_linker='ldqnx.so'
 
15377
  ;;
 
15378
 
 
15379
openbsd*)
 
15380
  version_type=sunos
 
15381
  sys_lib_dlsearch_path_spec="/usr/lib"
 
15382
  need_lib_prefix=no
 
15383
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
15384
  case $host_os in
 
15385
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
15386
    *)                          need_version=no  ;;
 
15387
  esac
 
15388
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
15389
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
15390
  shlibpath_var=LD_LIBRARY_PATH
 
15391
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15392
    case $host_os in
 
15393
      openbsd2.[89] | openbsd2.[89].*)
 
15394
        shlibpath_overrides_runpath=no
 
15395
        ;;
 
15396
      *)
 
15397
        shlibpath_overrides_runpath=yes
 
15398
        ;;
 
15399
      esac
 
15400
  else
 
15401
    shlibpath_overrides_runpath=yes
 
15402
  fi
 
15403
  ;;
 
15404
 
 
15405
os2*)
 
15406
  libname_spec='$name'
 
15407
  shrext_cmds=".dll"
 
15408
  need_lib_prefix=no
 
15409
  library_names_spec='$libname${shared_ext} $libname.a'
 
15410
  dynamic_linker='OS/2 ld.exe'
 
15411
  shlibpath_var=LIBPATH
 
15412
  ;;
 
15413
 
 
15414
osf3* | osf4* | osf5*)
 
15415
  version_type=osf
 
15416
  need_lib_prefix=no
 
15417
  need_version=no
 
15418
  soname_spec='${libname}${release}${shared_ext}$major'
 
15419
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15420
  shlibpath_var=LD_LIBRARY_PATH
 
15421
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
15422
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
15423
  ;;
 
15424
 
 
15425
rdos*)
 
15426
  dynamic_linker=no
 
15427
  ;;
 
15428
 
 
15429
solaris*)
 
15430
  version_type=linux # correct to gnu/linux during the next big refactor
 
15431
  need_lib_prefix=no
 
15432
  need_version=no
 
15433
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15434
  soname_spec='${libname}${release}${shared_ext}$major'
 
15435
  shlibpath_var=LD_LIBRARY_PATH
 
15436
  shlibpath_overrides_runpath=yes
 
15437
  hardcode_into_libs=yes
 
15438
  # ldd complains unless libraries are executable
 
15439
  postinstall_cmds='chmod +x $lib'
 
15440
  ;;
 
15441
 
 
15442
sunos4*)
 
15443
  version_type=sunos
 
15444
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
15445
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
15446
  shlibpath_var=LD_LIBRARY_PATH
 
15447
  shlibpath_overrides_runpath=yes
 
15448
  if test "$with_gnu_ld" = yes; then
 
15449
    need_lib_prefix=no
 
15450
  fi
 
15451
  need_version=yes
 
15452
  ;;
 
15453
 
 
15454
sysv4 | sysv4.3*)
 
15455
  version_type=linux # correct to gnu/linux during the next big refactor
 
15456
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15457
  soname_spec='${libname}${release}${shared_ext}$major'
 
15458
  shlibpath_var=LD_LIBRARY_PATH
 
15459
  case $host_vendor in
 
15460
    sni)
 
15461
      shlibpath_overrides_runpath=no
 
15462
      need_lib_prefix=no
 
15463
      runpath_var=LD_RUN_PATH
 
15464
      ;;
 
15465
    siemens)
 
15466
      need_lib_prefix=no
 
15467
      ;;
 
15468
    motorola)
 
15469
      need_lib_prefix=no
 
15470
      need_version=no
 
15471
      shlibpath_overrides_runpath=no
 
15472
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
15473
      ;;
 
15474
  esac
 
15475
  ;;
 
15476
 
 
15477
sysv4*MP*)
 
15478
  if test -d /usr/nec ;then
 
15479
    version_type=linux # correct to gnu/linux during the next big refactor
 
15480
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
15481
    soname_spec='$libname${shared_ext}.$major'
 
15482
    shlibpath_var=LD_LIBRARY_PATH
 
15483
  fi
 
15484
  ;;
 
15485
 
 
15486
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
15487
  version_type=freebsd-elf
 
15488
  need_lib_prefix=no
 
15489
  need_version=no
 
15490
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
15491
  soname_spec='${libname}${release}${shared_ext}$major'
 
15492
  shlibpath_var=LD_LIBRARY_PATH
 
15493
  shlibpath_overrides_runpath=yes
 
15494
  hardcode_into_libs=yes
 
15495
  if test "$with_gnu_ld" = yes; then
 
15496
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
15497
  else
 
15498
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
15499
    case $host_os in
 
15500
      sco3.2v5*)
 
15501
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
15502
        ;;
 
15503
    esac
 
15504
  fi
 
15505
  sys_lib_dlsearch_path_spec='/usr/lib'
 
15506
  ;;
 
15507
 
 
15508
tpf*)
 
15509
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
15510
  version_type=linux # correct to gnu/linux during the next big refactor
 
15511
  need_lib_prefix=no
 
15512
  need_version=no
 
15513
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15514
  shlibpath_var=LD_LIBRARY_PATH
 
15515
  shlibpath_overrides_runpath=no
 
15516
  hardcode_into_libs=yes
 
15517
  ;;
 
15518
 
 
15519
uts4*)
 
15520
  version_type=linux # correct to gnu/linux during the next big refactor
 
15521
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
15522
  soname_spec='${libname}${release}${shared_ext}$major'
 
15523
  shlibpath_var=LD_LIBRARY_PATH
 
15524
  ;;
 
15525
 
 
15526
*)
 
15527
  dynamic_linker=no
 
15528
  ;;
 
15529
esac
 
15530
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
15531
$as_echo "$dynamic_linker" >&6; }
 
15532
test "$dynamic_linker" = no && can_build_shared=no
 
15533
 
 
15534
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
15535
if test "$GCC" = yes; then
 
15536
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
15537
fi
 
15538
 
 
15539
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
15540
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
15541
fi
 
15542
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
15543
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
15544
fi
 
15545
 
 
15546
 
 
15547
 
 
15548
 
 
15549
 
 
15550
 
 
15551
 
 
15552
 
 
15553
 
 
15554
 
 
15555
 
 
15556
 
 
15557
 
 
15558
 
 
15559
 
 
15560
 
 
15561
 
 
15562
 
 
15563
 
 
15564
 
 
15565
 
 
15566
 
 
15567
 
 
15568
 
 
15569
 
 
15570
 
 
15571
 
 
15572
 
 
15573
 
 
15574
 
 
15575
 
 
15576
 
 
15577
 
 
15578
 
 
15579
 
 
15580
 
 
15581
 
 
15582
 
 
15583
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
15584
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
15585
hardcode_action_CXX=
 
15586
if test -n "$hardcode_libdir_flag_spec_CXX" ||
 
15587
   test -n "$runpath_var_CXX" ||
 
15588
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
 
15589
 
 
15590
  # We can hardcode non-existent directories.
 
15591
  if test "$hardcode_direct_CXX" != no &&
 
15592
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
15593
     # have to relink, otherwise we might link with an installed library
 
15594
     # when we should be linking with a yet-to-be-installed one
 
15595
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 
15596
     test "$hardcode_minus_L_CXX" != no; then
 
15597
    # Linking always hardcodes the temporary library directory.
 
15598
    hardcode_action_CXX=relink
 
15599
  else
 
15600
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
15601
    hardcode_action_CXX=immediate
 
15602
  fi
 
15603
else
 
15604
  # We cannot hardcode anything, or else we can only hardcode existing
 
15605
  # directories.
 
15606
  hardcode_action_CXX=unsupported
 
15607
fi
 
15608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
 
15609
$as_echo "$hardcode_action_CXX" >&6; }
 
15610
 
 
15611
if test "$hardcode_action_CXX" = relink ||
 
15612
   test "$inherit_rpath_CXX" = yes; then
 
15613
  # Fast installation is not supported
 
15614
  enable_fast_install=no
 
15615
elif test "$shlibpath_overrides_runpath" = yes ||
 
15616
     test "$enable_shared" = no; then
 
15617
  # Fast installation is not necessary
 
15618
  enable_fast_install=needless
 
15619
fi
 
15620
 
 
15621
 
 
15622
 
 
15623
 
 
15624
    
 
15625
 
 
15626
 
 
15627
  fi # test -n "$compiler"
 
15628
 
 
15629
  CC=$lt_save_CC
 
15630
  CFLAGS=$lt_save_CFLAGS
 
15631
  LDCXX=$LD
 
15632
  LD=$lt_save_LD
 
15633
  GCC=$lt_save_GCC
 
15634
  with_gnu_ld=$lt_save_with_gnu_ld
 
15635
  lt_cv_path_LDCXX=$lt_cv_path_LD
 
15636
  lt_cv_path_LD=$lt_save_path_LD
 
15637
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
15638
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
15639
fi # test "$_lt_caught_CXX_error" != yes
 
15640
 
 
15641
ac_ext=c
 
15642
ac_cpp='$CPP $CPPFLAGS'
 
15643
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15644
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15645
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15646
 
 
15647
 
 
15648
ac_ext=c
 
15649
ac_cpp='$CPP $CPPFLAGS'
 
15650
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15651
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15652
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
15654
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
15655
# On Suns, sometimes $CPP names a directory.
 
15656
if test -n "$CPP" && test -d "$CPP"; then
 
15657
  CPP=
 
15658
fi
 
15659
if test -z "$CPP"; then
 
15660
  if ${ac_cv_prog_CPP+:} false; then :
 
15661
  $as_echo_n "(cached) " >&6
 
15662
else
 
15663
      # Double quotes because CPP needs to be expanded
 
15664
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
15665
    do
 
15666
      ac_preproc_ok=false
 
15667
for ac_c_preproc_warn_flag in '' yes
 
15668
do
 
15669
  # Use a header file that comes with gcc, so configuring glibc
 
15670
  # with a fresh cross-compiler works.
 
15671
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
15672
  # <limits.h> exists even on freestanding compilers.
 
15673
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
15674
  # not just through cpp. "Syntax error" is here to catch this case.
 
15675
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15676
/* end confdefs.h.  */
 
15677
@%:@ifdef __STDC__
 
15678
@%:@ include <limits.h>
 
15679
@%:@else
 
15680
@%:@ include <assert.h>
 
15681
@%:@endif
 
15682
                     Syntax error
 
15683
_ACEOF
 
15684
if ac_fn_c_try_cpp "$LINENO"; then :
 
15685
  
 
15686
else
 
15687
  # Broken: fails on valid input.
 
15688
continue
 
15689
fi
 
15690
rm -f conftest.err conftest.i conftest.$ac_ext
 
15691
 
 
15692
  # OK, works on sane cases.  Now check whether nonexistent headers
 
15693
  # can be detected and how.
 
15694
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15695
/* end confdefs.h.  */
 
15696
@%:@include <ac_nonexistent.h>
 
15697
_ACEOF
 
15698
if ac_fn_c_try_cpp "$LINENO"; then :
 
15699
  # Broken: success on invalid input.
 
15700
continue
 
15701
else
 
15702
  # Passes both tests.
 
15703
ac_preproc_ok=:
 
15704
break
 
15705
fi
 
15706
rm -f conftest.err conftest.i conftest.$ac_ext
 
15707
 
 
15708
done
 
15709
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
15710
rm -f conftest.i conftest.err conftest.$ac_ext
 
15711
if $ac_preproc_ok; then :
 
15712
  break
 
15713
fi
 
15714
 
 
15715
    done
 
15716
    ac_cv_prog_CPP=$CPP
 
15717
  
 
15718
fi
 
15719
  CPP=$ac_cv_prog_CPP
 
15720
else
 
15721
  ac_cv_prog_CPP=$CPP
 
15722
fi
 
15723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
15724
$as_echo "$CPP" >&6; }
 
15725
ac_preproc_ok=false
 
15726
for ac_c_preproc_warn_flag in '' yes
 
15727
do
 
15728
  # Use a header file that comes with gcc, so configuring glibc
 
15729
  # with a fresh cross-compiler works.
 
15730
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
15731
  # <limits.h> exists even on freestanding compilers.
 
15732
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
15733
  # not just through cpp. "Syntax error" is here to catch this case.
 
15734
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15735
/* end confdefs.h.  */
 
15736
@%:@ifdef __STDC__
 
15737
@%:@ include <limits.h>
 
15738
@%:@else
 
15739
@%:@ include <assert.h>
 
15740
@%:@endif
 
15741
                     Syntax error
 
15742
_ACEOF
 
15743
if ac_fn_c_try_cpp "$LINENO"; then :
 
15744
  
 
15745
else
 
15746
  # Broken: fails on valid input.
 
15747
continue
 
15748
fi
 
15749
rm -f conftest.err conftest.i conftest.$ac_ext
 
15750
 
 
15751
  # OK, works on sane cases.  Now check whether nonexistent headers
 
15752
  # can be detected and how.
 
15753
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15754
/* end confdefs.h.  */
 
15755
@%:@include <ac_nonexistent.h>
 
15756
_ACEOF
 
15757
if ac_fn_c_try_cpp "$LINENO"; then :
 
15758
  # Broken: success on invalid input.
 
15759
continue
 
15760
else
 
15761
  # Passes both tests.
 
15762
ac_preproc_ok=:
 
15763
break
 
15764
fi
 
15765
rm -f conftest.err conftest.i conftest.$ac_ext
 
15766
 
 
15767
done
 
15768
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
15769
rm -f conftest.i conftest.err conftest.$ac_ext
 
15770
if $ac_preproc_ok; then :
 
15771
  
 
15772
else
 
15773
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
15774
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15775
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
15776
See \`config.log' for more details" "$LINENO" 5; }
 
15777
fi
 
15778
 
 
15779
ac_ext=c
 
15780
ac_cpp='$CPP $CPPFLAGS'
 
15781
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15782
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15783
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15784
 
 
15785
ac_ext=c
 
15786
ac_cpp='$CPP $CPPFLAGS'
 
15787
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15788
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15789
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15790
if test -n "$ac_tool_prefix"; then
 
15791
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
15792
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
15793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15794
$as_echo_n "checking for $ac_word... " >&6; }
 
15795
if ${ac_cv_prog_CC+:} false; then :
 
15796
  $as_echo_n "(cached) " >&6
 
15797
else
 
15798
  if test -n "$CC"; then
 
15799
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
15800
else
 
15801
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15802
for as_dir in $PATH
 
15803
do
 
15804
  IFS=$as_save_IFS
 
15805
  test -z "$as_dir" && as_dir=.
 
15806
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15807
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
15808
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
15809
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15810
    break 2
 
15811
  fi
 
15812
done
 
15813
  done
 
15814
IFS=$as_save_IFS
 
15815
 
 
15816
fi
 
15817
fi
 
15818
CC=$ac_cv_prog_CC
 
15819
if test -n "$CC"; then
 
15820
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
15821
$as_echo "$CC" >&6; }
 
15822
else
 
15823
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15824
$as_echo "no" >&6; }
 
15825
fi
 
15826
 
 
15827
 
 
15828
fi
 
15829
if test -z "$ac_cv_prog_CC"; then
 
15830
  ac_ct_CC=$CC
 
15831
  # Extract the first word of "gcc", so it can be a program name with args.
 
15832
set dummy gcc; ac_word=$2
 
15833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15834
$as_echo_n "checking for $ac_word... " >&6; }
 
15835
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
15836
  $as_echo_n "(cached) " >&6
 
15837
else
 
15838
  if test -n "$ac_ct_CC"; then
 
15839
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
15840
else
 
15841
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15842
for as_dir in $PATH
 
15843
do
 
15844
  IFS=$as_save_IFS
 
15845
  test -z "$as_dir" && as_dir=.
 
15846
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15847
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
15848
    ac_cv_prog_ac_ct_CC="gcc"
 
15849
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15850
    break 2
 
15851
  fi
 
15852
done
 
15853
  done
 
15854
IFS=$as_save_IFS
 
15855
 
 
15856
fi
 
15857
fi
 
15858
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
15859
if test -n "$ac_ct_CC"; then
 
15860
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
15861
$as_echo "$ac_ct_CC" >&6; }
 
15862
else
 
15863
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15864
$as_echo "no" >&6; }
 
15865
fi
 
15866
 
 
15867
  if test "x$ac_ct_CC" = x; then
 
15868
    CC=""
 
15869
  else
 
15870
    case $cross_compiling:$ac_tool_warned in
 
15871
yes:)
 
15872
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
15873
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
15874
ac_tool_warned=yes ;;
 
15875
esac
 
15876
    CC=$ac_ct_CC
 
15877
  fi
 
15878
else
 
15879
  CC="$ac_cv_prog_CC"
 
15880
fi
 
15881
 
 
15882
if test -z "$CC"; then
 
15883
          if test -n "$ac_tool_prefix"; then
 
15884
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
15885
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
15886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15887
$as_echo_n "checking for $ac_word... " >&6; }
 
15888
if ${ac_cv_prog_CC+:} false; then :
 
15889
  $as_echo_n "(cached) " >&6
 
15890
else
 
15891
  if test -n "$CC"; then
 
15892
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
15893
else
 
15894
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15895
for as_dir in $PATH
 
15896
do
 
15897
  IFS=$as_save_IFS
 
15898
  test -z "$as_dir" && as_dir=.
 
15899
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15900
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
15901
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
15902
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15903
    break 2
 
15904
  fi
 
15905
done
 
15906
  done
 
15907
IFS=$as_save_IFS
 
15908
 
 
15909
fi
 
15910
fi
 
15911
CC=$ac_cv_prog_CC
 
15912
if test -n "$CC"; then
 
15913
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
15914
$as_echo "$CC" >&6; }
 
15915
else
 
15916
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15917
$as_echo "no" >&6; }
 
15918
fi
 
15919
 
 
15920
 
 
15921
  fi
 
15922
fi
 
15923
if test -z "$CC"; then
 
15924
  # Extract the first word of "cc", so it can be a program name with args.
 
15925
set dummy cc; ac_word=$2
 
15926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15927
$as_echo_n "checking for $ac_word... " >&6; }
 
15928
if ${ac_cv_prog_CC+:} false; then :
 
15929
  $as_echo_n "(cached) " >&6
 
15930
else
 
15931
  if test -n "$CC"; then
 
15932
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
15933
else
 
15934
  ac_prog_rejected=no
 
15935
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15936
for as_dir in $PATH
 
15937
do
 
15938
  IFS=$as_save_IFS
 
15939
  test -z "$as_dir" && as_dir=.
 
15940
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15941
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
15942
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
15943
       ac_prog_rejected=yes
 
15944
       continue
 
15945
     fi
 
15946
    ac_cv_prog_CC="cc"
 
15947
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15948
    break 2
 
15949
  fi
 
15950
done
 
15951
  done
 
15952
IFS=$as_save_IFS
 
15953
 
 
15954
if test $ac_prog_rejected = yes; then
 
15955
  # We found a bogon in the path, so make sure we never use it.
 
15956
  set dummy $ac_cv_prog_CC
 
15957
  shift
 
15958
  if test $@%:@ != 0; then
 
15959
    # We chose a different compiler from the bogus one.
 
15960
    # However, it has the same basename, so the bogon will be chosen
 
15961
    # first if we set CC to just the basename; use the full file name.
 
15962
    shift
 
15963
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
15964
  fi
 
15965
fi
 
15966
fi
 
15967
fi
 
15968
CC=$ac_cv_prog_CC
 
15969
if test -n "$CC"; then
 
15970
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
15971
$as_echo "$CC" >&6; }
 
15972
else
 
15973
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15974
$as_echo "no" >&6; }
 
15975
fi
 
15976
 
 
15977
 
 
15978
fi
 
15979
if test -z "$CC"; then
 
15980
  if test -n "$ac_tool_prefix"; then
 
15981
  for ac_prog in cl.exe
 
15982
  do
 
15983
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
15984
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
15985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15986
$as_echo_n "checking for $ac_word... " >&6; }
 
15987
if ${ac_cv_prog_CC+:} false; then :
 
15988
  $as_echo_n "(cached) " >&6
 
15989
else
 
15990
  if test -n "$CC"; then
 
15991
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
15992
else
 
15993
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15994
for as_dir in $PATH
 
15995
do
 
15996
  IFS=$as_save_IFS
 
15997
  test -z "$as_dir" && as_dir=.
 
15998
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15999
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16000
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
16001
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16002
    break 2
 
16003
  fi
 
16004
done
 
16005
  done
 
16006
IFS=$as_save_IFS
 
16007
 
 
16008
fi
 
16009
fi
 
16010
CC=$ac_cv_prog_CC
 
16011
if test -n "$CC"; then
 
16012
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
16013
$as_echo "$CC" >&6; }
 
16014
else
 
16015
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16016
$as_echo "no" >&6; }
 
16017
fi
 
16018
 
 
16019
 
 
16020
    test -n "$CC" && break
 
16021
  done
 
16022
fi
 
16023
if test -z "$CC"; then
 
16024
  ac_ct_CC=$CC
 
16025
  for ac_prog in cl.exe
 
16026
do
 
16027
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
16028
set dummy $ac_prog; ac_word=$2
 
16029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16030
$as_echo_n "checking for $ac_word... " >&6; }
 
16031
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
16032
  $as_echo_n "(cached) " >&6
 
16033
else
 
16034
  if test -n "$ac_ct_CC"; then
 
16035
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
16036
else
 
16037
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16038
for as_dir in $PATH
 
16039
do
 
16040
  IFS=$as_save_IFS
 
16041
  test -z "$as_dir" && as_dir=.
 
16042
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16043
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16044
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
16045
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16046
    break 2
 
16047
  fi
 
16048
done
 
16049
  done
 
16050
IFS=$as_save_IFS
 
16051
 
 
16052
fi
 
16053
fi
 
16054
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
16055
if test -n "$ac_ct_CC"; then
 
16056
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
16057
$as_echo "$ac_ct_CC" >&6; }
 
16058
else
 
16059
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16060
$as_echo "no" >&6; }
 
16061
fi
 
16062
 
 
16063
 
 
16064
  test -n "$ac_ct_CC" && break
 
16065
done
 
16066
 
 
16067
  if test "x$ac_ct_CC" = x; then
 
16068
    CC=""
 
16069
  else
 
16070
    case $cross_compiling:$ac_tool_warned in
 
16071
yes:)
 
16072
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
16073
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
16074
ac_tool_warned=yes ;;
 
16075
esac
 
16076
    CC=$ac_ct_CC
 
16077
  fi
 
16078
fi
 
16079
 
 
16080
fi
 
16081
 
 
16082
 
 
16083
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
16084
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
16085
as_fn_error $? "no acceptable C compiler found in \$PATH
 
16086
See \`config.log' for more details" "$LINENO" 5; }
 
16087
 
 
16088
# Provide some information about the compiler.
 
16089
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
16090
set X $ac_compile
 
16091
ac_compiler=$2
 
16092
for ac_option in --version -v -V -qversion; do
 
16093
  { { ac_try="$ac_compiler $ac_option >&5"
 
16094
case "(($ac_try" in
 
16095
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16096
  *) ac_try_echo=$ac_try;;
 
16097
esac
 
16098
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
16099
$as_echo "$ac_try_echo"; } >&5
 
16100
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
16101
  ac_status=$?
 
16102
  if test -s conftest.err; then
 
16103
    sed '10a\
 
16104
... rest of stderr output deleted ...
 
16105
         10q' conftest.err >conftest.er1
 
16106
    cat conftest.er1 >&5
 
16107
  fi
 
16108
  rm -f conftest.er1 conftest.err
 
16109
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16110
  test $ac_status = 0; }
 
16111
done
 
16112
 
 
16113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
16114
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
16115
if ${ac_cv_c_compiler_gnu+:} false; then :
 
16116
  $as_echo_n "(cached) " >&6
 
16117
else
 
16118
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16119
/* end confdefs.h.  */
 
16120
 
 
16121
int
 
16122
main ()
 
16123
{
 
16124
#ifndef __GNUC__
 
16125
       choke me
 
16126
#endif
 
16127
 
 
16128
  ;
 
16129
  return 0;
 
16130
}
 
16131
_ACEOF
 
16132
if ac_fn_c_try_compile "$LINENO"; then :
 
16133
  ac_compiler_gnu=yes
 
16134
else
 
16135
  ac_compiler_gnu=no
 
16136
fi
 
16137
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16138
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
16139
 
 
16140
fi
 
16141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
16142
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
16143
if test $ac_compiler_gnu = yes; then
 
16144
  GCC=yes
 
16145
else
 
16146
  GCC=
 
16147
fi
 
16148
ac_test_CFLAGS=${CFLAGS+set}
 
16149
ac_save_CFLAGS=$CFLAGS
 
16150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
16151
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
16152
if ${ac_cv_prog_cc_g+:} false; then :
 
16153
  $as_echo_n "(cached) " >&6
 
16154
else
 
16155
  ac_save_c_werror_flag=$ac_c_werror_flag
 
16156
   ac_c_werror_flag=yes
 
16157
   ac_cv_prog_cc_g=no
 
16158
   CFLAGS="-g"
 
16159
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16160
/* end confdefs.h.  */
 
16161
 
 
16162
int
 
16163
main ()
 
16164
{
 
16165
 
 
16166
  ;
 
16167
  return 0;
 
16168
}
 
16169
_ACEOF
 
16170
if ac_fn_c_try_compile "$LINENO"; then :
 
16171
  ac_cv_prog_cc_g=yes
 
16172
else
 
16173
  CFLAGS=""
 
16174
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16175
/* end confdefs.h.  */
 
16176
 
 
16177
int
 
16178
main ()
 
16179
{
 
16180
 
 
16181
  ;
 
16182
  return 0;
 
16183
}
 
16184
_ACEOF
 
16185
if ac_fn_c_try_compile "$LINENO"; then :
 
16186
  
 
16187
else
 
16188
  ac_c_werror_flag=$ac_save_c_werror_flag
 
16189
         CFLAGS="-g"
 
16190
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16191
/* end confdefs.h.  */
 
16192
 
 
16193
int
 
16194
main ()
 
16195
{
 
16196
 
 
16197
  ;
 
16198
  return 0;
 
16199
}
 
16200
_ACEOF
 
16201
if ac_fn_c_try_compile "$LINENO"; then :
 
16202
  ac_cv_prog_cc_g=yes
 
16203
fi
 
16204
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16205
fi
 
16206
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16207
fi
 
16208
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16209
   ac_c_werror_flag=$ac_save_c_werror_flag
 
16210
fi
 
16211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
16212
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
16213
if test "$ac_test_CFLAGS" = set; then
 
16214
  CFLAGS=$ac_save_CFLAGS
 
16215
elif test $ac_cv_prog_cc_g = yes; then
 
16216
  if test "$GCC" = yes; then
 
16217
    CFLAGS="-g -O2"
 
16218
  else
 
16219
    CFLAGS="-g"
 
16220
  fi
 
16221
else
 
16222
  if test "$GCC" = yes; then
 
16223
    CFLAGS="-O2"
 
16224
  else
 
16225
    CFLAGS=
 
16226
  fi
 
16227
fi
 
16228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
16229
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
16230
if ${ac_cv_prog_cc_c89+:} false; then :
 
16231
  $as_echo_n "(cached) " >&6
 
16232
else
 
16233
  ac_cv_prog_cc_c89=no
 
16234
ac_save_CC=$CC
 
16235
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16236
/* end confdefs.h.  */
 
16237
#include <stdarg.h>
 
16238
#include <stdio.h>
 
16239
struct stat;
 
16240
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
16241
struct buf { int x; };
 
16242
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
16243
static char *e (p, i)
 
16244
     char **p;
 
16245
     int i;
 
16246
{
 
16247
  return p[i];
 
16248
}
 
16249
static char *f (char * (*g) (char **, int), char **p, ...)
 
16250
{
 
16251
  char *s;
 
16252
  va_list v;
 
16253
  va_start (v,p);
 
16254
  s = g (p, va_arg (v,int));
 
16255
  va_end (v);
 
16256
  return s;
 
16257
}
 
16258
 
 
16259
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
16260
   function prototypes and stuff, but not '\xHH' hex character constants.
 
16261
   These don't provoke an error unfortunately, instead are silently treated
 
16262
   as 'x'.  The following induces an error, until -std is added to get
 
16263
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
16264
   array size at least.  It's necessary to write '\x00'==0 to get something
 
16265
   that's true only with -std.  */
 
16266
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
16267
 
 
16268
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
16269
   inside strings and character constants.  */
 
16270
#define FOO(x) 'x'
 
16271
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
16272
 
 
16273
int test (int i, double x);
 
16274
struct s1 {int (*f) (int a);};
 
16275
struct s2 {int (*f) (double a);};
 
16276
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
16277
int argc;
 
16278
char **argv;
 
16279
int
 
16280
main ()
 
16281
{
 
16282
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
16283
  ;
 
16284
  return 0;
 
16285
}
 
16286
_ACEOF
 
16287
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
16288
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
16289
do
 
16290
  CC="$ac_save_CC $ac_arg"
 
16291
  if ac_fn_c_try_compile "$LINENO"; then :
 
16292
  ac_cv_prog_cc_c89=$ac_arg
 
16293
fi
 
16294
rm -f core conftest.err conftest.$ac_objext
 
16295
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
16296
done
 
16297
rm -f conftest.$ac_ext
 
16298
CC=$ac_save_CC
 
16299
 
 
16300
fi
 
16301
# AC_CACHE_VAL
 
16302
case "x$ac_cv_prog_cc_c89" in
 
16303
  x)
 
16304
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
16305
$as_echo "none needed" >&6; } ;;
 
16306
  xno)
 
16307
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
16308
$as_echo "unsupported" >&6; } ;;
 
16309
  *)
 
16310
    CC="$CC $ac_cv_prog_cc_c89"
 
16311
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
16312
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
16313
esac
 
16314
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
16315
  
 
16316
fi
 
16317
 
 
16318
ac_ext=c
 
16319
ac_cpp='$CPP $CPPFLAGS'
 
16320
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
16321
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
16322
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
16323
 
 
16324
depcc="$CC"   am_compiler_list=
 
16325
 
 
16326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
16327
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
16328
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
16329
  $as_echo_n "(cached) " >&6
 
16330
else
 
16331
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
16332
  # We make a subdir and do the tests there.  Otherwise we can end up
 
16333
  # making bogus files that we don't know about and never remove.  For
 
16334
  # instance it was reported that on HP-UX the gcc test will end up
 
16335
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
16336
  # in D".
 
16337
  rm -rf conftest.dir
 
16338
  mkdir conftest.dir
 
16339
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
16340
  # using a relative directory.
 
16341
  cp "$am_depcomp" conftest.dir
 
16342
  cd conftest.dir
 
16343
  # We will build objects and dependencies in a subdirectory because
 
16344
  # it helps to detect inapplicable dependency modes.  For instance
 
16345
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
16346
  # side effect of compilation, but ICC will put the dependencies in
 
16347
  # the current directory while Tru64 will put them in the object
 
16348
  # directory.
 
16349
  mkdir sub
 
16350
 
 
16351
  am_cv_CC_dependencies_compiler_type=none
 
16352
  if test "$am_compiler_list" = ""; then
 
16353
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
16354
  fi
 
16355
  am__universal=false
 
16356
  case " $depcc " in #(
 
16357
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
16358
     esac
 
16359
 
 
16360
  for depmode in $am_compiler_list; do
 
16361
    # Setup a source with many dependencies, because some compilers
 
16362
    # like to wrap large dependency lists on column 80 (with \), and
 
16363
    # we should not choose a depcomp mode which is confused by this.
 
16364
    #
 
16365
    # We need to recreate these files for each test, as the compiler may
 
16366
    # overwrite some of them when testing with obscure command lines.
 
16367
    # This happens at least with the AIX C compiler.
 
16368
    : > sub/conftest.c
 
16369
    for i in 1 2 3 4 5 6; do
 
16370
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
16371
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
16372
      # Solaris 10 /bin/sh.
 
16373
      echo '/* dummy */' > sub/conftst$i.h
 
16374
    done
 
16375
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
16376
 
 
16377
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
 
16378
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
16379
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
16380
    # versions had trouble with output in subdirs.
 
16381
    am__obj=sub/conftest.${OBJEXT-o}
 
16382
    am__minus_obj="-o $am__obj"
 
16383
    case $depmode in
 
16384
    gcc)
 
16385
      # This depmode causes a compiler race in universal mode.
 
16386
      test "$am__universal" = false || continue
 
16387
      ;;
 
16388
    nosideeffect)
 
16389
      # After this tag, mechanisms are not by side-effect, so they'll
 
16390
      # only be used when explicitly requested.
 
16391
      if test "x$enable_dependency_tracking" = xyes; then
 
16392
        continue
 
16393
      else
 
16394
        break
 
16395
      fi
 
16396
      ;;
 
16397
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
16398
      # This compiler won't grok '-c -o', but also, the minuso test has
 
16399
      # not run yet.  These depmodes are late enough in the game, and
 
16400
      # so weak that their functioning should not be impacted.
 
16401
      am__obj=conftest.${OBJEXT-o}
 
16402
      am__minus_obj=
 
16403
      ;;
 
16404
    none) break ;;
 
16405
    esac
 
16406
    if depmode=$depmode \
 
16407
       source=sub/conftest.c object=$am__obj \
 
16408
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
16409
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
16410
         >/dev/null 2>conftest.err &&
 
16411
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
16412
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
16413
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
16414
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
16415
      # icc doesn't choke on unknown options, it will just issue warnings
 
16416
      # or remarks (even with -Werror).  So we grep stderr for any message
 
16417
      # that says an option was ignored or not supported.
 
16418
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
16419
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
16420
      # The diagnosis changed in icc 8.0:
 
16421
      #   icc: Command line remark: option '-MP' not supported
 
16422
      if (grep 'ignoring option' conftest.err ||
 
16423
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
16424
        am_cv_CC_dependencies_compiler_type=$depmode
 
16425
        break
 
16426
      fi
 
16427
    fi
 
16428
  done
 
16429
 
 
16430
  cd ..
 
16431
  rm -rf conftest.dir
 
16432
else
 
16433
  am_cv_CC_dependencies_compiler_type=none
 
16434
fi
 
16435
 
 
16436
fi
 
16437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
16438
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
16439
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
16440
 
 
16441
 if 
 
16442
  test "x$enable_dependency_tracking" != xno \
 
16443
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
16444
  am__fastdepCC_TRUE=
 
16445
  am__fastdepCC_FALSE='#'
 
16446
else
 
16447
  am__fastdepCC_TRUE='#'
 
16448
  am__fastdepCC_FALSE=
 
16449
fi
 
16450
 
 
16451
 
 
16452
if test "x$CC" != xcc; then
 
16453
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 
16454
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 
16455
else
 
16456
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 
16457
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 
16458
fi
 
16459
set dummy $CC; ac_cc=`$as_echo "$2" |
 
16460
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
16461
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
 
16462
  $as_echo_n "(cached) " >&6
 
16463
else
 
16464
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16465
/* end confdefs.h.  */
 
16466
 
 
16467
int
 
16468
main ()
 
16469
{
 
16470
 
 
16471
  ;
 
16472
  return 0;
 
16473
}
 
16474
_ACEOF
 
16475
# Make sure it works both with $CC and with simple cc.
 
16476
# We do the test twice because some compilers refuse to overwrite an
 
16477
# existing .o file with -o, though they will create one.
 
16478
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
16479
rm -f conftest2.*
 
16480
if { { case "(($ac_try" in
 
16481
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16482
  *) ac_try_echo=$ac_try;;
 
16483
esac
 
16484
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
16485
$as_echo "$ac_try_echo"; } >&5
 
16486
  (eval "$ac_try") 2>&5
 
16487
  ac_status=$?
 
16488
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16489
  test $ac_status = 0; } &&
 
16490
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
16491
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16492
  *) ac_try_echo=$ac_try;;
 
16493
esac
 
16494
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
16495
$as_echo "$ac_try_echo"; } >&5
 
16496
  (eval "$ac_try") 2>&5
 
16497
  ac_status=$?
 
16498
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16499
  test $ac_status = 0; };
 
16500
then
 
16501
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 
16502
  if test "x$CC" != xcc; then
 
16503
    # Test first that cc exists at all.
 
16504
    if { ac_try='cc -c conftest.$ac_ext >&5'
 
16505
  { { case "(($ac_try" in
 
16506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16507
  *) ac_try_echo=$ac_try;;
 
16508
esac
 
16509
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
16510
$as_echo "$ac_try_echo"; } >&5
 
16511
  (eval "$ac_try") 2>&5
 
16512
  ac_status=$?
 
16513
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16514
  test $ac_status = 0; }; }; then
 
16515
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
16516
      rm -f conftest2.*
 
16517
      if { { case "(($ac_try" in
 
16518
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16519
  *) ac_try_echo=$ac_try;;
 
16520
esac
 
16521
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
16522
$as_echo "$ac_try_echo"; } >&5
 
16523
  (eval "$ac_try") 2>&5
 
16524
  ac_status=$?
 
16525
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16526
  test $ac_status = 0; } &&
 
16527
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
16528
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16529
  *) ac_try_echo=$ac_try;;
 
16530
esac
 
16531
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
16532
$as_echo "$ac_try_echo"; } >&5
 
16533
  (eval "$ac_try") 2>&5
 
16534
  ac_status=$?
 
16535
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16536
  test $ac_status = 0; };
 
16537
      then
 
16538
        # cc works too.
 
16539
        :
 
16540
      else
 
16541
        # cc exists but doesn't like -o.
 
16542
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
16543
      fi
 
16544
    fi
 
16545
  fi
 
16546
else
 
16547
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
16548
fi
 
16549
rm -f core conftest*
 
16550
 
 
16551
fi
 
16552
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 
16553
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16554
$as_echo "yes" >&6; }
 
16555
else
 
16556
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16557
$as_echo "no" >&6; }
 
16558
  
 
16559
$as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 
16560
 
 
16561
fi
 
16562
 
 
16563
# FIXME: we rely on the cache variable name because
 
16564
# there is no other way.
 
16565
set dummy $CC
 
16566
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
16567
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
16568
if test "$am_t" != yes; then
 
16569
   # Losing compiler, so override with the script.
 
16570
   # FIXME: It is wrong to rewrite CC.
 
16571
   # But if we don't then we get into trouble of one sort or another.
 
16572
   # A longer-term fix would be to have automake use am__CC in this case,
 
16573
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
16574
   CC="$am_aux_dir/compile $CC"
 
16575
fi
 
16576
 
 
16577
 
 
16578
 
 
16579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
16580
$as_echo_n "checking whether ln -s works... " >&6; }
 
16581
LN_S=$as_ln_s
 
16582
if test "$LN_S" = "ln -s"; then
 
16583
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16584
$as_echo "yes" >&6; }
 
16585
else
 
16586
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
16587
$as_echo "no, using $LN_S" >&6; }
 
16588
fi
 
16589
 
 
16590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
16591
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
16592
set x ${MAKE-make}
 
16593
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
16594
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
16595
  $as_echo_n "(cached) " >&6
 
16596
else
 
16597
  cat >conftest.make <<\_ACEOF
 
16598
SHELL = /bin/sh
 
16599
all:
 
16600
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
16601
_ACEOF
 
16602
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
16603
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
16604
  *@@@%%%=?*=@@@%%%*)
 
16605
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
16606
  *)
 
16607
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
16608
esac
 
16609
rm -f conftest.make
 
16610
fi
 
16611
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
16612
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16613
$as_echo "yes" >&6; }
 
16614
  SET_MAKE=
 
16615
else
 
16616
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16617
$as_echo "no" >&6; }
 
16618
  SET_MAKE="MAKE=${MAKE-make}"
 
16619
fi
 
16620
 
 
16621
for ac_prog in gawk mawk nawk awk
 
16622
do
 
16623
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
16624
set dummy $ac_prog; ac_word=$2
 
16625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16626
$as_echo_n "checking for $ac_word... " >&6; }
 
16627
if ${ac_cv_prog_AWK+:} false; then :
 
16628
  $as_echo_n "(cached) " >&6
 
16629
else
 
16630
  if test -n "$AWK"; then
 
16631
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
16632
else
 
16633
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16634
for as_dir in $PATH
 
16635
do
 
16636
  IFS=$as_save_IFS
 
16637
  test -z "$as_dir" && as_dir=.
 
16638
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16639
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16640
    ac_cv_prog_AWK="$ac_prog"
 
16641
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16642
    break 2
 
16643
  fi
 
16644
done
 
16645
  done
 
16646
IFS=$as_save_IFS
 
16647
 
 
16648
fi
 
16649
fi
 
16650
AWK=$ac_cv_prog_AWK
 
16651
if test -n "$AWK"; then
 
16652
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
16653
$as_echo "$AWK" >&6; }
 
16654
else
 
16655
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16656
$as_echo "no" >&6; }
 
16657
fi
 
16658
 
 
16659
 
 
16660
  test -n "$AWK" && break
 
16661
done
 
16662
 
 
16663
 
 
16664
 
 
16665
 
 
16666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--no-undefined" >&5
 
16667
$as_echo_n "checking whether the linker accepts -Wl,--no-undefined... " >&6; }
 
16668
if ${ax_cv_check_ldflags___Wl___no_undefined+:} false; then :
 
16669
  $as_echo_n "(cached) " >&6
 
16670
else
 
16671
  
 
16672
  ax_check_save_flags=$LDFLAGS
 
16673
  LDFLAGS="$LDFLAGS  -Wl,--no-undefined"
 
16674
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16675
/* end confdefs.h.  */
 
16676
 
 
16677
int
 
16678
main ()
 
16679
{
 
16680
 
 
16681
  ;
 
16682
  return 0;
 
16683
}
 
16684
_ACEOF
 
16685
if ac_fn_c_try_link "$LINENO"; then :
 
16686
  ax_cv_check_ldflags___Wl___no_undefined=yes
 
16687
else
 
16688
  ax_cv_check_ldflags___Wl___no_undefined=no
 
16689
fi
 
16690
rm -f core conftest.err conftest.$ac_objext \
 
16691
    conftest$ac_exeext conftest.$ac_ext
 
16692
  LDFLAGS=$ax_check_save_flags
 
16693
fi
 
16694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___no_undefined" >&5
 
16695
$as_echo "$ax_cv_check_ldflags___Wl___no_undefined" >&6; }
 
16696
if test "x$ax_cv_check_ldflags___Wl___no_undefined" = xyes; then :
 
16697
  LDFLAGS="-Wl,--no-undefined $LDFLAGS"
 
16698
else
 
16699
  :
 
16700
fi
 
16701
 
 
16702
 
 
16703
 
 
16704
 
 
16705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debugging" >&5
 
16706
$as_echo_n "checking whether to enable debugging... " >&6; }
 
16707
debug_default="no"
 
16708
@%:@ Check whether --enable-debug was given.
 
16709
if test "${enable_debug+set}" = set; then :
 
16710
  enableval=$enable_debug; 
 
16711
else
 
16712
  enable_debug=$debug_default
 
16713
fi
 
16714
 
 
16715
    if test "x$enable_debug" = "xyes"; then
 
16716
        CFLAGS="-g -DDEBUG -DCB_AUTOCONF $CFLAGS"
 
16717
        CXXFLAGS="-g -DDEBUG -DCB_AUTOCONF $CXXFLAGS"
 
16718
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16719
$as_echo "yes" >&6; }
 
16720
    else
 
16721
        CFLAGS="-O2 -ffast-math -DCB_AUTOCONF $CFLAGS"
 
16722
        CXXFLAGS="-O2 -ffast-math -DCB_AUTOCONF $CXXFLAGS"
 
16723
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16724
$as_echo "no" >&6; }
 
16725
    fi
 
16726
 
 
16727
 
 
16728
case $host in
 
16729
*-*-cygwin* | *-*-mingw*)
 
16730
        SHARED_FLAGS="-shared -no-undefined -Xlinker --export-all-symbols"
 
16731
 
 
16732
        PLUGIN_FLAGS="-shared -no-undefined -avoid-version"
 
16733
 
 
16734
        if test -n "$ac_tool_prefix"; then
 
16735
  # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
 
16736
set dummy ${ac_tool_prefix}windres; ac_word=$2
 
16737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16738
$as_echo_n "checking for $ac_word... " >&6; }
 
16739
if ${ac_cv_prog_RC+:} false; then :
 
16740
  $as_echo_n "(cached) " >&6
 
16741
else
 
16742
  if test -n "$RC"; then
 
16743
  ac_cv_prog_RC="$RC" # Let the user override the test.
 
16744
else
 
16745
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16746
for as_dir in $PATH
 
16747
do
 
16748
  IFS=$as_save_IFS
 
16749
  test -z "$as_dir" && as_dir=.
 
16750
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16751
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16752
    ac_cv_prog_RC="${ac_tool_prefix}windres"
 
16753
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16754
    break 2
 
16755
  fi
 
16756
done
 
16757
  done
 
16758
IFS=$as_save_IFS
 
16759
 
 
16760
fi
 
16761
fi
 
16762
RC=$ac_cv_prog_RC
 
16763
if test -n "$RC"; then
 
16764
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
 
16765
$as_echo "$RC" >&6; }
 
16766
else
 
16767
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16768
$as_echo "no" >&6; }
 
16769
fi
 
16770
 
 
16771
 
 
16772
fi
 
16773
if test -z "$ac_cv_prog_RC"; then
 
16774
  ac_ct_RC=$RC
 
16775
  # Extract the first word of "windres", so it can be a program name with args.
 
16776
set dummy windres; ac_word=$2
 
16777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16778
$as_echo_n "checking for $ac_word... " >&6; }
 
16779
if ${ac_cv_prog_ac_ct_RC+:} false; then :
 
16780
  $as_echo_n "(cached) " >&6
 
16781
else
 
16782
  if test -n "$ac_ct_RC"; then
 
16783
  ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
 
16784
else
 
16785
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16786
for as_dir in $PATH
 
16787
do
 
16788
  IFS=$as_save_IFS
 
16789
  test -z "$as_dir" && as_dir=.
 
16790
    for ac_exec_ext in '' $ac_executable_extensions; do
 
16791
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16792
    ac_cv_prog_ac_ct_RC="windres"
 
16793
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16794
    break 2
 
16795
  fi
 
16796
done
 
16797
  done
 
16798
IFS=$as_save_IFS
 
16799
 
 
16800
fi
 
16801
fi
 
16802
ac_ct_RC=$ac_cv_prog_ac_ct_RC
 
16803
if test -n "$ac_ct_RC"; then
 
16804
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
 
16805
$as_echo "$ac_ct_RC" >&6; }
 
16806
else
 
16807
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16808
$as_echo "no" >&6; }
 
16809
fi
 
16810
 
 
16811
  if test "x$ac_ct_RC" = x; then
 
16812
    RC=""
 
16813
  else
 
16814
    case $cross_compiling:$ac_tool_warned in
 
16815
yes:)
 
16816
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
16817
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
16818
ac_tool_warned=yes ;;
 
16819
esac
 
16820
    RC=$ac_ct_RC
 
16821
  fi
 
16822
else
 
16823
  RC="$ac_cv_prog_RC"
 
16824
fi
 
16825
 
 
16826
        nt=true
 
16827
;;
 
16828
*-*-darwin*)     SHARED_FLAGS="-dynamic"
 
16829
 
 
16830
    PLUGIN_FLAGS="-bundle -avoid-version"
 
16831
 
 
16832
    darwin=true
 
16833
;;
 
16834
 *)     SHARED_FLAGS="-shared"
 
16835
 
 
16836
    PLUGIN_FLAGS="-shared -avoid-version"
 
16837
 
 
16838
    linux=true
 
16839
;;
 
16840
esac
 
16841
 if test x$nt = xtrue; then
 
16842
  CODEBLOCKS_NT_TRUE=
 
16843
  CODEBLOCKS_NT_FALSE='#'
 
16844
else
 
16845
  CODEBLOCKS_NT_TRUE='#'
 
16846
  CODEBLOCKS_NT_FALSE=
 
16847
fi
 
16848
 
 
16849
 if test x$linux = xtrue; then
 
16850
  CODEBLOCKS_LINUX_TRUE=
 
16851
  CODEBLOCKS_LINUX_FALSE='#'
 
16852
else
 
16853
  CODEBLOCKS_LINUX_TRUE='#'
 
16854
  CODEBLOCKS_LINUX_FALSE=
 
16855
fi
 
16856
 
 
16857
 if test x$darwin = xtrue ; then
 
16858
  CODEBLOCKS_DARWIN_TRUE=
 
16859
  CODEBLOCKS_DARWIN_FALSE='#'
 
16860
else
 
16861
  CODEBLOCKS_DARWIN_TRUE='#'
 
16862
  CODEBLOCKS_DARWIN_FALSE=
 
16863
fi
 
16864
 
 
16865
 
 
16866
 
 
16867
@%:@ Check whether --enable-static was given.
 
16868
if test "${enable_static+set}" = set; then :
 
16869
  enableval=$enable_static; p=${PACKAGE-default}
 
16870
    case $enableval in
 
16871
    yes) enable_static=yes ;;
 
16872
    no) enable_static=no ;;
 
16873
    *)
 
16874
     enable_static=no
 
16875
      # Look at the argument we got.  We use all the common list separators.
 
16876
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
16877
      for pkg in $enableval; do
 
16878
        IFS="$lt_save_ifs"
 
16879
        if test "X$pkg" = "X$p"; then
 
16880
          enable_static=yes
 
16881
        fi
 
16882
      done
 
16883
      IFS="$lt_save_ifs"
 
16884
      ;;
 
16885
    esac
 
16886
else
 
16887
  enable_static=no
 
16888
fi
 
16889
 
 
16890
 
 
16891
    
 
16892
 
 
16893
 
 
16894
 
 
16895
 
 
16896
 
 
16897
ac_header_dirent=no
 
16898
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
 
16899
  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 
16900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
 
16901
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
 
16902
if eval \${$as_ac_Header+:} false; then :
 
16903
  $as_echo_n "(cached) " >&6
 
16904
else
 
16905
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16906
/* end confdefs.h.  */
 
16907
#include <sys/types.h>
 
16908
#include <$ac_hdr>
 
16909
 
 
16910
int
 
16911
main ()
 
16912
{
 
16913
if ((DIR *) 0)
 
16914
return 0;
 
16915
  ;
 
16916
  return 0;
 
16917
}
 
16918
_ACEOF
 
16919
if ac_fn_c_try_compile "$LINENO"; then :
 
16920
  eval "$as_ac_Header=yes"
 
16921
else
 
16922
  eval "$as_ac_Header=no"
 
16923
fi
 
16924
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16925
fi
 
16926
eval ac_res=\$$as_ac_Header
 
16927
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
16928
$as_echo "$ac_res" >&6; }
 
16929
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
16930
  cat >>confdefs.h <<_ACEOF
 
16931
@%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 
16932
_ACEOF
 
16933
 
 
16934
ac_header_dirent=$ac_hdr; break
 
16935
fi
 
16936
 
 
16937
done
 
16938
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 
16939
if test $ac_header_dirent = dirent.h; then
 
16940
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 
16941
$as_echo_n "checking for library containing opendir... " >&6; }
 
16942
if ${ac_cv_search_opendir+:} false; then :
 
16943
  $as_echo_n "(cached) " >&6
 
16944
else
 
16945
  ac_func_search_save_LIBS=$LIBS
 
16946
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16947
/* end confdefs.h.  */
 
16948
 
 
16949
/* Override any GCC internal prototype to avoid an error.
 
16950
   Use char because int might match the return type of a GCC
 
16951
   builtin and then its argument prototype would still apply.  */
 
16952
#ifdef __cplusplus
 
16953
extern "C"
 
16954
#endif
 
16955
char opendir ();
 
16956
int
 
16957
main ()
 
16958
{
 
16959
return opendir ();
 
16960
  ;
 
16961
  return 0;
 
16962
}
 
16963
_ACEOF
 
16964
for ac_lib in '' dir; do
 
16965
  if test -z "$ac_lib"; then
 
16966
    ac_res="none required"
 
16967
  else
 
16968
    ac_res=-l$ac_lib
 
16969
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
16970
  fi
 
16971
  if ac_fn_c_try_link "$LINENO"; then :
 
16972
  ac_cv_search_opendir=$ac_res
 
16973
fi
 
16974
rm -f core conftest.err conftest.$ac_objext \
 
16975
    conftest$ac_exeext
 
16976
  if ${ac_cv_search_opendir+:} false; then :
 
16977
  break
 
16978
fi
 
16979
done
 
16980
if ${ac_cv_search_opendir+:} false; then :
 
16981
  
 
16982
else
 
16983
  ac_cv_search_opendir=no
 
16984
fi
 
16985
rm conftest.$ac_ext
 
16986
LIBS=$ac_func_search_save_LIBS
 
16987
fi
 
16988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 
16989
$as_echo "$ac_cv_search_opendir" >&6; }
 
16990
ac_res=$ac_cv_search_opendir
 
16991
if test "$ac_res" != no; then :
 
16992
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
16993
  
 
16994
fi
 
16995
 
 
16996
else
 
16997
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
 
16998
$as_echo_n "checking for library containing opendir... " >&6; }
 
16999
if ${ac_cv_search_opendir+:} false; then :
 
17000
  $as_echo_n "(cached) " >&6
 
17001
else
 
17002
  ac_func_search_save_LIBS=$LIBS
 
17003
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17004
/* end confdefs.h.  */
 
17005
 
 
17006
/* Override any GCC internal prototype to avoid an error.
 
17007
   Use char because int might match the return type of a GCC
 
17008
   builtin and then its argument prototype would still apply.  */
 
17009
#ifdef __cplusplus
 
17010
extern "C"
 
17011
#endif
 
17012
char opendir ();
 
17013
int
 
17014
main ()
 
17015
{
 
17016
return opendir ();
 
17017
  ;
 
17018
  return 0;
 
17019
}
 
17020
_ACEOF
 
17021
for ac_lib in '' x; do
 
17022
  if test -z "$ac_lib"; then
 
17023
    ac_res="none required"
 
17024
  else
 
17025
    ac_res=-l$ac_lib
 
17026
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
17027
  fi
 
17028
  if ac_fn_c_try_link "$LINENO"; then :
 
17029
  ac_cv_search_opendir=$ac_res
 
17030
fi
 
17031
rm -f core conftest.err conftest.$ac_objext \
 
17032
    conftest$ac_exeext
 
17033
  if ${ac_cv_search_opendir+:} false; then :
 
17034
  break
 
17035
fi
 
17036
done
 
17037
if ${ac_cv_search_opendir+:} false; then :
 
17038
  
 
17039
else
 
17040
  ac_cv_search_opendir=no
 
17041
fi
 
17042
rm conftest.$ac_ext
 
17043
LIBS=$ac_func_search_save_LIBS
 
17044
fi
 
17045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
 
17046
$as_echo "$ac_cv_search_opendir" >&6; }
 
17047
ac_res=$ac_cv_search_opendir
 
17048
if test "$ac_res" != no; then :
 
17049
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
17050
  
 
17051
fi
 
17052
 
 
17053
fi
 
17054
 
 
17055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
17056
$as_echo_n "checking for ANSI C header files... " >&6; }
 
17057
if ${ac_cv_header_stdc+:} false; then :
 
17058
  $as_echo_n "(cached) " >&6
 
17059
else
 
17060
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17061
/* end confdefs.h.  */
 
17062
#include <stdlib.h>
 
17063
#include <stdarg.h>
 
17064
#include <string.h>
 
17065
#include <float.h>
 
17066
 
 
17067
int
 
17068
main ()
 
17069
{
 
17070
 
 
17071
  ;
 
17072
  return 0;
 
17073
}
 
17074
_ACEOF
 
17075
if ac_fn_c_try_compile "$LINENO"; then :
 
17076
  ac_cv_header_stdc=yes
 
17077
else
 
17078
  ac_cv_header_stdc=no
 
17079
fi
 
17080
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17081
 
 
17082
if test $ac_cv_header_stdc = yes; then
 
17083
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
17084
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17085
/* end confdefs.h.  */
 
17086
#include <string.h>
 
17087
 
 
17088
_ACEOF
 
17089
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
17090
  $EGREP "memchr" >/dev/null 2>&1; then :
 
17091
  
 
17092
else
 
17093
  ac_cv_header_stdc=no
 
17094
fi
 
17095
rm -f conftest*
 
17096
 
 
17097
fi
 
17098
 
 
17099
if test $ac_cv_header_stdc = yes; then
 
17100
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
17101
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17102
/* end confdefs.h.  */
 
17103
#include <stdlib.h>
 
17104
 
 
17105
_ACEOF
 
17106
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
17107
  $EGREP "free" >/dev/null 2>&1; then :
 
17108
  
 
17109
else
 
17110
  ac_cv_header_stdc=no
 
17111
fi
 
17112
rm -f conftest*
 
17113
 
 
17114
fi
 
17115
 
 
17116
if test $ac_cv_header_stdc = yes; then
 
17117
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
17118
  if test "$cross_compiling" = yes; then :
 
17119
  :
 
17120
else
 
17121
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17122
/* end confdefs.h.  */
 
17123
#include <ctype.h>
 
17124
#include <stdlib.h>
 
17125
#if ((' ' & 0x0FF) == 0x020)
 
17126
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
17127
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
17128
#else
 
17129
# define ISLOWER(c) \
 
17130
                   (('a' <= (c) && (c) <= 'i') \
 
17131
                     || ('j' <= (c) && (c) <= 'r') \
 
17132
                     || ('s' <= (c) && (c) <= 'z'))
 
17133
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
17134
#endif
 
17135
 
 
17136
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
17137
int
 
17138
main ()
 
17139
{
 
17140
  int i;
 
17141
  for (i = 0; i < 256; i++)
 
17142
    if (XOR (islower (i), ISLOWER (i))
 
17143
        || toupper (i) != TOUPPER (i))
 
17144
      return 2;
 
17145
  return 0;
 
17146
}
 
17147
_ACEOF
 
17148
if ac_fn_c_try_run "$LINENO"; then :
 
17149
  
 
17150
else
 
17151
  ac_cv_header_stdc=no
 
17152
fi
 
17153
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
17154
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
17155
fi
 
17156
 
 
17157
fi
 
17158
fi
 
17159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
17160
$as_echo "$ac_cv_header_stdc" >&6; }
 
17161
if test $ac_cv_header_stdc = yes; then
 
17162
  
 
17163
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
 
17164
 
 
17165
fi
 
17166
 
 
17167
for ac_header in fcntl.h limits.h stdlib.h string.h sys/param.h unistd.h malloc.h sys/malloc.h malloc/malloc.h
 
17168
do :
 
17169
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
17170
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
17171
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
17172
  cat >>confdefs.h <<_ACEOF
 
17173
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
17174
_ACEOF
 
17175
 
 
17176
fi
 
17177
 
 
17178
done
 
17179
 
 
17180
 
 
17181
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
 
17182
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
 
17183
if ${ac_cv_header_stdbool_h+:} false; then :
 
17184
  $as_echo_n "(cached) " >&6
 
17185
else
 
17186
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17187
/* end confdefs.h.  */
 
17188
 
 
17189
             #include <stdbool.h>
 
17190
             #ifndef bool
 
17191
              "error: bool is not defined"
 
17192
             #endif
 
17193
             #ifndef false
 
17194
              "error: false is not defined"
 
17195
             #endif
 
17196
             #if false
 
17197
              "error: false is not 0"
 
17198
             #endif
 
17199
             #ifndef true
 
17200
              "error: true is not defined"
 
17201
             #endif
 
17202
             #if true != 1
 
17203
              "error: true is not 1"
 
17204
             #endif
 
17205
             #ifndef __bool_true_false_are_defined
 
17206
              "error: __bool_true_false_are_defined is not defined"
 
17207
             #endif
 
17208
 
 
17209
             struct s { _Bool s: 1; _Bool t; } s;
 
17210
 
 
17211
             char a[true == 1 ? 1 : -1];
 
17212
             char b[false == 0 ? 1 : -1];
 
17213
             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
 
17214
             char d[(bool) 0.5 == true ? 1 : -1];
 
17215
             /* See body of main program for 'e'.  */
 
17216
             char f[(_Bool) 0.0 == false ? 1 : -1];
 
17217
             char g[true];
 
17218
             char h[sizeof (_Bool)];
 
17219
             char i[sizeof s.t];
 
17220
             enum { j = false, k = true, l = false * true, m = true * 256 };
 
17221
             /* The following fails for
 
17222
                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
 
17223
             _Bool n[m];
 
17224
             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
 
17225
             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
 
17226
             /* Catch a bug in an HP-UX C compiler.  See
 
17227
                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
 
17228
                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
 
17229
              */
 
17230
             _Bool q = true;
 
17231
             _Bool *pq = &q;
 
17232
           
 
17233
int
 
17234
main ()
 
17235
{
 
17236
 
 
17237
             bool e = &s;
 
17238
             *pq |= q;
 
17239
             *pq |= ! q;
 
17240
             /* Refer to every declared value, to avoid compiler optimizations.  */
 
17241
             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
 
17242
                     + !m + !n + !o + !p + !q + !pq);
 
17243
           
 
17244
  ;
 
17245
  return 0;
 
17246
}
 
17247
_ACEOF
 
17248
if ac_fn_c_try_compile "$LINENO"; then :
 
17249
  ac_cv_header_stdbool_h=yes
 
17250
else
 
17251
  ac_cv_header_stdbool_h=no
 
17252
fi
 
17253
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17254
fi
 
17255
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
 
17256
$as_echo "$ac_cv_header_stdbool_h" >&6; }
 
17257
   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
 
17258
if test "x$ac_cv_type__Bool" = xyes; then :
 
17259
  
 
17260
cat >>confdefs.h <<_ACEOF
 
17261
@%:@define HAVE__BOOL 1
 
17262
_ACEOF
 
17263
 
 
17264
 
 
17265
fi
 
17266
 
 
17267
 
 
17268
if test $ac_cv_header_stdbool_h = yes; then
 
17269
  
 
17270
$as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
 
17271
 
 
17272
fi
 
17273
 
 
17274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 
17275
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 
17276
if ${ac_cv_c_const+:} false; then :
 
17277
  $as_echo_n "(cached) " >&6
 
17278
else
 
17279
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17280
/* end confdefs.h.  */
 
17281
 
 
17282
int
 
17283
main ()
 
17284
{
 
17285
 
 
17286
#ifndef __cplusplus
 
17287
  /* Ultrix mips cc rejects this sort of thing.  */
 
17288
  typedef int charset[2];
 
17289
  const charset cs = { 0, 0 };
 
17290
  /* SunOS 4.1.1 cc rejects this.  */
 
17291
  char const *const *pcpcc;
 
17292
  char **ppc;
 
17293
  /* NEC SVR4.0.2 mips cc rejects this.  */
 
17294
  struct point {int x, y;};
 
17295
  static struct point const zero = {0,0};
 
17296
  /* AIX XL C 1.02.0.0 rejects this.
 
17297
     It does not let you subtract one const X* pointer from another in
 
17298
     an arm of an if-expression whose if-part is not a constant
 
17299
     expression */
 
17300
  const char *g = "string";
 
17301
  pcpcc = &g + (g ? g-g : 0);
 
17302
  /* HPUX 7.0 cc rejects these. */
 
17303
  ++pcpcc;
 
17304
  ppc = (char**) pcpcc;
 
17305
  pcpcc = (char const *const *) ppc;
 
17306
  { /* SCO 3.2v4 cc rejects this sort of thing.  */
 
17307
    char tx;
 
17308
    char *t = &tx;
 
17309
    char const *s = 0 ? (char *) 0 : (char const *) 0;
 
17310
 
 
17311
    *t++ = 0;
 
17312
    if (s) return 0;
 
17313
  }
 
17314
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 
17315
    int x[] = {25, 17};
 
17316
    const int *foo = &x[0];
 
17317
    ++foo;
 
17318
  }
 
17319
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 
17320
    typedef const int *iptr;
 
17321
    iptr p = 0;
 
17322
    ++p;
 
17323
  }
 
17324
  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
 
17325
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 
17326
    struct s { int j; const int *ap[3]; } bx;
 
17327
    struct s *b = &bx; b->j = 5;
 
17328
  }
 
17329
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 
17330
    const int foo = 10;
 
17331
    if (!foo) return 0;
 
17332
  }
 
17333
  return !cs[0] && !zero.x;
 
17334
#endif
 
17335
 
 
17336
  ;
 
17337
  return 0;
 
17338
}
 
17339
_ACEOF
 
17340
if ac_fn_c_try_compile "$LINENO"; then :
 
17341
  ac_cv_c_const=yes
 
17342
else
 
17343
  ac_cv_c_const=no
 
17344
fi
 
17345
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17346
fi
 
17347
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 
17348
$as_echo "$ac_cv_c_const" >&6; }
 
17349
if test $ac_cv_c_const = no; then
 
17350
  
 
17351
$as_echo "@%:@define const /**/" >>confdefs.h
 
17352
 
 
17353
fi
 
17354
 
 
17355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 
17356
$as_echo_n "checking for inline... " >&6; }
 
17357
if ${ac_cv_c_inline+:} false; then :
 
17358
  $as_echo_n "(cached) " >&6
 
17359
else
 
17360
  ac_cv_c_inline=no
 
17361
for ac_kw in inline __inline__ __inline; do
 
17362
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17363
/* end confdefs.h.  */
 
17364
#ifndef __cplusplus
 
17365
typedef int foo_t;
 
17366
static $ac_kw foo_t static_foo () {return 0; }
 
17367
$ac_kw foo_t foo () {return 0; }
 
17368
#endif
 
17369
 
 
17370
_ACEOF
 
17371
if ac_fn_c_try_compile "$LINENO"; then :
 
17372
  ac_cv_c_inline=$ac_kw
 
17373
fi
 
17374
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17375
  test "$ac_cv_c_inline" != no && break
 
17376
done
 
17377
 
 
17378
fi
 
17379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
 
17380
$as_echo "$ac_cv_c_inline" >&6; }
 
17381
 
 
17382
case $ac_cv_c_inline in
 
17383
  inline | yes) ;;
 
17384
  *)
 
17385
    case $ac_cv_c_inline in
 
17386
      no) ac_val=;;
 
17387
      *) ac_val=$ac_cv_c_inline;;
 
17388
    esac
 
17389
    cat >>confdefs.h <<_ACEOF
 
17390
#ifndef __cplusplus
 
17391
#define inline $ac_val
 
17392
#endif
 
17393
_ACEOF
 
17394
    ;;
 
17395
esac
 
17396
 
 
17397
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 
17398
if test "x$ac_cv_type_size_t" = xyes; then :
 
17399
  
 
17400
else
 
17401
  
 
17402
cat >>confdefs.h <<_ACEOF
 
17403
@%:@define size_t unsigned int
 
17404
_ACEOF
 
17405
 
 
17406
fi
 
17407
 
 
17408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 
17409
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 
17410
if ${ac_cv_header_time+:} false; then :
 
17411
  $as_echo_n "(cached) " >&6
 
17412
else
 
17413
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17414
/* end confdefs.h.  */
 
17415
#include <sys/types.h>
 
17416
#include <sys/time.h>
 
17417
#include <time.h>
 
17418
 
 
17419
int
 
17420
main ()
 
17421
{
 
17422
if ((struct tm *) 0)
 
17423
return 0;
 
17424
  ;
 
17425
  return 0;
 
17426
}
 
17427
_ACEOF
 
17428
if ac_fn_c_try_compile "$LINENO"; then :
 
17429
  ac_cv_header_time=yes
 
17430
else
 
17431
  ac_cv_header_time=no
 
17432
fi
 
17433
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17434
fi
 
17435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 
17436
$as_echo "$ac_cv_header_time" >&6; }
 
17437
if test $ac_cv_header_time = yes; then
 
17438
  
 
17439
$as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
 
17440
 
 
17441
fi
 
17442
 
 
17443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
 
17444
$as_echo_n "checking for working volatile... " >&6; }
 
17445
if ${ac_cv_c_volatile+:} false; then :
 
17446
  $as_echo_n "(cached) " >&6
 
17447
else
 
17448
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17449
/* end confdefs.h.  */
 
17450
 
 
17451
int
 
17452
main ()
 
17453
{
 
17454
 
 
17455
volatile int x;
 
17456
int * volatile y = (int *) 0;
 
17457
return !x && !y;
 
17458
  ;
 
17459
  return 0;
 
17460
}
 
17461
_ACEOF
 
17462
if ac_fn_c_try_compile "$LINENO"; then :
 
17463
  ac_cv_c_volatile=yes
 
17464
else
 
17465
  ac_cv_c_volatile=no
 
17466
fi
 
17467
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17468
fi
 
17469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
 
17470
$as_echo "$ac_cv_c_volatile" >&6; }
 
17471
if test $ac_cv_c_volatile = no; then
 
17472
  
 
17473
$as_echo "@%:@define volatile /**/" >>confdefs.h
 
17474
 
 
17475
fi
 
17476
 
 
17477
 
 
17478
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
 
17479
$as_echo_n "checking whether closedir returns void... " >&6; }
 
17480
if ${ac_cv_func_closedir_void+:} false; then :
 
17481
  $as_echo_n "(cached) " >&6
 
17482
else
 
17483
  if test "$cross_compiling" = yes; then :
 
17484
  ac_cv_func_closedir_void=yes
 
17485
else
 
17486
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17487
/* end confdefs.h.  */
 
17488
$ac_includes_default
 
17489
#include <$ac_header_dirent>
 
17490
#ifndef __cplusplus
 
17491
int closedir ();
 
17492
#endif
 
17493
 
 
17494
int
 
17495
main ()
 
17496
{
 
17497
return closedir (opendir (".")) != 0;
 
17498
  ;
 
17499
  return 0;
 
17500
}
 
17501
_ACEOF
 
17502
if ac_fn_c_try_run "$LINENO"; then :
 
17503
  ac_cv_func_closedir_void=no
 
17504
else
 
17505
  ac_cv_func_closedir_void=yes
 
17506
fi
 
17507
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
17508
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
17509
fi
 
17510
 
 
17511
fi
 
17512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
 
17513
$as_echo "$ac_cv_func_closedir_void" >&6; }
 
17514
if test $ac_cv_func_closedir_void = yes; then
 
17515
  
 
17516
$as_echo "@%:@define CLOSEDIR_VOID 1" >>confdefs.h
 
17517
 
 
17518
fi
 
17519
 
 
17520
for ac_header in stdlib.h
 
17521
do :
 
17522
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
 
17523
if test "x$ac_cv_header_stdlib_h" = xyes; then :
 
17524
  cat >>confdefs.h <<_ACEOF
 
17525
@%:@define HAVE_STDLIB_H 1
 
17526
_ACEOF
 
17527
 
 
17528
fi
 
17529
 
 
17530
done
 
17531
 
 
17532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
 
17533
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
 
17534
if ${ac_cv_func_malloc_0_nonnull+:} false; then :
 
17535
  $as_echo_n "(cached) " >&6
 
17536
else
 
17537
  if test "$cross_compiling" = yes; then :
 
17538
  ac_cv_func_malloc_0_nonnull=no
 
17539
else
 
17540
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17541
/* end confdefs.h.  */
 
17542
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
 
17543
# include <stdlib.h>
 
17544
#else
 
17545
char *malloc ();
 
17546
#endif
 
17547
 
 
17548
int
 
17549
main ()
 
17550
{
 
17551
return ! malloc (0);
 
17552
  ;
 
17553
  return 0;
 
17554
}
 
17555
_ACEOF
 
17556
if ac_fn_c_try_run "$LINENO"; then :
 
17557
  ac_cv_func_malloc_0_nonnull=yes
 
17558
else
 
17559
  ac_cv_func_malloc_0_nonnull=no
 
17560
fi
 
17561
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
17562
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
17563
fi
 
17564
 
 
17565
fi
 
17566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
 
17567
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
 
17568
if test $ac_cv_func_malloc_0_nonnull = yes; then :
 
17569
  
 
17570
$as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
 
17571
 
 
17572
else
 
17573
  $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
 
17574
 
 
17575
   case " $LIB@&t@OBJS " in
 
17576
  *" malloc.$ac_objext "* ) ;;
 
17577
  *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
 
17578
 ;;
 
17579
esac
 
17580
 
 
17581
   
 
17582
$as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
 
17583
 
 
17584
fi
 
17585
 
 
17586
 
 
17587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
 
17588
$as_echo_n "checking for working memcmp... " >&6; }
 
17589
if ${ac_cv_func_memcmp_working+:} false; then :
 
17590
  $as_echo_n "(cached) " >&6
 
17591
else
 
17592
  if test "$cross_compiling" = yes; then :
 
17593
  ac_cv_func_memcmp_working=no
 
17594
else
 
17595
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17596
/* end confdefs.h.  */
 
17597
$ac_includes_default
 
17598
int
 
17599
main ()
 
17600
{
 
17601
 
 
17602
  /* Some versions of memcmp are not 8-bit clean.  */
 
17603
  char c0 = '\100', c1 = '\200', c2 = '\201';
 
17604
  if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
 
17605
    return 1;
 
17606
 
 
17607
  /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
 
17608
     or more and with at least one buffer not starting on a 4-byte boundary.
 
17609
     William Lewis provided this test program.   */
 
17610
  {
 
17611
    char foo[21];
 
17612
    char bar[21];
 
17613
    int i;
 
17614
    for (i = 0; i < 4; i++)
 
17615
      {
 
17616
        char *a = foo + i;
 
17617
        char *b = bar + i;
 
17618
        strcpy (a, "--------01111111");
 
17619
        strcpy (b, "--------10000000");
 
17620
        if (memcmp (a, b, 16) >= 0)
 
17621
          return 1;
 
17622
      }
 
17623
    return 0;
 
17624
  }
 
17625
 
 
17626
  ;
 
17627
  return 0;
 
17628
}
 
17629
_ACEOF
 
17630
if ac_fn_c_try_run "$LINENO"; then :
 
17631
  ac_cv_func_memcmp_working=yes
 
17632
else
 
17633
  ac_cv_func_memcmp_working=no
 
17634
fi
 
17635
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
17636
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
17637
fi
 
17638
 
 
17639
fi
 
17640
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
 
17641
$as_echo "$ac_cv_func_memcmp_working" >&6; }
 
17642
test $ac_cv_func_memcmp_working = no && case " $LIB@&t@OBJS " in
 
17643
  *" memcmp.$ac_objext "* ) ;;
 
17644
  *) LIB@&t@OBJS="$LIB@&t@OBJS memcmp.$ac_objext"
 
17645
 ;;
 
17646
esac
 
17647
 
 
17648
 
 
17649
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
 
17650
$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
 
17651
if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
 
17652
  $as_echo_n "(cached) " >&6
 
17653
else
 
17654
  rm -f conftest.sym conftest.file
 
17655
echo >conftest.file
 
17656
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
 
17657
  if test "$cross_compiling" = yes; then :
 
17658
  ac_cv_func_lstat_dereferences_slashed_symlink=no
 
17659
else
 
17660
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17661
/* end confdefs.h.  */
 
17662
$ac_includes_default
 
17663
int
 
17664
main ()
 
17665
{
 
17666
struct stat sbuf;
 
17667
     /* Linux will dereference the symlink and fail, as required by POSIX.
 
17668
        That is better in the sense that it means we will not
 
17669
        have to compile and use the lstat wrapper.  */
 
17670
     return lstat ("conftest.sym/", &sbuf) == 0;
 
17671
  ;
 
17672
  return 0;
 
17673
}
 
17674
_ACEOF
 
17675
if ac_fn_c_try_run "$LINENO"; then :
 
17676
  ac_cv_func_lstat_dereferences_slashed_symlink=yes
 
17677
else
 
17678
  ac_cv_func_lstat_dereferences_slashed_symlink=no
 
17679
fi
 
17680
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
17681
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
17682
fi
 
17683
 
 
17684
else
 
17685
  # If the `ln -s' command failed, then we probably don't even
 
17686
  # have an lstat function.
 
17687
  ac_cv_func_lstat_dereferences_slashed_symlink=no
 
17688
fi
 
17689
rm -f conftest.sym conftest.file
 
17690
 
 
17691
fi
 
17692
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
 
17693
$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
 
17694
 
 
17695
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
 
17696
  
 
17697
cat >>confdefs.h <<_ACEOF
 
17698
@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
 
17699
_ACEOF
 
17700
 
 
17701
 
 
17702
if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
 
17703
  case " $LIB@&t@OBJS " in
 
17704
  *" lstat.$ac_objext "* ) ;;
 
17705
  *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext"
 
17706
 ;;
 
17707
esac
 
17708
 
 
17709
fi
 
17710
 
 
17711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
 
17712
$as_echo_n "checking whether stat accepts an empty string... " >&6; }
 
17713
if ${ac_cv_func_stat_empty_string_bug+:} false; then :
 
17714
  $as_echo_n "(cached) " >&6
 
17715
else
 
17716
  if test "$cross_compiling" = yes; then :
 
17717
  ac_cv_func_stat_empty_string_bug=yes
 
17718
else
 
17719
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17720
/* end confdefs.h.  */
 
17721
$ac_includes_default
 
17722
int
 
17723
main ()
 
17724
{
 
17725
struct stat sbuf;
 
17726
  return stat ("", &sbuf) == 0;
 
17727
  ;
 
17728
  return 0;
 
17729
}
 
17730
_ACEOF
 
17731
if ac_fn_c_try_run "$LINENO"; then :
 
17732
  ac_cv_func_stat_empty_string_bug=no
 
17733
else
 
17734
  ac_cv_func_stat_empty_string_bug=yes
 
17735
fi
 
17736
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
17737
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
17738
fi
 
17739
 
 
17740
fi
 
17741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
 
17742
$as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
 
17743
if test $ac_cv_func_stat_empty_string_bug = yes; then
 
17744
  case " $LIB@&t@OBJS " in
 
17745
  *" stat.$ac_objext "* ) ;;
 
17746
  *) LIB@&t@OBJS="$LIB@&t@OBJS stat.$ac_objext"
 
17747
 ;;
 
17748
esac
 
17749
 
 
17750
  
 
17751
cat >>confdefs.h <<_ACEOF
 
17752
@%:@define HAVE_STAT_EMPTY_STRING_BUG 1
 
17753
_ACEOF
 
17754
 
 
17755
fi
 
17756
 
 
17757
for ac_func in vprintf
 
17758
do :
 
17759
  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
 
17760
if test "x$ac_cv_func_vprintf" = xyes; then :
 
17761
  cat >>confdefs.h <<_ACEOF
 
17762
@%:@define HAVE_VPRINTF 1
 
17763
_ACEOF
 
17764
 
 
17765
ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
 
17766
if test "x$ac_cv_func__doprnt" = xyes; then :
 
17767
  
 
17768
$as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h
 
17769
 
 
17770
fi
 
17771
 
 
17772
fi
 
17773
done
 
17774
 
 
17775
 
 
17776
for ac_func in atexit getcwd isascii memchr memmove memset strcasecmp strchr strcspn strdup strrchr strstr
 
17777
do :
 
17778
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
17779
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
17780
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 
17781
  cat >>confdefs.h <<_ACEOF
 
17782
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
17783
_ACEOF
 
17784
 
 
17785
fi
 
17786
done
 
17787
 
 
17788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
17789
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
17790
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
17791
  $as_echo_n "(cached) " >&6
 
17792
else
 
17793
  ac_check_lib_save_LIBS=$LIBS
 
17794
LIBS="-ldl  $LIBS"
 
17795
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17796
/* end confdefs.h.  */
 
17797
 
 
17798
/* Override any GCC internal prototype to avoid an error.
 
17799
   Use char because int might match the return type of a GCC
 
17800
   builtin and then its argument prototype would still apply.  */
 
17801
#ifdef __cplusplus
 
17802
extern "C"
 
17803
#endif
 
17804
char dlopen ();
 
17805
int
 
17806
main ()
 
17807
{
 
17808
return dlopen ();
 
17809
  ;
 
17810
  return 0;
 
17811
}
 
17812
_ACEOF
 
17813
if ac_fn_c_try_link "$LINENO"; then :
 
17814
  ac_cv_lib_dl_dlopen=yes
 
17815
else
 
17816
  ac_cv_lib_dl_dlopen=no
 
17817
fi
 
17818
rm -f core conftest.err conftest.$ac_objext \
 
17819
    conftest$ac_exeext conftest.$ac_ext
 
17820
LIBS=$ac_check_lib_save_LIBS
 
17821
fi
 
17822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
17823
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
17824
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
17825
  cat >>confdefs.h <<_ACEOF
 
17826
@%:@define HAVE_LIBDL 1
 
17827
_ACEOF
 
17828
 
 
17829
  LIBS="-ldl $LIBS"
 
17830
 
 
17831
fi
 
17832
 
 
17833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
 
17834
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
 
17835
if ${ac_cv_lib_pthread_pthread_create+:} false; then :
 
17836
  $as_echo_n "(cached) " >&6
 
17837
else
 
17838
  ac_check_lib_save_LIBS=$LIBS
 
17839
LIBS="-lpthread  $LIBS"
 
17840
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17841
/* end confdefs.h.  */
 
17842
 
 
17843
/* Override any GCC internal prototype to avoid an error.
 
17844
   Use char because int might match the return type of a GCC
 
17845
   builtin and then its argument prototype would still apply.  */
 
17846
#ifdef __cplusplus
 
17847
extern "C"
 
17848
#endif
 
17849
char pthread_create ();
 
17850
int
 
17851
main ()
 
17852
{
 
17853
return pthread_create ();
 
17854
  ;
 
17855
  return 0;
 
17856
}
 
17857
_ACEOF
 
17858
if ac_fn_c_try_link "$LINENO"; then :
 
17859
  ac_cv_lib_pthread_pthread_create=yes
 
17860
else
 
17861
  ac_cv_lib_pthread_pthread_create=no
 
17862
fi
 
17863
rm -f core conftest.err conftest.$ac_objext \
 
17864
    conftest$ac_exeext conftest.$ac_ext
 
17865
LIBS=$ac_check_lib_save_LIBS
 
17866
fi
 
17867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
 
17868
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
 
17869
if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
 
17870
  cat >>confdefs.h <<_ACEOF
 
17871
@%:@define HAVE_LIBPTHREAD 1
 
17872
_ACEOF
 
17873
 
 
17874
  LIBS="-lpthread $LIBS"
 
17875
 
 
17876
fi
 
17877
 
 
17878
ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
 
17879
if test "x$ac_cv_func_snprintf" = xyes; then :
 
17880
  
 
17881
$as_echo "@%:@define HAVE_SNPRINTF /**/" >>confdefs.h
 
17882
 
 
17883
fi
 
17884
 
 
17885
ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
 
17886
if test "x$ac_cv_func_vsnprintf" = xyes; then :
 
17887
  
 
17888
$as_echo "@%:@define HAVE_VSNPRINTF /**/" >>confdefs.h
 
17889
 
 
17890
fi
 
17891
 
 
17892
 
 
17893
save_LIBS=$LIBS
 
17894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gzopen" >&5
 
17895
$as_echo_n "checking for library containing gzopen... " >&6; }
 
17896
if ${ac_cv_search_gzopen+:} false; then :
 
17897
  $as_echo_n "(cached) " >&6
 
17898
else
 
17899
  ac_func_search_save_LIBS=$LIBS
 
17900
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17901
/* end confdefs.h.  */
 
17902
 
 
17903
/* Override any GCC internal prototype to avoid an error.
 
17904
   Use char because int might match the return type of a GCC
 
17905
   builtin and then its argument prototype would still apply.  */
 
17906
#ifdef __cplusplus
 
17907
extern "C"
 
17908
#endif
 
17909
char gzopen ();
 
17910
int
 
17911
main ()
 
17912
{
 
17913
return gzopen ();
 
17914
  ;
 
17915
  return 0;
 
17916
}
 
17917
_ACEOF
 
17918
for ac_lib in '' z; do
 
17919
  if test -z "$ac_lib"; then
 
17920
    ac_res="none required"
 
17921
  else
 
17922
    ac_res=-l$ac_lib
 
17923
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
17924
  fi
 
17925
  if ac_fn_c_try_link "$LINENO"; then :
 
17926
  ac_cv_search_gzopen=$ac_res
 
17927
fi
 
17928
rm -f core conftest.err conftest.$ac_objext \
 
17929
    conftest$ac_exeext
 
17930
  if ${ac_cv_search_gzopen+:} false; then :
 
17931
  break
 
17932
fi
 
17933
done
 
17934
if ${ac_cv_search_gzopen+:} false; then :
 
17935
  
 
17936
else
 
17937
  ac_cv_search_gzopen=no
 
17938
fi
 
17939
rm conftest.$ac_ext
 
17940
LIBS=$ac_func_search_save_LIBS
 
17941
fi
 
17942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gzopen" >&5
 
17943
$as_echo "$ac_cv_search_gzopen" >&6; }
 
17944
ac_res=$ac_cv_search_gzopen
 
17945
if test "$ac_res" != no; then :
 
17946
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
17947
  HAVE_ZLIB=yes
 
17948
else
 
17949
  HAVE_ZLIB=no
 
17950
fi
 
17951
 
 
17952
LIBS=$save_LIBS
 
17953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing BZ2_bzopen" >&5
 
17954
$as_echo_n "checking for library containing BZ2_bzopen... " >&6; }
 
17955
if ${ac_cv_search_BZ2_bzopen+:} false; then :
 
17956
  $as_echo_n "(cached) " >&6
 
17957
else
 
17958
  ac_func_search_save_LIBS=$LIBS
 
17959
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17960
/* end confdefs.h.  */
 
17961
 
 
17962
/* Override any GCC internal prototype to avoid an error.
 
17963
   Use char because int might match the return type of a GCC
 
17964
   builtin and then its argument prototype would still apply.  */
 
17965
#ifdef __cplusplus
 
17966
extern "C"
 
17967
#endif
 
17968
char BZ2_bzopen ();
 
17969
int
 
17970
main ()
 
17971
{
 
17972
return BZ2_bzopen ();
 
17973
  ;
 
17974
  return 0;
 
17975
}
 
17976
_ACEOF
 
17977
for ac_lib in '' bz2; do
 
17978
  if test -z "$ac_lib"; then
 
17979
    ac_res="none required"
 
17980
  else
 
17981
    ac_res=-l$ac_lib
 
17982
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
17983
  fi
 
17984
  if ac_fn_c_try_link "$LINENO"; then :
 
17985
  ac_cv_search_BZ2_bzopen=$ac_res
 
17986
fi
 
17987
rm -f core conftest.err conftest.$ac_objext \
 
17988
    conftest$ac_exeext
 
17989
  if ${ac_cv_search_BZ2_bzopen+:} false; then :
 
17990
  break
 
17991
fi
 
17992
done
 
17993
if ${ac_cv_search_BZ2_bzopen+:} false; then :
 
17994
  
 
17995
else
 
17996
  ac_cv_search_BZ2_bzopen=no
 
17997
fi
 
17998
rm conftest.$ac_ext
 
17999
LIBS=$ac_func_search_save_LIBS
 
18000
fi
 
18001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_BZ2_bzopen" >&5
 
18002
$as_echo "$ac_cv_search_BZ2_bzopen" >&6; }
 
18003
ac_res=$ac_cv_search_BZ2_bzopen
 
18004
if test "$ac_res" != no; then :
 
18005
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
18006
  HAVE_BZIP2=yes
 
18007
else
 
18008
  HAVE_BZIP2=no
 
18009
fi
 
18010
 
 
18011
LIBS=$save_LIBS
 
18012
 
 
18013
 if test "$HAVE_ZLIB" = yes; then
 
18014
  HAVE_ZLIB_TRUE=
 
18015
  HAVE_ZLIB_FALSE='#'
 
18016
else
 
18017
  HAVE_ZLIB_TRUE='#'
 
18018
  HAVE_ZLIB_FALSE=
 
18019
fi
 
18020
 
 
18021
 if test "$HAVE_BZIP2" = yes; then
 
18022
  HAVE_BZIP2_TRUE=
 
18023
  HAVE_BZIP2_FALSE='#'
 
18024
else
 
18025
  HAVE_BZIP2_TRUE='#'
 
18026
  HAVE_BZIP2_FALSE=
 
18027
fi
 
18028
 
 
18029
 
 
18030
CODEBLOCKS_CURRENT=0
 
18031
CODEBLOCKS_REVISION=1
 
18032
CODEBLOCKS_AGE=0
 
18033
CODEBLOCKS_VERSION_INFO=$CODEBLOCKS_CURRENT:$CODEBLOCKS_REVISION:$CODEBLOCKS_AGE
 
18034
 
 
18035
 
 
18036
 
 
18037
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
18038
 
 
18039
# Always define AMTAR for backward compatibility.
 
18040
 
 
18041
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
18042
 
 
18043
am__tar='${AMTAR} chf - "$$tardir"'; am__untar='${AMTAR} xf -'
 
18044
 
 
18045
 
 
18046
 
 
18047
 
 
18048
CODEBLOCKS_PLATFORM=gtk
 
18049
 
 
18050
@%:@ Check whether --with-platform was given.
 
18051
if test "${with_platform+set}" = set; then :
 
18052
  withval=$with_platform; CODEBLOCKS_PLATFORM=$withval
 
18053
else
 
18054
  CODEBLOCKS_PLATFORM=gtk
 
18055
fi
 
18056
 
 
18057
 
 
18058
 
 
18059
  PLATFORM_CFLAGS=""
 
18060
  PLATFORM_LIBS=""
 
18061
 
 
18062
    case $CODEBLOCKS_PLATFORM in
 
18063
    gtk)
 
18064
      PLATFORM_CFLAGS="-I/usr/X11R6/include"
 
18065
      PLATFORM_LIBS="-L/usr/X11R6/lib -lX11"
 
18066
    ;;
 
18067
    win32)
 
18068
      PLATFORM_CFLAGS=""
 
18069
      PLATFORM_LIBS="-lgdi32"
 
18070
    ;;
 
18071
    macosx)
 
18072
      PLATFORM_CFLAGS=""
 
18073
      PLATFORM_LIBS=""
 
18074
    ;;
 
18075
  esac
 
18076
 
 
18077
  
 
18078
  
 
18079
  
 
18080
 
 
18081
 
 
18082
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the source formatter plugin" >&5
 
18083
$as_echo_n "checking whether to build the source formatter plugin... " >&6; }
 
18084
astyle_default="yes"
 
18085
@%:@ Check whether --enable-source-formatter was given.
 
18086
if test "${enable_source_formatter+set}" = set; then :
 
18087
  enableval=$enable_source_formatter; 
 
18088
else
 
18089
  enable_astyle=$astyle_default
 
18090
fi
 
18091
 
 
18092
 if test "x$enable_astyle" = "xyes"; then
 
18093
  BUILD_ASTYLE_TRUE=
 
18094
  BUILD_ASTYLE_FALSE='#'
 
18095
else
 
18096
  BUILD_ASTYLE_TRUE='#'
 
18097
  BUILD_ASTYLE_FALSE=
 
18098
fi
 
18099
 
 
18100
if test "x$enable_astyle" = "xyes"; then
 
18101
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18102
$as_echo "yes" >&6; }
 
18103
else
 
18104
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18105
$as_echo "no" >&6; }
 
18106
fi
 
18107
 
 
18108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the autosave plugin" >&5
 
18109
$as_echo_n "checking whether to build the autosave plugin... " >&6; }
 
18110
autosave_default="yes"
 
18111
@%:@ Check whether --enable-autosave was given.
 
18112
if test "${enable_autosave+set}" = set; then :
 
18113
  enableval=$enable_autosave; 
 
18114
else
 
18115
  enable_autosave=$autosave_default
 
18116
fi
 
18117
 
 
18118
 if test "x$enable_autosave" = "xyes"; then
 
18119
  BUILD_AUTOSAVE_TRUE=
 
18120
  BUILD_AUTOSAVE_FALSE='#'
 
18121
else
 
18122
  BUILD_AUTOSAVE_TRUE='#'
 
18123
  BUILD_AUTOSAVE_FALSE=
 
18124
fi
 
18125
 
 
18126
if test "x$enable_autosave" = "xyes"; then
 
18127
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18128
$as_echo "yes" >&6; }
 
18129
else
 
18130
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18131
$as_echo "no" >&6; }
 
18132
fi
 
18133
 
 
18134
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the class wizard plugin" >&5
 
18135
$as_echo_n "checking whether to build the class wizard plugin... " >&6; }
 
18136
cw_default="yes"
 
18137
@%:@ Check whether --enable-class-wizard was given.
 
18138
if test "${enable_class_wizard+set}" = set; then :
 
18139
  enableval=$enable_class_wizard; 
 
18140
else
 
18141
  enable_cw=$cw_default
 
18142
fi
 
18143
 
 
18144
 if test "x$enable_cw" = "xyes"; then
 
18145
  BUILD_CLASSWIZARD_TRUE=
 
18146
  BUILD_CLASSWIZARD_FALSE='#'
 
18147
else
 
18148
  BUILD_CLASSWIZARD_TRUE='#'
 
18149
  BUILD_CLASSWIZARD_FALSE=
 
18150
fi
 
18151
 
 
18152
if test "x$enable_cw" = "xyes"; then
 
18153
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18154
$as_echo "yes" >&6; }
 
18155
else
 
18156
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18157
$as_echo "no" >&6; }
 
18158
fi
 
18159
 
 
18160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the code completion plugin" >&5
 
18161
$as_echo_n "checking whether to build the code completion plugin... " >&6; }
 
18162
cc_default="yes"
 
18163
@%:@ Check whether --enable-code-completion was given.
 
18164
if test "${enable_code_completion+set}" = set; then :
 
18165
  enableval=$enable_code_completion; 
 
18166
else
 
18167
  enable_cc=$cc_default
 
18168
fi
 
18169
 
 
18170
 if test "x$enable_cc" = "xyes"; then
 
18171
  BUILD_CODECOMPLETION_TRUE=
 
18172
  BUILD_CODECOMPLETION_FALSE='#'
 
18173
else
 
18174
  BUILD_CODECOMPLETION_TRUE='#'
 
18175
  BUILD_CODECOMPLETION_FALSE=
 
18176
fi
 
18177
 
 
18178
if test "x$enable_cc" = "xyes"; then
 
18179
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18180
$as_echo "yes" >&6; }
 
18181
else
 
18182
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18183
$as_echo "no" >&6; }
 
18184
fi
 
18185
 
 
18186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the compiler plugin" >&5
 
18187
$as_echo_n "checking whether to build the compiler plugin... " >&6; }
 
18188
gcc_default="yes"
 
18189
@%:@ Check whether --enable-compiler was given.
 
18190
if test "${enable_compiler+set}" = set; then :
 
18191
  enableval=$enable_compiler; 
 
18192
else
 
18193
  enable_gcc=$gcc_default
 
18194
fi
 
18195
 
 
18196
 if test "x$enable_gcc" = "xyes"; then
 
18197
  BUILD_COMPILER_TRUE=
 
18198
  BUILD_COMPILER_FALSE='#'
 
18199
else
 
18200
  BUILD_COMPILER_TRUE='#'
 
18201
  BUILD_COMPILER_FALSE=
 
18202
fi
 
18203
 
 
18204
if test "x$enable_gcc" = "xyes"; then
 
18205
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18206
$as_echo "yes" >&6; }
 
18207
else
 
18208
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18209
$as_echo "no" >&6; }
 
18210
fi
 
18211
 
 
18212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the debugger plugin" >&5
 
18213
$as_echo_n "checking whether to build the debugger plugin... " >&6; }
 
18214
dbg_default="yes"
 
18215
@%:@ Check whether --enable-debugger was given.
 
18216
if test "${enable_debugger+set}" = set; then :
 
18217
  enableval=$enable_debugger; 
 
18218
else
 
18219
  enable_dbg=$dbg_default
 
18220
fi
 
18221
 
 
18222
 if test "x$enable_dbg" = "xyes"; then
 
18223
  BUILD_DEBUGGER_TRUE=
 
18224
  BUILD_DEBUGGER_FALSE='#'
 
18225
else
 
18226
  BUILD_DEBUGGER_TRUE='#'
 
18227
  BUILD_DEBUGGER_FALSE=
 
18228
fi
 
18229
 
 
18230
if test "x$enable_dbg" = "xyes"; then
 
18231
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18232
$as_echo "yes" >&6; }
 
18233
else
 
18234
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18235
$as_echo "no" >&6; }
 
18236
fi
 
18237
 
 
18238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the default MIME handler plugin" >&5
 
18239
$as_echo_n "checking whether to build the default MIME handler plugin... " >&6; }
 
18240
mime_default="yes"
 
18241
@%:@ Check whether --enable-mime-handler was given.
 
18242
if test "${enable_mime_handler+set}" = set; then :
 
18243
  enableval=$enable_mime_handler; 
 
18244
else
 
18245
  enable_mime=$mime_default
 
18246
fi
 
18247
 
 
18248
 if test "x$enable_mime" = "xyes"; then
 
18249
  BUILD_MIMEHANDLER_TRUE=
 
18250
  BUILD_MIMEHANDLER_FALSE='#'
 
18251
else
 
18252
  BUILD_MIMEHANDLER_TRUE='#'
 
18253
  BUILD_MIMEHANDLER_FALSE=
 
18254
fi
 
18255
 
 
18256
if test "x$enable_mime" = "xyes"; then
 
18257
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18258
$as_echo "yes" >&6; }
 
18259
else
 
18260
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18261
$as_echo "no" >&6; }
 
18262
fi
 
18263
 
 
18264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the open files list plugin" >&5
 
18265
$as_echo_n "checking whether to build the open files list plugin... " >&6; }
 
18266
openfiles_default="yes"
 
18267
@%:@ Check whether --enable-open-files-list was given.
 
18268
if test "${enable_open_files_list+set}" = set; then :
 
18269
  enableval=$enable_open_files_list; 
 
18270
else
 
18271
  enable_openfiles=$openfiles_default
 
18272
fi
 
18273
 
 
18274
 if test "x$enable_openfiles" = "xyes"; then
 
18275
  BUILD_OPENFILESLIST_TRUE=
 
18276
  BUILD_OPENFILESLIST_FALSE='#'
 
18277
else
 
18278
  BUILD_OPENFILESLIST_TRUE='#'
 
18279
  BUILD_OPENFILESLIST_FALSE=
 
18280
fi
 
18281
 
 
18282
if test "x$enable_openfiles" = "xyes"; then
 
18283
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18284
$as_echo "yes" >&6; }
 
18285
else
 
18286
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18287
$as_echo "no" >&6; }
 
18288
fi
 
18289
 
 
18290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the occurrences highlighting plugin" >&5
 
18291
$as_echo_n "checking whether to build the occurrences highlighting plugin... " >&6; }
 
18292
occurrenceshighlighting_default="yes"
 
18293
@%:@ Check whether --enable-occurrences-highlighting was given.
 
18294
if test "${enable_occurrences_highlighting+set}" = set; then :
 
18295
  enableval=$enable_occurrences_highlighting; 
 
18296
else
 
18297
  enable_occurrenceshighlighting=$occurrenceshighlighting_default
 
18298
fi
 
18299
 
 
18300
 if test "x$enable_occurrenceshighlighting" = "xyes"; then
 
18301
  BUILD_OCCURRENCESHIGHLIGHTING_TRUE=
 
18302
  BUILD_OCCURRENCESHIGHLIGHTING_FALSE='#'
 
18303
else
 
18304
  BUILD_OCCURRENCESHIGHLIGHTING_TRUE='#'
 
18305
  BUILD_OCCURRENCESHIGHLIGHTING_FALSE=
 
18306
fi
 
18307
 
 
18308
if test "x$enable_occurrenceshighlighting" = "xyes"; then
 
18309
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18310
$as_echo "yes" >&6; }
 
18311
else
 
18312
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18313
$as_echo "no" >&6; }
 
18314
fi
 
18315
 
 
18316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the foreign projects importer plugin" >&5
 
18317
$as_echo_n "checking whether to build the foreign projects importer plugin... " >&6; }
 
18318
pimport_default="yes"
 
18319
@%:@ Check whether --enable-projects-importer was given.
 
18320
if test "${enable_projects_importer+set}" = set; then :
 
18321
  enableval=$enable_projects_importer; 
 
18322
else
 
18323
  enable_pimport=$pimport_default
 
18324
fi
 
18325
 
 
18326
 if test "x$enable_pimport" = "xyes"; then
 
18327
  BUILD_PROJECTSIMPORTER_TRUE=
 
18328
  BUILD_PROJECTSIMPORTER_FALSE='#'
 
18329
else
 
18330
  BUILD_PROJECTSIMPORTER_TRUE='#'
 
18331
  BUILD_PROJECTSIMPORTER_FALSE=
 
18332
fi
 
18333
 
 
18334
if test "x$enable_pimport" = "xyes"; then
 
18335
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18336
$as_echo "yes" >&6; }
 
18337
else
 
18338
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18339
$as_echo "no" >&6; }
 
18340
fi
 
18341
 
 
18342
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the scripted wizard plugin" >&5
 
18343
$as_echo_n "checking whether to build the scripted wizard plugin... " >&6; }
 
18344
prw_default="yes"
 
18345
@%:@ Check whether --enable-scripted-wizard was given.
 
18346
if test "${enable_scripted_wizard+set}" = set; then :
 
18347
  enableval=$enable_scripted_wizard; 
 
18348
else
 
18349
  enable_prw=$prw_default
 
18350
fi
 
18351
 
 
18352
 if test "x$enable_prw" = "xyes"; then
 
18353
  BUILD_SCRIPTEDWIZARD_TRUE=
 
18354
  BUILD_SCRIPTEDWIZARD_FALSE='#'
 
18355
else
 
18356
  BUILD_SCRIPTEDWIZARD_TRUE='#'
 
18357
  BUILD_SCRIPTEDWIZARD_FALSE=
 
18358
fi
 
18359
 
 
18360
if test "x$enable_prw" = "xyes"; then
 
18361
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18362
$as_echo "yes" >&6; }
 
18363
else
 
18364
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18365
$as_echo "no" >&6; }
 
18366
fi
 
18367
 
 
18368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the to-do plugin" >&5
 
18369
$as_echo_n "checking whether to build the to-do plugin... " >&6; }
 
18370
todo_default="yes"
 
18371
@%:@ Check whether --enable-todo was given.
 
18372
if test "${enable_todo+set}" = set; then :
 
18373
  enableval=$enable_todo; 
 
18374
else
 
18375
  enable_todo=$todo_default
 
18376
fi
 
18377
 
 
18378
 if test "x$enable_todo" = "xyes"; then
 
18379
  BUILD_TODO_TRUE=
 
18380
  BUILD_TODO_FALSE='#'
 
18381
else
 
18382
  BUILD_TODO_TRUE='#'
 
18383
  BUILD_TODO_FALSE=
 
18384
fi
 
18385
 
 
18386
if test "x$enable_todo" = "xyes"; then
 
18387
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18388
$as_echo "yes" >&6; }
 
18389
else
 
18390
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18391
$as_echo "no" >&6; }
 
18392
fi
 
18393
 
 
18394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the abbreviations plugin" >&5
 
18395
$as_echo_n "checking whether to build the abbreviations plugin... " >&6; }
 
18396
abbreviations_default="yes"
 
18397
@%:@ Check whether --enable-abbreviations was given.
 
18398
if test "${enable_abbreviations+set}" = set; then :
 
18399
  enableval=$enable_abbreviations; 
 
18400
else
 
18401
  enable_abbreviations=$abbreviations_default
 
18402
fi
 
18403
 
 
18404
 if test "x$enable_abbreviations" = "xyes"; then
 
18405
  BUILD_ABBREVIATIONS_TRUE=
 
18406
  BUILD_ABBREVIATIONS_FALSE='#'
 
18407
else
 
18408
  BUILD_ABBREVIATIONS_TRUE='#'
 
18409
  BUILD_ABBREVIATIONS_FALSE=
 
18410
fi
 
18411
 
 
18412
if test "x$enable_abbreviations" = "xyes"; then
 
18413
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18414
$as_echo "yes" >&6; }
 
18415
else
 
18416
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18417
$as_echo "no" >&6; }
 
18418
fi
 
18419
 
 
18420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to keep prebuild windows dll's in dist-tarball" >&5
 
18421
$as_echo_n "checking whether to keep prebuild windows dll's in dist-tarball... " >&6; }
 
18422
keep_dlls_default="yes"
 
18423
@%:@ Check whether --enable-keep-dlls was given.
 
18424
if test "${enable_keep_dlls+set}" = set; then :
 
18425
  enableval=$enable_keep_dlls; 
 
18426
else
 
18427
  enable_keep_dlls=$keep_dlls_default
 
18428
fi
 
18429
 
 
18430
 if test "x$enable_keep_dlls" = "xyes"; then
 
18431
  KEEP_DLLS_TRUE=
 
18432
  KEEP_DLLS_FALSE='#'
 
18433
else
 
18434
  KEEP_DLLS_TRUE='#'
 
18435
  KEEP_DLLS_FALSE=
 
18436
fi
 
18437
 
 
18438
if test "x$enable_keep_dlls" = "xyes"; then
 
18439
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18440
$as_echo "yes" >&6; }
 
18441
else
 
18442
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18443
$as_echo "no" >&6; }
 
18444
fi
 
18445
 
 
18446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to integrate fortran-plugin in dist-tarball" >&5
 
18447
$as_echo_n "checking whether to integrate fortran-plugin in dist-tarball... " >&6; }
 
18448
enable_fortran_default="yes"
 
18449
@%:@ Check whether --enable-fortran was given.
 
18450
if test "${enable_fortran+set}" = set; then :
 
18451
  enableval=$enable_fortran; 
 
18452
else
 
18453
  enable_fortran=$enable_fortran_default
 
18454
fi
 
18455
 
 
18456
 if test "x$enable_fortran" = "xyes"; then
 
18457
  ENABLE_FORTRAN_TRUE=
 
18458
  ENABLE_FORTRAN_FALSE='#'
 
18459
else
 
18460
  ENABLE_FORTRAN_TRUE='#'
 
18461
  ENABLE_FORTRAN_FALSE=
 
18462
fi
 
18463
 
 
18464
if test "x$enable_fortran" = "xyes"; then
 
18465
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18466
$as_echo "yes" >&6; }
 
18467
else
 
18468
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18469
$as_echo "no" >&6; }
 
18470
fi
 
18471
 
 
18472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use gtk-notebook as default notebook" >&5
 
18473
$as_echo_n "checking whether to use gtk-notebook as default notebook... " >&6; }
 
18474
gtk_notebook_default="yes"
 
18475
@%:@ Check whether --enable-gtk-notebook was given.
 
18476
if test "${enable_gtk_notebook+set}" = set; then :
 
18477
  enableval=$enable_gtk_notebook; 
 
18478
else
 
18479
  enable_gtk_notebook=$gtk_notebook_default
 
18480
fi
 
18481
 
 
18482
 if test "x$enable_gtk_notebook" = "xyes"; then
 
18483
  GTK_NOTEBOOK_TRUE=
 
18484
  GTK_NOTEBOOK_FALSE='#'
 
18485
else
 
18486
  GTK_NOTEBOOK_TRUE='#'
 
18487
  GTK_NOTEBOOK_FALSE=
 
18488
fi
 
18489
 
 
18490
if test "x$enable_gtk_notebook" = "xyes"; then
 
18491
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18492
$as_echo "yes" >&6; }
 
18493
else
 
18494
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18495
$as_echo "no" >&6; }
 
18496
fi
 
18497
 
 
18498
 
 
18499
case $host in
 
18500
        *-*-cygwin* | *-*-mingw*)
 
18501
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the xp-manifest plugin" >&5
 
18502
$as_echo_n "checking whether to build the xp-manifest plugin... " >&6; }
 
18503
                xpmanifest_default="yes"
 
18504
                @%:@ Check whether --enable-xpmanifest was given.
 
18505
if test "${enable_xpmanifest+set}" = set; then :
 
18506
  enableval=$enable_xpmanifest; 
 
18507
else
 
18508
  enable_xpmanifest=$xpmanifest_default
 
18509
fi
 
18510
 
 
18511
                 if test "x$enable_xpmanifest" = "xyes"; then
 
18512
  BUILD_MANIFEST_TRUE=
 
18513
  BUILD_MANIFEST_FALSE='#'
 
18514
else
 
18515
  BUILD_MANIFEST_TRUE='#'
 
18516
  BUILD_MANIFEST_FALSE=
 
18517
fi
 
18518
 
 
18519
                if test "x$enable_xpmanifest" = "xyes"; then
 
18520
                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18521
$as_echo "yes" >&6; }
 
18522
                else
 
18523
                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18524
$as_echo "no" >&6; }
 
18525
                fi
 
18526
                ;;
 
18527
        *)
 
18528
                 if false; then
 
18529
  BUILD_MANIFEST_TRUE=
 
18530
  BUILD_MANIFEST_FALSE='#'
 
18531
else
 
18532
  BUILD_MANIFEST_TRUE='#'
 
18533
  BUILD_MANIFEST_FALSE=
 
18534
fi
 
18535
 
 
18536
                ;;
 
18537
esac
 
18538
 
 
18539
 
 
18540
 
 
18541
 
 
18542
 
 
18543
# default to 'none'
 
18544
 
 
18545
         if false; then
 
18546
  BUILD_AUTOVERSIONING_TRUE=
 
18547
  BUILD_AUTOVERSIONING_FALSE='#'
 
18548
else
 
18549
  BUILD_AUTOVERSIONING_TRUE='#'
 
18550
  BUILD_AUTOVERSIONING_FALSE=
 
18551
fi
 
18552
 
 
18553
         if false; then
 
18554
  BUILD_BROWSETRACKER_TRUE=
 
18555
  BUILD_BROWSETRACKER_FALSE='#'
 
18556
else
 
18557
  BUILD_BROWSETRACKER_TRUE='#'
 
18558
  BUILD_BROWSETRACKER_FALSE=
 
18559
fi
 
18560
 
 
18561
         if false; then
 
18562
  BUILD_BYOGAMES_TRUE=
 
18563
  BUILD_BYOGAMES_FALSE='#'
 
18564
else
 
18565
  BUILD_BYOGAMES_TRUE='#'
 
18566
  BUILD_BYOGAMES_FALSE=
 
18567
fi
 
18568
 
 
18569
         if false; then
 
18570
  BUILD_CBKODERS_TRUE=
 
18571
  BUILD_CBKODERS_FALSE='#'
 
18572
else
 
18573
  BUILD_CBKODERS_TRUE='#'
 
18574
  BUILD_CBKODERS_FALSE=
 
18575
fi
 
18576
 
 
18577
         if false; then
 
18578
  BUILD_CODESNIPPETS_TRUE=
 
18579
  BUILD_CODESNIPPETS_FALSE='#'
 
18580
else
 
18581
  BUILD_CODESNIPPETS_TRUE='#'
 
18582
  BUILD_CODESNIPPETS_FALSE=
 
18583
fi
 
18584
 
 
18585
         if false; then
 
18586
  BUILD_CODESTAT_TRUE=
 
18587
  BUILD_CODESTAT_FALSE='#'
 
18588
else
 
18589
  BUILD_CODESTAT_TRUE='#'
 
18590
  BUILD_CODESTAT_FALSE=
 
18591
fi
 
18592
 
 
18593
         if false; then
 
18594
  BUILD_COPYSTRINGS_TRUE=
 
18595
  BUILD_COPYSTRINGS_FALSE='#'
 
18596
else
 
18597
  BUILD_COPYSTRINGS_TRUE='#'
 
18598
  BUILD_COPYSTRINGS_FALSE=
 
18599
fi
 
18600
 
 
18601
         if false; then
 
18602
  BUILD_CSCOPE_TRUE=
 
18603
  BUILD_CSCOPE_FALSE='#'
 
18604
else
 
18605
  BUILD_CSCOPE_TRUE='#'
 
18606
  BUILD_CSCOPE_FALSE=
 
18607
fi
 
18608
 
 
18609
         if false; then
 
18610
  BUILD_DOXYBLOCKS_TRUE=
 
18611
  BUILD_DOXYBLOCKS_FALSE='#'
 
18612
else
 
18613
  BUILD_DOXYBLOCKS_TRUE='#'
 
18614
  BUILD_DOXYBLOCKS_FALSE=
 
18615
fi
 
18616
 
 
18617
         if false; then
 
18618
  BUILD_DRAGSCROLL_TRUE=
 
18619
  BUILD_DRAGSCROLL_FALSE='#'
 
18620
else
 
18621
  BUILD_DRAGSCROLL_TRUE='#'
 
18622
  BUILD_DRAGSCROLL_FALSE=
 
18623
fi
 
18624
 
 
18625
         if false; then
 
18626
  BUILD_EDITORCONFIG_TRUE=
 
18627
  BUILD_EDITORCONFIG_FALSE='#'
 
18628
else
 
18629
  BUILD_EDITORCONFIG_TRUE='#'
 
18630
  BUILD_EDITORCONFIG_FALSE=
 
18631
fi
 
18632
 
 
18633
         if false; then
 
18634
  BUILD_EDITORTWEAKS_TRUE=
 
18635
  BUILD_EDITORTWEAKS_FALSE='#'
 
18636
else
 
18637
  BUILD_EDITORTWEAKS_TRUE='#'
 
18638
  BUILD_EDITORTWEAKS_FALSE=
 
18639
fi
 
18640
 
 
18641
         if false; then
 
18642
  BUILD_ENVVARS_TRUE=
 
18643
  BUILD_ENVVARS_FALSE='#'
 
18644
else
 
18645
  BUILD_ENVVARS_TRUE='#'
 
18646
  BUILD_ENVVARS_FALSE=
 
18647
fi
 
18648
 
 
18649
         if false; then
 
18650
  BUILD_FILEMANAGER_TRUE=
 
18651
  BUILD_FILEMANAGER_FALSE='#'
 
18652
else
 
18653
  BUILD_FILEMANAGER_TRUE='#'
 
18654
  BUILD_FILEMANAGER_FALSE=
 
18655
fi
 
18656
 
 
18657
         if false; then
 
18658
  BUILD_HEADERFIXUP_TRUE=
 
18659
  BUILD_HEADERFIXUP_FALSE='#'
 
18660
else
 
18661
  BUILD_HEADERFIXUP_TRUE='#'
 
18662
  BUILD_HEADERFIXUP_FALSE=
 
18663
fi
 
18664
 
 
18665
         if false; then
 
18666
  BUILD_HELP_TRUE=
 
18667
  BUILD_HELP_FALSE='#'
 
18668
else
 
18669
  BUILD_HELP_TRUE='#'
 
18670
  BUILD_HELP_FALSE=
 
18671
fi
 
18672
 
 
18673
         if false; then
 
18674
  BUILD_KEYBINDER_TRUE=
 
18675
  BUILD_KEYBINDER_FALSE='#'
 
18676
else
 
18677
  BUILD_KEYBINDER_TRUE='#'
 
18678
  BUILD_KEYBINDER_FALSE=
 
18679
fi
 
18680
 
 
18681
         if false; then
 
18682
  BUILD_LIBFINDER_TRUE=
 
18683
  BUILD_LIBFINDER_FALSE='#'
 
18684
else
 
18685
  BUILD_LIBFINDER_TRUE='#'
 
18686
  BUILD_LIBFINDER_FALSE=
 
18687
fi
 
18688
 
 
18689
         if false; then
 
18690
  BUILD_NASSISHNEIDERMAN_TRUE=
 
18691
  BUILD_NASSISHNEIDERMAN_FALSE='#'
 
18692
else
 
18693
  BUILD_NASSISHNEIDERMAN_TRUE='#'
 
18694
  BUILD_NASSISHNEIDERMAN_FALSE=
 
18695
fi
 
18696
 
 
18697
         if false; then
 
18698
  BUILD_PROFILER_TRUE=
 
18699
  BUILD_PROFILER_FALSE='#'
 
18700
else
 
18701
  BUILD_PROFILER_TRUE='#'
 
18702
  BUILD_PROFILER_FALSE=
 
18703
fi
 
18704
 
 
18705
         if false; then
 
18706
  BUILD_PROJECTOPTIONSMANIPULATOR_TRUE=
 
18707
  BUILD_PROJECTOPTIONSMANIPULATOR_FALSE='#'
 
18708
else
 
18709
  BUILD_PROJECTOPTIONSMANIPULATOR_TRUE='#'
 
18710
  BUILD_PROJECTOPTIONSMANIPULATOR_FALSE=
 
18711
fi
 
18712
 
 
18713
         if false; then
 
18714
  BUILD_REGEX_TRUE=
 
18715
  BUILD_REGEX_FALSE='#'
 
18716
else
 
18717
  BUILD_REGEX_TRUE='#'
 
18718
  BUILD_REGEX_FALSE=
 
18719
fi
 
18720
 
 
18721
         if false; then
 
18722
  BUILD_REOPENEDITOR_TRUE=
 
18723
  BUILD_REOPENEDITOR_FALSE='#'
 
18724
else
 
18725
  BUILD_REOPENEDITOR_TRUE='#'
 
18726
  BUILD_REOPENEDITOR_FALSE=
 
18727
fi
 
18728
 
 
18729
         if false; then
 
18730
  BUILD_EXPORTER_TRUE=
 
18731
  BUILD_EXPORTER_FALSE='#'
 
18732
else
 
18733
  BUILD_EXPORTER_TRUE='#'
 
18734
  BUILD_EXPORTER_FALSE=
 
18735
fi
 
18736
 
 
18737
         if false; then
 
18738
  BUILD_SMARTINDENT_TRUE=
 
18739
  BUILD_SMARTINDENT_FALSE='#'
 
18740
else
 
18741
  BUILD_SMARTINDENT_TRUE='#'
 
18742
  BUILD_SMARTINDENT_FALSE=
 
18743
fi
 
18744
 
 
18745
         if false; then
 
18746
  BUILD_SPELLCHECKER_TRUE=
 
18747
  BUILD_SPELLCHECKER_FALSE='#'
 
18748
else
 
18749
  BUILD_SPELLCHECKER_TRUE='#'
 
18750
  BUILD_SPELLCHECKER_FALSE=
 
18751
fi
 
18752
 
 
18753
         if false; then
 
18754
  BUILD_SYMTAB_TRUE=
 
18755
  BUILD_SYMTAB_FALSE='#'
 
18756
else
 
18757
  BUILD_SYMTAB_TRUE='#'
 
18758
  BUILD_SYMTAB_FALSE=
 
18759
fi
 
18760
 
 
18761
         if false; then
 
18762
  BUILD_THREADSEARCH_TRUE=
 
18763
  BUILD_THREADSEARCH_FALSE='#'
 
18764
else
 
18765
  BUILD_THREADSEARCH_TRUE='#'
 
18766
  BUILD_THREADSEARCH_FALSE=
 
18767
fi
 
18768
 
 
18769
         if false; then
 
18770
  BUILD_TOOLSPLUS_TRUE=
 
18771
  BUILD_TOOLSPLUS_FALSE='#'
 
18772
else
 
18773
  BUILD_TOOLSPLUS_TRUE='#'
 
18774
  BUILD_TOOLSPLUS_FALSE=
 
18775
fi
 
18776
 
 
18777
         if false; then
 
18778
  BUILD_VALGRIND_TRUE=
 
18779
  BUILD_VALGRIND_FALSE='#'
 
18780
else
 
18781
  BUILD_VALGRIND_TRUE='#'
 
18782
  BUILD_VALGRIND_FALSE=
 
18783
fi
 
18784
 
 
18785
         if false; then
 
18786
  BUILD_WXCONTRIB_TRUE=
 
18787
  BUILD_WXCONTRIB_FALSE='#'
 
18788
else
 
18789
  BUILD_WXCONTRIB_TRUE='#'
 
18790
  BUILD_WXCONTRIB_FALSE=
 
18791
fi
 
18792
 
 
18793
         if false; then
 
18794
  BUILD_WXSMITH_TRUE=
 
18795
  BUILD_WXSMITH_FALSE='#'
 
18796
else
 
18797
  BUILD_WXSMITH_TRUE='#'
 
18798
  BUILD_WXSMITH_FALSE=
 
18799
fi
 
18800
 
 
18801
         if false; then
 
18802
  BUILD_WXSMITHCONTRIB_TRUE=
 
18803
  BUILD_WXSMITHCONTRIB_FALSE='#'
 
18804
else
 
18805
  BUILD_WXSMITHCONTRIB_TRUE='#'
 
18806
  BUILD_WXSMITHCONTRIB_FALSE=
 
18807
fi
 
18808
 
 
18809
         if false; then
 
18810
  BUILD_WXSMITHAUI_TRUE=
 
18811
  BUILD_WXSMITHAUI_FALSE='#'
 
18812
else
 
18813
  BUILD_WXSMITHAUI_TRUE='#'
 
18814
  BUILD_WXSMITHAUI_FALSE=
 
18815
fi
 
18816
 
 
18817
         if false; then
 
18818
  BUILD_HEXEDITOR_TRUE=
 
18819
  BUILD_HEXEDITOR_FALSE='#'
 
18820
else
 
18821
  BUILD_HEXEDITOR_TRUE='#'
 
18822
  BUILD_HEXEDITOR_FALSE=
 
18823
fi
 
18824
 
 
18825
         if false; then
 
18826
  BUILD_INCSEARCH_TRUE=
 
18827
  BUILD_INCSEARCH_FALSE='#'
 
18828
else
 
18829
  BUILD_INCSEARCH_TRUE='#'
 
18830
  BUILD_INCSEARCH_FALSE=
 
18831
fi
 
18832
 
 
18833
         if false; then
 
18834
  BUILD_MOUSESAP_TRUE=
 
18835
  BUILD_MOUSESAP_FALSE='#'
 
18836
else
 
18837
  BUILD_MOUSESAP_TRUE='#'
 
18838
  BUILD_MOUSESAP_FALSE=
 
18839
fi
 
18840
 
 
18841
         if false; then
 
18842
  BUILD_CCCC_TRUE=
 
18843
  BUILD_CCCC_FALSE='#'
 
18844
else
 
18845
  BUILD_CCCC_TRUE='#'
 
18846
  BUILD_CCCC_FALSE=
 
18847
fi
 
18848
 
 
18849
         if false; then
 
18850
  BUILD_CPPCHECK_TRUE=
 
18851
  BUILD_CPPCHECK_FALSE='#'
 
18852
else
 
18853
  BUILD_CPPCHECK_TRUE='#'
 
18854
  BUILD_CPPCHECK_FALSE=
 
18855
fi
 
18856
 
 
18857
 
 
18858
 
 
18859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which (if any) contrib plugins to build" >&5
 
18860
$as_echo_n "checking which (if any) contrib plugins to build... " >&6; }
 
18861
 
 
18862
@%:@ Check whether --with-contrib-plugins was given.
 
18863
if test "${with_contrib_plugins+set}" = set; then :
 
18864
  withval=$with_contrib_plugins; plugins="$withval"
 
18865
else
 
18866
  plugins="none"
 
18867
fi
 
18868
 
 
18869
 
 
18870
plugins=`echo $plugins | sed 's/,/ /g'`
 
18871
for plugin in $plugins
 
18872
do
 
18873
    case "$plugin" in
 
18874
        all|yes)
 
18875
                
 
18876
         if true; then
 
18877
  BUILD_AUTOVERSIONING_TRUE=
 
18878
  BUILD_AUTOVERSIONING_FALSE='#'
 
18879
else
 
18880
  BUILD_AUTOVERSIONING_TRUE='#'
 
18881
  BUILD_AUTOVERSIONING_FALSE=
 
18882
fi
 
18883
 
 
18884
         if true; then
 
18885
  BUILD_BROWSETRACKER_TRUE=
 
18886
  BUILD_BROWSETRACKER_FALSE='#'
 
18887
else
 
18888
  BUILD_BROWSETRACKER_TRUE='#'
 
18889
  BUILD_BROWSETRACKER_FALSE=
 
18890
fi
 
18891
 
 
18892
         if true; then
 
18893
  BUILD_BYOGAMES_TRUE=
 
18894
  BUILD_BYOGAMES_FALSE='#'
 
18895
else
 
18896
  BUILD_BYOGAMES_TRUE='#'
 
18897
  BUILD_BYOGAMES_FALSE=
 
18898
fi
 
18899
 
 
18900
         if true; then
 
18901
  BUILD_CBKODERS_TRUE=
 
18902
  BUILD_CBKODERS_FALSE='#'
 
18903
else
 
18904
  BUILD_CBKODERS_TRUE='#'
 
18905
  BUILD_CBKODERS_FALSE=
 
18906
fi
 
18907
 
 
18908
         if true; then
 
18909
  BUILD_CODESNIPPETS_TRUE=
 
18910
  BUILD_CODESNIPPETS_FALSE='#'
 
18911
else
 
18912
  BUILD_CODESNIPPETS_TRUE='#'
 
18913
  BUILD_CODESNIPPETS_FALSE=
 
18914
fi
 
18915
 
 
18916
         if true; then
 
18917
  BUILD_CODESTAT_TRUE=
 
18918
  BUILD_CODESTAT_FALSE='#'
 
18919
else
 
18920
  BUILD_CODESTAT_TRUE='#'
 
18921
  BUILD_CODESTAT_FALSE=
 
18922
fi
 
18923
 
 
18924
         if true; then
 
18925
  BUILD_COPYSTRINGS_TRUE=
 
18926
  BUILD_COPYSTRINGS_FALSE='#'
 
18927
else
 
18928
  BUILD_COPYSTRINGS_TRUE='#'
 
18929
  BUILD_COPYSTRINGS_FALSE=
 
18930
fi
 
18931
 
 
18932
         if true; then
 
18933
  BUILD_CSCOPE_TRUE=
 
18934
  BUILD_CSCOPE_FALSE='#'
 
18935
else
 
18936
  BUILD_CSCOPE_TRUE='#'
 
18937
  BUILD_CSCOPE_FALSE=
 
18938
fi
 
18939
 
 
18940
         if true; then
 
18941
  BUILD_DOXYBLOCKS_TRUE=
 
18942
  BUILD_DOXYBLOCKS_FALSE='#'
 
18943
else
 
18944
  BUILD_DOXYBLOCKS_TRUE='#'
 
18945
  BUILD_DOXYBLOCKS_FALSE=
 
18946
fi
 
18947
 
 
18948
         if true; then
 
18949
  BUILD_DRAGSCROLL_TRUE=
 
18950
  BUILD_DRAGSCROLL_FALSE='#'
 
18951
else
 
18952
  BUILD_DRAGSCROLL_TRUE='#'
 
18953
  BUILD_DRAGSCROLL_FALSE=
 
18954
fi
 
18955
 
 
18956
         if true; then
 
18957
  BUILD_EDITORCONFIG_TRUE=
 
18958
  BUILD_EDITORCONFIG_FALSE='#'
 
18959
else
 
18960
  BUILD_EDITORCONFIG_TRUE='#'
 
18961
  BUILD_EDITORCONFIG_FALSE=
 
18962
fi
 
18963
 
 
18964
         if true; then
 
18965
  BUILD_EDITORTWEAKS_TRUE=
 
18966
  BUILD_EDITORTWEAKS_FALSE='#'
 
18967
else
 
18968
  BUILD_EDITORTWEAKS_TRUE='#'
 
18969
  BUILD_EDITORTWEAKS_FALSE=
 
18970
fi
 
18971
 
 
18972
         if true; then
 
18973
  BUILD_ENVVARS_TRUE=
 
18974
  BUILD_ENVVARS_FALSE='#'
 
18975
else
 
18976
  BUILD_ENVVARS_TRUE='#'
 
18977
  BUILD_ENVVARS_FALSE=
 
18978
fi
 
18979
 
 
18980
         if true; then
 
18981
  BUILD_FILEMANAGER_TRUE=
 
18982
  BUILD_FILEMANAGER_FALSE='#'
 
18983
else
 
18984
  BUILD_FILEMANAGER_TRUE='#'
 
18985
  BUILD_FILEMANAGER_FALSE=
 
18986
fi
 
18987
 
 
18988
         if true; then
 
18989
  BUILD_HEADERFIXUP_TRUE=
 
18990
  BUILD_HEADERFIXUP_FALSE='#'
 
18991
else
 
18992
  BUILD_HEADERFIXUP_TRUE='#'
 
18993
  BUILD_HEADERFIXUP_FALSE=
 
18994
fi
 
18995
 
 
18996
         if true; then
 
18997
  BUILD_HELP_TRUE=
 
18998
  BUILD_HELP_FALSE='#'
 
18999
else
 
19000
  BUILD_HELP_TRUE='#'
 
19001
  BUILD_HELP_FALSE=
 
19002
fi
 
19003
 
 
19004
         if true; then
 
19005
  BUILD_KEYBINDER_TRUE=
 
19006
  BUILD_KEYBINDER_FALSE='#'
 
19007
else
 
19008
  BUILD_KEYBINDER_TRUE='#'
 
19009
  BUILD_KEYBINDER_FALSE=
 
19010
fi
 
19011
 
 
19012
         if true; then
 
19013
  BUILD_LIBFINDER_TRUE=
 
19014
  BUILD_LIBFINDER_FALSE='#'
 
19015
else
 
19016
  BUILD_LIBFINDER_TRUE='#'
 
19017
  BUILD_LIBFINDER_FALSE=
 
19018
fi
 
19019
 
 
19020
         if true; then
 
19021
  BUILD_NASSISHNEIDERMAN_TRUE=
 
19022
  BUILD_NASSISHNEIDERMAN_FALSE='#'
 
19023
else
 
19024
  BUILD_NASSISHNEIDERMAN_TRUE='#'
 
19025
  BUILD_NASSISHNEIDERMAN_FALSE=
 
19026
fi
 
19027
 
 
19028
         if true; then
 
19029
  BUILD_PROJECTOPTIONSMANIPULATOR_TRUE=
 
19030
  BUILD_PROJECTOPTIONSMANIPULATOR_FALSE='#'
 
19031
else
 
19032
  BUILD_PROJECTOPTIONSMANIPULATOR_TRUE='#'
 
19033
  BUILD_PROJECTOPTIONSMANIPULATOR_FALSE=
 
19034
fi
 
19035
 
 
19036
         if true; then
 
19037
  BUILD_PROFILER_TRUE=
 
19038
  BUILD_PROFILER_FALSE='#'
 
19039
else
 
19040
  BUILD_PROFILER_TRUE='#'
 
19041
  BUILD_PROFILER_FALSE=
 
19042
fi
 
19043
 
 
19044
         if true; then
 
19045
  BUILD_REGEX_TRUE=
 
19046
  BUILD_REGEX_FALSE='#'
 
19047
else
 
19048
  BUILD_REGEX_TRUE='#'
 
19049
  BUILD_REGEX_FALSE=
 
19050
fi
 
19051
 
 
19052
         if true; then
 
19053
  BUILD_REOPENEDITOR_TRUE=
 
19054
  BUILD_REOPENEDITOR_FALSE='#'
 
19055
else
 
19056
  BUILD_REOPENEDITOR_TRUE='#'
 
19057
  BUILD_REOPENEDITOR_FALSE=
 
19058
fi
 
19059
 
 
19060
         if true; then
 
19061
  BUILD_EXPORTER_TRUE=
 
19062
  BUILD_EXPORTER_FALSE='#'
 
19063
else
 
19064
  BUILD_EXPORTER_TRUE='#'
 
19065
  BUILD_EXPORTER_FALSE=
 
19066
fi
 
19067
 
 
19068
         if true; then
 
19069
  BUILD_SMARTINDENT_TRUE=
 
19070
  BUILD_SMARTINDENT_FALSE='#'
 
19071
else
 
19072
  BUILD_SMARTINDENT_TRUE='#'
 
19073
  BUILD_SMARTINDENT_FALSE=
 
19074
fi
 
19075
 
 
19076
         if true; then
 
19077
  BUILD_SPELLCHECKER_TRUE=
 
19078
  BUILD_SPELLCHECKER_FALSE='#'
 
19079
else
 
19080
  BUILD_SPELLCHECKER_TRUE='#'
 
19081
  BUILD_SPELLCHECKER_FALSE=
 
19082
fi
 
19083
 
 
19084
         if true; then
 
19085
  BUILD_SYMTAB_TRUE=
 
19086
  BUILD_SYMTAB_FALSE='#'
 
19087
else
 
19088
  BUILD_SYMTAB_TRUE='#'
 
19089
  BUILD_SYMTAB_FALSE=
 
19090
fi
 
19091
 
 
19092
         if true; then
 
19093
  BUILD_THREADSEARCH_TRUE=
 
19094
  BUILD_THREADSEARCH_FALSE='#'
 
19095
else
 
19096
  BUILD_THREADSEARCH_TRUE='#'
 
19097
  BUILD_THREADSEARCH_FALSE=
 
19098
fi
 
19099
 
 
19100
         if true; then
 
19101
  BUILD_TOOLSPLUS_TRUE=
 
19102
  BUILD_TOOLSPLUS_FALSE='#'
 
19103
else
 
19104
  BUILD_TOOLSPLUS_TRUE='#'
 
19105
  BUILD_TOOLSPLUS_FALSE=
 
19106
fi
 
19107
 
 
19108
         if true; then
 
19109
  BUILD_VALGRIND_TRUE=
 
19110
  BUILD_VALGRIND_FALSE='#'
 
19111
else
 
19112
  BUILD_VALGRIND_TRUE='#'
 
19113
  BUILD_VALGRIND_FALSE=
 
19114
fi
 
19115
 
 
19116
         if true; then
 
19117
  BUILD_WXCONTRIB_TRUE=
 
19118
  BUILD_WXCONTRIB_FALSE='#'
 
19119
else
 
19120
  BUILD_WXCONTRIB_TRUE='#'
 
19121
  BUILD_WXCONTRIB_FALSE=
 
19122
fi
 
19123
 
 
19124
         if true; then
 
19125
  BUILD_WXSMITH_TRUE=
 
19126
  BUILD_WXSMITH_FALSE='#'
 
19127
else
 
19128
  BUILD_WXSMITH_TRUE='#'
 
19129
  BUILD_WXSMITH_FALSE=
 
19130
fi
 
19131
 
 
19132
         if true; then
 
19133
  BUILD_WXSMITHCONTRIB_TRUE=
 
19134
  BUILD_WXSMITHCONTRIB_FALSE='#'
 
19135
else
 
19136
  BUILD_WXSMITHCONTRIB_TRUE='#'
 
19137
  BUILD_WXSMITHCONTRIB_FALSE=
 
19138
fi
 
19139
 
 
19140
         if true; then
 
19141
  BUILD_WXSMITHAUI_TRUE=
 
19142
  BUILD_WXSMITHAUI_FALSE='#'
 
19143
else
 
19144
  BUILD_WXSMITHAUI_TRUE='#'
 
19145
  BUILD_WXSMITHAUI_FALSE=
 
19146
fi
 
19147
 
 
19148
         if true; then
 
19149
  BUILD_HEXEDITOR_TRUE=
 
19150
  BUILD_HEXEDITOR_FALSE='#'
 
19151
else
 
19152
  BUILD_HEXEDITOR_TRUE='#'
 
19153
  BUILD_HEXEDITOR_FALSE=
 
19154
fi
 
19155
 
 
19156
         if true; then
 
19157
  BUILD_INCSEARCH_TRUE=
 
19158
  BUILD_INCSEARCH_FALSE='#'
 
19159
else
 
19160
  BUILD_INCSEARCH_TRUE='#'
 
19161
  BUILD_INCSEARCH_FALSE=
 
19162
fi
 
19163
 
 
19164
         if true; then
 
19165
  BUILD_MOUSESAP_TRUE=
 
19166
  BUILD_MOUSESAP_FALSE='#'
 
19167
else
 
19168
  BUILD_MOUSESAP_TRUE='#'
 
19169
  BUILD_MOUSESAP_FALSE=
 
19170
fi
 
19171
 
 
19172
         if true; then
 
19173
  BUILD_CCCC_TRUE=
 
19174
  BUILD_CCCC_FALSE='#'
 
19175
else
 
19176
  BUILD_CCCC_TRUE='#'
 
19177
  BUILD_CCCC_FALSE=
 
19178
fi
 
19179
 
 
19180
         if true; then
 
19181
  BUILD_CPPCHECK_TRUE=
 
19182
  BUILD_CPPCHECK_FALSE='#'
 
19183
else
 
19184
  BUILD_CPPCHECK_TRUE='#'
 
19185
  BUILD_CPPCHECK_FALSE=
 
19186
fi
 
19187
 
 
19188
 
 
19189
                ;;
 
19190
        AutoVersioning)
 
19191
                 if true; then
 
19192
  BUILD_AUTOVERSIONING_TRUE=
 
19193
  BUILD_AUTOVERSIONING_FALSE='#'
 
19194
else
 
19195
  BUILD_AUTOVERSIONING_TRUE='#'
 
19196
  BUILD_AUTOVERSIONING_FALSE=
 
19197
fi
 
19198
 
 
19199
                ;;
 
19200
        BrowseTracker)
 
19201
                 if true; then
 
19202
  BUILD_BROWSETRACKER_TRUE=
 
19203
  BUILD_BROWSETRACKER_FALSE='#'
 
19204
else
 
19205
  BUILD_BROWSETRACKER_TRUE='#'
 
19206
  BUILD_BROWSETRACKER_FALSE=
 
19207
fi
 
19208
 
 
19209
                ;;
 
19210
        byogames)
 
19211
                 if true; then
 
19212
  BUILD_BYOGAMES_TRUE=
 
19213
  BUILD_BYOGAMES_FALSE='#'
 
19214
else
 
19215
  BUILD_BYOGAMES_TRUE='#'
 
19216
  BUILD_BYOGAMES_FALSE=
 
19217
fi
 
19218
 
 
19219
                ;;
 
19220
        cbkoders)
 
19221
                 if true; then
 
19222
  BUILD_CBKODERS_TRUE=
 
19223
  BUILD_CBKODERS_FALSE='#'
 
19224
else
 
19225
  BUILD_CBKODERS_TRUE='#'
 
19226
  BUILD_CBKODERS_FALSE=
 
19227
fi
 
19228
 
 
19229
                ;;
 
19230
        codesnippets)
 
19231
                 if true; then
 
19232
  BUILD_CODESNIPPETS_TRUE=
 
19233
  BUILD_CODESNIPPETS_FALSE='#'
 
19234
else
 
19235
  BUILD_CODESNIPPETS_TRUE='#'
 
19236
  BUILD_CODESNIPPETS_FALSE=
 
19237
fi
 
19238
 
 
19239
                ;;
 
19240
        codestat)
 
19241
                 if true; then
 
19242
  BUILD_CODESTAT_TRUE=
 
19243
  BUILD_CODESTAT_FALSE='#'
 
19244
else
 
19245
  BUILD_CODESTAT_TRUE='#'
 
19246
  BUILD_CODESTAT_FALSE=
 
19247
fi
 
19248
 
 
19249
                ;;
 
19250
        copystrings)
 
19251
                 if true; then
 
19252
  BUILD_COPYSTRINGS_TRUE=
 
19253
  BUILD_COPYSTRINGS_FALSE='#'
 
19254
else
 
19255
  BUILD_COPYSTRINGS_TRUE='#'
 
19256
  BUILD_COPYSTRINGS_FALSE=
 
19257
fi
 
19258
 
 
19259
                ;;
 
19260
        Cscope)
 
19261
                 if true; then
 
19262
  BUILD_CSCOPE_TRUE=
 
19263
  BUILD_CSCOPE_FALSE='#'
 
19264
else
 
19265
  BUILD_CSCOPE_TRUE='#'
 
19266
  BUILD_CSCOPE_FALSE=
 
19267
fi
 
19268
 
 
19269
                ;;
 
19270
        DoxyBlocks)
 
19271
                 if true; then
 
19272
  BUILD_DOXYBLOCKS_TRUE=
 
19273
  BUILD_DOXYBLOCKS_FALSE='#'
 
19274
else
 
19275
  BUILD_DOXYBLOCKS_TRUE='#'
 
19276
  BUILD_DOXYBLOCKS_FALSE=
 
19277
fi
 
19278
 
 
19279
                ;;
 
19280
        dragscroll)
 
19281
                 if true; then
 
19282
  BUILD_DRAGSCROLL_TRUE=
 
19283
  BUILD_DRAGSCROLL_FALSE='#'
 
19284
else
 
19285
  BUILD_DRAGSCROLL_TRUE='#'
 
19286
  BUILD_DRAGSCROLL_FALSE=
 
19287
fi
 
19288
 
 
19289
                ;;
 
19290
        EditorConfig)
 
19291
                 if true; then
 
19292
  BUILD_EDITORCONFIG_TRUE=
 
19293
  BUILD_EDITORCONFIG_FALSE='#'
 
19294
else
 
19295
  BUILD_EDITORCONFIG_TRUE='#'
 
19296
  BUILD_EDITORCONFIG_FALSE=
 
19297
fi
 
19298
 
 
19299
                ;;
 
19300
        EditorTweaks)
 
19301
                 if true; then
 
19302
  BUILD_EDITORTWEAKS_TRUE=
 
19303
  BUILD_EDITORTWEAKS_FALSE='#'
 
19304
else
 
19305
  BUILD_EDITORTWEAKS_TRUE='#'
 
19306
  BUILD_EDITORTWEAKS_FALSE=
 
19307
fi
 
19308
 
 
19309
                ;;
 
19310
        envvars)
 
19311
                 if true; then
 
19312
  BUILD_ENVVARS_TRUE=
 
19313
  BUILD_ENVVARS_FALSE='#'
 
19314
else
 
19315
  BUILD_ENVVARS_TRUE='#'
 
19316
  BUILD_ENVVARS_FALSE=
 
19317
fi
 
19318
 
 
19319
                ;;
 
19320
        FileManager)
 
19321
                 if true; then
 
19322
  BUILD_FILEMANAGER_TRUE=
 
19323
  BUILD_FILEMANAGER_FALSE='#'
 
19324
else
 
19325
  BUILD_FILEMANAGER_TRUE='#'
 
19326
  BUILD_FILEMANAGER_FALSE=
 
19327
fi
 
19328
 
 
19329
                ;;
 
19330
        headerfixup)
 
19331
                 if true; then
 
19332
  BUILD_HEADERFIXUP_TRUE=
 
19333
  BUILD_HEADERFIXUP_FALSE='#'
 
19334
else
 
19335
  BUILD_HEADERFIXUP_TRUE='#'
 
19336
  BUILD_HEADERFIXUP_FALSE=
 
19337
fi
 
19338
 
 
19339
                ;;
 
19340
        help)
 
19341
                 if true; then
 
19342
  BUILD_HELP_TRUE=
 
19343
  BUILD_HELP_FALSE='#'
 
19344
else
 
19345
  BUILD_HELP_TRUE='#'
 
19346
  BUILD_HELP_FALSE=
 
19347
fi
 
19348
 
 
19349
                ;;
 
19350
        keybinder)
 
19351
                 if true; then
 
19352
  BUILD_KEYBINDER_TRUE=
 
19353
  BUILD_KEYBINDER_FALSE='#'
 
19354
else
 
19355
  BUILD_KEYBINDER_TRUE='#'
 
19356
  BUILD_KEYBINDER_FALSE=
 
19357
fi
 
19358
 
 
19359
                ;;
 
19360
        libfinder)
 
19361
                 if true; then
 
19362
  BUILD_LIBFINDER_TRUE=
 
19363
  BUILD_LIBFINDER_FALSE='#'
 
19364
else
 
19365
  BUILD_LIBFINDER_TRUE='#'
 
19366
  BUILD_LIBFINDER_FALSE=
 
19367
fi
 
19368
 
 
19369
                ;;
 
19370
        NassiShneiderman)
 
19371
                 if true; then
 
19372
  BUILD_NASSISHNEIDERMAN_TRUE=
 
19373
  BUILD_NASSISHNEIDERMAN_FALSE='#'
 
19374
else
 
19375
  BUILD_NASSISHNEIDERMAN_TRUE='#'
 
19376
  BUILD_NASSISHNEIDERMAN_FALSE=
 
19377
fi
 
19378
 
 
19379
                ;;
 
19380
        ProjectOptionsManipulator)
 
19381
                 if true; then
 
19382
  BUILD_PROJECTOPTIONSMANIPULATOR_TRUE=
 
19383
  BUILD_PROJECTOPTIONSMANIPULATOR_FALSE='#'
 
19384
else
 
19385
  BUILD_PROJECTOPTIONSMANIPULATOR_TRUE='#'
 
19386
  BUILD_PROJECTOPTIONSMANIPULATOR_FALSE=
 
19387
fi
 
19388
 
 
19389
                ;;
 
19390
        profiler)
 
19391
                 if true; then
 
19392
  BUILD_PROFILER_TRUE=
 
19393
  BUILD_PROFILER_FALSE='#'
 
19394
else
 
19395
  BUILD_PROFILER_TRUE='#'
 
19396
  BUILD_PROFILER_FALSE=
 
19397
fi
 
19398
 
 
19399
                ;;
 
19400
        regex)
 
19401
                 if true; then
 
19402
  BUILD_REGEX_TRUE=
 
19403
  BUILD_REGEX_FALSE='#'
 
19404
else
 
19405
  BUILD_REGEX_TRUE='#'
 
19406
  BUILD_REGEX_FALSE=
 
19407
fi
 
19408
 
 
19409
                ;;
 
19410
        ReopenEditor)
 
19411
                 if true; then
 
19412
  BUILD_REOPENEDITOR_TRUE=
 
19413
  BUILD_REOPENEDITOR_FALSE='#'
 
19414
else
 
19415
  BUILD_REOPENEDITOR_TRUE='#'
 
19416
  BUILD_REOPENEDITOR_FALSE=
 
19417
fi
 
19418
 
 
19419
                ;;
 
19420
        exporter)
 
19421
                 if true; then
 
19422
  BUILD_EXPORTER_TRUE=
 
19423
  BUILD_EXPORTER_FALSE='#'
 
19424
else
 
19425
  BUILD_EXPORTER_TRUE='#'
 
19426
  BUILD_EXPORTER_FALSE=
 
19427
fi
 
19428
 
 
19429
                ;;
 
19430
        smartindent)
 
19431
                 if true; then
 
19432
  BUILD_SMARTINDENT_TRUE=
 
19433
  BUILD_SMARTINDENT_FALSE='#'
 
19434
else
 
19435
  BUILD_SMARTINDENT_TRUE='#'
 
19436
  BUILD_SMARTINDENT_FALSE=
 
19437
fi
 
19438
 
 
19439
                ;;
 
19440
        spellchecker)
 
19441
                 if true; then
 
19442
  BUILD_SPELLCHECKER_TRUE=
 
19443
  BUILD_SPELLCHECKER_FALSE='#'
 
19444
else
 
19445
  BUILD_SPELLCHECKER_TRUE='#'
 
19446
  BUILD_SPELLCHECKER_FALSE=
 
19447
fi
 
19448
 
 
19449
                ;;
 
19450
        symtab)
 
19451
                 if true; then
 
19452
  BUILD_SYMTAB_TRUE=
 
19453
  BUILD_SYMTAB_FALSE='#'
 
19454
else
 
19455
  BUILD_SYMTAB_TRUE='#'
 
19456
  BUILD_SYMTAB_FALSE=
 
19457
fi
 
19458
 
 
19459
                ;;
 
19460
        ThreadSearch)
 
19461
                 if true; then
 
19462
  BUILD_THREADSEARCH_TRUE=
 
19463
  BUILD_THREADSEARCH_FALSE='#'
 
19464
else
 
19465
  BUILD_THREADSEARCH_TRUE='#'
 
19466
  BUILD_THREADSEARCH_FALSE=
 
19467
fi
 
19468
 
 
19469
                ;;
 
19470
        ToolsPlus)
 
19471
                 if true; then
 
19472
  BUILD_TOOLSPLUS_TRUE=
 
19473
  BUILD_TOOLSPLUS_FALSE='#'
 
19474
else
 
19475
  BUILD_TOOLSPLUS_TRUE='#'
 
19476
  BUILD_TOOLSPLUS_FALSE=
 
19477
fi
 
19478
 
 
19479
                ;;
 
19480
        Valgrind)
 
19481
                 if true; then
 
19482
  BUILD_VALGRIND_TRUE=
 
19483
  BUILD_VALGRIND_FALSE='#'
 
19484
else
 
19485
  BUILD_VALGRIND_TRUE='#'
 
19486
  BUILD_VALGRIND_FALSE=
 
19487
fi
 
19488
 
 
19489
                ;;
 
19490
        wxcontrib)
 
19491
                 if true; then
 
19492
  BUILD_WXCONTRIB_TRUE=
 
19493
  BUILD_WXCONTRIB_FALSE='#'
 
19494
else
 
19495
  BUILD_WXCONTRIB_TRUE='#'
 
19496
  BUILD_WXCONTRIB_FALSE=
 
19497
fi
 
19498
 
 
19499
                ;;
 
19500
        wxsmith)
 
19501
                 if true; then
 
19502
  BUILD_WXSMITH_TRUE=
 
19503
  BUILD_WXSMITH_FALSE='#'
 
19504
else
 
19505
  BUILD_WXSMITH_TRUE='#'
 
19506
  BUILD_WXSMITH_FALSE=
 
19507
fi
 
19508
 
 
19509
                ;;
 
19510
        wxsmithcontrib)
 
19511
                 if true; then
 
19512
  BUILD_WXSMITHCONTRIB_TRUE=
 
19513
  BUILD_WXSMITHCONTRIB_FALSE='#'
 
19514
else
 
19515
  BUILD_WXSMITHCONTRIB_TRUE='#'
 
19516
  BUILD_WXSMITHCONTRIB_FALSE=
 
19517
fi
 
19518
 
 
19519
                ;;
 
19520
        wxsmithaui)
 
19521
                 if true; then
 
19522
  BUILD_WXSMITHAUI_TRUE=
 
19523
  BUILD_WXSMITHAUI_FALSE='#'
 
19524
else
 
19525
  BUILD_WXSMITHAUI_TRUE='#'
 
19526
  BUILD_WXSMITHAUI_FALSE=
 
19527
fi
 
19528
 
 
19529
                ;;
 
19530
        hexeditor)
 
19531
                 if true; then
 
19532
  BUILD_HEXEDITOR_TRUE=
 
19533
  BUILD_HEXEDITOR_FALSE='#'
 
19534
else
 
19535
  BUILD_HEXEDITOR_TRUE='#'
 
19536
  BUILD_HEXEDITOR_FALSE=
 
19537
fi
 
19538
 
 
19539
                ;;
 
19540
        incsearch)
 
19541
                 if true; then
 
19542
  BUILD_INCSEARCH_TRUE=
 
19543
  BUILD_INCSEARCH_FALSE='#'
 
19544
else
 
19545
  BUILD_INCSEARCH_TRUE='#'
 
19546
  BUILD_INCSEARCH_FALSE=
 
19547
fi
 
19548
 
 
19549
                ;;
 
19550
        MouseSap)
 
19551
                 if true; then
 
19552
  BUILD_MOUSESAP_TRUE=
 
19553
  BUILD_MOUSESAP_FALSE='#'
 
19554
else
 
19555
  BUILD_MOUSESAP_TRUE='#'
 
19556
  BUILD_MOUSESAP_FALSE=
 
19557
fi
 
19558
 
 
19559
                ;;
 
19560
        Cccc)
 
19561
                 if true; then
 
19562
  BUILD_CCCC_TRUE=
 
19563
  BUILD_CCCC_FALSE='#'
 
19564
else
 
19565
  BUILD_CCCC_TRUE='#'
 
19566
  BUILD_CCCC_FALSE=
 
19567
fi
 
19568
 
 
19569
                ;;
 
19570
        CppCheck)
 
19571
                 if true; then
 
19572
  BUILD_CPPCHECK_TRUE=
 
19573
  BUILD_CPPCHECK_FALSE='#'
 
19574
else
 
19575
  BUILD_CPPCHECK_TRUE='#'
 
19576
  BUILD_CPPCHECK_FALSE=
 
19577
fi
 
19578
 
 
19579
                ;;
 
19580
        -AutoVersioning)
 
19581
                 if false; then
 
19582
  BUILD_AUTOVERSIONING_TRUE=
 
19583
  BUILD_AUTOVERSIONING_FALSE='#'
 
19584
else
 
19585
  BUILD_AUTOVERSIONING_TRUE='#'
 
19586
  BUILD_AUTOVERSIONING_FALSE=
 
19587
fi
 
19588
 
 
19589
                ;;
 
19590
        -BrowseTracker)
 
19591
                 if false; then
 
19592
  BUILD_BROWSETRACKER_TRUE=
 
19593
  BUILD_BROWSETRACKER_FALSE='#'
 
19594
else
 
19595
  BUILD_BROWSETRACKER_TRUE='#'
 
19596
  BUILD_BROWSETRACKER_FALSE=
 
19597
fi
 
19598
 
 
19599
                ;;
 
19600
        -byogames)
 
19601
                 if false; then
 
19602
  BUILD_BYOGAMES_TRUE=
 
19603
  BUILD_BYOGAMES_FALSE='#'
 
19604
else
 
19605
  BUILD_BYOGAMES_TRUE='#'
 
19606
  BUILD_BYOGAMES_FALSE=
 
19607
fi
 
19608
 
 
19609
                ;;
 
19610
        -cbkoders)
 
19611
                 if false; then
 
19612
  BUILD_CBKODERS_TRUE=
 
19613
  BUILD_CBKODERS_FALSE='#'
 
19614
else
 
19615
  BUILD_CBKODERS_TRUE='#'
 
19616
  BUILD_CBKODERS_FALSE=
 
19617
fi
 
19618
 
 
19619
                ;;
 
19620
        -codesnippets)
 
19621
                 if false; then
 
19622
  BUILD_CODESNIPPETS_TRUE=
 
19623
  BUILD_CODESNIPPETS_FALSE='#'
 
19624
else
 
19625
  BUILD_CODESNIPPETS_TRUE='#'
 
19626
  BUILD_CODESNIPPETS_FALSE=
 
19627
fi
 
19628
 
 
19629
                ;;
 
19630
        -codestat)
 
19631
                 if false; then
 
19632
  BUILD_CODESTAT_TRUE=
 
19633
  BUILD_CODESTAT_FALSE='#'
 
19634
else
 
19635
  BUILD_CODESTAT_TRUE='#'
 
19636
  BUILD_CODESTAT_FALSE=
 
19637
fi
 
19638
 
 
19639
                ;;
 
19640
        -copystrings)
 
19641
                 if false; then
 
19642
  BUILD_COPYSTRINGS_TRUE=
 
19643
  BUILD_COPYSTRINGS_FALSE='#'
 
19644
else
 
19645
  BUILD_COPYSTRINGS_TRUE='#'
 
19646
  BUILD_COPYSTRINGS_FALSE=
 
19647
fi
 
19648
 
 
19649
                ;;
 
19650
        -Cscope)
 
19651
                 if false; then
 
19652
  BUILD_CSCOPE_TRUE=
 
19653
  BUILD_CSCOPE_FALSE='#'
 
19654
else
 
19655
  BUILD_CSCOPE_TRUE='#'
 
19656
  BUILD_CSCOPE_FALSE=
 
19657
fi
 
19658
 
 
19659
                ;;
 
19660
        -DoxyBlocks)
 
19661
                 if false; then
 
19662
  BUILD_DOXYBLOCKS_TRUE=
 
19663
  BUILD_DOXYBLOCKS_FALSE='#'
 
19664
else
 
19665
  BUILD_DOXYBLOCKS_TRUE='#'
 
19666
  BUILD_DOXYBLOCKS_FALSE=
 
19667
fi
 
19668
 
 
19669
                ;;
 
19670
        -dragscroll)
 
19671
                 if false; then
 
19672
  BUILD_DRAGSCROLL_TRUE=
 
19673
  BUILD_DRAGSCROLL_FALSE='#'
 
19674
else
 
19675
  BUILD_DRAGSCROLL_TRUE='#'
 
19676
  BUILD_DRAGSCROLL_FALSE=
 
19677
fi
 
19678
 
 
19679
                ;;
 
19680
        -EditorConfig)
 
19681
                 if false; then
 
19682
  BUILD_EDITORCONFIG_TRUE=
 
19683
  BUILD_EDITORCONFIG_FALSE='#'
 
19684
else
 
19685
  BUILD_EDITORCONFIG_TRUE='#'
 
19686
  BUILD_EDITORCONFIG_FALSE=
 
19687
fi
 
19688
 
 
19689
                ;;
 
19690
        -EditorTweaks)
 
19691
                 if false; then
 
19692
  BUILD_EDITORTWEAKS_TRUE=
 
19693
  BUILD_EDITORTWEAKS_FALSE='#'
 
19694
else
 
19695
  BUILD_EDITORTWEAKS_TRUE='#'
 
19696
  BUILD_EDITORTWEAKS_FALSE=
 
19697
fi
 
19698
 
 
19699
                ;;
 
19700
        -envvars)
 
19701
                 if false; then
 
19702
  BUILD_ENVVARS_TRUE=
 
19703
  BUILD_ENVVARS_FALSE='#'
 
19704
else
 
19705
  BUILD_ENVVARS_TRUE='#'
 
19706
  BUILD_ENVVARS_FALSE=
 
19707
fi
 
19708
 
 
19709
                ;;
 
19710
        -FileManager)
 
19711
                 if false; then
 
19712
  BUILD_FILEMANAGER_TRUE=
 
19713
  BUILD_FILEMANAGER_FALSE='#'
 
19714
else
 
19715
  BUILD_FILEMANAGER_TRUE='#'
 
19716
  BUILD_FILEMANAGER_FALSE=
 
19717
fi
 
19718
 
 
19719
                ;;
 
19720
        -headerfixup)
 
19721
                 if false; then
 
19722
  BUILD_HEADERFIXUP_TRUE=
 
19723
  BUILD_HEADERFIXUP_FALSE='#'
 
19724
else
 
19725
  BUILD_HEADERFIXUP_TRUE='#'
 
19726
  BUILD_HEADERFIXUP_FALSE=
 
19727
fi
 
19728
 
 
19729
                ;;
 
19730
        -help)
 
19731
                 if false; then
 
19732
  BUILD_HELP_TRUE=
 
19733
  BUILD_HELP_FALSE='#'
 
19734
else
 
19735
  BUILD_HELP_TRUE='#'
 
19736
  BUILD_HELP_FALSE=
 
19737
fi
 
19738
 
 
19739
                ;;
 
19740
        -keybinder)
 
19741
                 if false; then
 
19742
  BUILD_KEYBINDER_TRUE=
 
19743
  BUILD_KEYBINDER_FALSE='#'
 
19744
else
 
19745
  BUILD_KEYBINDER_TRUE='#'
 
19746
  BUILD_KEYBINDER_FALSE=
 
19747
fi
 
19748
 
 
19749
                ;;
 
19750
        -libfinder)
 
19751
                 if false; then
 
19752
  BUILD_LIBFINDER_TRUE=
 
19753
  BUILD_LIBFINDER_FALSE='#'
 
19754
else
 
19755
  BUILD_LIBFINDER_TRUE='#'
 
19756
  BUILD_LIBFINDER_FALSE=
 
19757
fi
 
19758
 
 
19759
                ;;
 
19760
        -NassiShneiderman)
 
19761
                 if false; then
 
19762
  BUILD_NASSISHNEIDERMAN_TRUE=
 
19763
  BUILD_NASSISHNEIDERMAN_FALSE='#'
 
19764
else
 
19765
  BUILD_NASSISHNEIDERMAN_TRUE='#'
 
19766
  BUILD_NASSISHNEIDERMAN_FALSE=
 
19767
fi
 
19768
 
 
19769
                ;;
 
19770
        -profiler)
 
19771
                 if false; then
 
19772
  BUILD_PROFILER_TRUE=
 
19773
  BUILD_PROFILER_FALSE='#'
 
19774
else
 
19775
  BUILD_PROFILER_TRUE='#'
 
19776
  BUILD_PROFILER_FALSE=
 
19777
fi
 
19778
 
 
19779
                ;;
 
19780
        -regex)
 
19781
                 if false; then
 
19782
  BUILD_REGEX_TRUE=
 
19783
  BUILD_REGEX_FALSE='#'
 
19784
else
 
19785
  BUILD_REGEX_TRUE='#'
 
19786
  BUILD_REGEX_FALSE=
 
19787
fi
 
19788
 
 
19789
                ;;
 
19790
        -ReopenEditor)
 
19791
                 if false; then
 
19792
  BUILD_REOPENEDITOR_TRUE=
 
19793
  BUILD_REOPENEDITOR_FALSE='#'
 
19794
else
 
19795
  BUILD_REOPENEDITOR_TRUE='#'
 
19796
  BUILD_REOPENEDITOR_FALSE=
 
19797
fi
 
19798
 
 
19799
                ;;
 
19800
        -exporter)
 
19801
                 if false; then
 
19802
  BUILD_EXPORTER_TRUE=
 
19803
  BUILD_EXPORTER_FALSE='#'
 
19804
else
 
19805
  BUILD_EXPORTER_TRUE='#'
 
19806
  BUILD_EXPORTER_FALSE=
 
19807
fi
 
19808
 
 
19809
                ;;
 
19810
        -smartindent)
 
19811
                 if false; then
 
19812
  BUILD_SMARTINDENT_TRUE=
 
19813
  BUILD_SMARTINDENT_FALSE='#'
 
19814
else
 
19815
  BUILD_SMARTINDENT_TRUE='#'
 
19816
  BUILD_SMARTINDENT_FALSE=
 
19817
fi
 
19818
 
 
19819
                ;;
 
19820
        -spellchecker)
 
19821
                 if false; then
 
19822
  BUILD_SPELLCHECKER_TRUE=
 
19823
  BUILD_SPELLCHECKER_FALSE='#'
 
19824
else
 
19825
  BUILD_SPELLCHECKER_TRUE='#'
 
19826
  BUILD_SPELLCHECKER_FALSE=
 
19827
fi
 
19828
 
 
19829
                ;;
 
19830
        -symtab)
 
19831
                 if false; then
 
19832
  BUILD_SYMTAB_TRUE=
 
19833
  BUILD_SYMTAB_FALSE='#'
 
19834
else
 
19835
  BUILD_SYMTAB_TRUE='#'
 
19836
  BUILD_SYMTAB_FALSE=
 
19837
fi
 
19838
 
 
19839
                ;;
 
19840
        -ThreadSearch)
 
19841
                 if false; then
 
19842
  BUILD_THREADSEARCH_TRUE=
 
19843
  BUILD_THREADSEARCH_FALSE='#'
 
19844
else
 
19845
  BUILD_THREADSEARCH_TRUE='#'
 
19846
  BUILD_THREADSEARCH_FALSE=
 
19847
fi
 
19848
 
 
19849
                ;;
 
19850
        -ToolsPlus)
 
19851
                 if false; then
 
19852
  BUILD_TOOLSPLUS_TRUE=
 
19853
  BUILD_TOOLSPLUS_FALSE='#'
 
19854
else
 
19855
  BUILD_TOOLSPLUS_TRUE='#'
 
19856
  BUILD_TOOLSPLUS_FALSE=
 
19857
fi
 
19858
 
 
19859
                ;;
 
19860
        -Valgrind)
 
19861
                 if false; then
 
19862
  BUILD_VALGRIND_TRUE=
 
19863
  BUILD_VALGRIND_FALSE='#'
 
19864
else
 
19865
  BUILD_VALGRIND_TRUE='#'
 
19866
  BUILD_VALGRIND_FALSE=
 
19867
fi
 
19868
 
 
19869
                ;;
 
19870
        -wxcontrib)
 
19871
                 if false; then
 
19872
  BUILD_WXCONTRIB_TRUE=
 
19873
  BUILD_WXCONTRIB_FALSE='#'
 
19874
else
 
19875
  BUILD_WXCONTRIB_TRUE='#'
 
19876
  BUILD_WXCONTRIB_FALSE=
 
19877
fi
 
19878
 
 
19879
                ;;
 
19880
        -wxsmith)
 
19881
                 if false; then
 
19882
  BUILD_WXSMITH_TRUE=
 
19883
  BUILD_WXSMITH_FALSE='#'
 
19884
else
 
19885
  BUILD_WXSMITH_TRUE='#'
 
19886
  BUILD_WXSMITH_FALSE=
 
19887
fi
 
19888
 
 
19889
                ;;
 
19890
        -wxsmithcontrib)
 
19891
                 if false; then
 
19892
  BUILD_WXSMITHCONTRIB_TRUE=
 
19893
  BUILD_WXSMITHCONTRIB_FALSE='#'
 
19894
else
 
19895
  BUILD_WXSMITHCONTRIB_TRUE='#'
 
19896
  BUILD_WXSMITHCONTRIB_FALSE=
 
19897
fi
 
19898
 
 
19899
                ;;
 
19900
        -wxsmithaui)
 
19901
                 if false; then
 
19902
  BUILD_WXSMITHAUI_TRUE=
 
19903
  BUILD_WXSMITHAUI_FALSE='#'
 
19904
else
 
19905
  BUILD_WXSMITHAUI_TRUE='#'
 
19906
  BUILD_WXSMITHAUI_FALSE=
 
19907
fi
 
19908
 
 
19909
                ;;
 
19910
        -hexeditor)
 
19911
                 if false; then
 
19912
  BUILD_HEXEDITOR_TRUE=
 
19913
  BUILD_HEXEDITOR_FALSE='#'
 
19914
else
 
19915
  BUILD_HEXEDITOR_TRUE='#'
 
19916
  BUILD_HEXEDITOR_FALSE=
 
19917
fi
 
19918
 
 
19919
                ;;
 
19920
        -incsearch)
 
19921
                 if false; then
 
19922
  BUILD_INCSEARCH_TRUE=
 
19923
  BUILD_INCSEARCH_FALSE='#'
 
19924
else
 
19925
  BUILD_INCSEARCH_TRUE='#'
 
19926
  BUILD_INCSEARCH_FALSE=
 
19927
fi
 
19928
 
 
19929
                ;;
 
19930
        -MouseSap)
 
19931
                 if false; then
 
19932
  BUILD_MOUSESAP_TRUE=
 
19933
  BUILD_MOUSESAP_FALSE='#'
 
19934
else
 
19935
  BUILD_MOUSESAP_TRUE='#'
 
19936
  BUILD_MOUSESAP_FALSE=
 
19937
fi
 
19938
 
 
19939
                ;;
 
19940
        -Cccc)
 
19941
                 if false; then
 
19942
  BUILD_CCCC_TRUE=
 
19943
  BUILD_CCCC_FALSE='#'
 
19944
else
 
19945
  BUILD_CCCC_TRUE='#'
 
19946
  BUILD_CCCC_FALSE=
 
19947
fi
 
19948
 
 
19949
                ;;
 
19950
        -CppCheck)
 
19951
                 if false; then
 
19952
  BUILD_CPPCHECK_TRUE=
 
19953
  BUILD_CPPCHECK_FALSE='#'
 
19954
else
 
19955
  BUILD_CPPCHECK_TRUE='#'
 
19956
  BUILD_CPPCHECK_FALSE=
 
19957
fi
 
19958
 
 
19959
                ;;
 
19960
        none|no)
 
19961
                ;;
 
19962
        *)
 
19963
                echo
 
19964
                echo "Error: Unknown contrib plugin $plugin." >&2
 
19965
                echo "       Note: the names are case-sensitive!" >&2
 
19966
                echo "       Try $0 --help for exact spelling." >&2
 
19967
                exit 1
 
19968
                ;;
 
19969
    esac
 
19970
done
 
19971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $plugins" >&5
 
19972
$as_echo "$plugins" >&6; }
 
19973
 
 
19974
 
 
19975
 
 
19976
 
 
19977
 
 
19978
 
 
19979
 
 
19980
 
 
19981
 
 
19982
 
 
19983
 
 
19984
 
 
19985
 
 
19986
 
 
19987
 
 
19988
 
 
19989
 
 
19990
 
 
19991
 
 
19992
 
 
19993
 
 
19994
 
 
19995
 
 
19996
 
 
19997
 
 
19998
 
 
19999
 
 
20000
 
 
20001
 
 
20002
 
 
20003
 
 
20004
 
 
20005
 
 
20006
 
 
20007
 
 
20008
 
 
20009
 
 
20010
 
 
20011
 
 
20012
 
 
20013
 
 
20014
GCC_PCH=0
 
20015
PCH_FLAGS=
 
20016
pch_default="yes"
 
20017
 if false; then
 
20018
  PRECOMPILE_HEADERS_TRUE=
 
20019
  PRECOMPILE_HEADERS_FALSE='#'
 
20020
else
 
20021
  PRECOMPILE_HEADERS_TRUE='#'
 
20022
  PRECOMPILE_HEADERS_FALSE=
 
20023
fi
 
20024
 
 
20025
@%:@ Check whether --enable-pch was given.
 
20026
if test "${enable_pch+set}" = set; then :
 
20027
  enableval=$enable_pch; 
 
20028
else
 
20029
  enable_pch=$pch_default
 
20030
fi
 
20031
 
 
20032
if test "x$enable_pch" = "x" -o "x$enable_pch" = "xyes" ; then
 
20033
    if test "x$GCC" = "xyes"; then
 
20034
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
 
20035
$as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
 
20036
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
20037
/* end confdefs.h.  */
 
20038
 
 
20039
int
 
20040
main ()
 
20041
{
 
20042
 
 
20043
                #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
 
20044
                    #error "no pch support"
 
20045
                #endif
 
20046
                #if (__GNUC__ < 3)
 
20047
                    #error "no pch support"
 
20048
                #endif
 
20049
                #if (__GNUC__ == 3) && \
 
20050
                   ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
 
20051
                   ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
 
20052
                    #error "no pch support"
 
20053
                #endif
 
20054
            
 
20055
  ;
 
20056
  return 0;
 
20057
}
 
20058
_ACEOF
 
20059
if ac_fn_c_try_compile "$LINENO"; then :
 
20060
  
 
20061
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20062
$as_echo "yes" >&6; }
 
20063
                GCC_PCH=1
 
20064
                PCH_FLAGS="-DCB_PRECOMP -Winvalid-pch"
 
20065
            
 
20066
else
 
20067
  
 
20068
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20069
$as_echo "no" >&6; }
 
20070
            
 
20071
fi
 
20072
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20073
         if test $GCC_PCH = 1; then
 
20074
  PRECOMPILE_HEADERS_TRUE=
 
20075
  PRECOMPILE_HEADERS_FALSE='#'
 
20076
else
 
20077
  PRECOMPILE_HEADERS_TRUE='#'
 
20078
  PRECOMPILE_HEADERS_FALSE=
 
20079
fi
 
20080
 
 
20081
    fi
 
20082
fi
 
20083
 
 
20084
 
 
20085
 
 
20086
 
 
20087
    
 
20088
@%:@ Check whether --with-wxdir was given.
 
20089
if test "${with_wxdir+set}" = set; then :
 
20090
  withval=$with_wxdir;  wx_config_name="$withval/wx-config"
 
20091
                  wx_config_args="--inplace"
 
20092
fi
 
20093
 
 
20094
    
 
20095
@%:@ Check whether --with-wx-config was given.
 
20096
if test "${with_wx_config+set}" = set; then :
 
20097
  withval=$with_wx_config; wx_config_name="$withval" 
 
20098
fi
 
20099
 
 
20100
    
 
20101
@%:@ Check whether --with-wx-prefix was given.
 
20102
if test "${with_wx_prefix+set}" = set; then :
 
20103
  withval=$with_wx_prefix; wx_config_prefix="$withval"
 
20104
else
 
20105
  wx_config_prefix=""
 
20106
fi
 
20107
 
 
20108
    
 
20109
@%:@ Check whether --with-wx-exec-prefix was given.
 
20110
if test "${with_wx_exec_prefix+set}" = set; then :
 
20111
  withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
 
20112
else
 
20113
  wx_config_exec_prefix=""
 
20114
fi
 
20115
 
 
20116
 
 
20117
 
 
20118
    if test x${WX_CONFIG_NAME+set} != xset ; then
 
20119
     WX_CONFIG_NAME=wx-config
 
20120
  fi
 
20121
 
 
20122
  if test "x$wx_config_name" != x ; then
 
20123
     WX_CONFIG_NAME="$wx_config_name"
 
20124
  fi
 
20125
 
 
20126
    if test x$wx_config_exec_prefix != x ; then
 
20127
     wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
 
20128
     WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
 
20129
  fi
 
20130
  if test x$wx_config_prefix != x ; then
 
20131
     wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
 
20132
     WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
 
20133
  fi
 
20134
  if test "$cross_compiling" = "yes"; then
 
20135
     wx_config_args="$wx_config_args --host=$host_alias"
 
20136
  fi
 
20137
 
 
20138
    if test -x "$WX_CONFIG_NAME" ; then
 
20139
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
 
20140
$as_echo_n "checking for wx-config... " >&6; }
 
20141
     WX_CONFIG_PATH="$WX_CONFIG_NAME"
 
20142
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
 
20143
$as_echo "$WX_CONFIG_PATH" >&6; }
 
20144
  else
 
20145
     # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
 
20146
set dummy $WX_CONFIG_NAME; ac_word=$2
 
20147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
20148
$as_echo_n "checking for $ac_word... " >&6; }
 
20149
if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
 
20150
  $as_echo_n "(cached) " >&6
 
20151
else
 
20152
  case $WX_CONFIG_PATH in
 
20153
  [\\/]* | ?:[\\/]*)
 
20154
  ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
 
20155
  ;;
 
20156
  *)
 
20157
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20158
as_dummy=""$WX_LOOKUP_PATH:$PATH""
 
20159
for as_dir in $as_dummy
 
20160
do
 
20161
  IFS=$as_save_IFS
 
20162
  test -z "$as_dir" && as_dir=.
 
20163
    for ac_exec_ext in '' $ac_executable_extensions; do
 
20164
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20165
    ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
 
20166
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20167
    break 2
 
20168
  fi
 
20169
done
 
20170
  done
 
20171
IFS=$as_save_IFS
 
20172
 
 
20173
  test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
 
20174
  ;;
 
20175
esac
 
20176
fi
 
20177
WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
 
20178
if test -n "$WX_CONFIG_PATH"; then
 
20179
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
 
20180
$as_echo "$WX_CONFIG_PATH" >&6; }
 
20181
else
 
20182
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20183
$as_echo "no" >&6; }
 
20184
fi
 
20185
 
 
20186
 
 
20187
  fi
 
20188
 
 
20189
  if test "$WX_CONFIG_PATH" != "no" ; then
 
20190
    WX_VERSION=""
 
20191
 
 
20192
    min_wx_version=2.8.12
 
20193
    if test -z "" ; then
 
20194
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
 
20195
$as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
 
20196
    else
 
20197
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
 
20198
$as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
 
20199
    fi
 
20200
 
 
20201
    WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args  "
 
20202
 
 
20203
    WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
 
20204
    wx_config_major_version=`echo $WX_VERSION | \
 
20205
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
 
20206
    wx_config_minor_version=`echo $WX_VERSION | \
 
20207
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
 
20208
    wx_config_micro_version=`echo $WX_VERSION | \
 
20209
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
 
20210
 
 
20211
    wx_requested_major_version=`echo $min_wx_version | \
 
20212
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
 
20213
    wx_requested_minor_version=`echo $min_wx_version | \
 
20214
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
 
20215
    wx_requested_micro_version=`echo $min_wx_version | \
 
20216
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
 
20217
 
 
20218
    
 
20219
    wx_ver_ok=""
 
20220
    if test "x$WX_VERSION" != x ; then
 
20221
      if test $wx_config_major_version -gt $wx_requested_major_version; then
 
20222
        wx_ver_ok=yes
 
20223
      else
 
20224
        if test $wx_config_major_version -eq $wx_requested_major_version; then
 
20225
           if test $wx_config_minor_version -gt $wx_requested_minor_version; then
 
20226
              wx_ver_ok=yes
 
20227
           else
 
20228
              if test $wx_config_minor_version -eq $wx_requested_minor_version; then
 
20229
                 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
 
20230
                    wx_ver_ok=yes
 
20231
                 fi
 
20232
              fi
 
20233
           fi
 
20234
        fi
 
20235
      fi
 
20236
    fi
 
20237
 
 
20238
 
 
20239
    if test -n "$wx_ver_ok"; then
 
20240
 
 
20241
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
 
20242
$as_echo "yes (version $WX_VERSION)" >&6; }
 
20243
      WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
 
20244
 
 
20245
                              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
 
20246
$as_echo_n "checking for wxWidgets static library... " >&6; }
 
20247
      WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
 
20248
      if test "x$WX_LIBS_STATIC" = "x"; then
 
20249
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20250
$as_echo "no" >&6; }
 
20251
      else
 
20252
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20253
$as_echo "yes" >&6; }
 
20254
      fi
 
20255
 
 
20256
            wx_has_cppflags=""
 
20257
      if test $wx_config_major_version -gt 2; then
 
20258
        wx_has_cppflags=yes
 
20259
      else
 
20260
        if test $wx_config_major_version -eq 2; then
 
20261
           if test $wx_config_minor_version -gt 2; then
 
20262
              wx_has_cppflags=yes
 
20263
           else
 
20264
              if test $wx_config_minor_version -eq 2; then
 
20265
                 if test $wx_config_micro_version -ge 6; then
 
20266
                    wx_has_cppflags=yes
 
20267
                 fi
 
20268
              fi
 
20269
           fi
 
20270
        fi
 
20271
      fi
 
20272
 
 
20273
            wx_has_rescomp=""
 
20274
      if test $wx_config_major_version -gt 2; then
 
20275
        wx_has_rescomp=yes
 
20276
      else
 
20277
        if test $wx_config_major_version -eq 2; then
 
20278
           if test $wx_config_minor_version -ge 7; then
 
20279
              wx_has_rescomp=yes
 
20280
           fi
 
20281
        fi
 
20282
      fi
 
20283
      if test "x$wx_has_rescomp" = x ; then
 
20284
                  WX_RESCOMP=
 
20285
      else
 
20286
         WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
 
20287
      fi
 
20288
 
 
20289
      if test "x$wx_has_cppflags" = x ; then
 
20290
                  WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
 
20291
         WX_CPPFLAGS=$WX_CFLAGS
 
20292
         WX_CXXFLAGS=$WX_CFLAGS
 
20293
 
 
20294
         WX_CFLAGS_ONLY=$WX_CFLAGS
 
20295
         WX_CXXFLAGS_ONLY=$WX_CFLAGS
 
20296
      else
 
20297
                  WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
 
20298
         WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
 
20299
         WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
 
20300
 
 
20301
         WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
 
20302
         WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
 
20303
      fi
 
20304
 
 
20305
      wxWin=1
 
20306
 
 
20307
    else
 
20308
 
 
20309
       if test "x$WX_VERSION" = x; then
 
20310
                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20311
$as_echo "no" >&6; }
 
20312
       else
 
20313
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
 
20314
$as_echo "no (version $WX_VERSION is not new enough)" >&6; }
 
20315
       fi
 
20316
 
 
20317
       WX_CFLAGS=""
 
20318
       WX_CPPFLAGS=""
 
20319
       WX_CXXFLAGS=""
 
20320
       WX_LIBS=""
 
20321
       WX_LIBS_STATIC=""
 
20322
       WX_RESCOMP=""
 
20323
       :
 
20324
 
 
20325
    fi
 
20326
  else
 
20327
 
 
20328
    WX_CFLAGS=""
 
20329
    WX_CPPFLAGS=""
 
20330
    WX_CXXFLAGS=""
 
20331
    WX_LIBS=""
 
20332
    WX_LIBS_STATIC=""
 
20333
    WX_RESCOMP=""
 
20334
 
 
20335
    :
 
20336
 
 
20337
  fi
 
20338
 
 
20339
  
 
20340
  
 
20341
  
 
20342
  
 
20343
  
 
20344
  
 
20345
  
 
20346
  
 
20347
  
 
20348
 
 
20349
        if test "$wxWin" != 1; then
 
20350
        as_fn_error $? "
 
20351
                wxWidgets must be installed on your system.
 
20352
 
 
20353
                Please check that wx-config is in path, the directory
 
20354
                where wxWidgets libraries are installed (returned by
 
20355
                'wx-config --libs' or 'wx-config --static --libs' command)
 
20356
                is in LD_LIBRARY_PATH or equivalent variable and
 
20357
                wxWindows version is 2.8.0 or above.
 
20358
                " "$LINENO" 5
 
20359
        else
 
20360
                # check for wx2.8.3 which is known to behave badly for us
 
20361
                if test "$WX_VERSION" = "2.8.3"; then
 
20362
                        as_fn_error $? "
 
20363
                wxWidgets version 2.8.3 is known to behave badly with
 
20364
                Code::Blocks. Please upgrade to a newer (or downgrade to an
 
20365
                earlier) wxWidgets version...
 
20366
                        " "$LINENO" 5
 
20367
                fi
 
20368
        fi
 
20369
 
 
20370
 
 
20371
 
 
20372
 
 
20373
 
 
20374
 
 
20375
 
 
20376
WX_GTK2_CFLAGS=
 
20377
WX_GTK2_LIBS=
 
20378
WX_X11_CFLAGS=
 
20379
WX_X11_LIBS=
 
20380
 
 
20381
POSTLINK_COMMAND="@true"
 
20382
MACSETFILE="@true"
 
20383
 
 
20384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets platform" >&5
 
20385
$as_echo_n "checking for wxWidgets platform... " >&6; }
 
20386
WX_BASENAME=`$WX_CONFIG_WITH_ARGS --basename`
 
20387
case $WX_BASENAME in
 
20388
    *wx_gtk*)
 
20389
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: wxGTK" >&5
 
20390
$as_echo "wxGTK" >&6; }
 
20391
                                                                                                                                if test "x$BUILD_FILEMANAGER_TRUE" = "x" -o \
 
20392
                                "x$BUILD_SPELLCHECKER_TRUE" = "x" -o \
 
20393
                                "x$BUILD_MOUSESAP_TRUE" = "x" -o \
 
20394
                                "x$BUILD_EXPORTER_TRUE" = "x" -o \
 
20395
                                "x$GTK_NOTEBOOK_TRUE" = "x" -o \
 
20396
                                "x$LINUX_TRUE" = "x" ; then
 
20397
 
 
20398
                        # Extract the first word of "pkg-config", so it can be a program name with args.
 
20399
set dummy pkg-config; ac_word=$2
 
20400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
20401
$as_echo_n "checking for $ac_word... " >&6; }
 
20402
if ${ac_cv_prog_HAVE_PKG_CONFIG+:} false; then :
 
20403
  $as_echo_n "(cached) " >&6
 
20404
else
 
20405
  if test -n "$HAVE_PKG_CONFIG"; then
 
20406
  ac_cv_prog_HAVE_PKG_CONFIG="$HAVE_PKG_CONFIG" # Let the user override the test.
 
20407
else
 
20408
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20409
for as_dir in $PATH
 
20410
do
 
20411
  IFS=$as_save_IFS
 
20412
  test -z "$as_dir" && as_dir=.
 
20413
    for ac_exec_ext in '' $ac_executable_extensions; do
 
20414
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20415
    ac_cv_prog_HAVE_PKG_CONFIG="yes"
 
20416
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20417
    break 2
 
20418
  fi
 
20419
done
 
20420
  done
 
20421
IFS=$as_save_IFS
 
20422
 
 
20423
  test -z "$ac_cv_prog_HAVE_PKG_CONFIG" && ac_cv_prog_HAVE_PKG_CONFIG="no"
 
20424
fi
 
20425
fi
 
20426
HAVE_PKG_CONFIG=$ac_cv_prog_HAVE_PKG_CONFIG
 
20427
if test -n "$HAVE_PKG_CONFIG"; then
 
20428
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PKG_CONFIG" >&5
 
20429
$as_echo "$HAVE_PKG_CONFIG" >&6; }
 
20430
else
 
20431
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20432
$as_echo "no" >&6; }
 
20433
fi
 
20434
 
 
20435
 
 
20436
 
 
20437
                        
 
20438
 
 
20439
                                                                                
 
20440
 
 
20441
 
 
20442
 
 
20443
 
 
20444
 
 
20445
 
 
20446
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
20447
        if test -n "$ac_tool_prefix"; then
 
20448
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
20449
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
20450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
20451
$as_echo_n "checking for $ac_word... " >&6; }
 
20452
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
20453
  $as_echo_n "(cached) " >&6
 
20454
else
 
20455
  case $PKG_CONFIG in
 
20456
  [\\/]* | ?:[\\/]*)
 
20457
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
20458
  ;;
 
20459
  *)
 
20460
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20461
for as_dir in $PATH
 
20462
do
 
20463
  IFS=$as_save_IFS
 
20464
  test -z "$as_dir" && as_dir=.
 
20465
    for ac_exec_ext in '' $ac_executable_extensions; do
 
20466
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20467
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
20468
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20469
    break 2
 
20470
  fi
 
20471
done
 
20472
  done
 
20473
IFS=$as_save_IFS
 
20474
 
 
20475
  ;;
 
20476
esac
 
20477
fi
 
20478
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
20479
if test -n "$PKG_CONFIG"; then
 
20480
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
20481
$as_echo "$PKG_CONFIG" >&6; }
 
20482
else
 
20483
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20484
$as_echo "no" >&6; }
 
20485
fi
 
20486
 
 
20487
 
 
20488
fi
 
20489
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
20490
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
20491
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
20492
set dummy pkg-config; ac_word=$2
 
20493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
20494
$as_echo_n "checking for $ac_word... " >&6; }
 
20495
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
20496
  $as_echo_n "(cached) " >&6
 
20497
else
 
20498
  case $ac_pt_PKG_CONFIG in
 
20499
  [\\/]* | ?:[\\/]*)
 
20500
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
20501
  ;;
 
20502
  *)
 
20503
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20504
for as_dir in $PATH
 
20505
do
 
20506
  IFS=$as_save_IFS
 
20507
  test -z "$as_dir" && as_dir=.
 
20508
    for ac_exec_ext in '' $ac_executable_extensions; do
 
20509
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20510
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
20511
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20512
    break 2
 
20513
  fi
 
20514
done
 
20515
  done
 
20516
IFS=$as_save_IFS
 
20517
 
 
20518
  ;;
 
20519
esac
 
20520
fi
 
20521
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
20522
if test -n "$ac_pt_PKG_CONFIG"; then
 
20523
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
20524
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
20525
else
 
20526
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20527
$as_echo "no" >&6; }
 
20528
fi
 
20529
 
 
20530
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
20531
    PKG_CONFIG=""
 
20532
  else
 
20533
    case $cross_compiling:$ac_tool_warned in
 
20534
yes:)
 
20535
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
20536
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
20537
ac_tool_warned=yes ;;
 
20538
esac
 
20539
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
20540
  fi
 
20541
else
 
20542
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
20543
fi
 
20544
 
 
20545
fi
 
20546
if test -n "$PKG_CONFIG"; then
 
20547
        _pkg_min_version=0.9.0
 
20548
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
20549
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
20550
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
20551
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20552
$as_echo "yes" >&6; }
 
20553
        else
 
20554
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20555
$as_echo "no" >&6; }
 
20556
                PKG_CONFIG=""
 
20557
        fi
 
20558
fi
 
20559
 
 
20560
                        if test "x$LINUX_TRUE" = "x" ; then
 
20561
                                if test "x$HAVE_PKG_CONFIG" = "xyes"; then
 
20562
                                        
 
20563
pkg_failed=no
 
20564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2" >&5
 
20565
$as_echo_n "checking for GLIB2... " >&6; }
 
20566
 
 
20567
if test -n "$GLIB2_CFLAGS"; then
 
20568
    pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS"
 
20569
 elif test -n "$PKG_CONFIG"; then
 
20570
    if test -n "$PKG_CONFIG" && \
 
20571
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
 
20572
  ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
 
20573
  ac_status=$?
 
20574
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
20575
  test $ac_status = 0; }; then
 
20576
  pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
 
20577
                      test "x$?" != "x0" && pkg_failed=yes 
 
20578
else
 
20579
  pkg_failed=yes
 
20580
fi
 
20581
 else
 
20582
    pkg_failed=untried
 
20583
fi
 
20584
if test -n "$GLIB2_LIBS"; then
 
20585
    pkg_cv_GLIB2_LIBS="$GLIB2_LIBS"
 
20586
 elif test -n "$PKG_CONFIG"; then
 
20587
    if test -n "$PKG_CONFIG" && \
 
20588
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
 
20589
  ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
 
20590
  ac_status=$?
 
20591
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
20592
  test $ac_status = 0; }; then
 
20593
  pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
 
20594
                      test "x$?" != "x0" && pkg_failed=yes 
 
20595
else
 
20596
  pkg_failed=yes
 
20597
fi
 
20598
 else
 
20599
    pkg_failed=untried
 
20600
fi
 
20601
 
 
20602
 
 
20603
 
 
20604
if test $pkg_failed = yes; then
 
20605
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20606
$as_echo "no" >&6; }
 
20607
        
 
20608
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
20609
        _pkg_short_errors_supported=yes
 
20610
else
 
20611
        _pkg_short_errors_supported=no
 
20612
fi
 
20613
        if test $_pkg_short_errors_supported = yes; then
 
20614
                GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0" 2>&1`
 
20615
        else 
 
20616
                GLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0" 2>&1`
 
20617
        fi
 
20618
        # Put the nasty error message in config.log where it belongs
 
20619
        echo "$GLIB2_PKG_ERRORS" >&5
 
20620
 
 
20621
        as_fn_error $? "Package requirements (glib-2.0) were not met:
 
20622
 
 
20623
$GLIB2_PKG_ERRORS
 
20624
 
 
20625
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
20626
installed software in a non-standard prefix.
 
20627
 
 
20628
Alternatively, you may set the environment variables GLIB2_CFLAGS
 
20629
and GLIB2_LIBS to avoid the need to call pkg-config.
 
20630
See the pkg-config man page for more details." "$LINENO" 5        
 
20631
elif test $pkg_failed = untried; then
 
20632
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20633
$as_echo "no" >&6; }
 
20634
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
20635
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
20636
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
20637
is in your PATH or set the PKG_CONFIG environment variable to the full
 
20638
path to pkg-config.
 
20639
 
 
20640
Alternatively, you may set the environment variables GLIB2_CFLAGS
 
20641
and GLIB2_LIBS to avoid the need to call pkg-config.
 
20642
See the pkg-config man page for more details.
 
20643
 
 
20644
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
20645
See \`config.log' for more details" "$LINENO" 5; }        
 
20646
else
 
20647
        GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS
 
20648
        GLIB2_LIBS=$pkg_cv_GLIB2_LIBS
 
20649
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20650
$as_echo "yes" >&6; }
 
20651
        
 
20652
fi
 
20653
                                fi
 
20654
                        fi
 
20655
 
 
20656
                        if test "x$BUILD_SPELLCHECKER_TRUE" = "x" ; then
 
20657
                                if test "x$HAVE_PKG_CONFIG" = "xyes"; then
 
20658
                                        
 
20659
pkg_failed=no
 
20660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HUNSPELL" >&5
 
20661
$as_echo_n "checking for HUNSPELL... " >&6; }
 
20662
 
 
20663
if test -n "$HUNSPELL_CFLAGS"; then
 
20664
    pkg_cv_HUNSPELL_CFLAGS="$HUNSPELL_CFLAGS"
 
20665
 elif test -n "$PKG_CONFIG"; then
 
20666
    if test -n "$PKG_CONFIG" && \
 
20667
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hunspell\""; } >&5
 
20668
  ($PKG_CONFIG --exists --print-errors "hunspell") 2>&5
 
20669
  ac_status=$?
 
20670
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
20671
  test $ac_status = 0; }; then
 
20672
  pkg_cv_HUNSPELL_CFLAGS=`$PKG_CONFIG --cflags "hunspell" 2>/dev/null`
 
20673
                      test "x$?" != "x0" && pkg_failed=yes 
 
20674
else
 
20675
  pkg_failed=yes
 
20676
fi
 
20677
 else
 
20678
    pkg_failed=untried
 
20679
fi
 
20680
if test -n "$HUNSPELL_LIBS"; then
 
20681
    pkg_cv_HUNSPELL_LIBS="$HUNSPELL_LIBS"
 
20682
 elif test -n "$PKG_CONFIG"; then
 
20683
    if test -n "$PKG_CONFIG" && \
 
20684
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hunspell\""; } >&5
 
20685
  ($PKG_CONFIG --exists --print-errors "hunspell") 2>&5
 
20686
  ac_status=$?
 
20687
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
20688
  test $ac_status = 0; }; then
 
20689
  pkg_cv_HUNSPELL_LIBS=`$PKG_CONFIG --libs "hunspell" 2>/dev/null`
 
20690
                      test "x$?" != "x0" && pkg_failed=yes 
 
20691
else
 
20692
  pkg_failed=yes
 
20693
fi
 
20694
 else
 
20695
    pkg_failed=untried
 
20696
fi
 
20697
 
 
20698
 
 
20699
 
 
20700
if test $pkg_failed = yes; then
 
20701
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20702
$as_echo "no" >&6; }
 
20703
        
 
20704
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
20705
        _pkg_short_errors_supported=yes
 
20706
else
 
20707
        _pkg_short_errors_supported=no
 
20708
fi
 
20709
        if test $_pkg_short_errors_supported = yes; then
 
20710
                HUNSPELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "hunspell" 2>&1`
 
20711
        else 
 
20712
                HUNSPELL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "hunspell" 2>&1`
 
20713
        fi
 
20714
        # Put the nasty error message in config.log where it belongs
 
20715
        echo "$HUNSPELL_PKG_ERRORS" >&5
 
20716
 
 
20717
        as_fn_error $? "Package requirements (hunspell) were not met:
 
20718
 
 
20719
$HUNSPELL_PKG_ERRORS
 
20720
 
 
20721
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
20722
installed software in a non-standard prefix.
 
20723
 
 
20724
Alternatively, you may set the environment variables HUNSPELL_CFLAGS
 
20725
and HUNSPELL_LIBS to avoid the need to call pkg-config.
 
20726
See the pkg-config man page for more details." "$LINENO" 5        
 
20727
elif test $pkg_failed = untried; then
 
20728
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20729
$as_echo "no" >&6; }
 
20730
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
20731
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
20732
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
20733
is in your PATH or set the PKG_CONFIG environment variable to the full
 
20734
path to pkg-config.
 
20735
 
 
20736
Alternatively, you may set the environment variables HUNSPELL_CFLAGS
 
20737
and HUNSPELL_LIBS to avoid the need to call pkg-config.
 
20738
See the pkg-config man page for more details.
 
20739
 
 
20740
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
20741
See \`config.log' for more details" "$LINENO" 5; }        
 
20742
else
 
20743
        HUNSPELL_CFLAGS=$pkg_cv_HUNSPELL_CFLAGS
 
20744
        HUNSPELL_LIBS=$pkg_cv_HUNSPELL_LIBS
 
20745
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20746
$as_echo "yes" >&6; }
 
20747
        
 
20748
fi
 
20749
                                fi
 
20750
                        fi
 
20751
 
 
20752
                        if test "x$BUILD_MOUSESAP_TRUE" = "x"  -o \
 
20753
                                        "x$GTK_NOTEBOOK_TRUE" = "x" ; then
 
20754
                                if test "x$HAVE_PKG_CONFIG" = "xyes"; then
 
20755
                                        
 
20756
pkg_failed=no
 
20757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5
 
20758
$as_echo_n "checking for GTK2... " >&6; }
 
20759
 
 
20760
if test -n "$GTK2_CFLAGS"; then
 
20761
    pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
 
20762
 elif test -n "$PKG_CONFIG"; then
 
20763
    if test -n "$PKG_CONFIG" && \
 
20764
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\""; } >&5
 
20765
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
 
20766
  ac_status=$?
 
20767
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
20768
  test $ac_status = 0; }; then
 
20769
  pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.0" 2>/dev/null`
 
20770
                      test "x$?" != "x0" && pkg_failed=yes 
 
20771
else
 
20772
  pkg_failed=yes
 
20773
fi
 
20774
 else
 
20775
    pkg_failed=untried
 
20776
fi
 
20777
if test -n "$GTK2_LIBS"; then
 
20778
    pkg_cv_GTK2_LIBS="$GTK2_LIBS"
 
20779
 elif test -n "$PKG_CONFIG"; then
 
20780
    if test -n "$PKG_CONFIG" && \
 
20781
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\""; } >&5
 
20782
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
 
20783
  ac_status=$?
 
20784
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
20785
  test $ac_status = 0; }; then
 
20786
  pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.0" 2>/dev/null`
 
20787
                      test "x$?" != "x0" && pkg_failed=yes 
 
20788
else
 
20789
  pkg_failed=yes
 
20790
fi
 
20791
 else
 
20792
    pkg_failed=untried
 
20793
fi
 
20794
 
 
20795
 
 
20796
 
 
20797
if test $pkg_failed = yes; then
 
20798
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20799
$as_echo "no" >&6; }
 
20800
        
 
20801
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
20802
        _pkg_short_errors_supported=yes
 
20803
else
 
20804
        _pkg_short_errors_supported=no
 
20805
fi
 
20806
        if test $_pkg_short_errors_supported = yes; then
 
20807
                GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.0.0" 2>&1`
 
20808
        else 
 
20809
                GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.0.0" 2>&1`
 
20810
        fi
 
20811
        # Put the nasty error message in config.log where it belongs
 
20812
        echo "$GTK2_PKG_ERRORS" >&5
 
20813
 
 
20814
        as_fn_error $? "Package requirements (gtk+-2.0 >= 2.0.0) were not met:
 
20815
 
 
20816
$GTK2_PKG_ERRORS
 
20817
 
 
20818
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
20819
installed software in a non-standard prefix.
 
20820
 
 
20821
Alternatively, you may set the environment variables GTK2_CFLAGS
 
20822
and GTK2_LIBS to avoid the need to call pkg-config.
 
20823
See the pkg-config man page for more details." "$LINENO" 5        
 
20824
elif test $pkg_failed = untried; then
 
20825
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20826
$as_echo "no" >&6; }
 
20827
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
20828
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
20829
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
20830
is in your PATH or set the PKG_CONFIG environment variable to the full
 
20831
path to pkg-config.
 
20832
 
 
20833
Alternatively, you may set the environment variables GTK2_CFLAGS
 
20834
and GTK2_LIBS to avoid the need to call pkg-config.
 
20835
See the pkg-config man page for more details.
 
20836
 
 
20837
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
20838
See \`config.log' for more details" "$LINENO" 5; }        
 
20839
else
 
20840
        GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
 
20841
        GTK2_LIBS=$pkg_cv_GTK2_LIBS
 
20842
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20843
$as_echo "yes" >&6; }
 
20844
        
 
20845
fi
 
20846
                                fi
 
20847
                        fi
 
20848
 
 
20849
                        if test "x$BUILD_FILEMANAGER_TRUE" = "x" ; then
 
20850
                                if test "x$HAVE_PKG_CONFIG" = "xyes"; then
 
20851
                                        
 
20852
pkg_failed=no
 
20853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GAMIN" >&5
 
20854
$as_echo_n "checking for GAMIN... " >&6; }
 
20855
 
 
20856
if test -n "$GAMIN_CFLAGS"; then
 
20857
    pkg_cv_GAMIN_CFLAGS="$GAMIN_CFLAGS"
 
20858
 elif test -n "$PKG_CONFIG"; then
 
20859
    if test -n "$PKG_CONFIG" && \
 
20860
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gamin\""; } >&5
 
20861
  ($PKG_CONFIG --exists --print-errors "gamin") 2>&5
 
20862
  ac_status=$?
 
20863
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
20864
  test $ac_status = 0; }; then
 
20865
  pkg_cv_GAMIN_CFLAGS=`$PKG_CONFIG --cflags "gamin" 2>/dev/null`
 
20866
                      test "x$?" != "x0" && pkg_failed=yes 
 
20867
else
 
20868
  pkg_failed=yes
 
20869
fi
 
20870
 else
 
20871
    pkg_failed=untried
 
20872
fi
 
20873
if test -n "$GAMIN_LIBS"; then
 
20874
    pkg_cv_GAMIN_LIBS="$GAMIN_LIBS"
 
20875
 elif test -n "$PKG_CONFIG"; then
 
20876
    if test -n "$PKG_CONFIG" && \
 
20877
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gamin\""; } >&5
 
20878
  ($PKG_CONFIG --exists --print-errors "gamin") 2>&5
 
20879
  ac_status=$?
 
20880
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
20881
  test $ac_status = 0; }; then
 
20882
  pkg_cv_GAMIN_LIBS=`$PKG_CONFIG --libs "gamin" 2>/dev/null`
 
20883
                      test "x$?" != "x0" && pkg_failed=yes 
 
20884
else
 
20885
  pkg_failed=yes
 
20886
fi
 
20887
 else
 
20888
    pkg_failed=untried
 
20889
fi
 
20890
 
 
20891
 
 
20892
 
 
20893
if test $pkg_failed = yes; then
 
20894
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20895
$as_echo "no" >&6; }
 
20896
        
 
20897
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
20898
        _pkg_short_errors_supported=yes
 
20899
else
 
20900
        _pkg_short_errors_supported=no
 
20901
fi
 
20902
        if test $_pkg_short_errors_supported = yes; then
 
20903
                GAMIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gamin" 2>&1`
 
20904
        else 
 
20905
                GAMIN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gamin" 2>&1`
 
20906
        fi
 
20907
        # Put the nasty error message in config.log where it belongs
 
20908
        echo "$GAMIN_PKG_ERRORS" >&5
 
20909
 
 
20910
        as_fn_error $? "Package requirements (gamin) were not met:
 
20911
 
 
20912
$GAMIN_PKG_ERRORS
 
20913
 
 
20914
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
20915
installed software in a non-standard prefix.
 
20916
 
 
20917
Alternatively, you may set the environment variables GAMIN_CFLAGS
 
20918
and GAMIN_LIBS to avoid the need to call pkg-config.
 
20919
See the pkg-config man page for more details." "$LINENO" 5        
 
20920
elif test $pkg_failed = untried; then
 
20921
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20922
$as_echo "no" >&6; }
 
20923
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
20924
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
20925
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
20926
is in your PATH or set the PKG_CONFIG environment variable to the full
 
20927
path to pkg-config.
 
20928
 
 
20929
Alternatively, you may set the environment variables GAMIN_CFLAGS
 
20930
and GAMIN_LIBS to avoid the need to call pkg-config.
 
20931
See the pkg-config man page for more details.
 
20932
 
 
20933
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
20934
See \`config.log' for more details" "$LINENO" 5; }        
 
20935
else
 
20936
        GAMIN_CFLAGS=$pkg_cv_GAMIN_CFLAGS
 
20937
        GAMIN_LIBS=$pkg_cv_GAMIN_LIBS
 
20938
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20939
$as_echo "yes" >&6; }
 
20940
        
 
20941
fi
 
20942
                                fi
 
20943
                        fi
 
20944
 
 
20945
                        if test "x$BUILD_EXPORTER_TRUE" = "x" ; then
 
20946
                                if test "x$HAVE_PKG_CONFIG" = "xyes"; then
 
20947
                                        
 
20948
pkg_failed=no
 
20949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
 
20950
$as_echo_n "checking for FONTCONFIG... " >&6; }
 
20951
 
 
20952
if test -n "$FONTCONFIG_CFLAGS"; then
 
20953
    pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
 
20954
 elif test -n "$PKG_CONFIG"; then
 
20955
    if test -n "$PKG_CONFIG" && \
 
20956
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
 
20957
  ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
 
20958
  ac_status=$?
 
20959
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
20960
  test $ac_status = 0; }; then
 
20961
  pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig" 2>/dev/null`
 
20962
                      test "x$?" != "x0" && pkg_failed=yes 
 
20963
else
 
20964
  pkg_failed=yes
 
20965
fi
 
20966
 else
 
20967
    pkg_failed=untried
 
20968
fi
 
20969
if test -n "$FONTCONFIG_LIBS"; then
 
20970
    pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
 
20971
 elif test -n "$PKG_CONFIG"; then
 
20972
    if test -n "$PKG_CONFIG" && \
 
20973
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
 
20974
  ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
 
20975
  ac_status=$?
 
20976
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
20977
  test $ac_status = 0; }; then
 
20978
  pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig" 2>/dev/null`
 
20979
                      test "x$?" != "x0" && pkg_failed=yes 
 
20980
else
 
20981
  pkg_failed=yes
 
20982
fi
 
20983
 else
 
20984
    pkg_failed=untried
 
20985
fi
 
20986
 
 
20987
 
 
20988
 
 
20989
if test $pkg_failed = yes; then
 
20990
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20991
$as_echo "no" >&6; }
 
20992
        
 
20993
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
20994
        _pkg_short_errors_supported=yes
 
20995
else
 
20996
        _pkg_short_errors_supported=no
 
20997
fi
 
20998
        if test $_pkg_short_errors_supported = yes; then
 
20999
                FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontconfig" 2>&1`
 
21000
        else 
 
21001
                FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontconfig" 2>&1`
 
21002
        fi
 
21003
        # Put the nasty error message in config.log where it belongs
 
21004
        echo "$FONTCONFIG_PKG_ERRORS" >&5
 
21005
 
 
21006
        as_fn_error $? "Package requirements (fontconfig) were not met:
 
21007
 
 
21008
$FONTCONFIG_PKG_ERRORS
 
21009
 
 
21010
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
21011
installed software in a non-standard prefix.
 
21012
 
 
21013
Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
 
21014
and FONTCONFIG_LIBS to avoid the need to call pkg-config.
 
21015
See the pkg-config man page for more details." "$LINENO" 5        
 
21016
elif test $pkg_failed = untried; then
 
21017
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21018
$as_echo "no" >&6; }
 
21019
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
21020
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
21021
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
21022
is in your PATH or set the PKG_CONFIG environment variable to the full
 
21023
path to pkg-config.
 
21024
 
 
21025
Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
 
21026
and FONTCONFIG_LIBS to avoid the need to call pkg-config.
 
21027
See the pkg-config man page for more details.
 
21028
 
 
21029
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
21030
See \`config.log' for more details" "$LINENO" 5; }        
 
21031
else
 
21032
        FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
 
21033
        FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
 
21034
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21035
$as_echo "yes" >&6; }
 
21036
        
 
21037
fi
 
21038
                                fi
 
21039
                        fi
 
21040
 
 
21041
        fi
 
21042
 
 
21043
                                                                                                if test "x$BUILD_NASSISHNEIDERMAN_TRUE" = "x" ; then
 
21044
                        ac_ext=cpp
 
21045
ac_cpp='$CXXCPP $CPPFLAGS'
 
21046
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
21047
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
21048
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
21049
 
 
21050
            
 
21051
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/spirit/include/classic.hpp" "ac_cv_header_boost_spirit_include_classic_hpp" "$ac_includes_default"
 
21052
if test "x$ac_cv_header_boost_spirit_include_classic_hpp" = xyes; then :
 
21053
  
 
21054
else
 
21055
  as_fn_error $? "needed boost headers not found or not usable" "$LINENO" 5
 
21056
fi
 
21057
 
 
21058
 
 
21059
                        ac_ext=c
 
21060
ac_cpp='$CPP $CPPFLAGS'
 
21061
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
21062
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
21063
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
21064
 
 
21065
        fi
 
21066
 
 
21067
 
 
21068
        CB_GLIB2_CFLAGS="$GLIB2_CFLAGS"
 
21069
        CB_GLIB2_LIBS="$GLIB2_LIBS"
 
21070
        CB_GAMIN_CFLAGS="$GAMIN_CFLAGS"
 
21071
        CB_GAMIN_LIBS="$GAMIN_LIBS"
 
21072
        CB_HUNSPELL_CFLAGS="$HUNSPELL_CFLAGS"
 
21073
        CB_HUNSPELL_LIBS="$HUNSPELL_LIBS"
 
21074
        CB_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
 
21075
        CB_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
 
21076
        WX_GTK2_CFLAGS="$GTK2_CFLAGS"
 
21077
        WX_GTK2_LIBS="$GTK2_LIBS"
 
21078
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 
21079
$as_echo_n "checking for X... " >&6; }
 
21080
 
 
21081
 
 
21082
@%:@ Check whether --with-x was given.
 
21083
if test "${with_x+set}" = set; then :
 
21084
  withval=$with_x; 
 
21085
fi
 
21086
 
 
21087
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 
21088
if test "x$with_x" = xno; then
 
21089
  # The user explicitly disabled X.
 
21090
  have_x=disabled
 
21091
else
 
21092
  case $x_includes,$x_libraries in #(
 
21093
    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
 
21094
    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
 
21095
  $as_echo_n "(cached) " >&6
 
21096
else
 
21097
  # One or both of the vars are not set, and there is no cached value.
 
21098
ac_x_includes=no ac_x_libraries=no
 
21099
rm -f -r conftest.dir
 
21100
if mkdir conftest.dir; then
 
21101
  cd conftest.dir
 
21102
  cat >Imakefile <<'_ACEOF'
 
21103
incroot:
 
21104
        @echo incroot='${INCROOT}'
 
21105
usrlibdir:
 
21106
        @echo usrlibdir='${USRLIBDIR}'
 
21107
libdir:
 
21108
        @echo libdir='${LIBDIR}'
 
21109
_ACEOF
 
21110
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 
21111
    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
21112
    for ac_var in incroot usrlibdir libdir; do
 
21113
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 
21114
    done
 
21115
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 
21116
    for ac_extension in a so sl dylib la dll; do
 
21117
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 
21118
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
 
21119
        ac_im_usrlibdir=$ac_im_libdir; break
 
21120
      fi
 
21121
    done
 
21122
    # Screen out bogus values from the imake configuration.  They are
 
21123
    # bogus both because they are the default anyway, and because
 
21124
    # using them would break gcc on systems where it needs fixed includes.
 
21125
    case $ac_im_incroot in
 
21126
        /usr/include) ac_x_includes= ;;
 
21127
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 
21128
    esac
 
21129
    case $ac_im_usrlibdir in
 
21130
        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
 
21131
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 
21132
    esac
 
21133
  fi
 
21134
  cd ..
 
21135
  rm -f -r conftest.dir
 
21136
fi
 
21137
 
 
21138
# Standard set of common directories for X headers.
 
21139
# Check X11 before X11Rn because it is often a symlink to the current release.
 
21140
ac_x_header_dirs='
 
21141
/usr/X11/include
 
21142
/usr/X11R7/include
 
21143
/usr/X11R6/include
 
21144
/usr/X11R5/include
 
21145
/usr/X11R4/include
 
21146
 
 
21147
/usr/include/X11
 
21148
/usr/include/X11R7
 
21149
/usr/include/X11R6
 
21150
/usr/include/X11R5
 
21151
/usr/include/X11R4
 
21152
 
 
21153
/usr/local/X11/include
 
21154
/usr/local/X11R7/include
 
21155
/usr/local/X11R6/include
 
21156
/usr/local/X11R5/include
 
21157
/usr/local/X11R4/include
 
21158
 
 
21159
/usr/local/include/X11
 
21160
/usr/local/include/X11R7
 
21161
/usr/local/include/X11R6
 
21162
/usr/local/include/X11R5
 
21163
/usr/local/include/X11R4
 
21164
 
 
21165
/usr/X386/include
 
21166
/usr/x386/include
 
21167
/usr/XFree86/include/X11
 
21168
 
 
21169
/usr/include
 
21170
/usr/local/include
 
21171
/usr/unsupported/include
 
21172
/usr/athena/include
 
21173
/usr/local/x11r5/include
 
21174
/usr/lpp/Xamples/include
 
21175
 
 
21176
/usr/openwin/include
 
21177
/usr/openwin/share/include'
 
21178
 
 
21179
if test "$ac_x_includes" = no; then
 
21180
  # Guess where to find include files, by looking for Xlib.h.
 
21181
  # First, try using that file with no special directory specified.
 
21182
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21183
/* end confdefs.h.  */
 
21184
@%:@include <X11/Xlib.h>
 
21185
_ACEOF
 
21186
if ac_fn_c_try_cpp "$LINENO"; then :
 
21187
  # We can compile using X headers with no special include directory.
 
21188
ac_x_includes=
 
21189
else
 
21190
  for ac_dir in $ac_x_header_dirs; do
 
21191
  if test -r "$ac_dir/X11/Xlib.h"; then
 
21192
    ac_x_includes=$ac_dir
 
21193
    break
 
21194
  fi
 
21195
done
 
21196
fi
 
21197
rm -f conftest.err conftest.i conftest.$ac_ext
 
21198
fi # $ac_x_includes = no
 
21199
 
 
21200
if test "$ac_x_libraries" = no; then
 
21201
  # Check for the libraries.
 
21202
  # See if we find them without any special options.
 
21203
  # Don't add to $LIBS permanently.
 
21204
  ac_save_LIBS=$LIBS
 
21205
  LIBS="-lX11 $LIBS"
 
21206
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21207
/* end confdefs.h.  */
 
21208
@%:@include <X11/Xlib.h>
 
21209
int
 
21210
main ()
 
21211
{
 
21212
XrmInitialize ()
 
21213
  ;
 
21214
  return 0;
 
21215
}
 
21216
_ACEOF
 
21217
if ac_fn_c_try_link "$LINENO"; then :
 
21218
  LIBS=$ac_save_LIBS
 
21219
# We can link X programs with no special library path.
 
21220
ac_x_libraries=
 
21221
else
 
21222
  LIBS=$ac_save_LIBS
 
21223
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 
21224
do
 
21225
  # Don't even attempt the hair of trying to link an X program!
 
21226
  for ac_extension in a so sl dylib la dll; do
 
21227
    if test -r "$ac_dir/libX11.$ac_extension"; then
 
21228
      ac_x_libraries=$ac_dir
 
21229
      break 2
 
21230
    fi
 
21231
  done
 
21232
done
 
21233
fi
 
21234
rm -f core conftest.err conftest.$ac_objext \
 
21235
    conftest$ac_exeext conftest.$ac_ext
 
21236
fi # $ac_x_libraries = no
 
21237
 
 
21238
case $ac_x_includes,$ac_x_libraries in #(
 
21239
  no,* | *,no | *\'*)
 
21240
    # Didn't find X, or a directory has "'" in its name.
 
21241
    ac_cv_have_x="have_x=no";; #(
 
21242
  *)
 
21243
    # Record where we found X for the cache.
 
21244
    ac_cv_have_x="have_x=yes\
 
21245
        ac_x_includes='$ac_x_includes'\
 
21246
        ac_x_libraries='$ac_x_libraries'"
 
21247
esac
 
21248
fi
 
21249
;; #(
 
21250
    *) have_x=yes;;
 
21251
  esac
 
21252
  eval "$ac_cv_have_x"
 
21253
fi # $with_x != no
 
21254
 
 
21255
if test "$have_x" != yes; then
 
21256
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 
21257
$as_echo "$have_x" >&6; }
 
21258
  no_x=yes
 
21259
else
 
21260
  # If each of the values was on the command line, it overrides each guess.
 
21261
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 
21262
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 
21263
  # Update the cache value to reflect the command line values.
 
21264
  ac_cv_have_x="have_x=yes\
 
21265
        ac_x_includes='$x_includes'\
 
21266
        ac_x_libraries='$x_libraries'"
 
21267
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 
21268
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
 
21269
fi
 
21270
 
 
21271
if test "$no_x" = yes; then
 
21272
  # Not all programs may use this symbol, but it does not hurt to define it.
 
21273
  
 
21274
$as_echo "@%:@define X_DISPLAY_MISSING 1" >>confdefs.h
 
21275
 
 
21276
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 
21277
else
 
21278
  if test -n "$x_includes"; then
 
21279
    X_CFLAGS="$X_CFLAGS -I$x_includes"
 
21280
  fi
 
21281
 
 
21282
  # It would also be nice to do this for all -L options, not just this one.
 
21283
  if test -n "$x_libraries"; then
 
21284
    X_LIBS="$X_LIBS -L$x_libraries"
 
21285
    # For Solaris; some versions of Sun CC require a space after -R and
 
21286
    # others require no space.  Words are not sufficient . . . .
 
21287
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 
21288
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
 
21289
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 
21290
    ac_xsave_c_werror_flag=$ac_c_werror_flag
 
21291
    ac_c_werror_flag=yes
 
21292
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21293
/* end confdefs.h.  */
 
21294
 
 
21295
int
 
21296
main ()
 
21297
{
 
21298
 
 
21299
  ;
 
21300
  return 0;
 
21301
}
 
21302
_ACEOF
 
21303
if ac_fn_c_try_link "$LINENO"; then :
 
21304
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21305
$as_echo "no" >&6; }
 
21306
       X_LIBS="$X_LIBS -R$x_libraries"
 
21307
else
 
21308
  LIBS="$ac_xsave_LIBS -R $x_libraries"
 
21309
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21310
/* end confdefs.h.  */
 
21311
 
 
21312
int
 
21313
main ()
 
21314
{
 
21315
 
 
21316
  ;
 
21317
  return 0;
 
21318
}
 
21319
_ACEOF
 
21320
if ac_fn_c_try_link "$LINENO"; then :
 
21321
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21322
$as_echo "yes" >&6; }
 
21323
          X_LIBS="$X_LIBS -R $x_libraries"
 
21324
else
 
21325
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 
21326
$as_echo "neither works" >&6; }
 
21327
fi
 
21328
rm -f core conftest.err conftest.$ac_objext \
 
21329
    conftest$ac_exeext conftest.$ac_ext
 
21330
fi
 
21331
rm -f core conftest.err conftest.$ac_objext \
 
21332
    conftest$ac_exeext conftest.$ac_ext
 
21333
    ac_c_werror_flag=$ac_xsave_c_werror_flag
 
21334
    LIBS=$ac_xsave_LIBS
 
21335
  fi
 
21336
 
 
21337
  # Check for system-dependent libraries X programs must link with.
 
21338
  # Do this before checking for the system-independent R6 libraries
 
21339
  # (-lICE), since we may need -lsocket or whatever for X linking.
 
21340
 
 
21341
  if test "$ISC" = yes; then
 
21342
    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 
21343
  else
 
21344
    # Martyn Johnson says this is needed for Ultrix, if the X
 
21345
    # libraries were built with DECnet support.  And Karl Berry says
 
21346
    # the Alpha needs dnet_stub (dnet does not exist).
 
21347
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 
21348
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21349
/* end confdefs.h.  */
 
21350
 
 
21351
/* Override any GCC internal prototype to avoid an error.
 
21352
   Use char because int might match the return type of a GCC
 
21353
   builtin and then its argument prototype would still apply.  */
 
21354
#ifdef __cplusplus
 
21355
extern "C"
 
21356
#endif
 
21357
char XOpenDisplay ();
 
21358
int
 
21359
main ()
 
21360
{
 
21361
return XOpenDisplay ();
 
21362
  ;
 
21363
  return 0;
 
21364
}
 
21365
_ACEOF
 
21366
if ac_fn_c_try_link "$LINENO"; then :
 
21367
  
 
21368
else
 
21369
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 
21370
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
 
21371
if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
 
21372
  $as_echo_n "(cached) " >&6
 
21373
else
 
21374
  ac_check_lib_save_LIBS=$LIBS
 
21375
LIBS="-ldnet  $LIBS"
 
21376
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21377
/* end confdefs.h.  */
 
21378
 
 
21379
/* Override any GCC internal prototype to avoid an error.
 
21380
   Use char because int might match the return type of a GCC
 
21381
   builtin and then its argument prototype would still apply.  */
 
21382
#ifdef __cplusplus
 
21383
extern "C"
 
21384
#endif
 
21385
char dnet_ntoa ();
 
21386
int
 
21387
main ()
 
21388
{
 
21389
return dnet_ntoa ();
 
21390
  ;
 
21391
  return 0;
 
21392
}
 
21393
_ACEOF
 
21394
if ac_fn_c_try_link "$LINENO"; then :
 
21395
  ac_cv_lib_dnet_dnet_ntoa=yes
 
21396
else
 
21397
  ac_cv_lib_dnet_dnet_ntoa=no
 
21398
fi
 
21399
rm -f core conftest.err conftest.$ac_objext \
 
21400
    conftest$ac_exeext conftest.$ac_ext
 
21401
LIBS=$ac_check_lib_save_LIBS
 
21402
fi
 
21403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
21404
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 
21405
if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
 
21406
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 
21407
fi
 
21408
 
 
21409
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 
21410
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 
21411
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
 
21412
if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
 
21413
  $as_echo_n "(cached) " >&6
 
21414
else
 
21415
  ac_check_lib_save_LIBS=$LIBS
 
21416
LIBS="-ldnet_stub  $LIBS"
 
21417
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21418
/* end confdefs.h.  */
 
21419
 
 
21420
/* Override any GCC internal prototype to avoid an error.
 
21421
   Use char because int might match the return type of a GCC
 
21422
   builtin and then its argument prototype would still apply.  */
 
21423
#ifdef __cplusplus
 
21424
extern "C"
 
21425
#endif
 
21426
char dnet_ntoa ();
 
21427
int
 
21428
main ()
 
21429
{
 
21430
return dnet_ntoa ();
 
21431
  ;
 
21432
  return 0;
 
21433
}
 
21434
_ACEOF
 
21435
if ac_fn_c_try_link "$LINENO"; then :
 
21436
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
 
21437
else
 
21438
  ac_cv_lib_dnet_stub_dnet_ntoa=no
 
21439
fi
 
21440
rm -f core conftest.err conftest.$ac_objext \
 
21441
    conftest$ac_exeext conftest.$ac_ext
 
21442
LIBS=$ac_check_lib_save_LIBS
 
21443
fi
 
21444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
21445
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 
21446
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
 
21447
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 
21448
fi
 
21449
 
 
21450
    fi
 
21451
fi
 
21452
rm -f core conftest.err conftest.$ac_objext \
 
21453
    conftest$ac_exeext conftest.$ac_ext
 
21454
    LIBS="$ac_xsave_LIBS"
 
21455
 
 
21456
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 
21457
    # to get the SysV transport functions.
 
21458
    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 
21459
    # needs -lnsl.
 
21460
    # The nsl library prevents programs from opening the X display
 
21461
    # on Irix 5.2, according to T.E. Dickey.
 
21462
    # The functions gethostbyname, getservbyname, and inet_addr are
 
21463
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 
21464
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 
21465
if test "x$ac_cv_func_gethostbyname" = xyes; then :
 
21466
  
 
21467
fi
 
21468
 
 
21469
    if test $ac_cv_func_gethostbyname = no; then
 
21470
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 
21471
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 
21472
if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
 
21473
  $as_echo_n "(cached) " >&6
 
21474
else
 
21475
  ac_check_lib_save_LIBS=$LIBS
 
21476
LIBS="-lnsl  $LIBS"
 
21477
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21478
/* end confdefs.h.  */
 
21479
 
 
21480
/* Override any GCC internal prototype to avoid an error.
 
21481
   Use char because int might match the return type of a GCC
 
21482
   builtin and then its argument prototype would still apply.  */
 
21483
#ifdef __cplusplus
 
21484
extern "C"
 
21485
#endif
 
21486
char gethostbyname ();
 
21487
int
 
21488
main ()
 
21489
{
 
21490
return gethostbyname ();
 
21491
  ;
 
21492
  return 0;
 
21493
}
 
21494
_ACEOF
 
21495
if ac_fn_c_try_link "$LINENO"; then :
 
21496
  ac_cv_lib_nsl_gethostbyname=yes
 
21497
else
 
21498
  ac_cv_lib_nsl_gethostbyname=no
 
21499
fi
 
21500
rm -f core conftest.err conftest.$ac_objext \
 
21501
    conftest$ac_exeext conftest.$ac_ext
 
21502
LIBS=$ac_check_lib_save_LIBS
 
21503
fi
 
21504
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
21505
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 
21506
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
 
21507
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 
21508
fi
 
21509
 
 
21510
      if test $ac_cv_lib_nsl_gethostbyname = no; then
 
21511
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 
21512
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
 
21513
if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
 
21514
  $as_echo_n "(cached) " >&6
 
21515
else
 
21516
  ac_check_lib_save_LIBS=$LIBS
 
21517
LIBS="-lbsd  $LIBS"
 
21518
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21519
/* end confdefs.h.  */
 
21520
 
 
21521
/* Override any GCC internal prototype to avoid an error.
 
21522
   Use char because int might match the return type of a GCC
 
21523
   builtin and then its argument prototype would still apply.  */
 
21524
#ifdef __cplusplus
 
21525
extern "C"
 
21526
#endif
 
21527
char gethostbyname ();
 
21528
int
 
21529
main ()
 
21530
{
 
21531
return gethostbyname ();
 
21532
  ;
 
21533
  return 0;
 
21534
}
 
21535
_ACEOF
 
21536
if ac_fn_c_try_link "$LINENO"; then :
 
21537
  ac_cv_lib_bsd_gethostbyname=yes
 
21538
else
 
21539
  ac_cv_lib_bsd_gethostbyname=no
 
21540
fi
 
21541
rm -f core conftest.err conftest.$ac_objext \
 
21542
    conftest$ac_exeext conftest.$ac_ext
 
21543
LIBS=$ac_check_lib_save_LIBS
 
21544
fi
 
21545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
21546
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 
21547
if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
 
21548
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 
21549
fi
 
21550
 
 
21551
      fi
 
21552
    fi
 
21553
 
 
21554
    # lieder@skyler.mavd.honeywell.com says without -lsocket,
 
21555
    # socket/setsockopt and other routines are undefined under SCO ODT
 
21556
    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 
21557
    # on later versions), says Simon Leinen: it contains gethostby*
 
21558
    # variants that don't use the name server (or something).  -lsocket
 
21559
    # must be given before -lnsl if both are needed.  We assume that
 
21560
    # if connect needs -lnsl, so does gethostbyname.
 
21561
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 
21562
if test "x$ac_cv_func_connect" = xyes; then :
 
21563
  
 
21564
fi
 
21565
 
 
21566
    if test $ac_cv_func_connect = no; then
 
21567
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 
21568
$as_echo_n "checking for connect in -lsocket... " >&6; }
 
21569
if ${ac_cv_lib_socket_connect+:} false; then :
 
21570
  $as_echo_n "(cached) " >&6
 
21571
else
 
21572
  ac_check_lib_save_LIBS=$LIBS
 
21573
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 
21574
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21575
/* end confdefs.h.  */
 
21576
 
 
21577
/* Override any GCC internal prototype to avoid an error.
 
21578
   Use char because int might match the return type of a GCC
 
21579
   builtin and then its argument prototype would still apply.  */
 
21580
#ifdef __cplusplus
 
21581
extern "C"
 
21582
#endif
 
21583
char connect ();
 
21584
int
 
21585
main ()
 
21586
{
 
21587
return connect ();
 
21588
  ;
 
21589
  return 0;
 
21590
}
 
21591
_ACEOF
 
21592
if ac_fn_c_try_link "$LINENO"; then :
 
21593
  ac_cv_lib_socket_connect=yes
 
21594
else
 
21595
  ac_cv_lib_socket_connect=no
 
21596
fi
 
21597
rm -f core conftest.err conftest.$ac_objext \
 
21598
    conftest$ac_exeext conftest.$ac_ext
 
21599
LIBS=$ac_check_lib_save_LIBS
 
21600
fi
 
21601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 
21602
$as_echo "$ac_cv_lib_socket_connect" >&6; }
 
21603
if test "x$ac_cv_lib_socket_connect" = xyes; then :
 
21604
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 
21605
fi
 
21606
 
 
21607
    fi
 
21608
 
 
21609
    # Guillermo Gomez says -lposix is necessary on A/UX.
 
21610
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 
21611
if test "x$ac_cv_func_remove" = xyes; then :
 
21612
  
 
21613
fi
 
21614
 
 
21615
    if test $ac_cv_func_remove = no; then
 
21616
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 
21617
$as_echo_n "checking for remove in -lposix... " >&6; }
 
21618
if ${ac_cv_lib_posix_remove+:} false; then :
 
21619
  $as_echo_n "(cached) " >&6
 
21620
else
 
21621
  ac_check_lib_save_LIBS=$LIBS
 
21622
LIBS="-lposix  $LIBS"
 
21623
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21624
/* end confdefs.h.  */
 
21625
 
 
21626
/* Override any GCC internal prototype to avoid an error.
 
21627
   Use char because int might match the return type of a GCC
 
21628
   builtin and then its argument prototype would still apply.  */
 
21629
#ifdef __cplusplus
 
21630
extern "C"
 
21631
#endif
 
21632
char remove ();
 
21633
int
 
21634
main ()
 
21635
{
 
21636
return remove ();
 
21637
  ;
 
21638
  return 0;
 
21639
}
 
21640
_ACEOF
 
21641
if ac_fn_c_try_link "$LINENO"; then :
 
21642
  ac_cv_lib_posix_remove=yes
 
21643
else
 
21644
  ac_cv_lib_posix_remove=no
 
21645
fi
 
21646
rm -f core conftest.err conftest.$ac_objext \
 
21647
    conftest$ac_exeext conftest.$ac_ext
 
21648
LIBS=$ac_check_lib_save_LIBS
 
21649
fi
 
21650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 
21651
$as_echo "$ac_cv_lib_posix_remove" >&6; }
 
21652
if test "x$ac_cv_lib_posix_remove" = xyes; then :
 
21653
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 
21654
fi
 
21655
 
 
21656
    fi
 
21657
 
 
21658
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 
21659
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 
21660
if test "x$ac_cv_func_shmat" = xyes; then :
 
21661
  
 
21662
fi
 
21663
 
 
21664
    if test $ac_cv_func_shmat = no; then
 
21665
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 
21666
$as_echo_n "checking for shmat in -lipc... " >&6; }
 
21667
if ${ac_cv_lib_ipc_shmat+:} false; then :
 
21668
  $as_echo_n "(cached) " >&6
 
21669
else
 
21670
  ac_check_lib_save_LIBS=$LIBS
 
21671
LIBS="-lipc  $LIBS"
 
21672
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21673
/* end confdefs.h.  */
 
21674
 
 
21675
/* Override any GCC internal prototype to avoid an error.
 
21676
   Use char because int might match the return type of a GCC
 
21677
   builtin and then its argument prototype would still apply.  */
 
21678
#ifdef __cplusplus
 
21679
extern "C"
 
21680
#endif
 
21681
char shmat ();
 
21682
int
 
21683
main ()
 
21684
{
 
21685
return shmat ();
 
21686
  ;
 
21687
  return 0;
 
21688
}
 
21689
_ACEOF
 
21690
if ac_fn_c_try_link "$LINENO"; then :
 
21691
  ac_cv_lib_ipc_shmat=yes
 
21692
else
 
21693
  ac_cv_lib_ipc_shmat=no
 
21694
fi
 
21695
rm -f core conftest.err conftest.$ac_objext \
 
21696
    conftest$ac_exeext conftest.$ac_ext
 
21697
LIBS=$ac_check_lib_save_LIBS
 
21698
fi
 
21699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 
21700
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 
21701
if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
 
21702
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 
21703
fi
 
21704
 
 
21705
    fi
 
21706
  fi
 
21707
 
 
21708
  # Check for libraries that X11R6 Xt/Xaw programs need.
 
21709
  ac_save_LDFLAGS=$LDFLAGS
 
21710
  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 
21711
  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 
21712
  # check for ICE first), but we must link in the order -lSM -lICE or
 
21713
  # we get undefined symbols.  So assume we have SM if we have ICE.
 
21714
  # These have to be linked with before -lX11, unlike the other
 
21715
  # libraries we check for below, so use a different variable.
 
21716
  # John Interrante, Karl Berry
 
21717
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 
21718
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
 
21719
if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
 
21720
  $as_echo_n "(cached) " >&6
 
21721
else
 
21722
  ac_check_lib_save_LIBS=$LIBS
 
21723
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 
21724
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21725
/* end confdefs.h.  */
 
21726
 
 
21727
/* Override any GCC internal prototype to avoid an error.
 
21728
   Use char because int might match the return type of a GCC
 
21729
   builtin and then its argument prototype would still apply.  */
 
21730
#ifdef __cplusplus
 
21731
extern "C"
 
21732
#endif
 
21733
char IceConnectionNumber ();
 
21734
int
 
21735
main ()
 
21736
{
 
21737
return IceConnectionNumber ();
 
21738
  ;
 
21739
  return 0;
 
21740
}
 
21741
_ACEOF
 
21742
if ac_fn_c_try_link "$LINENO"; then :
 
21743
  ac_cv_lib_ICE_IceConnectionNumber=yes
 
21744
else
 
21745
  ac_cv_lib_ICE_IceConnectionNumber=no
 
21746
fi
 
21747
rm -f core conftest.err conftest.$ac_objext \
 
21748
    conftest$ac_exeext conftest.$ac_ext
 
21749
LIBS=$ac_check_lib_save_LIBS
 
21750
fi
 
21751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
21752
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 
21753
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
 
21754
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 
21755
fi
 
21756
 
 
21757
  LDFLAGS=$ac_save_LDFLAGS
 
21758
 
 
21759
fi
 
21760
 
 
21761
        WX_X11_CFLAGS="`echo $X_CFLAGS | sed 's/ -INONE//'`"
 
21762
        WX_X11_LIBS="`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`"
 
21763
        if test "$no_x" != yes; then
 
21764
            WX_X11_LIBS="$WX_X11_LIBS -lX11 $X_EXTRA_LIBS"
 
21765
        fi
 
21766
    ;;
 
21767
    *wx_msw*)
 
21768
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: wxMSW" >&5
 
21769
$as_echo "wxMSW" >&6; }
 
21770
    ;;
 
21771
    *wx_mac*)
 
21772
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: wxMac" >&5
 
21773
$as_echo "wxMac" >&6; }
 
21774
        # Extract the first word of "Rez", so it can be a program name with args.
 
21775
set dummy Rez; ac_word=$2
 
21776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
21777
$as_echo_n "checking for $ac_word... " >&6; }
 
21778
if ${ac_cv_prog_REZ+:} false; then :
 
21779
  $as_echo_n "(cached) " >&6
 
21780
else
 
21781
  if test -n "$REZ"; then
 
21782
  ac_cv_prog_REZ="$REZ" # Let the user override the test.
 
21783
else
 
21784
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
21785
for as_dir in $PATH
 
21786
do
 
21787
  IFS=$as_save_IFS
 
21788
  test -z "$as_dir" && as_dir=.
 
21789
    for ac_exec_ext in '' $ac_executable_extensions; do
 
21790
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21791
    ac_cv_prog_REZ="Rez"
 
21792
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21793
    break 2
 
21794
  fi
 
21795
done
 
21796
  done
 
21797
IFS=$as_save_IFS
 
21798
 
 
21799
  test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
 
21800
fi
 
21801
fi
 
21802
REZ=$ac_cv_prog_REZ
 
21803
if test -n "$REZ"; then
 
21804
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
 
21805
$as_echo "$REZ" >&6; }
 
21806
else
 
21807
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21808
$as_echo "no" >&6; }
 
21809
fi
 
21810
 
 
21811
 
 
21812
        POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
 
21813
        # Extract the first word of "SetFile", so it can be a program name with args.
 
21814
set dummy SetFile; ac_word=$2
 
21815
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
21816
$as_echo_n "checking for $ac_word... " >&6; }
 
21817
if ${ac_cv_prog_SETFILE+:} false; then :
 
21818
  $as_echo_n "(cached) " >&6
 
21819
else
 
21820
  if test -n "$SETFILE"; then
 
21821
  ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
 
21822
else
 
21823
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
21824
for as_dir in $PATH
 
21825
do
 
21826
  IFS=$as_save_IFS
 
21827
  test -z "$as_dir" && as_dir=.
 
21828
    for ac_exec_ext in '' $ac_executable_extensions; do
 
21829
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21830
    ac_cv_prog_SETFILE="SetFile"
 
21831
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21832
    break 2
 
21833
  fi
 
21834
done
 
21835
  done
 
21836
IFS=$as_save_IFS
 
21837
 
 
21838
  test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
 
21839
fi
 
21840
fi
 
21841
SETFILE=$ac_cv_prog_SETFILE
 
21842
if test -n "$SETFILE"; then
 
21843
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
 
21844
$as_echo "$SETFILE" >&6; }
 
21845
else
 
21846
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21847
$as_echo "no" >&6; }
 
21848
fi
 
21849
 
 
21850
 
 
21851
        MACSETFILE="\$(SETFILE)"
 
21852
    ;;
 
21853
    *wx_osx*)
 
21854
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: wxOSX" >&5
 
21855
$as_echo "wxOSX" >&6; }
 
21856
 
 
21857
        if test "x$BUILD_SPELLCHECKER_TRUE" = "x" ; then
 
21858
 
 
21859
            # Extract the first word of "pkg-config", so it can be a program name with args.
 
21860
set dummy pkg-config; ac_word=$2
 
21861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
21862
$as_echo_n "checking for $ac_word... " >&6; }
 
21863
if ${ac_cv_prog_HAVE_PKG_CONFIG+:} false; then :
 
21864
  $as_echo_n "(cached) " >&6
 
21865
else
 
21866
  if test -n "$HAVE_PKG_CONFIG"; then
 
21867
  ac_cv_prog_HAVE_PKG_CONFIG="$HAVE_PKG_CONFIG" # Let the user override the test.
 
21868
else
 
21869
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
21870
for as_dir in $PATH
 
21871
do
 
21872
  IFS=$as_save_IFS
 
21873
  test -z "$as_dir" && as_dir=.
 
21874
    for ac_exec_ext in '' $ac_executable_extensions; do
 
21875
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21876
    ac_cv_prog_HAVE_PKG_CONFIG="yes"
 
21877
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21878
    break 2
 
21879
  fi
 
21880
done
 
21881
  done
 
21882
IFS=$as_save_IFS
 
21883
 
 
21884
  test -z "$ac_cv_prog_HAVE_PKG_CONFIG" && ac_cv_prog_HAVE_PKG_CONFIG="no"
 
21885
fi
 
21886
fi
 
21887
HAVE_PKG_CONFIG=$ac_cv_prog_HAVE_PKG_CONFIG
 
21888
if test -n "$HAVE_PKG_CONFIG"; then
 
21889
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PKG_CONFIG" >&5
 
21890
$as_echo "$HAVE_PKG_CONFIG" >&6; }
 
21891
else
 
21892
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21893
$as_echo "no" >&6; }
 
21894
fi
 
21895
 
 
21896
 
 
21897
            
 
21898
            
 
21899
 
 
21900
 
 
21901
 
 
21902
 
 
21903
 
 
21904
 
 
21905
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
21906
        if test -n "$ac_tool_prefix"; then
 
21907
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
21908
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
21909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
21910
$as_echo_n "checking for $ac_word... " >&6; }
 
21911
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
21912
  $as_echo_n "(cached) " >&6
 
21913
else
 
21914
  case $PKG_CONFIG in
 
21915
  [\\/]* | ?:[\\/]*)
 
21916
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
21917
  ;;
 
21918
  *)
 
21919
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
21920
for as_dir in $PATH
 
21921
do
 
21922
  IFS=$as_save_IFS
 
21923
  test -z "$as_dir" && as_dir=.
 
21924
    for ac_exec_ext in '' $ac_executable_extensions; do
 
21925
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21926
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
21927
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21928
    break 2
 
21929
  fi
 
21930
done
 
21931
  done
 
21932
IFS=$as_save_IFS
 
21933
 
 
21934
  ;;
 
21935
esac
 
21936
fi
 
21937
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
21938
if test -n "$PKG_CONFIG"; then
 
21939
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
21940
$as_echo "$PKG_CONFIG" >&6; }
 
21941
else
 
21942
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21943
$as_echo "no" >&6; }
 
21944
fi
 
21945
 
 
21946
 
 
21947
fi
 
21948
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
21949
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
21950
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
21951
set dummy pkg-config; ac_word=$2
 
21952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
21953
$as_echo_n "checking for $ac_word... " >&6; }
 
21954
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
21955
  $as_echo_n "(cached) " >&6
 
21956
else
 
21957
  case $ac_pt_PKG_CONFIG in
 
21958
  [\\/]* | ?:[\\/]*)
 
21959
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
21960
  ;;
 
21961
  *)
 
21962
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
21963
for as_dir in $PATH
 
21964
do
 
21965
  IFS=$as_save_IFS
 
21966
  test -z "$as_dir" && as_dir=.
 
21967
    for ac_exec_ext in '' $ac_executable_extensions; do
 
21968
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21969
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
21970
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21971
    break 2
 
21972
  fi
 
21973
done
 
21974
  done
 
21975
IFS=$as_save_IFS
 
21976
 
 
21977
  ;;
 
21978
esac
 
21979
fi
 
21980
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
21981
if test -n "$ac_pt_PKG_CONFIG"; then
 
21982
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
21983
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
21984
else
 
21985
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21986
$as_echo "no" >&6; }
 
21987
fi
 
21988
 
 
21989
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
21990
    PKG_CONFIG=""
 
21991
  else
 
21992
    case $cross_compiling:$ac_tool_warned in
 
21993
yes:)
 
21994
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
21995
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
21996
ac_tool_warned=yes ;;
 
21997
esac
 
21998
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
21999
  fi
 
22000
else
 
22001
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
22002
fi
 
22003
 
 
22004
fi
 
22005
if test -n "$PKG_CONFIG"; then
 
22006
        _pkg_min_version=0.9.0
 
22007
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
22008
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
22009
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
22010
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
22011
$as_echo "yes" >&6; }
 
22012
        else
 
22013
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
22014
$as_echo "no" >&6; }
 
22015
                PKG_CONFIG=""
 
22016
        fi
 
22017
fi
 
22018
 
 
22019
            if test "x$HAVE_PKG_CONFIG" = "xyes"; then
 
22020
                
 
22021
pkg_failed=no
 
22022
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HUNSPELL" >&5
 
22023
$as_echo_n "checking for HUNSPELL... " >&6; }
 
22024
 
 
22025
if test -n "$HUNSPELL_CFLAGS"; then
 
22026
    pkg_cv_HUNSPELL_CFLAGS="$HUNSPELL_CFLAGS"
 
22027
 elif test -n "$PKG_CONFIG"; then
 
22028
    if test -n "$PKG_CONFIG" && \
 
22029
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hunspell\""; } >&5
 
22030
  ($PKG_CONFIG --exists --print-errors "hunspell") 2>&5
 
22031
  ac_status=$?
 
22032
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
22033
  test $ac_status = 0; }; then
 
22034
  pkg_cv_HUNSPELL_CFLAGS=`$PKG_CONFIG --cflags "hunspell" 2>/dev/null`
 
22035
                      test "x$?" != "x0" && pkg_failed=yes 
 
22036
else
 
22037
  pkg_failed=yes
 
22038
fi
 
22039
 else
 
22040
    pkg_failed=untried
 
22041
fi
 
22042
if test -n "$HUNSPELL_LIBS"; then
 
22043
    pkg_cv_HUNSPELL_LIBS="$HUNSPELL_LIBS"
 
22044
 elif test -n "$PKG_CONFIG"; then
 
22045
    if test -n "$PKG_CONFIG" && \
 
22046
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hunspell\""; } >&5
 
22047
  ($PKG_CONFIG --exists --print-errors "hunspell") 2>&5
 
22048
  ac_status=$?
 
22049
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
22050
  test $ac_status = 0; }; then
 
22051
  pkg_cv_HUNSPELL_LIBS=`$PKG_CONFIG --libs "hunspell" 2>/dev/null`
 
22052
                      test "x$?" != "x0" && pkg_failed=yes 
 
22053
else
 
22054
  pkg_failed=yes
 
22055
fi
 
22056
 else
 
22057
    pkg_failed=untried
 
22058
fi
 
22059
 
 
22060
 
 
22061
 
 
22062
if test $pkg_failed = yes; then
 
22063
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
22064
$as_echo "no" >&6; }
 
22065
        
 
22066
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
22067
        _pkg_short_errors_supported=yes
 
22068
else
 
22069
        _pkg_short_errors_supported=no
 
22070
fi
 
22071
        if test $_pkg_short_errors_supported = yes; then
 
22072
                HUNSPELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "hunspell" 2>&1`
 
22073
        else 
 
22074
                HUNSPELL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "hunspell" 2>&1`
 
22075
        fi
 
22076
        # Put the nasty error message in config.log where it belongs
 
22077
        echo "$HUNSPELL_PKG_ERRORS" >&5
 
22078
 
 
22079
        as_fn_error $? "Package requirements (hunspell) were not met:
 
22080
 
 
22081
$HUNSPELL_PKG_ERRORS
 
22082
 
 
22083
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
22084
installed software in a non-standard prefix.
 
22085
 
 
22086
Alternatively, you may set the environment variables HUNSPELL_CFLAGS
 
22087
and HUNSPELL_LIBS to avoid the need to call pkg-config.
 
22088
See the pkg-config man page for more details." "$LINENO" 5        
 
22089
elif test $pkg_failed = untried; then
 
22090
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
22091
$as_echo "no" >&6; }
 
22092
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
22093
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
22094
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
22095
is in your PATH or set the PKG_CONFIG environment variable to the full
 
22096
path to pkg-config.
 
22097
 
 
22098
Alternatively, you may set the environment variables HUNSPELL_CFLAGS
 
22099
and HUNSPELL_LIBS to avoid the need to call pkg-config.
 
22100
See the pkg-config man page for more details.
 
22101
 
 
22102
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
22103
See \`config.log' for more details" "$LINENO" 5; }        
 
22104
else
 
22105
        HUNSPELL_CFLAGS=$pkg_cv_HUNSPELL_CFLAGS
 
22106
        HUNSPELL_LIBS=$pkg_cv_HUNSPELL_LIBS
 
22107
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
22108
$as_echo "yes" >&6; }
 
22109
        
 
22110
fi
 
22111
            fi
 
22112
        fi
 
22113
        CB_HUNSPELL_CFLAGS="$HUNSPELL_CFLAGS"
 
22114
        CB_HUNSPELL_LIBS="$HUNSPELL_LIBS"
 
22115
    ;;
 
22116
    *)
 
22117
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: other" >&5
 
22118
$as_echo "other" >&6; }
 
22119
    ;;
 
22120
esac
 
22121
 
 
22122
 
 
22123
    GCC_FULL_VERSION=""
 
22124
    GCC_MAJOR_VERSION=""
 
22125
    GCC_MINOR_VERSION=""
 
22126
    GCC_PATCH_VERSION=""
 
22127
    if test "x$GCC" = "xyes" ; then
 
22128
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
 
22129
$as_echo_n "checking gcc version... " >&6; }
 
22130
if ${cb_cv_gcc_version+:} false; then :
 
22131
  $as_echo_n "(cached) " >&6
 
22132
else
 
22133
  
 
22134
            cb_cv_gcc_version="`$CC -dumpversion`"
 
22135
            if test "x$cb_cv_gcc_version" = "x"; then
 
22136
                cb_cv_gcc_version=""
 
22137
            fi
 
22138
        
 
22139
fi
 
22140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cb_cv_gcc_version" >&5
 
22141
$as_echo "$cb_cv_gcc_version" >&6; }
 
22142
        GCC_FULL_VERSION=$cb_cv_gcc_version
 
22143
        GCC_MAJOR_VERSION=$(echo $GCC_FULL_VERSION | cut -d'.' -f1)
 
22144
        GCC_MINOR_VERSION=$(echo $GCC_FULL_VERSION | cut -d'.' -f2)
 
22145
        GCC_PATCH_VERSION=$(echo $GCC_FULL_VERSION | cut -d'.' -f3)
 
22146
    fi
 
22147
    
 
22148
    
 
22149
    
 
22150
    
 
22151
 
 
22152
 if test $GCC_MAJOR_VERSION -gt 4 -o $GCC_MAJOR_VERSION -eq 4 -a $GCC_MINOR_VERSION -ge 8; then
 
22153
  HAVE_GCC48_TRUE=
 
22154
  HAVE_GCC48_FALSE='#'
 
22155
else
 
22156
  HAVE_GCC48_TRUE='#'
 
22157
  HAVE_GCC48_FALSE=
 
22158
fi
 
22159
 
 
22160
 
 
22161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets >= 2.9.0" >&5
 
22162
$as_echo_n "checking for wxWidgets >= 2.9.0... " >&6; }
 
22163
 if test $wx_config_major_version -gt 2 -o $wx_config_major_version -eq 2 -a $wx_config_minor_version -ge 9; then
 
22164
  HAVE_WX29_TRUE=
 
22165
  HAVE_WX29_FALSE='#'
 
22166
else
 
22167
  HAVE_WX29_TRUE='#'
 
22168
  HAVE_WX29_FALSE=
 
22169
fi
 
22170
 
 
22171
 
 
22172
if test "x$HAVE_WX29_TRUE" = "x" ; then
 
22173
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
 
22174
$as_echo "yes (version $WX_VERSION)" >&6; }
 
22175
    { $as_echo "$as_me:${as_lineno-$LINENO}: (Re)setting libs for wxWidgets $WX_VERSION" >&5
 
22176
$as_echo "$as_me: (Re)setting libs for wxWidgets $WX_VERSION" >&6;}
 
22177
    WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs std,aui,propgrid,richtext`
 
22178
    WXPROPGRID_DIR=
 
22179
    WXPROPGRID_LIB=
 
22180
    WXPROPGRID_INCLUDE=
 
22181
else
 
22182
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
22183
$as_echo "no" >&6; }
 
22184
    WXPROPGRID_DIR=wxpropgrid
 
22185
    WXPROPGRID_LIB=wxpropgrid/libwxpropgrid.la
 
22186
    WXPROPGRID_INCLUDE=-I\$\(top_srcdir\)/src/sdk/wxpropgrid/include
 
22187
 
 
22188
    if test "x$HAVE_GCC48_TRUE" = "x" ; then
 
22189
        gcc48_flags="-Wno-unused-local-typedefs"
 
22190
        { $as_echo "$as_me:${as_lineno-$LINENO}: setting additional flags for gcc $GCC_FULL_VERSION: $gcc48_flags" >&5
 
22191
$as_echo "$as_me: setting additional flags for gcc $GCC_FULL_VERSION: $gcc48_flags" >&6;}
 
22192
        CXXFLAGS="$gcc48_flags $CXXFLAGS"
 
22193
    fi
 
22194
fi
 
22195
 
 
22196
 
 
22197
 
 
22198
 
 
22199
 
 
22200
 
 
22201
 
 
22202
 
 
22203
 
 
22204
 
 
22205
 
 
22206
 
 
22207
 
 
22208
 
 
22209
 
 
22210
 
 
22211
 
 
22212
 
 
22213
 
 
22214
 
 
22215
 
 
22216
 
 
22217
PIC_FLAGS=
 
22218
 
 
22219
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIC flags" >&5
 
22220
$as_echo_n "checking for PIC flags... " >&6; }
 
22221
case `uname` in
 
22222
    Solaris)
 
22223
        if test "$GCC" = yes; then
 
22224
            PIC_FLAGS="-fPIC -DPIC"
 
22225
        else
 
22226
            PIC_FLAGS="-KPIC -DPIC"
 
22227
        fi
 
22228
    ;;
 
22229
    *)
 
22230
        PIC_FLAGS="-fPIC -DPIC"
 
22231
    ;;
 
22232
esac
 
22233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PIC_FLAGS" >&5
 
22234
$as_echo "$PIC_FLAGS" >&6; }
 
22235
 
 
22236
CPPFLAGS="$CPPFLAGS -ansi -DTIXML_USE_STL"
 
22237
CXXFLAGS="$CXXFLAGS $PCH_FLAGS $PIC_FLAGS -fexceptions"
 
22238
codeblocks_PCH_FLAGS="$PCH_FLAGS"
 
22239
 
 
22240
 
 
22241
 
 
22242
{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Code::Blocks..." >&5
 
22243
$as_echo "$as_me: Configuring Code::Blocks..." >&6;}
 
22244
{ $as_echo "$as_me:${as_lineno-$LINENO}: SVN revision 16.01svn10692 (2016-01-23 15:52:29)" >&5
 
22245
$as_echo "$as_me: SVN revision 16.01svn10692 (2016-01-23 15:52:29)" >&6;}
 
22246
REVISION=10692
 
22247
 
 
22248
DATE="2016-01-23 15:52:29"
 
22249
 
 
22250
 
 
22251
ac_config_files="$ac_config_files Makefile src/Makefile src/base/Makefile src/base/tinyxml/Makefile src/build_tools/Makefile src/build_tools/autorevision/Makefile src/include/autorevision.h src/include/Makefile src/include/scripting/Makefile src/include/scripting/bindings/Makefile src/include/scripting/include/Makefile src/include/scripting/sqplus/Makefile src/include/scripting/sqstdlib/Makefile src/include/scripting/squirrel/Makefile src/include/tinyxml/Makefile src/sdk/Makefile src/sdk/wxpropgrid/Makefile src/sdk/scripting/Makefile src/sdk/scripting/bindings/Makefile src/sdk/scripting/squirrel/Makefile src/sdk/scripting/sqstdlib/Makefile src/sdk/scripting/sqplus/Makefile src/sdk/wxscintilla/Makefile src/sdk/resources/Makefile src/sdk/resources/lexers/Makefile src/src/resources/Makefile src/src/resources/icons/Makefile src/src/resources/images/Makefile src/src/resources/images/16x16/Makefile src/src/resources/images/settings/Makefile src/src/Makefile src/plugins/Makefile src/plugins/astyle/Makefile src/plugins/astyle/resources/Makefile src/plugins/autosave/Makefile src/plugins/classwizard/Makefile src/plugins/classwizard/resources/Makefile src/plugins/codecompletion/Makefile src/plugins/codecompletion/resources/Makefile src/plugins/compilergcc/Makefile src/plugins/compilergcc/depslib/Makefile src/plugins/compilergcc/depslib/src/Makefile src/plugins/compilergcc/resources/Makefile src/plugins/debuggergdb/Makefile src/plugins/debuggergdb/resources/Makefile src/plugins/defaultmimehandler/Makefile src/plugins/defaultmimehandler/resources/Makefile src/plugins/openfileslist/Makefile src/plugins/occurrenceshighlighting/Makefile src/plugins/occurrenceshighlighting/resources/Makefile src/plugins/projectsimporter/Makefile src/plugins/projectsimporter/resources/Makefile src/plugins/scriptedwizard/Makefile src/plugins/scriptedwizard/resources/Makefile src/plugins/scriptedwizard/resources/arm/Makefile src/plugins/scriptedwizard/resources/avr/Makefile src/plugins/scriptedwizard/resources/c_file/Makefile src/plugins/scriptedwizard/resources/console/Makefile src/plugins/scriptedwizard/resources/d/Makefile src/plugins/scriptedwizard/resources/directx/Makefile src/plugins/scriptedwizard/resources/dll/Makefile src/plugins/scriptedwizard/resources/empty/Makefile src/plugins/scriptedwizard/resources/empty_file/Makefile src/plugins/scriptedwizard/resources/fltk/Makefile src/plugins/scriptedwizard/resources/fortran/Makefile src/plugins/scriptedwizard/resources/glfw/Makefile src/plugins/scriptedwizard/resources/glut/Makefile src/plugins/scriptedwizard/resources/gtk/Makefile src/plugins/scriptedwizard/resources/h_file/Makefile src/plugins/scriptedwizard/resources/irrlicht/Makefile src/plugins/scriptedwizard/resources/lf/Makefile src/plugins/scriptedwizard/resources/matlab_csf/Makefile src/plugins/scriptedwizard/resources/matlab_csf/files/Makefile src/plugins/scriptedwizard/resources/matlab_csf/lccstub/Makefile src/plugins/scriptedwizard/resources/mcs51/Makefile src/plugins/scriptedwizard/resources/ogre/Makefile src/plugins/scriptedwizard/resources/ogre/files/Makefile src/plugins/scriptedwizard/resources/opencv/Makefile src/plugins/scriptedwizard/resources/opengl/Makefile src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile src/plugins/scriptedwizard/resources/opengl/files_win/Makefile src/plugins/scriptedwizard/resources/plugins/Makefile src/plugins/scriptedwizard/resources/plugins/templates/Makefile src/plugins/scriptedwizard/resources/ppc/Makefile src/plugins/scriptedwizard/resources/qt4/Makefile src/plugins/scriptedwizard/resources/qt4/files/Makefile src/plugins/scriptedwizard/resources/sdl/Makefile src/plugins/scriptedwizard/resources/sdl/files/Makefile src/plugins/scriptedwizard/resources/sfml/Makefile src/plugins/scriptedwizard/resources/sharedlib/Makefile src/plugins/scriptedwizard/resources/sharedlib/c/Makefile src/plugins/scriptedwizard/resources/sharedlib/cpp/Makefile src/plugins/scriptedwizard/resources/smartwin/Makefile src/plugins/scriptedwizard/resources/smartwin/files/Makefile src/plugins/scriptedwizard/resources/staticlib/Makefile src/plugins/scriptedwizard/resources/staticlib/files/Makefile src/plugins/scriptedwizard/resources/stlport/Makefile src/plugins/scriptedwizard/resources/stlport/files/Makefile src/plugins/scriptedwizard/resources/sys/Makefile src/plugins/scriptedwizard/resources/tricore/Makefile src/plugins/scriptedwizard/resources/win32gui/Makefile src/plugins/scriptedwizard/resources/wxwidgets/Makefile src/plugins/todo/Makefile src/plugins/todo/resources/Makefile src/plugins/abbreviations/Makefile src/plugins/abbreviations/resources/Makefile src/plugins/xpmanifest/Makefile src/plugins/contrib/Makefile src/plugins/contrib/AutoVersioning/Makefile src/plugins/contrib/BrowseTracker/Makefile src/plugins/contrib/byogames/Makefile src/plugins/contrib/Cccc/Makefile src/plugins/contrib/Cccc/resources/Makefile src/plugins/contrib/CppCheck/Makefile src/plugins/contrib/CppCheck/resources/Makefile src/plugins/contrib/cb_koders/Makefile src/plugins/contrib/codesnippets/Makefile src/plugins/contrib/codesnippets/resources/Makefile src/plugins/contrib/codestat/Makefile src/plugins/contrib/codestat/resources/Makefile src/plugins/contrib/copystrings/Makefile src/plugins/contrib/Cscope/Makefile src/plugins/contrib/devpak_plugin/Makefile src/plugins/contrib/devpak_plugin/bzip2/Makefile src/plugins/contrib/DoxyBlocks/Makefile src/plugins/contrib/DoxyBlocks/images/Makefile src/plugins/contrib/DoxyBlocks/images/16x16/Makefile src/plugins/contrib/dragscroll/Makefile src/plugins/contrib/EditorConfig/Makefile src/plugins/contrib/EditorTweaks/Makefile src/plugins/contrib/envvars/Makefile src/plugins/contrib/FileManager/Makefile src/plugins/contrib/headerfixup/Makefile src/plugins/contrib/help_plugin/Makefile src/plugins/contrib/help_plugin/bzip2/Makefile src/plugins/contrib/help_plugin/zlib/Makefile src/plugins/contrib/keybinder/Makefile src/plugins/contrib/NassiShneiderman/Makefile src/plugins/contrib/profiler/Makefile src/plugins/contrib/profiler/resources/Makefile src/plugins/contrib/ProjectOptionsManipulator/Makefile src/plugins/contrib/source_exporter/Makefile src/plugins/contrib/source_exporter/wxPdfDocument/Makefile src/plugins/contrib/SmartIndent/Makefile src/plugins/contrib/SpellChecker/Makefile src/plugins/contrib/SpellChecker/wxspellchecker/Makefile src/plugins/contrib/symtab/Makefile src/plugins/contrib/symtab/resources/Makefile src/plugins/contrib/regex_testbed/Makefile src/plugins/contrib/ReopenEditor/Makefile src/plugins/contrib/ThreadSearch/Makefile src/plugins/contrib/ThreadSearch/resources/Makefile src/plugins/contrib/ThreadSearch/resources/images/Makefile src/plugins/contrib/ThreadSearch/resources/images/16x16/Makefile src/plugins/contrib/ThreadSearch/resources/images/22x22/Makefile src/plugins/contrib/ToolsPlus/Makefile src/plugins/contrib/ToolsPlus/Resources/Makefile src/plugins/contrib/Valgrind/Makefile src/plugins/contrib/Valgrind/resources/Makefile src/plugins/contrib/wxContribItems/Makefile src/plugins/contrib/wxContribItems/wxsmith-contrib.pc src/plugins/contrib/wxContribItems/cb_wxcontrib.pc src/plugins/contrib/wxContribItems/cb_wxchartctrl.pc src/plugins/contrib/wxContribItems/cb_wxcustombutton.pc src/plugins/contrib/wxContribItems/cb_wximagepanel.pc src/plugins/contrib/wxContribItems/cb_wxflatnotebook.pc src/plugins/contrib/wxContribItems/cb_wxspeedbutton.pc src/plugins/contrib/wxContribItems/cb_wxKWIC.pc src/plugins/contrib/wxContribItems/cb_wxtreelist.pc src/plugins/contrib/wxContribItems/cb_wxled.pc src/plugins/contrib/wxContribItems/cb_wxmathplot.pc src/plugins/contrib/wxContribItems/wxchart/Makefile src/plugins/contrib/wxContribItems/wxFlatNotebook/Makefile src/plugins/contrib/wxContribItems/wxImagePanel/Makefile src/plugins/contrib/wxContribItems/wxthings/Makefile src/plugins/contrib/wxContribItems/wxSpeedButton/Makefile src/plugins/contrib/wxContribItems/KWIC/Makefile src/plugins/contrib/wxContribItems/KWIC/include/wx/KWIC/Makefile src/plugins/contrib/wxContribItems/KWIC/include/wx/xrc/Makefile src/plugins/contrib/wxContribItems/wxTreeList/Makefile src/plugins/contrib/wxContribItems/wxled/Makefile src/plugins/contrib/wxContribItems/wxled/gizmosled/include/wx/gizmos/Makefile src/plugins/contrib/wxContribItems/wxled/lcdWindow/include/wx/Makefile src/plugins/contrib/wxContribItems/wxled/led/include/wx/Makefile src/plugins/contrib/wxContribItems/wxled/led/include/xrc/Makefile src/plugins/contrib/wxContribItems/wxled/ledpanel/include/wx/Makefile src/plugins/contrib/wxContribItems/wxmathplot/Makefile src/plugins/contrib/wxSmith/Makefile src/plugins/contrib/wxSmith/wxsmith.pc src/plugins/contrib/wxSmith/plugin/Makefile src/plugins/contrib/wxSmith/properties/Makefile src/plugins/contrib/wxSmith/wxwidgets/Makefile src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile src/plugins/contrib/wxSmithContribItems/Makefile src/plugins/contrib/wxSmithAui/Makefile src/plugins/contrib/wxSmithAui/wxsmithaui.pc src/plugins/contrib/wxSmithDateTimePicker/Makefile src/plugins/contrib/wxSmithDemo/Makefile src/plugins/contrib/wxSmithIExplore/Makefile src/plugins/contrib/wxSmithSTC/Makefile src/plugins/contrib/lib_finder/Makefile src/plugins/contrib/lib_finder/lib_finder/Makefile src/plugins/contrib/HexEditor/Makefile src/plugins/contrib/IncrementalSearch/Makefile src/plugins/contrib/MouseSap/Makefile src/mime/Makefile src/scripts/Makefile src/tools/Makefile src/tools/cb_share_config/Makefile src/tools/ConsoleRunner/Makefile src/tools/CBLauncher/Makefile src/templates/Makefile src/templates/common/Makefile src/templates/unix/Makefile src/templates/win32/Makefile src/wxsmith/Makefile codeblocks.pc codeblocks.spec codeblocks.plist"
 
22252
 
 
22253
 
 
22254
cat >confcache <<\_ACEOF
 
22255
# This file is a shell script that caches the results of configure
 
22256
# tests run on this system so they can be shared between configure
 
22257
# scripts and configure runs, see configure's option --config-cache.
 
22258
# It is not useful on other systems.  If it contains results you don't
 
22259
# want to keep, you may remove or edit it.
 
22260
#
 
22261
# config.status only pays attention to the cache file if you give it
 
22262
# the --recheck option to rerun configure.
 
22263
#
 
22264
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
22265
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
22266
# following values.
 
22267
 
 
22268
_ACEOF
 
22269
 
 
22270
# The following way of writing the cache mishandles newlines in values,
 
22271
# but we know of no workaround that is simple, portable, and efficient.
 
22272
# So, we kill variables containing newlines.
 
22273
# Ultrix sh set writes to stderr and can't be redirected directly,
 
22274
# and sets the high bit in the cache file unless we assign to the vars.
 
22275
(
 
22276
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
22277
    eval ac_val=\$$ac_var
 
22278
    case $ac_val in #(
 
22279
    *${as_nl}*)
 
22280
      case $ac_var in #(
 
22281
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
22282
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
22283
      esac
 
22284
      case $ac_var in #(
 
22285
      _ | IFS | as_nl) ;; #(
 
22286
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
22287
      *) { eval $ac_var=; unset $ac_var;} ;;
 
22288
      esac ;;
 
22289
    esac
 
22290
  done
 
22291
 
 
22292
  (set) 2>&1 |
 
22293
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
22294
    *${as_nl}ac_space=\ *)
 
22295
      # `set' does not quote correctly, so add quotes: double-quote
 
22296
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
22297
      sed -n \
 
22298
        "s/'/'\\\\''/g;
 
22299
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
22300
      ;; #(
 
22301
    *)
 
22302
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
22303
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
22304
      ;;
 
22305
    esac |
 
22306
    sort
 
22307
) |
 
22308
  sed '
 
22309
     /^ac_cv_env_/b end
 
22310
     t clear
 
22311
     :clear
 
22312
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
22313
     t end
 
22314
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
22315
     :end' >>confcache
 
22316
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
22317
  if test -w "$cache_file"; then
 
22318
    if test "x$cache_file" != "x/dev/null"; then
 
22319
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
22320
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
22321
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
22322
        cat confcache >"$cache_file"
 
22323
      else
 
22324
        case $cache_file in #(
 
22325
        */* | ?:*)
 
22326
          mv -f confcache "$cache_file"$$ &&
 
22327
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
22328
        *)
 
22329
          mv -f confcache "$cache_file" ;;
 
22330
        esac
 
22331
      fi
 
22332
    fi
 
22333
  else
 
22334
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
22335
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
22336
  fi
 
22337
fi
 
22338
rm -f confcache
 
22339
 
 
22340
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
22341
# Let make expand exec_prefix.
 
22342
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
22343
 
 
22344
DEFS=-DHAVE_CONFIG_H
 
22345
 
 
22346
ac_libobjs=
 
22347
ac_ltlibobjs=
 
22348
U=
 
22349
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
 
22350
  # 1. Remove the extension, and $U if already installed.
 
22351
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
22352
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
22353
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
22354
  #    will be set to the directory where LIBOBJS objects are built.
 
22355
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
22356
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
22357
done
 
22358
LIB@&t@OBJS=$ac_libobjs
 
22359
 
 
22360
LTLIBOBJS=$ac_ltlibobjs
 
22361
 
 
22362
 
 
22363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
 
22364
$as_echo_n "checking that generated files are newer than configure... " >&6; }
 
22365
   if test -n "$am_sleep_pid"; then
 
22366
     # Hide warnings about reused PIDs.
 
22367
     wait $am_sleep_pid 2>/dev/null
 
22368
   fi
 
22369
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 
22370
$as_echo "done" >&6; }
 
22371
 if test -n "$EXEEXT"; then
 
22372
  am__EXEEXT_TRUE=
 
22373
  am__EXEEXT_FALSE='#'
 
22374
else
 
22375
  am__EXEEXT_TRUE='#'
 
22376
  am__EXEEXT_FALSE=
 
22377
fi
 
22378
 
 
22379
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
22380
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
22381
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22382
fi
 
22383
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
22384
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
22385
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22386
fi
 
22387
if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
 
22388
  as_fn_error $? "conditional \"LINUX\" was never defined.
 
22389
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22390
fi
 
22391
if test -z "${DARWIN_TRUE}" && test -z "${DARWIN_FALSE}"; then
 
22392
  as_fn_error $? "conditional \"DARWIN\" was never defined.
 
22393
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22394
fi
 
22395
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
22396
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 
22397
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22398
fi
 
22399
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
22400
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
22401
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22402
fi
 
22403
if test -z "${CODEBLOCKS_NT_TRUE}" && test -z "${CODEBLOCKS_NT_FALSE}"; then
 
22404
  as_fn_error $? "conditional \"CODEBLOCKS_NT\" was never defined.
 
22405
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22406
fi
 
22407
if test -z "${CODEBLOCKS_LINUX_TRUE}" && test -z "${CODEBLOCKS_LINUX_FALSE}"; then
 
22408
  as_fn_error $? "conditional \"CODEBLOCKS_LINUX\" was never defined.
 
22409
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22410
fi
 
22411
if test -z "${CODEBLOCKS_DARWIN_TRUE}" && test -z "${CODEBLOCKS_DARWIN_FALSE}"; then
 
22412
  as_fn_error $? "conditional \"CODEBLOCKS_DARWIN\" was never defined.
 
22413
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22414
fi
 
22415
if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
 
22416
  as_fn_error $? "conditional \"HAVE_ZLIB\" was never defined.
 
22417
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22418
fi
 
22419
if test -z "${HAVE_BZIP2_TRUE}" && test -z "${HAVE_BZIP2_FALSE}"; then
 
22420
  as_fn_error $? "conditional \"HAVE_BZIP2\" was never defined.
 
22421
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22422
fi
 
22423
if test -z "${BUILD_ASTYLE_TRUE}" && test -z "${BUILD_ASTYLE_FALSE}"; then
 
22424
  as_fn_error $? "conditional \"BUILD_ASTYLE\" was never defined.
 
22425
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22426
fi
 
22427
if test -z "${BUILD_AUTOSAVE_TRUE}" && test -z "${BUILD_AUTOSAVE_FALSE}"; then
 
22428
  as_fn_error $? "conditional \"BUILD_AUTOSAVE\" was never defined.
 
22429
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22430
fi
 
22431
if test -z "${BUILD_CLASSWIZARD_TRUE}" && test -z "${BUILD_CLASSWIZARD_FALSE}"; then
 
22432
  as_fn_error $? "conditional \"BUILD_CLASSWIZARD\" was never defined.
 
22433
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22434
fi
 
22435
if test -z "${BUILD_CODECOMPLETION_TRUE}" && test -z "${BUILD_CODECOMPLETION_FALSE}"; then
 
22436
  as_fn_error $? "conditional \"BUILD_CODECOMPLETION\" was never defined.
 
22437
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22438
fi
 
22439
if test -z "${BUILD_COMPILER_TRUE}" && test -z "${BUILD_COMPILER_FALSE}"; then
 
22440
  as_fn_error $? "conditional \"BUILD_COMPILER\" was never defined.
 
22441
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22442
fi
 
22443
if test -z "${BUILD_DEBUGGER_TRUE}" && test -z "${BUILD_DEBUGGER_FALSE}"; then
 
22444
  as_fn_error $? "conditional \"BUILD_DEBUGGER\" was never defined.
 
22445
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22446
fi
 
22447
if test -z "${BUILD_MIMEHANDLER_TRUE}" && test -z "${BUILD_MIMEHANDLER_FALSE}"; then
 
22448
  as_fn_error $? "conditional \"BUILD_MIMEHANDLER\" was never defined.
 
22449
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22450
fi
 
22451
if test -z "${BUILD_OPENFILESLIST_TRUE}" && test -z "${BUILD_OPENFILESLIST_FALSE}"; then
 
22452
  as_fn_error $? "conditional \"BUILD_OPENFILESLIST\" was never defined.
 
22453
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22454
fi
 
22455
if test -z "${BUILD_OCCURRENCESHIGHLIGHTING_TRUE}" && test -z "${BUILD_OCCURRENCESHIGHLIGHTING_FALSE}"; then
 
22456
  as_fn_error $? "conditional \"BUILD_OCCURRENCESHIGHLIGHTING\" was never defined.
 
22457
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22458
fi
 
22459
if test -z "${BUILD_PROJECTSIMPORTER_TRUE}" && test -z "${BUILD_PROJECTSIMPORTER_FALSE}"; then
 
22460
  as_fn_error $? "conditional \"BUILD_PROJECTSIMPORTER\" was never defined.
 
22461
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22462
fi
 
22463
if test -z "${BUILD_SCRIPTEDWIZARD_TRUE}" && test -z "${BUILD_SCRIPTEDWIZARD_FALSE}"; then
 
22464
  as_fn_error $? "conditional \"BUILD_SCRIPTEDWIZARD\" was never defined.
 
22465
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22466
fi
 
22467
if test -z "${BUILD_TODO_TRUE}" && test -z "${BUILD_TODO_FALSE}"; then
 
22468
  as_fn_error $? "conditional \"BUILD_TODO\" was never defined.
 
22469
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22470
fi
 
22471
if test -z "${BUILD_ABBREVIATIONS_TRUE}" && test -z "${BUILD_ABBREVIATIONS_FALSE}"; then
 
22472
  as_fn_error $? "conditional \"BUILD_ABBREVIATIONS\" was never defined.
 
22473
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22474
fi
 
22475
if test -z "${KEEP_DLLS_TRUE}" && test -z "${KEEP_DLLS_FALSE}"; then
 
22476
  as_fn_error $? "conditional \"KEEP_DLLS\" was never defined.
 
22477
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22478
fi
 
22479
if test -z "${ENABLE_FORTRAN_TRUE}" && test -z "${ENABLE_FORTRAN_FALSE}"; then
 
22480
  as_fn_error $? "conditional \"ENABLE_FORTRAN\" was never defined.
 
22481
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22482
fi
 
22483
if test -z "${GTK_NOTEBOOK_TRUE}" && test -z "${GTK_NOTEBOOK_FALSE}"; then
 
22484
  as_fn_error $? "conditional \"GTK_NOTEBOOK\" was never defined.
 
22485
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22486
fi
 
22487
if test -z "${BUILD_MANIFEST_TRUE}" && test -z "${BUILD_MANIFEST_FALSE}"; then
 
22488
  as_fn_error $? "conditional \"BUILD_MANIFEST\" was never defined.
 
22489
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22490
fi
 
22491
if test -z "${BUILD_MANIFEST_TRUE}" && test -z "${BUILD_MANIFEST_FALSE}"; then
 
22492
  as_fn_error $? "conditional \"BUILD_MANIFEST\" was never defined.
 
22493
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22494
fi
 
22495
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
 
22496
  as_fn_error $? "conditional \"BUILD_AUTOVERSIONING\" was never defined.
 
22497
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22498
fi
 
22499
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
 
22500
  as_fn_error $? "conditional \"BUILD_BROWSETRACKER\" was never defined.
 
22501
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22502
fi
 
22503
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
 
22504
  as_fn_error $? "conditional \"BUILD_BYOGAMES\" was never defined.
 
22505
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22506
fi
 
22507
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
 
22508
  as_fn_error $? "conditional \"BUILD_CBKODERS\" was never defined.
 
22509
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22510
fi
 
22511
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
 
22512
  as_fn_error $? "conditional \"BUILD_CODESNIPPETS\" was never defined.
 
22513
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22514
fi
 
22515
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
 
22516
  as_fn_error $? "conditional \"BUILD_CODESTAT\" was never defined.
 
22517
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22518
fi
 
22519
if test -z "${BUILD_COPYSTRINGS_TRUE}" && test -z "${BUILD_COPYSTRINGS_FALSE}"; then
 
22520
  as_fn_error $? "conditional \"BUILD_COPYSTRINGS\" was never defined.
 
22521
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22522
fi
 
22523
if test -z "${BUILD_CSCOPE_TRUE}" && test -z "${BUILD_CSCOPE_FALSE}"; then
 
22524
  as_fn_error $? "conditional \"BUILD_CSCOPE\" was never defined.
 
22525
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22526
fi
 
22527
if test -z "${BUILD_DOXYBLOCKS_TRUE}" && test -z "${BUILD_DOXYBLOCKS_FALSE}"; then
 
22528
  as_fn_error $? "conditional \"BUILD_DOXYBLOCKS\" was never defined.
 
22529
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22530
fi
 
22531
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
 
22532
  as_fn_error $? "conditional \"BUILD_DRAGSCROLL\" was never defined.
 
22533
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22534
fi
 
22535
if test -z "${BUILD_EDITORCONFIG_TRUE}" && test -z "${BUILD_EDITORCONFIG_FALSE}"; then
 
22536
  as_fn_error $? "conditional \"BUILD_EDITORCONFIG\" was never defined.
 
22537
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22538
fi
 
22539
if test -z "${BUILD_EDITORTWEAKS_TRUE}" && test -z "${BUILD_EDITORTWEAKS_FALSE}"; then
 
22540
  as_fn_error $? "conditional \"BUILD_EDITORTWEAKS\" was never defined.
 
22541
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22542
fi
 
22543
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
 
22544
  as_fn_error $? "conditional \"BUILD_ENVVARS\" was never defined.
 
22545
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22546
fi
 
22547
if test -z "${BUILD_FILEMANAGER_TRUE}" && test -z "${BUILD_FILEMANAGER_FALSE}"; then
 
22548
  as_fn_error $? "conditional \"BUILD_FILEMANAGER\" was never defined.
 
22549
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22550
fi
 
22551
if test -z "${BUILD_HEADERFIXUP_TRUE}" && test -z "${BUILD_HEADERFIXUP_FALSE}"; then
 
22552
  as_fn_error $? "conditional \"BUILD_HEADERFIXUP\" was never defined.
 
22553
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22554
fi
 
22555
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
 
22556
  as_fn_error $? "conditional \"BUILD_HELP\" was never defined.
 
22557
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22558
fi
 
22559
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
 
22560
  as_fn_error $? "conditional \"BUILD_KEYBINDER\" was never defined.
 
22561
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22562
fi
 
22563
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
 
22564
  as_fn_error $? "conditional \"BUILD_LIBFINDER\" was never defined.
 
22565
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22566
fi
 
22567
if test -z "${BUILD_NASSISHNEIDERMAN_TRUE}" && test -z "${BUILD_NASSISHNEIDERMAN_FALSE}"; then
 
22568
  as_fn_error $? "conditional \"BUILD_NASSISHNEIDERMAN\" was never defined.
 
22569
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22570
fi
 
22571
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
 
22572
  as_fn_error $? "conditional \"BUILD_PROFILER\" was never defined.
 
22573
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22574
fi
 
22575
if test -z "${BUILD_PROJECTOPTIONSMANIPULATOR_TRUE}" && test -z "${BUILD_PROJECTOPTIONSMANIPULATOR_FALSE}"; then
 
22576
  as_fn_error $? "conditional \"BUILD_PROJECTOPTIONSMANIPULATOR\" was never defined.
 
22577
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22578
fi
 
22579
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
 
22580
  as_fn_error $? "conditional \"BUILD_REGEX\" was never defined.
 
22581
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22582
fi
 
22583
if test -z "${BUILD_REOPENEDITOR_TRUE}" && test -z "${BUILD_REOPENEDITOR_FALSE}"; then
 
22584
  as_fn_error $? "conditional \"BUILD_REOPENEDITOR\" was never defined.
 
22585
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22586
fi
 
22587
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
 
22588
  as_fn_error $? "conditional \"BUILD_EXPORTER\" was never defined.
 
22589
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22590
fi
 
22591
if test -z "${BUILD_SMARTINDENT_TRUE}" && test -z "${BUILD_SMARTINDENT_FALSE}"; then
 
22592
  as_fn_error $? "conditional \"BUILD_SMARTINDENT\" was never defined.
 
22593
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22594
fi
 
22595
if test -z "${BUILD_SPELLCHECKER_TRUE}" && test -z "${BUILD_SPELLCHECKER_FALSE}"; then
 
22596
  as_fn_error $? "conditional \"BUILD_SPELLCHECKER\" was never defined.
 
22597
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22598
fi
 
22599
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
 
22600
  as_fn_error $? "conditional \"BUILD_SYMTAB\" was never defined.
 
22601
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22602
fi
 
22603
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
 
22604
  as_fn_error $? "conditional \"BUILD_THREADSEARCH\" was never defined.
 
22605
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22606
fi
 
22607
if test -z "${BUILD_TOOLSPLUS_TRUE}" && test -z "${BUILD_TOOLSPLUS_FALSE}"; then
 
22608
  as_fn_error $? "conditional \"BUILD_TOOLSPLUS\" was never defined.
 
22609
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22610
fi
 
22611
if test -z "${BUILD_VALGRIND_TRUE}" && test -z "${BUILD_VALGRIND_FALSE}"; then
 
22612
  as_fn_error $? "conditional \"BUILD_VALGRIND\" was never defined.
 
22613
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22614
fi
 
22615
if test -z "${BUILD_WXCONTRIB_TRUE}" && test -z "${BUILD_WXCONTRIB_FALSE}"; then
 
22616
  as_fn_error $? "conditional \"BUILD_WXCONTRIB\" was never defined.
 
22617
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22618
fi
 
22619
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
 
22620
  as_fn_error $? "conditional \"BUILD_WXSMITH\" was never defined.
 
22621
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22622
fi
 
22623
if test -z "${BUILD_WXSMITHCONTRIB_TRUE}" && test -z "${BUILD_WXSMITHCONTRIB_FALSE}"; then
 
22624
  as_fn_error $? "conditional \"BUILD_WXSMITHCONTRIB\" was never defined.
 
22625
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22626
fi
 
22627
if test -z "${BUILD_WXSMITHAUI_TRUE}" && test -z "${BUILD_WXSMITHAUI_FALSE}"; then
 
22628
  as_fn_error $? "conditional \"BUILD_WXSMITHAUI\" was never defined.
 
22629
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22630
fi
 
22631
if test -z "${BUILD_HEXEDITOR_TRUE}" && test -z "${BUILD_HEXEDITOR_FALSE}"; then
 
22632
  as_fn_error $? "conditional \"BUILD_HEXEDITOR\" was never defined.
 
22633
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22634
fi
 
22635
if test -z "${BUILD_INCSEARCH_TRUE}" && test -z "${BUILD_INCSEARCH_FALSE}"; then
 
22636
  as_fn_error $? "conditional \"BUILD_INCSEARCH\" was never defined.
 
22637
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22638
fi
 
22639
if test -z "${BUILD_MOUSESAP_TRUE}" && test -z "${BUILD_MOUSESAP_FALSE}"; then
 
22640
  as_fn_error $? "conditional \"BUILD_MOUSESAP\" was never defined.
 
22641
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22642
fi
 
22643
if test -z "${BUILD_CCCC_TRUE}" && test -z "${BUILD_CCCC_FALSE}"; then
 
22644
  as_fn_error $? "conditional \"BUILD_CCCC\" was never defined.
 
22645
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22646
fi
 
22647
if test -z "${BUILD_CPPCHECK_TRUE}" && test -z "${BUILD_CPPCHECK_FALSE}"; then
 
22648
  as_fn_error $? "conditional \"BUILD_CPPCHECK\" was never defined.
 
22649
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22650
fi
 
22651
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
 
22652
  as_fn_error $? "conditional \"BUILD_AUTOVERSIONING\" was never defined.
 
22653
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22654
fi
 
22655
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
 
22656
  as_fn_error $? "conditional \"BUILD_BROWSETRACKER\" was never defined.
 
22657
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22658
fi
 
22659
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
 
22660
  as_fn_error $? "conditional \"BUILD_BYOGAMES\" was never defined.
 
22661
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22662
fi
 
22663
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
 
22664
  as_fn_error $? "conditional \"BUILD_CBKODERS\" was never defined.
 
22665
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22666
fi
 
22667
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
 
22668
  as_fn_error $? "conditional \"BUILD_CODESNIPPETS\" was never defined.
 
22669
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22670
fi
 
22671
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
 
22672
  as_fn_error $? "conditional \"BUILD_CODESTAT\" was never defined.
 
22673
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22674
fi
 
22675
if test -z "${BUILD_COPYSTRINGS_TRUE}" && test -z "${BUILD_COPYSTRINGS_FALSE}"; then
 
22676
  as_fn_error $? "conditional \"BUILD_COPYSTRINGS\" was never defined.
 
22677
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22678
fi
 
22679
if test -z "${BUILD_CSCOPE_TRUE}" && test -z "${BUILD_CSCOPE_FALSE}"; then
 
22680
  as_fn_error $? "conditional \"BUILD_CSCOPE\" was never defined.
 
22681
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22682
fi
 
22683
if test -z "${BUILD_DOXYBLOCKS_TRUE}" && test -z "${BUILD_DOXYBLOCKS_FALSE}"; then
 
22684
  as_fn_error $? "conditional \"BUILD_DOXYBLOCKS\" was never defined.
 
22685
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22686
fi
 
22687
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
 
22688
  as_fn_error $? "conditional \"BUILD_DRAGSCROLL\" was never defined.
 
22689
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22690
fi
 
22691
if test -z "${BUILD_EDITORCONFIG_TRUE}" && test -z "${BUILD_EDITORCONFIG_FALSE}"; then
 
22692
  as_fn_error $? "conditional \"BUILD_EDITORCONFIG\" was never defined.
 
22693
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22694
fi
 
22695
if test -z "${BUILD_EDITORTWEAKS_TRUE}" && test -z "${BUILD_EDITORTWEAKS_FALSE}"; then
 
22696
  as_fn_error $? "conditional \"BUILD_EDITORTWEAKS\" was never defined.
 
22697
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22698
fi
 
22699
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
 
22700
  as_fn_error $? "conditional \"BUILD_ENVVARS\" was never defined.
 
22701
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22702
fi
 
22703
if test -z "${BUILD_FILEMANAGER_TRUE}" && test -z "${BUILD_FILEMANAGER_FALSE}"; then
 
22704
  as_fn_error $? "conditional \"BUILD_FILEMANAGER\" was never defined.
 
22705
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22706
fi
 
22707
if test -z "${BUILD_HEADERFIXUP_TRUE}" && test -z "${BUILD_HEADERFIXUP_FALSE}"; then
 
22708
  as_fn_error $? "conditional \"BUILD_HEADERFIXUP\" was never defined.
 
22709
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22710
fi
 
22711
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
 
22712
  as_fn_error $? "conditional \"BUILD_HELP\" was never defined.
 
22713
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22714
fi
 
22715
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
 
22716
  as_fn_error $? "conditional \"BUILD_KEYBINDER\" was never defined.
 
22717
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22718
fi
 
22719
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
 
22720
  as_fn_error $? "conditional \"BUILD_LIBFINDER\" was never defined.
 
22721
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22722
fi
 
22723
if test -z "${BUILD_NASSISHNEIDERMAN_TRUE}" && test -z "${BUILD_NASSISHNEIDERMAN_FALSE}"; then
 
22724
  as_fn_error $? "conditional \"BUILD_NASSISHNEIDERMAN\" was never defined.
 
22725
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22726
fi
 
22727
if test -z "${BUILD_PROJECTOPTIONSMANIPULATOR_TRUE}" && test -z "${BUILD_PROJECTOPTIONSMANIPULATOR_FALSE}"; then
 
22728
  as_fn_error $? "conditional \"BUILD_PROJECTOPTIONSMANIPULATOR\" was never defined.
 
22729
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22730
fi
 
22731
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
 
22732
  as_fn_error $? "conditional \"BUILD_PROFILER\" was never defined.
 
22733
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22734
fi
 
22735
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
 
22736
  as_fn_error $? "conditional \"BUILD_REGEX\" was never defined.
 
22737
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22738
fi
 
22739
if test -z "${BUILD_REOPENEDITOR_TRUE}" && test -z "${BUILD_REOPENEDITOR_FALSE}"; then
 
22740
  as_fn_error $? "conditional \"BUILD_REOPENEDITOR\" was never defined.
 
22741
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22742
fi
 
22743
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
 
22744
  as_fn_error $? "conditional \"BUILD_EXPORTER\" was never defined.
 
22745
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22746
fi
 
22747
if test -z "${BUILD_SMARTINDENT_TRUE}" && test -z "${BUILD_SMARTINDENT_FALSE}"; then
 
22748
  as_fn_error $? "conditional \"BUILD_SMARTINDENT\" was never defined.
 
22749
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22750
fi
 
22751
if test -z "${BUILD_SPELLCHECKER_TRUE}" && test -z "${BUILD_SPELLCHECKER_FALSE}"; then
 
22752
  as_fn_error $? "conditional \"BUILD_SPELLCHECKER\" was never defined.
 
22753
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22754
fi
 
22755
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
 
22756
  as_fn_error $? "conditional \"BUILD_SYMTAB\" was never defined.
 
22757
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22758
fi
 
22759
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
 
22760
  as_fn_error $? "conditional \"BUILD_THREADSEARCH\" was never defined.
 
22761
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22762
fi
 
22763
if test -z "${BUILD_TOOLSPLUS_TRUE}" && test -z "${BUILD_TOOLSPLUS_FALSE}"; then
 
22764
  as_fn_error $? "conditional \"BUILD_TOOLSPLUS\" was never defined.
 
22765
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22766
fi
 
22767
if test -z "${BUILD_VALGRIND_TRUE}" && test -z "${BUILD_VALGRIND_FALSE}"; then
 
22768
  as_fn_error $? "conditional \"BUILD_VALGRIND\" was never defined.
 
22769
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22770
fi
 
22771
if test -z "${BUILD_WXCONTRIB_TRUE}" && test -z "${BUILD_WXCONTRIB_FALSE}"; then
 
22772
  as_fn_error $? "conditional \"BUILD_WXCONTRIB\" was never defined.
 
22773
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22774
fi
 
22775
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
 
22776
  as_fn_error $? "conditional \"BUILD_WXSMITH\" was never defined.
 
22777
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22778
fi
 
22779
if test -z "${BUILD_WXSMITHCONTRIB_TRUE}" && test -z "${BUILD_WXSMITHCONTRIB_FALSE}"; then
 
22780
  as_fn_error $? "conditional \"BUILD_WXSMITHCONTRIB\" was never defined.
 
22781
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22782
fi
 
22783
if test -z "${BUILD_WXSMITHAUI_TRUE}" && test -z "${BUILD_WXSMITHAUI_FALSE}"; then
 
22784
  as_fn_error $? "conditional \"BUILD_WXSMITHAUI\" was never defined.
 
22785
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22786
fi
 
22787
if test -z "${BUILD_HEXEDITOR_TRUE}" && test -z "${BUILD_HEXEDITOR_FALSE}"; then
 
22788
  as_fn_error $? "conditional \"BUILD_HEXEDITOR\" was never defined.
 
22789
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22790
fi
 
22791
if test -z "${BUILD_INCSEARCH_TRUE}" && test -z "${BUILD_INCSEARCH_FALSE}"; then
 
22792
  as_fn_error $? "conditional \"BUILD_INCSEARCH\" was never defined.
 
22793
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22794
fi
 
22795
if test -z "${BUILD_MOUSESAP_TRUE}" && test -z "${BUILD_MOUSESAP_FALSE}"; then
 
22796
  as_fn_error $? "conditional \"BUILD_MOUSESAP\" was never defined.
 
22797
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22798
fi
 
22799
if test -z "${BUILD_CCCC_TRUE}" && test -z "${BUILD_CCCC_FALSE}"; then
 
22800
  as_fn_error $? "conditional \"BUILD_CCCC\" was never defined.
 
22801
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22802
fi
 
22803
if test -z "${BUILD_CPPCHECK_TRUE}" && test -z "${BUILD_CPPCHECK_FALSE}"; then
 
22804
  as_fn_error $? "conditional \"BUILD_CPPCHECK\" was never defined.
 
22805
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22806
fi
 
22807
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
 
22808
  as_fn_error $? "conditional \"BUILD_AUTOVERSIONING\" was never defined.
 
22809
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22810
fi
 
22811
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
 
22812
  as_fn_error $? "conditional \"BUILD_BROWSETRACKER\" was never defined.
 
22813
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22814
fi
 
22815
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
 
22816
  as_fn_error $? "conditional \"BUILD_BYOGAMES\" was never defined.
 
22817
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22818
fi
 
22819
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
 
22820
  as_fn_error $? "conditional \"BUILD_CBKODERS\" was never defined.
 
22821
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22822
fi
 
22823
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
 
22824
  as_fn_error $? "conditional \"BUILD_CODESNIPPETS\" was never defined.
 
22825
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22826
fi
 
22827
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
 
22828
  as_fn_error $? "conditional \"BUILD_CODESTAT\" was never defined.
 
22829
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22830
fi
 
22831
if test -z "${BUILD_COPYSTRINGS_TRUE}" && test -z "${BUILD_COPYSTRINGS_FALSE}"; then
 
22832
  as_fn_error $? "conditional \"BUILD_COPYSTRINGS\" was never defined.
 
22833
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22834
fi
 
22835
if test -z "${BUILD_CSCOPE_TRUE}" && test -z "${BUILD_CSCOPE_FALSE}"; then
 
22836
  as_fn_error $? "conditional \"BUILD_CSCOPE\" was never defined.
 
22837
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22838
fi
 
22839
if test -z "${BUILD_DOXYBLOCKS_TRUE}" && test -z "${BUILD_DOXYBLOCKS_FALSE}"; then
 
22840
  as_fn_error $? "conditional \"BUILD_DOXYBLOCKS\" was never defined.
 
22841
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22842
fi
 
22843
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
 
22844
  as_fn_error $? "conditional \"BUILD_DRAGSCROLL\" was never defined.
 
22845
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22846
fi
 
22847
if test -z "${BUILD_EDITORCONFIG_TRUE}" && test -z "${BUILD_EDITORCONFIG_FALSE}"; then
 
22848
  as_fn_error $? "conditional \"BUILD_EDITORCONFIG\" was never defined.
 
22849
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22850
fi
 
22851
if test -z "${BUILD_EDITORTWEAKS_TRUE}" && test -z "${BUILD_EDITORTWEAKS_FALSE}"; then
 
22852
  as_fn_error $? "conditional \"BUILD_EDITORTWEAKS\" was never defined.
 
22853
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22854
fi
 
22855
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
 
22856
  as_fn_error $? "conditional \"BUILD_ENVVARS\" was never defined.
 
22857
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22858
fi
 
22859
if test -z "${BUILD_FILEMANAGER_TRUE}" && test -z "${BUILD_FILEMANAGER_FALSE}"; then
 
22860
  as_fn_error $? "conditional \"BUILD_FILEMANAGER\" was never defined.
 
22861
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22862
fi
 
22863
if test -z "${BUILD_HEADERFIXUP_TRUE}" && test -z "${BUILD_HEADERFIXUP_FALSE}"; then
 
22864
  as_fn_error $? "conditional \"BUILD_HEADERFIXUP\" was never defined.
 
22865
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22866
fi
 
22867
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
 
22868
  as_fn_error $? "conditional \"BUILD_HELP\" was never defined.
 
22869
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22870
fi
 
22871
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
 
22872
  as_fn_error $? "conditional \"BUILD_KEYBINDER\" was never defined.
 
22873
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22874
fi
 
22875
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
 
22876
  as_fn_error $? "conditional \"BUILD_LIBFINDER\" was never defined.
 
22877
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22878
fi
 
22879
if test -z "${BUILD_NASSISHNEIDERMAN_TRUE}" && test -z "${BUILD_NASSISHNEIDERMAN_FALSE}"; then
 
22880
  as_fn_error $? "conditional \"BUILD_NASSISHNEIDERMAN\" was never defined.
 
22881
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22882
fi
 
22883
if test -z "${BUILD_PROJECTOPTIONSMANIPULATOR_TRUE}" && test -z "${BUILD_PROJECTOPTIONSMANIPULATOR_FALSE}"; then
 
22884
  as_fn_error $? "conditional \"BUILD_PROJECTOPTIONSMANIPULATOR\" was never defined.
 
22885
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22886
fi
 
22887
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
 
22888
  as_fn_error $? "conditional \"BUILD_PROFILER\" was never defined.
 
22889
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22890
fi
 
22891
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
 
22892
  as_fn_error $? "conditional \"BUILD_REGEX\" was never defined.
 
22893
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22894
fi
 
22895
if test -z "${BUILD_REOPENEDITOR_TRUE}" && test -z "${BUILD_REOPENEDITOR_FALSE}"; then
 
22896
  as_fn_error $? "conditional \"BUILD_REOPENEDITOR\" was never defined.
 
22897
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22898
fi
 
22899
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
 
22900
  as_fn_error $? "conditional \"BUILD_EXPORTER\" was never defined.
 
22901
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22902
fi
 
22903
if test -z "${BUILD_SMARTINDENT_TRUE}" && test -z "${BUILD_SMARTINDENT_FALSE}"; then
 
22904
  as_fn_error $? "conditional \"BUILD_SMARTINDENT\" was never defined.
 
22905
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22906
fi
 
22907
if test -z "${BUILD_SPELLCHECKER_TRUE}" && test -z "${BUILD_SPELLCHECKER_FALSE}"; then
 
22908
  as_fn_error $? "conditional \"BUILD_SPELLCHECKER\" was never defined.
 
22909
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22910
fi
 
22911
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
 
22912
  as_fn_error $? "conditional \"BUILD_SYMTAB\" was never defined.
 
22913
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22914
fi
 
22915
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
 
22916
  as_fn_error $? "conditional \"BUILD_THREADSEARCH\" was never defined.
 
22917
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22918
fi
 
22919
if test -z "${BUILD_TOOLSPLUS_TRUE}" && test -z "${BUILD_TOOLSPLUS_FALSE}"; then
 
22920
  as_fn_error $? "conditional \"BUILD_TOOLSPLUS\" was never defined.
 
22921
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22922
fi
 
22923
if test -z "${BUILD_VALGRIND_TRUE}" && test -z "${BUILD_VALGRIND_FALSE}"; then
 
22924
  as_fn_error $? "conditional \"BUILD_VALGRIND\" was never defined.
 
22925
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22926
fi
 
22927
if test -z "${BUILD_WXCONTRIB_TRUE}" && test -z "${BUILD_WXCONTRIB_FALSE}"; then
 
22928
  as_fn_error $? "conditional \"BUILD_WXCONTRIB\" was never defined.
 
22929
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22930
fi
 
22931
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
 
22932
  as_fn_error $? "conditional \"BUILD_WXSMITH\" was never defined.
 
22933
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22934
fi
 
22935
if test -z "${BUILD_WXSMITHCONTRIB_TRUE}" && test -z "${BUILD_WXSMITHCONTRIB_FALSE}"; then
 
22936
  as_fn_error $? "conditional \"BUILD_WXSMITHCONTRIB\" was never defined.
 
22937
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22938
fi
 
22939
if test -z "${BUILD_WXSMITHAUI_TRUE}" && test -z "${BUILD_WXSMITHAUI_FALSE}"; then
 
22940
  as_fn_error $? "conditional \"BUILD_WXSMITHAUI\" was never defined.
 
22941
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22942
fi
 
22943
if test -z "${BUILD_HEXEDITOR_TRUE}" && test -z "${BUILD_HEXEDITOR_FALSE}"; then
 
22944
  as_fn_error $? "conditional \"BUILD_HEXEDITOR\" was never defined.
 
22945
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22946
fi
 
22947
if test -z "${BUILD_INCSEARCH_TRUE}" && test -z "${BUILD_INCSEARCH_FALSE}"; then
 
22948
  as_fn_error $? "conditional \"BUILD_INCSEARCH\" was never defined.
 
22949
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22950
fi
 
22951
if test -z "${BUILD_MOUSESAP_TRUE}" && test -z "${BUILD_MOUSESAP_FALSE}"; then
 
22952
  as_fn_error $? "conditional \"BUILD_MOUSESAP\" was never defined.
 
22953
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22954
fi
 
22955
if test -z "${BUILD_CCCC_TRUE}" && test -z "${BUILD_CCCC_FALSE}"; then
 
22956
  as_fn_error $? "conditional \"BUILD_CCCC\" was never defined.
 
22957
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22958
fi
 
22959
if test -z "${BUILD_CPPCHECK_TRUE}" && test -z "${BUILD_CPPCHECK_FALSE}"; then
 
22960
  as_fn_error $? "conditional \"BUILD_CPPCHECK\" was never defined.
 
22961
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22962
fi
 
22963
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
 
22964
  as_fn_error $? "conditional \"BUILD_AUTOVERSIONING\" was never defined.
 
22965
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22966
fi
 
22967
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
 
22968
  as_fn_error $? "conditional \"BUILD_BROWSETRACKER\" was never defined.
 
22969
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22970
fi
 
22971
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
 
22972
  as_fn_error $? "conditional \"BUILD_BYOGAMES\" was never defined.
 
22973
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22974
fi
 
22975
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
 
22976
  as_fn_error $? "conditional \"BUILD_CBKODERS\" was never defined.
 
22977
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22978
fi
 
22979
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
 
22980
  as_fn_error $? "conditional \"BUILD_CODESNIPPETS\" was never defined.
 
22981
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22982
fi
 
22983
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
 
22984
  as_fn_error $? "conditional \"BUILD_CODESTAT\" was never defined.
 
22985
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22986
fi
 
22987
if test -z "${BUILD_COPYSTRINGS_TRUE}" && test -z "${BUILD_COPYSTRINGS_FALSE}"; then
 
22988
  as_fn_error $? "conditional \"BUILD_COPYSTRINGS\" was never defined.
 
22989
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22990
fi
 
22991
if test -z "${BUILD_CSCOPE_TRUE}" && test -z "${BUILD_CSCOPE_FALSE}"; then
 
22992
  as_fn_error $? "conditional \"BUILD_CSCOPE\" was never defined.
 
22993
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22994
fi
 
22995
if test -z "${BUILD_DOXYBLOCKS_TRUE}" && test -z "${BUILD_DOXYBLOCKS_FALSE}"; then
 
22996
  as_fn_error $? "conditional \"BUILD_DOXYBLOCKS\" was never defined.
 
22997
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22998
fi
 
22999
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
 
23000
  as_fn_error $? "conditional \"BUILD_DRAGSCROLL\" was never defined.
 
23001
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23002
fi
 
23003
if test -z "${BUILD_EDITORCONFIG_TRUE}" && test -z "${BUILD_EDITORCONFIG_FALSE}"; then
 
23004
  as_fn_error $? "conditional \"BUILD_EDITORCONFIG\" was never defined.
 
23005
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23006
fi
 
23007
if test -z "${BUILD_EDITORTWEAKS_TRUE}" && test -z "${BUILD_EDITORTWEAKS_FALSE}"; then
 
23008
  as_fn_error $? "conditional \"BUILD_EDITORTWEAKS\" was never defined.
 
23009
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23010
fi
 
23011
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
 
23012
  as_fn_error $? "conditional \"BUILD_ENVVARS\" was never defined.
 
23013
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23014
fi
 
23015
if test -z "${BUILD_FILEMANAGER_TRUE}" && test -z "${BUILD_FILEMANAGER_FALSE}"; then
 
23016
  as_fn_error $? "conditional \"BUILD_FILEMANAGER\" was never defined.
 
23017
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23018
fi
 
23019
if test -z "${BUILD_HEADERFIXUP_TRUE}" && test -z "${BUILD_HEADERFIXUP_FALSE}"; then
 
23020
  as_fn_error $? "conditional \"BUILD_HEADERFIXUP\" was never defined.
 
23021
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23022
fi
 
23023
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
 
23024
  as_fn_error $? "conditional \"BUILD_HELP\" was never defined.
 
23025
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23026
fi
 
23027
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
 
23028
  as_fn_error $? "conditional \"BUILD_KEYBINDER\" was never defined.
 
23029
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23030
fi
 
23031
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
 
23032
  as_fn_error $? "conditional \"BUILD_LIBFINDER\" was never defined.
 
23033
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23034
fi
 
23035
if test -z "${BUILD_NASSISHNEIDERMAN_TRUE}" && test -z "${BUILD_NASSISHNEIDERMAN_FALSE}"; then
 
23036
  as_fn_error $? "conditional \"BUILD_NASSISHNEIDERMAN\" was never defined.
 
23037
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23038
fi
 
23039
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
 
23040
  as_fn_error $? "conditional \"BUILD_PROFILER\" was never defined.
 
23041
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23042
fi
 
23043
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
 
23044
  as_fn_error $? "conditional \"BUILD_REGEX\" was never defined.
 
23045
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23046
fi
 
23047
if test -z "${BUILD_REOPENEDITOR_TRUE}" && test -z "${BUILD_REOPENEDITOR_FALSE}"; then
 
23048
  as_fn_error $? "conditional \"BUILD_REOPENEDITOR\" was never defined.
 
23049
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23050
fi
 
23051
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
 
23052
  as_fn_error $? "conditional \"BUILD_EXPORTER\" was never defined.
 
23053
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23054
fi
 
23055
if test -z "${BUILD_SMARTINDENT_TRUE}" && test -z "${BUILD_SMARTINDENT_FALSE}"; then
 
23056
  as_fn_error $? "conditional \"BUILD_SMARTINDENT\" was never defined.
 
23057
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23058
fi
 
23059
if test -z "${BUILD_SPELLCHECKER_TRUE}" && test -z "${BUILD_SPELLCHECKER_FALSE}"; then
 
23060
  as_fn_error $? "conditional \"BUILD_SPELLCHECKER\" was never defined.
 
23061
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23062
fi
 
23063
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
 
23064
  as_fn_error $? "conditional \"BUILD_SYMTAB\" was never defined.
 
23065
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23066
fi
 
23067
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
 
23068
  as_fn_error $? "conditional \"BUILD_THREADSEARCH\" was never defined.
 
23069
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23070
fi
 
23071
if test -z "${BUILD_TOOLSPLUS_TRUE}" && test -z "${BUILD_TOOLSPLUS_FALSE}"; then
 
23072
  as_fn_error $? "conditional \"BUILD_TOOLSPLUS\" was never defined.
 
23073
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23074
fi
 
23075
if test -z "${BUILD_VALGRIND_TRUE}" && test -z "${BUILD_VALGRIND_FALSE}"; then
 
23076
  as_fn_error $? "conditional \"BUILD_VALGRIND\" was never defined.
 
23077
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23078
fi
 
23079
if test -z "${BUILD_WXCONTRIB_TRUE}" && test -z "${BUILD_WXCONTRIB_FALSE}"; then
 
23080
  as_fn_error $? "conditional \"BUILD_WXCONTRIB\" was never defined.
 
23081
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23082
fi
 
23083
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
 
23084
  as_fn_error $? "conditional \"BUILD_WXSMITH\" was never defined.
 
23085
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23086
fi
 
23087
if test -z "${BUILD_WXSMITHCONTRIB_TRUE}" && test -z "${BUILD_WXSMITHCONTRIB_FALSE}"; then
 
23088
  as_fn_error $? "conditional \"BUILD_WXSMITHCONTRIB\" was never defined.
 
23089
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23090
fi
 
23091
if test -z "${BUILD_WXSMITHAUI_TRUE}" && test -z "${BUILD_WXSMITHAUI_FALSE}"; then
 
23092
  as_fn_error $? "conditional \"BUILD_WXSMITHAUI\" was never defined.
 
23093
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23094
fi
 
23095
if test -z "${BUILD_HEXEDITOR_TRUE}" && test -z "${BUILD_HEXEDITOR_FALSE}"; then
 
23096
  as_fn_error $? "conditional \"BUILD_HEXEDITOR\" was never defined.
 
23097
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23098
fi
 
23099
if test -z "${BUILD_INCSEARCH_TRUE}" && test -z "${BUILD_INCSEARCH_FALSE}"; then
 
23100
  as_fn_error $? "conditional \"BUILD_INCSEARCH\" was never defined.
 
23101
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23102
fi
 
23103
if test -z "${BUILD_MOUSESAP_TRUE}" && test -z "${BUILD_MOUSESAP_FALSE}"; then
 
23104
  as_fn_error $? "conditional \"BUILD_MOUSESAP\" was never defined.
 
23105
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23106
fi
 
23107
if test -z "${BUILD_CCCC_TRUE}" && test -z "${BUILD_CCCC_FALSE}"; then
 
23108
  as_fn_error $? "conditional \"BUILD_CCCC\" was never defined.
 
23109
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23110
fi
 
23111
if test -z "${BUILD_CPPCHECK_TRUE}" && test -z "${BUILD_CPPCHECK_FALSE}"; then
 
23112
  as_fn_error $? "conditional \"BUILD_CPPCHECK\" was never defined.
 
23113
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23114
fi
 
23115
if test -z "${PRECOMPILE_HEADERS_TRUE}" && test -z "${PRECOMPILE_HEADERS_FALSE}"; then
 
23116
  as_fn_error $? "conditional \"PRECOMPILE_HEADERS\" was never defined.
 
23117
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23118
fi
 
23119
if test -z "${PRECOMPILE_HEADERS_TRUE}" && test -z "${PRECOMPILE_HEADERS_FALSE}"; then
 
23120
  as_fn_error $? "conditional \"PRECOMPILE_HEADERS\" was never defined.
 
23121
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23122
fi
 
23123
if test -z "${HAVE_GCC48_TRUE}" && test -z "${HAVE_GCC48_FALSE}"; then
 
23124
  as_fn_error $? "conditional \"HAVE_GCC48\" was never defined.
 
23125
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23126
fi
 
23127
if test -z "${HAVE_WX29_TRUE}" && test -z "${HAVE_WX29_FALSE}"; then
 
23128
  as_fn_error $? "conditional \"HAVE_WX29\" was never defined.
 
23129
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
23130
fi
 
23131
 
 
23132
: "${CONFIG_STATUS=./config.status}"
 
23133
ac_write_fail=0
 
23134
ac_clean_files_save=$ac_clean_files
 
23135
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
23136
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
23137
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
23138
as_write_fail=0
 
23139
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
23140
#! $SHELL
 
23141
# Generated by $as_me.
 
23142
# Run this file to recreate the current configuration.
 
23143
# Compiler output produced by configure, useful for debugging
 
23144
# configure, is in config.log if it exists.
 
23145
 
 
23146
debug=false
 
23147
ac_cs_recheck=false
 
23148
ac_cs_silent=false
 
23149
 
 
23150
SHELL=\${CONFIG_SHELL-$SHELL}
 
23151
export SHELL
 
23152
_ASEOF
 
23153
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
23154
## -------------------- ##
 
23155
## M4sh Initialization. ##
 
23156
## -------------------- ##
 
23157
 
 
23158
# Be more Bourne compatible
 
23159
DUALCASE=1; export DUALCASE # for MKS sh
 
23160
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
23161
  emulate sh
 
23162
  NULLCMD=:
 
23163
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
23164
  # is contrary to our usage.  Disable this feature.
 
23165
  alias -g '${1+"$@"}'='"$@"'
 
23166
  setopt NO_GLOB_SUBST
 
23167
else
 
23168
  case `(set -o) 2>/dev/null` in @%:@(
 
23169
  *posix*) :
 
23170
    set -o posix ;; @%:@(
 
23171
  *) :
 
23172
     ;;
 
23173
esac
 
23174
fi
 
23175
 
 
23176
 
 
23177
as_nl='
 
23178
'
 
23179
export as_nl
 
23180
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
23181
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
23182
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
23183
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
23184
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
23185
# but without wasting forks for bash or zsh.
 
23186
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
23187
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
23188
  as_echo='print -r --'
 
23189
  as_echo_n='print -rn --'
 
23190
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
23191
  as_echo='printf %s\n'
 
23192
  as_echo_n='printf %s'
 
23193
else
 
23194
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
23195
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
23196
    as_echo_n='/usr/ucb/echo -n'
 
23197
  else
 
23198
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
23199
    as_echo_n_body='eval
 
23200
      arg=$1;
 
23201
      case $arg in @%:@(
 
23202
      *"$as_nl"*)
 
23203
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
23204
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
23205
      esac;
 
23206
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
23207
    '
 
23208
    export as_echo_n_body
 
23209
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
23210
  fi
 
23211
  export as_echo_body
 
23212
  as_echo='sh -c $as_echo_body as_echo'
 
23213
fi
 
23214
 
 
23215
# The user is always right.
 
23216
if test "${PATH_SEPARATOR+set}" != set; then
 
23217
  PATH_SEPARATOR=:
 
23218
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
23219
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
23220
      PATH_SEPARATOR=';'
 
23221
  }
 
23222
fi
 
23223
 
 
23224
 
 
23225
# IFS
 
23226
# We need space, tab and new line, in precisely that order.  Quoting is
 
23227
# there to prevent editors from complaining about space-tab.
 
23228
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
23229
# splitting by setting IFS to empty value.)
 
23230
IFS=" ""        $as_nl"
 
23231
 
 
23232
# Find who we are.  Look in the path if we contain no directory separator.
 
23233
as_myself=
 
23234
case $0 in @%:@((
 
23235
  *[\\/]* ) as_myself=$0 ;;
 
23236
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
23237
for as_dir in $PATH
 
23238
do
 
23239
  IFS=$as_save_IFS
 
23240
  test -z "$as_dir" && as_dir=.
 
23241
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
23242
  done
 
23243
IFS=$as_save_IFS
 
23244
 
 
23245
     ;;
 
23246
esac
 
23247
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
23248
# in which case we are not to be found in the path.
 
23249
if test "x$as_myself" = x; then
 
23250
  as_myself=$0
 
23251
fi
 
23252
if test ! -f "$as_myself"; then
 
23253
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
23254
  exit 1
 
23255
fi
 
23256
 
 
23257
# Unset variables that we do not need and which cause bugs (e.g. in
 
23258
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
23259
# suppresses any "Segmentation fault" message there.  '((' could
 
23260
# trigger a bug in pdksh 5.2.14.
 
23261
for as_var in BASH_ENV ENV MAIL MAILPATH
 
23262
do eval test x\${$as_var+set} = xset \
 
23263
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
23264
done
 
23265
PS1='$ '
 
23266
PS2='> '
 
23267
PS4='+ '
 
23268
 
 
23269
# NLS nuisances.
 
23270
LC_ALL=C
 
23271
export LC_ALL
 
23272
LANGUAGE=C
 
23273
export LANGUAGE
 
23274
 
 
23275
# CDPATH.
 
23276
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
23277
 
 
23278
 
 
23279
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
 
23280
@%:@ ----------------------------------------
 
23281
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
23282
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
23283
@%:@ script with STATUS, using 1 if that was 0.
 
23284
as_fn_error ()
 
23285
{
 
23286
  as_status=$1; test $as_status -eq 0 && as_status=1
 
23287
  if test "$4"; then
 
23288
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
23289
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
23290
  fi
 
23291
  $as_echo "$as_me: error: $2" >&2
 
23292
  as_fn_exit $as_status
 
23293
} @%:@ as_fn_error
 
23294
 
 
23295
 
 
23296
@%:@ as_fn_set_status STATUS
 
23297
@%:@ -----------------------
 
23298
@%:@ Set @S|@? to STATUS, without forking.
 
23299
as_fn_set_status ()
 
23300
{
 
23301
  return $1
 
23302
} @%:@ as_fn_set_status
 
23303
 
 
23304
@%:@ as_fn_exit STATUS
 
23305
@%:@ -----------------
 
23306
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
23307
as_fn_exit ()
 
23308
{
 
23309
  set +e
 
23310
  as_fn_set_status $1
 
23311
  exit $1
 
23312
} @%:@ as_fn_exit
 
23313
 
 
23314
@%:@ as_fn_unset VAR
 
23315
@%:@ ---------------
 
23316
@%:@ Portably unset VAR.
 
23317
as_fn_unset ()
 
23318
{
 
23319
  { eval $1=; unset $1;}
 
23320
}
 
23321
as_unset=as_fn_unset
 
23322
@%:@ as_fn_append VAR VALUE
 
23323
@%:@ ----------------------
 
23324
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
 
23325
@%:@ advantage of any shell optimizations that allow amortized linear growth over
 
23326
@%:@ repeated appends, instead of the typical quadratic growth present in naive
 
23327
@%:@ implementations.
 
23328
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
23329
  eval 'as_fn_append ()
 
23330
  {
 
23331
    eval $1+=\$2
 
23332
  }'
 
23333
else
 
23334
  as_fn_append ()
 
23335
  {
 
23336
    eval $1=\$$1\$2
 
23337
  }
 
23338
fi # as_fn_append
 
23339
 
 
23340
@%:@ as_fn_arith ARG...
 
23341
@%:@ ------------------
 
23342
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
 
23343
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
 
23344
@%:@ must be portable across @S|@(()) and expr.
 
23345
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
23346
  eval 'as_fn_arith ()
 
23347
  {
 
23348
    as_val=$(( $* ))
 
23349
  }'
 
23350
else
 
23351
  as_fn_arith ()
 
23352
  {
 
23353
    as_val=`expr "$@" || test $? -eq 1`
 
23354
  }
 
23355
fi # as_fn_arith
 
23356
 
 
23357
 
 
23358
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
23359
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
23360
  as_expr=expr
 
23361
else
 
23362
  as_expr=false
 
23363
fi
 
23364
 
 
23365
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
23366
  as_basename=basename
 
23367
else
 
23368
  as_basename=false
 
23369
fi
 
23370
 
 
23371
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
23372
  as_dirname=dirname
 
23373
else
 
23374
  as_dirname=false
 
23375
fi
 
23376
 
 
23377
as_me=`$as_basename -- "$0" ||
 
23378
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
23379
         X"$0" : 'X\(//\)$' \| \
 
23380
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
23381
$as_echo X/"$0" |
 
23382
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
23383
            s//\1/
 
23384
            q
 
23385
          }
 
23386
          /^X\/\(\/\/\)$/{
 
23387
            s//\1/
 
23388
            q
 
23389
          }
 
23390
          /^X\/\(\/\).*/{
 
23391
            s//\1/
 
23392
            q
 
23393
          }
 
23394
          s/.*/./; q'`
 
23395
 
 
23396
# Avoid depending upon Character Ranges.
 
23397
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
23398
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
23399
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
23400
as_cr_digits='0123456789'
 
23401
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
23402
 
 
23403
ECHO_C= ECHO_N= ECHO_T=
 
23404
case `echo -n x` in @%:@(((((
 
23405
-n*)
 
23406
  case `echo 'xy\c'` in
 
23407
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
23408
  xy)  ECHO_C='\c';;
 
23409
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
23410
       ECHO_T=' ';;
 
23411
  esac;;
 
23412
*)
 
23413
  ECHO_N='-n';;
 
23414
esac
 
23415
 
 
23416
rm -f conf$$ conf$$.exe conf$$.file
 
23417
if test -d conf$$.dir; then
 
23418
  rm -f conf$$.dir/conf$$.file
 
23419
else
 
23420
  rm -f conf$$.dir
 
23421
  mkdir conf$$.dir 2>/dev/null
 
23422
fi
 
23423
if (echo >conf$$.file) 2>/dev/null; then
 
23424
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
23425
    as_ln_s='ln -s'
 
23426
    # ... but there are two gotchas:
 
23427
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
23428
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
23429
    # In both cases, we have to default to `cp -pR'.
 
23430
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
23431
      as_ln_s='cp -pR'
 
23432
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
23433
    as_ln_s=ln
 
23434
  else
 
23435
    as_ln_s='cp -pR'
 
23436
  fi
 
23437
else
 
23438
  as_ln_s='cp -pR'
 
23439
fi
 
23440
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
23441
rmdir conf$$.dir 2>/dev/null
 
23442
 
 
23443
 
 
23444
@%:@ as_fn_mkdir_p
 
23445
@%:@ -------------
 
23446
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
 
23447
as_fn_mkdir_p ()
 
23448
{
 
23449
 
 
23450
  case $as_dir in #(
 
23451
  -*) as_dir=./$as_dir;;
 
23452
  esac
 
23453
  test -d "$as_dir" || eval $as_mkdir_p || {
 
23454
    as_dirs=
 
23455
    while :; do
 
23456
      case $as_dir in #(
 
23457
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
23458
      *) as_qdir=$as_dir;;
 
23459
      esac
 
23460
      as_dirs="'$as_qdir' $as_dirs"
 
23461
      as_dir=`$as_dirname -- "$as_dir" ||
 
23462
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
23463
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
23464
         X"$as_dir" : 'X\(//\)$' \| \
 
23465
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
23466
$as_echo X"$as_dir" |
 
23467
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23468
            s//\1/
 
23469
            q
 
23470
          }
 
23471
          /^X\(\/\/\)[^/].*/{
 
23472
            s//\1/
 
23473
            q
 
23474
          }
 
23475
          /^X\(\/\/\)$/{
 
23476
            s//\1/
 
23477
            q
 
23478
          }
 
23479
          /^X\(\/\).*/{
 
23480
            s//\1/
 
23481
            q
 
23482
          }
 
23483
          s/.*/./; q'`
 
23484
      test -d "$as_dir" && break
 
23485
    done
 
23486
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
23487
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
23488
 
 
23489
 
 
23490
} @%:@ as_fn_mkdir_p
 
23491
if mkdir -p . 2>/dev/null; then
 
23492
  as_mkdir_p='mkdir -p "$as_dir"'
 
23493
else
 
23494
  test -d ./-p && rmdir ./-p
 
23495
  as_mkdir_p=false
 
23496
fi
 
23497
 
 
23498
 
 
23499
@%:@ as_fn_executable_p FILE
 
23500
@%:@ -----------------------
 
23501
@%:@ Test if FILE is an executable regular file.
 
23502
as_fn_executable_p ()
 
23503
{
 
23504
  test -f "$1" && test -x "$1"
 
23505
} @%:@ as_fn_executable_p
 
23506
as_test_x='test -x'
 
23507
as_executable_p=as_fn_executable_p
 
23508
 
 
23509
# Sed expression to map a string onto a valid CPP name.
 
23510
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
23511
 
 
23512
# Sed expression to map a string onto a valid variable name.
 
23513
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
23514
 
 
23515
 
 
23516
exec 6>&1
 
23517
## ----------------------------------- ##
 
23518
## Main body of $CONFIG_STATUS script. ##
 
23519
## ----------------------------------- ##
 
23520
_ASEOF
 
23521
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
23522
 
 
23523
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23524
# Save the log message, to keep $0 and so on meaningful, and to
 
23525
# report actual input values of CONFIG_FILES etc. instead of their
 
23526
# values after options handling.
 
23527
ac_log="
 
23528
This file was extended by codeblocks $as_me 16.01svn10692, which was
 
23529
generated by GNU Autoconf 2.69.  Invocation command line was
 
23530
 
 
23531
  CONFIG_FILES    = $CONFIG_FILES
 
23532
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
23533
  CONFIG_LINKS    = $CONFIG_LINKS
 
23534
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
23535
  $ $0 $@
 
23536
 
 
23537
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
23538
"
 
23539
 
 
23540
_ACEOF
 
23541
 
 
23542
case $ac_config_files in *"
 
23543
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
23544
esac
 
23545
 
 
23546
case $ac_config_headers in *"
 
23547
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
23548
esac
 
23549
 
 
23550
 
 
23551
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23552
# Files that config.status was made for.
 
23553
config_files="$ac_config_files"
 
23554
config_headers="$ac_config_headers"
 
23555
config_commands="$ac_config_commands"
 
23556
 
 
23557
_ACEOF
 
23558
 
 
23559
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23560
ac_cs_usage="\
 
23561
\`$as_me' instantiates files and other configuration actions
 
23562
from templates according to the current configuration.  Unless the files
 
23563
and actions are specified as TAGs, all are instantiated by default.
 
23564
 
 
23565
Usage: $0 [OPTION]... [TAG]...
 
23566
 
 
23567
  -h, --help       print this help, then exit
 
23568
  -V, --version    print version number and configuration settings, then exit
 
23569
      --config     print configuration, then exit
 
23570
  -q, --quiet, --silent
 
23571
                   do not print progress messages
 
23572
  -d, --debug      don't remove temporary files
 
23573
      --recheck    update $as_me by reconfiguring in the same conditions
 
23574
      --file=FILE[:TEMPLATE] 
 
23575
                   instantiate the configuration file FILE
 
23576
      --header=FILE[:TEMPLATE] 
 
23577
                   instantiate the configuration header FILE
 
23578
 
 
23579
Configuration files:
 
23580
$config_files
 
23581
 
 
23582
Configuration headers:
 
23583
$config_headers
 
23584
 
 
23585
Configuration commands:
 
23586
$config_commands
 
23587
 
 
23588
Report bugs to the package provider."
 
23589
 
 
23590
_ACEOF
 
23591
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23592
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
23593
ac_cs_version="\\
 
23594
codeblocks config.status 16.01svn10692
 
23595
configured by $0, generated by GNU Autoconf 2.69,
 
23596
  with options \\"\$ac_cs_config\\"
 
23597
 
 
23598
Copyright (C) 2012 Free Software Foundation, Inc.
 
23599
This config.status script is free software; the Free Software Foundation
 
23600
gives unlimited permission to copy, distribute and modify it."
 
23601
 
 
23602
ac_pwd='$ac_pwd'
 
23603
srcdir='$srcdir'
 
23604
INSTALL='$INSTALL'
 
23605
MKDIR_P='$MKDIR_P'
 
23606
AWK='$AWK'
 
23607
test -n "\$AWK" || AWK=awk
 
23608
_ACEOF
 
23609
 
 
23610
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23611
# The default lists apply if the user does not specify any file.
 
23612
ac_need_defaults=:
 
23613
while test $# != 0
 
23614
do
 
23615
  case $1 in
 
23616
  --*=?*)
 
23617
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
23618
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
23619
    ac_shift=:
 
23620
    ;;
 
23621
  --*=)
 
23622
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
23623
    ac_optarg=
 
23624
    ac_shift=:
 
23625
    ;;
 
23626
  *)
 
23627
    ac_option=$1
 
23628
    ac_optarg=$2
 
23629
    ac_shift=shift
 
23630
    ;;
 
23631
  esac
 
23632
 
 
23633
  case $ac_option in
 
23634
  # Handling of the options.
 
23635
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
23636
    ac_cs_recheck=: ;;
 
23637
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
23638
    $as_echo "$ac_cs_version"; exit ;;
 
23639
  --config | --confi | --conf | --con | --co | --c )
 
23640
    $as_echo "$ac_cs_config"; exit ;;
 
23641
  --debug | --debu | --deb | --de | --d | -d )
 
23642
    debug=: ;;
 
23643
  --file | --fil | --fi | --f )
 
23644
    $ac_shift
 
23645
    case $ac_optarg in
 
23646
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
23647
    '') as_fn_error $? "missing file argument" ;;
 
23648
    esac
 
23649
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
23650
    ac_need_defaults=false;;
 
23651
  --header | --heade | --head | --hea )
 
23652
    $ac_shift
 
23653
    case $ac_optarg in
 
23654
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
23655
    esac
 
23656
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
23657
    ac_need_defaults=false;;
 
23658
  --he | --h)
 
23659
    # Conflict between --help and --header
 
23660
    as_fn_error $? "ambiguous option: \`$1'
 
23661
Try \`$0 --help' for more information.";;
 
23662
  --help | --hel | -h )
 
23663
    $as_echo "$ac_cs_usage"; exit ;;
 
23664
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
23665
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
23666
    ac_cs_silent=: ;;
 
23667
 
 
23668
  # This is an error.
 
23669
  -*) as_fn_error $? "unrecognized option: \`$1'
 
23670
Try \`$0 --help' for more information." ;;
 
23671
 
 
23672
  *) as_fn_append ac_config_targets " $1"
 
23673
     ac_need_defaults=false ;;
 
23674
 
 
23675
  esac
 
23676
  shift
 
23677
done
 
23678
 
 
23679
ac_configure_extra_args=
 
23680
 
 
23681
if $ac_cs_silent; then
 
23682
  exec 6>/dev/null
 
23683
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
23684
fi
 
23685
 
 
23686
_ACEOF
 
23687
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23688
if \$ac_cs_recheck; then
 
23689
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
23690
  shift
 
23691
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
23692
  CONFIG_SHELL='$SHELL'
 
23693
  export CONFIG_SHELL
 
23694
  exec "\$@"
 
23695
fi
 
23696
 
 
23697
_ACEOF
 
23698
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23699
exec 5>>config.log
 
23700
{
 
23701
  echo
 
23702
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
 
23703
@%:@@%:@ Running $as_me. @%:@@%:@
 
23704
_ASBOX
 
23705
  $as_echo "$ac_log"
 
23706
} >&5
 
23707
 
 
23708
_ACEOF
 
23709
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23710
#
 
23711
# INIT-COMMANDS
 
23712
#
 
23713
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
23714
 
 
23715
 
 
23716
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
23717
# if CDPATH is set.
 
23718
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
23719
 
 
23720
sed_quote_subst='$sed_quote_subst'
 
23721
double_quote_subst='$double_quote_subst'
 
23722
delay_variable_subst='$delay_variable_subst'
 
23723
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
23724
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
23725
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
23726
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
23727
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
23728
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
23729
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
23730
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
23731
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
23732
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
23733
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
23734
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
23735
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
23736
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
23737
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
23738
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
23739
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
23740
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
23741
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
23742
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
23743
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
23744
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
23745
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
23746
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
23747
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
23748
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
23749
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
23750
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
23751
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
23752
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
23753
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
23754
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
23755
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
23756
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
23757
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
23758
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
23759
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
23760
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
23761
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
23762
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
23763
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
23764
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
23765
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
23766
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
23767
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
23768
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
23769
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
23770
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
23771
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
23772
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
23773
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
23774
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
23775
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
23776
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
23777
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
23778
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
23779
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"`'
 
23780
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
23781
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
23782
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
23783
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
23784
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
23785
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
23786
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
23787
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
23788
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
23789
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
23790
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
23791
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
23792
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
23793
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
23794
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
23795
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
23796
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
23797
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
23798
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
23799
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
23800
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
23801
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
23802
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
23803
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
23804
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
23805
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
23806
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
23807
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
23808
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
23809
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
23810
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
23811
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
23812
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
23813
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
23814
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
23815
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
23816
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
23817
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
23818
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
23819
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
23820
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
23821
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
23822
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
23823
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
23824
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
23825
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
23826
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
23827
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
23828
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
23829
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
23830
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
23831
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
23832
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
23833
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
23834
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
23835
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
23836
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
23837
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
23838
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
23839
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
23840
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
23841
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
23842
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
23843
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
23844
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
23845
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
23846
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
23847
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
23848
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
23849
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
23850
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
23851
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
23852
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
23853
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
 
23854
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
 
23855
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
 
23856
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
 
23857
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
 
23858
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
 
23859
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
 
23860
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
23861
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23862
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23863
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
 
23864
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
 
23865
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
23866
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
 
23867
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
 
23868
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
 
23869
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
 
23870
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
 
23871
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
 
23872
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
23873
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
23874
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
 
23875
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23876
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23877
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23878
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23879
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23880
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23881
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
 
23882
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
23883
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
23884
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
23885
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
 
23886
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
 
23887
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
 
23888
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
 
23889
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
 
23890
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
 
23891
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
 
23892
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
 
23893
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
 
23894
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23895
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
23896
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
23897
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23898
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
23899
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
23900
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
 
23901
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
 
23902
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
23903
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
23904
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
 
23905
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
 
23906
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
 
23907
 
 
23908
LTCC='$LTCC'
 
23909
LTCFLAGS='$LTCFLAGS'
 
23910
compiler='$compiler_DEFAULT'
 
23911
 
 
23912
# A function that is used when there is no print builtin or printf.
 
23913
func_fallback_echo ()
 
23914
{
 
23915
  eval 'cat <<_LTECHO_EOF
 
23916
\$1
 
23917
_LTECHO_EOF'
 
23918
}
 
23919
 
 
23920
# Quote evaled strings.
 
23921
for var in SHELL \
 
23922
ECHO \
 
23923
PATH_SEPARATOR \
 
23924
SED \
 
23925
GREP \
 
23926
EGREP \
 
23927
FGREP \
 
23928
LD \
 
23929
NM \
 
23930
LN_S \
 
23931
lt_SP2NL \
 
23932
lt_NL2SP \
 
23933
reload_flag \
 
23934
OBJDUMP \
 
23935
deplibs_check_method \
 
23936
file_magic_cmd \
 
23937
file_magic_glob \
 
23938
want_nocaseglob \
 
23939
DLLTOOL \
 
23940
sharedlib_from_linklib_cmd \
 
23941
AR \
 
23942
AR_FLAGS \
 
23943
archiver_list_spec \
 
23944
STRIP \
 
23945
RANLIB \
 
23946
CC \
 
23947
CFLAGS \
 
23948
compiler \
 
23949
lt_cv_sys_global_symbol_pipe \
 
23950
lt_cv_sys_global_symbol_to_cdecl \
 
23951
lt_cv_sys_global_symbol_to_c_name_address \
 
23952
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
23953
nm_file_list_spec \
 
23954
lt_prog_compiler_no_builtin_flag \
 
23955
lt_prog_compiler_pic \
 
23956
lt_prog_compiler_wl \
 
23957
lt_prog_compiler_static \
 
23958
lt_cv_prog_compiler_c_o \
 
23959
need_locks \
 
23960
MANIFEST_TOOL \
 
23961
DSYMUTIL \
 
23962
NMEDIT \
 
23963
LIPO \
 
23964
OTOOL \
 
23965
OTOOL64 \
 
23966
shrext_cmds \
 
23967
export_dynamic_flag_spec \
 
23968
whole_archive_flag_spec \
 
23969
compiler_needs_object \
 
23970
with_gnu_ld \
 
23971
allow_undefined_flag \
 
23972
no_undefined_flag \
 
23973
hardcode_libdir_flag_spec \
 
23974
hardcode_libdir_separator \
 
23975
exclude_expsyms \
 
23976
include_expsyms \
 
23977
file_list_spec \
 
23978
variables_saved_for_relink \
 
23979
libname_spec \
 
23980
library_names_spec \
 
23981
soname_spec \
 
23982
install_override_mode \
 
23983
finish_eval \
 
23984
old_striplib \
 
23985
striplib \
 
23986
compiler_lib_search_dirs \
 
23987
predep_objects \
 
23988
postdep_objects \
 
23989
predeps \
 
23990
postdeps \
 
23991
compiler_lib_search_path \
 
23992
LD_CXX \
 
23993
reload_flag_CXX \
 
23994
compiler_CXX \
 
23995
lt_prog_compiler_no_builtin_flag_CXX \
 
23996
lt_prog_compiler_pic_CXX \
 
23997
lt_prog_compiler_wl_CXX \
 
23998
lt_prog_compiler_static_CXX \
 
23999
lt_cv_prog_compiler_c_o_CXX \
 
24000
export_dynamic_flag_spec_CXX \
 
24001
whole_archive_flag_spec_CXX \
 
24002
compiler_needs_object_CXX \
 
24003
with_gnu_ld_CXX \
 
24004
allow_undefined_flag_CXX \
 
24005
no_undefined_flag_CXX \
 
24006
hardcode_libdir_flag_spec_CXX \
 
24007
hardcode_libdir_separator_CXX \
 
24008
exclude_expsyms_CXX \
 
24009
include_expsyms_CXX \
 
24010
file_list_spec_CXX \
 
24011
compiler_lib_search_dirs_CXX \
 
24012
predep_objects_CXX \
 
24013
postdep_objects_CXX \
 
24014
predeps_CXX \
 
24015
postdeps_CXX \
 
24016
compiler_lib_search_path_CXX; do
 
24017
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
24018
    *[\\\\\\\`\\"\\\$]*)
 
24019
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
24020
      ;;
 
24021
    *)
 
24022
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
24023
      ;;
 
24024
    esac
 
24025
done
 
24026
 
 
24027
# Double-quote double-evaled strings.
 
24028
for var in reload_cmds \
 
24029
old_postinstall_cmds \
 
24030
old_postuninstall_cmds \
 
24031
old_archive_cmds \
 
24032
extract_expsyms_cmds \
 
24033
old_archive_from_new_cmds \
 
24034
old_archive_from_expsyms_cmds \
 
24035
archive_cmds \
 
24036
archive_expsym_cmds \
 
24037
module_cmds \
 
24038
module_expsym_cmds \
 
24039
export_symbols_cmds \
 
24040
prelink_cmds \
 
24041
postlink_cmds \
 
24042
postinstall_cmds \
 
24043
postuninstall_cmds \
 
24044
finish_cmds \
 
24045
sys_lib_search_path_spec \
 
24046
sys_lib_dlsearch_path_spec \
 
24047
reload_cmds_CXX \
 
24048
old_archive_cmds_CXX \
 
24049
old_archive_from_new_cmds_CXX \
 
24050
old_archive_from_expsyms_cmds_CXX \
 
24051
archive_cmds_CXX \
 
24052
archive_expsym_cmds_CXX \
 
24053
module_cmds_CXX \
 
24054
module_expsym_cmds_CXX \
 
24055
export_symbols_cmds_CXX \
 
24056
prelink_cmds_CXX \
 
24057
postlink_cmds_CXX; do
 
24058
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
24059
    *[\\\\\\\`\\"\\\$]*)
 
24060
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
24061
      ;;
 
24062
    *)
 
24063
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
24064
      ;;
 
24065
    esac
 
24066
done
 
24067
 
 
24068
ac_aux_dir='$ac_aux_dir'
 
24069
xsi_shell='$xsi_shell'
 
24070
lt_shell_append='$lt_shell_append'
 
24071
 
 
24072
# See if we are running on zsh, and set the options which allow our
 
24073
# commands through without removal of \ escapes INIT.
 
24074
if test -n "\${ZSH_VERSION+set}" ; then
 
24075
   setopt NO_GLOB_SUBST
 
24076
fi
 
24077
 
 
24078
 
 
24079
    PACKAGE='$PACKAGE'
 
24080
    VERSION='$VERSION'
 
24081
    TIMESTAMP='$TIMESTAMP'
 
24082
    RM='$RM'
 
24083
    ofile='$ofile'
 
24084
 
 
24085
 
 
24086
 
 
24087
 
 
24088
 
 
24089
 
 
24090
_ACEOF
 
24091
 
 
24092
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
24093
 
 
24094
# Handling of arguments.
 
24095
for ac_config_target in $ac_config_targets
 
24096
do
 
24097
  case $ac_config_target in
 
24098
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
24099
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
24100
    "src/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h" ;;
 
24101
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
24102
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
24103
    "src/base/Makefile") CONFIG_FILES="$CONFIG_FILES src/base/Makefile" ;;
 
24104
    "src/base/tinyxml/Makefile") CONFIG_FILES="$CONFIG_FILES src/base/tinyxml/Makefile" ;;
 
24105
    "src/build_tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/build_tools/Makefile" ;;
 
24106
    "src/build_tools/autorevision/Makefile") CONFIG_FILES="$CONFIG_FILES src/build_tools/autorevision/Makefile" ;;
 
24107
    "src/include/autorevision.h") CONFIG_FILES="$CONFIG_FILES src/include/autorevision.h" ;;
 
24108
    "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
 
24109
    "src/include/scripting/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/Makefile" ;;
 
24110
    "src/include/scripting/bindings/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/bindings/Makefile" ;;
 
24111
    "src/include/scripting/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/include/Makefile" ;;
 
24112
    "src/include/scripting/sqplus/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/sqplus/Makefile" ;;
 
24113
    "src/include/scripting/sqstdlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/sqstdlib/Makefile" ;;
 
24114
    "src/include/scripting/squirrel/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/squirrel/Makefile" ;;
 
24115
    "src/include/tinyxml/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/tinyxml/Makefile" ;;
 
24116
    "src/sdk/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/Makefile" ;;
 
24117
    "src/sdk/wxpropgrid/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/wxpropgrid/Makefile" ;;
 
24118
    "src/sdk/scripting/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/Makefile" ;;
 
24119
    "src/sdk/scripting/bindings/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/bindings/Makefile" ;;
 
24120
    "src/sdk/scripting/squirrel/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/squirrel/Makefile" ;;
 
24121
    "src/sdk/scripting/sqstdlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/sqstdlib/Makefile" ;;
 
24122
    "src/sdk/scripting/sqplus/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/sqplus/Makefile" ;;
 
24123
    "src/sdk/wxscintilla/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/wxscintilla/Makefile" ;;
 
24124
    "src/sdk/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/resources/Makefile" ;;
 
24125
    "src/sdk/resources/lexers/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/resources/lexers/Makefile" ;;
 
24126
    "src/src/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/Makefile" ;;
 
24127
    "src/src/resources/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/icons/Makefile" ;;
 
24128
    "src/src/resources/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/Makefile" ;;
 
24129
    "src/src/resources/images/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/16x16/Makefile" ;;
 
24130
    "src/src/resources/images/settings/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/settings/Makefile" ;;
 
24131
    "src/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/Makefile" ;;
 
24132
    "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
 
24133
    "src/plugins/astyle/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/astyle/Makefile" ;;
 
24134
    "src/plugins/astyle/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/astyle/resources/Makefile" ;;
 
24135
    "src/plugins/autosave/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/autosave/Makefile" ;;
 
24136
    "src/plugins/classwizard/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/classwizard/Makefile" ;;
 
24137
    "src/plugins/classwizard/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/classwizard/resources/Makefile" ;;
 
24138
    "src/plugins/codecompletion/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/codecompletion/Makefile" ;;
 
24139
    "src/plugins/codecompletion/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/codecompletion/resources/Makefile" ;;
 
24140
    "src/plugins/compilergcc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/Makefile" ;;
 
24141
    "src/plugins/compilergcc/depslib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/depslib/Makefile" ;;
 
24142
    "src/plugins/compilergcc/depslib/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/depslib/src/Makefile" ;;
 
24143
    "src/plugins/compilergcc/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/resources/Makefile" ;;
 
24144
    "src/plugins/debuggergdb/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/Makefile" ;;
 
24145
    "src/plugins/debuggergdb/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/resources/Makefile" ;;
 
24146
    "src/plugins/defaultmimehandler/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/defaultmimehandler/Makefile" ;;
 
24147
    "src/plugins/defaultmimehandler/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/defaultmimehandler/resources/Makefile" ;;
 
24148
    "src/plugins/openfileslist/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/openfileslist/Makefile" ;;
 
24149
    "src/plugins/occurrenceshighlighting/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/occurrenceshighlighting/Makefile" ;;
 
24150
    "src/plugins/occurrenceshighlighting/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/occurrenceshighlighting/resources/Makefile" ;;
 
24151
    "src/plugins/projectsimporter/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/projectsimporter/Makefile" ;;
 
24152
    "src/plugins/projectsimporter/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/projectsimporter/resources/Makefile" ;;
 
24153
    "src/plugins/scriptedwizard/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/Makefile" ;;
 
24154
    "src/plugins/scriptedwizard/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/Makefile" ;;
 
24155
    "src/plugins/scriptedwizard/resources/arm/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/arm/Makefile" ;;
 
24156
    "src/plugins/scriptedwizard/resources/avr/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/avr/Makefile" ;;
 
24157
    "src/plugins/scriptedwizard/resources/c_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/c_file/Makefile" ;;
 
24158
    "src/plugins/scriptedwizard/resources/console/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/console/Makefile" ;;
 
24159
    "src/plugins/scriptedwizard/resources/d/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/d/Makefile" ;;
 
24160
    "src/plugins/scriptedwizard/resources/directx/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/directx/Makefile" ;;
 
24161
    "src/plugins/scriptedwizard/resources/dll/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/dll/Makefile" ;;
 
24162
    "src/plugins/scriptedwizard/resources/empty/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/empty/Makefile" ;;
 
24163
    "src/plugins/scriptedwizard/resources/empty_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/empty_file/Makefile" ;;
 
24164
    "src/plugins/scriptedwizard/resources/fltk/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/fltk/Makefile" ;;
 
24165
    "src/plugins/scriptedwizard/resources/fortran/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/fortran/Makefile" ;;
 
24166
    "src/plugins/scriptedwizard/resources/glfw/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glfw/Makefile" ;;
 
24167
    "src/plugins/scriptedwizard/resources/glut/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glut/Makefile" ;;
 
24168
    "src/plugins/scriptedwizard/resources/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/gtk/Makefile" ;;
 
24169
    "src/plugins/scriptedwizard/resources/h_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/h_file/Makefile" ;;
 
24170
    "src/plugins/scriptedwizard/resources/irrlicht/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/irrlicht/Makefile" ;;
 
24171
    "src/plugins/scriptedwizard/resources/lf/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/Makefile" ;;
 
24172
    "src/plugins/scriptedwizard/resources/matlab_csf/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/matlab_csf/Makefile" ;;
 
24173
    "src/plugins/scriptedwizard/resources/matlab_csf/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/matlab_csf/files/Makefile" ;;
 
24174
    "src/plugins/scriptedwizard/resources/matlab_csf/lccstub/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/matlab_csf/lccstub/Makefile" ;;
 
24175
    "src/plugins/scriptedwizard/resources/mcs51/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/mcs51/Makefile" ;;
 
24176
    "src/plugins/scriptedwizard/resources/ogre/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ogre/Makefile" ;;
 
24177
    "src/plugins/scriptedwizard/resources/ogre/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ogre/files/Makefile" ;;
 
24178
    "src/plugins/scriptedwizard/resources/opencv/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opencv/Makefile" ;;
 
24179
    "src/plugins/scriptedwizard/resources/opengl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/Makefile" ;;
 
24180
    "src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile" ;;
 
24181
    "src/plugins/scriptedwizard/resources/opengl/files_win/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/files_win/Makefile" ;;
 
24182
    "src/plugins/scriptedwizard/resources/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/plugins/Makefile" ;;
 
24183
    "src/plugins/scriptedwizard/resources/plugins/templates/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/plugins/templates/Makefile" ;;
 
24184
    "src/plugins/scriptedwizard/resources/ppc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ppc/Makefile" ;;
 
24185
    "src/plugins/scriptedwizard/resources/qt4/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/qt4/Makefile" ;;
 
24186
    "src/plugins/scriptedwizard/resources/qt4/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/qt4/files/Makefile" ;;
 
24187
    "src/plugins/scriptedwizard/resources/sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sdl/Makefile" ;;
 
24188
    "src/plugins/scriptedwizard/resources/sdl/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sdl/files/Makefile" ;;
 
24189
    "src/plugins/scriptedwizard/resources/sfml/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sfml/Makefile" ;;
 
24190
    "src/plugins/scriptedwizard/resources/sharedlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sharedlib/Makefile" ;;
 
24191
    "src/plugins/scriptedwizard/resources/sharedlib/c/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sharedlib/c/Makefile" ;;
 
24192
    "src/plugins/scriptedwizard/resources/sharedlib/cpp/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sharedlib/cpp/Makefile" ;;
 
24193
    "src/plugins/scriptedwizard/resources/smartwin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/smartwin/Makefile" ;;
 
24194
    "src/plugins/scriptedwizard/resources/smartwin/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/smartwin/files/Makefile" ;;
 
24195
    "src/plugins/scriptedwizard/resources/staticlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/staticlib/Makefile" ;;
 
24196
    "src/plugins/scriptedwizard/resources/staticlib/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/staticlib/files/Makefile" ;;
 
24197
    "src/plugins/scriptedwizard/resources/stlport/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/stlport/Makefile" ;;
 
24198
    "src/plugins/scriptedwizard/resources/stlport/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/stlport/files/Makefile" ;;
 
24199
    "src/plugins/scriptedwizard/resources/sys/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sys/Makefile" ;;
 
24200
    "src/plugins/scriptedwizard/resources/tricore/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/tricore/Makefile" ;;
 
24201
    "src/plugins/scriptedwizard/resources/win32gui/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/Makefile" ;;
 
24202
    "src/plugins/scriptedwizard/resources/wxwidgets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/Makefile" ;;
 
24203
    "src/plugins/todo/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/todo/Makefile" ;;
 
24204
    "src/plugins/todo/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/todo/resources/Makefile" ;;
 
24205
    "src/plugins/abbreviations/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/abbreviations/Makefile" ;;
 
24206
    "src/plugins/abbreviations/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/abbreviations/resources/Makefile" ;;
 
24207
    "src/plugins/xpmanifest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/xpmanifest/Makefile" ;;
 
24208
    "src/plugins/contrib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Makefile" ;;
 
24209
    "src/plugins/contrib/AutoVersioning/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/AutoVersioning/Makefile" ;;
 
24210
    "src/plugins/contrib/BrowseTracker/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/BrowseTracker/Makefile" ;;
 
24211
    "src/plugins/contrib/byogames/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/byogames/Makefile" ;;
 
24212
    "src/plugins/contrib/Cccc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Cccc/Makefile" ;;
 
24213
    "src/plugins/contrib/Cccc/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Cccc/resources/Makefile" ;;
 
24214
    "src/plugins/contrib/CppCheck/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/CppCheck/Makefile" ;;
 
24215
    "src/plugins/contrib/CppCheck/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/CppCheck/resources/Makefile" ;;
 
24216
    "src/plugins/contrib/cb_koders/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/cb_koders/Makefile" ;;
 
24217
    "src/plugins/contrib/codesnippets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codesnippets/Makefile" ;;
 
24218
    "src/plugins/contrib/codesnippets/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codesnippets/resources/Makefile" ;;
 
24219
    "src/plugins/contrib/codestat/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codestat/Makefile" ;;
 
24220
    "src/plugins/contrib/codestat/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codestat/resources/Makefile" ;;
 
24221
    "src/plugins/contrib/copystrings/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/copystrings/Makefile" ;;
 
24222
    "src/plugins/contrib/Cscope/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Cscope/Makefile" ;;
 
24223
    "src/plugins/contrib/devpak_plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/devpak_plugin/Makefile" ;;
 
24224
    "src/plugins/contrib/devpak_plugin/bzip2/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/devpak_plugin/bzip2/Makefile" ;;
 
24225
    "src/plugins/contrib/DoxyBlocks/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/DoxyBlocks/Makefile" ;;
 
24226
    "src/plugins/contrib/DoxyBlocks/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/DoxyBlocks/images/Makefile" ;;
 
24227
    "src/plugins/contrib/DoxyBlocks/images/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/DoxyBlocks/images/16x16/Makefile" ;;
 
24228
    "src/plugins/contrib/dragscroll/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/dragscroll/Makefile" ;;
 
24229
    "src/plugins/contrib/EditorConfig/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/EditorConfig/Makefile" ;;
 
24230
    "src/plugins/contrib/EditorTweaks/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/EditorTweaks/Makefile" ;;
 
24231
    "src/plugins/contrib/envvars/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/envvars/Makefile" ;;
 
24232
    "src/plugins/contrib/FileManager/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/FileManager/Makefile" ;;
 
24233
    "src/plugins/contrib/headerfixup/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/headerfixup/Makefile" ;;
 
24234
    "src/plugins/contrib/help_plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/Makefile" ;;
 
24235
    "src/plugins/contrib/help_plugin/bzip2/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/bzip2/Makefile" ;;
 
24236
    "src/plugins/contrib/help_plugin/zlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/zlib/Makefile" ;;
 
24237
    "src/plugins/contrib/keybinder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/keybinder/Makefile" ;;
 
24238
    "src/plugins/contrib/NassiShneiderman/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/NassiShneiderman/Makefile" ;;
 
24239
    "src/plugins/contrib/profiler/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/profiler/Makefile" ;;
 
24240
    "src/plugins/contrib/profiler/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/profiler/resources/Makefile" ;;
 
24241
    "src/plugins/contrib/ProjectOptionsManipulator/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ProjectOptionsManipulator/Makefile" ;;
 
24242
    "src/plugins/contrib/source_exporter/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/source_exporter/Makefile" ;;
 
24243
    "src/plugins/contrib/source_exporter/wxPdfDocument/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/source_exporter/wxPdfDocument/Makefile" ;;
 
24244
    "src/plugins/contrib/SmartIndent/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/SmartIndent/Makefile" ;;
 
24245
    "src/plugins/contrib/SpellChecker/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/SpellChecker/Makefile" ;;
 
24246
    "src/plugins/contrib/SpellChecker/wxspellchecker/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/SpellChecker/wxspellchecker/Makefile" ;;
 
24247
    "src/plugins/contrib/symtab/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/symtab/Makefile" ;;
 
24248
    "src/plugins/contrib/symtab/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/symtab/resources/Makefile" ;;
 
24249
    "src/plugins/contrib/regex_testbed/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/regex_testbed/Makefile" ;;
 
24250
    "src/plugins/contrib/ReopenEditor/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ReopenEditor/Makefile" ;;
 
24251
    "src/plugins/contrib/ThreadSearch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/Makefile" ;;
 
24252
    "src/plugins/contrib/ThreadSearch/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/resources/Makefile" ;;
 
24253
    "src/plugins/contrib/ThreadSearch/resources/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/resources/images/Makefile" ;;
 
24254
    "src/plugins/contrib/ThreadSearch/resources/images/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/resources/images/16x16/Makefile" ;;
 
24255
    "src/plugins/contrib/ThreadSearch/resources/images/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/resources/images/22x22/Makefile" ;;
 
24256
    "src/plugins/contrib/ToolsPlus/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ToolsPlus/Makefile" ;;
 
24257
    "src/plugins/contrib/ToolsPlus/Resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ToolsPlus/Resources/Makefile" ;;
 
24258
    "src/plugins/contrib/Valgrind/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Valgrind/Makefile" ;;
 
24259
    "src/plugins/contrib/Valgrind/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Valgrind/resources/Makefile" ;;
 
24260
    "src/plugins/contrib/wxContribItems/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/Makefile" ;;
 
24261
    "src/plugins/contrib/wxContribItems/wxsmith-contrib.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxsmith-contrib.pc" ;;
 
24262
    "src/plugins/contrib/wxContribItems/cb_wxcontrib.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wxcontrib.pc" ;;
 
24263
    "src/plugins/contrib/wxContribItems/cb_wxchartctrl.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wxchartctrl.pc" ;;
 
24264
    "src/plugins/contrib/wxContribItems/cb_wxcustombutton.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wxcustombutton.pc" ;;
 
24265
    "src/plugins/contrib/wxContribItems/cb_wximagepanel.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wximagepanel.pc" ;;
 
24266
    "src/plugins/contrib/wxContribItems/cb_wxflatnotebook.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wxflatnotebook.pc" ;;
 
24267
    "src/plugins/contrib/wxContribItems/cb_wxspeedbutton.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wxspeedbutton.pc" ;;
 
24268
    "src/plugins/contrib/wxContribItems/cb_wxKWIC.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wxKWIC.pc" ;;
 
24269
    "src/plugins/contrib/wxContribItems/cb_wxtreelist.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wxtreelist.pc" ;;
 
24270
    "src/plugins/contrib/wxContribItems/cb_wxled.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wxled.pc" ;;
 
24271
    "src/plugins/contrib/wxContribItems/cb_wxmathplot.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/cb_wxmathplot.pc" ;;
 
24272
    "src/plugins/contrib/wxContribItems/wxchart/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxchart/Makefile" ;;
 
24273
    "src/plugins/contrib/wxContribItems/wxFlatNotebook/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxFlatNotebook/Makefile" ;;
 
24274
    "src/plugins/contrib/wxContribItems/wxImagePanel/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxImagePanel/Makefile" ;;
 
24275
    "src/plugins/contrib/wxContribItems/wxthings/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxthings/Makefile" ;;
 
24276
    "src/plugins/contrib/wxContribItems/wxSpeedButton/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxSpeedButton/Makefile" ;;
 
24277
    "src/plugins/contrib/wxContribItems/KWIC/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/KWIC/Makefile" ;;
 
24278
    "src/plugins/contrib/wxContribItems/KWIC/include/wx/KWIC/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/KWIC/include/wx/KWIC/Makefile" ;;
 
24279
    "src/plugins/contrib/wxContribItems/KWIC/include/wx/xrc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/KWIC/include/wx/xrc/Makefile" ;;
 
24280
    "src/plugins/contrib/wxContribItems/wxTreeList/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxTreeList/Makefile" ;;
 
24281
    "src/plugins/contrib/wxContribItems/wxled/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxled/Makefile" ;;
 
24282
    "src/plugins/contrib/wxContribItems/wxled/gizmosled/include/wx/gizmos/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxled/gizmosled/include/wx/gizmos/Makefile" ;;
 
24283
    "src/plugins/contrib/wxContribItems/wxled/lcdWindow/include/wx/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxled/lcdWindow/include/wx/Makefile" ;;
 
24284
    "src/plugins/contrib/wxContribItems/wxled/led/include/wx/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxled/led/include/wx/Makefile" ;;
 
24285
    "src/plugins/contrib/wxContribItems/wxled/led/include/xrc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxled/led/include/xrc/Makefile" ;;
 
24286
    "src/plugins/contrib/wxContribItems/wxled/ledpanel/include/wx/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxled/ledpanel/include/wx/Makefile" ;;
 
24287
    "src/plugins/contrib/wxContribItems/wxmathplot/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxContribItems/wxmathplot/Makefile" ;;
 
24288
    "src/plugins/contrib/wxSmith/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/Makefile" ;;
 
24289
    "src/plugins/contrib/wxSmith/wxsmith.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxsmith.pc" ;;
 
24290
    "src/plugins/contrib/wxSmith/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/plugin/Makefile" ;;
 
24291
    "src/plugins/contrib/wxSmith/properties/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/properties/Makefile" ;;
 
24292
    "src/plugins/contrib/wxSmith/wxwidgets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/Makefile" ;;
 
24293
    "src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile" ;;
 
24294
    "src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile" ;;
 
24295
    "src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile" ;;
 
24296
    "src/plugins/contrib/wxSmithContribItems/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithContribItems/Makefile" ;;
 
24297
    "src/plugins/contrib/wxSmithAui/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithAui/Makefile" ;;
 
24298
    "src/plugins/contrib/wxSmithAui/wxsmithaui.pc") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithAui/wxsmithaui.pc" ;;
 
24299
    "src/plugins/contrib/wxSmithDateTimePicker/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithDateTimePicker/Makefile" ;;
 
24300
    "src/plugins/contrib/wxSmithDemo/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithDemo/Makefile" ;;
 
24301
    "src/plugins/contrib/wxSmithIExplore/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithIExplore/Makefile" ;;
 
24302
    "src/plugins/contrib/wxSmithSTC/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithSTC/Makefile" ;;
 
24303
    "src/plugins/contrib/lib_finder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/lib_finder/Makefile" ;;
 
24304
    "src/plugins/contrib/lib_finder/lib_finder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/lib_finder/lib_finder/Makefile" ;;
 
24305
    "src/plugins/contrib/HexEditor/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/HexEditor/Makefile" ;;
 
24306
    "src/plugins/contrib/IncrementalSearch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/IncrementalSearch/Makefile" ;;
 
24307
    "src/plugins/contrib/MouseSap/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/MouseSap/Makefile" ;;
 
24308
    "src/mime/Makefile") CONFIG_FILES="$CONFIG_FILES src/mime/Makefile" ;;
 
24309
    "src/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES src/scripts/Makefile" ;;
 
24310
    "src/tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;;
 
24311
    "src/tools/cb_share_config/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/cb_share_config/Makefile" ;;
 
24312
    "src/tools/ConsoleRunner/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/ConsoleRunner/Makefile" ;;
 
24313
    "src/tools/CBLauncher/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/CBLauncher/Makefile" ;;
 
24314
    "src/templates/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/Makefile" ;;
 
24315
    "src/templates/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/common/Makefile" ;;
 
24316
    "src/templates/unix/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/unix/Makefile" ;;
 
24317
    "src/templates/win32/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/win32/Makefile" ;;
 
24318
    "src/wxsmith/Makefile") CONFIG_FILES="$CONFIG_FILES src/wxsmith/Makefile" ;;
 
24319
    "codeblocks.pc") CONFIG_FILES="$CONFIG_FILES codeblocks.pc" ;;
 
24320
    "codeblocks.spec") CONFIG_FILES="$CONFIG_FILES codeblocks.spec" ;;
 
24321
    "codeblocks.plist") CONFIG_FILES="$CONFIG_FILES codeblocks.plist" ;;
 
24322
 
 
24323
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
24324
  esac
 
24325
done
 
24326
 
 
24327
 
 
24328
# If the user did not use the arguments to specify the items to instantiate,
 
24329
# then the envvar interface is used.  Set only those that are not.
 
24330
# We use the long form for the default assignment because of an extremely
 
24331
# bizarre bug on SunOS 4.1.3.
 
24332
if $ac_need_defaults; then
 
24333
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
24334
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
24335
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
24336
fi
 
24337
 
 
24338
# Have a temporary directory for convenience.  Make it in the build tree
 
24339
# simply because there is no reason against having it here, and in addition,
 
24340
# creating and moving files from /tmp can sometimes cause problems.
 
24341
# Hook for its removal unless debugging.
 
24342
# Note that there is a small window in which the directory will not be cleaned:
 
24343
# after its creation but before its name has been assigned to `$tmp'.
 
24344
$debug ||
 
24345
{
 
24346
  tmp= ac_tmp=
 
24347
  trap 'exit_status=$?
 
24348
  : "${ac_tmp:=$tmp}"
 
24349
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
24350
' 0
 
24351
  trap 'as_fn_exit 1' 1 2 13 15
 
24352
}
 
24353
# Create a (secure) tmp directory for tmp files.
 
24354
 
 
24355
{
 
24356
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
24357
  test -d "$tmp"
 
24358
}  ||
 
24359
{
 
24360
  tmp=./conf$$-$RANDOM
 
24361
  (umask 077 && mkdir "$tmp")
 
24362
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
24363
ac_tmp=$tmp
 
24364
 
 
24365
# Set up the scripts for CONFIG_FILES section.
 
24366
# No need to generate them if there are no CONFIG_FILES.
 
24367
# This happens for instance with `./config.status config.h'.
 
24368
if test -n "$CONFIG_FILES"; then
 
24369
 
 
24370
 
 
24371
ac_cr=`echo X | tr X '\015'`
 
24372
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
24373
# But we know of no other shell where ac_cr would be empty at this
 
24374
# point, so we can use a bashism as a fallback.
 
24375
if test "x$ac_cr" = x; then
 
24376
  eval ac_cr=\$\'\\r\'
 
24377
fi
 
24378
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
24379
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
24380
  ac_cs_awk_cr='\\r'
 
24381
else
 
24382
  ac_cs_awk_cr=$ac_cr
 
24383
fi
 
24384
 
 
24385
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
24386
_ACEOF
 
24387
 
 
24388
 
 
24389
{
 
24390
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
24391
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
24392
  echo "_ACEOF"
 
24393
} >conf$$subs.sh ||
 
24394
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
24395
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
24396
ac_delim='%!_!# '
 
24397
for ac_last_try in false false false false false :; do
 
24398
  . ./conf$$subs.sh ||
 
24399
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
24400
 
 
24401
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
24402
  if test $ac_delim_n = $ac_delim_num; then
 
24403
    break
 
24404
  elif $ac_last_try; then
 
24405
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
24406
  else
 
24407
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
24408
  fi
 
24409
done
 
24410
rm -f conf$$subs.sh
 
24411
 
 
24412
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
24413
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
24414
_ACEOF
 
24415
sed -n '
 
24416
h
 
24417
s/^/S["/; s/!.*/"]=/
 
24418
p
 
24419
g
 
24420
s/^[^!]*!//
 
24421
:repl
 
24422
t repl
 
24423
s/'"$ac_delim"'$//
 
24424
t delim
 
24425
:nl
 
24426
h
 
24427
s/\(.\{148\}\)..*/\1/
 
24428
t more1
 
24429
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
24430
p
 
24431
n
 
24432
b repl
 
24433
:more1
 
24434
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
24435
p
 
24436
g
 
24437
s/.\{148\}//
 
24438
t nl
 
24439
:delim
 
24440
h
 
24441
s/\(.\{148\}\)..*/\1/
 
24442
t more2
 
24443
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
24444
p
 
24445
b
 
24446
:more2
 
24447
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
24448
p
 
24449
g
 
24450
s/.\{148\}//
 
24451
t delim
 
24452
' <conf$$subs.awk | sed '
 
24453
/^[^""]/{
 
24454
  N
 
24455
  s/\n//
 
24456
}
 
24457
' >>$CONFIG_STATUS || ac_write_fail=1
 
24458
rm -f conf$$subs.awk
 
24459
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
24460
_ACAWK
 
24461
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
24462
  for (key in S) S_is_set[key] = 1
 
24463
  FS = ""
 
24464
 
 
24465
}
 
24466
{
 
24467
  line = $ 0
 
24468
  nfields = split(line, field, "@")
 
24469
  substed = 0
 
24470
  len = length(field[1])
 
24471
  for (i = 2; i < nfields; i++) {
 
24472
    key = field[i]
 
24473
    keylen = length(key)
 
24474
    if (S_is_set[key]) {
 
24475
      value = S[key]
 
24476
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
24477
      len += length(value) + length(field[++i])
 
24478
      substed = 1
 
24479
    } else
 
24480
      len += 1 + keylen
 
24481
  }
 
24482
 
 
24483
  print line
 
24484
}
 
24485
 
 
24486
_ACAWK
 
24487
_ACEOF
 
24488
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
24489
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
24490
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
24491
else
 
24492
  cat
 
24493
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
24494
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
24495
_ACEOF
 
24496
 
 
24497
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
24498
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
24499
# trailing colons and then remove the whole line if VPATH becomes empty
 
24500
# (actually we leave an empty line to preserve line numbers).
 
24501
if test "x$srcdir" = x.; then
 
24502
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
24503
h
 
24504
s///
 
24505
s/^/:/
 
24506
s/[      ]*$/:/
 
24507
s/:\$(srcdir):/:/g
 
24508
s/:\${srcdir}:/:/g
 
24509
s/:@srcdir@:/:/g
 
24510
s/^:*//
 
24511
s/:*$//
 
24512
x
 
24513
s/\(=[   ]*\).*/\1/
 
24514
G
 
24515
s/\n//
 
24516
s/^[^=]*=[       ]*$//
 
24517
}'
 
24518
fi
 
24519
 
 
24520
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
24521
fi # test -n "$CONFIG_FILES"
 
24522
 
 
24523
# Set up the scripts for CONFIG_HEADERS section.
 
24524
# No need to generate them if there are no CONFIG_HEADERS.
 
24525
# This happens for instance with `./config.status Makefile'.
 
24526
if test -n "$CONFIG_HEADERS"; then
 
24527
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
24528
BEGIN {
 
24529
_ACEOF
 
24530
 
 
24531
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
24532
# here-document in config.status, that substitutes the proper values into
 
24533
# config.h.in to produce config.h.
 
24534
 
 
24535
# Create a delimiter string that does not exist in confdefs.h, to ease
 
24536
# handling of long lines.
 
24537
ac_delim='%!_!# '
 
24538
for ac_last_try in false false :; do
 
24539
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
24540
  if test -z "$ac_tt"; then
 
24541
    break
 
24542
  elif $ac_last_try; then
 
24543
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
24544
  else
 
24545
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
24546
  fi
 
24547
done
 
24548
 
 
24549
# For the awk script, D is an array of macro values keyed by name,
 
24550
# likewise P contains macro parameters if any.  Preserve backslash
 
24551
# newline sequences.
 
24552
 
 
24553
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
24554
sed -n '
 
24555
s/.\{148\}/&'"$ac_delim"'/g
 
24556
t rset
 
24557
:rset
 
24558
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
24559
t def
 
24560
d
 
24561
:def
 
24562
s/\\$//
 
24563
t bsnl
 
24564
s/["\\]/\\&/g
 
24565
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
24566
D["\1"]=" \3"/p
 
24567
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
24568
d
 
24569
:bsnl
 
24570
s/["\\]/\\&/g
 
24571
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
24572
D["\1"]=" \3\\\\\\n"\\/p
 
24573
t cont
 
24574
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
24575
t cont
 
24576
d
 
24577
:cont
 
24578
n
 
24579
s/.\{148\}/&'"$ac_delim"'/g
 
24580
t clear
 
24581
:clear
 
24582
s/\\$//
 
24583
t bsnlc
 
24584
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
24585
d
 
24586
:bsnlc
 
24587
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
24588
b cont
 
24589
' <confdefs.h | sed '
 
24590
s/'"$ac_delim"'/"\\\
 
24591
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
24592
 
 
24593
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
24594
  for (key in D) D_is_set[key] = 1
 
24595
  FS = ""
 
24596
}
 
24597
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
24598
  line = \$ 0
 
24599
  split(line, arg, " ")
 
24600
  if (arg[1] == "#") {
 
24601
    defundef = arg[2]
 
24602
    mac1 = arg[3]
 
24603
  } else {
 
24604
    defundef = substr(arg[1], 2)
 
24605
    mac1 = arg[2]
 
24606
  }
 
24607
  split(mac1, mac2, "(") #)
 
24608
  macro = mac2[1]
 
24609
  prefix = substr(line, 1, index(line, defundef) - 1)
 
24610
  if (D_is_set[macro]) {
 
24611
    # Preserve the white space surrounding the "#".
 
24612
    print prefix "define", macro P[macro] D[macro]
 
24613
    next
 
24614
  } else {
 
24615
    # Replace #undef with comments.  This is necessary, for example,
 
24616
    # in the case of _POSIX_SOURCE, which is predefined and required
 
24617
    # on some systems where configure will not decide to define it.
 
24618
    if (defundef == "undef") {
 
24619
      print "/*", prefix defundef, macro, "*/"
 
24620
      next
 
24621
    }
 
24622
  }
 
24623
}
 
24624
{ print }
 
24625
_ACAWK
 
24626
_ACEOF
 
24627
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
24628
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
24629
fi # test -n "$CONFIG_HEADERS"
 
24630
 
 
24631
 
 
24632
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
24633
shift
 
24634
for ac_tag
 
24635
do
 
24636
  case $ac_tag in
 
24637
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
24638
  esac
 
24639
  case $ac_mode$ac_tag in
 
24640
  :[FHL]*:*);;
 
24641
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
24642
  :[FH]-) ac_tag=-:-;;
 
24643
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
24644
  esac
 
24645
  ac_save_IFS=$IFS
 
24646
  IFS=:
 
24647
  set x $ac_tag
 
24648
  IFS=$ac_save_IFS
 
24649
  shift
 
24650
  ac_file=$1
 
24651
  shift
 
24652
 
 
24653
  case $ac_mode in
 
24654
  :L) ac_source=$1;;
 
24655
  :[FH])
 
24656
    ac_file_inputs=
 
24657
    for ac_f
 
24658
    do
 
24659
      case $ac_f in
 
24660
      -) ac_f="$ac_tmp/stdin";;
 
24661
      *) # Look for the file first in the build tree, then in the source tree
 
24662
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
24663
         # because $ac_f cannot contain `:'.
 
24664
         test -f "$ac_f" ||
 
24665
           case $ac_f in
 
24666
           [\\/$]*) false;;
 
24667
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
24668
           esac ||
 
24669
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
24670
      esac
 
24671
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
24672
      as_fn_append ac_file_inputs " '$ac_f'"
 
24673
    done
 
24674
 
 
24675
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
24676
    # use $as_me), people would be surprised to read:
 
24677
    #    /* config.h.  Generated by config.status.  */
 
24678
    configure_input='Generated from '`
 
24679
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
24680
        `' by configure.'
 
24681
    if test x"$ac_file" != x-; then
 
24682
      configure_input="$ac_file.  $configure_input"
 
24683
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
24684
$as_echo "$as_me: creating $ac_file" >&6;}
 
24685
    fi
 
24686
    # Neutralize special characters interpreted by sed in replacement strings.
 
24687
    case $configure_input in #(
 
24688
    *\&* | *\|* | *\\* )
 
24689
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
24690
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
24691
    *) ac_sed_conf_input=$configure_input;;
 
24692
    esac
 
24693
 
 
24694
    case $ac_tag in
 
24695
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
24696
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
24697
    esac
 
24698
    ;;
 
24699
  esac
 
24700
 
 
24701
  ac_dir=`$as_dirname -- "$ac_file" ||
 
24702
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
24703
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
24704
         X"$ac_file" : 'X\(//\)$' \| \
 
24705
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
24706
$as_echo X"$ac_file" |
 
24707
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24708
            s//\1/
 
24709
            q
 
24710
          }
 
24711
          /^X\(\/\/\)[^/].*/{
 
24712
            s//\1/
 
24713
            q
 
24714
          }
 
24715
          /^X\(\/\/\)$/{
 
24716
            s//\1/
 
24717
            q
 
24718
          }
 
24719
          /^X\(\/\).*/{
 
24720
            s//\1/
 
24721
            q
 
24722
          }
 
24723
          s/.*/./; q'`
 
24724
  as_dir="$ac_dir"; as_fn_mkdir_p
 
24725
  ac_builddir=.
 
24726
 
 
24727
case "$ac_dir" in
 
24728
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
24729
*)
 
24730
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
24731
  # A ".." for each directory in $ac_dir_suffix.
 
24732
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
24733
  case $ac_top_builddir_sub in
 
24734
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
24735
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
24736
  esac ;;
 
24737
esac
 
24738
ac_abs_top_builddir=$ac_pwd
 
24739
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
24740
# for backward compatibility:
 
24741
ac_top_builddir=$ac_top_build_prefix
 
24742
 
 
24743
case $srcdir in
 
24744
  .)  # We are building in place.
 
24745
    ac_srcdir=.
 
24746
    ac_top_srcdir=$ac_top_builddir_sub
 
24747
    ac_abs_top_srcdir=$ac_pwd ;;
 
24748
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
24749
    ac_srcdir=$srcdir$ac_dir_suffix;
 
24750
    ac_top_srcdir=$srcdir
 
24751
    ac_abs_top_srcdir=$srcdir ;;
 
24752
  *) # Relative name.
 
24753
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
24754
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
24755
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
24756
esac
 
24757
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
24758
 
 
24759
 
 
24760
  case $ac_mode in
 
24761
  :F)
 
24762
  #
 
24763
  # CONFIG_FILE
 
24764
  #
 
24765
 
 
24766
  case $INSTALL in
 
24767
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
24768
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
24769
  esac
 
24770
  ac_MKDIR_P=$MKDIR_P
 
24771
  case $MKDIR_P in
 
24772
  [\\/$]* | ?:[\\/]* ) ;;
 
24773
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
24774
  esac
 
24775
_ACEOF
 
24776
 
 
24777
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
24778
# If the template does not know about datarootdir, expand it.
 
24779
# FIXME: This hack should be removed a few years after 2.60.
 
24780
ac_datarootdir_hack=; ac_datarootdir_seen=
 
24781
ac_sed_dataroot='
 
24782
/datarootdir/ {
 
24783
  p
 
24784
  q
 
24785
}
 
24786
/@datadir@/p
 
24787
/@docdir@/p
 
24788
/@infodir@/p
 
24789
/@localedir@/p
 
24790
/@mandir@/p'
 
24791
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
24792
*datarootdir*) ac_datarootdir_seen=yes;;
 
24793
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
24794
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
24795
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
24796
_ACEOF
 
24797
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
24798
  ac_datarootdir_hack='
 
24799
  s&@datadir@&$datadir&g
 
24800
  s&@docdir@&$docdir&g
 
24801
  s&@infodir@&$infodir&g
 
24802
  s&@localedir@&$localedir&g
 
24803
  s&@mandir@&$mandir&g
 
24804
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
24805
esac
 
24806
_ACEOF
 
24807
 
 
24808
# Neutralize VPATH when `$srcdir' = `.'.
 
24809
# Shell code in configure.ac might set extrasub.
 
24810
# FIXME: do we really want to maintain this feature?
 
24811
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
24812
ac_sed_extra="$ac_vpsub
 
24813
$extrasub
 
24814
_ACEOF
 
24815
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
24816
:t
 
24817
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
24818
s|@configure_input@|$ac_sed_conf_input|;t t
 
24819
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
24820
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
24821
s&@srcdir@&$ac_srcdir&;t t
 
24822
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
24823
s&@top_srcdir@&$ac_top_srcdir&;t t
 
24824
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
24825
s&@builddir@&$ac_builddir&;t t
 
24826
s&@abs_builddir@&$ac_abs_builddir&;t t
 
24827
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
24828
s&@INSTALL@&$ac_INSTALL&;t t
 
24829
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
24830
$ac_datarootdir_hack
 
24831
"
 
24832
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
24833
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
24834
 
 
24835
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
24836
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
24837
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
24838
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
24839
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
24840
which seems to be undefined.  Please make sure it is defined" >&5
 
24841
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
24842
which seems to be undefined.  Please make sure it is defined" >&2;}
 
24843
 
 
24844
  rm -f "$ac_tmp/stdin"
 
24845
  case $ac_file in
 
24846
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
24847
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
24848
  esac \
 
24849
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
24850
 ;;
 
24851
  :H)
 
24852
  #
 
24853
  # CONFIG_HEADER
 
24854
  #
 
24855
  if test x"$ac_file" != x-; then
 
24856
    {
 
24857
      $as_echo "/* $configure_input  */" \
 
24858
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
24859
    } >"$ac_tmp/config.h" \
 
24860
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
24861
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
24862
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
24863
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
24864
    else
 
24865
      rm -f "$ac_file"
 
24866
      mv "$ac_tmp/config.h" "$ac_file" \
 
24867
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
24868
    fi
 
24869
  else
 
24870
    $as_echo "/* $configure_input  */" \
 
24871
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
24872
      || as_fn_error $? "could not create -" "$LINENO" 5
 
24873
  fi
 
24874
# Compute "$ac_file"'s index in $config_headers.
 
24875
_am_arg="$ac_file"
 
24876
_am_stamp_count=1
 
24877
for _am_header in $config_headers :; do
 
24878
  case $_am_header in
 
24879
    $_am_arg | $_am_arg:* )
 
24880
      break ;;
 
24881
    * )
 
24882
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
24883
  esac
 
24884
done
 
24885
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
24886
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
24887
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
24888
         X"$_am_arg" : 'X\(//\)$' \| \
 
24889
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
24890
$as_echo X"$_am_arg" |
 
24891
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24892
            s//\1/
 
24893
            q
 
24894
          }
 
24895
          /^X\(\/\/\)[^/].*/{
 
24896
            s//\1/
 
24897
            q
 
24898
          }
 
24899
          /^X\(\/\/\)$/{
 
24900
            s//\1/
 
24901
            q
 
24902
          }
 
24903
          /^X\(\/\).*/{
 
24904
            s//\1/
 
24905
            q
 
24906
          }
 
24907
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
24908
 ;;
 
24909
  
 
24910
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
24911
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
24912
 ;;
 
24913
  esac
 
24914
 
 
24915
 
 
24916
  case $ac_file$ac_mode in
 
24917
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
24918
  # Older Autoconf quotes --file arguments for eval, but not when files
 
24919
  # are listed without --file.  Let's play safe and only enable the eval
 
24920
  # if we detect the quoting.
 
24921
  case $CONFIG_FILES in
 
24922
  *\'*) eval set x "$CONFIG_FILES" ;;
 
24923
  *)   set x $CONFIG_FILES ;;
 
24924
  esac
 
24925
  shift
 
24926
  for mf
 
24927
  do
 
24928
    # Strip MF so we end up with the name of the file.
 
24929
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
24930
    # Check whether this is an Automake generated Makefile or not.
 
24931
    # We used to match only the files named 'Makefile.in', but
 
24932
    # some people rename them; so instead we look at the file content.
 
24933
    # Grep'ing the first line is not enough: some people post-process
 
24934
    # each Makefile.in and add a new line on top of each file to say so.
 
24935
    # Grep'ing the whole file is not good either: AIX grep has a line
 
24936
    # limit of 2048, but all sed's we know have understand at least 4000.
 
24937
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
24938
      dirpart=`$as_dirname -- "$mf" ||
 
24939
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
24940
         X"$mf" : 'X\(//\)[^/]' \| \
 
24941
         X"$mf" : 'X\(//\)$' \| \
 
24942
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
24943
$as_echo X"$mf" |
 
24944
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24945
            s//\1/
 
24946
            q
 
24947
          }
 
24948
          /^X\(\/\/\)[^/].*/{
 
24949
            s//\1/
 
24950
            q
 
24951
          }
 
24952
          /^X\(\/\/\)$/{
 
24953
            s//\1/
 
24954
            q
 
24955
          }
 
24956
          /^X\(\/\).*/{
 
24957
            s//\1/
 
24958
            q
 
24959
          }
 
24960
          s/.*/./; q'`
 
24961
    else
 
24962
      continue
 
24963
    fi
 
24964
    # Extract the definition of DEPDIR, am__include, and am__quote
 
24965
    # from the Makefile without running 'make'.
 
24966
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
24967
    test -z "$DEPDIR" && continue
 
24968
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
24969
    test -z "$am__include" && continue
 
24970
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
24971
    # Find all dependency output files, they are included files with
 
24972
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
24973
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
24974
    # expansion.
 
24975
    for file in `sed -n "
 
24976
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
24977
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
 
24978
      # Make sure the directory exists.
 
24979
      test -f "$dirpart/$file" && continue
 
24980
      fdir=`$as_dirname -- "$file" ||
 
24981
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
24982
         X"$file" : 'X\(//\)[^/]' \| \
 
24983
         X"$file" : 'X\(//\)$' \| \
 
24984
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
24985
$as_echo X"$file" |
 
24986
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
24987
            s//\1/
 
24988
            q
 
24989
          }
 
24990
          /^X\(\/\/\)[^/].*/{
 
24991
            s//\1/
 
24992
            q
 
24993
          }
 
24994
          /^X\(\/\/\)$/{
 
24995
            s//\1/
 
24996
            q
 
24997
          }
 
24998
          /^X\(\/\).*/{
 
24999
            s//\1/
 
25000
            q
 
25001
          }
 
25002
          s/.*/./; q'`
 
25003
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
25004
      # echo "creating $dirpart/$file"
 
25005
      echo '# dummy' > "$dirpart/$file"
 
25006
    done
 
25007
  done
 
25008
}
 
25009
 ;;
 
25010
    "libtool":C) 
 
25011
    
 
25012
    # See if we are running on zsh, and set the options which allow our
 
25013
    # commands through without removal of \ escapes.
 
25014
    if test -n "${ZSH_VERSION+set}" ; then
 
25015
      setopt NO_GLOB_SUBST
 
25016
    fi
 
25017
 
 
25018
    cfgfile="${ofile}T"
 
25019
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
25020
    $RM "$cfgfile"
 
25021
 
 
25022
    cat <<_LT_EOF >> "$cfgfile"
 
25023
#! $SHELL
 
25024
 
 
25025
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
25026
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
25027
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
25028
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
25029
#
 
25030
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
25031
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
25032
#                 Foundation, Inc.
 
25033
#   Written by Gordon Matzigkeit, 1996
 
25034
#
 
25035
#   This file is part of GNU Libtool.
 
25036
#
 
25037
# GNU Libtool is free software; you can redistribute it and/or
 
25038
# modify it under the terms of the GNU General Public License as
 
25039
# published by the Free Software Foundation; either version 2 of
 
25040
# the License, or (at your option) any later version.
 
25041
#
 
25042
# As a special exception to the GNU General Public License,
 
25043
# if you distribute this file as part of a program or library that
 
25044
# is built using GNU Libtool, you may include this file under the
 
25045
# same distribution terms that you use for the rest of that program.
 
25046
#
 
25047
# GNU Libtool is distributed in the hope that it will be useful,
 
25048
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
25049
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
25050
# GNU General Public License for more details.
 
25051
#
 
25052
# You should have received a copy of the GNU General Public License
 
25053
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
25054
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
25055
# obtained by writing to the Free Software Foundation, Inc.,
 
25056
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
25057
 
 
25058
 
 
25059
# The names of the tagged configurations supported by this script.
 
25060
available_tags="CXX "
 
25061
 
 
25062
# ### BEGIN LIBTOOL CONFIG
 
25063
 
 
25064
# Whether or not to build static libraries.
 
25065
build_old_libs=$enable_static
 
25066
 
 
25067
# Which release of libtool.m4 was used?
 
25068
macro_version=$macro_version
 
25069
macro_revision=$macro_revision
 
25070
 
 
25071
# Whether or not to build shared libraries.
 
25072
build_libtool_libs=$enable_shared
 
25073
 
 
25074
# What type of objects to build.
 
25075
pic_mode=$pic_mode
 
25076
 
 
25077
# Whether or not to optimize for fast installation.
 
25078
fast_install=$enable_fast_install
 
25079
 
 
25080
# Shell to use when invoking shell scripts.
 
25081
SHELL=$lt_SHELL
 
25082
 
 
25083
# An echo program that protects backslashes.
 
25084
ECHO=$lt_ECHO
 
25085
 
 
25086
# The PATH separator for the build system.
 
25087
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
25088
 
 
25089
# The host system.
 
25090
host_alias=$host_alias
 
25091
host=$host
 
25092
host_os=$host_os
 
25093
 
 
25094
# The build system.
 
25095
build_alias=$build_alias
 
25096
build=$build
 
25097
build_os=$build_os
 
25098
 
 
25099
# A sed program that does not truncate output.
 
25100
SED=$lt_SED
 
25101
 
 
25102
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
25103
Xsed="\$SED -e 1s/^X//"
 
25104
 
 
25105
# A grep program that handles long lines.
 
25106
GREP=$lt_GREP
 
25107
 
 
25108
# An ERE matcher.
 
25109
EGREP=$lt_EGREP
 
25110
 
 
25111
# A literal string matcher.
 
25112
FGREP=$lt_FGREP
 
25113
 
 
25114
# A BSD- or MS-compatible name lister.
 
25115
NM=$lt_NM
 
25116
 
 
25117
# Whether we need soft or hard links.
 
25118
LN_S=$lt_LN_S
 
25119
 
 
25120
# What is the maximum length of a command?
 
25121
max_cmd_len=$max_cmd_len
 
25122
 
 
25123
# Object file suffix (normally "o").
 
25124
objext=$ac_objext
 
25125
 
 
25126
# Executable file suffix (normally "").
 
25127
exeext=$exeext
 
25128
 
 
25129
# whether the shell understands "unset".
 
25130
lt_unset=$lt_unset
 
25131
 
 
25132
# turn spaces into newlines.
 
25133
SP2NL=$lt_lt_SP2NL
 
25134
 
 
25135
# turn newlines into spaces.
 
25136
NL2SP=$lt_lt_NL2SP
 
25137
 
 
25138
# convert \$build file names to \$host format.
 
25139
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
25140
 
 
25141
# convert \$build files to toolchain format.
 
25142
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
25143
 
 
25144
# An object symbol dumper.
 
25145
OBJDUMP=$lt_OBJDUMP
 
25146
 
 
25147
# Method to check whether dependent libraries are shared objects.
 
25148
deplibs_check_method=$lt_deplibs_check_method
 
25149
 
 
25150
# Command to use when deplibs_check_method = "file_magic".
 
25151
file_magic_cmd=$lt_file_magic_cmd
 
25152
 
 
25153
# How to find potential files when deplibs_check_method = "file_magic".
 
25154
file_magic_glob=$lt_file_magic_glob
 
25155
 
 
25156
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
25157
want_nocaseglob=$lt_want_nocaseglob
 
25158
 
 
25159
# DLL creation program.
 
25160
DLLTOOL=$lt_DLLTOOL
 
25161
 
 
25162
# Command to associate shared and link libraries.
 
25163
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
25164
 
 
25165
# The archiver.
 
25166
AR=$lt_AR
 
25167
 
 
25168
# Flags to create an archive.
 
25169
AR_FLAGS=$lt_AR_FLAGS
 
25170
 
 
25171
# How to feed a file listing to the archiver.
 
25172
archiver_list_spec=$lt_archiver_list_spec
 
25173
 
 
25174
# A symbol stripping program.
 
25175
STRIP=$lt_STRIP
 
25176
 
 
25177
# Commands used to install an old-style archive.
 
25178
RANLIB=$lt_RANLIB
 
25179
old_postinstall_cmds=$lt_old_postinstall_cmds
 
25180
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
25181
 
 
25182
# Whether to use a lock for old archive extraction.
 
25183
lock_old_archive_extraction=$lock_old_archive_extraction
 
25184
 
 
25185
# A C compiler.
 
25186
LTCC=$lt_CC
 
25187
 
 
25188
# LTCC compiler flags.
 
25189
LTCFLAGS=$lt_CFLAGS
 
25190
 
 
25191
# Take the output of nm and produce a listing of raw symbols and C names.
 
25192
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
25193
 
 
25194
# Transform the output of nm in a proper C declaration.
 
25195
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
25196
 
 
25197
# Transform the output of nm in a C name address pair.
 
25198
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
25199
 
 
25200
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
25201
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
25202
 
 
25203
# Specify filename containing input files for \$NM.
 
25204
nm_file_list_spec=$lt_nm_file_list_spec
 
25205
 
 
25206
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
25207
lt_sysroot=$lt_sysroot
 
25208
 
 
25209
# The name of the directory that contains temporary libtool files.
 
25210
objdir=$objdir
 
25211
 
 
25212
# Used to examine libraries when file_magic_cmd begins with "file".
 
25213
MAGIC_CMD=$MAGIC_CMD
 
25214
 
 
25215
# Must we lock files when doing compilation?
 
25216
need_locks=$lt_need_locks
 
25217
 
 
25218
# Manifest tool.
 
25219
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
25220
 
 
25221
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
25222
DSYMUTIL=$lt_DSYMUTIL
 
25223
 
 
25224
# Tool to change global to local symbols on Mac OS X.
 
25225
NMEDIT=$lt_NMEDIT
 
25226
 
 
25227
# Tool to manipulate fat objects and archives on Mac OS X.
 
25228
LIPO=$lt_LIPO
 
25229
 
 
25230
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
25231
OTOOL=$lt_OTOOL
 
25232
 
 
25233
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
25234
OTOOL64=$lt_OTOOL64
 
25235
 
 
25236
# Old archive suffix (normally "a").
 
25237
libext=$libext
 
25238
 
 
25239
# Shared library suffix (normally ".so").
 
25240
shrext_cmds=$lt_shrext_cmds
 
25241
 
 
25242
# The commands to extract the exported symbol list from a shared archive.
 
25243
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
25244
 
 
25245
# Variables whose values should be saved in libtool wrapper scripts and
 
25246
# restored at link time.
 
25247
variables_saved_for_relink=$lt_variables_saved_for_relink
 
25248
 
 
25249
# Do we need the "lib" prefix for modules?
 
25250
need_lib_prefix=$need_lib_prefix
 
25251
 
 
25252
# Do we need a version for libraries?
 
25253
need_version=$need_version
 
25254
 
 
25255
# Library versioning type.
 
25256
version_type=$version_type
 
25257
 
 
25258
# Shared library runtime path variable.
 
25259
runpath_var=$runpath_var
 
25260
 
 
25261
# Shared library path variable.
 
25262
shlibpath_var=$shlibpath_var
 
25263
 
 
25264
# Is shlibpath searched before the hard-coded library search path?
 
25265
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
25266
 
 
25267
# Format of library name prefix.
 
25268
libname_spec=$lt_libname_spec
 
25269
 
 
25270
# List of archive names.  First name is the real one, the rest are links.
 
25271
# The last name is the one that the linker finds with -lNAME
 
25272
library_names_spec=$lt_library_names_spec
 
25273
 
 
25274
# The coded name of the library, if different from the real name.
 
25275
soname_spec=$lt_soname_spec
 
25276
 
 
25277
# Permission mode override for installation of shared libraries.
 
25278
install_override_mode=$lt_install_override_mode
 
25279
 
 
25280
# Command to use after installation of a shared archive.
 
25281
postinstall_cmds=$lt_postinstall_cmds
 
25282
 
 
25283
# Command to use after uninstallation of a shared archive.
 
25284
postuninstall_cmds=$lt_postuninstall_cmds
 
25285
 
 
25286
# Commands used to finish a libtool library installation in a directory.
 
25287
finish_cmds=$lt_finish_cmds
 
25288
 
 
25289
# As "finish_cmds", except a single script fragment to be evaled but
 
25290
# not shown.
 
25291
finish_eval=$lt_finish_eval
 
25292
 
 
25293
# Whether we should hardcode library paths into libraries.
 
25294
hardcode_into_libs=$hardcode_into_libs
 
25295
 
 
25296
# Compile-time system search path for libraries.
 
25297
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
25298
 
 
25299
# Run-time system search path for libraries.
 
25300
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
25301
 
 
25302
# Whether dlopen is supported.
 
25303
dlopen_support=$enable_dlopen
 
25304
 
 
25305
# Whether dlopen of programs is supported.
 
25306
dlopen_self=$enable_dlopen_self
 
25307
 
 
25308
# Whether dlopen of statically linked programs is supported.
 
25309
dlopen_self_static=$enable_dlopen_self_static
 
25310
 
 
25311
# Commands to strip libraries.
 
25312
old_striplib=$lt_old_striplib
 
25313
striplib=$lt_striplib
 
25314
 
 
25315
 
 
25316
# The linker used to build libraries.
 
25317
LD=$lt_LD
 
25318
 
 
25319
# How to create reloadable object files.
 
25320
reload_flag=$lt_reload_flag
 
25321
reload_cmds=$lt_reload_cmds
 
25322
 
 
25323
# Commands used to build an old-style archive.
 
25324
old_archive_cmds=$lt_old_archive_cmds
 
25325
 
 
25326
# A language specific compiler.
 
25327
CC=$lt_compiler
 
25328
 
 
25329
# Is the compiler the GNU compiler?
 
25330
with_gcc=$GCC
 
25331
 
 
25332
# Compiler flag to turn off builtin functions.
 
25333
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
25334
 
 
25335
# Additional compiler flags for building library objects.
 
25336
pic_flag=$lt_lt_prog_compiler_pic
 
25337
 
 
25338
# How to pass a linker flag through the compiler.
 
25339
wl=$lt_lt_prog_compiler_wl
 
25340
 
 
25341
# Compiler flag to prevent dynamic linking.
 
25342
link_static_flag=$lt_lt_prog_compiler_static
 
25343
 
 
25344
# Does compiler simultaneously support -c and -o options?
 
25345
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
25346
 
 
25347
# Whether or not to add -lc for building shared libraries.
 
25348
build_libtool_need_lc=$archive_cmds_need_lc
 
25349
 
 
25350
# Whether or not to disallow shared libs when runtime libs are static.
 
25351
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
25352
 
 
25353
# Compiler flag to allow reflexive dlopens.
 
25354
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
25355
 
 
25356
# Compiler flag to generate shared objects directly from archives.
 
25357
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
25358
 
 
25359
# Whether the compiler copes with passing no objects directly.
 
25360
compiler_needs_object=$lt_compiler_needs_object
 
25361
 
 
25362
# Create an old-style archive from a shared archive.
 
25363
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
25364
 
 
25365
# Create a temporary old-style archive to link instead of a shared archive.
 
25366
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
25367
 
 
25368
# Commands used to build a shared archive.
 
25369
archive_cmds=$lt_archive_cmds
 
25370
archive_expsym_cmds=$lt_archive_expsym_cmds
 
25371
 
 
25372
# Commands used to build a loadable module if different from building
 
25373
# a shared archive.
 
25374
module_cmds=$lt_module_cmds
 
25375
module_expsym_cmds=$lt_module_expsym_cmds
 
25376
 
 
25377
# Whether we are building with GNU ld or not.
 
25378
with_gnu_ld=$lt_with_gnu_ld
 
25379
 
 
25380
# Flag that allows shared libraries with undefined symbols to be built.
 
25381
allow_undefined_flag=$lt_allow_undefined_flag
 
25382
 
 
25383
# Flag that enforces no undefined symbols.
 
25384
no_undefined_flag=$lt_no_undefined_flag
 
25385
 
 
25386
# Flag to hardcode \$libdir into a binary during linking.
 
25387
# This must work even if \$libdir does not exist
 
25388
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
25389
 
 
25390
# Whether we need a single "-rpath" flag with a separated argument.
 
25391
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
25392
 
 
25393
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
25394
# DIR into the resulting binary.
 
25395
hardcode_direct=$hardcode_direct
 
25396
 
 
25397
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
25398
# DIR into the resulting binary and the resulting library dependency is
 
25399
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
25400
# library is relocated.
 
25401
hardcode_direct_absolute=$hardcode_direct_absolute
 
25402
 
 
25403
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
25404
# into the resulting binary.
 
25405
hardcode_minus_L=$hardcode_minus_L
 
25406
 
 
25407
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
25408
# into the resulting binary.
 
25409
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
25410
 
 
25411
# Set to "yes" if building a shared library automatically hardcodes DIR
 
25412
# into the library and all subsequent libraries and executables linked
 
25413
# against it.
 
25414
hardcode_automatic=$hardcode_automatic
 
25415
 
 
25416
# Set to yes if linker adds runtime paths of dependent libraries
 
25417
# to runtime path list.
 
25418
inherit_rpath=$inherit_rpath
 
25419
 
 
25420
# Whether libtool must link a program against all its dependency libraries.
 
25421
link_all_deplibs=$link_all_deplibs
 
25422
 
 
25423
# Set to "yes" if exported symbols are required.
 
25424
always_export_symbols=$always_export_symbols
 
25425
 
 
25426
# The commands to list exported symbols.
 
25427
export_symbols_cmds=$lt_export_symbols_cmds
 
25428
 
 
25429
# Symbols that should not be listed in the preloaded symbols.
 
25430
exclude_expsyms=$lt_exclude_expsyms
 
25431
 
 
25432
# Symbols that must always be exported.
 
25433
include_expsyms=$lt_include_expsyms
 
25434
 
 
25435
# Commands necessary for linking programs (against libraries) with templates.
 
25436
prelink_cmds=$lt_prelink_cmds
 
25437
 
 
25438
# Commands necessary for finishing linking programs.
 
25439
postlink_cmds=$lt_postlink_cmds
 
25440
 
 
25441
# Specify filename containing input files.
 
25442
file_list_spec=$lt_file_list_spec
 
25443
 
 
25444
# How to hardcode a shared library path into an executable.
 
25445
hardcode_action=$hardcode_action
 
25446
 
 
25447
# The directories searched by this compiler when creating a shared library.
 
25448
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
25449
 
 
25450
# Dependencies to place before and after the objects being linked to
 
25451
# create a shared library.
 
25452
predep_objects=$lt_predep_objects
 
25453
postdep_objects=$lt_postdep_objects
 
25454
predeps=$lt_predeps
 
25455
postdeps=$lt_postdeps
 
25456
 
 
25457
# The library search path used internally by the compiler when linking
 
25458
# a shared library.
 
25459
compiler_lib_search_path=$lt_compiler_lib_search_path
 
25460
 
 
25461
# ### END LIBTOOL CONFIG
 
25462
 
 
25463
_LT_EOF
 
25464
 
 
25465
  case $host_os in
 
25466
  aix3*)
 
25467
    cat <<\_LT_EOF >> "$cfgfile"
 
25468
# AIX sometimes has problems with the GCC collect2 program.  For some
 
25469
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
25470
# vanish in a puff of smoke.
 
25471
if test "X${COLLECT_NAMES+set}" != Xset; then
 
25472
  COLLECT_NAMES=
 
25473
  export COLLECT_NAMES
 
25474
fi
 
25475
_LT_EOF
 
25476
    ;;
 
25477
  esac
 
25478
 
 
25479
  
 
25480
ltmain="$ac_aux_dir/ltmain.sh"
 
25481
 
 
25482
 
 
25483
  # We use sed instead of cat because bash on DJGPP gets confused if
 
25484
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
25485
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
25486
  # is reportedly fixed, but why not run on old versions too?
 
25487
  sed '$q' "$ltmain" >> "$cfgfile" \
 
25488
     || (rm -f "$cfgfile"; exit 1)
 
25489
 
 
25490
  if test x"$xsi_shell" = xyes; then
 
25491
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
25492
func_dirname ()\
 
25493
{\
 
25494
\    case ${1} in\
 
25495
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
25496
\      *  ) func_dirname_result="${3}" ;;\
 
25497
\    esac\
 
25498
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
25499
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25500
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25501
test 0 -eq $? || _lt_function_replace_fail=:
 
25502
 
 
25503
 
 
25504
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
25505
func_basename ()\
 
25506
{\
 
25507
\    func_basename_result="${1##*/}"\
 
25508
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
25509
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25510
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25511
test 0 -eq $? || _lt_function_replace_fail=:
 
25512
 
 
25513
 
 
25514
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
25515
func_dirname_and_basename ()\
 
25516
{\
 
25517
\    case ${1} in\
 
25518
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
25519
\      *  ) func_dirname_result="${3}" ;;\
 
25520
\    esac\
 
25521
\    func_basename_result="${1##*/}"\
 
25522
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
25523
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25524
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25525
test 0 -eq $? || _lt_function_replace_fail=:
 
25526
 
 
25527
 
 
25528
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
25529
func_stripname ()\
 
25530
{\
 
25531
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
25532
\    # positional parameters, so assign one to ordinary parameter first.\
 
25533
\    func_stripname_result=${3}\
 
25534
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
25535
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
25536
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
25537
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25538
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25539
test 0 -eq $? || _lt_function_replace_fail=:
 
25540
 
 
25541
 
 
25542
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
25543
func_split_long_opt ()\
 
25544
{\
 
25545
\    func_split_long_opt_name=${1%%=*}\
 
25546
\    func_split_long_opt_arg=${1#*=}\
 
25547
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
25548
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25549
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25550
test 0 -eq $? || _lt_function_replace_fail=:
 
25551
 
 
25552
 
 
25553
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
25554
func_split_short_opt ()\
 
25555
{\
 
25556
\    func_split_short_opt_arg=${1#??}\
 
25557
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
25558
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
25559
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25560
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25561
test 0 -eq $? || _lt_function_replace_fail=:
 
25562
 
 
25563
 
 
25564
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
25565
func_lo2o ()\
 
25566
{\
 
25567
\    case ${1} in\
 
25568
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
25569
\      *)    func_lo2o_result=${1} ;;\
 
25570
\    esac\
 
25571
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
25572
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25573
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25574
test 0 -eq $? || _lt_function_replace_fail=:
 
25575
 
 
25576
 
 
25577
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
25578
func_xform ()\
 
25579
{\
 
25580
    func_xform_result=${1%.*}.lo\
 
25581
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
25582
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25583
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25584
test 0 -eq $? || _lt_function_replace_fail=:
 
25585
 
 
25586
 
 
25587
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
25588
func_arith ()\
 
25589
{\
 
25590
    func_arith_result=$(( $* ))\
 
25591
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
25592
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25593
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25594
test 0 -eq $? || _lt_function_replace_fail=:
 
25595
 
 
25596
 
 
25597
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
25598
func_len ()\
 
25599
{\
 
25600
    func_len_result=${#1}\
 
25601
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
25602
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25603
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25604
test 0 -eq $? || _lt_function_replace_fail=:
 
25605
 
 
25606
fi
 
25607
 
 
25608
if test x"$lt_shell_append" = xyes; then
 
25609
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
25610
func_append ()\
 
25611
{\
 
25612
    eval "${1}+=\\${2}"\
 
25613
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
25614
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25615
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25616
test 0 -eq $? || _lt_function_replace_fail=:
 
25617
 
 
25618
 
 
25619
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
25620
func_append_quoted ()\
 
25621
{\
 
25622
\    func_quote_for_eval "${2}"\
 
25623
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
25624
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
25625
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25626
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25627
test 0 -eq $? || _lt_function_replace_fail=:
 
25628
 
 
25629
 
 
25630
  # Save a `func_append' function call where possible by direct use of '+='
 
25631
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
25632
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25633
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25634
  test 0 -eq $? || _lt_function_replace_fail=:
 
25635
else
 
25636
  # Save a `func_append' function call even when '+=' is not available
 
25637
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
25638
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
25639
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
25640
  test 0 -eq $? || _lt_function_replace_fail=:
 
25641
fi
 
25642
 
 
25643
if test x"$_lt_function_replace_fail" = x":"; then
 
25644
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
25645
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
25646
fi
 
25647
 
 
25648
 
 
25649
   mv -f "$cfgfile" "$ofile" ||
 
25650
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
25651
  chmod +x "$ofile"
 
25652
 
 
25653
 
 
25654
    cat <<_LT_EOF >> "$ofile"
 
25655
 
 
25656
# ### BEGIN LIBTOOL TAG CONFIG: CXX
 
25657
 
 
25658
# The linker used to build libraries.
 
25659
LD=$lt_LD_CXX
 
25660
 
 
25661
# How to create reloadable object files.
 
25662
reload_flag=$lt_reload_flag_CXX
 
25663
reload_cmds=$lt_reload_cmds_CXX
 
25664
 
 
25665
# Commands used to build an old-style archive.
 
25666
old_archive_cmds=$lt_old_archive_cmds_CXX
 
25667
 
 
25668
# A language specific compiler.
 
25669
CC=$lt_compiler_CXX
 
25670
 
 
25671
# Is the compiler the GNU compiler?
 
25672
with_gcc=$GCC_CXX
 
25673
 
 
25674
# Compiler flag to turn off builtin functions.
 
25675
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
25676
 
 
25677
# Additional compiler flags for building library objects.
 
25678
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
25679
 
 
25680
# How to pass a linker flag through the compiler.
 
25681
wl=$lt_lt_prog_compiler_wl_CXX
 
25682
 
 
25683
# Compiler flag to prevent dynamic linking.
 
25684
link_static_flag=$lt_lt_prog_compiler_static_CXX
 
25685
 
 
25686
# Does compiler simultaneously support -c and -o options?
 
25687
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 
25688
 
 
25689
# Whether or not to add -lc for building shared libraries.
 
25690
build_libtool_need_lc=$archive_cmds_need_lc_CXX
 
25691
 
 
25692
# Whether or not to disallow shared libs when runtime libs are static.
 
25693
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 
25694
 
 
25695
# Compiler flag to allow reflexive dlopens.
 
25696
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 
25697
 
 
25698
# Compiler flag to generate shared objects directly from archives.
 
25699
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 
25700
 
 
25701
# Whether the compiler copes with passing no objects directly.
 
25702
compiler_needs_object=$lt_compiler_needs_object_CXX
 
25703
 
 
25704
# Create an old-style archive from a shared archive.
 
25705
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 
25706
 
 
25707
# Create a temporary old-style archive to link instead of a shared archive.
 
25708
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 
25709
 
 
25710
# Commands used to build a shared archive.
 
25711
archive_cmds=$lt_archive_cmds_CXX
 
25712
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 
25713
 
 
25714
# Commands used to build a loadable module if different from building
 
25715
# a shared archive.
 
25716
module_cmds=$lt_module_cmds_CXX
 
25717
module_expsym_cmds=$lt_module_expsym_cmds_CXX
 
25718
 
 
25719
# Whether we are building with GNU ld or not.
 
25720
with_gnu_ld=$lt_with_gnu_ld_CXX
 
25721
 
 
25722
# Flag that allows shared libraries with undefined symbols to be built.
 
25723
allow_undefined_flag=$lt_allow_undefined_flag_CXX
 
25724
 
 
25725
# Flag that enforces no undefined symbols.
 
25726
no_undefined_flag=$lt_no_undefined_flag_CXX
 
25727
 
 
25728
# Flag to hardcode \$libdir into a binary during linking.
 
25729
# This must work even if \$libdir does not exist
 
25730
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
25731
 
 
25732
# Whether we need a single "-rpath" flag with a separated argument.
 
25733
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
25734
 
 
25735
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
25736
# DIR into the resulting binary.
 
25737
hardcode_direct=$hardcode_direct_CXX
 
25738
 
 
25739
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
25740
# DIR into the resulting binary and the resulting library dependency is
 
25741
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
25742
# library is relocated.
 
25743
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
 
25744
 
 
25745
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
25746
# into the resulting binary.
 
25747
hardcode_minus_L=$hardcode_minus_L_CXX
 
25748
 
 
25749
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
25750
# into the resulting binary.
 
25751
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 
25752
 
 
25753
# Set to "yes" if building a shared library automatically hardcodes DIR
 
25754
# into the library and all subsequent libraries and executables linked
 
25755
# against it.
 
25756
hardcode_automatic=$hardcode_automatic_CXX
 
25757
 
 
25758
# Set to yes if linker adds runtime paths of dependent libraries
 
25759
# to runtime path list.
 
25760
inherit_rpath=$inherit_rpath_CXX
 
25761
 
 
25762
# Whether libtool must link a program against all its dependency libraries.
 
25763
link_all_deplibs=$link_all_deplibs_CXX
 
25764
 
 
25765
# Set to "yes" if exported symbols are required.
 
25766
always_export_symbols=$always_export_symbols_CXX
 
25767
 
 
25768
# The commands to list exported symbols.
 
25769
export_symbols_cmds=$lt_export_symbols_cmds_CXX
 
25770
 
 
25771
# Symbols that should not be listed in the preloaded symbols.
 
25772
exclude_expsyms=$lt_exclude_expsyms_CXX
 
25773
 
 
25774
# Symbols that must always be exported.
 
25775
include_expsyms=$lt_include_expsyms_CXX
 
25776
 
 
25777
# Commands necessary for linking programs (against libraries) with templates.
 
25778
prelink_cmds=$lt_prelink_cmds_CXX
 
25779
 
 
25780
# Commands necessary for finishing linking programs.
 
25781
postlink_cmds=$lt_postlink_cmds_CXX
 
25782
 
 
25783
# Specify filename containing input files.
 
25784
file_list_spec=$lt_file_list_spec_CXX
 
25785
 
 
25786
# How to hardcode a shared library path into an executable.
 
25787
hardcode_action=$hardcode_action_CXX
 
25788
 
 
25789
# The directories searched by this compiler when creating a shared library.
 
25790
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
25791
 
 
25792
# Dependencies to place before and after the objects being linked to
 
25793
# create a shared library.
 
25794
predep_objects=$lt_predep_objects_CXX
 
25795
postdep_objects=$lt_postdep_objects_CXX
 
25796
predeps=$lt_predeps_CXX
 
25797
postdeps=$lt_postdeps_CXX
 
25798
 
 
25799
# The library search path used internally by the compiler when linking
 
25800
# a shared library.
 
25801
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 
25802
 
 
25803
# ### END LIBTOOL TAG CONFIG: CXX
 
25804
_LT_EOF
 
25805
 
 
25806
 ;;
 
25807
 
 
25808
  esac
 
25809
done # for ac_tag
 
25810
 
 
25811
 
 
25812
as_fn_exit 0
 
25813
_ACEOF
 
25814
ac_clean_files=$ac_clean_files_save
 
25815
 
 
25816
test $ac_write_fail = 0 ||
 
25817
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
25818
 
 
25819
 
 
25820
# configure is writing to config.log, and then calls config.status.
 
25821
# config.status does its own redirection, appending to config.log.
 
25822
# Unfortunately, on DOS this fails, as config.log is still kept open
 
25823
# by configure, so config.status won't be able to write to it; its
 
25824
# output is simply discarded.  So we exec the FD to /dev/null,
 
25825
# effectively closing config.log, so it can be properly (re)opened and
 
25826
# appended to by config.status.  When coming back to configure, we
 
25827
# need to make the FD available again.
 
25828
if test "$no_create" != yes; then
 
25829
  ac_cs_success=:
 
25830
  ac_config_status_args=
 
25831
  test "$silent" = yes &&
 
25832
    ac_config_status_args="$ac_config_status_args --quiet"
 
25833
  exec 5>/dev/null
 
25834
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
25835
  exec 5>>config.log
 
25836
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
25837
  # would make configure fail if this is the last instruction.
 
25838
  $ac_cs_success || as_fn_exit 1
 
25839
fi
 
25840
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
25841
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
25842
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
25843
fi
 
25844
 
 
25845
 
 
25846
echo
 
25847
echo
 
25848
echo "*************************************************"
 
25849
echo "* Code::Blocks source tree has been configured. *"
 
25850
echo "*************************************************"
 
25851
echo
 
25852
echo "You can now build Code::Blocks by issuing 'make'".
 
25853
echo "When the build is complete, become root and install"
 
25854
echo "it by issuing 'make install'".
 
25855
echo